]> git.saurik.com Git - wxWidgets.git/blob - configure
don't export private stc2wx(), wx2stc() functions from wxSTC shared library
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47467 2007-07-14 19:17:21Z PC .
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-base-evtloop use event loop in console programs too
1686 --enable-epool-loop use wxEpollDispatcher class (Linux only)
1687 --enable-select-loop 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-fontmap use font encodings conversion classes
1704 --enable-fs_archive use virtual archive filesystems
1705 --enable-fs_inet use virtual HTTP/FTP filesystems
1706 --enable-fs_zip now replaced by fs_archive
1707 --enable-geometry use geometry class
1708 --enable-log use logging system
1709 --enable-longlong use wxLongLong class
1710 --enable-mimetype use wxMimeTypesManager
1711 --enable-snglinst use wxSingleInstanceChecker class
1712 --enable-stdpaths use wxStandardPaths class
1713 --enable-stopwatch use wxStopWatch class
1714 --enable-streams use wxStream etc classes
1715 --enable-sysoptions use wxSystemOptions
1716 --enable-tarstream use wxTar streams
1717 --enable-textbuf use wxTextBuffer class
1718 --enable-textfile use wxTextFile class
1719 --enable-timer use wxTimer class
1720 --enable-sound use wxSound class
1721 --enable-mediactrl use wxMediaCtrl class
1722 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1723 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1724 --enable-zipstream use wxZip streams
1725 --enable-url use wxURL class
1726 --enable-variant use wxVariant class
1727 --enable-protocol use wxProtocol class
1728 --enable-protocol-http HTTP support in wxProtocol
1729 --enable-protocol-ftp FTP support in wxProtocol
1730 --enable-protocol-file FILE support in wxProtocol
1731 --enable-threads use threads
1732 --enable-docview use document view architecture
1733 --enable-help use help subsystem
1734 --enable-mshtmlhelp use MS HTML Help (win32)
1735 --enable-html use wxHTML sub-library
1736 --enable-htmlhelp use wxHTML-based help
1737 --enable-xrc use XRC resources sub-library
1738 --enable-aui use AUI docking library
1739 --enable-stc use wxStyledTextCtrl library
1740 --enable-constraints use layout-constraints system
1741 --enable-printarch use printing architecture
1742 --enable-mdi use multiple document interface architecture
1743 --enable-mdidoc use docview architecture with MDI
1744 --enable-loggui use standard GUI logger
1745 --enable-logwin use wxLogWindow
1746 --enable-logdialog use wxLogDialog
1747 --enable-webkit use wxWebKitCtrl (Mac)
1748 --enable-richtext use wxRichTextCtrl
1749 --enable-graphics_ctx use graphics context 2D drawing API
1750 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1751 --enable-svg use wxSVGFileDC device context
1752 --enable-clipboard use wxClipboard class
1753 --enable-dnd use Drag'n'Drop classes
1754 --enable-metafile use win32 metafiles
1755 --disable-controls disable compilation of all standard controls
1756 --enable-accel use accelerators
1757 --enable-animatectrl use wxAnimationCtrl class
1758 --enable-button use wxButton class
1759 --enable-bmpbutton use wxBitmapButton class
1760 --enable-bmpcombobox use wxBitmapComboBox class
1761 --enable-calendar use wxCalendarCtrl class
1762 --enable-caret use wxCaret class
1763 --enable-checkbox use wxCheckBox class
1764 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1765 --enable-choice use wxChoice class
1766 --enable-choicebook use wxChoicebook class
1767 --enable-collpane use wxCollapsiblePane class
1768 --enable-colourpicker use wxColourPickerCtrl class
1769 --enable-combobox use wxComboBox class
1770 --enable-comboctrl use wxComboCtrl class
1771 --enable-datepick use wxDatePickerCtrl class
1772 --enable-dirpicker use wxDirPickerCtrl class
1773 --enable-display use wxDisplay class
1774 --enable-detect_sm use code to detect X11 session manager
1775 --enable-editablebox use wxEditableListBox class
1776 --enable-filepicker use wxFilePickerCtrl class
1777 --enable-fontpicker use wxFontPickerCtrl class
1778 --enable-gauge use wxGauge class
1779 --enable-grid use wxGrid class
1780 --enable-dataviewctrl use wxDataViewCtrl class
1781 --enable-hyperlink use wxHyperlinkCtrl class
1782 --enable-imaglist use wxImageList class
1783 --enable-listbook use wxListbook class
1784 --enable-listbox use wxListBox class
1785 --enable-listctrl use wxListCtrl class
1786 --enable-notebook use wxNotebook class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-textctrl use wxTextCtrl class
1804 --enable-togglebtn use wxToggleButton class
1805 --enable-toolbar use wxToolBar class
1806 --enable-tbarnative use native wxToolBar class
1807 --enable-treebook use wxTreebook class
1808 --enable-toolbook use wxToolbook class
1809 --enable-treectrl use wxTreeCtrl class
1810 --enable-tipwindow use wxTipWindow class
1811 --enable-popupwin use wxPopUpWindow class
1812 --enable-commondlg use all common dialogs
1813 --enable-aboutdlg use wxAboutBox
1814 --enable-choicedlg use wxChoiceDialog
1815 --enable-coldlg use wxColourDialog
1816 --enable-filedlg use wxFileDialog
1817 --enable-finddlg use wxFindReplaceDialog
1818 --enable-fontdlg use wxFontDialog
1819 --enable-dirdlg use wxDirDialog
1820 --enable-msgdlg use wxMessageDialog
1821 --enable-numberdlg use wxNumberEntryDialog
1822 --enable-splash use wxSplashScreen
1823 --enable-textdlg use wxTextDialog
1824 --enable-tipdlg use startup tips
1825 --enable-progressdlg use wxProgressDialog
1826 --enable-wizarddlg use wxWizard
1827 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1828 --enable-miniframe use wxMiniFrame class
1829 --enable-tooltips use wxToolTip class
1830 --enable-splines use spline drawing code
1831 --enable-mousewheel use mousewheel
1832 --enable-validators use wxValidator and derived classes
1833 --enable-busyinfo use wxBusyInfo
1834 --enable-joystick use wxJoystick
1835 --enable-metafiles use wxMetaFile (Win32 only)
1836 --enable-dragimage use wxDragImage
1837 --enable-accessibility enable accessibility support
1838 --enable-dccache cache temporary wxDC objects (Win32 only)
1839 --enable-palette use wxPalette class
1840 --enable-image use wxImage class
1841 --enable-gif use gif images (GIF file format)
1842 --enable-pcx use pcx images (PCX file format)
1843 --enable-tga use tga images (TGA file format)
1844 --enable-iff use iff images (IFF file format)
1845 --enable-pnm use pnm images (PNM file format)
1846 --enable-xpm use xpm images (XPM file format)
1847 --enable-icocur use Windows ICO and CUR formats
1848 --disable-largefile omit support for large files
1849 --disable-gtktest do not try to compile and run a test GTK+ program
1850 --disable-gtktest Do not try to compile and run a test GTK program
1851 --disable-sdltest Do not try to compile and run a test SDL program
1852 --enable-omf use OMF object format (OS/2)
1853 --disable-dependency-tracking
1854 don't use dependency tracking even if the compiler
1855 can
1856 --disable-precomp-headers
1857 don't use precompiled headers even if compiler can
1858
1859 Optional Packages:
1860 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1861 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1862 --without-subdirs don't generate makefiles for samples/demos/...
1863 --with-flavour=NAME specify a name to identify this build
1864 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1865 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1866 --with-motif use Motif/Lesstif
1867 --with-mac use Mac OS X
1868 --with-cocoa use Cocoa
1869 --with-wine use Wine
1870 --with-msw use MS-Windows
1871 --with-pm use OS/2 Presentation Manager
1872 --with-mgl use SciTech MGL
1873 --with-directfb use DirectFB
1874 --with-microwin use MicroWindows
1875 --with-x11 use X11
1876 --with-libpng use libpng (PNG image format)
1877 --with-libjpeg use libjpeg (JPEG file format)
1878 --with-libtiff use libtiff (TIFF file format)
1879 --with-libxpm use libxpm (XPM file format)
1880 --with-libmspack use libmspack (CHM help files loading)
1881 --without-gnomeprint don't use GNOME printing libraries
1882 --with-gnomevfs use GNOME VFS for associating MIME types
1883 --with-hildon use Hildon framework for Nokia 770
1884 --with-opengl use OpenGL (or Mesa)
1885 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1886 --with-sdl use SDL for audio on Unix
1887 --with-regex enable support for wxRegEx class
1888 --with-zlib use zlib for LZW compression
1889 --with-odbc use the IODBC and wxODBC classes
1890 --with-expat enable XML support using expat parser
1891 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1892 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1893 --with-x use the X Window System
1894 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1895 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1896 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1897 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1898 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1899
1900 Some influential environment variables:
1901 CC C compiler command
1902 CFLAGS C compiler flags
1903 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1904 nonstandard directory <lib dir>
1905 LIBS libraries to pass to the linker, e.g. -l<library>
1906 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1907 you have headers in a nonstandard directory <include dir>
1908 CPP C preprocessor
1909 CXX C++ compiler command
1910 CXXFLAGS C++ compiler flags
1911 PKG_CONFIG path to pkg-config utility
1912 DIRECTFB_CFLAGS
1913 C compiler flags for DIRECTFB, overriding pkg-config
1914 DIRECTFB_LIBS
1915 linker flags for DIRECTFB, overriding pkg-config
1916 XMKMF Path to xmkmf, Makefile generator for X Window System
1917 PANGOX_CFLAGS
1918 C compiler flags for PANGOX, overriding pkg-config
1919 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1920 PANGOFT2_CFLAGS
1921 C compiler flags for PANGOFT2, overriding pkg-config
1922 PANGOFT2_LIBS
1923 linker flags for PANGOFT2, overriding pkg-config
1924 PANGOXFT_CFLAGS
1925 C compiler flags for PANGOXFT, overriding pkg-config
1926 PANGOXFT_LIBS
1927 linker flags for PANGOXFT, overriding pkg-config
1928 LIBGNOMEPRINTUI_CFLAGS
1929 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1930 LIBGNOMEPRINTUI_LIBS
1931 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1932 GNOMEVFS_CFLAGS
1933 C compiler flags for GNOMEVFS, overriding pkg-config
1934 GNOMEVFS_LIBS
1935 linker flags for GNOMEVFS, overriding pkg-config
1936 HILDON_CFLAGS
1937 C compiler flags for HILDON, overriding pkg-config
1938 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1939 CAIRO_CFLAGS
1940 C compiler flags for CAIRO, overriding pkg-config
1941 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1942 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1943 GST_LIBS linker flags for GST, overriding pkg-config
1944
1945 Use these variables to override the choices made by `configure' or to help
1946 it to find libraries and programs with nonstandard names/locations.
1947
1948 Report bugs to <wx-dev@lists.wxwidgets.org>.
1949 _ACEOF
1950 ac_status=$?
1951 fi
1952
1953 if test "$ac_init_help" = "recursive"; then
1954 # If there are subdirs, report their specific --help.
1955 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1956 test -d "$ac_dir" || continue
1957 ac_builddir=.
1958
1959 case "$ac_dir" in
1960 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1961 *)
1962 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1963 # A ".." for each directory in $ac_dir_suffix.
1964 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1965 case $ac_top_builddir_sub in
1966 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1967 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1968 esac ;;
1969 esac
1970 ac_abs_top_builddir=$ac_pwd
1971 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1972 # for backward compatibility:
1973 ac_top_builddir=$ac_top_build_prefix
1974
1975 case $srcdir in
1976 .) # We are building in place.
1977 ac_srcdir=.
1978 ac_top_srcdir=$ac_top_builddir_sub
1979 ac_abs_top_srcdir=$ac_pwd ;;
1980 [\\/]* | ?:[\\/]* ) # Absolute name.
1981 ac_srcdir=$srcdir$ac_dir_suffix;
1982 ac_top_srcdir=$srcdir
1983 ac_abs_top_srcdir=$srcdir ;;
1984 *) # Relative name.
1985 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1986 ac_top_srcdir=$ac_top_build_prefix$srcdir
1987 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1988 esac
1989 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1990
1991 cd "$ac_dir" || { ac_status=$?; continue; }
1992 # Check for guested configure.
1993 if test -f "$ac_srcdir/configure.gnu"; then
1994 echo &&
1995 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1996 elif test -f "$ac_srcdir/configure"; then
1997 echo &&
1998 $SHELL "$ac_srcdir/configure" --help=recursive
1999 else
2000 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2001 fi || ac_status=$?
2002 cd "$ac_pwd" || { ac_status=$?; break; }
2003 done
2004 fi
2005
2006 test -n "$ac_init_help" && exit $ac_status
2007 if $ac_init_version; then
2008 cat <<\_ACEOF
2009 wxWidgets configure 2.9.0
2010 generated by GNU Autoconf 2.61
2011
2012 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2013 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2014 This configure script is free software; the Free Software Foundation
2015 gives unlimited permission to copy, distribute and modify it.
2016 _ACEOF
2017 exit
2018 fi
2019 cat >config.log <<_ACEOF
2020 This file contains any messages produced by compilers while
2021 running configure, to aid debugging if configure makes a mistake.
2022
2023 It was created by wxWidgets $as_me 2.9.0, which was
2024 generated by GNU Autoconf 2.61. Invocation command line was
2025
2026 $ $0 $@
2027
2028 _ACEOF
2029 exec 5>>config.log
2030 {
2031 cat <<_ASUNAME
2032 ## --------- ##
2033 ## Platform. ##
2034 ## --------- ##
2035
2036 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2037 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2038 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2039 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2040 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2041
2042 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2043 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2044
2045 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2046 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2047 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2048 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2049 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2050 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2051 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2052
2053 _ASUNAME
2054
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2057 do
2058 IFS=$as_save_IFS
2059 test -z "$as_dir" && as_dir=.
2060 echo "PATH: $as_dir"
2061 done
2062 IFS=$as_save_IFS
2063
2064 } >&5
2065
2066 cat >&5 <<_ACEOF
2067
2068
2069 ## ----------- ##
2070 ## Core tests. ##
2071 ## ----------- ##
2072
2073 _ACEOF
2074
2075
2076 # Keep a trace of the command line.
2077 # Strip out --no-create and --no-recursion so they do not pile up.
2078 # Strip out --silent because we don't want to record it for future runs.
2079 # Also quote any args containing shell meta-characters.
2080 # Make two passes to allow for proper duplicate-argument suppression.
2081 ac_configure_args=
2082 ac_configure_args0=
2083 ac_configure_args1=
2084 ac_must_keep_next=false
2085 for ac_pass in 1 2
2086 do
2087 for ac_arg
2088 do
2089 case $ac_arg in
2090 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2092 | -silent | --silent | --silen | --sile | --sil)
2093 continue ;;
2094 *\'*)
2095 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2096 esac
2097 case $ac_pass in
2098 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2099 2)
2100 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2101 if test $ac_must_keep_next = true; then
2102 ac_must_keep_next=false # Got value, back to normal.
2103 else
2104 case $ac_arg in
2105 *=* | --config-cache | -C | -disable-* | --disable-* \
2106 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2107 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2108 | -with-* | --with-* | -without-* | --without-* | --x)
2109 case "$ac_configure_args0 " in
2110 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2111 esac
2112 ;;
2113 -* ) ac_must_keep_next=true ;;
2114 esac
2115 fi
2116 ac_configure_args="$ac_configure_args '$ac_arg'"
2117 ;;
2118 esac
2119 done
2120 done
2121 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2122 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2123
2124 # When interrupted or exit'd, cleanup temporary files, and complete
2125 # config.log. We remove comments because anyway the quotes in there
2126 # would cause problems or look ugly.
2127 # WARNING: Use '\'' to represent an apostrophe within the trap.
2128 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2129 trap 'exit_status=$?
2130 # Save into config.log some information that might help in debugging.
2131 {
2132 echo
2133
2134 cat <<\_ASBOX
2135 ## ---------------- ##
2136 ## Cache variables. ##
2137 ## ---------------- ##
2138 _ASBOX
2139 echo
2140 # The following way of writing the cache mishandles newlines in values,
2141 (
2142 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2143 eval ac_val=\$$ac_var
2144 case $ac_val in #(
2145 *${as_nl}*)
2146 case $ac_var in #(
2147 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2148 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2149 esac
2150 case $ac_var in #(
2151 _ | IFS | as_nl) ;; #(
2152 *) $as_unset $ac_var ;;
2153 esac ;;
2154 esac
2155 done
2156 (set) 2>&1 |
2157 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2158 *${as_nl}ac_space=\ *)
2159 sed -n \
2160 "s/'\''/'\''\\\\'\'''\''/g;
2161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2162 ;; #(
2163 *)
2164 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2165 ;;
2166 esac |
2167 sort
2168 )
2169 echo
2170
2171 cat <<\_ASBOX
2172 ## ----------------- ##
2173 ## Output variables. ##
2174 ## ----------------- ##
2175 _ASBOX
2176 echo
2177 for ac_var in $ac_subst_vars
2178 do
2179 eval ac_val=\$$ac_var
2180 case $ac_val in
2181 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2182 esac
2183 echo "$ac_var='\''$ac_val'\''"
2184 done | sort
2185 echo
2186
2187 if test -n "$ac_subst_files"; then
2188 cat <<\_ASBOX
2189 ## ------------------- ##
2190 ## File substitutions. ##
2191 ## ------------------- ##
2192 _ASBOX
2193 echo
2194 for ac_var in $ac_subst_files
2195 do
2196 eval ac_val=\$$ac_var
2197 case $ac_val in
2198 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2199 esac
2200 echo "$ac_var='\''$ac_val'\''"
2201 done | sort
2202 echo
2203 fi
2204
2205 if test -s confdefs.h; then
2206 cat <<\_ASBOX
2207 ## ----------- ##
2208 ## confdefs.h. ##
2209 ## ----------- ##
2210 _ASBOX
2211 echo
2212 cat confdefs.h
2213 echo
2214 fi
2215 test "$ac_signal" != 0 &&
2216 echo "$as_me: caught signal $ac_signal"
2217 echo "$as_me: exit $exit_status"
2218 } >&5
2219 rm -f core *.core core.conftest.* &&
2220 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2221 exit $exit_status
2222 ' 0
2223 for ac_signal in 1 2 13 15; do
2224 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2225 done
2226 ac_signal=0
2227
2228 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2229 rm -f -r conftest* confdefs.h
2230
2231 # Predefined preprocessor variables.
2232
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_NAME "$PACKAGE_NAME"
2235 _ACEOF
2236
2237
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2240 _ACEOF
2241
2242
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2245 _ACEOF
2246
2247
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_STRING "$PACKAGE_STRING"
2250 _ACEOF
2251
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2255 _ACEOF
2256
2257
2258 # Let the site file select an alternate cache file if it wants to.
2259 # Prefer explicitly selected file to automatically selected ones.
2260 if test -n "$CONFIG_SITE"; then
2261 set x "$CONFIG_SITE"
2262 elif test "x$prefix" != xNONE; then
2263 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2264 else
2265 set x "$ac_default_prefix/share/config.site" \
2266 "$ac_default_prefix/etc/config.site"
2267 fi
2268 shift
2269 for ac_site_file
2270 do
2271 if test -r "$ac_site_file"; then
2272 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2273 echo "$as_me: loading site script $ac_site_file" >&6;}
2274 sed 's/^/| /' "$ac_site_file" >&5
2275 . "$ac_site_file"
2276 fi
2277 done
2278
2279 if test -r "$cache_file"; then
2280 # Some versions of bash will fail to source /dev/null (special
2281 # files actually), so we avoid doing that.
2282 if test -f "$cache_file"; then
2283 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2284 echo "$as_me: loading cache $cache_file" >&6;}
2285 case $cache_file in
2286 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2287 *) . "./$cache_file";;
2288 esac
2289 fi
2290 else
2291 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2292 echo "$as_me: creating cache $cache_file" >&6;}
2293 >$cache_file
2294 fi
2295
2296 # Check that the precious variables saved in the cache have kept the same
2297 # value.
2298 ac_cache_corrupted=false
2299 for ac_var in $ac_precious_vars; do
2300 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2301 eval ac_new_set=\$ac_env_${ac_var}_set
2302 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2303 eval ac_new_val=\$ac_env_${ac_var}_value
2304 case $ac_old_set,$ac_new_set in
2305 set,)
2306 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2307 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2308 ac_cache_corrupted=: ;;
2309 ,set)
2310 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2311 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2312 ac_cache_corrupted=: ;;
2313 ,);;
2314 *)
2315 if test "x$ac_old_val" != "x$ac_new_val"; then
2316 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2317 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2318 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2319 echo "$as_me: former value: $ac_old_val" >&2;}
2320 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2321 echo "$as_me: current value: $ac_new_val" >&2;}
2322 ac_cache_corrupted=:
2323 fi;;
2324 esac
2325 # Pass precious variables to config.status.
2326 if test "$ac_new_set" = set; then
2327 case $ac_new_val in
2328 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2329 *) ac_arg=$ac_var=$ac_new_val ;;
2330 esac
2331 case " $ac_configure_args " in
2332 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2333 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2334 esac
2335 fi
2336 done
2337 if $ac_cache_corrupted; then
2338 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2339 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2340 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2341 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2342 { (exit 1); exit 1; }; }
2343 fi
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369 ac_ext=c
2370 ac_cpp='$CPP $CPPFLAGS'
2371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2374
2375
2376
2377
2378
2379 ac_aux_dir=
2380 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2381 if test -f "$ac_dir/install-sh"; then
2382 ac_aux_dir=$ac_dir
2383 ac_install_sh="$ac_aux_dir/install-sh -c"
2384 break
2385 elif test -f "$ac_dir/install.sh"; then
2386 ac_aux_dir=$ac_dir
2387 ac_install_sh="$ac_aux_dir/install.sh -c"
2388 break
2389 elif test -f "$ac_dir/shtool"; then
2390 ac_aux_dir=$ac_dir
2391 ac_install_sh="$ac_aux_dir/shtool install -c"
2392 break
2393 fi
2394 done
2395 if test -z "$ac_aux_dir"; then
2396 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2397 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2398 { (exit 1); exit 1; }; }
2399 fi
2400
2401 # These three variables are undocumented and unsupported,
2402 # and are intended to be withdrawn in a future Autoconf release.
2403 # They can cause serious problems if a builder's source tree is in a directory
2404 # whose full name contains unusual characters.
2405 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2406 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2407 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2408
2409
2410 # Make sure we can run config.sub.
2411 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2412 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2413 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2414 { (exit 1); exit 1; }; }
2415
2416 { echo "$as_me:$LINENO: checking build system type" >&5
2417 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2418 if test "${ac_cv_build+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 else
2421 ac_build_alias=$build_alias
2422 test "x$ac_build_alias" = x &&
2423 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2424 test "x$ac_build_alias" = x &&
2425 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2426 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2427 { (exit 1); exit 1; }; }
2428 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2429 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2430 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2431 { (exit 1); exit 1; }; }
2432
2433 fi
2434 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2435 echo "${ECHO_T}$ac_cv_build" >&6; }
2436 case $ac_cv_build in
2437 *-*-*) ;;
2438 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2439 echo "$as_me: error: invalid value of canonical build" >&2;}
2440 { (exit 1); exit 1; }; };;
2441 esac
2442 build=$ac_cv_build
2443 ac_save_IFS=$IFS; IFS='-'
2444 set x $ac_cv_build
2445 shift
2446 build_cpu=$1
2447 build_vendor=$2
2448 shift; shift
2449 # Remember, the first character of IFS is used to create $*,
2450 # except with old shells:
2451 build_os=$*
2452 IFS=$ac_save_IFS
2453 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2454
2455
2456 { echo "$as_me:$LINENO: checking host system type" >&5
2457 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2458 if test "${ac_cv_host+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 else
2461 if test "x$host_alias" = x; then
2462 ac_cv_host=$ac_cv_build
2463 else
2464 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2465 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2466 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2467 { (exit 1); exit 1; }; }
2468 fi
2469
2470 fi
2471 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2472 echo "${ECHO_T}$ac_cv_host" >&6; }
2473 case $ac_cv_host in
2474 *-*-*) ;;
2475 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2476 echo "$as_me: error: invalid value of canonical host" >&2;}
2477 { (exit 1); exit 1; }; };;
2478 esac
2479 host=$ac_cv_host
2480 ac_save_IFS=$IFS; IFS='-'
2481 set x $ac_cv_host
2482 shift
2483 host_cpu=$1
2484 host_vendor=$2
2485 shift; shift
2486 # Remember, the first character of IFS is used to create $*,
2487 # except with old shells:
2488 host_os=$*
2489 IFS=$ac_save_IFS
2490 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2491
2492
2493 { echo "$as_me:$LINENO: checking target system type" >&5
2494 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2495 if test "${ac_cv_target+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2497 else
2498 if test "x$target_alias" = x; then
2499 ac_cv_target=$ac_cv_host
2500 else
2501 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2502 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2503 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2504 { (exit 1); exit 1; }; }
2505 fi
2506
2507 fi
2508 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2509 echo "${ECHO_T}$ac_cv_target" >&6; }
2510 case $ac_cv_target in
2511 *-*-*) ;;
2512 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2513 echo "$as_me: error: invalid value of canonical target" >&2;}
2514 { (exit 1); exit 1; }; };;
2515 esac
2516 target=$ac_cv_target
2517 ac_save_IFS=$IFS; IFS='-'
2518 set x $ac_cv_target
2519 shift
2520 target_cpu=$1
2521 target_vendor=$2
2522 shift; shift
2523 # Remember, the first character of IFS is used to create $*,
2524 # except with old shells:
2525 target_os=$*
2526 IFS=$ac_save_IFS
2527 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2528
2529
2530 # The aliases save the names the user supplied, while $host etc.
2531 # will get canonicalized.
2532 test -n "$target_alias" &&
2533 test "$program_prefix$program_suffix$program_transform_name" = \
2534 NONENONEs,x,x, &&
2535 program_prefix=${target_alias}-
2536
2537
2538
2539 wx_major_version_number=2
2540 wx_minor_version_number=9
2541 wx_release_number=0
2542 wx_subrelease_number=0
2543
2544 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2545 WX_VERSION=$WX_RELEASE.$wx_release_number
2546 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2547
2548 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2549
2550
2551 wx_top_builddir="`pwd`"
2552
2553
2554
2555
2556 USE_UNIX=1
2557 USE_OS2=0
2558 USE_WIN32=0
2559 USE_DOS=0
2560 USE_BEOS=0
2561 USE_MAC=0
2562
2563 USE_AIX=
2564 USE_BSD= USE_DARWIN= USE_FREEBSD=
2565 USE_GNU= USE_HPUX=
2566 USE_LINUX=
2567 USE_NETBSD=
2568 USE_OPENBSD=
2569 USE_OSF= USE_SGI=
2570 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2571 USE_ULTRIX=
2572 USE_UNIXWARE=
2573
2574 USE_ALPHA=
2575
2576 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2577
2578 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2579
2580 DEFAULT_wxUSE_COCOA=0
2581 DEFAULT_wxUSE_GTK=0
2582 DEFAULT_wxUSE_MAC=0
2583 DEFAULT_wxUSE_MGL=0
2584 DEFAULT_wxUSE_MICROWIN=0
2585 DEFAULT_wxUSE_MOTIF=0
2586 DEFAULT_wxUSE_MSW=0
2587 DEFAULT_wxUSE_PM=0
2588 DEFAULT_wxUSE_X11=0
2589 DEFAULT_wxUSE_DFB=0
2590
2591 DEFAULT_DEFAULT_wxUSE_COCOA=0
2592 DEFAULT_DEFAULT_wxUSE_GTK=0
2593 DEFAULT_DEFAULT_wxUSE_MAC=0
2594 DEFAULT_DEFAULT_wxUSE_MGL=0
2595 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2596 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2597 DEFAULT_DEFAULT_wxUSE_MSW=0
2598 DEFAULT_DEFAULT_wxUSE_PM=0
2599 DEFAULT_DEFAULT_wxUSE_X11=0
2600 DEFAULT_DEFAULT_wxUSE_DFB=0
2601
2602 PROGRAM_EXT=
2603 SO_SUFFIX=so
2604 SAMPLES_RPATH_FLAG=
2605 SAMPLES_RPATH_POSTLINK=
2606
2607 DEFAULT_STD_FLAG=yes
2608
2609 case "${host}" in
2610 *-hp-hpux* )
2611 USE_HPUX=1
2612 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2613 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2614 SO_SUFFIX=sl
2615 cat >>confdefs.h <<\_ACEOF
2616 #define __HPUX__ 1
2617 _ACEOF
2618
2619
2620 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2621 ;;
2622 *-*-linux* )
2623 USE_LINUX=1
2624 cat >>confdefs.h <<\_ACEOF
2625 #define __LINUX__ 1
2626 _ACEOF
2627
2628 TMP=`uname -m`
2629 if test "x$TMP" = "xalpha"; then
2630 USE_ALPHA=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __ALPHA__ 1
2633 _ACEOF
2634
2635 fi
2636 DEFAULT_DEFAULT_wxUSE_GTK=1
2637 ;;
2638 *-*-gnu* | *-*-k*bsd*-gnu )
2639 USE_GNU=1
2640 TMP=`uname -m`
2641 if test "x$TMP" = "xalpha"; then
2642 USE_ALPHA=1
2643 cat >>confdefs.h <<\_ACEOF
2644 #define __ALPHA__ 1
2645 _ACEOF
2646
2647 fi
2648 DEFAULT_DEFAULT_wxUSE_GTK=1
2649 ;;
2650 *-*-irix5* | *-*-irix6* )
2651 USE_SGI=1
2652 USE_SVR4=1
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __SGI__ 1
2655 _ACEOF
2656
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __SVR4__ 1
2659 _ACEOF
2660
2661 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2662 ;;
2663 *-*-solaris2* )
2664 USE_SUN=1
2665 USE_SOLARIS=1
2666 USE_SVR4=1
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __SUN__ 1
2669 _ACEOF
2670
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __SOLARIS__ 1
2673 _ACEOF
2674
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SVR4__ 1
2677 _ACEOF
2678
2679 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2680 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2681 ;;
2682 *-*-sunos4* )
2683 USE_SUN=1
2684 USE_SUNOS=1
2685 USE_BSD=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SUN__ 1
2688 _ACEOF
2689
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __SUNOS__ 1
2692 _ACEOF
2693
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __BSD__ 1
2696 _ACEOF
2697
2698 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2699 ;;
2700 *-*-freebsd*)
2701 USE_BSD=1
2702 USE_FREEBSD=1
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __FREEBSD__ 1
2705 _ACEOF
2706
2707 cat >>confdefs.h <<\_ACEOF
2708 #define __BSD__ 1
2709 _ACEOF
2710
2711 DEFAULT_DEFAULT_wxUSE_GTK=1
2712 ;;
2713 *-*-openbsd*|*-*-mirbsd*)
2714 USE_BSD=1
2715 USE_OPENBSD=1
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __OPENBSD__ 1
2718 _ACEOF
2719
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __BSD__ 1
2722 _ACEOF
2723
2724 DEFAULT_DEFAULT_wxUSE_GTK=1
2725 ;;
2726 *-*-netbsd*)
2727 USE_BSD=1
2728 USE_NETBSD=1
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __NETBSD__ 1
2731 _ACEOF
2732
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __BSD__ 1
2735 _ACEOF
2736
2737 DEFAULT_DEFAULT_wxUSE_GTK=1
2738 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2739
2740 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2741 ;;
2742 *-*-osf* )
2743 USE_ALPHA=1
2744 USE_OSF=1
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __ALPHA__ 1
2747 _ACEOF
2748
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __OSF__ 1
2751 _ACEOF
2752
2753 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2754 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2755 ;;
2756 *-*-dgux5* )
2757 USE_ALPHA=1
2758 USE_SVR4=1
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __ALPHA__ 1
2761 _ACEOF
2762
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __SVR4__ 1
2765 _ACEOF
2766
2767 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2768 ;;
2769 *-*-sysv5* )
2770 USE_SYSV=1
2771 USE_SVR4=1
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __SYSV__ 1
2774 _ACEOF
2775
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __SVR4__ 1
2778 _ACEOF
2779
2780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2781 ;;
2782 *-*-aix* )
2783 USE_AIX=1
2784 USE_SYSV=1
2785 USE_SVR4=1
2786 SO_SUFFIX=a
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __AIX__ 1
2789 _ACEOF
2790
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __SYSV__ 1
2793 _ACEOF
2794
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __SVR4__ 1
2797 _ACEOF
2798
2799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2800 ;;
2801
2802 *-*-*UnixWare*)
2803 USE_SYSV=1
2804 USE_SVR4=1
2805 USE_UNIXWARE=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __UNIXWARE__ 1
2808 _ACEOF
2809
2810 ;;
2811
2812 *-*-cygwin* | *-*-mingw32* )
2813 SO_SUFFIX=dll
2814 PROGRAM_EXT=".exe"
2815 DEFAULT_DEFAULT_wxUSE_MSW=1
2816 ;;
2817
2818 *-pc-msdosdjgpp )
2819 USE_UNIX=0
2820 USE_DOS=1
2821 cat >>confdefs.h <<\_ACEOF
2822 #define __DOS__ 1
2823 _ACEOF
2824
2825 PROGRAM_EXT=".exe"
2826 DEFAULT_DEFAULT_wxUSE_MGL=1
2827 ;;
2828
2829 *-pc-os2_emx | *-pc-os2-emx )
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __EMX__ 1
2832 _ACEOF
2833
2834 USE_OS2=1
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __OS2__ 1
2837 _ACEOF
2838
2839 PROGRAM_EXT=".exe"
2840 DEFAULT_DEFAULT_wxUSE_PM=1
2841 CXX=gcc
2842 LDFLAGS="$LDFLAGS -Zcrtdll"
2843 ac_executable_extensions=".exe"
2844 export ac_executable_extensions
2845 ac_save_IFS="$IFS"
2846 IFS='\\'
2847 ac_TEMP_PATH=
2848 for ac_dir in $PATH; do
2849 IFS=$ac_save_IFS
2850 if test -z "$ac_TEMP_PATH"; then
2851 ac_TEMP_PATH="$ac_dir"
2852 else
2853 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2854 fi
2855 done
2856 export PATH="$ac_TEMP_PATH"
2857 unset ac_TEMP_PATH
2858 DEFAULT_STD_FLAG=no
2859 ;;
2860
2861 *-*-darwin* )
2862 USE_BSD=1
2863 USE_DARWIN=1
2864 SO_SUFFIX=dylib
2865 cat >>confdefs.h <<\_ACEOF
2866 #define __BSD__ 1
2867 _ACEOF
2868
2869 cat >>confdefs.h <<\_ACEOF
2870 #define __DARWIN__ 1
2871 _ACEOF
2872
2873 cat >>confdefs.h <<\_ACEOF
2874 #define TARGET_CARBON 1
2875 _ACEOF
2876
2877 DEFAULT_DEFAULT_wxUSE_MAC=1
2878 DEFAULT_STD_FLAG=no
2879 ;;
2880 powerpc-apple-macos* )
2881 USE_UNIX=0
2882 ac_cv_c_bigendian=yes
2883 SO_SUFFIX=shlib
2884 DEFAULT_DEFAULT_wxUSE_MAC=1
2885 DEFAULT_STD_FLAG=no
2886 ;;
2887
2888 *-*-beos* )
2889 USE_BEOS=1
2890 cat >>confdefs.h <<\_ACEOF
2891 #define __BEOS__ 1
2892 _ACEOF
2893
2894 ;;
2895
2896 *)
2897 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2898 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2899 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2900 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2901
2902 DEFAULT_DEFAULT_wxUSE_X11=1
2903 DEFAULT_wxUSE_SHARED=no
2904 esac
2905
2906
2907
2908
2909 wx_arg_cache_file="configarg.cache"
2910 echo "loading argument cache $wx_arg_cache_file"
2911 rm -f ${wx_arg_cache_file}.tmp
2912 touch ${wx_arg_cache_file}.tmp
2913 touch ${wx_arg_cache_file}
2914
2915
2916 DEFAULT_wxUSE_ALL_FEATURES=yes
2917
2918 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2919 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2920
2921 DEFAULT_wxUSE_DMALLOC=no
2922 DEFAULT_wxUSE_LIBGNOMEVFS=no
2923 DEFAULT_wxUSE_LIBHILDON=no
2924 DEFAULT_wxUSE_LIBMSPACK=no
2925 DEFAULT_wxUSE_LIBSDL=no
2926 DEFAULT_wxUSE_ODBC=no
2927 DEFAULT_wxUSE_OPENGL=no
2928
2929 DEFAULT_wxUSE_ACCESSIBILITY=no
2930 DEFAULT_wxUSE_DATAVIEWCTRL=no
2931 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2932 DEFAULT_wxUSE_MEDIACTRL=no
2933 DEFAULT_wxUSE_TAB_DIALOG=no
2934
2935 DEFAULT_wxUSE_UNICODE_UTF8=auto
2936 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2937
2938 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2939
2940 DEFAULT_wxUSE_GTK2=yes
2941
2942 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2943
2944
2945 for toolkit in `echo $ALL_TOOLKITS`; do
2946 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2947 if test "x$LINE" != "x" ; then
2948 has_toolkit_in_cache=1
2949 eval "DEFAULT_$LINE"
2950 eval "CACHE_$toolkit=1"
2951
2952 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2953 if test "x$LINE" != "x" ; then
2954 eval "DEFAULT_$LINE"
2955 fi
2956 fi
2957 done
2958
2959
2960
2961
2962
2963 enablestring=disable
2964 defaultval=
2965 if test -z "$defaultval"; then
2966 if test x"$enablestring" = xdisable; then
2967 defaultval=yes
2968 else
2969 defaultval=no
2970 fi
2971 fi
2972
2973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2974 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2975 no_cache=0
2976 # Check whether --enable-gui was given.
2977 if test "${enable_gui+set}" = set; then
2978 enableval=$enable_gui;
2979 if test "$enableval" = yes; then
2980 wx_cv_use_gui='wxUSE_GUI=yes'
2981 else
2982 wx_cv_use_gui='wxUSE_GUI=no'
2983 fi
2984
2985 else
2986
2987 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2988 if test "x$LINE" != x ; then
2989 eval "DEFAULT_$LINE"
2990 else
2991 no_cache=1
2992 fi
2993
2994 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2995
2996 fi
2997
2998
2999 eval "$wx_cv_use_gui"
3000 if test "$no_cache" != 1; then
3001 echo $wx_cv_use_gui >> ${wx_arg_cache_file}.tmp
3002 fi
3003
3004 if test x"$enablestring" = xdisable; then
3005 if test $wxUSE_GUI = yes; then
3006 result=no
3007 else
3008 result=yes
3009 fi
3010 else
3011 result=$wxUSE_GUI
3012 fi
3013
3014 { echo "$as_me:$LINENO: result: $result" >&5
3015 echo "${ECHO_T}$result" >&6; }
3016
3017
3018 enablestring=
3019 defaultval=
3020 if test -z "$defaultval"; then
3021 if test x"$enablestring" = xdisable; then
3022 defaultval=yes
3023 else
3024 defaultval=no
3025 fi
3026 fi
3027
3028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3029 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3030 no_cache=0
3031 # Check whether --enable-monolithic was given.
3032 if test "${enable_monolithic+set}" = set; then
3033 enableval=$enable_monolithic;
3034 if test "$enableval" = yes; then
3035 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3036 else
3037 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3038 fi
3039
3040 else
3041
3042 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3043 if test "x$LINE" != x ; then
3044 eval "DEFAULT_$LINE"
3045 else
3046 no_cache=1
3047 fi
3048
3049 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3050
3051 fi
3052
3053
3054 eval "$wx_cv_use_monolithic"
3055 if test "$no_cache" != 1; then
3056 echo $wx_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3057 fi
3058
3059 if test x"$enablestring" = xdisable; then
3060 if test $wxUSE_MONOLITHIC = yes; then
3061 result=no
3062 else
3063 result=yes
3064 fi
3065 else
3066 result=$wxUSE_MONOLITHIC
3067 fi
3068
3069 { echo "$as_me:$LINENO: result: $result" >&5
3070 echo "${ECHO_T}$result" >&6; }
3071
3072
3073 enablestring=
3074 defaultval=
3075 if test -z "$defaultval"; then
3076 if test x"$enablestring" = xdisable; then
3077 defaultval=yes
3078 else
3079 defaultval=no
3080 fi
3081 fi
3082
3083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3084 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3085 no_cache=0
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
3095 else
3096
3097 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x ; then
3099 eval "DEFAULT_$LINE"
3100 else
3101 no_cache=1
3102 fi
3103
3104 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3105
3106 fi
3107
3108
3109 eval "$wx_cv_use_plugins"
3110 if test "$no_cache" != 1; then
3111 echo $wx_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3112 fi
3113
3114 if test x"$enablestring" = xdisable; then
3115 if test $wxUSE_PLUGINS = yes; then
3116 result=no
3117 else
3118 result=yes
3119 fi
3120 else
3121 result=$wxUSE_PLUGINS
3122 fi
3123
3124 { echo "$as_me:$LINENO: result: $result" >&5
3125 echo "${ECHO_T}$result" >&6; }
3126
3127
3128 withstring=without
3129 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3130 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3131 no_cache=0
3132
3133 # Check whether --with-subdirs was given.
3134 if test "${with_subdirs+set}" = set; then
3135 withval=$with_subdirs;
3136 if test "$withval" = yes; then
3137 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3138 else
3139 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3140 fi
3141
3142 else
3143
3144 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3145 if test "x$LINE" != x ; then
3146 eval "DEFAULT_$LINE"
3147 else
3148 no_cache=1
3149 fi
3150
3151 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$wxUSE_ALL_FEATURES}"
3152
3153 fi
3154
3155
3156 eval "$wx_cv_use_subdirs"
3157 if test "$no_cache" != 1; then
3158 echo $wx_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3159 fi
3160
3161 if test x"$withstring" = xwithout; then
3162 if test $wxWITH_SUBDIRS = yes; then
3163 result=no
3164 else
3165 result=yes
3166 fi
3167 else
3168 result=$wxWITH_SUBDIRS
3169 fi
3170
3171 { echo "$as_me:$LINENO: result: $result" >&5
3172 echo "${ECHO_T}$result" >&6; }
3173
3174
3175 # Check whether --with-flavour was given.
3176 if test "${with_flavour+set}" = set; then
3177 withval=$with_flavour; WX_FLAVOUR="$withval"
3178 fi
3179
3180
3181 enablestring=
3182 defaultval=
3183 if test -z "$defaultval"; then
3184 if test x"$enablestring" = xdisable; then
3185 defaultval=yes
3186 else
3187 defaultval=no
3188 fi
3189 fi
3190
3191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3192 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3193 no_cache=0
3194 # Check whether --enable-official_build was given.
3195 if test "${enable_official_build+set}" = set; then
3196 enableval=$enable_official_build;
3197 if test "$enableval" = yes; then
3198 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3199 else
3200 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3201 fi
3202
3203 else
3204
3205 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3206 if test "x$LINE" != x ; then
3207 eval "DEFAULT_$LINE"
3208 else
3209 no_cache=1
3210 fi
3211
3212 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3213
3214 fi
3215
3216
3217 eval "$wx_cv_use_official_build"
3218 if test "$no_cache" != 1; then
3219 echo $wx_cv_use_official_build >> ${wx_arg_cache_file}.tmp
3220 fi
3221
3222 if test x"$enablestring" = xdisable; then
3223 if test $wxUSE_OFFICIAL_BUILD = yes; then
3224 result=no
3225 else
3226 result=yes
3227 fi
3228 else
3229 result=$wxUSE_OFFICIAL_BUILD
3230 fi
3231
3232 { echo "$as_me:$LINENO: result: $result" >&5
3233 echo "${ECHO_T}$result" >&6; }
3234
3235 # Check whether --enable-vendor was given.
3236 if test "${enable_vendor+set}" = set; then
3237 enableval=$enable_vendor; VENDOR="$enableval"
3238 fi
3239
3240 if test "x$VENDOR" = "x"; then
3241 VENDOR="custom"
3242 fi
3243
3244
3245 enablestring=disable
3246 defaultval=
3247 if test -z "$defaultval"; then
3248 if test x"$enablestring" = xdisable; then
3249 defaultval=yes
3250 else
3251 defaultval=no
3252 fi
3253 fi
3254
3255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3256 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3257 no_cache=0
3258 # Check whether --enable-all-features was given.
3259 if test "${enable_all_features+set}" = set; then
3260 enableval=$enable_all_features;
3261 if test "$enableval" = yes; then
3262 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3263 else
3264 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3265 fi
3266
3267 else
3268
3269 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3270 if test "x$LINE" != x ; then
3271 eval "DEFAULT_$LINE"
3272 else
3273 no_cache=1
3274 fi
3275
3276 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3277
3278 fi
3279
3280
3281 eval "$wx_cv_use_all_features"
3282 if test "$no_cache" != 1; then
3283 echo $wx_cv_use_all_features >> ${wx_arg_cache_file}.tmp
3284 fi
3285
3286 if test x"$enablestring" = xdisable; then
3287 if test $wxUSE_ALL_FEATURES = yes; then
3288 result=no
3289 else
3290 result=yes
3291 fi
3292 else
3293 result=$wxUSE_ALL_FEATURES
3294 fi
3295
3296 { echo "$as_me:$LINENO: result: $result" >&5
3297 echo "${ECHO_T}$result" >&6; }
3298
3299
3300
3301 if test "$wxUSE_GUI" = "yes"; then
3302
3303
3304 enablestring=
3305 defaultval=
3306 if test -z "$defaultval"; then
3307 if test x"$enablestring" = xdisable; then
3308 defaultval=yes
3309 else
3310 defaultval=no
3311 fi
3312 fi
3313
3314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3315 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3316 no_cache=0
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
3326 else
3327
3328 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3329 if test "x$LINE" != x ; then
3330 eval "DEFAULT_$LINE"
3331 else
3332 no_cache=1
3333 fi
3334
3335 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3336
3337 fi
3338
3339
3340 eval "$wx_cv_use_universal"
3341 if test "$no_cache" != 1; then
3342 echo $wx_cv_use_universal >> ${wx_arg_cache_file}.tmp
3343 fi
3344
3345 if test x"$enablestring" = xdisable; then
3346 if test $wxUSE_UNIVERSAL = yes; then
3347 result=no
3348 else
3349 result=yes
3350 fi
3351 else
3352 result=$wxUSE_UNIVERSAL
3353 fi
3354
3355 { echo "$as_me:$LINENO: result: $result" >&5
3356 echo "${ECHO_T}$result" >&6; }
3357
3358 if test "$wxUSE_UNIVERSAL" = "yes"; then
3359
3360 # Check whether --with-themes was given.
3361 if test "${with_themes+set}" = set; then
3362 withval=$with_themes; wxUNIV_THEMES="$withval"
3363 fi
3364
3365 fi
3366
3367
3368 # Check whether --with-gtk was given.
3369 if test "${with_gtk+set}" = set; then
3370 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3371 fi
3372
3373
3374 # Check whether --with-motif was given.
3375 if test "${with_motif+set}" = set; then
3376 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3377 fi
3378
3379
3380 # Check whether --with-mac was given.
3381 if test "${with_mac+set}" = set; then
3382 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3383 fi
3384
3385
3386 # Check whether --with-cocoa was given.
3387 if test "${with_cocoa+set}" = set; then
3388 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3389 fi
3390
3391
3392 # Check whether --with-wine was given.
3393 if test "${with_wine+set}" = set; then
3394 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3395 fi
3396
3397
3398 # Check whether --with-msw was given.
3399 if test "${with_msw+set}" = set; then
3400 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3401 fi
3402
3403
3404 # Check whether --with-pm was given.
3405 if test "${with_pm+set}" = set; then
3406 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3407 fi
3408
3409
3410 # Check whether --with-mgl was given.
3411 if test "${with_mgl+set}" = set; then
3412 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3413 fi
3414
3415
3416 # Check whether --with-directfb was given.
3417 if test "${with_directfb+set}" = set; then
3418 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3419 fi
3420
3421
3422 # Check whether --with-microwin was given.
3423 if test "${with_microwin+set}" = set; then
3424 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3425 fi
3426
3427
3428 # Check whether --with-x11 was given.
3429 if test "${with_x11+set}" = set; then
3430 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3431 fi
3432
3433
3434 enablestring=
3435 defaultval=
3436 if test -z "$defaultval"; then
3437 if test x"$enablestring" = xdisable; then
3438 defaultval=yes
3439 else
3440 defaultval=no
3441 fi
3442 fi
3443
3444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3445 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3446 no_cache=0
3447 # Check whether --enable-nanox was given.
3448 if test "${enable_nanox+set}" = set; then
3449 enableval=$enable_nanox;
3450 if test "$enableval" = yes; then
3451 wx_cv_use_nanox='wxUSE_NANOX=yes'
3452 else
3453 wx_cv_use_nanox='wxUSE_NANOX=no'
3454 fi
3455
3456 else
3457
3458 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x ; then
3460 eval "DEFAULT_$LINE"
3461 else
3462 no_cache=1
3463 fi
3464
3465 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3466
3467 fi
3468
3469
3470 eval "$wx_cv_use_nanox"
3471 if test "$no_cache" != 1; then
3472 echo $wx_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3473 fi
3474
3475 if test x"$enablestring" = xdisable; then
3476 if test $wxUSE_NANOX = yes; then
3477 result=no
3478 else
3479 result=yes
3480 fi
3481 else
3482 result=$wxUSE_NANOX
3483 fi
3484
3485 { echo "$as_me:$LINENO: result: $result" >&5
3486 echo "${ECHO_T}$result" >&6; }
3487
3488
3489 # Check whether --enable-gtk2 was given.
3490 if test "${enable_gtk2+set}" = set; then
3491 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3492 fi
3493
3494
3495 enablestring=
3496 defaultval=
3497 if test -z "$defaultval"; then
3498 if test x"$enablestring" = xdisable; then
3499 defaultval=yes
3500 else
3501 defaultval=no
3502 fi
3503 fi
3504
3505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3506 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3507 no_cache=0
3508 # Check whether --enable-gpe was given.
3509 if test "${enable_gpe+set}" = set; then
3510 enableval=$enable_gpe;
3511 if test "$enableval" = yes; then
3512 wx_cv_use_gpe='wxUSE_GPE=yes'
3513 else
3514 wx_cv_use_gpe='wxUSE_GPE=no'
3515 fi
3516
3517 else
3518
3519 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x ; then
3521 eval "DEFAULT_$LINE"
3522 else
3523 no_cache=1
3524 fi
3525
3526 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3527
3528 fi
3529
3530
3531 eval "$wx_cv_use_gpe"
3532 if test "$no_cache" != 1; then
3533 echo $wx_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3534 fi
3535
3536 if test x"$enablestring" = xdisable; then
3537 if test $wxUSE_GPE = yes; then
3538 result=no
3539 else
3540 result=yes
3541 fi
3542 else
3543 result=$wxUSE_GPE
3544 fi
3545
3546 { echo "$as_me:$LINENO: result: $result" >&5
3547 echo "${ECHO_T}$result" >&6; }
3548
3549
3550
3551
3552 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3553 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3554 no_cache=0
3555
3556 # Check whether --with-libpng was given.
3557 if test "${with_libpng+set}" = set; then
3558 withval=$with_libpng;
3559 if test "$withval" = yes; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3561 elif test "$withval" = no; then
3562 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3563 elif test "$withval" = sys; then
3564 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3565 elif test "$withval" = builtin; then
3566 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3567 else
3568 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3569 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3570 { (exit 1); exit 1; }; }
3571 fi
3572
3573 else
3574
3575 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x ; then
3577 eval "DEFAULT_$LINE"
3578 else
3579 no_cache=1
3580 fi
3581
3582 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3583
3584 fi
3585
3586
3587 eval "$wx_cv_use_libpng"
3588 if test "$no_cache" != 1; then
3589 echo $wx_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3590 fi
3591
3592 if test "$wxUSE_LIBPNG" = yes; then
3593 { echo "$as_me:$LINENO: result: yes" >&5
3594 echo "${ECHO_T}yes" >&6; }
3595 elif test "$wxUSE_LIBPNG" = no; then
3596 { echo "$as_me:$LINENO: result: no" >&5
3597 echo "${ECHO_T}no" >&6; }
3598 elif test "$wxUSE_LIBPNG" = sys; then
3599 { echo "$as_me:$LINENO: result: system version" >&5
3600 echo "${ECHO_T}system version" >&6; }
3601 elif test "$wxUSE_LIBPNG" = builtin; then
3602 { echo "$as_me:$LINENO: result: builtin version" >&5
3603 echo "${ECHO_T}builtin version" >&6; }
3604 else
3605 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3606 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3607 { (exit 1); exit 1; }; }
3608 fi
3609
3610
3611 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3612 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3613 no_cache=0
3614
3615 # Check whether --with-libjpeg was given.
3616 if test "${with_libjpeg+set}" = set; then
3617 withval=$with_libjpeg;
3618 if test "$withval" = yes; then
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3620 elif test "$withval" = no; then
3621 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3622 elif test "$withval" = sys; then
3623 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3624 elif test "$withval" = builtin; then
3625 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3626 else
3627 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3628 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3629 { (exit 1); exit 1; }; }
3630 fi
3631
3632 else
3633
3634 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3635 if test "x$LINE" != x ; then
3636 eval "DEFAULT_$LINE"
3637 else
3638 no_cache=1
3639 fi
3640
3641 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3642
3643 fi
3644
3645
3646 eval "$wx_cv_use_libjpeg"
3647 if test "$no_cache" != 1; then
3648 echo $wx_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3649 fi
3650
3651 if test "$wxUSE_LIBJPEG" = yes; then
3652 { echo "$as_me:$LINENO: result: yes" >&5
3653 echo "${ECHO_T}yes" >&6; }
3654 elif test "$wxUSE_LIBJPEG" = no; then
3655 { echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6; }
3657 elif test "$wxUSE_LIBJPEG" = sys; then
3658 { echo "$as_me:$LINENO: result: system version" >&5
3659 echo "${ECHO_T}system version" >&6; }
3660 elif test "$wxUSE_LIBJPEG" = builtin; then
3661 { echo "$as_me:$LINENO: result: builtin version" >&5
3662 echo "${ECHO_T}builtin version" >&6; }
3663 else
3664 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3665 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3666 { (exit 1); exit 1; }; }
3667 fi
3668
3669
3670 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3671 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3672 no_cache=0
3673
3674 # Check whether --with-libtiff was given.
3675 if test "${with_libtiff+set}" = set; then
3676 withval=$with_libtiff;
3677 if test "$withval" = yes; then
3678 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3679 elif test "$withval" = no; then
3680 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3681 elif test "$withval" = sys; then
3682 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3683 elif test "$withval" = builtin; then
3684 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3685 else
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3689 fi
3690
3691 else
3692
3693 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x ; then
3695 eval "DEFAULT_$LINE"
3696 else
3697 no_cache=1
3698 fi
3699
3700 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3701
3702 fi
3703
3704
3705 eval "$wx_cv_use_libtiff"
3706 if test "$no_cache" != 1; then
3707 echo $wx_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3708 fi
3709
3710 if test "$wxUSE_LIBTIFF" = yes; then
3711 { echo "$as_me:$LINENO: result: yes" >&5
3712 echo "${ECHO_T}yes" >&6; }
3713 elif test "$wxUSE_LIBTIFF" = no; then
3714 { echo "$as_me:$LINENO: result: no" >&5
3715 echo "${ECHO_T}no" >&6; }
3716 elif test "$wxUSE_LIBTIFF" = sys; then
3717 { echo "$as_me:$LINENO: result: system version" >&5
3718 echo "${ECHO_T}system version" >&6; }
3719 elif test "$wxUSE_LIBTIFF" = builtin; then
3720 { echo "$as_me:$LINENO: result: builtin version" >&5
3721 echo "${ECHO_T}builtin version" >&6; }
3722 else
3723 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3724 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3725 { (exit 1); exit 1; }; }
3726 fi
3727
3728
3729 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3730 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3731 no_cache=0
3732
3733 # Check whether --with-libxpm was given.
3734 if test "${with_libxpm+set}" = set; then
3735 withval=$with_libxpm;
3736 if test "$withval" = yes; then
3737 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3738 elif test "$withval" = no; then
3739 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3740 elif test "$withval" = sys; then
3741 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3742 elif test "$withval" = builtin; then
3743 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3744 else
3745 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3746 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3747 { (exit 1); exit 1; }; }
3748 fi
3749
3750 else
3751
3752 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3753 if test "x$LINE" != x ; then
3754 eval "DEFAULT_$LINE"
3755 else
3756 no_cache=1
3757 fi
3758
3759 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3760
3761 fi
3762
3763
3764 eval "$wx_cv_use_libxpm"
3765 if test "$no_cache" != 1; then
3766 echo $wx_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3767 fi
3768
3769 if test "$wxUSE_LIBXPM" = yes; then
3770 { echo "$as_me:$LINENO: result: yes" >&5
3771 echo "${ECHO_T}yes" >&6; }
3772 elif test "$wxUSE_LIBXPM" = no; then
3773 { echo "$as_me:$LINENO: result: no" >&5
3774 echo "${ECHO_T}no" >&6; }
3775 elif test "$wxUSE_LIBXPM" = sys; then
3776 { echo "$as_me:$LINENO: result: system version" >&5
3777 echo "${ECHO_T}system version" >&6; }
3778 elif test "$wxUSE_LIBXPM" = builtin; then
3779 { echo "$as_me:$LINENO: result: builtin version" >&5
3780 echo "${ECHO_T}builtin version" >&6; }
3781 else
3782 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3783 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3784 { (exit 1); exit 1; }; }
3785 fi
3786
3787
3788 withstring=
3789 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3790 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3791 no_cache=0
3792
3793 # Check whether --with-libmspack was given.
3794 if test "${with_libmspack+set}" = set; then
3795 withval=$with_libmspack;
3796 if test "$withval" = yes; then
3797 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3798 else
3799 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3800 fi
3801
3802 else
3803
3804 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3805 if test "x$LINE" != x ; then
3806 eval "DEFAULT_$LINE"
3807 else
3808 no_cache=1
3809 fi
3810
3811 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$wxUSE_ALL_FEATURES}"
3812
3813 fi
3814
3815
3816 eval "$wx_cv_use_libmspack"
3817 if test "$no_cache" != 1; then
3818 echo $wx_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3819 fi
3820
3821 if test x"$withstring" = xwithout; then
3822 if test $wxUSE_LIBMSPACK = yes; then
3823 result=no
3824 else
3825 result=yes
3826 fi
3827 else
3828 result=$wxUSE_LIBMSPACK
3829 fi
3830
3831 { echo "$as_me:$LINENO: result: $result" >&5
3832 echo "${ECHO_T}$result" >&6; }
3833
3834
3835 withstring=without
3836 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3837 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3838 no_cache=0
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
3849 else
3850
3851 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3852 if test "x$LINE" != x ; then
3853 eval "DEFAULT_$LINE"
3854 else
3855 no_cache=1
3856 fi
3857
3858 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$wxUSE_ALL_FEATURES}"
3859
3860 fi
3861
3862
3863 eval "$wx_cv_use_gnomeprint"
3864 if test "$no_cache" != 1; then
3865 echo $wx_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3866 fi
3867
3868 if test x"$withstring" = xwithout; then
3869 if test $wxUSE_LIBGNOMEPRINT = yes; then
3870 result=no
3871 else
3872 result=yes
3873 fi
3874 else
3875 result=$wxUSE_LIBGNOMEPRINT
3876 fi
3877
3878 { echo "$as_me:$LINENO: result: $result" >&5
3879 echo "${ECHO_T}$result" >&6; }
3880
3881
3882 withstring=
3883 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3884 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3885 no_cache=0
3886
3887 # Check whether --with-gnomevfs was given.
3888 if test "${with_gnomevfs+set}" = set; then
3889 withval=$with_gnomevfs;
3890 if test "$withval" = yes; then
3891 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3892 else
3893 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3894 fi
3895
3896 else
3897
3898 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x ; then
3900 eval "DEFAULT_$LINE"
3901 else
3902 no_cache=1
3903 fi
3904
3905 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$wxUSE_ALL_FEATURES}"
3906
3907 fi
3908
3909
3910 eval "$wx_cv_use_gnomevfs"
3911 if test "$no_cache" != 1; then
3912 echo $wx_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3913 fi
3914
3915 if test x"$withstring" = xwithout; then
3916 if test $wxUSE_LIBGNOMEVFS = yes; then
3917 result=no
3918 else
3919 result=yes
3920 fi
3921 else
3922 result=$wxUSE_LIBGNOMEVFS
3923 fi
3924
3925 { echo "$as_me:$LINENO: result: $result" >&5
3926 echo "${ECHO_T}$result" >&6; }
3927
3928
3929 withstring=
3930 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3931 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3932 no_cache=0
3933
3934 # Check whether --with-hildon was given.
3935 if test "${with_hildon+set}" = set; then
3936 withval=$with_hildon;
3937 if test "$withval" = yes; then
3938 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3939 else
3940 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3941 fi
3942
3943 else
3944
3945 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x ; then
3947 eval "DEFAULT_$LINE"
3948 else
3949 no_cache=1
3950 fi
3951
3952 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$wxUSE_ALL_FEATURES}"
3953
3954 fi
3955
3956
3957 eval "$wx_cv_use_hildon"
3958 if test "$no_cache" != 1; then
3959 echo $wx_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3960 fi
3961
3962 if test x"$withstring" = xwithout; then
3963 if test $wxUSE_LIBHILDON = yes; then
3964 result=no
3965 else
3966 result=yes
3967 fi
3968 else
3969 result=$wxUSE_LIBHILDON
3970 fi
3971
3972 { echo "$as_me:$LINENO: result: $result" >&5
3973 echo "${ECHO_T}$result" >&6; }
3974
3975
3976 withstring=
3977 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3978 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3979 no_cache=0
3980
3981 # Check whether --with-opengl was given.
3982 if test "${with_opengl+set}" = set; then
3983 withval=$with_opengl;
3984 if test "$withval" = yes; then
3985 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3986 else
3987 wx_cv_use_opengl='wxUSE_OPENGL=no'
3988 fi
3989
3990 else
3991
3992 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x ; then
3994 eval "DEFAULT_$LINE"
3995 else
3996 no_cache=1
3997 fi
3998
3999 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$wxUSE_ALL_FEATURES}"
4000
4001 fi
4002
4003
4004 eval "$wx_cv_use_opengl"
4005 if test "$no_cache" != 1; then
4006 echo $wx_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4007 fi
4008
4009 if test x"$withstring" = xwithout; then
4010 if test $wxUSE_OPENGL = yes; then
4011 result=no
4012 else
4013 result=yes
4014 fi
4015 else
4016 result=$wxUSE_OPENGL
4017 fi
4018
4019 { echo "$as_me:$LINENO: result: $result" >&5
4020 echo "${ECHO_T}$result" >&6; }
4021
4022
4023 fi
4024
4025
4026 withstring=
4027 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4028 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4029 no_cache=0
4030
4031 # Check whether --with-dmalloc was given.
4032 if test "${with_dmalloc+set}" = set; then
4033 withval=$with_dmalloc;
4034 if test "$withval" = yes; then
4035 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4036 else
4037 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4038 fi
4039
4040 else
4041
4042 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x ; then
4044 eval "DEFAULT_$LINE"
4045 else
4046 no_cache=1
4047 fi
4048
4049 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$wxUSE_ALL_FEATURES}"
4050
4051 fi
4052
4053
4054 eval "$wx_cv_use_dmalloc"
4055 if test "$no_cache" != 1; then
4056 echo $wx_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4057 fi
4058
4059 if test x"$withstring" = xwithout; then
4060 if test $wxUSE_DMALLOC = yes; then
4061 result=no
4062 else
4063 result=yes
4064 fi
4065 else
4066 result=$wxUSE_DMALLOC
4067 fi
4068
4069 { echo "$as_me:$LINENO: result: $result" >&5
4070 echo "${ECHO_T}$result" >&6; }
4071
4072
4073 withstring=
4074 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4075 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4076 no_cache=0
4077
4078 # Check whether --with-sdl was given.
4079 if test "${with_sdl+set}" = set; then
4080 withval=$with_sdl;
4081 if test "$withval" = yes; then
4082 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4083 else
4084 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4085 fi
4086
4087 else
4088
4089 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x ; then
4091 eval "DEFAULT_$LINE"
4092 else
4093 no_cache=1
4094 fi
4095
4096 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$wxUSE_ALL_FEATURES}"
4097
4098 fi
4099
4100
4101 eval "$wx_cv_use_sdl"
4102 if test "$no_cache" != 1; then
4103 echo $wx_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4104 fi
4105
4106 if test x"$withstring" = xwithout; then
4107 if test $wxUSE_LIBSDL = yes; then
4108 result=no
4109 else
4110 result=yes
4111 fi
4112 else
4113 result=$wxUSE_LIBSDL
4114 fi
4115
4116 { echo "$as_me:$LINENO: result: $result" >&5
4117 echo "${ECHO_T}$result" >&6; }
4118
4119
4120 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4121 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4122 no_cache=0
4123
4124 # Check whether --with-regex was given.
4125 if test "${with_regex+set}" = set; then
4126 withval=$with_regex;
4127 if test "$withval" = yes; then
4128 wx_cv_use_regex='wxUSE_REGEX=yes'
4129 elif test "$withval" = no; then
4130 wx_cv_use_regex='wxUSE_REGEX=no'
4131 elif test "$withval" = sys; then
4132 wx_cv_use_regex='wxUSE_REGEX=sys'
4133 elif test "$withval" = builtin; then
4134 wx_cv_use_regex='wxUSE_REGEX=builtin'
4135 else
4136 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4137 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4138 { (exit 1); exit 1; }; }
4139 fi
4140
4141 else
4142
4143 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4144 if test "x$LINE" != x ; then
4145 eval "DEFAULT_$LINE"
4146 else
4147 no_cache=1
4148 fi
4149
4150 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4151
4152 fi
4153
4154
4155 eval "$wx_cv_use_regex"
4156 if test "$no_cache" != 1; then
4157 echo $wx_cv_use_regex >> ${wx_arg_cache_file}.tmp
4158 fi
4159
4160 if test "$wxUSE_REGEX" = yes; then
4161 { echo "$as_me:$LINENO: result: yes" >&5
4162 echo "${ECHO_T}yes" >&6; }
4163 elif test "$wxUSE_REGEX" = no; then
4164 { echo "$as_me:$LINENO: result: no" >&5
4165 echo "${ECHO_T}no" >&6; }
4166 elif test "$wxUSE_REGEX" = sys; then
4167 { echo "$as_me:$LINENO: result: system version" >&5
4168 echo "${ECHO_T}system version" >&6; }
4169 elif test "$wxUSE_REGEX" = builtin; then
4170 { echo "$as_me:$LINENO: result: builtin version" >&5
4171 echo "${ECHO_T}builtin version" >&6; }
4172 else
4173 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4174 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4175 { (exit 1); exit 1; }; }
4176 fi
4177
4178
4179 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4180 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4181 no_cache=0
4182
4183 # Check whether --with-zlib was given.
4184 if test "${with_zlib+set}" = set; then
4185 withval=$with_zlib;
4186 if test "$withval" = yes; then
4187 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4188 elif test "$withval" = no; then
4189 wx_cv_use_zlib='wxUSE_ZLIB=no'
4190 elif test "$withval" = sys; then
4191 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4192 elif test "$withval" = builtin; then
4193 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4194 else
4195 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4196 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4197 { (exit 1); exit 1; }; }
4198 fi
4199
4200 else
4201
4202 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4205 else
4206 no_cache=1
4207 fi
4208
4209 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4210
4211 fi
4212
4213
4214 eval "$wx_cv_use_zlib"
4215 if test "$no_cache" != 1; then
4216 echo $wx_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4217 fi
4218
4219 if test "$wxUSE_ZLIB" = yes; then
4220 { echo "$as_me:$LINENO: result: yes" >&5
4221 echo "${ECHO_T}yes" >&6; }
4222 elif test "$wxUSE_ZLIB" = no; then
4223 { echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6; }
4225 elif test "$wxUSE_ZLIB" = sys; then
4226 { echo "$as_me:$LINENO: result: system version" >&5
4227 echo "${ECHO_T}system version" >&6; }
4228 elif test "$wxUSE_ZLIB" = builtin; then
4229 { echo "$as_me:$LINENO: result: builtin version" >&5
4230 echo "${ECHO_T}builtin version" >&6; }
4231 else
4232 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4233 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4234 { (exit 1); exit 1; }; }
4235 fi
4236
4237
4238 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4239 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4240 no_cache=0
4241
4242 # Check whether --with-odbc was given.
4243 if test "${with_odbc+set}" = set; then
4244 withval=$with_odbc;
4245 if test "$withval" = yes; then
4246 wx_cv_use_odbc='wxUSE_ODBC=yes'
4247 elif test "$withval" = no; then
4248 wx_cv_use_odbc='wxUSE_ODBC=no'
4249 elif test "$withval" = sys; then
4250 wx_cv_use_odbc='wxUSE_ODBC=sys'
4251 elif test "$withval" = builtin; then
4252 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4253 else
4254 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4255 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4256 { (exit 1); exit 1; }; }
4257 fi
4258
4259 else
4260
4261 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4262 if test "x$LINE" != x ; then
4263 eval "DEFAULT_$LINE"
4264 else
4265 no_cache=1
4266 fi
4267
4268 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4269
4270 fi
4271
4272
4273 eval "$wx_cv_use_odbc"
4274 if test "$no_cache" != 1; then
4275 echo $wx_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4276 fi
4277
4278 if test "$wxUSE_ODBC" = yes; then
4279 { echo "$as_me:$LINENO: result: yes" >&5
4280 echo "${ECHO_T}yes" >&6; }
4281 elif test "$wxUSE_ODBC" = no; then
4282 { echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6; }
4284 elif test "$wxUSE_ODBC" = sys; then
4285 { echo "$as_me:$LINENO: result: system version" >&5
4286 echo "${ECHO_T}system version" >&6; }
4287 elif test "$wxUSE_ODBC" = builtin; then
4288 { echo "$as_me:$LINENO: result: builtin version" >&5
4289 echo "${ECHO_T}builtin version" >&6; }
4290 else
4291 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4292 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4293 { (exit 1); exit 1; }; }
4294 fi
4295
4296
4297 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4298 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4299 no_cache=0
4300
4301 # Check whether --with-expat was given.
4302 if test "${with_expat+set}" = set; then
4303 withval=$with_expat;
4304 if test "$withval" = yes; then
4305 wx_cv_use_expat='wxUSE_EXPAT=yes'
4306 elif test "$withval" = no; then
4307 wx_cv_use_expat='wxUSE_EXPAT=no'
4308 elif test "$withval" = sys; then
4309 wx_cv_use_expat='wxUSE_EXPAT=sys'
4310 elif test "$withval" = builtin; then
4311 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4312 else
4313 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4314 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4315 { (exit 1); exit 1; }; }
4316 fi
4317
4318 else
4319
4320 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4321 if test "x$LINE" != x ; then
4322 eval "DEFAULT_$LINE"
4323 else
4324 no_cache=1
4325 fi
4326
4327 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4328
4329 fi
4330
4331
4332 eval "$wx_cv_use_expat"
4333 if test "$no_cache" != 1; then
4334 echo $wx_cv_use_expat >> ${wx_arg_cache_file}.tmp
4335 fi
4336
4337 if test "$wxUSE_EXPAT" = yes; then
4338 { echo "$as_me:$LINENO: result: yes" >&5
4339 echo "${ECHO_T}yes" >&6; }
4340 elif test "$wxUSE_EXPAT" = no; then
4341 { echo "$as_me:$LINENO: result: no" >&5
4342 echo "${ECHO_T}no" >&6; }
4343 elif test "$wxUSE_EXPAT" = sys; then
4344 { echo "$as_me:$LINENO: result: system version" >&5
4345 echo "${ECHO_T}system version" >&6; }
4346 elif test "$wxUSE_EXPAT" = builtin; then
4347 { echo "$as_me:$LINENO: result: builtin version" >&5
4348 echo "${ECHO_T}builtin version" >&6; }
4349 else
4350 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4351 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4352 { (exit 1); exit 1; }; }
4353 fi
4354
4355
4356
4357
4358 enablestring=disable
4359 defaultval=
4360 if test -z "$defaultval"; then
4361 if test x"$enablestring" = xdisable; then
4362 defaultval=yes
4363 else
4364 defaultval=no
4365 fi
4366 fi
4367
4368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4369 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4370 no_cache=0
4371 # Check whether --enable-shared was given.
4372 if test "${enable_shared+set}" = set; then
4373 enableval=$enable_shared;
4374 if test "$enableval" = yes; then
4375 wx_cv_use_shared='wxUSE_SHARED=yes'
4376 else
4377 wx_cv_use_shared='wxUSE_SHARED=no'
4378 fi
4379
4380 else
4381
4382 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x ; then
4384 eval "DEFAULT_$LINE"
4385 else
4386 no_cache=1
4387 fi
4388
4389 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4390
4391 fi
4392
4393
4394 eval "$wx_cv_use_shared"
4395 if test "$no_cache" != 1; then
4396 echo $wx_cv_use_shared >> ${wx_arg_cache_file}.tmp
4397 fi
4398
4399 if test x"$enablestring" = xdisable; then
4400 if test $wxUSE_SHARED = yes; then
4401 result=no
4402 else
4403 result=yes
4404 fi
4405 else
4406 result=$wxUSE_SHARED
4407 fi
4408
4409 { echo "$as_me:$LINENO: result: $result" >&5
4410 echo "${ECHO_T}$result" >&6; }
4411
4412
4413 enablestring=disable
4414 defaultval=
4415 if test -z "$defaultval"; then
4416 if test x"$enablestring" = xdisable; then
4417 defaultval=yes
4418 else
4419 defaultval=no
4420 fi
4421 fi
4422
4423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4424 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4425 no_cache=0
4426 # Check whether --enable-optimise was given.
4427 if test "${enable_optimise+set}" = set; then
4428 enableval=$enable_optimise;
4429 if test "$enableval" = yes; then
4430 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4431 else
4432 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4433 fi
4434
4435 else
4436
4437 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x ; then
4439 eval "DEFAULT_$LINE"
4440 else
4441 no_cache=1
4442 fi
4443
4444 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4445
4446 fi
4447
4448
4449 eval "$wx_cv_use_optimise"
4450 if test "$no_cache" != 1; then
4451 echo $wx_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4452 fi
4453
4454 if test x"$enablestring" = xdisable; then
4455 if test $wxUSE_OPTIMISE = yes; then
4456 result=no
4457 else
4458 result=yes
4459 fi
4460 else
4461 result=$wxUSE_OPTIMISE
4462 fi
4463
4464 { echo "$as_me:$LINENO: result: $result" >&5
4465 echo "${ECHO_T}$result" >&6; }
4466
4467
4468 enablestring=
4469 defaultval=
4470 if test -z "$defaultval"; then
4471 if test x"$enablestring" = xdisable; then
4472 defaultval=yes
4473 else
4474 defaultval=no
4475 fi
4476 fi
4477
4478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4479 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4480 no_cache=0
4481 # Check whether --enable-debug was given.
4482 if test "${enable_debug+set}" = set; then
4483 enableval=$enable_debug;
4484 if test "$enableval" = yes; then
4485 wx_cv_use_debug='wxUSE_DEBUG=yes'
4486 else
4487 wx_cv_use_debug='wxUSE_DEBUG=no'
4488 fi
4489
4490 else
4491
4492 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4493 if test "x$LINE" != x ; then
4494 eval "DEFAULT_$LINE"
4495 else
4496 no_cache=1
4497 fi
4498
4499 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4500
4501 fi
4502
4503
4504 eval "$wx_cv_use_debug"
4505 if test "$no_cache" != 1; then
4506 echo $wx_cv_use_debug >> ${wx_arg_cache_file}.tmp
4507 fi
4508
4509 if test x"$enablestring" = xdisable; then
4510 if test $wxUSE_DEBUG = yes; then
4511 result=no
4512 else
4513 result=yes
4514 fi
4515 else
4516 result=$wxUSE_DEBUG
4517 fi
4518
4519 { echo "$as_me:$LINENO: result: $result" >&5
4520 echo "${ECHO_T}$result" >&6; }
4521
4522
4523 enablestring=
4524 defaultval=
4525 if test -z "$defaultval"; then
4526 if test x"$enablestring" = xdisable; then
4527 defaultval=yes
4528 else
4529 defaultval=no
4530 fi
4531 fi
4532
4533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4535 no_cache=0
4536 # Check whether --enable-stl was given.
4537 if test "${enable_stl+set}" = set; then
4538 enableval=$enable_stl;
4539 if test "$enableval" = yes; then
4540 wx_cv_use_stl='wxUSE_STL=yes'
4541 else
4542 wx_cv_use_stl='wxUSE_STL=no'
4543 fi
4544
4545 else
4546
4547 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4548 if test "x$LINE" != x ; then
4549 eval "DEFAULT_$LINE"
4550 else
4551 no_cache=1
4552 fi
4553
4554 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4555
4556 fi
4557
4558
4559 eval "$wx_cv_use_stl"
4560 if test "$no_cache" != 1; then
4561 echo $wx_cv_use_stl >> ${wx_arg_cache_file}.tmp
4562 fi
4563
4564 if test x"$enablestring" = xdisable; then
4565 if test $wxUSE_STL = yes; then
4566 result=no
4567 else
4568 result=yes
4569 fi
4570 else
4571 result=$wxUSE_STL
4572 fi
4573
4574 { echo "$as_me:$LINENO: result: $result" >&5
4575 echo "${ECHO_T}$result" >&6; }
4576
4577
4578 enablestring=
4579 defaultval=
4580 if test -z "$defaultval"; then
4581 if test x"$enablestring" = xdisable; then
4582 defaultval=yes
4583 else
4584 defaultval=no
4585 fi
4586 fi
4587
4588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4590 no_cache=0
4591 # Check whether --enable-std_iostreams was given.
4592 if test "${enable_std_iostreams+set}" = set; then
4593 enableval=$enable_std_iostreams;
4594 if test "$enableval" = yes; then
4595 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4596 else
4597 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4598 fi
4599
4600 else
4601
4602 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4605 else
4606 no_cache=1
4607 fi
4608
4609 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4610
4611 fi
4612
4613
4614 eval "$wx_cv_use_std_iostreams"
4615 if test "$no_cache" != 1; then
4616 echo $wx_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4617 fi
4618
4619 if test x"$enablestring" = xdisable; then
4620 if test $wxUSE_STD_IOSTREAM = yes; then
4621 result=no
4622 else
4623 result=yes
4624 fi
4625 else
4626 result=$wxUSE_STD_IOSTREAM
4627 fi
4628
4629 { echo "$as_me:$LINENO: result: $result" >&5
4630 echo "${ECHO_T}$result" >&6; }
4631
4632
4633 enablestring=
4634 defaultval=
4635 if test -z "$defaultval"; then
4636 if test x"$enablestring" = xdisable; then
4637 defaultval=yes
4638 else
4639 defaultval=no
4640 fi
4641 fi
4642
4643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4644 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4645 no_cache=0
4646 # Check whether --enable-std_string was given.
4647 if test "${enable_std_string+set}" = set; then
4648 enableval=$enable_std_string;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4651 else
4652 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4653 fi
4654
4655 else
4656
4657 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4658 if test "x$LINE" != x ; then
4659 eval "DEFAULT_$LINE"
4660 else
4661 no_cache=1
4662 fi
4663
4664 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4665
4666 fi
4667
4668
4669 eval "$wx_cv_use_std_string"
4670 if test "$no_cache" != 1; then
4671 echo $wx_cv_use_std_string >> ${wx_arg_cache_file}.tmp
4672 fi
4673
4674 if test x"$enablestring" = xdisable; then
4675 if test $wxUSE_STD_STRING = yes; then
4676 result=no
4677 else
4678 result=yes
4679 fi
4680 else
4681 result=$wxUSE_STD_STRING
4682 fi
4683
4684 { echo "$as_me:$LINENO: result: $result" >&5
4685 echo "${ECHO_T}$result" >&6; }
4686
4687
4688 enablestring=disable
4689 defaultval=
4690 if test -z "$defaultval"; then
4691 if test x"$enablestring" = xdisable; then
4692 defaultval=yes
4693 else
4694 defaultval=no
4695 fi
4696 fi
4697
4698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4700 no_cache=0
4701 # Check whether --enable-unicode was given.
4702 if test "${enable_unicode+set}" = set; then
4703 enableval=$enable_unicode;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4706 else
4707 wx_cv_use_unicode='wxUSE_UNICODE=no'
4708 fi
4709
4710 else
4711
4712 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x ; then
4714 eval "DEFAULT_$LINE"
4715 else
4716 no_cache=1
4717 fi
4718
4719 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4720
4721 fi
4722
4723
4724 eval "$wx_cv_use_unicode"
4725 if test "$no_cache" != 1; then
4726 echo $wx_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4727 fi
4728
4729 if test x"$enablestring" = xdisable; then
4730 if test $wxUSE_UNICODE = yes; then
4731 result=no
4732 else
4733 result=yes
4734 fi
4735 else
4736 result=$wxUSE_UNICODE
4737 fi
4738
4739 { echo "$as_me:$LINENO: result: $result" >&5
4740 echo "${ECHO_T}$result" >&6; }
4741
4742
4743 enablestring=
4744 defaultval=
4745 if test -z "$defaultval"; then
4746 if test x"$enablestring" = xdisable; then
4747 defaultval=yes
4748 else
4749 defaultval=no
4750 fi
4751 fi
4752
4753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4754 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4755 no_cache=0
4756 # Check whether --enable-mslu was given.
4757 if test "${enable_mslu+set}" = set; then
4758 enableval=$enable_mslu;
4759 if test "$enableval" = yes; then
4760 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4761 else
4762 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4763 fi
4764
4765 else
4766
4767 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x ; then
4769 eval "DEFAULT_$LINE"
4770 else
4771 no_cache=1
4772 fi
4773
4774 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4775
4776 fi
4777
4778
4779 eval "$wx_cv_use_mslu"
4780 if test "$no_cache" != 1; then
4781 echo $wx_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4782 fi
4783
4784 if test x"$enablestring" = xdisable; then
4785 if test $wxUSE_UNICODE_MSLU = yes; then
4786 result=no
4787 else
4788 result=yes
4789 fi
4790 else
4791 result=$wxUSE_UNICODE_MSLU
4792 fi
4793
4794 { echo "$as_me:$LINENO: result: $result" >&5
4795 echo "${ECHO_T}$result" >&6; }
4796
4797
4798 enablestring=
4799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4800 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4801 no_cache=0
4802 # Check whether --enable-utf8 was given.
4803 if test "${enable_utf8+set}" = set; then
4804 enableval=$enable_utf8;
4805 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4806
4807 else
4808
4809 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4810 if test "x$LINE" != x ; then
4811 eval "DEFAULT_$LINE"
4812 else
4813 no_cache=1
4814 fi
4815
4816 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4817
4818 fi
4819
4820
4821 eval "$wx_cv_use_utf8"
4822 if test "$no_cache" != 1; then
4823 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4824 fi
4825
4826 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4827 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4828
4829
4830 enablestring=
4831 defaultval=
4832 if test -z "$defaultval"; then
4833 if test x"$enablestring" = xdisable; then
4834 defaultval=yes
4835 else
4836 defaultval=no
4837 fi
4838 fi
4839
4840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4841 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4842 no_cache=0
4843 # Check whether --enable-utf8only was given.
4844 if test "${enable_utf8only+set}" = set; then
4845 enableval=$enable_utf8only;
4846 if test "$enableval" = yes; then
4847 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4848 else
4849 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4850 fi
4851
4852 else
4853
4854 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4855 if test "x$LINE" != x ; then
4856 eval "DEFAULT_$LINE"
4857 else
4858 no_cache=1
4859 fi
4860
4861 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4862
4863 fi
4864
4865
4866 eval "$wx_cv_use_utf8only"
4867 if test "$no_cache" != 1; then
4868 echo $wx_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4869 fi
4870
4871 if test x"$enablestring" = xdisable; then
4872 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4873 result=no
4874 else
4875 result=yes
4876 fi
4877 else
4878 result=$wxUSE_UNICODE_UTF8_LOCALE
4879 fi
4880
4881 { echo "$as_me:$LINENO: result: $result" >&5
4882 echo "${ECHO_T}$result" >&6; }
4883
4884
4885 enablestring=
4886 defaultval=
4887 if test -z "$defaultval"; then
4888 if test x"$enablestring" = xdisable; then
4889 defaultval=yes
4890 else
4891 defaultval=no
4892 fi
4893 fi
4894
4895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4896 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4897 no_cache=0
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
4907 else
4908
4909 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4910 if test "x$LINE" != x ; then
4911 eval "DEFAULT_$LINE"
4912 else
4913 no_cache=1
4914 fi
4915
4916 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4917
4918 fi
4919
4920
4921 eval "$wx_cv_use_extended_rtti"
4922 if test "$no_cache" != 1; then
4923 echo $wx_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4924 fi
4925
4926 if test x"$enablestring" = xdisable; then
4927 if test $wxUSE_EXTENDED_RTTI = yes; then
4928 result=no
4929 else
4930 result=yes
4931 fi
4932 else
4933 result=$wxUSE_EXTENDED_RTTI
4934 fi
4935
4936 { echo "$as_me:$LINENO: result: $result" >&5
4937 echo "${ECHO_T}$result" >&6; }
4938
4939 if test "$USE_OS2" = "1"; then
4940 DEFAULT_wxUSE_OMF=no
4941
4942 enablestring=
4943 defaultval=
4944 if test -z "$defaultval"; then
4945 if test x"$enablestring" = xdisable; then
4946 defaultval=yes
4947 else
4948 defaultval=no
4949 fi
4950 fi
4951
4952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4953 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4954 no_cache=0
4955 # Check whether --enable-omf was given.
4956 if test "${enable_omf+set}" = set; then
4957 enableval=$enable_omf;
4958 if test "$enableval" = yes; then
4959 wx_cv_use_omf='wxUSE_OMF=yes'
4960 else
4961 wx_cv_use_omf='wxUSE_OMF=no'
4962 fi
4963
4964 else
4965
4966 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4967 if test "x$LINE" != x ; then
4968 eval "DEFAULT_$LINE"
4969 else
4970 no_cache=1
4971 fi
4972
4973 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4974
4975 fi
4976
4977
4978 eval "$wx_cv_use_omf"
4979 if test "$no_cache" != 1; then
4980 echo $wx_cv_use_omf >> ${wx_arg_cache_file}.tmp
4981 fi
4982
4983 if test x"$enablestring" = xdisable; then
4984 if test $wxUSE_OMF = yes; then
4985 result=no
4986 else
4987 result=yes
4988 fi
4989 else
4990 result=$wxUSE_OMF
4991 fi
4992
4993 { echo "$as_me:$LINENO: result: $result" >&5
4994 echo "${ECHO_T}$result" >&6; }
4995
4996 fi
4997
4998 if test "$wxUSE_DEBUG" = "yes"; then
4999 DEFAULT_wxUSE_DEBUG_FLAG=yes
5000 DEFAULT_wxUSE_DEBUG_INFO=yes
5001 BUILD=debug
5002 elif test "$wxUSE_DEBUG" = "no"; then
5003 DEFAULT_wxUSE_DEBUG_FLAG=no
5004 DEFAULT_wxUSE_DEBUG_INFO=no
5005 BUILD=release
5006 fi
5007
5008
5009 enablestring=
5010 defaultval=
5011 if test -z "$defaultval"; then
5012 if test x"$enablestring" = xdisable; then
5013 defaultval=yes
5014 else
5015 defaultval=no
5016 fi
5017 fi
5018
5019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5020 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5021 no_cache=0
5022 # Check whether --enable-debug_flag was given.
5023 if test "${enable_debug_flag+set}" = set; then
5024 enableval=$enable_debug_flag;
5025 if test "$enableval" = yes; then
5026 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5027 else
5028 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5029 fi
5030
5031 else
5032
5033 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5034 if test "x$LINE" != x ; then
5035 eval "DEFAULT_$LINE"
5036 else
5037 no_cache=1
5038 fi
5039
5040 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5041
5042 fi
5043
5044
5045 eval "$wx_cv_use_debug_flag"
5046 if test "$no_cache" != 1; then
5047 echo $wx_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
5048 fi
5049
5050 if test x"$enablestring" = xdisable; then
5051 if test $wxUSE_DEBUG_FLAG = yes; then
5052 result=no
5053 else
5054 result=yes
5055 fi
5056 else
5057 result=$wxUSE_DEBUG_FLAG
5058 fi
5059
5060 { echo "$as_me:$LINENO: result: $result" >&5
5061 echo "${ECHO_T}$result" >&6; }
5062
5063
5064 enablestring=
5065 defaultval=
5066 if test -z "$defaultval"; then
5067 if test x"$enablestring" = xdisable; then
5068 defaultval=yes
5069 else
5070 defaultval=no
5071 fi
5072 fi
5073
5074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5076 no_cache=0
5077 # Check whether --enable-debug_info was given.
5078 if test "${enable_debug_info+set}" = set; then
5079 enableval=$enable_debug_info;
5080 if test "$enableval" = yes; then
5081 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5082 else
5083 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5084 fi
5085
5086 else
5087
5088 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5089 if test "x$LINE" != x ; then
5090 eval "DEFAULT_$LINE"
5091 else
5092 no_cache=1
5093 fi
5094
5095 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5096
5097 fi
5098
5099
5100 eval "$wx_cv_use_debug_info"
5101 if test "$no_cache" != 1; then
5102 echo $wx_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
5103 fi
5104
5105 if test x"$enablestring" = xdisable; then
5106 if test $wxUSE_DEBUG_INFO = yes; then
5107 result=no
5108 else
5109 result=yes
5110 fi
5111 else
5112 result=$wxUSE_DEBUG_INFO
5113 fi
5114
5115 { echo "$as_me:$LINENO: result: $result" >&5
5116 echo "${ECHO_T}$result" >&6; }
5117
5118
5119 enablestring=
5120 defaultval=
5121 if test -z "$defaultval"; then
5122 if test x"$enablestring" = xdisable; then
5123 defaultval=yes
5124 else
5125 defaultval=no
5126 fi
5127 fi
5128
5129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5131 no_cache=0
5132 # Check whether --enable-debug_gdb was given.
5133 if test "${enable_debug_gdb+set}" = set; then
5134 enableval=$enable_debug_gdb;
5135 if test "$enableval" = yes; then
5136 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5137 else
5138 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5139 fi
5140
5141 else
5142
5143 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5144 if test "x$LINE" != x ; then
5145 eval "DEFAULT_$LINE"
5146 else
5147 no_cache=1
5148 fi
5149
5150 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5151
5152 fi
5153
5154
5155 eval "$wx_cv_use_debug_gdb"
5156 if test "$no_cache" != 1; then
5157 echo $wx_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
5158 fi
5159
5160 if test x"$enablestring" = xdisable; then
5161 if test $wxUSE_DEBUG_GDB = yes; then
5162 result=no
5163 else
5164 result=yes
5165 fi
5166 else
5167 result=$wxUSE_DEBUG_GDB
5168 fi
5169
5170 { echo "$as_me:$LINENO: result: $result" >&5
5171 echo "${ECHO_T}$result" >&6; }
5172
5173
5174 enablestring=
5175 defaultval=
5176 if test -z "$defaultval"; then
5177 if test x"$enablestring" = xdisable; then
5178 defaultval=yes
5179 else
5180 defaultval=no
5181 fi
5182 fi
5183
5184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5186 no_cache=0
5187 # Check whether --enable-debug_cntxt was given.
5188 if test "${enable_debug_cntxt+set}" = set; then
5189 enableval=$enable_debug_cntxt;
5190 if test "$enableval" = yes; then
5191 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5192 else
5193 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5194 fi
5195
5196 else
5197
5198 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x ; then
5200 eval "DEFAULT_$LINE"
5201 else
5202 no_cache=1
5203 fi
5204
5205 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5206
5207 fi
5208
5209
5210 eval "$wx_cv_use_debug_cntxt"
5211 if test "$no_cache" != 1; then
5212 echo $wx_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
5213 fi
5214
5215 if test x"$enablestring" = xdisable; then
5216 if test $wxUSE_DEBUG_CONTEXT = yes; then
5217 result=no
5218 else
5219 result=yes
5220 fi
5221 else
5222 result=$wxUSE_DEBUG_CONTEXT
5223 fi
5224
5225 { echo "$as_me:$LINENO: result: $result" >&5
5226 echo "${ECHO_T}$result" >&6; }
5227
5228
5229 enablestring=
5230 defaultval=
5231 if test -z "$defaultval"; then
5232 if test x"$enablestring" = xdisable; then
5233 defaultval=yes
5234 else
5235 defaultval=no
5236 fi
5237 fi
5238
5239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5240 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5241 no_cache=0
5242 # Check whether --enable-mem_tracing was given.
5243 if test "${enable_mem_tracing+set}" = set; then
5244 enableval=$enable_mem_tracing;
5245 if test "$enableval" = yes; then
5246 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5247 else
5248 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5249 fi
5250
5251 else
5252
5253 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x ; then
5255 eval "DEFAULT_$LINE"
5256 else
5257 no_cache=1
5258 fi
5259
5260 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5261
5262 fi
5263
5264
5265 eval "$wx_cv_use_mem_tracing"
5266 if test "$no_cache" != 1; then
5267 echo $wx_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
5268 fi
5269
5270 if test x"$enablestring" = xdisable; then
5271 if test $wxUSE_MEM_TRACING = yes; then
5272 result=no
5273 else
5274 result=yes
5275 fi
5276 else
5277 result=$wxUSE_MEM_TRACING
5278 fi
5279
5280 { echo "$as_me:$LINENO: result: $result" >&5
5281 echo "${ECHO_T}$result" >&6; }
5282
5283
5284 enablestring=
5285 defaultval=
5286 if test -z "$defaultval"; then
5287 if test x"$enablestring" = xdisable; then
5288 defaultval=yes
5289 else
5290 defaultval=no
5291 fi
5292 fi
5293
5294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5296 no_cache=0
5297 # Check whether --enable-profile was given.
5298 if test "${enable_profile+set}" = set; then
5299 enableval=$enable_profile;
5300 if test "$enableval" = yes; then
5301 wx_cv_use_profile='wxUSE_PROFILE=yes'
5302 else
5303 wx_cv_use_profile='wxUSE_PROFILE=no'
5304 fi
5305
5306 else
5307
5308 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x ; then
5310 eval "DEFAULT_$LINE"
5311 else
5312 no_cache=1
5313 fi
5314
5315 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5316
5317 fi
5318
5319
5320 eval "$wx_cv_use_profile"
5321 if test "$no_cache" != 1; then
5322 echo $wx_cv_use_profile >> ${wx_arg_cache_file}.tmp
5323 fi
5324
5325 if test x"$enablestring" = xdisable; then
5326 if test $wxUSE_PROFILE = yes; then
5327 result=no
5328 else
5329 result=yes
5330 fi
5331 else
5332 result=$wxUSE_PROFILE
5333 fi
5334
5335 { echo "$as_me:$LINENO: result: $result" >&5
5336 echo "${ECHO_T}$result" >&6; }
5337
5338
5339 enablestring=
5340 defaultval=
5341 if test -z "$defaultval"; then
5342 if test x"$enablestring" = xdisable; then
5343 defaultval=yes
5344 else
5345 defaultval=no
5346 fi
5347 fi
5348
5349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5350 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5351 no_cache=0
5352 # Check whether --enable-no_rtti was given.
5353 if test "${enable_no_rtti+set}" = set; then
5354 enableval=$enable_no_rtti;
5355 if test "$enableval" = yes; then
5356 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5357 else
5358 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5359 fi
5360
5361 else
5362
5363 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5364 if test "x$LINE" != x ; then
5365 eval "DEFAULT_$LINE"
5366 else
5367 no_cache=1
5368 fi
5369
5370 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5371
5372 fi
5373
5374
5375 eval "$wx_cv_use_no_rtti"
5376 if test "$no_cache" != 1; then
5377 echo $wx_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5378 fi
5379
5380 if test x"$enablestring" = xdisable; then
5381 if test $wxUSE_NO_RTTI = yes; then
5382 result=no
5383 else
5384 result=yes
5385 fi
5386 else
5387 result=$wxUSE_NO_RTTI
5388 fi
5389
5390 { echo "$as_me:$LINENO: result: $result" >&5
5391 echo "${ECHO_T}$result" >&6; }
5392
5393
5394 enablestring=
5395 defaultval=
5396 if test -z "$defaultval"; then
5397 if test x"$enablestring" = xdisable; then
5398 defaultval=yes
5399 else
5400 defaultval=no
5401 fi
5402 fi
5403
5404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5405 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5406 no_cache=0
5407 # Check whether --enable-no_exceptions was given.
5408 if test "${enable_no_exceptions+set}" = set; then
5409 enableval=$enable_no_exceptions;
5410 if test "$enableval" = yes; then
5411 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5412 else
5413 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5414 fi
5415
5416 else
5417
5418 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5419 if test "x$LINE" != x ; then
5420 eval "DEFAULT_$LINE"
5421 else
5422 no_cache=1
5423 fi
5424
5425 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5426
5427 fi
5428
5429
5430 eval "$wx_cv_use_no_exceptions"
5431 if test "$no_cache" != 1; then
5432 echo $wx_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5433 fi
5434
5435 if test x"$enablestring" = xdisable; then
5436 if test $wxUSE_NO_EXCEPTIONS = yes; then
5437 result=no
5438 else
5439 result=yes
5440 fi
5441 else
5442 result=$wxUSE_NO_EXCEPTIONS
5443 fi
5444
5445 { echo "$as_me:$LINENO: result: $result" >&5
5446 echo "${ECHO_T}$result" >&6; }
5447
5448
5449 enablestring=
5450 defaultval=
5451 if test -z "$defaultval"; then
5452 if test x"$enablestring" = xdisable; then
5453 defaultval=yes
5454 else
5455 defaultval=no
5456 fi
5457 fi
5458
5459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5460 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5461 no_cache=0
5462 # Check whether --enable-permissive was given.
5463 if test "${enable_permissive+set}" = set; then
5464 enableval=$enable_permissive;
5465 if test "$enableval" = yes; then
5466 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5467 else
5468 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5469 fi
5470
5471 else
5472
5473 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5474 if test "x$LINE" != x ; then
5475 eval "DEFAULT_$LINE"
5476 else
5477 no_cache=1
5478 fi
5479
5480 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5481
5482 fi
5483
5484
5485 eval "$wx_cv_use_permissive"
5486 if test "$no_cache" != 1; then
5487 echo $wx_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5488 fi
5489
5490 if test x"$enablestring" = xdisable; then
5491 if test $wxUSE_PERMISSIVE = yes; then
5492 result=no
5493 else
5494 result=yes
5495 fi
5496 else
5497 result=$wxUSE_PERMISSIVE
5498 fi
5499
5500 { echo "$as_me:$LINENO: result: $result" >&5
5501 echo "${ECHO_T}$result" >&6; }
5502
5503
5504 enablestring=
5505 defaultval=
5506 if test -z "$defaultval"; then
5507 if test x"$enablestring" = xdisable; then
5508 defaultval=yes
5509 else
5510 defaultval=no
5511 fi
5512 fi
5513
5514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5516 no_cache=0
5517 # Check whether --enable-no_deps was given.
5518 if test "${enable_no_deps+set}" = set; then
5519 enableval=$enable_no_deps;
5520 if test "$enableval" = yes; then
5521 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5522 else
5523 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5524 fi
5525
5526 else
5527
5528 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5529 if test "x$LINE" != x ; then
5530 eval "DEFAULT_$LINE"
5531 else
5532 no_cache=1
5533 fi
5534
5535 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5536
5537 fi
5538
5539
5540 eval "$wx_cv_use_no_deps"
5541 if test "$no_cache" != 1; then
5542 echo $wx_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5543 fi
5544
5545 if test x"$enablestring" = xdisable; then
5546 if test $wxUSE_NO_DEPS = yes; then
5547 result=no
5548 else
5549 result=yes
5550 fi
5551 else
5552 result=$wxUSE_NO_DEPS
5553 fi
5554
5555 { echo "$as_me:$LINENO: result: $result" >&5
5556 echo "${ECHO_T}$result" >&6; }
5557
5558
5559 enablestring=disable
5560 defaultval=
5561 if test -z "$defaultval"; then
5562 if test x"$enablestring" = xdisable; then
5563 defaultval=yes
5564 else
5565 defaultval=no
5566 fi
5567 fi
5568
5569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5571 no_cache=0
5572 # Check whether --enable-vararg_macros was given.
5573 if test "${enable_vararg_macros+set}" = set; then
5574 enableval=$enable_vararg_macros;
5575 if test "$enableval" = yes; then
5576 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5577 else
5578 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5579 fi
5580
5581 else
5582
5583 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5584 if test "x$LINE" != x ; then
5585 eval "DEFAULT_$LINE"
5586 else
5587 no_cache=1
5588 fi
5589
5590 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5591
5592 fi
5593
5594
5595 eval "$wx_cv_use_vararg_macros"
5596 if test "$no_cache" != 1; then
5597 echo $wx_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5598 fi
5599
5600 if test x"$enablestring" = xdisable; then
5601 if test $wxUSE_VARARG_MACROS = yes; then
5602 result=no
5603 else
5604 result=yes
5605 fi
5606 else
5607 result=$wxUSE_VARARG_MACROS
5608 fi
5609
5610 { echo "$as_me:$LINENO: result: $result" >&5
5611 echo "${ECHO_T}$result" >&6; }
5612
5613
5614 enablestring=
5615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5617 no_cache=0
5618 # Check whether --enable-universal_binary was given.
5619 if test "${enable_universal_binary+set}" = set; then
5620 enableval=$enable_universal_binary;
5621 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5622
5623 else
5624
5625 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x ; then
5627 eval "DEFAULT_$LINE"
5628 else
5629 no_cache=1
5630 fi
5631
5632 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5633
5634 fi
5635
5636
5637 eval "$wx_cv_use_universal_binary"
5638 if test "$no_cache" != 1; then
5639 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5640 fi
5641
5642 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5643 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5644
5645
5646
5647 enablestring=
5648 defaultval=
5649 if test -z "$defaultval"; then
5650 if test x"$enablestring" = xdisable; then
5651 defaultval=yes
5652 else
5653 defaultval=no
5654 fi
5655 fi
5656
5657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5658 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5659 no_cache=0
5660 # Check whether --enable-compat26 was given.
5661 if test "${enable_compat26+set}" = set; then
5662 enableval=$enable_compat26;
5663 if test "$enableval" = yes; then
5664 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5665 else
5666 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5667 fi
5668
5669 else
5670
5671 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x ; then
5673 eval "DEFAULT_$LINE"
5674 else
5675 no_cache=1
5676 fi
5677
5678 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5679
5680 fi
5681
5682
5683 eval "$wx_cv_use_compat26"
5684 if test "$no_cache" != 1; then
5685 echo $wx_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5686 fi
5687
5688 if test x"$enablestring" = xdisable; then
5689 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5690 result=no
5691 else
5692 result=yes
5693 fi
5694 else
5695 result=$WXWIN_COMPATIBILITY_2_6
5696 fi
5697
5698 { echo "$as_me:$LINENO: result: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5700
5701
5702 enablestring=disable
5703 defaultval=
5704 if test -z "$defaultval"; then
5705 if test x"$enablestring" = xdisable; then
5706 defaultval=yes
5707 else
5708 defaultval=no
5709 fi
5710 fi
5711
5712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5713 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5714 no_cache=0
5715 # Check whether --enable-compat28 was given.
5716 if test "${enable_compat28+set}" = set; then
5717 enableval=$enable_compat28;
5718 if test "$enableval" = yes; then
5719 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5720 else
5721 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5722 fi
5723
5724 else
5725
5726 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x ; then
5728 eval "DEFAULT_$LINE"
5729 else
5730 no_cache=1
5731 fi
5732
5733 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5734
5735 fi
5736
5737
5738 eval "$wx_cv_use_compat28"
5739 if test "$no_cache" != 1; then
5740 echo $wx_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5741 fi
5742
5743 if test x"$enablestring" = xdisable; then
5744 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5745 result=no
5746 else
5747 result=yes
5748 fi
5749 else
5750 result=$WXWIN_COMPATIBILITY_2_8
5751 fi
5752
5753 { echo "$as_me:$LINENO: result: $result" >&5
5754 echo "${ECHO_T}$result" >&6; }
5755
5756
5757
5758 enablestring=disable
5759 defaultval=
5760 if test -z "$defaultval"; then
5761 if test x"$enablestring" = xdisable; then
5762 defaultval=yes
5763 else
5764 defaultval=no
5765 fi
5766 fi
5767
5768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5769 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5770 no_cache=0
5771 # Check whether --enable-rpath was given.
5772 if test "${enable_rpath+set}" = set; then
5773 enableval=$enable_rpath;
5774 if test "$enableval" = yes; then
5775 wx_cv_use_rpath='wxUSE_RPATH=yes'
5776 else
5777 wx_cv_use_rpath='wxUSE_RPATH=no'
5778 fi
5779
5780 else
5781
5782 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5783 if test "x$LINE" != x ; then
5784 eval "DEFAULT_$LINE"
5785 else
5786 no_cache=1
5787 fi
5788
5789 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5790
5791 fi
5792
5793
5794 eval "$wx_cv_use_rpath"
5795 if test "$no_cache" != 1; then
5796 echo $wx_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5797 fi
5798
5799 if test x"$enablestring" = xdisable; then
5800 if test $wxUSE_RPATH = yes; then
5801 result=no
5802 else
5803 result=yes
5804 fi
5805 else
5806 result=$wxUSE_RPATH
5807 fi
5808
5809 { echo "$as_me:$LINENO: result: $result" >&5
5810 echo "${ECHO_T}$result" >&6; }
5811
5812
5813
5814 enablestring=
5815 defaultval=
5816 if test -z "$defaultval"; then
5817 if test x"$enablestring" = xdisable; then
5818 defaultval=yes
5819 else
5820 defaultval=no
5821 fi
5822 fi
5823
5824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5826 no_cache=0
5827 # Check whether --enable-objc_uniquifying was given.
5828 if test "${enable_objc_uniquifying+set}" = set; then
5829 enableval=$enable_objc_uniquifying;
5830 if test "$enableval" = yes; then
5831 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5832 else
5833 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5834 fi
5835
5836 else
5837
5838 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5839 if test "x$LINE" != x ; then
5840 eval "DEFAULT_$LINE"
5841 else
5842 no_cache=1
5843 fi
5844
5845 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5846
5847 fi
5848
5849
5850 eval "$wx_cv_use_objc_uniquifying"
5851 if test "$no_cache" != 1; then
5852 echo $wx_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5853 fi
5854
5855 if test x"$enablestring" = xdisable; then
5856 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5857 result=no
5858 else
5859 result=yes
5860 fi
5861 else
5862 result=$wxUSE_OBJC_UNIQUIFYING
5863 fi
5864
5865 { echo "$as_me:$LINENO: result: $result" >&5
5866 echo "${ECHO_T}$result" >&6; }
5867
5868
5869
5870 enablestring=disable
5871 defaultval=
5872 if test -z "$defaultval"; then
5873 if test x"$enablestring" = xdisable; then
5874 defaultval=yes
5875 else
5876 defaultval=no
5877 fi
5878 fi
5879
5880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5881 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5882 no_cache=0
5883 # Check whether --enable-visibility was given.
5884 if test "${enable_visibility+set}" = set; then
5885 enableval=$enable_visibility;
5886 if test "$enableval" = yes; then
5887 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5888 else
5889 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5890 fi
5891
5892 else
5893
5894 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5895 if test "x$LINE" != x ; then
5896 eval "DEFAULT_$LINE"
5897 else
5898 no_cache=1
5899 fi
5900
5901 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5902
5903 fi
5904
5905
5906 eval "$wx_cv_use_visibility"
5907 if test "$no_cache" != 1; then
5908 echo $wx_cv_use_visibility >> ${wx_arg_cache_file}.tmp
5909 fi
5910
5911 if test x"$enablestring" = xdisable; then
5912 if test $wxUSE_VISIBILITY = yes; then
5913 result=no
5914 else
5915 result=yes
5916 fi
5917 else
5918 result=$wxUSE_VISIBILITY
5919 fi
5920
5921 { echo "$as_me:$LINENO: result: $result" >&5
5922 echo "${ECHO_T}$result" >&6; }
5923
5924
5925
5926
5927 enablestring=
5928 defaultval=$wxUSE_ALL_FEATURES
5929 if test -z "$defaultval"; then
5930 if test x"$enablestring" = xdisable; then
5931 defaultval=yes
5932 else
5933 defaultval=no
5934 fi
5935 fi
5936
5937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5938 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5939 no_cache=0
5940 # Check whether --enable-intl was given.
5941 if test "${enable_intl+set}" = set; then
5942 enableval=$enable_intl;
5943 if test "$enableval" = yes; then
5944 wx_cv_use_intl='wxUSE_INTL=yes'
5945 else
5946 wx_cv_use_intl='wxUSE_INTL=no'
5947 fi
5948
5949 else
5950
5951 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5952 if test "x$LINE" != x ; then
5953 eval "DEFAULT_$LINE"
5954 else
5955 no_cache=1
5956 fi
5957
5958 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5959
5960 fi
5961
5962
5963 eval "$wx_cv_use_intl"
5964 if test "$no_cache" != 1; then
5965 echo $wx_cv_use_intl >> ${wx_arg_cache_file}.tmp
5966 fi
5967
5968 if test x"$enablestring" = xdisable; then
5969 if test $wxUSE_INTL = yes; then
5970 result=no
5971 else
5972 result=yes
5973 fi
5974 else
5975 result=$wxUSE_INTL
5976 fi
5977
5978 { echo "$as_me:$LINENO: result: $result" >&5
5979 echo "${ECHO_T}$result" >&6; }
5980
5981
5982 enablestring=
5983 defaultval=$wxUSE_ALL_FEATURES
5984 if test -z "$defaultval"; then
5985 if test x"$enablestring" = xdisable; then
5986 defaultval=yes
5987 else
5988 defaultval=no
5989 fi
5990 fi
5991
5992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5993 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5994 no_cache=0
5995 # Check whether --enable-config was given.
5996 if test "${enable_config+set}" = set; then
5997 enableval=$enable_config;
5998 if test "$enableval" = yes; then
5999 wx_cv_use_config='wxUSE_CONFIG=yes'
6000 else
6001 wx_cv_use_config='wxUSE_CONFIG=no'
6002 fi
6003
6004 else
6005
6006 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x ; then
6008 eval "DEFAULT_$LINE"
6009 else
6010 no_cache=1
6011 fi
6012
6013 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6014
6015 fi
6016
6017
6018 eval "$wx_cv_use_config"
6019 if test "$no_cache" != 1; then
6020 echo $wx_cv_use_config >> ${wx_arg_cache_file}.tmp
6021 fi
6022
6023 if test x"$enablestring" = xdisable; then
6024 if test $wxUSE_CONFIG = yes; then
6025 result=no
6026 else
6027 result=yes
6028 fi
6029 else
6030 result=$wxUSE_CONFIG
6031 fi
6032
6033 { echo "$as_me:$LINENO: result: $result" >&5
6034 echo "${ECHO_T}$result" >&6; }
6035
6036
6037
6038 enablestring=
6039 defaultval=$wxUSE_ALL_FEATURES
6040 if test -z "$defaultval"; then
6041 if test x"$enablestring" = xdisable; then
6042 defaultval=yes
6043 else
6044 defaultval=no
6045 fi
6046 fi
6047
6048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6049 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6050 no_cache=0
6051 # Check whether --enable-protocols was given.
6052 if test "${enable_protocols+set}" = set; then
6053 enableval=$enable_protocols;
6054 if test "$enableval" = yes; then
6055 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6056 else
6057 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6058 fi
6059
6060 else
6061
6062 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6063 if test "x$LINE" != x ; then
6064 eval "DEFAULT_$LINE"
6065 else
6066 no_cache=1
6067 fi
6068
6069 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6070
6071 fi
6072
6073
6074 eval "$wx_cv_use_protocols"
6075 if test "$no_cache" != 1; then
6076 echo $wx_cv_use_protocols >> ${wx_arg_cache_file}.tmp
6077 fi
6078
6079 if test x"$enablestring" = xdisable; then
6080 if test $wxUSE_PROTOCOL = yes; then
6081 result=no
6082 else
6083 result=yes
6084 fi
6085 else
6086 result=$wxUSE_PROTOCOL
6087 fi
6088
6089 { echo "$as_me:$LINENO: result: $result" >&5
6090 echo "${ECHO_T}$result" >&6; }
6091
6092
6093 enablestring=
6094 defaultval=$wxUSE_ALL_FEATURES
6095 if test -z "$defaultval"; then
6096 if test x"$enablestring" = xdisable; then
6097 defaultval=yes
6098 else
6099 defaultval=no
6100 fi
6101 fi
6102
6103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6105 no_cache=0
6106 # Check whether --enable-ftp was given.
6107 if test "${enable_ftp+set}" = set; then
6108 enableval=$enable_ftp;
6109 if test "$enableval" = yes; then
6110 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6111 else
6112 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6113 fi
6114
6115 else
6116
6117 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6120 else
6121 no_cache=1
6122 fi
6123
6124 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6125
6126 fi
6127
6128
6129 eval "$wx_cv_use_ftp"
6130 if test "$no_cache" != 1; then
6131 echo $wx_cv_use_ftp >> ${wx_arg_cache_file}.tmp
6132 fi
6133
6134 if test x"$enablestring" = xdisable; then
6135 if test $wxUSE_PROTOCOL_FTP = yes; then
6136 result=no
6137 else
6138 result=yes
6139 fi
6140 else
6141 result=$wxUSE_PROTOCOL_FTP
6142 fi
6143
6144 { echo "$as_me:$LINENO: result: $result" >&5
6145 echo "${ECHO_T}$result" >&6; }
6146
6147
6148 enablestring=
6149 defaultval=$wxUSE_ALL_FEATURES
6150 if test -z "$defaultval"; then
6151 if test x"$enablestring" = xdisable; then
6152 defaultval=yes
6153 else
6154 defaultval=no
6155 fi
6156 fi
6157
6158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6159 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6160 no_cache=0
6161 # Check whether --enable-http was given.
6162 if test "${enable_http+set}" = set; then
6163 enableval=$enable_http;
6164 if test "$enableval" = yes; then
6165 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6166 else
6167 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6168 fi
6169
6170 else
6171
6172 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x ; then
6174 eval "DEFAULT_$LINE"
6175 else
6176 no_cache=1
6177 fi
6178
6179 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6180
6181 fi
6182
6183
6184 eval "$wx_cv_use_http"
6185 if test "$no_cache" != 1; then
6186 echo $wx_cv_use_http >> ${wx_arg_cache_file}.tmp
6187 fi
6188
6189 if test x"$enablestring" = xdisable; then
6190 if test $wxUSE_PROTOCOL_HTTP = yes; then
6191 result=no
6192 else
6193 result=yes
6194 fi
6195 else
6196 result=$wxUSE_PROTOCOL_HTTP
6197 fi
6198
6199 { echo "$as_me:$LINENO: result: $result" >&5
6200 echo "${ECHO_T}$result" >&6; }
6201
6202
6203 enablestring=
6204 defaultval=$wxUSE_ALL_FEATURES
6205 if test -z "$defaultval"; then
6206 if test x"$enablestring" = xdisable; then
6207 defaultval=yes
6208 else
6209 defaultval=no
6210 fi
6211 fi
6212
6213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6214 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6215 no_cache=0
6216 # Check whether --enable-fileproto was given.
6217 if test "${enable_fileproto+set}" = set; then
6218 enableval=$enable_fileproto;
6219 if test "$enableval" = yes; then
6220 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6221 else
6222 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6223 fi
6224
6225 else
6226
6227 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6228 if test "x$LINE" != x ; then
6229 eval "DEFAULT_$LINE"
6230 else
6231 no_cache=1
6232 fi
6233
6234 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6235
6236 fi
6237
6238
6239 eval "$wx_cv_use_fileproto"
6240 if test "$no_cache" != 1; then
6241 echo $wx_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
6242 fi
6243
6244 if test x"$enablestring" = xdisable; then
6245 if test $wxUSE_PROTOCOL_FILE = yes; then
6246 result=no
6247 else
6248 result=yes
6249 fi
6250 else
6251 result=$wxUSE_PROTOCOL_FILE
6252 fi
6253
6254 { echo "$as_me:$LINENO: result: $result" >&5
6255 echo "${ECHO_T}$result" >&6; }
6256
6257
6258 enablestring=
6259 defaultval=$wxUSE_ALL_FEATURES
6260 if test -z "$defaultval"; then
6261 if test x"$enablestring" = xdisable; then
6262 defaultval=yes
6263 else
6264 defaultval=no
6265 fi
6266 fi
6267
6268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6269 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6270 no_cache=0
6271 # Check whether --enable-sockets was given.
6272 if test "${enable_sockets+set}" = set; then
6273 enableval=$enable_sockets;
6274 if test "$enableval" = yes; then
6275 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6276 else
6277 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6278 fi
6279
6280 else
6281
6282 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6283 if test "x$LINE" != x ; then
6284 eval "DEFAULT_$LINE"
6285 else
6286 no_cache=1
6287 fi
6288
6289 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6290
6291 fi
6292
6293
6294 eval "$wx_cv_use_sockets"
6295 if test "$no_cache" != 1; then
6296 echo $wx_cv_use_sockets >> ${wx_arg_cache_file}.tmp
6297 fi
6298
6299 if test x"$enablestring" = xdisable; then
6300 if test $wxUSE_SOCKETS = yes; then
6301 result=no
6302 else
6303 result=yes
6304 fi
6305 else
6306 result=$wxUSE_SOCKETS
6307 fi
6308
6309 { echo "$as_me:$LINENO: result: $result" >&5
6310 echo "${ECHO_T}$result" >&6; }
6311
6312
6313 enablestring=
6314 defaultval=$wxUSE_ALL_FEATURES
6315 if test -z "$defaultval"; then
6316 if test x"$enablestring" = xdisable; then
6317 defaultval=yes
6318 else
6319 defaultval=no
6320 fi
6321 fi
6322
6323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6324 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6325 no_cache=0
6326 # Check whether --enable-ole was given.
6327 if test "${enable_ole+set}" = set; then
6328 enableval=$enable_ole;
6329 if test "$enableval" = yes; then
6330 wx_cv_use_ole='wxUSE_OLE=yes'
6331 else
6332 wx_cv_use_ole='wxUSE_OLE=no'
6333 fi
6334
6335 else
6336
6337 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x ; then
6339 eval "DEFAULT_$LINE"
6340 else
6341 no_cache=1
6342 fi
6343
6344 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6345
6346 fi
6347
6348
6349 eval "$wx_cv_use_ole"
6350 if test "$no_cache" != 1; then
6351 echo $wx_cv_use_ole >> ${wx_arg_cache_file}.tmp
6352 fi
6353
6354 if test x"$enablestring" = xdisable; then
6355 if test $wxUSE_OLE = yes; then
6356 result=no
6357 else
6358 result=yes
6359 fi
6360 else
6361 result=$wxUSE_OLE
6362 fi
6363
6364 { echo "$as_me:$LINENO: result: $result" >&5
6365 echo "${ECHO_T}$result" >&6; }
6366
6367
6368 enablestring=
6369 defaultval=$wxUSE_ALL_FEATURES
6370 if test -z "$defaultval"; then
6371 if test x"$enablestring" = xdisable; then
6372 defaultval=yes
6373 else
6374 defaultval=no
6375 fi
6376 fi
6377
6378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6380 no_cache=0
6381 # Check whether --enable-dataobj was given.
6382 if test "${enable_dataobj+set}" = set; then
6383 enableval=$enable_dataobj;
6384 if test "$enableval" = yes; then
6385 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6386 else
6387 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6388 fi
6389
6390 else
6391
6392 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6393 if test "x$LINE" != x ; then
6394 eval "DEFAULT_$LINE"
6395 else
6396 no_cache=1
6397 fi
6398
6399 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6400
6401 fi
6402
6403
6404 eval "$wx_cv_use_dataobj"
6405 if test "$no_cache" != 1; then
6406 echo $wx_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_DATAOBJ = yes; then
6411 result=no
6412 else
6413 result=yes
6414 fi
6415 else
6416 result=$wxUSE_DATAOBJ
6417 fi
6418
6419 { echo "$as_me:$LINENO: result: $result" >&5
6420 echo "${ECHO_T}$result" >&6; }
6421
6422
6423
6424 enablestring=
6425 defaultval=$wxUSE_ALL_FEATURES
6426 if test -z "$defaultval"; then
6427 if test x"$enablestring" = xdisable; then
6428 defaultval=yes
6429 else
6430 defaultval=no
6431 fi
6432 fi
6433
6434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6435 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6436 no_cache=0
6437 # Check whether --enable-ipc was given.
6438 if test "${enable_ipc+set}" = set; then
6439 enableval=$enable_ipc;
6440 if test "$enableval" = yes; then
6441 wx_cv_use_ipc='wxUSE_IPC=yes'
6442 else
6443 wx_cv_use_ipc='wxUSE_IPC=no'
6444 fi
6445
6446 else
6447
6448 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6451 else
6452 no_cache=1
6453 fi
6454
6455 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6456
6457 fi
6458
6459
6460 eval "$wx_cv_use_ipc"
6461 if test "$no_cache" != 1; then
6462 echo $wx_cv_use_ipc >> ${wx_arg_cache_file}.tmp
6463 fi
6464
6465 if test x"$enablestring" = xdisable; then
6466 if test $wxUSE_IPC = yes; then
6467 result=no
6468 else
6469 result=yes
6470 fi
6471 else
6472 result=$wxUSE_IPC
6473 fi
6474
6475 { echo "$as_me:$LINENO: result: $result" >&5
6476 echo "${ECHO_T}$result" >&6; }
6477
6478
6479
6480 enablestring=
6481 defaultval=$wxUSE_ALL_FEATURES
6482 if test -z "$defaultval"; then
6483 if test x"$enablestring" = xdisable; then
6484 defaultval=yes
6485 else
6486 defaultval=no
6487 fi
6488 fi
6489
6490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6492 no_cache=0
6493 # Check whether --enable-baseevtloop was given.
6494 if test "${enable_baseevtloop+set}" = set; then
6495 enableval=$enable_baseevtloop;
6496 if test "$enableval" = yes; then
6497 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6498 else
6499 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6500 fi
6501
6502 else
6503
6504 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6505 if test "x$LINE" != x ; then
6506 eval "DEFAULT_$LINE"
6507 else
6508 no_cache=1
6509 fi
6510
6511 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6512
6513 fi
6514
6515
6516 eval "$wx_cv_use_baseevtloop"
6517 if test "$no_cache" != 1; then
6518 echo $wx_cv_use_baseevtloop >> ${wx_arg_cache_file}.tmp
6519 fi
6520
6521 if test x"$enablestring" = xdisable; then
6522 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6523 result=no
6524 else
6525 result=yes
6526 fi
6527 else
6528 result=$wxUSE_CONSOLE_EVENTLOOP
6529 fi
6530
6531 { echo "$as_me:$LINENO: result: $result" >&5
6532 echo "${ECHO_T}$result" >&6; }
6533
6534
6535 enablestring=
6536 defaultval=$wxUSE_ALL_FEATURES
6537 if test -z "$defaultval"; then
6538 if test x"$enablestring" = xdisable; then
6539 defaultval=yes
6540 else
6541 defaultval=no
6542 fi
6543 fi
6544
6545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6546 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6547 no_cache=0
6548 # Check whether --enable-epoolloop was given.
6549 if test "${enable_epoolloop+set}" = set; then
6550 enableval=$enable_epoolloop;
6551 if test "$enableval" = yes; then
6552 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6553 else
6554 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6555 fi
6556
6557 else
6558
6559 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6560 if test "x$LINE" != x ; then
6561 eval "DEFAULT_$LINE"
6562 else
6563 no_cache=1
6564 fi
6565
6566 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6567
6568 fi
6569
6570
6571 eval "$wx_cv_use_epoolloop"
6572 if test "$no_cache" != 1; then
6573 echo $wx_cv_use_epoolloop >> ${wx_arg_cache_file}.tmp
6574 fi
6575
6576 if test x"$enablestring" = xdisable; then
6577 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6578 result=no
6579 else
6580 result=yes
6581 fi
6582 else
6583 result=$wxUSE_EPOLL_DISPATCHER
6584 fi
6585
6586 { echo "$as_me:$LINENO: result: $result" >&5
6587 echo "${ECHO_T}$result" >&6; }
6588
6589
6590 enablestring=
6591 defaultval=$wxUSE_ALL_FEATURES
6592 if test -z "$defaultval"; then
6593 if test x"$enablestring" = xdisable; then
6594 defaultval=yes
6595 else
6596 defaultval=no
6597 fi
6598 fi
6599
6600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6601 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6602 no_cache=0
6603 # Check whether --enable-selectloop was given.
6604 if test "${enable_selectloop+set}" = set; then
6605 enableval=$enable_selectloop;
6606 if test "$enableval" = yes; then
6607 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6608 else
6609 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6610 fi
6611
6612 else
6613
6614 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6615 if test "x$LINE" != x ; then
6616 eval "DEFAULT_$LINE"
6617 else
6618 no_cache=1
6619 fi
6620
6621 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6622
6623 fi
6624
6625
6626 eval "$wx_cv_use_selectloop"
6627 if test "$no_cache" != 1; then
6628 echo $wx_cv_use_selectloop >> ${wx_arg_cache_file}.tmp
6629 fi
6630
6631 if test x"$enablestring" = xdisable; then
6632 if test $wxUSE_SELECT_DISPATCHER = yes; then
6633 result=no
6634 else
6635 result=yes
6636 fi
6637 else
6638 result=$wxUSE_SELECT_DISPATCHER
6639 fi
6640
6641 { echo "$as_me:$LINENO: result: $result" >&5
6642 echo "${ECHO_T}$result" >&6; }
6643
6644
6645
6646 enablestring=
6647 defaultval=$wxUSE_ALL_FEATURES
6648 if test -z "$defaultval"; then
6649 if test x"$enablestring" = xdisable; then
6650 defaultval=yes
6651 else
6652 defaultval=no
6653 fi
6654 fi
6655
6656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6657 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6658 no_cache=0
6659 # Check whether --enable-apple_ieee was given.
6660 if test "${enable_apple_ieee+set}" = set; then
6661 enableval=$enable_apple_ieee;
6662 if test "$enableval" = yes; then
6663 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6664 else
6665 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6666 fi
6667
6668 else
6669
6670 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6671 if test "x$LINE" != x ; then
6672 eval "DEFAULT_$LINE"
6673 else
6674 no_cache=1
6675 fi
6676
6677 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6678
6679 fi
6680
6681
6682 eval "$wx_cv_use_apple_ieee"
6683 if test "$no_cache" != 1; then
6684 echo $wx_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
6685 fi
6686
6687 if test x"$enablestring" = xdisable; then
6688 if test $wxUSE_APPLE_IEEE = yes; then
6689 result=no
6690 else
6691 result=yes
6692 fi
6693 else
6694 result=$wxUSE_APPLE_IEEE
6695 fi
6696
6697 { echo "$as_me:$LINENO: result: $result" >&5
6698 echo "${ECHO_T}$result" >&6; }
6699
6700
6701 enablestring=
6702 defaultval=$wxUSE_ALL_FEATURES
6703 if test -z "$defaultval"; then
6704 if test x"$enablestring" = xdisable; then
6705 defaultval=yes
6706 else
6707 defaultval=no
6708 fi
6709 fi
6710
6711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6712 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6713 no_cache=0
6714 # Check whether --enable-arcstream was given.
6715 if test "${enable_arcstream+set}" = set; then
6716 enableval=$enable_arcstream;
6717 if test "$enableval" = yes; then
6718 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6719 else
6720 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6721 fi
6722
6723 else
6724
6725 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6726 if test "x$LINE" != x ; then
6727 eval "DEFAULT_$LINE"
6728 else
6729 no_cache=1
6730 fi
6731
6732 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6733
6734 fi
6735
6736
6737 eval "$wx_cv_use_arcstream"
6738 if test "$no_cache" != 1; then
6739 echo $wx_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
6740 fi
6741
6742 if test x"$enablestring" = xdisable; then
6743 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6744 result=no
6745 else
6746 result=yes
6747 fi
6748 else
6749 result=$wxUSE_ARCHIVE_STREAMS
6750 fi
6751
6752 { echo "$as_me:$LINENO: result: $result" >&5
6753 echo "${ECHO_T}$result" >&6; }
6754
6755
6756 enablestring=
6757 defaultval=$wxUSE_ALL_FEATURES
6758 if test -z "$defaultval"; then
6759 if test x"$enablestring" = xdisable; then
6760 defaultval=yes
6761 else
6762 defaultval=no
6763 fi
6764 fi
6765
6766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6767 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6768 no_cache=0
6769 # Check whether --enable-base64 was given.
6770 if test "${enable_base64+set}" = set; then
6771 enableval=$enable_base64;
6772 if test "$enableval" = yes; then
6773 wx_cv_use_base64='wxUSE_BASE64=yes'
6774 else
6775 wx_cv_use_base64='wxUSE_BASE64=no'
6776 fi
6777
6778 else
6779
6780 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6781 if test "x$LINE" != x ; then
6782 eval "DEFAULT_$LINE"
6783 else
6784 no_cache=1
6785 fi
6786
6787 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6788
6789 fi
6790
6791
6792 eval "$wx_cv_use_base64"
6793 if test "$no_cache" != 1; then
6794 echo $wx_cv_use_base64 >> ${wx_arg_cache_file}.tmp
6795 fi
6796
6797 if test x"$enablestring" = xdisable; then
6798 if test $wxUSE_BASE64 = yes; then
6799 result=no
6800 else
6801 result=yes
6802 fi
6803 else
6804 result=$wxUSE_BASE64
6805 fi
6806
6807 { echo "$as_me:$LINENO: result: $result" >&5
6808 echo "${ECHO_T}$result" >&6; }
6809
6810
6811 enablestring=
6812 defaultval=$wxUSE_ALL_FEATURES
6813 if test -z "$defaultval"; then
6814 if test x"$enablestring" = xdisable; then
6815 defaultval=yes
6816 else
6817 defaultval=no
6818 fi
6819 fi
6820
6821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6823 no_cache=0
6824 # Check whether --enable-backtrace was given.
6825 if test "${enable_backtrace+set}" = set; then
6826 enableval=$enable_backtrace;
6827 if test "$enableval" = yes; then
6828 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6829 else
6830 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6831 fi
6832
6833 else
6834
6835 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6836 if test "x$LINE" != x ; then
6837 eval "DEFAULT_$LINE"
6838 else
6839 no_cache=1
6840 fi
6841
6842 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6843
6844 fi
6845
6846
6847 eval "$wx_cv_use_backtrace"
6848 if test "$no_cache" != 1; then
6849 echo $wx_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
6850 fi
6851
6852 if test x"$enablestring" = xdisable; then
6853 if test $wxUSE_STACKWALKER = yes; then
6854 result=no
6855 else
6856 result=yes
6857 fi
6858 else
6859 result=$wxUSE_STACKWALKER
6860 fi
6861
6862 { echo "$as_me:$LINENO: result: $result" >&5
6863 echo "${ECHO_T}$result" >&6; }
6864
6865
6866 enablestring=
6867 defaultval=$wxUSE_ALL_FEATURES
6868 if test -z "$defaultval"; then
6869 if test x"$enablestring" = xdisable; then
6870 defaultval=yes
6871 else
6872 defaultval=no
6873 fi
6874 fi
6875
6876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6877 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6878 no_cache=0
6879 # Check whether --enable-catch_segvs was given.
6880 if test "${enable_catch_segvs+set}" = set; then
6881 enableval=$enable_catch_segvs;
6882 if test "$enableval" = yes; then
6883 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6884 else
6885 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6886 fi
6887
6888 else
6889
6890 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6891 if test "x$LINE" != x ; then
6892 eval "DEFAULT_$LINE"
6893 else
6894 no_cache=1
6895 fi
6896
6897 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6898
6899 fi
6900
6901
6902 eval "$wx_cv_use_catch_segvs"
6903 if test "$no_cache" != 1; then
6904 echo $wx_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6905 fi
6906
6907 if test x"$enablestring" = xdisable; then
6908 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6909 result=no
6910 else
6911 result=yes
6912 fi
6913 else
6914 result=$wxUSE_ON_FATAL_EXCEPTION
6915 fi
6916
6917 { echo "$as_me:$LINENO: result: $result" >&5
6918 echo "${ECHO_T}$result" >&6; }
6919
6920
6921 enablestring=
6922 defaultval=$wxUSE_ALL_FEATURES
6923 if test -z "$defaultval"; then
6924 if test x"$enablestring" = xdisable; then
6925 defaultval=yes
6926 else
6927 defaultval=no
6928 fi
6929 fi
6930
6931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6932 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6933 no_cache=0
6934 # Check whether --enable-cmdline was given.
6935 if test "${enable_cmdline+set}" = set; then
6936 enableval=$enable_cmdline;
6937 if test "$enableval" = yes; then
6938 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6939 else
6940 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6941 fi
6942
6943 else
6944
6945 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6953
6954 fi
6955
6956
6957 eval "$wx_cv_use_cmdline"
6958 if test "$no_cache" != 1; then
6959 echo $wx_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6960 fi
6961
6962 if test x"$enablestring" = xdisable; then
6963 if test $wxUSE_CMDLINE_PARSER = yes; then
6964 result=no
6965 else
6966 result=yes
6967 fi
6968 else
6969 result=$wxUSE_CMDLINE_PARSER
6970 fi
6971
6972 { echo "$as_me:$LINENO: result: $result" >&5
6973 echo "${ECHO_T}$result" >&6; }
6974
6975
6976 enablestring=
6977 defaultval=$wxUSE_ALL_FEATURES
6978 if test -z "$defaultval"; then
6979 if test x"$enablestring" = xdisable; then
6980 defaultval=yes
6981 else
6982 defaultval=no
6983 fi
6984 fi
6985
6986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6988 no_cache=0
6989 # Check whether --enable-datetime was given.
6990 if test "${enable_datetime+set}" = set; then
6991 enableval=$enable_datetime;
6992 if test "$enableval" = yes; then
6993 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6994 else
6995 wx_cv_use_datetime='wxUSE_DATETIME=no'
6996 fi
6997
6998 else
6999
7000 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x ; then
7002 eval "DEFAULT_$LINE"
7003 else
7004 no_cache=1
7005 fi
7006
7007 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7008
7009 fi
7010
7011
7012 eval "$wx_cv_use_datetime"
7013 if test "$no_cache" != 1; then
7014 echo $wx_cv_use_datetime >> ${wx_arg_cache_file}.tmp
7015 fi
7016
7017 if test x"$enablestring" = xdisable; then
7018 if test $wxUSE_DATETIME = yes; then
7019 result=no
7020 else
7021 result=yes
7022 fi
7023 else
7024 result=$wxUSE_DATETIME
7025 fi
7026
7027 { echo "$as_me:$LINENO: result: $result" >&5
7028 echo "${ECHO_T}$result" >&6; }
7029
7030
7031 enablestring=
7032 defaultval=$wxUSE_ALL_FEATURES
7033 if test -z "$defaultval"; then
7034 if test x"$enablestring" = xdisable; then
7035 defaultval=yes
7036 else
7037 defaultval=no
7038 fi
7039 fi
7040
7041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7042 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7043 no_cache=0
7044 # Check whether --enable-debugreport was given.
7045 if test "${enable_debugreport+set}" = set; then
7046 enableval=$enable_debugreport;
7047 if test "$enableval" = yes; then
7048 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7049 else
7050 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7051 fi
7052
7053 else
7054
7055 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x ; then
7057 eval "DEFAULT_$LINE"
7058 else
7059 no_cache=1
7060 fi
7061
7062 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7063
7064 fi
7065
7066
7067 eval "$wx_cv_use_debugreport"
7068 if test "$no_cache" != 1; then
7069 echo $wx_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
7070 fi
7071
7072 if test x"$enablestring" = xdisable; then
7073 if test $wxUSE_DEBUGREPORT = yes; then
7074 result=no
7075 else
7076 result=yes
7077 fi
7078 else
7079 result=$wxUSE_DEBUGREPORT
7080 fi
7081
7082 { echo "$as_me:$LINENO: result: $result" >&5
7083 echo "${ECHO_T}$result" >&6; }
7084
7085
7086 enablestring=
7087 defaultval=$wxUSE_ALL_FEATURES
7088 if test -z "$defaultval"; then
7089 if test x"$enablestring" = xdisable; then
7090 defaultval=yes
7091 else
7092 defaultval=no
7093 fi
7094 fi
7095
7096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7097 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7098 no_cache=0
7099 # Check whether --enable-dialupman was given.
7100 if test "${enable_dialupman+set}" = set; then
7101 enableval=$enable_dialupman;
7102 if test "$enableval" = yes; then
7103 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7104 else
7105 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7106 fi
7107
7108 else
7109
7110 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7111 if test "x$LINE" != x ; then
7112 eval "DEFAULT_$LINE"
7113 else
7114 no_cache=1
7115 fi
7116
7117 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7118
7119 fi
7120
7121
7122 eval "$wx_cv_use_dialupman"
7123 if test "$no_cache" != 1; then
7124 echo $wx_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
7125 fi
7126
7127 if test x"$enablestring" = xdisable; then
7128 if test $wxUSE_DIALUP_MANAGER = yes; then
7129 result=no
7130 else
7131 result=yes
7132 fi
7133 else
7134 result=$wxUSE_DIALUP_MANAGER
7135 fi
7136
7137 { echo "$as_me:$LINENO: result: $result" >&5
7138 echo "${ECHO_T}$result" >&6; }
7139
7140
7141 enablestring=
7142 defaultval=$wxUSE_ALL_FEATURES
7143 if test -z "$defaultval"; then
7144 if test x"$enablestring" = xdisable; then
7145 defaultval=yes
7146 else
7147 defaultval=no
7148 fi
7149 fi
7150
7151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7152 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7153 no_cache=0
7154 # Check whether --enable-dynlib was given.
7155 if test "${enable_dynlib+set}" = set; then
7156 enableval=$enable_dynlib;
7157 if test "$enableval" = yes; then
7158 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7159 else
7160 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7161 fi
7162
7163 else
7164
7165 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7166 if test "x$LINE" != x ; then
7167 eval "DEFAULT_$LINE"
7168 else
7169 no_cache=1
7170 fi
7171
7172 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7173
7174 fi
7175
7176
7177 eval "$wx_cv_use_dynlib"
7178 if test "$no_cache" != 1; then
7179 echo $wx_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
7180 fi
7181
7182 if test x"$enablestring" = xdisable; then
7183 if test $wxUSE_DYNLIB_CLASS = yes; then
7184 result=no
7185 else
7186 result=yes
7187 fi
7188 else
7189 result=$wxUSE_DYNLIB_CLASS
7190 fi
7191
7192 { echo "$as_me:$LINENO: result: $result" >&5
7193 echo "${ECHO_T}$result" >&6; }
7194
7195
7196 enablestring=
7197 defaultval=$wxUSE_ALL_FEATURES
7198 if test -z "$defaultval"; then
7199 if test x"$enablestring" = xdisable; then
7200 defaultval=yes
7201 else
7202 defaultval=no
7203 fi
7204 fi
7205
7206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7207 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7208 no_cache=0
7209 # Check whether --enable-dynamicloader was given.
7210 if test "${enable_dynamicloader+set}" = set; then
7211 enableval=$enable_dynamicloader;
7212 if test "$enableval" = yes; then
7213 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7214 else
7215 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7216 fi
7217
7218 else
7219
7220 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7221 if test "x$LINE" != x ; then
7222 eval "DEFAULT_$LINE"
7223 else
7224 no_cache=1
7225 fi
7226
7227 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7228
7229 fi
7230
7231
7232 eval "$wx_cv_use_dynamicloader"
7233 if test "$no_cache" != 1; then
7234 echo $wx_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
7235 fi
7236
7237 if test x"$enablestring" = xdisable; then
7238 if test $wxUSE_DYNAMIC_LOADER = yes; then
7239 result=no
7240 else
7241 result=yes
7242 fi
7243 else
7244 result=$wxUSE_DYNAMIC_LOADER
7245 fi
7246
7247 { echo "$as_me:$LINENO: result: $result" >&5
7248 echo "${ECHO_T}$result" >&6; }
7249
7250
7251 enablestring=
7252 defaultval=$wxUSE_ALL_FEATURES
7253 if test -z "$defaultval"; then
7254 if test x"$enablestring" = xdisable; then
7255 defaultval=yes
7256 else
7257 defaultval=no
7258 fi
7259 fi
7260
7261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7263 no_cache=0
7264 # Check whether --enable-exceptions was given.
7265 if test "${enable_exceptions+set}" = set; then
7266 enableval=$enable_exceptions;
7267 if test "$enableval" = yes; then
7268 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7269 else
7270 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7271 fi
7272
7273 else
7274
7275 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7276 if test "x$LINE" != x ; then
7277 eval "DEFAULT_$LINE"
7278 else
7279 no_cache=1
7280 fi
7281
7282 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7283
7284 fi
7285
7286
7287 eval "$wx_cv_use_exceptions"
7288 if test "$no_cache" != 1; then
7289 echo $wx_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
7290 fi
7291
7292 if test x"$enablestring" = xdisable; then
7293 if test $wxUSE_EXCEPTIONS = yes; then
7294 result=no
7295 else
7296 result=yes
7297 fi
7298 else
7299 result=$wxUSE_EXCEPTIONS
7300 fi
7301
7302 { echo "$as_me:$LINENO: result: $result" >&5
7303 echo "${ECHO_T}$result" >&6; }
7304
7305
7306 enablestring=
7307 defaultval=$wxUSE_ALL_FEATURES
7308 if test -z "$defaultval"; then
7309 if test x"$enablestring" = xdisable; then
7310 defaultval=yes
7311 else
7312 defaultval=no
7313 fi
7314 fi
7315
7316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7317 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7318 no_cache=0
7319 # Check whether --enable-ffile was given.
7320 if test "${enable_ffile+set}" = set; then
7321 enableval=$enable_ffile;
7322 if test "$enableval" = yes; then
7323 wx_cv_use_ffile='wxUSE_FFILE=yes'
7324 else
7325 wx_cv_use_ffile='wxUSE_FFILE=no'
7326 fi
7327
7328 else
7329
7330 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x ; then
7332 eval "DEFAULT_$LINE"
7333 else
7334 no_cache=1
7335 fi
7336
7337 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7338
7339 fi
7340
7341
7342 eval "$wx_cv_use_ffile"
7343 if test "$no_cache" != 1; then
7344 echo $wx_cv_use_ffile >> ${wx_arg_cache_file}.tmp
7345 fi
7346
7347 if test x"$enablestring" = xdisable; then
7348 if test $wxUSE_FFILE = yes; then
7349 result=no
7350 else
7351 result=yes
7352 fi
7353 else
7354 result=$wxUSE_FFILE
7355 fi
7356
7357 { echo "$as_me:$LINENO: result: $result" >&5
7358 echo "${ECHO_T}$result" >&6; }
7359
7360
7361 enablestring=
7362 defaultval=$wxUSE_ALL_FEATURES
7363 if test -z "$defaultval"; then
7364 if test x"$enablestring" = xdisable; then
7365 defaultval=yes
7366 else
7367 defaultval=no
7368 fi
7369 fi
7370
7371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7372 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7373 no_cache=0
7374 # Check whether --enable-file was given.
7375 if test "${enable_file+set}" = set; then
7376 enableval=$enable_file;
7377 if test "$enableval" = yes; then
7378 wx_cv_use_file='wxUSE_FILE=yes'
7379 else
7380 wx_cv_use_file='wxUSE_FILE=no'
7381 fi
7382
7383 else
7384
7385 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7386 if test "x$LINE" != x ; then
7387 eval "DEFAULT_$LINE"
7388 else
7389 no_cache=1
7390 fi
7391
7392 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7393
7394 fi
7395
7396
7397 eval "$wx_cv_use_file"
7398 if test "$no_cache" != 1; then
7399 echo $wx_cv_use_file >> ${wx_arg_cache_file}.tmp
7400 fi
7401
7402 if test x"$enablestring" = xdisable; then
7403 if test $wxUSE_FILE = yes; then
7404 result=no
7405 else
7406 result=yes
7407 fi
7408 else
7409 result=$wxUSE_FILE
7410 fi
7411
7412 { echo "$as_me:$LINENO: result: $result" >&5
7413 echo "${ECHO_T}$result" >&6; }
7414
7415
7416 enablestring=
7417 defaultval=$wxUSE_ALL_FEATURES
7418 if test -z "$defaultval"; then
7419 if test x"$enablestring" = xdisable; then
7420 defaultval=yes
7421 else
7422 defaultval=no
7423 fi
7424 fi
7425
7426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7427 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7428 no_cache=0
7429 # Check whether --enable-filesystem was given.
7430 if test "${enable_filesystem+set}" = set; then
7431 enableval=$enable_filesystem;
7432 if test "$enableval" = yes; then
7433 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7434 else
7435 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7436 fi
7437
7438 else
7439
7440 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7443 else
7444 no_cache=1
7445 fi
7446
7447 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7448
7449 fi
7450
7451
7452 eval "$wx_cv_use_filesystem"
7453 if test "$no_cache" != 1; then
7454 echo $wx_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
7455 fi
7456
7457 if test x"$enablestring" = xdisable; then
7458 if test $wxUSE_FILESYSTEM = yes; then
7459 result=no
7460 else
7461 result=yes
7462 fi
7463 else
7464 result=$wxUSE_FILESYSTEM
7465 fi
7466
7467 { echo "$as_me:$LINENO: result: $result" >&5
7468 echo "${ECHO_T}$result" >&6; }
7469
7470
7471 enablestring=
7472 defaultval=$wxUSE_ALL_FEATURES
7473 if test -z "$defaultval"; then
7474 if test x"$enablestring" = xdisable; then
7475 defaultval=yes
7476 else
7477 defaultval=no
7478 fi
7479 fi
7480
7481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7483 no_cache=0
7484 # Check whether --enable-fontmap was given.
7485 if test "${enable_fontmap+set}" = set; then
7486 enableval=$enable_fontmap;
7487 if test "$enableval" = yes; then
7488 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7489 else
7490 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7491 fi
7492
7493 else
7494
7495 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7496 if test "x$LINE" != x ; then
7497 eval "DEFAULT_$LINE"
7498 else
7499 no_cache=1
7500 fi
7501
7502 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7503
7504 fi
7505
7506
7507 eval "$wx_cv_use_fontmap"
7508 if test "$no_cache" != 1; then
7509 echo $wx_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
7510 fi
7511
7512 if test x"$enablestring" = xdisable; then
7513 if test $wxUSE_FONTMAP = yes; then
7514 result=no
7515 else
7516 result=yes
7517 fi
7518 else
7519 result=$wxUSE_FONTMAP
7520 fi
7521
7522 { echo "$as_me:$LINENO: result: $result" >&5
7523 echo "${ECHO_T}$result" >&6; }
7524
7525
7526 enablestring=
7527 defaultval=$wxUSE_ALL_FEATURES
7528 if test -z "$defaultval"; then
7529 if test x"$enablestring" = xdisable; then
7530 defaultval=yes
7531 else
7532 defaultval=no
7533 fi
7534 fi
7535
7536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7537 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7538 no_cache=0
7539 # Check whether --enable-fs_archive was given.
7540 if test "${enable_fs_archive+set}" = set; then
7541 enableval=$enable_fs_archive;
7542 if test "$enableval" = yes; then
7543 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7544 else
7545 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7546 fi
7547
7548 else
7549
7550 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7551 if test "x$LINE" != x ; then
7552 eval "DEFAULT_$LINE"
7553 else
7554 no_cache=1
7555 fi
7556
7557 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7558
7559 fi
7560
7561
7562 eval "$wx_cv_use_fs_archive"
7563 if test "$no_cache" != 1; then
7564 echo $wx_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
7565 fi
7566
7567 if test x"$enablestring" = xdisable; then
7568 if test $wxUSE_FS_ARCHIVE = yes; then
7569 result=no
7570 else
7571 result=yes
7572 fi
7573 else
7574 result=$wxUSE_FS_ARCHIVE
7575 fi
7576
7577 { echo "$as_me:$LINENO: result: $result" >&5
7578 echo "${ECHO_T}$result" >&6; }
7579
7580
7581 enablestring=
7582 defaultval=$wxUSE_ALL_FEATURES
7583 if test -z "$defaultval"; then
7584 if test x"$enablestring" = xdisable; then
7585 defaultval=yes
7586 else
7587 defaultval=no
7588 fi
7589 fi
7590
7591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7593 no_cache=0
7594 # Check whether --enable-fs_inet was given.
7595 if test "${enable_fs_inet+set}" = set; then
7596 enableval=$enable_fs_inet;
7597 if test "$enableval" = yes; then
7598 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7599 else
7600 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7601 fi
7602
7603 else
7604
7605 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7606 if test "x$LINE" != x ; then
7607 eval "DEFAULT_$LINE"
7608 else
7609 no_cache=1
7610 fi
7611
7612 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7613
7614 fi
7615
7616
7617 eval "$wx_cv_use_fs_inet"
7618 if test "$no_cache" != 1; then
7619 echo $wx_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
7620 fi
7621
7622 if test x"$enablestring" = xdisable; then
7623 if test $wxUSE_FS_INET = yes; then
7624 result=no
7625 else
7626 result=yes
7627 fi
7628 else
7629 result=$wxUSE_FS_INET
7630 fi
7631
7632 { echo "$as_me:$LINENO: result: $result" >&5
7633 echo "${ECHO_T}$result" >&6; }
7634
7635
7636 enablestring=
7637 defaultval=$wxUSE_ALL_FEATURES
7638 if test -z "$defaultval"; then
7639 if test x"$enablestring" = xdisable; then
7640 defaultval=yes
7641 else
7642 defaultval=no
7643 fi
7644 fi
7645
7646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7648 no_cache=0
7649 # Check whether --enable-fs_zip was given.
7650 if test "${enable_fs_zip+set}" = set; then
7651 enableval=$enable_fs_zip;
7652 if test "$enableval" = yes; then
7653 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7654 else
7655 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7656 fi
7657
7658 else
7659
7660 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x ; then
7662 eval "DEFAULT_$LINE"
7663 else
7664 no_cache=1
7665 fi
7666
7667 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7668
7669 fi
7670
7671
7672 eval "$wx_cv_use_fs_zip"
7673 if test "$no_cache" != 1; then
7674 echo $wx_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
7675 fi
7676
7677 if test x"$enablestring" = xdisable; then
7678 if test $wxUSE_FS_ZIP = yes; then
7679 result=no
7680 else
7681 result=yes
7682 fi
7683 else
7684 result=$wxUSE_FS_ZIP
7685 fi
7686
7687 { echo "$as_me:$LINENO: result: $result" >&5
7688 echo "${ECHO_T}$result" >&6; }
7689
7690
7691 enablestring=
7692 defaultval=$wxUSE_ALL_FEATURES
7693 if test -z "$defaultval"; then
7694 if test x"$enablestring" = xdisable; then
7695 defaultval=yes
7696 else
7697 defaultval=no
7698 fi
7699 fi
7700
7701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7703 no_cache=0
7704 # Check whether --enable-geometry was given.
7705 if test "${enable_geometry+set}" = set; then
7706 enableval=$enable_geometry;
7707 if test "$enableval" = yes; then
7708 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7709 else
7710 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7711 fi
7712
7713 else
7714
7715 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7716 if test "x$LINE" != x ; then
7717 eval "DEFAULT_$LINE"
7718 else
7719 no_cache=1
7720 fi
7721
7722 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7723
7724 fi
7725
7726
7727 eval "$wx_cv_use_geometry"
7728 if test "$no_cache" != 1; then
7729 echo $wx_cv_use_geometry >> ${wx_arg_cache_file}.tmp
7730 fi
7731
7732 if test x"$enablestring" = xdisable; then
7733 if test $wxUSE_GEOMETRY = yes; then
7734 result=no
7735 else
7736 result=yes
7737 fi
7738 else
7739 result=$wxUSE_GEOMETRY
7740 fi
7741
7742 { echo "$as_me:$LINENO: result: $result" >&5
7743 echo "${ECHO_T}$result" >&6; }
7744
7745
7746 enablestring=
7747 defaultval=$wxUSE_ALL_FEATURES
7748 if test -z "$defaultval"; then
7749 if test x"$enablestring" = xdisable; then
7750 defaultval=yes
7751 else
7752 defaultval=no
7753 fi
7754 fi
7755
7756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7758 no_cache=0
7759 # Check whether --enable-log was given.
7760 if test "${enable_log+set}" = set; then
7761 enableval=$enable_log;
7762 if test "$enableval" = yes; then
7763 wx_cv_use_log='wxUSE_LOG=yes'
7764 else
7765 wx_cv_use_log='wxUSE_LOG=no'
7766 fi
7767
7768 else
7769
7770 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7771 if test "x$LINE" != x ; then
7772 eval "DEFAULT_$LINE"
7773 else
7774 no_cache=1
7775 fi
7776
7777 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7778
7779 fi
7780
7781
7782 eval "$wx_cv_use_log"
7783 if test "$no_cache" != 1; then
7784 echo $wx_cv_use_log >> ${wx_arg_cache_file}.tmp
7785 fi
7786
7787 if test x"$enablestring" = xdisable; then
7788 if test $wxUSE_LOG = yes; then
7789 result=no
7790 else
7791 result=yes
7792 fi
7793 else
7794 result=$wxUSE_LOG
7795 fi
7796
7797 { echo "$as_me:$LINENO: result: $result" >&5
7798 echo "${ECHO_T}$result" >&6; }
7799
7800
7801 enablestring=
7802 defaultval=$wxUSE_ALL_FEATURES
7803 if test -z "$defaultval"; then
7804 if test x"$enablestring" = xdisable; then
7805 defaultval=yes
7806 else
7807 defaultval=no
7808 fi
7809 fi
7810
7811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7812 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7813 no_cache=0
7814 # Check whether --enable-longlong was given.
7815 if test "${enable_longlong+set}" = set; then
7816 enableval=$enable_longlong;
7817 if test "$enableval" = yes; then
7818 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7819 else
7820 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7821 fi
7822
7823 else
7824
7825 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7826 if test "x$LINE" != x ; then
7827 eval "DEFAULT_$LINE"
7828 else
7829 no_cache=1
7830 fi
7831
7832 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7833
7834 fi
7835
7836
7837 eval "$wx_cv_use_longlong"
7838 if test "$no_cache" != 1; then
7839 echo $wx_cv_use_longlong >> ${wx_arg_cache_file}.tmp
7840 fi
7841
7842 if test x"$enablestring" = xdisable; then
7843 if test $wxUSE_LONGLONG = yes; then
7844 result=no
7845 else
7846 result=yes
7847 fi
7848 else
7849 result=$wxUSE_LONGLONG
7850 fi
7851
7852 { echo "$as_me:$LINENO: result: $result" >&5
7853 echo "${ECHO_T}$result" >&6; }
7854
7855
7856 enablestring=
7857 defaultval=$wxUSE_ALL_FEATURES
7858 if test -z "$defaultval"; then
7859 if test x"$enablestring" = xdisable; then
7860 defaultval=yes
7861 else
7862 defaultval=no
7863 fi
7864 fi
7865
7866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7867 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7868 no_cache=0
7869 # Check whether --enable-mimetype was given.
7870 if test "${enable_mimetype+set}" = set; then
7871 enableval=$enable_mimetype;
7872 if test "$enableval" = yes; then
7873 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7874 else
7875 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7876 fi
7877
7878 else
7879
7880 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x ; then
7882 eval "DEFAULT_$LINE"
7883 else
7884 no_cache=1
7885 fi
7886
7887 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7888
7889 fi
7890
7891
7892 eval "$wx_cv_use_mimetype"
7893 if test "$no_cache" != 1; then
7894 echo $wx_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
7895 fi
7896
7897 if test x"$enablestring" = xdisable; then
7898 if test $wxUSE_MIMETYPE = yes; then
7899 result=no
7900 else
7901 result=yes
7902 fi
7903 else
7904 result=$wxUSE_MIMETYPE
7905 fi
7906
7907 { echo "$as_me:$LINENO: result: $result" >&5
7908 echo "${ECHO_T}$result" >&6; }
7909
7910
7911 enablestring=
7912 defaultval=$wxUSE_ALL_FEATURES
7913 if test -z "$defaultval"; then
7914 if test x"$enablestring" = xdisable; then
7915 defaultval=yes
7916 else
7917 defaultval=no
7918 fi
7919 fi
7920
7921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7923 no_cache=0
7924 # Check whether --enable-snglinst was given.
7925 if test "${enable_snglinst+set}" = set; then
7926 enableval=$enable_snglinst;
7927 if test "$enableval" = yes; then
7928 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7929 else
7930 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7931 fi
7932
7933 else
7934
7935 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7936 if test "x$LINE" != x ; then
7937 eval "DEFAULT_$LINE"
7938 else
7939 no_cache=1
7940 fi
7941
7942 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7943
7944 fi
7945
7946
7947 eval "$wx_cv_use_snglinst"
7948 if test "$no_cache" != 1; then
7949 echo $wx_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
7950 fi
7951
7952 if test x"$enablestring" = xdisable; then
7953 if test $wxUSE_SNGLINST_CHECKER = yes; then
7954 result=no
7955 else
7956 result=yes
7957 fi
7958 else
7959 result=$wxUSE_SNGLINST_CHECKER
7960 fi
7961
7962 { echo "$as_me:$LINENO: result: $result" >&5
7963 echo "${ECHO_T}$result" >&6; }
7964
7965
7966 enablestring=
7967 defaultval=$wxUSE_ALL_FEATURES
7968 if test -z "$defaultval"; then
7969 if test x"$enablestring" = xdisable; then
7970 defaultval=yes
7971 else
7972 defaultval=no
7973 fi
7974 fi
7975
7976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7978 no_cache=0
7979 # Check whether --enable-stdpaths was given.
7980 if test "${enable_stdpaths+set}" = set; then
7981 enableval=$enable_stdpaths;
7982 if test "$enableval" = yes; then
7983 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7984 else
7985 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7986 fi
7987
7988 else
7989
7990 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7991 if test "x$LINE" != x ; then
7992 eval "DEFAULT_$LINE"
7993 else
7994 no_cache=1
7995 fi
7996
7997 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7998
7999 fi
8000
8001
8002 eval "$wx_cv_use_stdpaths"
8003 if test "$no_cache" != 1; then
8004 echo $wx_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
8005 fi
8006
8007 if test x"$enablestring" = xdisable; then
8008 if test $wxUSE_STDPATHS = yes; then
8009 result=no
8010 else
8011 result=yes
8012 fi
8013 else
8014 result=$wxUSE_STDPATHS
8015 fi
8016
8017 { echo "$as_me:$LINENO: result: $result" >&5
8018 echo "${ECHO_T}$result" >&6; }
8019
8020
8021 enablestring=
8022 defaultval=$wxUSE_ALL_FEATURES
8023 if test -z "$defaultval"; then
8024 if test x"$enablestring" = xdisable; then
8025 defaultval=yes
8026 else
8027 defaultval=no
8028 fi
8029 fi
8030
8031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8032 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8033 no_cache=0
8034 # Check whether --enable-stopwatch was given.
8035 if test "${enable_stopwatch+set}" = set; then
8036 enableval=$enable_stopwatch;
8037 if test "$enableval" = yes; then
8038 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8039 else
8040 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8041 fi
8042
8043 else
8044
8045 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x ; then
8047 eval "DEFAULT_$LINE"
8048 else
8049 no_cache=1
8050 fi
8051
8052 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8053
8054 fi
8055
8056
8057 eval "$wx_cv_use_stopwatch"
8058 if test "$no_cache" != 1; then
8059 echo $wx_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
8060 fi
8061
8062 if test x"$enablestring" = xdisable; then
8063 if test $wxUSE_STOPWATCH = yes; then
8064 result=no
8065 else
8066 result=yes
8067 fi
8068 else
8069 result=$wxUSE_STOPWATCH
8070 fi
8071
8072 { echo "$as_me:$LINENO: result: $result" >&5
8073 echo "${ECHO_T}$result" >&6; }
8074
8075
8076 enablestring=
8077 defaultval=$wxUSE_ALL_FEATURES
8078 if test -z "$defaultval"; then
8079 if test x"$enablestring" = xdisable; then
8080 defaultval=yes
8081 else
8082 defaultval=no
8083 fi
8084 fi
8085
8086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8088 no_cache=0
8089 # Check whether --enable-streams was given.
8090 if test "${enable_streams+set}" = set; then
8091 enableval=$enable_streams;
8092 if test "$enableval" = yes; then
8093 wx_cv_use_streams='wxUSE_STREAMS=yes'
8094 else
8095 wx_cv_use_streams='wxUSE_STREAMS=no'
8096 fi
8097
8098 else
8099
8100 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8101 if test "x$LINE" != x ; then
8102 eval "DEFAULT_$LINE"
8103 else
8104 no_cache=1
8105 fi
8106
8107 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8108
8109 fi
8110
8111
8112 eval "$wx_cv_use_streams"
8113 if test "$no_cache" != 1; then
8114 echo $wx_cv_use_streams >> ${wx_arg_cache_file}.tmp
8115 fi
8116
8117 if test x"$enablestring" = xdisable; then
8118 if test $wxUSE_STREAMS = yes; then
8119 result=no
8120 else
8121 result=yes
8122 fi
8123 else
8124 result=$wxUSE_STREAMS
8125 fi
8126
8127 { echo "$as_me:$LINENO: result: $result" >&5
8128 echo "${ECHO_T}$result" >&6; }
8129
8130
8131 enablestring=
8132 defaultval=$wxUSE_ALL_FEATURES
8133 if test -z "$defaultval"; then
8134 if test x"$enablestring" = xdisable; then
8135 defaultval=yes
8136 else
8137 defaultval=no
8138 fi
8139 fi
8140
8141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8143 no_cache=0
8144 # Check whether --enable-system_options was given.
8145 if test "${enable_system_options+set}" = set; then
8146 enableval=$enable_system_options;
8147 if test "$enableval" = yes; then
8148 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8149 else
8150 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8151 fi
8152
8153 else
8154
8155 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8158 else
8159 no_cache=1
8160 fi
8161
8162 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8163
8164 fi
8165
8166
8167 eval "$wx_cv_use_system_options"
8168 if test "$no_cache" != 1; then
8169 echo $wx_cv_use_system_options >> ${wx_arg_cache_file}.tmp
8170 fi
8171
8172 if test x"$enablestring" = xdisable; then
8173 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8174 result=no
8175 else
8176 result=yes
8177 fi
8178 else
8179 result=$wxUSE_SYSTEM_OPTIONS
8180 fi
8181
8182 { echo "$as_me:$LINENO: result: $result" >&5
8183 echo "${ECHO_T}$result" >&6; }
8184
8185
8186 enablestring=
8187 defaultval=$wxUSE_ALL_FEATURES
8188 if test -z "$defaultval"; then
8189 if test x"$enablestring" = xdisable; then
8190 defaultval=yes
8191 else
8192 defaultval=no
8193 fi
8194 fi
8195
8196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8198 no_cache=0
8199 # Check whether --enable-tarstream was given.
8200 if test "${enable_tarstream+set}" = set; then
8201 enableval=$enable_tarstream;
8202 if test "$enableval" = yes; then
8203 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8204 else
8205 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8206 fi
8207
8208 else
8209
8210 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8211 if test "x$LINE" != x ; then
8212 eval "DEFAULT_$LINE"
8213 else
8214 no_cache=1
8215 fi
8216
8217 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8218
8219 fi
8220
8221
8222 eval "$wx_cv_use_tarstream"
8223 if test "$no_cache" != 1; then
8224 echo $wx_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
8225 fi
8226
8227 if test x"$enablestring" = xdisable; then
8228 if test $wxUSE_TARSTREAM = yes; then
8229 result=no
8230 else
8231 result=yes
8232 fi
8233 else
8234 result=$wxUSE_TARSTREAM
8235 fi
8236
8237 { echo "$as_me:$LINENO: result: $result" >&5
8238 echo "${ECHO_T}$result" >&6; }
8239
8240
8241 enablestring=
8242 defaultval=$wxUSE_ALL_FEATURES
8243 if test -z "$defaultval"; then
8244 if test x"$enablestring" = xdisable; then
8245 defaultval=yes
8246 else
8247 defaultval=no
8248 fi
8249 fi
8250
8251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8253 no_cache=0
8254 # Check whether --enable-textbuf was given.
8255 if test "${enable_textbuf+set}" = set; then
8256 enableval=$enable_textbuf;
8257 if test "$enableval" = yes; then
8258 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8259 else
8260 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8261 fi
8262
8263 else
8264
8265 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x ; then
8267 eval "DEFAULT_$LINE"
8268 else
8269 no_cache=1
8270 fi
8271
8272 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8273
8274 fi
8275
8276
8277 eval "$wx_cv_use_textbuf"
8278 if test "$no_cache" != 1; then
8279 echo $wx_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
8280 fi
8281
8282 if test x"$enablestring" = xdisable; then
8283 if test $wxUSE_TEXTBUFFER = yes; then
8284 result=no
8285 else
8286 result=yes
8287 fi
8288 else
8289 result=$wxUSE_TEXTBUFFER
8290 fi
8291
8292 { echo "$as_me:$LINENO: result: $result" >&5
8293 echo "${ECHO_T}$result" >&6; }
8294
8295
8296 enablestring=
8297 defaultval=$wxUSE_ALL_FEATURES
8298 if test -z "$defaultval"; then
8299 if test x"$enablestring" = xdisable; then
8300 defaultval=yes
8301 else
8302 defaultval=no
8303 fi
8304 fi
8305
8306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8307 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8308 no_cache=0
8309 # Check whether --enable-textfile was given.
8310 if test "${enable_textfile+set}" = set; then
8311 enableval=$enable_textfile;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8314 else
8315 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8316 fi
8317
8318 else
8319
8320 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8321 if test "x$LINE" != x ; then
8322 eval "DEFAULT_$LINE"
8323 else
8324 no_cache=1
8325 fi
8326
8327 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8328
8329 fi
8330
8331
8332 eval "$wx_cv_use_textfile"
8333 if test "$no_cache" != 1; then
8334 echo $wx_cv_use_textfile >> ${wx_arg_cache_file}.tmp
8335 fi
8336
8337 if test x"$enablestring" = xdisable; then
8338 if test $wxUSE_TEXTFILE = yes; then
8339 result=no
8340 else
8341 result=yes
8342 fi
8343 else
8344 result=$wxUSE_TEXTFILE
8345 fi
8346
8347 { echo "$as_me:$LINENO: result: $result" >&5
8348 echo "${ECHO_T}$result" >&6; }
8349
8350
8351 enablestring=
8352 defaultval=$wxUSE_ALL_FEATURES
8353 if test -z "$defaultval"; then
8354 if test x"$enablestring" = xdisable; then
8355 defaultval=yes
8356 else
8357 defaultval=no
8358 fi
8359 fi
8360
8361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8363 no_cache=0
8364 # Check whether --enable-timer was given.
8365 if test "${enable_timer+set}" = set; then
8366 enableval=$enable_timer;
8367 if test "$enableval" = yes; then
8368 wx_cv_use_timer='wxUSE_TIMER=yes'
8369 else
8370 wx_cv_use_timer='wxUSE_TIMER=no'
8371 fi
8372
8373 else
8374
8375 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8376 if test "x$LINE" != x ; then
8377 eval "DEFAULT_$LINE"
8378 else
8379 no_cache=1
8380 fi
8381
8382 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8383
8384 fi
8385
8386
8387 eval "$wx_cv_use_timer"
8388 if test "$no_cache" != 1; then
8389 echo $wx_cv_use_timer >> ${wx_arg_cache_file}.tmp
8390 fi
8391
8392 if test x"$enablestring" = xdisable; then
8393 if test $wxUSE_TIMER = yes; then
8394 result=no
8395 else
8396 result=yes
8397 fi
8398 else
8399 result=$wxUSE_TIMER
8400 fi
8401
8402 { echo "$as_me:$LINENO: result: $result" >&5
8403 echo "${ECHO_T}$result" >&6; }
8404
8405
8406 enablestring=
8407 defaultval=$wxUSE_ALL_FEATURES
8408 if test -z "$defaultval"; then
8409 if test x"$enablestring" = xdisable; then
8410 defaultval=yes
8411 else
8412 defaultval=no
8413 fi
8414 fi
8415
8416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8417 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8418 no_cache=0
8419 # Check whether --enable-sound was given.
8420 if test "${enable_sound+set}" = set; then
8421 enableval=$enable_sound;
8422 if test "$enableval" = yes; then
8423 wx_cv_use_sound='wxUSE_SOUND=yes'
8424 else
8425 wx_cv_use_sound='wxUSE_SOUND=no'
8426 fi
8427
8428 else
8429
8430 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x ; then
8432 eval "DEFAULT_$LINE"
8433 else
8434 no_cache=1
8435 fi
8436
8437 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8438
8439 fi
8440
8441
8442 eval "$wx_cv_use_sound"
8443 if test "$no_cache" != 1; then
8444 echo $wx_cv_use_sound >> ${wx_arg_cache_file}.tmp
8445 fi
8446
8447 if test x"$enablestring" = xdisable; then
8448 if test $wxUSE_SOUND = yes; then
8449 result=no
8450 else
8451 result=yes
8452 fi
8453 else
8454 result=$wxUSE_SOUND
8455 fi
8456
8457 { echo "$as_me:$LINENO: result: $result" >&5
8458 echo "${ECHO_T}$result" >&6; }
8459
8460
8461 enablestring=
8462 defaultval=$wxUSE_ALL_FEATURES
8463 if test -z "$defaultval"; then
8464 if test x"$enablestring" = xdisable; then
8465 defaultval=yes
8466 else
8467 defaultval=no
8468 fi
8469 fi
8470
8471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8472 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8473 no_cache=0
8474 # Check whether --enable-mediactrl was given.
8475 if test "${enable_mediactrl+set}" = set; then
8476 enableval=$enable_mediactrl;
8477 if test "$enableval" = yes; then
8478 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8479 else
8480 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8481 fi
8482
8483 else
8484
8485 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8486 if test "x$LINE" != x ; then
8487 eval "DEFAULT_$LINE"
8488 else
8489 no_cache=1
8490 fi
8491
8492 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8493
8494 fi
8495
8496
8497 eval "$wx_cv_use_mediactrl"
8498 if test "$no_cache" != 1; then
8499 echo $wx_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
8500 fi
8501
8502 if test x"$enablestring" = xdisable; then
8503 if test $wxUSE_MEDIACTRL = yes; then
8504 result=no
8505 else
8506 result=yes
8507 fi
8508 else
8509 result=$wxUSE_MEDIACTRL
8510 fi
8511
8512 { echo "$as_me:$LINENO: result: $result" >&5
8513 echo "${ECHO_T}$result" >&6; }
8514
8515
8516 enablestring=
8517 defaultval=$wxUSE_ALL_FEATURES
8518 if test -z "$defaultval"; then
8519 if test x"$enablestring" = xdisable; then
8520 defaultval=yes
8521 else
8522 defaultval=no
8523 fi
8524 fi
8525
8526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8528 no_cache=0
8529 # Check whether --enable-gstreamer8 was given.
8530 if test "${enable_gstreamer8+set}" = set; then
8531 enableval=$enable_gstreamer8;
8532 if test "$enableval" = yes; then
8533 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8534 else
8535 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8536 fi
8537
8538 else
8539
8540 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x ; then
8542 eval "DEFAULT_$LINE"
8543 else
8544 no_cache=1
8545 fi
8546
8547 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8548
8549 fi
8550
8551
8552 eval "$wx_cv_use_gstreamer8"
8553 if test "$no_cache" != 1; then
8554 echo $wx_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
8555 fi
8556
8557 if test x"$enablestring" = xdisable; then
8558 if test $wxUSE_GSTREAMER8 = yes; then
8559 result=no
8560 else
8561 result=yes
8562 fi
8563 else
8564 result=$wxUSE_GSTREAMER8
8565 fi
8566
8567 { echo "$as_me:$LINENO: result: $result" >&5
8568 echo "${ECHO_T}$result" >&6; }
8569
8570
8571 enablestring=
8572 defaultval=$wxUSE_ALL_FEATURES
8573 if test -z "$defaultval"; then
8574 if test x"$enablestring" = xdisable; then
8575 defaultval=yes
8576 else
8577 defaultval=no
8578 fi
8579 fi
8580
8581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8583 no_cache=0
8584 # Check whether --enable-printfposparam was given.
8585 if test "${enable_printfposparam+set}" = set; then
8586 enableval=$enable_printfposparam;
8587 if test "$enableval" = yes; then
8588 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8589 else
8590 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8591 fi
8592
8593 else
8594
8595 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8596 if test "x$LINE" != x ; then
8597 eval "DEFAULT_$LINE"
8598 else
8599 no_cache=1
8600 fi
8601
8602 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8603
8604 fi
8605
8606
8607 eval "$wx_cv_use_printfposparam"
8608 if test "$no_cache" != 1; then
8609 echo $wx_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
8610 fi
8611
8612 if test x"$enablestring" = xdisable; then
8613 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8614 result=no
8615 else
8616 result=yes
8617 fi
8618 else
8619 result=$wxUSE_PRINTF_POS_PARAMS
8620 fi
8621
8622 { echo "$as_me:$LINENO: result: $result" >&5
8623 echo "${ECHO_T}$result" >&6; }
8624
8625
8626 enablestring=
8627 defaultval=$wxUSE_ALL_FEATURES
8628 if test -z "$defaultval"; then
8629 if test x"$enablestring" = xdisable; then
8630 defaultval=yes
8631 else
8632 defaultval=no
8633 fi
8634 fi
8635
8636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8637 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8638 no_cache=0
8639 # Check whether --enable-zipstream was given.
8640 if test "${enable_zipstream+set}" = set; then
8641 enableval=$enable_zipstream;
8642 if test "$enableval" = yes; then
8643 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8644 else
8645 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8646 fi
8647
8648 else
8649
8650 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8651 if test "x$LINE" != x ; then
8652 eval "DEFAULT_$LINE"
8653 else
8654 no_cache=1
8655 fi
8656
8657 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8658
8659 fi
8660
8661
8662 eval "$wx_cv_use_zipstream"
8663 if test "$no_cache" != 1; then
8664 echo $wx_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
8665 fi
8666
8667 if test x"$enablestring" = xdisable; then
8668 if test $wxUSE_ZIPSTREAM = yes; then
8669 result=no
8670 else
8671 result=yes
8672 fi
8673 else
8674 result=$wxUSE_ZIPSTREAM
8675 fi
8676
8677 { echo "$as_me:$LINENO: result: $result" >&5
8678 echo "${ECHO_T}$result" >&6; }
8679
8680
8681
8682 enablestring=
8683 defaultval=$wxUSE_ALL_FEATURES
8684 if test -z "$defaultval"; then
8685 if test x"$enablestring" = xdisable; then
8686 defaultval=yes
8687 else
8688 defaultval=no
8689 fi
8690 fi
8691
8692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8694 no_cache=0
8695 # Check whether --enable-url was given.
8696 if test "${enable_url+set}" = set; then
8697 enableval=$enable_url;
8698 if test "$enableval" = yes; then
8699 wx_cv_use_url='wxUSE_URL=yes'
8700 else
8701 wx_cv_use_url='wxUSE_URL=no'
8702 fi
8703
8704 else
8705
8706 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x ; then
8708 eval "DEFAULT_$LINE"
8709 else
8710 no_cache=1
8711 fi
8712
8713 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8714
8715 fi
8716
8717
8718 eval "$wx_cv_use_url"
8719 if test "$no_cache" != 1; then
8720 echo $wx_cv_use_url >> ${wx_arg_cache_file}.tmp
8721 fi
8722
8723 if test x"$enablestring" = xdisable; then
8724 if test $wxUSE_URL = yes; then
8725 result=no
8726 else
8727 result=yes
8728 fi
8729 else
8730 result=$wxUSE_URL
8731 fi
8732
8733 { echo "$as_me:$LINENO: result: $result" >&5
8734 echo "${ECHO_T}$result" >&6; }
8735
8736
8737 enablestring=
8738 defaultval=$wxUSE_ALL_FEATURES
8739 if test -z "$defaultval"; then
8740 if test x"$enablestring" = xdisable; then
8741 defaultval=yes
8742 else
8743 defaultval=no
8744 fi
8745 fi
8746
8747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8748 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8749 no_cache=0
8750 # Check whether --enable-variant was given.
8751 if test "${enable_variant+set}" = set; then
8752 enableval=$enable_variant;
8753 if test "$enableval" = yes; then
8754 wx_cv_use_variant='wxUSE_VARIANT=yes'
8755 else
8756 wx_cv_use_variant='wxUSE_VARIANT=no'
8757 fi
8758
8759 else
8760
8761 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8762 if test "x$LINE" != x ; then
8763 eval "DEFAULT_$LINE"
8764 else
8765 no_cache=1
8766 fi
8767
8768 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8769
8770 fi
8771
8772
8773 eval "$wx_cv_use_variant"
8774 if test "$no_cache" != 1; then
8775 echo $wx_cv_use_variant >> ${wx_arg_cache_file}.tmp
8776 fi
8777
8778 if test x"$enablestring" = xdisable; then
8779 if test $wxUSE_VARIANT = yes; then
8780 result=no
8781 else
8782 result=yes
8783 fi
8784 else
8785 result=$wxUSE_VARIANT
8786 fi
8787
8788 { echo "$as_me:$LINENO: result: $result" >&5
8789 echo "${ECHO_T}$result" >&6; }
8790
8791
8792 enablestring=
8793 defaultval=$wxUSE_ALL_FEATURES
8794 if test -z "$defaultval"; then
8795 if test x"$enablestring" = xdisable; then
8796 defaultval=yes
8797 else
8798 defaultval=no
8799 fi
8800 fi
8801
8802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8803 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8804 no_cache=0
8805 # Check whether --enable-protocol was given.
8806 if test "${enable_protocol+set}" = set; then
8807 enableval=$enable_protocol;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8810 else
8811 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8812 fi
8813
8814 else
8815
8816 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8817 if test "x$LINE" != x ; then
8818 eval "DEFAULT_$LINE"
8819 else
8820 no_cache=1
8821 fi
8822
8823 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8824
8825 fi
8826
8827
8828 eval "$wx_cv_use_protocol"
8829 if test "$no_cache" != 1; then
8830 echo $wx_cv_use_protocol >> ${wx_arg_cache_file}.tmp
8831 fi
8832
8833 if test x"$enablestring" = xdisable; then
8834 if test $wxUSE_PROTOCOL = yes; then
8835 result=no
8836 else
8837 result=yes
8838 fi
8839 else
8840 result=$wxUSE_PROTOCOL
8841 fi
8842
8843 { echo "$as_me:$LINENO: result: $result" >&5
8844 echo "${ECHO_T}$result" >&6; }
8845
8846
8847 enablestring=
8848 defaultval=$wxUSE_ALL_FEATURES
8849 if test -z "$defaultval"; then
8850 if test x"$enablestring" = xdisable; then
8851 defaultval=yes
8852 else
8853 defaultval=no
8854 fi
8855 fi
8856
8857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8858 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8859 no_cache=0
8860 # Check whether --enable-protocol_http was given.
8861 if test "${enable_protocol_http+set}" = set; then
8862 enableval=$enable_protocol_http;
8863 if test "$enableval" = yes; then
8864 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8865 else
8866 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8867 fi
8868
8869 else
8870
8871 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x ; then
8873 eval "DEFAULT_$LINE"
8874 else
8875 no_cache=1
8876 fi
8877
8878 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8879
8880 fi
8881
8882
8883 eval "$wx_cv_use_protocol_http"
8884 if test "$no_cache" != 1; then
8885 echo $wx_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
8886 fi
8887
8888 if test x"$enablestring" = xdisable; then
8889 if test $wxUSE_PROTOCOL_HTTP = yes; then
8890 result=no
8891 else
8892 result=yes
8893 fi
8894 else
8895 result=$wxUSE_PROTOCOL_HTTP
8896 fi
8897
8898 { echo "$as_me:$LINENO: result: $result" >&5
8899 echo "${ECHO_T}$result" >&6; }
8900
8901
8902 enablestring=
8903 defaultval=$wxUSE_ALL_FEATURES
8904 if test -z "$defaultval"; then
8905 if test x"$enablestring" = xdisable; then
8906 defaultval=yes
8907 else
8908 defaultval=no
8909 fi
8910 fi
8911
8912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8913 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8914 no_cache=0
8915 # Check whether --enable-protocol_ftp was given.
8916 if test "${enable_protocol_ftp+set}" = set; then
8917 enableval=$enable_protocol_ftp;
8918 if test "$enableval" = yes; then
8919 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8920 else
8921 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8922 fi
8923
8924 else
8925
8926 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8927 if test "x$LINE" != x ; then
8928 eval "DEFAULT_$LINE"
8929 else
8930 no_cache=1
8931 fi
8932
8933 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8934
8935 fi
8936
8937
8938 eval "$wx_cv_use_protocol_ftp"
8939 if test "$no_cache" != 1; then
8940 echo $wx_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
8941 fi
8942
8943 if test x"$enablestring" = xdisable; then
8944 if test $wxUSE_PROTOCOL_FTP = yes; then
8945 result=no
8946 else
8947 result=yes
8948 fi
8949 else
8950 result=$wxUSE_PROTOCOL_FTP
8951 fi
8952
8953 { echo "$as_me:$LINENO: result: $result" >&5
8954 echo "${ECHO_T}$result" >&6; }
8955
8956
8957 enablestring=
8958 defaultval=$wxUSE_ALL_FEATURES
8959 if test -z "$defaultval"; then
8960 if test x"$enablestring" = xdisable; then
8961 defaultval=yes
8962 else
8963 defaultval=no
8964 fi
8965 fi
8966
8967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8968 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8969 no_cache=0
8970 # Check whether --enable-protocol_file was given.
8971 if test "${enable_protocol_file+set}" = set; then
8972 enableval=$enable_protocol_file;
8973 if test "$enableval" = yes; then
8974 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8975 else
8976 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8977 fi
8978
8979 else
8980
8981 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8982 if test "x$LINE" != x ; then
8983 eval "DEFAULT_$LINE"
8984 else
8985 no_cache=1
8986 fi
8987
8988 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8989
8990 fi
8991
8992
8993 eval "$wx_cv_use_protocol_file"
8994 if test "$no_cache" != 1; then
8995 echo $wx_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
8996 fi
8997
8998 if test x"$enablestring" = xdisable; then
8999 if test $wxUSE_PROTOCOL_FILE = yes; then
9000 result=no
9001 else
9002 result=yes
9003 fi
9004 else
9005 result=$wxUSE_PROTOCOL_FILE
9006 fi
9007
9008 { echo "$as_me:$LINENO: result: $result" >&5
9009 echo "${ECHO_T}$result" >&6; }
9010
9011
9012
9013 enablestring=
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9017 defaultval=yes
9018 else
9019 defaultval=no
9020 fi
9021 fi
9022
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9025 no_cache=0
9026 # Check whether --enable-threads was given.
9027 if test "${enable_threads+set}" = set; then
9028 enableval=$enable_threads;
9029 if test "$enableval" = yes; then
9030 wx_cv_use_threads='wxUSE_THREADS=yes'
9031 else
9032 wx_cv_use_threads='wxUSE_THREADS=no'
9033 fi
9034
9035 else
9036
9037 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9040 else
9041 no_cache=1
9042 fi
9043
9044 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9045
9046 fi
9047
9048
9049 eval "$wx_cv_use_threads"
9050 if test "$no_cache" != 1; then
9051 echo $wx_cv_use_threads >> ${wx_arg_cache_file}.tmp
9052 fi
9053
9054 if test x"$enablestring" = xdisable; then
9055 if test $wxUSE_THREADS = yes; then
9056 result=no
9057 else
9058 result=yes
9059 fi
9060 else
9061 result=$wxUSE_THREADS
9062 fi
9063
9064 { echo "$as_me:$LINENO: result: $result" >&5
9065 echo "${ECHO_T}$result" >&6; }
9066
9067
9068 if test "$wxUSE_GUI" = "yes"; then
9069
9070
9071
9072 enablestring=
9073 defaultval=$wxUSE_ALL_FEATURES
9074 if test -z "$defaultval"; then
9075 if test x"$enablestring" = xdisable; then
9076 defaultval=yes
9077 else
9078 defaultval=no
9079 fi
9080 fi
9081
9082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9083 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9084 no_cache=0
9085 # Check whether --enable-docview was given.
9086 if test "${enable_docview+set}" = set; then
9087 enableval=$enable_docview;
9088 if test "$enableval" = yes; then
9089 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9090 else
9091 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9092 fi
9093
9094 else
9095
9096 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9097 if test "x$LINE" != x ; then
9098 eval "DEFAULT_$LINE"
9099 else
9100 no_cache=1
9101 fi
9102
9103 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9104
9105 fi
9106
9107
9108 eval "$wx_cv_use_docview"
9109 if test "$no_cache" != 1; then
9110 echo $wx_cv_use_docview >> ${wx_arg_cache_file}.tmp
9111 fi
9112
9113 if test x"$enablestring" = xdisable; then
9114 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9115 result=no
9116 else
9117 result=yes
9118 fi
9119 else
9120 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9121 fi
9122
9123 { echo "$as_me:$LINENO: result: $result" >&5
9124 echo "${ECHO_T}$result" >&6; }
9125
9126
9127 enablestring=
9128 defaultval=$wxUSE_ALL_FEATURES
9129 if test -z "$defaultval"; then
9130 if test x"$enablestring" = xdisable; then
9131 defaultval=yes
9132 else
9133 defaultval=no
9134 fi
9135 fi
9136
9137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9139 no_cache=0
9140 # Check whether --enable-help was given.
9141 if test "${enable_help+set}" = set; then
9142 enableval=$enable_help;
9143 if test "$enableval" = yes; then
9144 wx_cv_use_help='wxUSE_HELP=yes'
9145 else
9146 wx_cv_use_help='wxUSE_HELP=no'
9147 fi
9148
9149 else
9150
9151 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9152 if test "x$LINE" != x ; then
9153 eval "DEFAULT_$LINE"
9154 else
9155 no_cache=1
9156 fi
9157
9158 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9159
9160 fi
9161
9162
9163 eval "$wx_cv_use_help"
9164 if test "$no_cache" != 1; then
9165 echo $wx_cv_use_help >> ${wx_arg_cache_file}.tmp
9166 fi
9167
9168 if test x"$enablestring" = xdisable; then
9169 if test $wxUSE_HELP = yes; then
9170 result=no
9171 else
9172 result=yes
9173 fi
9174 else
9175 result=$wxUSE_HELP
9176 fi
9177
9178 { echo "$as_me:$LINENO: result: $result" >&5
9179 echo "${ECHO_T}$result" >&6; }
9180
9181
9182 enablestring=
9183 defaultval=$wxUSE_ALL_FEATURES
9184 if test -z "$defaultval"; then
9185 if test x"$enablestring" = xdisable; then
9186 defaultval=yes
9187 else
9188 defaultval=no
9189 fi
9190 fi
9191
9192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9194 no_cache=0
9195 # Check whether --enable-mshtmlhelp was given.
9196 if test "${enable_mshtmlhelp+set}" = set; then
9197 enableval=$enable_mshtmlhelp;
9198 if test "$enableval" = yes; then
9199 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9200 else
9201 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9202 fi
9203
9204 else
9205
9206 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9207 if test "x$LINE" != x ; then
9208 eval "DEFAULT_$LINE"
9209 else
9210 no_cache=1
9211 fi
9212
9213 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9214
9215 fi
9216
9217
9218 eval "$wx_cv_use_mshtmlhelp"
9219 if test "$no_cache" != 1; then
9220 echo $wx_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
9221 fi
9222
9223 if test x"$enablestring" = xdisable; then
9224 if test $wxUSE_MS_HTML_HELP = yes; then
9225 result=no
9226 else
9227 result=yes
9228 fi
9229 else
9230 result=$wxUSE_MS_HTML_HELP
9231 fi
9232
9233 { echo "$as_me:$LINENO: result: $result" >&5
9234 echo "${ECHO_T}$result" >&6; }
9235
9236
9237 enablestring=
9238 defaultval=$wxUSE_ALL_FEATURES
9239 if test -z "$defaultval"; then
9240 if test x"$enablestring" = xdisable; then
9241 defaultval=yes
9242 else
9243 defaultval=no
9244 fi
9245 fi
9246
9247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9248 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9249 no_cache=0
9250 # Check whether --enable-html was given.
9251 if test "${enable_html+set}" = set; then
9252 enableval=$enable_html;
9253 if test "$enableval" = yes; then
9254 wx_cv_use_html='wxUSE_HTML=yes'
9255 else
9256 wx_cv_use_html='wxUSE_HTML=no'
9257 fi
9258
9259 else
9260
9261 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9262 if test "x$LINE" != x ; then
9263 eval "DEFAULT_$LINE"
9264 else
9265 no_cache=1
9266 fi
9267
9268 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9269
9270 fi
9271
9272
9273 eval "$wx_cv_use_html"
9274 if test "$no_cache" != 1; then
9275 echo $wx_cv_use_html >> ${wx_arg_cache_file}.tmp
9276 fi
9277
9278 if test x"$enablestring" = xdisable; then
9279 if test $wxUSE_HTML = yes; then
9280 result=no
9281 else
9282 result=yes
9283 fi
9284 else
9285 result=$wxUSE_HTML
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}-htmlhelp" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9304 no_cache=0
9305 # Check whether --enable-htmlhelp was given.
9306 if test "${enable_htmlhelp+set}" = set; then
9307 enableval=$enable_htmlhelp;
9308 if test "$enableval" = yes; then
9309 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9310 else
9311 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9312 fi
9313
9314 else
9315
9316 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x ; then
9318 eval "DEFAULT_$LINE"
9319 else
9320 no_cache=1
9321 fi
9322
9323 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9324
9325 fi
9326
9327
9328 eval "$wx_cv_use_htmlhelp"
9329 if test "$no_cache" != 1; then
9330 echo $wx_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
9331 fi
9332
9333 if test x"$enablestring" = xdisable; then
9334 if test $wxUSE_WXHTML_HELP = yes; then
9335 result=no
9336 else
9337 result=yes
9338 fi
9339 else
9340 result=$wxUSE_WXHTML_HELP
9341 fi
9342
9343 { echo "$as_me:$LINENO: result: $result" >&5
9344 echo "${ECHO_T}$result" >&6; }
9345
9346
9347 enablestring=
9348 defaultval=$wxUSE_ALL_FEATURES
9349 if test -z "$defaultval"; then
9350 if test x"$enablestring" = xdisable; then
9351 defaultval=yes
9352 else
9353 defaultval=no
9354 fi
9355 fi
9356
9357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9358 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9359 no_cache=0
9360 # Check whether --enable-xrc was given.
9361 if test "${enable_xrc+set}" = set; then
9362 enableval=$enable_xrc;
9363 if test "$enableval" = yes; then
9364 wx_cv_use_xrc='wxUSE_XRC=yes'
9365 else
9366 wx_cv_use_xrc='wxUSE_XRC=no'
9367 fi
9368
9369 else
9370
9371 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x ; then
9373 eval "DEFAULT_$LINE"
9374 else
9375 no_cache=1
9376 fi
9377
9378 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9379
9380 fi
9381
9382
9383 eval "$wx_cv_use_xrc"
9384 if test "$no_cache" != 1; then
9385 echo $wx_cv_use_xrc >> ${wx_arg_cache_file}.tmp
9386 fi
9387
9388 if test x"$enablestring" = xdisable; then
9389 if test $wxUSE_XRC = yes; then
9390 result=no
9391 else
9392 result=yes
9393 fi
9394 else
9395 result=$wxUSE_XRC
9396 fi
9397
9398 { echo "$as_me:$LINENO: result: $result" >&5
9399 echo "${ECHO_T}$result" >&6; }
9400
9401
9402 enablestring=
9403 defaultval=$wxUSE_ALL_FEATURES
9404 if test -z "$defaultval"; then
9405 if test x"$enablestring" = xdisable; then
9406 defaultval=yes
9407 else
9408 defaultval=no
9409 fi
9410 fi
9411
9412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9413 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9414 no_cache=0
9415 # Check whether --enable-aui was given.
9416 if test "${enable_aui+set}" = set; then
9417 enableval=$enable_aui;
9418 if test "$enableval" = yes; then
9419 wx_cv_use_aui='wxUSE_AUI=yes'
9420 else
9421 wx_cv_use_aui='wxUSE_AUI=no'
9422 fi
9423
9424 else
9425
9426 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9427 if test "x$LINE" != x ; then
9428 eval "DEFAULT_$LINE"
9429 else
9430 no_cache=1
9431 fi
9432
9433 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9434
9435 fi
9436
9437
9438 eval "$wx_cv_use_aui"
9439 if test "$no_cache" != 1; then
9440 echo $wx_cv_use_aui >> ${wx_arg_cache_file}.tmp
9441 fi
9442
9443 if test x"$enablestring" = xdisable; then
9444 if test $wxUSE_AUI = yes; then
9445 result=no
9446 else
9447 result=yes
9448 fi
9449 else
9450 result=$wxUSE_AUI
9451 fi
9452
9453 { echo "$as_me:$LINENO: result: $result" >&5
9454 echo "${ECHO_T}$result" >&6; }
9455
9456
9457 enablestring=
9458 defaultval=$wxUSE_ALL_FEATURES
9459 if test -z "$defaultval"; then
9460 if test x"$enablestring" = xdisable; then
9461 defaultval=yes
9462 else
9463 defaultval=no
9464 fi
9465 fi
9466
9467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9468 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9469 no_cache=0
9470 # Check whether --enable-stc was given.
9471 if test "${enable_stc+set}" = set; then
9472 enableval=$enable_stc;
9473 if test "$enableval" = yes; then
9474 wx_cv_use_stc='wxUSE_STC=yes'
9475 else
9476 wx_cv_use_stc='wxUSE_STC=no'
9477 fi
9478
9479 else
9480
9481 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9482 if test "x$LINE" != x ; then
9483 eval "DEFAULT_$LINE"
9484 else
9485 no_cache=1
9486 fi
9487
9488 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9489
9490 fi
9491
9492
9493 eval "$wx_cv_use_stc"
9494 if test "$no_cache" != 1; then
9495 echo $wx_cv_use_stc >> ${wx_arg_cache_file}.tmp
9496 fi
9497
9498 if test x"$enablestring" = xdisable; then
9499 if test $wxUSE_STC = yes; then
9500 result=no
9501 else
9502 result=yes
9503 fi
9504 else
9505 result=$wxUSE_STC
9506 fi
9507
9508 { echo "$as_me:$LINENO: result: $result" >&5
9509 echo "${ECHO_T}$result" >&6; }
9510
9511
9512 enablestring=
9513 defaultval=$wxUSE_ALL_FEATURES
9514 if test -z "$defaultval"; then
9515 if test x"$enablestring" = xdisable; then
9516 defaultval=yes
9517 else
9518 defaultval=no
9519 fi
9520 fi
9521
9522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9524 no_cache=0
9525 # Check whether --enable-constraints was given.
9526 if test "${enable_constraints+set}" = set; then
9527 enableval=$enable_constraints;
9528 if test "$enableval" = yes; then
9529 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9530 else
9531 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9532 fi
9533
9534 else
9535
9536 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9537 if test "x$LINE" != x ; then
9538 eval "DEFAULT_$LINE"
9539 else
9540 no_cache=1
9541 fi
9542
9543 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9544
9545 fi
9546
9547
9548 eval "$wx_cv_use_constraints"
9549 if test "$no_cache" != 1; then
9550 echo $wx_cv_use_constraints >> ${wx_arg_cache_file}.tmp
9551 fi
9552
9553 if test x"$enablestring" = xdisable; then
9554 if test $wxUSE_CONSTRAINTS = yes; then
9555 result=no
9556 else
9557 result=yes
9558 fi
9559 else
9560 result=$wxUSE_CONSTRAINTS
9561 fi
9562
9563 { echo "$as_me:$LINENO: result: $result" >&5
9564 echo "${ECHO_T}$result" >&6; }
9565
9566
9567 enablestring=
9568 defaultval=$wxUSE_ALL_FEATURES
9569 if test -z "$defaultval"; then
9570 if test x"$enablestring" = xdisable; then
9571 defaultval=yes
9572 else
9573 defaultval=no
9574 fi
9575 fi
9576
9577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9579 no_cache=0
9580 # Check whether --enable-printarch was given.
9581 if test "${enable_printarch+set}" = set; then
9582 enableval=$enable_printarch;
9583 if test "$enableval" = yes; then
9584 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9585 else
9586 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9587 fi
9588
9589 else
9590
9591 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9592 if test "x$LINE" != x ; then
9593 eval "DEFAULT_$LINE"
9594 else
9595 no_cache=1
9596 fi
9597
9598 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9599
9600 fi
9601
9602
9603 eval "$wx_cv_use_printarch"
9604 if test "$no_cache" != 1; then
9605 echo $wx_cv_use_printarch >> ${wx_arg_cache_file}.tmp
9606 fi
9607
9608 if test x"$enablestring" = xdisable; then
9609 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9610 result=no
9611 else
9612 result=yes
9613 fi
9614 else
9615 result=$wxUSE_PRINTING_ARCHITECTURE
9616 fi
9617
9618 { echo "$as_me:$LINENO: result: $result" >&5
9619 echo "${ECHO_T}$result" >&6; }
9620
9621
9622 enablestring=
9623 defaultval=$wxUSE_ALL_FEATURES
9624 if test -z "$defaultval"; then
9625 if test x"$enablestring" = xdisable; then
9626 defaultval=yes
9627 else
9628 defaultval=no
9629 fi
9630 fi
9631
9632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9634 no_cache=0
9635 # Check whether --enable-mdi was given.
9636 if test "${enable_mdi+set}" = set; then
9637 enableval=$enable_mdi;
9638 if test "$enableval" = yes; then
9639 wx_cv_use_mdi='wxUSE_MDI=yes'
9640 else
9641 wx_cv_use_mdi='wxUSE_MDI=no'
9642 fi
9643
9644 else
9645
9646 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9647 if test "x$LINE" != x ; then
9648 eval "DEFAULT_$LINE"
9649 else
9650 no_cache=1
9651 fi
9652
9653 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9654
9655 fi
9656
9657
9658 eval "$wx_cv_use_mdi"
9659 if test "$no_cache" != 1; then
9660 echo $wx_cv_use_mdi >> ${wx_arg_cache_file}.tmp
9661 fi
9662
9663 if test x"$enablestring" = xdisable; then
9664 if test $wxUSE_MDI = yes; then
9665 result=no
9666 else
9667 result=yes
9668 fi
9669 else
9670 result=$wxUSE_MDI
9671 fi
9672
9673 { echo "$as_me:$LINENO: result: $result" >&5
9674 echo "${ECHO_T}$result" >&6; }
9675
9676
9677 enablestring=
9678 defaultval=$wxUSE_ALL_FEATURES
9679 if test -z "$defaultval"; then
9680 if test x"$enablestring" = xdisable; then
9681 defaultval=yes
9682 else
9683 defaultval=no
9684 fi
9685 fi
9686
9687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9688 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9689 no_cache=0
9690 # Check whether --enable-mdidoc was given.
9691 if test "${enable_mdidoc+set}" = set; then
9692 enableval=$enable_mdidoc;
9693 if test "$enableval" = yes; then
9694 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9695 else
9696 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9697 fi
9698
9699 else
9700
9701 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9702 if test "x$LINE" != x ; then
9703 eval "DEFAULT_$LINE"
9704 else
9705 no_cache=1
9706 fi
9707
9708 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9709
9710 fi
9711
9712
9713 eval "$wx_cv_use_mdidoc"
9714 if test "$no_cache" != 1; then
9715 echo $wx_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
9716 fi
9717
9718 if test x"$enablestring" = xdisable; then
9719 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9720 result=no
9721 else
9722 result=yes
9723 fi
9724 else
9725 result=$wxUSE_MDI_ARCHITECTURE
9726 fi
9727
9728 { echo "$as_me:$LINENO: result: $result" >&5
9729 echo "${ECHO_T}$result" >&6; }
9730
9731
9732 enablestring=
9733 defaultval=$wxUSE_ALL_FEATURES
9734 if test -z "$defaultval"; then
9735 if test x"$enablestring" = xdisable; then
9736 defaultval=yes
9737 else
9738 defaultval=no
9739 fi
9740 fi
9741
9742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9743 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9744 no_cache=0
9745 # Check whether --enable-loggui was given.
9746 if test "${enable_loggui+set}" = set; then
9747 enableval=$enable_loggui;
9748 if test "$enableval" = yes; then
9749 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9750 else
9751 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9752 fi
9753
9754 else
9755
9756 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9757 if test "x$LINE" != x ; then
9758 eval "DEFAULT_$LINE"
9759 else
9760 no_cache=1
9761 fi
9762
9763 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9764
9765 fi
9766
9767
9768 eval "$wx_cv_use_loggui"
9769 if test "$no_cache" != 1; then
9770 echo $wx_cv_use_loggui >> ${wx_arg_cache_file}.tmp
9771 fi
9772
9773 if test x"$enablestring" = xdisable; then
9774 if test $wxUSE_LOGGUI = yes; then
9775 result=no
9776 else
9777 result=yes
9778 fi
9779 else
9780 result=$wxUSE_LOGGUI
9781 fi
9782
9783 { echo "$as_me:$LINENO: result: $result" >&5
9784 echo "${ECHO_T}$result" >&6; }
9785
9786
9787 enablestring=
9788 defaultval=$wxUSE_ALL_FEATURES
9789 if test -z "$defaultval"; then
9790 if test x"$enablestring" = xdisable; then
9791 defaultval=yes
9792 else
9793 defaultval=no
9794 fi
9795 fi
9796
9797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9798 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9799 no_cache=0
9800 # Check whether --enable-logwin was given.
9801 if test "${enable_logwin+set}" = set; then
9802 enableval=$enable_logwin;
9803 if test "$enableval" = yes; then
9804 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9805 else
9806 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9807 fi
9808
9809 else
9810
9811 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x ; then
9813 eval "DEFAULT_$LINE"
9814 else
9815 no_cache=1
9816 fi
9817
9818 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9819
9820 fi
9821
9822
9823 eval "$wx_cv_use_logwin"
9824 if test "$no_cache" != 1; then
9825 echo $wx_cv_use_logwin >> ${wx_arg_cache_file}.tmp
9826 fi
9827
9828 if test x"$enablestring" = xdisable; then
9829 if test $wxUSE_LOGWINDOW = yes; then
9830 result=no
9831 else
9832 result=yes
9833 fi
9834 else
9835 result=$wxUSE_LOGWINDOW
9836 fi
9837
9838 { echo "$as_me:$LINENO: result: $result" >&5
9839 echo "${ECHO_T}$result" >&6; }
9840
9841
9842 enablestring=
9843 defaultval=$wxUSE_ALL_FEATURES
9844 if test -z "$defaultval"; then
9845 if test x"$enablestring" = xdisable; then
9846 defaultval=yes
9847 else
9848 defaultval=no
9849 fi
9850 fi
9851
9852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9853 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9854 no_cache=0
9855 # Check whether --enable-logdialog was given.
9856 if test "${enable_logdialog+set}" = set; then
9857 enableval=$enable_logdialog;
9858 if test "$enableval" = yes; then
9859 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9860 else
9861 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9862 fi
9863
9864 else
9865
9866 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9867 if test "x$LINE" != x ; then
9868 eval "DEFAULT_$LINE"
9869 else
9870 no_cache=1
9871 fi
9872
9873 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9874
9875 fi
9876
9877
9878 eval "$wx_cv_use_logdialog"
9879 if test "$no_cache" != 1; then
9880 echo $wx_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
9881 fi
9882
9883 if test x"$enablestring" = xdisable; then
9884 if test $wxUSE_LOGDIALOG = yes; then
9885 result=no
9886 else
9887 result=yes
9888 fi
9889 else
9890 result=$wxUSE_LOGDIALOG
9891 fi
9892
9893 { echo "$as_me:$LINENO: result: $result" >&5
9894 echo "${ECHO_T}$result" >&6; }
9895
9896
9897 enablestring=
9898 defaultval=$wxUSE_ALL_FEATURES
9899 if test -z "$defaultval"; then
9900 if test x"$enablestring" = xdisable; then
9901 defaultval=yes
9902 else
9903 defaultval=no
9904 fi
9905 fi
9906
9907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9909 no_cache=0
9910 # Check whether --enable-webkit was given.
9911 if test "${enable_webkit+set}" = set; then
9912 enableval=$enable_webkit;
9913 if test "$enableval" = yes; then
9914 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9915 else
9916 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9917 fi
9918
9919 else
9920
9921 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9922 if test "x$LINE" != x ; then
9923 eval "DEFAULT_$LINE"
9924 else
9925 no_cache=1
9926 fi
9927
9928 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9929
9930 fi
9931
9932
9933 eval "$wx_cv_use_webkit"
9934 if test "$no_cache" != 1; then
9935 echo $wx_cv_use_webkit >> ${wx_arg_cache_file}.tmp
9936 fi
9937
9938 if test x"$enablestring" = xdisable; then
9939 if test $wxUSE_WEBKIT = yes; then
9940 result=no
9941 else
9942 result=yes
9943 fi
9944 else
9945 result=$wxUSE_WEBKIT
9946 fi
9947
9948 { echo "$as_me:$LINENO: result: $result" >&5
9949 echo "${ECHO_T}$result" >&6; }
9950
9951
9952 enablestring=
9953 defaultval=$wxUSE_ALL_FEATURES
9954 if test -z "$defaultval"; then
9955 if test x"$enablestring" = xdisable; then
9956 defaultval=yes
9957 else
9958 defaultval=no
9959 fi
9960 fi
9961
9962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9963 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9964 no_cache=0
9965 # Check whether --enable-richtext was given.
9966 if test "${enable_richtext+set}" = set; then
9967 enableval=$enable_richtext;
9968 if test "$enableval" = yes; then
9969 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9970 else
9971 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9972 fi
9973
9974 else
9975
9976 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9977 if test "x$LINE" != x ; then
9978 eval "DEFAULT_$LINE"
9979 else
9980 no_cache=1
9981 fi
9982
9983 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9984
9985 fi
9986
9987
9988 eval "$wx_cv_use_richtext"
9989 if test "$no_cache" != 1; then
9990 echo $wx_cv_use_richtext >> ${wx_arg_cache_file}.tmp
9991 fi
9992
9993 if test x"$enablestring" = xdisable; then
9994 if test $wxUSE_RICHTEXT = yes; then
9995 result=no
9996 else
9997 result=yes
9998 fi
9999 else
10000 result=$wxUSE_RICHTEXT
10001 fi
10002
10003 { echo "$as_me:$LINENO: result: $result" >&5
10004 echo "${ECHO_T}$result" >&6; }
10005
10006
10007 enablestring=
10008 defaultval=$wxUSE_ALL_FEATURES
10009 if test -z "$defaultval"; then
10010 if test x"$enablestring" = xdisable; then
10011 defaultval=yes
10012 else
10013 defaultval=no
10014 fi
10015 fi
10016
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10019 no_cache=0
10020 # Check whether --enable-graphics_ctx was given.
10021 if test "${enable_graphics_ctx+set}" = set; then
10022 enableval=$enable_graphics_ctx;
10023 if test "$enableval" = yes; then
10024 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10025 else
10026 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10027 fi
10028
10029 else
10030
10031 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10032 if test "x$LINE" != x ; then
10033 eval "DEFAULT_$LINE"
10034 else
10035 no_cache=1
10036 fi
10037
10038 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10039
10040 fi
10041
10042
10043 eval "$wx_cv_use_graphics_ctx"
10044 if test "$no_cache" != 1; then
10045 echo $wx_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
10046 fi
10047
10048 if test x"$enablestring" = xdisable; then
10049 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10050 result=no
10051 else
10052 result=yes
10053 fi
10054 else
10055 result=$wxUSE_GRAPHICS_CONTEXT
10056 fi
10057
10058 { echo "$as_me:$LINENO: result: $result" >&5
10059 echo "${ECHO_T}$result" >&6; }
10060
10061
10062 enablestring=
10063 defaultval=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x"$enablestring" = xdisable; then
10066 defaultval=yes
10067 else
10068 defaultval=no
10069 fi
10070 fi
10071
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10074 no_cache=0
10075 # Check whether --enable-postscript was given.
10076 if test "${enable_postscript+set}" = set; then
10077 enableval=$enable_postscript;
10078 if test "$enableval" = yes; then
10079 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10080 else
10081 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10082 fi
10083
10084 else
10085
10086 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x ; then
10088 eval "DEFAULT_$LINE"
10089 else
10090 no_cache=1
10091 fi
10092
10093 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10094
10095 fi
10096
10097
10098 eval "$wx_cv_use_postscript"
10099 if test "$no_cache" != 1; then
10100 echo $wx_cv_use_postscript >> ${wx_arg_cache_file}.tmp
10101 fi
10102
10103 if test x"$enablestring" = xdisable; then
10104 if test $wxUSE_POSTSCRIPT = yes; then
10105 result=no
10106 else
10107 result=yes
10108 fi
10109 else
10110 result=$wxUSE_POSTSCRIPT
10111 fi
10112
10113 { echo "$as_me:$LINENO: result: $result" >&5
10114 echo "${ECHO_T}$result" >&6; }
10115
10116
10117 enablestring=
10118 defaultval=$wxUSE_ALL_FEATURES
10119 if test -z "$defaultval"; then
10120 if test x"$enablestring" = xdisable; then
10121 defaultval=yes
10122 else
10123 defaultval=no
10124 fi
10125 fi
10126
10127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10128 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10129 no_cache=0
10130 # Check whether --enable-svg was given.
10131 if test "${enable_svg+set}" = set; then
10132 enableval=$enable_svg;
10133 if test "$enableval" = yes; then
10134 wx_cv_use_svg='wxUSE_SVG=yes'
10135 else
10136 wx_cv_use_svg='wxUSE_SVG=no'
10137 fi
10138
10139 else
10140
10141 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10142 if test "x$LINE" != x ; then
10143 eval "DEFAULT_$LINE"
10144 else
10145 no_cache=1
10146 fi
10147
10148 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10149
10150 fi
10151
10152
10153 eval "$wx_cv_use_svg"
10154 if test "$no_cache" != 1; then
10155 echo $wx_cv_use_svg >> ${wx_arg_cache_file}.tmp
10156 fi
10157
10158 if test x"$enablestring" = xdisable; then
10159 if test $wxUSE_SVG = yes; then
10160 result=no
10161 else
10162 result=yes
10163 fi
10164 else
10165 result=$wxUSE_SVG
10166 fi
10167
10168 { echo "$as_me:$LINENO: result: $result" >&5
10169 echo "${ECHO_T}$result" >&6; }
10170
10171
10172
10173
10174 enablestring=
10175 defaultval=$wxUSE_ALL_FEATURES
10176 if test -z "$defaultval"; then
10177 if test x"$enablestring" = xdisable; then
10178 defaultval=yes
10179 else
10180 defaultval=no
10181 fi
10182 fi
10183
10184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10185 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10186 no_cache=0
10187 # Check whether --enable-clipboard was given.
10188 if test "${enable_clipboard+set}" = set; then
10189 enableval=$enable_clipboard;
10190 if test "$enableval" = yes; then
10191 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10192 else
10193 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10194 fi
10195
10196 else
10197
10198 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10199 if test "x$LINE" != x ; then
10200 eval "DEFAULT_$LINE"
10201 else
10202 no_cache=1
10203 fi
10204
10205 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10206
10207 fi
10208
10209
10210 eval "$wx_cv_use_clipboard"
10211 if test "$no_cache" != 1; then
10212 echo $wx_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
10213 fi
10214
10215 if test x"$enablestring" = xdisable; then
10216 if test $wxUSE_CLIPBOARD = yes; then
10217 result=no
10218 else
10219 result=yes
10220 fi
10221 else
10222 result=$wxUSE_CLIPBOARD
10223 fi
10224
10225 { echo "$as_me:$LINENO: result: $result" >&5
10226 echo "${ECHO_T}$result" >&6; }
10227
10228
10229 enablestring=
10230 defaultval=$wxUSE_ALL_FEATURES
10231 if test -z "$defaultval"; then
10232 if test x"$enablestring" = xdisable; then
10233 defaultval=yes
10234 else
10235 defaultval=no
10236 fi
10237 fi
10238
10239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10241 no_cache=0
10242 # Check whether --enable-dnd was given.
10243 if test "${enable_dnd+set}" = set; then
10244 enableval=$enable_dnd;
10245 if test "$enableval" = yes; then
10246 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10247 else
10248 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10249 fi
10250
10251 else
10252
10253 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10254 if test "x$LINE" != x ; then
10255 eval "DEFAULT_$LINE"
10256 else
10257 no_cache=1
10258 fi
10259
10260 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10261
10262 fi
10263
10264
10265 eval "$wx_cv_use_dnd"
10266 if test "$no_cache" != 1; then
10267 echo $wx_cv_use_dnd >> ${wx_arg_cache_file}.tmp
10268 fi
10269
10270 if test x"$enablestring" = xdisable; then
10271 if test $wxUSE_DRAG_AND_DROP = yes; then
10272 result=no
10273 else
10274 result=yes
10275 fi
10276 else
10277 result=$wxUSE_DRAG_AND_DROP
10278 fi
10279
10280 { echo "$as_me:$LINENO: result: $result" >&5
10281 echo "${ECHO_T}$result" >&6; }
10282
10283
10284 enablestring=
10285 defaultval=$wxUSE_ALL_FEATURES
10286 if test -z "$defaultval"; then
10287 if test x"$enablestring" = xdisable; then
10288 defaultval=yes
10289 else
10290 defaultval=no
10291 fi
10292 fi
10293
10294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10295 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10296 no_cache=0
10297 # Check whether --enable-metafile was given.
10298 if test "${enable_metafile+set}" = set; then
10299 enableval=$enable_metafile;
10300 if test "$enableval" = yes; then
10301 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10302 else
10303 wx_cv_use_metafile='wxUSE_METAFILE=no'
10304 fi
10305
10306 else
10307
10308 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10309 if test "x$LINE" != x ; then
10310 eval "DEFAULT_$LINE"
10311 else
10312 no_cache=1
10313 fi
10314
10315 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10316
10317 fi
10318
10319
10320 eval "$wx_cv_use_metafile"
10321 if test "$no_cache" != 1; then
10322 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10323 fi
10324
10325 if test x"$enablestring" = xdisable; then
10326 if test $wxUSE_METAFILE = yes; then
10327 result=no
10328 else
10329 result=yes
10330 fi
10331 else
10332 result=$wxUSE_METAFILE
10333 fi
10334
10335 { echo "$as_me:$LINENO: result: $result" >&5
10336 echo "${ECHO_T}$result" >&6; }
10337
10338
10339
10340 DEFAULT_wxUSE_CONTROLS=none
10341
10342 enablestring=disable
10343 defaultval=
10344 if test -z "$defaultval"; then
10345 if test x"$enablestring" = xdisable; then
10346 defaultval=yes
10347 else
10348 defaultval=no
10349 fi
10350 fi
10351
10352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10354 no_cache=0
10355 # Check whether --enable-controls was given.
10356 if test "${enable_controls+set}" = set; then
10357 enableval=$enable_controls;
10358 if test "$enableval" = yes; then
10359 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10360 else
10361 wx_cv_use_controls='wxUSE_CONTROLS=no'
10362 fi
10363
10364 else
10365
10366 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10367 if test "x$LINE" != x ; then
10368 eval "DEFAULT_$LINE"
10369 else
10370 no_cache=1
10371 fi
10372
10373 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10374
10375 fi
10376
10377
10378 eval "$wx_cv_use_controls"
10379 if test "$no_cache" != 1; then
10380 echo $wx_cv_use_controls >> ${wx_arg_cache_file}.tmp
10381 fi
10382
10383 if test x"$enablestring" = xdisable; then
10384 if test $wxUSE_CONTROLS = yes; then
10385 result=no
10386 else
10387 result=yes
10388 fi
10389 else
10390 result=$wxUSE_CONTROLS
10391 fi
10392
10393 { echo "$as_me:$LINENO: result: $result" >&5
10394 echo "${ECHO_T}$result" >&6; }
10395
10396
10397 if test "$wxUSE_CONTROLS" = "yes"; then
10398 DEFAULT_wxUSE_ACCEL=yes
10399 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10400 DEFAULT_wxUSE_BMPBUTTON=yes
10401 DEFAULT_wxUSE_BUTTON=yes
10402 DEFAULT_wxUSE_CALCTRL=yes
10403 DEFAULT_wxUSE_CARET=yes
10404 DEFAULT_wxUSE_COMBOBOX=yes
10405 DEFAULT_wxUSE_CHECKBOX=yes
10406 DEFAULT_wxUSE_CHECKLISTBOX=yes
10407 DEFAULT_wxUSE_CHOICE=yes
10408 DEFAULT_wxUSE_CHOICEBOOK=yes
10409 DEFAULT_wxUSE_COLLPANE=yes
10410 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10411 DEFAULT_wxUSE_COMBOBOX=yes
10412 DEFAULT_wxUSE_DATEPICKCTRL=yes
10413 DEFAULT_wxUSE_DISPLAY=yes
10414 DEFAULT_wxUSE_DETECT_SM=yes
10415 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10416 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10417 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10418 DEFAULT_wxUSE_GAUGE=yes
10419 DEFAULT_wxUSE_GRID=yes
10420 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10421 DEFAULT_wxUSE_DATAVIEWCTRL=no
10422 DEFAULT_wxUSE_IMAGLIST=yes
10423 DEFAULT_wxUSE_LISTBOOK=yes
10424 DEFAULT_wxUSE_LISTBOX=yes
10425 DEFAULT_wxUSE_LISTCTRL=yes
10426 DEFAULT_wxUSE_NOTEBOOK=yes
10427 DEFAULT_wxUSE_RADIOBOX=yes
10428 DEFAULT_wxUSE_RADIOBTN=yes
10429 DEFAULT_wxUSE_SASH=yes
10430 DEFAULT_wxUSE_SCROLLBAR=yes
10431 DEFAULT_wxUSE_SEARCHCTRL=yes
10432 DEFAULT_wxUSE_SLIDER=yes
10433 DEFAULT_wxUSE_SPINBTN=yes
10434 DEFAULT_wxUSE_SPINCTRL=yes
10435 DEFAULT_wxUSE_SPLITTER=yes
10436 DEFAULT_wxUSE_STATBMP=yes
10437 DEFAULT_wxUSE_STATBOX=yes
10438 DEFAULT_wxUSE_STATLINE=yes
10439 DEFAULT_wxUSE_STATUSBAR=yes
10440 DEFAULT_wxUSE_TAB_DIALOG=yes
10441 DEFAULT_wxUSE_TOGGLEBTN=yes
10442 DEFAULT_wxUSE_TOOLBAR=yes
10443 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10444 DEFAULT_wxUSE_TOOLTIPS=yes
10445 DEFAULT_wxUSE_TREEBOOK=yes
10446 DEFAULT_wxUSE_TOOLBOOK=yes
10447 DEFAULT_wxUSE_TREECTRL=yes
10448 DEFAULT_wxUSE_POPUPWIN=yes
10449 DEFAULT_wxUSE_TIPWINDOW=yes
10450 elif test "$wxUSE_CONTROLS" = "no"; then
10451 DEFAULT_wxUSE_ACCEL=no
10452 DEFAULT_wxUSE_ANIMATIONCTRL=no
10453 DEFAULT_wxUSE_BMPBUTTON=no
10454 DEFAULT_wxUSE_BUTTON=no
10455 DEFAULT_wxUSE_CALCTRL=no
10456 DEFAULT_wxUSE_CARET=no
10457 DEFAULT_wxUSE_COLLPANE=no
10458 DEFAULT_wxUSE_COMBOBOX=no
10459 DEFAULT_wxUSE_CHECKBOX=no
10460 DEFAULT_wxUSE_CHECKLISTBOX=no
10461 DEFAULT_wxUSE_CHOICE=no
10462 DEFAULT_wxUSE_CHOICEBOOK=no
10463 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10464 DEFAULT_wxUSE_COMBOBOX=no
10465 DEFAULT_wxUSE_DATEPICKCTRL=no
10466 DEFAULT_wxUSE_DISPLAY=no
10467 DEFAULT_wxUSE_DETECT_SM=no
10468 DEFAULT_wxUSE_DIRPICKERCTRL=no
10469 DEFAULT_wxUSE_FILEPICKERCTRL=no
10470 DEFAULT_wxUSE_FONTPICKERCTRL=no
10471 DEFAULT_wxUSE_GAUGE=no
10472 DEFAULT_wxUSE_GRID=no
10473 DEFAULT_wxUSE_HYPERLINKCTRL=no
10474 DEFAULT_wxUSE_DATAVIEWCTRL=no
10475 DEFAULT_wxUSE_IMAGLIST=no
10476 DEFAULT_wxUSE_LISTBOOK=no
10477 DEFAULT_wxUSE_LISTBOX=no
10478 DEFAULT_wxUSE_LISTCTRL=no
10479 DEFAULT_wxUSE_NOTEBOOK=no
10480 DEFAULT_wxUSE_RADIOBOX=no
10481 DEFAULT_wxUSE_RADIOBTN=no
10482 DEFAULT_wxUSE_SASH=no
10483 DEFAULT_wxUSE_SCROLLBAR=no
10484 DEFAULT_wxUSE_SEARCHCTRL=no
10485 DEFAULT_wxUSE_SLIDER=no
10486 DEFAULT_wxUSE_SPINBTN=no
10487 DEFAULT_wxUSE_SPINCTRL=no
10488 DEFAULT_wxUSE_SPLITTER=no
10489 DEFAULT_wxUSE_STATBMP=no
10490 DEFAULT_wxUSE_STATBOX=no
10491 DEFAULT_wxUSE_STATLINE=no
10492 DEFAULT_wxUSE_STATUSBAR=no
10493 DEFAULT_wxUSE_TAB_DIALOG=no
10494 DEFAULT_wxUSE_TOGGLEBTN=no
10495 DEFAULT_wxUSE_TOOLBAR=no
10496 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10497 DEFAULT_wxUSE_TOOLTIPS=no
10498 DEFAULT_wxUSE_TREEBOOK=no
10499 DEFAULT_wxUSE_TOOLBOOK=no
10500 DEFAULT_wxUSE_TREECTRL=no
10501 DEFAULT_wxUSE_POPUPWIN=no
10502 DEFAULT_wxUSE_TIPWINDOW=no
10503 fi
10504
10505
10506 enablestring=
10507 defaultval=$wxUSE_ALL_FEATURES
10508 if test -z "$defaultval"; then
10509 if test x"$enablestring" = xdisable; then
10510 defaultval=yes
10511 else
10512 defaultval=no
10513 fi
10514 fi
10515
10516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10517 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10518 no_cache=0
10519 # Check whether --enable-accel was given.
10520 if test "${enable_accel+set}" = set; then
10521 enableval=$enable_accel;
10522 if test "$enableval" = yes; then
10523 wx_cv_use_accel='wxUSE_ACCEL=yes'
10524 else
10525 wx_cv_use_accel='wxUSE_ACCEL=no'
10526 fi
10527
10528 else
10529
10530 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10531 if test "x$LINE" != x ; then
10532 eval "DEFAULT_$LINE"
10533 else
10534 no_cache=1
10535 fi
10536
10537 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10538
10539 fi
10540
10541
10542 eval "$wx_cv_use_accel"
10543 if test "$no_cache" != 1; then
10544 echo $wx_cv_use_accel >> ${wx_arg_cache_file}.tmp
10545 fi
10546
10547 if test x"$enablestring" = xdisable; then
10548 if test $wxUSE_ACCEL = yes; then
10549 result=no
10550 else
10551 result=yes
10552 fi
10553 else
10554 result=$wxUSE_ACCEL
10555 fi
10556
10557 { echo "$as_me:$LINENO: result: $result" >&5
10558 echo "${ECHO_T}$result" >&6; }
10559
10560
10561 enablestring=
10562 defaultval=$wxUSE_ALL_FEATURES
10563 if test -z "$defaultval"; then
10564 if test x"$enablestring" = xdisable; then
10565 defaultval=yes
10566 else
10567 defaultval=no
10568 fi
10569 fi
10570
10571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10572 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10573 no_cache=0
10574 # Check whether --enable-animatectrl was given.
10575 if test "${enable_animatectrl+set}" = set; then
10576 enableval=$enable_animatectrl;
10577 if test "$enableval" = yes; then
10578 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10579 else
10580 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10581 fi
10582
10583 else
10584
10585 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10586 if test "x$LINE" != x ; then
10587 eval "DEFAULT_$LINE"
10588 else
10589 no_cache=1
10590 fi
10591
10592 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10593
10594 fi
10595
10596
10597 eval "$wx_cv_use_animatectrl"
10598 if test "$no_cache" != 1; then
10599 echo $wx_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
10600 fi
10601
10602 if test x"$enablestring" = xdisable; then
10603 if test $wxUSE_ANIMATIONCTRL = yes; then
10604 result=no
10605 else
10606 result=yes
10607 fi
10608 else
10609 result=$wxUSE_ANIMATIONCTRL
10610 fi
10611
10612 { echo "$as_me:$LINENO: result: $result" >&5
10613 echo "${ECHO_T}$result" >&6; }
10614
10615
10616 enablestring=
10617 defaultval=$wxUSE_ALL_FEATURES
10618 if test -z "$defaultval"; then
10619 if test x"$enablestring" = xdisable; then
10620 defaultval=yes
10621 else
10622 defaultval=no
10623 fi
10624 fi
10625
10626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10627 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10628 no_cache=0
10629 # Check whether --enable-button was given.
10630 if test "${enable_button+set}" = set; then
10631 enableval=$enable_button;
10632 if test "$enableval" = yes; then
10633 wx_cv_use_button='wxUSE_BUTTON=yes'
10634 else
10635 wx_cv_use_button='wxUSE_BUTTON=no'
10636 fi
10637
10638 else
10639
10640 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10641 if test "x$LINE" != x ; then
10642 eval "DEFAULT_$LINE"
10643 else
10644 no_cache=1
10645 fi
10646
10647 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10648
10649 fi
10650
10651
10652 eval "$wx_cv_use_button"
10653 if test "$no_cache" != 1; then
10654 echo $wx_cv_use_button >> ${wx_arg_cache_file}.tmp
10655 fi
10656
10657 if test x"$enablestring" = xdisable; then
10658 if test $wxUSE_BUTTON = yes; then
10659 result=no
10660 else
10661 result=yes
10662 fi
10663 else
10664 result=$wxUSE_BUTTON
10665 fi
10666
10667 { echo "$as_me:$LINENO: result: $result" >&5
10668 echo "${ECHO_T}$result" >&6; }
10669
10670
10671 enablestring=
10672 defaultval=$wxUSE_ALL_FEATURES
10673 if test -z "$defaultval"; then
10674 if test x"$enablestring" = xdisable; then
10675 defaultval=yes
10676 else
10677 defaultval=no
10678 fi
10679 fi
10680
10681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10682 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10683 no_cache=0
10684 # Check whether --enable-bmpbutton was given.
10685 if test "${enable_bmpbutton+set}" = set; then
10686 enableval=$enable_bmpbutton;
10687 if test "$enableval" = yes; then
10688 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10689 else
10690 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10691 fi
10692
10693 else
10694
10695 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10696 if test "x$LINE" != x ; then
10697 eval "DEFAULT_$LINE"
10698 else
10699 no_cache=1
10700 fi
10701
10702 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10703
10704 fi
10705
10706
10707 eval "$wx_cv_use_bmpbutton"
10708 if test "$no_cache" != 1; then
10709 echo $wx_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
10710 fi
10711
10712 if test x"$enablestring" = xdisable; then
10713 if test $wxUSE_BMPBUTTON = yes; then
10714 result=no
10715 else
10716 result=yes
10717 fi
10718 else
10719 result=$wxUSE_BMPBUTTON
10720 fi
10721
10722 { echo "$as_me:$LINENO: result: $result" >&5
10723 echo "${ECHO_T}$result" >&6; }
10724
10725
10726 enablestring=
10727 defaultval=$wxUSE_ALL_FEATURES
10728 if test -z "$defaultval"; then
10729 if test x"$enablestring" = xdisable; then
10730 defaultval=yes
10731 else
10732 defaultval=no
10733 fi
10734 fi
10735
10736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10737 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10738 no_cache=0
10739 # Check whether --enable-bmpcombobox was given.
10740 if test "${enable_bmpcombobox+set}" = set; then
10741 enableval=$enable_bmpcombobox;
10742 if test "$enableval" = yes; then
10743 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10744 else
10745 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10746 fi
10747
10748 else
10749
10750 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10751 if test "x$LINE" != x ; then
10752 eval "DEFAULT_$LINE"
10753 else
10754 no_cache=1
10755 fi
10756
10757 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10758
10759 fi
10760
10761
10762 eval "$wx_cv_use_bmpcombobox"
10763 if test "$no_cache" != 1; then
10764 echo $wx_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
10765 fi
10766
10767 if test x"$enablestring" = xdisable; then
10768 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10769 result=no
10770 else
10771 result=yes
10772 fi
10773 else
10774 result=$wxUSE_BITMAPCOMBOBOX
10775 fi
10776
10777 { echo "$as_me:$LINENO: result: $result" >&5
10778 echo "${ECHO_T}$result" >&6; }
10779
10780
10781 enablestring=
10782 defaultval=$wxUSE_ALL_FEATURES
10783 if test -z "$defaultval"; then
10784 if test x"$enablestring" = xdisable; then
10785 defaultval=yes
10786 else
10787 defaultval=no
10788 fi
10789 fi
10790
10791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10792 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10793 no_cache=0
10794 # Check whether --enable-calendar was given.
10795 if test "${enable_calendar+set}" = set; then
10796 enableval=$enable_calendar;
10797 if test "$enableval" = yes; then
10798 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10799 else
10800 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10801 fi
10802
10803 else
10804
10805 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10806 if test "x$LINE" != x ; then
10807 eval "DEFAULT_$LINE"
10808 else
10809 no_cache=1
10810 fi
10811
10812 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10813
10814 fi
10815
10816
10817 eval "$wx_cv_use_calendar"
10818 if test "$no_cache" != 1; then
10819 echo $wx_cv_use_calendar >> ${wx_arg_cache_file}.tmp
10820 fi
10821
10822 if test x"$enablestring" = xdisable; then
10823 if test $wxUSE_CALCTRL = yes; then
10824 result=no
10825 else
10826 result=yes
10827 fi
10828 else
10829 result=$wxUSE_CALCTRL
10830 fi
10831
10832 { echo "$as_me:$LINENO: result: $result" >&5
10833 echo "${ECHO_T}$result" >&6; }
10834
10835
10836 enablestring=
10837 defaultval=$wxUSE_ALL_FEATURES
10838 if test -z "$defaultval"; then
10839 if test x"$enablestring" = xdisable; then
10840 defaultval=yes
10841 else
10842 defaultval=no
10843 fi
10844 fi
10845
10846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10847 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10848 no_cache=0
10849 # Check whether --enable-caret was given.
10850 if test "${enable_caret+set}" = set; then
10851 enableval=$enable_caret;
10852 if test "$enableval" = yes; then
10853 wx_cv_use_caret='wxUSE_CARET=yes'
10854 else
10855 wx_cv_use_caret='wxUSE_CARET=no'
10856 fi
10857
10858 else
10859
10860 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10861 if test "x$LINE" != x ; then
10862 eval "DEFAULT_$LINE"
10863 else
10864 no_cache=1
10865 fi
10866
10867 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10868
10869 fi
10870
10871
10872 eval "$wx_cv_use_caret"
10873 if test "$no_cache" != 1; then
10874 echo $wx_cv_use_caret >> ${wx_arg_cache_file}.tmp
10875 fi
10876
10877 if test x"$enablestring" = xdisable; then
10878 if test $wxUSE_CARET = yes; then
10879 result=no
10880 else
10881 result=yes
10882 fi
10883 else
10884 result=$wxUSE_CARET
10885 fi
10886
10887 { echo "$as_me:$LINENO: result: $result" >&5
10888 echo "${ECHO_T}$result" >&6; }
10889
10890
10891 enablestring=
10892 defaultval=$wxUSE_ALL_FEATURES
10893 if test -z "$defaultval"; then
10894 if test x"$enablestring" = xdisable; then
10895 defaultval=yes
10896 else
10897 defaultval=no
10898 fi
10899 fi
10900
10901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10903 no_cache=0
10904 # Check whether --enable-checkbox was given.
10905 if test "${enable_checkbox+set}" = set; then
10906 enableval=$enable_checkbox;
10907 if test "$enableval" = yes; then
10908 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10909 else
10910 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10911 fi
10912
10913 else
10914
10915 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10916 if test "x$LINE" != x ; then
10917 eval "DEFAULT_$LINE"
10918 else
10919 no_cache=1
10920 fi
10921
10922 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10923
10924 fi
10925
10926
10927 eval "$wx_cv_use_checkbox"
10928 if test "$no_cache" != 1; then
10929 echo $wx_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
10930 fi
10931
10932 if test x"$enablestring" = xdisable; then
10933 if test $wxUSE_CHECKBOX = yes; then
10934 result=no
10935 else
10936 result=yes
10937 fi
10938 else
10939 result=$wxUSE_CHECKBOX
10940 fi
10941
10942 { echo "$as_me:$LINENO: result: $result" >&5
10943 echo "${ECHO_T}$result" >&6; }
10944
10945
10946 enablestring=
10947 defaultval=$wxUSE_ALL_FEATURES
10948 if test -z "$defaultval"; then
10949 if test x"$enablestring" = xdisable; then
10950 defaultval=yes
10951 else
10952 defaultval=no
10953 fi
10954 fi
10955
10956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10957 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10958 no_cache=0
10959 # Check whether --enable-checklst was given.
10960 if test "${enable_checklst+set}" = set; then
10961 enableval=$enable_checklst;
10962 if test "$enableval" = yes; then
10963 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10964 else
10965 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10966 fi
10967
10968 else
10969
10970 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10971 if test "x$LINE" != x ; then
10972 eval "DEFAULT_$LINE"
10973 else
10974 no_cache=1
10975 fi
10976
10977 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10978
10979 fi
10980
10981
10982 eval "$wx_cv_use_checklst"
10983 if test "$no_cache" != 1; then
10984 echo $wx_cv_use_checklst >> ${wx_arg_cache_file}.tmp
10985 fi
10986
10987 if test x"$enablestring" = xdisable; then
10988 if test $wxUSE_CHECKLST = yes; then
10989 result=no
10990 else
10991 result=yes
10992 fi
10993 else
10994 result=$wxUSE_CHECKLST
10995 fi
10996
10997 { echo "$as_me:$LINENO: result: $result" >&5
10998 echo "${ECHO_T}$result" >&6; }
10999
11000
11001 enablestring=
11002 defaultval=$wxUSE_ALL_FEATURES
11003 if test -z "$defaultval"; then
11004 if test x"$enablestring" = xdisable; then
11005 defaultval=yes
11006 else
11007 defaultval=no
11008 fi
11009 fi
11010
11011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11012 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11013 no_cache=0
11014 # Check whether --enable-choice was given.
11015 if test "${enable_choice+set}" = set; then
11016 enableval=$enable_choice;
11017 if test "$enableval" = yes; then
11018 wx_cv_use_choice='wxUSE_CHOICE=yes'
11019 else
11020 wx_cv_use_choice='wxUSE_CHOICE=no'
11021 fi
11022
11023 else
11024
11025 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11026 if test "x$LINE" != x ; then
11027 eval "DEFAULT_$LINE"
11028 else
11029 no_cache=1
11030 fi
11031
11032 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11033
11034 fi
11035
11036
11037 eval "$wx_cv_use_choice"
11038 if test "$no_cache" != 1; then
11039 echo $wx_cv_use_choice >> ${wx_arg_cache_file}.tmp
11040 fi
11041
11042 if test x"$enablestring" = xdisable; then
11043 if test $wxUSE_CHOICE = yes; then
11044 result=no
11045 else
11046 result=yes
11047 fi
11048 else
11049 result=$wxUSE_CHOICE
11050 fi
11051
11052 { echo "$as_me:$LINENO: result: $result" >&5
11053 echo "${ECHO_T}$result" >&6; }
11054
11055
11056 enablestring=
11057 defaultval=$wxUSE_ALL_FEATURES
11058 if test -z "$defaultval"; then
11059 if test x"$enablestring" = xdisable; then
11060 defaultval=yes
11061 else
11062 defaultval=no
11063 fi
11064 fi
11065
11066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11067 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11068 no_cache=0
11069 # Check whether --enable-choicebook was given.
11070 if test "${enable_choicebook+set}" = set; then
11071 enableval=$enable_choicebook;
11072 if test "$enableval" = yes; then
11073 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11074 else
11075 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11076 fi
11077
11078 else
11079
11080 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11081 if test "x$LINE" != x ; then
11082 eval "DEFAULT_$LINE"
11083 else
11084 no_cache=1
11085 fi
11086
11087 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11088
11089 fi
11090
11091
11092 eval "$wx_cv_use_choicebook"
11093 if test "$no_cache" != 1; then
11094 echo $wx_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
11095 fi
11096
11097 if test x"$enablestring" = xdisable; then
11098 if test $wxUSE_CHOICEBOOK = yes; then
11099 result=no
11100 else
11101 result=yes
11102 fi
11103 else
11104 result=$wxUSE_CHOICEBOOK
11105 fi
11106
11107 { echo "$as_me:$LINENO: result: $result" >&5
11108 echo "${ECHO_T}$result" >&6; }
11109
11110
11111 enablestring=
11112 defaultval=$wxUSE_ALL_FEATURES
11113 if test -z "$defaultval"; then
11114 if test x"$enablestring" = xdisable; then
11115 defaultval=yes
11116 else
11117 defaultval=no
11118 fi
11119 fi
11120
11121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11123 no_cache=0
11124 # Check whether --enable-collpane was given.
11125 if test "${enable_collpane+set}" = set; then
11126 enableval=$enable_collpane;
11127 if test "$enableval" = yes; then
11128 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11129 else
11130 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11131 fi
11132
11133 else
11134
11135 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11136 if test "x$LINE" != x ; then
11137 eval "DEFAULT_$LINE"
11138 else
11139 no_cache=1
11140 fi
11141
11142 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11143
11144 fi
11145
11146
11147 eval "$wx_cv_use_collpane"
11148 if test "$no_cache" != 1; then
11149 echo $wx_cv_use_collpane >> ${wx_arg_cache_file}.tmp
11150 fi
11151
11152 if test x"$enablestring" = xdisable; then
11153 if test $wxUSE_COLLPANE = yes; then
11154 result=no
11155 else
11156 result=yes
11157 fi
11158 else
11159 result=$wxUSE_COLLPANE
11160 fi
11161
11162 { echo "$as_me:$LINENO: result: $result" >&5
11163 echo "${ECHO_T}$result" >&6; }
11164
11165
11166 enablestring=
11167 defaultval=$wxUSE_ALL_FEATURES
11168 if test -z "$defaultval"; then
11169 if test x"$enablestring" = xdisable; then
11170 defaultval=yes
11171 else
11172 defaultval=no
11173 fi
11174 fi
11175
11176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11177 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11178 no_cache=0
11179 # Check whether --enable-colourpicker was given.
11180 if test "${enable_colourpicker+set}" = set; then
11181 enableval=$enable_colourpicker;
11182 if test "$enableval" = yes; then
11183 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11184 else
11185 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11186 fi
11187
11188 else
11189
11190 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11191 if test "x$LINE" != x ; then
11192 eval "DEFAULT_$LINE"
11193 else
11194 no_cache=1
11195 fi
11196
11197 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11198
11199 fi
11200
11201
11202 eval "$wx_cv_use_colourpicker"
11203 if test "$no_cache" != 1; then
11204 echo $wx_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
11205 fi
11206
11207 if test x"$enablestring" = xdisable; then
11208 if test $wxUSE_COLOURPICKERCTRL = yes; then
11209 result=no
11210 else
11211 result=yes
11212 fi
11213 else
11214 result=$wxUSE_COLOURPICKERCTRL
11215 fi
11216
11217 { echo "$as_me:$LINENO: result: $result" >&5
11218 echo "${ECHO_T}$result" >&6; }
11219
11220
11221 enablestring=
11222 defaultval=$wxUSE_ALL_FEATURES
11223 if test -z "$defaultval"; then
11224 if test x"$enablestring" = xdisable; then
11225 defaultval=yes
11226 else
11227 defaultval=no
11228 fi
11229 fi
11230
11231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11232 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11233 no_cache=0
11234 # Check whether --enable-combobox was given.
11235 if test "${enable_combobox+set}" = set; then
11236 enableval=$enable_combobox;
11237 if test "$enableval" = yes; then
11238 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11239 else
11240 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11241 fi
11242
11243 else
11244
11245 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11246 if test "x$LINE" != x ; then
11247 eval "DEFAULT_$LINE"
11248 else
11249 no_cache=1
11250 fi
11251
11252 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11253
11254 fi
11255
11256
11257 eval "$wx_cv_use_combobox"
11258 if test "$no_cache" != 1; then
11259 echo $wx_cv_use_combobox >> ${wx_arg_cache_file}.tmp
11260 fi
11261
11262 if test x"$enablestring" = xdisable; then
11263 if test $wxUSE_COMBOBOX = yes; then
11264 result=no
11265 else
11266 result=yes
11267 fi
11268 else
11269 result=$wxUSE_COMBOBOX
11270 fi
11271
11272 { echo "$as_me:$LINENO: result: $result" >&5
11273 echo "${ECHO_T}$result" >&6; }
11274
11275
11276 enablestring=
11277 defaultval=$wxUSE_ALL_FEATURES
11278 if test -z "$defaultval"; then
11279 if test x"$enablestring" = xdisable; then
11280 defaultval=yes
11281 else
11282 defaultval=no
11283 fi
11284 fi
11285
11286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11287 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11288 no_cache=0
11289 # Check whether --enable-comboctrl was given.
11290 if test "${enable_comboctrl+set}" = set; then
11291 enableval=$enable_comboctrl;
11292 if test "$enableval" = yes; then
11293 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11294 else
11295 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11296 fi
11297
11298 else
11299
11300 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11301 if test "x$LINE" != x ; then
11302 eval "DEFAULT_$LINE"
11303 else
11304 no_cache=1
11305 fi
11306
11307 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11308
11309 fi
11310
11311
11312 eval "$wx_cv_use_comboctrl"
11313 if test "$no_cache" != 1; then
11314 echo $wx_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
11315 fi
11316
11317 if test x"$enablestring" = xdisable; then
11318 if test $wxUSE_COMBOCTRL = yes; then
11319 result=no
11320 else
11321 result=yes
11322 fi
11323 else
11324 result=$wxUSE_COMBOCTRL
11325 fi
11326
11327 { echo "$as_me:$LINENO: result: $result" >&5
11328 echo "${ECHO_T}$result" >&6; }
11329
11330
11331 enablestring=
11332 defaultval=$wxUSE_ALL_FEATURES
11333 if test -z "$defaultval"; then
11334 if test x"$enablestring" = xdisable; then
11335 defaultval=yes
11336 else
11337 defaultval=no
11338 fi
11339 fi
11340
11341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11342 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11343 no_cache=0
11344 # Check whether --enable-datepick was given.
11345 if test "${enable_datepick+set}" = set; then
11346 enableval=$enable_datepick;
11347 if test "$enableval" = yes; then
11348 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11349 else
11350 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11351 fi
11352
11353 else
11354
11355 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11356 if test "x$LINE" != x ; then
11357 eval "DEFAULT_$LINE"
11358 else
11359 no_cache=1
11360 fi
11361
11362 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11363
11364 fi
11365
11366
11367 eval "$wx_cv_use_datepick"
11368 if test "$no_cache" != 1; then
11369 echo $wx_cv_use_datepick >> ${wx_arg_cache_file}.tmp
11370 fi
11371
11372 if test x"$enablestring" = xdisable; then
11373 if test $wxUSE_DATEPICKCTRL = yes; then
11374 result=no
11375 else
11376 result=yes
11377 fi
11378 else
11379 result=$wxUSE_DATEPICKCTRL
11380 fi
11381
11382 { echo "$as_me:$LINENO: result: $result" >&5
11383 echo "${ECHO_T}$result" >&6; }
11384
11385
11386 enablestring=
11387 defaultval=$wxUSE_ALL_FEATURES
11388 if test -z "$defaultval"; then
11389 if test x"$enablestring" = xdisable; then
11390 defaultval=yes
11391 else
11392 defaultval=no
11393 fi
11394 fi
11395
11396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11397 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11398 no_cache=0
11399 # Check whether --enable-dirpicker was given.
11400 if test "${enable_dirpicker+set}" = set; then
11401 enableval=$enable_dirpicker;
11402 if test "$enableval" = yes; then
11403 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11404 else
11405 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11406 fi
11407
11408 else
11409
11410 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11411 if test "x$LINE" != x ; then
11412 eval "DEFAULT_$LINE"
11413 else
11414 no_cache=1
11415 fi
11416
11417 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11418
11419 fi
11420
11421
11422 eval "$wx_cv_use_dirpicker"
11423 if test "$no_cache" != 1; then
11424 echo $wx_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
11425 fi
11426
11427 if test x"$enablestring" = xdisable; then
11428 if test $wxUSE_DIRPICKERCTRL = yes; then
11429 result=no
11430 else
11431 result=yes
11432 fi
11433 else
11434 result=$wxUSE_DIRPICKERCTRL
11435 fi
11436
11437 { echo "$as_me:$LINENO: result: $result" >&5
11438 echo "${ECHO_T}$result" >&6; }
11439
11440
11441 enablestring=
11442 defaultval=$wxUSE_ALL_FEATURES
11443 if test -z "$defaultval"; then
11444 if test x"$enablestring" = xdisable; then
11445 defaultval=yes
11446 else
11447 defaultval=no
11448 fi
11449 fi
11450
11451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11452 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11453 no_cache=0
11454 # Check whether --enable-display was given.
11455 if test "${enable_display+set}" = set; then
11456 enableval=$enable_display;
11457 if test "$enableval" = yes; then
11458 wx_cv_use_display='wxUSE_DISPLAY=yes'
11459 else
11460 wx_cv_use_display='wxUSE_DISPLAY=no'
11461 fi
11462
11463 else
11464
11465 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11466 if test "x$LINE" != x ; then
11467 eval "DEFAULT_$LINE"
11468 else
11469 no_cache=1
11470 fi
11471
11472 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11473
11474 fi
11475
11476
11477 eval "$wx_cv_use_display"
11478 if test "$no_cache" != 1; then
11479 echo $wx_cv_use_display >> ${wx_arg_cache_file}.tmp
11480 fi
11481
11482 if test x"$enablestring" = xdisable; then
11483 if test $wxUSE_DISPLAY = yes; then
11484 result=no
11485 else
11486 result=yes
11487 fi
11488 else
11489 result=$wxUSE_DISPLAY
11490 fi
11491
11492 { echo "$as_me:$LINENO: result: $result" >&5
11493 echo "${ECHO_T}$result" >&6; }
11494
11495
11496 enablestring=
11497 defaultval=$wxUSE_ALL_FEATURES
11498 if test -z "$defaultval"; then
11499 if test x"$enablestring" = xdisable; then
11500 defaultval=yes
11501 else
11502 defaultval=no
11503 fi
11504 fi
11505
11506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11507 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11508 no_cache=0
11509 # Check whether --enable-detect_sm was given.
11510 if test "${enable_detect_sm+set}" = set; then
11511 enableval=$enable_detect_sm;
11512 if test "$enableval" = yes; then
11513 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11514 else
11515 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11516 fi
11517
11518 else
11519
11520 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11521 if test "x$LINE" != x ; then
11522 eval "DEFAULT_$LINE"
11523 else
11524 no_cache=1
11525 fi
11526
11527 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11528
11529 fi
11530
11531
11532 eval "$wx_cv_use_detect_sm"
11533 if test "$no_cache" != 1; then
11534 echo $wx_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
11535 fi
11536
11537 if test x"$enablestring" = xdisable; then
11538 if test $wxUSE_DETECT_SM = yes; then
11539 result=no
11540 else
11541 result=yes
11542 fi
11543 else
11544 result=$wxUSE_DETECT_SM
11545 fi
11546
11547 { echo "$as_me:$LINENO: result: $result" >&5
11548 echo "${ECHO_T}$result" >&6; }
11549
11550
11551 enablestring=
11552 defaultval=$wxUSE_ALL_FEATURES
11553 if test -z "$defaultval"; then
11554 if test x"$enablestring" = xdisable; then
11555 defaultval=yes
11556 else
11557 defaultval=no
11558 fi
11559 fi
11560
11561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11562 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11563 no_cache=0
11564 # Check whether --enable-editablebox was given.
11565 if test "${enable_editablebox+set}" = set; then
11566 enableval=$enable_editablebox;
11567 if test "$enableval" = yes; then
11568 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11569 else
11570 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11571 fi
11572
11573 else
11574
11575 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11576 if test "x$LINE" != x ; then
11577 eval "DEFAULT_$LINE"
11578 else
11579 no_cache=1
11580 fi
11581
11582 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11583
11584 fi
11585
11586
11587 eval "$wx_cv_use_editablebox"
11588 if test "$no_cache" != 1; then
11589 echo $wx_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
11590 fi
11591
11592 if test x"$enablestring" = xdisable; then
11593 if test $wxUSE_EDITABLELISTBOX = yes; then
11594 result=no
11595 else
11596 result=yes
11597 fi
11598 else
11599 result=$wxUSE_EDITABLELISTBOX
11600 fi
11601
11602 { echo "$as_me:$LINENO: result: $result" >&5
11603 echo "${ECHO_T}$result" >&6; }
11604
11605
11606 enablestring=
11607 defaultval=$wxUSE_ALL_FEATURES
11608 if test -z "$defaultval"; then
11609 if test x"$enablestring" = xdisable; then
11610 defaultval=yes
11611 else
11612 defaultval=no
11613 fi
11614 fi
11615
11616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11617 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11618 no_cache=0
11619 # Check whether --enable-filepicker was given.
11620 if test "${enable_filepicker+set}" = set; then
11621 enableval=$enable_filepicker;
11622 if test "$enableval" = yes; then
11623 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11624 else
11625 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11626 fi
11627
11628 else
11629
11630 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11631 if test "x$LINE" != x ; then
11632 eval "DEFAULT_$LINE"
11633 else
11634 no_cache=1
11635 fi
11636
11637 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11638
11639 fi
11640
11641
11642 eval "$wx_cv_use_filepicker"
11643 if test "$no_cache" != 1; then
11644 echo $wx_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
11645 fi
11646
11647 if test x"$enablestring" = xdisable; then
11648 if test $wxUSE_FILEPICKERCTRL = yes; then
11649 result=no
11650 else
11651 result=yes
11652 fi
11653 else
11654 result=$wxUSE_FILEPICKERCTRL
11655 fi
11656
11657 { echo "$as_me:$LINENO: result: $result" >&5
11658 echo "${ECHO_T}$result" >&6; }
11659
11660
11661 enablestring=
11662 defaultval=$wxUSE_ALL_FEATURES
11663 if test -z "$defaultval"; then
11664 if test x"$enablestring" = xdisable; then
11665 defaultval=yes
11666 else
11667 defaultval=no
11668 fi
11669 fi
11670
11671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11672 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11673 no_cache=0
11674 # Check whether --enable-fontpicker was given.
11675 if test "${enable_fontpicker+set}" = set; then
11676 enableval=$enable_fontpicker;
11677 if test "$enableval" = yes; then
11678 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11679 else
11680 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11681 fi
11682
11683 else
11684
11685 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11686 if test "x$LINE" != x ; then
11687 eval "DEFAULT_$LINE"
11688 else
11689 no_cache=1
11690 fi
11691
11692 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11693
11694 fi
11695
11696
11697 eval "$wx_cv_use_fontpicker"
11698 if test "$no_cache" != 1; then
11699 echo $wx_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
11700 fi
11701
11702 if test x"$enablestring" = xdisable; then
11703 if test $wxUSE_FONTPICKERCTRL = yes; then
11704 result=no
11705 else
11706 result=yes
11707 fi
11708 else
11709 result=$wxUSE_FONTPICKERCTRL
11710 fi
11711
11712 { echo "$as_me:$LINENO: result: $result" >&5
11713 echo "${ECHO_T}$result" >&6; }
11714
11715
11716 enablestring=
11717 defaultval=$wxUSE_ALL_FEATURES
11718 if test -z "$defaultval"; then
11719 if test x"$enablestring" = xdisable; then
11720 defaultval=yes
11721 else
11722 defaultval=no
11723 fi
11724 fi
11725
11726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11727 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11728 no_cache=0
11729 # Check whether --enable-gauge was given.
11730 if test "${enable_gauge+set}" = set; then
11731 enableval=$enable_gauge;
11732 if test "$enableval" = yes; then
11733 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11734 else
11735 wx_cv_use_gauge='wxUSE_GAUGE=no'
11736 fi
11737
11738 else
11739
11740 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11741 if test "x$LINE" != x ; then
11742 eval "DEFAULT_$LINE"
11743 else
11744 no_cache=1
11745 fi
11746
11747 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11748
11749 fi
11750
11751
11752 eval "$wx_cv_use_gauge"
11753 if test "$no_cache" != 1; then
11754 echo $wx_cv_use_gauge >> ${wx_arg_cache_file}.tmp
11755 fi
11756
11757 if test x"$enablestring" = xdisable; then
11758 if test $wxUSE_GAUGE = yes; then
11759 result=no
11760 else
11761 result=yes
11762 fi
11763 else
11764 result=$wxUSE_GAUGE
11765 fi
11766
11767 { echo "$as_me:$LINENO: result: $result" >&5
11768 echo "${ECHO_T}$result" >&6; }
11769
11770
11771 enablestring=
11772 defaultval=$wxUSE_ALL_FEATURES
11773 if test -z "$defaultval"; then
11774 if test x"$enablestring" = xdisable; then
11775 defaultval=yes
11776 else
11777 defaultval=no
11778 fi
11779 fi
11780
11781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11783 no_cache=0
11784 # Check whether --enable-grid was given.
11785 if test "${enable_grid+set}" = set; then
11786 enableval=$enable_grid;
11787 if test "$enableval" = yes; then
11788 wx_cv_use_grid='wxUSE_GRID=yes'
11789 else
11790 wx_cv_use_grid='wxUSE_GRID=no'
11791 fi
11792
11793 else
11794
11795 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11796 if test "x$LINE" != x ; then
11797 eval "DEFAULT_$LINE"
11798 else
11799 no_cache=1
11800 fi
11801
11802 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11803
11804 fi
11805
11806
11807 eval "$wx_cv_use_grid"
11808 if test "$no_cache" != 1; then
11809 echo $wx_cv_use_grid >> ${wx_arg_cache_file}.tmp
11810 fi
11811
11812 if test x"$enablestring" = xdisable; then
11813 if test $wxUSE_GRID = yes; then
11814 result=no
11815 else
11816 result=yes
11817 fi
11818 else
11819 result=$wxUSE_GRID
11820 fi
11821
11822 { echo "$as_me:$LINENO: result: $result" >&5
11823 echo "${ECHO_T}$result" >&6; }
11824
11825
11826 enablestring=
11827 defaultval=$wxUSE_ALL_FEATURES
11828 if test -z "$defaultval"; then
11829 if test x"$enablestring" = xdisable; then
11830 defaultval=yes
11831 else
11832 defaultval=no
11833 fi
11834 fi
11835
11836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11837 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11838 no_cache=0
11839 # Check whether --enable-dataviewctrl was given.
11840 if test "${enable_dataviewctrl+set}" = set; then
11841 enableval=$enable_dataviewctrl;
11842 if test "$enableval" = yes; then
11843 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11844 else
11845 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11846 fi
11847
11848 else
11849
11850 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11851 if test "x$LINE" != x ; then
11852 eval "DEFAULT_$LINE"
11853 else
11854 no_cache=1
11855 fi
11856
11857 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11858
11859 fi
11860
11861
11862 eval "$wx_cv_use_dataviewctrl"
11863 if test "$no_cache" != 1; then
11864 echo $wx_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
11865 fi
11866
11867 if test x"$enablestring" = xdisable; then
11868 if test $wxUSE_DATAVIEWCTRL = yes; then
11869 result=no
11870 else
11871 result=yes
11872 fi
11873 else
11874 result=$wxUSE_DATAVIEWCTRL
11875 fi
11876
11877 { echo "$as_me:$LINENO: result: $result" >&5
11878 echo "${ECHO_T}$result" >&6; }
11879
11880
11881 enablestring=
11882 defaultval=$wxUSE_ALL_FEATURES
11883 if test -z "$defaultval"; then
11884 if test x"$enablestring" = xdisable; then
11885 defaultval=yes
11886 else
11887 defaultval=no
11888 fi
11889 fi
11890
11891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11892 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11893 no_cache=0
11894 # Check whether --enable-hyperlink was given.
11895 if test "${enable_hyperlink+set}" = set; then
11896 enableval=$enable_hyperlink;
11897 if test "$enableval" = yes; then
11898 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11899 else
11900 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11901 fi
11902
11903 else
11904
11905 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11906 if test "x$LINE" != x ; then
11907 eval "DEFAULT_$LINE"
11908 else
11909 no_cache=1
11910 fi
11911
11912 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11913
11914 fi
11915
11916
11917 eval "$wx_cv_use_hyperlink"
11918 if test "$no_cache" != 1; then
11919 echo $wx_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
11920 fi
11921
11922 if test x"$enablestring" = xdisable; then
11923 if test $wxUSE_HYPERLINKCTRL = yes; then
11924 result=no
11925 else
11926 result=yes
11927 fi
11928 else
11929 result=$wxUSE_HYPERLINKCTRL
11930 fi
11931
11932 { echo "$as_me:$LINENO: result: $result" >&5
11933 echo "${ECHO_T}$result" >&6; }
11934
11935
11936 enablestring=
11937 defaultval=$wxUSE_ALL_FEATURES
11938 if test -z "$defaultval"; then
11939 if test x"$enablestring" = xdisable; then
11940 defaultval=yes
11941 else
11942 defaultval=no
11943 fi
11944 fi
11945
11946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11947 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11948 no_cache=0
11949 # Check whether --enable-imaglist was given.
11950 if test "${enable_imaglist+set}" = set; then
11951 enableval=$enable_imaglist;
11952 if test "$enableval" = yes; then
11953 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11954 else
11955 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11956 fi
11957
11958 else
11959
11960 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11961 if test "x$LINE" != x ; then
11962 eval "DEFAULT_$LINE"
11963 else
11964 no_cache=1
11965 fi
11966
11967 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11968
11969 fi
11970
11971
11972 eval "$wx_cv_use_imaglist"
11973 if test "$no_cache" != 1; then
11974 echo $wx_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
11975 fi
11976
11977 if test x"$enablestring" = xdisable; then
11978 if test $wxUSE_IMAGLIST = yes; then
11979 result=no
11980 else
11981 result=yes
11982 fi
11983 else
11984 result=$wxUSE_IMAGLIST
11985 fi
11986
11987 { echo "$as_me:$LINENO: result: $result" >&5
11988 echo "${ECHO_T}$result" >&6; }
11989
11990
11991 enablestring=
11992 defaultval=$wxUSE_ALL_FEATURES
11993 if test -z "$defaultval"; then
11994 if test x"$enablestring" = xdisable; then
11995 defaultval=yes
11996 else
11997 defaultval=no
11998 fi
11999 fi
12000
12001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12002 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12003 no_cache=0
12004 # Check whether --enable-listbook was given.
12005 if test "${enable_listbook+set}" = set; then
12006 enableval=$enable_listbook;
12007 if test "$enableval" = yes; then
12008 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12009 else
12010 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12011 fi
12012
12013 else
12014
12015 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12016 if test "x$LINE" != x ; then
12017 eval "DEFAULT_$LINE"
12018 else
12019 no_cache=1
12020 fi
12021
12022 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12023
12024 fi
12025
12026
12027 eval "$wx_cv_use_listbook"
12028 if test "$no_cache" != 1; then
12029 echo $wx_cv_use_listbook >> ${wx_arg_cache_file}.tmp
12030 fi
12031
12032 if test x"$enablestring" = xdisable; then
12033 if test $wxUSE_LISTBOOK = yes; then
12034 result=no
12035 else
12036 result=yes
12037 fi
12038 else
12039 result=$wxUSE_LISTBOOK
12040 fi
12041
12042 { echo "$as_me:$LINENO: result: $result" >&5
12043 echo "${ECHO_T}$result" >&6; }
12044
12045
12046 enablestring=
12047 defaultval=$wxUSE_ALL_FEATURES
12048 if test -z "$defaultval"; then
12049 if test x"$enablestring" = xdisable; then
12050 defaultval=yes
12051 else
12052 defaultval=no
12053 fi
12054 fi
12055
12056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12057 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12058 no_cache=0
12059 # Check whether --enable-listbox was given.
12060 if test "${enable_listbox+set}" = set; then
12061 enableval=$enable_listbox;
12062 if test "$enableval" = yes; then
12063 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12064 else
12065 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12066 fi
12067
12068 else
12069
12070 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12071 if test "x$LINE" != x ; then
12072 eval "DEFAULT_$LINE"
12073 else
12074 no_cache=1
12075 fi
12076
12077 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12078
12079 fi
12080
12081
12082 eval "$wx_cv_use_listbox"
12083 if test "$no_cache" != 1; then
12084 echo $wx_cv_use_listbox >> ${wx_arg_cache_file}.tmp
12085 fi
12086
12087 if test x"$enablestring" = xdisable; then
12088 if test $wxUSE_LISTBOX = yes; then
12089 result=no
12090 else
12091 result=yes
12092 fi
12093 else
12094 result=$wxUSE_LISTBOX
12095 fi
12096
12097 { echo "$as_me:$LINENO: result: $result" >&5
12098 echo "${ECHO_T}$result" >&6; }
12099
12100
12101 enablestring=
12102 defaultval=$wxUSE_ALL_FEATURES
12103 if test -z "$defaultval"; then
12104 if test x"$enablestring" = xdisable; then
12105 defaultval=yes
12106 else
12107 defaultval=no
12108 fi
12109 fi
12110
12111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12112 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12113 no_cache=0
12114 # Check whether --enable-listctrl was given.
12115 if test "${enable_listctrl+set}" = set; then
12116 enableval=$enable_listctrl;
12117 if test "$enableval" = yes; then
12118 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12119 else
12120 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12121 fi
12122
12123 else
12124
12125 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12126 if test "x$LINE" != x ; then
12127 eval "DEFAULT_$LINE"
12128 else
12129 no_cache=1
12130 fi
12131
12132 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12133
12134 fi
12135
12136
12137 eval "$wx_cv_use_listctrl"
12138 if test "$no_cache" != 1; then
12139 echo $wx_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
12140 fi
12141
12142 if test x"$enablestring" = xdisable; then
12143 if test $wxUSE_LISTCTRL = yes; then
12144 result=no
12145 else
12146 result=yes
12147 fi
12148 else
12149 result=$wxUSE_LISTCTRL
12150 fi
12151
12152 { echo "$as_me:$LINENO: result: $result" >&5
12153 echo "${ECHO_T}$result" >&6; }
12154
12155
12156 enablestring=
12157 defaultval=$wxUSE_ALL_FEATURES
12158 if test -z "$defaultval"; then
12159 if test x"$enablestring" = xdisable; then
12160 defaultval=yes
12161 else
12162 defaultval=no
12163 fi
12164 fi
12165
12166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12167 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12168 no_cache=0
12169 # Check whether --enable-notebook was given.
12170 if test "${enable_notebook+set}" = set; then
12171 enableval=$enable_notebook;
12172 if test "$enableval" = yes; then
12173 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12174 else
12175 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12176 fi
12177
12178 else
12179
12180 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12181 if test "x$LINE" != x ; then
12182 eval "DEFAULT_$LINE"
12183 else
12184 no_cache=1
12185 fi
12186
12187 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12188
12189 fi
12190
12191
12192 eval "$wx_cv_use_notebook"
12193 if test "$no_cache" != 1; then
12194 echo $wx_cv_use_notebook >> ${wx_arg_cache_file}.tmp
12195 fi
12196
12197 if test x"$enablestring" = xdisable; then
12198 if test $wxUSE_NOTEBOOK = yes; then
12199 result=no
12200 else
12201 result=yes
12202 fi
12203 else
12204 result=$wxUSE_NOTEBOOK
12205 fi
12206
12207 { echo "$as_me:$LINENO: result: $result" >&5
12208 echo "${ECHO_T}$result" >&6; }
12209
12210
12211 enablestring=
12212 defaultval=$wxUSE_ALL_FEATURES
12213 if test -z "$defaultval"; then
12214 if test x"$enablestring" = xdisable; then
12215 defaultval=yes
12216 else
12217 defaultval=no
12218 fi
12219 fi
12220
12221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12222 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12223 no_cache=0
12224 # Check whether --enable-odcombobox was given.
12225 if test "${enable_odcombobox+set}" = set; then
12226 enableval=$enable_odcombobox;
12227 if test "$enableval" = yes; then
12228 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12229 else
12230 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12231 fi
12232
12233 else
12234
12235 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12236 if test "x$LINE" != x ; then
12237 eval "DEFAULT_$LINE"
12238 else
12239 no_cache=1
12240 fi
12241
12242 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12243
12244 fi
12245
12246
12247 eval "$wx_cv_use_odcombobox"
12248 if test "$no_cache" != 1; then
12249 echo $wx_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
12250 fi
12251
12252 if test x"$enablestring" = xdisable; then
12253 if test $wxUSE_ODCOMBOBOX = yes; then
12254 result=no
12255 else
12256 result=yes
12257 fi
12258 else
12259 result=$wxUSE_ODCOMBOBOX
12260 fi
12261
12262 { echo "$as_me:$LINENO: result: $result" >&5
12263 echo "${ECHO_T}$result" >&6; }
12264
12265
12266 enablestring=
12267 defaultval=$wxUSE_ALL_FEATURES
12268 if test -z "$defaultval"; then
12269 if test x"$enablestring" = xdisable; then
12270 defaultval=yes
12271 else
12272 defaultval=no
12273 fi
12274 fi
12275
12276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12277 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12278 no_cache=0
12279 # Check whether --enable-radiobox was given.
12280 if test "${enable_radiobox+set}" = set; then
12281 enableval=$enable_radiobox;
12282 if test "$enableval" = yes; then
12283 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12284 else
12285 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12286 fi
12287
12288 else
12289
12290 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12291 if test "x$LINE" != x ; then
12292 eval "DEFAULT_$LINE"
12293 else
12294 no_cache=1
12295 fi
12296
12297 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12298
12299 fi
12300
12301
12302 eval "$wx_cv_use_radiobox"
12303 if test "$no_cache" != 1; then
12304 echo $wx_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
12305 fi
12306
12307 if test x"$enablestring" = xdisable; then
12308 if test $wxUSE_RADIOBOX = yes; then
12309 result=no
12310 else
12311 result=yes
12312 fi
12313 else
12314 result=$wxUSE_RADIOBOX
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}-radiobtn" >&5
12332 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12333 no_cache=0
12334 # Check whether --enable-radiobtn was given.
12335 if test "${enable_radiobtn+set}" = set; then
12336 enableval=$enable_radiobtn;
12337 if test "$enableval" = yes; then
12338 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12339 else
12340 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12341 fi
12342
12343 else
12344
12345 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12346 if test "x$LINE" != x ; then
12347 eval "DEFAULT_$LINE"
12348 else
12349 no_cache=1
12350 fi
12351
12352 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12353
12354 fi
12355
12356
12357 eval "$wx_cv_use_radiobtn"
12358 if test "$no_cache" != 1; then
12359 echo $wx_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
12360 fi
12361
12362 if test x"$enablestring" = xdisable; then
12363 if test $wxUSE_RADIOBTN = yes; then
12364 result=no
12365 else
12366 result=yes
12367 fi
12368 else
12369 result=$wxUSE_RADIOBTN
12370 fi
12371
12372 { echo "$as_me:$LINENO: result: $result" >&5
12373 echo "${ECHO_T}$result" >&6; }
12374
12375
12376 enablestring=
12377 defaultval=$wxUSE_ALL_FEATURES
12378 if test -z "$defaultval"; then
12379 if test x"$enablestring" = xdisable; then
12380 defaultval=yes
12381 else
12382 defaultval=no
12383 fi
12384 fi
12385
12386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12387 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12388 no_cache=0
12389 # Check whether --enable-sash was given.
12390 if test "${enable_sash+set}" = set; then
12391 enableval=$enable_sash;
12392 if test "$enableval" = yes; then
12393 wx_cv_use_sash='wxUSE_SASH=yes'
12394 else
12395 wx_cv_use_sash='wxUSE_SASH=no'
12396 fi
12397
12398 else
12399
12400 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12401 if test "x$LINE" != x ; then
12402 eval "DEFAULT_$LINE"
12403 else
12404 no_cache=1
12405 fi
12406
12407 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12408
12409 fi
12410
12411
12412 eval "$wx_cv_use_sash"
12413 if test "$no_cache" != 1; then
12414 echo $wx_cv_use_sash >> ${wx_arg_cache_file}.tmp
12415 fi
12416
12417 if test x"$enablestring" = xdisable; then
12418 if test $wxUSE_SASH = yes; then
12419 result=no
12420 else
12421 result=yes
12422 fi
12423 else
12424 result=$wxUSE_SASH
12425 fi
12426
12427 { echo "$as_me:$LINENO: result: $result" >&5
12428 echo "${ECHO_T}$result" >&6; }
12429
12430
12431 enablestring=
12432 defaultval=$wxUSE_ALL_FEATURES
12433 if test -z "$defaultval"; then
12434 if test x"$enablestring" = xdisable; then
12435 defaultval=yes
12436 else
12437 defaultval=no
12438 fi
12439 fi
12440
12441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12442 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12443 no_cache=0
12444 # Check whether --enable-scrollbar was given.
12445 if test "${enable_scrollbar+set}" = set; then
12446 enableval=$enable_scrollbar;
12447 if test "$enableval" = yes; then
12448 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12449 else
12450 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12451 fi
12452
12453 else
12454
12455 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12456 if test "x$LINE" != x ; then
12457 eval "DEFAULT_$LINE"
12458 else
12459 no_cache=1
12460 fi
12461
12462 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12463
12464 fi
12465
12466
12467 eval "$wx_cv_use_scrollbar"
12468 if test "$no_cache" != 1; then
12469 echo $wx_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
12470 fi
12471
12472 if test x"$enablestring" = xdisable; then
12473 if test $wxUSE_SCROLLBAR = yes; then
12474 result=no
12475 else
12476 result=yes
12477 fi
12478 else
12479 result=$wxUSE_SCROLLBAR
12480 fi
12481
12482 { echo "$as_me:$LINENO: result: $result" >&5
12483 echo "${ECHO_T}$result" >&6; }
12484
12485
12486 enablestring=
12487 defaultval=$wxUSE_ALL_FEATURES
12488 if test -z "$defaultval"; then
12489 if test x"$enablestring" = xdisable; then
12490 defaultval=yes
12491 else
12492 defaultval=no
12493 fi
12494 fi
12495
12496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12497 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12498 no_cache=0
12499 # Check whether --enable-searchctrl was given.
12500 if test "${enable_searchctrl+set}" = set; then
12501 enableval=$enable_searchctrl;
12502 if test "$enableval" = yes; then
12503 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12504 else
12505 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12506 fi
12507
12508 else
12509
12510 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12511 if test "x$LINE" != x ; then
12512 eval "DEFAULT_$LINE"
12513 else
12514 no_cache=1
12515 fi
12516
12517 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12518
12519 fi
12520
12521
12522 eval "$wx_cv_use_searchctrl"
12523 if test "$no_cache" != 1; then
12524 echo $wx_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
12525 fi
12526
12527 if test x"$enablestring" = xdisable; then
12528 if test $wxUSE_SEARCHCTRL = yes; then
12529 result=no
12530 else
12531 result=yes
12532 fi
12533 else
12534 result=$wxUSE_SEARCHCTRL
12535 fi
12536
12537 { echo "$as_me:$LINENO: result: $result" >&5
12538 echo "${ECHO_T}$result" >&6; }
12539
12540
12541 enablestring=
12542 defaultval=$wxUSE_ALL_FEATURES
12543 if test -z "$defaultval"; then
12544 if test x"$enablestring" = xdisable; then
12545 defaultval=yes
12546 else
12547 defaultval=no
12548 fi
12549 fi
12550
12551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12552 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12553 no_cache=0
12554 # Check whether --enable-slider was given.
12555 if test "${enable_slider+set}" = set; then
12556 enableval=$enable_slider;
12557 if test "$enableval" = yes; then
12558 wx_cv_use_slider='wxUSE_SLIDER=yes'
12559 else
12560 wx_cv_use_slider='wxUSE_SLIDER=no'
12561 fi
12562
12563 else
12564
12565 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12566 if test "x$LINE" != x ; then
12567 eval "DEFAULT_$LINE"
12568 else
12569 no_cache=1
12570 fi
12571
12572 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12573
12574 fi
12575
12576
12577 eval "$wx_cv_use_slider"
12578 if test "$no_cache" != 1; then
12579 echo $wx_cv_use_slider >> ${wx_arg_cache_file}.tmp
12580 fi
12581
12582 if test x"$enablestring" = xdisable; then
12583 if test $wxUSE_SLIDER = yes; then
12584 result=no
12585 else
12586 result=yes
12587 fi
12588 else
12589 result=$wxUSE_SLIDER
12590 fi
12591
12592 { echo "$as_me:$LINENO: result: $result" >&5
12593 echo "${ECHO_T}$result" >&6; }
12594
12595
12596 enablestring=
12597 defaultval=$wxUSE_ALL_FEATURES
12598 if test -z "$defaultval"; then
12599 if test x"$enablestring" = xdisable; then
12600 defaultval=yes
12601 else
12602 defaultval=no
12603 fi
12604 fi
12605
12606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12607 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12608 no_cache=0
12609 # Check whether --enable-spinbtn was given.
12610 if test "${enable_spinbtn+set}" = set; then
12611 enableval=$enable_spinbtn;
12612 if test "$enableval" = yes; then
12613 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12614 else
12615 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12616 fi
12617
12618 else
12619
12620 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12621 if test "x$LINE" != x ; then
12622 eval "DEFAULT_$LINE"
12623 else
12624 no_cache=1
12625 fi
12626
12627 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12628
12629 fi
12630
12631
12632 eval "$wx_cv_use_spinbtn"
12633 if test "$no_cache" != 1; then
12634 echo $wx_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
12635 fi
12636
12637 if test x"$enablestring" = xdisable; then
12638 if test $wxUSE_SPINBTN = yes; then
12639 result=no
12640 else
12641 result=yes
12642 fi
12643 else
12644 result=$wxUSE_SPINBTN
12645 fi
12646
12647 { echo "$as_me:$LINENO: result: $result" >&5
12648 echo "${ECHO_T}$result" >&6; }
12649
12650
12651 enablestring=
12652 defaultval=$wxUSE_ALL_FEATURES
12653 if test -z "$defaultval"; then
12654 if test x"$enablestring" = xdisable; then
12655 defaultval=yes
12656 else
12657 defaultval=no
12658 fi
12659 fi
12660
12661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12662 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12663 no_cache=0
12664 # Check whether --enable-spinctrl was given.
12665 if test "${enable_spinctrl+set}" = set; then
12666 enableval=$enable_spinctrl;
12667 if test "$enableval" = yes; then
12668 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12669 else
12670 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12671 fi
12672
12673 else
12674
12675 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12676 if test "x$LINE" != x ; then
12677 eval "DEFAULT_$LINE"
12678 else
12679 no_cache=1
12680 fi
12681
12682 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12683
12684 fi
12685
12686
12687 eval "$wx_cv_use_spinctrl"
12688 if test "$no_cache" != 1; then
12689 echo $wx_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
12690 fi
12691
12692 if test x"$enablestring" = xdisable; then
12693 if test $wxUSE_SPINCTRL = yes; then
12694 result=no
12695 else
12696 result=yes
12697 fi
12698 else
12699 result=$wxUSE_SPINCTRL
12700 fi
12701
12702 { echo "$as_me:$LINENO: result: $result" >&5
12703 echo "${ECHO_T}$result" >&6; }
12704
12705
12706 enablestring=
12707 defaultval=$wxUSE_ALL_FEATURES
12708 if test -z "$defaultval"; then
12709 if test x"$enablestring" = xdisable; then
12710 defaultval=yes
12711 else
12712 defaultval=no
12713 fi
12714 fi
12715
12716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12717 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12718 no_cache=0
12719 # Check whether --enable-splitter was given.
12720 if test "${enable_splitter+set}" = set; then
12721 enableval=$enable_splitter;
12722 if test "$enableval" = yes; then
12723 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12724 else
12725 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12726 fi
12727
12728 else
12729
12730 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12731 if test "x$LINE" != x ; then
12732 eval "DEFAULT_$LINE"
12733 else
12734 no_cache=1
12735 fi
12736
12737 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12738
12739 fi
12740
12741
12742 eval "$wx_cv_use_splitter"
12743 if test "$no_cache" != 1; then
12744 echo $wx_cv_use_splitter >> ${wx_arg_cache_file}.tmp
12745 fi
12746
12747 if test x"$enablestring" = xdisable; then
12748 if test $wxUSE_SPLITTER = yes; then
12749 result=no
12750 else
12751 result=yes
12752 fi
12753 else
12754 result=$wxUSE_SPLITTER
12755 fi
12756
12757 { echo "$as_me:$LINENO: result: $result" >&5
12758 echo "${ECHO_T}$result" >&6; }
12759
12760
12761 enablestring=
12762 defaultval=$wxUSE_ALL_FEATURES
12763 if test -z "$defaultval"; then
12764 if test x"$enablestring" = xdisable; then
12765 defaultval=yes
12766 else
12767 defaultval=no
12768 fi
12769 fi
12770
12771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12772 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12773 no_cache=0
12774 # Check whether --enable-statbmp was given.
12775 if test "${enable_statbmp+set}" = set; then
12776 enableval=$enable_statbmp;
12777 if test "$enableval" = yes; then
12778 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12779 else
12780 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12781 fi
12782
12783 else
12784
12785 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12786 if test "x$LINE" != x ; then
12787 eval "DEFAULT_$LINE"
12788 else
12789 no_cache=1
12790 fi
12791
12792 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12793
12794 fi
12795
12796
12797 eval "$wx_cv_use_statbmp"
12798 if test "$no_cache" != 1; then
12799 echo $wx_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
12800 fi
12801
12802 if test x"$enablestring" = xdisable; then
12803 if test $wxUSE_STATBMP = yes; then
12804 result=no
12805 else
12806 result=yes
12807 fi
12808 else
12809 result=$wxUSE_STATBMP
12810 fi
12811
12812 { echo "$as_me:$LINENO: result: $result" >&5
12813 echo "${ECHO_T}$result" >&6; }
12814
12815
12816 enablestring=
12817 defaultval=$wxUSE_ALL_FEATURES
12818 if test -z "$defaultval"; then
12819 if test x"$enablestring" = xdisable; then
12820 defaultval=yes
12821 else
12822 defaultval=no
12823 fi
12824 fi
12825
12826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12827 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12828 no_cache=0
12829 # Check whether --enable-statbox was given.
12830 if test "${enable_statbox+set}" = set; then
12831 enableval=$enable_statbox;
12832 if test "$enableval" = yes; then
12833 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12834 else
12835 wx_cv_use_statbox='wxUSE_STATBOX=no'
12836 fi
12837
12838 else
12839
12840 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12841 if test "x$LINE" != x ; then
12842 eval "DEFAULT_$LINE"
12843 else
12844 no_cache=1
12845 fi
12846
12847 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12848
12849 fi
12850
12851
12852 eval "$wx_cv_use_statbox"
12853 if test "$no_cache" != 1; then
12854 echo $wx_cv_use_statbox >> ${wx_arg_cache_file}.tmp
12855 fi
12856
12857 if test x"$enablestring" = xdisable; then
12858 if test $wxUSE_STATBOX = yes; then
12859 result=no
12860 else
12861 result=yes
12862 fi
12863 else
12864 result=$wxUSE_STATBOX
12865 fi
12866
12867 { echo "$as_me:$LINENO: result: $result" >&5
12868 echo "${ECHO_T}$result" >&6; }
12869
12870
12871 enablestring=
12872 defaultval=$wxUSE_ALL_FEATURES
12873 if test -z "$defaultval"; then
12874 if test x"$enablestring" = xdisable; then
12875 defaultval=yes
12876 else
12877 defaultval=no
12878 fi
12879 fi
12880
12881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12882 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12883 no_cache=0
12884 # Check whether --enable-statline was given.
12885 if test "${enable_statline+set}" = set; then
12886 enableval=$enable_statline;
12887 if test "$enableval" = yes; then
12888 wx_cv_use_statline='wxUSE_STATLINE=yes'
12889 else
12890 wx_cv_use_statline='wxUSE_STATLINE=no'
12891 fi
12892
12893 else
12894
12895 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12896 if test "x$LINE" != x ; then
12897 eval "DEFAULT_$LINE"
12898 else
12899 no_cache=1
12900 fi
12901
12902 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12903
12904 fi
12905
12906
12907 eval "$wx_cv_use_statline"
12908 if test "$no_cache" != 1; then
12909 echo $wx_cv_use_statline >> ${wx_arg_cache_file}.tmp
12910 fi
12911
12912 if test x"$enablestring" = xdisable; then
12913 if test $wxUSE_STATLINE = yes; then
12914 result=no
12915 else
12916 result=yes
12917 fi
12918 else
12919 result=$wxUSE_STATLINE
12920 fi
12921
12922 { echo "$as_me:$LINENO: result: $result" >&5
12923 echo "${ECHO_T}$result" >&6; }
12924
12925
12926 enablestring=
12927 defaultval=$wxUSE_ALL_FEATURES
12928 if test -z "$defaultval"; then
12929 if test x"$enablestring" = xdisable; then
12930 defaultval=yes
12931 else
12932 defaultval=no
12933 fi
12934 fi
12935
12936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12937 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12938 no_cache=0
12939 # Check whether --enable-stattext was given.
12940 if test "${enable_stattext+set}" = set; then
12941 enableval=$enable_stattext;
12942 if test "$enableval" = yes; then
12943 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12944 else
12945 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12946 fi
12947
12948 else
12949
12950 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12951 if test "x$LINE" != x ; then
12952 eval "DEFAULT_$LINE"
12953 else
12954 no_cache=1
12955 fi
12956
12957 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12958
12959 fi
12960
12961
12962 eval "$wx_cv_use_stattext"
12963 if test "$no_cache" != 1; then
12964 echo $wx_cv_use_stattext >> ${wx_arg_cache_file}.tmp
12965 fi
12966
12967 if test x"$enablestring" = xdisable; then
12968 if test $wxUSE_STATTEXT = yes; then
12969 result=no
12970 else
12971 result=yes
12972 fi
12973 else
12974 result=$wxUSE_STATTEXT
12975 fi
12976
12977 { echo "$as_me:$LINENO: result: $result" >&5
12978 echo "${ECHO_T}$result" >&6; }
12979
12980
12981 enablestring=
12982 defaultval=$wxUSE_ALL_FEATURES
12983 if test -z "$defaultval"; then
12984 if test x"$enablestring" = xdisable; then
12985 defaultval=yes
12986 else
12987 defaultval=no
12988 fi
12989 fi
12990
12991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12992 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12993 no_cache=0
12994 # Check whether --enable-statusbar was given.
12995 if test "${enable_statusbar+set}" = set; then
12996 enableval=$enable_statusbar;
12997 if test "$enableval" = yes; then
12998 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12999 else
13000 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13001 fi
13002
13003 else
13004
13005 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13006 if test "x$LINE" != x ; then
13007 eval "DEFAULT_$LINE"
13008 else
13009 no_cache=1
13010 fi
13011
13012 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13013
13014 fi
13015
13016
13017 eval "$wx_cv_use_statusbar"
13018 if test "$no_cache" != 1; then
13019 echo $wx_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
13020 fi
13021
13022 if test x"$enablestring" = xdisable; then
13023 if test $wxUSE_STATUSBAR = yes; then
13024 result=no
13025 else
13026 result=yes
13027 fi
13028 else
13029 result=$wxUSE_STATUSBAR
13030 fi
13031
13032 { echo "$as_me:$LINENO: result: $result" >&5
13033 echo "${ECHO_T}$result" >&6; }
13034
13035
13036 enablestring=
13037 defaultval=$wxUSE_ALL_FEATURES
13038 if test -z "$defaultval"; then
13039 if test x"$enablestring" = xdisable; then
13040 defaultval=yes
13041 else
13042 defaultval=no
13043 fi
13044 fi
13045
13046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13047 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13048 no_cache=0
13049 # Check whether --enable-tabdialog was given.
13050 if test "${enable_tabdialog+set}" = set; then
13051 enableval=$enable_tabdialog;
13052 if test "$enableval" = yes; then
13053 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13054 else
13055 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13056 fi
13057
13058 else
13059
13060 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13061 if test "x$LINE" != x ; then
13062 eval "DEFAULT_$LINE"
13063 else
13064 no_cache=1
13065 fi
13066
13067 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13068
13069 fi
13070
13071
13072 eval "$wx_cv_use_tabdialog"
13073 if test "$no_cache" != 1; then
13074 echo $wx_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
13075 fi
13076
13077 if test x"$enablestring" = xdisable; then
13078 if test $wxUSE_TAB_DIALOG = yes; then
13079 result=no
13080 else
13081 result=yes
13082 fi
13083 else
13084 result=$wxUSE_TAB_DIALOG
13085 fi
13086
13087 { echo "$as_me:$LINENO: result: $result" >&5
13088 echo "${ECHO_T}$result" >&6; }
13089
13090
13091 enablestring=
13092 defaultval=$wxUSE_ALL_FEATURES
13093 if test -z "$defaultval"; then
13094 if test x"$enablestring" = xdisable; then
13095 defaultval=yes
13096 else
13097 defaultval=no
13098 fi
13099 fi
13100
13101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13102 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13103 no_cache=0
13104 # Check whether --enable-textctrl was given.
13105 if test "${enable_textctrl+set}" = set; then
13106 enableval=$enable_textctrl;
13107 if test "$enableval" = yes; then
13108 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13109 else
13110 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13111 fi
13112
13113 else
13114
13115 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13116 if test "x$LINE" != x ; then
13117 eval "DEFAULT_$LINE"
13118 else
13119 no_cache=1
13120 fi
13121
13122 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13123
13124 fi
13125
13126
13127 eval "$wx_cv_use_textctrl"
13128 if test "$no_cache" != 1; then
13129 echo $wx_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
13130 fi
13131
13132 if test x"$enablestring" = xdisable; then
13133 if test $wxUSE_TEXTCTRL = yes; then
13134 result=no
13135 else
13136 result=yes
13137 fi
13138 else
13139 result=$wxUSE_TEXTCTRL
13140 fi
13141
13142 { echo "$as_me:$LINENO: result: $result" >&5
13143 echo "${ECHO_T}$result" >&6; }
13144
13145
13146 enablestring=
13147 defaultval=$wxUSE_ALL_FEATURES
13148 if test -z "$defaultval"; then
13149 if test x"$enablestring" = xdisable; then
13150 defaultval=yes
13151 else
13152 defaultval=no
13153 fi
13154 fi
13155
13156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13157 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13158 no_cache=0
13159 # Check whether --enable-togglebtn was given.
13160 if test "${enable_togglebtn+set}" = set; then
13161 enableval=$enable_togglebtn;
13162 if test "$enableval" = yes; then
13163 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13164 else
13165 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13166 fi
13167
13168 else
13169
13170 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13171 if test "x$LINE" != x ; then
13172 eval "DEFAULT_$LINE"
13173 else
13174 no_cache=1
13175 fi
13176
13177 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13178
13179 fi
13180
13181
13182 eval "$wx_cv_use_togglebtn"
13183 if test "$no_cache" != 1; then
13184 echo $wx_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
13185 fi
13186
13187 if test x"$enablestring" = xdisable; then
13188 if test $wxUSE_TOGGLEBTN = yes; then
13189 result=no
13190 else
13191 result=yes
13192 fi
13193 else
13194 result=$wxUSE_TOGGLEBTN
13195 fi
13196
13197 { echo "$as_me:$LINENO: result: $result" >&5
13198 echo "${ECHO_T}$result" >&6; }
13199
13200
13201 enablestring=
13202 defaultval=$wxUSE_ALL_FEATURES
13203 if test -z "$defaultval"; then
13204 if test x"$enablestring" = xdisable; then
13205 defaultval=yes
13206 else
13207 defaultval=no
13208 fi
13209 fi
13210
13211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13212 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13213 no_cache=0
13214 # Check whether --enable-toolbar was given.
13215 if test "${enable_toolbar+set}" = set; then
13216 enableval=$enable_toolbar;
13217 if test "$enableval" = yes; then
13218 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13219 else
13220 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13221 fi
13222
13223 else
13224
13225 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13226 if test "x$LINE" != x ; then
13227 eval "DEFAULT_$LINE"
13228 else
13229 no_cache=1
13230 fi
13231
13232 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13233
13234 fi
13235
13236
13237 eval "$wx_cv_use_toolbar"
13238 if test "$no_cache" != 1; then
13239 echo $wx_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
13240 fi
13241
13242 if test x"$enablestring" = xdisable; then
13243 if test $wxUSE_TOOLBAR = yes; then
13244 result=no
13245 else
13246 result=yes
13247 fi
13248 else
13249 result=$wxUSE_TOOLBAR
13250 fi
13251
13252 { echo "$as_me:$LINENO: result: $result" >&5
13253 echo "${ECHO_T}$result" >&6; }
13254
13255
13256 enablestring=
13257 defaultval=$wxUSE_ALL_FEATURES
13258 if test -z "$defaultval"; then
13259 if test x"$enablestring" = xdisable; then
13260 defaultval=yes
13261 else
13262 defaultval=no
13263 fi
13264 fi
13265
13266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13267 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13268 no_cache=0
13269 # Check whether --enable-tbarnative was given.
13270 if test "${enable_tbarnative+set}" = set; then
13271 enableval=$enable_tbarnative;
13272 if test "$enableval" = yes; then
13273 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13274 else
13275 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13276 fi
13277
13278 else
13279
13280 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13281 if test "x$LINE" != x ; then
13282 eval "DEFAULT_$LINE"
13283 else
13284 no_cache=1
13285 fi
13286
13287 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13288
13289 fi
13290
13291
13292 eval "$wx_cv_use_tbarnative"
13293 if test "$no_cache" != 1; then
13294 echo $wx_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
13295 fi
13296
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13299 result=no
13300 else
13301 result=yes
13302 fi
13303 else
13304 result=$wxUSE_TOOLBAR_NATIVE
13305 fi
13306
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13309
13310
13311 enablestring=
13312 defaultval=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x"$enablestring" = xdisable; then
13315 defaultval=yes
13316 else
13317 defaultval=no
13318 fi
13319 fi
13320
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13323 no_cache=0
13324 # Check whether --enable-treebook was given.
13325 if test "${enable_treebook+set}" = set; then
13326 enableval=$enable_treebook;
13327 if test "$enableval" = yes; then
13328 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13329 else
13330 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13331 fi
13332
13333 else
13334
13335 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13336 if test "x$LINE" != x ; then
13337 eval "DEFAULT_$LINE"
13338 else
13339 no_cache=1
13340 fi
13341
13342 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13343
13344 fi
13345
13346
13347 eval "$wx_cv_use_treebook"
13348 if test "$no_cache" != 1; then
13349 echo $wx_cv_use_treebook >> ${wx_arg_cache_file}.tmp
13350 fi
13351
13352 if test x"$enablestring" = xdisable; then
13353 if test $wxUSE_TREEBOOK = yes; then
13354 result=no
13355 else
13356 result=yes
13357 fi
13358 else
13359 result=$wxUSE_TREEBOOK
13360 fi
13361
13362 { echo "$as_me:$LINENO: result: $result" >&5
13363 echo "${ECHO_T}$result" >&6; }
13364
13365
13366 enablestring=
13367 defaultval=$wxUSE_ALL_FEATURES
13368 if test -z "$defaultval"; then
13369 if test x"$enablestring" = xdisable; then
13370 defaultval=yes
13371 else
13372 defaultval=no
13373 fi
13374 fi
13375
13376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13377 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13378 no_cache=0
13379 # Check whether --enable-toolbook was given.
13380 if test "${enable_toolbook+set}" = set; then
13381 enableval=$enable_toolbook;
13382 if test "$enableval" = yes; then
13383 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13384 else
13385 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13386 fi
13387
13388 else
13389
13390 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13391 if test "x$LINE" != x ; then
13392 eval "DEFAULT_$LINE"
13393 else
13394 no_cache=1
13395 fi
13396
13397 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13398
13399 fi
13400
13401
13402 eval "$wx_cv_use_toolbook"
13403 if test "$no_cache" != 1; then
13404 echo $wx_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
13405 fi
13406
13407 if test x"$enablestring" = xdisable; then
13408 if test $wxUSE_TOOLBOOK = yes; then
13409 result=no
13410 else
13411 result=yes
13412 fi
13413 else
13414 result=$wxUSE_TOOLBOOK
13415 fi
13416
13417 { echo "$as_me:$LINENO: result: $result" >&5
13418 echo "${ECHO_T}$result" >&6; }
13419
13420
13421 enablestring=
13422 defaultval=$wxUSE_ALL_FEATURES
13423 if test -z "$defaultval"; then
13424 if test x"$enablestring" = xdisable; then
13425 defaultval=yes
13426 else
13427 defaultval=no
13428 fi
13429 fi
13430
13431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13432 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13433 no_cache=0
13434 # Check whether --enable-treectrl was given.
13435 if test "${enable_treectrl+set}" = set; then
13436 enableval=$enable_treectrl;
13437 if test "$enableval" = yes; then
13438 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13439 else
13440 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13441 fi
13442
13443 else
13444
13445 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13446 if test "x$LINE" != x ; then
13447 eval "DEFAULT_$LINE"
13448 else
13449 no_cache=1
13450 fi
13451
13452 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13453
13454 fi
13455
13456
13457 eval "$wx_cv_use_treectrl"
13458 if test "$no_cache" != 1; then
13459 echo $wx_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
13460 fi
13461
13462 if test x"$enablestring" = xdisable; then
13463 if test $wxUSE_TREECTRL = yes; then
13464 result=no
13465 else
13466 result=yes
13467 fi
13468 else
13469 result=$wxUSE_TREECTRL
13470 fi
13471
13472 { echo "$as_me:$LINENO: result: $result" >&5
13473 echo "${ECHO_T}$result" >&6; }
13474
13475
13476 enablestring=
13477 defaultval=$wxUSE_ALL_FEATURES
13478 if test -z "$defaultval"; then
13479 if test x"$enablestring" = xdisable; then
13480 defaultval=yes
13481 else
13482 defaultval=no
13483 fi
13484 fi
13485
13486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13487 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13488 no_cache=0
13489 # Check whether --enable-tipwindow was given.
13490 if test "${enable_tipwindow+set}" = set; then
13491 enableval=$enable_tipwindow;
13492 if test "$enableval" = yes; then
13493 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13494 else
13495 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13496 fi
13497
13498 else
13499
13500 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13501 if test "x$LINE" != x ; then
13502 eval "DEFAULT_$LINE"
13503 else
13504 no_cache=1
13505 fi
13506
13507 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13508
13509 fi
13510
13511
13512 eval "$wx_cv_use_tipwindow"
13513 if test "$no_cache" != 1; then
13514 echo $wx_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
13515 fi
13516
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_TIPWINDOW = yes; then
13519 result=no
13520 else
13521 result=yes
13522 fi
13523 else
13524 result=$wxUSE_TIPWINDOW
13525 fi
13526
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13529
13530
13531 enablestring=
13532 defaultval=$wxUSE_ALL_FEATURES
13533 if test -z "$defaultval"; then
13534 if test x"$enablestring" = xdisable; then
13535 defaultval=yes
13536 else
13537 defaultval=no
13538 fi
13539 fi
13540
13541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13542 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13543 no_cache=0
13544 # Check whether --enable-popupwin was given.
13545 if test "${enable_popupwin+set}" = set; then
13546 enableval=$enable_popupwin;
13547 if test "$enableval" = yes; then
13548 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13549 else
13550 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13551 fi
13552
13553 else
13554
13555 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13556 if test "x$LINE" != x ; then
13557 eval "DEFAULT_$LINE"
13558 else
13559 no_cache=1
13560 fi
13561
13562 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13563
13564 fi
13565
13566
13567 eval "$wx_cv_use_popupwin"
13568 if test "$no_cache" != 1; then
13569 echo $wx_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
13570 fi
13571
13572 if test x"$enablestring" = xdisable; then
13573 if test $wxUSE_POPUPWIN = yes; then
13574 result=no
13575 else
13576 result=yes
13577 fi
13578 else
13579 result=$wxUSE_POPUPWIN
13580 fi
13581
13582 { echo "$as_me:$LINENO: result: $result" >&5
13583 echo "${ECHO_T}$result" >&6; }
13584
13585
13586
13587
13588 enablestring=
13589 defaultval=$wxUSE_ALL_FEATURES
13590 if test -z "$defaultval"; then
13591 if test x"$enablestring" = xdisable; then
13592 defaultval=yes
13593 else
13594 defaultval=no
13595 fi
13596 fi
13597
13598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13599 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13600 no_cache=0
13601 # Check whether --enable-commondlg was given.
13602 if test "${enable_commondlg+set}" = set; then
13603 enableval=$enable_commondlg;
13604 if test "$enableval" = yes; then
13605 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13606 else
13607 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13608 fi
13609
13610 else
13611
13612 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13613 if test "x$LINE" != x ; then
13614 eval "DEFAULT_$LINE"
13615 else
13616 no_cache=1
13617 fi
13618
13619 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13620
13621 fi
13622
13623
13624 eval "$wx_cv_use_commondlg"
13625 if test "$no_cache" != 1; then
13626 echo $wx_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
13627 fi
13628
13629 if test x"$enablestring" = xdisable; then
13630 if test $wxUSE_COMMONDLGS = yes; then
13631 result=no
13632 else
13633 result=yes
13634 fi
13635 else
13636 result=$wxUSE_COMMONDLGS
13637 fi
13638
13639 { echo "$as_me:$LINENO: result: $result" >&5
13640 echo "${ECHO_T}$result" >&6; }
13641
13642
13643 enablestring=
13644 defaultval=$wxUSE_ALL_FEATURES
13645 if test -z "$defaultval"; then
13646 if test x"$enablestring" = xdisable; then
13647 defaultval=yes
13648 else
13649 defaultval=no
13650 fi
13651 fi
13652
13653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13654 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13655 no_cache=0
13656 # Check whether --enable-aboutdlg was given.
13657 if test "${enable_aboutdlg+set}" = set; then
13658 enableval=$enable_aboutdlg;
13659 if test "$enableval" = yes; then
13660 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13661 else
13662 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13663 fi
13664
13665 else
13666
13667 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13668 if test "x$LINE" != x ; then
13669 eval "DEFAULT_$LINE"
13670 else
13671 no_cache=1
13672 fi
13673
13674 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13675
13676 fi
13677
13678
13679 eval "$wx_cv_use_aboutdlg"
13680 if test "$no_cache" != 1; then
13681 echo $wx_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
13682 fi
13683
13684 if test x"$enablestring" = xdisable; then
13685 if test $wxUSE_ABOUTDLG = yes; then
13686 result=no
13687 else
13688 result=yes
13689 fi
13690 else
13691 result=$wxUSE_ABOUTDLG
13692 fi
13693
13694 { echo "$as_me:$LINENO: result: $result" >&5
13695 echo "${ECHO_T}$result" >&6; }
13696
13697
13698 enablestring=
13699 defaultval=$wxUSE_ALL_FEATURES
13700 if test -z "$defaultval"; then
13701 if test x"$enablestring" = xdisable; then
13702 defaultval=yes
13703 else
13704 defaultval=no
13705 fi
13706 fi
13707
13708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13709 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13710 no_cache=0
13711 # Check whether --enable-choicedlg was given.
13712 if test "${enable_choicedlg+set}" = set; then
13713 enableval=$enable_choicedlg;
13714 if test "$enableval" = yes; then
13715 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13716 else
13717 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13718 fi
13719
13720 else
13721
13722 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13723 if test "x$LINE" != x ; then
13724 eval "DEFAULT_$LINE"
13725 else
13726 no_cache=1
13727 fi
13728
13729 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13730
13731 fi
13732
13733
13734 eval "$wx_cv_use_choicedlg"
13735 if test "$no_cache" != 1; then
13736 echo $wx_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
13737 fi
13738
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_CHOICEDLG = yes; then
13741 result=no
13742 else
13743 result=yes
13744 fi
13745 else
13746 result=$wxUSE_CHOICEDLG
13747 fi
13748
13749 { echo "$as_me:$LINENO: result: $result" >&5
13750 echo "${ECHO_T}$result" >&6; }
13751
13752
13753 enablestring=
13754 defaultval=$wxUSE_ALL_FEATURES
13755 if test -z "$defaultval"; then
13756 if test x"$enablestring" = xdisable; then
13757 defaultval=yes
13758 else
13759 defaultval=no
13760 fi
13761 fi
13762
13763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13765 no_cache=0
13766 # Check whether --enable-coldlg was given.
13767 if test "${enable_coldlg+set}" = set; then
13768 enableval=$enable_coldlg;
13769 if test "$enableval" = yes; then
13770 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13771 else
13772 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13773 fi
13774
13775 else
13776
13777 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13778 if test "x$LINE" != x ; then
13779 eval "DEFAULT_$LINE"
13780 else
13781 no_cache=1
13782 fi
13783
13784 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13785
13786 fi
13787
13788
13789 eval "$wx_cv_use_coldlg"
13790 if test "$no_cache" != 1; then
13791 echo $wx_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
13792 fi
13793
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_COLOURDLG = yes; then
13796 result=no
13797 else
13798 result=yes
13799 fi
13800 else
13801 result=$wxUSE_COLOURDLG
13802 fi
13803
13804 { echo "$as_me:$LINENO: result: $result" >&5
13805 echo "${ECHO_T}$result" >&6; }
13806
13807
13808 enablestring=
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13812 defaultval=yes
13813 else
13814 defaultval=no
13815 fi
13816 fi
13817
13818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13819 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13820 no_cache=0
13821 # Check whether --enable-filedlg was given.
13822 if test "${enable_filedlg+set}" = set; then
13823 enableval=$enable_filedlg;
13824 if test "$enableval" = yes; then
13825 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13826 else
13827 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13828 fi
13829
13830 else
13831
13832 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13833 if test "x$LINE" != x ; then
13834 eval "DEFAULT_$LINE"
13835 else
13836 no_cache=1
13837 fi
13838
13839 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13840
13841 fi
13842
13843
13844 eval "$wx_cv_use_filedlg"
13845 if test "$no_cache" != 1; then
13846 echo $wx_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
13847 fi
13848
13849 if test x"$enablestring" = xdisable; then
13850 if test $wxUSE_FILEDLG = yes; then
13851 result=no
13852 else
13853 result=yes
13854 fi
13855 else
13856 result=$wxUSE_FILEDLG
13857 fi
13858
13859 { echo "$as_me:$LINENO: result: $result" >&5
13860 echo "${ECHO_T}$result" >&6; }
13861
13862
13863 enablestring=
13864 defaultval=$wxUSE_ALL_FEATURES
13865 if test -z "$defaultval"; then
13866 if test x"$enablestring" = xdisable; then
13867 defaultval=yes
13868 else
13869 defaultval=no
13870 fi
13871 fi
13872
13873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13874 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13875 no_cache=0
13876 # Check whether --enable-finddlg was given.
13877 if test "${enable_finddlg+set}" = set; then
13878 enableval=$enable_finddlg;
13879 if test "$enableval" = yes; then
13880 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13881 else
13882 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13883 fi
13884
13885 else
13886
13887 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13888 if test "x$LINE" != x ; then
13889 eval "DEFAULT_$LINE"
13890 else
13891 no_cache=1
13892 fi
13893
13894 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13895
13896 fi
13897
13898
13899 eval "$wx_cv_use_finddlg"
13900 if test "$no_cache" != 1; then
13901 echo $wx_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
13902 fi
13903
13904 if test x"$enablestring" = xdisable; then
13905 if test $wxUSE_FINDREPLDLG = yes; then
13906 result=no
13907 else
13908 result=yes
13909 fi
13910 else
13911 result=$wxUSE_FINDREPLDLG
13912 fi
13913
13914 { echo "$as_me:$LINENO: result: $result" >&5
13915 echo "${ECHO_T}$result" >&6; }
13916
13917
13918 enablestring=
13919 defaultval=$wxUSE_ALL_FEATURES
13920 if test -z "$defaultval"; then
13921 if test x"$enablestring" = xdisable; then
13922 defaultval=yes
13923 else
13924 defaultval=no
13925 fi
13926 fi
13927
13928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13929 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13930 no_cache=0
13931 # Check whether --enable-fontdlg was given.
13932 if test "${enable_fontdlg+set}" = set; then
13933 enableval=$enable_fontdlg;
13934 if test "$enableval" = yes; then
13935 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13936 else
13937 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13938 fi
13939
13940 else
13941
13942 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13943 if test "x$LINE" != x ; then
13944 eval "DEFAULT_$LINE"
13945 else
13946 no_cache=1
13947 fi
13948
13949 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13950
13951 fi
13952
13953
13954 eval "$wx_cv_use_fontdlg"
13955 if test "$no_cache" != 1; then
13956 echo $wx_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
13957 fi
13958
13959 if test x"$enablestring" = xdisable; then
13960 if test $wxUSE_FONTDLG = yes; then
13961 result=no
13962 else
13963 result=yes
13964 fi
13965 else
13966 result=$wxUSE_FONTDLG
13967 fi
13968
13969 { echo "$as_me:$LINENO: result: $result" >&5
13970 echo "${ECHO_T}$result" >&6; }
13971
13972
13973 enablestring=
13974 defaultval=$wxUSE_ALL_FEATURES
13975 if test -z "$defaultval"; then
13976 if test x"$enablestring" = xdisable; then
13977 defaultval=yes
13978 else
13979 defaultval=no
13980 fi
13981 fi
13982
13983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13984 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13985 no_cache=0
13986 # Check whether --enable-dirdlg was given.
13987 if test "${enable_dirdlg+set}" = set; then
13988 enableval=$enable_dirdlg;
13989 if test "$enableval" = yes; then
13990 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13991 else
13992 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13993 fi
13994
13995 else
13996
13997 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13998 if test "x$LINE" != x ; then
13999 eval "DEFAULT_$LINE"
14000 else
14001 no_cache=1
14002 fi
14003
14004 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14005
14006 fi
14007
14008
14009 eval "$wx_cv_use_dirdlg"
14010 if test "$no_cache" != 1; then
14011 echo $wx_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
14012 fi
14013
14014 if test x"$enablestring" = xdisable; then
14015 if test $wxUSE_DIRDLG = yes; then
14016 result=no
14017 else
14018 result=yes
14019 fi
14020 else
14021 result=$wxUSE_DIRDLG
14022 fi
14023
14024 { echo "$as_me:$LINENO: result: $result" >&5
14025 echo "${ECHO_T}$result" >&6; }
14026
14027
14028 enablestring=
14029 defaultval=$wxUSE_ALL_FEATURES
14030 if test -z "$defaultval"; then
14031 if test x"$enablestring" = xdisable; then
14032 defaultval=yes
14033 else
14034 defaultval=no
14035 fi
14036 fi
14037
14038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14039 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14040 no_cache=0
14041 # Check whether --enable-msgdlg was given.
14042 if test "${enable_msgdlg+set}" = set; then
14043 enableval=$enable_msgdlg;
14044 if test "$enableval" = yes; then
14045 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14046 else
14047 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14048 fi
14049
14050 else
14051
14052 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14053 if test "x$LINE" != x ; then
14054 eval "DEFAULT_$LINE"
14055 else
14056 no_cache=1
14057 fi
14058
14059 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14060
14061 fi
14062
14063
14064 eval "$wx_cv_use_msgdlg"
14065 if test "$no_cache" != 1; then
14066 echo $wx_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
14067 fi
14068
14069 if test x"$enablestring" = xdisable; then
14070 if test $wxUSE_MSGDLG = yes; then
14071 result=no
14072 else
14073 result=yes
14074 fi
14075 else
14076 result=$wxUSE_MSGDLG
14077 fi
14078
14079 { echo "$as_me:$LINENO: result: $result" >&5
14080 echo "${ECHO_T}$result" >&6; }
14081
14082
14083 enablestring=
14084 defaultval=$wxUSE_ALL_FEATURES
14085 if test -z "$defaultval"; then
14086 if test x"$enablestring" = xdisable; then
14087 defaultval=yes
14088 else
14089 defaultval=no
14090 fi
14091 fi
14092
14093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14094 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14095 no_cache=0
14096 # Check whether --enable-numberdlg was given.
14097 if test "${enable_numberdlg+set}" = set; then
14098 enableval=$enable_numberdlg;
14099 if test "$enableval" = yes; then
14100 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14101 else
14102 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14103 fi
14104
14105 else
14106
14107 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14108 if test "x$LINE" != x ; then
14109 eval "DEFAULT_$LINE"
14110 else
14111 no_cache=1
14112 fi
14113
14114 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14115
14116 fi
14117
14118
14119 eval "$wx_cv_use_numberdlg"
14120 if test "$no_cache" != 1; then
14121 echo $wx_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
14122 fi
14123
14124 if test x"$enablestring" = xdisable; then
14125 if test $wxUSE_NUMBERDLG = yes; then
14126 result=no
14127 else
14128 result=yes
14129 fi
14130 else
14131 result=$wxUSE_NUMBERDLG
14132 fi
14133
14134 { echo "$as_me:$LINENO: result: $result" >&5
14135 echo "${ECHO_T}$result" >&6; }
14136
14137
14138 enablestring=
14139 defaultval=$wxUSE_ALL_FEATURES
14140 if test -z "$defaultval"; then
14141 if test x"$enablestring" = xdisable; then
14142 defaultval=yes
14143 else
14144 defaultval=no
14145 fi
14146 fi
14147
14148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14149 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14150 no_cache=0
14151 # Check whether --enable-splash was given.
14152 if test "${enable_splash+set}" = set; then
14153 enableval=$enable_splash;
14154 if test "$enableval" = yes; then
14155 wx_cv_use_splash='wxUSE_SPLASH=yes'
14156 else
14157 wx_cv_use_splash='wxUSE_SPLASH=no'
14158 fi
14159
14160 else
14161
14162 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14163 if test "x$LINE" != x ; then
14164 eval "DEFAULT_$LINE"
14165 else
14166 no_cache=1
14167 fi
14168
14169 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14170
14171 fi
14172
14173
14174 eval "$wx_cv_use_splash"
14175 if test "$no_cache" != 1; then
14176 echo $wx_cv_use_splash >> ${wx_arg_cache_file}.tmp
14177 fi
14178
14179 if test x"$enablestring" = xdisable; then
14180 if test $wxUSE_SPLASH = yes; then
14181 result=no
14182 else
14183 result=yes
14184 fi
14185 else
14186 result=$wxUSE_SPLASH
14187 fi
14188
14189 { echo "$as_me:$LINENO: result: $result" >&5
14190 echo "${ECHO_T}$result" >&6; }
14191
14192
14193 enablestring=
14194 defaultval=$wxUSE_ALL_FEATURES
14195 if test -z "$defaultval"; then
14196 if test x"$enablestring" = xdisable; then
14197 defaultval=yes
14198 else
14199 defaultval=no
14200 fi
14201 fi
14202
14203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14204 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14205 no_cache=0
14206 # Check whether --enable-textdlg was given.
14207 if test "${enable_textdlg+set}" = set; then
14208 enableval=$enable_textdlg;
14209 if test "$enableval" = yes; then
14210 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14211 else
14212 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14213 fi
14214
14215 else
14216
14217 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14218 if test "x$LINE" != x ; then
14219 eval "DEFAULT_$LINE"
14220 else
14221 no_cache=1
14222 fi
14223
14224 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14225
14226 fi
14227
14228
14229 eval "$wx_cv_use_textdlg"
14230 if test "$no_cache" != 1; then
14231 echo $wx_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
14232 fi
14233
14234 if test x"$enablestring" = xdisable; then
14235 if test $wxUSE_TEXTDLG = yes; then
14236 result=no
14237 else
14238 result=yes
14239 fi
14240 else
14241 result=$wxUSE_TEXTDLG
14242 fi
14243
14244 { echo "$as_me:$LINENO: result: $result" >&5
14245 echo "${ECHO_T}$result" >&6; }
14246
14247
14248 enablestring=
14249 defaultval=$wxUSE_ALL_FEATURES
14250 if test -z "$defaultval"; then
14251 if test x"$enablestring" = xdisable; then
14252 defaultval=yes
14253 else
14254 defaultval=no
14255 fi
14256 fi
14257
14258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14259 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14260 no_cache=0
14261 # Check whether --enable-tipdlg was given.
14262 if test "${enable_tipdlg+set}" = set; then
14263 enableval=$enable_tipdlg;
14264 if test "$enableval" = yes; then
14265 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14266 else
14267 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14268 fi
14269
14270 else
14271
14272 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14273 if test "x$LINE" != x ; then
14274 eval "DEFAULT_$LINE"
14275 else
14276 no_cache=1
14277 fi
14278
14279 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14280
14281 fi
14282
14283
14284 eval "$wx_cv_use_tipdlg"
14285 if test "$no_cache" != 1; then
14286 echo $wx_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
14287 fi
14288
14289 if test x"$enablestring" = xdisable; then
14290 if test $wxUSE_STARTUP_TIPS = yes; then
14291 result=no
14292 else
14293 result=yes
14294 fi
14295 else
14296 result=$wxUSE_STARTUP_TIPS
14297 fi
14298
14299 { echo "$as_me:$LINENO: result: $result" >&5
14300 echo "${ECHO_T}$result" >&6; }
14301
14302
14303 enablestring=
14304 defaultval=$wxUSE_ALL_FEATURES
14305 if test -z "$defaultval"; then
14306 if test x"$enablestring" = xdisable; then
14307 defaultval=yes
14308 else
14309 defaultval=no
14310 fi
14311 fi
14312
14313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14314 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14315 no_cache=0
14316 # Check whether --enable-progressdlg was given.
14317 if test "${enable_progressdlg+set}" = set; then
14318 enableval=$enable_progressdlg;
14319 if test "$enableval" = yes; then
14320 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14321 else
14322 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14323 fi
14324
14325 else
14326
14327 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14328 if test "x$LINE" != x ; then
14329 eval "DEFAULT_$LINE"
14330 else
14331 no_cache=1
14332 fi
14333
14334 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14335
14336 fi
14337
14338
14339 eval "$wx_cv_use_progressdlg"
14340 if test "$no_cache" != 1; then
14341 echo $wx_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
14342 fi
14343
14344 if test x"$enablestring" = xdisable; then
14345 if test $wxUSE_PROGRESSDLG = yes; then
14346 result=no
14347 else
14348 result=yes
14349 fi
14350 else
14351 result=$wxUSE_PROGRESSDLG
14352 fi
14353
14354 { echo "$as_me:$LINENO: result: $result" >&5
14355 echo "${ECHO_T}$result" >&6; }
14356
14357
14358 enablestring=
14359 defaultval=$wxUSE_ALL_FEATURES
14360 if test -z "$defaultval"; then
14361 if test x"$enablestring" = xdisable; then
14362 defaultval=yes
14363 else
14364 defaultval=no
14365 fi
14366 fi
14367
14368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14369 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14370 no_cache=0
14371 # Check whether --enable-wizarddlg was given.
14372 if test "${enable_wizarddlg+set}" = set; then
14373 enableval=$enable_wizarddlg;
14374 if test "$enableval" = yes; then
14375 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14376 else
14377 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14378 fi
14379
14380 else
14381
14382 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14383 if test "x$LINE" != x ; then
14384 eval "DEFAULT_$LINE"
14385 else
14386 no_cache=1
14387 fi
14388
14389 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14390
14391 fi
14392
14393
14394 eval "$wx_cv_use_wizarddlg"
14395 if test "$no_cache" != 1; then
14396 echo $wx_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
14397 fi
14398
14399 if test x"$enablestring" = xdisable; then
14400 if test $wxUSE_WIZARDDLG = yes; then
14401 result=no
14402 else
14403 result=yes
14404 fi
14405 else
14406 result=$wxUSE_WIZARDDLG
14407 fi
14408
14409 { echo "$as_me:$LINENO: result: $result" >&5
14410 echo "${ECHO_T}$result" >&6; }
14411
14412
14413
14414
14415 enablestring=
14416 defaultval=$wxUSE_ALL_FEATURES
14417 if test -z "$defaultval"; then
14418 if test x"$enablestring" = xdisable; then
14419 defaultval=yes
14420 else
14421 defaultval=no
14422 fi
14423 fi
14424
14425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14426 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14427 no_cache=0
14428 # Check whether --enable-menus was given.
14429 if test "${enable_menus+set}" = set; then
14430 enableval=$enable_menus;
14431 if test "$enableval" = yes; then
14432 wx_cv_use_menus='wxUSE_MENUS=yes'
14433 else
14434 wx_cv_use_menus='wxUSE_MENUS=no'
14435 fi
14436
14437 else
14438
14439 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14440 if test "x$LINE" != x ; then
14441 eval "DEFAULT_$LINE"
14442 else
14443 no_cache=1
14444 fi
14445
14446 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14447
14448 fi
14449
14450
14451 eval "$wx_cv_use_menus"
14452 if test "$no_cache" != 1; then
14453 echo $wx_cv_use_menus >> ${wx_arg_cache_file}.tmp
14454 fi
14455
14456 if test x"$enablestring" = xdisable; then
14457 if test $wxUSE_MENUS = yes; then
14458 result=no
14459 else
14460 result=yes
14461 fi
14462 else
14463 result=$wxUSE_MENUS
14464 fi
14465
14466 { echo "$as_me:$LINENO: result: $result" >&5
14467 echo "${ECHO_T}$result" >&6; }
14468
14469
14470 enablestring=
14471 defaultval=$wxUSE_ALL_FEATURES
14472 if test -z "$defaultval"; then
14473 if test x"$enablestring" = xdisable; then
14474 defaultval=yes
14475 else
14476 defaultval=no
14477 fi
14478 fi
14479
14480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14481 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14482 no_cache=0
14483 # Check whether --enable-miniframe was given.
14484 if test "${enable_miniframe+set}" = set; then
14485 enableval=$enable_miniframe;
14486 if test "$enableval" = yes; then
14487 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14488 else
14489 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14490 fi
14491
14492 else
14493
14494 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14495 if test "x$LINE" != x ; then
14496 eval "DEFAULT_$LINE"
14497 else
14498 no_cache=1
14499 fi
14500
14501 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14502
14503 fi
14504
14505
14506 eval "$wx_cv_use_miniframe"
14507 if test "$no_cache" != 1; then
14508 echo $wx_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
14509 fi
14510
14511 if test x"$enablestring" = xdisable; then
14512 if test $wxUSE_MINIFRAME = yes; then
14513 result=no
14514 else
14515 result=yes
14516 fi
14517 else
14518 result=$wxUSE_MINIFRAME
14519 fi
14520
14521 { echo "$as_me:$LINENO: result: $result" >&5
14522 echo "${ECHO_T}$result" >&6; }
14523
14524
14525 enablestring=
14526 defaultval=$wxUSE_ALL_FEATURES
14527 if test -z "$defaultval"; then
14528 if test x"$enablestring" = xdisable; then
14529 defaultval=yes
14530 else
14531 defaultval=no
14532 fi
14533 fi
14534
14535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14536 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14537 no_cache=0
14538 # Check whether --enable-tooltips was given.
14539 if test "${enable_tooltips+set}" = set; then
14540 enableval=$enable_tooltips;
14541 if test "$enableval" = yes; then
14542 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14543 else
14544 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14545 fi
14546
14547 else
14548
14549 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14550 if test "x$LINE" != x ; then
14551 eval "DEFAULT_$LINE"
14552 else
14553 no_cache=1
14554 fi
14555
14556 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14557
14558 fi
14559
14560
14561 eval "$wx_cv_use_tooltips"
14562 if test "$no_cache" != 1; then
14563 echo $wx_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
14564 fi
14565
14566 if test x"$enablestring" = xdisable; then
14567 if test $wxUSE_TOOLTIPS = yes; then
14568 result=no
14569 else
14570 result=yes
14571 fi
14572 else
14573 result=$wxUSE_TOOLTIPS
14574 fi
14575
14576 { echo "$as_me:$LINENO: result: $result" >&5
14577 echo "${ECHO_T}$result" >&6; }
14578
14579
14580 enablestring=
14581 defaultval=$wxUSE_ALL_FEATURES
14582 if test -z "$defaultval"; then
14583 if test x"$enablestring" = xdisable; then
14584 defaultval=yes
14585 else
14586 defaultval=no
14587 fi
14588 fi
14589
14590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14591 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14592 no_cache=0
14593 # Check whether --enable-splines was given.
14594 if test "${enable_splines+set}" = set; then
14595 enableval=$enable_splines;
14596 if test "$enableval" = yes; then
14597 wx_cv_use_splines='wxUSE_SPLINES=yes'
14598 else
14599 wx_cv_use_splines='wxUSE_SPLINES=no'
14600 fi
14601
14602 else
14603
14604 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14605 if test "x$LINE" != x ; then
14606 eval "DEFAULT_$LINE"
14607 else
14608 no_cache=1
14609 fi
14610
14611 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14612
14613 fi
14614
14615
14616 eval "$wx_cv_use_splines"
14617 if test "$no_cache" != 1; then
14618 echo $wx_cv_use_splines >> ${wx_arg_cache_file}.tmp
14619 fi
14620
14621 if test x"$enablestring" = xdisable; then
14622 if test $wxUSE_SPLINES = yes; then
14623 result=no
14624 else
14625 result=yes
14626 fi
14627 else
14628 result=$wxUSE_SPLINES
14629 fi
14630
14631 { echo "$as_me:$LINENO: result: $result" >&5
14632 echo "${ECHO_T}$result" >&6; }
14633
14634
14635 enablestring=
14636 defaultval=$wxUSE_ALL_FEATURES
14637 if test -z "$defaultval"; then
14638 if test x"$enablestring" = xdisable; then
14639 defaultval=yes
14640 else
14641 defaultval=no
14642 fi
14643 fi
14644
14645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14646 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14647 no_cache=0
14648 # Check whether --enable-mousewheel was given.
14649 if test "${enable_mousewheel+set}" = set; then
14650 enableval=$enable_mousewheel;
14651 if test "$enableval" = yes; then
14652 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14653 else
14654 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14655 fi
14656
14657 else
14658
14659 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14660 if test "x$LINE" != x ; then
14661 eval "DEFAULT_$LINE"
14662 else
14663 no_cache=1
14664 fi
14665
14666 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14667
14668 fi
14669
14670
14671 eval "$wx_cv_use_mousewheel"
14672 if test "$no_cache" != 1; then
14673 echo $wx_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
14674 fi
14675
14676 if test x"$enablestring" = xdisable; then
14677 if test $wxUSE_MOUSEWHEEL = yes; then
14678 result=no
14679 else
14680 result=yes
14681 fi
14682 else
14683 result=$wxUSE_MOUSEWHEEL
14684 fi
14685
14686 { echo "$as_me:$LINENO: result: $result" >&5
14687 echo "${ECHO_T}$result" >&6; }
14688
14689
14690 enablestring=
14691 defaultval=$wxUSE_ALL_FEATURES
14692 if test -z "$defaultval"; then
14693 if test x"$enablestring" = xdisable; then
14694 defaultval=yes
14695 else
14696 defaultval=no
14697 fi
14698 fi
14699
14700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14701 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14702 no_cache=0
14703 # Check whether --enable-validators was given.
14704 if test "${enable_validators+set}" = set; then
14705 enableval=$enable_validators;
14706 if test "$enableval" = yes; then
14707 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14708 else
14709 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14710 fi
14711
14712 else
14713
14714 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14715 if test "x$LINE" != x ; then
14716 eval "DEFAULT_$LINE"
14717 else
14718 no_cache=1
14719 fi
14720
14721 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14722
14723 fi
14724
14725
14726 eval "$wx_cv_use_validators"
14727 if test "$no_cache" != 1; then
14728 echo $wx_cv_use_validators >> ${wx_arg_cache_file}.tmp
14729 fi
14730
14731 if test x"$enablestring" = xdisable; then
14732 if test $wxUSE_VALIDATORS = yes; then
14733 result=no
14734 else
14735 result=yes
14736 fi
14737 else
14738 result=$wxUSE_VALIDATORS
14739 fi
14740
14741 { echo "$as_me:$LINENO: result: $result" >&5
14742 echo "${ECHO_T}$result" >&6; }
14743
14744
14745 enablestring=
14746 defaultval=$wxUSE_ALL_FEATURES
14747 if test -z "$defaultval"; then
14748 if test x"$enablestring" = xdisable; then
14749 defaultval=yes
14750 else
14751 defaultval=no
14752 fi
14753 fi
14754
14755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14756 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14757 no_cache=0
14758 # Check whether --enable-busyinfo was given.
14759 if test "${enable_busyinfo+set}" = set; then
14760 enableval=$enable_busyinfo;
14761 if test "$enableval" = yes; then
14762 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14763 else
14764 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14765 fi
14766
14767 else
14768
14769 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14770 if test "x$LINE" != x ; then
14771 eval "DEFAULT_$LINE"
14772 else
14773 no_cache=1
14774 fi
14775
14776 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14777
14778 fi
14779
14780
14781 eval "$wx_cv_use_busyinfo"
14782 if test "$no_cache" != 1; then
14783 echo $wx_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
14784 fi
14785
14786 if test x"$enablestring" = xdisable; then
14787 if test $wxUSE_BUSYINFO = yes; then
14788 result=no
14789 else
14790 result=yes
14791 fi
14792 else
14793 result=$wxUSE_BUSYINFO
14794 fi
14795
14796 { echo "$as_me:$LINENO: result: $result" >&5
14797 echo "${ECHO_T}$result" >&6; }
14798
14799
14800 enablestring=
14801 defaultval=$wxUSE_ALL_FEATURES
14802 if test -z "$defaultval"; then
14803 if test x"$enablestring" = xdisable; then
14804 defaultval=yes
14805 else
14806 defaultval=no
14807 fi
14808 fi
14809
14810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14811 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14812 no_cache=0
14813 # Check whether --enable-joystick was given.
14814 if test "${enable_joystick+set}" = set; then
14815 enableval=$enable_joystick;
14816 if test "$enableval" = yes; then
14817 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14818 else
14819 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14820 fi
14821
14822 else
14823
14824 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14825 if test "x$LINE" != x ; then
14826 eval "DEFAULT_$LINE"
14827 else
14828 no_cache=1
14829 fi
14830
14831 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14832
14833 fi
14834
14835
14836 eval "$wx_cv_use_joystick"
14837 if test "$no_cache" != 1; then
14838 echo $wx_cv_use_joystick >> ${wx_arg_cache_file}.tmp
14839 fi
14840
14841 if test x"$enablestring" = xdisable; then
14842 if test $wxUSE_JOYSTICK = yes; then
14843 result=no
14844 else
14845 result=yes
14846 fi
14847 else
14848 result=$wxUSE_JOYSTICK
14849 fi
14850
14851 { echo "$as_me:$LINENO: result: $result" >&5
14852 echo "${ECHO_T}$result" >&6; }
14853
14854
14855 enablestring=
14856 defaultval=$wxUSE_ALL_FEATURES
14857 if test -z "$defaultval"; then
14858 if test x"$enablestring" = xdisable; then
14859 defaultval=yes
14860 else
14861 defaultval=no
14862 fi
14863 fi
14864
14865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14866 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14867 no_cache=0
14868 # Check whether --enable-metafile was given.
14869 if test "${enable_metafile+set}" = set; then
14870 enableval=$enable_metafile;
14871 if test "$enableval" = yes; then
14872 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14873 else
14874 wx_cv_use_metafile='wxUSE_METAFILE=no'
14875 fi
14876
14877 else
14878
14879 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14880 if test "x$LINE" != x ; then
14881 eval "DEFAULT_$LINE"
14882 else
14883 no_cache=1
14884 fi
14885
14886 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14887
14888 fi
14889
14890
14891 eval "$wx_cv_use_metafile"
14892 if test "$no_cache" != 1; then
14893 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
14894 fi
14895
14896 if test x"$enablestring" = xdisable; then
14897 if test $wxUSE_METAFILE = yes; then
14898 result=no
14899 else
14900 result=yes
14901 fi
14902 else
14903 result=$wxUSE_METAFILE
14904 fi
14905
14906 { echo "$as_me:$LINENO: result: $result" >&5
14907 echo "${ECHO_T}$result" >&6; }
14908
14909
14910 enablestring=
14911 defaultval=$wxUSE_ALL_FEATURES
14912 if test -z "$defaultval"; then
14913 if test x"$enablestring" = xdisable; then
14914 defaultval=yes
14915 else
14916 defaultval=no
14917 fi
14918 fi
14919
14920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14921 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14922 no_cache=0
14923 # Check whether --enable-dragimage was given.
14924 if test "${enable_dragimage+set}" = set; then
14925 enableval=$enable_dragimage;
14926 if test "$enableval" = yes; then
14927 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14928 else
14929 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14930 fi
14931
14932 else
14933
14934 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14935 if test "x$LINE" != x ; then
14936 eval "DEFAULT_$LINE"
14937 else
14938 no_cache=1
14939 fi
14940
14941 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14942
14943 fi
14944
14945
14946 eval "$wx_cv_use_dragimage"
14947 if test "$no_cache" != 1; then
14948 echo $wx_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
14949 fi
14950
14951 if test x"$enablestring" = xdisable; then
14952 if test $wxUSE_DRAGIMAGE = yes; then
14953 result=no
14954 else
14955 result=yes
14956 fi
14957 else
14958 result=$wxUSE_DRAGIMAGE
14959 fi
14960
14961 { echo "$as_me:$LINENO: result: $result" >&5
14962 echo "${ECHO_T}$result" >&6; }
14963
14964
14965 enablestring=
14966 defaultval=$wxUSE_ALL_FEATURES
14967 if test -z "$defaultval"; then
14968 if test x"$enablestring" = xdisable; then
14969 defaultval=yes
14970 else
14971 defaultval=no
14972 fi
14973 fi
14974
14975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14976 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14977 no_cache=0
14978 # Check whether --enable-accessibility was given.
14979 if test "${enable_accessibility+set}" = set; then
14980 enableval=$enable_accessibility;
14981 if test "$enableval" = yes; then
14982 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14983 else
14984 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14985 fi
14986
14987 else
14988
14989 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14990 if test "x$LINE" != x ; then
14991 eval "DEFAULT_$LINE"
14992 else
14993 no_cache=1
14994 fi
14995
14996 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14997
14998 fi
14999
15000
15001 eval "$wx_cv_use_accessibility"
15002 if test "$no_cache" != 1; then
15003 echo $wx_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
15004 fi
15005
15006 if test x"$enablestring" = xdisable; then
15007 if test $wxUSE_ACCESSIBILITY = yes; then
15008 result=no
15009 else
15010 result=yes
15011 fi
15012 else
15013 result=$wxUSE_ACCESSIBILITY
15014 fi
15015
15016 { echo "$as_me:$LINENO: result: $result" >&5
15017 echo "${ECHO_T}$result" >&6; }
15018
15019
15020 if test "$wxUSE_MSW" = "1"; then
15021
15022 enablestring=
15023 defaultval=$wxUSE_ALL_FEATURES
15024 if test -z "$defaultval"; then
15025 if test x"$enablestring" = xdisable; then
15026 defaultval=yes
15027 else
15028 defaultval=no
15029 fi
15030 fi
15031
15032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15033 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15034 no_cache=0
15035 # Check whether --enable-dccache was given.
15036 if test "${enable_dccache+set}" = set; then
15037 enableval=$enable_dccache;
15038 if test "$enableval" = yes; then
15039 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15040 else
15041 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15042 fi
15043
15044 else
15045
15046 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15047 if test "x$LINE" != x ; then
15048 eval "DEFAULT_$LINE"
15049 else
15050 no_cache=1
15051 fi
15052
15053 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15054
15055 fi
15056
15057
15058 eval "$wx_cv_use_dccache"
15059 if test "$no_cache" != 1; then
15060 echo $wx_cv_use_dccache >> ${wx_arg_cache_file}.tmp
15061 fi
15062
15063 if test x"$enablestring" = xdisable; then
15064 if test $wxUSE_DC_CACHEING = yes; then
15065 result=no
15066 else
15067 result=yes
15068 fi
15069 else
15070 result=$wxUSE_DC_CACHEING
15071 fi
15072
15073 { echo "$as_me:$LINENO: result: $result" >&5
15074 echo "${ECHO_T}$result" >&6; }
15075
15076 fi
15077
15078
15079
15080 enablestring=
15081 defaultval=$wxUSE_ALL_FEATURES
15082 if test -z "$defaultval"; then
15083 if test x"$enablestring" = xdisable; then
15084 defaultval=yes
15085 else
15086 defaultval=no
15087 fi
15088 fi
15089
15090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15091 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15092 no_cache=0
15093 # Check whether --enable-palette was given.
15094 if test "${enable_palette+set}" = set; then
15095 enableval=$enable_palette;
15096 if test "$enableval" = yes; then
15097 wx_cv_use_palette='wxUSE_PALETTE=yes'
15098 else
15099 wx_cv_use_palette='wxUSE_PALETTE=no'
15100 fi
15101
15102 else
15103
15104 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15105 if test "x$LINE" != x ; then
15106 eval "DEFAULT_$LINE"
15107 else
15108 no_cache=1
15109 fi
15110
15111 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15112
15113 fi
15114
15115
15116 eval "$wx_cv_use_palette"
15117 if test "$no_cache" != 1; then
15118 echo $wx_cv_use_palette >> ${wx_arg_cache_file}.tmp
15119 fi
15120
15121 if test x"$enablestring" = xdisable; then
15122 if test $wxUSE_PALETTE = yes; then
15123 result=no
15124 else
15125 result=yes
15126 fi
15127 else
15128 result=$wxUSE_PALETTE
15129 fi
15130
15131 { echo "$as_me:$LINENO: result: $result" >&5
15132 echo "${ECHO_T}$result" >&6; }
15133
15134
15135 enablestring=
15136 defaultval=$wxUSE_ALL_FEATURES
15137 if test -z "$defaultval"; then
15138 if test x"$enablestring" = xdisable; then
15139 defaultval=yes
15140 else
15141 defaultval=no
15142 fi
15143 fi
15144
15145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15146 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15147 no_cache=0
15148 # Check whether --enable-image was given.
15149 if test "${enable_image+set}" = set; then
15150 enableval=$enable_image;
15151 if test "$enableval" = yes; then
15152 wx_cv_use_image='wxUSE_IMAGE=yes'
15153 else
15154 wx_cv_use_image='wxUSE_IMAGE=no'
15155 fi
15156
15157 else
15158
15159 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15160 if test "x$LINE" != x ; then
15161 eval "DEFAULT_$LINE"
15162 else
15163 no_cache=1
15164 fi
15165
15166 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15167
15168 fi
15169
15170
15171 eval "$wx_cv_use_image"
15172 if test "$no_cache" != 1; then
15173 echo $wx_cv_use_image >> ${wx_arg_cache_file}.tmp
15174 fi
15175
15176 if test x"$enablestring" = xdisable; then
15177 if test $wxUSE_IMAGE = yes; then
15178 result=no
15179 else
15180 result=yes
15181 fi
15182 else
15183 result=$wxUSE_IMAGE
15184 fi
15185
15186 { echo "$as_me:$LINENO: result: $result" >&5
15187 echo "${ECHO_T}$result" >&6; }
15188
15189
15190 enablestring=
15191 defaultval=$wxUSE_ALL_FEATURES
15192 if test -z "$defaultval"; then
15193 if test x"$enablestring" = xdisable; then
15194 defaultval=yes
15195 else
15196 defaultval=no
15197 fi
15198 fi
15199
15200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15201 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15202 no_cache=0
15203 # Check whether --enable-gif was given.
15204 if test "${enable_gif+set}" = set; then
15205 enableval=$enable_gif;
15206 if test "$enableval" = yes; then
15207 wx_cv_use_gif='wxUSE_GIF=yes'
15208 else
15209 wx_cv_use_gif='wxUSE_GIF=no'
15210 fi
15211
15212 else
15213
15214 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15215 if test "x$LINE" != x ; then
15216 eval "DEFAULT_$LINE"
15217 else
15218 no_cache=1
15219 fi
15220
15221 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15222
15223 fi
15224
15225
15226 eval "$wx_cv_use_gif"
15227 if test "$no_cache" != 1; then
15228 echo $wx_cv_use_gif >> ${wx_arg_cache_file}.tmp
15229 fi
15230
15231 if test x"$enablestring" = xdisable; then
15232 if test $wxUSE_GIF = yes; then
15233 result=no
15234 else
15235 result=yes
15236 fi
15237 else
15238 result=$wxUSE_GIF
15239 fi
15240
15241 { echo "$as_me:$LINENO: result: $result" >&5
15242 echo "${ECHO_T}$result" >&6; }
15243
15244
15245 enablestring=
15246 defaultval=$wxUSE_ALL_FEATURES
15247 if test -z "$defaultval"; then
15248 if test x"$enablestring" = xdisable; then
15249 defaultval=yes
15250 else
15251 defaultval=no
15252 fi
15253 fi
15254
15255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15256 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15257 no_cache=0
15258 # Check whether --enable-pcx was given.
15259 if test "${enable_pcx+set}" = set; then
15260 enableval=$enable_pcx;
15261 if test "$enableval" = yes; then
15262 wx_cv_use_pcx='wxUSE_PCX=yes'
15263 else
15264 wx_cv_use_pcx='wxUSE_PCX=no'
15265 fi
15266
15267 else
15268
15269 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15270 if test "x$LINE" != x ; then
15271 eval "DEFAULT_$LINE"
15272 else
15273 no_cache=1
15274 fi
15275
15276 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15277
15278 fi
15279
15280
15281 eval "$wx_cv_use_pcx"
15282 if test "$no_cache" != 1; then
15283 echo $wx_cv_use_pcx >> ${wx_arg_cache_file}.tmp
15284 fi
15285
15286 if test x"$enablestring" = xdisable; then
15287 if test $wxUSE_PCX = yes; then
15288 result=no
15289 else
15290 result=yes
15291 fi
15292 else
15293 result=$wxUSE_PCX
15294 fi
15295
15296 { echo "$as_me:$LINENO: result: $result" >&5
15297 echo "${ECHO_T}$result" >&6; }
15298
15299
15300 enablestring=
15301 defaultval=$wxUSE_ALL_FEATURES
15302 if test -z "$defaultval"; then
15303 if test x"$enablestring" = xdisable; then
15304 defaultval=yes
15305 else
15306 defaultval=no
15307 fi
15308 fi
15309
15310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15311 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15312 no_cache=0
15313 # Check whether --enable-tga was given.
15314 if test "${enable_tga+set}" = set; then
15315 enableval=$enable_tga;
15316 if test "$enableval" = yes; then
15317 wx_cv_use_tga='wxUSE_TGA=yes'
15318 else
15319 wx_cv_use_tga='wxUSE_TGA=no'
15320 fi
15321
15322 else
15323
15324 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15325 if test "x$LINE" != x ; then
15326 eval "DEFAULT_$LINE"
15327 else
15328 no_cache=1
15329 fi
15330
15331 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15332
15333 fi
15334
15335
15336 eval "$wx_cv_use_tga"
15337 if test "$no_cache" != 1; then
15338 echo $wx_cv_use_tga >> ${wx_arg_cache_file}.tmp
15339 fi
15340
15341 if test x"$enablestring" = xdisable; then
15342 if test $wxUSE_TGA = yes; then
15343 result=no
15344 else
15345 result=yes
15346 fi
15347 else
15348 result=$wxUSE_TGA
15349 fi
15350
15351 { echo "$as_me:$LINENO: result: $result" >&5
15352 echo "${ECHO_T}$result" >&6; }
15353
15354
15355 enablestring=
15356 defaultval=$wxUSE_ALL_FEATURES
15357 if test -z "$defaultval"; then
15358 if test x"$enablestring" = xdisable; then
15359 defaultval=yes
15360 else
15361 defaultval=no
15362 fi
15363 fi
15364
15365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15366 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15367 no_cache=0
15368 # Check whether --enable-iff was given.
15369 if test "${enable_iff+set}" = set; then
15370 enableval=$enable_iff;
15371 if test "$enableval" = yes; then
15372 wx_cv_use_iff='wxUSE_IFF=yes'
15373 else
15374 wx_cv_use_iff='wxUSE_IFF=no'
15375 fi
15376
15377 else
15378
15379 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15380 if test "x$LINE" != x ; then
15381 eval "DEFAULT_$LINE"
15382 else
15383 no_cache=1
15384 fi
15385
15386 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15387
15388 fi
15389
15390
15391 eval "$wx_cv_use_iff"
15392 if test "$no_cache" != 1; then
15393 echo $wx_cv_use_iff >> ${wx_arg_cache_file}.tmp
15394 fi
15395
15396 if test x"$enablestring" = xdisable; then
15397 if test $wxUSE_IFF = yes; then
15398 result=no
15399 else
15400 result=yes
15401 fi
15402 else
15403 result=$wxUSE_IFF
15404 fi
15405
15406 { echo "$as_me:$LINENO: result: $result" >&5
15407 echo "${ECHO_T}$result" >&6; }
15408
15409
15410 enablestring=
15411 defaultval=$wxUSE_ALL_FEATURES
15412 if test -z "$defaultval"; then
15413 if test x"$enablestring" = xdisable; then
15414 defaultval=yes
15415 else
15416 defaultval=no
15417 fi
15418 fi
15419
15420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15421 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15422 no_cache=0
15423 # Check whether --enable-pnm was given.
15424 if test "${enable_pnm+set}" = set; then
15425 enableval=$enable_pnm;
15426 if test "$enableval" = yes; then
15427 wx_cv_use_pnm='wxUSE_PNM=yes'
15428 else
15429 wx_cv_use_pnm='wxUSE_PNM=no'
15430 fi
15431
15432 else
15433
15434 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15435 if test "x$LINE" != x ; then
15436 eval "DEFAULT_$LINE"
15437 else
15438 no_cache=1
15439 fi
15440
15441 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15442
15443 fi
15444
15445
15446 eval "$wx_cv_use_pnm"
15447 if test "$no_cache" != 1; then
15448 echo $wx_cv_use_pnm >> ${wx_arg_cache_file}.tmp
15449 fi
15450
15451 if test x"$enablestring" = xdisable; then
15452 if test $wxUSE_PNM = yes; then
15453 result=no
15454 else
15455 result=yes
15456 fi
15457 else
15458 result=$wxUSE_PNM
15459 fi
15460
15461 { echo "$as_me:$LINENO: result: $result" >&5
15462 echo "${ECHO_T}$result" >&6; }
15463
15464
15465 enablestring=
15466 defaultval=$wxUSE_ALL_FEATURES
15467 if test -z "$defaultval"; then
15468 if test x"$enablestring" = xdisable; then
15469 defaultval=yes
15470 else
15471 defaultval=no
15472 fi
15473 fi
15474
15475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15476 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15477 no_cache=0
15478 # Check whether --enable-xpm was given.
15479 if test "${enable_xpm+set}" = set; then
15480 enableval=$enable_xpm;
15481 if test "$enableval" = yes; then
15482 wx_cv_use_xpm='wxUSE_XPM=yes'
15483 else
15484 wx_cv_use_xpm='wxUSE_XPM=no'
15485 fi
15486
15487 else
15488
15489 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15490 if test "x$LINE" != x ; then
15491 eval "DEFAULT_$LINE"
15492 else
15493 no_cache=1
15494 fi
15495
15496 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15497
15498 fi
15499
15500
15501 eval "$wx_cv_use_xpm"
15502 if test "$no_cache" != 1; then
15503 echo $wx_cv_use_xpm >> ${wx_arg_cache_file}.tmp
15504 fi
15505
15506 if test x"$enablestring" = xdisable; then
15507 if test $wxUSE_XPM = yes; then
15508 result=no
15509 else
15510 result=yes
15511 fi
15512 else
15513 result=$wxUSE_XPM
15514 fi
15515
15516 { echo "$as_me:$LINENO: result: $result" >&5
15517 echo "${ECHO_T}$result" >&6; }
15518
15519
15520 enablestring=
15521 defaultval=$wxUSE_ALL_FEATURES
15522 if test -z "$defaultval"; then
15523 if test x"$enablestring" = xdisable; then
15524 defaultval=yes
15525 else
15526 defaultval=no
15527 fi
15528 fi
15529
15530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15531 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15532 no_cache=0
15533 # Check whether --enable-ico_cur was given.
15534 if test "${enable_ico_cur+set}" = set; then
15535 enableval=$enable_ico_cur;
15536 if test "$enableval" = yes; then
15537 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15538 else
15539 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15540 fi
15541
15542 else
15543
15544 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15545 if test "x$LINE" != x ; then
15546 eval "DEFAULT_$LINE"
15547 else
15548 no_cache=1
15549 fi
15550
15551 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15552
15553 fi
15554
15555
15556 eval "$wx_cv_use_ico_cur"
15557 if test "$no_cache" != 1; then
15558 echo $wx_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
15559 fi
15560
15561 if test x"$enablestring" = xdisable; then
15562 if test $wxUSE_ICO_CUR = yes; then
15563 result=no
15564 else
15565 result=yes
15566 fi
15567 else
15568 result=$wxUSE_ICO_CUR
15569 fi
15570
15571 { echo "$as_me:$LINENO: result: $result" >&5
15572 echo "${ECHO_T}$result" >&6; }
15573
15574
15575 fi
15576
15577
15578 echo "saving argument cache $wx_arg_cache_file"
15579 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15580
15581
15582
15583 { echo "$as_me:$LINENO: checking for toolkit" >&5
15584 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15585
15586 # In Wine, we need to default to MSW, not GTK or MOTIF
15587 if test "$wxUSE_WINE" = "yes"; then
15588 DEFAULT_DEFAULT_wxUSE_GTK=0
15589 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15590 DEFAULT_DEFAULT_wxUSE_MSW=1
15591 wxUSE_SHARED=no
15592 CC=${CC:-winegcc}
15593 CXX=${CXX:-wineg++}
15594 fi
15595
15596
15597 if test "$wxUSE_GUI" = "yes"; then
15598
15599 if test "$USE_BEOS" = 1; then
15600 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15601 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15602 { (exit 1); exit 1; }; }
15603 fi
15604
15605 if test "$TOOLKIT_GIVEN" = 1; then
15606 for toolkit in `echo $ALL_TOOLKITS`; do
15607 var=wxUSE_$toolkit
15608 eval "value=\$${var}"
15609 if test "x$value" = "xno"; then
15610 eval "$var=0"
15611 elif test "x$value" != "x"; then
15612 eval "$var=1"
15613 fi
15614
15615 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15616 eval "wx${toolkit}_VERSION=$value"
15617 fi
15618 done
15619 else
15620 for toolkit in `echo $ALL_TOOLKITS`; do
15621 if test "$has_toolkit_in_cache" != 1; then
15622 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15623 else
15624 var=DEFAULT_wxUSE_$toolkit
15625
15626 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15627 if test "x$version" != "x"; then
15628 eval "wx${toolkit}_VERSION=$version"
15629 fi
15630 fi
15631 eval "wxUSE_$toolkit=\$${var}"
15632 done
15633 fi
15634
15635 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15636 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15637 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15638
15639 case "${host}" in
15640 *-pc-os2_emx | *-pc-os2-emx )
15641 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15642 esac
15643
15644 case "$NUM_TOOLKITS" in
15645 1)
15646 ;;
15647 0)
15648 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15649 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15650 { (exit 1); exit 1; }; }
15651 ;;
15652 *)
15653 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15654 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15655 { (exit 1); exit 1; }; }
15656 esac
15657
15658 # to be removed when --disable-gtk2 isn't needed
15659 if test "x$wxUSE_GTK2" = "xyes"; then
15660 wxGTK_VERSION=2
15661 elif test "x$wxUSE_GTK2" = "xno"; then
15662 wxGTK_VERSION=1
15663 fi
15664
15665 for toolkit in `echo $ALL_TOOLKITS`; do
15666 var=wxUSE_$toolkit
15667 eval "value=\$${var}"
15668 if test "x$value" != x; then
15669 cache_var=CACHE_$toolkit
15670 eval "cache=\$${cache_var}"
15671 if test "$cache" = 1; then
15672 echo "$var=$value" >> ${wx_arg_cache_file}
15673 eval "version=\$wx${toolkit}_VERSION"
15674 if test "x$version" != "x"; then
15675 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15676 fi
15677 fi
15678 if test "$value" = 1; then
15679 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15680 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15681 echo "${ECHO_T}$toolkit_echo" >&6; }
15682 fi
15683 fi
15684 done
15685 else
15686 if test "x$host_alias" != "x"; then
15687 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15688 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15689 else
15690 { echo "$as_me:$LINENO: result: base only" >&5
15691 echo "${ECHO_T}base only" >&6; }
15692 fi
15693 fi
15694
15695
15696 cat >confcache <<\_ACEOF
15697 # This file is a shell script that caches the results of configure
15698 # tests run on this system so they can be shared between configure
15699 # scripts and configure runs, see configure's option --config-cache.
15700 # It is not useful on other systems. If it contains results you don't
15701 # want to keep, you may remove or edit it.
15702 #
15703 # config.status only pays attention to the cache file if you give it
15704 # the --recheck option to rerun configure.
15705 #
15706 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15707 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15708 # following values.
15709
15710 _ACEOF
15711
15712 # The following way of writing the cache mishandles newlines in values,
15713 # but we know of no workaround that is simple, portable, and efficient.
15714 # So, we kill variables containing newlines.
15715 # Ultrix sh set writes to stderr and can't be redirected directly,
15716 # and sets the high bit in the cache file unless we assign to the vars.
15717 (
15718 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15719 eval ac_val=\$$ac_var
15720 case $ac_val in #(
15721 *${as_nl}*)
15722 case $ac_var in #(
15723 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15724 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15725 esac
15726 case $ac_var in #(
15727 _ | IFS | as_nl) ;; #(
15728 *) $as_unset $ac_var ;;
15729 esac ;;
15730 esac
15731 done
15732
15733 (set) 2>&1 |
15734 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15735 *${as_nl}ac_space=\ *)
15736 # `set' does not quote correctly, so add quotes (double-quote
15737 # substitution turns \\\\ into \\, and sed turns \\ into \).
15738 sed -n \
15739 "s/'/'\\\\''/g;
15740 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15741 ;; #(
15742 *)
15743 # `set' quotes correctly as required by POSIX, so do not add quotes.
15744 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15745 ;;
15746 esac |
15747 sort
15748 ) |
15749 sed '
15750 /^ac_cv_env_/b end
15751 t clear
15752 :clear
15753 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15754 t end
15755 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15756 :end' >>confcache
15757 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15758 if test -w "$cache_file"; then
15759 test "x$cache_file" != "x/dev/null" &&
15760 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15761 echo "$as_me: updating cache $cache_file" >&6;}
15762 cat confcache >$cache_file
15763 else
15764 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15765 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15766 fi
15767 fi
15768 rm -f confcache
15769
15770 CFLAGS=${CFLAGS:=}
15771
15772
15773
15774 ac_ext=c
15775 ac_cpp='$CPP $CPPFLAGS'
15776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15779 if test -n "$ac_tool_prefix"; then
15780 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15781 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15784 if test "${ac_cv_prog_CC+set}" = set; then
15785 echo $ECHO_N "(cached) $ECHO_C" >&6
15786 else
15787 if test -n "$CC"; then
15788 ac_cv_prog_CC="$CC" # Let the user override the test.
15789 else
15790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15791 for as_dir in $PATH
15792 do
15793 IFS=$as_save_IFS
15794 test -z "$as_dir" && as_dir=.
15795 for ac_exec_ext in '' $ac_executable_extensions; do
15796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15797 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15799 break 2
15800 fi
15801 done
15802 done
15803 IFS=$as_save_IFS
15804
15805 fi
15806 fi
15807 CC=$ac_cv_prog_CC
15808 if test -n "$CC"; then
15809 { echo "$as_me:$LINENO: result: $CC" >&5
15810 echo "${ECHO_T}$CC" >&6; }
15811 else
15812 { echo "$as_me:$LINENO: result: no" >&5
15813 echo "${ECHO_T}no" >&6; }
15814 fi
15815
15816
15817 fi
15818 if test -z "$ac_cv_prog_CC"; then
15819 ac_ct_CC=$CC
15820 # Extract the first word of "gcc", so it can be a program name with args.
15821 set dummy gcc; ac_word=$2
15822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15824 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15825 echo $ECHO_N "(cached) $ECHO_C" >&6
15826 else
15827 if test -n "$ac_ct_CC"; then
15828 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15829 else
15830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15831 for as_dir in $PATH
15832 do
15833 IFS=$as_save_IFS
15834 test -z "$as_dir" && as_dir=.
15835 for ac_exec_ext in '' $ac_executable_extensions; do
15836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15837 ac_cv_prog_ac_ct_CC="gcc"
15838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15839 break 2
15840 fi
15841 done
15842 done
15843 IFS=$as_save_IFS
15844
15845 fi
15846 fi
15847 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15848 if test -n "$ac_ct_CC"; then
15849 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15850 echo "${ECHO_T}$ac_ct_CC" >&6; }
15851 else
15852 { echo "$as_me:$LINENO: result: no" >&5
15853 echo "${ECHO_T}no" >&6; }
15854 fi
15855
15856 if test "x$ac_ct_CC" = x; then
15857 CC=""
15858 else
15859 case $cross_compiling:$ac_tool_warned in
15860 yes:)
15861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15862 whose name does not start with the host triplet. If you think this
15863 configuration is useful to you, please write to autoconf@gnu.org." >&5
15864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15865 whose name does not start with the host triplet. If you think this
15866 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15867 ac_tool_warned=yes ;;
15868 esac
15869 CC=$ac_ct_CC
15870 fi
15871 else
15872 CC="$ac_cv_prog_CC"
15873 fi
15874
15875 if test -z "$CC"; then
15876 if test -n "$ac_tool_prefix"; then
15877 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15878 set dummy ${ac_tool_prefix}cc; ac_word=$2
15879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15881 if test "${ac_cv_prog_CC+set}" = set; then
15882 echo $ECHO_N "(cached) $ECHO_C" >&6
15883 else
15884 if test -n "$CC"; then
15885 ac_cv_prog_CC="$CC" # Let the user override the test.
15886 else
15887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15888 for as_dir in $PATH
15889 do
15890 IFS=$as_save_IFS
15891 test -z "$as_dir" && as_dir=.
15892 for ac_exec_ext in '' $ac_executable_extensions; do
15893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15894 ac_cv_prog_CC="${ac_tool_prefix}cc"
15895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15896 break 2
15897 fi
15898 done
15899 done
15900 IFS=$as_save_IFS
15901
15902 fi
15903 fi
15904 CC=$ac_cv_prog_CC
15905 if test -n "$CC"; then
15906 { echo "$as_me:$LINENO: result: $CC" >&5
15907 echo "${ECHO_T}$CC" >&6; }
15908 else
15909 { echo "$as_me:$LINENO: result: no" >&5
15910 echo "${ECHO_T}no" >&6; }
15911 fi
15912
15913
15914 fi
15915 fi
15916 if test -z "$CC"; then
15917 # Extract the first word of "cc", so it can be a program name with args.
15918 set dummy cc; ac_word=$2
15919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15921 if test "${ac_cv_prog_CC+set}" = set; then
15922 echo $ECHO_N "(cached) $ECHO_C" >&6
15923 else
15924 if test -n "$CC"; then
15925 ac_cv_prog_CC="$CC" # Let the user override the test.
15926 else
15927 ac_prog_rejected=no
15928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15929 for as_dir in $PATH
15930 do
15931 IFS=$as_save_IFS
15932 test -z "$as_dir" && as_dir=.
15933 for ac_exec_ext in '' $ac_executable_extensions; do
15934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15935 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15936 ac_prog_rejected=yes
15937 continue
15938 fi
15939 ac_cv_prog_CC="cc"
15940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15941 break 2
15942 fi
15943 done
15944 done
15945 IFS=$as_save_IFS
15946
15947 if test $ac_prog_rejected = yes; then
15948 # We found a bogon in the path, so make sure we never use it.
15949 set dummy $ac_cv_prog_CC
15950 shift
15951 if test $# != 0; then
15952 # We chose a different compiler from the bogus one.
15953 # However, it has the same basename, so the bogon will be chosen
15954 # first if we set CC to just the basename; use the full file name.
15955 shift
15956 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15957 fi
15958 fi
15959 fi
15960 fi
15961 CC=$ac_cv_prog_CC
15962 if test -n "$CC"; then
15963 { echo "$as_me:$LINENO: result: $CC" >&5
15964 echo "${ECHO_T}$CC" >&6; }
15965 else
15966 { echo "$as_me:$LINENO: result: no" >&5
15967 echo "${ECHO_T}no" >&6; }
15968 fi
15969
15970
15971 fi
15972 if test -z "$CC"; then
15973 if test -n "$ac_tool_prefix"; then
15974 for ac_prog in cl.exe
15975 do
15976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15980 if test "${ac_cv_prog_CC+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15982 else
15983 if test -n "$CC"; then
15984 ac_cv_prog_CC="$CC" # Let the user override the test.
15985 else
15986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15987 for as_dir in $PATH
15988 do
15989 IFS=$as_save_IFS
15990 test -z "$as_dir" && as_dir=.
15991 for ac_exec_ext in '' $ac_executable_extensions; do
15992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15993 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15995 break 2
15996 fi
15997 done
15998 done
15999 IFS=$as_save_IFS
16000
16001 fi
16002 fi
16003 CC=$ac_cv_prog_CC
16004 if test -n "$CC"; then
16005 { echo "$as_me:$LINENO: result: $CC" >&5
16006 echo "${ECHO_T}$CC" >&6; }
16007 else
16008 { echo "$as_me:$LINENO: result: no" >&5
16009 echo "${ECHO_T}no" >&6; }
16010 fi
16011
16012
16013 test -n "$CC" && break
16014 done
16015 fi
16016 if test -z "$CC"; then
16017 ac_ct_CC=$CC
16018 for ac_prog in cl.exe
16019 do
16020 # Extract the first word of "$ac_prog", so it can be a program name with args.
16021 set dummy $ac_prog; ac_word=$2
16022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16025 echo $ECHO_N "(cached) $ECHO_C" >&6
16026 else
16027 if test -n "$ac_ct_CC"; then
16028 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16029 else
16030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16031 for as_dir in $PATH
16032 do
16033 IFS=$as_save_IFS
16034 test -z "$as_dir" && as_dir=.
16035 for ac_exec_ext in '' $ac_executable_extensions; do
16036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16037 ac_cv_prog_ac_ct_CC="$ac_prog"
16038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16039 break 2
16040 fi
16041 done
16042 done
16043 IFS=$as_save_IFS
16044
16045 fi
16046 fi
16047 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16048 if test -n "$ac_ct_CC"; then
16049 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16050 echo "${ECHO_T}$ac_ct_CC" >&6; }
16051 else
16052 { echo "$as_me:$LINENO: result: no" >&5
16053 echo "${ECHO_T}no" >&6; }
16054 fi
16055
16056
16057 test -n "$ac_ct_CC" && break
16058 done
16059
16060 if test "x$ac_ct_CC" = x; then
16061 CC=""
16062 else
16063 case $cross_compiling:$ac_tool_warned in
16064 yes:)
16065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16066 whose name does not start with the host triplet. If you think this
16067 configuration is useful to you, please write to autoconf@gnu.org." >&5
16068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16069 whose name does not start with the host triplet. If you think this
16070 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16071 ac_tool_warned=yes ;;
16072 esac
16073 CC=$ac_ct_CC
16074 fi
16075 fi
16076
16077 fi
16078
16079
16080 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16081 See \`config.log' for more details." >&5
16082 echo "$as_me: error: no acceptable C compiler found in \$PATH
16083 See \`config.log' for more details." >&2;}
16084 { (exit 1); exit 1; }; }
16085
16086 # Provide some information about the compiler.
16087 echo "$as_me:$LINENO: checking for C compiler version" >&5
16088 ac_compiler=`set X $ac_compile; echo $2`
16089 { (ac_try="$ac_compiler --version >&5"
16090 case "(($ac_try" in
16091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16092 *) ac_try_echo=$ac_try;;
16093 esac
16094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16095 (eval "$ac_compiler --version >&5") 2>&5
16096 ac_status=$?
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); }
16099 { (ac_try="$ac_compiler -v >&5"
16100 case "(($ac_try" in
16101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16102 *) ac_try_echo=$ac_try;;
16103 esac
16104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16105 (eval "$ac_compiler -v >&5") 2>&5
16106 ac_status=$?
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }
16109 { (ac_try="$ac_compiler -V >&5"
16110 case "(($ac_try" in
16111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16112 *) ac_try_echo=$ac_try;;
16113 esac
16114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16115 (eval "$ac_compiler -V >&5") 2>&5
16116 ac_status=$?
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); }
16119
16120 cat >conftest.$ac_ext <<_ACEOF
16121 /* confdefs.h. */
16122 _ACEOF
16123 cat confdefs.h >>conftest.$ac_ext
16124 cat >>conftest.$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126
16127 int
16128 main ()
16129 {
16130
16131 ;
16132 return 0;
16133 }
16134 _ACEOF
16135 ac_clean_files_save=$ac_clean_files
16136 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16137 # Try to create an executable without -o first, disregard a.out.
16138 # It will help us diagnose broken compilers, and finding out an intuition
16139 # of exeext.
16140 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16141 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16142 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16143 #
16144 # List of possible output files, starting from the most likely.
16145 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16146 # only as a last resort. b.out is created by i960 compilers.
16147 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16148 #
16149 # The IRIX 6 linker writes into existing files which may not be
16150 # executable, retaining their permissions. Remove them first so a
16151 # subsequent execution test works.
16152 ac_rmfiles=
16153 for ac_file in $ac_files
16154 do
16155 case $ac_file in
16156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16157 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16158 esac
16159 done
16160 rm -f $ac_rmfiles
16161
16162 if { (ac_try="$ac_link_default"
16163 case "(($ac_try" in
16164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16165 *) ac_try_echo=$ac_try;;
16166 esac
16167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16168 (eval "$ac_link_default") 2>&5
16169 ac_status=$?
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); }; then
16172 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16173 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16174 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16175 # so that the user can short-circuit this test for compilers unknown to
16176 # Autoconf.
16177 for ac_file in $ac_files ''
16178 do
16179 test -f "$ac_file" || continue
16180 case $ac_file in
16181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16182 ;;
16183 [ab].out )
16184 # We found the default executable, but exeext='' is most
16185 # certainly right.
16186 break;;
16187 *.* )
16188 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16189 then :; else
16190 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16191 fi
16192 # We set ac_cv_exeext here because the later test for it is not
16193 # safe: cross compilers may not add the suffix if given an `-o'
16194 # argument, so we may need to know it at that point already.
16195 # Even if this section looks crufty: it has the advantage of
16196 # actually working.
16197 break;;
16198 * )
16199 break;;
16200 esac
16201 done
16202 test "$ac_cv_exeext" = no && ac_cv_exeext=
16203
16204 else
16205 ac_file=''
16206 fi
16207
16208 { echo "$as_me:$LINENO: result: $ac_file" >&5
16209 echo "${ECHO_T}$ac_file" >&6; }
16210 if test -z "$ac_file"; then
16211 echo "$as_me: failed program was:" >&5
16212 sed 's/^/| /' conftest.$ac_ext >&5
16213
16214 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16215 See \`config.log' for more details." >&5
16216 echo "$as_me: error: C compiler cannot create executables
16217 See \`config.log' for more details." >&2;}
16218 { (exit 77); exit 77; }; }
16219 fi
16220
16221 ac_exeext=$ac_cv_exeext
16222
16223 # Check that the compiler produces executables we can run. If not, either
16224 # the compiler is broken, or we cross compile.
16225 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16226 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16227 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16228 # If not cross compiling, check that we can run a simple program.
16229 if test "$cross_compiling" != yes; then
16230 if { ac_try='./$ac_file'
16231 { (case "(($ac_try" in
16232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16233 *) ac_try_echo=$ac_try;;
16234 esac
16235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16236 (eval "$ac_try") 2>&5
16237 ac_status=$?
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); }; }; then
16240 cross_compiling=no
16241 else
16242 if test "$cross_compiling" = maybe; then
16243 cross_compiling=yes
16244 else
16245 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16246 If you meant to cross compile, use \`--host'.
16247 See \`config.log' for more details." >&5
16248 echo "$as_me: error: cannot run C compiled programs.
16249 If you meant to cross compile, use \`--host'.
16250 See \`config.log' for more details." >&2;}
16251 { (exit 1); exit 1; }; }
16252 fi
16253 fi
16254 fi
16255 { echo "$as_me:$LINENO: result: yes" >&5
16256 echo "${ECHO_T}yes" >&6; }
16257
16258 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16259 ac_clean_files=$ac_clean_files_save
16260 # Check that the compiler produces executables we can run. If not, either
16261 # the compiler is broken, or we cross compile.
16262 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16263 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16264 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16265 echo "${ECHO_T}$cross_compiling" >&6; }
16266
16267 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16268 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16269 if { (ac_try="$ac_link"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16272 *) ac_try_echo=$ac_try;;
16273 esac
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_link") 2>&5
16276 ac_status=$?
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); }; then
16279 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16280 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16281 # work properly (i.e., refer to `conftest.exe'), while it won't with
16282 # `rm'.
16283 for ac_file in conftest.exe conftest conftest.*; do
16284 test -f "$ac_file" || continue
16285 case $ac_file in
16286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16287 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16288 break;;
16289 * ) break;;
16290 esac
16291 done
16292 else
16293 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16294 See \`config.log' for more details." >&5
16295 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16296 See \`config.log' for more details." >&2;}
16297 { (exit 1); exit 1; }; }
16298 fi
16299
16300 rm -f conftest$ac_cv_exeext
16301 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16302 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16303
16304 rm -f conftest.$ac_ext
16305 EXEEXT=$ac_cv_exeext
16306 ac_exeext=$EXEEXT
16307 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16308 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16309 if test "${ac_cv_objext+set}" = set; then
16310 echo $ECHO_N "(cached) $ECHO_C" >&6
16311 else
16312 cat >conftest.$ac_ext <<_ACEOF
16313 /* confdefs.h. */
16314 _ACEOF
16315 cat confdefs.h >>conftest.$ac_ext
16316 cat >>conftest.$ac_ext <<_ACEOF
16317 /* end confdefs.h. */
16318
16319 int
16320 main ()
16321 {
16322
16323 ;
16324 return 0;
16325 }
16326 _ACEOF
16327 rm -f conftest.o conftest.obj
16328 if { (ac_try="$ac_compile"
16329 case "(($ac_try" in
16330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16331 *) ac_try_echo=$ac_try;;
16332 esac
16333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16334 (eval "$ac_compile") 2>&5
16335 ac_status=$?
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }; then
16338 for ac_file in conftest.o conftest.obj conftest.*; do
16339 test -f "$ac_file" || continue;
16340 case $ac_file in
16341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16342 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16343 break;;
16344 esac
16345 done
16346 else
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.$ac_ext >&5
16349
16350 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16351 See \`config.log' for more details." >&5
16352 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16353 See \`config.log' for more details." >&2;}
16354 { (exit 1); exit 1; }; }
16355 fi
16356
16357 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16358 fi
16359 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16360 echo "${ECHO_T}$ac_cv_objext" >&6; }
16361 OBJEXT=$ac_cv_objext
16362 ac_objext=$OBJEXT
16363 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16364 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16365 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 else
16368 cat >conftest.$ac_ext <<_ACEOF
16369 /* confdefs.h. */
16370 _ACEOF
16371 cat confdefs.h >>conftest.$ac_ext
16372 cat >>conftest.$ac_ext <<_ACEOF
16373 /* end confdefs.h. */
16374
16375 int
16376 main ()
16377 {
16378 #ifndef __GNUC__
16379 choke me
16380 #endif
16381
16382 ;
16383 return 0;
16384 }
16385 _ACEOF
16386 rm -f conftest.$ac_objext
16387 if { (ac_try="$ac_compile"
16388 case "(($ac_try" in
16389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16390 *) ac_try_echo=$ac_try;;
16391 esac
16392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16393 (eval "$ac_compile") 2>conftest.er1
16394 ac_status=$?
16395 grep -v '^ *+' conftest.er1 >conftest.err
16396 rm -f conftest.er1
16397 cat conftest.err >&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } && {
16400 test -z "$ac_c_werror_flag" ||
16401 test ! -s conftest.err
16402 } && test -s conftest.$ac_objext; then
16403 ac_compiler_gnu=yes
16404 else
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.$ac_ext >&5
16407
16408 ac_compiler_gnu=no
16409 fi
16410
16411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16412 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16413
16414 fi
16415 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16416 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16417 GCC=`test $ac_compiler_gnu = yes && echo yes`
16418 ac_test_CFLAGS=${CFLAGS+set}
16419 ac_save_CFLAGS=$CFLAGS
16420 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16421 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16422 if test "${ac_cv_prog_cc_g+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16424 else
16425 ac_save_c_werror_flag=$ac_c_werror_flag
16426 ac_c_werror_flag=yes
16427 ac_cv_prog_cc_g=no
16428 CFLAGS="-g"
16429 cat >conftest.$ac_ext <<_ACEOF
16430 /* confdefs.h. */
16431 _ACEOF
16432 cat confdefs.h >>conftest.$ac_ext
16433 cat >>conftest.$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16435
16436 int
16437 main ()
16438 {
16439
16440 ;
16441 return 0;
16442 }
16443 _ACEOF
16444 rm -f conftest.$ac_objext
16445 if { (ac_try="$ac_compile"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16449 esac
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_compile") 2>conftest.er1
16452 ac_status=$?
16453 grep -v '^ *+' conftest.er1 >conftest.err
16454 rm -f conftest.er1
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } && {
16458 test -z "$ac_c_werror_flag" ||
16459 test ! -s conftest.err
16460 } && test -s conftest.$ac_objext; then
16461 ac_cv_prog_cc_g=yes
16462 else
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.$ac_ext >&5
16465
16466 CFLAGS=""
16467 cat >conftest.$ac_ext <<_ACEOF
16468 /* confdefs.h. */
16469 _ACEOF
16470 cat confdefs.h >>conftest.$ac_ext
16471 cat >>conftest.$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16473
16474 int
16475 main ()
16476 {
16477
16478 ;
16479 return 0;
16480 }
16481 _ACEOF
16482 rm -f conftest.$ac_objext
16483 if { (ac_try="$ac_compile"
16484 case "(($ac_try" in
16485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16486 *) ac_try_echo=$ac_try;;
16487 esac
16488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16489 (eval "$ac_compile") 2>conftest.er1
16490 ac_status=$?
16491 grep -v '^ *+' conftest.er1 >conftest.err
16492 rm -f conftest.er1
16493 cat conftest.err >&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); } && {
16496 test -z "$ac_c_werror_flag" ||
16497 test ! -s conftest.err
16498 } && test -s conftest.$ac_objext; then
16499 :
16500 else
16501 echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.$ac_ext >&5
16503
16504 ac_c_werror_flag=$ac_save_c_werror_flag
16505 CFLAGS="-g"
16506 cat >conftest.$ac_ext <<_ACEOF
16507 /* confdefs.h. */
16508 _ACEOF
16509 cat confdefs.h >>conftest.$ac_ext
16510 cat >>conftest.$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512
16513 int
16514 main ()
16515 {
16516
16517 ;
16518 return 0;
16519 }
16520 _ACEOF
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_g=yes
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 conftest.$ac_ext
16547 fi
16548
16549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16550 fi
16551
16552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16553 ac_c_werror_flag=$ac_save_c_werror_flag
16554 fi
16555 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16556 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16557 if test "$ac_test_CFLAGS" = set; then
16558 CFLAGS=$ac_save_CFLAGS
16559 elif test $ac_cv_prog_cc_g = yes; then
16560 if test "$GCC" = yes; then
16561 CFLAGS="-g -O2"
16562 else
16563 CFLAGS="-g"
16564 fi
16565 else
16566 if test "$GCC" = yes; then
16567 CFLAGS="-O2"
16568 else
16569 CFLAGS=
16570 fi
16571 fi
16572 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16573 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16574 if test "${ac_cv_prog_cc_c89+set}" = set; then
16575 echo $ECHO_N "(cached) $ECHO_C" >&6
16576 else
16577 ac_cv_prog_cc_c89=no
16578 ac_save_CC=$CC
16579 cat >conftest.$ac_ext <<_ACEOF
16580 /* confdefs.h. */
16581 _ACEOF
16582 cat confdefs.h >>conftest.$ac_ext
16583 cat >>conftest.$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16585 #include <stdarg.h>
16586 #include <stdio.h>
16587 #include <sys/types.h>
16588 #include <sys/stat.h>
16589 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16590 struct buf { int x; };
16591 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16592 static char *e (p, i)
16593 char **p;
16594 int i;
16595 {
16596 return p[i];
16597 }
16598 static char *f (char * (*g) (char **, int), char **p, ...)
16599 {
16600 char *s;
16601 va_list v;
16602 va_start (v,p);
16603 s = g (p, va_arg (v,int));
16604 va_end (v);
16605 return s;
16606 }
16607
16608 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16609 function prototypes and stuff, but not '\xHH' hex character constants.
16610 These don't provoke an error unfortunately, instead are silently treated
16611 as 'x'. The following induces an error, until -std is added to get
16612 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16613 array size at least. It's necessary to write '\x00'==0 to get something
16614 that's true only with -std. */
16615 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16616
16617 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16618 inside strings and character constants. */
16619 #define FOO(x) 'x'
16620 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16621
16622 int test (int i, double x);
16623 struct s1 {int (*f) (int a);};
16624 struct s2 {int (*f) (double a);};
16625 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16626 int argc;
16627 char **argv;
16628 int
16629 main ()
16630 {
16631 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16632 ;
16633 return 0;
16634 }
16635 _ACEOF
16636 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16637 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16638 do
16639 CC="$ac_save_CC $ac_arg"
16640 rm -f conftest.$ac_objext
16641 if { (ac_try="$ac_compile"
16642 case "(($ac_try" in
16643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16644 *) ac_try_echo=$ac_try;;
16645 esac
16646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16647 (eval "$ac_compile") 2>conftest.er1
16648 ac_status=$?
16649 grep -v '^ *+' conftest.er1 >conftest.err
16650 rm -f conftest.er1
16651 cat conftest.err >&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } && {
16654 test -z "$ac_c_werror_flag" ||
16655 test ! -s conftest.err
16656 } && test -s conftest.$ac_objext; then
16657 ac_cv_prog_cc_c89=$ac_arg
16658 else
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.$ac_ext >&5
16661
16662
16663 fi
16664
16665 rm -f core conftest.err conftest.$ac_objext
16666 test "x$ac_cv_prog_cc_c89" != "xno" && break
16667 done
16668 rm -f conftest.$ac_ext
16669 CC=$ac_save_CC
16670
16671 fi
16672 # AC_CACHE_VAL
16673 case "x$ac_cv_prog_cc_c89" in
16674 x)
16675 { echo "$as_me:$LINENO: result: none needed" >&5
16676 echo "${ECHO_T}none needed" >&6; } ;;
16677 xno)
16678 { echo "$as_me:$LINENO: result: unsupported" >&5
16679 echo "${ECHO_T}unsupported" >&6; } ;;
16680 *)
16681 CC="$CC $ac_cv_prog_cc_c89"
16682 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16683 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16684 esac
16685
16686
16687 ac_ext=c
16688 ac_cpp='$CPP $CPPFLAGS'
16689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16692
16693
16694
16695
16696 ac_ext=c
16697 ac_cpp='$CPP $CPPFLAGS'
16698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16701
16702 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16703 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16704 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16705 echo $ECHO_N "(cached) $ECHO_C" >&6
16706 else
16707 cat >conftest.$ac_ext <<_ACEOF
16708 /* confdefs.h. */
16709 _ACEOF
16710 cat confdefs.h >>conftest.$ac_ext
16711 cat >>conftest.$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713
16714 int
16715 main ()
16716 {
16717
16718 #ifndef __INTEL_COMPILER
16719 choke me
16720 #endif
16721
16722 ;
16723 return 0;
16724 }
16725 _ACEOF
16726 rm -f conftest.$ac_objext
16727 if { (ac_try="$ac_compile"
16728 case "(($ac_try" in
16729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16730 *) ac_try_echo=$ac_try;;
16731 esac
16732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16733 (eval "$ac_compile") 2>conftest.er1
16734 ac_status=$?
16735 grep -v '^ *+' conftest.er1 >conftest.err
16736 rm -f conftest.er1
16737 cat conftest.err >&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); } && {
16740 test -z "$ac_c_werror_flag" ||
16741 test ! -s conftest.err
16742 } && test -s conftest.$ac_objext; then
16743 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16744 else
16745 echo "$as_me: failed program was:" >&5
16746 sed 's/^/| /' conftest.$ac_ext >&5
16747
16748 bakefile_cv_c_compiler___INTEL_COMPILER=no
16749
16750 fi
16751
16752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16753
16754
16755 fi
16756 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16757 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16758 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16759 :; INTELCC=yes
16760 else
16761 :;
16762 fi
16763 ac_ext=c
16764 ac_cpp='$CPP $CPPFLAGS'
16765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16768
16769
16770
16771
16772 if test "x$GCC" != "xyes"; then
16773 if test "xCC" = "xC"; then
16774 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16775 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16776 if test "${bakefile_cv_c_exto+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16778 else
16779 cat >conftest.$ac_ext <<_ACEOF
16780 /* confdefs.h. */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785
16786 int
16787 main ()
16788 {
16789
16790 ;
16791 return 0;
16792 }
16793 _ACEOF
16794 rm -f conftest.$ac_objext conftest.$ac_ext.o
16795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16796 (eval $ac_compile) 2>&5
16797 ac_status=$?
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); }; then
16800 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16801 case $ac_file in
16802 conftest.$ac_ext.o)
16803 bakefile_cv_c_exto="-ext o"
16804 ;;
16805 *)
16806 ;;
16807 esac
16808 done
16809 else
16810 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16811 See \`config.log' for more details." >&5
16812 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16813 See \`config.log' for more details." >&2;}
16814 { (exit 1); exit 1; }; }
16815
16816 fi
16817
16818 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16819
16820 fi
16821 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16822 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16823 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16824 if test "c" = "c"; then
16825 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16826 fi
16827 if test "c" = "cxx"; then
16828 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16829 fi
16830 fi
16831
16832 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16833 unset ac_cv_prog_cc_g
16834 ac_test_CFLAGS=${CFLAGS+set}
16835 ac_save_CFLAGS=$CFLAGS
16836 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16837 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16838 if test "${ac_cv_prog_cc_g+set}" = set; then
16839 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 else
16841 ac_save_c_werror_flag=$ac_c_werror_flag
16842 ac_c_werror_flag=yes
16843 ac_cv_prog_cc_g=no
16844 CFLAGS="-g"
16845 cat >conftest.$ac_ext <<_ACEOF
16846 /* confdefs.h. */
16847 _ACEOF
16848 cat confdefs.h >>conftest.$ac_ext
16849 cat >>conftest.$ac_ext <<_ACEOF
16850 /* end confdefs.h. */
16851
16852 int
16853 main ()
16854 {
16855
16856 ;
16857 return 0;
16858 }
16859 _ACEOF
16860 rm -f conftest.$ac_objext
16861 if { (ac_try="$ac_compile"
16862 case "(($ac_try" in
16863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16864 *) ac_try_echo=$ac_try;;
16865 esac
16866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16867 (eval "$ac_compile") 2>conftest.er1
16868 ac_status=$?
16869 grep -v '^ *+' conftest.er1 >conftest.err
16870 rm -f conftest.er1
16871 cat conftest.err >&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } && {
16874 test -z "$ac_c_werror_flag" ||
16875 test ! -s conftest.err
16876 } && test -s conftest.$ac_objext; then
16877 ac_cv_prog_cc_g=yes
16878 else
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.$ac_ext >&5
16881
16882 CFLAGS=""
16883 cat >conftest.$ac_ext <<_ACEOF
16884 /* confdefs.h. */
16885 _ACEOF
16886 cat confdefs.h >>conftest.$ac_ext
16887 cat >>conftest.$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16889
16890 int
16891 main ()
16892 {
16893
16894 ;
16895 return 0;
16896 }
16897 _ACEOF
16898 rm -f conftest.$ac_objext
16899 if { (ac_try="$ac_compile"
16900 case "(($ac_try" in
16901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16902 *) ac_try_echo=$ac_try;;
16903 esac
16904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16905 (eval "$ac_compile") 2>conftest.er1
16906 ac_status=$?
16907 grep -v '^ *+' conftest.er1 >conftest.err
16908 rm -f conftest.er1
16909 cat conftest.err >&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } && {
16912 test -z "$ac_c_werror_flag" ||
16913 test ! -s conftest.err
16914 } && test -s conftest.$ac_objext; then
16915 :
16916 else
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.$ac_ext >&5
16919
16920 ac_c_werror_flag=$ac_save_c_werror_flag
16921 CFLAGS="-g"
16922 cat >conftest.$ac_ext <<_ACEOF
16923 /* confdefs.h. */
16924 _ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928
16929 int
16930 main ()
16931 {
16932
16933 ;
16934 return 0;
16935 }
16936 _ACEOF
16937 rm -f conftest.$ac_objext
16938 if { (ac_try="$ac_compile"
16939 case "(($ac_try" in
16940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16941 *) ac_try_echo=$ac_try;;
16942 esac
16943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16944 (eval "$ac_compile") 2>conftest.er1
16945 ac_status=$?
16946 grep -v '^ *+' conftest.er1 >conftest.err
16947 rm -f conftest.er1
16948 cat conftest.err >&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); } && {
16951 test -z "$ac_c_werror_flag" ||
16952 test ! -s conftest.err
16953 } && test -s conftest.$ac_objext; then
16954 ac_cv_prog_cc_g=yes
16955 else
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.$ac_ext >&5
16958
16959
16960 fi
16961
16962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16963 fi
16964
16965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16966 fi
16967
16968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16969 ac_c_werror_flag=$ac_save_c_werror_flag
16970 fi
16971 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16972 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16973 if test "$ac_test_CFLAGS" = set; then
16974 CFLAGS=$ac_save_CFLAGS
16975 elif test $ac_cv_prog_cc_g = yes; then
16976 if test "$GCC" = yes; then
16977 CFLAGS="-g -O2"
16978 else
16979 CFLAGS="-g"
16980 fi
16981 else
16982 if test "$GCC" = yes; then
16983 CFLAGS="-O2"
16984 else
16985 CFLAGS=
16986 fi
16987 fi
16988 fi
16989 fi
16990
16991 case `uname -s` in
16992 AIX*)
16993
16994
16995 ac_ext=c
16996 ac_cpp='$CPP $CPPFLAGS'
16997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17000
17001 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17002 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17003 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17004 echo $ECHO_N "(cached) $ECHO_C" >&6
17005 else
17006 cat >conftest.$ac_ext <<_ACEOF
17007 /* confdefs.h. */
17008 _ACEOF
17009 cat confdefs.h >>conftest.$ac_ext
17010 cat >>conftest.$ac_ext <<_ACEOF
17011 /* end confdefs.h. */
17012
17013 int
17014 main ()
17015 {
17016
17017 #ifndef __xlC__
17018 choke me
17019 #endif
17020
17021 ;
17022 return 0;
17023 }
17024 _ACEOF
17025 rm -f conftest.$ac_objext
17026 if { (ac_try="$ac_compile"
17027 case "(($ac_try" in
17028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17029 *) ac_try_echo=$ac_try;;
17030 esac
17031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17032 (eval "$ac_compile") 2>conftest.er1
17033 ac_status=$?
17034 grep -v '^ *+' conftest.er1 >conftest.err
17035 rm -f conftest.er1
17036 cat conftest.err >&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } && {
17039 test -z "$ac_c_werror_flag" ||
17040 test ! -s conftest.err
17041 } && test -s conftest.$ac_objext; then
17042 bakefile_cv_c_compiler___xlC__=yes
17043 else
17044 echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.$ac_ext >&5
17046
17047 bakefile_cv_c_compiler___xlC__=no
17048
17049 fi
17050
17051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17052
17053
17054 fi
17055 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17056 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17057 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17058 :; XLCC=yes
17059 else
17060 :;
17061 fi
17062 ac_ext=c
17063 ac_cpp='$CPP $CPPFLAGS'
17064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17067
17068
17069
17070 ;;
17071
17072 Darwin)
17073
17074
17075 ac_ext=c
17076 ac_cpp='$CPP $CPPFLAGS'
17077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17080
17081 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17082 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17083 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17085 else
17086 cat >conftest.$ac_ext <<_ACEOF
17087 /* confdefs.h. */
17088 _ACEOF
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092
17093 int
17094 main ()
17095 {
17096
17097 #ifndef __MWERKS__
17098 choke me
17099 #endif
17100
17101 ;
17102 return 0;
17103 }
17104 _ACEOF
17105 rm -f conftest.$ac_objext
17106 if { (ac_try="$ac_compile"
17107 case "(($ac_try" in
17108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17109 *) ac_try_echo=$ac_try;;
17110 esac
17111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17112 (eval "$ac_compile") 2>conftest.er1
17113 ac_status=$?
17114 grep -v '^ *+' conftest.er1 >conftest.err
17115 rm -f conftest.er1
17116 cat conftest.err >&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } && {
17119 test -z "$ac_c_werror_flag" ||
17120 test ! -s conftest.err
17121 } && test -s conftest.$ac_objext; then
17122 bakefile_cv_c_compiler___MWERKS__=yes
17123 else
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17126
17127 bakefile_cv_c_compiler___MWERKS__=no
17128
17129 fi
17130
17131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17132
17133
17134 fi
17135 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17136 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17137 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17138 :; MWCC=yes
17139 else
17140 :;
17141 fi
17142 ac_ext=c
17143 ac_cpp='$CPP $CPPFLAGS'
17144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17147
17148
17149
17150
17151
17152 ac_ext=c
17153 ac_cpp='$CPP $CPPFLAGS'
17154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17157
17158 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17159 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17160 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17162 else
17163 cat >conftest.$ac_ext <<_ACEOF
17164 /* confdefs.h. */
17165 _ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169
17170 int
17171 main ()
17172 {
17173
17174 #ifndef __xlC__
17175 choke me
17176 #endif
17177
17178 ;
17179 return 0;
17180 }
17181 _ACEOF
17182 rm -f conftest.$ac_objext
17183 if { (ac_try="$ac_compile"
17184 case "(($ac_try" in
17185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17186 *) ac_try_echo=$ac_try;;
17187 esac
17188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17189 (eval "$ac_compile") 2>conftest.er1
17190 ac_status=$?
17191 grep -v '^ *+' conftest.er1 >conftest.err
17192 rm -f conftest.er1
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } && {
17196 test -z "$ac_c_werror_flag" ||
17197 test ! -s conftest.err
17198 } && test -s conftest.$ac_objext; then
17199 bakefile_cv_c_compiler___xlC__=yes
17200 else
17201 echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.$ac_ext >&5
17203
17204 bakefile_cv_c_compiler___xlC__=no
17205
17206 fi
17207
17208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17209
17210
17211 fi
17212 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17213 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17214 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17215 :; XLCC=yes
17216 else
17217 :;
17218 fi
17219 ac_ext=c
17220 ac_cpp='$CPP $CPPFLAGS'
17221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17224
17225
17226
17227 ;;
17228
17229 IRIX*)
17230
17231
17232 ac_ext=c
17233 ac_cpp='$CPP $CPPFLAGS'
17234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17237
17238 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17239 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17240 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17241 echo $ECHO_N "(cached) $ECHO_C" >&6
17242 else
17243 cat >conftest.$ac_ext <<_ACEOF
17244 /* confdefs.h. */
17245 _ACEOF
17246 cat confdefs.h >>conftest.$ac_ext
17247 cat >>conftest.$ac_ext <<_ACEOF
17248 /* end confdefs.h. */
17249
17250 int
17251 main ()
17252 {
17253
17254 #ifndef _SGI_COMPILER_VERSION
17255 choke me
17256 #endif
17257
17258 ;
17259 return 0;
17260 }
17261 _ACEOF
17262 rm -f conftest.$ac_objext
17263 if { (ac_try="$ac_compile"
17264 case "(($ac_try" in
17265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17266 *) ac_try_echo=$ac_try;;
17267 esac
17268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17269 (eval "$ac_compile") 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } && {
17276 test -z "$ac_c_werror_flag" ||
17277 test ! -s conftest.err
17278 } && test -s conftest.$ac_objext; then
17279 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17280 else
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.$ac_ext >&5
17283
17284 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17285
17286 fi
17287
17288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17289
17290
17291 fi
17292 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17293 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17294 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17295 :; SGICC=yes
17296 else
17297 :;
17298 fi
17299 ac_ext=c
17300 ac_cpp='$CPP $CPPFLAGS'
17301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17304
17305
17306
17307 ;;
17308
17309 Linux*)
17310
17311
17312 ac_ext=c
17313 ac_cpp='$CPP $CPPFLAGS'
17314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17317
17318 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17319 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17320 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 else
17323 cat >conftest.$ac_ext <<_ACEOF
17324 /* confdefs.h. */
17325 _ACEOF
17326 cat confdefs.h >>conftest.$ac_ext
17327 cat >>conftest.$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17329
17330 int
17331 main ()
17332 {
17333
17334 #ifndef __SUNPRO_C
17335 choke me
17336 #endif
17337
17338 ;
17339 return 0;
17340 }
17341 _ACEOF
17342 rm -f conftest.$ac_objext
17343 if { (ac_try="$ac_compile"
17344 case "(($ac_try" in
17345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17346 *) ac_try_echo=$ac_try;;
17347 esac
17348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17349 (eval "$ac_compile") 2>conftest.er1
17350 ac_status=$?
17351 grep -v '^ *+' conftest.er1 >conftest.err
17352 rm -f conftest.er1
17353 cat conftest.err >&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } && {
17356 test -z "$ac_c_werror_flag" ||
17357 test ! -s conftest.err
17358 } && test -s conftest.$ac_objext; then
17359 bakefile_cv_c_compiler___SUNPRO_C=yes
17360 else
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17363
17364 bakefile_cv_c_compiler___SUNPRO_C=no
17365
17366 fi
17367
17368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17369
17370
17371 fi
17372 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17373 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17374 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17375 :; SUNCC=yes
17376 else
17377 :;
17378 fi
17379 ac_ext=c
17380 ac_cpp='$CPP $CPPFLAGS'
17381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17384
17385
17386
17387 ;;
17388
17389 HP-UX*)
17390
17391
17392 ac_ext=c
17393 ac_cpp='$CPP $CPPFLAGS'
17394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17397
17398 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17399 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17400 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 else
17403 cat >conftest.$ac_ext <<_ACEOF
17404 /* confdefs.h. */
17405 _ACEOF
17406 cat confdefs.h >>conftest.$ac_ext
17407 cat >>conftest.$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17409
17410 int
17411 main ()
17412 {
17413
17414 #ifndef __HP_cc
17415 choke me
17416 #endif
17417
17418 ;
17419 return 0;
17420 }
17421 _ACEOF
17422 rm -f conftest.$ac_objext
17423 if { (ac_try="$ac_compile"
17424 case "(($ac_try" in
17425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17426 *) ac_try_echo=$ac_try;;
17427 esac
17428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17429 (eval "$ac_compile") 2>conftest.er1
17430 ac_status=$?
17431 grep -v '^ *+' conftest.er1 >conftest.err
17432 rm -f conftest.er1
17433 cat conftest.err >&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } && {
17436 test -z "$ac_c_werror_flag" ||
17437 test ! -s conftest.err
17438 } && test -s conftest.$ac_objext; then
17439 bakefile_cv_c_compiler___HP_cc=yes
17440 else
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.$ac_ext >&5
17443
17444 bakefile_cv_c_compiler___HP_cc=no
17445
17446 fi
17447
17448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17449
17450
17451 fi
17452 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17453 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17454 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17455 :; HPCC=yes
17456 else
17457 :;
17458 fi
17459 ac_ext=c
17460 ac_cpp='$CPP $CPPFLAGS'
17461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17464
17465
17466
17467 ;;
17468
17469 OSF1)
17470
17471
17472 ac_ext=c
17473 ac_cpp='$CPP $CPPFLAGS'
17474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17477
17478 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17479 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17480 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17481 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 else
17483 cat >conftest.$ac_ext <<_ACEOF
17484 /* confdefs.h. */
17485 _ACEOF
17486 cat confdefs.h >>conftest.$ac_ext
17487 cat >>conftest.$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17489
17490 int
17491 main ()
17492 {
17493
17494 #ifndef __DECC
17495 choke me
17496 #endif
17497
17498 ;
17499 return 0;
17500 }
17501 _ACEOF
17502 rm -f conftest.$ac_objext
17503 if { (ac_try="$ac_compile"
17504 case "(($ac_try" in
17505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17506 *) ac_try_echo=$ac_try;;
17507 esac
17508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17509 (eval "$ac_compile") 2>conftest.er1
17510 ac_status=$?
17511 grep -v '^ *+' conftest.er1 >conftest.err
17512 rm -f conftest.er1
17513 cat conftest.err >&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } && {
17516 test -z "$ac_c_werror_flag" ||
17517 test ! -s conftest.err
17518 } && test -s conftest.$ac_objext; then
17519 bakefile_cv_c_compiler___DECC=yes
17520 else
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.$ac_ext >&5
17523
17524 bakefile_cv_c_compiler___DECC=no
17525
17526 fi
17527
17528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17529
17530
17531 fi
17532 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17533 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17534 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17535 :; COMPAQCC=yes
17536 else
17537 :;
17538 fi
17539 ac_ext=c
17540 ac_cpp='$CPP $CPPFLAGS'
17541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17544
17545
17546
17547 ;;
17548
17549 SunOS)
17550
17551
17552 ac_ext=c
17553 ac_cpp='$CPP $CPPFLAGS'
17554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17557
17558 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17559 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17560 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17561 echo $ECHO_N "(cached) $ECHO_C" >&6
17562 else
17563 cat >conftest.$ac_ext <<_ACEOF
17564 /* confdefs.h. */
17565 _ACEOF
17566 cat confdefs.h >>conftest.$ac_ext
17567 cat >>conftest.$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17569
17570 int
17571 main ()
17572 {
17573
17574 #ifndef __SUNPRO_C
17575 choke me
17576 #endif
17577
17578 ;
17579 return 0;
17580 }
17581 _ACEOF
17582 rm -f conftest.$ac_objext
17583 if { (ac_try="$ac_compile"
17584 case "(($ac_try" in
17585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17586 *) ac_try_echo=$ac_try;;
17587 esac
17588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17589 (eval "$ac_compile") 2>conftest.er1
17590 ac_status=$?
17591 grep -v '^ *+' conftest.er1 >conftest.err
17592 rm -f conftest.er1
17593 cat conftest.err >&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); } && {
17596 test -z "$ac_c_werror_flag" ||
17597 test ! -s conftest.err
17598 } && test -s conftest.$ac_objext; then
17599 bakefile_cv_c_compiler___SUNPRO_C=yes
17600 else
17601 echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.$ac_ext >&5
17603
17604 bakefile_cv_c_compiler___SUNPRO_C=no
17605
17606 fi
17607
17608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17609
17610
17611 fi
17612 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17613 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17614 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17615 :; SUNCC=yes
17616 else
17617 :;
17618 fi
17619 ac_ext=c
17620 ac_cpp='$CPP $CPPFLAGS'
17621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17624
17625
17626
17627 ;;
17628 esac
17629 fi
17630
17631
17632
17633 ac_ext=c
17634 ac_cpp='$CPP $CPPFLAGS'
17635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17638 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17639 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17640 # On Suns, sometimes $CPP names a directory.
17641 if test -n "$CPP" && test -d "$CPP"; then
17642 CPP=
17643 fi
17644 if test -z "$CPP"; then
17645 if test "${ac_cv_prog_CPP+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17647 else
17648 # Double quotes because CPP needs to be expanded
17649 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17650 do
17651 ac_preproc_ok=false
17652 for ac_c_preproc_warn_flag in '' yes
17653 do
17654 # Use a header file that comes with gcc, so configuring glibc
17655 # with a fresh cross-compiler works.
17656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17657 # <limits.h> exists even on freestanding compilers.
17658 # On the NeXT, cc -E runs the code through the compiler's parser,
17659 # not just through cpp. "Syntax error" is here to catch this case.
17660 cat >conftest.$ac_ext <<_ACEOF
17661 /* confdefs.h. */
17662 _ACEOF
17663 cat confdefs.h >>conftest.$ac_ext
17664 cat >>conftest.$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17666 #ifdef __STDC__
17667 # include <limits.h>
17668 #else
17669 # include <assert.h>
17670 #endif
17671 Syntax error
17672 _ACEOF
17673 if { (ac_try="$ac_cpp conftest.$ac_ext"
17674 case "(($ac_try" in
17675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17676 *) ac_try_echo=$ac_try;;
17677 esac
17678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17679 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17680 ac_status=$?
17681 grep -v '^ *+' conftest.er1 >conftest.err
17682 rm -f conftest.er1
17683 cat conftest.err >&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } >/dev/null && {
17686 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17687 test ! -s conftest.err
17688 }; then
17689 :
17690 else
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17693
17694 # Broken: fails on valid input.
17695 continue
17696 fi
17697
17698 rm -f conftest.err conftest.$ac_ext
17699
17700 # OK, works on sane cases. Now check whether nonexistent headers
17701 # can be detected and how.
17702 cat >conftest.$ac_ext <<_ACEOF
17703 /* confdefs.h. */
17704 _ACEOF
17705 cat confdefs.h >>conftest.$ac_ext
17706 cat >>conftest.$ac_ext <<_ACEOF
17707 /* end confdefs.h. */
17708 #include <ac_nonexistent.h>
17709 _ACEOF
17710 if { (ac_try="$ac_cpp conftest.$ac_ext"
17711 case "(($ac_try" in
17712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17713 *) ac_try_echo=$ac_try;;
17714 esac
17715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17717 ac_status=$?
17718 grep -v '^ *+' conftest.er1 >conftest.err
17719 rm -f conftest.er1
17720 cat conftest.err >&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); } >/dev/null && {
17723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17724 test ! -s conftest.err
17725 }; then
17726 # Broken: success on invalid input.
17727 continue
17728 else
17729 echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.$ac_ext >&5
17731
17732 # Passes both tests.
17733 ac_preproc_ok=:
17734 break
17735 fi
17736
17737 rm -f conftest.err conftest.$ac_ext
17738
17739 done
17740 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17741 rm -f conftest.err conftest.$ac_ext
17742 if $ac_preproc_ok; then
17743 break
17744 fi
17745
17746 done
17747 ac_cv_prog_CPP=$CPP
17748
17749 fi
17750 CPP=$ac_cv_prog_CPP
17751 else
17752 ac_cv_prog_CPP=$CPP
17753 fi
17754 { echo "$as_me:$LINENO: result: $CPP" >&5
17755 echo "${ECHO_T}$CPP" >&6; }
17756 ac_preproc_ok=false
17757 for ac_c_preproc_warn_flag in '' yes
17758 do
17759 # Use a header file that comes with gcc, so configuring glibc
17760 # with a fresh cross-compiler works.
17761 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17762 # <limits.h> exists even on freestanding compilers.
17763 # On the NeXT, cc -E runs the code through the compiler's parser,
17764 # not just through cpp. "Syntax error" is here to catch this case.
17765 cat >conftest.$ac_ext <<_ACEOF
17766 /* confdefs.h. */
17767 _ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 #ifdef __STDC__
17772 # include <limits.h>
17773 #else
17774 # include <assert.h>
17775 #endif
17776 Syntax error
17777 _ACEOF
17778 if { (ac_try="$ac_cpp conftest.$ac_ext"
17779 case "(($ac_try" in
17780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17781 *) ac_try_echo=$ac_try;;
17782 esac
17783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17784 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17785 ac_status=$?
17786 grep -v '^ *+' conftest.er1 >conftest.err
17787 rm -f conftest.er1
17788 cat conftest.err >&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); } >/dev/null && {
17791 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17792 test ! -s conftest.err
17793 }; then
17794 :
17795 else
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17798
17799 # Broken: fails on valid input.
17800 continue
17801 fi
17802
17803 rm -f conftest.err conftest.$ac_ext
17804
17805 # OK, works on sane cases. Now check whether nonexistent headers
17806 # can be detected and how.
17807 cat >conftest.$ac_ext <<_ACEOF
17808 /* confdefs.h. */
17809 _ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17813 #include <ac_nonexistent.h>
17814 _ACEOF
17815 if { (ac_try="$ac_cpp conftest.$ac_ext"
17816 case "(($ac_try" in
17817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17818 *) ac_try_echo=$ac_try;;
17819 esac
17820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17822 ac_status=$?
17823 grep -v '^ *+' conftest.er1 >conftest.err
17824 rm -f conftest.er1
17825 cat conftest.err >&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); } >/dev/null && {
17828 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17829 test ! -s conftest.err
17830 }; then
17831 # Broken: success on invalid input.
17832 continue
17833 else
17834 echo "$as_me: failed program was:" >&5
17835 sed 's/^/| /' conftest.$ac_ext >&5
17836
17837 # Passes both tests.
17838 ac_preproc_ok=:
17839 break
17840 fi
17841
17842 rm -f conftest.err conftest.$ac_ext
17843
17844 done
17845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17846 rm -f conftest.err conftest.$ac_ext
17847 if $ac_preproc_ok; then
17848 :
17849 else
17850 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17851 See \`config.log' for more details." >&5
17852 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17853 See \`config.log' for more details." >&2;}
17854 { (exit 1); exit 1; }; }
17855 fi
17856
17857 ac_ext=c
17858 ac_cpp='$CPP $CPPFLAGS'
17859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17862
17863
17864 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17865 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17866 if test "${ac_cv_path_GREP+set}" = set; then
17867 echo $ECHO_N "(cached) $ECHO_C" >&6
17868 else
17869 # Extract the first word of "grep ggrep" to use in msg output
17870 if test -z "$GREP"; then
17871 set dummy grep ggrep; ac_prog_name=$2
17872 if test "${ac_cv_path_GREP+set}" = set; then
17873 echo $ECHO_N "(cached) $ECHO_C" >&6
17874 else
17875 ac_path_GREP_found=false
17876 # Loop through the user's path and test for each of PROGNAME-LIST
17877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17878 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17879 do
17880 IFS=$as_save_IFS
17881 test -z "$as_dir" && as_dir=.
17882 for ac_prog in grep ggrep; do
17883 for ac_exec_ext in '' $ac_executable_extensions; do
17884 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17885 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17886 # Check for GNU ac_path_GREP and select it if it is found.
17887 # Check for GNU $ac_path_GREP
17888 case `"$ac_path_GREP" --version 2>&1` in
17889 *GNU*)
17890 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17891 *)
17892 ac_count=0
17893 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17894 while :
17895 do
17896 cat "conftest.in" "conftest.in" >"conftest.tmp"
17897 mv "conftest.tmp" "conftest.in"
17898 cp "conftest.in" "conftest.nl"
17899 echo 'GREP' >> "conftest.nl"
17900 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17901 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17902 ac_count=`expr $ac_count + 1`
17903 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17904 # Best one so far, save it but keep looking for a better one
17905 ac_cv_path_GREP="$ac_path_GREP"
17906 ac_path_GREP_max=$ac_count
17907 fi
17908 # 10*(2^10) chars as input seems more than enough
17909 test $ac_count -gt 10 && break
17910 done
17911 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17912 esac
17913
17914
17915 $ac_path_GREP_found && break 3
17916 done
17917 done
17918
17919 done
17920 IFS=$as_save_IFS
17921
17922
17923 fi
17924
17925 GREP="$ac_cv_path_GREP"
17926 if test -z "$GREP"; then
17927 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17928 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17929 { (exit 1); exit 1; }; }
17930 fi
17931
17932 else
17933 ac_cv_path_GREP=$GREP
17934 fi
17935
17936
17937 fi
17938 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17939 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17940 GREP="$ac_cv_path_GREP"
17941
17942
17943 { echo "$as_me:$LINENO: checking for egrep" >&5
17944 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17945 if test "${ac_cv_path_EGREP+set}" = set; then
17946 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 else
17948 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17949 then ac_cv_path_EGREP="$GREP -E"
17950 else
17951 # Extract the first word of "egrep" to use in msg output
17952 if test -z "$EGREP"; then
17953 set dummy egrep; ac_prog_name=$2
17954 if test "${ac_cv_path_EGREP+set}" = set; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17956 else
17957 ac_path_EGREP_found=false
17958 # Loop through the user's path and test for each of PROGNAME-LIST
17959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17960 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17961 do
17962 IFS=$as_save_IFS
17963 test -z "$as_dir" && as_dir=.
17964 for ac_prog in egrep; do
17965 for ac_exec_ext in '' $ac_executable_extensions; do
17966 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17967 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17968 # Check for GNU ac_path_EGREP and select it if it is found.
17969 # Check for GNU $ac_path_EGREP
17970 case `"$ac_path_EGREP" --version 2>&1` in
17971 *GNU*)
17972 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17973 *)
17974 ac_count=0
17975 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17976 while :
17977 do
17978 cat "conftest.in" "conftest.in" >"conftest.tmp"
17979 mv "conftest.tmp" "conftest.in"
17980 cp "conftest.in" "conftest.nl"
17981 echo 'EGREP' >> "conftest.nl"
17982 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17983 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17984 ac_count=`expr $ac_count + 1`
17985 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17986 # Best one so far, save it but keep looking for a better one
17987 ac_cv_path_EGREP="$ac_path_EGREP"
17988 ac_path_EGREP_max=$ac_count
17989 fi
17990 # 10*(2^10) chars as input seems more than enough
17991 test $ac_count -gt 10 && break
17992 done
17993 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17994 esac
17995
17996
17997 $ac_path_EGREP_found && break 3
17998 done
17999 done
18000
18001 done
18002 IFS=$as_save_IFS
18003
18004
18005 fi
18006
18007 EGREP="$ac_cv_path_EGREP"
18008 if test -z "$EGREP"; then
18009 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18010 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18011 { (exit 1); exit 1; }; }
18012 fi
18013
18014 else
18015 ac_cv_path_EGREP=$EGREP
18016 fi
18017
18018
18019 fi
18020 fi
18021 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18022 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18023 EGREP="$ac_cv_path_EGREP"
18024
18025
18026 if test $ac_cv_c_compiler_gnu = yes; then
18027 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18028 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18029 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18030 echo $ECHO_N "(cached) $ECHO_C" >&6
18031 else
18032 ac_pattern="Autoconf.*'x'"
18033 cat >conftest.$ac_ext <<_ACEOF
18034 /* confdefs.h. */
18035 _ACEOF
18036 cat confdefs.h >>conftest.$ac_ext
18037 cat >>conftest.$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18039 #include <sgtty.h>
18040 Autoconf TIOCGETP
18041 _ACEOF
18042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18043 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18044 ac_cv_prog_gcc_traditional=yes
18045 else
18046 ac_cv_prog_gcc_traditional=no
18047 fi
18048 rm -f conftest*
18049
18050
18051 if test $ac_cv_prog_gcc_traditional = no; then
18052 cat >conftest.$ac_ext <<_ACEOF
18053 /* confdefs.h. */
18054 _ACEOF
18055 cat confdefs.h >>conftest.$ac_ext
18056 cat >>conftest.$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18058 #include <termio.h>
18059 Autoconf TCGETA
18060 _ACEOF
18061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18062 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18063 ac_cv_prog_gcc_traditional=yes
18064 fi
18065 rm -f conftest*
18066
18067 fi
18068 fi
18069 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18070 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18071 if test $ac_cv_prog_gcc_traditional = yes; then
18072 CC="$CC -traditional"
18073 fi
18074 fi
18075
18076
18077 CXXFLAGS=${CXXFLAGS:=}
18078
18079
18080
18081 ac_ext=cpp
18082 ac_cpp='$CXXCPP $CPPFLAGS'
18083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18086 if test -z "$CXX"; then
18087 if test -n "$CCC"; then
18088 CXX=$CCC
18089 else
18090 if test -n "$ac_tool_prefix"; then
18091 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18092 do
18093 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18094 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18097 if test "${ac_cv_prog_CXX+set}" = set; then
18098 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 else
18100 if test -n "$CXX"; then
18101 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18102 else
18103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18104 for as_dir in $PATH
18105 do
18106 IFS=$as_save_IFS
18107 test -z "$as_dir" && as_dir=.
18108 for ac_exec_ext in '' $ac_executable_extensions; do
18109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18110 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18112 break 2
18113 fi
18114 done
18115 done
18116 IFS=$as_save_IFS
18117
18118 fi
18119 fi
18120 CXX=$ac_cv_prog_CXX
18121 if test -n "$CXX"; then
18122 { echo "$as_me:$LINENO: result: $CXX" >&5
18123 echo "${ECHO_T}$CXX" >&6; }
18124 else
18125 { echo "$as_me:$LINENO: result: no" >&5
18126 echo "${ECHO_T}no" >&6; }
18127 fi
18128
18129
18130 test -n "$CXX" && break
18131 done
18132 fi
18133 if test -z "$CXX"; then
18134 ac_ct_CXX=$CXX
18135 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18136 do
18137 # Extract the first word of "$ac_prog", so it can be a program name with args.
18138 set dummy $ac_prog; ac_word=$2
18139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18141 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18142 echo $ECHO_N "(cached) $ECHO_C" >&6
18143 else
18144 if test -n "$ac_ct_CXX"; then
18145 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18146 else
18147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18148 for as_dir in $PATH
18149 do
18150 IFS=$as_save_IFS
18151 test -z "$as_dir" && as_dir=.
18152 for ac_exec_ext in '' $ac_executable_extensions; do
18153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18154 ac_cv_prog_ac_ct_CXX="$ac_prog"
18155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18156 break 2
18157 fi
18158 done
18159 done
18160 IFS=$as_save_IFS
18161
18162 fi
18163 fi
18164 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18165 if test -n "$ac_ct_CXX"; then
18166 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18167 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18168 else
18169 { echo "$as_me:$LINENO: result: no" >&5
18170 echo "${ECHO_T}no" >&6; }
18171 fi
18172
18173
18174 test -n "$ac_ct_CXX" && break
18175 done
18176
18177 if test "x$ac_ct_CXX" = x; then
18178 CXX="g++"
18179 else
18180 case $cross_compiling:$ac_tool_warned in
18181 yes:)
18182 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18183 whose name does not start with the host triplet. If you think this
18184 configuration is useful to you, please write to autoconf@gnu.org." >&5
18185 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18186 whose name does not start with the host triplet. If you think this
18187 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18188 ac_tool_warned=yes ;;
18189 esac
18190 CXX=$ac_ct_CXX
18191 fi
18192 fi
18193
18194 fi
18195 fi
18196 # Provide some information about the compiler.
18197 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18198 ac_compiler=`set X $ac_compile; echo $2`
18199 { (ac_try="$ac_compiler --version >&5"
18200 case "(($ac_try" in
18201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18202 *) ac_try_echo=$ac_try;;
18203 esac
18204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18205 (eval "$ac_compiler --version >&5") 2>&5
18206 ac_status=$?
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }
18209 { (ac_try="$ac_compiler -v >&5"
18210 case "(($ac_try" in
18211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18212 *) ac_try_echo=$ac_try;;
18213 esac
18214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18215 (eval "$ac_compiler -v >&5") 2>&5
18216 ac_status=$?
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }
18219 { (ac_try="$ac_compiler -V >&5"
18220 case "(($ac_try" in
18221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18222 *) ac_try_echo=$ac_try;;
18223 esac
18224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18225 (eval "$ac_compiler -V >&5") 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }
18229
18230 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18231 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18232 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 else
18235 cat >conftest.$ac_ext <<_ACEOF
18236 /* confdefs.h. */
18237 _ACEOF
18238 cat confdefs.h >>conftest.$ac_ext
18239 cat >>conftest.$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18241
18242 int
18243 main ()
18244 {
18245 #ifndef __GNUC__
18246 choke me
18247 #endif
18248
18249 ;
18250 return 0;
18251 }
18252 _ACEOF
18253 rm -f conftest.$ac_objext
18254 if { (ac_try="$ac_compile"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18258 esac
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_compile") 2>conftest.er1
18261 ac_status=$?
18262 grep -v '^ *+' conftest.er1 >conftest.err
18263 rm -f conftest.er1
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_cxx_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest.$ac_objext; then
18270 ac_compiler_gnu=yes
18271 else
18272 echo "$as_me: failed program was:" >&5
18273 sed 's/^/| /' conftest.$ac_ext >&5
18274
18275 ac_compiler_gnu=no
18276 fi
18277
18278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18279 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18280
18281 fi
18282 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18283 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18284 GXX=`test $ac_compiler_gnu = yes && echo yes`
18285 ac_test_CXXFLAGS=${CXXFLAGS+set}
18286 ac_save_CXXFLAGS=$CXXFLAGS
18287 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18288 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18289 if test "${ac_cv_prog_cxx_g+set}" = set; then
18290 echo $ECHO_N "(cached) $ECHO_C" >&6
18291 else
18292 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18293 ac_cxx_werror_flag=yes
18294 ac_cv_prog_cxx_g=no
18295 CXXFLAGS="-g"
18296 cat >conftest.$ac_ext <<_ACEOF
18297 /* confdefs.h. */
18298 _ACEOF
18299 cat confdefs.h >>conftest.$ac_ext
18300 cat >>conftest.$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18302
18303 int
18304 main ()
18305 {
18306
18307 ;
18308 return 0;
18309 }
18310 _ACEOF
18311 rm -f conftest.$ac_objext
18312 if { (ac_try="$ac_compile"
18313 case "(($ac_try" in
18314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18315 *) ac_try_echo=$ac_try;;
18316 esac
18317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18318 (eval "$ac_compile") 2>conftest.er1
18319 ac_status=$?
18320 grep -v '^ *+' conftest.er1 >conftest.err
18321 rm -f conftest.er1
18322 cat conftest.err >&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); } && {
18325 test -z "$ac_cxx_werror_flag" ||
18326 test ! -s conftest.err
18327 } && test -s conftest.$ac_objext; then
18328 ac_cv_prog_cxx_g=yes
18329 else
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.$ac_ext >&5
18332
18333 CXXFLAGS=""
18334 cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h. */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18340
18341 int
18342 main ()
18343 {
18344
18345 ;
18346 return 0;
18347 }
18348 _ACEOF
18349 rm -f conftest.$ac_objext
18350 if { (ac_try="$ac_compile"
18351 case "(($ac_try" in
18352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18353 *) ac_try_echo=$ac_try;;
18354 esac
18355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18356 (eval "$ac_compile") 2>conftest.er1
18357 ac_status=$?
18358 grep -v '^ *+' conftest.er1 >conftest.err
18359 rm -f conftest.er1
18360 cat conftest.err >&5
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); } && {
18363 test -z "$ac_cxx_werror_flag" ||
18364 test ! -s conftest.err
18365 } && test -s conftest.$ac_objext; then
18366 :
18367 else
18368 echo "$as_me: failed program was:" >&5
18369 sed 's/^/| /' conftest.$ac_ext >&5
18370
18371 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18372 CXXFLAGS="-g"
18373 cat >conftest.$ac_ext <<_ACEOF
18374 /* confdefs.h. */
18375 _ACEOF
18376 cat confdefs.h >>conftest.$ac_ext
18377 cat >>conftest.$ac_ext <<_ACEOF
18378 /* end confdefs.h. */
18379
18380 int
18381 main ()
18382 {
18383
18384 ;
18385 return 0;
18386 }
18387 _ACEOF
18388 rm -f conftest.$ac_objext
18389 if { (ac_try="$ac_compile"
18390 case "(($ac_try" in
18391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;;
18393 esac
18394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18395 (eval "$ac_compile") 2>conftest.er1
18396 ac_status=$?
18397 grep -v '^ *+' conftest.er1 >conftest.err
18398 rm -f conftest.er1
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && {
18402 test -z "$ac_cxx_werror_flag" ||
18403 test ! -s conftest.err
18404 } && test -s conftest.$ac_objext; then
18405 ac_cv_prog_cxx_g=yes
18406 else
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18409
18410
18411 fi
18412
18413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18414 fi
18415
18416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18417 fi
18418
18419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18420 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18421 fi
18422 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18423 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18424 if test "$ac_test_CXXFLAGS" = set; then
18425 CXXFLAGS=$ac_save_CXXFLAGS
18426 elif test $ac_cv_prog_cxx_g = yes; then
18427 if test "$GXX" = yes; then
18428 CXXFLAGS="-g -O2"
18429 else
18430 CXXFLAGS="-g"
18431 fi
18432 else
18433 if test "$GXX" = yes; then
18434 CXXFLAGS="-O2"
18435 else
18436 CXXFLAGS=
18437 fi
18438 fi
18439 ac_ext=c
18440 ac_cpp='$CPP $CPPFLAGS'
18441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18444
18445
18446
18447
18448 ac_ext=cpp
18449 ac_cpp='$CXXCPP $CPPFLAGS'
18450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18453
18454 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18455 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18456 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 else
18459 cat >conftest.$ac_ext <<_ACEOF
18460 /* confdefs.h. */
18461 _ACEOF
18462 cat confdefs.h >>conftest.$ac_ext
18463 cat >>conftest.$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18465
18466 int
18467 main ()
18468 {
18469
18470 #ifndef __INTEL_COMPILER
18471 choke me
18472 #endif
18473
18474 ;
18475 return 0;
18476 }
18477 _ACEOF
18478 rm -f conftest.$ac_objext
18479 if { (ac_try="$ac_compile"
18480 case "(($ac_try" in
18481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18482 *) ac_try_echo=$ac_try;;
18483 esac
18484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18485 (eval "$ac_compile") 2>conftest.er1
18486 ac_status=$?
18487 grep -v '^ *+' conftest.er1 >conftest.err
18488 rm -f conftest.er1
18489 cat conftest.err >&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); } && {
18492 test -z "$ac_cxx_werror_flag" ||
18493 test ! -s conftest.err
18494 } && test -s conftest.$ac_objext; then
18495 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18496 else
18497 echo "$as_me: failed program was:" >&5
18498 sed 's/^/| /' conftest.$ac_ext >&5
18499
18500 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18501
18502 fi
18503
18504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18505
18506
18507 fi
18508 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18509 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18510 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18511 :; INTELCXX=yes
18512 else
18513 :;
18514 fi
18515 ac_ext=c
18516 ac_cpp='$CPP $CPPFLAGS'
18517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18520
18521
18522
18523
18524 if test "x$GCXX" != "xyes"; then
18525 if test "xCXX" = "xC"; then
18526 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18527 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18528 if test "${bakefile_cv_c_exto+set}" = set; then
18529 echo $ECHO_N "(cached) $ECHO_C" >&6
18530 else
18531 cat >conftest.$ac_ext <<_ACEOF
18532 /* confdefs.h. */
18533 _ACEOF
18534 cat confdefs.h >>conftest.$ac_ext
18535 cat >>conftest.$ac_ext <<_ACEOF
18536 /* end confdefs.h. */
18537
18538 int
18539 main ()
18540 {
18541
18542 ;
18543 return 0;
18544 }
18545 _ACEOF
18546 rm -f conftest.$ac_objext conftest.$ac_ext.o
18547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18548 (eval $ac_compile) 2>&5
18549 ac_status=$?
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); }; then
18552 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18553 case $ac_file in
18554 conftest.$ac_ext.o)
18555 bakefile_cv_c_exto="-ext o"
18556 ;;
18557 *)
18558 ;;
18559 esac
18560 done
18561 else
18562 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18563 See \`config.log' for more details." >&5
18564 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18565 See \`config.log' for more details." >&2;}
18566 { (exit 1); exit 1; }; }
18567
18568 fi
18569
18570 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18571
18572 fi
18573 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18574 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18575 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18576 if test "c" = "c"; then
18577 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18578 fi
18579 if test "c" = "cxx"; then
18580 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18581 fi
18582 fi
18583
18584 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18585 unset ac_cv_prog_cc_g
18586 ac_test_CFLAGS=${CFLAGS+set}
18587 ac_save_CFLAGS=$CFLAGS
18588 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18589 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18590 if test "${ac_cv_prog_cc_g+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18592 else
18593 ac_save_c_werror_flag=$ac_c_werror_flag
18594 ac_c_werror_flag=yes
18595 ac_cv_prog_cc_g=no
18596 CFLAGS="-g"
18597 cat >conftest.$ac_ext <<_ACEOF
18598 /* confdefs.h. */
18599 _ACEOF
18600 cat confdefs.h >>conftest.$ac_ext
18601 cat >>conftest.$ac_ext <<_ACEOF
18602 /* end confdefs.h. */
18603
18604 int
18605 main ()
18606 {
18607
18608 ;
18609 return 0;
18610 }
18611 _ACEOF
18612 rm -f conftest.$ac_objext
18613 if { (ac_try="$ac_compile"
18614 case "(($ac_try" in
18615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18616 *) ac_try_echo=$ac_try;;
18617 esac
18618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18619 (eval "$ac_compile") 2>conftest.er1
18620 ac_status=$?
18621 grep -v '^ *+' conftest.er1 >conftest.err
18622 rm -f conftest.er1
18623 cat conftest.err >&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } && {
18626 test -z "$ac_c_werror_flag" ||
18627 test ! -s conftest.err
18628 } && test -s conftest.$ac_objext; then
18629 ac_cv_prog_cc_g=yes
18630 else
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18633
18634 CFLAGS=""
18635 cat >conftest.$ac_ext <<_ACEOF
18636 /* confdefs.h. */
18637 _ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641
18642 int
18643 main ()
18644 {
18645
18646 ;
18647 return 0;
18648 }
18649 _ACEOF
18650 rm -f conftest.$ac_objext
18651 if { (ac_try="$ac_compile"
18652 case "(($ac_try" in
18653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18654 *) ac_try_echo=$ac_try;;
18655 esac
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_compile") 2>conftest.er1
18658 ac_status=$?
18659 grep -v '^ *+' conftest.er1 >conftest.err
18660 rm -f conftest.er1
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && {
18664 test -z "$ac_c_werror_flag" ||
18665 test ! -s conftest.err
18666 } && test -s conftest.$ac_objext; then
18667 :
18668 else
18669 echo "$as_me: failed program was:" >&5
18670 sed 's/^/| /' conftest.$ac_ext >&5
18671
18672 ac_c_werror_flag=$ac_save_c_werror_flag
18673 CFLAGS="-g"
18674 cat >conftest.$ac_ext <<_ACEOF
18675 /* confdefs.h. */
18676 _ACEOF
18677 cat confdefs.h >>conftest.$ac_ext
18678 cat >>conftest.$ac_ext <<_ACEOF
18679 /* end confdefs.h. */
18680
18681 int
18682 main ()
18683 {
18684
18685 ;
18686 return 0;
18687 }
18688 _ACEOF
18689 rm -f conftest.$ac_objext
18690 if { (ac_try="$ac_compile"
18691 case "(($ac_try" in
18692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18693 *) ac_try_echo=$ac_try;;
18694 esac
18695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18696 (eval "$ac_compile") 2>conftest.er1
18697 ac_status=$?
18698 grep -v '^ *+' conftest.er1 >conftest.err
18699 rm -f conftest.er1
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } && {
18703 test -z "$ac_c_werror_flag" ||
18704 test ! -s conftest.err
18705 } && test -s conftest.$ac_objext; then
18706 ac_cv_prog_cc_g=yes
18707 else
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18710
18711
18712 fi
18713
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18715 fi
18716
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18718 fi
18719
18720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18721 ac_c_werror_flag=$ac_save_c_werror_flag
18722 fi
18723 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18724 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18725 if test "$ac_test_CFLAGS" = set; then
18726 CFLAGS=$ac_save_CFLAGS
18727 elif test $ac_cv_prog_cc_g = yes; then
18728 if test "$GCC" = yes; then
18729 CFLAGS="-g -O2"
18730 else
18731 CFLAGS="-g"
18732 fi
18733 else
18734 if test "$GCC" = yes; then
18735 CFLAGS="-O2"
18736 else
18737 CFLAGS=
18738 fi
18739 fi
18740 fi
18741 fi
18742
18743 case `uname -s` in
18744 AIX*)
18745
18746
18747 ac_ext=cpp
18748 ac_cpp='$CXXCPP $CPPFLAGS'
18749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18752
18753 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18754 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18755 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 else
18758 cat >conftest.$ac_ext <<_ACEOF
18759 /* confdefs.h. */
18760 _ACEOF
18761 cat confdefs.h >>conftest.$ac_ext
18762 cat >>conftest.$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764
18765 int
18766 main ()
18767 {
18768
18769 #ifndef __xlC__
18770 choke me
18771 #endif
18772
18773 ;
18774 return 0;
18775 }
18776 _ACEOF
18777 rm -f conftest.$ac_objext
18778 if { (ac_try="$ac_compile"
18779 case "(($ac_try" in
18780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18781 *) ac_try_echo=$ac_try;;
18782 esac
18783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18784 (eval "$ac_compile") 2>conftest.er1
18785 ac_status=$?
18786 grep -v '^ *+' conftest.er1 >conftest.err
18787 rm -f conftest.er1
18788 cat conftest.err >&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); } && {
18791 test -z "$ac_cxx_werror_flag" ||
18792 test ! -s conftest.err
18793 } && test -s conftest.$ac_objext; then
18794 bakefile_cv_cxx_compiler___xlC__=yes
18795 else
18796 echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.$ac_ext >&5
18798
18799 bakefile_cv_cxx_compiler___xlC__=no
18800
18801 fi
18802
18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18804
18805
18806 fi
18807 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18808 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18809 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18810 :; XLCXX=yes
18811 else
18812 :;
18813 fi
18814 ac_ext=c
18815 ac_cpp='$CPP $CPPFLAGS'
18816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18819
18820
18821
18822 ;;
18823
18824 Darwin)
18825
18826
18827 ac_ext=cpp
18828 ac_cpp='$CXXCPP $CPPFLAGS'
18829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18832
18833 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18834 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18835 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18837 else
18838 cat >conftest.$ac_ext <<_ACEOF
18839 /* confdefs.h. */
18840 _ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844
18845 int
18846 main ()
18847 {
18848
18849 #ifndef __MWERKS__
18850 choke me
18851 #endif
18852
18853 ;
18854 return 0;
18855 }
18856 _ACEOF
18857 rm -f conftest.$ac_objext
18858 if { (ac_try="$ac_compile"
18859 case "(($ac_try" in
18860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18861 *) ac_try_echo=$ac_try;;
18862 esac
18863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18864 (eval "$ac_compile") 2>conftest.er1
18865 ac_status=$?
18866 grep -v '^ *+' conftest.er1 >conftest.err
18867 rm -f conftest.er1
18868 cat conftest.err >&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } && {
18871 test -z "$ac_cxx_werror_flag" ||
18872 test ! -s conftest.err
18873 } && test -s conftest.$ac_objext; then
18874 bakefile_cv_cxx_compiler___MWERKS__=yes
18875 else
18876 echo "$as_me: failed program was:" >&5
18877 sed 's/^/| /' conftest.$ac_ext >&5
18878
18879 bakefile_cv_cxx_compiler___MWERKS__=no
18880
18881 fi
18882
18883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18884
18885
18886 fi
18887 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18888 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18889 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18890 :; MWCXX=yes
18891 else
18892 :;
18893 fi
18894 ac_ext=c
18895 ac_cpp='$CPP $CPPFLAGS'
18896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18899
18900
18901
18902
18903
18904 ac_ext=cpp
18905 ac_cpp='$CXXCPP $CPPFLAGS'
18906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18909
18910 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18911 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18912 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18913 echo $ECHO_N "(cached) $ECHO_C" >&6
18914 else
18915 cat >conftest.$ac_ext <<_ACEOF
18916 /* confdefs.h. */
18917 _ACEOF
18918 cat confdefs.h >>conftest.$ac_ext
18919 cat >>conftest.$ac_ext <<_ACEOF
18920 /* end confdefs.h. */
18921
18922 int
18923 main ()
18924 {
18925
18926 #ifndef __xlC__
18927 choke me
18928 #endif
18929
18930 ;
18931 return 0;
18932 }
18933 _ACEOF
18934 rm -f conftest.$ac_objext
18935 if { (ac_try="$ac_compile"
18936 case "(($ac_try" in
18937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18938 *) ac_try_echo=$ac_try;;
18939 esac
18940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18941 (eval "$ac_compile") 2>conftest.er1
18942 ac_status=$?
18943 grep -v '^ *+' conftest.er1 >conftest.err
18944 rm -f conftest.er1
18945 cat conftest.err >&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); } && {
18948 test -z "$ac_cxx_werror_flag" ||
18949 test ! -s conftest.err
18950 } && test -s conftest.$ac_objext; then
18951 bakefile_cv_cxx_compiler___xlC__=yes
18952 else
18953 echo "$as_me: failed program was:" >&5
18954 sed 's/^/| /' conftest.$ac_ext >&5
18955
18956 bakefile_cv_cxx_compiler___xlC__=no
18957
18958 fi
18959
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961
18962
18963 fi
18964 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18965 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18966 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18967 :; XLCXX=yes
18968 else
18969 :;
18970 fi
18971 ac_ext=c
18972 ac_cpp='$CPP $CPPFLAGS'
18973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18976
18977
18978
18979 ;;
18980
18981 IRIX*)
18982
18983
18984 ac_ext=cpp
18985 ac_cpp='$CXXCPP $CPPFLAGS'
18986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18989
18990 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18991 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18992 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18994 else
18995 cat >conftest.$ac_ext <<_ACEOF
18996 /* confdefs.h. */
18997 _ACEOF
18998 cat confdefs.h >>conftest.$ac_ext
18999 cat >>conftest.$ac_ext <<_ACEOF
19000 /* end confdefs.h. */
19001
19002 int
19003 main ()
19004 {
19005
19006 #ifndef _SGI_COMPILER_VERSION
19007 choke me
19008 #endif
19009
19010 ;
19011 return 0;
19012 }
19013 _ACEOF
19014 rm -f conftest.$ac_objext
19015 if { (ac_try="$ac_compile"
19016 case "(($ac_try" in
19017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19018 *) ac_try_echo=$ac_try;;
19019 esac
19020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19021 (eval "$ac_compile") 2>conftest.er1
19022 ac_status=$?
19023 grep -v '^ *+' conftest.er1 >conftest.err
19024 rm -f conftest.er1
19025 cat conftest.err >&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } && {
19028 test -z "$ac_cxx_werror_flag" ||
19029 test ! -s conftest.err
19030 } && test -s conftest.$ac_objext; then
19031 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19032 else
19033 echo "$as_me: failed program was:" >&5
19034 sed 's/^/| /' conftest.$ac_ext >&5
19035
19036 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19037
19038 fi
19039
19040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19041
19042
19043 fi
19044 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19045 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19046 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19047 :; SGICXX=yes
19048 else
19049 :;
19050 fi
19051 ac_ext=c
19052 ac_cpp='$CPP $CPPFLAGS'
19053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19056
19057
19058
19059 ;;
19060
19061 Linux*)
19062
19063
19064 ac_ext=cpp
19065 ac_cpp='$CXXCPP $CPPFLAGS'
19066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19069
19070 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19071 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19072 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19073 echo $ECHO_N "(cached) $ECHO_C" >&6
19074 else
19075 cat >conftest.$ac_ext <<_ACEOF
19076 /* confdefs.h. */
19077 _ACEOF
19078 cat confdefs.h >>conftest.$ac_ext
19079 cat >>conftest.$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19081
19082 int
19083 main ()
19084 {
19085
19086 #ifndef __SUNPRO_CC
19087 choke me
19088 #endif
19089
19090 ;
19091 return 0;
19092 }
19093 _ACEOF
19094 rm -f conftest.$ac_objext
19095 if { (ac_try="$ac_compile"
19096 case "(($ac_try" in
19097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19098 *) ac_try_echo=$ac_try;;
19099 esac
19100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19101 (eval "$ac_compile") 2>conftest.er1
19102 ac_status=$?
19103 grep -v '^ *+' conftest.er1 >conftest.err
19104 rm -f conftest.er1
19105 cat conftest.err >&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); } && {
19108 test -z "$ac_cxx_werror_flag" ||
19109 test ! -s conftest.err
19110 } && test -s conftest.$ac_objext; then
19111 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19112 else
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.$ac_ext >&5
19115
19116 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19117
19118 fi
19119
19120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19121
19122
19123 fi
19124 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19125 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19126 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19127 :; SUNCXX=yes
19128 else
19129 :;
19130 fi
19131 ac_ext=c
19132 ac_cpp='$CPP $CPPFLAGS'
19133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19136
19137
19138
19139 ;;
19140
19141 HP-UX*)
19142
19143
19144 ac_ext=cpp
19145 ac_cpp='$CXXCPP $CPPFLAGS'
19146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19149
19150 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19151 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19152 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 else
19155 cat >conftest.$ac_ext <<_ACEOF
19156 /* confdefs.h. */
19157 _ACEOF
19158 cat confdefs.h >>conftest.$ac_ext
19159 cat >>conftest.$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161
19162 int
19163 main ()
19164 {
19165
19166 #ifndef __HP_aCC
19167 choke me
19168 #endif
19169
19170 ;
19171 return 0;
19172 }
19173 _ACEOF
19174 rm -f conftest.$ac_objext
19175 if { (ac_try="$ac_compile"
19176 case "(($ac_try" in
19177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19178 *) ac_try_echo=$ac_try;;
19179 esac
19180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19181 (eval "$ac_compile") 2>conftest.er1
19182 ac_status=$?
19183 grep -v '^ *+' conftest.er1 >conftest.err
19184 rm -f conftest.er1
19185 cat conftest.err >&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } && {
19188 test -z "$ac_cxx_werror_flag" ||
19189 test ! -s conftest.err
19190 } && test -s conftest.$ac_objext; then
19191 bakefile_cv_cxx_compiler___HP_aCC=yes
19192 else
19193 echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.$ac_ext >&5
19195
19196 bakefile_cv_cxx_compiler___HP_aCC=no
19197
19198 fi
19199
19200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19201
19202
19203 fi
19204 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19205 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19206 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19207 :; HPCXX=yes
19208 else
19209 :;
19210 fi
19211 ac_ext=c
19212 ac_cpp='$CPP $CPPFLAGS'
19213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19216
19217
19218
19219 ;;
19220
19221 OSF1)
19222
19223
19224 ac_ext=cpp
19225 ac_cpp='$CXXCPP $CPPFLAGS'
19226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19229
19230 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19231 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19232 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19234 else
19235 cat >conftest.$ac_ext <<_ACEOF
19236 /* confdefs.h. */
19237 _ACEOF
19238 cat confdefs.h >>conftest.$ac_ext
19239 cat >>conftest.$ac_ext <<_ACEOF
19240 /* end confdefs.h. */
19241
19242 int
19243 main ()
19244 {
19245
19246 #ifndef __DECCXX
19247 choke me
19248 #endif
19249
19250 ;
19251 return 0;
19252 }
19253 _ACEOF
19254 rm -f conftest.$ac_objext
19255 if { (ac_try="$ac_compile"
19256 case "(($ac_try" in
19257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19258 *) ac_try_echo=$ac_try;;
19259 esac
19260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19261 (eval "$ac_compile") 2>conftest.er1
19262 ac_status=$?
19263 grep -v '^ *+' conftest.er1 >conftest.err
19264 rm -f conftest.er1
19265 cat conftest.err >&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } && {
19268 test -z "$ac_cxx_werror_flag" ||
19269 test ! -s conftest.err
19270 } && test -s conftest.$ac_objext; then
19271 bakefile_cv_cxx_compiler___DECCXX=yes
19272 else
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.$ac_ext >&5
19275
19276 bakefile_cv_cxx_compiler___DECCXX=no
19277
19278 fi
19279
19280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19281
19282
19283 fi
19284 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19285 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19286 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19287 :; COMPAQCXX=yes
19288 else
19289 :;
19290 fi
19291 ac_ext=c
19292 ac_cpp='$CPP $CPPFLAGS'
19293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19296
19297
19298
19299 ;;
19300
19301 SunOS)
19302
19303
19304 ac_ext=cpp
19305 ac_cpp='$CXXCPP $CPPFLAGS'
19306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19309
19310 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19311 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19312 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
19314 else
19315 cat >conftest.$ac_ext <<_ACEOF
19316 /* confdefs.h. */
19317 _ACEOF
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321
19322 int
19323 main ()
19324 {
19325
19326 #ifndef __SUNPRO_CC
19327 choke me
19328 #endif
19329
19330 ;
19331 return 0;
19332 }
19333 _ACEOF
19334 rm -f conftest.$ac_objext
19335 if { (ac_try="$ac_compile"
19336 case "(($ac_try" in
19337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19338 *) ac_try_echo=$ac_try;;
19339 esac
19340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19341 (eval "$ac_compile") 2>conftest.er1
19342 ac_status=$?
19343 grep -v '^ *+' conftest.er1 >conftest.err
19344 rm -f conftest.er1
19345 cat conftest.err >&5
19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347 (exit $ac_status); } && {
19348 test -z "$ac_cxx_werror_flag" ||
19349 test ! -s conftest.err
19350 } && test -s conftest.$ac_objext; then
19351 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19352 else
19353 echo "$as_me: failed program was:" >&5
19354 sed 's/^/| /' conftest.$ac_ext >&5
19355
19356 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19357
19358 fi
19359
19360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19361
19362
19363 fi
19364 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19365 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19366 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19367 :; SUNCXX=yes
19368 else
19369 :;
19370 fi
19371 ac_ext=c
19372 ac_cpp='$CPP $CPPFLAGS'
19373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19376
19377
19378
19379 ;;
19380 esac
19381 fi
19382
19383
19384
19385 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19386 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19387 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19388 { (exit 1); exit 1; }; }
19389 fi
19390
19391 if test -n "$ac_tool_prefix"; then
19392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19396 if test "${ac_cv_prog_RANLIB+set}" = set; then
19397 echo $ECHO_N "(cached) $ECHO_C" >&6
19398 else
19399 if test -n "$RANLIB"; then
19400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19401 else
19402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19403 for as_dir in $PATH
19404 do
19405 IFS=$as_save_IFS
19406 test -z "$as_dir" && as_dir=.
19407 for ac_exec_ext in '' $ac_executable_extensions; do
19408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19411 break 2
19412 fi
19413 done
19414 done
19415 IFS=$as_save_IFS
19416
19417 fi
19418 fi
19419 RANLIB=$ac_cv_prog_RANLIB
19420 if test -n "$RANLIB"; then
19421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19422 echo "${ECHO_T}$RANLIB" >&6; }
19423 else
19424 { echo "$as_me:$LINENO: result: no" >&5
19425 echo "${ECHO_T}no" >&6; }
19426 fi
19427
19428
19429 fi
19430 if test -z "$ac_cv_prog_RANLIB"; then
19431 ac_ct_RANLIB=$RANLIB
19432 # Extract the first word of "ranlib", so it can be a program name with args.
19433 set dummy ranlib; ac_word=$2
19434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19437 echo $ECHO_N "(cached) $ECHO_C" >&6
19438 else
19439 if test -n "$ac_ct_RANLIB"; then
19440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19441 else
19442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19443 for as_dir in $PATH
19444 do
19445 IFS=$as_save_IFS
19446 test -z "$as_dir" && as_dir=.
19447 for ac_exec_ext in '' $ac_executable_extensions; do
19448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19449 ac_cv_prog_ac_ct_RANLIB="ranlib"
19450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19451 break 2
19452 fi
19453 done
19454 done
19455 IFS=$as_save_IFS
19456
19457 fi
19458 fi
19459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19460 if test -n "$ac_ct_RANLIB"; then
19461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19463 else
19464 { echo "$as_me:$LINENO: result: no" >&5
19465 echo "${ECHO_T}no" >&6; }
19466 fi
19467
19468 if test "x$ac_ct_RANLIB" = x; then
19469 RANLIB=":"
19470 else
19471 case $cross_compiling:$ac_tool_warned in
19472 yes:)
19473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19474 whose name does not start with the host triplet. If you think this
19475 configuration is useful to you, please write to autoconf@gnu.org." >&5
19476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19477 whose name does not start with the host triplet. If you think this
19478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19479 ac_tool_warned=yes ;;
19480 esac
19481 RANLIB=$ac_ct_RANLIB
19482 fi
19483 else
19484 RANLIB="$ac_cv_prog_RANLIB"
19485 fi
19486
19487
19488 if test "x$SUNCXX" != xyes; then
19489 if test -n "$ac_tool_prefix"; then
19490 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19491 set dummy ${ac_tool_prefix}ar; ac_word=$2
19492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19494 if test "${ac_cv_prog_AR+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19496 else
19497 if test -n "$AR"; then
19498 ac_cv_prog_AR="$AR" # Let the user override the test.
19499 else
19500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19501 for as_dir in $PATH
19502 do
19503 IFS=$as_save_IFS
19504 test -z "$as_dir" && as_dir=.
19505 for ac_exec_ext in '' $ac_executable_extensions; do
19506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19507 ac_cv_prog_AR="${ac_tool_prefix}ar"
19508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19509 break 2
19510 fi
19511 done
19512 done
19513 IFS=$as_save_IFS
19514
19515 fi
19516 fi
19517 AR=$ac_cv_prog_AR
19518 if test -n "$AR"; then
19519 { echo "$as_me:$LINENO: result: $AR" >&5
19520 echo "${ECHO_T}$AR" >&6; }
19521 else
19522 { echo "$as_me:$LINENO: result: no" >&5
19523 echo "${ECHO_T}no" >&6; }
19524 fi
19525
19526
19527 fi
19528 if test -z "$ac_cv_prog_AR"; then
19529 ac_ct_AR=$AR
19530 # Extract the first word of "ar", so it can be a program name with args.
19531 set dummy ar; ac_word=$2
19532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19534 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19536 else
19537 if test -n "$ac_ct_AR"; then
19538 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19539 else
19540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19541 for as_dir in $PATH
19542 do
19543 IFS=$as_save_IFS
19544 test -z "$as_dir" && as_dir=.
19545 for ac_exec_ext in '' $ac_executable_extensions; do
19546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19547 ac_cv_prog_ac_ct_AR="ar"
19548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19549 break 2
19550 fi
19551 done
19552 done
19553 IFS=$as_save_IFS
19554
19555 fi
19556 fi
19557 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19558 if test -n "$ac_ct_AR"; then
19559 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19560 echo "${ECHO_T}$ac_ct_AR" >&6; }
19561 else
19562 { echo "$as_me:$LINENO: result: no" >&5
19563 echo "${ECHO_T}no" >&6; }
19564 fi
19565
19566 if test "x$ac_ct_AR" = x; then
19567 AR=""
19568 else
19569 case $cross_compiling:$ac_tool_warned in
19570 yes:)
19571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19572 whose name does not start with the host triplet. If you think this
19573 configuration is useful to you, please write to autoconf@gnu.org." >&5
19574 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19575 whose name does not start with the host triplet. If you think this
19576 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19577 ac_tool_warned=yes ;;
19578 esac
19579 AR=$ac_ct_AR
19580 fi
19581 else
19582 AR="$ac_cv_prog_AR"
19583 fi
19584
19585 if test "x$AR" = "x" ; then
19586 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19587 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19588 { (exit 1); exit 1; }; }
19589 fi
19590 fi
19591
19592 # Find a good install program. We prefer a C program (faster),
19593 # so one script is as good as another. But avoid the broken or
19594 # incompatible versions:
19595 # SysV /etc/install, /usr/sbin/install
19596 # SunOS /usr/etc/install
19597 # IRIX /sbin/install
19598 # AIX /bin/install
19599 # AmigaOS /C/install, which installs bootblocks on floppy discs
19600 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19601 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19602 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19603 # OS/2's system install, which has a completely different semantic
19604 # ./install, which can be erroneously created by make from ./install.sh.
19605 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19606 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19607 if test -z "$INSTALL"; then
19608 if test "${ac_cv_path_install+set}" = set; then
19609 echo $ECHO_N "(cached) $ECHO_C" >&6
19610 else
19611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19612 for as_dir in $PATH
19613 do
19614 IFS=$as_save_IFS
19615 test -z "$as_dir" && as_dir=.
19616 # Account for people who put trailing slashes in PATH elements.
19617 case $as_dir/ in
19618 ./ | .// | /cC/* | \
19619 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19620 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19621 /usr/ucb/* ) ;;
19622 *)
19623 # OSF1 and SCO ODT 3.0 have their own names for install.
19624 # Don't use installbsd from OSF since it installs stuff as root
19625 # by default.
19626 for ac_prog in ginstall scoinst install; do
19627 for ac_exec_ext in '' $ac_executable_extensions; do
19628 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19629 if test $ac_prog = install &&
19630 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19631 # AIX install. It has an incompatible calling convention.
19632 :
19633 elif test $ac_prog = install &&
19634 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19635 # program-specific install script used by HP pwplus--don't use.
19636 :
19637 else
19638 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19639 break 3
19640 fi
19641 fi
19642 done
19643 done
19644 ;;
19645 esac
19646 done
19647 IFS=$as_save_IFS
19648
19649
19650 fi
19651 if test "${ac_cv_path_install+set}" = set; then
19652 INSTALL=$ac_cv_path_install
19653 else
19654 # As a last resort, use the slow shell script. Don't cache a
19655 # value for INSTALL within a source directory, because that will
19656 # break other packages using the cache if that directory is
19657 # removed, or if the value is a relative name.
19658 INSTALL=$ac_install_sh
19659 fi
19660 fi
19661 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19662 echo "${ECHO_T}$INSTALL" >&6; }
19663
19664 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19665 # It thinks the first close brace ends the variable substitution.
19666 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19667
19668 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19669
19670 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19671
19672
19673 case ${INSTALL} in
19674 /* ) # Absolute
19675 ;;
19676 ?:* ) # Drive letter, considered as absolute.
19677 ;;
19678 *)
19679 INSTALL=`pwd`/${INSTALL} ;;
19680 esac
19681
19682
19683 case "${host}" in
19684
19685 *-*-darwin* )
19686 INSTALL_PROGRAM="cp -fp"
19687 INSTALL_DATA="cp -fp"
19688 ;;
19689 *)
19690 ;;
19691 esac
19692
19693 if test -n "$ac_tool_prefix"; then
19694 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19695 set dummy ${ac_tool_prefix}strip; ac_word=$2
19696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19698 if test "${ac_cv_prog_STRIP+set}" = set; then
19699 echo $ECHO_N "(cached) $ECHO_C" >&6
19700 else
19701 if test -n "$STRIP"; then
19702 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19703 else
19704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19705 for as_dir in $PATH
19706 do
19707 IFS=$as_save_IFS
19708 test -z "$as_dir" && as_dir=.
19709 for ac_exec_ext in '' $ac_executable_extensions; do
19710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19711 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19713 break 2
19714 fi
19715 done
19716 done
19717 IFS=$as_save_IFS
19718
19719 fi
19720 fi
19721 STRIP=$ac_cv_prog_STRIP
19722 if test -n "$STRIP"; then
19723 { echo "$as_me:$LINENO: result: $STRIP" >&5
19724 echo "${ECHO_T}$STRIP" >&6; }
19725 else
19726 { echo "$as_me:$LINENO: result: no" >&5
19727 echo "${ECHO_T}no" >&6; }
19728 fi
19729
19730
19731 fi
19732 if test -z "$ac_cv_prog_STRIP"; then
19733 ac_ct_STRIP=$STRIP
19734 # Extract the first word of "strip", so it can be a program name with args.
19735 set dummy strip; ac_word=$2
19736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19738 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19739 echo $ECHO_N "(cached) $ECHO_C" >&6
19740 else
19741 if test -n "$ac_ct_STRIP"; then
19742 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19743 else
19744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19745 for as_dir in $PATH
19746 do
19747 IFS=$as_save_IFS
19748 test -z "$as_dir" && as_dir=.
19749 for ac_exec_ext in '' $ac_executable_extensions; do
19750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19751 ac_cv_prog_ac_ct_STRIP="strip"
19752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19753 break 2
19754 fi
19755 done
19756 done
19757 IFS=$as_save_IFS
19758
19759 fi
19760 fi
19761 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19762 if test -n "$ac_ct_STRIP"; then
19763 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19764 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19765 else
19766 { echo "$as_me:$LINENO: result: no" >&5
19767 echo "${ECHO_T}no" >&6; }
19768 fi
19769
19770 if test "x$ac_ct_STRIP" = x; then
19771 STRIP="true"
19772 else
19773 case $cross_compiling:$ac_tool_warned in
19774 yes:)
19775 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19776 whose name does not start with the host triplet. If you think this
19777 configuration is useful to you, please write to autoconf@gnu.org." >&5
19778 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19779 whose name does not start with the host triplet. If you think this
19780 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19781 ac_tool_warned=yes ;;
19782 esac
19783 STRIP=$ac_ct_STRIP
19784 fi
19785 else
19786 STRIP="$ac_cv_prog_STRIP"
19787 fi
19788
19789
19790 if test "$wxUSE_WINE" = "yes"; then
19791 if test -n "$ac_tool_prefix"; then
19792 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19793 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19796 if test "${ac_cv_prog_WINDRES+set}" = set; then
19797 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 else
19799 if test -n "$WINDRES"; then
19800 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19801 else
19802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19803 for as_dir in $PATH
19804 do
19805 IFS=$as_save_IFS
19806 test -z "$as_dir" && as_dir=.
19807 for ac_exec_ext in '' $ac_executable_extensions; do
19808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19809 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19811 break 2
19812 fi
19813 done
19814 done
19815 IFS=$as_save_IFS
19816
19817 fi
19818 fi
19819 WINDRES=$ac_cv_prog_WINDRES
19820 if test -n "$WINDRES"; then
19821 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19822 echo "${ECHO_T}$WINDRES" >&6; }
19823 else
19824 { echo "$as_me:$LINENO: result: no" >&5
19825 echo "${ECHO_T}no" >&6; }
19826 fi
19827
19828
19829 fi
19830 if test -z "$ac_cv_prog_WINDRES"; then
19831 ac_ct_WINDRES=$WINDRES
19832 # Extract the first word of "wrc", so it can be a program name with args.
19833 set dummy wrc; ac_word=$2
19834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19836 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19837 echo $ECHO_N "(cached) $ECHO_C" >&6
19838 else
19839 if test -n "$ac_ct_WINDRES"; then
19840 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19841 else
19842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19843 for as_dir in $PATH
19844 do
19845 IFS=$as_save_IFS
19846 test -z "$as_dir" && as_dir=.
19847 for ac_exec_ext in '' $ac_executable_extensions; do
19848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19849 ac_cv_prog_ac_ct_WINDRES="wrc"
19850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19851 break 2
19852 fi
19853 done
19854 done
19855 IFS=$as_save_IFS
19856
19857 fi
19858 fi
19859 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19860 if test -n "$ac_ct_WINDRES"; then
19861 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19862 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19863 else
19864 { echo "$as_me:$LINENO: result: no" >&5
19865 echo "${ECHO_T}no" >&6; }
19866 fi
19867
19868 if test "x$ac_ct_WINDRES" = x; then
19869 WINDRES=""
19870 else
19871 case $cross_compiling:$ac_tool_warned in
19872 yes:)
19873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19874 whose name does not start with the host triplet. If you think this
19875 configuration is useful to you, please write to autoconf@gnu.org." >&5
19876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19877 whose name does not start with the host triplet. If you think this
19878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19879 ac_tool_warned=yes ;;
19880 esac
19881 WINDRES=$ac_ct_WINDRES
19882 fi
19883 else
19884 WINDRES="$ac_cv_prog_WINDRES"
19885 fi
19886
19887 RESCOMP="$WINDRES"
19888 else
19889 case "${host}" in
19890 *-*-cygwin* | *-*-mingw32* )
19891 if test -n "$ac_tool_prefix"; then
19892 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19893 set dummy ${ac_tool_prefix}windres; ac_word=$2
19894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19896 if test "${ac_cv_prog_WINDRES+set}" = set; then
19897 echo $ECHO_N "(cached) $ECHO_C" >&6
19898 else
19899 if test -n "$WINDRES"; then
19900 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19901 else
19902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19903 for as_dir in $PATH
19904 do
19905 IFS=$as_save_IFS
19906 test -z "$as_dir" && as_dir=.
19907 for ac_exec_ext in '' $ac_executable_extensions; do
19908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19909 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19911 break 2
19912 fi
19913 done
19914 done
19915 IFS=$as_save_IFS
19916
19917 fi
19918 fi
19919 WINDRES=$ac_cv_prog_WINDRES
19920 if test -n "$WINDRES"; then
19921 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19922 echo "${ECHO_T}$WINDRES" >&6; }
19923 else
19924 { echo "$as_me:$LINENO: result: no" >&5
19925 echo "${ECHO_T}no" >&6; }
19926 fi
19927
19928
19929 fi
19930 if test -z "$ac_cv_prog_WINDRES"; then
19931 ac_ct_WINDRES=$WINDRES
19932 # Extract the first word of "windres", so it can be a program name with args.
19933 set dummy windres; ac_word=$2
19934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19936 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939 if test -n "$ac_ct_WINDRES"; then
19940 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19941 else
19942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19943 for as_dir in $PATH
19944 do
19945 IFS=$as_save_IFS
19946 test -z "$as_dir" && as_dir=.
19947 for ac_exec_ext in '' $ac_executable_extensions; do
19948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19949 ac_cv_prog_ac_ct_WINDRES="windres"
19950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19951 break 2
19952 fi
19953 done
19954 done
19955 IFS=$as_save_IFS
19956
19957 fi
19958 fi
19959 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19960 if test -n "$ac_ct_WINDRES"; then
19961 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19962 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19963 else
19964 { echo "$as_me:$LINENO: result: no" >&5
19965 echo "${ECHO_T}no" >&6; }
19966 fi
19967
19968 if test "x$ac_ct_WINDRES" = x; then
19969 WINDRES=""
19970 else
19971 case $cross_compiling:$ac_tool_warned in
19972 yes:)
19973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19974 whose name does not start with the host triplet. If you think this
19975 configuration is useful to you, please write to autoconf@gnu.org." >&5
19976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19977 whose name does not start with the host triplet. If you think this
19978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19979 ac_tool_warned=yes ;;
19980 esac
19981 WINDRES=$ac_ct_WINDRES
19982 fi
19983 else
19984 WINDRES="$ac_cv_prog_WINDRES"
19985 fi
19986
19987 RESCOMP="$WINDRES"
19988 if test -n "$ac_tool_prefix"; then
19989 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19990 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19993 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19994 echo $ECHO_N "(cached) $ECHO_C" >&6
19995 else
19996 if test -n "$DLLTOOL"; then
19997 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19998 else
19999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20000 for as_dir in $PATH
20001 do
20002 IFS=$as_save_IFS
20003 test -z "$as_dir" && as_dir=.
20004 for ac_exec_ext in '' $ac_executable_extensions; do
20005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20006 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20008 break 2
20009 fi
20010 done
20011 done
20012 IFS=$as_save_IFS
20013
20014 fi
20015 fi
20016 DLLTOOL=$ac_cv_prog_DLLTOOL
20017 if test -n "$DLLTOOL"; then
20018 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20019 echo "${ECHO_T}$DLLTOOL" >&6; }
20020 else
20021 { echo "$as_me:$LINENO: result: no" >&5
20022 echo "${ECHO_T}no" >&6; }
20023 fi
20024
20025
20026 fi
20027 if test -z "$ac_cv_prog_DLLTOOL"; then
20028 ac_ct_DLLTOOL=$DLLTOOL
20029 # Extract the first word of "dlltool", so it can be a program name with args.
20030 set dummy dlltool; ac_word=$2
20031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20033 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20035 else
20036 if test -n "$ac_ct_DLLTOOL"; then
20037 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20038 else
20039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20040 for as_dir in $PATH
20041 do
20042 IFS=$as_save_IFS
20043 test -z "$as_dir" && as_dir=.
20044 for ac_exec_ext in '' $ac_executable_extensions; do
20045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20046 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20048 break 2
20049 fi
20050 done
20051 done
20052 IFS=$as_save_IFS
20053
20054 fi
20055 fi
20056 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20057 if test -n "$ac_ct_DLLTOOL"; then
20058 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20059 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20060 else
20061 { echo "$as_me:$LINENO: result: no" >&5
20062 echo "${ECHO_T}no" >&6; }
20063 fi
20064
20065 if test "x$ac_ct_DLLTOOL" = x; then
20066 DLLTOOL=""
20067 else
20068 case $cross_compiling:$ac_tool_warned in
20069 yes:)
20070 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20071 whose name does not start with the host triplet. If you think this
20072 configuration is useful to you, please write to autoconf@gnu.org." >&5
20073 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20074 whose name does not start with the host triplet. If you think this
20075 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20076 ac_tool_warned=yes ;;
20077 esac
20078 DLLTOOL=$ac_ct_DLLTOOL
20079 fi
20080 else
20081 DLLTOOL="$ac_cv_prog_DLLTOOL"
20082 fi
20083
20084 ;;
20085 esac
20086 fi
20087
20088 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20089 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20090 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20091 echo $ECHO_N "(cached) $ECHO_C" >&6
20092 else
20093
20094 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20095 $EGREP -s GNU > /dev/null); then
20096 wx_cv_prog_makeisgnu="yes"
20097 else
20098 wx_cv_prog_makeisgnu="no"
20099 fi
20100
20101 fi
20102 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20103 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20104
20105 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20106 IF_GNU_MAKE=""
20107 else
20108 IF_GNU_MAKE="#"
20109 fi
20110
20111
20112
20113 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20114 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20115 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20116 if test "${wx_cv_prog_makevpath+set}" = set; then
20117 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 else
20119
20120 cat - << EOF > confMake
20121 check : file
20122 cp \$? \$@
20123 cp \$? final_file
20124 EOF
20125
20126 if test ! -d sub ; then
20127 mkdir sub
20128 fi
20129 echo dummy > sub/file
20130 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20131 RESULT=$?
20132 rm -f sub/file check final_file confMake
20133 rmdir sub
20134 if test "$RESULT" = 0; then
20135 wx_cv_prog_makevpath="yes"
20136 else
20137 wx_cv_prog_makevpath="no"
20138 fi
20139
20140 fi
20141 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20142 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20143
20144 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20145 { { echo "$as_me:$LINENO: error:
20146 You need a make-utility that is able to use the variable
20147 VPATH correctly.
20148 If your version of make does not support VPATH correctly,
20149 please install GNU-make (possibly as gmake), and start
20150 configure with the following command:
20151 export MAKE=gmake; ./configure for sh-type shells
20152 setenv MAKE gmake; ./configure for csh-type shells
20153 Also please do remember to use gmake in this case every time
20154 you are trying to compile.
20155 " >&5
20156 echo "$as_me: error:
20157 You need a make-utility that is able to use the variable
20158 VPATH correctly.
20159 If your version of make does not support VPATH correctly,
20160 please install GNU-make (possibly as gmake), and start
20161 configure with the following command:
20162 export MAKE=gmake; ./configure for sh-type shells
20163 setenv MAKE gmake; ./configure for csh-type shells
20164 Also please do remember to use gmake in this case every time
20165 you are trying to compile.
20166 " >&2;}
20167 { (exit 1); exit 1; }; }
20168 fi fi
20169 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20170 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20171 LN_S=$as_ln_s
20172 if test "$LN_S" = "ln -s"; then
20173 { echo "$as_me:$LINENO: result: yes" >&5
20174 echo "${ECHO_T}yes" >&6; }
20175 else
20176 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20177 echo "${ECHO_T}no, using $LN_S" >&6; }
20178 fi
20179
20180
20181
20182
20183 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20184 CXXFLAGS="-qunique $CXXFLAGS"
20185 fi
20186
20187 case "${host}" in
20188 powerpc-*-darwin* )
20189 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20190 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20191 cat >conftest.$ac_ext <<_ACEOF
20192 /* confdefs.h. */
20193 _ACEOF
20194 cat confdefs.h >>conftest.$ac_ext
20195 cat >>conftest.$ac_ext <<_ACEOF
20196 /* end confdefs.h. */
20197
20198 int
20199 main ()
20200 {
20201 #ifndef __POWERPC__
20202 choke me for lack of PowerPC
20203 #endif
20204
20205 ;
20206 return 0;
20207 }
20208 _ACEOF
20209 rm -f conftest.$ac_objext
20210 if { (ac_try="$ac_compile"
20211 case "(($ac_try" in
20212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20213 *) ac_try_echo=$ac_try;;
20214 esac
20215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20216 (eval "$ac_compile") 2>conftest.er1
20217 ac_status=$?
20218 grep -v '^ *+' conftest.er1 >conftest.err
20219 rm -f conftest.er1
20220 cat conftest.err >&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } && {
20223 test -z "$ac_c_werror_flag" ||
20224 test ! -s conftest.err
20225 } && test -s conftest.$ac_objext; then
20226 { echo "$as_me:$LINENO: result: yes" >&5
20227 echo "${ECHO_T}yes" >&6; }
20228 else
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.$ac_ext >&5
20231
20232 { echo "$as_me:$LINENO: result: no" >&5
20233 echo "${ECHO_T}no" >&6; }
20234 cat >>confdefs.h <<\_ACEOF
20235 #define __POWERPC__ 1
20236 _ACEOF
20237
20238
20239 fi
20240
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20242 ;;
20243 esac
20244
20245 case "${host}" in
20246 *-*-darwin* )
20247 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20248 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20249 cat >conftest.$ac_ext <<_ACEOF
20250 /* confdefs.h. */
20251 _ACEOF
20252 cat confdefs.h >>conftest.$ac_ext
20253 cat >>conftest.$ac_ext <<_ACEOF
20254 /* end confdefs.h. */
20255 #include <CoreFoundation/CFBase.h>
20256
20257 int
20258 main ()
20259 {
20260
20261 ;
20262 return 0;
20263 }
20264 _ACEOF
20265 rm -f conftest.$ac_objext
20266 if { (ac_try="$ac_compile"
20267 case "(($ac_try" in
20268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20269 *) ac_try_echo=$ac_try;;
20270 esac
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272 (eval "$ac_compile") 2>conftest.er1
20273 ac_status=$?
20274 grep -v '^ *+' conftest.er1 >conftest.err
20275 rm -f conftest.er1
20276 cat conftest.err >&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } && {
20279 test -z "$ac_c_werror_flag" ||
20280 test ! -s conftest.err
20281 } && test -s conftest.$ac_objext; then
20282 { echo "$as_me:$LINENO: result: yes" >&5
20283 echo "${ECHO_T}yes" >&6; }
20284 else
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.$ac_ext >&5
20287
20288 { echo "$as_me:$LINENO: result: no" >&5
20289 echo "${ECHO_T}no" >&6; }
20290 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20291 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20292 cat >conftest.$ac_ext <<_ACEOF
20293 /* confdefs.h. */
20294 _ACEOF
20295 cat confdefs.h >>conftest.$ac_ext
20296 cat >>conftest.$ac_ext <<_ACEOF
20297 /* end confdefs.h. */
20298 #define __CF_USE_FRAMEWORK_INCLUDES__
20299 #include <CoreFoundation/CFBase.h>
20300
20301 int
20302 main ()
20303 {
20304
20305 ;
20306 return 0;
20307 }
20308 _ACEOF
20309 rm -f conftest.$ac_objext
20310 if { (ac_try="$ac_compile"
20311 case "(($ac_try" in
20312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20313 *) ac_try_echo=$ac_try;;
20314 esac
20315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20316 (eval "$ac_compile") 2>conftest.er1
20317 ac_status=$?
20318 grep -v '^ *+' conftest.er1 >conftest.err
20319 rm -f conftest.er1
20320 cat conftest.err >&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } && {
20323 test -z "$ac_c_werror_flag" ||
20324 test ! -s conftest.err
20325 } && test -s conftest.$ac_objext; then
20326 { echo "$as_me:$LINENO: result: yes" >&5
20327 echo "${ECHO_T}yes" >&6; }
20328 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20329 else
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20332
20333 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20334 See \`config.log' for more details." >&5
20335 echo "$as_me: error: no. CoreFoundation not available.
20336 See \`config.log' for more details." >&2;}
20337 { (exit 1); exit 1; }; }
20338
20339 fi
20340
20341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20342
20343
20344 fi
20345
20346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20347 ;;
20348 esac
20349
20350 wants_win32=0
20351 doesnt_want_win32=0
20352 case "${host}" in
20353 *-*-cygwin*)
20354 if test "$wxUSE_MSW" = 1 ; then
20355 wants_win32=1
20356 else
20357 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20358 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20359 if test "${wx_cv_nocygwin+set}" = set; then
20360 echo $ECHO_N "(cached) $ECHO_C" >&6
20361 else
20362
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 int
20371 main ()
20372 {
20373
20374 #ifdef __MINGW32__
20375 choke me
20376 #endif
20377
20378 ;
20379 return 0;
20380 }
20381 _ACEOF
20382 rm -f conftest.$ac_objext
20383 if { (ac_try="$ac_compile"
20384 case "(($ac_try" in
20385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20386 *) ac_try_echo=$ac_try;;
20387 esac
20388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20389 (eval "$ac_compile") 2>conftest.er1
20390 ac_status=$?
20391 grep -v '^ *+' conftest.er1 >conftest.err
20392 rm -f conftest.er1
20393 cat conftest.err >&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); } && {
20396 test -z "$ac_c_werror_flag" ||
20397 test ! -s conftest.err
20398 } && test -s conftest.$ac_objext; then
20399 wx_cv_nocygwin=no
20400 else
20401 echo "$as_me: failed program was:" >&5
20402 sed 's/^/| /' conftest.$ac_ext >&5
20403
20404 wx_cv_nocygwin=yes
20405
20406 fi
20407
20408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20409
20410
20411 fi
20412 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20413 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20414
20415 if test "$wx_cv_nocygwin" = "yes"; then
20416 wants_win32=1
20417 else
20418 doesnt_want_win32=1
20419 fi
20420 fi
20421 if test "$wants_win32" = 1 ; then
20422 BAKEFILE_FORCE_PLATFORM=win32
20423 fi
20424 ;;
20425 *-*-mingw*)
20426 wants_win32=1
20427 ;;
20428 esac
20429
20430 if test "$wxUSE_WINE" = "yes"; then
20431 wants_win32=1
20432 LDFLAGS_GUI="-mwindows"
20433 fi
20434
20435 if test "$wants_win32" = 1 ; then
20436 USE_UNIX=0
20437 USE_WIN32=1
20438 cat >>confdefs.h <<\_ACEOF
20439 #define __WIN32__ 1
20440 _ACEOF
20441
20442 cat >>confdefs.h <<\_ACEOF
20443 #define __WIN95__ 1
20444 _ACEOF
20445
20446 cat >>confdefs.h <<\_ACEOF
20447 #define __WINDOWS__ 1
20448 _ACEOF
20449
20450 cat >>confdefs.h <<\_ACEOF
20451 #define __GNUWIN32__ 1
20452 _ACEOF
20453
20454 cat >>confdefs.h <<\_ACEOF
20455 #define STRICT 1
20456 _ACEOF
20457
20458 fi
20459 if test "$doesnt_want_win32" = 1 ; then
20460 USE_UNIX=1
20461 USE_WIN32=0
20462 fi
20463
20464 if test "$USE_UNIX" = 1 ; then
20465 wxUSE_UNIX=yes
20466 cat >>confdefs.h <<\_ACEOF
20467 #define __UNIX__ 1
20468 _ACEOF
20469
20470 fi
20471
20472 case "${host}" in
20473 *-pc-os2_emx | *-pc-os2-emx )
20474 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20475 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20476 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20477 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20478 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 else
20480 ac_check_lib_save_LIBS=$LIBS
20481 LIBS="-lcExt $LIBS"
20482 cat >conftest.$ac_ext <<_ACEOF
20483 /* confdefs.h. */
20484 _ACEOF
20485 cat confdefs.h >>conftest.$ac_ext
20486 cat >>conftest.$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20488
20489 /* Override any GCC internal prototype to avoid an error.
20490 Use char because int might match the return type of a GCC
20491 builtin and then its argument prototype would still apply. */
20492 #ifdef __cplusplus
20493 extern "C"
20494 #endif
20495 char drand48 ();
20496 int
20497 main ()
20498 {
20499 return drand48 ();
20500 ;
20501 return 0;
20502 }
20503 _ACEOF
20504 rm -f conftest.$ac_objext conftest$ac_exeext
20505 if { (ac_try="$ac_link"
20506 case "(($ac_try" in
20507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20508 *) ac_try_echo=$ac_try;;
20509 esac
20510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20511 (eval "$ac_link") 2>conftest.er1
20512 ac_status=$?
20513 grep -v '^ *+' conftest.er1 >conftest.err
20514 rm -f conftest.er1
20515 cat conftest.err >&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } && {
20518 test -z "$ac_c_werror_flag" ||
20519 test ! -s conftest.err
20520 } && test -s conftest$ac_exeext &&
20521 $as_test_x conftest$ac_exeext; then
20522 ac_cv_lib_cExt_drand48=yes
20523 else
20524 echo "$as_me: failed program was:" >&5
20525 sed 's/^/| /' conftest.$ac_ext >&5
20526
20527 ac_cv_lib_cExt_drand48=no
20528 fi
20529
20530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20531 conftest$ac_exeext conftest.$ac_ext
20532 LIBS=$ac_check_lib_save_LIBS
20533 fi
20534 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20535 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20536 if test $ac_cv_lib_cExt_drand48 = yes; then
20537 LIBS="$LIBS -lcExt"
20538 fi
20539
20540 else
20541 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20542 fi
20543 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20544 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20545 if test "${wx_cv_gccversion+set}" = set; then
20546 echo $ECHO_N "(cached) $ECHO_C" >&6
20547 else
20548
20549 if test "$cross_compiling" = yes; then
20550 wx_cv_gccversion="EMX2"
20551
20552 else
20553 cat >conftest.$ac_ext <<_ACEOF
20554 /* confdefs.h. */
20555 _ACEOF
20556 cat confdefs.h >>conftest.$ac_ext
20557 cat >>conftest.$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559
20560 #include <stdio.h>
20561
20562 int main()
20563 {
20564 FILE *f=fopen("conftestval", "w");
20565 if (!f) exit(1);
20566 fprintf(f,
20567 #if (__GNUC__ < 3)
20568 "EMX2"
20569 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20570 "EMX3"
20571 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20572 "Innotek5"
20573 #else
20574 "Innotek6"
20575 #endif
20576 );
20577 exit(0);
20578 }
20579
20580 _ACEOF
20581 rm -f conftest$ac_exeext
20582 if { (ac_try="$ac_link"
20583 case "(($ac_try" in
20584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20585 *) ac_try_echo=$ac_try;;
20586 esac
20587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20588 (eval "$ac_link") 2>&5
20589 ac_status=$?
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20592 { (case "(($ac_try" in
20593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20594 *) ac_try_echo=$ac_try;;
20595 esac
20596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20597 (eval "$ac_try") 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 wx_cv_gccversion=`cat conftestval`
20602 else
20603 echo "$as_me: program exited with status $ac_status" >&5
20604 echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.$ac_ext >&5
20606
20607 ( exit $ac_status )
20608 wx_cv_gccversion="EMX2"
20609 fi
20610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20611 fi
20612
20613
20614
20615 fi
20616 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20617 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20618 if test "$wx_cv_gccversion" = "EMX2"; then
20619 LIBS="$LIBS -lstdcpp"
20620 LDFLAGS="$LDFLAGS -Zsysv-signals"
20621 else
20622 if test "$wx_cv_gccversion" = "EMX3"; then
20623 LIBS="$LIBS -lstdcxx -lgcc"
20624 LDFLAGS="$LDFLAGS -Zsysv-signals"
20625 else
20626 LIBS="$LIBS -lstdc++"
20627 fi
20628 fi
20629 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20630 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20631 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20632 wxUSE_OMF=yes
20633 enable_omf=yes
20634 fi
20635 ;;
20636 *)
20637
20638 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20639 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20640 if test "${ac_cv_string_strcasecmp+set}" = set; then
20641 echo $ECHO_N "(cached) $ECHO_C" >&6
20642 else
20643
20644 cat >conftest.$ac_ext <<_ACEOF
20645 /* confdefs.h. */
20646 _ACEOF
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650
20651 #include <string.h>
20652
20653 int
20654 main ()
20655 {
20656
20657 strcasecmp("foo", "bar");
20658
20659 ;
20660 return 0;
20661 }
20662 _ACEOF
20663 rm -f conftest.$ac_objext conftest$ac_exeext
20664 if { (ac_try="$ac_link"
20665 case "(($ac_try" in
20666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20667 *) ac_try_echo=$ac_try;;
20668 esac
20669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20670 (eval "$ac_link") 2>conftest.er1
20671 ac_status=$?
20672 grep -v '^ *+' conftest.er1 >conftest.err
20673 rm -f conftest.er1
20674 cat conftest.err >&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } && {
20677 test -z "$ac_c_werror_flag" ||
20678 test ! -s conftest.err
20679 } && test -s conftest$ac_exeext &&
20680 $as_test_x conftest$ac_exeext; then
20681 ac_cv_string_strcasecmp=yes
20682 else
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.$ac_ext >&5
20685
20686 ac_cv_string_strcasecmp=no
20687
20688 fi
20689
20690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20691 conftest$ac_exeext conftest.$ac_ext
20692
20693 fi
20694 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20695 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20696
20697 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20698 cat >>confdefs.h <<\_ACEOF
20699 #define HAVE_STRCASECMP_IN_STRING_H 1
20700 _ACEOF
20701
20702 else
20703 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20704 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20705 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20706 echo $ECHO_N "(cached) $ECHO_C" >&6
20707 else
20708
20709 cat >conftest.$ac_ext <<_ACEOF
20710 /* confdefs.h. */
20711 _ACEOF
20712 cat confdefs.h >>conftest.$ac_ext
20713 cat >>conftest.$ac_ext <<_ACEOF
20714 /* end confdefs.h. */
20715
20716 #include <strings.h>
20717
20718 int
20719 main ()
20720 {
20721
20722 strcasecmp("foo", "bar");
20723
20724 ;
20725 return 0;
20726 }
20727 _ACEOF
20728 rm -f conftest.$ac_objext conftest$ac_exeext
20729 if { (ac_try="$ac_link"
20730 case "(($ac_try" in
20731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20732 *) ac_try_echo=$ac_try;;
20733 esac
20734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20735 (eval "$ac_link") 2>conftest.er1
20736 ac_status=$?
20737 grep -v '^ *+' conftest.er1 >conftest.err
20738 rm -f conftest.er1
20739 cat conftest.err >&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } && {
20742 test -z "$ac_c_werror_flag" ||
20743 test ! -s conftest.err
20744 } && test -s conftest$ac_exeext &&
20745 $as_test_x conftest$ac_exeext; then
20746 ac_cv_strings_strcasecmp=yes
20747 else
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.$ac_ext >&5
20750
20751 ac_cv_strings_strcasecmp=no
20752
20753 fi
20754
20755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20756 conftest$ac_exeext conftest.$ac_ext
20757
20758 fi
20759 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20760 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20761
20762 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20763 cat >>confdefs.h <<\_ACEOF
20764 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20765 _ACEOF
20766
20767 else
20768 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20769 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20770 { (exit 1); exit 1; }; }
20771 fi
20772 fi
20773
20774 ;;
20775 esac
20776
20777
20778 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20779 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20780 if test "${ac_cv_header_stdc+set}" = set; then
20781 echo $ECHO_N "(cached) $ECHO_C" >&6
20782 else
20783 cat >conftest.$ac_ext <<_ACEOF
20784 /* confdefs.h. */
20785 _ACEOF
20786 cat confdefs.h >>conftest.$ac_ext
20787 cat >>conftest.$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 #include <stdlib.h>
20790 #include <stdarg.h>
20791 #include <string.h>
20792 #include <float.h>
20793
20794 int
20795 main ()
20796 {
20797
20798 ;
20799 return 0;
20800 }
20801 _ACEOF
20802 rm -f conftest.$ac_objext
20803 if { (ac_try="$ac_compile"
20804 case "(($ac_try" in
20805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20806 *) ac_try_echo=$ac_try;;
20807 esac
20808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20809 (eval "$ac_compile") 2>conftest.er1
20810 ac_status=$?
20811 grep -v '^ *+' conftest.er1 >conftest.err
20812 rm -f conftest.er1
20813 cat conftest.err >&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } && {
20816 test -z "$ac_c_werror_flag" ||
20817 test ! -s conftest.err
20818 } && test -s conftest.$ac_objext; then
20819 ac_cv_header_stdc=yes
20820 else
20821 echo "$as_me: failed program was:" >&5
20822 sed 's/^/| /' conftest.$ac_ext >&5
20823
20824 ac_cv_header_stdc=no
20825 fi
20826
20827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20828
20829 if test $ac_cv_header_stdc = yes; then
20830 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20831 cat >conftest.$ac_ext <<_ACEOF
20832 /* confdefs.h. */
20833 _ACEOF
20834 cat confdefs.h >>conftest.$ac_ext
20835 cat >>conftest.$ac_ext <<_ACEOF
20836 /* end confdefs.h. */
20837 #include <string.h>
20838
20839 _ACEOF
20840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20841 $EGREP "memchr" >/dev/null 2>&1; then
20842 :
20843 else
20844 ac_cv_header_stdc=no
20845 fi
20846 rm -f conftest*
20847
20848 fi
20849
20850 if test $ac_cv_header_stdc = yes; then
20851 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
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 #include <stdlib.h>
20859
20860 _ACEOF
20861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20862 $EGREP "free" >/dev/null 2>&1; then
20863 :
20864 else
20865 ac_cv_header_stdc=no
20866 fi
20867 rm -f conftest*
20868
20869 fi
20870
20871 if test $ac_cv_header_stdc = yes; then
20872 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20873 if test "$cross_compiling" = yes; then
20874 :
20875 else
20876 cat >conftest.$ac_ext <<_ACEOF
20877 /* confdefs.h. */
20878 _ACEOF
20879 cat confdefs.h >>conftest.$ac_ext
20880 cat >>conftest.$ac_ext <<_ACEOF
20881 /* end confdefs.h. */
20882 #include <ctype.h>
20883 #include <stdlib.h>
20884 #if ((' ' & 0x0FF) == 0x020)
20885 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20886 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20887 #else
20888 # define ISLOWER(c) \
20889 (('a' <= (c) && (c) <= 'i') \
20890 || ('j' <= (c) && (c) <= 'r') \
20891 || ('s' <= (c) && (c) <= 'z'))
20892 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20893 #endif
20894
20895 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20896 int
20897 main ()
20898 {
20899 int i;
20900 for (i = 0; i < 256; i++)
20901 if (XOR (islower (i), ISLOWER (i))
20902 || toupper (i) != TOUPPER (i))
20903 return 2;
20904 return 0;
20905 }
20906 _ACEOF
20907 rm -f conftest$ac_exeext
20908 if { (ac_try="$ac_link"
20909 case "(($ac_try" in
20910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20911 *) ac_try_echo=$ac_try;;
20912 esac
20913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914 (eval "$ac_link") 2>&5
20915 ac_status=$?
20916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20918 { (case "(($ac_try" in
20919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20921 esac
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_try") 2>&5
20924 ac_status=$?
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; }; then
20927 :
20928 else
20929 echo "$as_me: program exited with status $ac_status" >&5
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.$ac_ext >&5
20932
20933 ( exit $ac_status )
20934 ac_cv_header_stdc=no
20935 fi
20936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20937 fi
20938
20939
20940 fi
20941 fi
20942 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20943 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20944 if test $ac_cv_header_stdc = yes; then
20945
20946 cat >>confdefs.h <<\_ACEOF
20947 #define STDC_HEADERS 1
20948 _ACEOF
20949
20950 fi
20951
20952 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20963 inttypes.h stdint.h unistd.h
20964 do
20965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20966 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20968 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20969 echo $ECHO_N "(cached) $ECHO_C" >&6
20970 else
20971 cat >conftest.$ac_ext <<_ACEOF
20972 /* confdefs.h. */
20973 _ACEOF
20974 cat confdefs.h >>conftest.$ac_ext
20975 cat >>conftest.$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20977 $ac_includes_default
20978
20979 #include <$ac_header>
20980 _ACEOF
20981 rm -f conftest.$ac_objext
20982 if { (ac_try="$ac_compile"
20983 case "(($ac_try" in
20984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20986 esac
20987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_compile") 2>conftest.er1
20989 ac_status=$?
20990 grep -v '^ *+' conftest.er1 >conftest.err
20991 rm -f conftest.er1
20992 cat conftest.err >&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } && {
20995 test -z "$ac_c_werror_flag" ||
20996 test ! -s conftest.err
20997 } && test -s conftest.$ac_objext; then
20998 eval "$as_ac_Header=yes"
20999 else
21000 echo "$as_me: failed program was:" >&5
21001 sed 's/^/| /' conftest.$ac_ext >&5
21002
21003 eval "$as_ac_Header=no"
21004 fi
21005
21006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 fi
21008 ac_res=`eval echo '${'$as_ac_Header'}'`
21009 { echo "$as_me:$LINENO: result: $ac_res" >&5
21010 echo "${ECHO_T}$ac_res" >&6; }
21011 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21012 cat >>confdefs.h <<_ACEOF
21013 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21014 _ACEOF
21015
21016 fi
21017
21018 done
21019
21020
21021
21022
21023
21024
21025
21026
21027 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21028 do
21029 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21034 else
21035 cat >conftest.$ac_ext <<_ACEOF
21036 /* confdefs.h. */
21037 _ACEOF
21038 cat confdefs.h >>conftest.$ac_ext
21039 cat >>conftest.$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21041 $ac_includes_default
21042
21043 #include <$ac_header>
21044 _ACEOF
21045 rm -f conftest.$ac_objext
21046 if { (ac_try="$ac_compile"
21047 case "(($ac_try" in
21048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21049 *) ac_try_echo=$ac_try;;
21050 esac
21051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21052 (eval "$ac_compile") 2>conftest.er1
21053 ac_status=$?
21054 grep -v '^ *+' conftest.er1 >conftest.err
21055 rm -f conftest.er1
21056 cat conftest.err >&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); } && {
21059 test -z "$ac_c_werror_flag" ||
21060 test ! -s conftest.err
21061 } && test -s conftest.$ac_objext; then
21062 eval "$as_ac_Header=yes"
21063 else
21064 echo "$as_me: failed program was:" >&5
21065 sed 's/^/| /' conftest.$ac_ext >&5
21066
21067 eval "$as_ac_Header=no"
21068 fi
21069
21070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21071 fi
21072 ac_res=`eval echo '${'$as_ac_Header'}'`
21073 { echo "$as_me:$LINENO: result: $ac_res" >&5
21074 echo "${ECHO_T}$ac_res" >&6; }
21075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21076 cat >>confdefs.h <<_ACEOF
21077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21078 _ACEOF
21079
21080 fi
21081
21082 done
21083
21084
21085 if test "$ac_cv_header_wchar_h" != "yes"; then
21086 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
21087 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
21088 if test "${ac_cv_header_wcstr_h+set}" = set; then
21089 echo $ECHO_N "(cached) $ECHO_C" >&6
21090 else
21091 cat >conftest.$ac_ext <<_ACEOF
21092 /* confdefs.h. */
21093 _ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 $ac_includes_default
21098
21099 #include <wcstr.h>
21100 _ACEOF
21101 rm -f conftest.$ac_objext
21102 if { (ac_try="$ac_compile"
21103 case "(($ac_try" in
21104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;;
21106 esac
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_compile") 2>conftest.er1
21109 ac_status=$?
21110 grep -v '^ *+' conftest.er1 >conftest.err
21111 rm -f conftest.er1
21112 cat conftest.err >&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } && {
21115 test -z "$ac_c_werror_flag" ||
21116 test ! -s conftest.err
21117 } && test -s conftest.$ac_objext; then
21118 ac_cv_header_wcstr_h=yes
21119 else
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.$ac_ext >&5
21122
21123 ac_cv_header_wcstr_h=no
21124 fi
21125
21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21127 fi
21128 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
21129 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
21130
21131
21132 fi
21133
21134 case "${host}" in
21135 *-pc-os2_emx | *-pc-os2-emx )
21136 if test $ac_cv_header_langinfo_h = "yes" \
21137 -a \( "$wx_cv_gccversion" = "EMX2" \
21138 -o "$wx_cv_gccversion" = "EMX3" \
21139 -o "$wx_cv_gccversion" = "Innotek5" \); then
21140 LIBS="$LIBS -lintl"
21141 fi
21142 ;;
21143 esac
21144
21145 if test "$USE_UNIX" = 1 ; then
21146 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
21147 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
21148 if test "${ac_cv_header_sys_select_h+set}" = set; then
21149 echo $ECHO_N "(cached) $ECHO_C" >&6
21150 else
21151 cat >conftest.$ac_ext <<_ACEOF
21152 /* confdefs.h. */
21153 _ACEOF
21154 cat confdefs.h >>conftest.$ac_ext
21155 cat >>conftest.$ac_ext <<_ACEOF
21156 /* end confdefs.h. */
21157 $ac_includes_default
21158
21159 #include <sys/select.h>
21160 _ACEOF
21161 rm -f conftest.$ac_objext
21162 if { (ac_try="$ac_compile"
21163 case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21166 esac
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_compile") 2>conftest.er1
21169 ac_status=$?
21170 grep -v '^ *+' conftest.er1 >conftest.err
21171 rm -f conftest.er1
21172 cat conftest.err >&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest.$ac_objext; then
21178 ac_cv_header_sys_select_h=yes
21179 else
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.$ac_ext >&5
21182
21183 ac_cv_header_sys_select_h=no
21184 fi
21185
21186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21187 fi
21188 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
21189 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
21190
21191
21192 fi
21193
21194
21195 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21196 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21197 if test "${ac_cv_c_const+set}" = set; then
21198 echo $ECHO_N "(cached) $ECHO_C" >&6
21199 else
21200 cat >conftest.$ac_ext <<_ACEOF
21201 /* confdefs.h. */
21202 _ACEOF
21203 cat confdefs.h >>conftest.$ac_ext
21204 cat >>conftest.$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206
21207 int
21208 main ()
21209 {
21210 /* FIXME: Include the comments suggested by Paul. */
21211 #ifndef __cplusplus
21212 /* Ultrix mips cc rejects this. */
21213 typedef int charset[2];
21214 const charset cs;
21215 /* SunOS 4.1.1 cc rejects this. */
21216 char const *const *pcpcc;
21217 char **ppc;
21218 /* NEC SVR4.0.2 mips cc rejects this. */
21219 struct point {int x, y;};
21220 static struct point const zero = {0,0};
21221 /* AIX XL C 1.02.0.0 rejects this.
21222 It does not let you subtract one const X* pointer from another in
21223 an arm of an if-expression whose if-part is not a constant
21224 expression */
21225 const char *g = "string";
21226 pcpcc = &g + (g ? g-g : 0);
21227 /* HPUX 7.0 cc rejects these. */
21228 ++pcpcc;
21229 ppc = (char**) pcpcc;
21230 pcpcc = (char const *const *) ppc;
21231 { /* SCO 3.2v4 cc rejects this. */
21232 char *t;
21233 char const *s = 0 ? (char *) 0 : (char const *) 0;
21234
21235 *t++ = 0;
21236 if (s) return 0;
21237 }
21238 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21239 int x[] = {25, 17};
21240 const int *foo = &x[0];
21241 ++foo;
21242 }
21243 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21244 typedef const int *iptr;
21245 iptr p = 0;
21246 ++p;
21247 }
21248 { /* AIX XL C 1.02.0.0 rejects this saying
21249 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21250 struct s { int j; const int *ap[3]; };
21251 struct s *b; b->j = 5;
21252 }
21253 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21254 const int foo = 10;
21255 if (!foo) return 0;
21256 }
21257 return !cs[0] && !zero.x;
21258 #endif
21259
21260 ;
21261 return 0;
21262 }
21263 _ACEOF
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268 *) ac_try_echo=$ac_try;;
21269 esac
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_compile") 2>conftest.er1
21272 ac_status=$?
21273 grep -v '^ *+' conftest.er1 >conftest.err
21274 rm -f conftest.er1
21275 cat conftest.err >&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } && {
21278 test -z "$ac_c_werror_flag" ||
21279 test ! -s conftest.err
21280 } && test -s conftest.$ac_objext; then
21281 ac_cv_c_const=yes
21282 else
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.$ac_ext >&5
21285
21286 ac_cv_c_const=no
21287 fi
21288
21289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21290 fi
21291 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21292 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21293 if test $ac_cv_c_const = no; then
21294
21295 cat >>confdefs.h <<\_ACEOF
21296 #define const
21297 _ACEOF
21298
21299 fi
21300
21301 { echo "$as_me:$LINENO: checking for inline" >&5
21302 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21303 if test "${ac_cv_c_inline+set}" = set; then
21304 echo $ECHO_N "(cached) $ECHO_C" >&6
21305 else
21306 ac_cv_c_inline=no
21307 for ac_kw in inline __inline__ __inline; do
21308 cat >conftest.$ac_ext <<_ACEOF
21309 /* confdefs.h. */
21310 _ACEOF
21311 cat confdefs.h >>conftest.$ac_ext
21312 cat >>conftest.$ac_ext <<_ACEOF
21313 /* end confdefs.h. */
21314 #ifndef __cplusplus
21315 typedef int foo_t;
21316 static $ac_kw foo_t static_foo () {return 0; }
21317 $ac_kw foo_t foo () {return 0; }
21318 #endif
21319
21320 _ACEOF
21321 rm -f conftest.$ac_objext
21322 if { (ac_try="$ac_compile"
21323 case "(($ac_try" in
21324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21325 *) ac_try_echo=$ac_try;;
21326 esac
21327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21328 (eval "$ac_compile") 2>conftest.er1
21329 ac_status=$?
21330 grep -v '^ *+' conftest.er1 >conftest.err
21331 rm -f conftest.er1
21332 cat conftest.err >&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } && {
21335 test -z "$ac_c_werror_flag" ||
21336 test ! -s conftest.err
21337 } && test -s conftest.$ac_objext; then
21338 ac_cv_c_inline=$ac_kw
21339 else
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.$ac_ext >&5
21342
21343
21344 fi
21345
21346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21347 test "$ac_cv_c_inline" != no && break
21348 done
21349
21350 fi
21351 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21352 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21353
21354
21355 case $ac_cv_c_inline in
21356 inline | yes) ;;
21357 *)
21358 case $ac_cv_c_inline in
21359 no) ac_val=;;
21360 *) ac_val=$ac_cv_c_inline;;
21361 esac
21362 cat >>confdefs.h <<_ACEOF
21363 #ifndef __cplusplus
21364 #define inline $ac_val
21365 #endif
21366 _ACEOF
21367 ;;
21368 esac
21369
21370
21371 { echo "$as_me:$LINENO: checking for short" >&5
21372 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21373 if test "${ac_cv_type_short+set}" = set; then
21374 echo $ECHO_N "(cached) $ECHO_C" >&6
21375 else
21376 cat >conftest.$ac_ext <<_ACEOF
21377 /* confdefs.h. */
21378 _ACEOF
21379 cat confdefs.h >>conftest.$ac_ext
21380 cat >>conftest.$ac_ext <<_ACEOF
21381 /* end confdefs.h. */
21382 $ac_includes_default
21383 typedef short ac__type_new_;
21384 int
21385 main ()
21386 {
21387 if ((ac__type_new_ *) 0)
21388 return 0;
21389 if (sizeof (ac__type_new_))
21390 return 0;
21391 ;
21392 return 0;
21393 }
21394 _ACEOF
21395 rm -f conftest.$ac_objext
21396 if { (ac_try="$ac_compile"
21397 case "(($ac_try" in
21398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21399 *) ac_try_echo=$ac_try;;
21400 esac
21401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21402 (eval "$ac_compile") 2>conftest.er1
21403 ac_status=$?
21404 grep -v '^ *+' conftest.er1 >conftest.err
21405 rm -f conftest.er1
21406 cat conftest.err >&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); } && {
21409 test -z "$ac_c_werror_flag" ||
21410 test ! -s conftest.err
21411 } && test -s conftest.$ac_objext; then
21412 ac_cv_type_short=yes
21413 else
21414 echo "$as_me: failed program was:" >&5
21415 sed 's/^/| /' conftest.$ac_ext >&5
21416
21417 ac_cv_type_short=no
21418 fi
21419
21420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21421 fi
21422 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21423 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21424
21425 # The cast to long int works around a bug in the HP C Compiler
21426 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21427 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21428 # This bug is HP SR number 8606223364.
21429 { echo "$as_me:$LINENO: checking size of short" >&5
21430 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21431 if test "${ac_cv_sizeof_short+set}" = set; then
21432 echo $ECHO_N "(cached) $ECHO_C" >&6
21433 else
21434 if test "$cross_compiling" = yes; then
21435 # Depending upon the size, compute the lo and hi bounds.
21436 cat >conftest.$ac_ext <<_ACEOF
21437 /* confdefs.h. */
21438 _ACEOF
21439 cat confdefs.h >>conftest.$ac_ext
21440 cat >>conftest.$ac_ext <<_ACEOF
21441 /* end confdefs.h. */
21442 $ac_includes_default
21443 typedef short ac__type_sizeof_;
21444 int
21445 main ()
21446 {
21447 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21448 test_array [0] = 0
21449
21450 ;
21451 return 0;
21452 }
21453 _ACEOF
21454 rm -f conftest.$ac_objext
21455 if { (ac_try="$ac_compile"
21456 case "(($ac_try" in
21457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21458 *) ac_try_echo=$ac_try;;
21459 esac
21460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21461 (eval "$ac_compile") 2>conftest.er1
21462 ac_status=$?
21463 grep -v '^ *+' conftest.er1 >conftest.err
21464 rm -f conftest.er1
21465 cat conftest.err >&5
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); } && {
21468 test -z "$ac_c_werror_flag" ||
21469 test ! -s conftest.err
21470 } && test -s conftest.$ac_objext; then
21471 ac_lo=0 ac_mid=0
21472 while :; do
21473 cat >conftest.$ac_ext <<_ACEOF
21474 /* confdefs.h. */
21475 _ACEOF
21476 cat confdefs.h >>conftest.$ac_ext
21477 cat >>conftest.$ac_ext <<_ACEOF
21478 /* end confdefs.h. */
21479 $ac_includes_default
21480 typedef short ac__type_sizeof_;
21481 int
21482 main ()
21483 {
21484 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21485 test_array [0] = 0
21486
21487 ;
21488 return 0;
21489 }
21490 _ACEOF
21491 rm -f conftest.$ac_objext
21492 if { (ac_try="$ac_compile"
21493 case "(($ac_try" in
21494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21495 *) ac_try_echo=$ac_try;;
21496 esac
21497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21498 (eval "$ac_compile") 2>conftest.er1
21499 ac_status=$?
21500 grep -v '^ *+' conftest.er1 >conftest.err
21501 rm -f conftest.er1
21502 cat conftest.err >&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } && {
21505 test -z "$ac_c_werror_flag" ||
21506 test ! -s conftest.err
21507 } && test -s conftest.$ac_objext; then
21508 ac_hi=$ac_mid; break
21509 else
21510 echo "$as_me: failed program was:" >&5
21511 sed 's/^/| /' conftest.$ac_ext >&5
21512
21513 ac_lo=`expr $ac_mid + 1`
21514 if test $ac_lo -le $ac_mid; then
21515 ac_lo= ac_hi=
21516 break
21517 fi
21518 ac_mid=`expr 2 '*' $ac_mid + 1`
21519 fi
21520
21521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21522 done
21523 else
21524 echo "$as_me: failed program was:" >&5
21525 sed 's/^/| /' conftest.$ac_ext >&5
21526
21527 cat >conftest.$ac_ext <<_ACEOF
21528 /* confdefs.h. */
21529 _ACEOF
21530 cat confdefs.h >>conftest.$ac_ext
21531 cat >>conftest.$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21533 $ac_includes_default
21534 typedef short ac__type_sizeof_;
21535 int
21536 main ()
21537 {
21538 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21539 test_array [0] = 0
21540
21541 ;
21542 return 0;
21543 }
21544 _ACEOF
21545 rm -f conftest.$ac_objext
21546 if { (ac_try="$ac_compile"
21547 case "(($ac_try" in
21548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21549 *) ac_try_echo=$ac_try;;
21550 esac
21551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21552 (eval "$ac_compile") 2>conftest.er1
21553 ac_status=$?
21554 grep -v '^ *+' conftest.er1 >conftest.err
21555 rm -f conftest.er1
21556 cat conftest.err >&5
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); } && {
21559 test -z "$ac_c_werror_flag" ||
21560 test ! -s conftest.err
21561 } && test -s conftest.$ac_objext; then
21562 ac_hi=-1 ac_mid=-1
21563 while :; do
21564 cat >conftest.$ac_ext <<_ACEOF
21565 /* confdefs.h. */
21566 _ACEOF
21567 cat confdefs.h >>conftest.$ac_ext
21568 cat >>conftest.$ac_ext <<_ACEOF
21569 /* end confdefs.h. */
21570 $ac_includes_default
21571 typedef short ac__type_sizeof_;
21572 int
21573 main ()
21574 {
21575 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21576 test_array [0] = 0
21577
21578 ;
21579 return 0;
21580 }
21581 _ACEOF
21582 rm -f conftest.$ac_objext
21583 if { (ac_try="$ac_compile"
21584 case "(($ac_try" in
21585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21586 *) ac_try_echo=$ac_try;;
21587 esac
21588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21589 (eval "$ac_compile") 2>conftest.er1
21590 ac_status=$?
21591 grep -v '^ *+' conftest.er1 >conftest.err
21592 rm -f conftest.er1
21593 cat conftest.err >&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); } && {
21596 test -z "$ac_c_werror_flag" ||
21597 test ! -s conftest.err
21598 } && test -s conftest.$ac_objext; then
21599 ac_lo=$ac_mid; break
21600 else
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21603
21604 ac_hi=`expr '(' $ac_mid ')' - 1`
21605 if test $ac_mid -le $ac_hi; then
21606 ac_lo= ac_hi=
21607 break
21608 fi
21609 ac_mid=`expr 2 '*' $ac_mid`
21610 fi
21611
21612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21613 done
21614 else
21615 echo "$as_me: failed program was:" >&5
21616 sed 's/^/| /' conftest.$ac_ext >&5
21617
21618 ac_lo= ac_hi=
21619 fi
21620
21621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21622 fi
21623
21624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21625 # Binary search between lo and hi bounds.
21626 while test "x$ac_lo" != "x$ac_hi"; do
21627 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21628 cat >conftest.$ac_ext <<_ACEOF
21629 /* confdefs.h. */
21630 _ACEOF
21631 cat confdefs.h >>conftest.$ac_ext
21632 cat >>conftest.$ac_ext <<_ACEOF
21633 /* end confdefs.h. */
21634 $ac_includes_default
21635 typedef short ac__type_sizeof_;
21636 int
21637 main ()
21638 {
21639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21640 test_array [0] = 0
21641
21642 ;
21643 return 0;
21644 }
21645 _ACEOF
21646 rm -f conftest.$ac_objext
21647 if { (ac_try="$ac_compile"
21648 case "(($ac_try" in
21649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21650 *) ac_try_echo=$ac_try;;
21651 esac
21652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21653 (eval "$ac_compile") 2>conftest.er1
21654 ac_status=$?
21655 grep -v '^ *+' conftest.er1 >conftest.err
21656 rm -f conftest.er1
21657 cat conftest.err >&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } && {
21660 test -z "$ac_c_werror_flag" ||
21661 test ! -s conftest.err
21662 } && test -s conftest.$ac_objext; then
21663 ac_hi=$ac_mid
21664 else
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.$ac_ext >&5
21667
21668 ac_lo=`expr '(' $ac_mid ')' + 1`
21669 fi
21670
21671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21672 done
21673 case $ac_lo in
21674 ?*) ac_cv_sizeof_short=$ac_lo;;
21675 '') if test "$ac_cv_type_short" = yes; then
21676 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21677 See \`config.log' for more details." >&5
21678 echo "$as_me: error: cannot compute sizeof (short)
21679 See \`config.log' for more details." >&2;}
21680 { (exit 77); exit 77; }; }
21681 else
21682 ac_cv_sizeof_short=0
21683 fi ;;
21684 esac
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 short ac__type_sizeof_;
21694 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21695 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21696 #include <stdio.h>
21697 #include <stdlib.h>
21698 int
21699 main ()
21700 {
21701
21702 FILE *f = fopen ("conftest.val", "w");
21703 if (! f)
21704 return 1;
21705 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21706 {
21707 long int i = longval ();
21708 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21709 return 1;
21710 fprintf (f, "%ld\n", i);
21711 }
21712 else
21713 {
21714 unsigned long int i = ulongval ();
21715 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21716 return 1;
21717 fprintf (f, "%lu\n", i);
21718 }
21719 return ferror (f) || fclose (f) != 0;
21720
21721 ;
21722 return 0;
21723 }
21724 _ACEOF
21725 rm -f conftest$ac_exeext
21726 if { (ac_try="$ac_link"
21727 case "(($ac_try" in
21728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21729 *) ac_try_echo=$ac_try;;
21730 esac
21731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732 (eval "$ac_link") 2>&5
21733 ac_status=$?
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21736 { (case "(($ac_try" in
21737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21738 *) ac_try_echo=$ac_try;;
21739 esac
21740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21741 (eval "$ac_try") 2>&5
21742 ac_status=$?
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); }; }; then
21745 ac_cv_sizeof_short=`cat conftest.val`
21746 else
21747 echo "$as_me: program exited with status $ac_status" >&5
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.$ac_ext >&5
21750
21751 ( exit $ac_status )
21752 if test "$ac_cv_type_short" = yes; then
21753 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21754 See \`config.log' for more details." >&5
21755 echo "$as_me: error: cannot compute sizeof (short)
21756 See \`config.log' for more details." >&2;}
21757 { (exit 77); exit 77; }; }
21758 else
21759 ac_cv_sizeof_short=0
21760 fi
21761 fi
21762 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21763 fi
21764 rm -f conftest.val
21765 fi
21766 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21767 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21768
21769
21770
21771 cat >>confdefs.h <<_ACEOF
21772 #define SIZEOF_SHORT $ac_cv_sizeof_short
21773 _ACEOF
21774
21775
21776 { echo "$as_me:$LINENO: checking for void *" >&5
21777 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21778 if test "${ac_cv_type_void_p+set}" = set; then
21779 echo $ECHO_N "(cached) $ECHO_C" >&6
21780 else
21781 cat >conftest.$ac_ext <<_ACEOF
21782 /* confdefs.h. */
21783 _ACEOF
21784 cat confdefs.h >>conftest.$ac_ext
21785 cat >>conftest.$ac_ext <<_ACEOF
21786 /* end confdefs.h. */
21787 $ac_includes_default
21788 typedef void * ac__type_new_;
21789 int
21790 main ()
21791 {
21792 if ((ac__type_new_ *) 0)
21793 return 0;
21794 if (sizeof (ac__type_new_))
21795 return 0;
21796 ;
21797 return 0;
21798 }
21799 _ACEOF
21800 rm -f conftest.$ac_objext
21801 if { (ac_try="$ac_compile"
21802 case "(($ac_try" in
21803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21804 *) ac_try_echo=$ac_try;;
21805 esac
21806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21807 (eval "$ac_compile") 2>conftest.er1
21808 ac_status=$?
21809 grep -v '^ *+' conftest.er1 >conftest.err
21810 rm -f conftest.er1
21811 cat conftest.err >&5
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); } && {
21814 test -z "$ac_c_werror_flag" ||
21815 test ! -s conftest.err
21816 } && test -s conftest.$ac_objext; then
21817 ac_cv_type_void_p=yes
21818 else
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21821
21822 ac_cv_type_void_p=no
21823 fi
21824
21825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21826 fi
21827 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21828 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21829
21830 # The cast to long int works around a bug in the HP C Compiler
21831 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21832 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21833 # This bug is HP SR number 8606223364.
21834 { echo "$as_me:$LINENO: checking size of void *" >&5
21835 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21836 if test "${ac_cv_sizeof_void_p+set}" = set; then
21837 echo $ECHO_N "(cached) $ECHO_C" >&6
21838 else
21839 if test "$cross_compiling" = yes; then
21840 # Depending upon the size, compute the lo and hi bounds.
21841 cat >conftest.$ac_ext <<_ACEOF
21842 /* confdefs.h. */
21843 _ACEOF
21844 cat confdefs.h >>conftest.$ac_ext
21845 cat >>conftest.$ac_ext <<_ACEOF
21846 /* end confdefs.h. */
21847 $ac_includes_default
21848 typedef void * ac__type_sizeof_;
21849 int
21850 main ()
21851 {
21852 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21853 test_array [0] = 0
21854
21855 ;
21856 return 0;
21857 }
21858 _ACEOF
21859 rm -f conftest.$ac_objext
21860 if { (ac_try="$ac_compile"
21861 case "(($ac_try" in
21862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21863 *) ac_try_echo=$ac_try;;
21864 esac
21865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21866 (eval "$ac_compile") 2>conftest.er1
21867 ac_status=$?
21868 grep -v '^ *+' conftest.er1 >conftest.err
21869 rm -f conftest.er1
21870 cat conftest.err >&5
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); } && {
21873 test -z "$ac_c_werror_flag" ||
21874 test ! -s conftest.err
21875 } && test -s conftest.$ac_objext; then
21876 ac_lo=0 ac_mid=0
21877 while :; do
21878 cat >conftest.$ac_ext <<_ACEOF
21879 /* confdefs.h. */
21880 _ACEOF
21881 cat confdefs.h >>conftest.$ac_ext
21882 cat >>conftest.$ac_ext <<_ACEOF
21883 /* end confdefs.h. */
21884 $ac_includes_default
21885 typedef void * ac__type_sizeof_;
21886 int
21887 main ()
21888 {
21889 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21890 test_array [0] = 0
21891
21892 ;
21893 return 0;
21894 }
21895 _ACEOF
21896 rm -f conftest.$ac_objext
21897 if { (ac_try="$ac_compile"
21898 case "(($ac_try" in
21899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21900 *) ac_try_echo=$ac_try;;
21901 esac
21902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21903 (eval "$ac_compile") 2>conftest.er1
21904 ac_status=$?
21905 grep -v '^ *+' conftest.er1 >conftest.err
21906 rm -f conftest.er1
21907 cat conftest.err >&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); } && {
21910 test -z "$ac_c_werror_flag" ||
21911 test ! -s conftest.err
21912 } && test -s conftest.$ac_objext; then
21913 ac_hi=$ac_mid; break
21914 else
21915 echo "$as_me: failed program was:" >&5
21916 sed 's/^/| /' conftest.$ac_ext >&5
21917
21918 ac_lo=`expr $ac_mid + 1`
21919 if test $ac_lo -le $ac_mid; then
21920 ac_lo= ac_hi=
21921 break
21922 fi
21923 ac_mid=`expr 2 '*' $ac_mid + 1`
21924 fi
21925
21926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21927 done
21928 else
21929 echo "$as_me: failed program was:" >&5
21930 sed 's/^/| /' conftest.$ac_ext >&5
21931
21932 cat >conftest.$ac_ext <<_ACEOF
21933 /* confdefs.h. */
21934 _ACEOF
21935 cat confdefs.h >>conftest.$ac_ext
21936 cat >>conftest.$ac_ext <<_ACEOF
21937 /* end confdefs.h. */
21938 $ac_includes_default
21939 typedef void * ac__type_sizeof_;
21940 int
21941 main ()
21942 {
21943 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21944 test_array [0] = 0
21945
21946 ;
21947 return 0;
21948 }
21949 _ACEOF
21950 rm -f conftest.$ac_objext
21951 if { (ac_try="$ac_compile"
21952 case "(($ac_try" in
21953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21954 *) ac_try_echo=$ac_try;;
21955 esac
21956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21957 (eval "$ac_compile") 2>conftest.er1
21958 ac_status=$?
21959 grep -v '^ *+' conftest.er1 >conftest.err
21960 rm -f conftest.er1
21961 cat conftest.err >&5
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); } && {
21964 test -z "$ac_c_werror_flag" ||
21965 test ! -s conftest.err
21966 } && test -s conftest.$ac_objext; then
21967 ac_hi=-1 ac_mid=-1
21968 while :; do
21969 cat >conftest.$ac_ext <<_ACEOF
21970 /* confdefs.h. */
21971 _ACEOF
21972 cat confdefs.h >>conftest.$ac_ext
21973 cat >>conftest.$ac_ext <<_ACEOF
21974 /* end confdefs.h. */
21975 $ac_includes_default
21976 typedef void * ac__type_sizeof_;
21977 int
21978 main ()
21979 {
21980 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21981 test_array [0] = 0
21982
21983 ;
21984 return 0;
21985 }
21986 _ACEOF
21987 rm -f conftest.$ac_objext
21988 if { (ac_try="$ac_compile"
21989 case "(($ac_try" in
21990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21991 *) ac_try_echo=$ac_try;;
21992 esac
21993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21994 (eval "$ac_compile") 2>conftest.er1
21995 ac_status=$?
21996 grep -v '^ *+' conftest.er1 >conftest.err
21997 rm -f conftest.er1
21998 cat conftest.err >&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); } && {
22001 test -z "$ac_c_werror_flag" ||
22002 test ! -s conftest.err
22003 } && test -s conftest.$ac_objext; then
22004 ac_lo=$ac_mid; break
22005 else
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.$ac_ext >&5
22008
22009 ac_hi=`expr '(' $ac_mid ')' - 1`
22010 if test $ac_mid -le $ac_hi; then
22011 ac_lo= ac_hi=
22012 break
22013 fi
22014 ac_mid=`expr 2 '*' $ac_mid`
22015 fi
22016
22017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22018 done
22019 else
22020 echo "$as_me: failed program was:" >&5
22021 sed 's/^/| /' conftest.$ac_ext >&5
22022
22023 ac_lo= ac_hi=
22024 fi
22025
22026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22027 fi
22028
22029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22030 # Binary search between lo and hi bounds.
22031 while test "x$ac_lo" != "x$ac_hi"; do
22032 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22033 cat >conftest.$ac_ext <<_ACEOF
22034 /* confdefs.h. */
22035 _ACEOF
22036 cat confdefs.h >>conftest.$ac_ext
22037 cat >>conftest.$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039 $ac_includes_default
22040 typedef void * ac__type_sizeof_;
22041 int
22042 main ()
22043 {
22044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22045 test_array [0] = 0
22046
22047 ;
22048 return 0;
22049 }
22050 _ACEOF
22051 rm -f conftest.$ac_objext
22052 if { (ac_try="$ac_compile"
22053 case "(($ac_try" in
22054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22055 *) ac_try_echo=$ac_try;;
22056 esac
22057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22058 (eval "$ac_compile") 2>conftest.er1
22059 ac_status=$?
22060 grep -v '^ *+' conftest.er1 >conftest.err
22061 rm -f conftest.er1
22062 cat conftest.err >&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } && {
22065 test -z "$ac_c_werror_flag" ||
22066 test ! -s conftest.err
22067 } && test -s conftest.$ac_objext; then
22068 ac_hi=$ac_mid
22069 else
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.$ac_ext >&5
22072
22073 ac_lo=`expr '(' $ac_mid ')' + 1`
22074 fi
22075
22076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22077 done
22078 case $ac_lo in
22079 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22080 '') if test "$ac_cv_type_void_p" = yes; then
22081 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22082 See \`config.log' for more details." >&5
22083 echo "$as_me: error: cannot compute sizeof (void *)
22084 See \`config.log' for more details." >&2;}
22085 { (exit 77); exit 77; }; }
22086 else
22087 ac_cv_sizeof_void_p=0
22088 fi ;;
22089 esac
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 void * ac__type_sizeof_;
22099 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22100 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22101 #include <stdio.h>
22102 #include <stdlib.h>
22103 int
22104 main ()
22105 {
22106
22107 FILE *f = fopen ("conftest.val", "w");
22108 if (! f)
22109 return 1;
22110 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22111 {
22112 long int i = longval ();
22113 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22114 return 1;
22115 fprintf (f, "%ld\n", i);
22116 }
22117 else
22118 {
22119 unsigned long int i = ulongval ();
22120 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22121 return 1;
22122 fprintf (f, "%lu\n", i);
22123 }
22124 return ferror (f) || fclose (f) != 0;
22125
22126 ;
22127 return 0;
22128 }
22129 _ACEOF
22130 rm -f conftest$ac_exeext
22131 if { (ac_try="$ac_link"
22132 case "(($ac_try" in
22133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22134 *) ac_try_echo=$ac_try;;
22135 esac
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_link") 2>&5
22138 ac_status=$?
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22141 { (case "(($ac_try" in
22142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22143 *) ac_try_echo=$ac_try;;
22144 esac
22145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22146 (eval "$ac_try") 2>&5
22147 ac_status=$?
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); }; }; then
22150 ac_cv_sizeof_void_p=`cat conftest.val`
22151 else
22152 echo "$as_me: program exited with status $ac_status" >&5
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.$ac_ext >&5
22155
22156 ( exit $ac_status )
22157 if test "$ac_cv_type_void_p" = yes; then
22158 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22159 See \`config.log' for more details." >&5
22160 echo "$as_me: error: cannot compute sizeof (void *)
22161 See \`config.log' for more details." >&2;}
22162 { (exit 77); exit 77; }; }
22163 else
22164 ac_cv_sizeof_void_p=0
22165 fi
22166 fi
22167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22168 fi
22169 rm -f conftest.val
22170 fi
22171 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22172 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22173
22174
22175
22176 cat >>confdefs.h <<_ACEOF
22177 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22178 _ACEOF
22179
22180
22181 { echo "$as_me:$LINENO: checking for int" >&5
22182 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22183 if test "${ac_cv_type_int+set}" = set; then
22184 echo $ECHO_N "(cached) $ECHO_C" >&6
22185 else
22186 cat >conftest.$ac_ext <<_ACEOF
22187 /* confdefs.h. */
22188 _ACEOF
22189 cat confdefs.h >>conftest.$ac_ext
22190 cat >>conftest.$ac_ext <<_ACEOF
22191 /* end confdefs.h. */
22192 $ac_includes_default
22193 typedef int ac__type_new_;
22194 int
22195 main ()
22196 {
22197 if ((ac__type_new_ *) 0)
22198 return 0;
22199 if (sizeof (ac__type_new_))
22200 return 0;
22201 ;
22202 return 0;
22203 }
22204 _ACEOF
22205 rm -f conftest.$ac_objext
22206 if { (ac_try="$ac_compile"
22207 case "(($ac_try" in
22208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22209 *) ac_try_echo=$ac_try;;
22210 esac
22211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22212 (eval "$ac_compile") 2>conftest.er1
22213 ac_status=$?
22214 grep -v '^ *+' conftest.er1 >conftest.err
22215 rm -f conftest.er1
22216 cat conftest.err >&5
22217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22218 (exit $ac_status); } && {
22219 test -z "$ac_c_werror_flag" ||
22220 test ! -s conftest.err
22221 } && test -s conftest.$ac_objext; then
22222 ac_cv_type_int=yes
22223 else
22224 echo "$as_me: failed program was:" >&5
22225 sed 's/^/| /' conftest.$ac_ext >&5
22226
22227 ac_cv_type_int=no
22228 fi
22229
22230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22231 fi
22232 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22233 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22234
22235 # The cast to long int works around a bug in the HP C Compiler
22236 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22237 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22238 # This bug is HP SR number 8606223364.
22239 { echo "$as_me:$LINENO: checking size of int" >&5
22240 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22241 if test "${ac_cv_sizeof_int+set}" = set; then
22242 echo $ECHO_N "(cached) $ECHO_C" >&6
22243 else
22244 if test "$cross_compiling" = yes; then
22245 # Depending upon the size, compute the lo and hi bounds.
22246 cat >conftest.$ac_ext <<_ACEOF
22247 /* confdefs.h. */
22248 _ACEOF
22249 cat confdefs.h >>conftest.$ac_ext
22250 cat >>conftest.$ac_ext <<_ACEOF
22251 /* end confdefs.h. */
22252 $ac_includes_default
22253 typedef int ac__type_sizeof_;
22254 int
22255 main ()
22256 {
22257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22258 test_array [0] = 0
22259
22260 ;
22261 return 0;
22262 }
22263 _ACEOF
22264 rm -f conftest.$ac_objext
22265 if { (ac_try="$ac_compile"
22266 case "(($ac_try" in
22267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22268 *) ac_try_echo=$ac_try;;
22269 esac
22270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22271 (eval "$ac_compile") 2>conftest.er1
22272 ac_status=$?
22273 grep -v '^ *+' conftest.er1 >conftest.err
22274 rm -f conftest.er1
22275 cat conftest.err >&5
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); } && {
22278 test -z "$ac_c_werror_flag" ||
22279 test ! -s conftest.err
22280 } && test -s conftest.$ac_objext; then
22281 ac_lo=0 ac_mid=0
22282 while :; do
22283 cat >conftest.$ac_ext <<_ACEOF
22284 /* confdefs.h. */
22285 _ACEOF
22286 cat confdefs.h >>conftest.$ac_ext
22287 cat >>conftest.$ac_ext <<_ACEOF
22288 /* end confdefs.h. */
22289 $ac_includes_default
22290 typedef int ac__type_sizeof_;
22291 int
22292 main ()
22293 {
22294 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22295 test_array [0] = 0
22296
22297 ;
22298 return 0;
22299 }
22300 _ACEOF
22301 rm -f conftest.$ac_objext
22302 if { (ac_try="$ac_compile"
22303 case "(($ac_try" in
22304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22305 *) ac_try_echo=$ac_try;;
22306 esac
22307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22308 (eval "$ac_compile") 2>conftest.er1
22309 ac_status=$?
22310 grep -v '^ *+' conftest.er1 >conftest.err
22311 rm -f conftest.er1
22312 cat conftest.err >&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); } && {
22315 test -z "$ac_c_werror_flag" ||
22316 test ! -s conftest.err
22317 } && test -s conftest.$ac_objext; then
22318 ac_hi=$ac_mid; break
22319 else
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.$ac_ext >&5
22322
22323 ac_lo=`expr $ac_mid + 1`
22324 if test $ac_lo -le $ac_mid; then
22325 ac_lo= ac_hi=
22326 break
22327 fi
22328 ac_mid=`expr 2 '*' $ac_mid + 1`
22329 fi
22330
22331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22332 done
22333 else
22334 echo "$as_me: failed program was:" >&5
22335 sed 's/^/| /' conftest.$ac_ext >&5
22336
22337 cat >conftest.$ac_ext <<_ACEOF
22338 /* confdefs.h. */
22339 _ACEOF
22340 cat confdefs.h >>conftest.$ac_ext
22341 cat >>conftest.$ac_ext <<_ACEOF
22342 /* end confdefs.h. */
22343 $ac_includes_default
22344 typedef int ac__type_sizeof_;
22345 int
22346 main ()
22347 {
22348 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22349 test_array [0] = 0
22350
22351 ;
22352 return 0;
22353 }
22354 _ACEOF
22355 rm -f conftest.$ac_objext
22356 if { (ac_try="$ac_compile"
22357 case "(($ac_try" in
22358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22359 *) ac_try_echo=$ac_try;;
22360 esac
22361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22362 (eval "$ac_compile") 2>conftest.er1
22363 ac_status=$?
22364 grep -v '^ *+' conftest.er1 >conftest.err
22365 rm -f conftest.er1
22366 cat conftest.err >&5
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); } && {
22369 test -z "$ac_c_werror_flag" ||
22370 test ! -s conftest.err
22371 } && test -s conftest.$ac_objext; then
22372 ac_hi=-1 ac_mid=-1
22373 while :; do
22374 cat >conftest.$ac_ext <<_ACEOF
22375 /* confdefs.h. */
22376 _ACEOF
22377 cat confdefs.h >>conftest.$ac_ext
22378 cat >>conftest.$ac_ext <<_ACEOF
22379 /* end confdefs.h. */
22380 $ac_includes_default
22381 typedef int ac__type_sizeof_;
22382 int
22383 main ()
22384 {
22385 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22386 test_array [0] = 0
22387
22388 ;
22389 return 0;
22390 }
22391 _ACEOF
22392 rm -f conftest.$ac_objext
22393 if { (ac_try="$ac_compile"
22394 case "(($ac_try" in
22395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22396 *) ac_try_echo=$ac_try;;
22397 esac
22398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22399 (eval "$ac_compile") 2>conftest.er1
22400 ac_status=$?
22401 grep -v '^ *+' conftest.er1 >conftest.err
22402 rm -f conftest.er1
22403 cat conftest.err >&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); } && {
22406 test -z "$ac_c_werror_flag" ||
22407 test ! -s conftest.err
22408 } && test -s conftest.$ac_objext; then
22409 ac_lo=$ac_mid; break
22410 else
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.$ac_ext >&5
22413
22414 ac_hi=`expr '(' $ac_mid ')' - 1`
22415 if test $ac_mid -le $ac_hi; then
22416 ac_lo= ac_hi=
22417 break
22418 fi
22419 ac_mid=`expr 2 '*' $ac_mid`
22420 fi
22421
22422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22423 done
22424 else
22425 echo "$as_me: failed program was:" >&5
22426 sed 's/^/| /' conftest.$ac_ext >&5
22427
22428 ac_lo= ac_hi=
22429 fi
22430
22431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22432 fi
22433
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22435 # Binary search between lo and hi bounds.
22436 while test "x$ac_lo" != "x$ac_hi"; do
22437 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22438 cat >conftest.$ac_ext <<_ACEOF
22439 /* confdefs.h. */
22440 _ACEOF
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 $ac_includes_default
22445 typedef int ac__type_sizeof_;
22446 int
22447 main ()
22448 {
22449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22450 test_array [0] = 0
22451
22452 ;
22453 return 0;
22454 }
22455 _ACEOF
22456 rm -f conftest.$ac_objext
22457 if { (ac_try="$ac_compile"
22458 case "(($ac_try" in
22459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22460 *) ac_try_echo=$ac_try;;
22461 esac
22462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22463 (eval "$ac_compile") 2>conftest.er1
22464 ac_status=$?
22465 grep -v '^ *+' conftest.er1 >conftest.err
22466 rm -f conftest.er1
22467 cat conftest.err >&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } && {
22470 test -z "$ac_c_werror_flag" ||
22471 test ! -s conftest.err
22472 } && test -s conftest.$ac_objext; then
22473 ac_hi=$ac_mid
22474 else
22475 echo "$as_me: failed program was:" >&5
22476 sed 's/^/| /' conftest.$ac_ext >&5
22477
22478 ac_lo=`expr '(' $ac_mid ')' + 1`
22479 fi
22480
22481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22482 done
22483 case $ac_lo in
22484 ?*) ac_cv_sizeof_int=$ac_lo;;
22485 '') if test "$ac_cv_type_int" = yes; then
22486 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22487 See \`config.log' for more details." >&5
22488 echo "$as_me: error: cannot compute sizeof (int)
22489 See \`config.log' for more details." >&2;}
22490 { (exit 77); exit 77; }; }
22491 else
22492 ac_cv_sizeof_int=0
22493 fi ;;
22494 esac
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 int ac__type_sizeof_;
22504 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22505 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22506 #include <stdio.h>
22507 #include <stdlib.h>
22508 int
22509 main ()
22510 {
22511
22512 FILE *f = fopen ("conftest.val", "w");
22513 if (! f)
22514 return 1;
22515 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22516 {
22517 long int i = longval ();
22518 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22519 return 1;
22520 fprintf (f, "%ld\n", i);
22521 }
22522 else
22523 {
22524 unsigned long int i = ulongval ();
22525 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22526 return 1;
22527 fprintf (f, "%lu\n", i);
22528 }
22529 return ferror (f) || fclose (f) != 0;
22530
22531 ;
22532 return 0;
22533 }
22534 _ACEOF
22535 rm -f conftest$ac_exeext
22536 if { (ac_try="$ac_link"
22537 case "(($ac_try" in
22538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22539 *) ac_try_echo=$ac_try;;
22540 esac
22541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22542 (eval "$ac_link") 2>&5
22543 ac_status=$?
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22546 { (case "(($ac_try" in
22547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22548 *) ac_try_echo=$ac_try;;
22549 esac
22550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22551 (eval "$ac_try") 2>&5
22552 ac_status=$?
22553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554 (exit $ac_status); }; }; then
22555 ac_cv_sizeof_int=`cat conftest.val`
22556 else
22557 echo "$as_me: program exited with status $ac_status" >&5
22558 echo "$as_me: failed program was:" >&5
22559 sed 's/^/| /' conftest.$ac_ext >&5
22560
22561 ( exit $ac_status )
22562 if test "$ac_cv_type_int" = yes; then
22563 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22564 See \`config.log' for more details." >&5
22565 echo "$as_me: error: cannot compute sizeof (int)
22566 See \`config.log' for more details." >&2;}
22567 { (exit 77); exit 77; }; }
22568 else
22569 ac_cv_sizeof_int=0
22570 fi
22571 fi
22572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22573 fi
22574 rm -f conftest.val
22575 fi
22576 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22577 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22578
22579
22580
22581 cat >>confdefs.h <<_ACEOF
22582 #define SIZEOF_INT $ac_cv_sizeof_int
22583 _ACEOF
22584
22585
22586 { echo "$as_me:$LINENO: checking for long" >&5
22587 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22588 if test "${ac_cv_type_long+set}" = set; then
22589 echo $ECHO_N "(cached) $ECHO_C" >&6
22590 else
22591 cat >conftest.$ac_ext <<_ACEOF
22592 /* confdefs.h. */
22593 _ACEOF
22594 cat confdefs.h >>conftest.$ac_ext
22595 cat >>conftest.$ac_ext <<_ACEOF
22596 /* end confdefs.h. */
22597 $ac_includes_default
22598 typedef long ac__type_new_;
22599 int
22600 main ()
22601 {
22602 if ((ac__type_new_ *) 0)
22603 return 0;
22604 if (sizeof (ac__type_new_))
22605 return 0;
22606 ;
22607 return 0;
22608 }
22609 _ACEOF
22610 rm -f conftest.$ac_objext
22611 if { (ac_try="$ac_compile"
22612 case "(($ac_try" in
22613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614 *) ac_try_echo=$ac_try;;
22615 esac
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_compile") 2>conftest.er1
22618 ac_status=$?
22619 grep -v '^ *+' conftest.er1 >conftest.err
22620 rm -f conftest.er1
22621 cat conftest.err >&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } && {
22624 test -z "$ac_c_werror_flag" ||
22625 test ! -s conftest.err
22626 } && test -s conftest.$ac_objext; then
22627 ac_cv_type_long=yes
22628 else
22629 echo "$as_me: failed program was:" >&5
22630 sed 's/^/| /' conftest.$ac_ext >&5
22631
22632 ac_cv_type_long=no
22633 fi
22634
22635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22636 fi
22637 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22638 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22639
22640 # The cast to long int works around a bug in the HP C Compiler
22641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22643 # This bug is HP SR number 8606223364.
22644 { echo "$as_me:$LINENO: checking size of long" >&5
22645 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22646 if test "${ac_cv_sizeof_long+set}" = set; then
22647 echo $ECHO_N "(cached) $ECHO_C" >&6
22648 else
22649 if test "$cross_compiling" = yes; then
22650 # Depending upon the size, compute the lo and hi bounds.
22651 cat >conftest.$ac_ext <<_ACEOF
22652 /* confdefs.h. */
22653 _ACEOF
22654 cat confdefs.h >>conftest.$ac_ext
22655 cat >>conftest.$ac_ext <<_ACEOF
22656 /* end confdefs.h. */
22657 $ac_includes_default
22658 typedef long ac__type_sizeof_;
22659 int
22660 main ()
22661 {
22662 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22663 test_array [0] = 0
22664
22665 ;
22666 return 0;
22667 }
22668 _ACEOF
22669 rm -f conftest.$ac_objext
22670 if { (ac_try="$ac_compile"
22671 case "(($ac_try" in
22672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22673 *) ac_try_echo=$ac_try;;
22674 esac
22675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22676 (eval "$ac_compile") 2>conftest.er1
22677 ac_status=$?
22678 grep -v '^ *+' conftest.er1 >conftest.err
22679 rm -f conftest.er1
22680 cat conftest.err >&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } && {
22683 test -z "$ac_c_werror_flag" ||
22684 test ! -s conftest.err
22685 } && test -s conftest.$ac_objext; then
22686 ac_lo=0 ac_mid=0
22687 while :; do
22688 cat >conftest.$ac_ext <<_ACEOF
22689 /* confdefs.h. */
22690 _ACEOF
22691 cat confdefs.h >>conftest.$ac_ext
22692 cat >>conftest.$ac_ext <<_ACEOF
22693 /* end confdefs.h. */
22694 $ac_includes_default
22695 typedef long ac__type_sizeof_;
22696 int
22697 main ()
22698 {
22699 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22700 test_array [0] = 0
22701
22702 ;
22703 return 0;
22704 }
22705 _ACEOF
22706 rm -f conftest.$ac_objext
22707 if { (ac_try="$ac_compile"
22708 case "(($ac_try" in
22709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22710 *) ac_try_echo=$ac_try;;
22711 esac
22712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22713 (eval "$ac_compile") 2>conftest.er1
22714 ac_status=$?
22715 grep -v '^ *+' conftest.er1 >conftest.err
22716 rm -f conftest.er1
22717 cat conftest.err >&5
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); } && {
22720 test -z "$ac_c_werror_flag" ||
22721 test ! -s conftest.err
22722 } && test -s conftest.$ac_objext; then
22723 ac_hi=$ac_mid; break
22724 else
22725 echo "$as_me: failed program was:" >&5
22726 sed 's/^/| /' conftest.$ac_ext >&5
22727
22728 ac_lo=`expr $ac_mid + 1`
22729 if test $ac_lo -le $ac_mid; then
22730 ac_lo= ac_hi=
22731 break
22732 fi
22733 ac_mid=`expr 2 '*' $ac_mid + 1`
22734 fi
22735
22736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22737 done
22738 else
22739 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.$ac_ext >&5
22741
22742 cat >conftest.$ac_ext <<_ACEOF
22743 /* confdefs.h. */
22744 _ACEOF
22745 cat confdefs.h >>conftest.$ac_ext
22746 cat >>conftest.$ac_ext <<_ACEOF
22747 /* end confdefs.h. */
22748 $ac_includes_default
22749 typedef long ac__type_sizeof_;
22750 int
22751 main ()
22752 {
22753 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22754 test_array [0] = 0
22755
22756 ;
22757 return 0;
22758 }
22759 _ACEOF
22760 rm -f conftest.$ac_objext
22761 if { (ac_try="$ac_compile"
22762 case "(($ac_try" in
22763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22764 *) ac_try_echo=$ac_try;;
22765 esac
22766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22767 (eval "$ac_compile") 2>conftest.er1
22768 ac_status=$?
22769 grep -v '^ *+' conftest.er1 >conftest.err
22770 rm -f conftest.er1
22771 cat conftest.err >&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); } && {
22774 test -z "$ac_c_werror_flag" ||
22775 test ! -s conftest.err
22776 } && test -s conftest.$ac_objext; then
22777 ac_hi=-1 ac_mid=-1
22778 while :; do
22779 cat >conftest.$ac_ext <<_ACEOF
22780 /* confdefs.h. */
22781 _ACEOF
22782 cat confdefs.h >>conftest.$ac_ext
22783 cat >>conftest.$ac_ext <<_ACEOF
22784 /* end confdefs.h. */
22785 $ac_includes_default
22786 typedef long ac__type_sizeof_;
22787 int
22788 main ()
22789 {
22790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22791 test_array [0] = 0
22792
22793 ;
22794 return 0;
22795 }
22796 _ACEOF
22797 rm -f conftest.$ac_objext
22798 if { (ac_try="$ac_compile"
22799 case "(($ac_try" in
22800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22801 *) ac_try_echo=$ac_try;;
22802 esac
22803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22804 (eval "$ac_compile") 2>conftest.er1
22805 ac_status=$?
22806 grep -v '^ *+' conftest.er1 >conftest.err
22807 rm -f conftest.er1
22808 cat conftest.err >&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); } && {
22811 test -z "$ac_c_werror_flag" ||
22812 test ! -s conftest.err
22813 } && test -s conftest.$ac_objext; then
22814 ac_lo=$ac_mid; break
22815 else
22816 echo "$as_me: failed program was:" >&5
22817 sed 's/^/| /' conftest.$ac_ext >&5
22818
22819 ac_hi=`expr '(' $ac_mid ')' - 1`
22820 if test $ac_mid -le $ac_hi; then
22821 ac_lo= ac_hi=
22822 break
22823 fi
22824 ac_mid=`expr 2 '*' $ac_mid`
22825 fi
22826
22827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22828 done
22829 else
22830 echo "$as_me: failed program was:" >&5
22831 sed 's/^/| /' conftest.$ac_ext >&5
22832
22833 ac_lo= ac_hi=
22834 fi
22835
22836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22837 fi
22838
22839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840 # Binary search between lo and hi bounds.
22841 while test "x$ac_lo" != "x$ac_hi"; do
22842 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22843 cat >conftest.$ac_ext <<_ACEOF
22844 /* confdefs.h. */
22845 _ACEOF
22846 cat confdefs.h >>conftest.$ac_ext
22847 cat >>conftest.$ac_ext <<_ACEOF
22848 /* end confdefs.h. */
22849 $ac_includes_default
22850 typedef long ac__type_sizeof_;
22851 int
22852 main ()
22853 {
22854 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22855 test_array [0] = 0
22856
22857 ;
22858 return 0;
22859 }
22860 _ACEOF
22861 rm -f conftest.$ac_objext
22862 if { (ac_try="$ac_compile"
22863 case "(($ac_try" in
22864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22865 *) ac_try_echo=$ac_try;;
22866 esac
22867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22868 (eval "$ac_compile") 2>conftest.er1
22869 ac_status=$?
22870 grep -v '^ *+' conftest.er1 >conftest.err
22871 rm -f conftest.er1
22872 cat conftest.err >&5
22873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874 (exit $ac_status); } && {
22875 test -z "$ac_c_werror_flag" ||
22876 test ! -s conftest.err
22877 } && test -s conftest.$ac_objext; then
22878 ac_hi=$ac_mid
22879 else
22880 echo "$as_me: failed program was:" >&5
22881 sed 's/^/| /' conftest.$ac_ext >&5
22882
22883 ac_lo=`expr '(' $ac_mid ')' + 1`
22884 fi
22885
22886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22887 done
22888 case $ac_lo in
22889 ?*) ac_cv_sizeof_long=$ac_lo;;
22890 '') if test "$ac_cv_type_long" = yes; then
22891 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22892 See \`config.log' for more details." >&5
22893 echo "$as_me: error: cannot compute sizeof (long)
22894 See \`config.log' for more details." >&2;}
22895 { (exit 77); exit 77; }; }
22896 else
22897 ac_cv_sizeof_long=0
22898 fi ;;
22899 esac
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 long ac__type_sizeof_;
22909 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22910 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22911 #include <stdio.h>
22912 #include <stdlib.h>
22913 int
22914 main ()
22915 {
22916
22917 FILE *f = fopen ("conftest.val", "w");
22918 if (! f)
22919 return 1;
22920 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22921 {
22922 long int i = longval ();
22923 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22924 return 1;
22925 fprintf (f, "%ld\n", i);
22926 }
22927 else
22928 {
22929 unsigned long int i = ulongval ();
22930 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22931 return 1;
22932 fprintf (f, "%lu\n", i);
22933 }
22934 return ferror (f) || fclose (f) != 0;
22935
22936 ;
22937 return 0;
22938 }
22939 _ACEOF
22940 rm -f conftest$ac_exeext
22941 if { (ac_try="$ac_link"
22942 case "(($ac_try" in
22943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22944 *) ac_try_echo=$ac_try;;
22945 esac
22946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22947 (eval "$ac_link") 2>&5
22948 ac_status=$?
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22951 { (case "(($ac_try" in
22952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22953 *) ac_try_echo=$ac_try;;
22954 esac
22955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22956 (eval "$ac_try") 2>&5
22957 ac_status=$?
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); }; }; then
22960 ac_cv_sizeof_long=`cat conftest.val`
22961 else
22962 echo "$as_me: program exited with status $ac_status" >&5
22963 echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.$ac_ext >&5
22965
22966 ( exit $ac_status )
22967 if test "$ac_cv_type_long" = yes; then
22968 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22969 See \`config.log' for more details." >&5
22970 echo "$as_me: error: cannot compute sizeof (long)
22971 See \`config.log' for more details." >&2;}
22972 { (exit 77); exit 77; }; }
22973 else
22974 ac_cv_sizeof_long=0
22975 fi
22976 fi
22977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22978 fi
22979 rm -f conftest.val
22980 fi
22981 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22982 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22983
22984
22985
22986 cat >>confdefs.h <<_ACEOF
22987 #define SIZEOF_LONG $ac_cv_sizeof_long
22988 _ACEOF
22989
22990
22991 { echo "$as_me:$LINENO: checking for size_t" >&5
22992 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22993 if test "${ac_cv_type_size_t+set}" = set; then
22994 echo $ECHO_N "(cached) $ECHO_C" >&6
22995 else
22996 cat >conftest.$ac_ext <<_ACEOF
22997 /* confdefs.h. */
22998 _ACEOF
22999 cat confdefs.h >>conftest.$ac_ext
23000 cat >>conftest.$ac_ext <<_ACEOF
23001 /* end confdefs.h. */
23002 $ac_includes_default
23003 typedef size_t ac__type_new_;
23004 int
23005 main ()
23006 {
23007 if ((ac__type_new_ *) 0)
23008 return 0;
23009 if (sizeof (ac__type_new_))
23010 return 0;
23011 ;
23012 return 0;
23013 }
23014 _ACEOF
23015 rm -f conftest.$ac_objext
23016 if { (ac_try="$ac_compile"
23017 case "(($ac_try" in
23018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23019 *) ac_try_echo=$ac_try;;
23020 esac
23021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23022 (eval "$ac_compile") 2>conftest.er1
23023 ac_status=$?
23024 grep -v '^ *+' conftest.er1 >conftest.err
23025 rm -f conftest.er1
23026 cat conftest.err >&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } && {
23029 test -z "$ac_c_werror_flag" ||
23030 test ! -s conftest.err
23031 } && test -s conftest.$ac_objext; then
23032 ac_cv_type_size_t=yes
23033 else
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23036
23037 ac_cv_type_size_t=no
23038 fi
23039
23040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23041 fi
23042 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23043 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23044
23045 # The cast to long int works around a bug in the HP C Compiler
23046 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23047 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23048 # This bug is HP SR number 8606223364.
23049 { echo "$as_me:$LINENO: checking size of size_t" >&5
23050 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23051 if test "${ac_cv_sizeof_size_t+set}" = set; then
23052 echo $ECHO_N "(cached) $ECHO_C" >&6
23053 else
23054 if test "$cross_compiling" = yes; then
23055 # Depending upon the size, compute the lo and hi bounds.
23056 cat >conftest.$ac_ext <<_ACEOF
23057 /* confdefs.h. */
23058 _ACEOF
23059 cat confdefs.h >>conftest.$ac_ext
23060 cat >>conftest.$ac_ext <<_ACEOF
23061 /* end confdefs.h. */
23062 $ac_includes_default
23063 typedef size_t ac__type_sizeof_;
23064 int
23065 main ()
23066 {
23067 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23068 test_array [0] = 0
23069
23070 ;
23071 return 0;
23072 }
23073 _ACEOF
23074 rm -f conftest.$ac_objext
23075 if { (ac_try="$ac_compile"
23076 case "(($ac_try" in
23077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23078 *) ac_try_echo=$ac_try;;
23079 esac
23080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23081 (eval "$ac_compile") 2>conftest.er1
23082 ac_status=$?
23083 grep -v '^ *+' conftest.er1 >conftest.err
23084 rm -f conftest.er1
23085 cat conftest.err >&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); } && {
23088 test -z "$ac_c_werror_flag" ||
23089 test ! -s conftest.err
23090 } && test -s conftest.$ac_objext; then
23091 ac_lo=0 ac_mid=0
23092 while :; do
23093 cat >conftest.$ac_ext <<_ACEOF
23094 /* confdefs.h. */
23095 _ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23099 $ac_includes_default
23100 typedef size_t ac__type_sizeof_;
23101 int
23102 main ()
23103 {
23104 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23105 test_array [0] = 0
23106
23107 ;
23108 return 0;
23109 }
23110 _ACEOF
23111 rm -f conftest.$ac_objext
23112 if { (ac_try="$ac_compile"
23113 case "(($ac_try" in
23114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23115 *) ac_try_echo=$ac_try;;
23116 esac
23117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23118 (eval "$ac_compile") 2>conftest.er1
23119 ac_status=$?
23120 grep -v '^ *+' conftest.er1 >conftest.err
23121 rm -f conftest.er1
23122 cat conftest.err >&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); } && {
23125 test -z "$ac_c_werror_flag" ||
23126 test ! -s conftest.err
23127 } && test -s conftest.$ac_objext; then
23128 ac_hi=$ac_mid; break
23129 else
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23132
23133 ac_lo=`expr $ac_mid + 1`
23134 if test $ac_lo -le $ac_mid; then
23135 ac_lo= ac_hi=
23136 break
23137 fi
23138 ac_mid=`expr 2 '*' $ac_mid + 1`
23139 fi
23140
23141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23142 done
23143 else
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.$ac_ext >&5
23146
23147 cat >conftest.$ac_ext <<_ACEOF
23148 /* confdefs.h. */
23149 _ACEOF
23150 cat confdefs.h >>conftest.$ac_ext
23151 cat >>conftest.$ac_ext <<_ACEOF
23152 /* end confdefs.h. */
23153 $ac_includes_default
23154 typedef size_t ac__type_sizeof_;
23155 int
23156 main ()
23157 {
23158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23159 test_array [0] = 0
23160
23161 ;
23162 return 0;
23163 }
23164 _ACEOF
23165 rm -f conftest.$ac_objext
23166 if { (ac_try="$ac_compile"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23170 esac
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_compile") 2>conftest.er1
23173 ac_status=$?
23174 grep -v '^ *+' conftest.er1 >conftest.err
23175 rm -f conftest.er1
23176 cat conftest.err >&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); } && {
23179 test -z "$ac_c_werror_flag" ||
23180 test ! -s conftest.err
23181 } && test -s conftest.$ac_objext; then
23182 ac_hi=-1 ac_mid=-1
23183 while :; do
23184 cat >conftest.$ac_ext <<_ACEOF
23185 /* confdefs.h. */
23186 _ACEOF
23187 cat confdefs.h >>conftest.$ac_ext
23188 cat >>conftest.$ac_ext <<_ACEOF
23189 /* end confdefs.h. */
23190 $ac_includes_default
23191 typedef size_t ac__type_sizeof_;
23192 int
23193 main ()
23194 {
23195 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23196 test_array [0] = 0
23197
23198 ;
23199 return 0;
23200 }
23201 _ACEOF
23202 rm -f conftest.$ac_objext
23203 if { (ac_try="$ac_compile"
23204 case "(($ac_try" in
23205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23206 *) ac_try_echo=$ac_try;;
23207 esac
23208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23209 (eval "$ac_compile") 2>conftest.er1
23210 ac_status=$?
23211 grep -v '^ *+' conftest.er1 >conftest.err
23212 rm -f conftest.er1
23213 cat conftest.err >&5
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); } && {
23216 test -z "$ac_c_werror_flag" ||
23217 test ! -s conftest.err
23218 } && test -s conftest.$ac_objext; then
23219 ac_lo=$ac_mid; break
23220 else
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23223
23224 ac_hi=`expr '(' $ac_mid ')' - 1`
23225 if test $ac_mid -le $ac_hi; then
23226 ac_lo= ac_hi=
23227 break
23228 fi
23229 ac_mid=`expr 2 '*' $ac_mid`
23230 fi
23231
23232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23233 done
23234 else
23235 echo "$as_me: failed program was:" >&5
23236 sed 's/^/| /' conftest.$ac_ext >&5
23237
23238 ac_lo= ac_hi=
23239 fi
23240
23241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23242 fi
23243
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245 # Binary search between lo and hi bounds.
23246 while test "x$ac_lo" != "x$ac_hi"; do
23247 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23248 cat >conftest.$ac_ext <<_ACEOF
23249 /* confdefs.h. */
23250 _ACEOF
23251 cat confdefs.h >>conftest.$ac_ext
23252 cat >>conftest.$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23254 $ac_includes_default
23255 typedef size_t ac__type_sizeof_;
23256 int
23257 main ()
23258 {
23259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23260 test_array [0] = 0
23261
23262 ;
23263 return 0;
23264 }
23265 _ACEOF
23266 rm -f conftest.$ac_objext
23267 if { (ac_try="$ac_compile"
23268 case "(($ac_try" in
23269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23270 *) ac_try_echo=$ac_try;;
23271 esac
23272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23273 (eval "$ac_compile") 2>conftest.er1
23274 ac_status=$?
23275 grep -v '^ *+' conftest.er1 >conftest.err
23276 rm -f conftest.er1
23277 cat conftest.err >&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); } && {
23280 test -z "$ac_c_werror_flag" ||
23281 test ! -s conftest.err
23282 } && test -s conftest.$ac_objext; then
23283 ac_hi=$ac_mid
23284 else
23285 echo "$as_me: failed program was:" >&5
23286 sed 's/^/| /' conftest.$ac_ext >&5
23287
23288 ac_lo=`expr '(' $ac_mid ')' + 1`
23289 fi
23290
23291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23292 done
23293 case $ac_lo in
23294 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23295 '') if test "$ac_cv_type_size_t" = yes; then
23296 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23297 See \`config.log' for more details." >&5
23298 echo "$as_me: error: cannot compute sizeof (size_t)
23299 See \`config.log' for more details." >&2;}
23300 { (exit 77); exit 77; }; }
23301 else
23302 ac_cv_sizeof_size_t=0
23303 fi ;;
23304 esac
23305 else
23306 cat >conftest.$ac_ext <<_ACEOF
23307 /* confdefs.h. */
23308 _ACEOF
23309 cat confdefs.h >>conftest.$ac_ext
23310 cat >>conftest.$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23312 $ac_includes_default
23313 typedef size_t ac__type_sizeof_;
23314 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23315 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23316 #include <stdio.h>
23317 #include <stdlib.h>
23318 int
23319 main ()
23320 {
23321
23322 FILE *f = fopen ("conftest.val", "w");
23323 if (! f)
23324 return 1;
23325 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23326 {
23327 long int i = longval ();
23328 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23329 return 1;
23330 fprintf (f, "%ld\n", i);
23331 }
23332 else
23333 {
23334 unsigned long int i = ulongval ();
23335 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23336 return 1;
23337 fprintf (f, "%lu\n", i);
23338 }
23339 return ferror (f) || fclose (f) != 0;
23340
23341 ;
23342 return 0;
23343 }
23344 _ACEOF
23345 rm -f conftest$ac_exeext
23346 if { (ac_try="$ac_link"
23347 case "(($ac_try" in
23348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23349 *) ac_try_echo=$ac_try;;
23350 esac
23351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23352 (eval "$ac_link") 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23356 { (case "(($ac_try" in
23357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23358 *) ac_try_echo=$ac_try;;
23359 esac
23360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23361 (eval "$ac_try") 2>&5
23362 ac_status=$?
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); }; }; then
23365 ac_cv_sizeof_size_t=`cat conftest.val`
23366 else
23367 echo "$as_me: program exited with status $ac_status" >&5
23368 echo "$as_me: failed program was:" >&5
23369 sed 's/^/| /' conftest.$ac_ext >&5
23370
23371 ( exit $ac_status )
23372 if test "$ac_cv_type_size_t" = yes; then
23373 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23374 See \`config.log' for more details." >&5
23375 echo "$as_me: error: cannot compute sizeof (size_t)
23376 See \`config.log' for more details." >&2;}
23377 { (exit 77); exit 77; }; }
23378 else
23379 ac_cv_sizeof_size_t=0
23380 fi
23381 fi
23382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23383 fi
23384 rm -f conftest.val
23385 fi
23386 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23387 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23388
23389
23390
23391 cat >>confdefs.h <<_ACEOF
23392 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23393 _ACEOF
23394
23395
23396
23397 case "${host}" in
23398 arm-*-linux* )
23399 { echo "$as_me:$LINENO: checking for long long" >&5
23400 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23401 if test "${ac_cv_type_long_long+set}" = set; then
23402 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 else
23404 cat >conftest.$ac_ext <<_ACEOF
23405 /* confdefs.h. */
23406 _ACEOF
23407 cat confdefs.h >>conftest.$ac_ext
23408 cat >>conftest.$ac_ext <<_ACEOF
23409 /* end confdefs.h. */
23410 $ac_includes_default
23411 typedef long long ac__type_new_;
23412 int
23413 main ()
23414 {
23415 if ((ac__type_new_ *) 0)
23416 return 0;
23417 if (sizeof (ac__type_new_))
23418 return 0;
23419 ;
23420 return 0;
23421 }
23422 _ACEOF
23423 rm -f conftest.$ac_objext
23424 if { (ac_try="$ac_compile"
23425 case "(($ac_try" in
23426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23427 *) ac_try_echo=$ac_try;;
23428 esac
23429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23430 (eval "$ac_compile") 2>conftest.er1
23431 ac_status=$?
23432 grep -v '^ *+' conftest.er1 >conftest.err
23433 rm -f conftest.er1
23434 cat conftest.err >&5
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); } && {
23437 test -z "$ac_c_werror_flag" ||
23438 test ! -s conftest.err
23439 } && test -s conftest.$ac_objext; then
23440 ac_cv_type_long_long=yes
23441 else
23442 echo "$as_me: failed program was:" >&5
23443 sed 's/^/| /' conftest.$ac_ext >&5
23444
23445 ac_cv_type_long_long=no
23446 fi
23447
23448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23449 fi
23450 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23451 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23452
23453 # The cast to long int works around a bug in the HP C Compiler
23454 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23455 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23456 # This bug is HP SR number 8606223364.
23457 { echo "$as_me:$LINENO: checking size of long long" >&5
23458 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23459 if test "${ac_cv_sizeof_long_long+set}" = set; then
23460 echo $ECHO_N "(cached) $ECHO_C" >&6
23461 else
23462 if test "$cross_compiling" = yes; then
23463 # Depending upon the size, compute the lo and hi bounds.
23464 cat >conftest.$ac_ext <<_ACEOF
23465 /* confdefs.h. */
23466 _ACEOF
23467 cat confdefs.h >>conftest.$ac_ext
23468 cat >>conftest.$ac_ext <<_ACEOF
23469 /* end confdefs.h. */
23470 $ac_includes_default
23471 typedef long long ac__type_sizeof_;
23472 int
23473 main ()
23474 {
23475 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23476 test_array [0] = 0
23477
23478 ;
23479 return 0;
23480 }
23481 _ACEOF
23482 rm -f conftest.$ac_objext
23483 if { (ac_try="$ac_compile"
23484 case "(($ac_try" in
23485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23486 *) ac_try_echo=$ac_try;;
23487 esac
23488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23489 (eval "$ac_compile") 2>conftest.er1
23490 ac_status=$?
23491 grep -v '^ *+' conftest.er1 >conftest.err
23492 rm -f conftest.er1
23493 cat conftest.err >&5
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); } && {
23496 test -z "$ac_c_werror_flag" ||
23497 test ! -s conftest.err
23498 } && test -s conftest.$ac_objext; then
23499 ac_lo=0 ac_mid=0
23500 while :; do
23501 cat >conftest.$ac_ext <<_ACEOF
23502 /* confdefs.h. */
23503 _ACEOF
23504 cat confdefs.h >>conftest.$ac_ext
23505 cat >>conftest.$ac_ext <<_ACEOF
23506 /* end confdefs.h. */
23507 $ac_includes_default
23508 typedef long long ac__type_sizeof_;
23509 int
23510 main ()
23511 {
23512 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23513 test_array [0] = 0
23514
23515 ;
23516 return 0;
23517 }
23518 _ACEOF
23519 rm -f conftest.$ac_objext
23520 if { (ac_try="$ac_compile"
23521 case "(($ac_try" in
23522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23523 *) ac_try_echo=$ac_try;;
23524 esac
23525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23526 (eval "$ac_compile") 2>conftest.er1
23527 ac_status=$?
23528 grep -v '^ *+' conftest.er1 >conftest.err
23529 rm -f conftest.er1
23530 cat conftest.err >&5
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); } && {
23533 test -z "$ac_c_werror_flag" ||
23534 test ! -s conftest.err
23535 } && test -s conftest.$ac_objext; then
23536 ac_hi=$ac_mid; break
23537 else
23538 echo "$as_me: failed program was:" >&5
23539 sed 's/^/| /' conftest.$ac_ext >&5
23540
23541 ac_lo=`expr $ac_mid + 1`
23542 if test $ac_lo -le $ac_mid; then
23543 ac_lo= ac_hi=
23544 break
23545 fi
23546 ac_mid=`expr 2 '*' $ac_mid + 1`
23547 fi
23548
23549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23550 done
23551 else
23552 echo "$as_me: failed program was:" >&5
23553 sed 's/^/| /' conftest.$ac_ext >&5
23554
23555 cat >conftest.$ac_ext <<_ACEOF
23556 /* confdefs.h. */
23557 _ACEOF
23558 cat confdefs.h >>conftest.$ac_ext
23559 cat >>conftest.$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23561 $ac_includes_default
23562 typedef long long ac__type_sizeof_;
23563 int
23564 main ()
23565 {
23566 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23567 test_array [0] = 0
23568
23569 ;
23570 return 0;
23571 }
23572 _ACEOF
23573 rm -f conftest.$ac_objext
23574 if { (ac_try="$ac_compile"
23575 case "(($ac_try" in
23576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23577 *) ac_try_echo=$ac_try;;
23578 esac
23579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23580 (eval "$ac_compile") 2>conftest.er1
23581 ac_status=$?
23582 grep -v '^ *+' conftest.er1 >conftest.err
23583 rm -f conftest.er1
23584 cat conftest.err >&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); } && {
23587 test -z "$ac_c_werror_flag" ||
23588 test ! -s conftest.err
23589 } && test -s conftest.$ac_objext; then
23590 ac_hi=-1 ac_mid=-1
23591 while :; do
23592 cat >conftest.$ac_ext <<_ACEOF
23593 /* confdefs.h. */
23594 _ACEOF
23595 cat confdefs.h >>conftest.$ac_ext
23596 cat >>conftest.$ac_ext <<_ACEOF
23597 /* end confdefs.h. */
23598 $ac_includes_default
23599 typedef long long ac__type_sizeof_;
23600 int
23601 main ()
23602 {
23603 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23604 test_array [0] = 0
23605
23606 ;
23607 return 0;
23608 }
23609 _ACEOF
23610 rm -f conftest.$ac_objext
23611 if { (ac_try="$ac_compile"
23612 case "(($ac_try" in
23613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23614 *) ac_try_echo=$ac_try;;
23615 esac
23616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23617 (eval "$ac_compile") 2>conftest.er1
23618 ac_status=$?
23619 grep -v '^ *+' conftest.er1 >conftest.err
23620 rm -f conftest.er1
23621 cat conftest.err >&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); } && {
23624 test -z "$ac_c_werror_flag" ||
23625 test ! -s conftest.err
23626 } && test -s conftest.$ac_objext; then
23627 ac_lo=$ac_mid; break
23628 else
23629 echo "$as_me: failed program was:" >&5
23630 sed 's/^/| /' conftest.$ac_ext >&5
23631
23632 ac_hi=`expr '(' $ac_mid ')' - 1`
23633 if test $ac_mid -le $ac_hi; then
23634 ac_lo= ac_hi=
23635 break
23636 fi
23637 ac_mid=`expr 2 '*' $ac_mid`
23638 fi
23639
23640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23641 done
23642 else
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.$ac_ext >&5
23645
23646 ac_lo= ac_hi=
23647 fi
23648
23649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23650 fi
23651
23652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23653 # Binary search between lo and hi bounds.
23654 while test "x$ac_lo" != "x$ac_hi"; do
23655 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23656 cat >conftest.$ac_ext <<_ACEOF
23657 /* confdefs.h. */
23658 _ACEOF
23659 cat confdefs.h >>conftest.$ac_ext
23660 cat >>conftest.$ac_ext <<_ACEOF
23661 /* end confdefs.h. */
23662 $ac_includes_default
23663 typedef long long ac__type_sizeof_;
23664 int
23665 main ()
23666 {
23667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23668 test_array [0] = 0
23669
23670 ;
23671 return 0;
23672 }
23673 _ACEOF
23674 rm -f conftest.$ac_objext
23675 if { (ac_try="$ac_compile"
23676 case "(($ac_try" in
23677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23678 *) ac_try_echo=$ac_try;;
23679 esac
23680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23681 (eval "$ac_compile") 2>conftest.er1
23682 ac_status=$?
23683 grep -v '^ *+' conftest.er1 >conftest.err
23684 rm -f conftest.er1
23685 cat conftest.err >&5
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); } && {
23688 test -z "$ac_c_werror_flag" ||
23689 test ! -s conftest.err
23690 } && test -s conftest.$ac_objext; then
23691 ac_hi=$ac_mid
23692 else
23693 echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.$ac_ext >&5
23695
23696 ac_lo=`expr '(' $ac_mid ')' + 1`
23697 fi
23698
23699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23700 done
23701 case $ac_lo in
23702 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23703 '') if test "$ac_cv_type_long_long" = yes; then
23704 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23705 See \`config.log' for more details." >&5
23706 echo "$as_me: error: cannot compute sizeof (long long)
23707 See \`config.log' for more details." >&2;}
23708 { (exit 77); exit 77; }; }
23709 else
23710 ac_cv_sizeof_long_long=0
23711 fi ;;
23712 esac
23713 else
23714 cat >conftest.$ac_ext <<_ACEOF
23715 /* confdefs.h. */
23716 _ACEOF
23717 cat confdefs.h >>conftest.$ac_ext
23718 cat >>conftest.$ac_ext <<_ACEOF
23719 /* end confdefs.h. */
23720 $ac_includes_default
23721 typedef long long ac__type_sizeof_;
23722 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23723 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23724 #include <stdio.h>
23725 #include <stdlib.h>
23726 int
23727 main ()
23728 {
23729
23730 FILE *f = fopen ("conftest.val", "w");
23731 if (! f)
23732 return 1;
23733 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23734 {
23735 long int i = longval ();
23736 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23737 return 1;
23738 fprintf (f, "%ld\n", i);
23739 }
23740 else
23741 {
23742 unsigned long int i = ulongval ();
23743 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23744 return 1;
23745 fprintf (f, "%lu\n", i);
23746 }
23747 return ferror (f) || fclose (f) != 0;
23748
23749 ;
23750 return 0;
23751 }
23752 _ACEOF
23753 rm -f conftest$ac_exeext
23754 if { (ac_try="$ac_link"
23755 case "(($ac_try" in
23756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23757 *) ac_try_echo=$ac_try;;
23758 esac
23759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23760 (eval "$ac_link") 2>&5
23761 ac_status=$?
23762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23764 { (case "(($ac_try" in
23765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23766 *) ac_try_echo=$ac_try;;
23767 esac
23768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23769 (eval "$ac_try") 2>&5
23770 ac_status=$?
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; }; then
23773 ac_cv_sizeof_long_long=`cat conftest.val`
23774 else
23775 echo "$as_me: program exited with status $ac_status" >&5
23776 echo "$as_me: failed program was:" >&5
23777 sed 's/^/| /' conftest.$ac_ext >&5
23778
23779 ( exit $ac_status )
23780 if test "$ac_cv_type_long_long" = yes; then
23781 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23782 See \`config.log' for more details." >&5
23783 echo "$as_me: error: cannot compute sizeof (long long)
23784 See \`config.log' for more details." >&2;}
23785 { (exit 77); exit 77; }; }
23786 else
23787 ac_cv_sizeof_long_long=0
23788 fi
23789 fi
23790 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23791 fi
23792 rm -f conftest.val
23793 fi
23794 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23795 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23796
23797
23798
23799 cat >>confdefs.h <<_ACEOF
23800 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23801 _ACEOF
23802
23803
23804 ;;
23805 *-hp-hpux* )
23806 { echo "$as_me:$LINENO: checking for long long" >&5
23807 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23808 if test "${ac_cv_type_long_long+set}" = set; then
23809 echo $ECHO_N "(cached) $ECHO_C" >&6
23810 else
23811 cat >conftest.$ac_ext <<_ACEOF
23812 /* confdefs.h. */
23813 _ACEOF
23814 cat confdefs.h >>conftest.$ac_ext
23815 cat >>conftest.$ac_ext <<_ACEOF
23816 /* end confdefs.h. */
23817 $ac_includes_default
23818 typedef long long ac__type_new_;
23819 int
23820 main ()
23821 {
23822 if ((ac__type_new_ *) 0)
23823 return 0;
23824 if (sizeof (ac__type_new_))
23825 return 0;
23826 ;
23827 return 0;
23828 }
23829 _ACEOF
23830 rm -f conftest.$ac_objext
23831 if { (ac_try="$ac_compile"
23832 case "(($ac_try" in
23833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23834 *) ac_try_echo=$ac_try;;
23835 esac
23836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23837 (eval "$ac_compile") 2>conftest.er1
23838 ac_status=$?
23839 grep -v '^ *+' conftest.er1 >conftest.err
23840 rm -f conftest.er1
23841 cat conftest.err >&5
23842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23843 (exit $ac_status); } && {
23844 test -z "$ac_c_werror_flag" ||
23845 test ! -s conftest.err
23846 } && test -s conftest.$ac_objext; then
23847 ac_cv_type_long_long=yes
23848 else
23849 echo "$as_me: failed program was:" >&5
23850 sed 's/^/| /' conftest.$ac_ext >&5
23851
23852 ac_cv_type_long_long=no
23853 fi
23854
23855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23856 fi
23857 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23858 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23859
23860 # The cast to long int works around a bug in the HP C Compiler
23861 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23862 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23863 # This bug is HP SR number 8606223364.
23864 { echo "$as_me:$LINENO: checking size of long long" >&5
23865 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23866 if test "${ac_cv_sizeof_long_long+set}" = set; then
23867 echo $ECHO_N "(cached) $ECHO_C" >&6
23868 else
23869 if test "$cross_compiling" = yes; then
23870 # Depending upon the size, compute the lo and hi bounds.
23871 cat >conftest.$ac_ext <<_ACEOF
23872 /* confdefs.h. */
23873 _ACEOF
23874 cat confdefs.h >>conftest.$ac_ext
23875 cat >>conftest.$ac_ext <<_ACEOF
23876 /* end confdefs.h. */
23877 $ac_includes_default
23878 typedef long long ac__type_sizeof_;
23879 int
23880 main ()
23881 {
23882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23883 test_array [0] = 0
23884
23885 ;
23886 return 0;
23887 }
23888 _ACEOF
23889 rm -f conftest.$ac_objext
23890 if { (ac_try="$ac_compile"
23891 case "(($ac_try" in
23892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23893 *) ac_try_echo=$ac_try;;
23894 esac
23895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23896 (eval "$ac_compile") 2>conftest.er1
23897 ac_status=$?
23898 grep -v '^ *+' conftest.er1 >conftest.err
23899 rm -f conftest.er1
23900 cat conftest.err >&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } && {
23903 test -z "$ac_c_werror_flag" ||
23904 test ! -s conftest.err
23905 } && test -s conftest.$ac_objext; then
23906 ac_lo=0 ac_mid=0
23907 while :; do
23908 cat >conftest.$ac_ext <<_ACEOF
23909 /* confdefs.h. */
23910 _ACEOF
23911 cat confdefs.h >>conftest.$ac_ext
23912 cat >>conftest.$ac_ext <<_ACEOF
23913 /* end confdefs.h. */
23914 $ac_includes_default
23915 typedef long long ac__type_sizeof_;
23916 int
23917 main ()
23918 {
23919 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23920 test_array [0] = 0
23921
23922 ;
23923 return 0;
23924 }
23925 _ACEOF
23926 rm -f conftest.$ac_objext
23927 if { (ac_try="$ac_compile"
23928 case "(($ac_try" in
23929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23930 *) ac_try_echo=$ac_try;;
23931 esac
23932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23933 (eval "$ac_compile") 2>conftest.er1
23934 ac_status=$?
23935 grep -v '^ *+' conftest.er1 >conftest.err
23936 rm -f conftest.er1
23937 cat conftest.err >&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); } && {
23940 test -z "$ac_c_werror_flag" ||
23941 test ! -s conftest.err
23942 } && test -s conftest.$ac_objext; then
23943 ac_hi=$ac_mid; break
23944 else
23945 echo "$as_me: failed program was:" >&5
23946 sed 's/^/| /' conftest.$ac_ext >&5
23947
23948 ac_lo=`expr $ac_mid + 1`
23949 if test $ac_lo -le $ac_mid; then
23950 ac_lo= ac_hi=
23951 break
23952 fi
23953 ac_mid=`expr 2 '*' $ac_mid + 1`
23954 fi
23955
23956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23957 done
23958 else
23959 echo "$as_me: failed program was:" >&5
23960 sed 's/^/| /' conftest.$ac_ext >&5
23961
23962 cat >conftest.$ac_ext <<_ACEOF
23963 /* confdefs.h. */
23964 _ACEOF
23965 cat confdefs.h >>conftest.$ac_ext
23966 cat >>conftest.$ac_ext <<_ACEOF
23967 /* end confdefs.h. */
23968 $ac_includes_default
23969 typedef long long ac__type_sizeof_;
23970 int
23971 main ()
23972 {
23973 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23974 test_array [0] = 0
23975
23976 ;
23977 return 0;
23978 }
23979 _ACEOF
23980 rm -f conftest.$ac_objext
23981 if { (ac_try="$ac_compile"
23982 case "(($ac_try" in
23983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23984 *) ac_try_echo=$ac_try;;
23985 esac
23986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23987 (eval "$ac_compile") 2>conftest.er1
23988 ac_status=$?
23989 grep -v '^ *+' conftest.er1 >conftest.err
23990 rm -f conftest.er1
23991 cat conftest.err >&5
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); } && {
23994 test -z "$ac_c_werror_flag" ||
23995 test ! -s conftest.err
23996 } && test -s conftest.$ac_objext; then
23997 ac_hi=-1 ac_mid=-1
23998 while :; do
23999 cat >conftest.$ac_ext <<_ACEOF
24000 /* confdefs.h. */
24001 _ACEOF
24002 cat confdefs.h >>conftest.$ac_ext
24003 cat >>conftest.$ac_ext <<_ACEOF
24004 /* end confdefs.h. */
24005 $ac_includes_default
24006 typedef long long ac__type_sizeof_;
24007 int
24008 main ()
24009 {
24010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24011 test_array [0] = 0
24012
24013 ;
24014 return 0;
24015 }
24016 _ACEOF
24017 rm -f conftest.$ac_objext
24018 if { (ac_try="$ac_compile"
24019 case "(($ac_try" in
24020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24021 *) ac_try_echo=$ac_try;;
24022 esac
24023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24024 (eval "$ac_compile") 2>conftest.er1
24025 ac_status=$?
24026 grep -v '^ *+' conftest.er1 >conftest.err
24027 rm -f conftest.er1
24028 cat conftest.err >&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); } && {
24031 test -z "$ac_c_werror_flag" ||
24032 test ! -s conftest.err
24033 } && test -s conftest.$ac_objext; then
24034 ac_lo=$ac_mid; break
24035 else
24036 echo "$as_me: failed program was:" >&5
24037 sed 's/^/| /' conftest.$ac_ext >&5
24038
24039 ac_hi=`expr '(' $ac_mid ')' - 1`
24040 if test $ac_mid -le $ac_hi; then
24041 ac_lo= ac_hi=
24042 break
24043 fi
24044 ac_mid=`expr 2 '*' $ac_mid`
24045 fi
24046
24047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24048 done
24049 else
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.$ac_ext >&5
24052
24053 ac_lo= ac_hi=
24054 fi
24055
24056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24057 fi
24058
24059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24060 # Binary search between lo and hi bounds.
24061 while test "x$ac_lo" != "x$ac_hi"; do
24062 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24063 cat >conftest.$ac_ext <<_ACEOF
24064 /* confdefs.h. */
24065 _ACEOF
24066 cat confdefs.h >>conftest.$ac_ext
24067 cat >>conftest.$ac_ext <<_ACEOF
24068 /* end confdefs.h. */
24069 $ac_includes_default
24070 typedef long long ac__type_sizeof_;
24071 int
24072 main ()
24073 {
24074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24075 test_array [0] = 0
24076
24077 ;
24078 return 0;
24079 }
24080 _ACEOF
24081 rm -f conftest.$ac_objext
24082 if { (ac_try="$ac_compile"
24083 case "(($ac_try" in
24084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24085 *) ac_try_echo=$ac_try;;
24086 esac
24087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24088 (eval "$ac_compile") 2>conftest.er1
24089 ac_status=$?
24090 grep -v '^ *+' conftest.er1 >conftest.err
24091 rm -f conftest.er1
24092 cat conftest.err >&5
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); } && {
24095 test -z "$ac_c_werror_flag" ||
24096 test ! -s conftest.err
24097 } && test -s conftest.$ac_objext; then
24098 ac_hi=$ac_mid
24099 else
24100 echo "$as_me: failed program was:" >&5
24101 sed 's/^/| /' conftest.$ac_ext >&5
24102
24103 ac_lo=`expr '(' $ac_mid ')' + 1`
24104 fi
24105
24106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24107 done
24108 case $ac_lo in
24109 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24110 '') if test "$ac_cv_type_long_long" = yes; then
24111 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24112 See \`config.log' for more details." >&5
24113 echo "$as_me: error: cannot compute sizeof (long long)
24114 See \`config.log' for more details." >&2;}
24115 { (exit 77); exit 77; }; }
24116 else
24117 ac_cv_sizeof_long_long=0
24118 fi ;;
24119 esac
24120 else
24121 cat >conftest.$ac_ext <<_ACEOF
24122 /* confdefs.h. */
24123 _ACEOF
24124 cat confdefs.h >>conftest.$ac_ext
24125 cat >>conftest.$ac_ext <<_ACEOF
24126 /* end confdefs.h. */
24127 $ac_includes_default
24128 typedef long long ac__type_sizeof_;
24129 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24130 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24131 #include <stdio.h>
24132 #include <stdlib.h>
24133 int
24134 main ()
24135 {
24136
24137 FILE *f = fopen ("conftest.val", "w");
24138 if (! f)
24139 return 1;
24140 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24141 {
24142 long int i = longval ();
24143 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24144 return 1;
24145 fprintf (f, "%ld\n", i);
24146 }
24147 else
24148 {
24149 unsigned long int i = ulongval ();
24150 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24151 return 1;
24152 fprintf (f, "%lu\n", i);
24153 }
24154 return ferror (f) || fclose (f) != 0;
24155
24156 ;
24157 return 0;
24158 }
24159 _ACEOF
24160 rm -f conftest$ac_exeext
24161 if { (ac_try="$ac_link"
24162 case "(($ac_try" in
24163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24164 *) ac_try_echo=$ac_try;;
24165 esac
24166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24167 (eval "$ac_link") 2>&5
24168 ac_status=$?
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24171 { (case "(($ac_try" in
24172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24173 *) ac_try_echo=$ac_try;;
24174 esac
24175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24176 (eval "$ac_try") 2>&5
24177 ac_status=$?
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); }; }; then
24180 ac_cv_sizeof_long_long=`cat conftest.val`
24181 else
24182 echo "$as_me: program exited with status $ac_status" >&5
24183 echo "$as_me: failed program was:" >&5
24184 sed 's/^/| /' conftest.$ac_ext >&5
24185
24186 ( exit $ac_status )
24187 if test "$ac_cv_type_long_long" = yes; then
24188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24189 See \`config.log' for more details." >&5
24190 echo "$as_me: error: cannot compute sizeof (long long)
24191 See \`config.log' for more details." >&2;}
24192 { (exit 77); exit 77; }; }
24193 else
24194 ac_cv_sizeof_long_long=0
24195 fi
24196 fi
24197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24198 fi
24199 rm -f conftest.val
24200 fi
24201 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24202 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24203
24204
24205
24206 cat >>confdefs.h <<_ACEOF
24207 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24208 _ACEOF
24209
24210
24211 if test "$ac_cv_sizeof_long_long" != "0"; then
24212 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24213 fi
24214 ;;
24215 * )
24216 { echo "$as_me:$LINENO: checking for long long" >&5
24217 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24218 if test "${ac_cv_type_long_long+set}" = set; then
24219 echo $ECHO_N "(cached) $ECHO_C" >&6
24220 else
24221 cat >conftest.$ac_ext <<_ACEOF
24222 /* confdefs.h. */
24223 _ACEOF
24224 cat confdefs.h >>conftest.$ac_ext
24225 cat >>conftest.$ac_ext <<_ACEOF
24226 /* end confdefs.h. */
24227 $ac_includes_default
24228 typedef long long ac__type_new_;
24229 int
24230 main ()
24231 {
24232 if ((ac__type_new_ *) 0)
24233 return 0;
24234 if (sizeof (ac__type_new_))
24235 return 0;
24236 ;
24237 return 0;
24238 }
24239 _ACEOF
24240 rm -f conftest.$ac_objext
24241 if { (ac_try="$ac_compile"
24242 case "(($ac_try" in
24243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24244 *) ac_try_echo=$ac_try;;
24245 esac
24246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24247 (eval "$ac_compile") 2>conftest.er1
24248 ac_status=$?
24249 grep -v '^ *+' conftest.er1 >conftest.err
24250 rm -f conftest.er1
24251 cat conftest.err >&5
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); } && {
24254 test -z "$ac_c_werror_flag" ||
24255 test ! -s conftest.err
24256 } && test -s conftest.$ac_objext; then
24257 ac_cv_type_long_long=yes
24258 else
24259 echo "$as_me: failed program was:" >&5
24260 sed 's/^/| /' conftest.$ac_ext >&5
24261
24262 ac_cv_type_long_long=no
24263 fi
24264
24265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24266 fi
24267 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24268 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24269
24270 # The cast to long int works around a bug in the HP C Compiler
24271 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24272 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24273 # This bug is HP SR number 8606223364.
24274 { echo "$as_me:$LINENO: checking size of long long" >&5
24275 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24276 if test "${ac_cv_sizeof_long_long+set}" = set; then
24277 echo $ECHO_N "(cached) $ECHO_C" >&6
24278 else
24279 if test "$cross_compiling" = yes; then
24280 # Depending upon the size, compute the lo and hi bounds.
24281 cat >conftest.$ac_ext <<_ACEOF
24282 /* confdefs.h. */
24283 _ACEOF
24284 cat confdefs.h >>conftest.$ac_ext
24285 cat >>conftest.$ac_ext <<_ACEOF
24286 /* end confdefs.h. */
24287 $ac_includes_default
24288 typedef long long ac__type_sizeof_;
24289 int
24290 main ()
24291 {
24292 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24293 test_array [0] = 0
24294
24295 ;
24296 return 0;
24297 }
24298 _ACEOF
24299 rm -f conftest.$ac_objext
24300 if { (ac_try="$ac_compile"
24301 case "(($ac_try" in
24302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24303 *) ac_try_echo=$ac_try;;
24304 esac
24305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24306 (eval "$ac_compile") 2>conftest.er1
24307 ac_status=$?
24308 grep -v '^ *+' conftest.er1 >conftest.err
24309 rm -f conftest.er1
24310 cat conftest.err >&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); } && {
24313 test -z "$ac_c_werror_flag" ||
24314 test ! -s conftest.err
24315 } && test -s conftest.$ac_objext; then
24316 ac_lo=0 ac_mid=0
24317 while :; do
24318 cat >conftest.$ac_ext <<_ACEOF
24319 /* confdefs.h. */
24320 _ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 $ac_includes_default
24325 typedef long long ac__type_sizeof_;
24326 int
24327 main ()
24328 {
24329 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24330 test_array [0] = 0
24331
24332 ;
24333 return 0;
24334 }
24335 _ACEOF
24336 rm -f conftest.$ac_objext
24337 if { (ac_try="$ac_compile"
24338 case "(($ac_try" in
24339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24340 *) ac_try_echo=$ac_try;;
24341 esac
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343 (eval "$ac_compile") 2>conftest.er1
24344 ac_status=$?
24345 grep -v '^ *+' conftest.er1 >conftest.err
24346 rm -f conftest.er1
24347 cat conftest.err >&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } && {
24350 test -z "$ac_c_werror_flag" ||
24351 test ! -s conftest.err
24352 } && test -s conftest.$ac_objext; then
24353 ac_hi=$ac_mid; break
24354 else
24355 echo "$as_me: failed program was:" >&5
24356 sed 's/^/| /' conftest.$ac_ext >&5
24357
24358 ac_lo=`expr $ac_mid + 1`
24359 if test $ac_lo -le $ac_mid; then
24360 ac_lo= ac_hi=
24361 break
24362 fi
24363 ac_mid=`expr 2 '*' $ac_mid + 1`
24364 fi
24365
24366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24367 done
24368 else
24369 echo "$as_me: failed program was:" >&5
24370 sed 's/^/| /' conftest.$ac_ext >&5
24371
24372 cat >conftest.$ac_ext <<_ACEOF
24373 /* confdefs.h. */
24374 _ACEOF
24375 cat confdefs.h >>conftest.$ac_ext
24376 cat >>conftest.$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24378 $ac_includes_default
24379 typedef long long ac__type_sizeof_;
24380 int
24381 main ()
24382 {
24383 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24384 test_array [0] = 0
24385
24386 ;
24387 return 0;
24388 }
24389 _ACEOF
24390 rm -f conftest.$ac_objext
24391 if { (ac_try="$ac_compile"
24392 case "(($ac_try" in
24393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24394 *) ac_try_echo=$ac_try;;
24395 esac
24396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24397 (eval "$ac_compile") 2>conftest.er1
24398 ac_status=$?
24399 grep -v '^ *+' conftest.er1 >conftest.err
24400 rm -f conftest.er1
24401 cat conftest.err >&5
24402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403 (exit $ac_status); } && {
24404 test -z "$ac_c_werror_flag" ||
24405 test ! -s conftest.err
24406 } && test -s conftest.$ac_objext; then
24407 ac_hi=-1 ac_mid=-1
24408 while :; do
24409 cat >conftest.$ac_ext <<_ACEOF
24410 /* confdefs.h. */
24411 _ACEOF
24412 cat confdefs.h >>conftest.$ac_ext
24413 cat >>conftest.$ac_ext <<_ACEOF
24414 /* end confdefs.h. */
24415 $ac_includes_default
24416 typedef long long ac__type_sizeof_;
24417 int
24418 main ()
24419 {
24420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24421 test_array [0] = 0
24422
24423 ;
24424 return 0;
24425 }
24426 _ACEOF
24427 rm -f conftest.$ac_objext
24428 if { (ac_try="$ac_compile"
24429 case "(($ac_try" in
24430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24431 *) ac_try_echo=$ac_try;;
24432 esac
24433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24434 (eval "$ac_compile") 2>conftest.er1
24435 ac_status=$?
24436 grep -v '^ *+' conftest.er1 >conftest.err
24437 rm -f conftest.er1
24438 cat conftest.err >&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } && {
24441 test -z "$ac_c_werror_flag" ||
24442 test ! -s conftest.err
24443 } && test -s conftest.$ac_objext; then
24444 ac_lo=$ac_mid; break
24445 else
24446 echo "$as_me: failed program was:" >&5
24447 sed 's/^/| /' conftest.$ac_ext >&5
24448
24449 ac_hi=`expr '(' $ac_mid ')' - 1`
24450 if test $ac_mid -le $ac_hi; then
24451 ac_lo= ac_hi=
24452 break
24453 fi
24454 ac_mid=`expr 2 '*' $ac_mid`
24455 fi
24456
24457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24458 done
24459 else
24460 echo "$as_me: failed program was:" >&5
24461 sed 's/^/| /' conftest.$ac_ext >&5
24462
24463 ac_lo= ac_hi=
24464 fi
24465
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 fi
24468
24469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24470 # Binary search between lo and hi bounds.
24471 while test "x$ac_lo" != "x$ac_hi"; do
24472 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24473 cat >conftest.$ac_ext <<_ACEOF
24474 /* confdefs.h. */
24475 _ACEOF
24476 cat confdefs.h >>conftest.$ac_ext
24477 cat >>conftest.$ac_ext <<_ACEOF
24478 /* end confdefs.h. */
24479 $ac_includes_default
24480 typedef long long ac__type_sizeof_;
24481 int
24482 main ()
24483 {
24484 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24485 test_array [0] = 0
24486
24487 ;
24488 return 0;
24489 }
24490 _ACEOF
24491 rm -f conftest.$ac_objext
24492 if { (ac_try="$ac_compile"
24493 case "(($ac_try" in
24494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24495 *) ac_try_echo=$ac_try;;
24496 esac
24497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24498 (eval "$ac_compile") 2>conftest.er1
24499 ac_status=$?
24500 grep -v '^ *+' conftest.er1 >conftest.err
24501 rm -f conftest.er1
24502 cat conftest.err >&5
24503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24504 (exit $ac_status); } && {
24505 test -z "$ac_c_werror_flag" ||
24506 test ! -s conftest.err
24507 } && test -s conftest.$ac_objext; then
24508 ac_hi=$ac_mid
24509 else
24510 echo "$as_me: failed program was:" >&5
24511 sed 's/^/| /' conftest.$ac_ext >&5
24512
24513 ac_lo=`expr '(' $ac_mid ')' + 1`
24514 fi
24515
24516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24517 done
24518 case $ac_lo in
24519 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24520 '') if test "$ac_cv_type_long_long" = yes; then
24521 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24522 See \`config.log' for more details." >&5
24523 echo "$as_me: error: cannot compute sizeof (long long)
24524 See \`config.log' for more details." >&2;}
24525 { (exit 77); exit 77; }; }
24526 else
24527 ac_cv_sizeof_long_long=0
24528 fi ;;
24529 esac
24530 else
24531 cat >conftest.$ac_ext <<_ACEOF
24532 /* confdefs.h. */
24533 _ACEOF
24534 cat confdefs.h >>conftest.$ac_ext
24535 cat >>conftest.$ac_ext <<_ACEOF
24536 /* end confdefs.h. */
24537 $ac_includes_default
24538 typedef long long ac__type_sizeof_;
24539 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24540 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24541 #include <stdio.h>
24542 #include <stdlib.h>
24543 int
24544 main ()
24545 {
24546
24547 FILE *f = fopen ("conftest.val", "w");
24548 if (! f)
24549 return 1;
24550 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24551 {
24552 long int i = longval ();
24553 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24554 return 1;
24555 fprintf (f, "%ld\n", i);
24556 }
24557 else
24558 {
24559 unsigned long int i = ulongval ();
24560 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24561 return 1;
24562 fprintf (f, "%lu\n", i);
24563 }
24564 return ferror (f) || fclose (f) != 0;
24565
24566 ;
24567 return 0;
24568 }
24569 _ACEOF
24570 rm -f conftest$ac_exeext
24571 if { (ac_try="$ac_link"
24572 case "(($ac_try" in
24573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24574 *) ac_try_echo=$ac_try;;
24575 esac
24576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24577 (eval "$ac_link") 2>&5
24578 ac_status=$?
24579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24581 { (case "(($ac_try" in
24582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24583 *) ac_try_echo=$ac_try;;
24584 esac
24585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24586 (eval "$ac_try") 2>&5
24587 ac_status=$?
24588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); }; }; then
24590 ac_cv_sizeof_long_long=`cat conftest.val`
24591 else
24592 echo "$as_me: program exited with status $ac_status" >&5
24593 echo "$as_me: failed program was:" >&5
24594 sed 's/^/| /' conftest.$ac_ext >&5
24595
24596 ( exit $ac_status )
24597 if test "$ac_cv_type_long_long" = yes; then
24598 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24599 See \`config.log' for more details." >&5
24600 echo "$as_me: error: cannot compute sizeof (long long)
24601 See \`config.log' for more details." >&2;}
24602 { (exit 77); exit 77; }; }
24603 else
24604 ac_cv_sizeof_long_long=0
24605 fi
24606 fi
24607 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24608 fi
24609 rm -f conftest.val
24610 fi
24611 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24612 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24613
24614
24615
24616 cat >>confdefs.h <<_ACEOF
24617 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24618 _ACEOF
24619
24620
24621 esac
24622
24623 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24624 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24625 if test "${ac_cv_type_wchar_t+set}" = set; then
24626 echo $ECHO_N "(cached) $ECHO_C" >&6
24627 else
24628 cat >conftest.$ac_ext <<_ACEOF
24629 /* confdefs.h. */
24630 _ACEOF
24631 cat confdefs.h >>conftest.$ac_ext
24632 cat >>conftest.$ac_ext <<_ACEOF
24633 /* end confdefs.h. */
24634
24635 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24636 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24637 # error "fake wchar_t"
24638 #endif
24639 #ifdef HAVE_WCHAR_H
24640 # ifdef __CYGWIN__
24641 # include <stddef.h>
24642 # endif
24643 # include <wchar.h>
24644 #endif
24645 #ifdef HAVE_STDLIB_H
24646 # include <stdlib.h>
24647 #endif
24648 #include <stdio.h>
24649
24650
24651
24652 typedef wchar_t ac__type_new_;
24653 int
24654 main ()
24655 {
24656 if ((ac__type_new_ *) 0)
24657 return 0;
24658 if (sizeof (ac__type_new_))
24659 return 0;
24660 ;
24661 return 0;
24662 }
24663 _ACEOF
24664 rm -f conftest.$ac_objext
24665 if { (ac_try="$ac_compile"
24666 case "(($ac_try" in
24667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24668 *) ac_try_echo=$ac_try;;
24669 esac
24670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24671 (eval "$ac_compile") 2>conftest.er1
24672 ac_status=$?
24673 grep -v '^ *+' conftest.er1 >conftest.err
24674 rm -f conftest.er1
24675 cat conftest.err >&5
24676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677 (exit $ac_status); } && {
24678 test -z "$ac_c_werror_flag" ||
24679 test ! -s conftest.err
24680 } && test -s conftest.$ac_objext; then
24681 ac_cv_type_wchar_t=yes
24682 else
24683 echo "$as_me: failed program was:" >&5
24684 sed 's/^/| /' conftest.$ac_ext >&5
24685
24686 ac_cv_type_wchar_t=no
24687 fi
24688
24689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24690 fi
24691 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24692 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24693
24694 # The cast to long int works around a bug in the HP C Compiler
24695 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24696 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24697 # This bug is HP SR number 8606223364.
24698 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24699 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24700 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24701 echo $ECHO_N "(cached) $ECHO_C" >&6
24702 else
24703 if test "$cross_compiling" = yes; then
24704 # Depending upon the size, compute the lo and hi bounds.
24705 cat >conftest.$ac_ext <<_ACEOF
24706 /* confdefs.h. */
24707 _ACEOF
24708 cat confdefs.h >>conftest.$ac_ext
24709 cat >>conftest.$ac_ext <<_ACEOF
24710 /* end confdefs.h. */
24711
24712 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24713 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24714 # error "fake wchar_t"
24715 #endif
24716 #ifdef HAVE_WCHAR_H
24717 # ifdef __CYGWIN__
24718 # include <stddef.h>
24719 # endif
24720 # include <wchar.h>
24721 #endif
24722 #ifdef HAVE_STDLIB_H
24723 # include <stdlib.h>
24724 #endif
24725 #include <stdio.h>
24726
24727
24728
24729 typedef wchar_t ac__type_sizeof_;
24730 int
24731 main ()
24732 {
24733 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24734 test_array [0] = 0
24735
24736 ;
24737 return 0;
24738 }
24739 _ACEOF
24740 rm -f conftest.$ac_objext
24741 if { (ac_try="$ac_compile"
24742 case "(($ac_try" in
24743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24744 *) ac_try_echo=$ac_try;;
24745 esac
24746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24747 (eval "$ac_compile") 2>conftest.er1
24748 ac_status=$?
24749 grep -v '^ *+' conftest.er1 >conftest.err
24750 rm -f conftest.er1
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } && {
24754 test -z "$ac_c_werror_flag" ||
24755 test ! -s conftest.err
24756 } && test -s conftest.$ac_objext; then
24757 ac_lo=0 ac_mid=0
24758 while :; do
24759 cat >conftest.$ac_ext <<_ACEOF
24760 /* confdefs.h. */
24761 _ACEOF
24762 cat confdefs.h >>conftest.$ac_ext
24763 cat >>conftest.$ac_ext <<_ACEOF
24764 /* end confdefs.h. */
24765
24766 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24767 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24768 # error "fake wchar_t"
24769 #endif
24770 #ifdef HAVE_WCHAR_H
24771 # ifdef __CYGWIN__
24772 # include <stddef.h>
24773 # endif
24774 # include <wchar.h>
24775 #endif
24776 #ifdef HAVE_STDLIB_H
24777 # include <stdlib.h>
24778 #endif
24779 #include <stdio.h>
24780
24781
24782
24783 typedef wchar_t ac__type_sizeof_;
24784 int
24785 main ()
24786 {
24787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24788 test_array [0] = 0
24789
24790 ;
24791 return 0;
24792 }
24793 _ACEOF
24794 rm -f conftest.$ac_objext
24795 if { (ac_try="$ac_compile"
24796 case "(($ac_try" in
24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24798 *) ac_try_echo=$ac_try;;
24799 esac
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24801 (eval "$ac_compile") 2>conftest.er1
24802 ac_status=$?
24803 grep -v '^ *+' conftest.er1 >conftest.err
24804 rm -f conftest.er1
24805 cat conftest.err >&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } && {
24808 test -z "$ac_c_werror_flag" ||
24809 test ! -s conftest.err
24810 } && test -s conftest.$ac_objext; then
24811 ac_hi=$ac_mid; break
24812 else
24813 echo "$as_me: failed program was:" >&5
24814 sed 's/^/| /' conftest.$ac_ext >&5
24815
24816 ac_lo=`expr $ac_mid + 1`
24817 if test $ac_lo -le $ac_mid; then
24818 ac_lo= ac_hi=
24819 break
24820 fi
24821 ac_mid=`expr 2 '*' $ac_mid + 1`
24822 fi
24823
24824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24825 done
24826 else
24827 echo "$as_me: failed program was:" >&5
24828 sed 's/^/| /' conftest.$ac_ext >&5
24829
24830 cat >conftest.$ac_ext <<_ACEOF
24831 /* confdefs.h. */
24832 _ACEOF
24833 cat confdefs.h >>conftest.$ac_ext
24834 cat >>conftest.$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836
24837 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24838 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24839 # error "fake wchar_t"
24840 #endif
24841 #ifdef HAVE_WCHAR_H
24842 # ifdef __CYGWIN__
24843 # include <stddef.h>
24844 # endif
24845 # include <wchar.h>
24846 #endif
24847 #ifdef HAVE_STDLIB_H
24848 # include <stdlib.h>
24849 #endif
24850 #include <stdio.h>
24851
24852
24853
24854 typedef wchar_t ac__type_sizeof_;
24855 int
24856 main ()
24857 {
24858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24859 test_array [0] = 0
24860
24861 ;
24862 return 0;
24863 }
24864 _ACEOF
24865 rm -f conftest.$ac_objext
24866 if { (ac_try="$ac_compile"
24867 case "(($ac_try" in
24868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24869 *) ac_try_echo=$ac_try;;
24870 esac
24871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24872 (eval "$ac_compile") 2>conftest.er1
24873 ac_status=$?
24874 grep -v '^ *+' conftest.er1 >conftest.err
24875 rm -f conftest.er1
24876 cat conftest.err >&5
24877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878 (exit $ac_status); } && {
24879 test -z "$ac_c_werror_flag" ||
24880 test ! -s conftest.err
24881 } && test -s conftest.$ac_objext; then
24882 ac_hi=-1 ac_mid=-1
24883 while :; do
24884 cat >conftest.$ac_ext <<_ACEOF
24885 /* confdefs.h. */
24886 _ACEOF
24887 cat confdefs.h >>conftest.$ac_ext
24888 cat >>conftest.$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24890
24891 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24892 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24893 # error "fake wchar_t"
24894 #endif
24895 #ifdef HAVE_WCHAR_H
24896 # ifdef __CYGWIN__
24897 # include <stddef.h>
24898 # endif
24899 # include <wchar.h>
24900 #endif
24901 #ifdef HAVE_STDLIB_H
24902 # include <stdlib.h>
24903 #endif
24904 #include <stdio.h>
24905
24906
24907
24908 typedef wchar_t ac__type_sizeof_;
24909 int
24910 main ()
24911 {
24912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24913 test_array [0] = 0
24914
24915 ;
24916 return 0;
24917 }
24918 _ACEOF
24919 rm -f conftest.$ac_objext
24920 if { (ac_try="$ac_compile"
24921 case "(($ac_try" in
24922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24923 *) ac_try_echo=$ac_try;;
24924 esac
24925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24926 (eval "$ac_compile") 2>conftest.er1
24927 ac_status=$?
24928 grep -v '^ *+' conftest.er1 >conftest.err
24929 rm -f conftest.er1
24930 cat conftest.err >&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && {
24933 test -z "$ac_c_werror_flag" ||
24934 test ! -s conftest.err
24935 } && test -s conftest.$ac_objext; then
24936 ac_lo=$ac_mid; break
24937 else
24938 echo "$as_me: failed program was:" >&5
24939 sed 's/^/| /' conftest.$ac_ext >&5
24940
24941 ac_hi=`expr '(' $ac_mid ')' - 1`
24942 if test $ac_mid -le $ac_hi; then
24943 ac_lo= ac_hi=
24944 break
24945 fi
24946 ac_mid=`expr 2 '*' $ac_mid`
24947 fi
24948
24949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24950 done
24951 else
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.$ac_ext >&5
24954
24955 ac_lo= ac_hi=
24956 fi
24957
24958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24959 fi
24960
24961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24962 # Binary search between lo and hi bounds.
24963 while test "x$ac_lo" != "x$ac_hi"; do
24964 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24965 cat >conftest.$ac_ext <<_ACEOF
24966 /* confdefs.h. */
24967 _ACEOF
24968 cat confdefs.h >>conftest.$ac_ext
24969 cat >>conftest.$ac_ext <<_ACEOF
24970 /* end confdefs.h. */
24971
24972 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24973 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24974 # error "fake wchar_t"
24975 #endif
24976 #ifdef HAVE_WCHAR_H
24977 # ifdef __CYGWIN__
24978 # include <stddef.h>
24979 # endif
24980 # include <wchar.h>
24981 #endif
24982 #ifdef HAVE_STDLIB_H
24983 # include <stdlib.h>
24984 #endif
24985 #include <stdio.h>
24986
24987
24988
24989 typedef wchar_t ac__type_sizeof_;
24990 int
24991 main ()
24992 {
24993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24994 test_array [0] = 0
24995
24996 ;
24997 return 0;
24998 }
24999 _ACEOF
25000 rm -f conftest.$ac_objext
25001 if { (ac_try="$ac_compile"
25002 case "(($ac_try" in
25003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25004 *) ac_try_echo=$ac_try;;
25005 esac
25006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25007 (eval "$ac_compile") 2>conftest.er1
25008 ac_status=$?
25009 grep -v '^ *+' conftest.er1 >conftest.err
25010 rm -f conftest.er1
25011 cat conftest.err >&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); } && {
25014 test -z "$ac_c_werror_flag" ||
25015 test ! -s conftest.err
25016 } && test -s conftest.$ac_objext; then
25017 ac_hi=$ac_mid
25018 else
25019 echo "$as_me: failed program was:" >&5
25020 sed 's/^/| /' conftest.$ac_ext >&5
25021
25022 ac_lo=`expr '(' $ac_mid ')' + 1`
25023 fi
25024
25025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25026 done
25027 case $ac_lo in
25028 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25029 '') if test "$ac_cv_type_wchar_t" = yes; then
25030 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25031 See \`config.log' for more details." >&5
25032 echo "$as_me: error: cannot compute sizeof (wchar_t)
25033 See \`config.log' for more details." >&2;}
25034 { (exit 77); exit 77; }; }
25035 else
25036 ac_cv_sizeof_wchar_t=0
25037 fi ;;
25038 esac
25039 else
25040 cat >conftest.$ac_ext <<_ACEOF
25041 /* confdefs.h. */
25042 _ACEOF
25043 cat confdefs.h >>conftest.$ac_ext
25044 cat >>conftest.$ac_ext <<_ACEOF
25045 /* end confdefs.h. */
25046
25047 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25048 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25049 # error "fake wchar_t"
25050 #endif
25051 #ifdef HAVE_WCHAR_H
25052 # ifdef __CYGWIN__
25053 # include <stddef.h>
25054 # endif
25055 # include <wchar.h>
25056 #endif
25057 #ifdef HAVE_STDLIB_H
25058 # include <stdlib.h>
25059 #endif
25060 #include <stdio.h>
25061
25062
25063
25064 typedef wchar_t ac__type_sizeof_;
25065 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25066 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25067 #include <stdio.h>
25068 #include <stdlib.h>
25069 int
25070 main ()
25071 {
25072
25073 FILE *f = fopen ("conftest.val", "w");
25074 if (! f)
25075 return 1;
25076 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25077 {
25078 long int i = longval ();
25079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25080 return 1;
25081 fprintf (f, "%ld\n", i);
25082 }
25083 else
25084 {
25085 unsigned long int i = ulongval ();
25086 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25087 return 1;
25088 fprintf (f, "%lu\n", i);
25089 }
25090 return ferror (f) || fclose (f) != 0;
25091
25092 ;
25093 return 0;
25094 }
25095 _ACEOF
25096 rm -f conftest$ac_exeext
25097 if { (ac_try="$ac_link"
25098 case "(($ac_try" in
25099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25100 *) ac_try_echo=$ac_try;;
25101 esac
25102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25103 (eval "$ac_link") 2>&5
25104 ac_status=$?
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25107 { (case "(($ac_try" in
25108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25109 *) ac_try_echo=$ac_try;;
25110 esac
25111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25112 (eval "$ac_try") 2>&5
25113 ac_status=$?
25114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25115 (exit $ac_status); }; }; then
25116 ac_cv_sizeof_wchar_t=`cat conftest.val`
25117 else
25118 echo "$as_me: program exited with status $ac_status" >&5
25119 echo "$as_me: failed program was:" >&5
25120 sed 's/^/| /' conftest.$ac_ext >&5
25121
25122 ( exit $ac_status )
25123 if test "$ac_cv_type_wchar_t" = yes; then
25124 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25125 See \`config.log' for more details." >&5
25126 echo "$as_me: error: cannot compute sizeof (wchar_t)
25127 See \`config.log' for more details." >&2;}
25128 { (exit 77); exit 77; }; }
25129 else
25130 ac_cv_sizeof_wchar_t=0
25131 fi
25132 fi
25133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25134 fi
25135 rm -f conftest.val
25136 fi
25137 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25138 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25139
25140
25141
25142 cat >>confdefs.h <<_ACEOF
25143 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25144 _ACEOF
25145
25146
25147 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25148 wxUSE_WCHAR_T=yes
25149 else
25150 wxUSE_WCHAR_T=no
25151 fi
25152
25153 { echo "$as_me:$LINENO: checking for va_copy" >&5
25154 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25155 if test "${wx_cv_func_va_copy+set}" = set; then
25156 echo $ECHO_N "(cached) $ECHO_C" >&6
25157 else
25158
25159 ac_ext=cpp
25160 ac_cpp='$CXXCPP $CPPFLAGS'
25161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25164
25165 cat >conftest.$ac_ext <<_ACEOF
25166
25167 #include <stdarg.h>
25168 void foo(char *f, ...)
25169 {
25170 va_list ap1, ap2;
25171 va_start(ap1, f);
25172 va_copy(ap2, ap1);
25173 va_end(ap2);
25174 va_end(ap1);
25175 }
25176 int main()
25177 {
25178 foo("hi", 17);
25179 return 0;
25180 }
25181 _ACEOF
25182 rm -f conftest.$ac_objext conftest$ac_exeext
25183 if { (ac_try="$ac_link"
25184 case "(($ac_try" in
25185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25186 *) ac_try_echo=$ac_try;;
25187 esac
25188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25189 (eval "$ac_link") 2>conftest.er1
25190 ac_status=$?
25191 grep -v '^ *+' conftest.er1 >conftest.err
25192 rm -f conftest.er1
25193 cat conftest.err >&5
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); } && {
25196 test -z "$ac_cxx_werror_flag" ||
25197 test ! -s conftest.err
25198 } && test -s conftest$ac_exeext &&
25199 $as_test_x conftest$ac_exeext; then
25200 wx_cv_func_va_copy=yes
25201 else
25202 echo "$as_me: failed program was:" >&5
25203 sed 's/^/| /' conftest.$ac_ext >&5
25204
25205 wx_cv_func_va_copy=no
25206
25207 fi
25208
25209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25210 conftest$ac_exeext conftest.$ac_ext
25211 ac_ext=c
25212 ac_cpp='$CPP $CPPFLAGS'
25213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25216
25217
25218
25219 fi
25220 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25221 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25222
25223 if test $wx_cv_func_va_copy = "yes"; then
25224 cat >>confdefs.h <<\_ACEOF
25225 #define HAVE_VA_COPY 1
25226 _ACEOF
25227
25228 else
25229 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25230 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25231 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25232 echo $ECHO_N "(cached) $ECHO_C" >&6
25233 else
25234
25235 if test "$cross_compiling" = yes; then
25236 wx_cv_type_va_list_lvalue=yes
25237
25238 else
25239 cat >conftest.$ac_ext <<_ACEOF
25240
25241 #include <stdarg.h>
25242 int foo(char *f, ...)
25243 {
25244 va_list ap1, ap2;
25245 va_start(ap1, f);
25246 ap2 = ap1;
25247 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25248 return 1;
25249 va_end(ap2);
25250 va_end(ap1);
25251 return 0;
25252 }
25253 int main()
25254 {
25255 return foo("hi", 17);
25256 }
25257 _ACEOF
25258 rm -f conftest$ac_exeext
25259 if { (ac_try="$ac_link"
25260 case "(($ac_try" in
25261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25262 *) ac_try_echo=$ac_try;;
25263 esac
25264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25265 (eval "$ac_link") 2>&5
25266 ac_status=$?
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25269 { (case "(($ac_try" in
25270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25271 *) ac_try_echo=$ac_try;;
25272 esac
25273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25274 (eval "$ac_try") 2>&5
25275 ac_status=$?
25276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277 (exit $ac_status); }; }; then
25278 wx_cv_type_va_list_lvalue=yes
25279 else
25280 echo "$as_me: program exited with status $ac_status" >&5
25281 echo "$as_me: failed program was:" >&5
25282 sed 's/^/| /' conftest.$ac_ext >&5
25283
25284 ( exit $ac_status )
25285 wx_cv_type_va_list_lvalue=no
25286 fi
25287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25288 fi
25289
25290
25291
25292
25293 fi
25294 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25295 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25296
25297 if test $wx_cv_type_va_list_lvalue != "yes"; then
25298 cat >>confdefs.h <<\_ACEOF
25299 #define VA_LIST_IS_ARRAY 1
25300 _ACEOF
25301
25302 fi
25303 fi
25304
25305 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25306
25307 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25308 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25309 if test "${wx_cv_have_variadic_macros+set}" = set; then
25310 echo $ECHO_N "(cached) $ECHO_C" >&6
25311 else
25312
25313 ac_ext=cpp
25314 ac_cpp='$CXXCPP $CPPFLAGS'
25315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25318
25319 cat >conftest.$ac_ext <<_ACEOF
25320 /* confdefs.h. */
25321 _ACEOF
25322 cat confdefs.h >>conftest.$ac_ext
25323 cat >>conftest.$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25325
25326 #include <stdio.h>
25327 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25328
25329 int
25330 main ()
25331 {
25332
25333 test("%s %d %p", "test", 1, 0);
25334
25335
25336 ;
25337 return 0;
25338 }
25339 _ACEOF
25340 rm -f conftest.$ac_objext
25341 if { (ac_try="$ac_compile"
25342 case "(($ac_try" in
25343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25344 *) ac_try_echo=$ac_try;;
25345 esac
25346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25347 (eval "$ac_compile") 2>conftest.er1
25348 ac_status=$?
25349 grep -v '^ *+' conftest.er1 >conftest.err
25350 rm -f conftest.er1
25351 cat conftest.err >&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); } && {
25354 test -z "$ac_cxx_werror_flag" ||
25355 test ! -s conftest.err
25356 } && test -s conftest.$ac_objext; then
25357 wx_cv_have_variadic_macros=yes
25358 else
25359 echo "$as_me: failed program was:" >&5
25360 sed 's/^/| /' conftest.$ac_ext >&5
25361
25362 wx_cv_have_variadic_macros=no
25363
25364 fi
25365
25366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25367 ac_ext=c
25368 ac_cpp='$CPP $CPPFLAGS'
25369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25372
25373
25374
25375 fi
25376 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25377 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25378
25379 if test $wx_cv_have_variadic_macros = "yes"; then
25380 cat >>confdefs.h <<\_ACEOF
25381 #define HAVE_VARIADIC_MACROS 1
25382 _ACEOF
25383
25384 fi
25385
25386 fi
25387 # Check whether --enable-largefile was given.
25388 if test "${enable_largefile+set}" = set; then
25389 enableval=$enable_largefile;
25390 fi
25391
25392 if test "$enable_largefile" != no; then
25393 wx_largefile=no
25394
25395 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25396 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25397 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25398 echo $ECHO_N "(cached) $ECHO_C" >&6
25399 else
25400
25401 cat >conftest.$ac_ext <<_ACEOF
25402 /* confdefs.h. */
25403 _ACEOF
25404 cat confdefs.h >>conftest.$ac_ext
25405 cat >>conftest.$ac_ext <<_ACEOF
25406 /* end confdefs.h. */
25407 #define _FILE_OFFSET_BITS 64
25408 #include <sys/types.h>
25409 int
25410 main ()
25411 {
25412 typedef struct {
25413 unsigned int field: sizeof(off_t) == 8;
25414 } wxlf;
25415
25416 ;
25417 return 0;
25418 }
25419 _ACEOF
25420 rm -f conftest.$ac_objext
25421 if { (ac_try="$ac_compile"
25422 case "(($ac_try" in
25423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25424 *) ac_try_echo=$ac_try;;
25425 esac
25426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25427 (eval "$ac_compile") 2>conftest.er1
25428 ac_status=$?
25429 grep -v '^ *+' conftest.er1 >conftest.err
25430 rm -f conftest.er1
25431 cat conftest.err >&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); } && {
25434 test -z "$ac_c_werror_flag" ||
25435 test ! -s conftest.err
25436 } && test -s conftest.$ac_objext; then
25437 ac_cv_sys_file_offset_bits=64
25438 else
25439 echo "$as_me: failed program was:" >&5
25440 sed 's/^/| /' conftest.$ac_ext >&5
25441
25442 ac_cv_sys_file_offset_bits=no
25443 fi
25444
25445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25446
25447
25448 fi
25449 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25450 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25451
25452 if test "$ac_cv_sys_file_offset_bits" != no; then
25453 wx_largefile=yes
25454 cat >>confdefs.h <<_ACEOF
25455 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25456 _ACEOF
25457
25458 fi
25459
25460 if test "x$wx_largefile" != "xyes"; then
25461
25462 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25463 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25464 if test "${ac_cv_sys_large_files+set}" = set; then
25465 echo $ECHO_N "(cached) $ECHO_C" >&6
25466 else
25467
25468 cat >conftest.$ac_ext <<_ACEOF
25469 /* confdefs.h. */
25470 _ACEOF
25471 cat confdefs.h >>conftest.$ac_ext
25472 cat >>conftest.$ac_ext <<_ACEOF
25473 /* end confdefs.h. */
25474 #define _LARGE_FILES 1
25475 #include <sys/types.h>
25476 int
25477 main ()
25478 {
25479 typedef struct {
25480 unsigned int field: sizeof(off_t) == 8;
25481 } wxlf;
25482
25483 ;
25484 return 0;
25485 }
25486 _ACEOF
25487 rm -f conftest.$ac_objext
25488 if { (ac_try="$ac_compile"
25489 case "(($ac_try" in
25490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25491 *) ac_try_echo=$ac_try;;
25492 esac
25493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25494 (eval "$ac_compile") 2>conftest.er1
25495 ac_status=$?
25496 grep -v '^ *+' conftest.er1 >conftest.err
25497 rm -f conftest.er1
25498 cat conftest.err >&5
25499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25500 (exit $ac_status); } && {
25501 test -z "$ac_c_werror_flag" ||
25502 test ! -s conftest.err
25503 } && test -s conftest.$ac_objext; then
25504 ac_cv_sys_large_files=1
25505 else
25506 echo "$as_me: failed program was:" >&5
25507 sed 's/^/| /' conftest.$ac_ext >&5
25508
25509 ac_cv_sys_large_files=no
25510 fi
25511
25512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25513
25514
25515 fi
25516 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25517 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25518
25519 if test "$ac_cv_sys_large_files" != no; then
25520 wx_largefile=yes
25521 cat >>confdefs.h <<_ACEOF
25522 #define _LARGE_FILES $ac_cv_sys_large_files
25523 _ACEOF
25524
25525 fi
25526
25527 fi
25528
25529 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25530 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25531 if test "x$wx_largefile" = "xyes"; then
25532 cat >>confdefs.h <<\_ACEOF
25533 #define HAVE_LARGEFILE_SUPPORT 1
25534 _ACEOF
25535
25536 fi
25537 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25538 echo "${ECHO_T}$wx_largefile" >&6; }
25539 fi
25540
25541
25542 if test "x$wx_largefile" = "xyes"; then
25543 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25544 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25545
25546 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25547 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25548 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25549 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25550 echo $ECHO_N "(cached) $ECHO_C" >&6
25551 else
25552
25553 ac_ext=cpp
25554 ac_cpp='$CXXCPP $CPPFLAGS'
25555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25558
25559 cat >conftest.$ac_ext <<_ACEOF
25560 /* confdefs.h. */
25561 _ACEOF
25562 cat confdefs.h >>conftest.$ac_ext
25563 cat >>conftest.$ac_ext <<_ACEOF
25564 /* end confdefs.h. */
25565
25566 int
25567 main ()
25568 {
25569
25570 #ifndef __STDC_EXT__
25571 choke me
25572 #endif
25573
25574 ;
25575 return 0;
25576 }
25577 _ACEOF
25578 rm -f conftest.$ac_objext
25579 if { (ac_try="$ac_compile"
25580 case "(($ac_try" in
25581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25582 *) ac_try_echo=$ac_try;;
25583 esac
25584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25585 (eval "$ac_compile") 2>conftest.er1
25586 ac_status=$?
25587 grep -v '^ *+' conftest.er1 >conftest.err
25588 rm -f conftest.er1
25589 cat conftest.err >&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); } && {
25592 test -z "$ac_cxx_werror_flag" ||
25593 test ! -s conftest.err
25594 } && test -s conftest.$ac_objext; then
25595 wx_cv_STDC_EXT_required=no
25596 else
25597 echo "$as_me: failed program was:" >&5
25598 sed 's/^/| /' conftest.$ac_ext >&5
25599
25600 wx_cv_STDC_EXT_required=yes
25601
25602 fi
25603
25604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25605 ac_ext=c
25606 ac_cpp='$CPP $CPPFLAGS'
25607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25610
25611
25612
25613 fi
25614 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25615 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25616 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25617 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25618 fi
25619 fi
25620 else
25621 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25622 fi
25623 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25624 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25625 if test "${ac_cv_sys_largefile_source+set}" = set; then
25626 echo $ECHO_N "(cached) $ECHO_C" >&6
25627 else
25628 while :; do
25629 cat >conftest.$ac_ext <<_ACEOF
25630 /* confdefs.h. */
25631 _ACEOF
25632 cat confdefs.h >>conftest.$ac_ext
25633 cat >>conftest.$ac_ext <<_ACEOF
25634 /* end confdefs.h. */
25635 #include <sys/types.h> /* for off_t */
25636 #include <stdio.h>
25637 int
25638 main ()
25639 {
25640 int (*fp) (FILE *, off_t, int) = fseeko;
25641 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25642 ;
25643 return 0;
25644 }
25645 _ACEOF
25646 rm -f conftest.$ac_objext conftest$ac_exeext
25647 if { (ac_try="$ac_link"
25648 case "(($ac_try" in
25649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25650 *) ac_try_echo=$ac_try;;
25651 esac
25652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25653 (eval "$ac_link") 2>conftest.er1
25654 ac_status=$?
25655 grep -v '^ *+' conftest.er1 >conftest.err
25656 rm -f conftest.er1
25657 cat conftest.err >&5
25658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25659 (exit $ac_status); } && {
25660 test -z "$ac_c_werror_flag" ||
25661 test ! -s conftest.err
25662 } && test -s conftest$ac_exeext &&
25663 $as_test_x conftest$ac_exeext; then
25664 ac_cv_sys_largefile_source=no; break
25665 else
25666 echo "$as_me: failed program was:" >&5
25667 sed 's/^/| /' conftest.$ac_ext >&5
25668
25669
25670 fi
25671
25672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25673 conftest$ac_exeext conftest.$ac_ext
25674 cat >conftest.$ac_ext <<_ACEOF
25675 /* confdefs.h. */
25676 _ACEOF
25677 cat confdefs.h >>conftest.$ac_ext
25678 cat >>conftest.$ac_ext <<_ACEOF
25679 /* end confdefs.h. */
25680 #define _LARGEFILE_SOURCE 1
25681 #include <sys/types.h> /* for off_t */
25682 #include <stdio.h>
25683 int
25684 main ()
25685 {
25686 int (*fp) (FILE *, off_t, int) = fseeko;
25687 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25688 ;
25689 return 0;
25690 }
25691 _ACEOF
25692 rm -f conftest.$ac_objext conftest$ac_exeext
25693 if { (ac_try="$ac_link"
25694 case "(($ac_try" in
25695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25696 *) ac_try_echo=$ac_try;;
25697 esac
25698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25699 (eval "$ac_link") 2>conftest.er1
25700 ac_status=$?
25701 grep -v '^ *+' conftest.er1 >conftest.err
25702 rm -f conftest.er1
25703 cat conftest.err >&5
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); } && {
25706 test -z "$ac_c_werror_flag" ||
25707 test ! -s conftest.err
25708 } && test -s conftest$ac_exeext &&
25709 $as_test_x conftest$ac_exeext; then
25710 ac_cv_sys_largefile_source=1; break
25711 else
25712 echo "$as_me: failed program was:" >&5
25713 sed 's/^/| /' conftest.$ac_ext >&5
25714
25715
25716 fi
25717
25718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25719 conftest$ac_exeext conftest.$ac_ext
25720 ac_cv_sys_largefile_source=unknown
25721 break
25722 done
25723 fi
25724 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25725 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25726 case $ac_cv_sys_largefile_source in #(
25727 no | unknown) ;;
25728 *)
25729 cat >>confdefs.h <<_ACEOF
25730 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25731 _ACEOF
25732 ;;
25733 esac
25734 rm -f conftest*
25735
25736 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25737 # in glibc 2.1.3, but that breaks too many other things.
25738 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25739 if test $ac_cv_sys_largefile_source != unknown; then
25740
25741 cat >>confdefs.h <<\_ACEOF
25742 #define HAVE_FSEEKO 1
25743 _ACEOF
25744
25745 fi
25746
25747 if test "$ac_cv_sys_largefile_source" != no; then
25748 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25749 fi
25750 fi
25751
25752 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25753 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25754 if test "${ac_cv_c_bigendian+set}" = set; then
25755 echo $ECHO_N "(cached) $ECHO_C" >&6
25756 else
25757 ac_cv_c_bigendian=unknown
25758 # See if sys/param.h defines the BYTE_ORDER macro.
25759 cat >conftest.$ac_ext <<_ACEOF
25760 /* confdefs.h. */
25761 _ACEOF
25762 cat confdefs.h >>conftest.$ac_ext
25763 cat >>conftest.$ac_ext <<_ACEOF
25764 /* end confdefs.h. */
25765 #include <sys/types.h>
25766 #include <sys/param.h>
25767 int
25768 main ()
25769 {
25770
25771 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25772 bogus endian macros
25773 #endif
25774 ;
25775 return 0;
25776 }
25777 _ACEOF
25778 rm -f conftest.$ac_objext
25779 if { (ac_try="$ac_compile"
25780 case "(($ac_try" in
25781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25782 *) ac_try_echo=$ac_try;;
25783 esac
25784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25785 (eval "$ac_compile") 2>conftest.er1
25786 ac_status=$?
25787 grep -v '^ *+' conftest.er1 >conftest.err
25788 rm -f conftest.er1
25789 cat conftest.err >&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); } && {
25792 test -z "$ac_c_werror_flag" ||
25793 test ! -s conftest.err
25794 } && test -s conftest.$ac_objext; then
25795 # It does; now see whether it defined to BIG_ENDIAN or not.
25796 cat >conftest.$ac_ext <<_ACEOF
25797 /* confdefs.h. */
25798 _ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25802 #include <sys/types.h>
25803 #include <sys/param.h>
25804 int
25805 main ()
25806 {
25807
25808 #if BYTE_ORDER != BIG_ENDIAN
25809 not big endian
25810 #endif
25811 ;
25812 return 0;
25813 }
25814 _ACEOF
25815 rm -f conftest.$ac_objext
25816 if { (ac_try="$ac_compile"
25817 case "(($ac_try" in
25818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25819 *) ac_try_echo=$ac_try;;
25820 esac
25821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25822 (eval "$ac_compile") 2>conftest.er1
25823 ac_status=$?
25824 grep -v '^ *+' conftest.er1 >conftest.err
25825 rm -f conftest.er1
25826 cat conftest.err >&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } && {
25829 test -z "$ac_c_werror_flag" ||
25830 test ! -s conftest.err
25831 } && test -s conftest.$ac_objext; then
25832 ac_cv_c_bigendian=yes
25833 else
25834 echo "$as_me: failed program was:" >&5
25835 sed 's/^/| /' conftest.$ac_ext >&5
25836
25837 ac_cv_c_bigendian=no
25838 fi
25839
25840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25841 else
25842 echo "$as_me: failed program was:" >&5
25843 sed 's/^/| /' conftest.$ac_ext >&5
25844
25845
25846 fi
25847
25848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25849 if test $ac_cv_c_bigendian = unknown; then
25850 if test "$cross_compiling" = yes; then
25851 ac_cv_c_bigendian=unknown
25852 else
25853 cat >conftest.$ac_ext <<_ACEOF
25854 /* confdefs.h. */
25855 _ACEOF
25856 cat confdefs.h >>conftest.$ac_ext
25857 cat >>conftest.$ac_ext <<_ACEOF
25858 /* end confdefs.h. */
25859 main () {
25860 /* Are we little or big endian? From Harbison&Steele. */
25861 union
25862 {
25863 long l;
25864 char c[sizeof (long)];
25865 } u;
25866 u.l = 1;
25867 exit (u.c[sizeof (long) - 1] == 1);
25868 }
25869 _ACEOF
25870 rm -f conftest$ac_exeext
25871 if { (ac_try="$ac_link"
25872 case "(($ac_try" in
25873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25874 *) ac_try_echo=$ac_try;;
25875 esac
25876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25877 (eval "$ac_link") 2>&5
25878 ac_status=$?
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25881 { (case "(($ac_try" in
25882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25883 *) ac_try_echo=$ac_try;;
25884 esac
25885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25886 (eval "$ac_try") 2>&5
25887 ac_status=$?
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); }; }; then
25890 ac_cv_c_bigendian=no
25891 else
25892 echo "$as_me: program exited with status $ac_status" >&5
25893 echo "$as_me: failed program was:" >&5
25894 sed 's/^/| /' conftest.$ac_ext >&5
25895
25896 ( exit $ac_status )
25897 ac_cv_c_bigendian=yes
25898 fi
25899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25900 fi
25901
25902
25903 fi
25904 fi
25905 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25906 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25907 if test $ac_cv_c_bigendian = unknown; then
25908 { 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
25909 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;}
25910 fi
25911 if test $ac_cv_c_bigendian = yes; then
25912 cat >>confdefs.h <<\_ACEOF
25913 #define WORDS_BIGENDIAN 1
25914 _ACEOF
25915
25916 fi
25917
25918
25919
25920
25921 ac_ext=cpp
25922 ac_cpp='$CXXCPP $CPPFLAGS'
25923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25926
25927
25928 { echo "$as_me:$LINENO: checking for iostream" >&5
25929 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
25930 if test "${ac_cv_header_iostream+set}" = set; then
25931 echo $ECHO_N "(cached) $ECHO_C" >&6
25932 else
25933 cat >conftest.$ac_ext <<_ACEOF
25934 /* confdefs.h. */
25935 _ACEOF
25936 cat confdefs.h >>conftest.$ac_ext
25937 cat >>conftest.$ac_ext <<_ACEOF
25938 /* end confdefs.h. */
25939
25940
25941 #include <iostream>
25942 _ACEOF
25943 rm -f conftest.$ac_objext
25944 if { (ac_try="$ac_compile"
25945 case "(($ac_try" in
25946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25947 *) ac_try_echo=$ac_try;;
25948 esac
25949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25950 (eval "$ac_compile") 2>conftest.er1
25951 ac_status=$?
25952 grep -v '^ *+' conftest.er1 >conftest.err
25953 rm -f conftest.er1
25954 cat conftest.err >&5
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); } && {
25957 test -z "$ac_cxx_werror_flag" ||
25958 test ! -s conftest.err
25959 } && test -s conftest.$ac_objext; then
25960 ac_cv_header_iostream=yes
25961 else
25962 echo "$as_me: failed program was:" >&5
25963 sed 's/^/| /' conftest.$ac_ext >&5
25964
25965 ac_cv_header_iostream=no
25966 fi
25967
25968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25969 fi
25970 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
25971 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
25972
25973
25974
25975 if test "$ac_cv_header_iostream" = "yes" ; then
25976 :
25977 else
25978 cat >>confdefs.h <<\_ACEOF
25979 #define wxUSE_IOSTREAMH 1
25980 _ACEOF
25981
25982 fi
25983
25984 ac_ext=c
25985 ac_cpp='$CPP $CPPFLAGS'
25986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25989
25990
25991
25992
25993 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25994 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25995 if test "${wx_cv_cpp_bool+set}" = set; then
25996 echo $ECHO_N "(cached) $ECHO_C" >&6
25997 else
25998
25999
26000 ac_ext=cpp
26001 ac_cpp='$CXXCPP $CPPFLAGS'
26002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26005
26006
26007 cat >conftest.$ac_ext <<_ACEOF
26008 /* confdefs.h. */
26009 _ACEOF
26010 cat confdefs.h >>conftest.$ac_ext
26011 cat >>conftest.$ac_ext <<_ACEOF
26012 /* end confdefs.h. */
26013
26014
26015 int
26016 main ()
26017 {
26018
26019 bool b = true;
26020
26021 return 0;
26022
26023 ;
26024 return 0;
26025 }
26026 _ACEOF
26027 rm -f conftest.$ac_objext
26028 if { (ac_try="$ac_compile"
26029 case "(($ac_try" in
26030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26031 *) ac_try_echo=$ac_try;;
26032 esac
26033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26034 (eval "$ac_compile") 2>conftest.er1
26035 ac_status=$?
26036 grep -v '^ *+' conftest.er1 >conftest.err
26037 rm -f conftest.er1
26038 cat conftest.err >&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } && {
26041 test -z "$ac_cxx_werror_flag" ||
26042 test ! -s conftest.err
26043 } && test -s conftest.$ac_objext; then
26044
26045 wx_cv_cpp_bool=yes
26046
26047 else
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.$ac_ext >&5
26050
26051
26052 wx_cv_cpp_bool=no
26053
26054
26055 fi
26056
26057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26058
26059 ac_ext=c
26060 ac_cpp='$CPP $CPPFLAGS'
26061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26064
26065
26066 fi
26067 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26068 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26069
26070 if test "$wx_cv_cpp_bool" = "yes"; then
26071 cat >>confdefs.h <<\_ACEOF
26072 #define HAVE_BOOL 1
26073 _ACEOF
26074
26075 fi
26076
26077
26078
26079 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26080 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26081 if test "${wx_cv_explicit+set}" = set; then
26082 echo $ECHO_N "(cached) $ECHO_C" >&6
26083 else
26084
26085
26086 ac_ext=cpp
26087 ac_cpp='$CXXCPP $CPPFLAGS'
26088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26091
26092
26093 cat >conftest.$ac_ext <<_ACEOF
26094 /* confdefs.h. */
26095 _ACEOF
26096 cat confdefs.h >>conftest.$ac_ext
26097 cat >>conftest.$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26099
26100 class Foo { public: explicit Foo(int) {} };
26101
26102 int
26103 main ()
26104 {
26105
26106 return 0;
26107
26108 ;
26109 return 0;
26110 }
26111 _ACEOF
26112 rm -f conftest.$ac_objext
26113 if { (ac_try="$ac_compile"
26114 case "(($ac_try" in
26115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26116 *) ac_try_echo=$ac_try;;
26117 esac
26118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26119 (eval "$ac_compile") 2>conftest.er1
26120 ac_status=$?
26121 grep -v '^ *+' conftest.er1 >conftest.err
26122 rm -f conftest.er1
26123 cat conftest.err >&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); } && {
26126 test -z "$ac_cxx_werror_flag" ||
26127 test ! -s conftest.err
26128 } && test -s conftest.$ac_objext; then
26129
26130 cat >conftest.$ac_ext <<_ACEOF
26131 /* confdefs.h. */
26132 _ACEOF
26133 cat confdefs.h >>conftest.$ac_ext
26134 cat >>conftest.$ac_ext <<_ACEOF
26135 /* end confdefs.h. */
26136
26137 class Foo { public: explicit Foo(int) {} };
26138 static void TakeFoo(const Foo& foo) { }
26139
26140 int
26141 main ()
26142 {
26143
26144 TakeFoo(17);
26145 return 0;
26146
26147 ;
26148 return 0;
26149 }
26150 _ACEOF
26151 rm -f conftest.$ac_objext
26152 if { (ac_try="$ac_compile"
26153 case "(($ac_try" in
26154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26155 *) ac_try_echo=$ac_try;;
26156 esac
26157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26158 (eval "$ac_compile") 2>conftest.er1
26159 ac_status=$?
26160 grep -v '^ *+' conftest.er1 >conftest.err
26161 rm -f conftest.er1
26162 cat conftest.err >&5
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); } && {
26165 test -z "$ac_cxx_werror_flag" ||
26166 test ! -s conftest.err
26167 } && test -s conftest.$ac_objext; then
26168 wx_cv_explicit=no
26169 else
26170 echo "$as_me: failed program was:" >&5
26171 sed 's/^/| /' conftest.$ac_ext >&5
26172
26173 wx_cv_explicit=yes
26174
26175 fi
26176
26177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26178
26179 else
26180 echo "$as_me: failed program was:" >&5
26181 sed 's/^/| /' conftest.$ac_ext >&5
26182
26183 wx_cv_explicit=no
26184
26185 fi
26186
26187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26188
26189 ac_ext=c
26190 ac_cpp='$CPP $CPPFLAGS'
26191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26194
26195
26196 fi
26197 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26198 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26199
26200 if test "$wx_cv_explicit" = "yes"; then
26201 cat >>confdefs.h <<\_ACEOF
26202 #define HAVE_EXPLICIT 1
26203 _ACEOF
26204
26205 fi
26206
26207
26208 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26209 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26210 if test "${ac_cv_cxx_const_cast+set}" = set; then
26211 echo $ECHO_N "(cached) $ECHO_C" >&6
26212 else
26213
26214 ac_ext=cpp
26215 ac_cpp='$CXXCPP $CPPFLAGS'
26216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26219
26220 cat >conftest.$ac_ext <<_ACEOF
26221 /* confdefs.h. */
26222 _ACEOF
26223 cat confdefs.h >>conftest.$ac_ext
26224 cat >>conftest.$ac_ext <<_ACEOF
26225 /* end confdefs.h. */
26226
26227 int
26228 main ()
26229 {
26230 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26231 ;
26232 return 0;
26233 }
26234 _ACEOF
26235 rm -f conftest.$ac_objext
26236 if { (ac_try="$ac_compile"
26237 case "(($ac_try" in
26238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26239 *) ac_try_echo=$ac_try;;
26240 esac
26241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26242 (eval "$ac_compile") 2>conftest.er1
26243 ac_status=$?
26244 grep -v '^ *+' conftest.er1 >conftest.err
26245 rm -f conftest.er1
26246 cat conftest.err >&5
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); } && {
26249 test -z "$ac_cxx_werror_flag" ||
26250 test ! -s conftest.err
26251 } && test -s conftest.$ac_objext; then
26252 ac_cv_cxx_const_cast=yes
26253 else
26254 echo "$as_me: failed program was:" >&5
26255 sed 's/^/| /' conftest.$ac_ext >&5
26256
26257 ac_cv_cxx_const_cast=no
26258 fi
26259
26260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26261 ac_ext=c
26262 ac_cpp='$CPP $CPPFLAGS'
26263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26266
26267
26268 fi
26269 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26270 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26271 if test "$ac_cv_cxx_const_cast" = yes; then
26272
26273 cat >>confdefs.h <<\_ACEOF
26274 #define HAVE_CONST_CAST
26275 _ACEOF
26276
26277 fi
26278
26279 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26280 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26281 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26282 echo $ECHO_N "(cached) $ECHO_C" >&6
26283 else
26284
26285 ac_ext=cpp
26286 ac_cpp='$CXXCPP $CPPFLAGS'
26287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26290
26291 cat >conftest.$ac_ext <<_ACEOF
26292 /* confdefs.h. */
26293 _ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297 #include <typeinfo>
26298 class Base { public : Base () {} virtual void f () = 0;};
26299 class Derived : public Base { public : Derived () {} virtual void f () {} };
26300 class Unrelated { public : Unrelated () {} };
26301 int g (Unrelated&) { return 0; }
26302 int
26303 main ()
26304 {
26305
26306 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26307 ;
26308 return 0;
26309 }
26310 _ACEOF
26311 rm -f conftest.$ac_objext
26312 if { (ac_try="$ac_compile"
26313 case "(($ac_try" in
26314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26315 *) ac_try_echo=$ac_try;;
26316 esac
26317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26318 (eval "$ac_compile") 2>conftest.er1
26319 ac_status=$?
26320 grep -v '^ *+' conftest.er1 >conftest.err
26321 rm -f conftest.er1
26322 cat conftest.err >&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); } && {
26325 test -z "$ac_cxx_werror_flag" ||
26326 test ! -s conftest.err
26327 } && test -s conftest.$ac_objext; then
26328 ac_cv_cxx_reinterpret_cast=yes
26329 else
26330 echo "$as_me: failed program was:" >&5
26331 sed 's/^/| /' conftest.$ac_ext >&5
26332
26333 ac_cv_cxx_reinterpret_cast=no
26334 fi
26335
26336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26337 ac_ext=c
26338 ac_cpp='$CPP $CPPFLAGS'
26339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26342
26343
26344 fi
26345 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26346 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26347 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26348
26349 cat >>confdefs.h <<\_ACEOF
26350 #define HAVE_REINTERPRET_CAST
26351 _ACEOF
26352
26353 fi
26354
26355 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26356 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26357 if test "${ac_cv_cxx_static_cast+set}" = set; then
26358 echo $ECHO_N "(cached) $ECHO_C" >&6
26359 else
26360
26361 ac_ext=cpp
26362 ac_cpp='$CXXCPP $CPPFLAGS'
26363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26366
26367 cat >conftest.$ac_ext <<_ACEOF
26368 /* confdefs.h. */
26369 _ACEOF
26370 cat confdefs.h >>conftest.$ac_ext
26371 cat >>conftest.$ac_ext <<_ACEOF
26372 /* end confdefs.h. */
26373 #include <typeinfo>
26374 class Base { public : Base () {} virtual void f () = 0; };
26375 class Derived : public Base { public : Derived () {} virtual void f () {} };
26376 int g (Derived&) { return 0; }
26377 int
26378 main ()
26379 {
26380
26381 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26382 ;
26383 return 0;
26384 }
26385 _ACEOF
26386 rm -f conftest.$ac_objext
26387 if { (ac_try="$ac_compile"
26388 case "(($ac_try" in
26389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26390 *) ac_try_echo=$ac_try;;
26391 esac
26392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26393 (eval "$ac_compile") 2>conftest.er1
26394 ac_status=$?
26395 grep -v '^ *+' conftest.er1 >conftest.err
26396 rm -f conftest.er1
26397 cat conftest.err >&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } && {
26400 test -z "$ac_cxx_werror_flag" ||
26401 test ! -s conftest.err
26402 } && test -s conftest.$ac_objext; then
26403 ac_cv_cxx_static_cast=yes
26404 else
26405 echo "$as_me: failed program was:" >&5
26406 sed 's/^/| /' conftest.$ac_ext >&5
26407
26408 ac_cv_cxx_static_cast=no
26409 fi
26410
26411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26412 ac_ext=c
26413 ac_cpp='$CPP $CPPFLAGS'
26414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26417
26418
26419 fi
26420 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26421 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26422 if test "$ac_cv_cxx_static_cast" = yes; then
26423
26424 cat >>confdefs.h <<\_ACEOF
26425 #define HAVE_STATIC_CAST
26426 _ACEOF
26427
26428 fi
26429
26430
26431 if test "x$SUNCXX" = xyes; then
26432 CXXFLAGS="-features=tmplife $CXXFLAGS"
26433 fi
26434
26435 if test "x$SUNCC" = xyes; then
26436 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26437 fi
26438
26439 if test "x$SGICC" = "xyes"; then
26440 CFLAGS="-woff 3970 $CFLAGS"
26441 fi
26442 if test "x$SGICXX" = "xyes"; then
26443 CXXFLAGS="-woff 3970 $CXXFLAGS"
26444 fi
26445
26446 if test "x$HPCC" = "xyes"; then
26447 CFLAGS="+W 2011,2450 $CFLAGS"
26448 fi
26449 if test "x$HPCXX" = "xyes"; then
26450 CXXFLAGS="+W 2340 $CXXFLAGS"
26451 fi
26452
26453 if test "x$COMPAQCXX" = "xyes"; then
26454 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26455 fi
26456
26457 ac_ext=cpp
26458 ac_cpp='$CXXCPP $CPPFLAGS'
26459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26462
26463
26464 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26465 if test "$wxUSE_UNICODE" = "yes"; then
26466 std_string="std::wstring"
26467 char_type="wchar_t"
26468 else
26469 std_string="std::string"
26470 char_type="char"
26471 fi
26472
26473 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26474 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26475 if test "${wx_cv_class_stdstring+set}" = set; then
26476 echo $ECHO_N "(cached) $ECHO_C" >&6
26477 else
26478
26479 cat >conftest.$ac_ext <<_ACEOF
26480 /* confdefs.h. */
26481 _ACEOF
26482 cat confdefs.h >>conftest.$ac_ext
26483 cat >>conftest.$ac_ext <<_ACEOF
26484 /* end confdefs.h. */
26485 #include <string>
26486 int
26487 main ()
26488 {
26489 $std_string foo;
26490 ;
26491 return 0;
26492 }
26493 _ACEOF
26494 rm -f conftest.$ac_objext
26495 if { (ac_try="$ac_compile"
26496 case "(($ac_try" in
26497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26498 *) ac_try_echo=$ac_try;;
26499 esac
26500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26501 (eval "$ac_compile") 2>conftest.er1
26502 ac_status=$?
26503 grep -v '^ *+' conftest.er1 >conftest.err
26504 rm -f conftest.er1
26505 cat conftest.err >&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); } && {
26508 test -z "$ac_cxx_werror_flag" ||
26509 test ! -s conftest.err
26510 } && test -s conftest.$ac_objext; then
26511 wx_cv_class_stdstring=yes
26512 else
26513 echo "$as_me: failed program was:" >&5
26514 sed 's/^/| /' conftest.$ac_ext >&5
26515
26516 wx_cv_class_stdstring=no
26517
26518 fi
26519
26520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26521
26522
26523 fi
26524 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26525 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26526
26527 if test "$wx_cv_class_stdstring" = yes; then
26528 if test "$wxUSE_UNICODE" = "yes"; then
26529 cat >>confdefs.h <<\_ACEOF
26530 #define HAVE_STD_WSTRING 1
26531 _ACEOF
26532
26533 fi
26534 else
26535 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26536 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26537 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26539 else
26540
26541 cat >conftest.$ac_ext <<_ACEOF
26542 /* confdefs.h. */
26543 _ACEOF
26544 cat confdefs.h >>conftest.$ac_ext
26545 cat >>conftest.$ac_ext <<_ACEOF
26546 /* end confdefs.h. */
26547
26548 #ifdef HAVE_WCHAR_H
26549 # ifdef __CYGWIN__
26550 # include <stddef.h>
26551 # endif
26552 # include <wchar.h>
26553 #endif
26554 #ifdef HAVE_STDLIB_H
26555 # include <stdlib.h>
26556 #endif
26557 #include <stdio.h>
26558 #include <string>
26559
26560 int
26561 main ()
26562 {
26563 std::basic_string<$char_type> foo;
26564 const $char_type* dummy = foo.c_str();
26565 ;
26566 return 0;
26567 }
26568 _ACEOF
26569 rm -f conftest.$ac_objext
26570 if { (ac_try="$ac_compile"
26571 case "(($ac_try" in
26572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26573 *) ac_try_echo=$ac_try;;
26574 esac
26575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26576 (eval "$ac_compile") 2>conftest.er1
26577 ac_status=$?
26578 grep -v '^ *+' conftest.er1 >conftest.err
26579 rm -f conftest.er1
26580 cat conftest.err >&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } && {
26583 test -z "$ac_cxx_werror_flag" ||
26584 test ! -s conftest.err
26585 } && test -s conftest.$ac_objext; then
26586 wx_cv_class_stdbasicstring=yes
26587 else
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.$ac_ext >&5
26590
26591 wx_cv_class_stdbasicstring=no
26592
26593 fi
26594
26595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26596
26597
26598 fi
26599 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26600 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26601
26602 if test "$wx_cv_class_stdbasicstring" != yes; then
26603 if test "$wxUSE_STL" = "yes"; then
26604 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26605 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26606 { (exit 1); exit 1; }; }
26607 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26608 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26609 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26610 { (exit 1); exit 1; }; }
26611 else
26612 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26613 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26614 wxUSE_STD_STRING=no
26615 fi
26616 fi
26617 fi
26618 fi
26619
26620 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26621 { echo "$as_me:$LINENO: checking for std::istream" >&5
26622 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26623 if test "${ac_cv_type_std__istream+set}" = set; then
26624 echo $ECHO_N "(cached) $ECHO_C" >&6
26625 else
26626 cat >conftest.$ac_ext <<_ACEOF
26627 /* confdefs.h. */
26628 _ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26632 #include <iostream>
26633
26634 typedef std::istream ac__type_new_;
26635 int
26636 main ()
26637 {
26638 if ((ac__type_new_ *) 0)
26639 return 0;
26640 if (sizeof (ac__type_new_))
26641 return 0;
26642 ;
26643 return 0;
26644 }
26645 _ACEOF
26646 rm -f conftest.$ac_objext
26647 if { (ac_try="$ac_compile"
26648 case "(($ac_try" in
26649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26650 *) ac_try_echo=$ac_try;;
26651 esac
26652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26653 (eval "$ac_compile") 2>conftest.er1
26654 ac_status=$?
26655 grep -v '^ *+' conftest.er1 >conftest.err
26656 rm -f conftest.er1
26657 cat conftest.err >&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); } && {
26660 test -z "$ac_cxx_werror_flag" ||
26661 test ! -s conftest.err
26662 } && test -s conftest.$ac_objext; then
26663 ac_cv_type_std__istream=yes
26664 else
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.$ac_ext >&5
26667
26668 ac_cv_type_std__istream=no
26669 fi
26670
26671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26672 fi
26673 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26674 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26675 if test $ac_cv_type_std__istream = yes; then
26676
26677 cat >>confdefs.h <<_ACEOF
26678 #define HAVE_STD__ISTREAM 1
26679 _ACEOF
26680
26681
26682 else
26683 wxUSE_STD_IOSTREAM=no
26684 fi
26685 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26686 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26687 if test "${ac_cv_type_std__ostream+set}" = set; then
26688 echo $ECHO_N "(cached) $ECHO_C" >&6
26689 else
26690 cat >conftest.$ac_ext <<_ACEOF
26691 /* confdefs.h. */
26692 _ACEOF
26693 cat confdefs.h >>conftest.$ac_ext
26694 cat >>conftest.$ac_ext <<_ACEOF
26695 /* end confdefs.h. */
26696 #include <iostream>
26697
26698 typedef std::ostream ac__type_new_;
26699 int
26700 main ()
26701 {
26702 if ((ac__type_new_ *) 0)
26703 return 0;
26704 if (sizeof (ac__type_new_))
26705 return 0;
26706 ;
26707 return 0;
26708 }
26709 _ACEOF
26710 rm -f conftest.$ac_objext
26711 if { (ac_try="$ac_compile"
26712 case "(($ac_try" in
26713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26714 *) ac_try_echo=$ac_try;;
26715 esac
26716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26717 (eval "$ac_compile") 2>conftest.er1
26718 ac_status=$?
26719 grep -v '^ *+' conftest.er1 >conftest.err
26720 rm -f conftest.er1
26721 cat conftest.err >&5
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); } && {
26724 test -z "$ac_cxx_werror_flag" ||
26725 test ! -s conftest.err
26726 } && test -s conftest.$ac_objext; then
26727 ac_cv_type_std__ostream=yes
26728 else
26729 echo "$as_me: failed program was:" >&5
26730 sed 's/^/| /' conftest.$ac_ext >&5
26731
26732 ac_cv_type_std__ostream=no
26733 fi
26734
26735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26736 fi
26737 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26738 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26739 if test $ac_cv_type_std__ostream = yes; then
26740
26741 cat >>confdefs.h <<_ACEOF
26742 #define HAVE_STD__OSTREAM 1
26743 _ACEOF
26744
26745
26746 else
26747 wxUSE_STD_IOSTREAM=no
26748 fi
26749
26750
26751 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26752 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26753 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26754 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26755 { (exit 1); exit 1; }; }
26756 else
26757 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26758 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26759 fi
26760 fi
26761 fi
26762
26763 if test "$wxUSE_STL" = "yes"; then
26764 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26765 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26766 if test "${wx_cv_lib_stl+set}" = set; then
26767 echo $ECHO_N "(cached) $ECHO_C" >&6
26768 else
26769 cat >conftest.$ac_ext <<_ACEOF
26770 /* confdefs.h. */
26771 _ACEOF
26772 cat confdefs.h >>conftest.$ac_ext
26773 cat >>conftest.$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26775 #include <string>
26776 #include <functional>
26777 #include <algorithm>
26778 #include <vector>
26779 #include <list>
26780 int
26781 main ()
26782 {
26783 std::vector<int> moo;
26784 std::list<int> foo;
26785 std::vector<int>::iterator it =
26786 std::find_if(moo.begin(), moo.end(),
26787 std::bind2nd(std::less<int>(), 3));
26788 ;
26789 return 0;
26790 }
26791 _ACEOF
26792 rm -f conftest.$ac_objext
26793 if { (ac_try="$ac_compile"
26794 case "(($ac_try" in
26795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26796 *) ac_try_echo=$ac_try;;
26797 esac
26798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26799 (eval "$ac_compile") 2>conftest.er1
26800 ac_status=$?
26801 grep -v '^ *+' conftest.er1 >conftest.err
26802 rm -f conftest.er1
26803 cat conftest.err >&5
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); } && {
26806 test -z "$ac_cxx_werror_flag" ||
26807 test ! -s conftest.err
26808 } && test -s conftest.$ac_objext; then
26809 wx_cv_lib_stl=yes
26810 else
26811 echo "$as_me: failed program was:" >&5
26812 sed 's/^/| /' conftest.$ac_ext >&5
26813
26814 wx_cv_lib_stl=no
26815
26816 fi
26817
26818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26819
26820 fi
26821 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26822 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26823
26824 if test "$wx_cv_lib_stl" != yes; then
26825 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26826 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26827 { (exit 1); exit 1; }; }
26828 fi
26829
26830 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26831 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26832 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26833 echo $ECHO_N "(cached) $ECHO_C" >&6
26834 else
26835 cat >conftest.$ac_ext <<_ACEOF
26836 /* confdefs.h. */
26837 _ACEOF
26838 cat confdefs.h >>conftest.$ac_ext
26839 cat >>conftest.$ac_ext <<_ACEOF
26840 /* end confdefs.h. */
26841 #include <string>
26842 int
26843 main ()
26844 {
26845 std::string foo, bar;
26846 foo.compare(bar);
26847 foo.compare(1, 1, bar);
26848 foo.compare(1, 1, bar, 1, 1);
26849 foo.compare("");
26850 foo.compare(1, 1, "");
26851 foo.compare(1, 1, "", 2);
26852 ;
26853 return 0;
26854 }
26855 _ACEOF
26856 rm -f conftest.$ac_objext
26857 if { (ac_try="$ac_compile"
26858 case "(($ac_try" in
26859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26860 *) ac_try_echo=$ac_try;;
26861 esac
26862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26863 (eval "$ac_compile") 2>conftest.er1
26864 ac_status=$?
26865 grep -v '^ *+' conftest.er1 >conftest.err
26866 rm -f conftest.er1
26867 cat conftest.err >&5
26868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869 (exit $ac_status); } && {
26870 test -z "$ac_cxx_werror_flag" ||
26871 test ! -s conftest.err
26872 } && test -s conftest.$ac_objext; then
26873 wx_cv_func_stdstring_compare=yes
26874 else
26875 echo "$as_me: failed program was:" >&5
26876 sed 's/^/| /' conftest.$ac_ext >&5
26877
26878 wx_cv_func_stdstring_compare=no
26879
26880 fi
26881
26882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26883
26884 fi
26885 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26886 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26887
26888 if test "$wx_cv_func_stdstring_compare" = yes; then
26889 cat >>confdefs.h <<\_ACEOF
26890 #define HAVE_STD_STRING_COMPARE 1
26891 _ACEOF
26892
26893 fi
26894
26895 { echo "$as_me:$LINENO: checking for hash_map" >&5
26896 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26897 if test "${ac_cv_header_hash_map+set}" = set; then
26898 echo $ECHO_N "(cached) $ECHO_C" >&6
26899 else
26900 cat >conftest.$ac_ext <<_ACEOF
26901 /* confdefs.h. */
26902 _ACEOF
26903 cat confdefs.h >>conftest.$ac_ext
26904 cat >>conftest.$ac_ext <<_ACEOF
26905 /* end confdefs.h. */
26906
26907
26908
26909 #include <hash_map>
26910 _ACEOF
26911 rm -f conftest.$ac_objext
26912 if { (ac_try="$ac_compile"
26913 case "(($ac_try" in
26914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26915 *) ac_try_echo=$ac_try;;
26916 esac
26917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26918 (eval "$ac_compile") 2>conftest.er1
26919 ac_status=$?
26920 grep -v '^ *+' conftest.er1 >conftest.err
26921 rm -f conftest.er1
26922 cat conftest.err >&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); } && {
26925 test -z "$ac_cxx_werror_flag" ||
26926 test ! -s conftest.err
26927 } && test -s conftest.$ac_objext; then
26928 ac_cv_header_hash_map=yes
26929 else
26930 echo "$as_me: failed program was:" >&5
26931 sed 's/^/| /' conftest.$ac_ext >&5
26932
26933 ac_cv_header_hash_map=no
26934 fi
26935
26936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26937 fi
26938 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26939 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26940 if test $ac_cv_header_hash_map = yes; then
26941 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26942 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26943 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26944 echo $ECHO_N "(cached) $ECHO_C" >&6
26945 else
26946 cat >conftest.$ac_ext <<_ACEOF
26947 /* confdefs.h. */
26948 _ACEOF
26949 cat confdefs.h >>conftest.$ac_ext
26950 cat >>conftest.$ac_ext <<_ACEOF
26951 /* end confdefs.h. */
26952 #include <hash_map>
26953 #include <hash_set>
26954 int
26955 main ()
26956 {
26957 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26958 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26959 ;
26960 return 0;
26961 }
26962 _ACEOF
26963 rm -f conftest.$ac_objext
26964 if { (ac_try="$ac_compile"
26965 case "(($ac_try" in
26966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26967 *) ac_try_echo=$ac_try;;
26968 esac
26969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26970 (eval "$ac_compile") 2>conftest.er1
26971 ac_status=$?
26972 grep -v '^ *+' conftest.er1 >conftest.err
26973 rm -f conftest.er1
26974 cat conftest.err >&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); } && {
26977 test -z "$ac_cxx_werror_flag" ||
26978 test ! -s conftest.err
26979 } && test -s conftest.$ac_objext; then
26980 wx_cv_class_stdhashmapset=yes
26981 else
26982 echo "$as_me: failed program was:" >&5
26983 sed 's/^/| /' conftest.$ac_ext >&5
26984
26985 wx_cv_class_stdhashmapset=no
26986 fi
26987
26988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26989
26990
26991 fi
26992 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26993 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26994 fi
26995
26996
26997
26998 if test "$wx_cv_class_stdhashmapset" = yes; then
26999 cat >>confdefs.h <<\_ACEOF
27000 #define HAVE_HASH_MAP 1
27001 _ACEOF
27002
27003 cat >>confdefs.h <<\_ACEOF
27004 #define HAVE_STD_HASH_MAP 1
27005 _ACEOF
27006
27007 fi
27008
27009 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27010 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27011 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27012 echo $ECHO_N "(cached) $ECHO_C" >&6
27013 else
27014 cat >conftest.$ac_ext <<_ACEOF
27015 /* confdefs.h. */
27016 _ACEOF
27017 cat confdefs.h >>conftest.$ac_ext
27018 cat >>conftest.$ac_ext <<_ACEOF
27019 /* end confdefs.h. */
27020
27021
27022
27023 #include <ext/hash_map>
27024 _ACEOF
27025 rm -f conftest.$ac_objext
27026 if { (ac_try="$ac_compile"
27027 case "(($ac_try" in
27028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27029 *) ac_try_echo=$ac_try;;
27030 esac
27031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27032 (eval "$ac_compile") 2>conftest.er1
27033 ac_status=$?
27034 grep -v '^ *+' conftest.er1 >conftest.err
27035 rm -f conftest.er1
27036 cat conftest.err >&5
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); } && {
27039 test -z "$ac_cxx_werror_flag" ||
27040 test ! -s conftest.err
27041 } && test -s conftest.$ac_objext; then
27042 ac_cv_header_ext_hash_map=yes
27043 else
27044 echo "$as_me: failed program was:" >&5
27045 sed 's/^/| /' conftest.$ac_ext >&5
27046
27047 ac_cv_header_ext_hash_map=no
27048 fi
27049
27050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27051 fi
27052 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27053 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27054 if test $ac_cv_header_ext_hash_map = yes; then
27055 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27056 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27057 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27058 echo $ECHO_N "(cached) $ECHO_C" >&6
27059 else
27060 cat >conftest.$ac_ext <<_ACEOF
27061 /* confdefs.h. */
27062 _ACEOF
27063 cat confdefs.h >>conftest.$ac_ext
27064 cat >>conftest.$ac_ext <<_ACEOF
27065 /* end confdefs.h. */
27066 #include <ext/hash_map>
27067 #include <ext/hash_set>
27068 int
27069 main ()
27070 {
27071 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27072 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27073 ;
27074 return 0;
27075 }
27076 _ACEOF
27077 rm -f conftest.$ac_objext
27078 if { (ac_try="$ac_compile"
27079 case "(($ac_try" in
27080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27081 *) ac_try_echo=$ac_try;;
27082 esac
27083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27084 (eval "$ac_compile") 2>conftest.er1
27085 ac_status=$?
27086 grep -v '^ *+' conftest.er1 >conftest.err
27087 rm -f conftest.er1
27088 cat conftest.err >&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); } && {
27091 test -z "$ac_cxx_werror_flag" ||
27092 test ! -s conftest.err
27093 } && test -s conftest.$ac_objext; then
27094 wx_cv_class_gnuhashmapset=yes
27095 else
27096 echo "$as_me: failed program was:" >&5
27097 sed 's/^/| /' conftest.$ac_ext >&5
27098
27099 wx_cv_class_gnuhashmapset=no
27100 fi
27101
27102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27103
27104
27105 fi
27106 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27107 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27108 fi
27109
27110
27111
27112 if test "$wx_cv_class_gnuhashmapset" = yes; then
27113 cat >>confdefs.h <<\_ACEOF
27114 #define HAVE_EXT_HASH_MAP 1
27115 _ACEOF
27116
27117 cat >>confdefs.h <<\_ACEOF
27118 #define HAVE_GNU_CXX_HASH_MAP 1
27119 _ACEOF
27120
27121 fi
27122 fi
27123
27124 ac_ext=c
27125 ac_cpp='$CPP $CPPFLAGS'
27126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27129
27130
27131
27132 SEARCH_INCLUDE="\
27133 /usr/local/include \
27134 \
27135 /usr/Motif-2.1/include \
27136 /usr/Motif-1.2/include \
27137 /usr/include/Motif1.2 \
27138 \
27139 /usr/dt/include \
27140 /usr/openwin/include \
27141 \
27142 /usr/include/Xm \
27143 \
27144 /usr/X11R6/include \
27145 /usr/X11R6.4/include \
27146 /usr/X11R5/include \
27147 /usr/X11R4/include \
27148 \
27149 /usr/include/X11R6 \
27150 /usr/include/X11R5 \
27151 /usr/include/X11R4 \
27152 \
27153 /usr/local/X11R6/include \
27154 /usr/local/X11R5/include \
27155 /usr/local/X11R4/include \
27156 \
27157 /usr/local/include/X11R6 \
27158 /usr/local/include/X11R5 \
27159 /usr/local/include/X11R4 \
27160 \
27161 /usr/X11/include \
27162 /usr/include/X11 \
27163 /usr/local/X11/include \
27164 /usr/local/include/X11 \
27165 \
27166 /usr/XFree86/include/X11 \
27167 /usr/pkg/include \
27168 \
27169 /usr/openwin/share/include"
27170
27171 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27172 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27173
27174 case "${host}" in
27175 *-*-irix6* )
27176 if test "${wx_cv_std_libpath+set}" = set; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 else
27179
27180 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27181 for e in a so sl dylib dll.a; do
27182 libc="$d/libc.$e"
27183 if test -f $libc; then
27184 save_LIBS="$LIBS"
27185 LIBS="$libc"
27186 cat >conftest.$ac_ext <<_ACEOF
27187 int main() { return 0; }
27188 _ACEOF
27189 rm -f conftest.$ac_objext conftest$ac_exeext
27190 if { (ac_try="$ac_link"
27191 case "(($ac_try" in
27192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27193 *) ac_try_echo=$ac_try;;
27194 esac
27195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27196 (eval "$ac_link") 2>conftest.er1
27197 ac_status=$?
27198 grep -v '^ *+' conftest.er1 >conftest.err
27199 rm -f conftest.er1
27200 cat conftest.err >&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); } && {
27203 test -z "$ac_c_werror_flag" ||
27204 test ! -s conftest.err
27205 } && test -s conftest$ac_exeext &&
27206 $as_test_x conftest$ac_exeext; then
27207 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27208 else
27209 echo "$as_me: failed program was:" >&5
27210 sed 's/^/| /' conftest.$ac_ext >&5
27211
27212
27213 fi
27214
27215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27216 conftest$ac_exeext conftest.$ac_ext
27217 LIBS="$save_LIBS"
27218 if test "x$wx_cv_std_libpath" != "x"; then
27219 break 2
27220 fi
27221 fi
27222 done
27223 done
27224 if test "x$wx_cv_std_libpath" = "x"; then
27225 wx_cv_std_libpath="lib"
27226 fi
27227
27228
27229 fi
27230
27231 ;;
27232
27233 *-*-solaris2* )
27234 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27235 wx_cv_std_libpath="lib/64"
27236 else
27237 wx_cv_std_libpath="lib"
27238 fi
27239 ;;
27240
27241 *-*-linux* )
27242 if test "$ac_cv_sizeof_void_p" = 8 -a \
27243 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27244 wx_cv_std_libpath="lib64"
27245 else
27246 wx_cv_std_libpath="lib"
27247 fi
27248 ;;
27249
27250 *)
27251 wx_cv_std_libpath="lib";
27252 ;;
27253 esac
27254
27255 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27256 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27257
27258 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27259
27260 if test "$build" != "$host" -a "$GCC" = yes; then
27261 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27262 cross_root=`dirname $cross_root`
27263 cross_root=`dirname $cross_root`
27264
27265 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27266 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27267 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27268
27269 if test -z "$PKG_CONFIG_PATH"; then
27270 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27271 export PKG_CONFIG_PATH
27272 fi
27273
27274 if test -z "$x_includes" -o "$x_includes" = NONE; then
27275
27276 ac_find_includes=
27277 for ac_dir in $SEARCH_INCLUDE /usr/include;
27278 do
27279 if test -f "$ac_dir/X11/Intrinsic.h"; then
27280 ac_find_includes=$ac_dir
27281 break
27282 fi
27283 done
27284
27285 x_includes=$ac_find_includes
27286 fi
27287 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27288
27289 ac_find_libraries=
27290 for ac_dir in $SEARCH_LIB;
27291 do
27292 for ac_extension in a so sl dylib dll.a; do
27293 if test -f "$ac_dir/libXt.$ac_extension"; then
27294 ac_find_libraries=$ac_dir
27295 break 2
27296 fi
27297 done
27298 done
27299
27300 x_libraries=$ac_find_libraries
27301 fi
27302 fi
27303 fi
27304
27305
27306 cat >confcache <<\_ACEOF
27307 # This file is a shell script that caches the results of configure
27308 # tests run on this system so they can be shared between configure
27309 # scripts and configure runs, see configure's option --config-cache.
27310 # It is not useful on other systems. If it contains results you don't
27311 # want to keep, you may remove or edit it.
27312 #
27313 # config.status only pays attention to the cache file if you give it
27314 # the --recheck option to rerun configure.
27315 #
27316 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27317 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27318 # following values.
27319
27320 _ACEOF
27321
27322 # The following way of writing the cache mishandles newlines in values,
27323 # but we know of no workaround that is simple, portable, and efficient.
27324 # So, we kill variables containing newlines.
27325 # Ultrix sh set writes to stderr and can't be redirected directly,
27326 # and sets the high bit in the cache file unless we assign to the vars.
27327 (
27328 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27329 eval ac_val=\$$ac_var
27330 case $ac_val in #(
27331 *${as_nl}*)
27332 case $ac_var in #(
27333 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27334 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27335 esac
27336 case $ac_var in #(
27337 _ | IFS | as_nl) ;; #(
27338 *) $as_unset $ac_var ;;
27339 esac ;;
27340 esac
27341 done
27342
27343 (set) 2>&1 |
27344 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27345 *${as_nl}ac_space=\ *)
27346 # `set' does not quote correctly, so add quotes (double-quote
27347 # substitution turns \\\\ into \\, and sed turns \\ into \).
27348 sed -n \
27349 "s/'/'\\\\''/g;
27350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27351 ;; #(
27352 *)
27353 # `set' quotes correctly as required by POSIX, so do not add quotes.
27354 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27355 ;;
27356 esac |
27357 sort
27358 ) |
27359 sed '
27360 /^ac_cv_env_/b end
27361 t clear
27362 :clear
27363 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27364 t end
27365 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27366 :end' >>confcache
27367 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27368 if test -w "$cache_file"; then
27369 test "x$cache_file" != "x/dev/null" &&
27370 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27371 echo "$as_me: updating cache $cache_file" >&6;}
27372 cat confcache >$cache_file
27373 else
27374 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27375 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27376 fi
27377 fi
27378 rm -f confcache
27379
27380 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27381 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27382 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27383 if test "${wx_cv_lib_glibc21+set}" = set; then
27384 echo $ECHO_N "(cached) $ECHO_C" >&6
27385 else
27386
27387 cat >conftest.$ac_ext <<_ACEOF
27388 /* confdefs.h. */
27389 _ACEOF
27390 cat confdefs.h >>conftest.$ac_ext
27391 cat >>conftest.$ac_ext <<_ACEOF
27392 /* end confdefs.h. */
27393 #include <features.h>
27394 int
27395 main ()
27396 {
27397
27398 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27399 not glibc 2.1
27400 #endif
27401
27402 ;
27403 return 0;
27404 }
27405 _ACEOF
27406 rm -f conftest.$ac_objext
27407 if { (ac_try="$ac_compile"
27408 case "(($ac_try" in
27409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27410 *) ac_try_echo=$ac_try;;
27411 esac
27412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27413 (eval "$ac_compile") 2>conftest.er1
27414 ac_status=$?
27415 grep -v '^ *+' conftest.er1 >conftest.err
27416 rm -f conftest.er1
27417 cat conftest.err >&5
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); } && {
27420 test -z "$ac_c_werror_flag" ||
27421 test ! -s conftest.err
27422 } && test -s conftest.$ac_objext; then
27423
27424 wx_cv_lib_glibc21=yes
27425
27426 else
27427 echo "$as_me: failed program was:" >&5
27428 sed 's/^/| /' conftest.$ac_ext >&5
27429
27430
27431 wx_cv_lib_glibc21=no
27432
27433
27434 fi
27435
27436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27437
27438 fi
27439 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27440 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27441 if test "$wx_cv_lib_glibc21" = "yes"; then
27442 cat >>confdefs.h <<\_ACEOF
27443 #define wxHAVE_GLIBC2 1
27444 _ACEOF
27445
27446 fi
27447 fi
27448
27449 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27450 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27451 cat >>confdefs.h <<\_ACEOF
27452 #define _GNU_SOURCE 1
27453 _ACEOF
27454
27455 fi
27456 fi
27457
27458 have_cos=0
27459 have_floor=0
27460
27461 for ac_func in cos
27462 do
27463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27464 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27466 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27467 echo $ECHO_N "(cached) $ECHO_C" >&6
27468 else
27469 cat >conftest.$ac_ext <<_ACEOF
27470 /* confdefs.h. */
27471 _ACEOF
27472 cat confdefs.h >>conftest.$ac_ext
27473 cat >>conftest.$ac_ext <<_ACEOF
27474 /* end confdefs.h. */
27475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27477 #define $ac_func innocuous_$ac_func
27478
27479 /* System header to define __stub macros and hopefully few prototypes,
27480 which can conflict with char $ac_func (); below.
27481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27482 <limits.h> exists even on freestanding compilers. */
27483
27484 #ifdef __STDC__
27485 # include <limits.h>
27486 #else
27487 # include <assert.h>
27488 #endif
27489
27490 #undef $ac_func
27491
27492 /* Override any GCC internal prototype to avoid an error.
27493 Use char because int might match the return type of a GCC
27494 builtin and then its argument prototype would still apply. */
27495 #ifdef __cplusplus
27496 extern "C"
27497 #endif
27498 char $ac_func ();
27499 /* The GNU C library defines this for functions which it implements
27500 to always fail with ENOSYS. Some functions are actually named
27501 something starting with __ and the normal name is an alias. */
27502 #if defined __stub_$ac_func || defined __stub___$ac_func
27503 choke me
27504 #endif
27505
27506 int
27507 main ()
27508 {
27509 return $ac_func ();
27510 ;
27511 return 0;
27512 }
27513 _ACEOF
27514 rm -f conftest.$ac_objext conftest$ac_exeext
27515 if { (ac_try="$ac_link"
27516 case "(($ac_try" in
27517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27518 *) ac_try_echo=$ac_try;;
27519 esac
27520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27521 (eval "$ac_link") 2>conftest.er1
27522 ac_status=$?
27523 grep -v '^ *+' conftest.er1 >conftest.err
27524 rm -f conftest.er1
27525 cat conftest.err >&5
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); } && {
27528 test -z "$ac_c_werror_flag" ||
27529 test ! -s conftest.err
27530 } && test -s conftest$ac_exeext &&
27531 $as_test_x conftest$ac_exeext; then
27532 eval "$as_ac_var=yes"
27533 else
27534 echo "$as_me: failed program was:" >&5
27535 sed 's/^/| /' conftest.$ac_ext >&5
27536
27537 eval "$as_ac_var=no"
27538 fi
27539
27540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27541 conftest$ac_exeext conftest.$ac_ext
27542 fi
27543 ac_res=`eval echo '${'$as_ac_var'}'`
27544 { echo "$as_me:$LINENO: result: $ac_res" >&5
27545 echo "${ECHO_T}$ac_res" >&6; }
27546 if test `eval echo '${'$as_ac_var'}'` = yes; then
27547 cat >>confdefs.h <<_ACEOF
27548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27549 _ACEOF
27550 have_cos=1
27551 fi
27552 done
27553
27554
27555 for ac_func in floor
27556 do
27557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27558 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27560 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27561 echo $ECHO_N "(cached) $ECHO_C" >&6
27562 else
27563 cat >conftest.$ac_ext <<_ACEOF
27564 /* confdefs.h. */
27565 _ACEOF
27566 cat confdefs.h >>conftest.$ac_ext
27567 cat >>conftest.$ac_ext <<_ACEOF
27568 /* end confdefs.h. */
27569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27571 #define $ac_func innocuous_$ac_func
27572
27573 /* System header to define __stub macros and hopefully few prototypes,
27574 which can conflict with char $ac_func (); below.
27575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27576 <limits.h> exists even on freestanding compilers. */
27577
27578 #ifdef __STDC__
27579 # include <limits.h>
27580 #else
27581 # include <assert.h>
27582 #endif
27583
27584 #undef $ac_func
27585
27586 /* Override any GCC internal prototype to avoid an error.
27587 Use char because int might match the return type of a GCC
27588 builtin and then its argument prototype would still apply. */
27589 #ifdef __cplusplus
27590 extern "C"
27591 #endif
27592 char $ac_func ();
27593 /* The GNU C library defines this for functions which it implements
27594 to always fail with ENOSYS. Some functions are actually named
27595 something starting with __ and the normal name is an alias. */
27596 #if defined __stub_$ac_func || defined __stub___$ac_func
27597 choke me
27598 #endif
27599
27600 int
27601 main ()
27602 {
27603 return $ac_func ();
27604 ;
27605 return 0;
27606 }
27607 _ACEOF
27608 rm -f conftest.$ac_objext conftest$ac_exeext
27609 if { (ac_try="$ac_link"
27610 case "(($ac_try" in
27611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27612 *) ac_try_echo=$ac_try;;
27613 esac
27614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27615 (eval "$ac_link") 2>conftest.er1
27616 ac_status=$?
27617 grep -v '^ *+' conftest.er1 >conftest.err
27618 rm -f conftest.er1
27619 cat conftest.err >&5
27620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621 (exit $ac_status); } && {
27622 test -z "$ac_c_werror_flag" ||
27623 test ! -s conftest.err
27624 } && test -s conftest$ac_exeext &&
27625 $as_test_x conftest$ac_exeext; then
27626 eval "$as_ac_var=yes"
27627 else
27628 echo "$as_me: failed program was:" >&5
27629 sed 's/^/| /' conftest.$ac_ext >&5
27630
27631 eval "$as_ac_var=no"
27632 fi
27633
27634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27635 conftest$ac_exeext conftest.$ac_ext
27636 fi
27637 ac_res=`eval echo '${'$as_ac_var'}'`
27638 { echo "$as_me:$LINENO: result: $ac_res" >&5
27639 echo "${ECHO_T}$ac_res" >&6; }
27640 if test `eval echo '${'$as_ac_var'}'` = yes; then
27641 cat >>confdefs.h <<_ACEOF
27642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27643 _ACEOF
27644 have_floor=1
27645 fi
27646 done
27647
27648 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27649 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27650 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27651 { echo "$as_me:$LINENO: result: yes" >&5
27652 echo "${ECHO_T}yes" >&6; }
27653 else
27654 { echo "$as_me:$LINENO: result: no" >&5
27655 echo "${ECHO_T}no" >&6; }
27656 LIBS="$LIBS -lm"
27657 # use different functions to avoid configure caching
27658 have_sin=0
27659 have_ceil=0
27660
27661 for ac_func in sin
27662 do
27663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27664 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27666 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27667 echo $ECHO_N "(cached) $ECHO_C" >&6
27668 else
27669 cat >conftest.$ac_ext <<_ACEOF
27670 /* confdefs.h. */
27671 _ACEOF
27672 cat confdefs.h >>conftest.$ac_ext
27673 cat >>conftest.$ac_ext <<_ACEOF
27674 /* end confdefs.h. */
27675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27677 #define $ac_func innocuous_$ac_func
27678
27679 /* System header to define __stub macros and hopefully few prototypes,
27680 which can conflict with char $ac_func (); below.
27681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27682 <limits.h> exists even on freestanding compilers. */
27683
27684 #ifdef __STDC__
27685 # include <limits.h>
27686 #else
27687 # include <assert.h>
27688 #endif
27689
27690 #undef $ac_func
27691
27692 /* Override any GCC internal prototype to avoid an error.
27693 Use char because int might match the return type of a GCC
27694 builtin and then its argument prototype would still apply. */
27695 #ifdef __cplusplus
27696 extern "C"
27697 #endif
27698 char $ac_func ();
27699 /* The GNU C library defines this for functions which it implements
27700 to always fail with ENOSYS. Some functions are actually named
27701 something starting with __ and the normal name is an alias. */
27702 #if defined __stub_$ac_func || defined __stub___$ac_func
27703 choke me
27704 #endif
27705
27706 int
27707 main ()
27708 {
27709 return $ac_func ();
27710 ;
27711 return 0;
27712 }
27713 _ACEOF
27714 rm -f conftest.$ac_objext conftest$ac_exeext
27715 if { (ac_try="$ac_link"
27716 case "(($ac_try" in
27717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27718 *) ac_try_echo=$ac_try;;
27719 esac
27720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27721 (eval "$ac_link") 2>conftest.er1
27722 ac_status=$?
27723 grep -v '^ *+' conftest.er1 >conftest.err
27724 rm -f conftest.er1
27725 cat conftest.err >&5
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); } && {
27728 test -z "$ac_c_werror_flag" ||
27729 test ! -s conftest.err
27730 } && test -s conftest$ac_exeext &&
27731 $as_test_x conftest$ac_exeext; then
27732 eval "$as_ac_var=yes"
27733 else
27734 echo "$as_me: failed program was:" >&5
27735 sed 's/^/| /' conftest.$ac_ext >&5
27736
27737 eval "$as_ac_var=no"
27738 fi
27739
27740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27741 conftest$ac_exeext conftest.$ac_ext
27742 fi
27743 ac_res=`eval echo '${'$as_ac_var'}'`
27744 { echo "$as_me:$LINENO: result: $ac_res" >&5
27745 echo "${ECHO_T}$ac_res" >&6; }
27746 if test `eval echo '${'$as_ac_var'}'` = yes; then
27747 cat >>confdefs.h <<_ACEOF
27748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27749 _ACEOF
27750 have_sin=1
27751 fi
27752 done
27753
27754
27755 for ac_func in ceil
27756 do
27757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27758 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27761 echo $ECHO_N "(cached) $ECHO_C" >&6
27762 else
27763 cat >conftest.$ac_ext <<_ACEOF
27764 /* confdefs.h. */
27765 _ACEOF
27766 cat confdefs.h >>conftest.$ac_ext
27767 cat >>conftest.$ac_ext <<_ACEOF
27768 /* end confdefs.h. */
27769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27771 #define $ac_func innocuous_$ac_func
27772
27773 /* System header to define __stub macros and hopefully few prototypes,
27774 which can conflict with char $ac_func (); below.
27775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27776 <limits.h> exists even on freestanding compilers. */
27777
27778 #ifdef __STDC__
27779 # include <limits.h>
27780 #else
27781 # include <assert.h>
27782 #endif
27783
27784 #undef $ac_func
27785
27786 /* Override any GCC internal prototype to avoid an error.
27787 Use char because int might match the return type of a GCC
27788 builtin and then its argument prototype would still apply. */
27789 #ifdef __cplusplus
27790 extern "C"
27791 #endif
27792 char $ac_func ();
27793 /* The GNU C library defines this for functions which it implements
27794 to always fail with ENOSYS. Some functions are actually named
27795 something starting with __ and the normal name is an alias. */
27796 #if defined __stub_$ac_func || defined __stub___$ac_func
27797 choke me
27798 #endif
27799
27800 int
27801 main ()
27802 {
27803 return $ac_func ();
27804 ;
27805 return 0;
27806 }
27807 _ACEOF
27808 rm -f conftest.$ac_objext conftest$ac_exeext
27809 if { (ac_try="$ac_link"
27810 case "(($ac_try" in
27811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27812 *) ac_try_echo=$ac_try;;
27813 esac
27814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27815 (eval "$ac_link") 2>conftest.er1
27816 ac_status=$?
27817 grep -v '^ *+' conftest.er1 >conftest.err
27818 rm -f conftest.er1
27819 cat conftest.err >&5
27820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821 (exit $ac_status); } && {
27822 test -z "$ac_c_werror_flag" ||
27823 test ! -s conftest.err
27824 } && test -s conftest$ac_exeext &&
27825 $as_test_x conftest$ac_exeext; then
27826 eval "$as_ac_var=yes"
27827 else
27828 echo "$as_me: failed program was:" >&5
27829 sed 's/^/| /' conftest.$ac_ext >&5
27830
27831 eval "$as_ac_var=no"
27832 fi
27833
27834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27835 conftest$ac_exeext conftest.$ac_ext
27836 fi
27837 ac_res=`eval echo '${'$as_ac_var'}'`
27838 { echo "$as_me:$LINENO: result: $ac_res" >&5
27839 echo "${ECHO_T}$ac_res" >&6; }
27840 if test `eval echo '${'$as_ac_var'}'` = yes; then
27841 cat >>confdefs.h <<_ACEOF
27842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27843 _ACEOF
27844 have_ceil=1
27845 fi
27846 done
27847
27848 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27849 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27850 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27851 { echo "$as_me:$LINENO: result: yes" >&5
27852 echo "${ECHO_T}yes" >&6; }
27853 else
27854 { echo "$as_me:$LINENO: result: no" >&5
27855 echo "${ECHO_T}no" >&6; }
27856 # not sure we should warn the user, crash, etc.
27857 fi
27858 fi
27859
27860 ac_ext=cpp
27861 ac_cpp='$CXXCPP $CPPFLAGS'
27862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27865
27866 if test "wxUSE_UNICODE" = "yes"; then
27867
27868 for wx_func in wcstoull
27869 do
27870 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27871 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27872 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27873 echo $ECHO_N "(cached) $ECHO_C" >&6
27874 else
27875
27876 cat >conftest.$ac_ext <<_ACEOF
27877
27878 /* confdefs.h. */
27879 _ACEOF
27880 cat confdefs.h >>conftest.$ac_ext
27881 cat >>conftest.$ac_ext <<_ACEOF
27882 /* end confdefs.h. */
27883
27884
27885 $ac_includes_default
27886
27887 int
27888 main ()
27889 {
27890
27891 #ifndef $wx_func
27892 &$wx_func;
27893 #endif
27894
27895
27896 ;
27897 return 0;
27898 }
27899
27900 _ACEOF
27901 rm -f conftest.$ac_objext conftest$ac_exeext
27902 if { (ac_try="$ac_link"
27903 case "(($ac_try" in
27904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27905 *) ac_try_echo=$ac_try;;
27906 esac
27907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27908 (eval "$ac_link") 2>conftest.er1
27909 ac_status=$?
27910 grep -v '^ *+' conftest.er1 >conftest.err
27911 rm -f conftest.er1
27912 cat conftest.err >&5
27913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27914 (exit $ac_status); } && {
27915 test -z "$ac_cxx_werror_flag" ||
27916 test ! -s conftest.err
27917 } && test -s conftest$ac_exeext &&
27918 $as_test_x conftest$ac_exeext; then
27919 eval wx_cv_func_$wx_func=yes
27920 else
27921 echo "$as_me: failed program was:" >&5
27922 sed 's/^/| /' conftest.$ac_ext >&5
27923
27924 eval wx_cv_func_$wx_func=no
27925 fi
27926
27927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27928 conftest$ac_exeext conftest.$ac_ext
27929
27930 fi
27931 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27932 { echo "$as_me:$LINENO: result: $ac_res" >&5
27933 echo "${ECHO_T}$ac_res" >&6; }
27934
27935 if eval test \$wx_cv_func_$wx_func = yes
27936 then
27937 cat >>confdefs.h <<_ACEOF
27938 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27939 _ACEOF
27940
27941
27942 else
27943 :
27944
27945 fi
27946 done
27947
27948 else
27949
27950 for wx_func in strtoull
27951 do
27952 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27953 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27954 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27955 echo $ECHO_N "(cached) $ECHO_C" >&6
27956 else
27957
27958 cat >conftest.$ac_ext <<_ACEOF
27959
27960 /* confdefs.h. */
27961 _ACEOF
27962 cat confdefs.h >>conftest.$ac_ext
27963 cat >>conftest.$ac_ext <<_ACEOF
27964 /* end confdefs.h. */
27965
27966
27967 $ac_includes_default
27968
27969 int
27970 main ()
27971 {
27972
27973 #ifndef $wx_func
27974 &$wx_func;
27975 #endif
27976
27977
27978 ;
27979 return 0;
27980 }
27981
27982 _ACEOF
27983 rm -f conftest.$ac_objext conftest$ac_exeext
27984 if { (ac_try="$ac_link"
27985 case "(($ac_try" in
27986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27987 *) ac_try_echo=$ac_try;;
27988 esac
27989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27990 (eval "$ac_link") 2>conftest.er1
27991 ac_status=$?
27992 grep -v '^ *+' conftest.er1 >conftest.err
27993 rm -f conftest.er1
27994 cat conftest.err >&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); } && {
27997 test -z "$ac_cxx_werror_flag" ||
27998 test ! -s conftest.err
27999 } && test -s conftest$ac_exeext &&
28000 $as_test_x conftest$ac_exeext; then
28001 eval wx_cv_func_$wx_func=yes
28002 else
28003 echo "$as_me: failed program was:" >&5
28004 sed 's/^/| /' conftest.$ac_ext >&5
28005
28006 eval wx_cv_func_$wx_func=no
28007 fi
28008
28009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28010 conftest$ac_exeext conftest.$ac_ext
28011
28012 fi
28013 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28014 { echo "$as_me:$LINENO: result: $ac_res" >&5
28015 echo "${ECHO_T}$ac_res" >&6; }
28016
28017 if eval test \$wx_cv_func_$wx_func = yes
28018 then
28019 cat >>confdefs.h <<_ACEOF
28020 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28021 _ACEOF
28022
28023
28024 else
28025 :
28026
28027 fi
28028 done
28029
28030 fi
28031 ac_ext=c
28032 ac_cpp='$CPP $CPPFLAGS'
28033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28036
28037
28038
28039
28040 if test "$wxUSE_REGEX" != "no"; then
28041 cat >>confdefs.h <<\_ACEOF
28042 #define wxUSE_REGEX 1
28043 _ACEOF
28044
28045
28046 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28047 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28048 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28049 wxUSE_REGEX=builtin
28050 fi
28051
28052 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28053 { echo "$as_me:$LINENO: checking for regex.h" >&5
28054 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28055 if test "${ac_cv_header_regex_h+set}" = set; then
28056 echo $ECHO_N "(cached) $ECHO_C" >&6
28057 else
28058 cat >conftest.$ac_ext <<_ACEOF
28059 /* confdefs.h. */
28060 _ACEOF
28061 cat confdefs.h >>conftest.$ac_ext
28062 cat >>conftest.$ac_ext <<_ACEOF
28063 /* end confdefs.h. */
28064
28065
28066 #include <regex.h>
28067 _ACEOF
28068 rm -f conftest.$ac_objext
28069 if { (ac_try="$ac_compile"
28070 case "(($ac_try" in
28071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28072 *) ac_try_echo=$ac_try;;
28073 esac
28074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28075 (eval "$ac_compile") 2>conftest.er1
28076 ac_status=$?
28077 grep -v '^ *+' conftest.er1 >conftest.err
28078 rm -f conftest.er1
28079 cat conftest.err >&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); } && {
28082 test -z "$ac_c_werror_flag" ||
28083 test ! -s conftest.err
28084 } && test -s conftest.$ac_objext; then
28085 ac_cv_header_regex_h=yes
28086 else
28087 echo "$as_me: failed program was:" >&5
28088 sed 's/^/| /' conftest.$ac_ext >&5
28089
28090 ac_cv_header_regex_h=no
28091 fi
28092
28093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28094 fi
28095 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28096 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28097 if test $ac_cv_header_regex_h = yes; then
28098
28099
28100 for ac_func in regcomp re_search
28101 do
28102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28105 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28106 echo $ECHO_N "(cached) $ECHO_C" >&6
28107 else
28108 cat >conftest.$ac_ext <<_ACEOF
28109 /* confdefs.h. */
28110 _ACEOF
28111 cat confdefs.h >>conftest.$ac_ext
28112 cat >>conftest.$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28116 #define $ac_func innocuous_$ac_func
28117
28118 /* System header to define __stub macros and hopefully few prototypes,
28119 which can conflict with char $ac_func (); below.
28120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28121 <limits.h> exists even on freestanding compilers. */
28122
28123 #ifdef __STDC__
28124 # include <limits.h>
28125 #else
28126 # include <assert.h>
28127 #endif
28128
28129 #undef $ac_func
28130
28131 /* Override any GCC internal prototype to avoid an error.
28132 Use char because int might match the return type of a GCC
28133 builtin and then its argument prototype would still apply. */
28134 #ifdef __cplusplus
28135 extern "C"
28136 #endif
28137 char $ac_func ();
28138 /* The GNU C library defines this for functions which it implements
28139 to always fail with ENOSYS. Some functions are actually named
28140 something starting with __ and the normal name is an alias. */
28141 #if defined __stub_$ac_func || defined __stub___$ac_func
28142 choke me
28143 #endif
28144
28145 int
28146 main ()
28147 {
28148 return $ac_func ();
28149 ;
28150 return 0;
28151 }
28152 _ACEOF
28153 rm -f conftest.$ac_objext conftest$ac_exeext
28154 if { (ac_try="$ac_link"
28155 case "(($ac_try" in
28156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28157 *) ac_try_echo=$ac_try;;
28158 esac
28159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28160 (eval "$ac_link") 2>conftest.er1
28161 ac_status=$?
28162 grep -v '^ *+' conftest.er1 >conftest.err
28163 rm -f conftest.er1
28164 cat conftest.err >&5
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); } && {
28167 test -z "$ac_c_werror_flag" ||
28168 test ! -s conftest.err
28169 } && test -s conftest$ac_exeext &&
28170 $as_test_x conftest$ac_exeext; then
28171 eval "$as_ac_var=yes"
28172 else
28173 echo "$as_me: failed program was:" >&5
28174 sed 's/^/| /' conftest.$ac_ext >&5
28175
28176 eval "$as_ac_var=no"
28177 fi
28178
28179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28180 conftest$ac_exeext conftest.$ac_ext
28181 fi
28182 ac_res=`eval echo '${'$as_ac_var'}'`
28183 { echo "$as_me:$LINENO: result: $ac_res" >&5
28184 echo "${ECHO_T}$ac_res" >&6; }
28185 if test `eval echo '${'$as_ac_var'}'` = yes; then
28186 cat >>confdefs.h <<_ACEOF
28187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28188 _ACEOF
28189
28190 fi
28191 done
28192
28193 fi
28194
28195
28196
28197 if test "x$ac_cv_func_regcomp" != "xyes"; then
28198 if test "$wxUSE_REGEX" = "sys" ; then
28199 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28200 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28201 { (exit 1); exit 1; }; }
28202 else
28203 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28204 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28205 wxUSE_REGEX=builtin
28206 fi
28207 else
28208 wxUSE_REGEX=sys
28209 cat >>confdefs.h <<\_ACEOF
28210 #define WX_NO_REGEX_ADVANCED 1
28211 _ACEOF
28212
28213 fi
28214 fi
28215 fi
28216
28217
28218 ZLIB_LINK=
28219 if test "$wxUSE_ZLIB" != "no" ; then
28220 cat >>confdefs.h <<\_ACEOF
28221 #define wxUSE_ZLIB 1
28222 _ACEOF
28223
28224
28225 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28226 if test "$USE_DARWIN" = 1; then
28227 system_zlib_h_ok="yes"
28228 else
28229 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28230 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28231 if test "${ac_cv_header_zlib_h+set}" = set; then
28232 echo $ECHO_N "(cached) $ECHO_C" >&6
28233 else
28234 if test "$cross_compiling" = yes; then
28235 unset ac_cv_header_zlib_h
28236
28237 else
28238 cat >conftest.$ac_ext <<_ACEOF
28239 /* confdefs.h. */
28240 _ACEOF
28241 cat confdefs.h >>conftest.$ac_ext
28242 cat >>conftest.$ac_ext <<_ACEOF
28243 /* end confdefs.h. */
28244
28245 #include <zlib.h>
28246 #include <stdio.h>
28247
28248 int main()
28249 {
28250 FILE *f=fopen("conftestval", "w");
28251 if (!f) exit(1);
28252 fprintf(f, "%s",
28253 ZLIB_VERSION[0] == '1' &&
28254 (ZLIB_VERSION[2] > '1' ||
28255 (ZLIB_VERSION[2] == '1' &&
28256 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28257 exit(0);
28258 }
28259
28260 _ACEOF
28261 rm -f conftest$ac_exeext
28262 if { (ac_try="$ac_link"
28263 case "(($ac_try" in
28264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28265 *) ac_try_echo=$ac_try;;
28266 esac
28267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28268 (eval "$ac_link") 2>&5
28269 ac_status=$?
28270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28272 { (case "(($ac_try" in
28273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28274 *) ac_try_echo=$ac_try;;
28275 esac
28276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28277 (eval "$ac_try") 2>&5
28278 ac_status=$?
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); }; }; then
28281 ac_cv_header_zlib_h=`cat conftestval`
28282 else
28283 echo "$as_me: program exited with status $ac_status" >&5
28284 echo "$as_me: failed program was:" >&5
28285 sed 's/^/| /' conftest.$ac_ext >&5
28286
28287 ( exit $ac_status )
28288 ac_cv_header_zlib_h=no
28289 fi
28290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28291 fi
28292
28293
28294
28295 fi
28296 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28297 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28298 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28299 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28300 if test "${ac_cv_header_zlib_h+set}" = set; then
28301 echo $ECHO_N "(cached) $ECHO_C" >&6
28302 else
28303 cat >conftest.$ac_ext <<_ACEOF
28304 /* confdefs.h. */
28305 _ACEOF
28306 cat confdefs.h >>conftest.$ac_ext
28307 cat >>conftest.$ac_ext <<_ACEOF
28308 /* end confdefs.h. */
28309
28310
28311 #include <zlib.h>
28312 _ACEOF
28313 rm -f conftest.$ac_objext
28314 if { (ac_try="$ac_compile"
28315 case "(($ac_try" in
28316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28317 *) ac_try_echo=$ac_try;;
28318 esac
28319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28320 (eval "$ac_compile") 2>conftest.er1
28321 ac_status=$?
28322 grep -v '^ *+' conftest.er1 >conftest.err
28323 rm -f conftest.er1
28324 cat conftest.err >&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); } && {
28327 test -z "$ac_c_werror_flag" ||
28328 test ! -s conftest.err
28329 } && test -s conftest.$ac_objext; then
28330 ac_cv_header_zlib_h=yes
28331 else
28332 echo "$as_me: failed program was:" >&5
28333 sed 's/^/| /' conftest.$ac_ext >&5
28334
28335 ac_cv_header_zlib_h=no
28336 fi
28337
28338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28339 fi
28340 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28341 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28342
28343
28344
28345 system_zlib_h_ok=$ac_cv_header_zlib_h
28346 fi
28347
28348 if test "$system_zlib_h_ok" = "yes"; then
28349 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28350 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28351 if test "${ac_cv_lib_z_deflate+set}" = set; then
28352 echo $ECHO_N "(cached) $ECHO_C" >&6
28353 else
28354 ac_check_lib_save_LIBS=$LIBS
28355 LIBS="-lz $LIBS"
28356 cat >conftest.$ac_ext <<_ACEOF
28357 /* confdefs.h. */
28358 _ACEOF
28359 cat confdefs.h >>conftest.$ac_ext
28360 cat >>conftest.$ac_ext <<_ACEOF
28361 /* end confdefs.h. */
28362
28363 /* Override any GCC internal prototype to avoid an error.
28364 Use char because int might match the return type of a GCC
28365 builtin and then its argument prototype would still apply. */
28366 #ifdef __cplusplus
28367 extern "C"
28368 #endif
28369 char deflate ();
28370 int
28371 main ()
28372 {
28373 return deflate ();
28374 ;
28375 return 0;
28376 }
28377 _ACEOF
28378 rm -f conftest.$ac_objext conftest$ac_exeext
28379 if { (ac_try="$ac_link"
28380 case "(($ac_try" in
28381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28382 *) ac_try_echo=$ac_try;;
28383 esac
28384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28385 (eval "$ac_link") 2>conftest.er1
28386 ac_status=$?
28387 grep -v '^ *+' conftest.er1 >conftest.err
28388 rm -f conftest.er1
28389 cat conftest.err >&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); } && {
28392 test -z "$ac_c_werror_flag" ||
28393 test ! -s conftest.err
28394 } && test -s conftest$ac_exeext &&
28395 $as_test_x conftest$ac_exeext; then
28396 ac_cv_lib_z_deflate=yes
28397 else
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28400
28401 ac_cv_lib_z_deflate=no
28402 fi
28403
28404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28405 conftest$ac_exeext conftest.$ac_ext
28406 LIBS=$ac_check_lib_save_LIBS
28407 fi
28408 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28409 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28410 if test $ac_cv_lib_z_deflate = yes; then
28411 ZLIB_LINK=" -lz"
28412 fi
28413
28414 fi
28415
28416 if test "x$ZLIB_LINK" = "x" ; then
28417 if test "$wxUSE_ZLIB" = "sys" ; then
28418 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28419 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28420 { (exit 1); exit 1; }; }
28421 else
28422 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28423 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28424 wxUSE_ZLIB=builtin
28425 fi
28426 else
28427 wxUSE_ZLIB=sys
28428 fi
28429 fi
28430 fi
28431
28432
28433 PNG_LINK=
28434 if test "$wxUSE_LIBPNG" != "no" ; then
28435 cat >>confdefs.h <<\_ACEOF
28436 #define wxUSE_LIBPNG 1
28437 _ACEOF
28438
28439
28440 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28441 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28442 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28443 wxUSE_LIBPNG=sys
28444 fi
28445
28446 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28447 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28448 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28449 wxUSE_LIBPNG=builtin
28450 fi
28451
28452 if test "$wxUSE_MGL" != 1 ; then
28453 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28454 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28455 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28456 if test "${ac_cv_header_png_h+set}" = set; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 else
28459 if test "$cross_compiling" = yes; then
28460 unset ac_cv_header_png_h
28461
28462 else
28463 cat >conftest.$ac_ext <<_ACEOF
28464 /* confdefs.h. */
28465 _ACEOF
28466 cat confdefs.h >>conftest.$ac_ext
28467 cat >>conftest.$ac_ext <<_ACEOF
28468 /* end confdefs.h. */
28469
28470 #include <png.h>
28471 #include <stdio.h>
28472
28473 int main()
28474 {
28475 FILE *f=fopen("conftestval", "w");
28476 if (!f) exit(1);
28477 fprintf(f, "%s",
28478 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28479 exit(0);
28480 }
28481
28482 _ACEOF
28483 rm -f conftest$ac_exeext
28484 if { (ac_try="$ac_link"
28485 case "(($ac_try" in
28486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28487 *) ac_try_echo=$ac_try;;
28488 esac
28489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28490 (eval "$ac_link") 2>&5
28491 ac_status=$?
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28494 { (case "(($ac_try" in
28495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28496 *) ac_try_echo=$ac_try;;
28497 esac
28498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28499 (eval "$ac_try") 2>&5
28500 ac_status=$?
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); }; }; then
28503 ac_cv_header_png_h=`cat conftestval`
28504 else
28505 echo "$as_me: program exited with status $ac_status" >&5
28506 echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.$ac_ext >&5
28508
28509 ( exit $ac_status )
28510 ac_cv_header_png_h=no
28511 fi
28512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28513 fi
28514
28515
28516
28517 fi
28518 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28519 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28520 { echo "$as_me:$LINENO: checking for png.h" >&5
28521 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28522 if test "${ac_cv_header_png_h+set}" = set; then
28523 echo $ECHO_N "(cached) $ECHO_C" >&6
28524 else
28525 cat >conftest.$ac_ext <<_ACEOF
28526 /* confdefs.h. */
28527 _ACEOF
28528 cat confdefs.h >>conftest.$ac_ext
28529 cat >>conftest.$ac_ext <<_ACEOF
28530 /* end confdefs.h. */
28531
28532
28533 #include <png.h>
28534 _ACEOF
28535 rm -f conftest.$ac_objext
28536 if { (ac_try="$ac_compile"
28537 case "(($ac_try" in
28538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28539 *) ac_try_echo=$ac_try;;
28540 esac
28541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28542 (eval "$ac_compile") 2>conftest.er1
28543 ac_status=$?
28544 grep -v '^ *+' conftest.er1 >conftest.err
28545 rm -f conftest.er1
28546 cat conftest.err >&5
28547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28548 (exit $ac_status); } && {
28549 test -z "$ac_c_werror_flag" ||
28550 test ! -s conftest.err
28551 } && test -s conftest.$ac_objext; then
28552 ac_cv_header_png_h=yes
28553 else
28554 echo "$as_me: failed program was:" >&5
28555 sed 's/^/| /' conftest.$ac_ext >&5
28556
28557 ac_cv_header_png_h=no
28558 fi
28559
28560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28561 fi
28562 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28563 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28564
28565
28566
28567 if test "$ac_cv_header_png_h" = "yes"; then
28568 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28569 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28570 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28571 echo $ECHO_N "(cached) $ECHO_C" >&6
28572 else
28573 ac_check_lib_save_LIBS=$LIBS
28574 LIBS="-lpng -lz -lm $LIBS"
28575 cat >conftest.$ac_ext <<_ACEOF
28576 /* confdefs.h. */
28577 _ACEOF
28578 cat confdefs.h >>conftest.$ac_ext
28579 cat >>conftest.$ac_ext <<_ACEOF
28580 /* end confdefs.h. */
28581
28582 /* Override any GCC internal prototype to avoid an error.
28583 Use char because int might match the return type of a GCC
28584 builtin and then its argument prototype would still apply. */
28585 #ifdef __cplusplus
28586 extern "C"
28587 #endif
28588 char png_check_sig ();
28589 int
28590 main ()
28591 {
28592 return png_check_sig ();
28593 ;
28594 return 0;
28595 }
28596 _ACEOF
28597 rm -f conftest.$ac_objext conftest$ac_exeext
28598 if { (ac_try="$ac_link"
28599 case "(($ac_try" in
28600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28601 *) ac_try_echo=$ac_try;;
28602 esac
28603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28604 (eval "$ac_link") 2>conftest.er1
28605 ac_status=$?
28606 grep -v '^ *+' conftest.er1 >conftest.err
28607 rm -f conftest.er1
28608 cat conftest.err >&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); } && {
28611 test -z "$ac_c_werror_flag" ||
28612 test ! -s conftest.err
28613 } && test -s conftest$ac_exeext &&
28614 $as_test_x conftest$ac_exeext; then
28615 ac_cv_lib_png_png_check_sig=yes
28616 else
28617 echo "$as_me: failed program was:" >&5
28618 sed 's/^/| /' conftest.$ac_ext >&5
28619
28620 ac_cv_lib_png_png_check_sig=no
28621 fi
28622
28623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28624 conftest$ac_exeext conftest.$ac_ext
28625 LIBS=$ac_check_lib_save_LIBS
28626 fi
28627 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28628 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28629 if test $ac_cv_lib_png_png_check_sig = yes; then
28630 PNG_LINK=" -lpng -lz"
28631 fi
28632
28633 fi
28634
28635 if test "x$PNG_LINK" = "x" ; then
28636 if test "$wxUSE_LIBPNG" = "sys" ; then
28637 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28638 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28639 { (exit 1); exit 1; }; }
28640 else
28641 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28642 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28643 wxUSE_LIBPNG=builtin
28644 fi
28645 else
28646 wxUSE_LIBPNG=sys
28647 fi
28648 fi
28649 fi
28650
28651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28652 fi
28653
28654
28655 JPEG_LINK=
28656 if test "$wxUSE_LIBJPEG" != "no" ; then
28657 cat >>confdefs.h <<\_ACEOF
28658 #define wxUSE_LIBJPEG 1
28659 _ACEOF
28660
28661
28662 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28663 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28664 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28665 wxUSE_LIBJPEG=sys
28666 fi
28667
28668 if test "$wxUSE_MGL" != 1 ; then
28669 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28670 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28671 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28672 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28673 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 else
28675 cat >conftest.$ac_ext <<_ACEOF
28676 /* confdefs.h. */
28677 _ACEOF
28678 cat confdefs.h >>conftest.$ac_ext
28679 cat >>conftest.$ac_ext <<_ACEOF
28680 /* end confdefs.h. */
28681
28682 #undef HAVE_STDLIB_H
28683 #include <stdio.h>
28684 #include <jpeglib.h>
28685
28686 int
28687 main ()
28688 {
28689
28690
28691 ;
28692 return 0;
28693 }
28694 _ACEOF
28695 rm -f conftest.$ac_objext
28696 if { (ac_try="$ac_compile"
28697 case "(($ac_try" in
28698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28699 *) ac_try_echo=$ac_try;;
28700 esac
28701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28702 (eval "$ac_compile") 2>conftest.er1
28703 ac_status=$?
28704 grep -v '^ *+' conftest.er1 >conftest.err
28705 rm -f conftest.er1
28706 cat conftest.err >&5
28707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708 (exit $ac_status); } && {
28709 test -z "$ac_c_werror_flag" ||
28710 test ! -s conftest.err
28711 } && test -s conftest.$ac_objext; then
28712 ac_cv_header_jpeglib_h=yes
28713 else
28714 echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.$ac_ext >&5
28716
28717 ac_cv_header_jpeglib_h=no
28718
28719 fi
28720
28721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28722
28723 fi
28724
28725 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28726 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28727
28728 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28729 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28730 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28731 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28732 echo $ECHO_N "(cached) $ECHO_C" >&6
28733 else
28734 ac_check_lib_save_LIBS=$LIBS
28735 LIBS="-ljpeg $LIBS"
28736 cat >conftest.$ac_ext <<_ACEOF
28737 /* confdefs.h. */
28738 _ACEOF
28739 cat confdefs.h >>conftest.$ac_ext
28740 cat >>conftest.$ac_ext <<_ACEOF
28741 /* end confdefs.h. */
28742
28743 /* Override any GCC internal prototype to avoid an error.
28744 Use char because int might match the return type of a GCC
28745 builtin and then its argument prototype would still apply. */
28746 #ifdef __cplusplus
28747 extern "C"
28748 #endif
28749 char jpeg_read_header ();
28750 int
28751 main ()
28752 {
28753 return jpeg_read_header ();
28754 ;
28755 return 0;
28756 }
28757 _ACEOF
28758 rm -f conftest.$ac_objext conftest$ac_exeext
28759 if { (ac_try="$ac_link"
28760 case "(($ac_try" in
28761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28762 *) ac_try_echo=$ac_try;;
28763 esac
28764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28765 (eval "$ac_link") 2>conftest.er1
28766 ac_status=$?
28767 grep -v '^ *+' conftest.er1 >conftest.err
28768 rm -f conftest.er1
28769 cat conftest.err >&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); } && {
28772 test -z "$ac_c_werror_flag" ||
28773 test ! -s conftest.err
28774 } && test -s conftest$ac_exeext &&
28775 $as_test_x conftest$ac_exeext; then
28776 ac_cv_lib_jpeg_jpeg_read_header=yes
28777 else
28778 echo "$as_me: failed program was:" >&5
28779 sed 's/^/| /' conftest.$ac_ext >&5
28780
28781 ac_cv_lib_jpeg_jpeg_read_header=no
28782 fi
28783
28784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28785 conftest$ac_exeext conftest.$ac_ext
28786 LIBS=$ac_check_lib_save_LIBS
28787 fi
28788 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28789 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28790 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28791 JPEG_LINK=" -ljpeg"
28792 fi
28793
28794 fi
28795
28796 if test "x$JPEG_LINK" = "x" ; then
28797 if test "$wxUSE_LIBJPEG" = "sys" ; then
28798 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28799 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28800 { (exit 1); exit 1; }; }
28801 else
28802 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28803 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28804 wxUSE_LIBJPEG=builtin
28805 fi
28806 else
28807 wxUSE_LIBJPEG=sys
28808
28809 if test "$wxUSE_MSW" = 1; then
28810 { echo "$as_me:$LINENO: checking for boolean" >&5
28811 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28812 if test "${ac_cv_type_boolean+set}" = set; then
28813 echo $ECHO_N "(cached) $ECHO_C" >&6
28814 else
28815 cat >conftest.$ac_ext <<_ACEOF
28816 /* confdefs.h. */
28817 _ACEOF
28818 cat confdefs.h >>conftest.$ac_ext
28819 cat >>conftest.$ac_ext <<_ACEOF
28820 /* end confdefs.h. */
28821 #include <windows.h>
28822
28823 typedef boolean ac__type_new_;
28824 int
28825 main ()
28826 {
28827 if ((ac__type_new_ *) 0)
28828 return 0;
28829 if (sizeof (ac__type_new_))
28830 return 0;
28831 ;
28832 return 0;
28833 }
28834 _ACEOF
28835 rm -f conftest.$ac_objext
28836 if { (ac_try="$ac_compile"
28837 case "(($ac_try" in
28838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28839 *) ac_try_echo=$ac_try;;
28840 esac
28841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28842 (eval "$ac_compile") 2>conftest.er1
28843 ac_status=$?
28844 grep -v '^ *+' conftest.er1 >conftest.err
28845 rm -f conftest.er1
28846 cat conftest.err >&5
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); } && {
28849 test -z "$ac_c_werror_flag" ||
28850 test ! -s conftest.err
28851 } && test -s conftest.$ac_objext; then
28852 ac_cv_type_boolean=yes
28853 else
28854 echo "$as_me: failed program was:" >&5
28855 sed 's/^/| /' conftest.$ac_ext >&5
28856
28857 ac_cv_type_boolean=no
28858 fi
28859
28860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28861 fi
28862 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28863 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28864 if test $ac_cv_type_boolean = yes; then
28865
28866 cat >>confdefs.h <<_ACEOF
28867 #define HAVE_BOOLEAN 1
28868 _ACEOF
28869
28870
28871 { echo "$as_me:$LINENO: checking for boolean" >&5
28872 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28873 if test "${ac_cv_type_boolean+set}" = set; then
28874 echo $ECHO_N "(cached) $ECHO_C" >&6
28875 else
28876 cat >conftest.$ac_ext <<_ACEOF
28877 /* confdefs.h. */
28878 _ACEOF
28879 cat confdefs.h >>conftest.$ac_ext
28880 cat >>conftest.$ac_ext <<_ACEOF
28881 /* end confdefs.h. */
28882
28883 #undef HAVE_BOOLEAN
28884 #include <stdio.h>
28885 #include <jpeglib.h>
28886
28887
28888 typedef boolean ac__type_new_;
28889 int
28890 main ()
28891 {
28892 if ((ac__type_new_ *) 0)
28893 return 0;
28894 if (sizeof (ac__type_new_))
28895 return 0;
28896 ;
28897 return 0;
28898 }
28899 _ACEOF
28900 rm -f conftest.$ac_objext
28901 if { (ac_try="$ac_compile"
28902 case "(($ac_try" in
28903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28904 *) ac_try_echo=$ac_try;;
28905 esac
28906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28907 (eval "$ac_compile") 2>conftest.er1
28908 ac_status=$?
28909 grep -v '^ *+' conftest.er1 >conftest.err
28910 rm -f conftest.er1
28911 cat conftest.err >&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); } && {
28914 test -z "$ac_c_werror_flag" ||
28915 test ! -s conftest.err
28916 } && test -s conftest.$ac_objext; then
28917 ac_cv_type_boolean=yes
28918 else
28919 echo "$as_me: failed program was:" >&5
28920 sed 's/^/| /' conftest.$ac_ext >&5
28921
28922 ac_cv_type_boolean=no
28923 fi
28924
28925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28926 fi
28927 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28928 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28929
28930 # The cast to long int works around a bug in the HP C Compiler
28931 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28932 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28933 # This bug is HP SR number 8606223364.
28934 { echo "$as_me:$LINENO: checking size of boolean" >&5
28935 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28936 if test "${ac_cv_sizeof_boolean+set}" = set; then
28937 echo $ECHO_N "(cached) $ECHO_C" >&6
28938 else
28939 if test "$cross_compiling" = yes; then
28940 # Depending upon the size, compute the lo and hi bounds.
28941 cat >conftest.$ac_ext <<_ACEOF
28942 /* confdefs.h. */
28943 _ACEOF
28944 cat confdefs.h >>conftest.$ac_ext
28945 cat >>conftest.$ac_ext <<_ACEOF
28946 /* end confdefs.h. */
28947
28948 #undef HAVE_BOOLEAN
28949 #include <stdio.h>
28950 #include <jpeglib.h>
28951
28952
28953 typedef boolean ac__type_sizeof_;
28954 int
28955 main ()
28956 {
28957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28958 test_array [0] = 0
28959
28960 ;
28961 return 0;
28962 }
28963 _ACEOF
28964 rm -f conftest.$ac_objext
28965 if { (ac_try="$ac_compile"
28966 case "(($ac_try" in
28967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28968 *) ac_try_echo=$ac_try;;
28969 esac
28970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28971 (eval "$ac_compile") 2>conftest.er1
28972 ac_status=$?
28973 grep -v '^ *+' conftest.er1 >conftest.err
28974 rm -f conftest.er1
28975 cat conftest.err >&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); } && {
28978 test -z "$ac_c_werror_flag" ||
28979 test ! -s conftest.err
28980 } && test -s conftest.$ac_objext; then
28981 ac_lo=0 ac_mid=0
28982 while :; do
28983 cat >conftest.$ac_ext <<_ACEOF
28984 /* confdefs.h. */
28985 _ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28989
28990 #undef HAVE_BOOLEAN
28991 #include <stdio.h>
28992 #include <jpeglib.h>
28993
28994
28995 typedef boolean ac__type_sizeof_;
28996 int
28997 main ()
28998 {
28999 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29000 test_array [0] = 0
29001
29002 ;
29003 return 0;
29004 }
29005 _ACEOF
29006 rm -f conftest.$ac_objext
29007 if { (ac_try="$ac_compile"
29008 case "(($ac_try" in
29009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29010 *) ac_try_echo=$ac_try;;
29011 esac
29012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29013 (eval "$ac_compile") 2>conftest.er1
29014 ac_status=$?
29015 grep -v '^ *+' conftest.er1 >conftest.err
29016 rm -f conftest.er1
29017 cat conftest.err >&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); } && {
29020 test -z "$ac_c_werror_flag" ||
29021 test ! -s conftest.err
29022 } && test -s conftest.$ac_objext; then
29023 ac_hi=$ac_mid; break
29024 else
29025 echo "$as_me: failed program was:" >&5
29026 sed 's/^/| /' conftest.$ac_ext >&5
29027
29028 ac_lo=`expr $ac_mid + 1`
29029 if test $ac_lo -le $ac_mid; then
29030 ac_lo= ac_hi=
29031 break
29032 fi
29033 ac_mid=`expr 2 '*' $ac_mid + 1`
29034 fi
29035
29036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29037 done
29038 else
29039 echo "$as_me: failed program was:" >&5
29040 sed 's/^/| /' conftest.$ac_ext >&5
29041
29042 cat >conftest.$ac_ext <<_ACEOF
29043 /* confdefs.h. */
29044 _ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29048
29049 #undef HAVE_BOOLEAN
29050 #include <stdio.h>
29051 #include <jpeglib.h>
29052
29053
29054 typedef boolean ac__type_sizeof_;
29055 int
29056 main ()
29057 {
29058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29059 test_array [0] = 0
29060
29061 ;
29062 return 0;
29063 }
29064 _ACEOF
29065 rm -f conftest.$ac_objext
29066 if { (ac_try="$ac_compile"
29067 case "(($ac_try" in
29068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29069 *) ac_try_echo=$ac_try;;
29070 esac
29071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29072 (eval "$ac_compile") 2>conftest.er1
29073 ac_status=$?
29074 grep -v '^ *+' conftest.er1 >conftest.err
29075 rm -f conftest.er1
29076 cat conftest.err >&5
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); } && {
29079 test -z "$ac_c_werror_flag" ||
29080 test ! -s conftest.err
29081 } && test -s conftest.$ac_objext; then
29082 ac_hi=-1 ac_mid=-1
29083 while :; do
29084 cat >conftest.$ac_ext <<_ACEOF
29085 /* confdefs.h. */
29086 _ACEOF
29087 cat confdefs.h >>conftest.$ac_ext
29088 cat >>conftest.$ac_ext <<_ACEOF
29089 /* end confdefs.h. */
29090
29091 #undef HAVE_BOOLEAN
29092 #include <stdio.h>
29093 #include <jpeglib.h>
29094
29095
29096 typedef boolean ac__type_sizeof_;
29097 int
29098 main ()
29099 {
29100 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29101 test_array [0] = 0
29102
29103 ;
29104 return 0;
29105 }
29106 _ACEOF
29107 rm -f conftest.$ac_objext
29108 if { (ac_try="$ac_compile"
29109 case "(($ac_try" in
29110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29111 *) ac_try_echo=$ac_try;;
29112 esac
29113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29114 (eval "$ac_compile") 2>conftest.er1
29115 ac_status=$?
29116 grep -v '^ *+' conftest.er1 >conftest.err
29117 rm -f conftest.er1
29118 cat conftest.err >&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } && {
29121 test -z "$ac_c_werror_flag" ||
29122 test ! -s conftest.err
29123 } && test -s conftest.$ac_objext; then
29124 ac_lo=$ac_mid; break
29125 else
29126 echo "$as_me: failed program was:" >&5
29127 sed 's/^/| /' conftest.$ac_ext >&5
29128
29129 ac_hi=`expr '(' $ac_mid ')' - 1`
29130 if test $ac_mid -le $ac_hi; then
29131 ac_lo= ac_hi=
29132 break
29133 fi
29134 ac_mid=`expr 2 '*' $ac_mid`
29135 fi
29136
29137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29138 done
29139 else
29140 echo "$as_me: failed program was:" >&5
29141 sed 's/^/| /' conftest.$ac_ext >&5
29142
29143 ac_lo= ac_hi=
29144 fi
29145
29146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29147 fi
29148
29149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29150 # Binary search between lo and hi bounds.
29151 while test "x$ac_lo" != "x$ac_hi"; do
29152 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29153 cat >conftest.$ac_ext <<_ACEOF
29154 /* confdefs.h. */
29155 _ACEOF
29156 cat confdefs.h >>conftest.$ac_ext
29157 cat >>conftest.$ac_ext <<_ACEOF
29158 /* end confdefs.h. */
29159
29160 #undef HAVE_BOOLEAN
29161 #include <stdio.h>
29162 #include <jpeglib.h>
29163
29164
29165 typedef boolean ac__type_sizeof_;
29166 int
29167 main ()
29168 {
29169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29170 test_array [0] = 0
29171
29172 ;
29173 return 0;
29174 }
29175 _ACEOF
29176 rm -f conftest.$ac_objext
29177 if { (ac_try="$ac_compile"
29178 case "(($ac_try" in
29179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29180 *) ac_try_echo=$ac_try;;
29181 esac
29182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29183 (eval "$ac_compile") 2>conftest.er1
29184 ac_status=$?
29185 grep -v '^ *+' conftest.er1 >conftest.err
29186 rm -f conftest.er1
29187 cat conftest.err >&5
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); } && {
29190 test -z "$ac_c_werror_flag" ||
29191 test ! -s conftest.err
29192 } && test -s conftest.$ac_objext; then
29193 ac_hi=$ac_mid
29194 else
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.$ac_ext >&5
29197
29198 ac_lo=`expr '(' $ac_mid ')' + 1`
29199 fi
29200
29201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29202 done
29203 case $ac_lo in
29204 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29205 '') if test "$ac_cv_type_boolean" = yes; then
29206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29207 See \`config.log' for more details." >&5
29208 echo "$as_me: error: cannot compute sizeof (boolean)
29209 See \`config.log' for more details." >&2;}
29210 { (exit 77); exit 77; }; }
29211 else
29212 ac_cv_sizeof_boolean=0
29213 fi ;;
29214 esac
29215 else
29216 cat >conftest.$ac_ext <<_ACEOF
29217 /* confdefs.h. */
29218 _ACEOF
29219 cat confdefs.h >>conftest.$ac_ext
29220 cat >>conftest.$ac_ext <<_ACEOF
29221 /* end confdefs.h. */
29222
29223 #undef HAVE_BOOLEAN
29224 #include <stdio.h>
29225 #include <jpeglib.h>
29226
29227
29228 typedef boolean ac__type_sizeof_;
29229 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29230 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29231 #include <stdio.h>
29232 #include <stdlib.h>
29233 int
29234 main ()
29235 {
29236
29237 FILE *f = fopen ("conftest.val", "w");
29238 if (! f)
29239 return 1;
29240 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29241 {
29242 long int i = longval ();
29243 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29244 return 1;
29245 fprintf (f, "%ld\n", i);
29246 }
29247 else
29248 {
29249 unsigned long int i = ulongval ();
29250 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29251 return 1;
29252 fprintf (f, "%lu\n", i);
29253 }
29254 return ferror (f) || fclose (f) != 0;
29255
29256 ;
29257 return 0;
29258 }
29259 _ACEOF
29260 rm -f conftest$ac_exeext
29261 if { (ac_try="$ac_link"
29262 case "(($ac_try" in
29263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29264 *) ac_try_echo=$ac_try;;
29265 esac
29266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29267 (eval "$ac_link") 2>&5
29268 ac_status=$?
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29271 { (case "(($ac_try" in
29272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29273 *) ac_try_echo=$ac_try;;
29274 esac
29275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29276 (eval "$ac_try") 2>&5
29277 ac_status=$?
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); }; }; then
29280 ac_cv_sizeof_boolean=`cat conftest.val`
29281 else
29282 echo "$as_me: program exited with status $ac_status" >&5
29283 echo "$as_me: failed program was:" >&5
29284 sed 's/^/| /' conftest.$ac_ext >&5
29285
29286 ( exit $ac_status )
29287 if test "$ac_cv_type_boolean" = yes; then
29288 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29289 See \`config.log' for more details." >&5
29290 echo "$as_me: error: cannot compute sizeof (boolean)
29291 See \`config.log' for more details." >&2;}
29292 { (exit 77); exit 77; }; }
29293 else
29294 ac_cv_sizeof_boolean=0
29295 fi
29296 fi
29297 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29298 fi
29299 rm -f conftest.val
29300 fi
29301 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29302 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29303
29304
29305
29306 cat >>confdefs.h <<_ACEOF
29307 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29308 _ACEOF
29309
29310
29311 cat >>confdefs.h <<_ACEOF
29312 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29313 _ACEOF
29314
29315
29316 fi
29317
29318 fi
29319 fi
29320 fi
29321 fi
29322 fi
29323
29324
29325 TIFF_LINK=
29326 TIFF_PREREQ_LINKS=-lm
29327 if test "$wxUSE_LIBTIFF" != "no" ; then
29328 cat >>confdefs.h <<\_ACEOF
29329 #define wxUSE_LIBTIFF 1
29330 _ACEOF
29331
29332
29333 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29334 if test "$wxUSE_LIBJPEG" = "sys"; then
29335 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29336 fi
29337 if test "$wxUSE_ZLIB" = "sys"; then
29338 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29339 fi
29340 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29341 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29342 if test "${ac_cv_header_tiffio_h+set}" = set; then
29343 echo $ECHO_N "(cached) $ECHO_C" >&6
29344 else
29345 cat >conftest.$ac_ext <<_ACEOF
29346 /* confdefs.h. */
29347 _ACEOF
29348 cat confdefs.h >>conftest.$ac_ext
29349 cat >>conftest.$ac_ext <<_ACEOF
29350 /* end confdefs.h. */
29351
29352
29353
29354 #include <tiffio.h>
29355 _ACEOF
29356 rm -f conftest.$ac_objext
29357 if { (ac_try="$ac_compile"
29358 case "(($ac_try" in
29359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29360 *) ac_try_echo=$ac_try;;
29361 esac
29362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29363 (eval "$ac_compile") 2>conftest.er1
29364 ac_status=$?
29365 grep -v '^ *+' conftest.er1 >conftest.err
29366 rm -f conftest.er1
29367 cat conftest.err >&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); } && {
29370 test -z "$ac_c_werror_flag" ||
29371 test ! -s conftest.err
29372 } && test -s conftest.$ac_objext; then
29373 ac_cv_header_tiffio_h=yes
29374 else
29375 echo "$as_me: failed program was:" >&5
29376 sed 's/^/| /' conftest.$ac_ext >&5
29377
29378 ac_cv_header_tiffio_h=no
29379 fi
29380
29381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29382 fi
29383 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29384 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29385 if test $ac_cv_header_tiffio_h = yes; then
29386
29387 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29388 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29389 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29390 echo $ECHO_N "(cached) $ECHO_C" >&6
29391 else
29392 ac_check_lib_save_LIBS=$LIBS
29393 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29394 cat >conftest.$ac_ext <<_ACEOF
29395 /* confdefs.h. */
29396 _ACEOF
29397 cat confdefs.h >>conftest.$ac_ext
29398 cat >>conftest.$ac_ext <<_ACEOF
29399 /* end confdefs.h. */
29400
29401 /* Override any GCC internal prototype to avoid an error.
29402 Use char because int might match the return type of a GCC
29403 builtin and then its argument prototype would still apply. */
29404 #ifdef __cplusplus
29405 extern "C"
29406 #endif
29407 char TIFFError ();
29408 int
29409 main ()
29410 {
29411 return TIFFError ();
29412 ;
29413 return 0;
29414 }
29415 _ACEOF
29416 rm -f conftest.$ac_objext conftest$ac_exeext
29417 if { (ac_try="$ac_link"
29418 case "(($ac_try" in
29419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29420 *) ac_try_echo=$ac_try;;
29421 esac
29422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29423 (eval "$ac_link") 2>conftest.er1
29424 ac_status=$?
29425 grep -v '^ *+' conftest.er1 >conftest.err
29426 rm -f conftest.er1
29427 cat conftest.err >&5
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); } && {
29430 test -z "$ac_c_werror_flag" ||
29431 test ! -s conftest.err
29432 } && test -s conftest$ac_exeext &&
29433 $as_test_x conftest$ac_exeext; then
29434 ac_cv_lib_tiff_TIFFError=yes
29435 else
29436 echo "$as_me: failed program was:" >&5
29437 sed 's/^/| /' conftest.$ac_ext >&5
29438
29439 ac_cv_lib_tiff_TIFFError=no
29440 fi
29441
29442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29443 conftest$ac_exeext conftest.$ac_ext
29444 LIBS=$ac_check_lib_save_LIBS
29445 fi
29446 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29447 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29448 if test $ac_cv_lib_tiff_TIFFError = yes; then
29449 TIFF_LINK=" -ltiff"
29450 fi
29451
29452
29453 fi
29454
29455
29456
29457 if test "x$TIFF_LINK" = "x" ; then
29458 if test "$wxUSE_LIBTIFF" = "sys" ; then
29459 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29460 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29461 { (exit 1); exit 1; }; }
29462 else
29463 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29464 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29465 wxUSE_LIBTIFF=builtin
29466 fi
29467 else
29468 wxUSE_LIBTIFF=sys
29469 fi
29470 fi
29471 fi
29472
29473
29474 if test "$wxUSE_WCHAR_T" != "yes"; then
29475 if test "$wxUSE_EXPAT" != "no"; then
29476 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29477 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29478 wxUSE_EXPAT=no
29479 fi
29480 if test "$wxUSE_XML" != "no"; then
29481 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29482 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29483 wxUSE_XML=no
29484 fi
29485 fi
29486
29487 if test "$wxUSE_EXPAT" != "no"; then
29488 wxUSE_XML=yes
29489 cat >>confdefs.h <<\_ACEOF
29490 #define wxUSE_EXPAT 1
29491 _ACEOF
29492
29493 cat >>confdefs.h <<\_ACEOF
29494 #define wxUSE_XML 1
29495 _ACEOF
29496
29497
29498 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29499 { echo "$as_me:$LINENO: checking for expat.h" >&5
29500 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29501 if test "${ac_cv_header_expat_h+set}" = set; then
29502 echo $ECHO_N "(cached) $ECHO_C" >&6
29503 else
29504 cat >conftest.$ac_ext <<_ACEOF
29505 /* confdefs.h. */
29506 _ACEOF
29507 cat confdefs.h >>conftest.$ac_ext
29508 cat >>conftest.$ac_ext <<_ACEOF
29509 /* end confdefs.h. */
29510
29511
29512 #include <expat.h>
29513 _ACEOF
29514 rm -f conftest.$ac_objext
29515 if { (ac_try="$ac_compile"
29516 case "(($ac_try" in
29517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29518 *) ac_try_echo=$ac_try;;
29519 esac
29520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29521 (eval "$ac_compile") 2>conftest.er1
29522 ac_status=$?
29523 grep -v '^ *+' conftest.er1 >conftest.err
29524 rm -f conftest.er1
29525 cat conftest.err >&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); } && {
29528 test -z "$ac_c_werror_flag" ||
29529 test ! -s conftest.err
29530 } && test -s conftest.$ac_objext; then
29531 ac_cv_header_expat_h=yes
29532 else
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29535
29536 ac_cv_header_expat_h=no
29537 fi
29538
29539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29540 fi
29541 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29542 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29543 if test $ac_cv_header_expat_h = yes; then
29544 found_expat_h=1
29545 fi
29546
29547
29548 if test "x$found_expat_h" = "x1"; then
29549 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29550 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29551 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29552 echo $ECHO_N "(cached) $ECHO_C" >&6
29553 else
29554
29555 ac_ext=cpp
29556 ac_cpp='$CXXCPP $CPPFLAGS'
29557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29560
29561 cat >conftest.$ac_ext <<_ACEOF
29562 /* confdefs.h. */
29563 _ACEOF
29564 cat confdefs.h >>conftest.$ac_ext
29565 cat >>conftest.$ac_ext <<_ACEOF
29566 /* end confdefs.h. */
29567 #include <expat.h>
29568 int
29569 main ()
29570 {
29571
29572 ;
29573 return 0;
29574 }
29575 _ACEOF
29576 rm -f conftest.$ac_objext
29577 if { (ac_try="$ac_compile"
29578 case "(($ac_try" in
29579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29580 *) ac_try_echo=$ac_try;;
29581 esac
29582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29583 (eval "$ac_compile") 2>conftest.er1
29584 ac_status=$?
29585 grep -v '^ *+' conftest.er1 >conftest.err
29586 rm -f conftest.er1
29587 cat conftest.err >&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); } && {
29590 test -z "$ac_cxx_werror_flag" ||
29591 test ! -s conftest.err
29592 } && test -s conftest.$ac_objext; then
29593 wx_cv_expat_is_not_broken=yes
29594 else
29595 echo "$as_me: failed program was:" >&5
29596 sed 's/^/| /' conftest.$ac_ext >&5
29597
29598 wx_cv_expat_is_not_broken=no
29599
29600 fi
29601
29602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29603 ac_ext=c
29604 ac_cpp='$CPP $CPPFLAGS'
29605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29608
29609
29610
29611 fi
29612 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29613 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29614 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29615 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29616 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29617 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29618 echo $ECHO_N "(cached) $ECHO_C" >&6
29619 else
29620 ac_check_lib_save_LIBS=$LIBS
29621 LIBS="-lexpat $LIBS"
29622 cat >conftest.$ac_ext <<_ACEOF
29623 /* confdefs.h. */
29624 _ACEOF
29625 cat confdefs.h >>conftest.$ac_ext
29626 cat >>conftest.$ac_ext <<_ACEOF
29627 /* end confdefs.h. */
29628
29629 /* Override any GCC internal prototype to avoid an error.
29630 Use char because int might match the return type of a GCC
29631 builtin and then its argument prototype would still apply. */
29632 #ifdef __cplusplus
29633 extern "C"
29634 #endif
29635 char XML_ParserCreate ();
29636 int
29637 main ()
29638 {
29639 return XML_ParserCreate ();
29640 ;
29641 return 0;
29642 }
29643 _ACEOF
29644 rm -f conftest.$ac_objext conftest$ac_exeext
29645 if { (ac_try="$ac_link"
29646 case "(($ac_try" in
29647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29648 *) ac_try_echo=$ac_try;;
29649 esac
29650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29651 (eval "$ac_link") 2>conftest.er1
29652 ac_status=$?
29653 grep -v '^ *+' conftest.er1 >conftest.err
29654 rm -f conftest.er1
29655 cat conftest.err >&5
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); } && {
29658 test -z "$ac_c_werror_flag" ||
29659 test ! -s conftest.err
29660 } && test -s conftest$ac_exeext &&
29661 $as_test_x conftest$ac_exeext; then
29662 ac_cv_lib_expat_XML_ParserCreate=yes
29663 else
29664 echo "$as_me: failed program was:" >&5
29665 sed 's/^/| /' conftest.$ac_ext >&5
29666
29667 ac_cv_lib_expat_XML_ParserCreate=no
29668 fi
29669
29670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29671 conftest$ac_exeext conftest.$ac_ext
29672 LIBS=$ac_check_lib_save_LIBS
29673 fi
29674 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29675 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29676 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29677 EXPAT_LINK=" -lexpat"
29678 fi
29679
29680 fi
29681 fi
29682 if test "x$EXPAT_LINK" = "x" ; then
29683 if test "$wxUSE_EXPAT" = "sys" ; then
29684 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29685 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29686 { (exit 1); exit 1; }; }
29687 else
29688 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29689 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29690 wxUSE_EXPAT=builtin
29691 fi
29692 else
29693 wxUSE_EXPAT=sys
29694 fi
29695 fi
29696 if test "$wxUSE_EXPAT" = "builtin" ; then
29697 subdirs="$subdirs src/expat"
29698
29699 fi
29700 fi
29701
29702
29703
29704 if test "$wxUSE_LIBMSPACK" != "no"; then
29705 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29706 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29707 if test "${ac_cv_header_mspack_h+set}" = set; then
29708 echo $ECHO_N "(cached) $ECHO_C" >&6
29709 else
29710 cat >conftest.$ac_ext <<_ACEOF
29711 /* confdefs.h. */
29712 _ACEOF
29713 cat confdefs.h >>conftest.$ac_ext
29714 cat >>conftest.$ac_ext <<_ACEOF
29715 /* end confdefs.h. */
29716
29717
29718 #include <mspack.h>
29719 _ACEOF
29720 rm -f conftest.$ac_objext
29721 if { (ac_try="$ac_compile"
29722 case "(($ac_try" in
29723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29724 *) ac_try_echo=$ac_try;;
29725 esac
29726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29727 (eval "$ac_compile") 2>conftest.er1
29728 ac_status=$?
29729 grep -v '^ *+' conftest.er1 >conftest.err
29730 rm -f conftest.er1
29731 cat conftest.err >&5
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); } && {
29734 test -z "$ac_c_werror_flag" ||
29735 test ! -s conftest.err
29736 } && test -s conftest.$ac_objext; then
29737 ac_cv_header_mspack_h=yes
29738 else
29739 echo "$as_me: failed program was:" >&5
29740 sed 's/^/| /' conftest.$ac_ext >&5
29741
29742 ac_cv_header_mspack_h=no
29743 fi
29744
29745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29746 fi
29747 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29748 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29749 if test $ac_cv_header_mspack_h = yes; then
29750 found_mspack_h=1
29751 fi
29752
29753
29754 if test "x$found_mspack_h" = "x1"; then
29755 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29756 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29757 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29758 echo $ECHO_N "(cached) $ECHO_C" >&6
29759 else
29760 ac_check_lib_save_LIBS=$LIBS
29761 LIBS="-lmspack $LIBS"
29762 cat >conftest.$ac_ext <<_ACEOF
29763 /* confdefs.h. */
29764 _ACEOF
29765 cat confdefs.h >>conftest.$ac_ext
29766 cat >>conftest.$ac_ext <<_ACEOF
29767 /* end confdefs.h. */
29768
29769 /* Override any GCC internal prototype to avoid an error.
29770 Use char because int might match the return type of a GCC
29771 builtin and then its argument prototype would still apply. */
29772 #ifdef __cplusplus
29773 extern "C"
29774 #endif
29775 char mspack_create_chm_decompressor ();
29776 int
29777 main ()
29778 {
29779 return mspack_create_chm_decompressor ();
29780 ;
29781 return 0;
29782 }
29783 _ACEOF
29784 rm -f conftest.$ac_objext conftest$ac_exeext
29785 if { (ac_try="$ac_link"
29786 case "(($ac_try" in
29787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29788 *) ac_try_echo=$ac_try;;
29789 esac
29790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29791 (eval "$ac_link") 2>conftest.er1
29792 ac_status=$?
29793 grep -v '^ *+' conftest.er1 >conftest.err
29794 rm -f conftest.er1
29795 cat conftest.err >&5
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); } && {
29798 test -z "$ac_c_werror_flag" ||
29799 test ! -s conftest.err
29800 } && test -s conftest$ac_exeext &&
29801 $as_test_x conftest$ac_exeext; then
29802 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29803 else
29804 echo "$as_me: failed program was:" >&5
29805 sed 's/^/| /' conftest.$ac_ext >&5
29806
29807 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29808 fi
29809
29810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29811 conftest$ac_exeext conftest.$ac_ext
29812 LIBS=$ac_check_lib_save_LIBS
29813 fi
29814 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29815 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29816 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29817 MSPACK_LINK=" -lmspack"
29818 fi
29819
29820 fi
29821 if test "x$MSPACK_LINK" = "x" ; then
29822 wxUSE_LIBMSPACK=no
29823 fi
29824 fi
29825
29826 if test "$wxUSE_LIBMSPACK" != "no"; then
29827 cat >>confdefs.h <<\_ACEOF
29828 #define wxUSE_LIBMSPACK 1
29829 _ACEOF
29830
29831 fi
29832
29833
29834
29835 AFMINSTALL=
29836 WIN32INSTALL=
29837
29838 TOOLKIT=
29839 TOOLKIT_INCLUDE=
29840 WIDGET_SET=
29841
29842 if test "$USE_WIN32" = 1 ; then
29843 { echo "$as_me:$LINENO: checking for w32api.h" >&5
29844 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
29845 if test "${ac_cv_header_w32api_h+set}" = set; then
29846 echo $ECHO_N "(cached) $ECHO_C" >&6
29847 else
29848 cat >conftest.$ac_ext <<_ACEOF
29849 /* confdefs.h. */
29850 _ACEOF
29851 cat confdefs.h >>conftest.$ac_ext
29852 cat >>conftest.$ac_ext <<_ACEOF
29853 /* end confdefs.h. */
29854
29855
29856 #include <w32api.h>
29857 _ACEOF
29858 rm -f conftest.$ac_objext
29859 if { (ac_try="$ac_compile"
29860 case "(($ac_try" in
29861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29862 *) ac_try_echo=$ac_try;;
29863 esac
29864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29865 (eval "$ac_compile") 2>conftest.er1
29866 ac_status=$?
29867 grep -v '^ *+' conftest.er1 >conftest.err
29868 rm -f conftest.er1
29869 cat conftest.err >&5
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); } && {
29872 test -z "$ac_c_werror_flag" ||
29873 test ! -s conftest.err
29874 } && test -s conftest.$ac_objext; then
29875 ac_cv_header_w32api_h=yes
29876 else
29877 echo "$as_me: failed program was:" >&5
29878 sed 's/^/| /' conftest.$ac_ext >&5
29879
29880 ac_cv_header_w32api_h=no
29881 fi
29882
29883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29884 fi
29885 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
29886 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
29887
29888
29889 { echo "$as_me:$LINENO: checking for windows.h" >&5
29890 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29891 if test "${ac_cv_header_windows_h+set}" = set; then
29892 echo $ECHO_N "(cached) $ECHO_C" >&6
29893 else
29894 cat >conftest.$ac_ext <<_ACEOF
29895 /* confdefs.h. */
29896 _ACEOF
29897 cat confdefs.h >>conftest.$ac_ext
29898 cat >>conftest.$ac_ext <<_ACEOF
29899 /* end confdefs.h. */
29900
29901
29902 #include <windows.h>
29903 _ACEOF
29904 rm -f conftest.$ac_objext
29905 if { (ac_try="$ac_compile"
29906 case "(($ac_try" in
29907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29908 *) ac_try_echo=$ac_try;;
29909 esac
29910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29911 (eval "$ac_compile") 2>conftest.er1
29912 ac_status=$?
29913 grep -v '^ *+' conftest.er1 >conftest.err
29914 rm -f conftest.er1
29915 cat conftest.err >&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); } && {
29918 test -z "$ac_c_werror_flag" ||
29919 test ! -s conftest.err
29920 } && test -s conftest.$ac_objext; then
29921 ac_cv_header_windows_h=yes
29922 else
29923 echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.$ac_ext >&5
29925
29926 ac_cv_header_windows_h=no
29927 fi
29928
29929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29930 fi
29931 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29932 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29933 if test $ac_cv_header_windows_h = yes; then
29934 :
29935 else
29936
29937 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29938 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29939 { (exit 1); exit 1; }; }
29940
29941 fi
29942
29943
29944
29945 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29946
29947 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29948 LIBS="$LIBS -loleacc"
29949 fi
29950
29951 case "${host}" in
29952 *-*-cygwin* )
29953 LIBS="$LIBS -lkernel32 -luser32"
29954 esac
29955
29956 if test "$wxUSE_ODBC" = "sys" ; then
29957 wxUSE_ODBC = "yes"
29958 fi
29959 if test "$wxUSE_ODBC" = "yes" ; then
29960 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29961 cat >>confdefs.h <<\_ACEOF
29962 #define wxUSE_ODBC 1
29963 _ACEOF
29964
29965 fi
29966
29967 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29968 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29969
29970 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29971
29972 WIN32INSTALL=win32install
29973
29974 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29975 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29976 if test "${ac_cv_header_pbt_h+set}" = set; then
29977 echo $ECHO_N "(cached) $ECHO_C" >&6
29978 else
29979 cat >conftest.$ac_ext <<_ACEOF
29980 /* confdefs.h. */
29981 _ACEOF
29982 cat confdefs.h >>conftest.$ac_ext
29983 cat >>conftest.$ac_ext <<_ACEOF
29984 /* end confdefs.h. */
29985
29986
29987 #include <pbt.h>
29988 _ACEOF
29989 rm -f conftest.$ac_objext
29990 if { (ac_try="$ac_compile"
29991 case "(($ac_try" in
29992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29993 *) ac_try_echo=$ac_try;;
29994 esac
29995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29996 (eval "$ac_compile") 2>conftest.er1
29997 ac_status=$?
29998 grep -v '^ *+' conftest.er1 >conftest.err
29999 rm -f conftest.er1
30000 cat conftest.err >&5
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); } && {
30003 test -z "$ac_c_werror_flag" ||
30004 test ! -s conftest.err
30005 } && test -s conftest.$ac_objext; then
30006 ac_cv_header_pbt_h=yes
30007 else
30008 echo "$as_me: failed program was:" >&5
30009 sed 's/^/| /' conftest.$ac_ext >&5
30010
30011 ac_cv_header_pbt_h=no
30012 fi
30013
30014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30015 fi
30016 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30017 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30018 if test $ac_cv_header_pbt_h = yes; then
30019 :
30020 else
30021 cat >>confdefs.h <<\_ACEOF
30022 #define NEED_PBT_H 1
30023 _ACEOF
30024
30025 fi
30026
30027
30028 fi
30029
30030 if test "$wxUSE_GUI" = "yes"; then
30031 USE_GUI=1
30032
30033 GUI_TK_LIBRARY=
30034
30035 WXGTK12=
30036 WXGTK127=
30037 WXGTK20=
30038 WXGPE=
30039
30040 if test "$wxUSE_COCOA" = 1 ; then
30041 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30042 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30043 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30044 wxUSE_PRINTING_ARCHITECTURE=no
30045 fi
30046 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30047 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30048 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30049 wxUSE_DRAG_AND_DROP=no
30050 fi
30051 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30052 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30053 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30054 wxUSE_DRAGIMAGE=no
30055 fi
30056 fi
30057
30058 if test "$wxUSE_MSW" = 1 ; then
30059 TOOLKIT=MSW
30060 GUIDIST=MSW_DIST
30061
30062 case "${host}" in
30063 *-*-mingw32* )
30064 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30065 esac
30066 fi
30067
30068 if test "$wxUSE_GTK" = 1; then
30069 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30070 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30071
30072 gtk_version_cached=1
30073 if test "${wx_cv_lib_gtk+set}" = set; then
30074 echo $ECHO_N "(cached) $ECHO_C" >&6
30075 else
30076
30077 gtk_version_cached=0
30078 { echo "$as_me:$LINENO: result: " >&5
30079 echo "${ECHO_T}" >&6; }
30080
30081 GTK_MODULES=
30082 if test "$wxUSE_THREADS" = "yes"; then
30083 GTK_MODULES=gthread
30084 fi
30085
30086 wx_cv_lib_gtk=
30087 if test "x$wxGTK_VERSION" != "x1"
30088 then
30089 case "${host}" in
30090 *-*-solaris2* )
30091 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30092 enable_gtktest=no
30093 fi
30094 esac
30095
30096 # Check whether --enable-gtktest was given.
30097 if test "${enable_gtktest+set}" = set; then
30098 enableval=$enable_gtktest;
30099 else
30100 enable_gtktest=yes
30101 fi
30102
30103
30104 pkg_config_args=gtk+-2.0
30105 for module in . $GTK_MODULES
30106 do
30107 case "$module" in
30108 gthread)
30109 pkg_config_args="$pkg_config_args gthread-2.0"
30110 ;;
30111 esac
30112 done
30113
30114 no_gtk=""
30115
30116 # Extract the first word of "pkg-config", so it can be a program name with args.
30117 set dummy pkg-config; ac_word=$2
30118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30120 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30121 echo $ECHO_N "(cached) $ECHO_C" >&6
30122 else
30123 case $PKG_CONFIG in
30124 [\\/]* | ?:[\\/]*)
30125 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30126 ;;
30127 *)
30128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30129 for as_dir in $PATH
30130 do
30131 IFS=$as_save_IFS
30132 test -z "$as_dir" && as_dir=.
30133 for ac_exec_ext in '' $ac_executable_extensions; do
30134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30135 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30137 break 2
30138 fi
30139 done
30140 done
30141 IFS=$as_save_IFS
30142
30143 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30144 ;;
30145 esac
30146 fi
30147 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30148 if test -n "$PKG_CONFIG"; then
30149 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30150 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30151 else
30152 { echo "$as_me:$LINENO: result: no" >&5
30153 echo "${ECHO_T}no" >&6; }
30154 fi
30155
30156
30157
30158 if test x$PKG_CONFIG != xno ; then
30159 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30160 :
30161 else
30162 echo "*** pkg-config too old; version 0.7 or better required."
30163 no_gtk=yes
30164 PKG_CONFIG=no
30165 fi
30166 else
30167 no_gtk=yes
30168 fi
30169
30170 min_gtk_version=2.0.0
30171 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30172 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30173
30174 if test x$PKG_CONFIG != xno ; then
30175 ## don't try to run the test against uninstalled libtool libs
30176 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30177 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30178 enable_gtktest=no
30179 fi
30180
30181 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30182 :
30183 else
30184 no_gtk=yes
30185 fi
30186 fi
30187
30188 if test x"$no_gtk" = x ; then
30189 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30190 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30191 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30193 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30195 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30197 if test "x$enable_gtktest" = "xyes" ; then
30198 ac_save_CFLAGS="$CFLAGS"
30199 ac_save_LIBS="$LIBS"
30200 CFLAGS="$CFLAGS $GTK_CFLAGS"
30201 LIBS="$GTK_LIBS $LIBS"
30202 rm -f conf.gtktest
30203 if test "$cross_compiling" = yes; then
30204 echo $ac_n "cross compiling; assumed OK... $ac_c"
30205 else
30206 cat >conftest.$ac_ext <<_ACEOF
30207 /* confdefs.h. */
30208 _ACEOF
30209 cat confdefs.h >>conftest.$ac_ext
30210 cat >>conftest.$ac_ext <<_ACEOF
30211 /* end confdefs.h. */
30212
30213 #include <gtk/gtk.h>
30214 #include <stdio.h>
30215 #include <stdlib.h>
30216
30217 int
30218 main ()
30219 {
30220 int major, minor, micro;
30221 char *tmp_version;
30222
30223 system ("touch conf.gtktest");
30224
30225 /* HP/UX 9 (%@#!) writes to sscanf strings */
30226 tmp_version = g_strdup("$min_gtk_version");
30227 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30228 printf("%s, bad version string\n", "$min_gtk_version");
30229 exit(1);
30230 }
30231
30232 if ((gtk_major_version != $gtk_config_major_version) ||
30233 (gtk_minor_version != $gtk_config_minor_version) ||
30234 (gtk_micro_version != $gtk_config_micro_version))
30235 {
30236 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30237 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30238 gtk_major_version, gtk_minor_version, gtk_micro_version);
30239 printf ("*** was found! If pkg-config was correct, then it is best\n");
30240 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30241 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30242 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30243 printf("*** required on your system.\n");
30244 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30245 printf("*** to point to the correct configuration files\n");
30246 }
30247 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30248 (gtk_minor_version != GTK_MINOR_VERSION) ||
30249 (gtk_micro_version != GTK_MICRO_VERSION))
30250 {
30251 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30252 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30253 printf("*** library (version %d.%d.%d)\n",
30254 gtk_major_version, gtk_minor_version, gtk_micro_version);
30255 }
30256 else
30257 {
30258 if ((gtk_major_version > major) ||
30259 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30260 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30261 {
30262 return 0;
30263 }
30264 else
30265 {
30266 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30267 gtk_major_version, gtk_minor_version, gtk_micro_version);
30268 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30269 major, minor, micro);
30270 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30271 printf("***\n");
30272 printf("*** If you have already installed a sufficiently new version, this error\n");
30273 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30274 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30275 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30276 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30277 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30278 printf("*** so that the correct libraries are found at run-time))\n");
30279 }
30280 }
30281 return 1;
30282 }
30283
30284 _ACEOF
30285 rm -f conftest$ac_exeext
30286 if { (ac_try="$ac_link"
30287 case "(($ac_try" in
30288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30289 *) ac_try_echo=$ac_try;;
30290 esac
30291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30292 (eval "$ac_link") 2>&5
30293 ac_status=$?
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30296 { (case "(($ac_try" in
30297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30298 *) ac_try_echo=$ac_try;;
30299 esac
30300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30301 (eval "$ac_try") 2>&5
30302 ac_status=$?
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); }; }; then
30305 :
30306 else
30307 echo "$as_me: program exited with status $ac_status" >&5
30308 echo "$as_me: failed program was:" >&5
30309 sed 's/^/| /' conftest.$ac_ext >&5
30310
30311 ( exit $ac_status )
30312 no_gtk=yes
30313 fi
30314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30315 fi
30316
30317
30318 CFLAGS="$ac_save_CFLAGS"
30319 LIBS="$ac_save_LIBS"
30320 fi
30321 fi
30322 if test "x$no_gtk" = x ; then
30323 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30324 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30325 wx_cv_lib_gtk=2.0
30326 else
30327 { echo "$as_me:$LINENO: result: no" >&5
30328 echo "${ECHO_T}no" >&6; }
30329 if test "$PKG_CONFIG" = "no" ; then
30330 echo "*** A new enough version of pkg-config was not found."
30331 echo "*** See http://pkgconfig.sourceforge.net"
30332 else
30333 if test -f conf.gtktest ; then
30334 :
30335 else
30336 echo "*** Could not run GTK+ test program, checking why..."
30337 ac_save_CFLAGS="$CFLAGS"
30338 ac_save_LIBS="$LIBS"
30339 CFLAGS="$CFLAGS $GTK_CFLAGS"
30340 LIBS="$LIBS $GTK_LIBS"
30341 cat >conftest.$ac_ext <<_ACEOF
30342 /* confdefs.h. */
30343 _ACEOF
30344 cat confdefs.h >>conftest.$ac_ext
30345 cat >>conftest.$ac_ext <<_ACEOF
30346 /* end confdefs.h. */
30347
30348 #include <gtk/gtk.h>
30349 #include <stdio.h>
30350
30351 int
30352 main ()
30353 {
30354 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30355 ;
30356 return 0;
30357 }
30358 _ACEOF
30359 rm -f conftest.$ac_objext conftest$ac_exeext
30360 if { (ac_try="$ac_link"
30361 case "(($ac_try" in
30362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30363 *) ac_try_echo=$ac_try;;
30364 esac
30365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30366 (eval "$ac_link") 2>conftest.er1
30367 ac_status=$?
30368 grep -v '^ *+' conftest.er1 >conftest.err
30369 rm -f conftest.er1
30370 cat conftest.err >&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } && {
30373 test -z "$ac_c_werror_flag" ||
30374 test ! -s conftest.err
30375 } && test -s conftest$ac_exeext &&
30376 $as_test_x conftest$ac_exeext; then
30377 echo "*** The test program compiled, but did not run. This usually means"
30378 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30379 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30380 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30381 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30382 echo "*** is required on your system"
30383 echo "***"
30384 echo "*** If you have an old version installed, it is best to remove it, although"
30385 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30386 else
30387 echo "$as_me: failed program was:" >&5
30388 sed 's/^/| /' conftest.$ac_ext >&5
30389
30390 echo "*** The test program failed to compile or link. See the file config.log for the"
30391 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30392 fi
30393
30394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30395 conftest$ac_exeext conftest.$ac_ext
30396 CFLAGS="$ac_save_CFLAGS"
30397 LIBS="$ac_save_LIBS"
30398 fi
30399 fi
30400 GTK_CFLAGS=""
30401 GTK_LIBS=""
30402 :
30403 fi
30404
30405
30406 rm -f conf.gtktest
30407
30408
30409 case "${host}" in
30410 *-*-solaris2* )
30411 if test "$wxUSE_SHARED" != "yes"; then
30412 GTK_LIBS="$GTK_LIBS -lX11"
30413 fi
30414 esac
30415 fi
30416
30417 if test -z "$wx_cv_lib_gtk"; then
30418 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30419
30420 # Check whether --with-gtk-prefix was given.
30421 if test "${with_gtk_prefix+set}" = set; then
30422 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30423 else
30424 gtk_config_prefix=""
30425 fi
30426
30427
30428 # Check whether --with-gtk-exec-prefix was given.
30429 if test "${with_gtk_exec_prefix+set}" = set; then
30430 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30431 else
30432 gtk_config_exec_prefix=""
30433 fi
30434
30435 # Check whether --enable-gtktest was given.
30436 if test "${enable_gtktest+set}" = set; then
30437 enableval=$enable_gtktest;
30438 else
30439 enable_gtktest=yes
30440 fi
30441
30442
30443 for module in . $GTK_MODULES
30444 do
30445 case "$module" in
30446 gthread)
30447 gtk_config_args="$gtk_config_args gthread"
30448 ;;
30449 esac
30450 done
30451
30452 if test x$gtk_config_exec_prefix != x ; then
30453 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30454 if test x${GTK_CONFIG+set} != xset ; then
30455 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30456 fi
30457 fi
30458 if test x$gtk_config_prefix != x ; then
30459 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30460 if test x${GTK_CONFIG+set} != xset ; then
30461 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30462 fi
30463 fi
30464
30465 # Extract the first word of "gtk-config", so it can be a program name with args.
30466 set dummy gtk-config; ac_word=$2
30467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30469 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30470 echo $ECHO_N "(cached) $ECHO_C" >&6
30471 else
30472 case $GTK_CONFIG in
30473 [\\/]* | ?:[\\/]*)
30474 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30475 ;;
30476 *)
30477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30478 for as_dir in $PATH
30479 do
30480 IFS=$as_save_IFS
30481 test -z "$as_dir" && as_dir=.
30482 for ac_exec_ext in '' $ac_executable_extensions; do
30483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30484 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30486 break 2
30487 fi
30488 done
30489 done
30490 IFS=$as_save_IFS
30491
30492 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30493 ;;
30494 esac
30495 fi
30496 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30497 if test -n "$GTK_CONFIG"; then
30498 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30499 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30500 else
30501 { echo "$as_me:$LINENO: result: no" >&5
30502 echo "${ECHO_T}no" >&6; }
30503 fi
30504
30505
30506 min_gtk_version=1.2.7
30507 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30508 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30509 no_gtk=""
30510 if test "$GTK_CONFIG" = "no" ; then
30511 no_gtk=yes
30512 else
30513 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30514 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30515 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30517 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30519 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30520 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30521 if test "x$enable_gtktest" = "xyes" ; then
30522 ac_save_CFLAGS="$CFLAGS"
30523 ac_save_LIBS="$LIBS"
30524 CFLAGS="$CFLAGS $GTK_CFLAGS"
30525 LIBS="$GTK_LIBS $LIBS"
30526 rm -f conf.gtktest
30527 if test "$cross_compiling" = yes; then
30528 echo $ac_n "cross compiling; assumed OK... $ac_c"
30529 else
30530 cat >conftest.$ac_ext <<_ACEOF
30531 /* confdefs.h. */
30532 _ACEOF
30533 cat confdefs.h >>conftest.$ac_ext
30534 cat >>conftest.$ac_ext <<_ACEOF
30535 /* end confdefs.h. */
30536
30537 #include <gtk/gtk.h>
30538 #include <stdio.h>
30539 #include <stdlib.h>
30540
30541 int
30542 main ()
30543 {
30544 int major, minor, micro;
30545 char *tmp_version;
30546
30547 system ("touch conf.gtktest");
30548
30549 /* HP/UX 9 (%@#!) writes to sscanf strings */
30550 tmp_version = g_strdup("$min_gtk_version");
30551 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30552 printf("%s, bad version string\n", "$min_gtk_version");
30553 exit(1);
30554 }
30555
30556 if ((gtk_major_version != $gtk_config_major_version) ||
30557 (gtk_minor_version != $gtk_config_minor_version) ||
30558 (gtk_micro_version != $gtk_config_micro_version))
30559 {
30560 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30561 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30562 gtk_major_version, gtk_minor_version, gtk_micro_version);
30563 printf ("*** was found! If gtk-config was correct, then it is best\n");
30564 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30565 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30566 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30567 printf("*** required on your system.\n");
30568 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30569 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30570 printf("*** before re-running configure\n");
30571 }
30572 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30573 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30574 (gtk_minor_version != GTK_MINOR_VERSION) ||
30575 (gtk_micro_version != GTK_MICRO_VERSION))
30576 {
30577 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30578 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30579 printf("*** library (version %d.%d.%d)\n",
30580 gtk_major_version, gtk_minor_version, gtk_micro_version);
30581 }
30582 #endif /* defined (GTK_MAJOR_VERSION) ... */
30583 else
30584 {
30585 if ((gtk_major_version > major) ||
30586 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30587 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30588 {
30589 return 0;
30590 }
30591 else
30592 {
30593 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30594 gtk_major_version, gtk_minor_version, gtk_micro_version);
30595 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30596 major, minor, micro);
30597 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30598 printf("***\n");
30599 printf("*** If you have already installed a sufficiently new version, this error\n");
30600 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30601 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30602 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30603 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30604 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30605 printf("*** so that the correct libraries are found at run-time))\n");
30606 }
30607 }
30608 return 1;
30609 }
30610
30611 _ACEOF
30612 rm -f conftest$ac_exeext
30613 if { (ac_try="$ac_link"
30614 case "(($ac_try" in
30615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30616 *) ac_try_echo=$ac_try;;
30617 esac
30618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30619 (eval "$ac_link") 2>&5
30620 ac_status=$?
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30623 { (case "(($ac_try" in
30624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30625 *) ac_try_echo=$ac_try;;
30626 esac
30627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30628 (eval "$ac_try") 2>&5
30629 ac_status=$?
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); }; }; then
30632 :
30633 else
30634 echo "$as_me: program exited with status $ac_status" >&5
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.$ac_ext >&5
30637
30638 ( exit $ac_status )
30639 no_gtk=yes
30640 fi
30641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30642 fi
30643
30644
30645 CFLAGS="$ac_save_CFLAGS"
30646 LIBS="$ac_save_LIBS"
30647 fi
30648 fi
30649 if test "x$no_gtk" = x ; then
30650 { echo "$as_me:$LINENO: result: yes" >&5
30651 echo "${ECHO_T}yes" >&6; }
30652 wx_cv_lib_gtk=1.2.7
30653 else
30654 { echo "$as_me:$LINENO: result: no" >&5
30655 echo "${ECHO_T}no" >&6; }
30656 if test "$GTK_CONFIG" = "no" ; then
30657 echo "*** The gtk-config script installed by GTK could not be found"
30658 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30659 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30660 echo "*** full path to gtk-config."
30661 else
30662 if test -f conf.gtktest ; then
30663 :
30664 else
30665 echo "*** Could not run GTK test program, checking why..."
30666 CFLAGS="$CFLAGS $GTK_CFLAGS"
30667 LIBS="$LIBS $GTK_LIBS"
30668 cat >conftest.$ac_ext <<_ACEOF
30669 /* confdefs.h. */
30670 _ACEOF
30671 cat confdefs.h >>conftest.$ac_ext
30672 cat >>conftest.$ac_ext <<_ACEOF
30673 /* end confdefs.h. */
30674
30675 #include <gtk/gtk.h>
30676 #include <stdio.h>
30677
30678 int
30679 main ()
30680 {
30681 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30682 ;
30683 return 0;
30684 }
30685 _ACEOF
30686 rm -f conftest.$ac_objext conftest$ac_exeext
30687 if { (ac_try="$ac_link"
30688 case "(($ac_try" in
30689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30690 *) ac_try_echo=$ac_try;;
30691 esac
30692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30693 (eval "$ac_link") 2>conftest.er1
30694 ac_status=$?
30695 grep -v '^ *+' conftest.er1 >conftest.err
30696 rm -f conftest.er1
30697 cat conftest.err >&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); } && {
30700 test -z "$ac_c_werror_flag" ||
30701 test ! -s conftest.err
30702 } && test -s conftest$ac_exeext &&
30703 $as_test_x conftest$ac_exeext; then
30704 echo "*** The test program compiled, but did not run. This usually means"
30705 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30706 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30707 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30708 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30709 echo "*** is required on your system"
30710 echo "***"
30711 echo "*** If you have an old version installed, it is best to remove it, although"
30712 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30713 echo "***"
30714 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30715 echo "*** came with the system with the command"
30716 echo "***"
30717 echo "*** rpm --erase --nodeps gtk gtk-devel"
30718 else
30719 echo "$as_me: failed program was:" >&5
30720 sed 's/^/| /' conftest.$ac_ext >&5
30721
30722 echo "*** The test program failed to compile or link. See the file config.log for the"
30723 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30724 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30725 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30726 fi
30727
30728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30729 conftest$ac_exeext conftest.$ac_ext
30730 CFLAGS="$ac_save_CFLAGS"
30731 LIBS="$ac_save_LIBS"
30732 fi
30733 fi
30734 GTK_CFLAGS=""
30735 GTK_LIBS=""
30736 :
30737 fi
30738
30739
30740 rm -f conf.gtktest
30741
30742
30743 if test -z "$wx_cv_lib_gtk"; then
30744
30745 # Check whether --with-gtk-prefix was given.
30746 if test "${with_gtk_prefix+set}" = set; then
30747 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30748 else
30749 gtk_config_prefix=""
30750 fi
30751
30752
30753 # Check whether --with-gtk-exec-prefix was given.
30754 if test "${with_gtk_exec_prefix+set}" = set; then
30755 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30756 else
30757 gtk_config_exec_prefix=""
30758 fi
30759
30760 # Check whether --enable-gtktest was given.
30761 if test "${enable_gtktest+set}" = set; then
30762 enableval=$enable_gtktest;
30763 else
30764 enable_gtktest=yes
30765 fi
30766
30767
30768 for module in . $GTK_MODULES
30769 do
30770 case "$module" in
30771 gthread)
30772 gtk_config_args="$gtk_config_args gthread"
30773 ;;
30774 esac
30775 done
30776
30777 if test x$gtk_config_exec_prefix != x ; then
30778 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30779 if test x${GTK_CONFIG+set} != xset ; then
30780 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30781 fi
30782 fi
30783 if test x$gtk_config_prefix != x ; then
30784 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30785 if test x${GTK_CONFIG+set} != xset ; then
30786 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30787 fi
30788 fi
30789
30790 # Extract the first word of "gtk-config", so it can be a program name with args.
30791 set dummy gtk-config; ac_word=$2
30792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30794 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30795 echo $ECHO_N "(cached) $ECHO_C" >&6
30796 else
30797 case $GTK_CONFIG in
30798 [\\/]* | ?:[\\/]*)
30799 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30800 ;;
30801 *)
30802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30803 for as_dir in $PATH
30804 do
30805 IFS=$as_save_IFS
30806 test -z "$as_dir" && as_dir=.
30807 for ac_exec_ext in '' $ac_executable_extensions; do
30808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30809 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30811 break 2
30812 fi
30813 done
30814 done
30815 IFS=$as_save_IFS
30816
30817 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30818 ;;
30819 esac
30820 fi
30821 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30822 if test -n "$GTK_CONFIG"; then
30823 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30824 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30825 else
30826 { echo "$as_me:$LINENO: result: no" >&5
30827 echo "${ECHO_T}no" >&6; }
30828 fi
30829
30830
30831 min_gtk_version=1.2.3
30832 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30833 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30834 no_gtk=""
30835 if test "$GTK_CONFIG" = "no" ; then
30836 no_gtk=yes
30837 else
30838 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30839 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30840 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30842 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30844 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30845 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30846 if test "x$enable_gtktest" = "xyes" ; then
30847 ac_save_CFLAGS="$CFLAGS"
30848 ac_save_LIBS="$LIBS"
30849 CFLAGS="$CFLAGS $GTK_CFLAGS"
30850 LIBS="$GTK_LIBS $LIBS"
30851 rm -f conf.gtktest
30852 if test "$cross_compiling" = yes; then
30853 echo $ac_n "cross compiling; assumed OK... $ac_c"
30854 else
30855 cat >conftest.$ac_ext <<_ACEOF
30856 /* confdefs.h. */
30857 _ACEOF
30858 cat confdefs.h >>conftest.$ac_ext
30859 cat >>conftest.$ac_ext <<_ACEOF
30860 /* end confdefs.h. */
30861
30862 #include <gtk/gtk.h>
30863 #include <stdio.h>
30864 #include <stdlib.h>
30865
30866 int
30867 main ()
30868 {
30869 int major, minor, micro;
30870 char *tmp_version;
30871
30872 system ("touch conf.gtktest");
30873
30874 /* HP/UX 9 (%@#!) writes to sscanf strings */
30875 tmp_version = g_strdup("$min_gtk_version");
30876 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30877 printf("%s, bad version string\n", "$min_gtk_version");
30878 exit(1);
30879 }
30880
30881 if ((gtk_major_version != $gtk_config_major_version) ||
30882 (gtk_minor_version != $gtk_config_minor_version) ||
30883 (gtk_micro_version != $gtk_config_micro_version))
30884 {
30885 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30886 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30887 gtk_major_version, gtk_minor_version, gtk_micro_version);
30888 printf ("*** was found! If gtk-config was correct, then it is best\n");
30889 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30890 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30891 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30892 printf("*** required on your system.\n");
30893 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30894 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30895 printf("*** before re-running configure\n");
30896 }
30897 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30898 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30899 (gtk_minor_version != GTK_MINOR_VERSION) ||
30900 (gtk_micro_version != GTK_MICRO_VERSION))
30901 {
30902 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30903 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30904 printf("*** library (version %d.%d.%d)\n",
30905 gtk_major_version, gtk_minor_version, gtk_micro_version);
30906 }
30907 #endif /* defined (GTK_MAJOR_VERSION) ... */
30908 else
30909 {
30910 if ((gtk_major_version > major) ||
30911 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30912 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30913 {
30914 return 0;
30915 }
30916 else
30917 {
30918 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30919 gtk_major_version, gtk_minor_version, gtk_micro_version);
30920 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30921 major, minor, micro);
30922 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30923 printf("***\n");
30924 printf("*** If you have already installed a sufficiently new version, this error\n");
30925 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30926 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30927 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30928 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30929 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30930 printf("*** so that the correct libraries are found at run-time))\n");
30931 }
30932 }
30933 return 1;
30934 }
30935
30936 _ACEOF
30937 rm -f conftest$ac_exeext
30938 if { (ac_try="$ac_link"
30939 case "(($ac_try" in
30940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30941 *) ac_try_echo=$ac_try;;
30942 esac
30943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30944 (eval "$ac_link") 2>&5
30945 ac_status=$?
30946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30948 { (case "(($ac_try" in
30949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30950 *) ac_try_echo=$ac_try;;
30951 esac
30952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30953 (eval "$ac_try") 2>&5
30954 ac_status=$?
30955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30956 (exit $ac_status); }; }; then
30957 :
30958 else
30959 echo "$as_me: program exited with status $ac_status" >&5
30960 echo "$as_me: failed program was:" >&5
30961 sed 's/^/| /' conftest.$ac_ext >&5
30962
30963 ( exit $ac_status )
30964 no_gtk=yes
30965 fi
30966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30967 fi
30968
30969
30970 CFLAGS="$ac_save_CFLAGS"
30971 LIBS="$ac_save_LIBS"
30972 fi
30973 fi
30974 if test "x$no_gtk" = x ; then
30975 { echo "$as_me:$LINENO: result: yes" >&5
30976 echo "${ECHO_T}yes" >&6; }
30977 wx_cv_lib_gtk=1.2.3
30978 else
30979 { echo "$as_me:$LINENO: result: no" >&5
30980 echo "${ECHO_T}no" >&6; }
30981 if test "$GTK_CONFIG" = "no" ; then
30982 echo "*** The gtk-config script installed by GTK could not be found"
30983 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30984 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30985 echo "*** full path to gtk-config."
30986 else
30987 if test -f conf.gtktest ; then
30988 :
30989 else
30990 echo "*** Could not run GTK test program, checking why..."
30991 CFLAGS="$CFLAGS $GTK_CFLAGS"
30992 LIBS="$LIBS $GTK_LIBS"
30993 cat >conftest.$ac_ext <<_ACEOF
30994 /* confdefs.h. */
30995 _ACEOF
30996 cat confdefs.h >>conftest.$ac_ext
30997 cat >>conftest.$ac_ext <<_ACEOF
30998 /* end confdefs.h. */
30999
31000 #include <gtk/gtk.h>
31001 #include <stdio.h>
31002
31003 int
31004 main ()
31005 {
31006 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31007 ;
31008 return 0;
31009 }
31010 _ACEOF
31011 rm -f conftest.$ac_objext conftest$ac_exeext
31012 if { (ac_try="$ac_link"
31013 case "(($ac_try" in
31014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31015 *) ac_try_echo=$ac_try;;
31016 esac
31017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31018 (eval "$ac_link") 2>conftest.er1
31019 ac_status=$?
31020 grep -v '^ *+' conftest.er1 >conftest.err
31021 rm -f conftest.er1
31022 cat conftest.err >&5
31023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024 (exit $ac_status); } && {
31025 test -z "$ac_c_werror_flag" ||
31026 test ! -s conftest.err
31027 } && test -s conftest$ac_exeext &&
31028 $as_test_x conftest$ac_exeext; then
31029 echo "*** The test program compiled, but did not run. This usually means"
31030 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31031 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31032 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31033 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31034 echo "*** is required on your system"
31035 echo "***"
31036 echo "*** If you have an old version installed, it is best to remove it, although"
31037 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31038 echo "***"
31039 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31040 echo "*** came with the system with the command"
31041 echo "***"
31042 echo "*** rpm --erase --nodeps gtk gtk-devel"
31043 else
31044 echo "$as_me: failed program was:" >&5
31045 sed 's/^/| /' conftest.$ac_ext >&5
31046
31047 echo "*** The test program failed to compile or link. See the file config.log for the"
31048 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31049 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31050 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31051 fi
31052
31053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31054 conftest$ac_exeext conftest.$ac_ext
31055 CFLAGS="$ac_save_CFLAGS"
31056 LIBS="$ac_save_LIBS"
31057 fi
31058 fi
31059 GTK_CFLAGS=""
31060 GTK_LIBS=""
31061 :
31062 fi
31063
31064
31065 rm -f conf.gtktest
31066
31067 fi
31068 fi
31069 fi
31070
31071 if test -z "$wx_cv_lib_gtk"; then
31072 wx_cv_lib_gtk=none
31073 else
31074 wx_cv_cflags_gtk=$GTK_CFLAGS
31075 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31076 fi
31077
31078
31079 fi
31080
31081
31082 if test "$gtk_version_cached" = 1; then
31083 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31084 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31085 fi
31086
31087 case "$wx_cv_lib_gtk" in
31088 2.0) WXGTK20=1
31089 TOOLKIT_VERSION=2
31090 ;;
31091 1.2.7) WXGTK127=1
31092 WXGTK12=1
31093 ;;
31094 1.2.3) WXGTK12=1
31095 ;;
31096 *) { { echo "$as_me:$LINENO: error:
31097 The development files for GTK+ were not found. For GTK+ 2, please
31098 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31099 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31100 and that the version is 1.2.3 or above. Also check that the
31101 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31102 --libs' are in the LD_LIBRARY_PATH or equivalent.
31103 " >&5
31104 echo "$as_me: error:
31105 The development files for GTK+ were not found. For GTK+ 2, please
31106 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31107 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31108 and that the version is 1.2.3 or above. Also check that the
31109 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31110 --libs' are in the LD_LIBRARY_PATH or equivalent.
31111 " >&2;}
31112 { (exit 1); exit 1; }; }
31113 ;;
31114 esac
31115
31116 if test "$WXGTK20" = 1; then
31117 save_CFLAGS="$CFLAGS"
31118 save_LIBS="$LIBS"
31119 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31120 LIBS="$LIBS $wx_cv_libs_gtk"
31121
31122 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31123 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31124 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31125 echo $ECHO_N "(cached) $ECHO_C" >&6
31126 else
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 #include <gtk/gtk.h>
31134
31135 int
31136 main ()
31137 {
31138 #ifndef gtk_icon_size_lookup
31139 (void) gtk_icon_size_lookup;
31140 #endif
31141
31142 ;
31143 return 0;
31144 }
31145 _ACEOF
31146 rm -f conftest.$ac_objext
31147 if { (ac_try="$ac_compile"
31148 case "(($ac_try" in
31149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31150 *) ac_try_echo=$ac_try;;
31151 esac
31152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31153 (eval "$ac_compile") 2>conftest.er1
31154 ac_status=$?
31155 grep -v '^ *+' conftest.er1 >conftest.err
31156 rm -f conftest.er1
31157 cat conftest.err >&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); } && {
31160 test -z "$ac_c_werror_flag" ||
31161 test ! -s conftest.err
31162 } && test -s conftest.$ac_objext; then
31163 ac_cv_have_decl_gtk_icon_size_lookup=yes
31164 else
31165 echo "$as_me: failed program was:" >&5
31166 sed 's/^/| /' conftest.$ac_ext >&5
31167
31168 ac_cv_have_decl_gtk_icon_size_lookup=no
31169 fi
31170
31171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31172 fi
31173 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31174 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31175 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31176
31177 cat >>confdefs.h <<_ACEOF
31178 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31179 _ACEOF
31180
31181
31182 else
31183 cat >>confdefs.h <<_ACEOF
31184 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31185 _ACEOF
31186
31187 cat >>confdefs.h <<\_ACEOF
31188 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31189 _ACEOF
31190
31191 fi
31192
31193
31194
31195
31196 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31197 echo $ECHO_N "checking if GTK+ is version >= 2.10... $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,10,0)
31212 Not GTK+ 2.10
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 __WXGTK210__ 1
31239 _ACEOF
31240
31241 cat >>confdefs.h <<\_ACEOF
31242 #define __WXGTK26__ 1
31243 _ACEOF
31244
31245 cat >>confdefs.h <<\_ACEOF
31246 #define __WXGTK24__ 1
31247 _ACEOF
31248
31249 { echo "$as_me:$LINENO: result: yes" >&5
31250 echo "${ECHO_T}yes" >&6; }
31251 ac_wxgtk210=1
31252
31253 else
31254 echo "$as_me: failed program was:" >&5
31255 sed 's/^/| /' conftest.$ac_ext >&5
31256
31257
31258 { echo "$as_me:$LINENO: result: no" >&5
31259 echo "${ECHO_T}no" >&6; }
31260 ac_wxgtk210=0
31261
31262 fi
31263
31264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31265
31266 if test "$ac_wxgtk210" = 0; then
31267 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31268 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31269 cat >conftest.$ac_ext <<_ACEOF
31270 /* confdefs.h. */
31271 _ACEOF
31272 cat confdefs.h >>conftest.$ac_ext
31273 cat >>conftest.$ac_ext <<_ACEOF
31274 /* end confdefs.h. */
31275
31276 #include <gtk/gtk.h>
31277
31278 int
31279 main ()
31280 {
31281
31282 #if !GTK_CHECK_VERSION(2,6,0)
31283 Not GTK+ 2.6
31284 #endif
31285
31286 ;
31287 return 0;
31288 }
31289 _ACEOF
31290 rm -f conftest.$ac_objext
31291 if { (ac_try="$ac_compile"
31292 case "(($ac_try" in
31293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31294 *) ac_try_echo=$ac_try;;
31295 esac
31296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31297 (eval "$ac_compile") 2>conftest.er1
31298 ac_status=$?
31299 grep -v '^ *+' conftest.er1 >conftest.err
31300 rm -f conftest.er1
31301 cat conftest.err >&5
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); } && {
31304 test -z "$ac_c_werror_flag" ||
31305 test ! -s conftest.err
31306 } && test -s conftest.$ac_objext; then
31307
31308 cat >>confdefs.h <<\_ACEOF
31309 #define __WXGTK26__ 1
31310 _ACEOF
31311
31312 cat >>confdefs.h <<\_ACEOF
31313 #define __WXGTK24__ 1
31314 _ACEOF
31315
31316 { echo "$as_me:$LINENO: result: yes" >&5
31317 echo "${ECHO_T}yes" >&6; }
31318 ac_wxgtk26=1
31319
31320 else
31321 echo "$as_me: failed program was:" >&5
31322 sed 's/^/| /' conftest.$ac_ext >&5
31323
31324
31325 { echo "$as_me:$LINENO: result: no" >&5
31326 echo "${ECHO_T}no" >&6; }
31327 ac_wxgtk26=0
31328
31329 fi
31330
31331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31332 fi
31333
31334 if test "$ac_wxgtk26" = 0; then
31335 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31336 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31337 cat >conftest.$ac_ext <<_ACEOF
31338 /* confdefs.h. */
31339 _ACEOF
31340 cat confdefs.h >>conftest.$ac_ext
31341 cat >>conftest.$ac_ext <<_ACEOF
31342 /* end confdefs.h. */
31343
31344 #include <gtk/gtk.h>
31345
31346 int
31347 main ()
31348 {
31349
31350 #if !GTK_CHECK_VERSION(2,4,0)
31351 Not GTK+ 2.4
31352 #endif
31353
31354 ;
31355 return 0;
31356 }
31357 _ACEOF
31358 rm -f conftest.$ac_objext
31359 if { (ac_try="$ac_compile"
31360 case "(($ac_try" in
31361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31362 *) ac_try_echo=$ac_try;;
31363 esac
31364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31365 (eval "$ac_compile") 2>conftest.er1
31366 ac_status=$?
31367 grep -v '^ *+' conftest.er1 >conftest.err
31368 rm -f conftest.er1
31369 cat conftest.err >&5
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); } && {
31372 test -z "$ac_c_werror_flag" ||
31373 test ! -s conftest.err
31374 } && test -s conftest.$ac_objext; then
31375
31376 cat >>confdefs.h <<\_ACEOF
31377 #define __WXGTK24__ 1
31378 _ACEOF
31379
31380 { echo "$as_me:$LINENO: result: yes" >&5
31381 echo "${ECHO_T}yes" >&6; }
31382
31383 else
31384 echo "$as_me: failed program was:" >&5
31385 sed 's/^/| /' conftest.$ac_ext >&5
31386
31387
31388 { echo "$as_me:$LINENO: result: no" >&5
31389 echo "${ECHO_T}no" >&6; }
31390
31391 fi
31392
31393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31394 fi
31395
31396 CFLAGS="$save_CFLAGS"
31397 LIBS="$save_LIBS"
31398 else
31399 if test "$wxUSE_UNICODE" = "yes"; then
31400 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31401 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31402 wxUSE_UNICODE=no
31403 fi
31404
31405 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31406 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31407 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31408 echo $ECHO_N "(cached) $ECHO_C" >&6
31409 else
31410 ac_check_lib_save_LIBS=$LIBS
31411 LIBS="-lgdk $LIBS"
31412 cat >conftest.$ac_ext <<_ACEOF
31413 /* confdefs.h. */
31414 _ACEOF
31415 cat confdefs.h >>conftest.$ac_ext
31416 cat >>conftest.$ac_ext <<_ACEOF
31417 /* end confdefs.h. */
31418
31419 /* Override any GCC internal prototype to avoid an error.
31420 Use char because int might match the return type of a GCC
31421 builtin and then its argument prototype would still apply. */
31422 #ifdef __cplusplus
31423 extern "C"
31424 #endif
31425 char gdk_im_open ();
31426 int
31427 main ()
31428 {
31429 return gdk_im_open ();
31430 ;
31431 return 0;
31432 }
31433 _ACEOF
31434 rm -f conftest.$ac_objext conftest$ac_exeext
31435 if { (ac_try="$ac_link"
31436 case "(($ac_try" in
31437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31438 *) ac_try_echo=$ac_try;;
31439 esac
31440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31441 (eval "$ac_link") 2>conftest.er1
31442 ac_status=$?
31443 grep -v '^ *+' conftest.er1 >conftest.err
31444 rm -f conftest.er1
31445 cat conftest.err >&5
31446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31447 (exit $ac_status); } && {
31448 test -z "$ac_c_werror_flag" ||
31449 test ! -s conftest.err
31450 } && test -s conftest$ac_exeext &&
31451 $as_test_x conftest$ac_exeext; then
31452 ac_cv_lib_gdk_gdk_im_open=yes
31453 else
31454 echo "$as_me: failed program was:" >&5
31455 sed 's/^/| /' conftest.$ac_ext >&5
31456
31457 ac_cv_lib_gdk_gdk_im_open=no
31458 fi
31459
31460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31461 conftest$ac_exeext conftest.$ac_ext
31462 LIBS=$ac_check_lib_save_LIBS
31463 fi
31464 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31465 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31466 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31467 cat >>confdefs.h <<\_ACEOF
31468 #define HAVE_XIM 1
31469 _ACEOF
31470
31471 fi
31472
31473
31474 if test "$USE_DARWIN" != 1; then
31475
31476 for ac_func in poll
31477 do
31478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31481 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31482 echo $ECHO_N "(cached) $ECHO_C" >&6
31483 else
31484 cat >conftest.$ac_ext <<_ACEOF
31485 /* confdefs.h. */
31486 _ACEOF
31487 cat confdefs.h >>conftest.$ac_ext
31488 cat >>conftest.$ac_ext <<_ACEOF
31489 /* end confdefs.h. */
31490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31492 #define $ac_func innocuous_$ac_func
31493
31494 /* System header to define __stub macros and hopefully few prototypes,
31495 which can conflict with char $ac_func (); below.
31496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31497 <limits.h> exists even on freestanding compilers. */
31498
31499 #ifdef __STDC__
31500 # include <limits.h>
31501 #else
31502 # include <assert.h>
31503 #endif
31504
31505 #undef $ac_func
31506
31507 /* Override any GCC internal prototype to avoid an error.
31508 Use char because int might match the return type of a GCC
31509 builtin and then its argument prototype would still apply. */
31510 #ifdef __cplusplus
31511 extern "C"
31512 #endif
31513 char $ac_func ();
31514 /* The GNU C library defines this for functions which it implements
31515 to always fail with ENOSYS. Some functions are actually named
31516 something starting with __ and the normal name is an alias. */
31517 #if defined __stub_$ac_func || defined __stub___$ac_func
31518 choke me
31519 #endif
31520
31521 int
31522 main ()
31523 {
31524 return $ac_func ();
31525 ;
31526 return 0;
31527 }
31528 _ACEOF
31529 rm -f conftest.$ac_objext conftest$ac_exeext
31530 if { (ac_try="$ac_link"
31531 case "(($ac_try" in
31532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31533 *) ac_try_echo=$ac_try;;
31534 esac
31535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31536 (eval "$ac_link") 2>conftest.er1
31537 ac_status=$?
31538 grep -v '^ *+' conftest.er1 >conftest.err
31539 rm -f conftest.er1
31540 cat conftest.err >&5
31541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542 (exit $ac_status); } && {
31543 test -z "$ac_c_werror_flag" ||
31544 test ! -s conftest.err
31545 } && test -s conftest$ac_exeext &&
31546 $as_test_x conftest$ac_exeext; then
31547 eval "$as_ac_var=yes"
31548 else
31549 echo "$as_me: failed program was:" >&5
31550 sed 's/^/| /' conftest.$ac_ext >&5
31551
31552 eval "$as_ac_var=no"
31553 fi
31554
31555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31556 conftest$ac_exeext conftest.$ac_ext
31557 fi
31558 ac_res=`eval echo '${'$as_ac_var'}'`
31559 { echo "$as_me:$LINENO: result: $ac_res" >&5
31560 echo "${ECHO_T}$ac_res" >&6; }
31561 if test `eval echo '${'$as_ac_var'}'` = yes; then
31562 cat >>confdefs.h <<_ACEOF
31563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31564 _ACEOF
31565
31566 fi
31567 done
31568
31569 fi
31570 fi
31571
31572 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31573 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31574
31575 AFMINSTALL=afminstall
31576 TOOLKIT=GTK
31577 GUIDIST=GTK_DIST
31578
31579 if test "$wxUSE_GPE" = "yes"; then
31580 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31581 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31582
31583 ac_find_libraries=
31584 for ac_dir in $SEARCH_LIB;
31585 do
31586 for ac_extension in a so sl dylib dll.a; do
31587 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31588 ac_find_libraries=$ac_dir
31589 break 2
31590 fi
31591 done
31592 done
31593
31594 if test "$ac_find_libraries" != "" ; then
31595
31596 if test "$ac_find_libraries" = "default location"; then
31597 ac_path_to_link=""
31598 else
31599 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31600 result=$?
31601 if test $result = 0; then
31602 ac_path_to_link=""
31603 else
31604 ac_path_to_link=" -L$ac_find_libraries"
31605 fi
31606 fi
31607
31608 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31609 WXGPE=1
31610 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31611 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31612 else
31613 { echo "$as_me:$LINENO: result: not found" >&5
31614 echo "${ECHO_T}not found" >&6; }
31615 fi
31616
31617 fi
31618 fi
31619
31620 if test "$wxUSE_MGL" = 1; then
31621 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31622 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31623 if test "x$MGL_ROOT" = x ; then
31624 { echo "$as_me:$LINENO: result: not found" >&5
31625 echo "${ECHO_T}not found" >&6; }
31626 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31627 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31628 { (exit 1); exit 1; }; }
31629 else
31630 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31631 echo "${ECHO_T}$MGL_ROOT" >&6; }
31632 fi
31633
31634 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31635 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31636 case "${host}" in
31637 *-*-linux* )
31638 if test "x$wxUSE_SHARED" = xyes ; then
31639 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31640 else
31641 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31642 fi
31643 ;;
31644 *-pc-msdosdjgpp )
31645 mgl_os_candidates="dos32/dj2"
31646 ;;
31647 *)
31648 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31649 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31650 { (exit 1); exit 1; }; }
31651 esac
31652
31653 mgl_lib_type=""
31654 mgl_os=""
31655
31656 for mgl_os_i in $mgl_os_candidates ; do
31657 if test "x$mgl_os" = x ; then
31658 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31659 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31660 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31661 mgl_lib_type=debug
31662 mgl_os=$mgl_os_i
31663 fi
31664 fi
31665 if test "x$mgl_lib_type" = x ; then
31666 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31667 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31668 mgl_lib_type=release
31669 mgl_os=$mgl_os_i
31670 fi
31671 fi
31672 fi
31673 done
31674
31675 if test "x$mgl_os" = x ; then
31676 { echo "$as_me:$LINENO: result: not found" >&5
31677 echo "${ECHO_T}not found" >&6; }
31678 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31679 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31680 { (exit 1); exit 1; }; }
31681 fi
31682 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31683 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31684
31685 wxUSE_UNIVERSAL="yes"
31686
31687 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31688 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31689
31690 AFMINSTALL=afminstall
31691 TOOLKIT=MGL
31692 GUIDIST=MGL_DIST
31693 fi
31694
31695 if test "$wxUSE_DFB" = 1; then
31696
31697
31698 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31699 if test -n "$ac_tool_prefix"; then
31700 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31701 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31704 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31705 echo $ECHO_N "(cached) $ECHO_C" >&6
31706 else
31707 case $PKG_CONFIG in
31708 [\\/]* | ?:[\\/]*)
31709 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31710 ;;
31711 *)
31712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31713 for as_dir in $PATH
31714 do
31715 IFS=$as_save_IFS
31716 test -z "$as_dir" && as_dir=.
31717 for ac_exec_ext in '' $ac_executable_extensions; do
31718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31719 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31721 break 2
31722 fi
31723 done
31724 done
31725 IFS=$as_save_IFS
31726
31727 ;;
31728 esac
31729 fi
31730 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31731 if test -n "$PKG_CONFIG"; then
31732 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31733 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31734 else
31735 { echo "$as_me:$LINENO: result: no" >&5
31736 echo "${ECHO_T}no" >&6; }
31737 fi
31738
31739
31740 fi
31741 if test -z "$ac_cv_path_PKG_CONFIG"; then
31742 ac_pt_PKG_CONFIG=$PKG_CONFIG
31743 # Extract the first word of "pkg-config", so it can be a program name with args.
31744 set dummy pkg-config; ac_word=$2
31745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31747 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31748 echo $ECHO_N "(cached) $ECHO_C" >&6
31749 else
31750 case $ac_pt_PKG_CONFIG in
31751 [\\/]* | ?:[\\/]*)
31752 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31753 ;;
31754 *)
31755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31756 for as_dir in $PATH
31757 do
31758 IFS=$as_save_IFS
31759 test -z "$as_dir" && as_dir=.
31760 for ac_exec_ext in '' $ac_executable_extensions; do
31761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31762 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31764 break 2
31765 fi
31766 done
31767 done
31768 IFS=$as_save_IFS
31769
31770 ;;
31771 esac
31772 fi
31773 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31774 if test -n "$ac_pt_PKG_CONFIG"; then
31775 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31776 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31777 else
31778 { echo "$as_me:$LINENO: result: no" >&5
31779 echo "${ECHO_T}no" >&6; }
31780 fi
31781
31782 if test "x$ac_pt_PKG_CONFIG" = x; then
31783 PKG_CONFIG=""
31784 else
31785 case $cross_compiling:$ac_tool_warned in
31786 yes:)
31787 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31788 whose name does not start with the host triplet. If you think this
31789 configuration is useful to you, please write to autoconf@gnu.org." >&5
31790 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31791 whose name does not start with the host triplet. If you think this
31792 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31793 ac_tool_warned=yes ;;
31794 esac
31795 PKG_CONFIG=$ac_pt_PKG_CONFIG
31796 fi
31797 else
31798 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31799 fi
31800
31801 fi
31802 if test -n "$PKG_CONFIG"; then
31803 _pkg_min_version=0.9.0
31804 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31805 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31806 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31807 { echo "$as_me:$LINENO: result: yes" >&5
31808 echo "${ECHO_T}yes" >&6; }
31809 else
31810 { echo "$as_me:$LINENO: result: no" >&5
31811 echo "${ECHO_T}no" >&6; }
31812 PKG_CONFIG=""
31813 fi
31814
31815 fi
31816
31817
31818 pkg_failed=no
31819 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31820 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31821
31822 if test -n "$PKG_CONFIG"; then
31823 if test -n "$DIRECTFB_CFLAGS"; then
31824 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31825 else
31826 if test -n "$PKG_CONFIG" && \
31827 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31828 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31829 ac_status=$?
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); }; then
31832 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31833 else
31834 pkg_failed=yes
31835 fi
31836 fi
31837 else
31838 pkg_failed=untried
31839 fi
31840 if test -n "$PKG_CONFIG"; then
31841 if test -n "$DIRECTFB_LIBS"; then
31842 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31843 else
31844 if test -n "$PKG_CONFIG" && \
31845 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31846 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31847 ac_status=$?
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); }; then
31850 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31851 else
31852 pkg_failed=yes
31853 fi
31854 fi
31855 else
31856 pkg_failed=untried
31857 fi
31858
31859
31860
31861 if test $pkg_failed = yes; then
31862
31863 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31864 _pkg_short_errors_supported=yes
31865 else
31866 _pkg_short_errors_supported=no
31867 fi
31868 if test $_pkg_short_errors_supported = yes; then
31869 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31870 else
31871 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31872 fi
31873 # Put the nasty error message in config.log where it belongs
31874 echo "$DIRECTFB_PKG_ERRORS" >&5
31875
31876
31877 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31878 echo "$as_me: error: DirectFB not found." >&2;}
31879 { (exit 1); exit 1; }; }
31880
31881
31882 elif test $pkg_failed = untried; then
31883
31884 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31885 echo "$as_me: error: DirectFB not found." >&2;}
31886 { (exit 1); exit 1; }; }
31887
31888
31889 else
31890 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31891 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31892 { echo "$as_me:$LINENO: result: yes" >&5
31893 echo "${ECHO_T}yes" >&6; }
31894
31895 wxUSE_UNIVERSAL="yes"
31896 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31897 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31898 TOOLKIT=DFB
31899 GUIDIST=DFB_DIST
31900
31901 fi
31902 fi
31903
31904 if test "$wxUSE_MICROWIN" = 1; then
31905 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31906 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31907 if test "x$MICROWINDOWS" = x ; then
31908 { echo "$as_me:$LINENO: result: not found" >&5
31909 echo "${ECHO_T}not found" >&6; }
31910 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31911 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31912 { (exit 1); exit 1; }; }
31913 else
31914 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31915 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31916 fi
31917
31918 if test -f $MICROWINDOWS/lib/libmwin.a; then
31919 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31920 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31921 else
31922 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31923 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31924 { (exit 1); exit 1; }; }
31925 fi
31926
31927 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31928 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31929
31930 wxUSE_UNIVERSAL="yes"
31931
31932 AFMINSTALL=afminstall
31933 TOOLKIT=MICROWIN
31934 GUIDIST=MICROWIN_DIST
31935
31936 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31937 fi
31938
31939 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31940 { echo "$as_me:$LINENO: checking for X" >&5
31941 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31942
31943
31944 # Check whether --with-x was given.
31945 if test "${with_x+set}" = set; then
31946 withval=$with_x;
31947 fi
31948
31949 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31950 if test "x$with_x" = xno; then
31951 # The user explicitly disabled X.
31952 have_x=disabled
31953 else
31954 case $x_includes,$x_libraries in #(
31955 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31956 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31957 { (exit 1); exit 1; }; };; #(
31958 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31959 echo $ECHO_N "(cached) $ECHO_C" >&6
31960 else
31961 # One or both of the vars are not set, and there is no cached value.
31962 ac_x_includes=no ac_x_libraries=no
31963 rm -f -r conftest.dir
31964 if mkdir conftest.dir; then
31965 cd conftest.dir
31966 cat >Imakefile <<'_ACEOF'
31967 incroot:
31968 @echo incroot='${INCROOT}'
31969 usrlibdir:
31970 @echo usrlibdir='${USRLIBDIR}'
31971 libdir:
31972 @echo libdir='${LIBDIR}'
31973 _ACEOF
31974 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31975 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31976 for ac_var in incroot usrlibdir libdir; do
31977 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31978 done
31979 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31980 for ac_extension in a so sl; do
31981 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31982 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31983 ac_im_usrlibdir=$ac_im_libdir; break
31984 fi
31985 done
31986 # Screen out bogus values from the imake configuration. They are
31987 # bogus both because they are the default anyway, and because
31988 # using them would break gcc on systems where it needs fixed includes.
31989 case $ac_im_incroot in
31990 /usr/include) ac_x_includes= ;;
31991 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31992 esac
31993 case $ac_im_usrlibdir in
31994 /usr/lib | /lib) ;;
31995 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31996 esac
31997 fi
31998 cd ..
31999 rm -f -r conftest.dir
32000 fi
32001
32002 # Standard set of common directories for X headers.
32003 # Check X11 before X11Rn because it is often a symlink to the current release.
32004 ac_x_header_dirs='
32005 /usr/X11/include
32006 /usr/X11R6/include
32007 /usr/X11R5/include
32008 /usr/X11R4/include
32009
32010 /usr/include/X11
32011 /usr/include/X11R6
32012 /usr/include/X11R5
32013 /usr/include/X11R4
32014
32015 /usr/local/X11/include
32016 /usr/local/X11R6/include
32017 /usr/local/X11R5/include
32018 /usr/local/X11R4/include
32019
32020 /usr/local/include/X11
32021 /usr/local/include/X11R6
32022 /usr/local/include/X11R5
32023 /usr/local/include/X11R4
32024
32025 /usr/X386/include
32026 /usr/x386/include
32027 /usr/XFree86/include/X11
32028
32029 /usr/include
32030 /usr/local/include
32031 /usr/unsupported/include
32032 /usr/athena/include
32033 /usr/local/x11r5/include
32034 /usr/lpp/Xamples/include
32035
32036 /usr/openwin/include
32037 /usr/openwin/share/include'
32038
32039 if test "$ac_x_includes" = no; then
32040 # Guess where to find include files, by looking for Xlib.h.
32041 # First, try using that file with no special directory specified.
32042 cat >conftest.$ac_ext <<_ACEOF
32043 /* confdefs.h. */
32044 _ACEOF
32045 cat confdefs.h >>conftest.$ac_ext
32046 cat >>conftest.$ac_ext <<_ACEOF
32047 /* end confdefs.h. */
32048 #include <X11/Xlib.h>
32049 _ACEOF
32050 if { (ac_try="$ac_cpp conftest.$ac_ext"
32051 case "(($ac_try" in
32052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32053 *) ac_try_echo=$ac_try;;
32054 esac
32055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32057 ac_status=$?
32058 grep -v '^ *+' conftest.er1 >conftest.err
32059 rm -f conftest.er1
32060 cat conftest.err >&5
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); } >/dev/null && {
32063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32064 test ! -s conftest.err
32065 }; then
32066 # We can compile using X headers with no special include directory.
32067 ac_x_includes=
32068 else
32069 echo "$as_me: failed program was:" >&5
32070 sed 's/^/| /' conftest.$ac_ext >&5
32071
32072 for ac_dir in $ac_x_header_dirs; do
32073 if test -r "$ac_dir/X11/Xlib.h"; then
32074 ac_x_includes=$ac_dir
32075 break
32076 fi
32077 done
32078 fi
32079
32080 rm -f conftest.err conftest.$ac_ext
32081 fi # $ac_x_includes = no
32082
32083 if test "$ac_x_libraries" = no; then
32084 # Check for the libraries.
32085 # See if we find them without any special options.
32086 # Don't add to $LIBS permanently.
32087 ac_save_LIBS=$LIBS
32088 LIBS="-lX11 $LIBS"
32089 cat >conftest.$ac_ext <<_ACEOF
32090 /* confdefs.h. */
32091 _ACEOF
32092 cat confdefs.h >>conftest.$ac_ext
32093 cat >>conftest.$ac_ext <<_ACEOF
32094 /* end confdefs.h. */
32095 #include <X11/Xlib.h>
32096 int
32097 main ()
32098 {
32099 XrmInitialize ()
32100 ;
32101 return 0;
32102 }
32103 _ACEOF
32104 rm -f conftest.$ac_objext conftest$ac_exeext
32105 if { (ac_try="$ac_link"
32106 case "(($ac_try" in
32107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32108 *) ac_try_echo=$ac_try;;
32109 esac
32110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32111 (eval "$ac_link") 2>conftest.er1
32112 ac_status=$?
32113 grep -v '^ *+' conftest.er1 >conftest.err
32114 rm -f conftest.er1
32115 cat conftest.err >&5
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); } && {
32118 test -z "$ac_c_werror_flag" ||
32119 test ! -s conftest.err
32120 } && test -s conftest$ac_exeext &&
32121 $as_test_x conftest$ac_exeext; then
32122 LIBS=$ac_save_LIBS
32123 # We can link X programs with no special library path.
32124 ac_x_libraries=
32125 else
32126 echo "$as_me: failed program was:" >&5
32127 sed 's/^/| /' conftest.$ac_ext >&5
32128
32129 LIBS=$ac_save_LIBS
32130 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32131 do
32132 # Don't even attempt the hair of trying to link an X program!
32133 for ac_extension in a so sl; do
32134 if test -r "$ac_dir/libX11.$ac_extension"; then
32135 ac_x_libraries=$ac_dir
32136 break 2
32137 fi
32138 done
32139 done
32140 fi
32141
32142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32143 conftest$ac_exeext conftest.$ac_ext
32144 fi # $ac_x_libraries = no
32145
32146 case $ac_x_includes,$ac_x_libraries in #(
32147 no,* | *,no | *\'*)
32148 # Didn't find X, or a directory has "'" in its name.
32149 ac_cv_have_x="have_x=no";; #(
32150 *)
32151 # Record where we found X for the cache.
32152 ac_cv_have_x="have_x=yes\
32153 ac_x_includes='$ac_x_includes'\
32154 ac_x_libraries='$ac_x_libraries'"
32155 esac
32156 fi
32157 ;; #(
32158 *) have_x=yes;;
32159 esac
32160 eval "$ac_cv_have_x"
32161 fi # $with_x != no
32162
32163 if test "$have_x" != yes; then
32164 { echo "$as_me:$LINENO: result: $have_x" >&5
32165 echo "${ECHO_T}$have_x" >&6; }
32166 no_x=yes
32167 else
32168 # If each of the values was on the command line, it overrides each guess.
32169 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32170 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32171 # Update the cache value to reflect the command line values.
32172 ac_cv_have_x="have_x=yes\
32173 ac_x_includes='$x_includes'\
32174 ac_x_libraries='$x_libraries'"
32175 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32176 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32177 fi
32178
32179 if test "$no_x" = yes; then
32180 # Not all programs may use this symbol, but it does not hurt to define it.
32181
32182 cat >>confdefs.h <<\_ACEOF
32183 #define X_DISPLAY_MISSING 1
32184 _ACEOF
32185
32186 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32187 else
32188 if test -n "$x_includes"; then
32189 X_CFLAGS="$X_CFLAGS -I$x_includes"
32190 fi
32191
32192 # It would also be nice to do this for all -L options, not just this one.
32193 if test -n "$x_libraries"; then
32194 X_LIBS="$X_LIBS -L$x_libraries"
32195 # For Solaris; some versions of Sun CC require a space after -R and
32196 # others require no space. Words are not sufficient . . . .
32197 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32198 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32199 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32200 ac_xsave_c_werror_flag=$ac_c_werror_flag
32201 ac_c_werror_flag=yes
32202 cat >conftest.$ac_ext <<_ACEOF
32203 /* confdefs.h. */
32204 _ACEOF
32205 cat confdefs.h >>conftest.$ac_ext
32206 cat >>conftest.$ac_ext <<_ACEOF
32207 /* end confdefs.h. */
32208
32209 int
32210 main ()
32211 {
32212
32213 ;
32214 return 0;
32215 }
32216 _ACEOF
32217 rm -f conftest.$ac_objext conftest$ac_exeext
32218 if { (ac_try="$ac_link"
32219 case "(($ac_try" in
32220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32221 *) ac_try_echo=$ac_try;;
32222 esac
32223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32224 (eval "$ac_link") 2>conftest.er1
32225 ac_status=$?
32226 grep -v '^ *+' conftest.er1 >conftest.err
32227 rm -f conftest.er1
32228 cat conftest.err >&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); } && {
32231 test -z "$ac_c_werror_flag" ||
32232 test ! -s conftest.err
32233 } && test -s conftest$ac_exeext &&
32234 $as_test_x conftest$ac_exeext; then
32235 { echo "$as_me:$LINENO: result: no" >&5
32236 echo "${ECHO_T}no" >&6; }
32237 X_LIBS="$X_LIBS -R$x_libraries"
32238 else
32239 echo "$as_me: failed program was:" >&5
32240 sed 's/^/| /' conftest.$ac_ext >&5
32241
32242 LIBS="$ac_xsave_LIBS -R $x_libraries"
32243 cat >conftest.$ac_ext <<_ACEOF
32244 /* confdefs.h. */
32245 _ACEOF
32246 cat confdefs.h >>conftest.$ac_ext
32247 cat >>conftest.$ac_ext <<_ACEOF
32248 /* end confdefs.h. */
32249
32250 int
32251 main ()
32252 {
32253
32254 ;
32255 return 0;
32256 }
32257 _ACEOF
32258 rm -f conftest.$ac_objext conftest$ac_exeext
32259 if { (ac_try="$ac_link"
32260 case "(($ac_try" in
32261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32262 *) ac_try_echo=$ac_try;;
32263 esac
32264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32265 (eval "$ac_link") 2>conftest.er1
32266 ac_status=$?
32267 grep -v '^ *+' conftest.er1 >conftest.err
32268 rm -f conftest.er1
32269 cat conftest.err >&5
32270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32271 (exit $ac_status); } && {
32272 test -z "$ac_c_werror_flag" ||
32273 test ! -s conftest.err
32274 } && test -s conftest$ac_exeext &&
32275 $as_test_x conftest$ac_exeext; then
32276 { echo "$as_me:$LINENO: result: yes" >&5
32277 echo "${ECHO_T}yes" >&6; }
32278 X_LIBS="$X_LIBS -R $x_libraries"
32279 else
32280 echo "$as_me: failed program was:" >&5
32281 sed 's/^/| /' conftest.$ac_ext >&5
32282
32283 { echo "$as_me:$LINENO: result: neither works" >&5
32284 echo "${ECHO_T}neither works" >&6; }
32285 fi
32286
32287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32288 conftest$ac_exeext conftest.$ac_ext
32289 fi
32290
32291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32292 conftest$ac_exeext conftest.$ac_ext
32293 ac_c_werror_flag=$ac_xsave_c_werror_flag
32294 LIBS=$ac_xsave_LIBS
32295 fi
32296
32297 # Check for system-dependent libraries X programs must link with.
32298 # Do this before checking for the system-independent R6 libraries
32299 # (-lICE), since we may need -lsocket or whatever for X linking.
32300
32301 if test "$ISC" = yes; then
32302 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32303 else
32304 # Martyn Johnson says this is needed for Ultrix, if the X
32305 # libraries were built with DECnet support. And Karl Berry says
32306 # the Alpha needs dnet_stub (dnet does not exist).
32307 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32308 cat >conftest.$ac_ext <<_ACEOF
32309 /* confdefs.h. */
32310 _ACEOF
32311 cat confdefs.h >>conftest.$ac_ext
32312 cat >>conftest.$ac_ext <<_ACEOF
32313 /* end confdefs.h. */
32314
32315 /* Override any GCC internal prototype to avoid an error.
32316 Use char because int might match the return type of a GCC
32317 builtin and then its argument prototype would still apply. */
32318 #ifdef __cplusplus
32319 extern "C"
32320 #endif
32321 char XOpenDisplay ();
32322 int
32323 main ()
32324 {
32325 return XOpenDisplay ();
32326 ;
32327 return 0;
32328 }
32329 _ACEOF
32330 rm -f conftest.$ac_objext conftest$ac_exeext
32331 if { (ac_try="$ac_link"
32332 case "(($ac_try" in
32333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32334 *) ac_try_echo=$ac_try;;
32335 esac
32336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32337 (eval "$ac_link") 2>conftest.er1
32338 ac_status=$?
32339 grep -v '^ *+' conftest.er1 >conftest.err
32340 rm -f conftest.er1
32341 cat conftest.err >&5
32342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32343 (exit $ac_status); } && {
32344 test -z "$ac_c_werror_flag" ||
32345 test ! -s conftest.err
32346 } && test -s conftest$ac_exeext &&
32347 $as_test_x conftest$ac_exeext; then
32348 :
32349 else
32350 echo "$as_me: failed program was:" >&5
32351 sed 's/^/| /' conftest.$ac_ext >&5
32352
32353 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32354 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32355 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32356 echo $ECHO_N "(cached) $ECHO_C" >&6
32357 else
32358 ac_check_lib_save_LIBS=$LIBS
32359 LIBS="-ldnet $LIBS"
32360 cat >conftest.$ac_ext <<_ACEOF
32361 /* confdefs.h. */
32362 _ACEOF
32363 cat confdefs.h >>conftest.$ac_ext
32364 cat >>conftest.$ac_ext <<_ACEOF
32365 /* end confdefs.h. */
32366
32367 /* Override any GCC internal prototype to avoid an error.
32368 Use char because int might match the return type of a GCC
32369 builtin and then its argument prototype would still apply. */
32370 #ifdef __cplusplus
32371 extern "C"
32372 #endif
32373 char dnet_ntoa ();
32374 int
32375 main ()
32376 {
32377 return dnet_ntoa ();
32378 ;
32379 return 0;
32380 }
32381 _ACEOF
32382 rm -f conftest.$ac_objext conftest$ac_exeext
32383 if { (ac_try="$ac_link"
32384 case "(($ac_try" in
32385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32386 *) ac_try_echo=$ac_try;;
32387 esac
32388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32389 (eval "$ac_link") 2>conftest.er1
32390 ac_status=$?
32391 grep -v '^ *+' conftest.er1 >conftest.err
32392 rm -f conftest.er1
32393 cat conftest.err >&5
32394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395 (exit $ac_status); } && {
32396 test -z "$ac_c_werror_flag" ||
32397 test ! -s conftest.err
32398 } && test -s conftest$ac_exeext &&
32399 $as_test_x conftest$ac_exeext; then
32400 ac_cv_lib_dnet_dnet_ntoa=yes
32401 else
32402 echo "$as_me: failed program was:" >&5
32403 sed 's/^/| /' conftest.$ac_ext >&5
32404
32405 ac_cv_lib_dnet_dnet_ntoa=no
32406 fi
32407
32408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32409 conftest$ac_exeext conftest.$ac_ext
32410 LIBS=$ac_check_lib_save_LIBS
32411 fi
32412 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32413 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32414 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32415 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32416 fi
32417
32418 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32419 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32420 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32421 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32422 echo $ECHO_N "(cached) $ECHO_C" >&6
32423 else
32424 ac_check_lib_save_LIBS=$LIBS
32425 LIBS="-ldnet_stub $LIBS"
32426 cat >conftest.$ac_ext <<_ACEOF
32427 /* confdefs.h. */
32428 _ACEOF
32429 cat confdefs.h >>conftest.$ac_ext
32430 cat >>conftest.$ac_ext <<_ACEOF
32431 /* end confdefs.h. */
32432
32433 /* Override any GCC internal prototype to avoid an error.
32434 Use char because int might match the return type of a GCC
32435 builtin and then its argument prototype would still apply. */
32436 #ifdef __cplusplus
32437 extern "C"
32438 #endif
32439 char dnet_ntoa ();
32440 int
32441 main ()
32442 {
32443 return dnet_ntoa ();
32444 ;
32445 return 0;
32446 }
32447 _ACEOF
32448 rm -f conftest.$ac_objext conftest$ac_exeext
32449 if { (ac_try="$ac_link"
32450 case "(($ac_try" in
32451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32452 *) ac_try_echo=$ac_try;;
32453 esac
32454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32455 (eval "$ac_link") 2>conftest.er1
32456 ac_status=$?
32457 grep -v '^ *+' conftest.er1 >conftest.err
32458 rm -f conftest.er1
32459 cat conftest.err >&5
32460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32461 (exit $ac_status); } && {
32462 test -z "$ac_c_werror_flag" ||
32463 test ! -s conftest.err
32464 } && test -s conftest$ac_exeext &&
32465 $as_test_x conftest$ac_exeext; then
32466 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32467 else
32468 echo "$as_me: failed program was:" >&5
32469 sed 's/^/| /' conftest.$ac_ext >&5
32470
32471 ac_cv_lib_dnet_stub_dnet_ntoa=no
32472 fi
32473
32474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32475 conftest$ac_exeext conftest.$ac_ext
32476 LIBS=$ac_check_lib_save_LIBS
32477 fi
32478 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32479 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32480 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32481 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32482 fi
32483
32484 fi
32485 fi
32486
32487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32488 conftest$ac_exeext conftest.$ac_ext
32489 LIBS="$ac_xsave_LIBS"
32490
32491 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32492 # to get the SysV transport functions.
32493 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32494 # needs -lnsl.
32495 # The nsl library prevents programs from opening the X display
32496 # on Irix 5.2, according to T.E. Dickey.
32497 # The functions gethostbyname, getservbyname, and inet_addr are
32498 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32499 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32500 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32501 if test "${ac_cv_func_gethostbyname+set}" = set; then
32502 echo $ECHO_N "(cached) $ECHO_C" >&6
32503 else
32504 cat >conftest.$ac_ext <<_ACEOF
32505 /* confdefs.h. */
32506 _ACEOF
32507 cat confdefs.h >>conftest.$ac_ext
32508 cat >>conftest.$ac_ext <<_ACEOF
32509 /* end confdefs.h. */
32510 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32512 #define gethostbyname innocuous_gethostbyname
32513
32514 /* System header to define __stub macros and hopefully few prototypes,
32515 which can conflict with char gethostbyname (); below.
32516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32517 <limits.h> exists even on freestanding compilers. */
32518
32519 #ifdef __STDC__
32520 # include <limits.h>
32521 #else
32522 # include <assert.h>
32523 #endif
32524
32525 #undef gethostbyname
32526
32527 /* Override any GCC internal prototype to avoid an error.
32528 Use char because int might match the return type of a GCC
32529 builtin and then its argument prototype would still apply. */
32530 #ifdef __cplusplus
32531 extern "C"
32532 #endif
32533 char gethostbyname ();
32534 /* The GNU C library defines this for functions which it implements
32535 to always fail with ENOSYS. Some functions are actually named
32536 something starting with __ and the normal name is an alias. */
32537 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32538 choke me
32539 #endif
32540
32541 int
32542 main ()
32543 {
32544 return gethostbyname ();
32545 ;
32546 return 0;
32547 }
32548 _ACEOF
32549 rm -f conftest.$ac_objext conftest$ac_exeext
32550 if { (ac_try="$ac_link"
32551 case "(($ac_try" in
32552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32553 *) ac_try_echo=$ac_try;;
32554 esac
32555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32556 (eval "$ac_link") 2>conftest.er1
32557 ac_status=$?
32558 grep -v '^ *+' conftest.er1 >conftest.err
32559 rm -f conftest.er1
32560 cat conftest.err >&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } && {
32563 test -z "$ac_c_werror_flag" ||
32564 test ! -s conftest.err
32565 } && test -s conftest$ac_exeext &&
32566 $as_test_x conftest$ac_exeext; then
32567 ac_cv_func_gethostbyname=yes
32568 else
32569 echo "$as_me: failed program was:" >&5
32570 sed 's/^/| /' conftest.$ac_ext >&5
32571
32572 ac_cv_func_gethostbyname=no
32573 fi
32574
32575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32576 conftest$ac_exeext conftest.$ac_ext
32577 fi
32578 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32579 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32580
32581 if test $ac_cv_func_gethostbyname = no; then
32582 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32583 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32584 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32585 echo $ECHO_N "(cached) $ECHO_C" >&6
32586 else
32587 ac_check_lib_save_LIBS=$LIBS
32588 LIBS="-lnsl $LIBS"
32589 cat >conftest.$ac_ext <<_ACEOF
32590 /* confdefs.h. */
32591 _ACEOF
32592 cat confdefs.h >>conftest.$ac_ext
32593 cat >>conftest.$ac_ext <<_ACEOF
32594 /* end confdefs.h. */
32595
32596 /* Override any GCC internal prototype to avoid an error.
32597 Use char because int might match the return type of a GCC
32598 builtin and then its argument prototype would still apply. */
32599 #ifdef __cplusplus
32600 extern "C"
32601 #endif
32602 char gethostbyname ();
32603 int
32604 main ()
32605 {
32606 return gethostbyname ();
32607 ;
32608 return 0;
32609 }
32610 _ACEOF
32611 rm -f conftest.$ac_objext conftest$ac_exeext
32612 if { (ac_try="$ac_link"
32613 case "(($ac_try" in
32614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32615 *) ac_try_echo=$ac_try;;
32616 esac
32617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32618 (eval "$ac_link") 2>conftest.er1
32619 ac_status=$?
32620 grep -v '^ *+' conftest.er1 >conftest.err
32621 rm -f conftest.er1
32622 cat conftest.err >&5
32623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624 (exit $ac_status); } && {
32625 test -z "$ac_c_werror_flag" ||
32626 test ! -s conftest.err
32627 } && test -s conftest$ac_exeext &&
32628 $as_test_x conftest$ac_exeext; then
32629 ac_cv_lib_nsl_gethostbyname=yes
32630 else
32631 echo "$as_me: failed program was:" >&5
32632 sed 's/^/| /' conftest.$ac_ext >&5
32633
32634 ac_cv_lib_nsl_gethostbyname=no
32635 fi
32636
32637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32638 conftest$ac_exeext conftest.$ac_ext
32639 LIBS=$ac_check_lib_save_LIBS
32640 fi
32641 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32642 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32643 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32644 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32645 fi
32646
32647 if test $ac_cv_lib_nsl_gethostbyname = no; then
32648 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32649 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32650 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32651 echo $ECHO_N "(cached) $ECHO_C" >&6
32652 else
32653 ac_check_lib_save_LIBS=$LIBS
32654 LIBS="-lbsd $LIBS"
32655 cat >conftest.$ac_ext <<_ACEOF
32656 /* confdefs.h. */
32657 _ACEOF
32658 cat confdefs.h >>conftest.$ac_ext
32659 cat >>conftest.$ac_ext <<_ACEOF
32660 /* end confdefs.h. */
32661
32662 /* Override any GCC internal prototype to avoid an error.
32663 Use char because int might match the return type of a GCC
32664 builtin and then its argument prototype would still apply. */
32665 #ifdef __cplusplus
32666 extern "C"
32667 #endif
32668 char gethostbyname ();
32669 int
32670 main ()
32671 {
32672 return gethostbyname ();
32673 ;
32674 return 0;
32675 }
32676 _ACEOF
32677 rm -f conftest.$ac_objext conftest$ac_exeext
32678 if { (ac_try="$ac_link"
32679 case "(($ac_try" in
32680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32681 *) ac_try_echo=$ac_try;;
32682 esac
32683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32684 (eval "$ac_link") 2>conftest.er1
32685 ac_status=$?
32686 grep -v '^ *+' conftest.er1 >conftest.err
32687 rm -f conftest.er1
32688 cat conftest.err >&5
32689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690 (exit $ac_status); } && {
32691 test -z "$ac_c_werror_flag" ||
32692 test ! -s conftest.err
32693 } && test -s conftest$ac_exeext &&
32694 $as_test_x conftest$ac_exeext; then
32695 ac_cv_lib_bsd_gethostbyname=yes
32696 else
32697 echo "$as_me: failed program was:" >&5
32698 sed 's/^/| /' conftest.$ac_ext >&5
32699
32700 ac_cv_lib_bsd_gethostbyname=no
32701 fi
32702
32703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32704 conftest$ac_exeext conftest.$ac_ext
32705 LIBS=$ac_check_lib_save_LIBS
32706 fi
32707 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32708 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32709 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32710 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32711 fi
32712
32713 fi
32714 fi
32715
32716 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32717 # socket/setsockopt and other routines are undefined under SCO ODT
32718 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32719 # on later versions), says Simon Leinen: it contains gethostby*
32720 # variants that don't use the name server (or something). -lsocket
32721 # must be given before -lnsl if both are needed. We assume that
32722 # if connect needs -lnsl, so does gethostbyname.
32723 { echo "$as_me:$LINENO: checking for connect" >&5
32724 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32725 if test "${ac_cv_func_connect+set}" = set; then
32726 echo $ECHO_N "(cached) $ECHO_C" >&6
32727 else
32728 cat >conftest.$ac_ext <<_ACEOF
32729 /* confdefs.h. */
32730 _ACEOF
32731 cat confdefs.h >>conftest.$ac_ext
32732 cat >>conftest.$ac_ext <<_ACEOF
32733 /* end confdefs.h. */
32734 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32736 #define connect innocuous_connect
32737
32738 /* System header to define __stub macros and hopefully few prototypes,
32739 which can conflict with char connect (); below.
32740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32741 <limits.h> exists even on freestanding compilers. */
32742
32743 #ifdef __STDC__
32744 # include <limits.h>
32745 #else
32746 # include <assert.h>
32747 #endif
32748
32749 #undef connect
32750
32751 /* Override any GCC internal prototype to avoid an error.
32752 Use char because int might match the return type of a GCC
32753 builtin and then its argument prototype would still apply. */
32754 #ifdef __cplusplus
32755 extern "C"
32756 #endif
32757 char connect ();
32758 /* The GNU C library defines this for functions which it implements
32759 to always fail with ENOSYS. Some functions are actually named
32760 something starting with __ and the normal name is an alias. */
32761 #if defined __stub_connect || defined __stub___connect
32762 choke me
32763 #endif
32764
32765 int
32766 main ()
32767 {
32768 return connect ();
32769 ;
32770 return 0;
32771 }
32772 _ACEOF
32773 rm -f conftest.$ac_objext conftest$ac_exeext
32774 if { (ac_try="$ac_link"
32775 case "(($ac_try" in
32776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32777 *) ac_try_echo=$ac_try;;
32778 esac
32779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32780 (eval "$ac_link") 2>conftest.er1
32781 ac_status=$?
32782 grep -v '^ *+' conftest.er1 >conftest.err
32783 rm -f conftest.er1
32784 cat conftest.err >&5
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); } && {
32787 test -z "$ac_c_werror_flag" ||
32788 test ! -s conftest.err
32789 } && test -s conftest$ac_exeext &&
32790 $as_test_x conftest$ac_exeext; then
32791 ac_cv_func_connect=yes
32792 else
32793 echo "$as_me: failed program was:" >&5
32794 sed 's/^/| /' conftest.$ac_ext >&5
32795
32796 ac_cv_func_connect=no
32797 fi
32798
32799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32800 conftest$ac_exeext conftest.$ac_ext
32801 fi
32802 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32803 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32804
32805 if test $ac_cv_func_connect = no; then
32806 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32807 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32808 if test "${ac_cv_lib_socket_connect+set}" = set; then
32809 echo $ECHO_N "(cached) $ECHO_C" >&6
32810 else
32811 ac_check_lib_save_LIBS=$LIBS
32812 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32813 cat >conftest.$ac_ext <<_ACEOF
32814 /* confdefs.h. */
32815 _ACEOF
32816 cat confdefs.h >>conftest.$ac_ext
32817 cat >>conftest.$ac_ext <<_ACEOF
32818 /* end confdefs.h. */
32819
32820 /* Override any GCC internal prototype to avoid an error.
32821 Use char because int might match the return type of a GCC
32822 builtin and then its argument prototype would still apply. */
32823 #ifdef __cplusplus
32824 extern "C"
32825 #endif
32826 char connect ();
32827 int
32828 main ()
32829 {
32830 return connect ();
32831 ;
32832 return 0;
32833 }
32834 _ACEOF
32835 rm -f conftest.$ac_objext conftest$ac_exeext
32836 if { (ac_try="$ac_link"
32837 case "(($ac_try" in
32838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32839 *) ac_try_echo=$ac_try;;
32840 esac
32841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32842 (eval "$ac_link") 2>conftest.er1
32843 ac_status=$?
32844 grep -v '^ *+' conftest.er1 >conftest.err
32845 rm -f conftest.er1
32846 cat conftest.err >&5
32847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32848 (exit $ac_status); } && {
32849 test -z "$ac_c_werror_flag" ||
32850 test ! -s conftest.err
32851 } && test -s conftest$ac_exeext &&
32852 $as_test_x conftest$ac_exeext; then
32853 ac_cv_lib_socket_connect=yes
32854 else
32855 echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.$ac_ext >&5
32857
32858 ac_cv_lib_socket_connect=no
32859 fi
32860
32861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32862 conftest$ac_exeext conftest.$ac_ext
32863 LIBS=$ac_check_lib_save_LIBS
32864 fi
32865 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32866 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32867 if test $ac_cv_lib_socket_connect = yes; then
32868 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32869 fi
32870
32871 fi
32872
32873 # Guillermo Gomez says -lposix is necessary on A/UX.
32874 { echo "$as_me:$LINENO: checking for remove" >&5
32875 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32876 if test "${ac_cv_func_remove+set}" = set; then
32877 echo $ECHO_N "(cached) $ECHO_C" >&6
32878 else
32879 cat >conftest.$ac_ext <<_ACEOF
32880 /* confdefs.h. */
32881 _ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32887 #define remove innocuous_remove
32888
32889 /* System header to define __stub macros and hopefully few prototypes,
32890 which can conflict with char remove (); below.
32891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32892 <limits.h> exists even on freestanding compilers. */
32893
32894 #ifdef __STDC__
32895 # include <limits.h>
32896 #else
32897 # include <assert.h>
32898 #endif
32899
32900 #undef remove
32901
32902 /* Override any GCC internal prototype to avoid an error.
32903 Use char because int might match the return type of a GCC
32904 builtin and then its argument prototype would still apply. */
32905 #ifdef __cplusplus
32906 extern "C"
32907 #endif
32908 char remove ();
32909 /* The GNU C library defines this for functions which it implements
32910 to always fail with ENOSYS. Some functions are actually named
32911 something starting with __ and the normal name is an alias. */
32912 #if defined __stub_remove || defined __stub___remove
32913 choke me
32914 #endif
32915
32916 int
32917 main ()
32918 {
32919 return remove ();
32920 ;
32921 return 0;
32922 }
32923 _ACEOF
32924 rm -f conftest.$ac_objext conftest$ac_exeext
32925 if { (ac_try="$ac_link"
32926 case "(($ac_try" in
32927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32928 *) ac_try_echo=$ac_try;;
32929 esac
32930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32931 (eval "$ac_link") 2>conftest.er1
32932 ac_status=$?
32933 grep -v '^ *+' conftest.er1 >conftest.err
32934 rm -f conftest.er1
32935 cat conftest.err >&5
32936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32937 (exit $ac_status); } && {
32938 test -z "$ac_c_werror_flag" ||
32939 test ! -s conftest.err
32940 } && test -s conftest$ac_exeext &&
32941 $as_test_x conftest$ac_exeext; then
32942 ac_cv_func_remove=yes
32943 else
32944 echo "$as_me: failed program was:" >&5
32945 sed 's/^/| /' conftest.$ac_ext >&5
32946
32947 ac_cv_func_remove=no
32948 fi
32949
32950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32951 conftest$ac_exeext conftest.$ac_ext
32952 fi
32953 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32954 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32955
32956 if test $ac_cv_func_remove = no; then
32957 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32958 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32959 if test "${ac_cv_lib_posix_remove+set}" = set; then
32960 echo $ECHO_N "(cached) $ECHO_C" >&6
32961 else
32962 ac_check_lib_save_LIBS=$LIBS
32963 LIBS="-lposix $LIBS"
32964 cat >conftest.$ac_ext <<_ACEOF
32965 /* confdefs.h. */
32966 _ACEOF
32967 cat confdefs.h >>conftest.$ac_ext
32968 cat >>conftest.$ac_ext <<_ACEOF
32969 /* end confdefs.h. */
32970
32971 /* Override any GCC internal prototype to avoid an error.
32972 Use char because int might match the return type of a GCC
32973 builtin and then its argument prototype would still apply. */
32974 #ifdef __cplusplus
32975 extern "C"
32976 #endif
32977 char remove ();
32978 int
32979 main ()
32980 {
32981 return remove ();
32982 ;
32983 return 0;
32984 }
32985 _ACEOF
32986 rm -f conftest.$ac_objext conftest$ac_exeext
32987 if { (ac_try="$ac_link"
32988 case "(($ac_try" in
32989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32990 *) ac_try_echo=$ac_try;;
32991 esac
32992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32993 (eval "$ac_link") 2>conftest.er1
32994 ac_status=$?
32995 grep -v '^ *+' conftest.er1 >conftest.err
32996 rm -f conftest.er1
32997 cat conftest.err >&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); } && {
33000 test -z "$ac_c_werror_flag" ||
33001 test ! -s conftest.err
33002 } && test -s conftest$ac_exeext &&
33003 $as_test_x conftest$ac_exeext; then
33004 ac_cv_lib_posix_remove=yes
33005 else
33006 echo "$as_me: failed program was:" >&5
33007 sed 's/^/| /' conftest.$ac_ext >&5
33008
33009 ac_cv_lib_posix_remove=no
33010 fi
33011
33012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33013 conftest$ac_exeext conftest.$ac_ext
33014 LIBS=$ac_check_lib_save_LIBS
33015 fi
33016 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33017 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33018 if test $ac_cv_lib_posix_remove = yes; then
33019 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33020 fi
33021
33022 fi
33023
33024 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33025 { echo "$as_me:$LINENO: checking for shmat" >&5
33026 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33027 if test "${ac_cv_func_shmat+set}" = set; then
33028 echo $ECHO_N "(cached) $ECHO_C" >&6
33029 else
33030 cat >conftest.$ac_ext <<_ACEOF
33031 /* confdefs.h. */
33032 _ACEOF
33033 cat confdefs.h >>conftest.$ac_ext
33034 cat >>conftest.$ac_ext <<_ACEOF
33035 /* end confdefs.h. */
33036 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33038 #define shmat innocuous_shmat
33039
33040 /* System header to define __stub macros and hopefully few prototypes,
33041 which can conflict with char shmat (); below.
33042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33043 <limits.h> exists even on freestanding compilers. */
33044
33045 #ifdef __STDC__
33046 # include <limits.h>
33047 #else
33048 # include <assert.h>
33049 #endif
33050
33051 #undef shmat
33052
33053 /* Override any GCC internal prototype to avoid an error.
33054 Use char because int might match the return type of a GCC
33055 builtin and then its argument prototype would still apply. */
33056 #ifdef __cplusplus
33057 extern "C"
33058 #endif
33059 char shmat ();
33060 /* The GNU C library defines this for functions which it implements
33061 to always fail with ENOSYS. Some functions are actually named
33062 something starting with __ and the normal name is an alias. */
33063 #if defined __stub_shmat || defined __stub___shmat
33064 choke me
33065 #endif
33066
33067 int
33068 main ()
33069 {
33070 return shmat ();
33071 ;
33072 return 0;
33073 }
33074 _ACEOF
33075 rm -f conftest.$ac_objext conftest$ac_exeext
33076 if { (ac_try="$ac_link"
33077 case "(($ac_try" in
33078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33079 *) ac_try_echo=$ac_try;;
33080 esac
33081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33082 (eval "$ac_link") 2>conftest.er1
33083 ac_status=$?
33084 grep -v '^ *+' conftest.er1 >conftest.err
33085 rm -f conftest.er1
33086 cat conftest.err >&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); } && {
33089 test -z "$ac_c_werror_flag" ||
33090 test ! -s conftest.err
33091 } && test -s conftest$ac_exeext &&
33092 $as_test_x conftest$ac_exeext; then
33093 ac_cv_func_shmat=yes
33094 else
33095 echo "$as_me: failed program was:" >&5
33096 sed 's/^/| /' conftest.$ac_ext >&5
33097
33098 ac_cv_func_shmat=no
33099 fi
33100
33101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33102 conftest$ac_exeext conftest.$ac_ext
33103 fi
33104 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33105 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33106
33107 if test $ac_cv_func_shmat = no; then
33108 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33109 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33110 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33111 echo $ECHO_N "(cached) $ECHO_C" >&6
33112 else
33113 ac_check_lib_save_LIBS=$LIBS
33114 LIBS="-lipc $LIBS"
33115 cat >conftest.$ac_ext <<_ACEOF
33116 /* confdefs.h. */
33117 _ACEOF
33118 cat confdefs.h >>conftest.$ac_ext
33119 cat >>conftest.$ac_ext <<_ACEOF
33120 /* end confdefs.h. */
33121
33122 /* Override any GCC internal prototype to avoid an error.
33123 Use char because int might match the return type of a GCC
33124 builtin and then its argument prototype would still apply. */
33125 #ifdef __cplusplus
33126 extern "C"
33127 #endif
33128 char shmat ();
33129 int
33130 main ()
33131 {
33132 return shmat ();
33133 ;
33134 return 0;
33135 }
33136 _ACEOF
33137 rm -f conftest.$ac_objext conftest$ac_exeext
33138 if { (ac_try="$ac_link"
33139 case "(($ac_try" in
33140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33141 *) ac_try_echo=$ac_try;;
33142 esac
33143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33144 (eval "$ac_link") 2>conftest.er1
33145 ac_status=$?
33146 grep -v '^ *+' conftest.er1 >conftest.err
33147 rm -f conftest.er1
33148 cat conftest.err >&5
33149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150 (exit $ac_status); } && {
33151 test -z "$ac_c_werror_flag" ||
33152 test ! -s conftest.err
33153 } && test -s conftest$ac_exeext &&
33154 $as_test_x conftest$ac_exeext; then
33155 ac_cv_lib_ipc_shmat=yes
33156 else
33157 echo "$as_me: failed program was:" >&5
33158 sed 's/^/| /' conftest.$ac_ext >&5
33159
33160 ac_cv_lib_ipc_shmat=no
33161 fi
33162
33163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33164 conftest$ac_exeext conftest.$ac_ext
33165 LIBS=$ac_check_lib_save_LIBS
33166 fi
33167 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33168 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33169 if test $ac_cv_lib_ipc_shmat = yes; then
33170 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33171 fi
33172
33173 fi
33174 fi
33175
33176 # Check for libraries that X11R6 Xt/Xaw programs need.
33177 ac_save_LDFLAGS=$LDFLAGS
33178 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33179 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33180 # check for ICE first), but we must link in the order -lSM -lICE or
33181 # we get undefined symbols. So assume we have SM if we have ICE.
33182 # These have to be linked with before -lX11, unlike the other
33183 # libraries we check for below, so use a different variable.
33184 # John Interrante, Karl Berry
33185 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33186 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33187 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33188 echo $ECHO_N "(cached) $ECHO_C" >&6
33189 else
33190 ac_check_lib_save_LIBS=$LIBS
33191 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33192 cat >conftest.$ac_ext <<_ACEOF
33193 /* confdefs.h. */
33194 _ACEOF
33195 cat confdefs.h >>conftest.$ac_ext
33196 cat >>conftest.$ac_ext <<_ACEOF
33197 /* end confdefs.h. */
33198
33199 /* Override any GCC internal prototype to avoid an error.
33200 Use char because int might match the return type of a GCC
33201 builtin and then its argument prototype would still apply. */
33202 #ifdef __cplusplus
33203 extern "C"
33204 #endif
33205 char IceConnectionNumber ();
33206 int
33207 main ()
33208 {
33209 return IceConnectionNumber ();
33210 ;
33211 return 0;
33212 }
33213 _ACEOF
33214 rm -f conftest.$ac_objext conftest$ac_exeext
33215 if { (ac_try="$ac_link"
33216 case "(($ac_try" in
33217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33218 *) ac_try_echo=$ac_try;;
33219 esac
33220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33221 (eval "$ac_link") 2>conftest.er1
33222 ac_status=$?
33223 grep -v '^ *+' conftest.er1 >conftest.err
33224 rm -f conftest.er1
33225 cat conftest.err >&5
33226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33227 (exit $ac_status); } && {
33228 test -z "$ac_c_werror_flag" ||
33229 test ! -s conftest.err
33230 } && test -s conftest$ac_exeext &&
33231 $as_test_x conftest$ac_exeext; then
33232 ac_cv_lib_ICE_IceConnectionNumber=yes
33233 else
33234 echo "$as_me: failed program was:" >&5
33235 sed 's/^/| /' conftest.$ac_ext >&5
33236
33237 ac_cv_lib_ICE_IceConnectionNumber=no
33238 fi
33239
33240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33241 conftest$ac_exeext conftest.$ac_ext
33242 LIBS=$ac_check_lib_save_LIBS
33243 fi
33244 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33245 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33246 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33247 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33248 fi
33249
33250 LDFLAGS=$ac_save_LDFLAGS
33251
33252 fi
33253
33254
33255 if test "$no_x" = "yes"; then
33256 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33257 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33258 { (exit 1); exit 1; }; }
33259 fi
33260
33261 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33262 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33263 AFMINSTALL=afminstall
33264 COMPILED_X_PROGRAM=0
33265
33266 fi
33267
33268 if test "$wxUSE_X11" = 1; then
33269 if test "$wxUSE_NANOX" = "yes"; then
33270 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33271 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33272 if test "x$MICROWIN" = x ; then
33273 { echo "$as_me:$LINENO: result: not found" >&5
33274 echo "${ECHO_T}not found" >&6; }
33275 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33276 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33277 { (exit 1); exit 1; }; }
33278 else
33279 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33280 echo "${ECHO_T}$MICROWIN" >&6; }
33281 cat >>confdefs.h <<\_ACEOF
33282 #define wxUSE_NANOX 1
33283 _ACEOF
33284
33285 fi
33286 fi
33287
33288 if test "$wxUSE_UNICODE" = "yes"; then
33289
33290
33291 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33292 if test -n "$ac_tool_prefix"; then
33293 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33294 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33297 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33298 echo $ECHO_N "(cached) $ECHO_C" >&6
33299 else
33300 case $PKG_CONFIG in
33301 [\\/]* | ?:[\\/]*)
33302 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33303 ;;
33304 *)
33305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33306 for as_dir in $PATH
33307 do
33308 IFS=$as_save_IFS
33309 test -z "$as_dir" && as_dir=.
33310 for ac_exec_ext in '' $ac_executable_extensions; do
33311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33312 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33314 break 2
33315 fi
33316 done
33317 done
33318 IFS=$as_save_IFS
33319
33320 ;;
33321 esac
33322 fi
33323 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33324 if test -n "$PKG_CONFIG"; then
33325 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33326 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33327 else
33328 { echo "$as_me:$LINENO: result: no" >&5
33329 echo "${ECHO_T}no" >&6; }
33330 fi
33331
33332
33333 fi
33334 if test -z "$ac_cv_path_PKG_CONFIG"; then
33335 ac_pt_PKG_CONFIG=$PKG_CONFIG
33336 # Extract the first word of "pkg-config", so it can be a program name with args.
33337 set dummy pkg-config; ac_word=$2
33338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33340 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33341 echo $ECHO_N "(cached) $ECHO_C" >&6
33342 else
33343 case $ac_pt_PKG_CONFIG in
33344 [\\/]* | ?:[\\/]*)
33345 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33346 ;;
33347 *)
33348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33349 for as_dir in $PATH
33350 do
33351 IFS=$as_save_IFS
33352 test -z "$as_dir" && as_dir=.
33353 for ac_exec_ext in '' $ac_executable_extensions; do
33354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33355 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33357 break 2
33358 fi
33359 done
33360 done
33361 IFS=$as_save_IFS
33362
33363 ;;
33364 esac
33365 fi
33366 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33367 if test -n "$ac_pt_PKG_CONFIG"; then
33368 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33369 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33370 else
33371 { echo "$as_me:$LINENO: result: no" >&5
33372 echo "${ECHO_T}no" >&6; }
33373 fi
33374
33375 if test "x$ac_pt_PKG_CONFIG" = x; then
33376 PKG_CONFIG=""
33377 else
33378 case $cross_compiling:$ac_tool_warned in
33379 yes:)
33380 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33381 whose name does not start with the host triplet. If you think this
33382 configuration is useful to you, please write to autoconf@gnu.org." >&5
33383 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33384 whose name does not start with the host triplet. If you think this
33385 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33386 ac_tool_warned=yes ;;
33387 esac
33388 PKG_CONFIG=$ac_pt_PKG_CONFIG
33389 fi
33390 else
33391 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33392 fi
33393
33394 fi
33395 if test -n "$PKG_CONFIG"; then
33396 _pkg_min_version=0.9.0
33397 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33398 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33399 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33400 { echo "$as_me:$LINENO: result: yes" >&5
33401 echo "${ECHO_T}yes" >&6; }
33402 else
33403 { echo "$as_me:$LINENO: result: no" >&5
33404 echo "${ECHO_T}no" >&6; }
33405 PKG_CONFIG=""
33406 fi
33407
33408 fi
33409
33410
33411 pkg_failed=no
33412 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33413 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33414
33415 if test -n "$PKG_CONFIG"; then
33416 if test -n "$PANGOX_CFLAGS"; then
33417 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33418 else
33419 if test -n "$PKG_CONFIG" && \
33420 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33421 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33422 ac_status=$?
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); }; then
33425 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33426 else
33427 pkg_failed=yes
33428 fi
33429 fi
33430 else
33431 pkg_failed=untried
33432 fi
33433 if test -n "$PKG_CONFIG"; then
33434 if test -n "$PANGOX_LIBS"; then
33435 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33436 else
33437 if test -n "$PKG_CONFIG" && \
33438 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33439 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33440 ac_status=$?
33441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33442 (exit $ac_status); }; then
33443 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33444 else
33445 pkg_failed=yes
33446 fi
33447 fi
33448 else
33449 pkg_failed=untried
33450 fi
33451
33452
33453
33454 if test $pkg_failed = yes; then
33455
33456 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33457 _pkg_short_errors_supported=yes
33458 else
33459 _pkg_short_errors_supported=no
33460 fi
33461 if test $_pkg_short_errors_supported = yes; then
33462 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33463 else
33464 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33465 fi
33466 # Put the nasty error message in config.log where it belongs
33467 echo "$PANGOX_PKG_ERRORS" >&5
33468
33469
33470 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33471 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33472 { (exit 1); exit 1; }; }
33473
33474
33475 elif test $pkg_failed = untried; then
33476
33477 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33478 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33479 { (exit 1); exit 1; }; }
33480
33481
33482 else
33483 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33484 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33485 { echo "$as_me:$LINENO: result: yes" >&5
33486 echo "${ECHO_T}yes" >&6; }
33487
33488 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33489 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33490 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33491
33492 fi
33493
33494 pkg_failed=no
33495 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33496 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33497
33498 if test -n "$PKG_CONFIG"; then
33499 if test -n "$PANGOFT2_CFLAGS"; then
33500 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33501 else
33502 if test -n "$PKG_CONFIG" && \
33503 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33504 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33505 ac_status=$?
33506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33507 (exit $ac_status); }; then
33508 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33509 else
33510 pkg_failed=yes
33511 fi
33512 fi
33513 else
33514 pkg_failed=untried
33515 fi
33516 if test -n "$PKG_CONFIG"; then
33517 if test -n "$PANGOFT2_LIBS"; then
33518 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33519 else
33520 if test -n "$PKG_CONFIG" && \
33521 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33522 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33523 ac_status=$?
33524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33525 (exit $ac_status); }; then
33526 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33527 else
33528 pkg_failed=yes
33529 fi
33530 fi
33531 else
33532 pkg_failed=untried
33533 fi
33534
33535
33536
33537 if test $pkg_failed = yes; then
33538
33539 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33540 _pkg_short_errors_supported=yes
33541 else
33542 _pkg_short_errors_supported=no
33543 fi
33544 if test $_pkg_short_errors_supported = yes; then
33545 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33546 else
33547 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33548 fi
33549 # Put the nasty error message in config.log where it belongs
33550 echo "$PANGOFT2_PKG_ERRORS" >&5
33551
33552
33553 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33554 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33555 wxUSE_PRINTING_ARCHITECTURE="no"
33556
33557
33558 elif test $pkg_failed = untried; then
33559
33560 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33561 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33562 wxUSE_PRINTING_ARCHITECTURE="no"
33563
33564
33565 else
33566 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33567 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33568 { echo "$as_me:$LINENO: result: yes" >&5
33569 echo "${ECHO_T}yes" >&6; }
33570
33571 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33572 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33573 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33574
33575 fi
33576
33577 pkg_failed=no
33578 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33579 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33580
33581 if test -n "$PKG_CONFIG"; then
33582 if test -n "$PANGOXFT_CFLAGS"; then
33583 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33584 else
33585 if test -n "$PKG_CONFIG" && \
33586 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33587 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33588 ac_status=$?
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); }; then
33591 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33592 else
33593 pkg_failed=yes
33594 fi
33595 fi
33596 else
33597 pkg_failed=untried
33598 fi
33599 if test -n "$PKG_CONFIG"; then
33600 if test -n "$PANGOXFT_LIBS"; then
33601 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33602 else
33603 if test -n "$PKG_CONFIG" && \
33604 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33605 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33606 ac_status=$?
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); }; then
33609 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33610 else
33611 pkg_failed=yes
33612 fi
33613 fi
33614 else
33615 pkg_failed=untried
33616 fi
33617
33618
33619
33620 if test $pkg_failed = yes; then
33621
33622 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33623 _pkg_short_errors_supported=yes
33624 else
33625 _pkg_short_errors_supported=no
33626 fi
33627 if test $_pkg_short_errors_supported = yes; then
33628 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33629 else
33630 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33631 fi
33632 # Put the nasty error message in config.log where it belongs
33633 echo "$PANGOXFT_PKG_ERRORS" >&5
33634
33635
33636 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33637 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33638
33639
33640 elif test $pkg_failed = untried; then
33641
33642 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33643 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33644
33645
33646 else
33647 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33648 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33649 { echo "$as_me:$LINENO: result: yes" >&5
33650 echo "${ECHO_T}yes" >&6; }
33651
33652 cat >>confdefs.h <<\_ACEOF
33653 #define HAVE_PANGO_XFT 1
33654 _ACEOF
33655
33656 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33657 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33658 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33659
33660 fi
33661 save_LIBS="$LIBS"
33662 LIBS="$LIBS $PANGOX_LIBS"
33663
33664 for ac_func in pango_font_family_is_monospace
33665 do
33666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33670 echo $ECHO_N "(cached) $ECHO_C" >&6
33671 else
33672 cat >conftest.$ac_ext <<_ACEOF
33673 /* confdefs.h. */
33674 _ACEOF
33675 cat confdefs.h >>conftest.$ac_ext
33676 cat >>conftest.$ac_ext <<_ACEOF
33677 /* end confdefs.h. */
33678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33680 #define $ac_func innocuous_$ac_func
33681
33682 /* System header to define __stub macros and hopefully few prototypes,
33683 which can conflict with char $ac_func (); below.
33684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33685 <limits.h> exists even on freestanding compilers. */
33686
33687 #ifdef __STDC__
33688 # include <limits.h>
33689 #else
33690 # include <assert.h>
33691 #endif
33692
33693 #undef $ac_func
33694
33695 /* Override any GCC internal prototype to avoid an error.
33696 Use char because int might match the return type of a GCC
33697 builtin and then its argument prototype would still apply. */
33698 #ifdef __cplusplus
33699 extern "C"
33700 #endif
33701 char $ac_func ();
33702 /* The GNU C library defines this for functions which it implements
33703 to always fail with ENOSYS. Some functions are actually named
33704 something starting with __ and the normal name is an alias. */
33705 #if defined __stub_$ac_func || defined __stub___$ac_func
33706 choke me
33707 #endif
33708
33709 int
33710 main ()
33711 {
33712 return $ac_func ();
33713 ;
33714 return 0;
33715 }
33716 _ACEOF
33717 rm -f conftest.$ac_objext conftest$ac_exeext
33718 if { (ac_try="$ac_link"
33719 case "(($ac_try" in
33720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33721 *) ac_try_echo=$ac_try;;
33722 esac
33723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33724 (eval "$ac_link") 2>conftest.er1
33725 ac_status=$?
33726 grep -v '^ *+' conftest.er1 >conftest.err
33727 rm -f conftest.er1
33728 cat conftest.err >&5
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); } && {
33731 test -z "$ac_c_werror_flag" ||
33732 test ! -s conftest.err
33733 } && test -s conftest$ac_exeext &&
33734 $as_test_x conftest$ac_exeext; then
33735 eval "$as_ac_var=yes"
33736 else
33737 echo "$as_me: failed program was:" >&5
33738 sed 's/^/| /' conftest.$ac_ext >&5
33739
33740 eval "$as_ac_var=no"
33741 fi
33742
33743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33744 conftest$ac_exeext conftest.$ac_ext
33745 fi
33746 ac_res=`eval echo '${'$as_ac_var'}'`
33747 { echo "$as_me:$LINENO: result: $ac_res" >&5
33748 echo "${ECHO_T}$ac_res" >&6; }
33749 if test `eval echo '${'$as_ac_var'}'` = yes; then
33750 cat >>confdefs.h <<_ACEOF
33751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33752 _ACEOF
33753
33754 fi
33755 done
33756
33757 LIBS="$save_LIBS"
33758 fi
33759
33760 wxUSE_UNIVERSAL="yes"
33761
33762 if test "$wxUSE_NANOX" = "yes"; then
33763 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33764 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"
33765 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33766 else
33767 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33768 fi
33769
33770 TOOLKIT=X11
33771 GUIDIST=X11_DIST
33772 fi
33773
33774 if test "$wxUSE_MOTIF" = 1; then
33775 if test "$wxUSE_UNICODE" = "yes"; then
33776 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33777 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33778 { (exit 1); exit 1; }; }
33779 fi
33780
33781 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33782 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33783
33784 ac_find_includes=
33785 for ac_dir in $SEARCH_INCLUDE /usr/include;
33786 do
33787 if test -f "$ac_dir/Xm/Xm.h"; then
33788 ac_find_includes=$ac_dir
33789 break
33790 fi
33791 done
33792
33793 if test "$ac_find_includes" != "" ; then
33794 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33795 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33796
33797 if test "x$ac_find_includes" = "x/usr/include"; then
33798 ac_path_to_include=""
33799 else
33800 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33801 result=$?
33802 if test $result = 0; then
33803 ac_path_to_include=""
33804 else
33805 ac_path_to_include=" -I$ac_find_includes"
33806 fi
33807 fi
33808
33809 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33810 else
33811 save_CFLAGS=$CFLAGS
33812 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33813
33814 cat >conftest.$ac_ext <<_ACEOF
33815 /* confdefs.h. */
33816 _ACEOF
33817 cat confdefs.h >>conftest.$ac_ext
33818 cat >>conftest.$ac_ext <<_ACEOF
33819 /* end confdefs.h. */
33820
33821 #include <Xm/Xm.h>
33822
33823 int
33824 main ()
33825 {
33826
33827 int version;
33828 version = xmUseVersion;
33829
33830 ;
33831 return 0;
33832 }
33833 _ACEOF
33834 rm -f conftest.$ac_objext
33835 if { (ac_try="$ac_compile"
33836 case "(($ac_try" in
33837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33838 *) ac_try_echo=$ac_try;;
33839 esac
33840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33841 (eval "$ac_compile") 2>conftest.er1
33842 ac_status=$?
33843 grep -v '^ *+' conftest.er1 >conftest.err
33844 rm -f conftest.er1
33845 cat conftest.err >&5
33846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33847 (exit $ac_status); } && {
33848 test -z "$ac_c_werror_flag" ||
33849 test ! -s conftest.err
33850 } && test -s conftest.$ac_objext; then
33851
33852 { echo "$as_me:$LINENO: result: found in default search path" >&5
33853 echo "${ECHO_T}found in default search path" >&6; }
33854 COMPILED_X_PROGRAM=1
33855
33856 else
33857 echo "$as_me: failed program was:" >&5
33858 sed 's/^/| /' conftest.$ac_ext >&5
33859
33860
33861 { echo "$as_me:$LINENO: result: no" >&5
33862 echo "${ECHO_T}no" >&6; }
33863 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33864 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33865 { (exit 1); exit 1; }; }
33866
33867
33868 fi
33869
33870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33871
33872 CFLAGS=$save_CFLAGS
33873 fi
33874
33875
33876 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33877 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33878
33879 ac_find_libraries=
33880 for ac_dir in $SEARCH_LIB;
33881 do
33882 for ac_extension in a so sl dylib dll.a; do
33883 if test -f "$ac_dir/libXm.$ac_extension"; then
33884 ac_find_libraries=$ac_dir
33885 break 2
33886 fi
33887 done
33888 done
33889
33890
33891 if test "x$ac_find_libraries" != "x" ; then
33892 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33893 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33894
33895
33896 if test "$ac_find_libraries" = "default location"; then
33897 ac_path_to_link=""
33898 else
33899 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33900 result=$?
33901 if test $result = 0; then
33902 ac_path_to_link=""
33903 else
33904 ac_path_to_link=" -L$ac_find_libraries"
33905 fi
33906 fi
33907
33908 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33909 else
33910 save_CFLAGS=$CFLAGS
33911 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33912 save_LIBS="$LIBS"
33913 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33914
33915 cat >conftest.$ac_ext <<_ACEOF
33916 /* confdefs.h. */
33917 _ACEOF
33918 cat confdefs.h >>conftest.$ac_ext
33919 cat >>conftest.$ac_ext <<_ACEOF
33920 /* end confdefs.h. */
33921
33922 #include <Xm/Xm.h>
33923
33924 int
33925 main ()
33926 {
33927
33928 int version;
33929 version = xmUseVersion;
33930
33931 ;
33932 return 0;
33933 }
33934 _ACEOF
33935 rm -f conftest.$ac_objext conftest$ac_exeext
33936 if { (ac_try="$ac_link"
33937 case "(($ac_try" in
33938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33939 *) ac_try_echo=$ac_try;;
33940 esac
33941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33942 (eval "$ac_link") 2>conftest.er1
33943 ac_status=$?
33944 grep -v '^ *+' conftest.er1 >conftest.err
33945 rm -f conftest.er1
33946 cat conftest.err >&5
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); } && {
33949 test -z "$ac_c_werror_flag" ||
33950 test ! -s conftest.err
33951 } && test -s conftest$ac_exeext &&
33952 $as_test_x conftest$ac_exeext; then
33953
33954 { echo "$as_me:$LINENO: result: found in default search path" >&5
33955 echo "${ECHO_T}found in default search path" >&6; }
33956 COMPILED_X_PROGRAM=1
33957
33958 else
33959 echo "$as_me: failed program was:" >&5
33960 sed 's/^/| /' conftest.$ac_ext >&5
33961
33962
33963 { echo "$as_me:$LINENO: result: no" >&5
33964 echo "${ECHO_T}no" >&6; }
33965 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33966 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33967 { (exit 1); exit 1; }; }
33968
33969
33970 fi
33971
33972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33973 conftest$ac_exeext conftest.$ac_ext
33974
33975 CFLAGS=$save_CFLAGS
33976 LIBS="$save_LIBS"
33977 fi
33978
33979 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33980 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33981 libp_link=""
33982 libsm_ice_link=""
33983 libs_found=0
33984 for libp in "" " -lXp"; do
33985 if test "$libs_found" = "0"; then
33986 for libsm_ice in "" " -lSM -lICE"; do
33987 if test "$libs_found" = "0"; then
33988 save_LIBS="$LIBS"
33989 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33990 save_CFLAGS=$CFLAGS
33991 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33992
33993 cat >conftest.$ac_ext <<_ACEOF
33994 /* confdefs.h. */
33995 _ACEOF
33996 cat confdefs.h >>conftest.$ac_ext
33997 cat >>conftest.$ac_ext <<_ACEOF
33998 /* end confdefs.h. */
33999
34000 #include <Xm/Xm.h>
34001 #include <Xm/List.h>
34002
34003 int
34004 main ()
34005 {
34006
34007 XmString string = NULL;
34008 Widget w = NULL;
34009 int position = 0;
34010 XmListAddItem(w, string, position);
34011
34012 ;
34013 return 0;
34014 }
34015 _ACEOF
34016 rm -f conftest.$ac_objext conftest$ac_exeext
34017 if { (ac_try="$ac_link"
34018 case "(($ac_try" in
34019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34020 *) ac_try_echo=$ac_try;;
34021 esac
34022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34023 (eval "$ac_link") 2>conftest.er1
34024 ac_status=$?
34025 grep -v '^ *+' conftest.er1 >conftest.err
34026 rm -f conftest.er1
34027 cat conftest.err >&5
34028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34029 (exit $ac_status); } && {
34030 test -z "$ac_c_werror_flag" ||
34031 test ! -s conftest.err
34032 } && test -s conftest$ac_exeext &&
34033 $as_test_x conftest$ac_exeext; then
34034
34035 libp_link="$libp"
34036 libsm_ice_link="$libsm_ice"
34037 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34038 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34039 libs_found=1
34040
34041 else
34042 echo "$as_me: failed program was:" >&5
34043 sed 's/^/| /' conftest.$ac_ext >&5
34044
34045
34046
34047 fi
34048
34049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34050 conftest$ac_exeext conftest.$ac_ext
34051
34052 LIBS="$save_LIBS"
34053 CFLAGS=$save_CFLAGS
34054 fi
34055 done
34056 fi
34057 done
34058
34059 if test "$libs_found" = "0"; then
34060 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34061 echo "${ECHO_T}can't find the right libraries" >&6; }
34062 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34063 echo "$as_me: error: can't link a simple motif program" >&2;}
34064 { (exit 1); exit 1; }; }
34065 fi
34066
34067 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34068 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34069 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34070 echo $ECHO_N "(cached) $ECHO_C" >&6
34071 else
34072 ac_check_lib_save_LIBS=$LIBS
34073 LIBS="-lSgm $LIBS"
34074 cat >conftest.$ac_ext <<_ACEOF
34075 /* confdefs.h. */
34076 _ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080
34081 /* Override any GCC internal prototype to avoid an error.
34082 Use char because int might match the return type of a GCC
34083 builtin and then its argument prototype would still apply. */
34084 #ifdef __cplusplus
34085 extern "C"
34086 #endif
34087 char SgCreateList ();
34088 int
34089 main ()
34090 {
34091 return SgCreateList ();
34092 ;
34093 return 0;
34094 }
34095 _ACEOF
34096 rm -f conftest.$ac_objext conftest$ac_exeext
34097 if { (ac_try="$ac_link"
34098 case "(($ac_try" in
34099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34100 *) ac_try_echo=$ac_try;;
34101 esac
34102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34103 (eval "$ac_link") 2>conftest.er1
34104 ac_status=$?
34105 grep -v '^ *+' conftest.er1 >conftest.err
34106 rm -f conftest.er1
34107 cat conftest.err >&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); } && {
34110 test -z "$ac_c_werror_flag" ||
34111 test ! -s conftest.err
34112 } && test -s conftest$ac_exeext &&
34113 $as_test_x conftest$ac_exeext; then
34114 ac_cv_lib_Sgm_SgCreateList=yes
34115 else
34116 echo "$as_me: failed program was:" >&5
34117 sed 's/^/| /' conftest.$ac_ext >&5
34118
34119 ac_cv_lib_Sgm_SgCreateList=no
34120 fi
34121
34122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34123 conftest$ac_exeext conftest.$ac_ext
34124 LIBS=$ac_check_lib_save_LIBS
34125 fi
34126 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34127 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34128 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34129 libsgm_link=" -lSgm"
34130 fi
34131
34132
34133 save_CFLAGS=$CFLAGS
34134 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34135
34136 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34137 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34138 if test "${wx_cv_lib_motif2+set}" = set; then
34139 echo $ECHO_N "(cached) $ECHO_C" >&6
34140 else
34141 cat >conftest.$ac_ext <<_ACEOF
34142 /* confdefs.h. */
34143 _ACEOF
34144 cat confdefs.h >>conftest.$ac_ext
34145 cat >>conftest.$ac_ext <<_ACEOF
34146 /* end confdefs.h. */
34147
34148 #include <Xm/Xm.h>
34149
34150 int
34151 main ()
34152 {
34153
34154 #if XmVersion < 2000
34155 Not Motif 2
34156 #endif
34157
34158 ;
34159 return 0;
34160 }
34161 _ACEOF
34162 rm -f conftest.$ac_objext
34163 if { (ac_try="$ac_compile"
34164 case "(($ac_try" in
34165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34166 *) ac_try_echo=$ac_try;;
34167 esac
34168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34169 (eval "$ac_compile") 2>conftest.er1
34170 ac_status=$?
34171 grep -v '^ *+' conftest.er1 >conftest.err
34172 rm -f conftest.er1
34173 cat conftest.err >&5
34174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34175 (exit $ac_status); } && {
34176 test -z "$ac_c_werror_flag" ||
34177 test ! -s conftest.err
34178 } && test -s conftest.$ac_objext; then
34179 wx_cv_lib_motif2="yes"
34180 else
34181 echo "$as_me: failed program was:" >&5
34182 sed 's/^/| /' conftest.$ac_ext >&5
34183
34184 wx_cv_lib_motif2="no"
34185 fi
34186
34187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34188 fi
34189 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34190 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34191 if test "$wx_cv_lib_motif2" = "yes"; then
34192 cat >>confdefs.h <<\_ACEOF
34193 #define __WXMOTIF20__ 1
34194 _ACEOF
34195
34196 else
34197 cat >>confdefs.h <<\_ACEOF
34198 #define __WXMOTIF20__ 0
34199 _ACEOF
34200
34201 fi
34202
34203 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34204 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34205 if test "${wx_cv_lib_lesstif+set}" = set; then
34206 echo $ECHO_N "(cached) $ECHO_C" >&6
34207 else
34208 cat >conftest.$ac_ext <<_ACEOF
34209 /* confdefs.h. */
34210 _ACEOF
34211 cat confdefs.h >>conftest.$ac_ext
34212 cat >>conftest.$ac_ext <<_ACEOF
34213 /* end confdefs.h. */
34214
34215 #include <Xm/Xm.h>
34216
34217 int
34218 main ()
34219 {
34220
34221 #if !defined(LesstifVersion) || LesstifVersion <= 0
34222 Not Lesstif
34223 #endif
34224
34225 ;
34226 return 0;
34227 }
34228 _ACEOF
34229 rm -f conftest.$ac_objext
34230 if { (ac_try="$ac_compile"
34231 case "(($ac_try" in
34232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34233 *) ac_try_echo=$ac_try;;
34234 esac
34235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34236 (eval "$ac_compile") 2>conftest.er1
34237 ac_status=$?
34238 grep -v '^ *+' conftest.er1 >conftest.err
34239 rm -f conftest.er1
34240 cat conftest.err >&5
34241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34242 (exit $ac_status); } && {
34243 test -z "$ac_c_werror_flag" ||
34244 test ! -s conftest.err
34245 } && test -s conftest.$ac_objext; then
34246 wx_cv_lib_lesstif="yes"
34247 else
34248 echo "$as_me: failed program was:" >&5
34249 sed 's/^/| /' conftest.$ac_ext >&5
34250
34251 wx_cv_lib_lesstif="no"
34252 fi
34253
34254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34255
34256 fi
34257 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34258 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34259 if test "$wx_cv_lib_lesstif" = "yes"; then
34260 cat >>confdefs.h <<\_ACEOF
34261 #define __WXLESSTIF__ 1
34262 _ACEOF
34263
34264 else
34265 cat >>confdefs.h <<\_ACEOF
34266 #define __WXLESSTIF__ 0
34267 _ACEOF
34268
34269 fi
34270
34271 CFLAGS=$save_CFLAGS
34272
34273 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34274 TOOLKIT=MOTIF
34275 GUIDIST=MOTIF_DIST
34276 fi
34277
34278 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34279 if test "$wxUSE_LIBXPM" = "sys"; then
34280 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34281 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34282
34283 ac_find_libraries=
34284 for ac_dir in $SEARCH_LIB;
34285 do
34286 for ac_extension in a so sl dylib dll.a; do
34287 if test -f "$ac_dir/libXpm.$ac_extension"; then
34288 ac_find_libraries=$ac_dir
34289 break 2
34290 fi
34291 done
34292 done
34293
34294 if test "$ac_find_libraries" != "" ; then
34295
34296 if test "$ac_find_libraries" = "default location"; then
34297 ac_path_to_link=""
34298 else
34299 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34300 result=$?
34301 if test $result = 0; then
34302 ac_path_to_link=""
34303 else
34304 ac_path_to_link=" -L$ac_find_libraries"
34305 fi
34306 fi
34307
34308 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34309 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34310 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34311
34312 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34313 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34314 if test "${wx_cv_x11_xpm_h+set}" = set; then
34315 echo $ECHO_N "(cached) $ECHO_C" >&6
34316 else
34317
34318 save_CFLAGS=$CFLAGS
34319 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34320
34321 cat >conftest.$ac_ext <<_ACEOF
34322 /* confdefs.h. */
34323 _ACEOF
34324 cat confdefs.h >>conftest.$ac_ext
34325 cat >>conftest.$ac_ext <<_ACEOF
34326 /* end confdefs.h. */
34327
34328 #include <X11/xpm.h>
34329
34330 int
34331 main ()
34332 {
34333
34334 int version;
34335 version = XpmLibraryVersion();
34336
34337 ;
34338 return 0;
34339 }
34340 _ACEOF
34341 rm -f conftest.$ac_objext
34342 if { (ac_try="$ac_compile"
34343 case "(($ac_try" in
34344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34345 *) ac_try_echo=$ac_try;;
34346 esac
34347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34348 (eval "$ac_compile") 2>conftest.er1
34349 ac_status=$?
34350 grep -v '^ *+' conftest.er1 >conftest.err
34351 rm -f conftest.er1
34352 cat conftest.err >&5
34353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 (exit $ac_status); } && {
34355 test -z "$ac_c_werror_flag" ||
34356 test ! -s conftest.err
34357 } && test -s conftest.$ac_objext; then
34358 wx_cv_x11_xpm_h=yes
34359 else
34360 echo "$as_me: failed program was:" >&5
34361 sed 's/^/| /' conftest.$ac_ext >&5
34362
34363 wx_cv_x11_xpm_h=no
34364
34365 fi
34366
34367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34368
34369 CFLAGS=$save_CFLAGS
34370
34371
34372 fi
34373 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34374 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34375
34376 if test $wx_cv_x11_xpm_h = "yes"; then
34377 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34378 cat >>confdefs.h <<\_ACEOF
34379 #define wxHAVE_LIB_XPM 1
34380 _ACEOF
34381
34382 else
34383 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34384 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34385 fi
34386 fi
34387
34388 fi
34389
34390 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34391 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34392 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34393 echo $ECHO_N "(cached) $ECHO_C" >&6
34394 else
34395 ac_check_lib_save_LIBS=$LIBS
34396 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34397 cat >conftest.$ac_ext <<_ACEOF
34398 /* confdefs.h. */
34399 _ACEOF
34400 cat confdefs.h >>conftest.$ac_ext
34401 cat >>conftest.$ac_ext <<_ACEOF
34402 /* end confdefs.h. */
34403
34404 /* Override any GCC internal prototype to avoid an error.
34405 Use char because int might match the return type of a GCC
34406 builtin and then its argument prototype would still apply. */
34407 #ifdef __cplusplus
34408 extern "C"
34409 #endif
34410 char XShapeQueryExtension ();
34411 int
34412 main ()
34413 {
34414 return XShapeQueryExtension ();
34415 ;
34416 return 0;
34417 }
34418 _ACEOF
34419 rm -f conftest.$ac_objext conftest$ac_exeext
34420 if { (ac_try="$ac_link"
34421 case "(($ac_try" in
34422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34423 *) ac_try_echo=$ac_try;;
34424 esac
34425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34426 (eval "$ac_link") 2>conftest.er1
34427 ac_status=$?
34428 grep -v '^ *+' conftest.er1 >conftest.err
34429 rm -f conftest.er1
34430 cat conftest.err >&5
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); } && {
34433 test -z "$ac_c_werror_flag" ||
34434 test ! -s conftest.err
34435 } && test -s conftest$ac_exeext &&
34436 $as_test_x conftest$ac_exeext; then
34437 ac_cv_lib_Xext_XShapeQueryExtension=yes
34438 else
34439 echo "$as_me: failed program was:" >&5
34440 sed 's/^/| /' conftest.$ac_ext >&5
34441
34442 ac_cv_lib_Xext_XShapeQueryExtension=no
34443 fi
34444
34445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34446 conftest$ac_exeext conftest.$ac_ext
34447 LIBS=$ac_check_lib_save_LIBS
34448 fi
34449 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34450 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34451 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34452
34453 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34454 wxHAVE_XEXT_LIB=1
34455
34456 fi
34457
34458
34459 if test "$wxHAVE_XEXT_LIB" = 1; then
34460 save_CFLAGS="$CFLAGS"
34461 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34462
34463 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34464 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34465 cat >conftest.$ac_ext <<_ACEOF
34466 /* confdefs.h. */
34467 _ACEOF
34468 cat confdefs.h >>conftest.$ac_ext
34469 cat >>conftest.$ac_ext <<_ACEOF
34470 /* end confdefs.h. */
34471
34472 #include <X11/Xlib.h>
34473 #include <X11/extensions/shape.h>
34474
34475 int
34476 main ()
34477 {
34478
34479 int dummy1, dummy2;
34480 XShapeQueryExtension((Display*)NULL,
34481 (int*)NULL, (int*)NULL);
34482
34483 ;
34484 return 0;
34485 }
34486 _ACEOF
34487 rm -f conftest.$ac_objext
34488 if { (ac_try="$ac_compile"
34489 case "(($ac_try" in
34490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34491 *) ac_try_echo=$ac_try;;
34492 esac
34493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34494 (eval "$ac_compile") 2>conftest.er1
34495 ac_status=$?
34496 grep -v '^ *+' conftest.er1 >conftest.err
34497 rm -f conftest.er1
34498 cat conftest.err >&5
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); } && {
34501 test -z "$ac_c_werror_flag" ||
34502 test ! -s conftest.err
34503 } && test -s conftest.$ac_objext; then
34504
34505 cat >>confdefs.h <<\_ACEOF
34506 #define HAVE_XSHAPE 1
34507 _ACEOF
34508
34509 { echo "$as_me:$LINENO: result: found" >&5
34510 echo "${ECHO_T}found" >&6; }
34511
34512 else
34513 echo "$as_me: failed program was:" >&5
34514 sed 's/^/| /' conftest.$ac_ext >&5
34515
34516
34517 { echo "$as_me:$LINENO: result: not found" >&5
34518 echo "${ECHO_T}not found" >&6; }
34519
34520 fi
34521
34522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34523 CFLAGS="$save_CFLAGS"
34524
34525 fi
34526 fi
34527
34528 if test "$wxUSE_MAC" = 1; then
34529 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34530 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34531 if test "$GCC" = yes; then
34532 { echo "$as_me:$LINENO: result: gcc" >&5
34533 echo "${ECHO_T}gcc" >&6; }
34534 CPPFLAGS_PASCAL="-fpascal-strings"
34535 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34536 { echo "$as_me:$LINENO: result: xlc" >&5
34537 echo "${ECHO_T}xlc" >&6; }
34538 CPPFLAGS_PASCAL="-qmacpstr"
34539 else
34540 { echo "$as_me:$LINENO: result: none" >&5
34541 echo "${ECHO_T}none" >&6; }
34542 fi
34543
34544 if test "x$wxUSE_UNIX" = "xyes"; then
34545 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34546 else
34547 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34548 fi
34549
34550 TOOLKIT=MAC
34551 GUIDIST=MACX_DIST
34552 WXBASEPORT="_carbon"
34553 fi
34554
34555 if test "$wxUSE_COCOA" = 1; then
34556 TOOLKIT=COCOA
34557 GUIDIST=COCOA_DIST
34558 fi
34559
34560 if test "$wxUSE_PM" = 1; then
34561 TOOLKIT=PM
34562 GUIDIST=PM_DIST
34563 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34564 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34565 if test "${wx_cv_spbcdata+set}" = set; then
34566 echo $ECHO_N "(cached) $ECHO_C" >&6
34567 else
34568
34569 cat >conftest.$ac_ext <<_ACEOF
34570 /* confdefs.h. */
34571 _ACEOF
34572 cat confdefs.h >>conftest.$ac_ext
34573 cat >>conftest.$ac_ext <<_ACEOF
34574 /* end confdefs.h. */
34575
34576 #define INCL_PM
34577 #include <os2.h>
34578
34579 int
34580 main ()
34581 {
34582
34583 SPBCDATA test;
34584
34585 ;
34586 return 0;
34587 }
34588 _ACEOF
34589 rm -f conftest.$ac_objext
34590 if { (ac_try="$ac_compile"
34591 case "(($ac_try" in
34592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34593 *) ac_try_echo=$ac_try;;
34594 esac
34595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34596 (eval "$ac_compile") 2>conftest.er1
34597 ac_status=$?
34598 grep -v '^ *+' conftest.er1 >conftest.err
34599 rm -f conftest.er1
34600 cat conftest.err >&5
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); } && {
34603 test -z "$ac_c_werror_flag" ||
34604 test ! -s conftest.err
34605 } && test -s conftest.$ac_objext; then
34606 wx_cv_spbcdata=yes
34607 else
34608 echo "$as_me: failed program was:" >&5
34609 sed 's/^/| /' conftest.$ac_ext >&5
34610
34611 wx_cv_spbcdata=no
34612
34613 fi
34614
34615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34616
34617
34618 fi
34619 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34620 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34621
34622 if test $wx_cv_spbcdata = "yes"; then
34623 cat >>confdefs.h <<\_ACEOF
34624 #define HAVE_SPBCDATA 1
34625 _ACEOF
34626
34627 fi
34628 fi
34629
34630 if test "$TOOLKIT" = "PM" ; then
34631 TOOLKIT_DIR="os2"
34632 else
34633 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34634 fi
34635
34636 if test "$wxUSE_UNIVERSAL" = "yes"; then
34637 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34638 WIDGET_SET=univ
34639 fi
34640
34641 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34642 DISTDIR="wx\$(TOOLKIT)"
34643 else
34644 USE_GUI=0
34645
34646 TOOLKIT_DIR="base"
34647
34648 if test "$USE_WIN32" = 1 ; then
34649 TOOLKIT="MSW"
34650 fi
34651
34652 GUIDIST="BASE_DIST"
34653 DISTDIR="wxBase"
34654 fi
34655
34656
34657
34658 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34659 if test "$TOOLKIT" = "DFB" ; then
34660 wxUSE_UNICODE_UTF8=yes
34661 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34662 wxUSE_UNICODE_UTF8=yes
34663 elif test "$USE_OS2" = "1" ; then
34664 wxUSE_UNICODE_UTF8=yes
34665 else
34666 wxUSE_UNICODE_UTF8=no
34667 fi
34668 fi
34669
34670
34671 if test "$wxUSE_GUI" = "yes"; then
34672 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34673 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34674 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34675 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34676 echo $ECHO_N "(cached) $ECHO_C" >&6
34677 else
34678 cat >conftest.$ac_ext <<_ACEOF
34679 /* confdefs.h. */
34680 _ACEOF
34681 cat confdefs.h >>conftest.$ac_ext
34682 cat >>conftest.$ac_ext <<_ACEOF
34683 /* end confdefs.h. */
34684
34685
34686 #include <X11/Xlib.h>
34687 _ACEOF
34688 rm -f conftest.$ac_objext
34689 if { (ac_try="$ac_compile"
34690 case "(($ac_try" in
34691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34692 *) ac_try_echo=$ac_try;;
34693 esac
34694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34695 (eval "$ac_compile") 2>conftest.er1
34696 ac_status=$?
34697 grep -v '^ *+' conftest.er1 >conftest.err
34698 rm -f conftest.er1
34699 cat conftest.err >&5
34700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34701 (exit $ac_status); } && {
34702 test -z "$ac_c_werror_flag" ||
34703 test ! -s conftest.err
34704 } && test -s conftest.$ac_objext; then
34705 ac_cv_header_X11_Xlib_h=yes
34706 else
34707 echo "$as_me: failed program was:" >&5
34708 sed 's/^/| /' conftest.$ac_ext >&5
34709
34710 ac_cv_header_X11_Xlib_h=no
34711 fi
34712
34713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34714 fi
34715 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34716 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34717
34718
34719 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34720 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34721 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 else
34724 cat >conftest.$ac_ext <<_ACEOF
34725 /* confdefs.h. */
34726 _ACEOF
34727 cat confdefs.h >>conftest.$ac_ext
34728 cat >>conftest.$ac_ext <<_ACEOF
34729 /* end confdefs.h. */
34730
34731 #if HAVE_X11_XLIB_H
34732 #include <X11/Xlib.h>
34733 #endif
34734
34735
34736 #include <X11/XKBlib.h>
34737 _ACEOF
34738 rm -f conftest.$ac_objext
34739 if { (ac_try="$ac_compile"
34740 case "(($ac_try" in
34741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34742 *) ac_try_echo=$ac_try;;
34743 esac
34744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34745 (eval "$ac_compile") 2>conftest.er1
34746 ac_status=$?
34747 grep -v '^ *+' conftest.er1 >conftest.err
34748 rm -f conftest.er1
34749 cat conftest.err >&5
34750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34751 (exit $ac_status); } && {
34752 test -z "$ac_c_werror_flag" ||
34753 test ! -s conftest.err
34754 } && test -s conftest.$ac_objext; then
34755 ac_cv_header_X11_XKBlib_h=yes
34756 else
34757 echo "$as_me: failed program was:" >&5
34758 sed 's/^/| /' conftest.$ac_ext >&5
34759
34760 ac_cv_header_X11_XKBlib_h=no
34761 fi
34762
34763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34764 fi
34765 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34766 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34767
34768
34769 fi
34770 fi
34771
34772
34773
34774 IODBC_C_SRC=""
34775
34776
34777 if test "$TOOLKIT" != "MSW" ; then
34778
34779 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34780
34781 { echo "$as_me:$LINENO: checking for sql.h" >&5
34782 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34783 if test "${ac_cv_header_sql_h+set}" = set; then
34784 echo $ECHO_N "(cached) $ECHO_C" >&6
34785 else
34786 cat >conftest.$ac_ext <<_ACEOF
34787 /* confdefs.h. */
34788 _ACEOF
34789 cat confdefs.h >>conftest.$ac_ext
34790 cat >>conftest.$ac_ext <<_ACEOF
34791 /* end confdefs.h. */
34792
34793
34794 #include <sql.h>
34795 _ACEOF
34796 rm -f conftest.$ac_objext
34797 if { (ac_try="$ac_compile"
34798 case "(($ac_try" in
34799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34800 *) ac_try_echo=$ac_try;;
34801 esac
34802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34803 (eval "$ac_compile") 2>conftest.er1
34804 ac_status=$?
34805 grep -v '^ *+' conftest.er1 >conftest.err
34806 rm -f conftest.er1
34807 cat conftest.err >&5
34808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34809 (exit $ac_status); } && {
34810 test -z "$ac_c_werror_flag" ||
34811 test ! -s conftest.err
34812 } && test -s conftest.$ac_objext; then
34813 ac_cv_header_sql_h=yes
34814 else
34815 echo "$as_me: failed program was:" >&5
34816 sed 's/^/| /' conftest.$ac_ext >&5
34817
34818 ac_cv_header_sql_h=no
34819 fi
34820
34821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34822 fi
34823 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34824 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34825 if test $ac_cv_header_sql_h = yes; then
34826 found_sql_h=1
34827 fi
34828
34829
34830 if test "x$found_sql_h" = "x1" ; then
34831 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34832 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34833 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34834 echo $ECHO_N "(cached) $ECHO_C" >&6
34835 else
34836 ac_check_lib_save_LIBS=$LIBS
34837 LIBS="-liodbc $LIBS"
34838 cat >conftest.$ac_ext <<_ACEOF
34839 /* confdefs.h. */
34840 _ACEOF
34841 cat confdefs.h >>conftest.$ac_ext
34842 cat >>conftest.$ac_ext <<_ACEOF
34843 /* end confdefs.h. */
34844
34845 /* Override any GCC internal prototype to avoid an error.
34846 Use char because int might match the return type of a GCC
34847 builtin and then its argument prototype would still apply. */
34848 #ifdef __cplusplus
34849 extern "C"
34850 #endif
34851 char SQLAllocEnv ();
34852 int
34853 main ()
34854 {
34855 return SQLAllocEnv ();
34856 ;
34857 return 0;
34858 }
34859 _ACEOF
34860 rm -f conftest.$ac_objext conftest$ac_exeext
34861 if { (ac_try="$ac_link"
34862 case "(($ac_try" in
34863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34864 *) ac_try_echo=$ac_try;;
34865 esac
34866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34867 (eval "$ac_link") 2>conftest.er1
34868 ac_status=$?
34869 grep -v '^ *+' conftest.er1 >conftest.err
34870 rm -f conftest.er1
34871 cat conftest.err >&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } && {
34874 test -z "$ac_c_werror_flag" ||
34875 test ! -s conftest.err
34876 } && test -s conftest$ac_exeext &&
34877 $as_test_x conftest$ac_exeext; then
34878 ac_cv_lib_iodbc_SQLAllocEnv=yes
34879 else
34880 echo "$as_me: failed program was:" >&5
34881 sed 's/^/| /' conftest.$ac_ext >&5
34882
34883 ac_cv_lib_iodbc_SQLAllocEnv=no
34884 fi
34885
34886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34887 conftest$ac_exeext conftest.$ac_ext
34888 LIBS=$ac_check_lib_save_LIBS
34889 fi
34890 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34891 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34892 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34893 ODBC_LINK=" -liodbc"
34894 else
34895
34896 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34897 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34898 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34899 echo $ECHO_N "(cached) $ECHO_C" >&6
34900 else
34901 ac_check_lib_save_LIBS=$LIBS
34902 LIBS="-lunixodbc $LIBS"
34903 cat >conftest.$ac_ext <<_ACEOF
34904 /* confdefs.h. */
34905 _ACEOF
34906 cat confdefs.h >>conftest.$ac_ext
34907 cat >>conftest.$ac_ext <<_ACEOF
34908 /* end confdefs.h. */
34909
34910 /* Override any GCC internal prototype to avoid an error.
34911 Use char because int might match the return type of a GCC
34912 builtin and then its argument prototype would still apply. */
34913 #ifdef __cplusplus
34914 extern "C"
34915 #endif
34916 char SQLAllocEnv ();
34917 int
34918 main ()
34919 {
34920 return SQLAllocEnv ();
34921 ;
34922 return 0;
34923 }
34924 _ACEOF
34925 rm -f conftest.$ac_objext conftest$ac_exeext
34926 if { (ac_try="$ac_link"
34927 case "(($ac_try" in
34928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34929 *) ac_try_echo=$ac_try;;
34930 esac
34931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34932 (eval "$ac_link") 2>conftest.er1
34933 ac_status=$?
34934 grep -v '^ *+' conftest.er1 >conftest.err
34935 rm -f conftest.er1
34936 cat conftest.err >&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } && {
34939 test -z "$ac_c_werror_flag" ||
34940 test ! -s conftest.err
34941 } && test -s conftest$ac_exeext &&
34942 $as_test_x conftest$ac_exeext; then
34943 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34944 else
34945 echo "$as_me: failed program was:" >&5
34946 sed 's/^/| /' conftest.$ac_ext >&5
34947
34948 ac_cv_lib_unixodbc_SQLAllocEnv=no
34949 fi
34950
34951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34952 conftest$ac_exeext conftest.$ac_ext
34953 LIBS=$ac_check_lib_save_LIBS
34954 fi
34955 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34956 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34957 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34958 ODBC_LINK=" -lunixodbc"
34959 else
34960
34961 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34962 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34963 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34964 echo $ECHO_N "(cached) $ECHO_C" >&6
34965 else
34966 ac_check_lib_save_LIBS=$LIBS
34967 LIBS="-lodbc $LIBS"
34968 cat >conftest.$ac_ext <<_ACEOF
34969 /* confdefs.h. */
34970 _ACEOF
34971 cat confdefs.h >>conftest.$ac_ext
34972 cat >>conftest.$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34974
34975 /* Override any GCC internal prototype to avoid an error.
34976 Use char because int might match the return type of a GCC
34977 builtin and then its argument prototype would still apply. */
34978 #ifdef __cplusplus
34979 extern "C"
34980 #endif
34981 char SQLAllocEnv ();
34982 int
34983 main ()
34984 {
34985 return SQLAllocEnv ();
34986 ;
34987 return 0;
34988 }
34989 _ACEOF
34990 rm -f conftest.$ac_objext conftest$ac_exeext
34991 if { (ac_try="$ac_link"
34992 case "(($ac_try" in
34993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34994 *) ac_try_echo=$ac_try;;
34995 esac
34996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34997 (eval "$ac_link") 2>conftest.er1
34998 ac_status=$?
34999 grep -v '^ *+' conftest.er1 >conftest.err
35000 rm -f conftest.er1
35001 cat conftest.err >&5
35002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35003 (exit $ac_status); } && {
35004 test -z "$ac_c_werror_flag" ||
35005 test ! -s conftest.err
35006 } && test -s conftest$ac_exeext &&
35007 $as_test_x conftest$ac_exeext; then
35008 ac_cv_lib_odbc_SQLAllocEnv=yes
35009 else
35010 echo "$as_me: failed program was:" >&5
35011 sed 's/^/| /' conftest.$ac_ext >&5
35012
35013 ac_cv_lib_odbc_SQLAllocEnv=no
35014 fi
35015
35016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35017 conftest$ac_exeext conftest.$ac_ext
35018 LIBS=$ac_check_lib_save_LIBS
35019 fi
35020 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35021 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35022 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35023 ODBC_LINK=" -lodbc"
35024 fi
35025
35026
35027 fi
35028
35029
35030 fi
35031
35032 fi
35033 if test "x$ODBC_LINK" = "x" ; then
35034 if test "$wxUSE_ODBC" = "sys" ; then
35035 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35036 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35037 { (exit 1); exit 1; }; }
35038 else
35039 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35040 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35041 wxUSE_ODBC=builtin
35042 fi
35043 else
35044 wxUSE_ODBC=sys
35045 fi
35046 fi
35047
35048 if test "$wxUSE_ODBC" = "builtin" ; then
35049 cat >>confdefs.h <<\_ACEOF
35050 #define wxUSE_BUILTIN_IODBC 1
35051 _ACEOF
35052
35053 fi
35054 fi
35055
35056 if test "$wxUSE_ODBC" != "no" ; then
35057 cat >>confdefs.h <<\_ACEOF
35058 #define wxUSE_ODBC 1
35059 _ACEOF
35060
35061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35062
35063 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35064 fi
35065
35066
35067 if test "$wxUSE_DISPLAY" = "yes"; then
35068 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35069 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35070 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35071
35072 ac_find_libraries=
35073 for ac_dir in $SEARCH_LIB;
35074 do
35075 for ac_extension in a so sl dylib dll.a; do
35076 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35077 ac_find_libraries=$ac_dir
35078 break 2
35079 fi
35080 done
35081 done
35082
35083 if test "$ac_find_libraries" != "" ; then
35084
35085 if test "$ac_find_libraries" = "default location"; then
35086 ac_path_to_link=""
35087 else
35088 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35089 result=$?
35090 if test $result = 0; then
35091 ac_path_to_link=""
35092 else
35093 ac_path_to_link=" -L$ac_find_libraries"
35094 fi
35095 fi
35096
35097 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35098 LDFLAGS="$LDFLAGS $ac_path_to_link"
35099 fi
35100 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35101 { echo "$as_me:$LINENO: result: yes" >&5
35102 echo "${ECHO_T}yes" >&6; }
35103
35104 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35105 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35106
35107 ac_find_libraries=
35108 for ac_dir in $SEARCH_LIB;
35109 do
35110 for ac_extension in a so sl dylib dll.a; do
35111 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35112 ac_find_libraries=$ac_dir
35113 break 2
35114 fi
35115 done
35116 done
35117
35118 if test "$ac_find_libraries" != "" ; then
35119 { echo "$as_me:$LINENO: result: yes" >&5
35120 echo "${ECHO_T}yes" >&6; }
35121 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35122 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35123 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35124 echo $ECHO_N "(cached) $ECHO_C" >&6
35125 else
35126 cat >conftest.$ac_ext <<_ACEOF
35127 /* confdefs.h. */
35128 _ACEOF
35129 cat confdefs.h >>conftest.$ac_ext
35130 cat >>conftest.$ac_ext <<_ACEOF
35131 /* end confdefs.h. */
35132
35133 #if HAVE_X11_XLIB_H
35134 #include <X11/Xlib.h>
35135 #endif
35136
35137
35138 #include <X11/extensions/xf86vmode.h>
35139 _ACEOF
35140 rm -f conftest.$ac_objext
35141 if { (ac_try="$ac_compile"
35142 case "(($ac_try" in
35143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35144 *) ac_try_echo=$ac_try;;
35145 esac
35146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35147 (eval "$ac_compile") 2>conftest.er1
35148 ac_status=$?
35149 grep -v '^ *+' conftest.er1 >conftest.err
35150 rm -f conftest.er1
35151 cat conftest.err >&5
35152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35153 (exit $ac_status); } && {
35154 test -z "$ac_c_werror_flag" ||
35155 test ! -s conftest.err
35156 } && test -s conftest.$ac_objext; then
35157 ac_cv_header_X11_extensions_xf86vmode_h=yes
35158 else
35159 echo "$as_me: failed program was:" >&5
35160 sed 's/^/| /' conftest.$ac_ext >&5
35161
35162 ac_cv_header_X11_extensions_xf86vmode_h=no
35163 fi
35164
35165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35166 fi
35167 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35168 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35169 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35170
35171 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35172
35173 fi
35174
35175
35176 else
35177 { echo "$as_me:$LINENO: result: no" >&5
35178 echo "${ECHO_T}no" >&6; }
35179 fi
35180
35181 else
35182 { echo "$as_me:$LINENO: result: no" >&5
35183 echo "${ECHO_T}no" >&6; }
35184 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35185 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35186 wxUSE_DISPLAY="no"
35187 fi
35188 elif test "$wxUSE_MSW" = 1; then
35189 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35190 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35191 if test "${ac_cv_header_ddraw_h+set}" = set; then
35192 echo $ECHO_N "(cached) $ECHO_C" >&6
35193 else
35194 cat >conftest.$ac_ext <<_ACEOF
35195 /* confdefs.h. */
35196 _ACEOF
35197 cat confdefs.h >>conftest.$ac_ext
35198 cat >>conftest.$ac_ext <<_ACEOF
35199 /* end confdefs.h. */
35200 #include <windows.h>
35201
35202 #include <ddraw.h>
35203 _ACEOF
35204 rm -f conftest.$ac_objext
35205 if { (ac_try="$ac_compile"
35206 case "(($ac_try" in
35207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35208 *) ac_try_echo=$ac_try;;
35209 esac
35210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35211 (eval "$ac_compile") 2>conftest.er1
35212 ac_status=$?
35213 grep -v '^ *+' conftest.er1 >conftest.err
35214 rm -f conftest.er1
35215 cat conftest.err >&5
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); } && {
35218 test -z "$ac_c_werror_flag" ||
35219 test ! -s conftest.err
35220 } && test -s conftest.$ac_objext; then
35221 ac_cv_header_ddraw_h=yes
35222 else
35223 echo "$as_me: failed program was:" >&5
35224 sed 's/^/| /' conftest.$ac_ext >&5
35225
35226 ac_cv_header_ddraw_h=no
35227 fi
35228
35229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35230 fi
35231 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35232 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35233
35234
35235 fi
35236 fi
35237
35238 if test "$wxUSE_DETECT_SM" = "yes"; then
35239 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35240 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35241 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35242
35243 ac_find_libraries=
35244 for ac_dir in $SEARCH_LIB;
35245 do
35246 for ac_extension in a so sl dylib dll.a; do
35247 if test -f "$ac_dir/libSM.$ac_extension"; then
35248 ac_find_libraries=$ac_dir
35249 break 2
35250 fi
35251 done
35252 done
35253
35254 if test "$ac_find_libraries" != "" ; then
35255
35256 if test "$ac_find_libraries" = "default location"; then
35257 ac_path_to_link=""
35258 else
35259 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35260 result=$?
35261 if test $result = 0; then
35262 ac_path_to_link=""
35263 else
35264 ac_path_to_link=" -L$ac_find_libraries"
35265 fi
35266 fi
35267
35268 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35269 LDFLAGS="$LDFLAGS $ac_path_to_link"
35270 fi
35271 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35272 { echo "$as_me:$LINENO: result: yes" >&5
35273 echo "${ECHO_T}yes" >&6; }
35274 else
35275 { echo "$as_me:$LINENO: result: no" >&5
35276 echo "${ECHO_T}no" >&6; }
35277 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35278 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35279 wxUSE_DETECT_SM="no"
35280 fi
35281 else
35282 wxUSE_DETECT_SM="no"
35283 fi
35284 fi
35285
35286
35287
35288 USE_OPENGL=0
35289 if test "$wxUSE_OPENGL" = "yes"; then
35290 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35291 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35292 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35293 wxUSE_OPENGL="no"
35294 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35295 OPENGL_LIBS="-framework OpenGL -framework AGL"
35296 elif test "$wxUSE_MSW" = 1; then
35297 OPENGL_LIBS="-lopengl32 -lglu32"
35298 else
35299 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35300 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35301
35302 ac_find_includes=
35303 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35304 do
35305 if test -f "$ac_dir/GL/gl.h"; then
35306 ac_find_includes=$ac_dir
35307 break
35308 fi
35309 done
35310
35311 if test "$ac_find_includes" != "" ; then
35312 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35313 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35314
35315 if test "x$ac_find_includes" = "x/usr/include"; then
35316 ac_path_to_include=""
35317 else
35318 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35319 result=$?
35320 if test $result = 0; then
35321 ac_path_to_include=""
35322 else
35323 ac_path_to_include=" -I$ac_find_includes"
35324 fi
35325 fi
35326
35327 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35328 else
35329 { echo "$as_me:$LINENO: result: not found" >&5
35330 echo "${ECHO_T}not found" >&6; }
35331 fi
35332
35333 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35334 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35335 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35336 echo $ECHO_N "(cached) $ECHO_C" >&6
35337 else
35338 cat >conftest.$ac_ext <<_ACEOF
35339 /* confdefs.h. */
35340 _ACEOF
35341 cat confdefs.h >>conftest.$ac_ext
35342 cat >>conftest.$ac_ext <<_ACEOF
35343 /* end confdefs.h. */
35344
35345
35346 #include <GL/gl.h>
35347 _ACEOF
35348 rm -f conftest.$ac_objext
35349 if { (ac_try="$ac_compile"
35350 case "(($ac_try" in
35351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35352 *) ac_try_echo=$ac_try;;
35353 esac
35354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35355 (eval "$ac_compile") 2>conftest.er1
35356 ac_status=$?
35357 grep -v '^ *+' conftest.er1 >conftest.err
35358 rm -f conftest.er1
35359 cat conftest.err >&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } && {
35362 test -z "$ac_c_werror_flag" ||
35363 test ! -s conftest.err
35364 } && test -s conftest.$ac_objext; then
35365 ac_cv_header_GL_gl_h=yes
35366 else
35367 echo "$as_me: failed program was:" >&5
35368 sed 's/^/| /' conftest.$ac_ext >&5
35369
35370 ac_cv_header_GL_gl_h=no
35371 fi
35372
35373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35374 fi
35375 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35376 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35377 if test $ac_cv_header_GL_gl_h = yes; then
35378
35379 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35380 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35381 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35382 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35383 echo $ECHO_N "(cached) $ECHO_C" >&6
35384 fi
35385 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35386 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35387 else
35388 # Is the header compilable?
35389 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35390 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35391 cat >conftest.$ac_ext <<_ACEOF
35392 /* confdefs.h. */
35393 _ACEOF
35394 cat confdefs.h >>conftest.$ac_ext
35395 cat >>conftest.$ac_ext <<_ACEOF
35396 /* end confdefs.h. */
35397 $ac_includes_default
35398 #include <GL/glu.h>
35399 _ACEOF
35400 rm -f conftest.$ac_objext
35401 if { (ac_try="$ac_compile"
35402 case "(($ac_try" in
35403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35404 *) ac_try_echo=$ac_try;;
35405 esac
35406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35407 (eval "$ac_compile") 2>conftest.er1
35408 ac_status=$?
35409 grep -v '^ *+' conftest.er1 >conftest.err
35410 rm -f conftest.er1
35411 cat conftest.err >&5
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); } && {
35414 test -z "$ac_c_werror_flag" ||
35415 test ! -s conftest.err
35416 } && test -s conftest.$ac_objext; then
35417 ac_header_compiler=yes
35418 else
35419 echo "$as_me: failed program was:" >&5
35420 sed 's/^/| /' conftest.$ac_ext >&5
35421
35422 ac_header_compiler=no
35423 fi
35424
35425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35426 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35427 echo "${ECHO_T}$ac_header_compiler" >&6; }
35428
35429 # Is the header present?
35430 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35431 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35432 cat >conftest.$ac_ext <<_ACEOF
35433 /* confdefs.h. */
35434 _ACEOF
35435 cat confdefs.h >>conftest.$ac_ext
35436 cat >>conftest.$ac_ext <<_ACEOF
35437 /* end confdefs.h. */
35438 #include <GL/glu.h>
35439 _ACEOF
35440 if { (ac_try="$ac_cpp conftest.$ac_ext"
35441 case "(($ac_try" in
35442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35443 *) ac_try_echo=$ac_try;;
35444 esac
35445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35446 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35447 ac_status=$?
35448 grep -v '^ *+' conftest.er1 >conftest.err
35449 rm -f conftest.er1
35450 cat conftest.err >&5
35451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35452 (exit $ac_status); } >/dev/null && {
35453 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35454 test ! -s conftest.err
35455 }; then
35456 ac_header_preproc=yes
35457 else
35458 echo "$as_me: failed program was:" >&5
35459 sed 's/^/| /' conftest.$ac_ext >&5
35460
35461 ac_header_preproc=no
35462 fi
35463
35464 rm -f conftest.err conftest.$ac_ext
35465 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35466 echo "${ECHO_T}$ac_header_preproc" >&6; }
35467
35468 # So? What about this header?
35469 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35470 yes:no: )
35471 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35472 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35473 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35474 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35475 ac_header_preproc=yes
35476 ;;
35477 no:yes:* )
35478 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35479 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35480 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35481 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35482 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35483 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35484 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35485 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35486 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35487 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35488 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35489 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35490 ( cat <<\_ASBOX
35491 ## ----------------------------------------- ##
35492 ## Report this to wx-dev@lists.wxwidgets.org ##
35493 ## ----------------------------------------- ##
35494 _ASBOX
35495 ) | sed "s/^/$as_me: WARNING: /" >&2
35496 ;;
35497 esac
35498 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35499 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35500 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35501 echo $ECHO_N "(cached) $ECHO_C" >&6
35502 else
35503 ac_cv_header_GL_glu_h=$ac_header_preproc
35504 fi
35505 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35506 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35507
35508 fi
35509 if test $ac_cv_header_GL_glu_h = yes; then
35510
35511 found_gl=0
35512
35513 { echo "$as_me:$LINENO: checking for -lGL" >&5
35514 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35515
35516 ac_find_libraries=
35517 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35518 do
35519 for ac_extension in a so sl dylib dll.a; do
35520 if test -f "$ac_dir/libGL.$ac_extension"; then
35521 ac_find_libraries=$ac_dir
35522 break 2
35523 fi
35524 done
35525 done
35526
35527 if test "$ac_find_libraries" != "" ; then
35528 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35529 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35530
35531
35532 if test "$ac_find_libraries" = "default location"; then
35533 ac_path_to_link=""
35534 else
35535 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35536 result=$?
35537 if test $result = 0; then
35538 ac_path_to_link=""
35539 else
35540 ac_path_to_link=" -L$ac_find_libraries"
35541 fi
35542 fi
35543
35544 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35545 LDFLAGS_GL="$ac_path_to_link"
35546 fi
35547
35548 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35549 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35550
35551 ac_find_libraries=
35552 for ac_dir in $SEARCH_LIB;
35553 do
35554 for ac_extension in a so sl dylib dll.a; do
35555 if test -f "$ac_dir/libGLU.$ac_extension"; then
35556 ac_find_libraries=$ac_dir
35557 break 2
35558 fi
35559 done
35560 done
35561
35562 if test "$ac_find_libraries" != "" ; then
35563
35564 if test "$ac_find_libraries" = "default location"; then
35565 ac_path_to_link=""
35566 else
35567 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35568 result=$?
35569 if test $result = 0; then
35570 ac_path_to_link=""
35571 else
35572 ac_path_to_link=" -L$ac_find_libraries"
35573 fi
35574 fi
35575
35576 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35577 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35578 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35579 fi
35580
35581 found_gl=1
35582 OPENGL_LIBS="-lGL -lGLU"
35583 { echo "$as_me:$LINENO: result: yes" >&5
35584 echo "${ECHO_T}yes" >&6; }
35585 else
35586 { echo "$as_me:$LINENO: result: no" >&5
35587 echo "${ECHO_T}no" >&6; }
35588 fi
35589 else
35590 { echo "$as_me:$LINENO: result: no" >&5
35591 echo "${ECHO_T}no" >&6; }
35592 fi
35593
35594 if test "$found_gl" != 1; then
35595 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35596 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35597
35598 ac_find_libraries=
35599 for ac_dir in $SEARCH_LIB;
35600 do
35601 for ac_extension in a so sl dylib dll.a; do
35602 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35603 ac_find_libraries=$ac_dir
35604 break 2
35605 fi
35606 done
35607 done
35608
35609 if test "$ac_find_libraries" != "" ; then
35610
35611 if test "$ac_find_libraries" = "default location"; then
35612 ac_path_to_link=""
35613 else
35614 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35615 result=$?
35616 if test $result = 0; then
35617 ac_path_to_link=""
35618 else
35619 ac_path_to_link=" -L$ac_find_libraries"
35620 fi
35621 fi
35622
35623 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35624 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35625 { echo "$as_me:$LINENO: result: yes" >&5
35626 echo "${ECHO_T}yes" >&6; }
35627 else
35628 { echo "$as_me:$LINENO: result: no" >&5
35629 echo "${ECHO_T}no" >&6; }
35630 fi
35631 fi
35632
35633 fi
35634
35635
35636
35637 fi
35638
35639
35640
35641 if test "x$OPENGL_LIBS" = "x"; then
35642 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35643 echo "$as_me: error: OpenGL libraries not available" >&2;}
35644 { (exit 1); exit 1; }; }
35645 fi
35646 fi
35647
35648 if test "$wxUSE_OPENGL" = "yes"; then
35649 USE_OPENGL=1
35650 cat >>confdefs.h <<\_ACEOF
35651 #define wxUSE_OPENGL 1
35652 _ACEOF
35653
35654 cat >>confdefs.h <<\_ACEOF
35655 #define wxUSE_GLCANVAS 1
35656 _ACEOF
35657
35658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35659 fi
35660 fi
35661
35662
35663 if test -n "$TOOLKIT" ; then
35664 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35665 fi
35666
35667
35668
35669 if test "$wxUSE_SHARED" = "yes"; then
35670 case "${host}" in
35671 *-pc-msdosdjgpp )
35672 wxUSE_SHARED=no
35673 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35674 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35675 ;;
35676 esac
35677 fi
35678
35679 if test "$wxUSE_SHARED" = "yes"; then
35680
35681
35682 case "${host}" in
35683 *-*-cygwin* | *-*-mingw* )
35684 wx_cv_version_script=no
35685 ;;
35686
35687 *)
35688 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35689 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35690 if test "${wx_cv_version_script+set}" = set; then
35691 echo $ECHO_N "(cached) $ECHO_C" >&6
35692 else
35693
35694 echo "VER_1 { *; };" >conftest.sym
35695 echo "int main() { return 0; }" >conftest.cpp
35696
35697 if { ac_try='
35698 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35699 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35701 (eval $ac_try) 2>&5
35702 ac_status=$?
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); }; } ; then
35705 if test -s conftest.stderr ; then
35706 wx_cv_version_script=no
35707 else
35708 wx_cv_version_script=yes
35709 fi
35710 else
35711 wx_cv_version_script=no
35712 fi
35713
35714 if test $wx_cv_version_script = yes
35715 then
35716 echo "struct B { virtual ~B() { } }; \
35717 struct D : public B { }; \
35718 void F() { D d; }" > conftest.cpp
35719
35720 if { ac_try='
35721 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35722 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724 (eval $ac_try) 2>&5
35725 ac_status=$?
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); }; } &&
35728 { ac_try='
35729 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35730 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35732 (eval $ac_try) 2>&5
35733 ac_status=$?
35734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35735 (exit $ac_status); }; }
35736 then
35737 if { ac_try='
35738 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35739 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35741 (eval $ac_try) 2>&5
35742 ac_status=$?
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); }; }
35745 then
35746 wx_cv_version_script=yes
35747 else
35748 wx_cv_version_script=no
35749 fi
35750 fi
35751 fi
35752
35753 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35754 rm -f conftest1.output conftest2.output conftest3.output
35755
35756 fi
35757 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35758 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35759
35760 if test $wx_cv_version_script = yes ; then
35761 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35762 fi
35763 ;;
35764 esac
35765
35766
35767 if test "$wxUSE_VISIBILITY" != "no"; then
35768
35769
35770 if test -n "$GCC"; then
35771 CFLAGS_VISIBILITY="-fvisibility=hidden"
35772 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35773 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35774 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35775 if test "${wx_cv_cc_visibility+set}" = set; then
35776 echo $ECHO_N "(cached) $ECHO_C" >&6
35777 else
35778
35779 wx_save_CXXFLAGS="$CXXFLAGS"
35780 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35781 ac_ext=cpp
35782 ac_cpp='$CXXCPP $CPPFLAGS'
35783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35786
35787 cat >conftest.$ac_ext <<_ACEOF
35788 /* confdefs.h. */
35789 _ACEOF
35790 cat confdefs.h >>conftest.$ac_ext
35791 cat >>conftest.$ac_ext <<_ACEOF
35792 /* end confdefs.h. */
35793
35794 /* we need gcc >= 4.0, older versions with visibility support
35795 didn't have class visibility: */
35796 #if defined(__GNUC__) && __GNUC__ < 4
35797 error this gcc is too old;
35798 #endif
35799
35800 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35801 extern __attribute__((__visibility__("default"))) int exportedvar;
35802 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35803 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35804 class __attribute__((__visibility__("default"))) Foo {
35805 Foo() {}
35806 };
35807
35808 int
35809 main ()
35810 {
35811
35812 ;
35813 return 0;
35814 }
35815 _ACEOF
35816 rm -f conftest.$ac_objext
35817 if { (ac_try="$ac_compile"
35818 case "(($ac_try" in
35819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35820 *) ac_try_echo=$ac_try;;
35821 esac
35822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35823 (eval "$ac_compile") 2>conftest.er1
35824 ac_status=$?
35825 grep -v '^ *+' conftest.er1 >conftest.err
35826 rm -f conftest.er1
35827 cat conftest.err >&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); } && {
35830 test -z "$ac_cxx_werror_flag" ||
35831 test ! -s conftest.err
35832 } && test -s conftest.$ac_objext; then
35833 wx_cv_cc_visibility=yes
35834 else
35835 echo "$as_me: failed program was:" >&5
35836 sed 's/^/| /' conftest.$ac_ext >&5
35837
35838 wx_cv_cc_visibility=no
35839 fi
35840
35841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35842 ac_ext=c
35843 ac_cpp='$CPP $CPPFLAGS'
35844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35847
35848 CXXFLAGS="$wx_save_CXXFLAGS"
35849 fi
35850
35851 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35852 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35853 if test $wx_cv_cc_visibility = yes; then
35854 cat >>confdefs.h <<\_ACEOF
35855 #define HAVE_VISIBILITY 1
35856 _ACEOF
35857
35858 else
35859 CFLAGS_VISIBILITY=""
35860 CXXFLAGS_VISIBILITY=""
35861 fi
35862
35863
35864 fi
35865
35866 fi
35867
35868 if test "x$SUNCXX" = xyes; then
35869 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35870 WXCONFIG_RPATH="-R\$libdir"
35871 else
35872 case "${host}" in
35873 *-*-linux* | *-*-gnu* )
35874 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35875 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35876 ;;
35877
35878 *-*-solaris2* )
35879
35880 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35881
35882 saveLdflags="$LDFLAGS"
35883 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35884 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35885 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35886 cat >conftest.$ac_ext <<_ACEOF
35887 /* confdefs.h. */
35888 _ACEOF
35889 cat confdefs.h >>conftest.$ac_ext
35890 cat >>conftest.$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35892
35893 int
35894 main ()
35895 {
35896
35897 ;
35898 return 0;
35899 }
35900 _ACEOF
35901 rm -f conftest.$ac_objext conftest$ac_exeext
35902 if { (ac_try="$ac_link"
35903 case "(($ac_try" in
35904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35905 *) ac_try_echo=$ac_try;;
35906 esac
35907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35908 (eval "$ac_link") 2>conftest.er1
35909 ac_status=$?
35910 grep -v '^ *+' conftest.er1 >conftest.err
35911 rm -f conftest.er1
35912 cat conftest.err >&5
35913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35914 (exit $ac_status); } && {
35915 test -z "$ac_c_werror_flag" ||
35916 test ! -s conftest.err
35917 } && test -s conftest$ac_exeext &&
35918 $as_test_x conftest$ac_exeext; then
35919
35920 { echo "$as_me:$LINENO: result: yes" >&5
35921 echo "${ECHO_T}yes" >&6; }
35922 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35923 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35924
35925 else
35926 echo "$as_me: failed program was:" >&5
35927 sed 's/^/| /' conftest.$ac_ext >&5
35928
35929
35930 { echo "$as_me:$LINENO: result: no" >&5
35931 echo "${ECHO_T}no" >&6; }
35932 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35933 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35934 LDFLAGS="$saveLdflags -Wl,-R,/"
35935 cat >conftest.$ac_ext <<_ACEOF
35936 /* confdefs.h. */
35937 _ACEOF
35938 cat confdefs.h >>conftest.$ac_ext
35939 cat >>conftest.$ac_ext <<_ACEOF
35940 /* end confdefs.h. */
35941
35942 int
35943 main ()
35944 {
35945
35946 ;
35947 return 0;
35948 }
35949 _ACEOF
35950 rm -f conftest.$ac_objext conftest$ac_exeext
35951 if { (ac_try="$ac_link"
35952 case "(($ac_try" in
35953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35954 *) ac_try_echo=$ac_try;;
35955 esac
35956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35957 (eval "$ac_link") 2>conftest.er1
35958 ac_status=$?
35959 grep -v '^ *+' conftest.er1 >conftest.err
35960 rm -f conftest.er1
35961 cat conftest.err >&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } && {
35964 test -z "$ac_c_werror_flag" ||
35965 test ! -s conftest.err
35966 } && test -s conftest$ac_exeext &&
35967 $as_test_x conftest$ac_exeext; then
35968
35969 { echo "$as_me:$LINENO: result: yes" >&5
35970 echo "${ECHO_T}yes" >&6; }
35971 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35972 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35973
35974 else
35975 echo "$as_me: failed program was:" >&5
35976 sed 's/^/| /' conftest.$ac_ext >&5
35977
35978
35979 { echo "$as_me:$LINENO: result: no" >&5
35980 echo "${ECHO_T}no" >&6; }
35981
35982 fi
35983
35984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35985 conftest$ac_exeext conftest.$ac_ext
35986
35987 fi
35988
35989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35990 conftest$ac_exeext conftest.$ac_ext
35991 LDFLAGS="$saveLdflags"
35992 ;;
35993
35994 *-*-darwin* )
35995 install_name_tool=`which install_name_tool`
35996 if test "$install_name_tool" -a -x "$install_name_tool"; then
35997 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35998 cat <<EOF >change-install-names
35999 #!/bin/sh
36000 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36001 inst_cmd="install_name_tool "
36002 for i in \${libnames} ; do
36003 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36004 done
36005 \${inst_cmd} \${3}
36006 EOF
36007 chmod +x change-install-names
36008 fi
36009 ;;
36010
36011 *-*-cygwin* | *-*-mingw32* )
36012 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36013 ;;
36014
36015 *-*-hpux* )
36016 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36017 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36018 ;;
36019
36020 esac
36021 fi
36022
36023 if test $wxUSE_RPATH = "no"; then
36024 SAMPLES_RPATH_FLAG=''
36025 SAMPLES_RPATH_POSTLINK=''
36026 WXCONFIG_RPATH=''
36027 fi
36028
36029 SHARED=1
36030
36031 else
36032
36033 config_linkage_component="-static"
36034 SHARED=0
36035
36036 fi
36037
36038
36039 UNICODE=0
36040 lib_unicode_suffix=
36041 WX_CHARTYPE="ansi"
36042 if test "$wxUSE_UNICODE" = "yes"; then
36043 lib_unicode_suffix=u
36044 WX_CHARTYPE="unicode"
36045 UNICODE=1
36046 fi
36047
36048 lib_debug_suffix=
36049 WX_DEBUGTYPE="release"
36050 DEBUG_FLAG=0
36051 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36052 lib_debug_suffix=d
36053 WX_DEBUGTYPE="debug"
36054 DEBUG_FLAG=1
36055 fi
36056
36057 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36058 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36059
36060 DEBUG_INFO=0
36061 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36062 DEBUG_INFO=1
36063 fi
36064
36065 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36066
36067 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36068
36069 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36070
36071 if test "$cross_compiling" = "yes"; then
36072 HOST_SUFFIX="-$host_alias"
36073 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36074 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36075 fi
36076
36077 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36078 if test "${TOOLKIT_DIR}" = "os2"; then
36079 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36080 else
36081 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36082 fi
36083
36084
36085
36086 if test "$wxUSE_COCOA" = 1; then
36087
36088 ac_ext=c
36089 ac_cpp='$CPP $CPPFLAGS'
36090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36093
36094 ac_ext=m
36095
36096 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36097 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36098 cat >conftest.$ac_ext <<_ACEOF
36099 /* confdefs.h. */
36100 _ACEOF
36101 cat confdefs.h >>conftest.$ac_ext
36102 cat >>conftest.$ac_ext <<_ACEOF
36103 /* end confdefs.h. */
36104 #include <AppKit/NSEvent.h>
36105 #include <CoreFoundation/CoreFoundation.h>
36106
36107 int
36108 main ()
36109 {
36110
36111 ;
36112 return 0;
36113 }
36114 _ACEOF
36115 rm -f conftest.$ac_objext
36116 if { (ac_try="$ac_compile"
36117 case "(($ac_try" in
36118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36119 *) ac_try_echo=$ac_try;;
36120 esac
36121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36122 (eval "$ac_compile") 2>conftest.er1
36123 ac_status=$?
36124 grep -v '^ *+' conftest.er1 >conftest.err
36125 rm -f conftest.er1
36126 cat conftest.err >&5
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); } && {
36129 test -z "$ac_c_werror_flag" ||
36130 test ! -s conftest.err
36131 } && test -s conftest.$ac_objext; then
36132 { echo "$as_me:$LINENO: result: no" >&5
36133 echo "${ECHO_T}no" >&6; }
36134 else
36135 echo "$as_me: failed program was:" >&5
36136 sed 's/^/| /' conftest.$ac_ext >&5
36137
36138 { echo "$as_me:$LINENO: result: yes" >&5
36139 echo "${ECHO_T}yes" >&6; }
36140 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36141 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36142 cat >conftest.$ac_ext <<_ACEOF
36143 /* confdefs.h. */
36144 _ACEOF
36145 cat confdefs.h >>conftest.$ac_ext
36146 cat >>conftest.$ac_ext <<_ACEOF
36147 /* end confdefs.h. */
36148 #define __Point__ 1
36149 #include <AppKit/NSEvent.h>
36150 #include <CoreFoundation/CoreFoundation.h>
36151
36152 int
36153 main ()
36154 {
36155
36156 ;
36157 return 0;
36158 }
36159 _ACEOF
36160 rm -f conftest.$ac_objext
36161 if { (ac_try="$ac_compile"
36162 case "(($ac_try" in
36163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36164 *) ac_try_echo=$ac_try;;
36165 esac
36166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36167 (eval "$ac_compile") 2>conftest.er1
36168 ac_status=$?
36169 grep -v '^ *+' conftest.er1 >conftest.err
36170 rm -f conftest.er1
36171 cat conftest.err >&5
36172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36173 (exit $ac_status); } && {
36174 test -z "$ac_c_werror_flag" ||
36175 test ! -s conftest.err
36176 } && test -s conftest.$ac_objext; then
36177 { echo "$as_me:$LINENO: result: yes" >&5
36178 echo "${ECHO_T}yes" >&6; }
36179 cat >>confdefs.h <<\_ACEOF
36180 #define __Point__ 1
36181 _ACEOF
36182
36183
36184 else
36185 echo "$as_me: failed program was:" >&5
36186 sed 's/^/| /' conftest.$ac_ext >&5
36187
36188 { { echo "$as_me:$LINENO: error: no
36189 See \`config.log' for more details." >&5
36190 echo "$as_me: error: no
36191 See \`config.log' for more details." >&2;}
36192 { (exit 1); exit 1; }; }
36193
36194 fi
36195
36196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36197
36198 fi
36199
36200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36201 ac_ext=c
36202 ac_cpp='$CPP $CPPFLAGS'
36203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36206
36207 fi
36208
36209 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36210 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36211 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36212
36213 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36214
36215 # Extract the first word of "Rez", so it can be a program name with args.
36216 set dummy Rez; 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_REZ+set}" = set; then
36220 echo $ECHO_N "(cached) $ECHO_C" >&6
36221 else
36222 if test -n "$REZ"; then
36223 ac_cv_prog_REZ="$REZ" # 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_REZ="Rez"
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_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36241 fi
36242 fi
36243 REZ=$ac_cv_prog_REZ
36244 if test -n "$REZ"; then
36245 { echo "$as_me:$LINENO: result: $REZ" >&5
36246 echo "${ECHO_T}$REZ" >&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 "DeRez", so it can be a program name with args.
36254 set dummy DeRez; 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_DEREZ+set}" = set; then
36258 echo $ECHO_N "(cached) $ECHO_C" >&6
36259 else
36260 if test -n "$DEREZ"; then
36261 ac_cv_prog_DEREZ="$DEREZ" # 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_DEREZ="DeRez"
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_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36279 fi
36280 fi
36281 DEREZ=$ac_cv_prog_DEREZ
36282 if test -n "$DEREZ"; then
36283 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36284 echo "${ECHO_T}$DEREZ" >&6; }
36285 else
36286 { echo "$as_me:$LINENO: result: no" >&5
36287 echo "${ECHO_T}no" >&6; }
36288 fi
36289
36290
36291 # Extract the first word of "SetFile", so it can be a program name with args.
36292 set dummy SetFile; ac_word=$2
36293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36295 if test "${ac_cv_prog_SETFILE+set}" = set; then
36296 echo $ECHO_N "(cached) $ECHO_C" >&6
36297 else
36298 if test -n "$SETFILE"; then
36299 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36300 else
36301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36302 for as_dir in $PATH
36303 do
36304 IFS=$as_save_IFS
36305 test -z "$as_dir" && as_dir=.
36306 for ac_exec_ext in '' $ac_executable_extensions; do
36307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36308 ac_cv_prog_SETFILE="SetFile"
36309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36310 break 2
36311 fi
36312 done
36313 done
36314 IFS=$as_save_IFS
36315
36316 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36317 fi
36318 fi
36319 SETFILE=$ac_cv_prog_SETFILE
36320 if test -n "$SETFILE"; then
36321 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36322 echo "${ECHO_T}$SETFILE" >&6; }
36323 else
36324 { echo "$as_me:$LINENO: result: no" >&5
36325 echo "${ECHO_T}no" >&6; }
36326 fi
36327
36328
36329
36330 MACSETFILE="\$(SETFILE)"
36331
36332 if test "$wxUSE_MAC" = 1; then
36333 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36334 RESCOMP="$REZ"
36335 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36336 else
36337 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36338 RESCOMP="echo -n \| $REZ"
36339 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36340 fi
36341
36342 else
36343 MACSETFILE="@true"
36344
36345 if test "$wxUSE_PM" = 1; then
36346 RESCOMP="emxbind"
36347 WXCONFIG_RESFLAGS="-ep"
36348
36349 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36350 else
36351 POSTLINK_COMMAND="@true"
36352 fi
36353
36354 fi
36355
36356
36357
36358 { echo "$as_me:$LINENO: checking for mode_t" >&5
36359 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36360 if test "${ac_cv_type_mode_t+set}" = set; then
36361 echo $ECHO_N "(cached) $ECHO_C" >&6
36362 else
36363 cat >conftest.$ac_ext <<_ACEOF
36364 /* confdefs.h. */
36365 _ACEOF
36366 cat confdefs.h >>conftest.$ac_ext
36367 cat >>conftest.$ac_ext <<_ACEOF
36368 /* end confdefs.h. */
36369 $ac_includes_default
36370 typedef mode_t ac__type_new_;
36371 int
36372 main ()
36373 {
36374 if ((ac__type_new_ *) 0)
36375 return 0;
36376 if (sizeof (ac__type_new_))
36377 return 0;
36378 ;
36379 return 0;
36380 }
36381 _ACEOF
36382 rm -f conftest.$ac_objext
36383 if { (ac_try="$ac_compile"
36384 case "(($ac_try" in
36385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36386 *) ac_try_echo=$ac_try;;
36387 esac
36388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36389 (eval "$ac_compile") 2>conftest.er1
36390 ac_status=$?
36391 grep -v '^ *+' conftest.er1 >conftest.err
36392 rm -f conftest.er1
36393 cat conftest.err >&5
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); } && {
36396 test -z "$ac_c_werror_flag" ||
36397 test ! -s conftest.err
36398 } && test -s conftest.$ac_objext; then
36399 ac_cv_type_mode_t=yes
36400 else
36401 echo "$as_me: failed program was:" >&5
36402 sed 's/^/| /' conftest.$ac_ext >&5
36403
36404 ac_cv_type_mode_t=no
36405 fi
36406
36407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36408 fi
36409 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36410 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36411 if test $ac_cv_type_mode_t = yes; then
36412 :
36413 else
36414
36415 cat >>confdefs.h <<_ACEOF
36416 #define mode_t int
36417 _ACEOF
36418
36419 fi
36420
36421 { echo "$as_me:$LINENO: checking for off_t" >&5
36422 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36423 if test "${ac_cv_type_off_t+set}" = set; then
36424 echo $ECHO_N "(cached) $ECHO_C" >&6
36425 else
36426 cat >conftest.$ac_ext <<_ACEOF
36427 /* confdefs.h. */
36428 _ACEOF
36429 cat confdefs.h >>conftest.$ac_ext
36430 cat >>conftest.$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36432 $ac_includes_default
36433 typedef off_t ac__type_new_;
36434 int
36435 main ()
36436 {
36437 if ((ac__type_new_ *) 0)
36438 return 0;
36439 if (sizeof (ac__type_new_))
36440 return 0;
36441 ;
36442 return 0;
36443 }
36444 _ACEOF
36445 rm -f conftest.$ac_objext
36446 if { (ac_try="$ac_compile"
36447 case "(($ac_try" in
36448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36449 *) ac_try_echo=$ac_try;;
36450 esac
36451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36452 (eval "$ac_compile") 2>conftest.er1
36453 ac_status=$?
36454 grep -v '^ *+' conftest.er1 >conftest.err
36455 rm -f conftest.er1
36456 cat conftest.err >&5
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); } && {
36459 test -z "$ac_c_werror_flag" ||
36460 test ! -s conftest.err
36461 } && test -s conftest.$ac_objext; then
36462 ac_cv_type_off_t=yes
36463 else
36464 echo "$as_me: failed program was:" >&5
36465 sed 's/^/| /' conftest.$ac_ext >&5
36466
36467 ac_cv_type_off_t=no
36468 fi
36469
36470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36471 fi
36472 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36473 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36474 if test $ac_cv_type_off_t = yes; then
36475 :
36476 else
36477
36478 cat >>confdefs.h <<_ACEOF
36479 #define off_t long int
36480 _ACEOF
36481
36482 fi
36483
36484 { echo "$as_me:$LINENO: checking for pid_t" >&5
36485 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36486 if test "${ac_cv_type_pid_t+set}" = set; then
36487 echo $ECHO_N "(cached) $ECHO_C" >&6
36488 else
36489 cat >conftest.$ac_ext <<_ACEOF
36490 /* confdefs.h. */
36491 _ACEOF
36492 cat confdefs.h >>conftest.$ac_ext
36493 cat >>conftest.$ac_ext <<_ACEOF
36494 /* end confdefs.h. */
36495 $ac_includes_default
36496 typedef pid_t ac__type_new_;
36497 int
36498 main ()
36499 {
36500 if ((ac__type_new_ *) 0)
36501 return 0;
36502 if (sizeof (ac__type_new_))
36503 return 0;
36504 ;
36505 return 0;
36506 }
36507 _ACEOF
36508 rm -f conftest.$ac_objext
36509 if { (ac_try="$ac_compile"
36510 case "(($ac_try" in
36511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36512 *) ac_try_echo=$ac_try;;
36513 esac
36514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36515 (eval "$ac_compile") 2>conftest.er1
36516 ac_status=$?
36517 grep -v '^ *+' conftest.er1 >conftest.err
36518 rm -f conftest.er1
36519 cat conftest.err >&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); } && {
36522 test -z "$ac_c_werror_flag" ||
36523 test ! -s conftest.err
36524 } && test -s conftest.$ac_objext; then
36525 ac_cv_type_pid_t=yes
36526 else
36527 echo "$as_me: failed program was:" >&5
36528 sed 's/^/| /' conftest.$ac_ext >&5
36529
36530 ac_cv_type_pid_t=no
36531 fi
36532
36533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36534 fi
36535 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36536 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36537 if test $ac_cv_type_pid_t = yes; then
36538 :
36539 else
36540
36541 cat >>confdefs.h <<_ACEOF
36542 #define pid_t int
36543 _ACEOF
36544
36545 fi
36546
36547 { echo "$as_me:$LINENO: checking for size_t" >&5
36548 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36549 if test "${ac_cv_type_size_t+set}" = set; then
36550 echo $ECHO_N "(cached) $ECHO_C" >&6
36551 else
36552 cat >conftest.$ac_ext <<_ACEOF
36553 /* confdefs.h. */
36554 _ACEOF
36555 cat confdefs.h >>conftest.$ac_ext
36556 cat >>conftest.$ac_ext <<_ACEOF
36557 /* end confdefs.h. */
36558 $ac_includes_default
36559 typedef size_t ac__type_new_;
36560 int
36561 main ()
36562 {
36563 if ((ac__type_new_ *) 0)
36564 return 0;
36565 if (sizeof (ac__type_new_))
36566 return 0;
36567 ;
36568 return 0;
36569 }
36570 _ACEOF
36571 rm -f conftest.$ac_objext
36572 if { (ac_try="$ac_compile"
36573 case "(($ac_try" in
36574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36575 *) ac_try_echo=$ac_try;;
36576 esac
36577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36578 (eval "$ac_compile") 2>conftest.er1
36579 ac_status=$?
36580 grep -v '^ *+' conftest.er1 >conftest.err
36581 rm -f conftest.er1
36582 cat conftest.err >&5
36583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36584 (exit $ac_status); } && {
36585 test -z "$ac_c_werror_flag" ||
36586 test ! -s conftest.err
36587 } && test -s conftest.$ac_objext; then
36588 ac_cv_type_size_t=yes
36589 else
36590 echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.$ac_ext >&5
36592
36593 ac_cv_type_size_t=no
36594 fi
36595
36596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36597 fi
36598 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36599 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36600 if test $ac_cv_type_size_t = yes; then
36601 :
36602 else
36603
36604 cat >>confdefs.h <<_ACEOF
36605 #define size_t unsigned int
36606 _ACEOF
36607
36608 fi
36609
36610 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36611 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36612 if test "${ac_cv_type_uid_t+set}" = set; then
36613 echo $ECHO_N "(cached) $ECHO_C" >&6
36614 else
36615 cat >conftest.$ac_ext <<_ACEOF
36616 /* confdefs.h. */
36617 _ACEOF
36618 cat confdefs.h >>conftest.$ac_ext
36619 cat >>conftest.$ac_ext <<_ACEOF
36620 /* end confdefs.h. */
36621 #include <sys/types.h>
36622
36623 _ACEOF
36624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36625 $EGREP "uid_t" >/dev/null 2>&1; then
36626 ac_cv_type_uid_t=yes
36627 else
36628 ac_cv_type_uid_t=no
36629 fi
36630 rm -f conftest*
36631
36632 fi
36633 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36634 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36635 if test $ac_cv_type_uid_t = no; then
36636
36637 cat >>confdefs.h <<\_ACEOF
36638 #define uid_t int
36639 _ACEOF
36640
36641
36642 cat >>confdefs.h <<\_ACEOF
36643 #define gid_t int
36644 _ACEOF
36645
36646 fi
36647
36648
36649 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36650 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36651 if test "${ac_cv_type_ssize_t+set}" = set; then
36652 echo $ECHO_N "(cached) $ECHO_C" >&6
36653 else
36654 cat >conftest.$ac_ext <<_ACEOF
36655 /* confdefs.h. */
36656 _ACEOF
36657 cat confdefs.h >>conftest.$ac_ext
36658 cat >>conftest.$ac_ext <<_ACEOF
36659 /* end confdefs.h. */
36660 $ac_includes_default
36661 typedef ssize_t ac__type_new_;
36662 int
36663 main ()
36664 {
36665 if ((ac__type_new_ *) 0)
36666 return 0;
36667 if (sizeof (ac__type_new_))
36668 return 0;
36669 ;
36670 return 0;
36671 }
36672 _ACEOF
36673 rm -f conftest.$ac_objext
36674 if { (ac_try="$ac_compile"
36675 case "(($ac_try" in
36676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36677 *) ac_try_echo=$ac_try;;
36678 esac
36679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36680 (eval "$ac_compile") 2>conftest.er1
36681 ac_status=$?
36682 grep -v '^ *+' conftest.er1 >conftest.err
36683 rm -f conftest.er1
36684 cat conftest.err >&5
36685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36686 (exit $ac_status); } && {
36687 test -z "$ac_c_werror_flag" ||
36688 test ! -s conftest.err
36689 } && test -s conftest.$ac_objext; then
36690 ac_cv_type_ssize_t=yes
36691 else
36692 echo "$as_me: failed program was:" >&5
36693 sed 's/^/| /' conftest.$ac_ext >&5
36694
36695 ac_cv_type_ssize_t=no
36696 fi
36697
36698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36699 fi
36700 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36701 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36702 if test $ac_cv_type_ssize_t = yes; then
36703
36704 cat >>confdefs.h <<_ACEOF
36705 #define HAVE_SSIZE_T 1
36706 _ACEOF
36707
36708
36709 fi
36710
36711
36712 ac_ext=cpp
36713 ac_cpp='$CXXCPP $CPPFLAGS'
36714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36717 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36718 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36719 if test "${wx_cv_size_t_is_uint+set}" = set; then
36720 echo $ECHO_N "(cached) $ECHO_C" >&6
36721 else
36722
36723 cat >conftest.$ac_ext <<_ACEOF
36724 /* confdefs.h. */
36725 _ACEOF
36726 cat confdefs.h >>conftest.$ac_ext
36727 cat >>conftest.$ac_ext <<_ACEOF
36728 /* end confdefs.h. */
36729 #include <stddef.h>
36730 int
36731 main ()
36732 {
36733
36734 return 0; }
36735
36736 struct Foo { void foo(size_t); void foo(unsigned int); };
36737
36738 int bar() {
36739
36740 ;
36741 return 0;
36742 }
36743 _ACEOF
36744 rm -f conftest.$ac_objext
36745 if { (ac_try="$ac_compile"
36746 case "(($ac_try" in
36747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36748 *) ac_try_echo=$ac_try;;
36749 esac
36750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36751 (eval "$ac_compile") 2>conftest.er1
36752 ac_status=$?
36753 grep -v '^ *+' conftest.er1 >conftest.err
36754 rm -f conftest.er1
36755 cat conftest.err >&5
36756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36757 (exit $ac_status); } && {
36758 test -z "$ac_cxx_werror_flag" ||
36759 test ! -s conftest.err
36760 } && test -s conftest.$ac_objext; then
36761 wx_cv_size_t_is_uint=no
36762 else
36763 echo "$as_me: failed program was:" >&5
36764 sed 's/^/| /' conftest.$ac_ext >&5
36765
36766 wx_cv_size_t_is_uint=yes
36767
36768 fi
36769
36770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36771
36772
36773 fi
36774 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36775 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36776
36777 if test "$wx_cv_size_t_is_uint" = "yes"; then
36778 cat >>confdefs.h <<\_ACEOF
36779 #define wxSIZE_T_IS_UINT 1
36780 _ACEOF
36781
36782 else
36783 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36784 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36785 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36786 echo $ECHO_N "(cached) $ECHO_C" >&6
36787 else
36788 cat >conftest.$ac_ext <<_ACEOF
36789 /* confdefs.h. */
36790 _ACEOF
36791 cat confdefs.h >>conftest.$ac_ext
36792 cat >>conftest.$ac_ext <<_ACEOF
36793 /* end confdefs.h. */
36794 #include <stddef.h>
36795 int
36796 main ()
36797 {
36798
36799 return 0; }
36800
36801 struct Foo { void foo(size_t); void foo(unsigned long); };
36802
36803 int bar() {
36804
36805 ;
36806 return 0;
36807 }
36808 _ACEOF
36809 rm -f conftest.$ac_objext
36810 if { (ac_try="$ac_compile"
36811 case "(($ac_try" in
36812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36813 *) ac_try_echo=$ac_try;;
36814 esac
36815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36816 (eval "$ac_compile") 2>conftest.er1
36817 ac_status=$?
36818 grep -v '^ *+' conftest.er1 >conftest.err
36819 rm -f conftest.er1
36820 cat conftest.err >&5
36821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36822 (exit $ac_status); } && {
36823 test -z "$ac_cxx_werror_flag" ||
36824 test ! -s conftest.err
36825 } && test -s conftest.$ac_objext; then
36826 wx_cv_size_t_is_ulong=no
36827 else
36828 echo "$as_me: failed program was:" >&5
36829 sed 's/^/| /' conftest.$ac_ext >&5
36830
36831 wx_cv_size_t_is_ulong=yes
36832
36833 fi
36834
36835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36836
36837 fi
36838 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36839 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36840
36841 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36842 cat >>confdefs.h <<\_ACEOF
36843 #define wxSIZE_T_IS_ULONG 1
36844 _ACEOF
36845
36846 fi
36847 fi
36848
36849 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36850 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36851 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36852 echo $ECHO_N "(cached) $ECHO_C" >&6
36853 else
36854 cat >conftest.$ac_ext <<_ACEOF
36855 /* confdefs.h. */
36856 _ACEOF
36857 cat confdefs.h >>conftest.$ac_ext
36858 cat >>conftest.$ac_ext <<_ACEOF
36859 /* end confdefs.h. */
36860 #include <wchar.h>
36861 int
36862 main ()
36863 {
36864
36865 return 0; }
36866
36867 struct Foo { void foo(wchar_t);
36868 void foo(unsigned short);
36869 void foo(unsigned int);
36870 void foo(unsigned long); };
36871
36872 int bar() {
36873
36874 ;
36875 return 0;
36876 }
36877 _ACEOF
36878 rm -f conftest.$ac_objext
36879 if { (ac_try="$ac_compile"
36880 case "(($ac_try" in
36881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36882 *) ac_try_echo=$ac_try;;
36883 esac
36884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36885 (eval "$ac_compile") 2>conftest.er1
36886 ac_status=$?
36887 grep -v '^ *+' conftest.er1 >conftest.err
36888 rm -f conftest.er1
36889 cat conftest.err >&5
36890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36891 (exit $ac_status); } && {
36892 test -z "$ac_cxx_werror_flag" ||
36893 test ! -s conftest.err
36894 } && test -s conftest.$ac_objext; then
36895 wx_cv_wchar_t_is_separate_type=yes
36896 else
36897 echo "$as_me: failed program was:" >&5
36898 sed 's/^/| /' conftest.$ac_ext >&5
36899
36900 wx_cv_wchar_t_is_separate_type=no
36901
36902 fi
36903
36904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36905
36906 fi
36907 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36908 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36909
36910 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36911 cat >>confdefs.h <<\_ACEOF
36912 #define wxWCHAR_T_IS_REAL_TYPE 1
36913 _ACEOF
36914
36915 else
36916 cat >>confdefs.h <<\_ACEOF
36917 #define wxWCHAR_T_IS_REAL_TYPE 0
36918 _ACEOF
36919
36920 fi
36921
36922 ac_ext=c
36923 ac_cpp='$CPP $CPPFLAGS'
36924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36927
36928
36929 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36930 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36931 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36932 echo $ECHO_N "(cached) $ECHO_C" >&6
36933 else
36934
36935 cat >conftest.$ac_ext <<_ACEOF
36936 /* confdefs.h. */
36937 _ACEOF
36938 cat confdefs.h >>conftest.$ac_ext
36939 cat >>conftest.$ac_ext <<_ACEOF
36940 /* end confdefs.h. */
36941 #include <pwd.h>
36942 int
36943 main ()
36944 {
36945
36946 char *p;
36947 struct passwd *pw;
36948 p = pw->pw_gecos;
36949
36950 ;
36951 return 0;
36952 }
36953 _ACEOF
36954 rm -f conftest.$ac_objext
36955 if { (ac_try="$ac_compile"
36956 case "(($ac_try" in
36957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36958 *) ac_try_echo=$ac_try;;
36959 esac
36960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36961 (eval "$ac_compile") 2>conftest.er1
36962 ac_status=$?
36963 grep -v '^ *+' conftest.er1 >conftest.err
36964 rm -f conftest.er1
36965 cat conftest.err >&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); } && {
36968 test -z "$ac_c_werror_flag" ||
36969 test ! -s conftest.err
36970 } && test -s conftest.$ac_objext; then
36971
36972 wx_cv_struct_pw_gecos=yes
36973
36974 else
36975 echo "$as_me: failed program was:" >&5
36976 sed 's/^/| /' conftest.$ac_ext >&5
36977
36978
36979 wx_cv_struct_pw_gecos=no
36980
36981
36982 fi
36983
36984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36985
36986
36987 fi
36988 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36989 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36990
36991 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36992 cat >>confdefs.h <<\_ACEOF
36993 #define HAVE_PW_GECOS 1
36994 _ACEOF
36995
36996 fi
36997
36998
36999 if test "$wxUSE_WCHAR_T" = "yes"; then
37000 cat >>confdefs.h <<\_ACEOF
37001 #define wxUSE_WCHAR_T 1
37002 _ACEOF
37003
37004
37005 WCSLEN_FOUND=0
37006 WCHAR_LINK=
37007
37008 for ac_func in wcslen
37009 do
37010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37011 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37013 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37015 else
37016 cat >conftest.$ac_ext <<_ACEOF
37017 /* confdefs.h. */
37018 _ACEOF
37019 cat confdefs.h >>conftest.$ac_ext
37020 cat >>conftest.$ac_ext <<_ACEOF
37021 /* end confdefs.h. */
37022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37024 #define $ac_func innocuous_$ac_func
37025
37026 /* System header to define __stub macros and hopefully few prototypes,
37027 which can conflict with char $ac_func (); below.
37028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37029 <limits.h> exists even on freestanding compilers. */
37030
37031 #ifdef __STDC__
37032 # include <limits.h>
37033 #else
37034 # include <assert.h>
37035 #endif
37036
37037 #undef $ac_func
37038
37039 /* Override any GCC internal prototype to avoid an error.
37040 Use char because int might match the return type of a GCC
37041 builtin and then its argument prototype would still apply. */
37042 #ifdef __cplusplus
37043 extern "C"
37044 #endif
37045 char $ac_func ();
37046 /* The GNU C library defines this for functions which it implements
37047 to always fail with ENOSYS. Some functions are actually named
37048 something starting with __ and the normal name is an alias. */
37049 #if defined __stub_$ac_func || defined __stub___$ac_func
37050 choke me
37051 #endif
37052
37053 int
37054 main ()
37055 {
37056 return $ac_func ();
37057 ;
37058 return 0;
37059 }
37060 _ACEOF
37061 rm -f conftest.$ac_objext conftest$ac_exeext
37062 if { (ac_try="$ac_link"
37063 case "(($ac_try" in
37064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37065 *) ac_try_echo=$ac_try;;
37066 esac
37067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37068 (eval "$ac_link") 2>conftest.er1
37069 ac_status=$?
37070 grep -v '^ *+' conftest.er1 >conftest.err
37071 rm -f conftest.er1
37072 cat conftest.err >&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } && {
37075 test -z "$ac_c_werror_flag" ||
37076 test ! -s conftest.err
37077 } && test -s conftest$ac_exeext &&
37078 $as_test_x conftest$ac_exeext; then
37079 eval "$as_ac_var=yes"
37080 else
37081 echo "$as_me: failed program was:" >&5
37082 sed 's/^/| /' conftest.$ac_ext >&5
37083
37084 eval "$as_ac_var=no"
37085 fi
37086
37087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37088 conftest$ac_exeext conftest.$ac_ext
37089 fi
37090 ac_res=`eval echo '${'$as_ac_var'}'`
37091 { echo "$as_me:$LINENO: result: $ac_res" >&5
37092 echo "${ECHO_T}$ac_res" >&6; }
37093 if test `eval echo '${'$as_ac_var'}'` = yes; then
37094 cat >>confdefs.h <<_ACEOF
37095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37096 _ACEOF
37097 WCSLEN_FOUND=1
37098 fi
37099 done
37100
37101
37102 if test "$WCSLEN_FOUND" = 0; then
37103 if test "$TOOLKIT" = "MSW"; then
37104 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37105 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37106 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37107 echo $ECHO_N "(cached) $ECHO_C" >&6
37108 else
37109 ac_check_lib_save_LIBS=$LIBS
37110 LIBS="-lmsvcrt $LIBS"
37111 cat >conftest.$ac_ext <<_ACEOF
37112 /* confdefs.h. */
37113 _ACEOF
37114 cat confdefs.h >>conftest.$ac_ext
37115 cat >>conftest.$ac_ext <<_ACEOF
37116 /* end confdefs.h. */
37117
37118 /* Override any GCC internal prototype to avoid an error.
37119 Use char because int might match the return type of a GCC
37120 builtin and then its argument prototype would still apply. */
37121 #ifdef __cplusplus
37122 extern "C"
37123 #endif
37124 char wcslen ();
37125 int
37126 main ()
37127 {
37128 return wcslen ();
37129 ;
37130 return 0;
37131 }
37132 _ACEOF
37133 rm -f conftest.$ac_objext conftest$ac_exeext
37134 if { (ac_try="$ac_link"
37135 case "(($ac_try" in
37136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37137 *) ac_try_echo=$ac_try;;
37138 esac
37139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37140 (eval "$ac_link") 2>conftest.er1
37141 ac_status=$?
37142 grep -v '^ *+' conftest.er1 >conftest.err
37143 rm -f conftest.er1
37144 cat conftest.err >&5
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); } && {
37147 test -z "$ac_c_werror_flag" ||
37148 test ! -s conftest.err
37149 } && test -s conftest$ac_exeext &&
37150 $as_test_x conftest$ac_exeext; then
37151 ac_cv_lib_msvcrt_wcslen=yes
37152 else
37153 echo "$as_me: failed program was:" >&5
37154 sed 's/^/| /' conftest.$ac_ext >&5
37155
37156 ac_cv_lib_msvcrt_wcslen=no
37157 fi
37158
37159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37160 conftest$ac_exeext conftest.$ac_ext
37161 LIBS=$ac_check_lib_save_LIBS
37162 fi
37163 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37164 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37165 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37166 WCHAR_OK=1
37167 fi
37168
37169 else
37170 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37171 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37172 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37173 echo $ECHO_N "(cached) $ECHO_C" >&6
37174 else
37175 ac_check_lib_save_LIBS=$LIBS
37176 LIBS="-lw $LIBS"
37177 cat >conftest.$ac_ext <<_ACEOF
37178 /* confdefs.h. */
37179 _ACEOF
37180 cat confdefs.h >>conftest.$ac_ext
37181 cat >>conftest.$ac_ext <<_ACEOF
37182 /* end confdefs.h. */
37183
37184 /* Override any GCC internal prototype to avoid an error.
37185 Use char because int might match the return type of a GCC
37186 builtin and then its argument prototype would still apply. */
37187 #ifdef __cplusplus
37188 extern "C"
37189 #endif
37190 char wcslen ();
37191 int
37192 main ()
37193 {
37194 return wcslen ();
37195 ;
37196 return 0;
37197 }
37198 _ACEOF
37199 rm -f conftest.$ac_objext conftest$ac_exeext
37200 if { (ac_try="$ac_link"
37201 case "(($ac_try" in
37202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37203 *) ac_try_echo=$ac_try;;
37204 esac
37205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37206 (eval "$ac_link") 2>conftest.er1
37207 ac_status=$?
37208 grep -v '^ *+' conftest.er1 >conftest.err
37209 rm -f conftest.er1
37210 cat conftest.err >&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); } && {
37213 test -z "$ac_c_werror_flag" ||
37214 test ! -s conftest.err
37215 } && test -s conftest$ac_exeext &&
37216 $as_test_x conftest$ac_exeext; then
37217 ac_cv_lib_w_wcslen=yes
37218 else
37219 echo "$as_me: failed program was:" >&5
37220 sed 's/^/| /' conftest.$ac_ext >&5
37221
37222 ac_cv_lib_w_wcslen=no
37223 fi
37224
37225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37226 conftest$ac_exeext conftest.$ac_ext
37227 LIBS=$ac_check_lib_save_LIBS
37228 fi
37229 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37230 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37231 if test $ac_cv_lib_w_wcslen = yes; then
37232
37233 WCHAR_LINK=" -lw"
37234 WCSLEN_FOUND=1
37235
37236 fi
37237
37238 fi
37239 fi
37240
37241 if test "$WCSLEN_FOUND" = 1; then
37242 cat >>confdefs.h <<\_ACEOF
37243 #define HAVE_WCSLEN 1
37244 _ACEOF
37245
37246 fi
37247
37248
37249 for ac_func in wcsdup
37250 do
37251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37252 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37254 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37255 echo $ECHO_N "(cached) $ECHO_C" >&6
37256 else
37257 cat >conftest.$ac_ext <<_ACEOF
37258 /* confdefs.h. */
37259 _ACEOF
37260 cat confdefs.h >>conftest.$ac_ext
37261 cat >>conftest.$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37265 #define $ac_func innocuous_$ac_func
37266
37267 /* System header to define __stub macros and hopefully few prototypes,
37268 which can conflict with char $ac_func (); below.
37269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37270 <limits.h> exists even on freestanding compilers. */
37271
37272 #ifdef __STDC__
37273 # include <limits.h>
37274 #else
37275 # include <assert.h>
37276 #endif
37277
37278 #undef $ac_func
37279
37280 /* Override any GCC internal prototype to avoid an error.
37281 Use char because int might match the return type of a GCC
37282 builtin and then its argument prototype would still apply. */
37283 #ifdef __cplusplus
37284 extern "C"
37285 #endif
37286 char $ac_func ();
37287 /* The GNU C library defines this for functions which it implements
37288 to always fail with ENOSYS. Some functions are actually named
37289 something starting with __ and the normal name is an alias. */
37290 #if defined __stub_$ac_func || defined __stub___$ac_func
37291 choke me
37292 #endif
37293
37294 int
37295 main ()
37296 {
37297 return $ac_func ();
37298 ;
37299 return 0;
37300 }
37301 _ACEOF
37302 rm -f conftest.$ac_objext conftest$ac_exeext
37303 if { (ac_try="$ac_link"
37304 case "(($ac_try" in
37305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37306 *) ac_try_echo=$ac_try;;
37307 esac
37308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37309 (eval "$ac_link") 2>conftest.er1
37310 ac_status=$?
37311 grep -v '^ *+' conftest.er1 >conftest.err
37312 rm -f conftest.er1
37313 cat conftest.err >&5
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); } && {
37316 test -z "$ac_c_werror_flag" ||
37317 test ! -s conftest.err
37318 } && test -s conftest$ac_exeext &&
37319 $as_test_x conftest$ac_exeext; then
37320 eval "$as_ac_var=yes"
37321 else
37322 echo "$as_me: failed program was:" >&5
37323 sed 's/^/| /' conftest.$ac_ext >&5
37324
37325 eval "$as_ac_var=no"
37326 fi
37327
37328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37329 conftest$ac_exeext conftest.$ac_ext
37330 fi
37331 ac_res=`eval echo '${'$as_ac_var'}'`
37332 { echo "$as_me:$LINENO: result: $ac_res" >&5
37333 echo "${ECHO_T}$ac_res" >&6; }
37334 if test `eval echo '${'$as_ac_var'}'` = yes; then
37335 cat >>confdefs.h <<_ACEOF
37336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37337 _ACEOF
37338
37339 fi
37340 done
37341
37342
37343 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37344 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37345 fi
37346
37347 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37348 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37349 if test "${ac_cv_type_mbstate_t+set}" = set; then
37350 echo $ECHO_N "(cached) $ECHO_C" >&6
37351 else
37352 cat >conftest.$ac_ext <<_ACEOF
37353 /* confdefs.h. */
37354 _ACEOF
37355 cat confdefs.h >>conftest.$ac_ext
37356 cat >>conftest.$ac_ext <<_ACEOF
37357 /* end confdefs.h. */
37358 #include <wchar.h>
37359
37360 typedef mbstate_t ac__type_new_;
37361 int
37362 main ()
37363 {
37364 if ((ac__type_new_ *) 0)
37365 return 0;
37366 if (sizeof (ac__type_new_))
37367 return 0;
37368 ;
37369 return 0;
37370 }
37371 _ACEOF
37372 rm -f conftest.$ac_objext
37373 if { (ac_try="$ac_compile"
37374 case "(($ac_try" in
37375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37376 *) ac_try_echo=$ac_try;;
37377 esac
37378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37379 (eval "$ac_compile") 2>conftest.er1
37380 ac_status=$?
37381 grep -v '^ *+' conftest.er1 >conftest.err
37382 rm -f conftest.er1
37383 cat conftest.err >&5
37384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385 (exit $ac_status); } && {
37386 test -z "$ac_c_werror_flag" ||
37387 test ! -s conftest.err
37388 } && test -s conftest.$ac_objext; then
37389 ac_cv_type_mbstate_t=yes
37390 else
37391 echo "$as_me: failed program was:" >&5
37392 sed 's/^/| /' conftest.$ac_ext >&5
37393
37394 ac_cv_type_mbstate_t=no
37395 fi
37396
37397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37398 fi
37399 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37400 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37401 if test $ac_cv_type_mbstate_t = yes; then
37402
37403 cat >>confdefs.h <<_ACEOF
37404 #define HAVE_MBSTATE_T 1
37405 _ACEOF
37406
37407
37408 for ac_func in wcsrtombs
37409 do
37410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37411 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37413 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37414 echo $ECHO_N "(cached) $ECHO_C" >&6
37415 else
37416 cat >conftest.$ac_ext <<_ACEOF
37417 /* confdefs.h. */
37418 _ACEOF
37419 cat confdefs.h >>conftest.$ac_ext
37420 cat >>conftest.$ac_ext <<_ACEOF
37421 /* end confdefs.h. */
37422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37424 #define $ac_func innocuous_$ac_func
37425
37426 /* System header to define __stub macros and hopefully few prototypes,
37427 which can conflict with char $ac_func (); below.
37428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37429 <limits.h> exists even on freestanding compilers. */
37430
37431 #ifdef __STDC__
37432 # include <limits.h>
37433 #else
37434 # include <assert.h>
37435 #endif
37436
37437 #undef $ac_func
37438
37439 /* Override any GCC internal prototype to avoid an error.
37440 Use char because int might match the return type of a GCC
37441 builtin and then its argument prototype would still apply. */
37442 #ifdef __cplusplus
37443 extern "C"
37444 #endif
37445 char $ac_func ();
37446 /* The GNU C library defines this for functions which it implements
37447 to always fail with ENOSYS. Some functions are actually named
37448 something starting with __ and the normal name is an alias. */
37449 #if defined __stub_$ac_func || defined __stub___$ac_func
37450 choke me
37451 #endif
37452
37453 int
37454 main ()
37455 {
37456 return $ac_func ();
37457 ;
37458 return 0;
37459 }
37460 _ACEOF
37461 rm -f conftest.$ac_objext conftest$ac_exeext
37462 if { (ac_try="$ac_link"
37463 case "(($ac_try" in
37464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37465 *) ac_try_echo=$ac_try;;
37466 esac
37467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37468 (eval "$ac_link") 2>conftest.er1
37469 ac_status=$?
37470 grep -v '^ *+' conftest.er1 >conftest.err
37471 rm -f conftest.er1
37472 cat conftest.err >&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); } && {
37475 test -z "$ac_c_werror_flag" ||
37476 test ! -s conftest.err
37477 } && test -s conftest$ac_exeext &&
37478 $as_test_x conftest$ac_exeext; then
37479 eval "$as_ac_var=yes"
37480 else
37481 echo "$as_me: failed program was:" >&5
37482 sed 's/^/| /' conftest.$ac_ext >&5
37483
37484 eval "$as_ac_var=no"
37485 fi
37486
37487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37488 conftest$ac_exeext conftest.$ac_ext
37489 fi
37490 ac_res=`eval echo '${'$as_ac_var'}'`
37491 { echo "$as_me:$LINENO: result: $ac_res" >&5
37492 echo "${ECHO_T}$ac_res" >&6; }
37493 if test `eval echo '${'$as_ac_var'}'` = yes; then
37494 cat >>confdefs.h <<_ACEOF
37495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37496 _ACEOF
37497
37498 fi
37499 done
37500
37501 fi
37502
37503 else
37504 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37505 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37506 fi
37507
37508
37509
37510 for ac_func in snprintf vsnprintf
37511 do
37512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37513 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37515 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37516 echo $ECHO_N "(cached) $ECHO_C" >&6
37517 else
37518 cat >conftest.$ac_ext <<_ACEOF
37519 /* confdefs.h. */
37520 _ACEOF
37521 cat confdefs.h >>conftest.$ac_ext
37522 cat >>conftest.$ac_ext <<_ACEOF
37523 /* end confdefs.h. */
37524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37526 #define $ac_func innocuous_$ac_func
37527
37528 /* System header to define __stub macros and hopefully few prototypes,
37529 which can conflict with char $ac_func (); below.
37530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37531 <limits.h> exists even on freestanding compilers. */
37532
37533 #ifdef __STDC__
37534 # include <limits.h>
37535 #else
37536 # include <assert.h>
37537 #endif
37538
37539 #undef $ac_func
37540
37541 /* Override any GCC internal prototype to avoid an error.
37542 Use char because int might match the return type of a GCC
37543 builtin and then its argument prototype would still apply. */
37544 #ifdef __cplusplus
37545 extern "C"
37546 #endif
37547 char $ac_func ();
37548 /* The GNU C library defines this for functions which it implements
37549 to always fail with ENOSYS. Some functions are actually named
37550 something starting with __ and the normal name is an alias. */
37551 #if defined __stub_$ac_func || defined __stub___$ac_func
37552 choke me
37553 #endif
37554
37555 int
37556 main ()
37557 {
37558 return $ac_func ();
37559 ;
37560 return 0;
37561 }
37562 _ACEOF
37563 rm -f conftest.$ac_objext conftest$ac_exeext
37564 if { (ac_try="$ac_link"
37565 case "(($ac_try" in
37566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37567 *) ac_try_echo=$ac_try;;
37568 esac
37569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37570 (eval "$ac_link") 2>conftest.er1
37571 ac_status=$?
37572 grep -v '^ *+' conftest.er1 >conftest.err
37573 rm -f conftest.er1
37574 cat conftest.err >&5
37575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37576 (exit $ac_status); } && {
37577 test -z "$ac_c_werror_flag" ||
37578 test ! -s conftest.err
37579 } && test -s conftest$ac_exeext &&
37580 $as_test_x conftest$ac_exeext; then
37581 eval "$as_ac_var=yes"
37582 else
37583 echo "$as_me: failed program was:" >&5
37584 sed 's/^/| /' conftest.$ac_ext >&5
37585
37586 eval "$as_ac_var=no"
37587 fi
37588
37589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37590 conftest$ac_exeext conftest.$ac_ext
37591 fi
37592 ac_res=`eval echo '${'$as_ac_var'}'`
37593 { echo "$as_me:$LINENO: result: $ac_res" >&5
37594 echo "${ECHO_T}$ac_res" >&6; }
37595 if test `eval echo '${'$as_ac_var'}'` = yes; then
37596 cat >>confdefs.h <<_ACEOF
37597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37598 _ACEOF
37599
37600 fi
37601 done
37602
37603
37604 if test "$ac_cv_func_vsnprintf" = "yes"; then
37605 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37606 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37607 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37608 echo $ECHO_N "(cached) $ECHO_C" >&6
37609 else
37610
37611 cat >conftest.$ac_ext <<_ACEOF
37612 /* confdefs.h. */
37613 _ACEOF
37614 cat confdefs.h >>conftest.$ac_ext
37615 cat >>conftest.$ac_ext <<_ACEOF
37616 /* end confdefs.h. */
37617
37618 #include <stdio.h>
37619 #include <stdarg.h>
37620 #ifdef __MSL__
37621 #if __MSL__ >= 0x6000
37622 namespace std {}
37623 using namespace std;
37624 #endif
37625 #endif
37626
37627 int
37628 main ()
37629 {
37630
37631 char *buf;
37632 va_list ap;
37633 vsnprintf(buf, 10u, "%s", ap);
37634
37635 ;
37636 return 0;
37637 }
37638 _ACEOF
37639 rm -f conftest.$ac_objext
37640 if { (ac_try="$ac_compile"
37641 case "(($ac_try" in
37642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37643 *) ac_try_echo=$ac_try;;
37644 esac
37645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37646 (eval "$ac_compile") 2>conftest.er1
37647 ac_status=$?
37648 grep -v '^ *+' conftest.er1 >conftest.err
37649 rm -f conftest.er1
37650 cat conftest.err >&5
37651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37652 (exit $ac_status); } && {
37653 test -z "$ac_c_werror_flag" ||
37654 test ! -s conftest.err
37655 } && test -s conftest.$ac_objext; then
37656 wx_cv_func_vsnprintf_decl=yes
37657 else
37658 echo "$as_me: failed program was:" >&5
37659 sed 's/^/| /' conftest.$ac_ext >&5
37660
37661 wx_cv_func_vsnprintf_decl=no
37662
37663 fi
37664
37665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37666
37667
37668 fi
37669 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37670 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37671
37672 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37673 cat >>confdefs.h <<\_ACEOF
37674 #define HAVE_VSNPRINTF_DECL 1
37675 _ACEOF
37676
37677
37678 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37679 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37680 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37681 echo $ECHO_N "(cached) $ECHO_C" >&6
37682 else
37683
37684 cat >conftest.$ac_ext <<_ACEOF
37685 /* confdefs.h. */
37686 _ACEOF
37687 cat confdefs.h >>conftest.$ac_ext
37688 cat >>conftest.$ac_ext <<_ACEOF
37689 /* end confdefs.h. */
37690
37691 #include <stdio.h>
37692 #include <stdarg.h>
37693 #ifdef __MSL__
37694 #if __MSL__ >= 0x6000
37695 namespace std {}
37696 using namespace std;
37697 #endif
37698 #endif
37699
37700 int
37701 main ()
37702 {
37703
37704 char *buf;
37705 va_list ap;
37706 const char *fmt = "%s";
37707 vsnprintf(buf, 10u, fmt, ap);
37708
37709 ;
37710 return 0;
37711 }
37712 _ACEOF
37713 rm -f conftest.$ac_objext
37714 if { (ac_try="$ac_compile"
37715 case "(($ac_try" in
37716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37717 *) ac_try_echo=$ac_try;;
37718 esac
37719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37720 (eval "$ac_compile") 2>conftest.er1
37721 ac_status=$?
37722 grep -v '^ *+' conftest.er1 >conftest.err
37723 rm -f conftest.er1
37724 cat conftest.err >&5
37725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726 (exit $ac_status); } && {
37727 test -z "$ac_c_werror_flag" ||
37728 test ! -s conftest.err
37729 } && test -s conftest.$ac_objext; then
37730 wx_cv_func_broken_vsnprintf_decl=no
37731 else
37732 echo "$as_me: failed program was:" >&5
37733 sed 's/^/| /' conftest.$ac_ext >&5
37734
37735 wx_cv_func_broken_vsnprintf_decl=yes
37736
37737 fi
37738
37739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37740
37741
37742 fi
37743 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37744 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37745
37746 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37747 cat >>confdefs.h <<\_ACEOF
37748 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37749 _ACEOF
37750
37751 fi
37752 fi
37753 fi
37754
37755 if test "$ac_cv_func_snprintf" = "yes"; then
37756 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37757 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37758 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37759 echo $ECHO_N "(cached) $ECHO_C" >&6
37760 else
37761
37762 cat >conftest.$ac_ext <<_ACEOF
37763 /* confdefs.h. */
37764 _ACEOF
37765 cat confdefs.h >>conftest.$ac_ext
37766 cat >>conftest.$ac_ext <<_ACEOF
37767 /* end confdefs.h. */
37768
37769 #include <stdio.h>
37770 #include <stdarg.h>
37771 #ifdef __MSL__
37772 #if __MSL__ >= 0x6000
37773 namespace std {}
37774 using namespace std;
37775 #endif
37776 #endif
37777
37778 int
37779 main ()
37780 {
37781
37782 char *buf;
37783 snprintf(buf, 10u, "%s", "wx");
37784
37785 ;
37786 return 0;
37787 }
37788 _ACEOF
37789 rm -f conftest.$ac_objext
37790 if { (ac_try="$ac_compile"
37791 case "(($ac_try" in
37792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37793 *) ac_try_echo=$ac_try;;
37794 esac
37795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37796 (eval "$ac_compile") 2>conftest.er1
37797 ac_status=$?
37798 grep -v '^ *+' conftest.er1 >conftest.err
37799 rm -f conftest.er1
37800 cat conftest.err >&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); } && {
37803 test -z "$ac_c_werror_flag" ||
37804 test ! -s conftest.err
37805 } && test -s conftest.$ac_objext; then
37806 wx_cv_func_snprintf_decl=yes
37807 else
37808 echo "$as_me: failed program was:" >&5
37809 sed 's/^/| /' conftest.$ac_ext >&5
37810
37811 wx_cv_func_snprintf_decl=no
37812
37813 fi
37814
37815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37816
37817
37818 fi
37819 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37820 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37821
37822 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37823 cat >>confdefs.h <<\_ACEOF
37824 #define HAVE_SNPRINTF_DECL 1
37825 _ACEOF
37826
37827
37828 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37829 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37830 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37831 echo $ECHO_N "(cached) $ECHO_C" >&6
37832 else
37833
37834 cat >conftest.$ac_ext <<_ACEOF
37835 /* confdefs.h. */
37836 _ACEOF
37837 cat confdefs.h >>conftest.$ac_ext
37838 cat >>conftest.$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37840
37841 #include <stdio.h>
37842 #include <stdarg.h>
37843 #ifdef __MSL__
37844 #if __MSL__ >= 0x6000
37845 namespace std {}
37846 using namespace std;
37847 #endif
37848 #endif
37849
37850 int
37851 main ()
37852 {
37853
37854 char *buf;
37855 const char *fmt = "%s";
37856 snprintf(buf, 10u, fmt, "wx");
37857
37858 ;
37859 return 0;
37860 }
37861 _ACEOF
37862 rm -f conftest.$ac_objext
37863 if { (ac_try="$ac_compile"
37864 case "(($ac_try" in
37865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37866 *) ac_try_echo=$ac_try;;
37867 esac
37868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37869 (eval "$ac_compile") 2>conftest.er1
37870 ac_status=$?
37871 grep -v '^ *+' conftest.er1 >conftest.err
37872 rm -f conftest.er1
37873 cat conftest.err >&5
37874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37875 (exit $ac_status); } && {
37876 test -z "$ac_c_werror_flag" ||
37877 test ! -s conftest.err
37878 } && test -s conftest.$ac_objext; then
37879 wx_cv_func_broken_snprintf_decl=no
37880 else
37881 echo "$as_me: failed program was:" >&5
37882 sed 's/^/| /' conftest.$ac_ext >&5
37883
37884 wx_cv_func_broken_snprintf_decl=yes
37885
37886 fi
37887
37888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37889
37890
37891 fi
37892 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37893 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37894
37895 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37896 cat >>confdefs.h <<\_ACEOF
37897 #define HAVE_BROKEN_SNPRINTF_DECL 1
37898 _ACEOF
37899
37900 fi
37901 fi
37902
37903 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37904
37905 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37906 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37907 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37908 echo $ECHO_N "(cached) $ECHO_C" >&6
37909 else
37910
37911 if test "$cross_compiling" = yes; then
37912
37913 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37914 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37915 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37916 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37917 wx_cv_func_snprintf_pos_params=no
37918
37919
37920 else
37921 cat >conftest.$ac_ext <<_ACEOF
37922 /* confdefs.h. */
37923 _ACEOF
37924 cat confdefs.h >>conftest.$ac_ext
37925 cat >>conftest.$ac_ext <<_ACEOF
37926 /* end confdefs.h. */
37927
37928 #include <stdio.h>
37929
37930 int main (void)
37931 {
37932 char buffer[128];
37933 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37934 if (strcmp ("2 3 1", buffer) == 0)
37935 exit (0);
37936 exit (1);
37937 }
37938
37939 _ACEOF
37940 rm -f conftest$ac_exeext
37941 if { (ac_try="$ac_link"
37942 case "(($ac_try" in
37943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37944 *) ac_try_echo=$ac_try;;
37945 esac
37946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37947 (eval "$ac_link") 2>&5
37948 ac_status=$?
37949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37951 { (case "(($ac_try" in
37952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37953 *) ac_try_echo=$ac_try;;
37954 esac
37955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37956 (eval "$ac_try") 2>&5
37957 ac_status=$?
37958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37959 (exit $ac_status); }; }; then
37960 wx_cv_func_snprintf_pos_params=no
37961 else
37962 echo "$as_me: program exited with status $ac_status" >&5
37963 echo "$as_me: failed program was:" >&5
37964 sed 's/^/| /' conftest.$ac_ext >&5
37965
37966 ( exit $ac_status )
37967 wx_cv_func_snprintf_pos_params=yes
37968 fi
37969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37970 fi
37971
37972
37973
37974
37975 fi
37976 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37977 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37978
37979 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37980 cat >>confdefs.h <<\_ACEOF
37981 #define HAVE_UNIX98_PRINTF 1
37982 _ACEOF
37983
37984 fi
37985 fi
37986 fi
37987
37988 if test "$wxUSE_UNICODE" = yes; then
37989
37990
37991 for ac_func in swprintf
37992 do
37993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37994 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37996 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37997 echo $ECHO_N "(cached) $ECHO_C" >&6
37998 else
37999 cat >conftest.$ac_ext <<_ACEOF
38000 /* confdefs.h. */
38001 _ACEOF
38002 cat confdefs.h >>conftest.$ac_ext
38003 cat >>conftest.$ac_ext <<_ACEOF
38004 /* end confdefs.h. */
38005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38007 #define $ac_func innocuous_$ac_func
38008
38009 /* System header to define __stub macros and hopefully few prototypes,
38010 which can conflict with char $ac_func (); below.
38011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38012 <limits.h> exists even on freestanding compilers. */
38013
38014 #ifdef __STDC__
38015 # include <limits.h>
38016 #else
38017 # include <assert.h>
38018 #endif
38019
38020 #undef $ac_func
38021
38022 /* Override any GCC internal prototype to avoid an error.
38023 Use char because int might match the return type of a GCC
38024 builtin and then its argument prototype would still apply. */
38025 #ifdef __cplusplus
38026 extern "C"
38027 #endif
38028 char $ac_func ();
38029 /* The GNU C library defines this for functions which it implements
38030 to always fail with ENOSYS. Some functions are actually named
38031 something starting with __ and the normal name is an alias. */
38032 #if defined __stub_$ac_func || defined __stub___$ac_func
38033 choke me
38034 #endif
38035
38036 int
38037 main ()
38038 {
38039 return $ac_func ();
38040 ;
38041 return 0;
38042 }
38043 _ACEOF
38044 rm -f conftest.$ac_objext conftest$ac_exeext
38045 if { (ac_try="$ac_link"
38046 case "(($ac_try" in
38047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38048 *) ac_try_echo=$ac_try;;
38049 esac
38050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38051 (eval "$ac_link") 2>conftest.er1
38052 ac_status=$?
38053 grep -v '^ *+' conftest.er1 >conftest.err
38054 rm -f conftest.er1
38055 cat conftest.err >&5
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); } && {
38058 test -z "$ac_c_werror_flag" ||
38059 test ! -s conftest.err
38060 } && test -s conftest$ac_exeext &&
38061 $as_test_x conftest$ac_exeext; then
38062 eval "$as_ac_var=yes"
38063 else
38064 echo "$as_me: failed program was:" >&5
38065 sed 's/^/| /' conftest.$ac_ext >&5
38066
38067 eval "$as_ac_var=no"
38068 fi
38069
38070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38071 conftest$ac_exeext conftest.$ac_ext
38072 fi
38073 ac_res=`eval echo '${'$as_ac_var'}'`
38074 { echo "$as_me:$LINENO: result: $ac_res" >&5
38075 echo "${ECHO_T}$ac_res" >&6; }
38076 if test `eval echo '${'$as_ac_var'}'` = yes; then
38077 cat >>confdefs.h <<_ACEOF
38078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38079 _ACEOF
38080
38081 fi
38082 done
38083
38084
38085 if test "$ac_cv_func_swprintf" = "yes"; then
38086 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38087 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38088 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38089 echo $ECHO_N "(cached) $ECHO_C" >&6
38090 else
38091
38092 cat >conftest.$ac_ext <<_ACEOF
38093 /* confdefs.h. */
38094 _ACEOF
38095 cat confdefs.h >>conftest.$ac_ext
38096 cat >>conftest.$ac_ext <<_ACEOF
38097 /* end confdefs.h. */
38098
38099 #include <stdio.h>
38100 #include <stdarg.h>
38101 #include <wchar.h>
38102
38103 int
38104 main ()
38105 {
38106
38107 wchar_t *buf;
38108 const wchar_t *fmt = L"test";
38109 swprintf(buf, 10u, fmt);
38110
38111 ;
38112 return 0;
38113 }
38114 _ACEOF
38115 rm -f conftest.$ac_objext
38116 if { (ac_try="$ac_compile"
38117 case "(($ac_try" in
38118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38119 *) ac_try_echo=$ac_try;;
38120 esac
38121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38122 (eval "$ac_compile") 2>conftest.er1
38123 ac_status=$?
38124 grep -v '^ *+' conftest.er1 >conftest.err
38125 rm -f conftest.er1
38126 cat conftest.err >&5
38127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38128 (exit $ac_status); } && {
38129 test -z "$ac_c_werror_flag" ||
38130 test ! -s conftest.err
38131 } && test -s conftest.$ac_objext; then
38132 wx_cv_func_broken_swprintf_decl=no
38133 else
38134 echo "$as_me: failed program was:" >&5
38135 sed 's/^/| /' conftest.$ac_ext >&5
38136
38137 wx_cv_func_broken_swprintf_decl=yes
38138
38139 fi
38140
38141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38142
38143
38144 fi
38145 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38146 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38147
38148 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38149 cat >>confdefs.h <<\_ACEOF
38150 #define HAVE_BROKEN_SWPRINTF_DECL 1
38151 _ACEOF
38152
38153 fi
38154 fi
38155
38156 wchar_headers="#include <stdio.h>
38157 #include <wchar.h>"
38158 case "${host}" in
38159 *-*-solaris2* )
38160 { echo "$as_me:$LINENO: checking for widec.h" >&5
38161 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38162 if test "${ac_cv_header_widec_h+set}" = set; then
38163 echo $ECHO_N "(cached) $ECHO_C" >&6
38164 else
38165 cat >conftest.$ac_ext <<_ACEOF
38166 /* confdefs.h. */
38167 _ACEOF
38168 cat confdefs.h >>conftest.$ac_ext
38169 cat >>conftest.$ac_ext <<_ACEOF
38170 /* end confdefs.h. */
38171 $ac_includes_default
38172
38173 #include <widec.h>
38174 _ACEOF
38175 rm -f conftest.$ac_objext
38176 if { (ac_try="$ac_compile"
38177 case "(($ac_try" in
38178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38179 *) ac_try_echo=$ac_try;;
38180 esac
38181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38182 (eval "$ac_compile") 2>conftest.er1
38183 ac_status=$?
38184 grep -v '^ *+' conftest.er1 >conftest.err
38185 rm -f conftest.er1
38186 cat conftest.err >&5
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); } && {
38189 test -z "$ac_c_werror_flag" ||
38190 test ! -s conftest.err
38191 } && test -s conftest.$ac_objext; then
38192 ac_cv_header_widec_h=yes
38193 else
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.$ac_ext >&5
38196
38197 ac_cv_header_widec_h=no
38198 fi
38199
38200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38201 fi
38202 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38203 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38204
38205
38206 if test "$ac_cv_header_widec_h" = "yes"; then
38207 wchar_headers="$wchar_headers
38208 #include <widec.h>"
38209 fi
38210 esac
38211
38212
38213 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38214 do
38215 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38216 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38217 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38218 echo $ECHO_N "(cached) $ECHO_C" >&6
38219 else
38220
38221 cat >conftest.$ac_ext <<_ACEOF
38222
38223 /* confdefs.h. */
38224 _ACEOF
38225 cat confdefs.h >>conftest.$ac_ext
38226 cat >>conftest.$ac_ext <<_ACEOF
38227 /* end confdefs.h. */
38228
38229 $wchar_headers
38230 $ac_includes_default
38231
38232 int
38233 main ()
38234 {
38235
38236 #ifndef $wx_func
38237 &$wx_func;
38238 #endif
38239
38240
38241 ;
38242 return 0;
38243 }
38244
38245 _ACEOF
38246 rm -f conftest.$ac_objext conftest$ac_exeext
38247 if { (ac_try="$ac_link"
38248 case "(($ac_try" in
38249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38250 *) ac_try_echo=$ac_try;;
38251 esac
38252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38253 (eval "$ac_link") 2>conftest.er1
38254 ac_status=$?
38255 grep -v '^ *+' conftest.er1 >conftest.err
38256 rm -f conftest.er1
38257 cat conftest.err >&5
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); } && {
38260 test -z "$ac_c_werror_flag" ||
38261 test ! -s conftest.err
38262 } && test -s conftest$ac_exeext &&
38263 $as_test_x conftest$ac_exeext; then
38264 eval wx_cv_func_$wx_func=yes
38265 else
38266 echo "$as_me: failed program was:" >&5
38267 sed 's/^/| /' conftest.$ac_ext >&5
38268
38269 eval wx_cv_func_$wx_func=no
38270 fi
38271
38272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38273 conftest$ac_exeext conftest.$ac_ext
38274
38275 fi
38276 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38277 { echo "$as_me:$LINENO: result: $ac_res" >&5
38278 echo "${ECHO_T}$ac_res" >&6; }
38279
38280 if eval test \$wx_cv_func_$wx_func = yes
38281 then
38282 cat >>confdefs.h <<_ACEOF
38283 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38284 _ACEOF
38285
38286
38287 else
38288 :
38289
38290 fi
38291 done
38292
38293
38294 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38295 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38296 cat >conftest.$ac_ext <<_ACEOF
38297 /* confdefs.h. */
38298 _ACEOF
38299 cat confdefs.h >>conftest.$ac_ext
38300 cat >>conftest.$ac_ext <<_ACEOF
38301 /* end confdefs.h. */
38302 #include <wchar.h>
38303 int
38304 main ()
38305 {
38306 &_vsnwprintf;
38307 ;
38308 return 0;
38309 }
38310 _ACEOF
38311 rm -f conftest.$ac_objext
38312 if { (ac_try="$ac_compile"
38313 case "(($ac_try" in
38314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38315 *) ac_try_echo=$ac_try;;
38316 esac
38317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38318 (eval "$ac_compile") 2>conftest.er1
38319 ac_status=$?
38320 grep -v '^ *+' conftest.er1 >conftest.err
38321 rm -f conftest.er1
38322 cat conftest.err >&5
38323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38324 (exit $ac_status); } && {
38325 test -z "$ac_c_werror_flag" ||
38326 test ! -s conftest.err
38327 } && test -s conftest.$ac_objext; then
38328 { echo "$as_me:$LINENO: result: yes" >&5
38329 echo "${ECHO_T}yes" >&6; }
38330 cat >>confdefs.h <<\_ACEOF
38331 #define HAVE__VSNWPRINTF 1
38332 _ACEOF
38333
38334 else
38335 echo "$as_me: failed program was:" >&5
38336 sed 's/^/| /' conftest.$ac_ext >&5
38337
38338 { echo "$as_me:$LINENO: result: no" >&5
38339 echo "${ECHO_T}no" >&6; }
38340 fi
38341
38342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38343 fi
38344
38345 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38346
38347 for wx_func in fnmatch
38348 do
38349 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38350 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38351 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38352 echo $ECHO_N "(cached) $ECHO_C" >&6
38353 else
38354
38355 cat >conftest.$ac_ext <<_ACEOF
38356
38357 /* confdefs.h. */
38358 _ACEOF
38359 cat confdefs.h >>conftest.$ac_ext
38360 cat >>conftest.$ac_ext <<_ACEOF
38361 /* end confdefs.h. */
38362
38363 #include <fnmatch.h>
38364 $ac_includes_default
38365
38366 int
38367 main ()
38368 {
38369
38370 #ifndef $wx_func
38371 &$wx_func;
38372 #endif
38373
38374
38375 ;
38376 return 0;
38377 }
38378
38379 _ACEOF
38380 rm -f conftest.$ac_objext conftest$ac_exeext
38381 if { (ac_try="$ac_link"
38382 case "(($ac_try" in
38383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38384 *) ac_try_echo=$ac_try;;
38385 esac
38386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38387 (eval "$ac_link") 2>conftest.er1
38388 ac_status=$?
38389 grep -v '^ *+' conftest.er1 >conftest.err
38390 rm -f conftest.er1
38391 cat conftest.err >&5
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); } && {
38394 test -z "$ac_c_werror_flag" ||
38395 test ! -s conftest.err
38396 } && test -s conftest$ac_exeext &&
38397 $as_test_x conftest$ac_exeext; then
38398 eval wx_cv_func_$wx_func=yes
38399 else
38400 echo "$as_me: failed program was:" >&5
38401 sed 's/^/| /' conftest.$ac_ext >&5
38402
38403 eval wx_cv_func_$wx_func=no
38404 fi
38405
38406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38407 conftest$ac_exeext conftest.$ac_ext
38408
38409 fi
38410 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38411 { echo "$as_me:$LINENO: result: $ac_res" >&5
38412 echo "${ECHO_T}$ac_res" >&6; }
38413
38414 if eval test \$wx_cv_func_$wx_func = yes
38415 then
38416 cat >>confdefs.h <<_ACEOF
38417 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38418 _ACEOF
38419
38420
38421 else
38422 :
38423
38424 fi
38425 done
38426
38427 fi
38428
38429 if test "$wxUSE_FILE" = "yes"; then
38430
38431 for wx_func in fsync
38432 do
38433 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38434 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38435 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38436 echo $ECHO_N "(cached) $ECHO_C" >&6
38437 else
38438
38439 cat >conftest.$ac_ext <<_ACEOF
38440
38441 /* confdefs.h. */
38442 _ACEOF
38443 cat confdefs.h >>conftest.$ac_ext
38444 cat >>conftest.$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38446
38447
38448 $ac_includes_default
38449
38450 int
38451 main ()
38452 {
38453
38454 #ifndef $wx_func
38455 &$wx_func;
38456 #endif
38457
38458
38459 ;
38460 return 0;
38461 }
38462
38463 _ACEOF
38464 rm -f conftest.$ac_objext conftest$ac_exeext
38465 if { (ac_try="$ac_link"
38466 case "(($ac_try" in
38467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38468 *) ac_try_echo=$ac_try;;
38469 esac
38470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38471 (eval "$ac_link") 2>conftest.er1
38472 ac_status=$?
38473 grep -v '^ *+' conftest.er1 >conftest.err
38474 rm -f conftest.er1
38475 cat conftest.err >&5
38476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477 (exit $ac_status); } && {
38478 test -z "$ac_c_werror_flag" ||
38479 test ! -s conftest.err
38480 } && test -s conftest$ac_exeext &&
38481 $as_test_x conftest$ac_exeext; then
38482 eval wx_cv_func_$wx_func=yes
38483 else
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38486
38487 eval wx_cv_func_$wx_func=no
38488 fi
38489
38490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38491 conftest$ac_exeext conftest.$ac_ext
38492
38493 fi
38494 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38495 { echo "$as_me:$LINENO: result: $ac_res" >&5
38496 echo "${ECHO_T}$ac_res" >&6; }
38497
38498 if eval test \$wx_cv_func_$wx_func = yes
38499 then
38500 cat >>confdefs.h <<_ACEOF
38501 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38502 _ACEOF
38503
38504
38505 else
38506 :
38507
38508 fi
38509 done
38510
38511 fi
38512
38513 ac_ext=cpp
38514 ac_cpp='$CXXCPP $CPPFLAGS'
38515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38518
38519
38520 for wx_func in round
38521 do
38522 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38523 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38524 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38525 echo $ECHO_N "(cached) $ECHO_C" >&6
38526 else
38527
38528 cat >conftest.$ac_ext <<_ACEOF
38529
38530 /* confdefs.h. */
38531 _ACEOF
38532 cat confdefs.h >>conftest.$ac_ext
38533 cat >>conftest.$ac_ext <<_ACEOF
38534 /* end confdefs.h. */
38535
38536 #include <math.h>
38537 $ac_includes_default
38538
38539 int
38540 main ()
38541 {
38542
38543 #ifndef $wx_func
38544 &$wx_func;
38545 #endif
38546
38547
38548 ;
38549 return 0;
38550 }
38551
38552 _ACEOF
38553 rm -f conftest.$ac_objext conftest$ac_exeext
38554 if { (ac_try="$ac_link"
38555 case "(($ac_try" in
38556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38557 *) ac_try_echo=$ac_try;;
38558 esac
38559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38560 (eval "$ac_link") 2>conftest.er1
38561 ac_status=$?
38562 grep -v '^ *+' conftest.er1 >conftest.err
38563 rm -f conftest.er1
38564 cat conftest.err >&5
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); } && {
38567 test -z "$ac_cxx_werror_flag" ||
38568 test ! -s conftest.err
38569 } && test -s conftest$ac_exeext &&
38570 $as_test_x conftest$ac_exeext; then
38571 eval wx_cv_func_$wx_func=yes
38572 else
38573 echo "$as_me: failed program was:" >&5
38574 sed 's/^/| /' conftest.$ac_ext >&5
38575
38576 eval wx_cv_func_$wx_func=no
38577 fi
38578
38579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38580 conftest$ac_exeext conftest.$ac_ext
38581
38582 fi
38583 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38584 { echo "$as_me:$LINENO: result: $ac_res" >&5
38585 echo "${ECHO_T}$ac_res" >&6; }
38586
38587 if eval test \$wx_cv_func_$wx_func = yes
38588 then
38589 cat >>confdefs.h <<_ACEOF
38590 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38591 _ACEOF
38592
38593
38594 else
38595 :
38596
38597 fi
38598 done
38599
38600 ac_ext=c
38601 ac_cpp='$CPP $CPPFLAGS'
38602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38605
38606
38607 if test "$TOOLKIT" != "MSW"; then
38608
38609
38610
38611
38612
38613 # Check whether --with-libiconv-prefix was given.
38614 if test "${with_libiconv_prefix+set}" = set; then
38615 withval=$with_libiconv_prefix;
38616 for dir in `echo "$withval" | tr : ' '`; do
38617 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38618 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38619 done
38620
38621 fi
38622
38623
38624 { echo "$as_me:$LINENO: checking for iconv" >&5
38625 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38626 if test "${am_cv_func_iconv+set}" = set; then
38627 echo $ECHO_N "(cached) $ECHO_C" >&6
38628 else
38629
38630 am_cv_func_iconv="no, consider installing GNU libiconv"
38631 am_cv_lib_iconv=no
38632 cat >conftest.$ac_ext <<_ACEOF
38633 /* confdefs.h. */
38634 _ACEOF
38635 cat confdefs.h >>conftest.$ac_ext
38636 cat >>conftest.$ac_ext <<_ACEOF
38637 /* end confdefs.h. */
38638 #include <stdlib.h>
38639 #include <iconv.h>
38640 int
38641 main ()
38642 {
38643 iconv_t cd = iconv_open("","");
38644 iconv(cd,NULL,NULL,NULL,NULL);
38645 iconv_close(cd);
38646 ;
38647 return 0;
38648 }
38649 _ACEOF
38650 rm -f conftest.$ac_objext conftest$ac_exeext
38651 if { (ac_try="$ac_link"
38652 case "(($ac_try" in
38653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38654 *) ac_try_echo=$ac_try;;
38655 esac
38656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38657 (eval "$ac_link") 2>conftest.er1
38658 ac_status=$?
38659 grep -v '^ *+' conftest.er1 >conftest.err
38660 rm -f conftest.er1
38661 cat conftest.err >&5
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); } && {
38664 test -z "$ac_c_werror_flag" ||
38665 test ! -s conftest.err
38666 } && test -s conftest$ac_exeext &&
38667 $as_test_x conftest$ac_exeext; then
38668 am_cv_func_iconv=yes
38669 else
38670 echo "$as_me: failed program was:" >&5
38671 sed 's/^/| /' conftest.$ac_ext >&5
38672
38673
38674 fi
38675
38676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38677 conftest$ac_exeext conftest.$ac_ext
38678 if test "$am_cv_func_iconv" != yes; then
38679 am_save_LIBS="$LIBS"
38680 LIBS="$LIBS -liconv"
38681 cat >conftest.$ac_ext <<_ACEOF
38682 /* confdefs.h. */
38683 _ACEOF
38684 cat confdefs.h >>conftest.$ac_ext
38685 cat >>conftest.$ac_ext <<_ACEOF
38686 /* end confdefs.h. */
38687 #include <stdlib.h>
38688 #include <iconv.h>
38689 int
38690 main ()
38691 {
38692 iconv_t cd = iconv_open("","");
38693 iconv(cd,NULL,NULL,NULL,NULL);
38694 iconv_close(cd);
38695 ;
38696 return 0;
38697 }
38698 _ACEOF
38699 rm -f conftest.$ac_objext conftest$ac_exeext
38700 if { (ac_try="$ac_link"
38701 case "(($ac_try" in
38702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38703 *) ac_try_echo=$ac_try;;
38704 esac
38705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38706 (eval "$ac_link") 2>conftest.er1
38707 ac_status=$?
38708 grep -v '^ *+' conftest.er1 >conftest.err
38709 rm -f conftest.er1
38710 cat conftest.err >&5
38711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38712 (exit $ac_status); } && {
38713 test -z "$ac_c_werror_flag" ||
38714 test ! -s conftest.err
38715 } && test -s conftest$ac_exeext &&
38716 $as_test_x conftest$ac_exeext; then
38717 am_cv_lib_iconv=yes
38718 am_cv_func_iconv=yes
38719 else
38720 echo "$as_me: failed program was:" >&5
38721 sed 's/^/| /' conftest.$ac_ext >&5
38722
38723
38724 fi
38725
38726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38727 conftest$ac_exeext conftest.$ac_ext
38728 LIBS="$am_save_LIBS"
38729 fi
38730
38731 fi
38732 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38733 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38734 if test "$am_cv_func_iconv" = yes; then
38735
38736 cat >>confdefs.h <<\_ACEOF
38737 #define HAVE_ICONV 1
38738 _ACEOF
38739
38740 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38741 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38742 if test "${wx_cv_func_iconv_const+set}" = set; then
38743 echo $ECHO_N "(cached) $ECHO_C" >&6
38744 else
38745 cat >conftest.$ac_ext <<_ACEOF
38746 /* confdefs.h. */
38747 _ACEOF
38748 cat confdefs.h >>conftest.$ac_ext
38749 cat >>conftest.$ac_ext <<_ACEOF
38750 /* end confdefs.h. */
38751
38752 #include <stdlib.h>
38753 #include <iconv.h>
38754 extern
38755 #ifdef __cplusplus
38756 "C"
38757 #endif
38758 #if defined(__STDC__) || defined(__cplusplus)
38759 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38760 #else
38761 size_t iconv();
38762 #endif
38763
38764 int
38765 main ()
38766 {
38767
38768 ;
38769 return 0;
38770 }
38771 _ACEOF
38772 rm -f conftest.$ac_objext
38773 if { (ac_try="$ac_compile"
38774 case "(($ac_try" in
38775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38776 *) ac_try_echo=$ac_try;;
38777 esac
38778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38779 (eval "$ac_compile") 2>conftest.er1
38780 ac_status=$?
38781 grep -v '^ *+' conftest.er1 >conftest.err
38782 rm -f conftest.er1
38783 cat conftest.err >&5
38784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785 (exit $ac_status); } && {
38786 test -z "$ac_c_werror_flag" ||
38787 test ! -s conftest.err
38788 } && test -s conftest.$ac_objext; then
38789 wx_cv_func_iconv_const="no"
38790 else
38791 echo "$as_me: failed program was:" >&5
38792 sed 's/^/| /' conftest.$ac_ext >&5
38793
38794 wx_cv_func_iconv_const="yes"
38795
38796 fi
38797
38798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38799
38800 fi
38801 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38802 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38803
38804 iconv_const=
38805 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38806 iconv_const="const"
38807 fi
38808
38809
38810 cat >>confdefs.h <<_ACEOF
38811 #define ICONV_CONST $iconv_const
38812 _ACEOF
38813
38814 fi
38815 LIBICONV=
38816 if test "$am_cv_lib_iconv" = yes; then
38817 LIBICONV="-liconv"
38818 fi
38819
38820
38821 LIBS="$LIBICONV $LIBS"
38822
38823 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38824
38825 for ac_func in sigaction
38826 do
38827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38828 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38830 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38831 echo $ECHO_N "(cached) $ECHO_C" >&6
38832 else
38833 cat >conftest.$ac_ext <<_ACEOF
38834 /* confdefs.h. */
38835 _ACEOF
38836 cat confdefs.h >>conftest.$ac_ext
38837 cat >>conftest.$ac_ext <<_ACEOF
38838 /* end confdefs.h. */
38839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38841 #define $ac_func innocuous_$ac_func
38842
38843 /* System header to define __stub macros and hopefully few prototypes,
38844 which can conflict with char $ac_func (); below.
38845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38846 <limits.h> exists even on freestanding compilers. */
38847
38848 #ifdef __STDC__
38849 # include <limits.h>
38850 #else
38851 # include <assert.h>
38852 #endif
38853
38854 #undef $ac_func
38855
38856 /* Override any GCC internal prototype to avoid an error.
38857 Use char because int might match the return type of a GCC
38858 builtin and then its argument prototype would still apply. */
38859 #ifdef __cplusplus
38860 extern "C"
38861 #endif
38862 char $ac_func ();
38863 /* The GNU C library defines this for functions which it implements
38864 to always fail with ENOSYS. Some functions are actually named
38865 something starting with __ and the normal name is an alias. */
38866 #if defined __stub_$ac_func || defined __stub___$ac_func
38867 choke me
38868 #endif
38869
38870 int
38871 main ()
38872 {
38873 return $ac_func ();
38874 ;
38875 return 0;
38876 }
38877 _ACEOF
38878 rm -f conftest.$ac_objext conftest$ac_exeext
38879 if { (ac_try="$ac_link"
38880 case "(($ac_try" in
38881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38882 *) ac_try_echo=$ac_try;;
38883 esac
38884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38885 (eval "$ac_link") 2>conftest.er1
38886 ac_status=$?
38887 grep -v '^ *+' conftest.er1 >conftest.err
38888 rm -f conftest.er1
38889 cat conftest.err >&5
38890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38891 (exit $ac_status); } && {
38892 test -z "$ac_c_werror_flag" ||
38893 test ! -s conftest.err
38894 } && test -s conftest$ac_exeext &&
38895 $as_test_x conftest$ac_exeext; then
38896 eval "$as_ac_var=yes"
38897 else
38898 echo "$as_me: failed program was:" >&5
38899 sed 's/^/| /' conftest.$ac_ext >&5
38900
38901 eval "$as_ac_var=no"
38902 fi
38903
38904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38905 conftest$ac_exeext conftest.$ac_ext
38906 fi
38907 ac_res=`eval echo '${'$as_ac_var'}'`
38908 { echo "$as_me:$LINENO: result: $ac_res" >&5
38909 echo "${ECHO_T}$ac_res" >&6; }
38910 if test `eval echo '${'$as_ac_var'}'` = yes; then
38911 cat >>confdefs.h <<_ACEOF
38912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38913 _ACEOF
38914
38915 fi
38916 done
38917
38918
38919 if test "$ac_cv_func_sigaction" = "no"; then
38920 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38921 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38922 wxUSE_ON_FATAL_EXCEPTION=no
38923 fi
38924
38925 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38926 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38927 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38928 if test "${wx_cv_type_sa_handler+set}" = set; then
38929 echo $ECHO_N "(cached) $ECHO_C" >&6
38930 else
38931
38932 ac_ext=cpp
38933 ac_cpp='$CXXCPP $CPPFLAGS'
38934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38937
38938 cat >conftest.$ac_ext <<_ACEOF
38939 /* confdefs.h. */
38940 _ACEOF
38941 cat confdefs.h >>conftest.$ac_ext
38942 cat >>conftest.$ac_ext <<_ACEOF
38943 /* end confdefs.h. */
38944 #include <signal.h>
38945 int
38946 main ()
38947 {
38948
38949 extern void testSigHandler(int);
38950
38951 struct sigaction sa;
38952 sa.sa_handler = testSigHandler;
38953
38954 ;
38955 return 0;
38956 }
38957 _ACEOF
38958 rm -f conftest.$ac_objext
38959 if { (ac_try="$ac_compile"
38960 case "(($ac_try" in
38961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38962 *) ac_try_echo=$ac_try;;
38963 esac
38964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38965 (eval "$ac_compile") 2>conftest.er1
38966 ac_status=$?
38967 grep -v '^ *+' conftest.er1 >conftest.err
38968 rm -f conftest.er1
38969 cat conftest.err >&5
38970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38971 (exit $ac_status); } && {
38972 test -z "$ac_cxx_werror_flag" ||
38973 test ! -s conftest.err
38974 } && test -s conftest.$ac_objext; then
38975
38976 wx_cv_type_sa_handler=int
38977
38978 else
38979 echo "$as_me: failed program was:" >&5
38980 sed 's/^/| /' conftest.$ac_ext >&5
38981
38982
38983 wx_cv_type_sa_handler=void
38984
38985 fi
38986
38987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38988 ac_ext=c
38989 ac_cpp='$CPP $CPPFLAGS'
38990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38993
38994
38995 fi
38996 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38997 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38998
38999 cat >>confdefs.h <<_ACEOF
39000 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39001 _ACEOF
39002
39003 fi
39004 fi
39005
39006 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39007 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39008 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39009 if test "${wx_cv_func_backtrace+set}" = set; then
39010 echo $ECHO_N "(cached) $ECHO_C" >&6
39011 else
39012
39013 ac_ext=cpp
39014 ac_cpp='$CXXCPP $CPPFLAGS'
39015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39018
39019 cat >conftest.$ac_ext <<_ACEOF
39020 /* confdefs.h. */
39021 _ACEOF
39022 cat confdefs.h >>conftest.$ac_ext
39023 cat >>conftest.$ac_ext <<_ACEOF
39024 /* end confdefs.h. */
39025 #include <execinfo.h>
39026 int
39027 main ()
39028 {
39029
39030 void *trace[1];
39031 char **messages;
39032
39033 backtrace(trace, 1);
39034 messages = backtrace_symbols(trace, 1);
39035
39036 ;
39037 return 0;
39038 }
39039 _ACEOF
39040 rm -f conftest.$ac_objext
39041 if { (ac_try="$ac_compile"
39042 case "(($ac_try" in
39043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39044 *) ac_try_echo=$ac_try;;
39045 esac
39046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39047 (eval "$ac_compile") 2>conftest.er1
39048 ac_status=$?
39049 grep -v '^ *+' conftest.er1 >conftest.err
39050 rm -f conftest.er1
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } && {
39054 test -z "$ac_cxx_werror_flag" ||
39055 test ! -s conftest.err
39056 } && test -s conftest.$ac_objext; then
39057 wx_cv_func_backtrace=yes
39058 else
39059 echo "$as_me: failed program was:" >&5
39060 sed 's/^/| /' conftest.$ac_ext >&5
39061
39062 wx_cv_func_backtrace=no
39063
39064 fi
39065
39066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39067 ac_ext=c
39068 ac_cpp='$CPP $CPPFLAGS'
39069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39072
39073
39074
39075 fi
39076 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39077 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39078
39079
39080 if test "$wx_cv_func_backtrace" = "no"; then
39081 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39082 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39083 wxUSE_STACKWALKER=no
39084 else
39085 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39086 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39087 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39088 echo $ECHO_N "(cached) $ECHO_C" >&6
39089 else
39090
39091 ac_ext=cpp
39092 ac_cpp='$CXXCPP $CPPFLAGS'
39093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39096
39097 cat >conftest.$ac_ext <<_ACEOF
39098 /* confdefs.h. */
39099 _ACEOF
39100 cat confdefs.h >>conftest.$ac_ext
39101 cat >>conftest.$ac_ext <<_ACEOF
39102 /* end confdefs.h. */
39103 #include <cxxabi.h>
39104 int
39105 main ()
39106 {
39107
39108 int rc;
39109 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39110
39111 ;
39112 return 0;
39113 }
39114 _ACEOF
39115 rm -f conftest.$ac_objext conftest$ac_exeext
39116 if { (ac_try="$ac_link"
39117 case "(($ac_try" in
39118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39119 *) ac_try_echo=$ac_try;;
39120 esac
39121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39122 (eval "$ac_link") 2>conftest.er1
39123 ac_status=$?
39124 grep -v '^ *+' conftest.er1 >conftest.err
39125 rm -f conftest.er1
39126 cat conftest.err >&5
39127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39128 (exit $ac_status); } && {
39129 test -z "$ac_cxx_werror_flag" ||
39130 test ! -s conftest.err
39131 } && test -s conftest$ac_exeext &&
39132 $as_test_x conftest$ac_exeext; then
39133 wx_cv_func_cxa_demangle=yes
39134 else
39135 echo "$as_me: failed program was:" >&5
39136 sed 's/^/| /' conftest.$ac_ext >&5
39137
39138 wx_cv_func_cxa_demangle=no
39139
39140 fi
39141
39142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39143 conftest$ac_exeext conftest.$ac_ext
39144 ac_ext=c
39145 ac_cpp='$CPP $CPPFLAGS'
39146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39149
39150
39151
39152 fi
39153 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39154 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39155
39156 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39157 cat >>confdefs.h <<\_ACEOF
39158 #define HAVE_CXA_DEMANGLE 1
39159 _ACEOF
39160
39161 fi
39162 fi
39163 fi
39164
39165 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39166 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39167 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39168 wxUSE_STACKWALKER=no
39169 fi
39170
39171
39172
39173
39174 for ac_func in mkstemp mktemp
39175 do
39176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39177 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39179 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39180 echo $ECHO_N "(cached) $ECHO_C" >&6
39181 else
39182 cat >conftest.$ac_ext <<_ACEOF
39183 /* confdefs.h. */
39184 _ACEOF
39185 cat confdefs.h >>conftest.$ac_ext
39186 cat >>conftest.$ac_ext <<_ACEOF
39187 /* end confdefs.h. */
39188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39190 #define $ac_func innocuous_$ac_func
39191
39192 /* System header to define __stub macros and hopefully few prototypes,
39193 which can conflict with char $ac_func (); below.
39194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39195 <limits.h> exists even on freestanding compilers. */
39196
39197 #ifdef __STDC__
39198 # include <limits.h>
39199 #else
39200 # include <assert.h>
39201 #endif
39202
39203 #undef $ac_func
39204
39205 /* Override any GCC internal prototype to avoid an error.
39206 Use char because int might match the return type of a GCC
39207 builtin and then its argument prototype would still apply. */
39208 #ifdef __cplusplus
39209 extern "C"
39210 #endif
39211 char $ac_func ();
39212 /* The GNU C library defines this for functions which it implements
39213 to always fail with ENOSYS. Some functions are actually named
39214 something starting with __ and the normal name is an alias. */
39215 #if defined __stub_$ac_func || defined __stub___$ac_func
39216 choke me
39217 #endif
39218
39219 int
39220 main ()
39221 {
39222 return $ac_func ();
39223 ;
39224 return 0;
39225 }
39226 _ACEOF
39227 rm -f conftest.$ac_objext conftest$ac_exeext
39228 if { (ac_try="$ac_link"
39229 case "(($ac_try" in
39230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39231 *) ac_try_echo=$ac_try;;
39232 esac
39233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39234 (eval "$ac_link") 2>conftest.er1
39235 ac_status=$?
39236 grep -v '^ *+' conftest.er1 >conftest.err
39237 rm -f conftest.er1
39238 cat conftest.err >&5
39239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39240 (exit $ac_status); } && {
39241 test -z "$ac_c_werror_flag" ||
39242 test ! -s conftest.err
39243 } && test -s conftest$ac_exeext &&
39244 $as_test_x conftest$ac_exeext; then
39245 eval "$as_ac_var=yes"
39246 else
39247 echo "$as_me: failed program was:" >&5
39248 sed 's/^/| /' conftest.$ac_ext >&5
39249
39250 eval "$as_ac_var=no"
39251 fi
39252
39253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39254 conftest$ac_exeext conftest.$ac_ext
39255 fi
39256 ac_res=`eval echo '${'$as_ac_var'}'`
39257 { echo "$as_me:$LINENO: result: $ac_res" >&5
39258 echo "${ECHO_T}$ac_res" >&6; }
39259 if test `eval echo '${'$as_ac_var'}'` = yes; then
39260 cat >>confdefs.h <<_ACEOF
39261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39262 _ACEOF
39263 break
39264 fi
39265 done
39266
39267
39268 { echo "$as_me:$LINENO: checking for statfs" >&5
39269 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39270 if test "${wx_cv_func_statfs+set}" = set; then
39271 echo $ECHO_N "(cached) $ECHO_C" >&6
39272 else
39273 cat >conftest.$ac_ext <<_ACEOF
39274 /* confdefs.h. */
39275 _ACEOF
39276 cat confdefs.h >>conftest.$ac_ext
39277 cat >>conftest.$ac_ext <<_ACEOF
39278 /* end confdefs.h. */
39279
39280 #if defined(__BSD__)
39281 #include <sys/param.h>
39282 #include <sys/mount.h>
39283 #else
39284 #include <sys/vfs.h>
39285 #endif
39286
39287 int
39288 main ()
39289 {
39290
39291 long l;
39292 struct statfs fs;
39293 statfs("/", &fs);
39294 l = fs.f_bsize;
39295 l += fs.f_blocks;
39296 l += fs.f_bavail;
39297
39298 ;
39299 return 0;
39300 }
39301 _ACEOF
39302 rm -f conftest.$ac_objext
39303 if { (ac_try="$ac_compile"
39304 case "(($ac_try" in
39305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39306 *) ac_try_echo=$ac_try;;
39307 esac
39308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39309 (eval "$ac_compile") 2>conftest.er1
39310 ac_status=$?
39311 grep -v '^ *+' conftest.er1 >conftest.err
39312 rm -f conftest.er1
39313 cat conftest.err >&5
39314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39315 (exit $ac_status); } && {
39316 test -z "$ac_c_werror_flag" ||
39317 test ! -s conftest.err
39318 } && test -s conftest.$ac_objext; then
39319 wx_cv_func_statfs=yes
39320 else
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.$ac_ext >&5
39323
39324 wx_cv_func_statfs=no
39325
39326 fi
39327
39328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39329
39330 fi
39331 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39332 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39333
39334 if test "$wx_cv_func_statfs" = "yes"; then
39335 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39336 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39337 if test "${wx_cv_func_statfs_decl+set}" = set; then
39338 echo $ECHO_N "(cached) $ECHO_C" >&6
39339 else
39340 ac_ext=cpp
39341 ac_cpp='$CXXCPP $CPPFLAGS'
39342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39345
39346 cat >conftest.$ac_ext <<_ACEOF
39347 /* confdefs.h. */
39348 _ACEOF
39349 cat confdefs.h >>conftest.$ac_ext
39350 cat >>conftest.$ac_ext <<_ACEOF
39351 /* end confdefs.h. */
39352
39353 #if defined(__BSD__)
39354 #include <sys/param.h>
39355 #include <sys/mount.h>
39356 #else
39357 #include <sys/vfs.h>
39358 #endif
39359
39360 int
39361 main ()
39362 {
39363
39364 struct statfs fs;
39365 statfs("", &fs);
39366
39367 ;
39368 return 0;
39369 }
39370 _ACEOF
39371 rm -f conftest.$ac_objext
39372 if { (ac_try="$ac_compile"
39373 case "(($ac_try" in
39374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39375 *) ac_try_echo=$ac_try;;
39376 esac
39377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39378 (eval "$ac_compile") 2>conftest.er1
39379 ac_status=$?
39380 grep -v '^ *+' conftest.er1 >conftest.err
39381 rm -f conftest.er1
39382 cat conftest.err >&5
39383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39384 (exit $ac_status); } && {
39385 test -z "$ac_cxx_werror_flag" ||
39386 test ! -s conftest.err
39387 } && test -s conftest.$ac_objext; then
39388 wx_cv_func_statfs_decl=yes
39389 else
39390 echo "$as_me: failed program was:" >&5
39391 sed 's/^/| /' conftest.$ac_ext >&5
39392
39393 wx_cv_func_statfs_decl=no
39394
39395 fi
39396
39397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39398 ac_ext=c
39399 ac_cpp='$CPP $CPPFLAGS'
39400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39403
39404
39405 fi
39406 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39407 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39408
39409 if test "$wx_cv_func_statfs_decl" = "yes"; then
39410 cat >>confdefs.h <<\_ACEOF
39411 #define HAVE_STATFS_DECL 1
39412 _ACEOF
39413
39414 fi
39415
39416 wx_cv_type_statvfs_t="struct statfs"
39417 cat >>confdefs.h <<\_ACEOF
39418 #define HAVE_STATFS 1
39419 _ACEOF
39420
39421 else
39422 { echo "$as_me:$LINENO: checking for statvfs" >&5
39423 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39424 if test "${wx_cv_func_statvfs+set}" = set; then
39425 echo $ECHO_N "(cached) $ECHO_C" >&6
39426 else
39427 cat >conftest.$ac_ext <<_ACEOF
39428 /* confdefs.h. */
39429 _ACEOF
39430 cat confdefs.h >>conftest.$ac_ext
39431 cat >>conftest.$ac_ext <<_ACEOF
39432 /* end confdefs.h. */
39433
39434 #include <stddef.h>
39435 #include <sys/statvfs.h>
39436
39437 int
39438 main ()
39439 {
39440
39441 statvfs("/", NULL);
39442
39443 ;
39444 return 0;
39445 }
39446 _ACEOF
39447 rm -f conftest.$ac_objext
39448 if { (ac_try="$ac_compile"
39449 case "(($ac_try" in
39450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39451 *) ac_try_echo=$ac_try;;
39452 esac
39453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39454 (eval "$ac_compile") 2>conftest.er1
39455 ac_status=$?
39456 grep -v '^ *+' conftest.er1 >conftest.err
39457 rm -f conftest.er1
39458 cat conftest.err >&5
39459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39460 (exit $ac_status); } && {
39461 test -z "$ac_c_werror_flag" ||
39462 test ! -s conftest.err
39463 } && test -s conftest.$ac_objext; then
39464 wx_cv_func_statvfs=yes
39465 else
39466 echo "$as_me: failed program was:" >&5
39467 sed 's/^/| /' conftest.$ac_ext >&5
39468
39469 wx_cv_func_statvfs=no
39470
39471 fi
39472
39473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39474
39475 fi
39476 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39477 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39478
39479 if test "$wx_cv_func_statvfs" = "yes"; then
39480 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39481 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39482 if test "${wx_cv_type_statvfs_t+set}" = set; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39484 else
39485 ac_ext=cpp
39486 ac_cpp='$CXXCPP $CPPFLAGS'
39487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39490
39491 cat >conftest.$ac_ext <<_ACEOF
39492 /* confdefs.h. */
39493 _ACEOF
39494 cat confdefs.h >>conftest.$ac_ext
39495 cat >>conftest.$ac_ext <<_ACEOF
39496 /* end confdefs.h. */
39497
39498 #include <sys/statvfs.h>
39499
39500 int
39501 main ()
39502 {
39503
39504 long l;
39505 statvfs_t fs;
39506 statvfs("/", &fs);
39507 l = fs.f_bsize;
39508 l += fs.f_blocks;
39509 l += fs.f_bavail;
39510
39511 ;
39512 return 0;
39513 }
39514 _ACEOF
39515 rm -f conftest.$ac_objext
39516 if { (ac_try="$ac_compile"
39517 case "(($ac_try" in
39518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39519 *) ac_try_echo=$ac_try;;
39520 esac
39521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39522 (eval "$ac_compile") 2>conftest.er1
39523 ac_status=$?
39524 grep -v '^ *+' conftest.er1 >conftest.err
39525 rm -f conftest.er1
39526 cat conftest.err >&5
39527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39528 (exit $ac_status); } && {
39529 test -z "$ac_cxx_werror_flag" ||
39530 test ! -s conftest.err
39531 } && test -s conftest.$ac_objext; then
39532 wx_cv_type_statvfs_t=statvfs_t
39533 else
39534 echo "$as_me: failed program was:" >&5
39535 sed 's/^/| /' conftest.$ac_ext >&5
39536
39537
39538 cat >conftest.$ac_ext <<_ACEOF
39539 /* confdefs.h. */
39540 _ACEOF
39541 cat confdefs.h >>conftest.$ac_ext
39542 cat >>conftest.$ac_ext <<_ACEOF
39543 /* end confdefs.h. */
39544
39545 #include <sys/statvfs.h>
39546
39547 int
39548 main ()
39549 {
39550
39551 long l;
39552 struct statvfs fs;
39553 statvfs("/", &fs);
39554 l = fs.f_bsize;
39555 l += fs.f_blocks;
39556 l += fs.f_bavail;
39557
39558 ;
39559 return 0;
39560 }
39561 _ACEOF
39562 rm -f conftest.$ac_objext
39563 if { (ac_try="$ac_compile"
39564 case "(($ac_try" in
39565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39566 *) ac_try_echo=$ac_try;;
39567 esac
39568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39569 (eval "$ac_compile") 2>conftest.er1
39570 ac_status=$?
39571 grep -v '^ *+' conftest.er1 >conftest.err
39572 rm -f conftest.er1
39573 cat conftest.err >&5
39574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39575 (exit $ac_status); } && {
39576 test -z "$ac_cxx_werror_flag" ||
39577 test ! -s conftest.err
39578 } && test -s conftest.$ac_objext; then
39579 wx_cv_type_statvfs_t="struct statvfs"
39580 else
39581 echo "$as_me: failed program was:" >&5
39582 sed 's/^/| /' conftest.$ac_ext >&5
39583
39584 wx_cv_type_statvfs_t="unknown"
39585
39586 fi
39587
39588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39589
39590
39591 fi
39592
39593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39594 ac_ext=c
39595 ac_cpp='$CPP $CPPFLAGS'
39596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39599
39600
39601 fi
39602 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39603 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39604
39605 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39606 cat >>confdefs.h <<\_ACEOF
39607 #define HAVE_STATVFS 1
39608 _ACEOF
39609
39610 fi
39611 else
39612 wx_cv_type_statvfs_t="unknown"
39613 fi
39614 fi
39615
39616 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39617 cat >>confdefs.h <<_ACEOF
39618 #define WX_STATFS_T $wx_cv_type_statvfs_t
39619 _ACEOF
39620
39621 else
39622 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39623 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39624 fi
39625
39626 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39627
39628
39629 for ac_func in fcntl flock
39630 do
39631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39632 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39634 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39635 echo $ECHO_N "(cached) $ECHO_C" >&6
39636 else
39637 cat >conftest.$ac_ext <<_ACEOF
39638 /* confdefs.h. */
39639 _ACEOF
39640 cat confdefs.h >>conftest.$ac_ext
39641 cat >>conftest.$ac_ext <<_ACEOF
39642 /* end confdefs.h. */
39643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39645 #define $ac_func innocuous_$ac_func
39646
39647 /* System header to define __stub macros and hopefully few prototypes,
39648 which can conflict with char $ac_func (); below.
39649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39650 <limits.h> exists even on freestanding compilers. */
39651
39652 #ifdef __STDC__
39653 # include <limits.h>
39654 #else
39655 # include <assert.h>
39656 #endif
39657
39658 #undef $ac_func
39659
39660 /* Override any GCC internal prototype to avoid an error.
39661 Use char because int might match the return type of a GCC
39662 builtin and then its argument prototype would still apply. */
39663 #ifdef __cplusplus
39664 extern "C"
39665 #endif
39666 char $ac_func ();
39667 /* The GNU C library defines this for functions which it implements
39668 to always fail with ENOSYS. Some functions are actually named
39669 something starting with __ and the normal name is an alias. */
39670 #if defined __stub_$ac_func || defined __stub___$ac_func
39671 choke me
39672 #endif
39673
39674 int
39675 main ()
39676 {
39677 return $ac_func ();
39678 ;
39679 return 0;
39680 }
39681 _ACEOF
39682 rm -f conftest.$ac_objext conftest$ac_exeext
39683 if { (ac_try="$ac_link"
39684 case "(($ac_try" in
39685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39686 *) ac_try_echo=$ac_try;;
39687 esac
39688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39689 (eval "$ac_link") 2>conftest.er1
39690 ac_status=$?
39691 grep -v '^ *+' conftest.er1 >conftest.err
39692 rm -f conftest.er1
39693 cat conftest.err >&5
39694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39695 (exit $ac_status); } && {
39696 test -z "$ac_c_werror_flag" ||
39697 test ! -s conftest.err
39698 } && test -s conftest$ac_exeext &&
39699 $as_test_x conftest$ac_exeext; then
39700 eval "$as_ac_var=yes"
39701 else
39702 echo "$as_me: failed program was:" >&5
39703 sed 's/^/| /' conftest.$ac_ext >&5
39704
39705 eval "$as_ac_var=no"
39706 fi
39707
39708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39709 conftest$ac_exeext conftest.$ac_ext
39710 fi
39711 ac_res=`eval echo '${'$as_ac_var'}'`
39712 { echo "$as_me:$LINENO: result: $ac_res" >&5
39713 echo "${ECHO_T}$ac_res" >&6; }
39714 if test `eval echo '${'$as_ac_var'}'` = yes; then
39715 cat >>confdefs.h <<_ACEOF
39716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39717 _ACEOF
39718 break
39719 fi
39720 done
39721
39722
39723 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39724 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39725 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39726 wxUSE_SNGLINST_CHECKER=no
39727 fi
39728 fi
39729
39730
39731 for ac_func in timegm
39732 do
39733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39737 echo $ECHO_N "(cached) $ECHO_C" >&6
39738 else
39739 cat >conftest.$ac_ext <<_ACEOF
39740 /* confdefs.h. */
39741 _ACEOF
39742 cat confdefs.h >>conftest.$ac_ext
39743 cat >>conftest.$ac_ext <<_ACEOF
39744 /* end confdefs.h. */
39745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39747 #define $ac_func innocuous_$ac_func
39748
39749 /* System header to define __stub macros and hopefully few prototypes,
39750 which can conflict with char $ac_func (); below.
39751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39752 <limits.h> exists even on freestanding compilers. */
39753
39754 #ifdef __STDC__
39755 # include <limits.h>
39756 #else
39757 # include <assert.h>
39758 #endif
39759
39760 #undef $ac_func
39761
39762 /* Override any GCC internal prototype to avoid an error.
39763 Use char because int might match the return type of a GCC
39764 builtin and then its argument prototype would still apply. */
39765 #ifdef __cplusplus
39766 extern "C"
39767 #endif
39768 char $ac_func ();
39769 /* The GNU C library defines this for functions which it implements
39770 to always fail with ENOSYS. Some functions are actually named
39771 something starting with __ and the normal name is an alias. */
39772 #if defined __stub_$ac_func || defined __stub___$ac_func
39773 choke me
39774 #endif
39775
39776 int
39777 main ()
39778 {
39779 return $ac_func ();
39780 ;
39781 return 0;
39782 }
39783 _ACEOF
39784 rm -f conftest.$ac_objext conftest$ac_exeext
39785 if { (ac_try="$ac_link"
39786 case "(($ac_try" in
39787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39788 *) ac_try_echo=$ac_try;;
39789 esac
39790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39791 (eval "$ac_link") 2>conftest.er1
39792 ac_status=$?
39793 grep -v '^ *+' conftest.er1 >conftest.err
39794 rm -f conftest.er1
39795 cat conftest.err >&5
39796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797 (exit $ac_status); } && {
39798 test -z "$ac_c_werror_flag" ||
39799 test ! -s conftest.err
39800 } && test -s conftest$ac_exeext &&
39801 $as_test_x conftest$ac_exeext; then
39802 eval "$as_ac_var=yes"
39803 else
39804 echo "$as_me: failed program was:" >&5
39805 sed 's/^/| /' conftest.$ac_ext >&5
39806
39807 eval "$as_ac_var=no"
39808 fi
39809
39810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39811 conftest$ac_exeext conftest.$ac_ext
39812 fi
39813 ac_res=`eval echo '${'$as_ac_var'}'`
39814 { echo "$as_me:$LINENO: result: $ac_res" >&5
39815 echo "${ECHO_T}$ac_res" >&6; }
39816 if test `eval echo '${'$as_ac_var'}'` = yes; then
39817 cat >>confdefs.h <<_ACEOF
39818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39819 _ACEOF
39820
39821 fi
39822 done
39823
39824
39825
39826
39827 for ac_func in putenv setenv
39828 do
39829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39830 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39832 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39833 echo $ECHO_N "(cached) $ECHO_C" >&6
39834 else
39835 cat >conftest.$ac_ext <<_ACEOF
39836 /* confdefs.h. */
39837 _ACEOF
39838 cat confdefs.h >>conftest.$ac_ext
39839 cat >>conftest.$ac_ext <<_ACEOF
39840 /* end confdefs.h. */
39841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39843 #define $ac_func innocuous_$ac_func
39844
39845 /* System header to define __stub macros and hopefully few prototypes,
39846 which can conflict with char $ac_func (); below.
39847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39848 <limits.h> exists even on freestanding compilers. */
39849
39850 #ifdef __STDC__
39851 # include <limits.h>
39852 #else
39853 # include <assert.h>
39854 #endif
39855
39856 #undef $ac_func
39857
39858 /* Override any GCC internal prototype to avoid an error.
39859 Use char because int might match the return type of a GCC
39860 builtin and then its argument prototype would still apply. */
39861 #ifdef __cplusplus
39862 extern "C"
39863 #endif
39864 char $ac_func ();
39865 /* The GNU C library defines this for functions which it implements
39866 to always fail with ENOSYS. Some functions are actually named
39867 something starting with __ and the normal name is an alias. */
39868 #if defined __stub_$ac_func || defined __stub___$ac_func
39869 choke me
39870 #endif
39871
39872 int
39873 main ()
39874 {
39875 return $ac_func ();
39876 ;
39877 return 0;
39878 }
39879 _ACEOF
39880 rm -f conftest.$ac_objext conftest$ac_exeext
39881 if { (ac_try="$ac_link"
39882 case "(($ac_try" in
39883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39884 *) ac_try_echo=$ac_try;;
39885 esac
39886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39887 (eval "$ac_link") 2>conftest.er1
39888 ac_status=$?
39889 grep -v '^ *+' conftest.er1 >conftest.err
39890 rm -f conftest.er1
39891 cat conftest.err >&5
39892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39893 (exit $ac_status); } && {
39894 test -z "$ac_c_werror_flag" ||
39895 test ! -s conftest.err
39896 } && test -s conftest$ac_exeext &&
39897 $as_test_x conftest$ac_exeext; then
39898 eval "$as_ac_var=yes"
39899 else
39900 echo "$as_me: failed program was:" >&5
39901 sed 's/^/| /' conftest.$ac_ext >&5
39902
39903 eval "$as_ac_var=no"
39904 fi
39905
39906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39907 conftest$ac_exeext conftest.$ac_ext
39908 fi
39909 ac_res=`eval echo '${'$as_ac_var'}'`
39910 { echo "$as_me:$LINENO: result: $ac_res" >&5
39911 echo "${ECHO_T}$ac_res" >&6; }
39912 if test `eval echo '${'$as_ac_var'}'` = yes; then
39913 cat >>confdefs.h <<_ACEOF
39914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39915 _ACEOF
39916 break
39917 fi
39918 done
39919
39920
39921 HAVE_SOME_SLEEP_FUNC=0
39922 if test "$USE_BEOS" = 1; then
39923 cat >>confdefs.h <<\_ACEOF
39924 #define HAVE_SLEEP 1
39925 _ACEOF
39926
39927 HAVE_SOME_SLEEP_FUNC=1
39928 fi
39929
39930 if test "$USE_DARWIN" = 1; then
39931 cat >>confdefs.h <<\_ACEOF
39932 #define HAVE_USLEEP 1
39933 _ACEOF
39934
39935 HAVE_SOME_SLEEP_FUNC=1
39936 fi
39937
39938 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39939 POSIX4_LINK=
39940
39941 for ac_func in nanosleep
39942 do
39943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39944 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39946 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39947 echo $ECHO_N "(cached) $ECHO_C" >&6
39948 else
39949 cat >conftest.$ac_ext <<_ACEOF
39950 /* confdefs.h. */
39951 _ACEOF
39952 cat confdefs.h >>conftest.$ac_ext
39953 cat >>conftest.$ac_ext <<_ACEOF
39954 /* end confdefs.h. */
39955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39957 #define $ac_func innocuous_$ac_func
39958
39959 /* System header to define __stub macros and hopefully few prototypes,
39960 which can conflict with char $ac_func (); below.
39961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39962 <limits.h> exists even on freestanding compilers. */
39963
39964 #ifdef __STDC__
39965 # include <limits.h>
39966 #else
39967 # include <assert.h>
39968 #endif
39969
39970 #undef $ac_func
39971
39972 /* Override any GCC internal prototype to avoid an error.
39973 Use char because int might match the return type of a GCC
39974 builtin and then its argument prototype would still apply. */
39975 #ifdef __cplusplus
39976 extern "C"
39977 #endif
39978 char $ac_func ();
39979 /* The GNU C library defines this for functions which it implements
39980 to always fail with ENOSYS. Some functions are actually named
39981 something starting with __ and the normal name is an alias. */
39982 #if defined __stub_$ac_func || defined __stub___$ac_func
39983 choke me
39984 #endif
39985
39986 int
39987 main ()
39988 {
39989 return $ac_func ();
39990 ;
39991 return 0;
39992 }
39993 _ACEOF
39994 rm -f conftest.$ac_objext conftest$ac_exeext
39995 if { (ac_try="$ac_link"
39996 case "(($ac_try" in
39997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39998 *) ac_try_echo=$ac_try;;
39999 esac
40000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40001 (eval "$ac_link") 2>conftest.er1
40002 ac_status=$?
40003 grep -v '^ *+' conftest.er1 >conftest.err
40004 rm -f conftest.er1
40005 cat conftest.err >&5
40006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40007 (exit $ac_status); } && {
40008 test -z "$ac_c_werror_flag" ||
40009 test ! -s conftest.err
40010 } && test -s conftest$ac_exeext &&
40011 $as_test_x conftest$ac_exeext; then
40012 eval "$as_ac_var=yes"
40013 else
40014 echo "$as_me: failed program was:" >&5
40015 sed 's/^/| /' conftest.$ac_ext >&5
40016
40017 eval "$as_ac_var=no"
40018 fi
40019
40020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40021 conftest$ac_exeext conftest.$ac_ext
40022 fi
40023 ac_res=`eval echo '${'$as_ac_var'}'`
40024 { echo "$as_me:$LINENO: result: $ac_res" >&5
40025 echo "${ECHO_T}$ac_res" >&6; }
40026 if test `eval echo '${'$as_ac_var'}'` = yes; then
40027 cat >>confdefs.h <<_ACEOF
40028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40029 _ACEOF
40030 cat >>confdefs.h <<\_ACEOF
40031 #define HAVE_NANOSLEEP 1
40032 _ACEOF
40033
40034 else
40035
40036 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40037 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40038 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40039 echo $ECHO_N "(cached) $ECHO_C" >&6
40040 else
40041 ac_check_lib_save_LIBS=$LIBS
40042 LIBS="-lposix4 $LIBS"
40043 cat >conftest.$ac_ext <<_ACEOF
40044 /* confdefs.h. */
40045 _ACEOF
40046 cat confdefs.h >>conftest.$ac_ext
40047 cat >>conftest.$ac_ext <<_ACEOF
40048 /* end confdefs.h. */
40049
40050 /* Override any GCC internal prototype to avoid an error.
40051 Use char because int might match the return type of a GCC
40052 builtin and then its argument prototype would still apply. */
40053 #ifdef __cplusplus
40054 extern "C"
40055 #endif
40056 char nanosleep ();
40057 int
40058 main ()
40059 {
40060 return nanosleep ();
40061 ;
40062 return 0;
40063 }
40064 _ACEOF
40065 rm -f conftest.$ac_objext conftest$ac_exeext
40066 if { (ac_try="$ac_link"
40067 case "(($ac_try" in
40068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40069 *) ac_try_echo=$ac_try;;
40070 esac
40071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40072 (eval "$ac_link") 2>conftest.er1
40073 ac_status=$?
40074 grep -v '^ *+' conftest.er1 >conftest.err
40075 rm -f conftest.er1
40076 cat conftest.err >&5
40077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40078 (exit $ac_status); } && {
40079 test -z "$ac_c_werror_flag" ||
40080 test ! -s conftest.err
40081 } && test -s conftest$ac_exeext &&
40082 $as_test_x conftest$ac_exeext; then
40083 ac_cv_lib_posix4_nanosleep=yes
40084 else
40085 echo "$as_me: failed program was:" >&5
40086 sed 's/^/| /' conftest.$ac_ext >&5
40087
40088 ac_cv_lib_posix4_nanosleep=no
40089 fi
40090
40091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40092 conftest$ac_exeext conftest.$ac_ext
40093 LIBS=$ac_check_lib_save_LIBS
40094 fi
40095 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40096 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40097 if test $ac_cv_lib_posix4_nanosleep = yes; then
40098
40099 cat >>confdefs.h <<\_ACEOF
40100 #define HAVE_NANOSLEEP 1
40101 _ACEOF
40102
40103 POSIX4_LINK=" -lposix4"
40104
40105 else
40106
40107
40108 for wx_func in usleep
40109 do
40110 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40111 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40112 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40113 echo $ECHO_N "(cached) $ECHO_C" >&6
40114 else
40115
40116 cat >conftest.$ac_ext <<_ACEOF
40117
40118 /* confdefs.h. */
40119 _ACEOF
40120 cat confdefs.h >>conftest.$ac_ext
40121 cat >>conftest.$ac_ext <<_ACEOF
40122 /* end confdefs.h. */
40123
40124
40125 $ac_includes_default
40126
40127 int
40128 main ()
40129 {
40130
40131 #ifndef $wx_func
40132 &$wx_func;
40133 #endif
40134
40135
40136 ;
40137 return 0;
40138 }
40139
40140 _ACEOF
40141 rm -f conftest.$ac_objext conftest$ac_exeext
40142 if { (ac_try="$ac_link"
40143 case "(($ac_try" in
40144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40145 *) ac_try_echo=$ac_try;;
40146 esac
40147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40148 (eval "$ac_link") 2>conftest.er1
40149 ac_status=$?
40150 grep -v '^ *+' conftest.er1 >conftest.err
40151 rm -f conftest.er1
40152 cat conftest.err >&5
40153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154 (exit $ac_status); } && {
40155 test -z "$ac_c_werror_flag" ||
40156 test ! -s conftest.err
40157 } && test -s conftest$ac_exeext &&
40158 $as_test_x conftest$ac_exeext; then
40159 eval wx_cv_func_$wx_func=yes
40160 else
40161 echo "$as_me: failed program was:" >&5
40162 sed 's/^/| /' conftest.$ac_ext >&5
40163
40164 eval wx_cv_func_$wx_func=no
40165 fi
40166
40167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40168 conftest$ac_exeext conftest.$ac_ext
40169
40170 fi
40171 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40172 { echo "$as_me:$LINENO: result: $ac_res" >&5
40173 echo "${ECHO_T}$ac_res" >&6; }
40174
40175 if eval test \$wx_cv_func_$wx_func = yes
40176 then
40177 cat >>confdefs.h <<_ACEOF
40178 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40179 _ACEOF
40180
40181
40182 else
40183 :
40184 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40185 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40186
40187 fi
40188 done
40189
40190
40191
40192 fi
40193
40194
40195
40196 fi
40197 done
40198
40199 fi
40200
40201
40202 for wx_func in uname
40203 do
40204 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40205 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40206 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40207 echo $ECHO_N "(cached) $ECHO_C" >&6
40208 else
40209
40210 cat >conftest.$ac_ext <<_ACEOF
40211
40212 /* confdefs.h. */
40213 _ACEOF
40214 cat confdefs.h >>conftest.$ac_ext
40215 cat >>conftest.$ac_ext <<_ACEOF
40216 /* end confdefs.h. */
40217
40218 #include <sys/utsname.h>
40219 $ac_includes_default
40220
40221 int
40222 main ()
40223 {
40224
40225 #ifndef $wx_func
40226 &$wx_func;
40227 #endif
40228
40229
40230 ;
40231 return 0;
40232 }
40233
40234 _ACEOF
40235 rm -f conftest.$ac_objext conftest$ac_exeext
40236 if { (ac_try="$ac_link"
40237 case "(($ac_try" in
40238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40239 *) ac_try_echo=$ac_try;;
40240 esac
40241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40242 (eval "$ac_link") 2>conftest.er1
40243 ac_status=$?
40244 grep -v '^ *+' conftest.er1 >conftest.err
40245 rm -f conftest.er1
40246 cat conftest.err >&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); } && {
40249 test -z "$ac_c_werror_flag" ||
40250 test ! -s conftest.err
40251 } && test -s conftest$ac_exeext &&
40252 $as_test_x conftest$ac_exeext; then
40253 eval wx_cv_func_$wx_func=yes
40254 else
40255 echo "$as_me: failed program was:" >&5
40256 sed 's/^/| /' conftest.$ac_ext >&5
40257
40258 eval wx_cv_func_$wx_func=no
40259 fi
40260
40261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40262 conftest$ac_exeext conftest.$ac_ext
40263
40264 fi
40265 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40266 { echo "$as_me:$LINENO: result: $ac_res" >&5
40267 echo "${ECHO_T}$ac_res" >&6; }
40268
40269 if eval test \$wx_cv_func_$wx_func = yes
40270 then
40271 cat >>confdefs.h <<_ACEOF
40272 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40273 _ACEOF
40274
40275
40276 else
40277 :
40278
40279 fi
40280 done
40281
40282 if test "$wx_cv_func_uname" != yes; then
40283
40284 for wx_func in gethostname
40285 do
40286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40288 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40289 echo $ECHO_N "(cached) $ECHO_C" >&6
40290 else
40291
40292 cat >conftest.$ac_ext <<_ACEOF
40293
40294 /* confdefs.h. */
40295 _ACEOF
40296 cat confdefs.h >>conftest.$ac_ext
40297 cat >>conftest.$ac_ext <<_ACEOF
40298 /* end confdefs.h. */
40299
40300
40301 $ac_includes_default
40302
40303 int
40304 main ()
40305 {
40306
40307 #ifndef $wx_func
40308 &$wx_func;
40309 #endif
40310
40311
40312 ;
40313 return 0;
40314 }
40315
40316 _ACEOF
40317 rm -f conftest.$ac_objext conftest$ac_exeext
40318 if { (ac_try="$ac_link"
40319 case "(($ac_try" in
40320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40321 *) ac_try_echo=$ac_try;;
40322 esac
40323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40324 (eval "$ac_link") 2>conftest.er1
40325 ac_status=$?
40326 grep -v '^ *+' conftest.er1 >conftest.err
40327 rm -f conftest.er1
40328 cat conftest.err >&5
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); } && {
40331 test -z "$ac_c_werror_flag" ||
40332 test ! -s conftest.err
40333 } && test -s conftest$ac_exeext &&
40334 $as_test_x conftest$ac_exeext; then
40335 eval wx_cv_func_$wx_func=yes
40336 else
40337 echo "$as_me: failed program was:" >&5
40338 sed 's/^/| /' conftest.$ac_ext >&5
40339
40340 eval wx_cv_func_$wx_func=no
40341 fi
40342
40343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40344 conftest$ac_exeext conftest.$ac_ext
40345
40346 fi
40347 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40348 { echo "$as_me:$LINENO: result: $ac_res" >&5
40349 echo "${ECHO_T}$ac_res" >&6; }
40350
40351 if eval test \$wx_cv_func_$wx_func = yes
40352 then
40353 cat >>confdefs.h <<_ACEOF
40354 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40355 _ACEOF
40356
40357
40358 else
40359 :
40360
40361 fi
40362 done
40363
40364 fi
40365
40366
40367 for wx_func in strtok_r
40368 do
40369 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40370 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40371 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40372 echo $ECHO_N "(cached) $ECHO_C" >&6
40373 else
40374
40375 cat >conftest.$ac_ext <<_ACEOF
40376
40377 /* confdefs.h. */
40378 _ACEOF
40379 cat confdefs.h >>conftest.$ac_ext
40380 cat >>conftest.$ac_ext <<_ACEOF
40381 /* end confdefs.h. */
40382
40383 #define _REENTRANT
40384 $ac_includes_default
40385
40386 int
40387 main ()
40388 {
40389
40390 #ifndef $wx_func
40391 &$wx_func;
40392 #endif
40393
40394
40395 ;
40396 return 0;
40397 }
40398
40399 _ACEOF
40400 rm -f conftest.$ac_objext conftest$ac_exeext
40401 if { (ac_try="$ac_link"
40402 case "(($ac_try" in
40403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40404 *) ac_try_echo=$ac_try;;
40405 esac
40406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40407 (eval "$ac_link") 2>conftest.er1
40408 ac_status=$?
40409 grep -v '^ *+' conftest.er1 >conftest.err
40410 rm -f conftest.er1
40411 cat conftest.err >&5
40412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40413 (exit $ac_status); } && {
40414 test -z "$ac_c_werror_flag" ||
40415 test ! -s conftest.err
40416 } && test -s conftest$ac_exeext &&
40417 $as_test_x conftest$ac_exeext; then
40418 eval wx_cv_func_$wx_func=yes
40419 else
40420 echo "$as_me: failed program was:" >&5
40421 sed 's/^/| /' conftest.$ac_ext >&5
40422
40423 eval wx_cv_func_$wx_func=no
40424 fi
40425
40426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40427 conftest$ac_exeext conftest.$ac_ext
40428
40429 fi
40430 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40431 { echo "$as_me:$LINENO: result: $ac_res" >&5
40432 echo "${ECHO_T}$ac_res" >&6; }
40433
40434 if eval test \$wx_cv_func_$wx_func = yes
40435 then
40436 cat >>confdefs.h <<_ACEOF
40437 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40438 _ACEOF
40439
40440
40441 else
40442 :
40443
40444 fi
40445 done
40446
40447
40448 INET_LINK=
40449
40450 for ac_func in inet_addr
40451 do
40452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40453 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40455 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40456 echo $ECHO_N "(cached) $ECHO_C" >&6
40457 else
40458 cat >conftest.$ac_ext <<_ACEOF
40459 /* confdefs.h. */
40460 _ACEOF
40461 cat confdefs.h >>conftest.$ac_ext
40462 cat >>conftest.$ac_ext <<_ACEOF
40463 /* end confdefs.h. */
40464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40466 #define $ac_func innocuous_$ac_func
40467
40468 /* System header to define __stub macros and hopefully few prototypes,
40469 which can conflict with char $ac_func (); below.
40470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40471 <limits.h> exists even on freestanding compilers. */
40472
40473 #ifdef __STDC__
40474 # include <limits.h>
40475 #else
40476 # include <assert.h>
40477 #endif
40478
40479 #undef $ac_func
40480
40481 /* Override any GCC internal prototype to avoid an error.
40482 Use char because int might match the return type of a GCC
40483 builtin and then its argument prototype would still apply. */
40484 #ifdef __cplusplus
40485 extern "C"
40486 #endif
40487 char $ac_func ();
40488 /* The GNU C library defines this for functions which it implements
40489 to always fail with ENOSYS. Some functions are actually named
40490 something starting with __ and the normal name is an alias. */
40491 #if defined __stub_$ac_func || defined __stub___$ac_func
40492 choke me
40493 #endif
40494
40495 int
40496 main ()
40497 {
40498 return $ac_func ();
40499 ;
40500 return 0;
40501 }
40502 _ACEOF
40503 rm -f conftest.$ac_objext conftest$ac_exeext
40504 if { (ac_try="$ac_link"
40505 case "(($ac_try" in
40506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40507 *) ac_try_echo=$ac_try;;
40508 esac
40509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40510 (eval "$ac_link") 2>conftest.er1
40511 ac_status=$?
40512 grep -v '^ *+' conftest.er1 >conftest.err
40513 rm -f conftest.er1
40514 cat conftest.err >&5
40515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516 (exit $ac_status); } && {
40517 test -z "$ac_c_werror_flag" ||
40518 test ! -s conftest.err
40519 } && test -s conftest$ac_exeext &&
40520 $as_test_x conftest$ac_exeext; then
40521 eval "$as_ac_var=yes"
40522 else
40523 echo "$as_me: failed program was:" >&5
40524 sed 's/^/| /' conftest.$ac_ext >&5
40525
40526 eval "$as_ac_var=no"
40527 fi
40528
40529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40530 conftest$ac_exeext conftest.$ac_ext
40531 fi
40532 ac_res=`eval echo '${'$as_ac_var'}'`
40533 { echo "$as_me:$LINENO: result: $ac_res" >&5
40534 echo "${ECHO_T}$ac_res" >&6; }
40535 if test `eval echo '${'$as_ac_var'}'` = yes; then
40536 cat >>confdefs.h <<_ACEOF
40537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40538 _ACEOF
40539 cat >>confdefs.h <<\_ACEOF
40540 #define HAVE_INET_ADDR 1
40541 _ACEOF
40542
40543 else
40544
40545 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40546 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40547 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40548 echo $ECHO_N "(cached) $ECHO_C" >&6
40549 else
40550 ac_check_lib_save_LIBS=$LIBS
40551 LIBS="-lnsl $LIBS"
40552 cat >conftest.$ac_ext <<_ACEOF
40553 /* confdefs.h. */
40554 _ACEOF
40555 cat confdefs.h >>conftest.$ac_ext
40556 cat >>conftest.$ac_ext <<_ACEOF
40557 /* end confdefs.h. */
40558
40559 /* Override any GCC internal prototype to avoid an error.
40560 Use char because int might match the return type of a GCC
40561 builtin and then its argument prototype would still apply. */
40562 #ifdef __cplusplus
40563 extern "C"
40564 #endif
40565 char inet_addr ();
40566 int
40567 main ()
40568 {
40569 return inet_addr ();
40570 ;
40571 return 0;
40572 }
40573 _ACEOF
40574 rm -f conftest.$ac_objext conftest$ac_exeext
40575 if { (ac_try="$ac_link"
40576 case "(($ac_try" in
40577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40578 *) ac_try_echo=$ac_try;;
40579 esac
40580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40581 (eval "$ac_link") 2>conftest.er1
40582 ac_status=$?
40583 grep -v '^ *+' conftest.er1 >conftest.err
40584 rm -f conftest.er1
40585 cat conftest.err >&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); } && {
40588 test -z "$ac_c_werror_flag" ||
40589 test ! -s conftest.err
40590 } && test -s conftest$ac_exeext &&
40591 $as_test_x conftest$ac_exeext; then
40592 ac_cv_lib_nsl_inet_addr=yes
40593 else
40594 echo "$as_me: failed program was:" >&5
40595 sed 's/^/| /' conftest.$ac_ext >&5
40596
40597 ac_cv_lib_nsl_inet_addr=no
40598 fi
40599
40600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40601 conftest$ac_exeext conftest.$ac_ext
40602 LIBS=$ac_check_lib_save_LIBS
40603 fi
40604 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40605 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40606 if test $ac_cv_lib_nsl_inet_addr = yes; then
40607 INET_LINK="nsl"
40608 else
40609
40610 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40611 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40612 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40613 echo $ECHO_N "(cached) $ECHO_C" >&6
40614 else
40615 ac_check_lib_save_LIBS=$LIBS
40616 LIBS="-lresolv $LIBS"
40617 cat >conftest.$ac_ext <<_ACEOF
40618 /* confdefs.h. */
40619 _ACEOF
40620 cat confdefs.h >>conftest.$ac_ext
40621 cat >>conftest.$ac_ext <<_ACEOF
40622 /* end confdefs.h. */
40623
40624 /* Override any GCC internal prototype to avoid an error.
40625 Use char because int might match the return type of a GCC
40626 builtin and then its argument prototype would still apply. */
40627 #ifdef __cplusplus
40628 extern "C"
40629 #endif
40630 char inet_addr ();
40631 int
40632 main ()
40633 {
40634 return inet_addr ();
40635 ;
40636 return 0;
40637 }
40638 _ACEOF
40639 rm -f conftest.$ac_objext conftest$ac_exeext
40640 if { (ac_try="$ac_link"
40641 case "(($ac_try" in
40642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40643 *) ac_try_echo=$ac_try;;
40644 esac
40645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40646 (eval "$ac_link") 2>conftest.er1
40647 ac_status=$?
40648 grep -v '^ *+' conftest.er1 >conftest.err
40649 rm -f conftest.er1
40650 cat conftest.err >&5
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); } && {
40653 test -z "$ac_c_werror_flag" ||
40654 test ! -s conftest.err
40655 } && test -s conftest$ac_exeext &&
40656 $as_test_x conftest$ac_exeext; then
40657 ac_cv_lib_resolv_inet_addr=yes
40658 else
40659 echo "$as_me: failed program was:" >&5
40660 sed 's/^/| /' conftest.$ac_ext >&5
40661
40662 ac_cv_lib_resolv_inet_addr=no
40663 fi
40664
40665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40666 conftest$ac_exeext conftest.$ac_ext
40667 LIBS=$ac_check_lib_save_LIBS
40668 fi
40669 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40670 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40671 if test $ac_cv_lib_resolv_inet_addr = yes; then
40672 INET_LINK="resolv"
40673 else
40674
40675 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40676 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40677 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40678 echo $ECHO_N "(cached) $ECHO_C" >&6
40679 else
40680 ac_check_lib_save_LIBS=$LIBS
40681 LIBS="-lsocket $LIBS"
40682 cat >conftest.$ac_ext <<_ACEOF
40683 /* confdefs.h. */
40684 _ACEOF
40685 cat confdefs.h >>conftest.$ac_ext
40686 cat >>conftest.$ac_ext <<_ACEOF
40687 /* end confdefs.h. */
40688
40689 /* Override any GCC internal prototype to avoid an error.
40690 Use char because int might match the return type of a GCC
40691 builtin and then its argument prototype would still apply. */
40692 #ifdef __cplusplus
40693 extern "C"
40694 #endif
40695 char inet_addr ();
40696 int
40697 main ()
40698 {
40699 return inet_addr ();
40700 ;
40701 return 0;
40702 }
40703 _ACEOF
40704 rm -f conftest.$ac_objext conftest$ac_exeext
40705 if { (ac_try="$ac_link"
40706 case "(($ac_try" in
40707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40708 *) ac_try_echo=$ac_try;;
40709 esac
40710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40711 (eval "$ac_link") 2>conftest.er1
40712 ac_status=$?
40713 grep -v '^ *+' conftest.er1 >conftest.err
40714 rm -f conftest.er1
40715 cat conftest.err >&5
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); } && {
40718 test -z "$ac_c_werror_flag" ||
40719 test ! -s conftest.err
40720 } && test -s conftest$ac_exeext &&
40721 $as_test_x conftest$ac_exeext; then
40722 ac_cv_lib_socket_inet_addr=yes
40723 else
40724 echo "$as_me: failed program was:" >&5
40725 sed 's/^/| /' conftest.$ac_ext >&5
40726
40727 ac_cv_lib_socket_inet_addr=no
40728 fi
40729
40730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40731 conftest$ac_exeext conftest.$ac_ext
40732 LIBS=$ac_check_lib_save_LIBS
40733 fi
40734 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40735 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40736 if test $ac_cv_lib_socket_inet_addr = yes; then
40737 INET_LINK="socket"
40738
40739 fi
40740
40741
40742
40743 fi
40744
40745
40746
40747 fi
40748
40749
40750
40751 fi
40752 done
40753
40754
40755
40756 for ac_func in inet_aton
40757 do
40758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40759 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40761 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40762 echo $ECHO_N "(cached) $ECHO_C" >&6
40763 else
40764 cat >conftest.$ac_ext <<_ACEOF
40765 /* confdefs.h. */
40766 _ACEOF
40767 cat confdefs.h >>conftest.$ac_ext
40768 cat >>conftest.$ac_ext <<_ACEOF
40769 /* end confdefs.h. */
40770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40772 #define $ac_func innocuous_$ac_func
40773
40774 /* System header to define __stub macros and hopefully few prototypes,
40775 which can conflict with char $ac_func (); below.
40776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40777 <limits.h> exists even on freestanding compilers. */
40778
40779 #ifdef __STDC__
40780 # include <limits.h>
40781 #else
40782 # include <assert.h>
40783 #endif
40784
40785 #undef $ac_func
40786
40787 /* Override any GCC internal prototype to avoid an error.
40788 Use char because int might match the return type of a GCC
40789 builtin and then its argument prototype would still apply. */
40790 #ifdef __cplusplus
40791 extern "C"
40792 #endif
40793 char $ac_func ();
40794 /* The GNU C library defines this for functions which it implements
40795 to always fail with ENOSYS. Some functions are actually named
40796 something starting with __ and the normal name is an alias. */
40797 #if defined __stub_$ac_func || defined __stub___$ac_func
40798 choke me
40799 #endif
40800
40801 int
40802 main ()
40803 {
40804 return $ac_func ();
40805 ;
40806 return 0;
40807 }
40808 _ACEOF
40809 rm -f conftest.$ac_objext conftest$ac_exeext
40810 if { (ac_try="$ac_link"
40811 case "(($ac_try" in
40812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40813 *) ac_try_echo=$ac_try;;
40814 esac
40815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40816 (eval "$ac_link") 2>conftest.er1
40817 ac_status=$?
40818 grep -v '^ *+' conftest.er1 >conftest.err
40819 rm -f conftest.er1
40820 cat conftest.err >&5
40821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822 (exit $ac_status); } && {
40823 test -z "$ac_c_werror_flag" ||
40824 test ! -s conftest.err
40825 } && test -s conftest$ac_exeext &&
40826 $as_test_x conftest$ac_exeext; then
40827 eval "$as_ac_var=yes"
40828 else
40829 echo "$as_me: failed program was:" >&5
40830 sed 's/^/| /' conftest.$ac_ext >&5
40831
40832 eval "$as_ac_var=no"
40833 fi
40834
40835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40836 conftest$ac_exeext conftest.$ac_ext
40837 fi
40838 ac_res=`eval echo '${'$as_ac_var'}'`
40839 { echo "$as_me:$LINENO: result: $ac_res" >&5
40840 echo "${ECHO_T}$ac_res" >&6; }
40841 if test `eval echo '${'$as_ac_var'}'` = yes; then
40842 cat >>confdefs.h <<_ACEOF
40843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40844 _ACEOF
40845 cat >>confdefs.h <<\_ACEOF
40846 #define HAVE_INET_ATON 1
40847 _ACEOF
40848
40849 else
40850
40851 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40852 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40853 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40854 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40855 echo $ECHO_N "(cached) $ECHO_C" >&6
40856 else
40857 ac_check_lib_save_LIBS=$LIBS
40858 LIBS="-l$INET_LINK $LIBS"
40859 cat >conftest.$ac_ext <<_ACEOF
40860 /* confdefs.h. */
40861 _ACEOF
40862 cat confdefs.h >>conftest.$ac_ext
40863 cat >>conftest.$ac_ext <<_ACEOF
40864 /* end confdefs.h. */
40865
40866 /* Override any GCC internal prototype to avoid an error.
40867 Use char because int might match the return type of a GCC
40868 builtin and then its argument prototype would still apply. */
40869 #ifdef __cplusplus
40870 extern "C"
40871 #endif
40872 char inet_aton ();
40873 int
40874 main ()
40875 {
40876 return inet_aton ();
40877 ;
40878 return 0;
40879 }
40880 _ACEOF
40881 rm -f conftest.$ac_objext conftest$ac_exeext
40882 if { (ac_try="$ac_link"
40883 case "(($ac_try" in
40884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40885 *) ac_try_echo=$ac_try;;
40886 esac
40887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40888 (eval "$ac_link") 2>conftest.er1
40889 ac_status=$?
40890 grep -v '^ *+' conftest.er1 >conftest.err
40891 rm -f conftest.er1
40892 cat conftest.err >&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); } && {
40895 test -z "$ac_c_werror_flag" ||
40896 test ! -s conftest.err
40897 } && test -s conftest$ac_exeext &&
40898 $as_test_x conftest$ac_exeext; then
40899 eval "$as_ac_Lib=yes"
40900 else
40901 echo "$as_me: failed program was:" >&5
40902 sed 's/^/| /' conftest.$ac_ext >&5
40903
40904 eval "$as_ac_Lib=no"
40905 fi
40906
40907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40908 conftest$ac_exeext conftest.$ac_ext
40909 LIBS=$ac_check_lib_save_LIBS
40910 fi
40911 ac_res=`eval echo '${'$as_ac_Lib'}'`
40912 { echo "$as_me:$LINENO: result: $ac_res" >&5
40913 echo "${ECHO_T}$ac_res" >&6; }
40914 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40915 cat >>confdefs.h <<\_ACEOF
40916 #define HAVE_INET_ATON 1
40917 _ACEOF
40918
40919 fi
40920
40921
40922 fi
40923 done
40924
40925
40926 if test "x$INET_LINK" != "x"; then
40927 cat >>confdefs.h <<\_ACEOF
40928 #define HAVE_INET_ADDR 1
40929 _ACEOF
40930
40931 INET_LINK=" -l$INET_LINK"
40932 fi
40933
40934
40935 for wx_func in fdopen
40936 do
40937 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40938 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40939 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40940 echo $ECHO_N "(cached) $ECHO_C" >&6
40941 else
40942
40943 cat >conftest.$ac_ext <<_ACEOF
40944
40945 /* confdefs.h. */
40946 _ACEOF
40947 cat confdefs.h >>conftest.$ac_ext
40948 cat >>conftest.$ac_ext <<_ACEOF
40949 /* end confdefs.h. */
40950
40951
40952 $ac_includes_default
40953
40954 int
40955 main ()
40956 {
40957
40958 #ifndef $wx_func
40959 &$wx_func;
40960 #endif
40961
40962
40963 ;
40964 return 0;
40965 }
40966
40967 _ACEOF
40968 rm -f conftest.$ac_objext conftest$ac_exeext
40969 if { (ac_try="$ac_link"
40970 case "(($ac_try" in
40971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40972 *) ac_try_echo=$ac_try;;
40973 esac
40974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40975 (eval "$ac_link") 2>conftest.er1
40976 ac_status=$?
40977 grep -v '^ *+' conftest.er1 >conftest.err
40978 rm -f conftest.er1
40979 cat conftest.err >&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); } && {
40982 test -z "$ac_c_werror_flag" ||
40983 test ! -s conftest.err
40984 } && test -s conftest$ac_exeext &&
40985 $as_test_x conftest$ac_exeext; then
40986 eval wx_cv_func_$wx_func=yes
40987 else
40988 echo "$as_me: failed program was:" >&5
40989 sed 's/^/| /' conftest.$ac_ext >&5
40990
40991 eval wx_cv_func_$wx_func=no
40992 fi
40993
40994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40995 conftest$ac_exeext conftest.$ac_ext
40996
40997 fi
40998 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40999 { echo "$as_me:$LINENO: result: $ac_res" >&5
41000 echo "${ECHO_T}$ac_res" >&6; }
41001
41002 if eval test \$wx_cv_func_$wx_func = yes
41003 then
41004 cat >>confdefs.h <<_ACEOF
41005 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41006 _ACEOF
41007
41008
41009 else
41010 :
41011
41012 fi
41013 done
41014
41015
41016 fi
41017
41018
41019
41020 cat >confcache <<\_ACEOF
41021 # This file is a shell script that caches the results of configure
41022 # tests run on this system so they can be shared between configure
41023 # scripts and configure runs, see configure's option --config-cache.
41024 # It is not useful on other systems. If it contains results you don't
41025 # want to keep, you may remove or edit it.
41026 #
41027 # config.status only pays attention to the cache file if you give it
41028 # the --recheck option to rerun configure.
41029 #
41030 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41031 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41032 # following values.
41033
41034 _ACEOF
41035
41036 # The following way of writing the cache mishandles newlines in values,
41037 # but we know of no workaround that is simple, portable, and efficient.
41038 # So, we kill variables containing newlines.
41039 # Ultrix sh set writes to stderr and can't be redirected directly,
41040 # and sets the high bit in the cache file unless we assign to the vars.
41041 (
41042 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41043 eval ac_val=\$$ac_var
41044 case $ac_val in #(
41045 *${as_nl}*)
41046 case $ac_var in #(
41047 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41048 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41049 esac
41050 case $ac_var in #(
41051 _ | IFS | as_nl) ;; #(
41052 *) $as_unset $ac_var ;;
41053 esac ;;
41054 esac
41055 done
41056
41057 (set) 2>&1 |
41058 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41059 *${as_nl}ac_space=\ *)
41060 # `set' does not quote correctly, so add quotes (double-quote
41061 # substitution turns \\\\ into \\, and sed turns \\ into \).
41062 sed -n \
41063 "s/'/'\\\\''/g;
41064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41065 ;; #(
41066 *)
41067 # `set' quotes correctly as required by POSIX, so do not add quotes.
41068 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41069 ;;
41070 esac |
41071 sort
41072 ) |
41073 sed '
41074 /^ac_cv_env_/b end
41075 t clear
41076 :clear
41077 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41078 t end
41079 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41080 :end' >>confcache
41081 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41082 if test -w "$cache_file"; then
41083 test "x$cache_file" != "x/dev/null" &&
41084 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41085 echo "$as_me: updating cache $cache_file" >&6;}
41086 cat confcache >$cache_file
41087 else
41088 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41089 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41090 fi
41091 fi
41092 rm -f confcache
41093
41094
41095 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41096
41097
41098 THREADS_LINK=
41099 THREADS_CFLAGS=
41100
41101 if test "$wxUSE_THREADS" = "yes" ; then
41102 if test "$USE_BEOS" = 1; then
41103 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41104 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41105 wxUSE_THREADS="no"
41106 fi
41107 fi
41108
41109 if test "$wxUSE_THREADS" = "yes" ; then
41110
41111
41112 THREAD_OPTS="-pthread"
41113 if test "x$SUNCXX" = xyes; then
41114 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41115 fi
41116
41117 case "${host}" in
41118 *-*-solaris2* | *-*-sunos4* )
41119 if test "x$GCC" = "xyes"; then
41120 THREAD_OPTS="-pthreads $THREAD_OPTS"
41121 fi
41122 ;;
41123 *-*-freebsd*)
41124 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41125 ;;
41126 *-*-darwin* | *-*-cygwin* )
41127 THREAD_OPTS=""
41128 ;;
41129 *-*-aix*)
41130 THREAD_OPTS="pthreads"
41131 ;;
41132 *-hp-hpux* )
41133 if test "x$GCC" = "xyes"; then
41134 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41135 THREAD_OPTS=""
41136 else
41137 THREAD_OPTS="-mt"
41138 fi
41139 ;;
41140
41141 *-*-irix* )
41142 if test "x$GCC" = "xyes"; then
41143 THREAD_OPTS=""
41144 fi
41145 ;;
41146
41147 *-*-*UnixWare*)
41148 if test "x$GCC" != "xyes"; then
41149 THREAD_OPTS="-Ethread"
41150 fi
41151 ;;
41152 esac
41153
41154 THREAD_OPTS="$THREAD_OPTS pthread none"
41155
41156 THREADS_OK=no
41157 for flag in $THREAD_OPTS; do
41158 case $flag in
41159 none)
41160 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41161 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41162 ;;
41163
41164 -*)
41165 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41166 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41167 THREADS_CFLAGS="$flag"
41168 ;;
41169
41170 *)
41171 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41172 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41173 THREADS_LINK="-l$flag"
41174 ;;
41175 esac
41176
41177 save_LIBS="$LIBS"
41178 save_CFLAGS="$CFLAGS"
41179 LIBS="$THREADS_LINK $LIBS"
41180 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41181
41182 cat >conftest.$ac_ext <<_ACEOF
41183 /* confdefs.h. */
41184 _ACEOF
41185 cat confdefs.h >>conftest.$ac_ext
41186 cat >>conftest.$ac_ext <<_ACEOF
41187 /* end confdefs.h. */
41188 #include <pthread.h>
41189 int
41190 main ()
41191 {
41192 pthread_create(0,0,0,0);
41193 ;
41194 return 0;
41195 }
41196 _ACEOF
41197 rm -f conftest.$ac_objext conftest$ac_exeext
41198 if { (ac_try="$ac_link"
41199 case "(($ac_try" in
41200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41201 *) ac_try_echo=$ac_try;;
41202 esac
41203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41204 (eval "$ac_link") 2>conftest.er1
41205 ac_status=$?
41206 grep -v '^ *+' conftest.er1 >conftest.err
41207 rm -f conftest.er1
41208 cat conftest.err >&5
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); } && {
41211 test -z "$ac_c_werror_flag" ||
41212 test ! -s conftest.err
41213 } && test -s conftest$ac_exeext &&
41214 $as_test_x conftest$ac_exeext; then
41215 THREADS_OK=yes
41216 else
41217 echo "$as_me: failed program was:" >&5
41218 sed 's/^/| /' conftest.$ac_ext >&5
41219
41220
41221 fi
41222
41223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41224 conftest$ac_exeext conftest.$ac_ext
41225
41226 LIBS="$save_LIBS"
41227 CFLAGS="$save_CFLAGS"
41228
41229 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41230 echo "${ECHO_T}$THREADS_OK" >&6; }
41231 if test "x$THREADS_OK" = "xyes"; then
41232 break;
41233 fi
41234
41235 THREADS_LINK=""
41236 THREADS_CFLAGS=""
41237 done
41238
41239 if test "x$THREADS_OK" != "xyes"; then
41240 wxUSE_THREADS=no
41241 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41242 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41243 else
41244 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41245 LIBS="$THREADS_LINK $LIBS"
41246
41247 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41248 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41249 flag=no
41250 case "${host}" in
41251 *-aix*)
41252 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41253 flag="-D_THREAD_SAFE"
41254 ;;
41255 *-freebsd*)
41256 flag="-D_THREAD_SAFE"
41257 ;;
41258 *-hp-hpux* )
41259 flag="-D_REENTRANT"
41260 if test "x$GCC" != "xyes"; then
41261 flag="$flag -D_RWSTD_MULTI_THREAD"
41262 fi
41263 ;;
41264 *solaris* | alpha*-osf*)
41265 flag="-D_REENTRANT"
41266 ;;
41267 esac
41268 { echo "$as_me:$LINENO: result: ${flag}" >&5
41269 echo "${ECHO_T}${flag}" >&6; }
41270 if test "x$flag" != xno; then
41271 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41272 fi
41273
41274 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41275 fi
41276 fi
41277
41278 if test "$wxUSE_THREADS" = "yes" ; then
41279
41280 for ac_func in thr_setconcurrency
41281 do
41282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41283 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41285 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41286 echo $ECHO_N "(cached) $ECHO_C" >&6
41287 else
41288 cat >conftest.$ac_ext <<_ACEOF
41289 /* confdefs.h. */
41290 _ACEOF
41291 cat confdefs.h >>conftest.$ac_ext
41292 cat >>conftest.$ac_ext <<_ACEOF
41293 /* end confdefs.h. */
41294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41296 #define $ac_func innocuous_$ac_func
41297
41298 /* System header to define __stub macros and hopefully few prototypes,
41299 which can conflict with char $ac_func (); below.
41300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41301 <limits.h> exists even on freestanding compilers. */
41302
41303 #ifdef __STDC__
41304 # include <limits.h>
41305 #else
41306 # include <assert.h>
41307 #endif
41308
41309 #undef $ac_func
41310
41311 /* Override any GCC internal prototype to avoid an error.
41312 Use char because int might match the return type of a GCC
41313 builtin and then its argument prototype would still apply. */
41314 #ifdef __cplusplus
41315 extern "C"
41316 #endif
41317 char $ac_func ();
41318 /* The GNU C library defines this for functions which it implements
41319 to always fail with ENOSYS. Some functions are actually named
41320 something starting with __ and the normal name is an alias. */
41321 #if defined __stub_$ac_func || defined __stub___$ac_func
41322 choke me
41323 #endif
41324
41325 int
41326 main ()
41327 {
41328 return $ac_func ();
41329 ;
41330 return 0;
41331 }
41332 _ACEOF
41333 rm -f conftest.$ac_objext conftest$ac_exeext
41334 if { (ac_try="$ac_link"
41335 case "(($ac_try" in
41336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41337 *) ac_try_echo=$ac_try;;
41338 esac
41339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41340 (eval "$ac_link") 2>conftest.er1
41341 ac_status=$?
41342 grep -v '^ *+' conftest.er1 >conftest.err
41343 rm -f conftest.er1
41344 cat conftest.err >&5
41345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41346 (exit $ac_status); } && {
41347 test -z "$ac_c_werror_flag" ||
41348 test ! -s conftest.err
41349 } && test -s conftest$ac_exeext &&
41350 $as_test_x conftest$ac_exeext; then
41351 eval "$as_ac_var=yes"
41352 else
41353 echo "$as_me: failed program was:" >&5
41354 sed 's/^/| /' conftest.$ac_ext >&5
41355
41356 eval "$as_ac_var=no"
41357 fi
41358
41359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41360 conftest$ac_exeext conftest.$ac_ext
41361 fi
41362 ac_res=`eval echo '${'$as_ac_var'}'`
41363 { echo "$as_me:$LINENO: result: $ac_res" >&5
41364 echo "${ECHO_T}$ac_res" >&6; }
41365 if test `eval echo '${'$as_ac_var'}'` = yes; then
41366 cat >>confdefs.h <<_ACEOF
41367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41368 _ACEOF
41369
41370 fi
41371 done
41372
41373
41374 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41375 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41376 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41377 echo $ECHO_N "(cached) $ECHO_C" >&6
41378 else
41379
41380 ac_ext=cpp
41381 ac_cpp='$CXXCPP $CPPFLAGS'
41382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41385
41386 cat >conftest.$ac_ext <<_ACEOF
41387 /* confdefs.h. */
41388 _ACEOF
41389 cat confdefs.h >>conftest.$ac_ext
41390 cat >>conftest.$ac_ext <<_ACEOF
41391 /* end confdefs.h. */
41392 #include <pthread.h>
41393 void ThreadCleanupFunc(void *p);
41394
41395 int
41396 main ()
41397 {
41398
41399 void *p;
41400 pthread_cleanup_push(ThreadCleanupFunc, p);
41401 pthread_cleanup_pop(0);
41402
41403 ;
41404 return 0;
41405 }
41406 _ACEOF
41407 rm -f conftest.$ac_objext
41408 if { (ac_try="$ac_compile"
41409 case "(($ac_try" in
41410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41411 *) ac_try_echo=$ac_try;;
41412 esac
41413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41414 (eval "$ac_compile") 2>conftest.er1
41415 ac_status=$?
41416 grep -v '^ *+' conftest.er1 >conftest.err
41417 rm -f conftest.er1
41418 cat conftest.err >&5
41419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41420 (exit $ac_status); } && {
41421 test -z "$ac_cxx_werror_flag" ||
41422 test ! -s conftest.err
41423 } && test -s conftest.$ac_objext; then
41424
41425 wx_cv_func_pthread_cleanup=yes
41426
41427 else
41428 echo "$as_me: failed program was:" >&5
41429 sed 's/^/| /' conftest.$ac_ext >&5
41430
41431
41432 wx_cv_func_pthread_cleanup=no
41433
41434
41435 fi
41436
41437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41438 ac_ext=c
41439 ac_cpp='$CPP $CPPFLAGS'
41440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41443
41444
41445 fi
41446 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41447 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41448 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41449 cat >>confdefs.h <<\_ACEOF
41450 #define wxHAVE_PTHREAD_CLEANUP 1
41451 _ACEOF
41452
41453 fi
41454
41455 { echo "$as_me:$LINENO: checking for sched.h" >&5
41456 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
41457 if test "${ac_cv_header_sched_h+set}" = set; then
41458 echo $ECHO_N "(cached) $ECHO_C" >&6
41459 else
41460 cat >conftest.$ac_ext <<_ACEOF
41461 /* confdefs.h. */
41462 _ACEOF
41463 cat confdefs.h >>conftest.$ac_ext
41464 cat >>conftest.$ac_ext <<_ACEOF
41465 /* end confdefs.h. */
41466 $ac_includes_default
41467
41468 #include <sched.h>
41469 _ACEOF
41470 rm -f conftest.$ac_objext
41471 if { (ac_try="$ac_compile"
41472 case "(($ac_try" in
41473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41474 *) ac_try_echo=$ac_try;;
41475 esac
41476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41477 (eval "$ac_compile") 2>conftest.er1
41478 ac_status=$?
41479 grep -v '^ *+' conftest.er1 >conftest.err
41480 rm -f conftest.er1
41481 cat conftest.err >&5
41482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41483 (exit $ac_status); } && {
41484 test -z "$ac_c_werror_flag" ||
41485 test ! -s conftest.err
41486 } && test -s conftest.$ac_objext; then
41487 ac_cv_header_sched_h=yes
41488 else
41489 echo "$as_me: failed program was:" >&5
41490 sed 's/^/| /' conftest.$ac_ext >&5
41491
41492 ac_cv_header_sched_h=no
41493 fi
41494
41495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41496 fi
41497 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
41498 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
41499
41500
41501 if test "$ac_cv_header_sched_h" = "yes"; then
41502 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41503 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41504 if test "${ac_cv_func_sched_yield+set}" = set; then
41505 echo $ECHO_N "(cached) $ECHO_C" >&6
41506 else
41507 cat >conftest.$ac_ext <<_ACEOF
41508 /* confdefs.h. */
41509 _ACEOF
41510 cat confdefs.h >>conftest.$ac_ext
41511 cat >>conftest.$ac_ext <<_ACEOF
41512 /* end confdefs.h. */
41513 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41515 #define sched_yield innocuous_sched_yield
41516
41517 /* System header to define __stub macros and hopefully few prototypes,
41518 which can conflict with char sched_yield (); below.
41519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41520 <limits.h> exists even on freestanding compilers. */
41521
41522 #ifdef __STDC__
41523 # include <limits.h>
41524 #else
41525 # include <assert.h>
41526 #endif
41527
41528 #undef sched_yield
41529
41530 /* Override any GCC internal prototype to avoid an error.
41531 Use char because int might match the return type of a GCC
41532 builtin and then its argument prototype would still apply. */
41533 #ifdef __cplusplus
41534 extern "C"
41535 #endif
41536 char sched_yield ();
41537 /* The GNU C library defines this for functions which it implements
41538 to always fail with ENOSYS. Some functions are actually named
41539 something starting with __ and the normal name is an alias. */
41540 #if defined __stub_sched_yield || defined __stub___sched_yield
41541 choke me
41542 #endif
41543
41544 int
41545 main ()
41546 {
41547 return sched_yield ();
41548 ;
41549 return 0;
41550 }
41551 _ACEOF
41552 rm -f conftest.$ac_objext conftest$ac_exeext
41553 if { (ac_try="$ac_link"
41554 case "(($ac_try" in
41555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41556 *) ac_try_echo=$ac_try;;
41557 esac
41558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41559 (eval "$ac_link") 2>conftest.er1
41560 ac_status=$?
41561 grep -v '^ *+' conftest.er1 >conftest.err
41562 rm -f conftest.er1
41563 cat conftest.err >&5
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); } && {
41566 test -z "$ac_c_werror_flag" ||
41567 test ! -s conftest.err
41568 } && test -s conftest$ac_exeext &&
41569 $as_test_x conftest$ac_exeext; then
41570 ac_cv_func_sched_yield=yes
41571 else
41572 echo "$as_me: failed program was:" >&5
41573 sed 's/^/| /' conftest.$ac_ext >&5
41574
41575 ac_cv_func_sched_yield=no
41576 fi
41577
41578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41579 conftest$ac_exeext conftest.$ac_ext
41580 fi
41581 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41582 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41583 if test $ac_cv_func_sched_yield = yes; then
41584 cat >>confdefs.h <<\_ACEOF
41585 #define HAVE_SCHED_YIELD 1
41586 _ACEOF
41587
41588 else
41589
41590 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41591 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41592 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41593 echo $ECHO_N "(cached) $ECHO_C" >&6
41594 else
41595 ac_check_lib_save_LIBS=$LIBS
41596 LIBS="-lposix4 $LIBS"
41597 cat >conftest.$ac_ext <<_ACEOF
41598 /* confdefs.h. */
41599 _ACEOF
41600 cat confdefs.h >>conftest.$ac_ext
41601 cat >>conftest.$ac_ext <<_ACEOF
41602 /* end confdefs.h. */
41603
41604 /* Override any GCC internal prototype to avoid an error.
41605 Use char because int might match the return type of a GCC
41606 builtin and then its argument prototype would still apply. */
41607 #ifdef __cplusplus
41608 extern "C"
41609 #endif
41610 char sched_yield ();
41611 int
41612 main ()
41613 {
41614 return sched_yield ();
41615 ;
41616 return 0;
41617 }
41618 _ACEOF
41619 rm -f conftest.$ac_objext conftest$ac_exeext
41620 if { (ac_try="$ac_link"
41621 case "(($ac_try" in
41622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41623 *) ac_try_echo=$ac_try;;
41624 esac
41625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41626 (eval "$ac_link") 2>conftest.er1
41627 ac_status=$?
41628 grep -v '^ *+' conftest.er1 >conftest.err
41629 rm -f conftest.er1
41630 cat conftest.err >&5
41631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41632 (exit $ac_status); } && {
41633 test -z "$ac_c_werror_flag" ||
41634 test ! -s conftest.err
41635 } && test -s conftest$ac_exeext &&
41636 $as_test_x conftest$ac_exeext; then
41637 ac_cv_lib_posix4_sched_yield=yes
41638 else
41639 echo "$as_me: failed program was:" >&5
41640 sed 's/^/| /' conftest.$ac_ext >&5
41641
41642 ac_cv_lib_posix4_sched_yield=no
41643 fi
41644
41645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41646 conftest$ac_exeext conftest.$ac_ext
41647 LIBS=$ac_check_lib_save_LIBS
41648 fi
41649 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41650 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41651 if test $ac_cv_lib_posix4_sched_yield = yes; then
41652 cat >>confdefs.h <<\_ACEOF
41653 #define HAVE_SCHED_YIELD 1
41654 _ACEOF
41655 POSIX4_LINK=" -lposix4"
41656 else
41657 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41658 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41659
41660 fi
41661
41662
41663
41664 fi
41665
41666 fi
41667
41668 HAVE_PRIOR_FUNCS=0
41669 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41670 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41671 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41672 echo $ECHO_N "(cached) $ECHO_C" >&6
41673 else
41674 cat >conftest.$ac_ext <<_ACEOF
41675 /* confdefs.h. */
41676 _ACEOF
41677 cat confdefs.h >>conftest.$ac_ext
41678 cat >>conftest.$ac_ext <<_ACEOF
41679 /* end confdefs.h. */
41680 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41682 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41683
41684 /* System header to define __stub macros and hopefully few prototypes,
41685 which can conflict with char pthread_attr_getschedpolicy (); below.
41686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41687 <limits.h> exists even on freestanding compilers. */
41688
41689 #ifdef __STDC__
41690 # include <limits.h>
41691 #else
41692 # include <assert.h>
41693 #endif
41694
41695 #undef pthread_attr_getschedpolicy
41696
41697 /* Override any GCC internal prototype to avoid an error.
41698 Use char because int might match the return type of a GCC
41699 builtin and then its argument prototype would still apply. */
41700 #ifdef __cplusplus
41701 extern "C"
41702 #endif
41703 char pthread_attr_getschedpolicy ();
41704 /* The GNU C library defines this for functions which it implements
41705 to always fail with ENOSYS. Some functions are actually named
41706 something starting with __ and the normal name is an alias. */
41707 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41708 choke me
41709 #endif
41710
41711 int
41712 main ()
41713 {
41714 return pthread_attr_getschedpolicy ();
41715 ;
41716 return 0;
41717 }
41718 _ACEOF
41719 rm -f conftest.$ac_objext conftest$ac_exeext
41720 if { (ac_try="$ac_link"
41721 case "(($ac_try" in
41722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41723 *) ac_try_echo=$ac_try;;
41724 esac
41725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41726 (eval "$ac_link") 2>conftest.er1
41727 ac_status=$?
41728 grep -v '^ *+' conftest.er1 >conftest.err
41729 rm -f conftest.er1
41730 cat conftest.err >&5
41731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41732 (exit $ac_status); } && {
41733 test -z "$ac_c_werror_flag" ||
41734 test ! -s conftest.err
41735 } && test -s conftest$ac_exeext &&
41736 $as_test_x conftest$ac_exeext; then
41737 ac_cv_func_pthread_attr_getschedpolicy=yes
41738 else
41739 echo "$as_me: failed program was:" >&5
41740 sed 's/^/| /' conftest.$ac_ext >&5
41741
41742 ac_cv_func_pthread_attr_getschedpolicy=no
41743 fi
41744
41745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41746 conftest$ac_exeext conftest.$ac_ext
41747 fi
41748 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41749 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41750 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41751 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41752 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41753 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41754 echo $ECHO_N "(cached) $ECHO_C" >&6
41755 else
41756 cat >conftest.$ac_ext <<_ACEOF
41757 /* confdefs.h. */
41758 _ACEOF
41759 cat confdefs.h >>conftest.$ac_ext
41760 cat >>conftest.$ac_ext <<_ACEOF
41761 /* end confdefs.h. */
41762 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41764 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41765
41766 /* System header to define __stub macros and hopefully few prototypes,
41767 which can conflict with char pthread_attr_setschedparam (); below.
41768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41769 <limits.h> exists even on freestanding compilers. */
41770
41771 #ifdef __STDC__
41772 # include <limits.h>
41773 #else
41774 # include <assert.h>
41775 #endif
41776
41777 #undef pthread_attr_setschedparam
41778
41779 /* Override any GCC internal prototype to avoid an error.
41780 Use char because int might match the return type of a GCC
41781 builtin and then its argument prototype would still apply. */
41782 #ifdef __cplusplus
41783 extern "C"
41784 #endif
41785 char pthread_attr_setschedparam ();
41786 /* The GNU C library defines this for functions which it implements
41787 to always fail with ENOSYS. Some functions are actually named
41788 something starting with __ and the normal name is an alias. */
41789 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41790 choke me
41791 #endif
41792
41793 int
41794 main ()
41795 {
41796 return pthread_attr_setschedparam ();
41797 ;
41798 return 0;
41799 }
41800 _ACEOF
41801 rm -f conftest.$ac_objext conftest$ac_exeext
41802 if { (ac_try="$ac_link"
41803 case "(($ac_try" in
41804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41805 *) ac_try_echo=$ac_try;;
41806 esac
41807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41808 (eval "$ac_link") 2>conftest.er1
41809 ac_status=$?
41810 grep -v '^ *+' conftest.er1 >conftest.err
41811 rm -f conftest.er1
41812 cat conftest.err >&5
41813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41814 (exit $ac_status); } && {
41815 test -z "$ac_c_werror_flag" ||
41816 test ! -s conftest.err
41817 } && test -s conftest$ac_exeext &&
41818 $as_test_x conftest$ac_exeext; then
41819 ac_cv_func_pthread_attr_setschedparam=yes
41820 else
41821 echo "$as_me: failed program was:" >&5
41822 sed 's/^/| /' conftest.$ac_ext >&5
41823
41824 ac_cv_func_pthread_attr_setschedparam=no
41825 fi
41826
41827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41828 conftest$ac_exeext conftest.$ac_ext
41829 fi
41830 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41831 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41832 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41833 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41834 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41835 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41836 echo $ECHO_N "(cached) $ECHO_C" >&6
41837 else
41838 cat >conftest.$ac_ext <<_ACEOF
41839 /* confdefs.h. */
41840 _ACEOF
41841 cat confdefs.h >>conftest.$ac_ext
41842 cat >>conftest.$ac_ext <<_ACEOF
41843 /* end confdefs.h. */
41844 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41846 #define sched_get_priority_max innocuous_sched_get_priority_max
41847
41848 /* System header to define __stub macros and hopefully few prototypes,
41849 which can conflict with char sched_get_priority_max (); below.
41850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41851 <limits.h> exists even on freestanding compilers. */
41852
41853 #ifdef __STDC__
41854 # include <limits.h>
41855 #else
41856 # include <assert.h>
41857 #endif
41858
41859 #undef sched_get_priority_max
41860
41861 /* Override any GCC internal prototype to avoid an error.
41862 Use char because int might match the return type of a GCC
41863 builtin and then its argument prototype would still apply. */
41864 #ifdef __cplusplus
41865 extern "C"
41866 #endif
41867 char sched_get_priority_max ();
41868 /* The GNU C library defines this for functions which it implements
41869 to always fail with ENOSYS. Some functions are actually named
41870 something starting with __ and the normal name is an alias. */
41871 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41872 choke me
41873 #endif
41874
41875 int
41876 main ()
41877 {
41878 return sched_get_priority_max ();
41879 ;
41880 return 0;
41881 }
41882 _ACEOF
41883 rm -f conftest.$ac_objext conftest$ac_exeext
41884 if { (ac_try="$ac_link"
41885 case "(($ac_try" in
41886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41887 *) ac_try_echo=$ac_try;;
41888 esac
41889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41890 (eval "$ac_link") 2>conftest.er1
41891 ac_status=$?
41892 grep -v '^ *+' conftest.er1 >conftest.err
41893 rm -f conftest.er1
41894 cat conftest.err >&5
41895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41896 (exit $ac_status); } && {
41897 test -z "$ac_c_werror_flag" ||
41898 test ! -s conftest.err
41899 } && test -s conftest$ac_exeext &&
41900 $as_test_x conftest$ac_exeext; then
41901 ac_cv_func_sched_get_priority_max=yes
41902 else
41903 echo "$as_me: failed program was:" >&5
41904 sed 's/^/| /' conftest.$ac_ext >&5
41905
41906 ac_cv_func_sched_get_priority_max=no
41907 fi
41908
41909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41910 conftest$ac_exeext conftest.$ac_ext
41911 fi
41912 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41913 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41914 if test $ac_cv_func_sched_get_priority_max = yes; then
41915 HAVE_PRIOR_FUNCS=1
41916 else
41917 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41918 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41919 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41920 echo $ECHO_N "(cached) $ECHO_C" >&6
41921 else
41922 ac_check_lib_save_LIBS=$LIBS
41923 LIBS="-lposix4 $LIBS"
41924 cat >conftest.$ac_ext <<_ACEOF
41925 /* confdefs.h. */
41926 _ACEOF
41927 cat confdefs.h >>conftest.$ac_ext
41928 cat >>conftest.$ac_ext <<_ACEOF
41929 /* end confdefs.h. */
41930
41931 /* Override any GCC internal prototype to avoid an error.
41932 Use char because int might match the return type of a GCC
41933 builtin and then its argument prototype would still apply. */
41934 #ifdef __cplusplus
41935 extern "C"
41936 #endif
41937 char sched_get_priority_max ();
41938 int
41939 main ()
41940 {
41941 return sched_get_priority_max ();
41942 ;
41943 return 0;
41944 }
41945 _ACEOF
41946 rm -f conftest.$ac_objext conftest$ac_exeext
41947 if { (ac_try="$ac_link"
41948 case "(($ac_try" in
41949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41950 *) ac_try_echo=$ac_try;;
41951 esac
41952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41953 (eval "$ac_link") 2>conftest.er1
41954 ac_status=$?
41955 grep -v '^ *+' conftest.er1 >conftest.err
41956 rm -f conftest.er1
41957 cat conftest.err >&5
41958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959 (exit $ac_status); } && {
41960 test -z "$ac_c_werror_flag" ||
41961 test ! -s conftest.err
41962 } && test -s conftest$ac_exeext &&
41963 $as_test_x conftest$ac_exeext; then
41964 ac_cv_lib_posix4_sched_get_priority_max=yes
41965 else
41966 echo "$as_me: failed program was:" >&5
41967 sed 's/^/| /' conftest.$ac_ext >&5
41968
41969 ac_cv_lib_posix4_sched_get_priority_max=no
41970 fi
41971
41972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41973 conftest$ac_exeext conftest.$ac_ext
41974 LIBS=$ac_check_lib_save_LIBS
41975 fi
41976 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41977 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41978 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41979
41980 HAVE_PRIOR_FUNCS=1
41981 POSIX4_LINK=" -lposix4"
41982
41983 fi
41984
41985
41986 fi
41987
41988
41989 fi
41990
41991
41992 fi
41993
41994
41995 if test "$HAVE_PRIOR_FUNCS" = 1; then
41996 cat >>confdefs.h <<\_ACEOF
41997 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41998 _ACEOF
41999
42000 else
42001 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42002 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42003 fi
42004
42005 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42006 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42007 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42008 echo $ECHO_N "(cached) $ECHO_C" >&6
42009 else
42010 cat >conftest.$ac_ext <<_ACEOF
42011 /* confdefs.h. */
42012 _ACEOF
42013 cat confdefs.h >>conftest.$ac_ext
42014 cat >>conftest.$ac_ext <<_ACEOF
42015 /* end confdefs.h. */
42016 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42018 #define pthread_cancel innocuous_pthread_cancel
42019
42020 /* System header to define __stub macros and hopefully few prototypes,
42021 which can conflict with char pthread_cancel (); below.
42022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42023 <limits.h> exists even on freestanding compilers. */
42024
42025 #ifdef __STDC__
42026 # include <limits.h>
42027 #else
42028 # include <assert.h>
42029 #endif
42030
42031 #undef pthread_cancel
42032
42033 /* Override any GCC internal prototype to avoid an error.
42034 Use char because int might match the return type of a GCC
42035 builtin and then its argument prototype would still apply. */
42036 #ifdef __cplusplus
42037 extern "C"
42038 #endif
42039 char pthread_cancel ();
42040 /* The GNU C library defines this for functions which it implements
42041 to always fail with ENOSYS. Some functions are actually named
42042 something starting with __ and the normal name is an alias. */
42043 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42044 choke me
42045 #endif
42046
42047 int
42048 main ()
42049 {
42050 return pthread_cancel ();
42051 ;
42052 return 0;
42053 }
42054 _ACEOF
42055 rm -f conftest.$ac_objext conftest$ac_exeext
42056 if { (ac_try="$ac_link"
42057 case "(($ac_try" in
42058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42059 *) ac_try_echo=$ac_try;;
42060 esac
42061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42062 (eval "$ac_link") 2>conftest.er1
42063 ac_status=$?
42064 grep -v '^ *+' conftest.er1 >conftest.err
42065 rm -f conftest.er1
42066 cat conftest.err >&5
42067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42068 (exit $ac_status); } && {
42069 test -z "$ac_c_werror_flag" ||
42070 test ! -s conftest.err
42071 } && test -s conftest$ac_exeext &&
42072 $as_test_x conftest$ac_exeext; then
42073 ac_cv_func_pthread_cancel=yes
42074 else
42075 echo "$as_me: failed program was:" >&5
42076 sed 's/^/| /' conftest.$ac_ext >&5
42077
42078 ac_cv_func_pthread_cancel=no
42079 fi
42080
42081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42082 conftest$ac_exeext conftest.$ac_ext
42083 fi
42084 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42085 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42086 if test $ac_cv_func_pthread_cancel = yes; then
42087 cat >>confdefs.h <<\_ACEOF
42088 #define HAVE_PTHREAD_CANCEL 1
42089 _ACEOF
42090
42091 else
42092 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42093 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42094 fi
42095
42096
42097 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42098 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42099 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42100 echo $ECHO_N "(cached) $ECHO_C" >&6
42101 else
42102 cat >conftest.$ac_ext <<_ACEOF
42103 /* confdefs.h. */
42104 _ACEOF
42105 cat confdefs.h >>conftest.$ac_ext
42106 cat >>conftest.$ac_ext <<_ACEOF
42107 /* end confdefs.h. */
42108 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42110 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42111
42112 /* System header to define __stub macros and hopefully few prototypes,
42113 which can conflict with char pthread_mutex_timedlock (); below.
42114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42115 <limits.h> exists even on freestanding compilers. */
42116
42117 #ifdef __STDC__
42118 # include <limits.h>
42119 #else
42120 # include <assert.h>
42121 #endif
42122
42123 #undef pthread_mutex_timedlock
42124
42125 /* Override any GCC internal prototype to avoid an error.
42126 Use char because int might match the return type of a GCC
42127 builtin and then its argument prototype would still apply. */
42128 #ifdef __cplusplus
42129 extern "C"
42130 #endif
42131 char pthread_mutex_timedlock ();
42132 /* The GNU C library defines this for functions which it implements
42133 to always fail with ENOSYS. Some functions are actually named
42134 something starting with __ and the normal name is an alias. */
42135 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42136 choke me
42137 #endif
42138
42139 int
42140 main ()
42141 {
42142 return pthread_mutex_timedlock ();
42143 ;
42144 return 0;
42145 }
42146 _ACEOF
42147 rm -f conftest.$ac_objext conftest$ac_exeext
42148 if { (ac_try="$ac_link"
42149 case "(($ac_try" in
42150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42151 *) ac_try_echo=$ac_try;;
42152 esac
42153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42154 (eval "$ac_link") 2>conftest.er1
42155 ac_status=$?
42156 grep -v '^ *+' conftest.er1 >conftest.err
42157 rm -f conftest.er1
42158 cat conftest.err >&5
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); } && {
42161 test -z "$ac_c_werror_flag" ||
42162 test ! -s conftest.err
42163 } && test -s conftest$ac_exeext &&
42164 $as_test_x conftest$ac_exeext; then
42165 ac_cv_func_pthread_mutex_timedlock=yes
42166 else
42167 echo "$as_me: failed program was:" >&5
42168 sed 's/^/| /' conftest.$ac_ext >&5
42169
42170 ac_cv_func_pthread_mutex_timedlock=no
42171 fi
42172
42173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42174 conftest$ac_exeext conftest.$ac_ext
42175 fi
42176 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42177 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42178 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42179 cat >>confdefs.h <<\_ACEOF
42180 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42181 _ACEOF
42182
42183 else
42184 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42185 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42186 fi
42187
42188
42189 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42190 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42191 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42192 echo $ECHO_N "(cached) $ECHO_C" >&6
42193 else
42194 cat >conftest.$ac_ext <<_ACEOF
42195 /* confdefs.h. */
42196 _ACEOF
42197 cat confdefs.h >>conftest.$ac_ext
42198 cat >>conftest.$ac_ext <<_ACEOF
42199 /* end confdefs.h. */
42200 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42202 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42203
42204 /* System header to define __stub macros and hopefully few prototypes,
42205 which can conflict with char pthread_attr_setstacksize (); below.
42206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42207 <limits.h> exists even on freestanding compilers. */
42208
42209 #ifdef __STDC__
42210 # include <limits.h>
42211 #else
42212 # include <assert.h>
42213 #endif
42214
42215 #undef pthread_attr_setstacksize
42216
42217 /* Override any GCC internal prototype to avoid an error.
42218 Use char because int might match the return type of a GCC
42219 builtin and then its argument prototype would still apply. */
42220 #ifdef __cplusplus
42221 extern "C"
42222 #endif
42223 char pthread_attr_setstacksize ();
42224 /* The GNU C library defines this for functions which it implements
42225 to always fail with ENOSYS. Some functions are actually named
42226 something starting with __ and the normal name is an alias. */
42227 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42228 choke me
42229 #endif
42230
42231 int
42232 main ()
42233 {
42234 return pthread_attr_setstacksize ();
42235 ;
42236 return 0;
42237 }
42238 _ACEOF
42239 rm -f conftest.$ac_objext conftest$ac_exeext
42240 if { (ac_try="$ac_link"
42241 case "(($ac_try" in
42242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42243 *) ac_try_echo=$ac_try;;
42244 esac
42245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42246 (eval "$ac_link") 2>conftest.er1
42247 ac_status=$?
42248 grep -v '^ *+' conftest.er1 >conftest.err
42249 rm -f conftest.er1
42250 cat conftest.err >&5
42251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42252 (exit $ac_status); } && {
42253 test -z "$ac_c_werror_flag" ||
42254 test ! -s conftest.err
42255 } && test -s conftest$ac_exeext &&
42256 $as_test_x conftest$ac_exeext; then
42257 ac_cv_func_pthread_attr_setstacksize=yes
42258 else
42259 echo "$as_me: failed program was:" >&5
42260 sed 's/^/| /' conftest.$ac_ext >&5
42261
42262 ac_cv_func_pthread_attr_setstacksize=no
42263 fi
42264
42265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42266 conftest$ac_exeext conftest.$ac_ext
42267 fi
42268 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42269 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42270 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42271 cat >>confdefs.h <<\_ACEOF
42272 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42273 _ACEOF
42274
42275 fi
42276
42277
42278
42279 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42280 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42281 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42282 echo $ECHO_N "(cached) $ECHO_C" >&6
42283 else
42284
42285 cat >conftest.$ac_ext <<_ACEOF
42286 /* confdefs.h. */
42287 _ACEOF
42288 cat confdefs.h >>conftest.$ac_ext
42289 cat >>conftest.$ac_ext <<_ACEOF
42290 /* end confdefs.h. */
42291 #include <pthread.h>
42292 int
42293 main ()
42294 {
42295
42296 pthread_mutexattr_t attr;
42297 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42298
42299 ;
42300 return 0;
42301 }
42302 _ACEOF
42303 rm -f conftest.$ac_objext
42304 if { (ac_try="$ac_compile"
42305 case "(($ac_try" in
42306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42307 *) ac_try_echo=$ac_try;;
42308 esac
42309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42310 (eval "$ac_compile") 2>conftest.er1
42311 ac_status=$?
42312 grep -v '^ *+' conftest.er1 >conftest.err
42313 rm -f conftest.er1
42314 cat conftest.err >&5
42315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42316 (exit $ac_status); } && {
42317 test -z "$ac_c_werror_flag" ||
42318 test ! -s conftest.err
42319 } && test -s conftest.$ac_objext; then
42320 wx_cv_type_pthread_mutexattr_t=yes
42321 else
42322 echo "$as_me: failed program was:" >&5
42323 sed 's/^/| /' conftest.$ac_ext >&5
42324
42325 wx_cv_type_pthread_mutexattr_t=no
42326
42327 fi
42328
42329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42330
42331 fi
42332 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42333 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42334
42335 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42336 cat >>confdefs.h <<\_ACEOF
42337 #define HAVE_PTHREAD_MUTEXATTR_T 1
42338 _ACEOF
42339
42340
42341 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42342 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42343 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42344 echo $ECHO_N "(cached) $ECHO_C" >&6
42345 else
42346
42347 cat >conftest.$ac_ext <<_ACEOF
42348 /* confdefs.h. */
42349 _ACEOF
42350 cat confdefs.h >>conftest.$ac_ext
42351 cat >>conftest.$ac_ext <<_ACEOF
42352 /* end confdefs.h. */
42353 #include <pthread.h>
42354 int
42355 main ()
42356 {
42357
42358 pthread_mutexattr_t attr;
42359 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42360
42361 ;
42362 return 0;
42363 }
42364 _ACEOF
42365 rm -f conftest.$ac_objext
42366 if { (ac_try="$ac_compile"
42367 case "(($ac_try" in
42368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42369 *) ac_try_echo=$ac_try;;
42370 esac
42371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42372 (eval "$ac_compile") 2>conftest.er1
42373 ac_status=$?
42374 grep -v '^ *+' conftest.er1 >conftest.err
42375 rm -f conftest.er1
42376 cat conftest.err >&5
42377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42378 (exit $ac_status); } && {
42379 test -z "$ac_c_werror_flag" ||
42380 test ! -s conftest.err
42381 } && test -s conftest.$ac_objext; then
42382 wx_cv_func_pthread_mutexattr_settype_decl=yes
42383 else
42384 echo "$as_me: failed program was:" >&5
42385 sed 's/^/| /' conftest.$ac_ext >&5
42386
42387 wx_cv_func_pthread_mutexattr_settype_decl=no
42388
42389 fi
42390
42391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42392
42393 fi
42394 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42395 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42396 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42397 cat >>confdefs.h <<\_ACEOF
42398 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42399 _ACEOF
42400
42401 fi
42402 else
42403 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42404 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42405 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42406 echo $ECHO_N "(cached) $ECHO_C" >&6
42407 else
42408
42409 cat >conftest.$ac_ext <<_ACEOF
42410 /* confdefs.h. */
42411 _ACEOF
42412 cat confdefs.h >>conftest.$ac_ext
42413 cat >>conftest.$ac_ext <<_ACEOF
42414 /* end confdefs.h. */
42415 #include <pthread.h>
42416 int
42417 main ()
42418 {
42419
42420 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42421
42422 ;
42423 return 0;
42424 }
42425 _ACEOF
42426 rm -f conftest.$ac_objext
42427 if { (ac_try="$ac_compile"
42428 case "(($ac_try" in
42429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42430 *) ac_try_echo=$ac_try;;
42431 esac
42432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42433 (eval "$ac_compile") 2>conftest.er1
42434 ac_status=$?
42435 grep -v '^ *+' conftest.er1 >conftest.err
42436 rm -f conftest.er1
42437 cat conftest.err >&5
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); } && {
42440 test -z "$ac_c_werror_flag" ||
42441 test ! -s conftest.err
42442 } && test -s conftest.$ac_objext; then
42443
42444 wx_cv_type_pthread_rec_mutex_init=yes
42445
42446 else
42447 echo "$as_me: failed program was:" >&5
42448 sed 's/^/| /' conftest.$ac_ext >&5
42449
42450
42451 wx_cv_type_pthread_rec_mutex_init=no
42452
42453
42454 fi
42455
42456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42457
42458 fi
42459 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42460 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42461 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42462 cat >>confdefs.h <<\_ACEOF
42463 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42464 _ACEOF
42465
42466 else
42467 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42468 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42469 fi
42470 fi
42471 fi
42472
42473 else
42474 if test "$wxUSE_THREADS" = "yes" ; then
42475 case "${host}" in
42476 *-*-mingw32* )
42477 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42478 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42479 if test "${wx_cv_cflags_mthread+set}" = set; then
42480 echo $ECHO_N "(cached) $ECHO_C" >&6
42481 else
42482
42483 CFLAGS_OLD="$CFLAGS"
42484 CFLAGS="-mthreads $CFLAGS"
42485 cat >conftest.$ac_ext <<_ACEOF
42486 /* confdefs.h. */
42487 _ACEOF
42488 cat confdefs.h >>conftest.$ac_ext
42489 cat >>conftest.$ac_ext <<_ACEOF
42490 /* end confdefs.h. */
42491
42492 int
42493 main ()
42494 {
42495
42496 ;
42497 return 0;
42498 }
42499 _ACEOF
42500 rm -f conftest.$ac_objext
42501 if { (ac_try="$ac_compile"
42502 case "(($ac_try" in
42503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42504 *) ac_try_echo=$ac_try;;
42505 esac
42506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42507 (eval "$ac_compile") 2>conftest.er1
42508 ac_status=$?
42509 grep -v '^ *+' conftest.er1 >conftest.err
42510 rm -f conftest.er1
42511 cat conftest.err >&5
42512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42513 (exit $ac_status); } && {
42514 test -z "$ac_c_werror_flag" ||
42515 test ! -s conftest.err
42516 } && test -s conftest.$ac_objext; then
42517 wx_cv_cflags_mthread=yes
42518 else
42519 echo "$as_me: failed program was:" >&5
42520 sed 's/^/| /' conftest.$ac_ext >&5
42521
42522 wx_cv_cflags_mthread=no
42523
42524 fi
42525
42526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42527
42528
42529 fi
42530 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42531 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42532
42533 if test "$wx_cv_cflags_mthread" = "yes"; then
42534 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42535 LDFLAGS="$LDFLAGS -mthreads"
42536 else
42537 CFLAGS="$CFLAGS_OLD"
42538 fi
42539 ;;
42540 *-pc-os2*emx )
42541 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42542 LDFLAGS="$LDFLAGS -Zmt"
42543 ;;
42544 esac
42545 fi
42546 fi
42547
42548 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42549 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42550 if test "${ac_cv_func_localtime_r+set}" = set; then
42551 echo $ECHO_N "(cached) $ECHO_C" >&6
42552 else
42553 cat >conftest.$ac_ext <<_ACEOF
42554 /* confdefs.h. */
42555 _ACEOF
42556 cat confdefs.h >>conftest.$ac_ext
42557 cat >>conftest.$ac_ext <<_ACEOF
42558 /* end confdefs.h. */
42559 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42561 #define localtime_r innocuous_localtime_r
42562
42563 /* System header to define __stub macros and hopefully few prototypes,
42564 which can conflict with char localtime_r (); below.
42565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42566 <limits.h> exists even on freestanding compilers. */
42567
42568 #ifdef __STDC__
42569 # include <limits.h>
42570 #else
42571 # include <assert.h>
42572 #endif
42573
42574 #undef localtime_r
42575
42576 /* Override any GCC internal prototype to avoid an error.
42577 Use char because int might match the return type of a GCC
42578 builtin and then its argument prototype would still apply. */
42579 #ifdef __cplusplus
42580 extern "C"
42581 #endif
42582 char localtime_r ();
42583 /* The GNU C library defines this for functions which it implements
42584 to always fail with ENOSYS. Some functions are actually named
42585 something starting with __ and the normal name is an alias. */
42586 #if defined __stub_localtime_r || defined __stub___localtime_r
42587 choke me
42588 #endif
42589
42590 int
42591 main ()
42592 {
42593 return localtime_r ();
42594 ;
42595 return 0;
42596 }
42597 _ACEOF
42598 rm -f conftest.$ac_objext conftest$ac_exeext
42599 if { (ac_try="$ac_link"
42600 case "(($ac_try" in
42601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42602 *) ac_try_echo=$ac_try;;
42603 esac
42604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42605 (eval "$ac_link") 2>conftest.er1
42606 ac_status=$?
42607 grep -v '^ *+' conftest.er1 >conftest.err
42608 rm -f conftest.er1
42609 cat conftest.err >&5
42610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42611 (exit $ac_status); } && {
42612 test -z "$ac_c_werror_flag" ||
42613 test ! -s conftest.err
42614 } && test -s conftest$ac_exeext &&
42615 $as_test_x conftest$ac_exeext; then
42616 ac_cv_func_localtime_r=yes
42617 else
42618 echo "$as_me: failed program was:" >&5
42619 sed 's/^/| /' conftest.$ac_ext >&5
42620
42621 ac_cv_func_localtime_r=no
42622 fi
42623
42624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42625 conftest$ac_exeext conftest.$ac_ext
42626 fi
42627 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42628 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42629 if test $ac_cv_func_localtime_r = yes; then
42630 cat >>confdefs.h <<\_ACEOF
42631 #define HAVE_LOCALTIME_R 1
42632 _ACEOF
42633
42634 fi
42635
42636 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42637 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42638 if test "${ac_cv_func_gmtime_r+set}" = set; then
42639 echo $ECHO_N "(cached) $ECHO_C" >&6
42640 else
42641 cat >conftest.$ac_ext <<_ACEOF
42642 /* confdefs.h. */
42643 _ACEOF
42644 cat confdefs.h >>conftest.$ac_ext
42645 cat >>conftest.$ac_ext <<_ACEOF
42646 /* end confdefs.h. */
42647 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42649 #define gmtime_r innocuous_gmtime_r
42650
42651 /* System header to define __stub macros and hopefully few prototypes,
42652 which can conflict with char gmtime_r (); below.
42653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42654 <limits.h> exists even on freestanding compilers. */
42655
42656 #ifdef __STDC__
42657 # include <limits.h>
42658 #else
42659 # include <assert.h>
42660 #endif
42661
42662 #undef gmtime_r
42663
42664 /* Override any GCC internal prototype to avoid an error.
42665 Use char because int might match the return type of a GCC
42666 builtin and then its argument prototype would still apply. */
42667 #ifdef __cplusplus
42668 extern "C"
42669 #endif
42670 char gmtime_r ();
42671 /* The GNU C library defines this for functions which it implements
42672 to always fail with ENOSYS. Some functions are actually named
42673 something starting with __ and the normal name is an alias. */
42674 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42675 choke me
42676 #endif
42677
42678 int
42679 main ()
42680 {
42681 return gmtime_r ();
42682 ;
42683 return 0;
42684 }
42685 _ACEOF
42686 rm -f conftest.$ac_objext conftest$ac_exeext
42687 if { (ac_try="$ac_link"
42688 case "(($ac_try" in
42689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42690 *) ac_try_echo=$ac_try;;
42691 esac
42692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693 (eval "$ac_link") 2>conftest.er1
42694 ac_status=$?
42695 grep -v '^ *+' conftest.er1 >conftest.err
42696 rm -f conftest.er1
42697 cat conftest.err >&5
42698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699 (exit $ac_status); } && {
42700 test -z "$ac_c_werror_flag" ||
42701 test ! -s conftest.err
42702 } && test -s conftest$ac_exeext &&
42703 $as_test_x conftest$ac_exeext; then
42704 ac_cv_func_gmtime_r=yes
42705 else
42706 echo "$as_me: failed program was:" >&5
42707 sed 's/^/| /' conftest.$ac_ext >&5
42708
42709 ac_cv_func_gmtime_r=no
42710 fi
42711
42712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42713 conftest$ac_exeext conftest.$ac_ext
42714 fi
42715 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42716 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42717 if test $ac_cv_func_gmtime_r = yes; then
42718 cat >>confdefs.h <<\_ACEOF
42719 #define HAVE_GMTIME_R 1
42720 _ACEOF
42721
42722 fi
42723
42724 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42725 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42726 if test "${ac_cv_func_readdir_r+set}" = set; then
42727 echo $ECHO_N "(cached) $ECHO_C" >&6
42728 else
42729 cat >conftest.$ac_ext <<_ACEOF
42730 /* confdefs.h. */
42731 _ACEOF
42732 cat confdefs.h >>conftest.$ac_ext
42733 cat >>conftest.$ac_ext <<_ACEOF
42734 /* end confdefs.h. */
42735 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42737 #define readdir_r innocuous_readdir_r
42738
42739 /* System header to define __stub macros and hopefully few prototypes,
42740 which can conflict with char readdir_r (); below.
42741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42742 <limits.h> exists even on freestanding compilers. */
42743
42744 #ifdef __STDC__
42745 # include <limits.h>
42746 #else
42747 # include <assert.h>
42748 #endif
42749
42750 #undef readdir_r
42751
42752 /* Override any GCC internal prototype to avoid an error.
42753 Use char because int might match the return type of a GCC
42754 builtin and then its argument prototype would still apply. */
42755 #ifdef __cplusplus
42756 extern "C"
42757 #endif
42758 char readdir_r ();
42759 /* The GNU C library defines this for functions which it implements
42760 to always fail with ENOSYS. Some functions are actually named
42761 something starting with __ and the normal name is an alias. */
42762 #if defined __stub_readdir_r || defined __stub___readdir_r
42763 choke me
42764 #endif
42765
42766 int
42767 main ()
42768 {
42769 return readdir_r ();
42770 ;
42771 return 0;
42772 }
42773 _ACEOF
42774 rm -f conftest.$ac_objext conftest$ac_exeext
42775 if { (ac_try="$ac_link"
42776 case "(($ac_try" in
42777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42778 *) ac_try_echo=$ac_try;;
42779 esac
42780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42781 (eval "$ac_link") 2>conftest.er1
42782 ac_status=$?
42783 grep -v '^ *+' conftest.er1 >conftest.err
42784 rm -f conftest.er1
42785 cat conftest.err >&5
42786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42787 (exit $ac_status); } && {
42788 test -z "$ac_c_werror_flag" ||
42789 test ! -s conftest.err
42790 } && test -s conftest$ac_exeext &&
42791 $as_test_x conftest$ac_exeext; then
42792 ac_cv_func_readdir_r=yes
42793 else
42794 echo "$as_me: failed program was:" >&5
42795 sed 's/^/| /' conftest.$ac_ext >&5
42796
42797 ac_cv_func_readdir_r=no
42798 fi
42799
42800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42801 conftest$ac_exeext conftest.$ac_ext
42802 fi
42803 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42804 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42805 if test $ac_cv_func_readdir_r = yes; then
42806 cat >>confdefs.h <<\_ACEOF
42807 #define HAVE_READDIR_R 1
42808 _ACEOF
42809
42810 fi
42811
42812
42813
42814
42815 ac_ext=c
42816 ac_cpp='$CPP $CPPFLAGS'
42817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42820
42821 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42822 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42823
42824 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42825 echo $ECHO_N "(cached) $ECHO_C" >&6
42826 else
42827
42828
42829 ################################################################
42830
42831 ac_cv_func_which_gethostbyname_r=unknown
42832
42833 #
42834 # ONE ARGUMENT (sanity check)
42835 #
42836
42837 # This should fail, as there is no variant of gethostbyname_r() that takes
42838 # a single argument. If it actually compiles, then we can assume that
42839 # netdb.h is not declaring the function, and the compiler is thereby
42840 # assuming an implicit prototype. In which case, we're out of luck.
42841 #
42842 cat >conftest.$ac_ext <<_ACEOF
42843 /* confdefs.h. */
42844 _ACEOF
42845 cat confdefs.h >>conftest.$ac_ext
42846 cat >>conftest.$ac_ext <<_ACEOF
42847 /* end confdefs.h. */
42848 #include <netdb.h>
42849 int
42850 main ()
42851 {
42852
42853 char *name = "www.gnu.org";
42854 (void)gethostbyname_r(name) /* ; */
42855
42856 ;
42857 return 0;
42858 }
42859 _ACEOF
42860 rm -f conftest.$ac_objext
42861 if { (ac_try="$ac_compile"
42862 case "(($ac_try" in
42863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42864 *) ac_try_echo=$ac_try;;
42865 esac
42866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42867 (eval "$ac_compile") 2>conftest.er1
42868 ac_status=$?
42869 grep -v '^ *+' conftest.er1 >conftest.err
42870 rm -f conftest.er1
42871 cat conftest.err >&5
42872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42873 (exit $ac_status); } && {
42874 test -z "$ac_c_werror_flag" ||
42875 test ! -s conftest.err
42876 } && test -s conftest.$ac_objext; then
42877 ac_cv_func_which_gethostbyname_r=no
42878 else
42879 echo "$as_me: failed program was:" >&5
42880 sed 's/^/| /' conftest.$ac_ext >&5
42881
42882
42883 fi
42884
42885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42886
42887 #
42888 # SIX ARGUMENTS
42889 # (e.g. Linux)
42890 #
42891
42892 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42893
42894 cat >conftest.$ac_ext <<_ACEOF
42895 /* confdefs.h. */
42896 _ACEOF
42897 cat confdefs.h >>conftest.$ac_ext
42898 cat >>conftest.$ac_ext <<_ACEOF
42899 /* end confdefs.h. */
42900 #include <netdb.h>
42901 int
42902 main ()
42903 {
42904
42905 char *name = "www.gnu.org";
42906 struct hostent ret, *retp;
42907 char buf[1024];
42908 int buflen = 1024;
42909 int my_h_errno;
42910 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42911
42912 ;
42913 return 0;
42914 }
42915 _ACEOF
42916 rm -f conftest.$ac_objext
42917 if { (ac_try="$ac_compile"
42918 case "(($ac_try" in
42919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42920 *) ac_try_echo=$ac_try;;
42921 esac
42922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42923 (eval "$ac_compile") 2>conftest.er1
42924 ac_status=$?
42925 grep -v '^ *+' conftest.er1 >conftest.err
42926 rm -f conftest.er1
42927 cat conftest.err >&5
42928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42929 (exit $ac_status); } && {
42930 test -z "$ac_c_werror_flag" ||
42931 test ! -s conftest.err
42932 } && test -s conftest.$ac_objext; then
42933 ac_cv_func_which_gethostbyname_r=six
42934 else
42935 echo "$as_me: failed program was:" >&5
42936 sed 's/^/| /' conftest.$ac_ext >&5
42937
42938
42939 fi
42940
42941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42942
42943 fi
42944
42945 #
42946 # FIVE ARGUMENTS
42947 # (e.g. Solaris)
42948 #
42949
42950 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42951
42952 cat >conftest.$ac_ext <<_ACEOF
42953 /* confdefs.h. */
42954 _ACEOF
42955 cat confdefs.h >>conftest.$ac_ext
42956 cat >>conftest.$ac_ext <<_ACEOF
42957 /* end confdefs.h. */
42958 #include <netdb.h>
42959 int
42960 main ()
42961 {
42962
42963 char *name = "www.gnu.org";
42964 struct hostent ret;
42965 char buf[1024];
42966 int buflen = 1024;
42967 int my_h_errno;
42968 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42969
42970 ;
42971 return 0;
42972 }
42973 _ACEOF
42974 rm -f conftest.$ac_objext
42975 if { (ac_try="$ac_compile"
42976 case "(($ac_try" in
42977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42978 *) ac_try_echo=$ac_try;;
42979 esac
42980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42981 (eval "$ac_compile") 2>conftest.er1
42982 ac_status=$?
42983 grep -v '^ *+' conftest.er1 >conftest.err
42984 rm -f conftest.er1
42985 cat conftest.err >&5
42986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42987 (exit $ac_status); } && {
42988 test -z "$ac_c_werror_flag" ||
42989 test ! -s conftest.err
42990 } && test -s conftest.$ac_objext; then
42991 ac_cv_func_which_gethostbyname_r=five
42992 else
42993 echo "$as_me: failed program was:" >&5
42994 sed 's/^/| /' conftest.$ac_ext >&5
42995
42996
42997 fi
42998
42999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43000
43001 fi
43002
43003 #
43004 # THREE ARGUMENTS
43005 # (e.g. AIX, HP-UX, Tru64)
43006 #
43007
43008 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43009
43010 cat >conftest.$ac_ext <<_ACEOF
43011 /* confdefs.h. */
43012 _ACEOF
43013 cat confdefs.h >>conftest.$ac_ext
43014 cat >>conftest.$ac_ext <<_ACEOF
43015 /* end confdefs.h. */
43016 #include <netdb.h>
43017 int
43018 main ()
43019 {
43020
43021 char *name = "www.gnu.org";
43022 struct hostent ret;
43023 struct hostent_data data;
43024 (void)gethostbyname_r(name, &ret, &data) /* ; */
43025
43026 ;
43027 return 0;
43028 }
43029 _ACEOF
43030 rm -f conftest.$ac_objext
43031 if { (ac_try="$ac_compile"
43032 case "(($ac_try" in
43033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43034 *) ac_try_echo=$ac_try;;
43035 esac
43036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43037 (eval "$ac_compile") 2>conftest.er1
43038 ac_status=$?
43039 grep -v '^ *+' conftest.er1 >conftest.err
43040 rm -f conftest.er1
43041 cat conftest.err >&5
43042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43043 (exit $ac_status); } && {
43044 test -z "$ac_c_werror_flag" ||
43045 test ! -s conftest.err
43046 } && test -s conftest.$ac_objext; then
43047 ac_cv_func_which_gethostbyname_r=three
43048 else
43049 echo "$as_me: failed program was:" >&5
43050 sed 's/^/| /' conftest.$ac_ext >&5
43051
43052
43053 fi
43054
43055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43056
43057 fi
43058
43059 ################################################################
43060
43061
43062 fi
43063
43064 case "$ac_cv_func_which_gethostbyname_r" in
43065 three)
43066 { echo "$as_me:$LINENO: result: three" >&5
43067 echo "${ECHO_T}three" >&6; }
43068 cat >>confdefs.h <<\_ACEOF
43069 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43070 _ACEOF
43071
43072 ;;
43073
43074 five)
43075 { echo "$as_me:$LINENO: result: five" >&5
43076 echo "${ECHO_T}five" >&6; }
43077 cat >>confdefs.h <<\_ACEOF
43078 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43079 _ACEOF
43080
43081 ;;
43082
43083 six)
43084 { echo "$as_me:$LINENO: result: six" >&5
43085 echo "${ECHO_T}six" >&6; }
43086 cat >>confdefs.h <<\_ACEOF
43087 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43088 _ACEOF
43089
43090 ;;
43091
43092 no)
43093 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43094 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43095 ;;
43096
43097 unknown)
43098 { echo "$as_me:$LINENO: result: can't tell" >&5
43099 echo "${ECHO_T}can't tell" >&6; }
43100 ;;
43101
43102 *)
43103 { { echo "$as_me:$LINENO: error: internal error" >&5
43104 echo "$as_me: error: internal error" >&2;}
43105 { (exit 1); exit 1; }; }
43106 ;;
43107 esac
43108
43109 ac_ext=c
43110 ac_cpp='$CPP $CPPFLAGS'
43111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43114
43115
43116
43117 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43118 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43119 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43120 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43121 if test "${ac_cv_func_gethostbyname+set}" = set; then
43122 echo $ECHO_N "(cached) $ECHO_C" >&6
43123 else
43124 cat >conftest.$ac_ext <<_ACEOF
43125 /* confdefs.h. */
43126 _ACEOF
43127 cat confdefs.h >>conftest.$ac_ext
43128 cat >>conftest.$ac_ext <<_ACEOF
43129 /* end confdefs.h. */
43130 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43132 #define gethostbyname innocuous_gethostbyname
43133
43134 /* System header to define __stub macros and hopefully few prototypes,
43135 which can conflict with char gethostbyname (); below.
43136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43137 <limits.h> exists even on freestanding compilers. */
43138
43139 #ifdef __STDC__
43140 # include <limits.h>
43141 #else
43142 # include <assert.h>
43143 #endif
43144
43145 #undef gethostbyname
43146
43147 /* Override any GCC internal prototype to avoid an error.
43148 Use char because int might match the return type of a GCC
43149 builtin and then its argument prototype would still apply. */
43150 #ifdef __cplusplus
43151 extern "C"
43152 #endif
43153 char gethostbyname ();
43154 /* The GNU C library defines this for functions which it implements
43155 to always fail with ENOSYS. Some functions are actually named
43156 something starting with __ and the normal name is an alias. */
43157 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43158 choke me
43159 #endif
43160
43161 int
43162 main ()
43163 {
43164 return gethostbyname ();
43165 ;
43166 return 0;
43167 }
43168 _ACEOF
43169 rm -f conftest.$ac_objext conftest$ac_exeext
43170 if { (ac_try="$ac_link"
43171 case "(($ac_try" in
43172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43173 *) ac_try_echo=$ac_try;;
43174 esac
43175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43176 (eval "$ac_link") 2>conftest.er1
43177 ac_status=$?
43178 grep -v '^ *+' conftest.er1 >conftest.err
43179 rm -f conftest.er1
43180 cat conftest.err >&5
43181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43182 (exit $ac_status); } && {
43183 test -z "$ac_c_werror_flag" ||
43184 test ! -s conftest.err
43185 } && test -s conftest$ac_exeext &&
43186 $as_test_x conftest$ac_exeext; then
43187 ac_cv_func_gethostbyname=yes
43188 else
43189 echo "$as_me: failed program was:" >&5
43190 sed 's/^/| /' conftest.$ac_ext >&5
43191
43192 ac_cv_func_gethostbyname=no
43193 fi
43194
43195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43196 conftest$ac_exeext conftest.$ac_ext
43197 fi
43198 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43199 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43200 if test $ac_cv_func_gethostbyname = yes; then
43201 cat >>confdefs.h <<\_ACEOF
43202 #define HAVE_GETHOSTBYNAME 1
43203 _ACEOF
43204
43205 fi
43206
43207 fi
43208
43209 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43210 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43211 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43212 echo $ECHO_N "(cached) $ECHO_C" >&6
43213 else
43214
43215 ac_ext=cpp
43216 ac_cpp='$CXXCPP $CPPFLAGS'
43217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43220
43221
43222 cat >conftest.$ac_ext <<_ACEOF
43223 /* confdefs.h. */
43224 _ACEOF
43225 cat confdefs.h >>conftest.$ac_ext
43226 cat >>conftest.$ac_ext <<_ACEOF
43227 /* end confdefs.h. */
43228 #include <netdb.h>
43229 int
43230 main ()
43231 {
43232
43233 char *name;
43234 char *proto;
43235 struct servent *se, *res;
43236 char buffer[2048];
43237 int buflen = 2048;
43238 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43239
43240 ;
43241 return 0;
43242 }
43243 _ACEOF
43244 rm -f conftest.$ac_objext
43245 if { (ac_try="$ac_compile"
43246 case "(($ac_try" in
43247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43248 *) ac_try_echo=$ac_try;;
43249 esac
43250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43251 (eval "$ac_compile") 2>conftest.er1
43252 ac_status=$?
43253 grep -v '^ *+' conftest.er1 >conftest.err
43254 rm -f conftest.er1
43255 cat conftest.err >&5
43256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43257 (exit $ac_status); } && {
43258 test -z "$ac_cxx_werror_flag" ||
43259 test ! -s conftest.err
43260 } && test -s conftest.$ac_objext; then
43261 ac_cv_func_which_getservbyname_r=six
43262 else
43263 echo "$as_me: failed program was:" >&5
43264 sed 's/^/| /' conftest.$ac_ext >&5
43265
43266
43267 cat >conftest.$ac_ext <<_ACEOF
43268 /* confdefs.h. */
43269 _ACEOF
43270 cat confdefs.h >>conftest.$ac_ext
43271 cat >>conftest.$ac_ext <<_ACEOF
43272 /* end confdefs.h. */
43273 #include <netdb.h>
43274 int
43275 main ()
43276 {
43277
43278 char *name;
43279 char *proto;
43280 struct servent *se;
43281 char buffer[2048];
43282 int buflen = 2048;
43283 (void) getservbyname_r(name, proto, se, buffer, buflen)
43284
43285 ;
43286 return 0;
43287 }
43288 _ACEOF
43289 rm -f conftest.$ac_objext
43290 if { (ac_try="$ac_compile"
43291 case "(($ac_try" in
43292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43293 *) ac_try_echo=$ac_try;;
43294 esac
43295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43296 (eval "$ac_compile") 2>conftest.er1
43297 ac_status=$?
43298 grep -v '^ *+' conftest.er1 >conftest.err
43299 rm -f conftest.er1
43300 cat conftest.err >&5
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); } && {
43303 test -z "$ac_cxx_werror_flag" ||
43304 test ! -s conftest.err
43305 } && test -s conftest.$ac_objext; then
43306 ac_cv_func_which_getservbyname_r=five
43307 else
43308 echo "$as_me: failed program was:" >&5
43309 sed 's/^/| /' conftest.$ac_ext >&5
43310
43311
43312 cat >conftest.$ac_ext <<_ACEOF
43313 /* confdefs.h. */
43314 _ACEOF
43315 cat confdefs.h >>conftest.$ac_ext
43316 cat >>conftest.$ac_ext <<_ACEOF
43317 /* end confdefs.h. */
43318 #include <netdb.h>
43319 int
43320 main ()
43321 {
43322
43323 char *name;
43324 char *proto;
43325 struct servent *se;
43326 struct servent_data data;
43327 (void) getservbyname_r(name, proto, se, &data);
43328
43329 ;
43330 return 0;
43331 }
43332 _ACEOF
43333 rm -f conftest.$ac_objext
43334 if { (ac_try="$ac_compile"
43335 case "(($ac_try" in
43336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43337 *) ac_try_echo=$ac_try;;
43338 esac
43339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43340 (eval "$ac_compile") 2>conftest.er1
43341 ac_status=$?
43342 grep -v '^ *+' conftest.er1 >conftest.err
43343 rm -f conftest.er1
43344 cat conftest.err >&5
43345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43346 (exit $ac_status); } && {
43347 test -z "$ac_cxx_werror_flag" ||
43348 test ! -s conftest.err
43349 } && test -s conftest.$ac_objext; then
43350 ac_cv_func_which_getservbyname_r=four
43351 else
43352 echo "$as_me: failed program was:" >&5
43353 sed 's/^/| /' conftest.$ac_ext >&5
43354
43355 ac_cv_func_which_getservbyname_r=no
43356
43357 fi
43358
43359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43360
43361
43362 fi
43363
43364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43365
43366
43367 fi
43368
43369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43370 ac_ext=c
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43375
43376
43377
43378 fi
43379 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43380 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43381
43382 if test $ac_cv_func_which_getservbyname_r = six; then
43383 cat >>confdefs.h <<\_ACEOF
43384 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43385 _ACEOF
43386
43387 elif test $ac_cv_func_which_getservbyname_r = five; then
43388 cat >>confdefs.h <<\_ACEOF
43389 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43390 _ACEOF
43391
43392 elif test $ac_cv_func_which_getservbyname_r = four; then
43393 cat >>confdefs.h <<\_ACEOF
43394 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43395 _ACEOF
43396
43397 fi
43398
43399
43400 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43401 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43402
43403 for ac_func in getservbyname
43404 do
43405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43406 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43408 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43409 echo $ECHO_N "(cached) $ECHO_C" >&6
43410 else
43411 cat >conftest.$ac_ext <<_ACEOF
43412 /* confdefs.h. */
43413 _ACEOF
43414 cat confdefs.h >>conftest.$ac_ext
43415 cat >>conftest.$ac_ext <<_ACEOF
43416 /* end confdefs.h. */
43417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43419 #define $ac_func innocuous_$ac_func
43420
43421 /* System header to define __stub macros and hopefully few prototypes,
43422 which can conflict with char $ac_func (); below.
43423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43424 <limits.h> exists even on freestanding compilers. */
43425
43426 #ifdef __STDC__
43427 # include <limits.h>
43428 #else
43429 # include <assert.h>
43430 #endif
43431
43432 #undef $ac_func
43433
43434 /* Override any GCC internal prototype to avoid an error.
43435 Use char because int might match the return type of a GCC
43436 builtin and then its argument prototype would still apply. */
43437 #ifdef __cplusplus
43438 extern "C"
43439 #endif
43440 char $ac_func ();
43441 /* The GNU C library defines this for functions which it implements
43442 to always fail with ENOSYS. Some functions are actually named
43443 something starting with __ and the normal name is an alias. */
43444 #if defined __stub_$ac_func || defined __stub___$ac_func
43445 choke me
43446 #endif
43447
43448 int
43449 main ()
43450 {
43451 return $ac_func ();
43452 ;
43453 return 0;
43454 }
43455 _ACEOF
43456 rm -f conftest.$ac_objext conftest$ac_exeext
43457 if { (ac_try="$ac_link"
43458 case "(($ac_try" in
43459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43460 *) ac_try_echo=$ac_try;;
43461 esac
43462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43463 (eval "$ac_link") 2>conftest.er1
43464 ac_status=$?
43465 grep -v '^ *+' conftest.er1 >conftest.err
43466 rm -f conftest.er1
43467 cat conftest.err >&5
43468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43469 (exit $ac_status); } && {
43470 test -z "$ac_c_werror_flag" ||
43471 test ! -s conftest.err
43472 } && test -s conftest$ac_exeext &&
43473 $as_test_x conftest$ac_exeext; then
43474 eval "$as_ac_var=yes"
43475 else
43476 echo "$as_me: failed program was:" >&5
43477 sed 's/^/| /' conftest.$ac_ext >&5
43478
43479 eval "$as_ac_var=no"
43480 fi
43481
43482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43483 conftest$ac_exeext conftest.$ac_ext
43484 fi
43485 ac_res=`eval echo '${'$as_ac_var'}'`
43486 { echo "$as_me:$LINENO: result: $ac_res" >&5
43487 echo "${ECHO_T}$ac_res" >&6; }
43488 if test `eval echo '${'$as_ac_var'}'` = yes; then
43489 cat >>confdefs.h <<_ACEOF
43490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43491 _ACEOF
43492 cat >>confdefs.h <<\_ACEOF
43493 #define HAVE_GETSERVBYNAME 1
43494 _ACEOF
43495
43496 fi
43497 done
43498
43499 fi
43500
43501 if test "$wxUSE_THREADS" = "yes"; then
43502 cat >>confdefs.h <<\_ACEOF
43503 #define wxUSE_THREADS 1
43504 _ACEOF
43505
43506
43507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43508 else
43509 if test "$wx_cv_func_strtok_r" = "yes"; then
43510 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43511 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43512 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43513 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43514 { echo "$as_me:$LINENO: result: yes" >&5
43515 echo "${ECHO_T}yes" >&6; }
43516 else
43517 { echo "$as_me:$LINENO: result: no" >&5
43518 echo "${ECHO_T}no" >&6; }
43519 fi
43520 fi
43521 fi
43522
43523 if test "$WXGTK20" = 1 ; then
43524 cat >>confdefs.h <<_ACEOF
43525 #define __WXGTK20__ $WXGTK20
43526 _ACEOF
43527
43528 WXGTK12=1
43529 fi
43530
43531 if test "$WXGTK12" = 1 ; then
43532 cat >>confdefs.h <<_ACEOF
43533 #define __WXGTK12__ $WXGTK12
43534 _ACEOF
43535
43536 fi
43537
43538 if test "$WXGTK127" = 1 ; then
43539 cat >>confdefs.h <<_ACEOF
43540 #define __WXGTK127__ $WXGTK127
43541 _ACEOF
43542
43543 fi
43544
43545 if test "$WXGPE" = 1 ; then
43546 cat >>confdefs.h <<_ACEOF
43547 #define __WXGPE__ $WXGPE
43548 _ACEOF
43549
43550 fi
43551
43552 DEBUG_CFLAGS=
43553 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43554 DEBUG_CFLAGS="-g"
43555 wxUSE_OPTIMISE=no
43556 fi
43557
43558 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43559 wxUSE_DEBUG_INFO=yes
43560 if test "$GCC" = yes; then
43561 DEBUG_CFLAGS="-ggdb"
43562 fi
43563 fi
43564
43565 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43566 cat >>confdefs.h <<\_ACEOF
43567 #define WXDEBUG 1
43568 _ACEOF
43569
43570 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43571 else
43572 if test "$wxUSE_GTK" = 1 ; then
43573 if test "x$wxGTK_VERSION" = "x1" ; then
43574 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43575 fi
43576 fi
43577 fi
43578
43579 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43580 cat >>confdefs.h <<\_ACEOF
43581 #define wxUSE_MEMORY_TRACING 1
43582 _ACEOF
43583
43584 cat >>confdefs.h <<\_ACEOF
43585 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43586 _ACEOF
43587
43588 cat >>confdefs.h <<\_ACEOF
43589 #define wxUSE_DEBUG_NEW_ALWAYS 1
43590 _ACEOF
43591
43592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43593 fi
43594
43595 if test "$wxUSE_DMALLOC" = "yes" ; then
43596 DMALLOC_LIBS="-ldmallocthcxx"
43597 fi
43598
43599 PROFILE_FLAGS=
43600 if test "$wxUSE_PROFILE" = "yes" ; then
43601 PROFILE_FLAGS=" -pg"
43602 fi
43603
43604 if test "$GCC" = "yes" ; then
43605 if test "$wxUSE_NO_RTTI" = "yes" ; then
43606 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43607 fi
43608 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43609 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43610 fi
43611 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43612 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43613 fi
43614
43615 case "${host}" in
43616 powerpc*-*-aix* )
43617 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43618 ;;
43619 *-hppa* )
43620 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43621 ;;
43622 esac
43623 fi
43624
43625 OPTIMISE_CFLAGS=
43626 if test "$wxUSE_OPTIMISE" = "no" ; then
43627 if test "$GCC" = yes ; then
43628 OPTIMISE_CFLAGS="-O0"
43629 fi
43630 else
43631 if test "$GCC" = yes ; then
43632 case "${host}" in
43633 *-pc-os2_emx | *-pc-os2-emx )
43634 OPTIMISE_CFLAGS="-O2"
43635 ;;
43636 *)
43637 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43638 ;;
43639 esac
43640 else
43641 OPTIMISE_CFLAGS="-O"
43642 fi
43643 fi
43644
43645
43646 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43647 cat >>confdefs.h <<\_ACEOF
43648 #define WXWIN_COMPATIBILITY_2_6 1
43649 _ACEOF
43650
43651
43652 WXWIN_COMPATIBILITY_2_8="yes"
43653 fi
43654
43655 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43656 cat >>confdefs.h <<\_ACEOF
43657 #define WXWIN_COMPATIBILITY_2_8 1
43658 _ACEOF
43659
43660 fi
43661
43662
43663 if test "$wxUSE_GUI" = "yes"; then
43664 cat >>confdefs.h <<\_ACEOF
43665 #define wxUSE_GUI 1
43666 _ACEOF
43667
43668
43669 fi
43670
43671
43672 if test "$wxUSE_UNIX" = "yes"; then
43673 cat >>confdefs.h <<\_ACEOF
43674 #define wxUSE_UNIX 1
43675 _ACEOF
43676
43677 fi
43678
43679
43680 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43681
43682 HAVE_DL_FUNCS=0
43683 HAVE_SHL_FUNCS=0
43684 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43685 if test "$USE_DARWIN" = 1; then
43686 HAVE_DL_FUNCS=1
43687 elif test "$USE_DOS" = 1; then
43688 HAVE_DL_FUNCS=0
43689 else
43690
43691 for ac_func in dlopen
43692 do
43693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43697 echo $ECHO_N "(cached) $ECHO_C" >&6
43698 else
43699 cat >conftest.$ac_ext <<_ACEOF
43700 /* confdefs.h. */
43701 _ACEOF
43702 cat confdefs.h >>conftest.$ac_ext
43703 cat >>conftest.$ac_ext <<_ACEOF
43704 /* end confdefs.h. */
43705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43707 #define $ac_func innocuous_$ac_func
43708
43709 /* System header to define __stub macros and hopefully few prototypes,
43710 which can conflict with char $ac_func (); below.
43711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43712 <limits.h> exists even on freestanding compilers. */
43713
43714 #ifdef __STDC__
43715 # include <limits.h>
43716 #else
43717 # include <assert.h>
43718 #endif
43719
43720 #undef $ac_func
43721
43722 /* Override any GCC internal prototype to avoid an error.
43723 Use char because int might match the return type of a GCC
43724 builtin and then its argument prototype would still apply. */
43725 #ifdef __cplusplus
43726 extern "C"
43727 #endif
43728 char $ac_func ();
43729 /* The GNU C library defines this for functions which it implements
43730 to always fail with ENOSYS. Some functions are actually named
43731 something starting with __ and the normal name is an alias. */
43732 #if defined __stub_$ac_func || defined __stub___$ac_func
43733 choke me
43734 #endif
43735
43736 int
43737 main ()
43738 {
43739 return $ac_func ();
43740 ;
43741 return 0;
43742 }
43743 _ACEOF
43744 rm -f conftest.$ac_objext conftest$ac_exeext
43745 if { (ac_try="$ac_link"
43746 case "(($ac_try" in
43747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43748 *) ac_try_echo=$ac_try;;
43749 esac
43750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43751 (eval "$ac_link") 2>conftest.er1
43752 ac_status=$?
43753 grep -v '^ *+' conftest.er1 >conftest.err
43754 rm -f conftest.er1
43755 cat conftest.err >&5
43756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43757 (exit $ac_status); } && {
43758 test -z "$ac_c_werror_flag" ||
43759 test ! -s conftest.err
43760 } && test -s conftest$ac_exeext &&
43761 $as_test_x conftest$ac_exeext; then
43762 eval "$as_ac_var=yes"
43763 else
43764 echo "$as_me: failed program was:" >&5
43765 sed 's/^/| /' conftest.$ac_ext >&5
43766
43767 eval "$as_ac_var=no"
43768 fi
43769
43770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43771 conftest$ac_exeext conftest.$ac_ext
43772 fi
43773 ac_res=`eval echo '${'$as_ac_var'}'`
43774 { echo "$as_me:$LINENO: result: $ac_res" >&5
43775 echo "${ECHO_T}$ac_res" >&6; }
43776 if test `eval echo '${'$as_ac_var'}'` = yes; then
43777 cat >>confdefs.h <<_ACEOF
43778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43779 _ACEOF
43780
43781 cat >>confdefs.h <<\_ACEOF
43782 #define HAVE_DLOPEN 1
43783 _ACEOF
43784
43785 HAVE_DL_FUNCS=1
43786
43787 else
43788
43789 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43790 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43791 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43792 echo $ECHO_N "(cached) $ECHO_C" >&6
43793 else
43794 ac_check_lib_save_LIBS=$LIBS
43795 LIBS="-ldl $LIBS"
43796 cat >conftest.$ac_ext <<_ACEOF
43797 /* confdefs.h. */
43798 _ACEOF
43799 cat confdefs.h >>conftest.$ac_ext
43800 cat >>conftest.$ac_ext <<_ACEOF
43801 /* end confdefs.h. */
43802
43803 /* Override any GCC internal prototype to avoid an error.
43804 Use char because int might match the return type of a GCC
43805 builtin and then its argument prototype would still apply. */
43806 #ifdef __cplusplus
43807 extern "C"
43808 #endif
43809 char dlopen ();
43810 int
43811 main ()
43812 {
43813 return dlopen ();
43814 ;
43815 return 0;
43816 }
43817 _ACEOF
43818 rm -f conftest.$ac_objext conftest$ac_exeext
43819 if { (ac_try="$ac_link"
43820 case "(($ac_try" in
43821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43822 *) ac_try_echo=$ac_try;;
43823 esac
43824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43825 (eval "$ac_link") 2>conftest.er1
43826 ac_status=$?
43827 grep -v '^ *+' conftest.er1 >conftest.err
43828 rm -f conftest.er1
43829 cat conftest.err >&5
43830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43831 (exit $ac_status); } && {
43832 test -z "$ac_c_werror_flag" ||
43833 test ! -s conftest.err
43834 } && test -s conftest$ac_exeext &&
43835 $as_test_x conftest$ac_exeext; then
43836 ac_cv_lib_dl_dlopen=yes
43837 else
43838 echo "$as_me: failed program was:" >&5
43839 sed 's/^/| /' conftest.$ac_ext >&5
43840
43841 ac_cv_lib_dl_dlopen=no
43842 fi
43843
43844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43845 conftest$ac_exeext conftest.$ac_ext
43846 LIBS=$ac_check_lib_save_LIBS
43847 fi
43848 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43849 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43850 if test $ac_cv_lib_dl_dlopen = yes; then
43851
43852 cat >>confdefs.h <<\_ACEOF
43853 #define HAVE_DLOPEN 1
43854 _ACEOF
43855
43856 HAVE_DL_FUNCS=1
43857 DL_LINK=" -ldl$DL_LINK"
43858
43859 else
43860
43861
43862 for ac_func in shl_load
43863 do
43864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43867 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43868 echo $ECHO_N "(cached) $ECHO_C" >&6
43869 else
43870 cat >conftest.$ac_ext <<_ACEOF
43871 /* confdefs.h. */
43872 _ACEOF
43873 cat confdefs.h >>conftest.$ac_ext
43874 cat >>conftest.$ac_ext <<_ACEOF
43875 /* end confdefs.h. */
43876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43878 #define $ac_func innocuous_$ac_func
43879
43880 /* System header to define __stub macros and hopefully few prototypes,
43881 which can conflict with char $ac_func (); below.
43882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43883 <limits.h> exists even on freestanding compilers. */
43884
43885 #ifdef __STDC__
43886 # include <limits.h>
43887 #else
43888 # include <assert.h>
43889 #endif
43890
43891 #undef $ac_func
43892
43893 /* Override any GCC internal prototype to avoid an error.
43894 Use char because int might match the return type of a GCC
43895 builtin and then its argument prototype would still apply. */
43896 #ifdef __cplusplus
43897 extern "C"
43898 #endif
43899 char $ac_func ();
43900 /* The GNU C library defines this for functions which it implements
43901 to always fail with ENOSYS. Some functions are actually named
43902 something starting with __ and the normal name is an alias. */
43903 #if defined __stub_$ac_func || defined __stub___$ac_func
43904 choke me
43905 #endif
43906
43907 int
43908 main ()
43909 {
43910 return $ac_func ();
43911 ;
43912 return 0;
43913 }
43914 _ACEOF
43915 rm -f conftest.$ac_objext conftest$ac_exeext
43916 if { (ac_try="$ac_link"
43917 case "(($ac_try" in
43918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43919 *) ac_try_echo=$ac_try;;
43920 esac
43921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43922 (eval "$ac_link") 2>conftest.er1
43923 ac_status=$?
43924 grep -v '^ *+' conftest.er1 >conftest.err
43925 rm -f conftest.er1
43926 cat conftest.err >&5
43927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43928 (exit $ac_status); } && {
43929 test -z "$ac_c_werror_flag" ||
43930 test ! -s conftest.err
43931 } && test -s conftest$ac_exeext &&
43932 $as_test_x conftest$ac_exeext; then
43933 eval "$as_ac_var=yes"
43934 else
43935 echo "$as_me: failed program was:" >&5
43936 sed 's/^/| /' conftest.$ac_ext >&5
43937
43938 eval "$as_ac_var=no"
43939 fi
43940
43941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43942 conftest$ac_exeext conftest.$ac_ext
43943 fi
43944 ac_res=`eval echo '${'$as_ac_var'}'`
43945 { echo "$as_me:$LINENO: result: $ac_res" >&5
43946 echo "${ECHO_T}$ac_res" >&6; }
43947 if test `eval echo '${'$as_ac_var'}'` = yes; then
43948 cat >>confdefs.h <<_ACEOF
43949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43950 _ACEOF
43951
43952 cat >>confdefs.h <<\_ACEOF
43953 #define HAVE_SHL_LOAD 1
43954 _ACEOF
43955
43956 HAVE_SHL_FUNCS=1
43957
43958 else
43959
43960 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43961 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43962 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43963 echo $ECHO_N "(cached) $ECHO_C" >&6
43964 else
43965 ac_check_lib_save_LIBS=$LIBS
43966 LIBS="-lshl_load $LIBS"
43967 cat >conftest.$ac_ext <<_ACEOF
43968 /* confdefs.h. */
43969 _ACEOF
43970 cat confdefs.h >>conftest.$ac_ext
43971 cat >>conftest.$ac_ext <<_ACEOF
43972 /* end confdefs.h. */
43973
43974 /* Override any GCC internal prototype to avoid an error.
43975 Use char because int might match the return type of a GCC
43976 builtin and then its argument prototype would still apply. */
43977 #ifdef __cplusplus
43978 extern "C"
43979 #endif
43980 char dld ();
43981 int
43982 main ()
43983 {
43984 return dld ();
43985 ;
43986 return 0;
43987 }
43988 _ACEOF
43989 rm -f conftest.$ac_objext conftest$ac_exeext
43990 if { (ac_try="$ac_link"
43991 case "(($ac_try" in
43992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43993 *) ac_try_echo=$ac_try;;
43994 esac
43995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43996 (eval "$ac_link") 2>conftest.er1
43997 ac_status=$?
43998 grep -v '^ *+' conftest.er1 >conftest.err
43999 rm -f conftest.er1
44000 cat conftest.err >&5
44001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44002 (exit $ac_status); } && {
44003 test -z "$ac_c_werror_flag" ||
44004 test ! -s conftest.err
44005 } && test -s conftest$ac_exeext &&
44006 $as_test_x conftest$ac_exeext; then
44007 ac_cv_lib_shl_load_dld=yes
44008 else
44009 echo "$as_me: failed program was:" >&5
44010 sed 's/^/| /' conftest.$ac_ext >&5
44011
44012 ac_cv_lib_shl_load_dld=no
44013 fi
44014
44015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44016 conftest$ac_exeext conftest.$ac_ext
44017 LIBS=$ac_check_lib_save_LIBS
44018 fi
44019 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44020 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44021 if test $ac_cv_lib_shl_load_dld = yes; then
44022
44023 HAVE_SHL_FUNCS=1
44024 DL_LINK=" -ldld$DL_LINK"
44025
44026 fi
44027
44028
44029 fi
44030 done
44031
44032
44033 fi
44034
44035
44036 fi
44037 done
44038
44039
44040 if test "$HAVE_DL_FUNCS" = 1; then
44041
44042 for ac_func in dlerror
44043 do
44044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44045 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44047 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44048 echo $ECHO_N "(cached) $ECHO_C" >&6
44049 else
44050 cat >conftest.$ac_ext <<_ACEOF
44051 /* confdefs.h. */
44052 _ACEOF
44053 cat confdefs.h >>conftest.$ac_ext
44054 cat >>conftest.$ac_ext <<_ACEOF
44055 /* end confdefs.h. */
44056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44058 #define $ac_func innocuous_$ac_func
44059
44060 /* System header to define __stub macros and hopefully few prototypes,
44061 which can conflict with char $ac_func (); below.
44062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44063 <limits.h> exists even on freestanding compilers. */
44064
44065 #ifdef __STDC__
44066 # include <limits.h>
44067 #else
44068 # include <assert.h>
44069 #endif
44070
44071 #undef $ac_func
44072
44073 /* Override any GCC internal prototype to avoid an error.
44074 Use char because int might match the return type of a GCC
44075 builtin and then its argument prototype would still apply. */
44076 #ifdef __cplusplus
44077 extern "C"
44078 #endif
44079 char $ac_func ();
44080 /* The GNU C library defines this for functions which it implements
44081 to always fail with ENOSYS. Some functions are actually named
44082 something starting with __ and the normal name is an alias. */
44083 #if defined __stub_$ac_func || defined __stub___$ac_func
44084 choke me
44085 #endif
44086
44087 int
44088 main ()
44089 {
44090 return $ac_func ();
44091 ;
44092 return 0;
44093 }
44094 _ACEOF
44095 rm -f conftest.$ac_objext conftest$ac_exeext
44096 if { (ac_try="$ac_link"
44097 case "(($ac_try" in
44098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44099 *) ac_try_echo=$ac_try;;
44100 esac
44101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44102 (eval "$ac_link") 2>conftest.er1
44103 ac_status=$?
44104 grep -v '^ *+' conftest.er1 >conftest.err
44105 rm -f conftest.er1
44106 cat conftest.err >&5
44107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44108 (exit $ac_status); } && {
44109 test -z "$ac_c_werror_flag" ||
44110 test ! -s conftest.err
44111 } && test -s conftest$ac_exeext &&
44112 $as_test_x conftest$ac_exeext; then
44113 eval "$as_ac_var=yes"
44114 else
44115 echo "$as_me: failed program was:" >&5
44116 sed 's/^/| /' conftest.$ac_ext >&5
44117
44118 eval "$as_ac_var=no"
44119 fi
44120
44121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44122 conftest$ac_exeext conftest.$ac_ext
44123 fi
44124 ac_res=`eval echo '${'$as_ac_var'}'`
44125 { echo "$as_me:$LINENO: result: $ac_res" >&5
44126 echo "${ECHO_T}$ac_res" >&6; }
44127 if test `eval echo '${'$as_ac_var'}'` = yes; then
44128 cat >>confdefs.h <<_ACEOF
44129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44130 _ACEOF
44131 cat >>confdefs.h <<\_ACEOF
44132 #define HAVE_DLERROR 1
44133 _ACEOF
44134
44135 else
44136
44137 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44138 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44139 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44140 echo $ECHO_N "(cached) $ECHO_C" >&6
44141 else
44142 ac_check_lib_save_LIBS=$LIBS
44143 LIBS="-ldl $LIBS"
44144 cat >conftest.$ac_ext <<_ACEOF
44145 /* confdefs.h. */
44146 _ACEOF
44147 cat confdefs.h >>conftest.$ac_ext
44148 cat >>conftest.$ac_ext <<_ACEOF
44149 /* end confdefs.h. */
44150
44151 /* Override any GCC internal prototype to avoid an error.
44152 Use char because int might match the return type of a GCC
44153 builtin and then its argument prototype would still apply. */
44154 #ifdef __cplusplus
44155 extern "C"
44156 #endif
44157 char dlerror ();
44158 int
44159 main ()
44160 {
44161 return dlerror ();
44162 ;
44163 return 0;
44164 }
44165 _ACEOF
44166 rm -f conftest.$ac_objext conftest$ac_exeext
44167 if { (ac_try="$ac_link"
44168 case "(($ac_try" in
44169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44170 *) ac_try_echo=$ac_try;;
44171 esac
44172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44173 (eval "$ac_link") 2>conftest.er1
44174 ac_status=$?
44175 grep -v '^ *+' conftest.er1 >conftest.err
44176 rm -f conftest.er1
44177 cat conftest.err >&5
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); } && {
44180 test -z "$ac_c_werror_flag" ||
44181 test ! -s conftest.err
44182 } && test -s conftest$ac_exeext &&
44183 $as_test_x conftest$ac_exeext; then
44184 ac_cv_lib_dl_dlerror=yes
44185 else
44186 echo "$as_me: failed program was:" >&5
44187 sed 's/^/| /' conftest.$ac_ext >&5
44188
44189 ac_cv_lib_dl_dlerror=no
44190 fi
44191
44192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44193 conftest$ac_exeext conftest.$ac_ext
44194 LIBS=$ac_check_lib_save_LIBS
44195 fi
44196 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44197 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44198 if test $ac_cv_lib_dl_dlerror = yes; then
44199 cat >>confdefs.h <<\_ACEOF
44200 #define HAVE_DLERROR 1
44201 _ACEOF
44202
44203 fi
44204
44205
44206
44207 fi
44208 done
44209
44210 fi
44211 fi
44212
44213 if test "$HAVE_DL_FUNCS" = 0; then
44214 if test "$HAVE_SHL_FUNCS" = 0; then
44215 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44216 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44217 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44218 wxUSE_DYNAMIC_LOADER=no
44219 wxUSE_DYNLIB_CLASS=no
44220 else
44221 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44222 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44223 fi
44224 fi
44225 fi
44226 fi
44227 fi
44228
44229 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44230 cat >>confdefs.h <<\_ACEOF
44231 #define wxUSE_DYNAMIC_LOADER 1
44232 _ACEOF
44233
44234 fi
44235 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44236 cat >>confdefs.h <<\_ACEOF
44237 #define wxUSE_DYNLIB_CLASS 1
44238 _ACEOF
44239
44240 fi
44241
44242
44243
44244 if test "$wxUSE_PLUGINS" = "yes" ; then
44245 if test "$wxUSE_SHARED" = "no" ; then
44246 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44247 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44248 wxUSE_PLUGINS=no
44249 fi
44250 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44251 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44252 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44253 wxUSE_PLUGINS=no
44254 fi
44255 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44256 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44257 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44258 wxUSE_PLUGINS=no
44259 fi
44260 if test "$wxUSE_PLUGINS" = "yes" ; then
44261 cat >>confdefs.h <<\_ACEOF
44262 #define wxUSE_PLUGINS 1
44263 _ACEOF
44264
44265 fi
44266 fi
44267
44268
44269 if test "$wxUSE_STL" = "yes"; then
44270 cat >>confdefs.h <<\_ACEOF
44271 #define wxUSE_STL 1
44272 _ACEOF
44273
44274 fi
44275
44276 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44277 cat >>confdefs.h <<\_ACEOF
44278 #define wxUSE_EXTENDED_RTTI 1
44279 _ACEOF
44280
44281 fi
44282
44283 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44284 cat >>confdefs.h <<\_ACEOF
44285 #define wxUSE_APPLE_IEEE 1
44286 _ACEOF
44287
44288 fi
44289
44290 if test "$wxUSE_TIMER" = "yes"; then
44291 cat >>confdefs.h <<\_ACEOF
44292 #define wxUSE_TIMER 1
44293 _ACEOF
44294
44295 fi
44296
44297 if test "$USE_UNIX" = "1" ; then
44298 if test "$wxUSE_MGL" != 1; then
44299 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44300 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44301 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44302 echo $ECHO_N "(cached) $ECHO_C" >&6
44303 else
44304
44305 cat >conftest.$ac_ext <<_ACEOF
44306 /* confdefs.h. */
44307 _ACEOF
44308 cat confdefs.h >>conftest.$ac_ext
44309 cat >>conftest.$ac_ext <<_ACEOF
44310 /* end confdefs.h. */
44311
44312 #include <sys/ioctl.h>
44313 #include <sys/soundcard.h>
44314
44315 int
44316 main ()
44317 {
44318
44319 ioctl(0, SNDCTL_DSP_SPEED, 0);
44320
44321 ;
44322 return 0;
44323 }
44324 _ACEOF
44325 rm -f conftest.$ac_objext conftest$ac_exeext
44326 if { (ac_try="$ac_link"
44327 case "(($ac_try" in
44328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44329 *) ac_try_echo=$ac_try;;
44330 esac
44331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44332 (eval "$ac_link") 2>conftest.er1
44333 ac_status=$?
44334 grep -v '^ *+' conftest.er1 >conftest.err
44335 rm -f conftest.er1
44336 cat conftest.err >&5
44337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44338 (exit $ac_status); } && {
44339 test -z "$ac_c_werror_flag" ||
44340 test ! -s conftest.err
44341 } && test -s conftest$ac_exeext &&
44342 $as_test_x conftest$ac_exeext; then
44343 ac_cv_header_sys_soundcard=yes
44344 else
44345 echo "$as_me: failed program was:" >&5
44346 sed 's/^/| /' conftest.$ac_ext >&5
44347
44348
44349 saveLibs="$LIBS"
44350 LIBS="$saveLibs -lossaudio"
44351 cat >conftest.$ac_ext <<_ACEOF
44352 /* confdefs.h. */
44353 _ACEOF
44354 cat confdefs.h >>conftest.$ac_ext
44355 cat >>conftest.$ac_ext <<_ACEOF
44356 /* end confdefs.h. */
44357
44358 #include <sys/ioctl.h>
44359 #include <sys/soundcard.h>
44360
44361 int
44362 main ()
44363 {
44364
44365 ioctl(0, SNDCTL_DSP_SPEED, 0);
44366
44367 ;
44368 return 0;
44369 }
44370 _ACEOF
44371 rm -f conftest.$ac_objext conftest$ac_exeext
44372 if { (ac_try="$ac_link"
44373 case "(($ac_try" in
44374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44375 *) ac_try_echo=$ac_try;;
44376 esac
44377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44378 (eval "$ac_link") 2>conftest.er1
44379 ac_status=$?
44380 grep -v '^ *+' conftest.er1 >conftest.err
44381 rm -f conftest.er1
44382 cat conftest.err >&5
44383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); } && {
44385 test -z "$ac_c_werror_flag" ||
44386 test ! -s conftest.err
44387 } && test -s conftest$ac_exeext &&
44388 $as_test_x conftest$ac_exeext; then
44389 ac_cv_header_sys_soundcard=yes
44390 else
44391 echo "$as_me: failed program was:" >&5
44392 sed 's/^/| /' conftest.$ac_ext >&5
44393
44394
44395 LIBS="$saveLibs"
44396 ac_cv_header_sys_soundcard=no
44397
44398
44399 fi
44400
44401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44402 conftest$ac_exeext conftest.$ac_ext
44403
44404
44405 fi
44406
44407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44408 conftest$ac_exeext conftest.$ac_ext
44409
44410 fi
44411 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44412 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44413 fi
44414
44415 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44416 cat >>confdefs.h <<\_ACEOF
44417 #define HAVE_SYS_SOUNDCARD_H 1
44418 _ACEOF
44419
44420 fi
44421 fi
44422
44423 WITH_PLUGIN_SDL=0
44424 if test "$wxUSE_SOUND" = "yes"; then
44425 if test "$USE_UNIX" = "1" ; then
44426 if test "$wxUSE_LIBSDL" != "no"; then
44427
44428 # Check whether --with-sdl-prefix was given.
44429 if test "${with_sdl_prefix+set}" = set; then
44430 withval=$with_sdl_prefix; sdl_prefix="$withval"
44431 else
44432 sdl_prefix=""
44433 fi
44434
44435
44436 # Check whether --with-sdl-exec-prefix was given.
44437 if test "${with_sdl_exec_prefix+set}" = set; then
44438 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44439 else
44440 sdl_exec_prefix=""
44441 fi
44442
44443 # Check whether --enable-sdltest was given.
44444 if test "${enable_sdltest+set}" = set; then
44445 enableval=$enable_sdltest;
44446 else
44447 enable_sdltest=yes
44448 fi
44449
44450
44451 if test x$sdl_exec_prefix != x ; then
44452 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44453 if test x${SDL_CONFIG+set} != xset ; then
44454 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44455 fi
44456 fi
44457 if test x$sdl_prefix != x ; then
44458 sdl_args="$sdl_args --prefix=$sdl_prefix"
44459 if test x${SDL_CONFIG+set} != xset ; then
44460 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44461 fi
44462 fi
44463
44464 if test "x$prefix" != xNONE; then
44465 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44466 fi
44467 # Extract the first word of "sdl-config", so it can be a program name with args.
44468 set dummy sdl-config; ac_word=$2
44469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44471 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44472 echo $ECHO_N "(cached) $ECHO_C" >&6
44473 else
44474 case $SDL_CONFIG in
44475 [\\/]* | ?:[\\/]*)
44476 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44477 ;;
44478 *)
44479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44480 for as_dir in $PATH
44481 do
44482 IFS=$as_save_IFS
44483 test -z "$as_dir" && as_dir=.
44484 for ac_exec_ext in '' $ac_executable_extensions; do
44485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44486 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44488 break 2
44489 fi
44490 done
44491 done
44492 IFS=$as_save_IFS
44493
44494 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44495 ;;
44496 esac
44497 fi
44498 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44499 if test -n "$SDL_CONFIG"; then
44500 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44501 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44502 else
44503 { echo "$as_me:$LINENO: result: no" >&5
44504 echo "${ECHO_T}no" >&6; }
44505 fi
44506
44507
44508 min_sdl_version=1.2.0
44509 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44510 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44511 no_sdl=""
44512 if test "$SDL_CONFIG" = "no" ; then
44513 no_sdl=yes
44514 else
44515 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44516 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44517
44518 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44519 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44520 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44522 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44524 if test "x$enable_sdltest" = "xyes" ; then
44525 ac_save_CFLAGS="$CFLAGS"
44526 ac_save_CXXFLAGS="$CXXFLAGS"
44527 ac_save_LIBS="$LIBS"
44528 CFLAGS="$CFLAGS $SDL_CFLAGS"
44529 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44530 LIBS="$LIBS $SDL_LIBS"
44531 rm -f conf.sdltest
44532 if test "$cross_compiling" = yes; then
44533 echo $ac_n "cross compiling; assumed OK... $ac_c"
44534 else
44535 cat >conftest.$ac_ext <<_ACEOF
44536 /* confdefs.h. */
44537 _ACEOF
44538 cat confdefs.h >>conftest.$ac_ext
44539 cat >>conftest.$ac_ext <<_ACEOF
44540 /* end confdefs.h. */
44541
44542 #include <stdio.h>
44543 #include <stdlib.h>
44544 #include <string.h>
44545 #include "SDL.h"
44546
44547 char*
44548 my_strdup (char *str)
44549 {
44550 char *new_str;
44551
44552 if (str)
44553 {
44554 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44555 strcpy (new_str, str);
44556 }
44557 else
44558 new_str = NULL;
44559
44560 return new_str;
44561 }
44562
44563 int main (int argc, char *argv[])
44564 {
44565 int major, minor, micro;
44566 char *tmp_version;
44567
44568 /* This hangs on some systems (?)
44569 system ("touch conf.sdltest");
44570 */
44571 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44572
44573 /* HP/UX 9 (%@#!) writes to sscanf strings */
44574 tmp_version = my_strdup("$min_sdl_version");
44575 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44576 printf("%s, bad version string\n", "$min_sdl_version");
44577 exit(1);
44578 }
44579
44580 if (($sdl_major_version > major) ||
44581 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44582 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44583 {
44584 return 0;
44585 }
44586 else
44587 {
44588 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44589 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44590 printf("*** best to upgrade to the required version.\n");
44591 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44592 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44593 printf("*** config.cache before re-running configure\n");
44594 return 1;
44595 }
44596 }
44597
44598
44599 _ACEOF
44600 rm -f conftest$ac_exeext
44601 if { (ac_try="$ac_link"
44602 case "(($ac_try" in
44603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44604 *) ac_try_echo=$ac_try;;
44605 esac
44606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44607 (eval "$ac_link") 2>&5
44608 ac_status=$?
44609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44611 { (case "(($ac_try" in
44612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44613 *) ac_try_echo=$ac_try;;
44614 esac
44615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44616 (eval "$ac_try") 2>&5
44617 ac_status=$?
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); }; }; then
44620 :
44621 else
44622 echo "$as_me: program exited with status $ac_status" >&5
44623 echo "$as_me: failed program was:" >&5
44624 sed 's/^/| /' conftest.$ac_ext >&5
44625
44626 ( exit $ac_status )
44627 no_sdl=yes
44628 fi
44629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44630 fi
44631
44632
44633 CFLAGS="$ac_save_CFLAGS"
44634 CXXFLAGS="$ac_save_CXXFLAGS"
44635 LIBS="$ac_save_LIBS"
44636 fi
44637 fi
44638 if test "x$no_sdl" = x ; then
44639 { echo "$as_me:$LINENO: result: yes" >&5
44640 echo "${ECHO_T}yes" >&6; }
44641
44642 EXTRALIBS_SDL="$SDL_LIBS"
44643 CFLAGS="$SDL_CFLAGS $CFLAGS"
44644 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44645 cat >>confdefs.h <<\_ACEOF
44646 #define wxUSE_LIBSDL 1
44647 _ACEOF
44648
44649
44650 else
44651 { echo "$as_me:$LINENO: result: no" >&5
44652 echo "${ECHO_T}no" >&6; }
44653 if test "$SDL_CONFIG" = "no" ; then
44654 echo "*** The sdl-config script installed by SDL could not be found"
44655 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44656 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44657 echo "*** full path to sdl-config."
44658 else
44659 if test -f conf.sdltest ; then
44660 :
44661 else
44662 echo "*** Could not run SDL test program, checking why..."
44663 CFLAGS="$CFLAGS $SDL_CFLAGS"
44664 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44665 LIBS="$LIBS $SDL_LIBS"
44666 cat >conftest.$ac_ext <<_ACEOF
44667 /* confdefs.h. */
44668 _ACEOF
44669 cat confdefs.h >>conftest.$ac_ext
44670 cat >>conftest.$ac_ext <<_ACEOF
44671 /* end confdefs.h. */
44672
44673 #include <stdio.h>
44674 #include "SDL.h"
44675
44676 int main(int argc, char *argv[])
44677 { return 0; }
44678 #undef main
44679 #define main K_and_R_C_main
44680
44681 int
44682 main ()
44683 {
44684 return 0;
44685 ;
44686 return 0;
44687 }
44688 _ACEOF
44689 rm -f conftest.$ac_objext conftest$ac_exeext
44690 if { (ac_try="$ac_link"
44691 case "(($ac_try" in
44692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44693 *) ac_try_echo=$ac_try;;
44694 esac
44695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44696 (eval "$ac_link") 2>conftest.er1
44697 ac_status=$?
44698 grep -v '^ *+' conftest.er1 >conftest.err
44699 rm -f conftest.er1
44700 cat conftest.err >&5
44701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44702 (exit $ac_status); } && {
44703 test -z "$ac_c_werror_flag" ||
44704 test ! -s conftest.err
44705 } && test -s conftest$ac_exeext &&
44706 $as_test_x conftest$ac_exeext; then
44707 echo "*** The test program compiled, but did not run. This usually means"
44708 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44709 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44710 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44711 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44712 echo "*** is required on your system"
44713 echo "***"
44714 echo "*** If you have an old version installed, it is best to remove it, although"
44715 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44716 else
44717 echo "$as_me: failed program was:" >&5
44718 sed 's/^/| /' conftest.$ac_ext >&5
44719
44720 echo "*** The test program failed to compile or link. See the file config.log for the"
44721 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44722 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44723 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44724 fi
44725
44726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44727 conftest$ac_exeext conftest.$ac_ext
44728 CFLAGS="$ac_save_CFLAGS"
44729 CXXFLAGS="$ac_save_CXXFLAGS"
44730 LIBS="$ac_save_LIBS"
44731 fi
44732 fi
44733 SDL_CFLAGS=""
44734 SDL_LIBS=""
44735 wxUSE_LIBSDL="no"
44736 fi
44737
44738
44739 rm -f conf.sdltest
44740
44741 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44742 WITH_PLUGIN_SDL=1
44743 fi
44744 fi
44745 else
44746 if test "$wxUSE_MGL" = 1; then
44747 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44748 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44749 wxUSE_SOUND="no"
44750 fi
44751 fi
44752 fi
44753
44754 if test "$wxUSE_SOUND" = "yes"; then
44755 cat >>confdefs.h <<\_ACEOF
44756 #define wxUSE_SOUND 1
44757 _ACEOF
44758
44759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44760 fi
44761
44762 if test "$WXGTK20" = 1; then
44763
44764
44765 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44766 if test -n "$ac_tool_prefix"; then
44767 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44768 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44771 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44772 echo $ECHO_N "(cached) $ECHO_C" >&6
44773 else
44774 case $PKG_CONFIG in
44775 [\\/]* | ?:[\\/]*)
44776 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44777 ;;
44778 *)
44779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44780 for as_dir in $PATH
44781 do
44782 IFS=$as_save_IFS
44783 test -z "$as_dir" && as_dir=.
44784 for ac_exec_ext in '' $ac_executable_extensions; do
44785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44786 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44788 break 2
44789 fi
44790 done
44791 done
44792 IFS=$as_save_IFS
44793
44794 ;;
44795 esac
44796 fi
44797 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44798 if test -n "$PKG_CONFIG"; then
44799 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44800 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44801 else
44802 { echo "$as_me:$LINENO: result: no" >&5
44803 echo "${ECHO_T}no" >&6; }
44804 fi
44805
44806
44807 fi
44808 if test -z "$ac_cv_path_PKG_CONFIG"; then
44809 ac_pt_PKG_CONFIG=$PKG_CONFIG
44810 # Extract the first word of "pkg-config", so it can be a program name with args.
44811 set dummy pkg-config; ac_word=$2
44812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44814 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44815 echo $ECHO_N "(cached) $ECHO_C" >&6
44816 else
44817 case $ac_pt_PKG_CONFIG in
44818 [\\/]* | ?:[\\/]*)
44819 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44820 ;;
44821 *)
44822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44823 for as_dir in $PATH
44824 do
44825 IFS=$as_save_IFS
44826 test -z "$as_dir" && as_dir=.
44827 for ac_exec_ext in '' $ac_executable_extensions; do
44828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44829 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44831 break 2
44832 fi
44833 done
44834 done
44835 IFS=$as_save_IFS
44836
44837 ;;
44838 esac
44839 fi
44840 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44841 if test -n "$ac_pt_PKG_CONFIG"; then
44842 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44843 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44844 else
44845 { echo "$as_me:$LINENO: result: no" >&5
44846 echo "${ECHO_T}no" >&6; }
44847 fi
44848
44849 if test "x$ac_pt_PKG_CONFIG" = x; then
44850 PKG_CONFIG=""
44851 else
44852 case $cross_compiling:$ac_tool_warned in
44853 yes:)
44854 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44855 whose name does not start with the host triplet. If you think this
44856 configuration is useful to you, please write to autoconf@gnu.org." >&5
44857 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44858 whose name does not start with the host triplet. If you think this
44859 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44860 ac_tool_warned=yes ;;
44861 esac
44862 PKG_CONFIG=$ac_pt_PKG_CONFIG
44863 fi
44864 else
44865 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44866 fi
44867
44868 fi
44869 if test -n "$PKG_CONFIG"; then
44870 _pkg_min_version=0.9.0
44871 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44872 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44873 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44874 { echo "$as_me:$LINENO: result: yes" >&5
44875 echo "${ECHO_T}yes" >&6; }
44876 else
44877 { echo "$as_me:$LINENO: result: no" >&5
44878 echo "${ECHO_T}no" >&6; }
44879 PKG_CONFIG=""
44880 fi
44881
44882 fi
44883
44884 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44885 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44886
44887
44888 pkg_failed=no
44889 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44890 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44891
44892 if test -n "$PKG_CONFIG"; then
44893 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44894 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44895 else
44896 if test -n "$PKG_CONFIG" && \
44897 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44898 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44899 ac_status=$?
44900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44901 (exit $ac_status); }; then
44902 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44903 else
44904 pkg_failed=yes
44905 fi
44906 fi
44907 else
44908 pkg_failed=untried
44909 fi
44910 if test -n "$PKG_CONFIG"; then
44911 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44912 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44913 else
44914 if test -n "$PKG_CONFIG" && \
44915 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44916 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44917 ac_status=$?
44918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44919 (exit $ac_status); }; then
44920 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44921 else
44922 pkg_failed=yes
44923 fi
44924 fi
44925 else
44926 pkg_failed=untried
44927 fi
44928
44929
44930
44931 if test $pkg_failed = yes; then
44932
44933 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44934 _pkg_short_errors_supported=yes
44935 else
44936 _pkg_short_errors_supported=no
44937 fi
44938 if test $_pkg_short_errors_supported = yes; then
44939 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44940 else
44941 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44942 fi
44943 # Put the nasty error message in config.log where it belongs
44944 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44945
44946
44947 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44948 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44949 wxUSE_LIBGNOMEPRINT="no"
44950
44951
44952 elif test $pkg_failed = untried; then
44953
44954 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44955 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44956 wxUSE_LIBGNOMEPRINT="no"
44957
44958
44959 else
44960 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44961 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44962 { echo "$as_me:$LINENO: result: yes" >&5
44963 echo "${ECHO_T}yes" >&6; }
44964
44965 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44966 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44967 cat >>confdefs.h <<\_ACEOF
44968 #define wxUSE_LIBGNOMEPRINT 1
44969 _ACEOF
44970
44971
44972 fi
44973 fi
44974 fi
44975
44976 if test "$wxUSE_MIMETYPE" = "yes" ; then
44977 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44978
44979
44980 pkg_failed=no
44981 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44982 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44983
44984 if test -n "$PKG_CONFIG"; then
44985 if test -n "$GNOMEVFS_CFLAGS"; then
44986 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44987 else
44988 if test -n "$PKG_CONFIG" && \
44989 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44990 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44991 ac_status=$?
44992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44993 (exit $ac_status); }; then
44994 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44995 else
44996 pkg_failed=yes
44997 fi
44998 fi
44999 else
45000 pkg_failed=untried
45001 fi
45002 if test -n "$PKG_CONFIG"; then
45003 if test -n "$GNOMEVFS_LIBS"; then
45004 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45005 else
45006 if test -n "$PKG_CONFIG" && \
45007 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45008 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45009 ac_status=$?
45010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45011 (exit $ac_status); }; then
45012 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45013 else
45014 pkg_failed=yes
45015 fi
45016 fi
45017 else
45018 pkg_failed=untried
45019 fi
45020
45021
45022
45023 if test $pkg_failed = yes; then
45024
45025 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45026 _pkg_short_errors_supported=yes
45027 else
45028 _pkg_short_errors_supported=no
45029 fi
45030 if test $_pkg_short_errors_supported = yes; then
45031 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45032 else
45033 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45034 fi
45035 # Put the nasty error message in config.log where it belongs
45036 echo "$GNOMEVFS_PKG_ERRORS" >&5
45037
45038
45039 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45040 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45041 wxUSE_LIBGNOMEVFS="no"
45042
45043
45044 elif test $pkg_failed = untried; then
45045
45046 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45047 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45048 wxUSE_LIBGNOMEVFS="no"
45049
45050
45051 else
45052 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45053 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45054 { echo "$as_me:$LINENO: result: yes" >&5
45055 echo "${ECHO_T}yes" >&6; }
45056
45057 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45058 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_LIBGNOMEVFS 1
45061 _ACEOF
45062
45063
45064 fi
45065 fi
45066 fi
45067
45068 if test "$wxUSE_LIBHILDON" = "yes" ; then
45069
45070 pkg_failed=no
45071 { echo "$as_me:$LINENO: checking for HILDON" >&5
45072 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45073
45074 if test -n "$PKG_CONFIG"; then
45075 if test -n "$HILDON_CFLAGS"; then
45076 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45077 else
45078 if test -n "$PKG_CONFIG" && \
45079 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45080 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45081 ac_status=$?
45082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45083 (exit $ac_status); }; then
45084 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45085 else
45086 pkg_failed=yes
45087 fi
45088 fi
45089 else
45090 pkg_failed=untried
45091 fi
45092 if test -n "$PKG_CONFIG"; then
45093 if test -n "$HILDON_LIBS"; then
45094 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45095 else
45096 if test -n "$PKG_CONFIG" && \
45097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45098 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45099 ac_status=$?
45100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45101 (exit $ac_status); }; then
45102 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45103 else
45104 pkg_failed=yes
45105 fi
45106 fi
45107 else
45108 pkg_failed=untried
45109 fi
45110
45111
45112
45113 if test $pkg_failed = yes; then
45114
45115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45116 _pkg_short_errors_supported=yes
45117 else
45118 _pkg_short_errors_supported=no
45119 fi
45120 if test $_pkg_short_errors_supported = yes; then
45121 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45122 else
45123 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45124 fi
45125 # Put the nasty error message in config.log where it belongs
45126 echo "$HILDON_PKG_ERRORS" >&5
45127
45128
45129 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45130 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45131 wxUSE_LIBHILDON="no"
45132
45133
45134 elif test $pkg_failed = untried; then
45135
45136 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45137 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45138 wxUSE_LIBHILDON="no"
45139
45140
45141 else
45142 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45143 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45144 { echo "$as_me:$LINENO: result: yes" >&5
45145 echo "${ECHO_T}yes" >&6; }
45146
45147 EXTRALIBS_HILDON="$HILDON_LIBS"
45148 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45149 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45150 cat >>confdefs.h <<\_ACEOF
45151 #define wxUSE_LIBHILDON 1
45152 _ACEOF
45153
45154
45155 fi
45156 fi
45157 fi
45158
45159 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45160 cat >>confdefs.h <<\_ACEOF
45161 #define wxUSE_CMDLINE_PARSER 1
45162 _ACEOF
45163
45164 fi
45165
45166 if test "$wxUSE_STOPWATCH" = "yes"; then
45167 cat >>confdefs.h <<\_ACEOF
45168 #define wxUSE_STOPWATCH 1
45169 _ACEOF
45170
45171 fi
45172
45173 if test "$wxUSE_DATETIME" = "yes"; then
45174 cat >>confdefs.h <<\_ACEOF
45175 #define wxUSE_DATETIME 1
45176 _ACEOF
45177
45178 fi
45179
45180 if test "$wxUSE_FILE" = "yes"; then
45181 cat >>confdefs.h <<\_ACEOF
45182 #define wxUSE_FILE 1
45183 _ACEOF
45184
45185 fi
45186
45187 if test "$wxUSE_FFILE" = "yes"; then
45188 cat >>confdefs.h <<\_ACEOF
45189 #define wxUSE_FFILE 1
45190 _ACEOF
45191
45192 fi
45193
45194 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45195 if test "$wxUSE_STREAMS" != yes; then
45196 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45197 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45198 wxUSE_ARCHIVE_STREAMS=no
45199 else
45200 cat >>confdefs.h <<\_ACEOF
45201 #define wxUSE_ARCHIVE_STREAMS 1
45202 _ACEOF
45203
45204 fi
45205 fi
45206
45207 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45208 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45209 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45210 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45211 elif test "$wxUSE_ZLIB" = "no"; then
45212 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45213 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45214 else
45215 cat >>confdefs.h <<\_ACEOF
45216 #define wxUSE_ZIPSTREAM 1
45217 _ACEOF
45218
45219 fi
45220 fi
45221
45222 if test "$wxUSE_TARSTREAM" = "yes"; then
45223 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45224 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45225 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45226 else
45227 cat >>confdefs.h <<\_ACEOF
45228 #define wxUSE_TARSTREAM 1
45229 _ACEOF
45230
45231 fi
45232 fi
45233
45234 if test "$wxUSE_FILESYSTEM" = "yes"; then
45235 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45236 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45237 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45238 wxUSE_FILESYSTEM=no
45239 else
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_FILESYSTEM 1
45242 _ACEOF
45243
45244 fi
45245 fi
45246
45247 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45248 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45249 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45250 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45251 else
45252 cat >>confdefs.h <<\_ACEOF
45253 #define wxUSE_FS_ARCHIVE 1
45254 _ACEOF
45255
45256 fi
45257 fi
45258
45259 if test "$wxUSE_FS_ZIP" = "yes"; then
45260 if test "$wxUSE_FS_ARCHIVE" != yes; then
45261 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45262 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45263 else
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_FS_ZIP 1
45266 _ACEOF
45267
45268 fi
45269 fi
45270
45271 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45272 if test "$USE_UNIX" != 1; then
45273 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45274 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45275 wxUSE_ON_FATAL_EXCEPTION=no
45276 else
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_ON_FATAL_EXCEPTION 1
45279 _ACEOF
45280
45281 fi
45282 fi
45283
45284 if test "$wxUSE_STACKWALKER" = "yes"; then
45285 cat >>confdefs.h <<\_ACEOF
45286 #define wxUSE_STACKWALKER 1
45287 _ACEOF
45288
45289 fi
45290
45291 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45292 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45293 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45294 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45295 wxUSE_DEBUGREPORT=no
45296 else
45297 cat >>confdefs.h <<\_ACEOF
45298 #define wxUSE_DEBUGREPORT 1
45299 _ACEOF
45300
45301 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45303 fi
45304 fi
45305 fi
45306
45307 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_SNGLINST_CHECKER 1
45310 _ACEOF
45311
45312 fi
45313
45314 if test "$wxUSE_BUSYINFO" = "yes"; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_BUSYINFO 1
45317 _ACEOF
45318
45319 fi
45320
45321 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45322 cat >>confdefs.h <<\_ACEOF
45323 #define wxUSE_STD_IOSTREAM 1
45324 _ACEOF
45325
45326 fi
45327
45328 if test "$wxUSE_STD_STRING" = "yes"; then
45329 cat >>confdefs.h <<\_ACEOF
45330 #define wxUSE_STD_STRING 1
45331 _ACEOF
45332
45333 fi
45334
45335 if test "$wxUSE_STDPATHS" = "yes"; then
45336 cat >>confdefs.h <<\_ACEOF
45337 #define wxUSE_STDPATHS 1
45338 _ACEOF
45339
45340 fi
45341
45342 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45343 cat >>confdefs.h <<\_ACEOF
45344 #define wxUSE_TEXTBUFFER 1
45345 _ACEOF
45346
45347 fi
45348
45349 if test "$wxUSE_TEXTFILE" = "yes"; then
45350 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45351 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45352 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45353 else
45354 cat >>confdefs.h <<\_ACEOF
45355 #define wxUSE_TEXTFILE 1
45356 _ACEOF
45357
45358 fi
45359 fi
45360
45361 if test "$wxUSE_CONFIG" = "yes" ; then
45362 if test "$wxUSE_TEXTFILE" != "yes"; then
45363 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45364 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45365 else
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_CONFIG 1
45368 _ACEOF
45369
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_CONFIG_NATIVE 1
45372 _ACEOF
45373
45374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45375 fi
45376 fi
45377
45378 if test "$wxUSE_INTL" = "yes" ; then
45379 if test "$wxUSE_FILE" != "yes"; then
45380 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45381 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45382 else
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_INTL 1
45385 _ACEOF
45386
45387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45388 GUIDIST="$GUIDIST INTL_DIST"
45389 fi
45390 fi
45391
45392 if test "$wxUSE_LOG" = "yes"; then
45393 cat >>confdefs.h <<\_ACEOF
45394 #define wxUSE_LOG 1
45395 _ACEOF
45396
45397
45398 if test "$wxUSE_LOGGUI" = "yes"; then
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_LOGGUI 1
45401 _ACEOF
45402
45403 fi
45404
45405 if test "$wxUSE_LOGWINDOW" = "yes"; then
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_LOGWINDOW 1
45408 _ACEOF
45409
45410 fi
45411
45412 if test "$wxUSE_LOGDIALOG" = "yes"; then
45413 cat >>confdefs.h <<\_ACEOF
45414 #define wxUSE_LOG_DIALOG 1
45415 _ACEOF
45416
45417 fi
45418
45419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45420 fi
45421
45422 if test "$wxUSE_LONGLONG" = "yes"; then
45423 cat >>confdefs.h <<\_ACEOF
45424 #define wxUSE_LONGLONG 1
45425 _ACEOF
45426
45427 fi
45428
45429 if test "$wxUSE_GEOMETRY" = "yes"; then
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_GEOMETRY 1
45432 _ACEOF
45433
45434 fi
45435
45436 if test "$wxUSE_BASE64" = "yes"; then
45437 cat >>confdefs.h <<\_ACEOF
45438 #define wxUSE_BASE64 1
45439 _ACEOF
45440
45441 fi
45442
45443 if test "$wxUSE_STREAMS" = "yes" ; then
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_STREAMS 1
45446 _ACEOF
45447
45448 fi
45449
45450 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45451 cat >>confdefs.h <<\_ACEOF
45452 #define wxUSE_PRINTF_POS_PARAMS 1
45453 _ACEOF
45454
45455 fi
45456
45457 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45458 cat >>confdefs.h <<\_ACEOF
45459 #define wxUSE_OBJC_UNIQUIFYING 1
45460 _ACEOF
45461
45462 fi
45463
45464
45465 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45466 cat >>confdefs.h <<\_ACEOF
45467 #define wxUSE_CONSOLE_EVENTLOOP 1
45468 _ACEOF
45469
45470
45471 if test "$wxUSE_UNIX" = "yes"; then
45472 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45473 cat >>confdefs.h <<\_ACEOF
45474 #define wxUSE_SELECT_DISPATCHER 1
45475 _ACEOF
45476
45477 fi
45478
45479 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45480
45481 for ac_header in sys/epoll.h
45482 do
45483 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45485 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45488 echo $ECHO_N "(cached) $ECHO_C" >&6
45489 fi
45490 ac_res=`eval echo '${'$as_ac_Header'}'`
45491 { echo "$as_me:$LINENO: result: $ac_res" >&5
45492 echo "${ECHO_T}$ac_res" >&6; }
45493 else
45494 # Is the header compilable?
45495 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45497 cat >conftest.$ac_ext <<_ACEOF
45498 /* confdefs.h. */
45499 _ACEOF
45500 cat confdefs.h >>conftest.$ac_ext
45501 cat >>conftest.$ac_ext <<_ACEOF
45502 /* end confdefs.h. */
45503 $ac_includes_default
45504 #include <$ac_header>
45505 _ACEOF
45506 rm -f conftest.$ac_objext
45507 if { (ac_try="$ac_compile"
45508 case "(($ac_try" in
45509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45510 *) ac_try_echo=$ac_try;;
45511 esac
45512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45513 (eval "$ac_compile") 2>conftest.er1
45514 ac_status=$?
45515 grep -v '^ *+' conftest.er1 >conftest.err
45516 rm -f conftest.er1
45517 cat conftest.err >&5
45518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45519 (exit $ac_status); } && {
45520 test -z "$ac_c_werror_flag" ||
45521 test ! -s conftest.err
45522 } && test -s conftest.$ac_objext; then
45523 ac_header_compiler=yes
45524 else
45525 echo "$as_me: failed program was:" >&5
45526 sed 's/^/| /' conftest.$ac_ext >&5
45527
45528 ac_header_compiler=no
45529 fi
45530
45531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45532 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45533 echo "${ECHO_T}$ac_header_compiler" >&6; }
45534
45535 # Is the header present?
45536 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45537 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45538 cat >conftest.$ac_ext <<_ACEOF
45539 /* confdefs.h. */
45540 _ACEOF
45541 cat confdefs.h >>conftest.$ac_ext
45542 cat >>conftest.$ac_ext <<_ACEOF
45543 /* end confdefs.h. */
45544 #include <$ac_header>
45545 _ACEOF
45546 if { (ac_try="$ac_cpp conftest.$ac_ext"
45547 case "(($ac_try" in
45548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45549 *) ac_try_echo=$ac_try;;
45550 esac
45551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45553 ac_status=$?
45554 grep -v '^ *+' conftest.er1 >conftest.err
45555 rm -f conftest.er1
45556 cat conftest.err >&5
45557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45558 (exit $ac_status); } >/dev/null && {
45559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45560 test ! -s conftest.err
45561 }; then
45562 ac_header_preproc=yes
45563 else
45564 echo "$as_me: failed program was:" >&5
45565 sed 's/^/| /' conftest.$ac_ext >&5
45566
45567 ac_header_preproc=no
45568 fi
45569
45570 rm -f conftest.err conftest.$ac_ext
45571 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45572 echo "${ECHO_T}$ac_header_preproc" >&6; }
45573
45574 # So? What about this header?
45575 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45576 yes:no: )
45577 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45578 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45580 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45581 ac_header_preproc=yes
45582 ;;
45583 no:yes:* )
45584 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45585 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45586 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45587 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45588 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45589 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45590 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45591 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45594 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45595 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45596 ( cat <<\_ASBOX
45597 ## ----------------------------------------- ##
45598 ## Report this to wx-dev@lists.wxwidgets.org ##
45599 ## ----------------------------------------- ##
45600 _ASBOX
45601 ) | sed "s/^/$as_me: WARNING: /" >&2
45602 ;;
45603 esac
45604 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45606 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45607 echo $ECHO_N "(cached) $ECHO_C" >&6
45608 else
45609 eval "$as_ac_Header=\$ac_header_preproc"
45610 fi
45611 ac_res=`eval echo '${'$as_ac_Header'}'`
45612 { echo "$as_me:$LINENO: result: $ac_res" >&5
45613 echo "${ECHO_T}$ac_res" >&6; }
45614
45615 fi
45616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45617 cat >>confdefs.h <<_ACEOF
45618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45619 _ACEOF
45620
45621 fi
45622
45623 done
45624
45625 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_EPOLL_DISPATCHER 1
45628 _ACEOF
45629
45630 else
45631 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45632 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45633 fi
45634 fi
45635 fi
45636 fi
45637
45638
45639 if test "$wxUSE_DATETIME" = "yes"; then
45640 { echo "$as_me:$LINENO: checking for strptime" >&5
45641 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45642 if test "${ac_cv_func_strptime+set}" = set; then
45643 echo $ECHO_N "(cached) $ECHO_C" >&6
45644 else
45645 cat >conftest.$ac_ext <<_ACEOF
45646 /* confdefs.h. */
45647 _ACEOF
45648 cat confdefs.h >>conftest.$ac_ext
45649 cat >>conftest.$ac_ext <<_ACEOF
45650 /* end confdefs.h. */
45651 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45653 #define strptime innocuous_strptime
45654
45655 /* System header to define __stub macros and hopefully few prototypes,
45656 which can conflict with char strptime (); below.
45657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45658 <limits.h> exists even on freestanding compilers. */
45659
45660 #ifdef __STDC__
45661 # include <limits.h>
45662 #else
45663 # include <assert.h>
45664 #endif
45665
45666 #undef strptime
45667
45668 /* Override any GCC internal prototype to avoid an error.
45669 Use char because int might match the return type of a GCC
45670 builtin and then its argument prototype would still apply. */
45671 #ifdef __cplusplus
45672 extern "C"
45673 #endif
45674 char strptime ();
45675 /* The GNU C library defines this for functions which it implements
45676 to always fail with ENOSYS. Some functions are actually named
45677 something starting with __ and the normal name is an alias. */
45678 #if defined __stub_strptime || defined __stub___strptime
45679 choke me
45680 #endif
45681
45682 int
45683 main ()
45684 {
45685 return strptime ();
45686 ;
45687 return 0;
45688 }
45689 _ACEOF
45690 rm -f conftest.$ac_objext conftest$ac_exeext
45691 if { (ac_try="$ac_link"
45692 case "(($ac_try" in
45693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45694 *) ac_try_echo=$ac_try;;
45695 esac
45696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45697 (eval "$ac_link") 2>conftest.er1
45698 ac_status=$?
45699 grep -v '^ *+' conftest.er1 >conftest.err
45700 rm -f conftest.er1
45701 cat conftest.err >&5
45702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45703 (exit $ac_status); } && {
45704 test -z "$ac_c_werror_flag" ||
45705 test ! -s conftest.err
45706 } && test -s conftest$ac_exeext &&
45707 $as_test_x conftest$ac_exeext; then
45708 ac_cv_func_strptime=yes
45709 else
45710 echo "$as_me: failed program was:" >&5
45711 sed 's/^/| /' conftest.$ac_ext >&5
45712
45713 ac_cv_func_strptime=no
45714 fi
45715
45716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45717 conftest$ac_exeext conftest.$ac_ext
45718 fi
45719 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45720 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45721
45722 if test "$ac_cv_func_strptime" = "yes"; then
45723 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45724 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45725 if test "${wx_cv_func_strptime_decl+set}" = set; then
45726 echo $ECHO_N "(cached) $ECHO_C" >&6
45727 else
45728
45729 ac_ext=cpp
45730 ac_cpp='$CXXCPP $CPPFLAGS'
45731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45734
45735 cat >conftest.$ac_ext <<_ACEOF
45736 /* confdefs.h. */
45737 _ACEOF
45738 cat confdefs.h >>conftest.$ac_ext
45739 cat >>conftest.$ac_ext <<_ACEOF
45740 /* end confdefs.h. */
45741
45742 #include <time.h>
45743
45744 int
45745 main ()
45746 {
45747
45748 struct tm t;
45749 strptime("foo", "bar", &t);
45750
45751 ;
45752 return 0;
45753 }
45754 _ACEOF
45755 rm -f conftest.$ac_objext
45756 if { (ac_try="$ac_compile"
45757 case "(($ac_try" in
45758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45759 *) ac_try_echo=$ac_try;;
45760 esac
45761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45762 (eval "$ac_compile") 2>conftest.er1
45763 ac_status=$?
45764 grep -v '^ *+' conftest.er1 >conftest.err
45765 rm -f conftest.er1
45766 cat conftest.err >&5
45767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45768 (exit $ac_status); } && {
45769 test -z "$ac_cxx_werror_flag" ||
45770 test ! -s conftest.err
45771 } && test -s conftest.$ac_objext; then
45772 wx_cv_func_strptime_decl=yes
45773 else
45774 echo "$as_me: failed program was:" >&5
45775 sed 's/^/| /' conftest.$ac_ext >&5
45776
45777 wx_cv_func_strptime_decl=no
45778
45779 fi
45780
45781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45782 ac_ext=c
45783 ac_cpp='$CPP $CPPFLAGS'
45784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45787
45788
45789
45790 fi
45791 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45792 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
45793 fi
45794 if test "$wx_cv_func_strptime_decl" = "yes"; then
45795 cat >>confdefs.h <<\_ACEOF
45796 #define HAVE_STRPTIME_DECL 1
45797 _ACEOF
45798
45799 else
45800 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
45801 fi
45802 if test "$ac_cv_func_strptime" = "yes"; then
45803 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
45804 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
45805 if test "${wx_cv_func_strptime_ok+set}" = set; then
45806 echo $ECHO_N "(cached) $ECHO_C" >&6
45807 else
45808 if test "$cross_compiling" = yes; then
45809 wx_cv_func_strptime_ok=no
45810
45811 else
45812 cat >conftest.$ac_ext <<_ACEOF
45813
45814 #include <stdlib.h>
45815 #include <time.h>
45816 #include "confdefs.h"
45817
45818 $wx_strptime_decl
45819
45820 int main()
45821 {
45822 struct tm t;
45823 return !!strptime("", "%x", &t);
45824 }
45825
45826 _ACEOF
45827 rm -f conftest$ac_exeext
45828 if { (ac_try="$ac_link"
45829 case "(($ac_try" in
45830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45831 *) ac_try_echo=$ac_try;;
45832 esac
45833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45834 (eval "$ac_link") 2>&5
45835 ac_status=$?
45836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45838 { (case "(($ac_try" in
45839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45840 *) ac_try_echo=$ac_try;;
45841 esac
45842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45843 (eval "$ac_try") 2>&5
45844 ac_status=$?
45845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45846 (exit $ac_status); }; }; then
45847 wx_cv_func_strptime_ok=yes
45848 else
45849 echo "$as_me: program exited with status $ac_status" >&5
45850 echo "$as_me: failed program was:" >&5
45851 sed 's/^/| /' conftest.$ac_ext >&5
45852
45853 ( exit $ac_status )
45854 wx_cv_func_strptime_ok=no
45855 fi
45856 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45857 fi
45858
45859
45860
45861 fi
45862 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
45863 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
45864
45865 if test "$wx_cv_func_strptime_ok" = "yes"; then
45866 cat >>confdefs.h <<\_ACEOF
45867 #define HAVE_STRPTIME 1
45868 _ACEOF
45869
45870 fi
45871 fi
45872
45873 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45874 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45875 if test "${wx_cv_var_timezone+set}" = set; then
45876 echo $ECHO_N "(cached) $ECHO_C" >&6
45877 else
45878
45879 ac_ext=cpp
45880 ac_cpp='$CXXCPP $CPPFLAGS'
45881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45884
45885 cat >conftest.$ac_ext <<_ACEOF
45886 /* confdefs.h. */
45887 _ACEOF
45888 cat confdefs.h >>conftest.$ac_ext
45889 cat >>conftest.$ac_ext <<_ACEOF
45890 /* end confdefs.h. */
45891
45892 #include <time.h>
45893
45894 int
45895 main ()
45896 {
45897
45898 int tz;
45899 tz = timezone;
45900
45901 ;
45902 return 0;
45903 }
45904 _ACEOF
45905 rm -f conftest.$ac_objext
45906 if { (ac_try="$ac_compile"
45907 case "(($ac_try" in
45908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45909 *) ac_try_echo=$ac_try;;
45910 esac
45911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45912 (eval "$ac_compile") 2>conftest.er1
45913 ac_status=$?
45914 grep -v '^ *+' conftest.er1 >conftest.err
45915 rm -f conftest.er1
45916 cat conftest.err >&5
45917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45918 (exit $ac_status); } && {
45919 test -z "$ac_cxx_werror_flag" ||
45920 test ! -s conftest.err
45921 } && test -s conftest.$ac_objext; then
45922
45923 wx_cv_var_timezone=timezone
45924
45925 else
45926 echo "$as_me: failed program was:" >&5
45927 sed 's/^/| /' conftest.$ac_ext >&5
45928
45929
45930 cat >conftest.$ac_ext <<_ACEOF
45931 /* confdefs.h. */
45932 _ACEOF
45933 cat confdefs.h >>conftest.$ac_ext
45934 cat >>conftest.$ac_ext <<_ACEOF
45935 /* end confdefs.h. */
45936
45937 #include <time.h>
45938
45939 int
45940 main ()
45941 {
45942
45943 int tz;
45944 tz = _timezone;
45945
45946 ;
45947 return 0;
45948 }
45949 _ACEOF
45950 rm -f conftest.$ac_objext
45951 if { (ac_try="$ac_compile"
45952 case "(($ac_try" in
45953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45954 *) ac_try_echo=$ac_try;;
45955 esac
45956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45957 (eval "$ac_compile") 2>conftest.er1
45958 ac_status=$?
45959 grep -v '^ *+' conftest.er1 >conftest.err
45960 rm -f conftest.er1
45961 cat conftest.err >&5
45962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45963 (exit $ac_status); } && {
45964 test -z "$ac_cxx_werror_flag" ||
45965 test ! -s conftest.err
45966 } && test -s conftest.$ac_objext; then
45967
45968 wx_cv_var_timezone=_timezone
45969
45970 else
45971 echo "$as_me: failed program was:" >&5
45972 sed 's/^/| /' conftest.$ac_ext >&5
45973
45974
45975 cat >conftest.$ac_ext <<_ACEOF
45976 /* confdefs.h. */
45977 _ACEOF
45978 cat confdefs.h >>conftest.$ac_ext
45979 cat >>conftest.$ac_ext <<_ACEOF
45980 /* end confdefs.h. */
45981
45982 #include <time.h>
45983
45984 int
45985 main ()
45986 {
45987
45988 int tz;
45989 tz = __timezone;
45990
45991 ;
45992 return 0;
45993 }
45994 _ACEOF
45995 rm -f conftest.$ac_objext
45996 if { (ac_try="$ac_compile"
45997 case "(($ac_try" in
45998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45999 *) ac_try_echo=$ac_try;;
46000 esac
46001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46002 (eval "$ac_compile") 2>conftest.er1
46003 ac_status=$?
46004 grep -v '^ *+' conftest.er1 >conftest.err
46005 rm -f conftest.er1
46006 cat conftest.err >&5
46007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46008 (exit $ac_status); } && {
46009 test -z "$ac_cxx_werror_flag" ||
46010 test ! -s conftest.err
46011 } && test -s conftest.$ac_objext; then
46012
46013 wx_cv_var_timezone=__timezone
46014
46015 else
46016 echo "$as_me: failed program was:" >&5
46017 sed 's/^/| /' conftest.$ac_ext >&5
46018
46019
46020 if test "$USE_DOS" = 0 ; then
46021 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46022 echo "$as_me: WARNING: no timezone variable" >&2;}
46023 fi
46024
46025
46026 fi
46027
46028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46029
46030
46031 fi
46032
46033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46034
46035
46036 fi
46037
46038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46039 ac_ext=c
46040 ac_cpp='$CPP $CPPFLAGS'
46041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46044
46045
46046
46047 fi
46048 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46049 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46050
46051 if test "x$wx_cv_var_timezone" != x ; then
46052 cat >>confdefs.h <<_ACEOF
46053 #define WX_TIMEZONE $wx_cv_var_timezone
46054 _ACEOF
46055
46056 fi
46057
46058
46059 for ac_func in localtime
46060 do
46061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46062 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46064 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46065 echo $ECHO_N "(cached) $ECHO_C" >&6
46066 else
46067 cat >conftest.$ac_ext <<_ACEOF
46068 /* confdefs.h. */
46069 _ACEOF
46070 cat confdefs.h >>conftest.$ac_ext
46071 cat >>conftest.$ac_ext <<_ACEOF
46072 /* end confdefs.h. */
46073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46075 #define $ac_func innocuous_$ac_func
46076
46077 /* System header to define __stub macros and hopefully few prototypes,
46078 which can conflict with char $ac_func (); below.
46079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46080 <limits.h> exists even on freestanding compilers. */
46081
46082 #ifdef __STDC__
46083 # include <limits.h>
46084 #else
46085 # include <assert.h>
46086 #endif
46087
46088 #undef $ac_func
46089
46090 /* Override any GCC internal prototype to avoid an error.
46091 Use char because int might match the return type of a GCC
46092 builtin and then its argument prototype would still apply. */
46093 #ifdef __cplusplus
46094 extern "C"
46095 #endif
46096 char $ac_func ();
46097 /* The GNU C library defines this for functions which it implements
46098 to always fail with ENOSYS. Some functions are actually named
46099 something starting with __ and the normal name is an alias. */
46100 #if defined __stub_$ac_func || defined __stub___$ac_func
46101 choke me
46102 #endif
46103
46104 int
46105 main ()
46106 {
46107 return $ac_func ();
46108 ;
46109 return 0;
46110 }
46111 _ACEOF
46112 rm -f conftest.$ac_objext conftest$ac_exeext
46113 if { (ac_try="$ac_link"
46114 case "(($ac_try" in
46115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46116 *) ac_try_echo=$ac_try;;
46117 esac
46118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46119 (eval "$ac_link") 2>conftest.er1
46120 ac_status=$?
46121 grep -v '^ *+' conftest.er1 >conftest.err
46122 rm -f conftest.er1
46123 cat conftest.err >&5
46124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46125 (exit $ac_status); } && {
46126 test -z "$ac_c_werror_flag" ||
46127 test ! -s conftest.err
46128 } && test -s conftest$ac_exeext &&
46129 $as_test_x conftest$ac_exeext; then
46130 eval "$as_ac_var=yes"
46131 else
46132 echo "$as_me: failed program was:" >&5
46133 sed 's/^/| /' conftest.$ac_ext >&5
46134
46135 eval "$as_ac_var=no"
46136 fi
46137
46138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46139 conftest$ac_exeext conftest.$ac_ext
46140 fi
46141 ac_res=`eval echo '${'$as_ac_var'}'`
46142 { echo "$as_me:$LINENO: result: $ac_res" >&5
46143 echo "${ECHO_T}$ac_res" >&6; }
46144 if test `eval echo '${'$as_ac_var'}'` = yes; then
46145 cat >>confdefs.h <<_ACEOF
46146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46147 _ACEOF
46148
46149 fi
46150 done
46151
46152
46153 if test "$ac_cv_func_localtime" = "yes"; then
46154 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46155 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46156 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46157 echo $ECHO_N "(cached) $ECHO_C" >&6
46158 else
46159
46160 cat >conftest.$ac_ext <<_ACEOF
46161 /* confdefs.h. */
46162 _ACEOF
46163 cat confdefs.h >>conftest.$ac_ext
46164 cat >>conftest.$ac_ext <<_ACEOF
46165 /* end confdefs.h. */
46166
46167 #include <time.h>
46168
46169 int
46170 main ()
46171 {
46172
46173 struct tm tm;
46174 tm.tm_gmtoff++;
46175
46176 ;
46177 return 0;
46178 }
46179 _ACEOF
46180 rm -f conftest.$ac_objext
46181 if { (ac_try="$ac_compile"
46182 case "(($ac_try" in
46183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46184 *) ac_try_echo=$ac_try;;
46185 esac
46186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46187 (eval "$ac_compile") 2>conftest.er1
46188 ac_status=$?
46189 grep -v '^ *+' conftest.er1 >conftest.err
46190 rm -f conftest.er1
46191 cat conftest.err >&5
46192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46193 (exit $ac_status); } && {
46194 test -z "$ac_c_werror_flag" ||
46195 test ! -s conftest.err
46196 } && test -s conftest.$ac_objext; then
46197
46198 wx_cv_struct_tm_has_gmtoff=yes
46199
46200 else
46201 echo "$as_me: failed program was:" >&5
46202 sed 's/^/| /' conftest.$ac_ext >&5
46203
46204 wx_cv_struct_tm_has_gmtoff=no
46205
46206 fi
46207
46208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46209
46210 fi
46211 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46212 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46213 fi
46214
46215 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46216 cat >>confdefs.h <<\_ACEOF
46217 #define WX_GMTOFF_IN_TM 1
46218 _ACEOF
46219
46220 fi
46221
46222
46223
46224 for ac_func in gettimeofday ftime
46225 do
46226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46230 echo $ECHO_N "(cached) $ECHO_C" >&6
46231 else
46232 cat >conftest.$ac_ext <<_ACEOF
46233 /* confdefs.h. */
46234 _ACEOF
46235 cat confdefs.h >>conftest.$ac_ext
46236 cat >>conftest.$ac_ext <<_ACEOF
46237 /* end confdefs.h. */
46238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46240 #define $ac_func innocuous_$ac_func
46241
46242 /* System header to define __stub macros and hopefully few prototypes,
46243 which can conflict with char $ac_func (); below.
46244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46245 <limits.h> exists even on freestanding compilers. */
46246
46247 #ifdef __STDC__
46248 # include <limits.h>
46249 #else
46250 # include <assert.h>
46251 #endif
46252
46253 #undef $ac_func
46254
46255 /* Override any GCC internal prototype to avoid an error.
46256 Use char because int might match the return type of a GCC
46257 builtin and then its argument prototype would still apply. */
46258 #ifdef __cplusplus
46259 extern "C"
46260 #endif
46261 char $ac_func ();
46262 /* The GNU C library defines this for functions which it implements
46263 to always fail with ENOSYS. Some functions are actually named
46264 something starting with __ and the normal name is an alias. */
46265 #if defined __stub_$ac_func || defined __stub___$ac_func
46266 choke me
46267 #endif
46268
46269 int
46270 main ()
46271 {
46272 return $ac_func ();
46273 ;
46274 return 0;
46275 }
46276 _ACEOF
46277 rm -f conftest.$ac_objext conftest$ac_exeext
46278 if { (ac_try="$ac_link"
46279 case "(($ac_try" in
46280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46281 *) ac_try_echo=$ac_try;;
46282 esac
46283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46284 (eval "$ac_link") 2>conftest.er1
46285 ac_status=$?
46286 grep -v '^ *+' conftest.er1 >conftest.err
46287 rm -f conftest.er1
46288 cat conftest.err >&5
46289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46290 (exit $ac_status); } && {
46291 test -z "$ac_c_werror_flag" ||
46292 test ! -s conftest.err
46293 } && test -s conftest$ac_exeext &&
46294 $as_test_x conftest$ac_exeext; then
46295 eval "$as_ac_var=yes"
46296 else
46297 echo "$as_me: failed program was:" >&5
46298 sed 's/^/| /' conftest.$ac_ext >&5
46299
46300 eval "$as_ac_var=no"
46301 fi
46302
46303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46304 conftest$ac_exeext conftest.$ac_ext
46305 fi
46306 ac_res=`eval echo '${'$as_ac_var'}'`
46307 { echo "$as_me:$LINENO: result: $ac_res" >&5
46308 echo "${ECHO_T}$ac_res" >&6; }
46309 if test `eval echo '${'$as_ac_var'}'` = yes; then
46310 cat >>confdefs.h <<_ACEOF
46311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46312 _ACEOF
46313 break
46314 fi
46315 done
46316
46317
46318 if test "$ac_cv_func_gettimeofday" = "yes"; then
46319 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46320 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46321 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46322 echo $ECHO_N "(cached) $ECHO_C" >&6
46323 else
46324
46325 cat >conftest.$ac_ext <<_ACEOF
46326 /* confdefs.h. */
46327 _ACEOF
46328 cat confdefs.h >>conftest.$ac_ext
46329 cat >>conftest.$ac_ext <<_ACEOF
46330 /* end confdefs.h. */
46331
46332 #include <sys/time.h>
46333 #include <unistd.h>
46334
46335 int
46336 main ()
46337 {
46338
46339 struct timeval tv;
46340 gettimeofday(&tv, NULL);
46341
46342 ;
46343 return 0;
46344 }
46345 _ACEOF
46346 rm -f conftest.$ac_objext
46347 if { (ac_try="$ac_compile"
46348 case "(($ac_try" in
46349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46350 *) ac_try_echo=$ac_try;;
46351 esac
46352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46353 (eval "$ac_compile") 2>conftest.er1
46354 ac_status=$?
46355 grep -v '^ *+' conftest.er1 >conftest.err
46356 rm -f conftest.er1
46357 cat conftest.err >&5
46358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46359 (exit $ac_status); } && {
46360 test -z "$ac_c_werror_flag" ||
46361 test ! -s conftest.err
46362 } && test -s conftest.$ac_objext; then
46363 wx_cv_func_gettimeofday_has_2_args=yes
46364 else
46365 echo "$as_me: failed program was:" >&5
46366 sed 's/^/| /' conftest.$ac_ext >&5
46367
46368 cat >conftest.$ac_ext <<_ACEOF
46369 /* confdefs.h. */
46370 _ACEOF
46371 cat confdefs.h >>conftest.$ac_ext
46372 cat >>conftest.$ac_ext <<_ACEOF
46373 /* end confdefs.h. */
46374
46375 #include <sys/time.h>
46376 #include <unistd.h>
46377
46378 int
46379 main ()
46380 {
46381
46382 struct timeval tv;
46383 gettimeofday(&tv);
46384
46385 ;
46386 return 0;
46387 }
46388 _ACEOF
46389 rm -f conftest.$ac_objext
46390 if { (ac_try="$ac_compile"
46391 case "(($ac_try" in
46392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46393 *) ac_try_echo=$ac_try;;
46394 esac
46395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46396 (eval "$ac_compile") 2>conftest.er1
46397 ac_status=$?
46398 grep -v '^ *+' conftest.er1 >conftest.err
46399 rm -f conftest.er1
46400 cat conftest.err >&5
46401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46402 (exit $ac_status); } && {
46403 test -z "$ac_c_werror_flag" ||
46404 test ! -s conftest.err
46405 } && test -s conftest.$ac_objext; then
46406 wx_cv_func_gettimeofday_has_2_args=no
46407 else
46408 echo "$as_me: failed program was:" >&5
46409 sed 's/^/| /' conftest.$ac_ext >&5
46410
46411
46412 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46413 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46414 wx_cv_func_gettimeofday_has_2_args=unknown
46415
46416
46417 fi
46418
46419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46420
46421 fi
46422
46423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46424
46425 fi
46426 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46427 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46428
46429 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46430 cat >>confdefs.h <<\_ACEOF
46431 #define WX_GETTIMEOFDAY_NO_TZ 1
46432 _ACEOF
46433
46434 fi
46435 fi
46436
46437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46438 fi
46439
46440
46441 if test "$wxUSE_SOCKETS" = "yes"; then
46442 if test "$wxUSE_MGL" = "1"; then
46443 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46444 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46445 wxUSE_SOCKETS="no"
46446 fi
46447 fi
46448
46449 if test "$wxUSE_SOCKETS" = "yes"; then
46450 if test "$TOOLKIT" != "MSW"; then
46451 { echo "$as_me:$LINENO: checking for socket" >&5
46452 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46453 if test "${ac_cv_func_socket+set}" = set; then
46454 echo $ECHO_N "(cached) $ECHO_C" >&6
46455 else
46456 cat >conftest.$ac_ext <<_ACEOF
46457 /* confdefs.h. */
46458 _ACEOF
46459 cat confdefs.h >>conftest.$ac_ext
46460 cat >>conftest.$ac_ext <<_ACEOF
46461 /* end confdefs.h. */
46462 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46464 #define socket innocuous_socket
46465
46466 /* System header to define __stub macros and hopefully few prototypes,
46467 which can conflict with char socket (); below.
46468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46469 <limits.h> exists even on freestanding compilers. */
46470
46471 #ifdef __STDC__
46472 # include <limits.h>
46473 #else
46474 # include <assert.h>
46475 #endif
46476
46477 #undef socket
46478
46479 /* Override any GCC internal prototype to avoid an error.
46480 Use char because int might match the return type of a GCC
46481 builtin and then its argument prototype would still apply. */
46482 #ifdef __cplusplus
46483 extern "C"
46484 #endif
46485 char socket ();
46486 /* The GNU C library defines this for functions which it implements
46487 to always fail with ENOSYS. Some functions are actually named
46488 something starting with __ and the normal name is an alias. */
46489 #if defined __stub_socket || defined __stub___socket
46490 choke me
46491 #endif
46492
46493 int
46494 main ()
46495 {
46496 return socket ();
46497 ;
46498 return 0;
46499 }
46500 _ACEOF
46501 rm -f conftest.$ac_objext conftest$ac_exeext
46502 if { (ac_try="$ac_link"
46503 case "(($ac_try" in
46504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46505 *) ac_try_echo=$ac_try;;
46506 esac
46507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46508 (eval "$ac_link") 2>conftest.er1
46509 ac_status=$?
46510 grep -v '^ *+' conftest.er1 >conftest.err
46511 rm -f conftest.er1
46512 cat conftest.err >&5
46513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46514 (exit $ac_status); } && {
46515 test -z "$ac_c_werror_flag" ||
46516 test ! -s conftest.err
46517 } && test -s conftest$ac_exeext &&
46518 $as_test_x conftest$ac_exeext; then
46519 ac_cv_func_socket=yes
46520 else
46521 echo "$as_me: failed program was:" >&5
46522 sed 's/^/| /' conftest.$ac_ext >&5
46523
46524 ac_cv_func_socket=no
46525 fi
46526
46527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46528 conftest$ac_exeext conftest.$ac_ext
46529 fi
46530 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46531 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46532 if test $ac_cv_func_socket = yes; then
46533 :
46534 else
46535
46536 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46537 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46538 if test "${ac_cv_lib_socket_socket+set}" = set; then
46539 echo $ECHO_N "(cached) $ECHO_C" >&6
46540 else
46541 ac_check_lib_save_LIBS=$LIBS
46542 LIBS="-lsocket $LIBS"
46543 cat >conftest.$ac_ext <<_ACEOF
46544 /* confdefs.h. */
46545 _ACEOF
46546 cat confdefs.h >>conftest.$ac_ext
46547 cat >>conftest.$ac_ext <<_ACEOF
46548 /* end confdefs.h. */
46549
46550 /* Override any GCC internal prototype to avoid an error.
46551 Use char because int might match the return type of a GCC
46552 builtin and then its argument prototype would still apply. */
46553 #ifdef __cplusplus
46554 extern "C"
46555 #endif
46556 char socket ();
46557 int
46558 main ()
46559 {
46560 return socket ();
46561 ;
46562 return 0;
46563 }
46564 _ACEOF
46565 rm -f conftest.$ac_objext conftest$ac_exeext
46566 if { (ac_try="$ac_link"
46567 case "(($ac_try" in
46568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46569 *) ac_try_echo=$ac_try;;
46570 esac
46571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46572 (eval "$ac_link") 2>conftest.er1
46573 ac_status=$?
46574 grep -v '^ *+' conftest.er1 >conftest.err
46575 rm -f conftest.er1
46576 cat conftest.err >&5
46577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46578 (exit $ac_status); } && {
46579 test -z "$ac_c_werror_flag" ||
46580 test ! -s conftest.err
46581 } && test -s conftest$ac_exeext &&
46582 $as_test_x conftest$ac_exeext; then
46583 ac_cv_lib_socket_socket=yes
46584 else
46585 echo "$as_me: failed program was:" >&5
46586 sed 's/^/| /' conftest.$ac_ext >&5
46587
46588 ac_cv_lib_socket_socket=no
46589 fi
46590
46591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46592 conftest$ac_exeext conftest.$ac_ext
46593 LIBS=$ac_check_lib_save_LIBS
46594 fi
46595 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46596 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46597 if test $ac_cv_lib_socket_socket = yes; then
46598 if test "$INET_LINK" != " -lsocket"; then
46599 INET_LINK="$INET_LINK -lsocket"
46600 fi
46601 else
46602
46603 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46604 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46605 wxUSE_SOCKETS=no
46606
46607
46608 fi
46609
46610
46611
46612 fi
46613
46614 fi
46615 fi
46616
46617 if test "$wxUSE_SOCKETS" = "yes" ; then
46618 if test "$TOOLKIT" != "MSW"; then
46619 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46620 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46621 if test "${wx_cv_type_getsockname3+set}" = set; then
46622 echo $ECHO_N "(cached) $ECHO_C" >&6
46623 else
46624
46625 ac_ext=cpp
46626 ac_cpp='$CXXCPP $CPPFLAGS'
46627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46630
46631 cat >conftest.$ac_ext <<_ACEOF
46632 /* confdefs.h. */
46633 _ACEOF
46634 cat confdefs.h >>conftest.$ac_ext
46635 cat >>conftest.$ac_ext <<_ACEOF
46636 /* end confdefs.h. */
46637
46638 #include <sys/types.h>
46639 #include <sys/socket.h>
46640
46641 int
46642 main ()
46643 {
46644
46645 socklen_t len;
46646 getsockname(0, 0, &len);
46647
46648 ;
46649 return 0;
46650 }
46651 _ACEOF
46652 rm -f conftest.$ac_objext
46653 if { (ac_try="$ac_compile"
46654 case "(($ac_try" in
46655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46656 *) ac_try_echo=$ac_try;;
46657 esac
46658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46659 (eval "$ac_compile") 2>conftest.er1
46660 ac_status=$?
46661 grep -v '^ *+' conftest.er1 >conftest.err
46662 rm -f conftest.er1
46663 cat conftest.err >&5
46664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46665 (exit $ac_status); } && {
46666 test -z "$ac_cxx_werror_flag" ||
46667 test ! -s conftest.err
46668 } && test -s conftest.$ac_objext; then
46669 wx_cv_type_getsockname3=socklen_t
46670 else
46671 echo "$as_me: failed program was:" >&5
46672 sed 's/^/| /' conftest.$ac_ext >&5
46673
46674
46675 CFLAGS_OLD="$CFLAGS"
46676 if test "$GCC" = yes ; then
46677 CFLAGS="-Werror $CFLAGS"
46678 fi
46679
46680 cat >conftest.$ac_ext <<_ACEOF
46681 /* confdefs.h. */
46682 _ACEOF
46683 cat confdefs.h >>conftest.$ac_ext
46684 cat >>conftest.$ac_ext <<_ACEOF
46685 /* end confdefs.h. */
46686
46687 #include <sys/types.h>
46688 #include <sys/socket.h>
46689
46690 int
46691 main ()
46692 {
46693
46694 size_t len;
46695 getsockname(0, 0, &len);
46696
46697 ;
46698 return 0;
46699 }
46700 _ACEOF
46701 rm -f conftest.$ac_objext
46702 if { (ac_try="$ac_compile"
46703 case "(($ac_try" in
46704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46705 *) ac_try_echo=$ac_try;;
46706 esac
46707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46708 (eval "$ac_compile") 2>conftest.er1
46709 ac_status=$?
46710 grep -v '^ *+' conftest.er1 >conftest.err
46711 rm -f conftest.er1
46712 cat conftest.err >&5
46713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46714 (exit $ac_status); } && {
46715 test -z "$ac_cxx_werror_flag" ||
46716 test ! -s conftest.err
46717 } && test -s conftest.$ac_objext; then
46718 wx_cv_type_getsockname3=size_t
46719 else
46720 echo "$as_me: failed program was:" >&5
46721 sed 's/^/| /' conftest.$ac_ext >&5
46722
46723 cat >conftest.$ac_ext <<_ACEOF
46724 /* confdefs.h. */
46725 _ACEOF
46726 cat confdefs.h >>conftest.$ac_ext
46727 cat >>conftest.$ac_ext <<_ACEOF
46728 /* end confdefs.h. */
46729
46730 #include <sys/types.h>
46731 #include <sys/socket.h>
46732
46733 int
46734 main ()
46735 {
46736
46737 int len;
46738 getsockname(0, 0, &len);
46739
46740 ;
46741 return 0;
46742 }
46743 _ACEOF
46744 rm -f conftest.$ac_objext
46745 if { (ac_try="$ac_compile"
46746 case "(($ac_try" in
46747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46748 *) ac_try_echo=$ac_try;;
46749 esac
46750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46751 (eval "$ac_compile") 2>conftest.er1
46752 ac_status=$?
46753 grep -v '^ *+' conftest.er1 >conftest.err
46754 rm -f conftest.er1
46755 cat conftest.err >&5
46756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46757 (exit $ac_status); } && {
46758 test -z "$ac_cxx_werror_flag" ||
46759 test ! -s conftest.err
46760 } && test -s conftest.$ac_objext; then
46761 wx_cv_type_getsockname3=int
46762 else
46763 echo "$as_me: failed program was:" >&5
46764 sed 's/^/| /' conftest.$ac_ext >&5
46765
46766 wx_cv_type_getsockname3=unknown
46767
46768 fi
46769
46770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46771
46772 fi
46773
46774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46775
46776 CFLAGS="$CFLAGS_OLD"
46777
46778
46779 fi
46780
46781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46782 ac_ext=c
46783 ac_cpp='$CPP $CPPFLAGS'
46784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46787
46788
46789 fi
46790 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46791 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46792
46793 if test "$wx_cv_type_getsockname3" = "unknown"; then
46794 wxUSE_SOCKETS=no
46795 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46796 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46797 else
46798 cat >>confdefs.h <<_ACEOF
46799 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46800 _ACEOF
46801
46802 fi
46803 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46804 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46805 if test "${wx_cv_type_getsockopt5+set}" = set; then
46806 echo $ECHO_N "(cached) $ECHO_C" >&6
46807 else
46808
46809 ac_ext=cpp
46810 ac_cpp='$CXXCPP $CPPFLAGS'
46811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46814
46815 cat >conftest.$ac_ext <<_ACEOF
46816 /* confdefs.h. */
46817 _ACEOF
46818 cat confdefs.h >>conftest.$ac_ext
46819 cat >>conftest.$ac_ext <<_ACEOF
46820 /* end confdefs.h. */
46821
46822 #include <sys/types.h>
46823 #include <sys/socket.h>
46824
46825 int
46826 main ()
46827 {
46828
46829 socklen_t len;
46830 getsockopt(0, 0, 0, 0, &len);
46831
46832 ;
46833 return 0;
46834 }
46835 _ACEOF
46836 rm -f conftest.$ac_objext
46837 if { (ac_try="$ac_compile"
46838 case "(($ac_try" in
46839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46840 *) ac_try_echo=$ac_try;;
46841 esac
46842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46843 (eval "$ac_compile") 2>conftest.er1
46844 ac_status=$?
46845 grep -v '^ *+' conftest.er1 >conftest.err
46846 rm -f conftest.er1
46847 cat conftest.err >&5
46848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46849 (exit $ac_status); } && {
46850 test -z "$ac_cxx_werror_flag" ||
46851 test ! -s conftest.err
46852 } && test -s conftest.$ac_objext; then
46853 wx_cv_type_getsockopt5=socklen_t
46854 else
46855 echo "$as_me: failed program was:" >&5
46856 sed 's/^/| /' conftest.$ac_ext >&5
46857
46858
46859 cat >conftest.$ac_ext <<_ACEOF
46860 /* confdefs.h. */
46861 _ACEOF
46862 cat confdefs.h >>conftest.$ac_ext
46863 cat >>conftest.$ac_ext <<_ACEOF
46864 /* end confdefs.h. */
46865
46866 #include <sys/types.h>
46867 #include <sys/socket.h>
46868
46869 int
46870 main ()
46871 {
46872
46873 size_t len;
46874 getsockopt(0, 0, 0, 0, &len);
46875
46876 ;
46877 return 0;
46878 }
46879 _ACEOF
46880 rm -f conftest.$ac_objext
46881 if { (ac_try="$ac_compile"
46882 case "(($ac_try" in
46883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46884 *) ac_try_echo=$ac_try;;
46885 esac
46886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46887 (eval "$ac_compile") 2>conftest.er1
46888 ac_status=$?
46889 grep -v '^ *+' conftest.er1 >conftest.err
46890 rm -f conftest.er1
46891 cat conftest.err >&5
46892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46893 (exit $ac_status); } && {
46894 test -z "$ac_cxx_werror_flag" ||
46895 test ! -s conftest.err
46896 } && test -s conftest.$ac_objext; then
46897 wx_cv_type_getsockopt5=size_t
46898 else
46899 echo "$as_me: failed program was:" >&5
46900 sed 's/^/| /' conftest.$ac_ext >&5
46901
46902 cat >conftest.$ac_ext <<_ACEOF
46903 /* confdefs.h. */
46904 _ACEOF
46905 cat confdefs.h >>conftest.$ac_ext
46906 cat >>conftest.$ac_ext <<_ACEOF
46907 /* end confdefs.h. */
46908
46909 #include <sys/types.h>
46910 #include <sys/socket.h>
46911
46912 int
46913 main ()
46914 {
46915
46916 int len;
46917 getsockopt(0, 0, 0, 0, &len);
46918
46919 ;
46920 return 0;
46921 }
46922 _ACEOF
46923 rm -f conftest.$ac_objext
46924 if { (ac_try="$ac_compile"
46925 case "(($ac_try" in
46926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46927 *) ac_try_echo=$ac_try;;
46928 esac
46929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46930 (eval "$ac_compile") 2>conftest.er1
46931 ac_status=$?
46932 grep -v '^ *+' conftest.er1 >conftest.err
46933 rm -f conftest.er1
46934 cat conftest.err >&5
46935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46936 (exit $ac_status); } && {
46937 test -z "$ac_cxx_werror_flag" ||
46938 test ! -s conftest.err
46939 } && test -s conftest.$ac_objext; then
46940 wx_cv_type_getsockopt5=int
46941 else
46942 echo "$as_me: failed program was:" >&5
46943 sed 's/^/| /' conftest.$ac_ext >&5
46944
46945 wx_cv_type_getsockopt5=unknown
46946
46947 fi
46948
46949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46950
46951 fi
46952
46953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46954
46955
46956 fi
46957
46958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46959 ac_ext=c
46960 ac_cpp='$CPP $CPPFLAGS'
46961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46964
46965
46966 fi
46967 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46968 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46969
46970 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46971 wxUSE_SOCKETS=no
46972 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46973 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46974 else
46975 cat >>confdefs.h <<_ACEOF
46976 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46977 _ACEOF
46978
46979 fi
46980 fi
46981 fi
46982
46983 if test "$wxUSE_SOCKETS" = "yes" ; then
46984 cat >>confdefs.h <<\_ACEOF
46985 #define wxUSE_SOCKETS 1
46986 _ACEOF
46987
46988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46989 fi
46990
46991 if test "$wxUSE_PROTOCOL" = "yes"; then
46992 if test "$wxUSE_SOCKETS" != "yes"; then
46993 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46994 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46995 wxUSE_PROTOCOL=no
46996 fi
46997 fi
46998
46999 if test "$wxUSE_PROTOCOL" = "yes"; then
47000 cat >>confdefs.h <<\_ACEOF
47001 #define wxUSE_PROTOCOL 1
47002 _ACEOF
47003
47004
47005 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47006 cat >>confdefs.h <<\_ACEOF
47007 #define wxUSE_PROTOCOL_HTTP 1
47008 _ACEOF
47009
47010 fi
47011 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_PROTOCOL_FTP 1
47014 _ACEOF
47015
47016 fi
47017 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47018 cat >>confdefs.h <<\_ACEOF
47019 #define wxUSE_PROTOCOL_FILE 1
47020 _ACEOF
47021
47022 fi
47023 else
47024 if test "$wxUSE_FS_INET" = "yes"; then
47025 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47026 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47027 wxUSE_FS_INET="no"
47028 fi
47029 fi
47030
47031 if test "$wxUSE_URL" = "yes"; then
47032 if test "$wxUSE_PROTOCOL" != "yes"; then
47033 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47034 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47035 wxUSE_URL=no
47036 fi
47037 if test "$wxUSE_URL" = "yes"; then
47038 cat >>confdefs.h <<\_ACEOF
47039 #define wxUSE_URL 1
47040 _ACEOF
47041
47042 fi
47043 fi
47044
47045 if test "$wxUSE_VARIANT" = "yes"; then
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_VARIANT 1
47048 _ACEOF
47049
47050 fi
47051
47052 if test "$wxUSE_FS_INET" = "yes"; then
47053 cat >>confdefs.h <<\_ACEOF
47054 #define wxUSE_FS_INET 1
47055 _ACEOF
47056
47057 fi
47058
47059
47060 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47061 wxUSE_JOYSTICK=no
47062
47063 if test "$TOOLKIT" = "MSW"; then
47064 wxUSE_JOYSTICK=yes
47065
47066 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47067 if test "$USE_DARWIN" = 1; then
47068 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47069 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47070 ac_ext=cpp
47071 ac_cpp='$CXXCPP $CPPFLAGS'
47072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47075
47076 cat >conftest.$ac_ext <<_ACEOF
47077 /* confdefs.h. */
47078 _ACEOF
47079 cat confdefs.h >>conftest.$ac_ext
47080 cat >>conftest.$ac_ext <<_ACEOF
47081 /* end confdefs.h. */
47082 #include <IOKit/hid/IOHIDLib.h>
47083 int
47084 main ()
47085 {
47086 IOHIDQueueInterface *qi = NULL;
47087 IOHIDCallbackFunction cb = NULL;
47088 qi->setEventCallout(NULL, cb, NULL, NULL);
47089 ;
47090 return 0;
47091 }
47092 _ACEOF
47093 rm -f conftest.$ac_objext
47094 if { (ac_try="$ac_compile"
47095 case "(($ac_try" in
47096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47097 *) ac_try_echo=$ac_try;;
47098 esac
47099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47100 (eval "$ac_compile") 2>conftest.er1
47101 ac_status=$?
47102 grep -v '^ *+' conftest.er1 >conftest.err
47103 rm -f conftest.er1
47104 cat conftest.err >&5
47105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47106 (exit $ac_status); } && {
47107 test -z "$ac_cxx_werror_flag" ||
47108 test ! -s conftest.err
47109 } && test -s conftest.$ac_objext; then
47110 wxUSE_JOYSTICK=yes
47111
47112 else
47113 echo "$as_me: failed program was:" >&5
47114 sed 's/^/| /' conftest.$ac_ext >&5
47115
47116
47117 fi
47118
47119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47120 ac_ext=c
47121 ac_cpp='$CPP $CPPFLAGS'
47122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47125
47126 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47127 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47128 fi
47129
47130 else
47131 if test "$wxUSE_MGL" != "1"; then
47132 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
47133 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
47134 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
47135 echo $ECHO_N "(cached) $ECHO_C" >&6
47136 else
47137 cat >conftest.$ac_ext <<_ACEOF
47138 /* confdefs.h. */
47139 _ACEOF
47140 cat confdefs.h >>conftest.$ac_ext
47141 cat >>conftest.$ac_ext <<_ACEOF
47142 /* end confdefs.h. */
47143 $ac_includes_default
47144
47145 #include <linux/joystick.h>
47146 _ACEOF
47147 rm -f conftest.$ac_objext
47148 if { (ac_try="$ac_compile"
47149 case "(($ac_try" in
47150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47151 *) ac_try_echo=$ac_try;;
47152 esac
47153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47154 (eval "$ac_compile") 2>conftest.er1
47155 ac_status=$?
47156 grep -v '^ *+' conftest.er1 >conftest.err
47157 rm -f conftest.er1
47158 cat conftest.err >&5
47159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47160 (exit $ac_status); } && {
47161 test -z "$ac_c_werror_flag" ||
47162 test ! -s conftest.err
47163 } && test -s conftest.$ac_objext; then
47164 ac_cv_header_linux_joystick_h=yes
47165 else
47166 echo "$as_me: failed program was:" >&5
47167 sed 's/^/| /' conftest.$ac_ext >&5
47168
47169 ac_cv_header_linux_joystick_h=no
47170 fi
47171
47172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47173 fi
47174 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
47175 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
47176 if test $ac_cv_header_linux_joystick_h = yes; then
47177 wxUSE_JOYSTICK=yes
47178 fi
47179
47180
47181 fi
47182 fi
47183
47184 if test "$wxUSE_JOYSTICK" = "yes"; then
47185 cat >>confdefs.h <<\_ACEOF
47186 #define wxUSE_JOYSTICK 1
47187 _ACEOF
47188
47189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47190 else
47191 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47192 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47193 fi
47194 fi
47195
47196
47197
47198 if test "$wxUSE_FONTMAP" = "yes" ; then
47199 cat >>confdefs.h <<\_ACEOF
47200 #define wxUSE_FONTMAP 1
47201 _ACEOF
47202
47203 fi
47204
47205 if test "$wxUSE_UNICODE" = "yes" ; then
47206 cat >>confdefs.h <<\_ACEOF
47207 #define wxUSE_UNICODE 1
47208 _ACEOF
47209
47210
47211 if test "$USE_WIN32" != 1; then
47212 wxUSE_UNICODE_MSLU=no
47213 fi
47214
47215 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47216 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47217 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47218 if test "${ac_cv_lib_unicows_main+set}" = set; then
47219 echo $ECHO_N "(cached) $ECHO_C" >&6
47220 else
47221 ac_check_lib_save_LIBS=$LIBS
47222 LIBS="-lunicows $LIBS"
47223 cat >conftest.$ac_ext <<_ACEOF
47224 /* confdefs.h. */
47225 _ACEOF
47226 cat confdefs.h >>conftest.$ac_ext
47227 cat >>conftest.$ac_ext <<_ACEOF
47228 /* end confdefs.h. */
47229
47230
47231 int
47232 main ()
47233 {
47234 return main ();
47235 ;
47236 return 0;
47237 }
47238 _ACEOF
47239 rm -f conftest.$ac_objext conftest$ac_exeext
47240 if { (ac_try="$ac_link"
47241 case "(($ac_try" in
47242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47243 *) ac_try_echo=$ac_try;;
47244 esac
47245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47246 (eval "$ac_link") 2>conftest.er1
47247 ac_status=$?
47248 grep -v '^ *+' conftest.er1 >conftest.err
47249 rm -f conftest.er1
47250 cat conftest.err >&5
47251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47252 (exit $ac_status); } && {
47253 test -z "$ac_c_werror_flag" ||
47254 test ! -s conftest.err
47255 } && test -s conftest$ac_exeext &&
47256 $as_test_x conftest$ac_exeext; then
47257 ac_cv_lib_unicows_main=yes
47258 else
47259 echo "$as_me: failed program was:" >&5
47260 sed 's/^/| /' conftest.$ac_ext >&5
47261
47262 ac_cv_lib_unicows_main=no
47263 fi
47264
47265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47266 conftest$ac_exeext conftest.$ac_ext
47267 LIBS=$ac_check_lib_save_LIBS
47268 fi
47269 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47270 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47271 if test $ac_cv_lib_unicows_main = yes; then
47272
47273 cat >>confdefs.h <<\_ACEOF
47274 #define wxUSE_UNICODE_MSLU 1
47275 _ACEOF
47276
47277
47278 else
47279
47280 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47281 Applications will only run on Windows NT/2000/XP!" >&5
47282 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47283 Applications will only run on Windows NT/2000/XP!" >&2;}
47284 wxUSE_UNICODE_MSLU=no
47285
47286 fi
47287
47288 fi
47289 fi
47290
47291 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47292 cat >>confdefs.h <<\_ACEOF
47293 #define wxUSE_UNICODE_UTF8 1
47294 _ACEOF
47295
47296
47297 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_UTF8_LOCALE_ONLY 1
47300 _ACEOF
47301
47302 fi
47303 fi
47304
47305 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47306 cat >>confdefs.h <<\_ACEOF
47307 #define wxUSE_EXPERIMENTAL_PRINTF 1
47308 _ACEOF
47309
47310 fi
47311
47312
47313 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_CONSTRAINTS 1
47316 _ACEOF
47317
47318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47319 fi
47320
47321 if test "$wxUSE_MDI" = "yes"; then
47322 cat >>confdefs.h <<\_ACEOF
47323 #define wxUSE_MDI 1
47324 _ACEOF
47325
47326
47327 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_MDI_ARCHITECTURE 1
47330 _ACEOF
47331
47332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47333 fi
47334 fi
47335
47336 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47339 _ACEOF
47340
47341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47342 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47344 fi
47345 fi
47346
47347 if test "$wxUSE_HELP" = "yes"; then
47348 cat >>confdefs.h <<\_ACEOF
47349 #define wxUSE_HELP 1
47350 _ACEOF
47351
47352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47353
47354 if test "$wxUSE_MSW" = 1; then
47355 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_MS_HTML_HELP 1
47358 _ACEOF
47359
47360 fi
47361 fi
47362
47363 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47364 if test "$wxUSE_HTML" = "yes"; then
47365 cat >>confdefs.h <<\_ACEOF
47366 #define wxUSE_WXHTML_HELP 1
47367 _ACEOF
47368
47369 else
47370 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47371 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47372 wxUSE_WXHTML_HELP=no
47373 fi
47374 fi
47375 fi
47376
47377 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47378 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47379 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47380 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47381 else
47382 cat >>confdefs.h <<\_ACEOF
47383 #define wxUSE_PRINTING_ARCHITECTURE 1
47384 _ACEOF
47385
47386 fi
47387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47388 fi
47389
47390 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_POSTSCRIPT 1
47393 _ACEOF
47394
47395 fi
47396
47397 cat >>confdefs.h <<\_ACEOF
47398 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47399 _ACEOF
47400
47401
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_NORMALIZED_PS_FONTS 1
47404 _ACEOF
47405
47406
47407 if test "$wxUSE_SVG" = "yes"; then
47408 cat >>confdefs.h <<\_ACEOF
47409 #define wxUSE_SVG 1
47410 _ACEOF
47411
47412 fi
47413
47414
47415 if test "$wxUSE_METAFILE" = "yes"; then
47416 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47417 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47418 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47419 wxUSE_METAFILE=no
47420 fi
47421 fi
47422
47423
47424 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47425 -o "$wxUSE_CLIPBOARD" = "yes" \
47426 -o "$wxUSE_OLE" = "yes" \
47427 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47428 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47429 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47430 if test "${ac_cv_header_ole2_h+set}" = set; then
47431 echo $ECHO_N "(cached) $ECHO_C" >&6
47432 else
47433 cat >conftest.$ac_ext <<_ACEOF
47434 /* confdefs.h. */
47435 _ACEOF
47436 cat confdefs.h >>conftest.$ac_ext
47437 cat >>conftest.$ac_ext <<_ACEOF
47438 /* end confdefs.h. */
47439
47440
47441 #include <ole2.h>
47442 _ACEOF
47443 rm -f conftest.$ac_objext
47444 if { (ac_try="$ac_compile"
47445 case "(($ac_try" in
47446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47447 *) ac_try_echo=$ac_try;;
47448 esac
47449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47450 (eval "$ac_compile") 2>conftest.er1
47451 ac_status=$?
47452 grep -v '^ *+' conftest.er1 >conftest.err
47453 rm -f conftest.er1
47454 cat conftest.err >&5
47455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47456 (exit $ac_status); } && {
47457 test -z "$ac_c_werror_flag" ||
47458 test ! -s conftest.err
47459 } && test -s conftest.$ac_objext; then
47460 ac_cv_header_ole2_h=yes
47461 else
47462 echo "$as_me: failed program was:" >&5
47463 sed 's/^/| /' conftest.$ac_ext >&5
47464
47465 ac_cv_header_ole2_h=no
47466 fi
47467
47468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47469 fi
47470 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47471 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47472
47473
47474
47475 if test "$ac_cv_header_ole2_h" = "yes" ; then
47476 if test "$GCC" = yes ; then
47477 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47478 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47479 cat >conftest.$ac_ext <<_ACEOF
47480 /* confdefs.h. */
47481 _ACEOF
47482 cat confdefs.h >>conftest.$ac_ext
47483 cat >>conftest.$ac_ext <<_ACEOF
47484 /* end confdefs.h. */
47485 #include <windows.h>
47486 #include <ole2.h>
47487 int
47488 main ()
47489 {
47490
47491 ;
47492 return 0;
47493 }
47494 _ACEOF
47495 rm -f conftest.$ac_objext
47496 if { (ac_try="$ac_compile"
47497 case "(($ac_try" in
47498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47499 *) ac_try_echo=$ac_try;;
47500 esac
47501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47502 (eval "$ac_compile") 2>conftest.er1
47503 ac_status=$?
47504 grep -v '^ *+' conftest.er1 >conftest.err
47505 rm -f conftest.er1
47506 cat conftest.err >&5
47507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47508 (exit $ac_status); } && {
47509 test -z "$ac_c_werror_flag" ||
47510 test ! -s conftest.err
47511 } && test -s conftest.$ac_objext; then
47512 { echo "$as_me:$LINENO: result: no" >&5
47513 echo "${ECHO_T}no" >&6; }
47514 else
47515 echo "$as_me: failed program was:" >&5
47516 sed 's/^/| /' conftest.$ac_ext >&5
47517
47518 { echo "$as_me:$LINENO: result: yes" >&5
47519 echo "${ECHO_T}yes" >&6; }
47520 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47521 fi
47522
47523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47524 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47525 if test "$wxUSE_OLE" = "yes" ; then
47526 cat >>confdefs.h <<\_ACEOF
47527 #define wxUSE_OLE 1
47528 _ACEOF
47529
47530 cat >>confdefs.h <<\_ACEOF
47531 #define wxUSE_OLE_AUTOMATION 1
47532 _ACEOF
47533
47534 cat >>confdefs.h <<\_ACEOF
47535 #define wxUSE_ACTIVEX 1
47536 _ACEOF
47537
47538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47539 fi
47540 fi
47541
47542 if test "$wxUSE_DATAOBJ" = "yes" ; then
47543 cat >>confdefs.h <<\_ACEOF
47544 #define wxUSE_DATAOBJ 1
47545 _ACEOF
47546
47547 fi
47548 else
47549 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47550 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47551
47552 wxUSE_CLIPBOARD=no
47553 wxUSE_DRAG_AND_DROP=no
47554 wxUSE_DATAOBJ=no
47555 wxUSE_OLE=no
47556 fi
47557
47558 if test "$wxUSE_METAFILE" = "yes"; then
47559 cat >>confdefs.h <<\_ACEOF
47560 #define wxUSE_METAFILE 1
47561 _ACEOF
47562
47563
47564 cat >>confdefs.h <<\_ACEOF
47565 #define wxUSE_ENH_METAFILE 1
47566 _ACEOF
47567
47568 fi
47569 fi
47570
47571 if test "$wxUSE_IPC" = "yes"; then
47572 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47573 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47574 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47575 wxUSE_IPC=no
47576 fi
47577
47578 if test "$wxUSE_IPC" = "yes"; then
47579 cat >>confdefs.h <<\_ACEOF
47580 #define wxUSE_IPC 1
47581 _ACEOF
47582
47583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47584 fi
47585 fi
47586
47587 if test "$wxUSE_DATAOBJ" = "yes"; then
47588 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47589 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47590 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47591 wxUSE_DATAOBJ=no
47592 else
47593 cat >>confdefs.h <<\_ACEOF
47594 #define wxUSE_DATAOBJ 1
47595 _ACEOF
47596
47597 fi
47598 else
47599 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47600 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47601 wxUSE_CLIPBOARD=no
47602 wxUSE_DRAG_AND_DROP=no
47603 fi
47604
47605 if test "$wxUSE_CLIPBOARD" = "yes"; then
47606 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47607 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47608 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47609 wxUSE_CLIPBOARD=no
47610 fi
47611
47612 if test "$wxUSE_CLIPBOARD" = "yes"; then
47613 cat >>confdefs.h <<\_ACEOF
47614 #define wxUSE_CLIPBOARD 1
47615 _ACEOF
47616
47617 fi
47618 fi
47619
47620 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47621 if test "$wxUSE_GTK" = 1; then
47622 if test "$WXGTK12" != 1; then
47623 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47624 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47625 wxUSE_DRAG_AND_DROP=no
47626 fi
47627 fi
47628
47629 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47630 "$wxUSE_DFB" = 1; then
47631 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47632 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47633 wxUSE_DRAG_AND_DROP=no
47634 fi
47635
47636 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47637 cat >>confdefs.h <<\_ACEOF
47638 #define wxUSE_DRAG_AND_DROP 1
47639 _ACEOF
47640
47641 fi
47642
47643 fi
47644
47645 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47647 fi
47648
47649 if test "$wxUSE_SPLINES" = "yes" ; then
47650 cat >>confdefs.h <<\_ACEOF
47651 #define wxUSE_SPLINES 1
47652 _ACEOF
47653
47654 fi
47655
47656 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47657 cat >>confdefs.h <<\_ACEOF
47658 #define wxUSE_MOUSEWHEEL 1
47659 _ACEOF
47660
47661 fi
47662
47663
47664 USES_CONTROLS=0
47665 if test "$wxUSE_CONTROLS" = "yes"; then
47666 USES_CONTROLS=1
47667 fi
47668
47669 if test "$wxUSE_ACCEL" = "yes"; then
47670 cat >>confdefs.h <<\_ACEOF
47671 #define wxUSE_ACCEL 1
47672 _ACEOF
47673
47674 USES_CONTROLS=1
47675 fi
47676
47677 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_ANIMATIONCTRL 1
47680 _ACEOF
47681
47682 USES_CONTROLS=1
47683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47684 fi
47685
47686 if test "$wxUSE_BUTTON" = "yes"; then
47687 cat >>confdefs.h <<\_ACEOF
47688 #define wxUSE_BUTTON 1
47689 _ACEOF
47690
47691 USES_CONTROLS=1
47692 fi
47693
47694 if test "$wxUSE_BMPBUTTON" = "yes"; then
47695 cat >>confdefs.h <<\_ACEOF
47696 #define wxUSE_BMPBUTTON 1
47697 _ACEOF
47698
47699 USES_CONTROLS=1
47700 fi
47701
47702 if test "$wxUSE_CALCTRL" = "yes"; then
47703 cat >>confdefs.h <<\_ACEOF
47704 #define wxUSE_CALENDARCTRL 1
47705 _ACEOF
47706
47707 USES_CONTROLS=1
47708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47709 fi
47710
47711 if test "$wxUSE_CARET" = "yes"; then
47712 cat >>confdefs.h <<\_ACEOF
47713 #define wxUSE_CARET 1
47714 _ACEOF
47715
47716 USES_CONTROLS=1
47717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47718 fi
47719
47720 if test "$wxUSE_COLLPANE" = "yes"; then
47721 cat >>confdefs.h <<\_ACEOF
47722 #define wxUSE_COLLPANE 1
47723 _ACEOF
47724
47725 USES_CONTROLS=1
47726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47727 fi
47728
47729 if test "$wxUSE_COMBOBOX" = "yes"; then
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_COMBOBOX 1
47732 _ACEOF
47733
47734 USES_CONTROLS=1
47735 fi
47736
47737 if test "$wxUSE_COMBOCTRL" = "yes"; then
47738 cat >>confdefs.h <<\_ACEOF
47739 #define wxUSE_COMBOCTRL 1
47740 _ACEOF
47741
47742 USES_CONTROLS=1
47743 fi
47744
47745 if test "$wxUSE_CHOICE" = "yes"; then
47746 cat >>confdefs.h <<\_ACEOF
47747 #define wxUSE_CHOICE 1
47748 _ACEOF
47749
47750 USES_CONTROLS=1
47751 fi
47752
47753 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47754 cat >>confdefs.h <<\_ACEOF
47755 #define wxUSE_CHOICEBOOK 1
47756 _ACEOF
47757
47758 USES_CONTROLS=1
47759 fi
47760
47761 if test "$wxUSE_CHECKBOX" = "yes"; then
47762 cat >>confdefs.h <<\_ACEOF
47763 #define wxUSE_CHECKBOX 1
47764 _ACEOF
47765
47766 USES_CONTROLS=1
47767 fi
47768
47769 if test "$wxUSE_CHECKLST" = "yes"; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_CHECKLISTBOX 1
47772 _ACEOF
47773
47774 USES_CONTROLS=1
47775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47776 fi
47777
47778 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47779 cat >>confdefs.h <<\_ACEOF
47780 #define wxUSE_COLOURPICKERCTRL 1
47781 _ACEOF
47782
47783 USES_CONTROLS=1
47784 fi
47785
47786 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_DATEPICKCTRL 1
47789 _ACEOF
47790
47791 USES_CONTROLS=1
47792 fi
47793
47794 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47795 cat >>confdefs.h <<\_ACEOF
47796 #define wxUSE_DIRPICKERCTRL 1
47797 _ACEOF
47798
47799 USES_CONTROLS=1
47800 fi
47801
47802 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47803 cat >>confdefs.h <<\_ACEOF
47804 #define wxUSE_FILEPICKERCTRL 1
47805 _ACEOF
47806
47807 USES_CONTROLS=1
47808 fi
47809
47810 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_FONTPICKERCTRL 1
47813 _ACEOF
47814
47815 USES_CONTROLS=1
47816 fi
47817
47818 if test "$wxUSE_DISPLAY" = "yes"; then
47819 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47820 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47821 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47822 wxUSE_DISPLAY=no
47823 else
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_DISPLAY 1
47826 _ACEOF
47827
47828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47829 fi
47830 fi
47831
47832 if test "$wxUSE_DETECT_SM" = "yes"; then
47833 cat >>confdefs.h <<\_ACEOF
47834 #define wxUSE_DETECT_SM 1
47835 _ACEOF
47836
47837 fi
47838
47839 if test "$wxUSE_GAUGE" = "yes"; then
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_GAUGE 1
47842 _ACEOF
47843
47844 USES_CONTROLS=1
47845 fi
47846
47847 if test "$wxUSE_GRID" = "yes"; then
47848 cat >>confdefs.h <<\_ACEOF
47849 #define wxUSE_GRID 1
47850 _ACEOF
47851
47852 USES_CONTROLS=1
47853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47854 fi
47855
47856 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47857 cat >>confdefs.h <<\_ACEOF
47858 #define wxUSE_HYPERLINKCTRL 1
47859 _ACEOF
47860
47861 USES_CONTROLS=1
47862 fi
47863
47864 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47865 cat >>confdefs.h <<\_ACEOF
47866 #define wxUSE_BITMAPCOMBOBOX 1
47867 _ACEOF
47868
47869 USES_CONTROLS=1
47870 fi
47871
47872 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_DATAVIEWCTRL 1
47875 _ACEOF
47876
47877 USES_CONTROLS=1
47878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47879 fi
47880
47881 if test "$wxUSE_IMAGLIST" = "yes"; then
47882 cat >>confdefs.h <<\_ACEOF
47883 #define wxUSE_IMAGLIST 1
47884 _ACEOF
47885
47886 fi
47887
47888 if test "$wxUSE_LISTBOOK" = "yes"; then
47889 cat >>confdefs.h <<\_ACEOF
47890 #define wxUSE_LISTBOOK 1
47891 _ACEOF
47892
47893 USES_CONTROLS=1
47894 fi
47895
47896 if test "$wxUSE_LISTBOX" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_LISTBOX 1
47899 _ACEOF
47900
47901 USES_CONTROLS=1
47902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47903 fi
47904
47905 if test "$wxUSE_LISTCTRL" = "yes"; then
47906 if test "$wxUSE_IMAGLIST" = "yes"; then
47907 cat >>confdefs.h <<\_ACEOF
47908 #define wxUSE_LISTCTRL 1
47909 _ACEOF
47910
47911 USES_CONTROLS=1
47912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47913 else
47914 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47915 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47916 fi
47917 fi
47918
47919 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47920 cat >>confdefs.h <<\_ACEOF
47921 #define wxUSE_EDITABLELISTBOX 1
47922 _ACEOF
47923
47924 USES_CONTROLS=1
47925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47926 fi
47927
47928 if test "$wxUSE_NOTEBOOK" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_NOTEBOOK 1
47931 _ACEOF
47932
47933 USES_CONTROLS=1
47934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47935 fi
47936
47937 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_ODCOMBOBOX 1
47940 _ACEOF
47941
47942 USES_CONTROLS=1
47943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47944 fi
47945
47946
47947 if test "$wxUSE_RADIOBOX" = "yes"; then
47948 cat >>confdefs.h <<\_ACEOF
47949 #define wxUSE_RADIOBOX 1
47950 _ACEOF
47951
47952 USES_CONTROLS=1
47953 fi
47954
47955 if test "$wxUSE_RADIOBTN" = "yes"; then
47956 cat >>confdefs.h <<\_ACEOF
47957 #define wxUSE_RADIOBTN 1
47958 _ACEOF
47959
47960 USES_CONTROLS=1
47961 fi
47962
47963 if test "$wxUSE_SASH" = "yes"; then
47964 cat >>confdefs.h <<\_ACEOF
47965 #define wxUSE_SASH 1
47966 _ACEOF
47967
47968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47969 fi
47970
47971 if test "$wxUSE_SCROLLBAR" = "yes"; then
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_SCROLLBAR 1
47974 _ACEOF
47975
47976 USES_CONTROLS=1
47977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47978 fi
47979
47980 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47981 cat >>confdefs.h <<\_ACEOF
47982 #define wxUSE_SEARCHCTRL 1
47983 _ACEOF
47984
47985 USES_CONTROLS=1
47986 fi
47987
47988 if test "$wxUSE_SLIDER" = "yes"; then
47989 cat >>confdefs.h <<\_ACEOF
47990 #define wxUSE_SLIDER 1
47991 _ACEOF
47992
47993 USES_CONTROLS=1
47994 fi
47995
47996 if test "$wxUSE_SPINBTN" = "yes"; then
47997 cat >>confdefs.h <<\_ACEOF
47998 #define wxUSE_SPINBTN 1
47999 _ACEOF
48000
48001 USES_CONTROLS=1
48002 fi
48003
48004 if test "$wxUSE_SPINCTRL" = "yes"; then
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_SPINCTRL 1
48007 _ACEOF
48008
48009 USES_CONTROLS=1
48010 fi
48011
48012 if test "$wxUSE_SPLITTER" = "yes"; then
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_SPLITTER 1
48015 _ACEOF
48016
48017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48018 fi
48019
48020 if test "$wxUSE_STATBMP" = "yes"; then
48021 cat >>confdefs.h <<\_ACEOF
48022 #define wxUSE_STATBMP 1
48023 _ACEOF
48024
48025 USES_CONTROLS=1
48026 fi
48027
48028 if test "$wxUSE_STATBOX" = "yes"; then
48029 cat >>confdefs.h <<\_ACEOF
48030 #define wxUSE_STATBOX 1
48031 _ACEOF
48032
48033 USES_CONTROLS=1
48034 fi
48035
48036 if test "$wxUSE_STATTEXT" = "yes"; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_STATTEXT 1
48039 _ACEOF
48040
48041 USES_CONTROLS=1
48042 fi
48043
48044 if test "$wxUSE_STATLINE" = "yes"; then
48045 cat >>confdefs.h <<\_ACEOF
48046 #define wxUSE_STATLINE 1
48047 _ACEOF
48048
48049 USES_CONTROLS=1
48050 fi
48051
48052 if test "$wxUSE_STATUSBAR" = "yes"; then
48053 cat >>confdefs.h <<\_ACEOF
48054 #define wxUSE_NATIVE_STATUSBAR 1
48055 _ACEOF
48056
48057 cat >>confdefs.h <<\_ACEOF
48058 #define wxUSE_STATUSBAR 1
48059 _ACEOF
48060
48061 USES_CONTROLS=1
48062
48063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48064 fi
48065
48066 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48067 cat >>confdefs.h <<\_ACEOF
48068 #define wxUSE_TAB_DIALOG 1
48069 _ACEOF
48070
48071 fi
48072
48073 if test "$wxUSE_TEXTCTRL" = "yes"; then
48074 cat >>confdefs.h <<\_ACEOF
48075 #define wxUSE_TEXTCTRL 1
48076 _ACEOF
48077
48078 USES_CONTROLS=1
48079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48080 fi
48081
48082 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48083 if test "$wxUSE_COCOA" = 1 ; then
48084 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48085 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48086 wxUSE_TOGGLEBTN=no
48087 fi
48088
48089 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48090 cat >>confdefs.h <<\_ACEOF
48091 #define wxUSE_TOGGLEBTN 1
48092 _ACEOF
48093
48094 USES_CONTROLS=1
48095 fi
48096 fi
48097
48098 if test "$wxUSE_TOOLBAR" = "yes"; then
48099 cat >>confdefs.h <<\_ACEOF
48100 #define wxUSE_TOOLBAR 1
48101 _ACEOF
48102
48103 USES_CONTROLS=1
48104
48105 if test "$wxUSE_UNIVERSAL" = "yes"; then
48106 wxUSE_TOOLBAR_NATIVE="no"
48107 else
48108 wxUSE_TOOLBAR_NATIVE="yes"
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_TOOLBAR_NATIVE 1
48111 _ACEOF
48112
48113 fi
48114
48115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48116 fi
48117
48118 if test "$wxUSE_TOOLTIPS" = "yes"; then
48119 if test "$wxUSE_MOTIF" = 1; then
48120 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48121 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48122 else
48123 if test "$wxUSE_UNIVERSAL" = "yes"; then
48124 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48125 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48126 else
48127 cat >>confdefs.h <<\_ACEOF
48128 #define wxUSE_TOOLTIPS 1
48129 _ACEOF
48130
48131 fi
48132 fi
48133 fi
48134
48135 if test "$wxUSE_TREEBOOK" = "yes"; then
48136 cat >>confdefs.h <<\_ACEOF
48137 #define wxUSE_TREEBOOK 1
48138 _ACEOF
48139
48140 USES_CONTROLS=1
48141 fi
48142
48143 if test "$wxUSE_TOOLBOOK" = "yes"; then
48144 cat >>confdefs.h <<\_ACEOF
48145 #define wxUSE_TOOLBOOK 1
48146 _ACEOF
48147
48148 USES_CONTROLS=1
48149 fi
48150
48151 if test "$wxUSE_TREECTRL" = "yes"; then
48152 if test "$wxUSE_IMAGLIST" = "yes"; then
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_TREECTRL 1
48155 _ACEOF
48156
48157 USES_CONTROLS=1
48158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48159 else
48160 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48161 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48162 fi
48163 fi
48164
48165 if test "$wxUSE_POPUPWIN" = "yes"; then
48166 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48167 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48168 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48169 else
48170 if test "$wxUSE_PM" = 1; then
48171 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48172 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48173 else
48174 cat >>confdefs.h <<\_ACEOF
48175 #define wxUSE_POPUPWIN 1
48176 _ACEOF
48177
48178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48179
48180 USES_CONTROLS=1
48181 fi
48182 fi
48183 fi
48184
48185 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48186 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48187 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48188 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48189 else
48190 cat >>confdefs.h <<\_ACEOF
48191 #define wxUSE_DIALUP_MANAGER 1
48192 _ACEOF
48193
48194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48195 fi
48196 fi
48197
48198 if test "$wxUSE_TIPWINDOW" = "yes"; then
48199 if test "$wxUSE_PM" = 1; then
48200 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48201 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48202 else
48203 cat >>confdefs.h <<\_ACEOF
48204 #define wxUSE_TIPWINDOW 1
48205 _ACEOF
48206
48207 fi
48208 fi
48209
48210 if test "$USES_CONTROLS" = 1; then
48211 cat >>confdefs.h <<\_ACEOF
48212 #define wxUSE_CONTROLS 1
48213 _ACEOF
48214
48215 fi
48216
48217
48218 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_ACCESSIBILITY 1
48221 _ACEOF
48222
48223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48224 fi
48225
48226 if test "$wxUSE_DC_CACHEING" = "yes"; then
48227 cat >>confdefs.h <<\_ACEOF
48228 #define wxUSE_DC_CACHEING 1
48229 _ACEOF
48230
48231 fi
48232
48233 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48234 cat >>confdefs.h <<\_ACEOF
48235 #define wxUSE_DRAGIMAGE 1
48236 _ACEOF
48237
48238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48239 fi
48240
48241 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48242 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48243 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48244 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48245 else
48246 cat >>confdefs.h <<\_ACEOF
48247 #define wxUSE_EXCEPTIONS 1
48248 _ACEOF
48249
48250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48251 fi
48252 fi
48253
48254 USE_HTML=0
48255 if test "$wxUSE_HTML" = "yes"; then
48256 cat >>confdefs.h <<\_ACEOF
48257 #define wxUSE_HTML 1
48258 _ACEOF
48259
48260 USE_HTML=1
48261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48262 if test "$wxUSE_MAC" = 1; then
48263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48264 fi
48265 fi
48266 if test "$wxUSE_WEBKIT" = "yes"; then
48267 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48268 old_CPPFLAGS="$CPPFLAGS"
48269 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48270 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48271 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48272 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48273 echo $ECHO_N "(cached) $ECHO_C" >&6
48274 else
48275 cat >conftest.$ac_ext <<_ACEOF
48276 /* confdefs.h. */
48277 _ACEOF
48278 cat confdefs.h >>conftest.$ac_ext
48279 cat >>conftest.$ac_ext <<_ACEOF
48280 /* end confdefs.h. */
48281
48282 #include <Carbon/Carbon.h>
48283 #include <WebKit/WebKit.h>
48284
48285
48286 #include <WebKit/HIWebView.h>
48287 _ACEOF
48288 rm -f conftest.$ac_objext
48289 if { (ac_try="$ac_compile"
48290 case "(($ac_try" in
48291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48292 *) ac_try_echo=$ac_try;;
48293 esac
48294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48295 (eval "$ac_compile") 2>conftest.er1
48296 ac_status=$?
48297 grep -v '^ *+' conftest.er1 >conftest.err
48298 rm -f conftest.er1
48299 cat conftest.err >&5
48300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48301 (exit $ac_status); } && {
48302 test -z "$ac_c_werror_flag" ||
48303 test ! -s conftest.err
48304 } && test -s conftest.$ac_objext; then
48305 ac_cv_header_WebKit_HIWebView_h=yes
48306 else
48307 echo "$as_me: failed program was:" >&5
48308 sed 's/^/| /' conftest.$ac_ext >&5
48309
48310 ac_cv_header_WebKit_HIWebView_h=no
48311 fi
48312
48313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48314 fi
48315 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48316 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48317 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48318
48319 cat >>confdefs.h <<\_ACEOF
48320 #define wxUSE_WEBKIT 1
48321 _ACEOF
48322
48323 WEBKIT_LINK="-framework WebKit"
48324
48325 else
48326
48327 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48328 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48329 wxUSE_WEBKIT=no
48330
48331 fi
48332
48333
48334 CPPFLAGS="$old_CPPFLAGS"
48335 elif test "$wxUSE_COCOA" = 1; then
48336 cat >>confdefs.h <<\_ACEOF
48337 #define wxUSE_WEBKIT 1
48338 _ACEOF
48339
48340 else
48341 wxUSE_WEBKIT=no
48342 fi
48343 fi
48344
48345 USE_XRC=0
48346 if test "$wxUSE_XRC" = "yes"; then
48347 if test "$wxUSE_XML" != "yes"; then
48348 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48349 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48350 wxUSE_XRC=no
48351 else
48352 cat >>confdefs.h <<\_ACEOF
48353 #define wxUSE_XRC 1
48354 _ACEOF
48355
48356 USE_XRC=1
48357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48358 fi
48359 fi
48360
48361 USE_AUI=0
48362 if test "$wxUSE_AUI" = "yes"; then
48363 cat >>confdefs.h <<\_ACEOF
48364 #define wxUSE_AUI 1
48365 _ACEOF
48366
48367 USE_AUI=1
48368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48369 fi
48370
48371 USE_STC=0
48372 if test "$wxUSE_STC" = "yes"; then
48373 cat >>confdefs.h <<\_ACEOF
48374 #define wxUSE_STC 1
48375 _ACEOF
48376
48377 USE_STC=1
48378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48379 fi
48380
48381 if test "$wxUSE_MENUS" = "yes"; then
48382 cat >>confdefs.h <<\_ACEOF
48383 #define wxUSE_MENUS 1
48384 _ACEOF
48385
48386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48387 fi
48388
48389 if test "$wxUSE_METAFILE" = "yes"; then
48390 cat >>confdefs.h <<\_ACEOF
48391 #define wxUSE_METAFILE 1
48392 _ACEOF
48393
48394 fi
48395
48396 if test "$wxUSE_MIMETYPE" = "yes"; then
48397 cat >>confdefs.h <<\_ACEOF
48398 #define wxUSE_MIMETYPE 1
48399 _ACEOF
48400
48401 fi
48402
48403 if test "$wxUSE_MINIFRAME" = "yes"; then
48404 cat >>confdefs.h <<\_ACEOF
48405 #define wxUSE_MINIFRAME 1
48406 _ACEOF
48407
48408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48409 fi
48410
48411 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48412 cat >>confdefs.h <<\_ACEOF
48413 #define wxUSE_SYSTEM_OPTIONS 1
48414 _ACEOF
48415
48416 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
48417 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
48418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48419 fi
48420 fi
48421
48422
48423 if test "$wxUSE_VALIDATORS" = "yes"; then
48424 cat >>confdefs.h <<\_ACEOF
48425 #define wxUSE_VALIDATORS 1
48426 _ACEOF
48427
48428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48429 fi
48430
48431 if test "$wxUSE_PALETTE" = "yes" ; then
48432 if test "$wxUSE_DFB" = 1; then
48433 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48434 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48435 wxUSE_PALETTE=no
48436 else
48437 cat >>confdefs.h <<\_ACEOF
48438 #define wxUSE_PALETTE 1
48439 _ACEOF
48440
48441 fi
48442 fi
48443
48444 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48445 LIBS=" -lunicows $LIBS"
48446 fi
48447
48448 USE_RICHTEXT=0
48449 if test "$wxUSE_RICHTEXT" = "yes"; then
48450 cat >>confdefs.h <<\_ACEOF
48451 #define wxUSE_RICHTEXT 1
48452 _ACEOF
48453
48454 USE_RICHTEXT=1
48455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48456 fi
48457
48458
48459 if test "$wxUSE_IMAGE" = "yes" ; then
48460 cat >>confdefs.h <<\_ACEOF
48461 #define wxUSE_IMAGE 1
48462 _ACEOF
48463
48464
48465 if test "$wxUSE_GIF" = "yes" ; then
48466 cat >>confdefs.h <<\_ACEOF
48467 #define wxUSE_GIF 1
48468 _ACEOF
48469
48470 fi
48471
48472 if test "$wxUSE_PCX" = "yes" ; then
48473 cat >>confdefs.h <<\_ACEOF
48474 #define wxUSE_PCX 1
48475 _ACEOF
48476
48477 fi
48478
48479 if test "$wxUSE_TGA" = "yes" ; then
48480 cat >>confdefs.h <<\_ACEOF
48481 #define wxUSE_TGA 1
48482 _ACEOF
48483
48484 fi
48485
48486 if test "$wxUSE_IFF" = "yes" ; then
48487 cat >>confdefs.h <<\_ACEOF
48488 #define wxUSE_IFF 1
48489 _ACEOF
48490
48491 fi
48492
48493 if test "$wxUSE_PNM" = "yes" ; then
48494 cat >>confdefs.h <<\_ACEOF
48495 #define wxUSE_PNM 1
48496 _ACEOF
48497
48498 fi
48499
48500 if test "$wxUSE_XPM" = "yes" ; then
48501 cat >>confdefs.h <<\_ACEOF
48502 #define wxUSE_XPM 1
48503 _ACEOF
48504
48505 fi
48506
48507 if test "$wxUSE_ICO_CUR" = "yes" ; then
48508 cat >>confdefs.h <<\_ACEOF
48509 #define wxUSE_ICO_CUR 1
48510 _ACEOF
48511
48512 fi
48513 fi
48514
48515
48516 if test "$wxUSE_ABOUTDLG" = "yes"; then
48517 cat >>confdefs.h <<\_ACEOF
48518 #define wxUSE_ABOUTDLG 1
48519 _ACEOF
48520
48521 fi
48522
48523 if test "$wxUSE_CHOICEDLG" = "yes"; then
48524 cat >>confdefs.h <<\_ACEOF
48525 #define wxUSE_CHOICEDLG 1
48526 _ACEOF
48527
48528 fi
48529
48530 if test "$wxUSE_COLOURDLG" = "yes"; then
48531 cat >>confdefs.h <<\_ACEOF
48532 #define wxUSE_COLOURDLG 1
48533 _ACEOF
48534
48535 fi
48536
48537 if test "$wxUSE_FILEDLG" = "yes"; then
48538 cat >>confdefs.h <<\_ACEOF
48539 #define wxUSE_FILEDLG 1
48540 _ACEOF
48541
48542 fi
48543
48544 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48545 cat >>confdefs.h <<\_ACEOF
48546 #define wxUSE_FINDREPLDLG 1
48547 _ACEOF
48548
48549 fi
48550
48551 if test "$wxUSE_FONTDLG" = "yes"; then
48552 cat >>confdefs.h <<\_ACEOF
48553 #define wxUSE_FONTDLG 1
48554 _ACEOF
48555
48556 fi
48557
48558 if test "$wxUSE_DIRDLG" = "yes"; then
48559 if test "$wxUSE_TREECTRL" != "yes"; then
48560 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48561 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48562 else
48563 cat >>confdefs.h <<\_ACEOF
48564 #define wxUSE_DIRDLG 1
48565 _ACEOF
48566
48567 fi
48568 fi
48569
48570 if test "$wxUSE_MSGDLG" = "yes"; then
48571 cat >>confdefs.h <<\_ACEOF
48572 #define wxUSE_MSGDLG 1
48573 _ACEOF
48574
48575 fi
48576
48577 if test "$wxUSE_NUMBERDLG" = "yes"; then
48578 cat >>confdefs.h <<\_ACEOF
48579 #define wxUSE_NUMBERDLG 1
48580 _ACEOF
48581
48582 fi
48583
48584 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48585 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48586 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48587 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48588 else
48589 cat >>confdefs.h <<\_ACEOF
48590 #define wxUSE_PROGRESSDLG 1
48591 _ACEOF
48592
48593 fi
48594 fi
48595
48596 if test "$wxUSE_SPLASH" = "yes"; then
48597 cat >>confdefs.h <<\_ACEOF
48598 #define wxUSE_SPLASH 1
48599 _ACEOF
48600
48601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48602 fi
48603
48604 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48605 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48606 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48607 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48608 else
48609 cat >>confdefs.h <<\_ACEOF
48610 #define wxUSE_STARTUP_TIPS 1
48611 _ACEOF
48612
48613 fi
48614 fi
48615
48616 if test "$wxUSE_TEXTDLG" = "yes"; then
48617 cat >>confdefs.h <<\_ACEOF
48618 #define wxUSE_TEXTDLG 1
48619 _ACEOF
48620
48621 fi
48622
48623 if test "$wxUSE_WIZARDDLG" = "yes"; then
48624 cat >>confdefs.h <<\_ACEOF
48625 #define wxUSE_WIZARDDLG 1
48626 _ACEOF
48627
48628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48629 fi
48630
48631
48632 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48633 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48634 cat >>confdefs.h <<\_ACEOF
48635 #define wxUSE_GRAPHICS_CONTEXT 1
48636 _ACEOF
48637
48638 elif test "$wxUSE_GTK" != 1; then
48639 cat >>confdefs.h <<\_ACEOF
48640 #define wxUSE_GRAPHICS_CONTEXT 1
48641 _ACEOF
48642
48643 else
48644
48645 pkg_failed=no
48646 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48647 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48648
48649 if test -n "$PKG_CONFIG"; then
48650 if test -n "$CAIRO_CFLAGS"; then
48651 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48652 else
48653 if test -n "$PKG_CONFIG" && \
48654 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48655 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48656 ac_status=$?
48657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48658 (exit $ac_status); }; then
48659 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48660 else
48661 pkg_failed=yes
48662 fi
48663 fi
48664 else
48665 pkg_failed=untried
48666 fi
48667 if test -n "$PKG_CONFIG"; then
48668 if test -n "$CAIRO_LIBS"; then
48669 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48670 else
48671 if test -n "$PKG_CONFIG" && \
48672 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48673 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48674 ac_status=$?
48675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48676 (exit $ac_status); }; then
48677 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48678 else
48679 pkg_failed=yes
48680 fi
48681 fi
48682 else
48683 pkg_failed=untried
48684 fi
48685
48686
48687
48688 if test $pkg_failed = yes; then
48689
48690 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48691 _pkg_short_errors_supported=yes
48692 else
48693 _pkg_short_errors_supported=no
48694 fi
48695 if test $_pkg_short_errors_supported = yes; then
48696 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48697 else
48698 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48699 fi
48700 # Put the nasty error message in config.log where it belongs
48701 echo "$CAIRO_PKG_ERRORS" >&5
48702
48703 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48704 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48705
48706 elif test $pkg_failed = untried; then
48707 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48708 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48709
48710 else
48711 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48712 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48713 { echo "$as_me:$LINENO: result: yes" >&5
48714 echo "${ECHO_T}yes" >&6; }
48715 cat >>confdefs.h <<\_ACEOF
48716 #define wxUSE_GRAPHICS_CONTEXT 1
48717 _ACEOF
48718
48719 fi
48720 fi
48721 fi
48722
48723
48724 USE_MEDIA=0
48725
48726 if test "$wxUSE_MEDIACTRL" = "yes"; then
48727 USE_MEDIA=1
48728
48729 if test "$wxUSE_GTK" = 1; then
48730 wxUSE_GSTREAMER="no"
48731
48732 GST_VERSION_MAJOR=0
48733 GST_VERSION_MINOR=10
48734 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48735
48736 if test "$wxUSE_GSTREAMER8" = "no"; then
48737
48738 pkg_failed=no
48739 { echo "$as_me:$LINENO: checking for GST" >&5
48740 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48741
48742 if test -n "$PKG_CONFIG"; then
48743 if test -n "$GST_CFLAGS"; then
48744 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48745 else
48746 if test -n "$PKG_CONFIG" && \
48747 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48748 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48749 ac_status=$?
48750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48751 (exit $ac_status); }; then
48752 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48753 else
48754 pkg_failed=yes
48755 fi
48756 fi
48757 else
48758 pkg_failed=untried
48759 fi
48760 if test -n "$PKG_CONFIG"; then
48761 if test -n "$GST_LIBS"; then
48762 pkg_cv_GST_LIBS="$GST_LIBS"
48763 else
48764 if test -n "$PKG_CONFIG" && \
48765 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48766 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48767 ac_status=$?
48768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48769 (exit $ac_status); }; then
48770 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48771 else
48772 pkg_failed=yes
48773 fi
48774 fi
48775 else
48776 pkg_failed=untried
48777 fi
48778
48779
48780
48781 if test $pkg_failed = yes; then
48782
48783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48784 _pkg_short_errors_supported=yes
48785 else
48786 _pkg_short_errors_supported=no
48787 fi
48788 if test $_pkg_short_errors_supported = yes; then
48789 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48790 else
48791 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48792 fi
48793 # Put the nasty error message in config.log where it belongs
48794 echo "$GST_PKG_ERRORS" >&5
48795
48796
48797 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48798 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48799 GST_VERSION_MINOR=8
48800
48801
48802 elif test $pkg_failed = untried; then
48803
48804 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48805 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48806 GST_VERSION_MINOR=8
48807
48808
48809 else
48810 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48811 GST_LIBS=$pkg_cv_GST_LIBS
48812 { echo "$as_me:$LINENO: result: yes" >&5
48813 echo "${ECHO_T}yes" >&6; }
48814
48815 wxUSE_GSTREAMER="yes"
48816 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48817
48818 fi
48819 else
48820 GST_VERSION_MINOR=8
48821 fi
48822
48823 if test $GST_VERSION_MINOR = "8"; then
48824 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48825
48826 pkg_failed=no
48827 { echo "$as_me:$LINENO: checking for GST" >&5
48828 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48829
48830 if test -n "$PKG_CONFIG"; then
48831 if test -n "$GST_CFLAGS"; then
48832 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48833 else
48834 if test -n "$PKG_CONFIG" && \
48835 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48836 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48837 ac_status=$?
48838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48839 (exit $ac_status); }; then
48840 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48841 else
48842 pkg_failed=yes
48843 fi
48844 fi
48845 else
48846 pkg_failed=untried
48847 fi
48848 if test -n "$PKG_CONFIG"; then
48849 if test -n "$GST_LIBS"; then
48850 pkg_cv_GST_LIBS="$GST_LIBS"
48851 else
48852 if test -n "$PKG_CONFIG" && \
48853 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48854 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48855 ac_status=$?
48856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48857 (exit $ac_status); }; then
48858 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48859 else
48860 pkg_failed=yes
48861 fi
48862 fi
48863 else
48864 pkg_failed=untried
48865 fi
48866
48867
48868
48869 if test $pkg_failed = yes; then
48870
48871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48872 _pkg_short_errors_supported=yes
48873 else
48874 _pkg_short_errors_supported=no
48875 fi
48876 if test $_pkg_short_errors_supported = yes; then
48877 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48878 else
48879 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48880 fi
48881 # Put the nasty error message in config.log where it belongs
48882 echo "$GST_PKG_ERRORS" >&5
48883
48884
48885 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48886 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48887
48888 elif test $pkg_failed = untried; then
48889
48890 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48891 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48892
48893 else
48894 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48895 GST_LIBS=$pkg_cv_GST_LIBS
48896 { echo "$as_me:$LINENO: result: yes" >&5
48897 echo "${ECHO_T}yes" >&6; }
48898 wxUSE_GSTREAMER="yes"
48899 fi
48900 fi
48901
48902
48903 if test "$wxUSE_GSTREAMER" = "yes"; then
48904 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48905 LIBS="$GST_LIBS $LIBS"
48906
48907 cat >>confdefs.h <<\_ACEOF
48908 #define wxUSE_GSTREAMER 1
48909 _ACEOF
48910
48911 else
48912 USE_MEDIA=0
48913 fi
48914 fi
48915
48916 if test $USE_MEDIA = 1; then
48917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48918 cat >>confdefs.h <<\_ACEOF
48919 #define wxUSE_MEDIACTRL 1
48920 _ACEOF
48921
48922 fi
48923 fi
48924
48925
48926 if test "$cross_compiling" = "yes"; then
48927 OSINFO="\"$host\""
48928 else
48929 OSINFO=`uname -s -r -m`
48930 OSINFO="\"$OSINFO\""
48931 fi
48932
48933 cat >>confdefs.h <<_ACEOF
48934 #define WXWIN_OS_DESCRIPTION $OSINFO
48935 _ACEOF
48936
48937
48938
48939 if test "x$prefix" != "xNONE"; then
48940 wxPREFIX=$prefix
48941 else
48942 wxPREFIX=$ac_default_prefix
48943 fi
48944
48945 cat >>confdefs.h <<_ACEOF
48946 #define wxINSTALL_PREFIX "$wxPREFIX"
48947 _ACEOF
48948
48949
48950
48951
48952 STD_BASE_LIBS="base"
48953 STD_GUI_LIBS=""
48954 BUILT_WX_LIBS="base"
48955 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48956
48957 if test "$wxUSE_SOCKETS" = "yes" ; then
48958 STD_BASE_LIBS="net $STD_BASE_LIBS"
48959 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48960 fi
48961 if test "$wxUSE_ODBC" != "no" ; then
48962 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
48963 fi
48964 if test "$wxUSE_XML" = "yes" ; then
48965 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48966 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48967 fi
48968
48969 if test "$wxUSE_GUI" = "yes"; then
48970 STD_GUI_LIBS="adv core"
48971 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48972
48973 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48974 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48975 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48976 fi
48977 if test "$wxUSE_ODBC" != "no" ; then
48978 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
48979 fi
48980 if test "$wxUSE_HTML" = "yes" ; then
48981 STD_GUI_LIBS="html $STD_GUI_LIBS"
48982 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48983 fi
48984 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48985 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48986 fi
48987 if test "$wxUSE_OPENGL" = "yes" ; then
48988 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48989 fi
48990 if test "$wxUSE_AUI" = "yes" ; then
48991 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48992 fi
48993 if test "$wxUSE_STC" = "yes" ; then
48994 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48995 fi
48996 if test "$wxUSE_XRC" = "yes" ; then
48997 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48998 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48999 fi
49000 fi
49001
49002
49003
49004
49005
49006
49007
49008
49009 if test "$wxUSE_MAC" = 1 ; then
49010 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49011 if test "$USE_DARWIN" = 1; then
49012 LDFLAGS="$LDFLAGS -framework QuickTime"
49013 else
49014 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49015 fi
49016 fi
49017 if test "$USE_DARWIN" = 1; then
49018 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49019 else
49020 LDFLAGS="$LDFLAGS -lCarbonLib"
49021 fi
49022 fi
49023 if test "$wxUSE_COCOA" = 1 ; then
49024 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49025 if test "$wxUSE_MEDIACTRL" = "yes"; then
49026 LDFLAGS="$LDFLAGS -framework QuickTime"
49027 fi
49028 fi
49029 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49030 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49031 fi
49032
49033 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49034
49035 if test "$wxUSE_GUI" = "yes"; then
49036
49037
49038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49039 dynamic erase event exec font image minimal mobile \
49040 mobile/wxedit mobile/styles propsize render \
49041 rotate shaped svg taborder vscroll widgets"
49042
49043 if test "$wxUSE_MONOLITHIC" != "yes"; then
49044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49045 fi
49046 if test "$TOOLKIT" = "MSW"; then
49047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49048 if test "$wxUSE_UNIVERSAL" != "yes"; then
49049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49050 fi
49051 fi
49052 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49054 fi
49055 else
49056 SAMPLES_SUBDIRS="console"
49057 fi
49058
49059
49060 if test "x$INTELCC" = "xyes" ; then
49061 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49062 elif test "$GCC" = yes ; then
49063 CWARNINGS="-Wall -Wundef"
49064 fi
49065
49066 if test "x$INTELCXX" = "xyes" ; then
49067 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49068 elif test "$GXX" = yes ; then
49069 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49070 fi
49071
49072
49073 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49074 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49075
49076
49077 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49078 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49079 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49080 $CPPFLAGS `
49081
49082 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49083 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49084 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49085
49086 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49087
49088
49089 if test "x$MWCC" = "xyes"; then
49090
49091 CC="$CC -cwd source -I-"
49092 CXX="$CXX -cwd source -I-"
49093 fi
49094
49095
49096 LIBS=`echo $LIBS`
49097 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49098 EXTRALIBS_XML="$EXPAT_LINK"
49099 EXTRALIBS_HTML="$MSPACK_LINK"
49100 EXTRALIBS_ODBC="$ODBC_LINK"
49101 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49102 if test "$wxUSE_GUI" = "yes"; then
49103 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49104 fi
49105 if test "$wxUSE_OPENGL" = "yes"; then
49106 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49107 fi
49108
49109 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49110
49111 WXCONFIG_LIBS="$LIBS"
49112
49113 if test "$wxUSE_REGEX" = "builtin" ; then
49114 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49115 fi
49116 if test "$wxUSE_EXPAT" = "builtin" ; then
49117 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49118 fi
49119 if test "$wxUSE_ODBC" = "builtin" ; then
49120 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49121 fi
49122 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49123 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49124 fi
49125 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49126 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49127 fi
49128 if test "$wxUSE_LIBPNG" = "builtin" ; then
49129 wxconfig_3rdparty="png $wxconfig_3rdparty"
49130 fi
49131 if test "$wxUSE_ZLIB" = "builtin" ; then
49132 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49133 fi
49134
49135 for i in $wxconfig_3rdparty ; do
49136 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49137 done
49138
49139
49140 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49141 WXUNIV=1
49142
49143 case "$wxUNIV_THEMES" in
49144 ''|all)
49145 cat >>confdefs.h <<\_ACEOF
49146 #define wxUSE_ALL_THEMES 1
49147 _ACEOF
49148
49149 ;;
49150
49151 *)
49152 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49153 cat >>confdefs.h <<_ACEOF
49154 #define wxUSE_THEME_$t 1
49155 _ACEOF
49156
49157 done
49158 esac
49159 else
49160 WXUNIV=0
49161 fi
49162
49163
49164
49165
49166
49167
49168
49169
49170
49171 if test $wxUSE_MONOLITHIC = "yes" ; then
49172 MONOLITHIC=1
49173 else
49174 MONOLITHIC=0
49175 fi
49176
49177 if test $wxUSE_PLUGINS = "yes" ; then
49178 USE_PLUGINS=1
49179 else
49180 USE_PLUGINS=0
49181 fi
49182
49183 if test $wxUSE_ODBC != "no" ; then
49184 USE_ODBC=1
49185 else
49186 USE_ODBC=0
49187 fi
49188
49189 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49190 USE_QA=1
49191 else
49192 USE_QA=0
49193 fi
49194
49195 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49196 OFFICIAL_BUILD=1
49197 else
49198 OFFICIAL_BUILD=0
49199 fi
49200
49201
49202
49203
49204
49205
49206
49207
49208
49209
49210
49211
49212
49213
49214
49215
49216
49217
49218
49219
49220
49221
49222
49223
49224
49225
49226 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49227
49228
49229
49230
49231
49232
49233
49234
49235 case "$TOOLKIT" in
49236 GTK)
49237 TOOLKIT_DESC="GTK+"
49238 if test "$WXGTK20" = 1; then
49239 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49240 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49241 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49242 fi
49243 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49244 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49245 fi
49246 if test "$wxUSE_LIBHILDON" = "yes"; then
49247 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49248 fi
49249
49250 if test "$TOOLKIT_EXTRA" != ""; then
49251 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49252 fi
49253 fi
49254 ;;
49255
49256 ?*)
49257 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49258 ;;
49259
49260 *)
49261 TOOLKIT_DESC="base only"
49262 ;;
49263 esac
49264
49265 if test "$wxUSE_WINE" = "yes"; then
49266 BAKEFILE_FORCE_PLATFORM=win32
49267 fi
49268
49269 if test "$wxUSE_MAC" = 1 ; then
49270 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49271 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49272 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49273 else
49274 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49275 fi
49276 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49277 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49278 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49279 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49280 bk_use_pch=no
49281 fi
49282 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49283 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49284 fi
49285
49286 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49287 then
49288 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49289 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49290 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49291 echo $ECHO_N "(cached) $ECHO_C" >&6
49292 else
49293
49294 echo '#include <stdio.h>
49295 const wchar_t test_var[] = L"awidetest";' > conftest.h
49296
49297 echo '#include "conftest.h"
49298 int main()
49299 {
49300 printf("%ls", test_var);
49301 return 0;
49302 }' > conftest.cpp
49303
49304 wx_cv_gcc_pch_bug="pch not supported"
49305
49306 if $CXX conftest.h >/dev/null 2>&1
49307 then
49308 wx_cv_gcc_pch_bug=
49309
49310 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49311 then
49312 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49313 grep awidetest >/dev/null
49314 then
49315 wx_cv_gcc_pch_bug=no
49316 else
49317 wx_cv_gcc_pch_bug=yes
49318 fi
49319 fi
49320 fi
49321
49322 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49323
49324 fi
49325 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49326 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49327
49328 if test "$wx_cv_gcc_pch_bug" = yes; then
49329 bk_use_pch=no
49330 fi
49331 fi
49332
49333
49334
49335
49336 if test "x$BAKEFILE_HOST" = "x"; then
49337 if test "x${host}" = "x" ; then
49338 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49339 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49340 { (exit 1); exit 1; }; }
49341 fi
49342
49343 BAKEFILE_HOST="${host}"
49344 fi
49345
49346 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49347
49348 if test -n "$ac_tool_prefix"; then
49349 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49350 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49353 if test "${ac_cv_prog_RANLIB+set}" = set; then
49354 echo $ECHO_N "(cached) $ECHO_C" >&6
49355 else
49356 if test -n "$RANLIB"; then
49357 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49358 else
49359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49360 for as_dir in $PATH
49361 do
49362 IFS=$as_save_IFS
49363 test -z "$as_dir" && as_dir=.
49364 for ac_exec_ext in '' $ac_executable_extensions; do
49365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49366 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49368 break 2
49369 fi
49370 done
49371 done
49372 IFS=$as_save_IFS
49373
49374 fi
49375 fi
49376 RANLIB=$ac_cv_prog_RANLIB
49377 if test -n "$RANLIB"; then
49378 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49379 echo "${ECHO_T}$RANLIB" >&6; }
49380 else
49381 { echo "$as_me:$LINENO: result: no" >&5
49382 echo "${ECHO_T}no" >&6; }
49383 fi
49384
49385
49386 fi
49387 if test -z "$ac_cv_prog_RANLIB"; then
49388 ac_ct_RANLIB=$RANLIB
49389 # Extract the first word of "ranlib", so it can be a program name with args.
49390 set dummy ranlib; ac_word=$2
49391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49393 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49394 echo $ECHO_N "(cached) $ECHO_C" >&6
49395 else
49396 if test -n "$ac_ct_RANLIB"; then
49397 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49398 else
49399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49400 for as_dir in $PATH
49401 do
49402 IFS=$as_save_IFS
49403 test -z "$as_dir" && as_dir=.
49404 for ac_exec_ext in '' $ac_executable_extensions; do
49405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49406 ac_cv_prog_ac_ct_RANLIB="ranlib"
49407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49408 break 2
49409 fi
49410 done
49411 done
49412 IFS=$as_save_IFS
49413
49414 fi
49415 fi
49416 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49417 if test -n "$ac_ct_RANLIB"; then
49418 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49419 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49420 else
49421 { echo "$as_me:$LINENO: result: no" >&5
49422 echo "${ECHO_T}no" >&6; }
49423 fi
49424
49425 if test "x$ac_ct_RANLIB" = x; then
49426 RANLIB=":"
49427 else
49428 case $cross_compiling:$ac_tool_warned in
49429 yes:)
49430 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49431 whose name does not start with the host triplet. If you think this
49432 configuration is useful to you, please write to autoconf@gnu.org." >&5
49433 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49434 whose name does not start with the host triplet. If you think this
49435 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49436 ac_tool_warned=yes ;;
49437 esac
49438 RANLIB=$ac_ct_RANLIB
49439 fi
49440 else
49441 RANLIB="$ac_cv_prog_RANLIB"
49442 fi
49443
49444 # Find a good install program. We prefer a C program (faster),
49445 # so one script is as good as another. But avoid the broken or
49446 # incompatible versions:
49447 # SysV /etc/install, /usr/sbin/install
49448 # SunOS /usr/etc/install
49449 # IRIX /sbin/install
49450 # AIX /bin/install
49451 # AmigaOS /C/install, which installs bootblocks on floppy discs
49452 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49453 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49454 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49455 # OS/2's system install, which has a completely different semantic
49456 # ./install, which can be erroneously created by make from ./install.sh.
49457 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49458 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49459 if test -z "$INSTALL"; then
49460 if test "${ac_cv_path_install+set}" = set; then
49461 echo $ECHO_N "(cached) $ECHO_C" >&6
49462 else
49463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49464 for as_dir in $PATH
49465 do
49466 IFS=$as_save_IFS
49467 test -z "$as_dir" && as_dir=.
49468 # Account for people who put trailing slashes in PATH elements.
49469 case $as_dir/ in
49470 ./ | .// | /cC/* | \
49471 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49472 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49473 /usr/ucb/* ) ;;
49474 *)
49475 # OSF1 and SCO ODT 3.0 have their own names for install.
49476 # Don't use installbsd from OSF since it installs stuff as root
49477 # by default.
49478 for ac_prog in ginstall scoinst install; do
49479 for ac_exec_ext in '' $ac_executable_extensions; do
49480 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49481 if test $ac_prog = install &&
49482 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49483 # AIX install. It has an incompatible calling convention.
49484 :
49485 elif test $ac_prog = install &&
49486 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49487 # program-specific install script used by HP pwplus--don't use.
49488 :
49489 else
49490 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49491 break 3
49492 fi
49493 fi
49494 done
49495 done
49496 ;;
49497 esac
49498 done
49499 IFS=$as_save_IFS
49500
49501
49502 fi
49503 if test "${ac_cv_path_install+set}" = set; then
49504 INSTALL=$ac_cv_path_install
49505 else
49506 # As a last resort, use the slow shell script. Don't cache a
49507 # value for INSTALL within a source directory, because that will
49508 # break other packages using the cache if that directory is
49509 # removed, or if the value is a relative name.
49510 INSTALL=$ac_install_sh
49511 fi
49512 fi
49513 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49514 echo "${ECHO_T}$INSTALL" >&6; }
49515
49516 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49517 # It thinks the first close brace ends the variable substitution.
49518 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49519
49520 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49521
49522 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49523
49524 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49525 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49526 LN_S=$as_ln_s
49527 if test "$LN_S" = "ln -s"; then
49528 { echo "$as_me:$LINENO: result: yes" >&5
49529 echo "${ECHO_T}yes" >&6; }
49530 else
49531 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49532 echo "${ECHO_T}no, using $LN_S" >&6; }
49533 fi
49534
49535
49536 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49537 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49538 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49539 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49540 echo $ECHO_N "(cached) $ECHO_C" >&6
49541 else
49542 cat >conftest.make <<\_ACEOF
49543 SHELL = /bin/sh
49544 all:
49545 @echo '@@@%%%=$(MAKE)=@@@%%%'
49546 _ACEOF
49547 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49548 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49549 *@@@%%%=?*=@@@%%%*)
49550 eval ac_cv_prog_make_${ac_make}_set=yes;;
49551 *)
49552 eval ac_cv_prog_make_${ac_make}_set=no;;
49553 esac
49554 rm -f conftest.make
49555 fi
49556 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49557 { echo "$as_me:$LINENO: result: yes" >&5
49558 echo "${ECHO_T}yes" >&6; }
49559 SET_MAKE=
49560 else
49561 { echo "$as_me:$LINENO: result: no" >&5
49562 echo "${ECHO_T}no" >&6; }
49563 SET_MAKE="MAKE=${MAKE-make}"
49564 fi
49565
49566
49567
49568 if test "x$SUNCXX" = "xyes"; then
49569 AR=$CXX
49570 AROPTIONS="-xar -o"
49571
49572 elif test "x$SGICC" = "xyes"; then
49573 AR=$CXX
49574 AROPTIONS="-ar -o"
49575
49576 else
49577 if test -n "$ac_tool_prefix"; then
49578 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49579 set dummy ${ac_tool_prefix}ar; ac_word=$2
49580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49582 if test "${ac_cv_prog_AR+set}" = set; then
49583 echo $ECHO_N "(cached) $ECHO_C" >&6
49584 else
49585 if test -n "$AR"; then
49586 ac_cv_prog_AR="$AR" # Let the user override the test.
49587 else
49588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49589 for as_dir in $PATH
49590 do
49591 IFS=$as_save_IFS
49592 test -z "$as_dir" && as_dir=.
49593 for ac_exec_ext in '' $ac_executable_extensions; do
49594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49595 ac_cv_prog_AR="${ac_tool_prefix}ar"
49596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49597 break 2
49598 fi
49599 done
49600 done
49601 IFS=$as_save_IFS
49602
49603 fi
49604 fi
49605 AR=$ac_cv_prog_AR
49606 if test -n "$AR"; then
49607 { echo "$as_me:$LINENO: result: $AR" >&5
49608 echo "${ECHO_T}$AR" >&6; }
49609 else
49610 { echo "$as_me:$LINENO: result: no" >&5
49611 echo "${ECHO_T}no" >&6; }
49612 fi
49613
49614
49615 fi
49616 if test -z "$ac_cv_prog_AR"; then
49617 ac_ct_AR=$AR
49618 # Extract the first word of "ar", so it can be a program name with args.
49619 set dummy ar; ac_word=$2
49620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49622 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49623 echo $ECHO_N "(cached) $ECHO_C" >&6
49624 else
49625 if test -n "$ac_ct_AR"; then
49626 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49627 else
49628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49629 for as_dir in $PATH
49630 do
49631 IFS=$as_save_IFS
49632 test -z "$as_dir" && as_dir=.
49633 for ac_exec_ext in '' $ac_executable_extensions; do
49634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49635 ac_cv_prog_ac_ct_AR="ar"
49636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49637 break 2
49638 fi
49639 done
49640 done
49641 IFS=$as_save_IFS
49642
49643 fi
49644 fi
49645 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49646 if test -n "$ac_ct_AR"; then
49647 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49648 echo "${ECHO_T}$ac_ct_AR" >&6; }
49649 else
49650 { echo "$as_me:$LINENO: result: no" >&5
49651 echo "${ECHO_T}no" >&6; }
49652 fi
49653
49654 if test "x$ac_ct_AR" = x; then
49655 AR="ar"
49656 else
49657 case $cross_compiling:$ac_tool_warned in
49658 yes:)
49659 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49660 whose name does not start with the host triplet. If you think this
49661 configuration is useful to you, please write to autoconf@gnu.org." >&5
49662 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49663 whose name does not start with the host triplet. If you think this
49664 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49665 ac_tool_warned=yes ;;
49666 esac
49667 AR=$ac_ct_AR
49668 fi
49669 else
49670 AR="$ac_cv_prog_AR"
49671 fi
49672
49673 AROPTIONS=rcu
49674 fi
49675
49676
49677 if test -n "$ac_tool_prefix"; then
49678 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49679 set dummy ${ac_tool_prefix}strip; ac_word=$2
49680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49682 if test "${ac_cv_prog_STRIP+set}" = set; then
49683 echo $ECHO_N "(cached) $ECHO_C" >&6
49684 else
49685 if test -n "$STRIP"; then
49686 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49687 else
49688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49689 for as_dir in $PATH
49690 do
49691 IFS=$as_save_IFS
49692 test -z "$as_dir" && as_dir=.
49693 for ac_exec_ext in '' $ac_executable_extensions; do
49694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49695 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49697 break 2
49698 fi
49699 done
49700 done
49701 IFS=$as_save_IFS
49702
49703 fi
49704 fi
49705 STRIP=$ac_cv_prog_STRIP
49706 if test -n "$STRIP"; then
49707 { echo "$as_me:$LINENO: result: $STRIP" >&5
49708 echo "${ECHO_T}$STRIP" >&6; }
49709 else
49710 { echo "$as_me:$LINENO: result: no" >&5
49711 echo "${ECHO_T}no" >&6; }
49712 fi
49713
49714
49715 fi
49716 if test -z "$ac_cv_prog_STRIP"; then
49717 ac_ct_STRIP=$STRIP
49718 # Extract the first word of "strip", so it can be a program name with args.
49719 set dummy strip; ac_word=$2
49720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49722 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49723 echo $ECHO_N "(cached) $ECHO_C" >&6
49724 else
49725 if test -n "$ac_ct_STRIP"; then
49726 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49727 else
49728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49729 for as_dir in $PATH
49730 do
49731 IFS=$as_save_IFS
49732 test -z "$as_dir" && as_dir=.
49733 for ac_exec_ext in '' $ac_executable_extensions; do
49734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49735 ac_cv_prog_ac_ct_STRIP="strip"
49736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49737 break 2
49738 fi
49739 done
49740 done
49741 IFS=$as_save_IFS
49742
49743 fi
49744 fi
49745 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49746 if test -n "$ac_ct_STRIP"; then
49747 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49748 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49749 else
49750 { echo "$as_me:$LINENO: result: no" >&5
49751 echo "${ECHO_T}no" >&6; }
49752 fi
49753
49754 if test "x$ac_ct_STRIP" = x; then
49755 STRIP=":"
49756 else
49757 case $cross_compiling:$ac_tool_warned in
49758 yes:)
49759 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49760 whose name does not start with the host triplet. If you think this
49761 configuration is useful to you, please write to autoconf@gnu.org." >&5
49762 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49763 whose name does not start with the host triplet. If you think this
49764 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49765 ac_tool_warned=yes ;;
49766 esac
49767 STRIP=$ac_ct_STRIP
49768 fi
49769 else
49770 STRIP="$ac_cv_prog_STRIP"
49771 fi
49772
49773 if test -n "$ac_tool_prefix"; then
49774 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49775 set dummy ${ac_tool_prefix}nm; ac_word=$2
49776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49778 if test "${ac_cv_prog_NM+set}" = set; then
49779 echo $ECHO_N "(cached) $ECHO_C" >&6
49780 else
49781 if test -n "$NM"; then
49782 ac_cv_prog_NM="$NM" # Let the user override the test.
49783 else
49784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49785 for as_dir in $PATH
49786 do
49787 IFS=$as_save_IFS
49788 test -z "$as_dir" && as_dir=.
49789 for ac_exec_ext in '' $ac_executable_extensions; do
49790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49791 ac_cv_prog_NM="${ac_tool_prefix}nm"
49792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49793 break 2
49794 fi
49795 done
49796 done
49797 IFS=$as_save_IFS
49798
49799 fi
49800 fi
49801 NM=$ac_cv_prog_NM
49802 if test -n "$NM"; then
49803 { echo "$as_me:$LINENO: result: $NM" >&5
49804 echo "${ECHO_T}$NM" >&6; }
49805 else
49806 { echo "$as_me:$LINENO: result: no" >&5
49807 echo "${ECHO_T}no" >&6; }
49808 fi
49809
49810
49811 fi
49812 if test -z "$ac_cv_prog_NM"; then
49813 ac_ct_NM=$NM
49814 # Extract the first word of "nm", so it can be a program name with args.
49815 set dummy nm; ac_word=$2
49816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49818 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49819 echo $ECHO_N "(cached) $ECHO_C" >&6
49820 else
49821 if test -n "$ac_ct_NM"; then
49822 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49823 else
49824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49825 for as_dir in $PATH
49826 do
49827 IFS=$as_save_IFS
49828 test -z "$as_dir" && as_dir=.
49829 for ac_exec_ext in '' $ac_executable_extensions; do
49830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49831 ac_cv_prog_ac_ct_NM="nm"
49832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49833 break 2
49834 fi
49835 done
49836 done
49837 IFS=$as_save_IFS
49838
49839 fi
49840 fi
49841 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49842 if test -n "$ac_ct_NM"; then
49843 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49844 echo "${ECHO_T}$ac_ct_NM" >&6; }
49845 else
49846 { echo "$as_me:$LINENO: result: no" >&5
49847 echo "${ECHO_T}no" >&6; }
49848 fi
49849
49850 if test "x$ac_ct_NM" = x; then
49851 NM=":"
49852 else
49853 case $cross_compiling:$ac_tool_warned in
49854 yes:)
49855 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49856 whose name does not start with the host triplet. If you think this
49857 configuration is useful to you, please write to autoconf@gnu.org." >&5
49858 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49859 whose name does not start with the host triplet. If you think this
49860 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49861 ac_tool_warned=yes ;;
49862 esac
49863 NM=$ac_ct_NM
49864 fi
49865 else
49866 NM="$ac_cv_prog_NM"
49867 fi
49868
49869
49870 case ${BAKEFILE_HOST} in
49871 *-hp-hpux* )
49872 INSTALL_DIR="mkdir -p"
49873 ;;
49874 * )
49875 INSTALL_DIR='$(INSTALL) -d'
49876 ;;
49877 esac
49878
49879
49880 LDFLAGS_GUI=
49881 case ${BAKEFILE_HOST} in
49882 *-*-cygwin* | *-*-mingw32* )
49883 LDFLAGS_GUI="-mwindows"
49884 esac
49885
49886
49887 fi
49888
49889 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49890 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49891 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49892 echo $ECHO_N "(cached) $ECHO_C" >&6
49893 else
49894
49895 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49896 egrep -s GNU > /dev/null); then
49897 bakefile_cv_prog_makeisgnu="yes"
49898 else
49899 bakefile_cv_prog_makeisgnu="no"
49900 fi
49901
49902 fi
49903 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49904 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49905
49906 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49907 IF_GNU_MAKE=""
49908 else
49909 IF_GNU_MAKE="#"
49910 fi
49911
49912
49913
49914 PLATFORM_UNIX=0
49915 PLATFORM_WIN32=0
49916 PLATFORM_MSDOS=0
49917 PLATFORM_MAC=0
49918 PLATFORM_MACOS=0
49919 PLATFORM_MACOSX=0
49920 PLATFORM_OS2=0
49921 PLATFORM_BEOS=0
49922
49923 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49924 case "${BAKEFILE_HOST}" in
49925 *-*-mingw32* )
49926 PLATFORM_WIN32=1
49927 ;;
49928 *-pc-msdosdjgpp )
49929 PLATFORM_MSDOS=1
49930 ;;
49931 *-pc-os2_emx | *-pc-os2-emx )
49932 PLATFORM_OS2=1
49933 ;;
49934 *-*-darwin* )
49935 PLATFORM_MAC=1
49936 PLATFORM_MACOSX=1
49937 ;;
49938 *-*-beos* )
49939 PLATFORM_BEOS=1
49940 ;;
49941 powerpc-apple-macos* )
49942 PLATFORM_MAC=1
49943 PLATFORM_MACOS=1
49944 ;;
49945 * )
49946 PLATFORM_UNIX=1
49947 ;;
49948 esac
49949 else
49950 case "$BAKEFILE_FORCE_PLATFORM" in
49951 win32 )
49952 PLATFORM_WIN32=1
49953 ;;
49954 msdos )
49955 PLATFORM_MSDOS=1
49956 ;;
49957 os2 )
49958 PLATFORM_OS2=1
49959 ;;
49960 darwin )
49961 PLATFORM_MAC=1
49962 PLATFORM_MACOSX=1
49963 ;;
49964 unix )
49965 PLATFORM_UNIX=1
49966 ;;
49967 beos )
49968 PLATFORM_BEOS=1
49969 ;;
49970 * )
49971 ;;
49972 esac
49973 fi
49974
49975
49976
49977
49978
49979
49980
49981
49982
49983
49984
49985 # Check whether --enable-omf was given.
49986 if test "${enable_omf+set}" = set; then
49987 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49988 fi
49989
49990
49991 case "${BAKEFILE_HOST}" in
49992 *-*-darwin* )
49993 if test "x$GCC" = "xyes"; then
49994 CFLAGS="$CFLAGS -fno-common"
49995 CXXFLAGS="$CXXFLAGS -fno-common"
49996 fi
49997 if test "x$XLCC" = "xyes"; then
49998 CFLAGS="$CFLAGS -qnocommon"
49999 CXXFLAGS="$CXXFLAGS -qnocommon"
50000 fi
50001 ;;
50002
50003 *-pc-os2_emx | *-pc-os2-emx )
50004 if test "x$bk_os2_use_omf" = "xyes" ; then
50005 AR=emxomfar
50006 RANLIB=:
50007 LDFLAGS="-Zomf $LDFLAGS"
50008 CFLAGS="-Zomf $CFLAGS"
50009 CXXFLAGS="-Zomf $CXXFLAGS"
50010 OS2_LIBEXT="lib"
50011 else
50012 OS2_LIBEXT="a"
50013 fi
50014 ;;
50015
50016 i*86-*-beos* )
50017 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50018 ;;
50019 esac
50020
50021
50022 SO_SUFFIX="so"
50023 SO_SUFFIX_MODULE="so"
50024 EXEEXT=""
50025 LIBPREFIX="lib"
50026 LIBEXT=".a"
50027 DLLPREFIX="lib"
50028 DLLPREFIX_MODULE=""
50029 DLLIMP_SUFFIX=""
50030 dlldir="$libdir"
50031
50032 case "${BAKEFILE_HOST}" in
50033 *-hp-hpux* )
50034 SO_SUFFIX="sl"
50035 SO_SUFFIX_MODULE="sl"
50036 ;;
50037 *-*-aix* )
50038 SO_SUFFIX="a"
50039 SO_SUFFIX_MODULE="a"
50040 ;;
50041 *-*-cygwin* )
50042 SO_SUFFIX="dll"
50043 SO_SUFFIX_MODULE="dll"
50044 DLLIMP_SUFFIX="dll.a"
50045 EXEEXT=".exe"
50046 DLLPREFIX="cyg"
50047 dlldir="$bindir"
50048 ;;
50049 *-*-mingw32* )
50050 SO_SUFFIX="dll"
50051 SO_SUFFIX_MODULE="dll"
50052 DLLIMP_SUFFIX="dll.a"
50053 EXEEXT=".exe"
50054 DLLPREFIX=""
50055 dlldir="$bindir"
50056 ;;
50057 *-pc-msdosdjgpp )
50058 EXEEXT=".exe"
50059 DLLPREFIX=""
50060 dlldir="$bindir"
50061 ;;
50062 *-pc-os2_emx | *-pc-os2-emx )
50063 SO_SUFFIX="dll"
50064 SO_SUFFIX_MODULE="dll"
50065 DLLIMP_SUFFIX=$OS2_LIBEXT
50066 EXEEXT=".exe"
50067 DLLPREFIX=""
50068 LIBPREFIX=""
50069 LIBEXT=".$OS2_LIBEXT"
50070 dlldir="$bindir"
50071 ;;
50072 *-*-darwin* )
50073 SO_SUFFIX="dylib"
50074 SO_SUFFIX_MODULE="bundle"
50075 ;;
50076 esac
50077
50078 if test "x$DLLIMP_SUFFIX" = "x" ; then
50079 DLLIMP_SUFFIX="$SO_SUFFIX"
50080 fi
50081
50082
50083
50084
50085
50086
50087
50088
50089
50090
50091
50092
50093 PIC_FLAG=""
50094 if test "x$GCC" = "xyes"; then
50095 PIC_FLAG="-fPIC"
50096 fi
50097
50098 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50099 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50100 WINDOWS_IMPLIB=0
50101
50102 case "${BAKEFILE_HOST}" in
50103 *-hp-hpux* )
50104 if test "x$GCC" != "xyes"; then
50105 LDFLAGS="$LDFLAGS -L/usr/lib"
50106
50107 SHARED_LD_CC="${CC} -b -o"
50108 SHARED_LD_CXX="${CXX} -b -o"
50109 PIC_FLAG="+Z"
50110 fi
50111 ;;
50112
50113 *-*-linux* )
50114 if test "$INTELCC" = "yes"; then
50115 PIC_FLAG="-KPIC"
50116 elif test "x$SUNCXX" = "xyes"; then
50117 SHARED_LD_CC="${CC} -G -o"
50118 SHARED_LD_CXX="${CXX} -G -o"
50119 PIC_FLAG="-KPIC"
50120 fi
50121 ;;
50122
50123 *-*-solaris2* )
50124 if test "x$SUNCXX" = xyes ; then
50125 SHARED_LD_CC="${CC} -G -o"
50126 SHARED_LD_CXX="${CXX} -G -o"
50127 PIC_FLAG="-KPIC"
50128 fi
50129 ;;
50130
50131 *-*-darwin* )
50132
50133 D='$'
50134 cat <<EOF >shared-ld-sh
50135 #!/bin/sh
50136 #-----------------------------------------------------------------------------
50137 #-- Name: distrib/mac/shared-ld-sh
50138 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50139 #-- Author: Gilles Depeyrot
50140 #-- Copyright: (c) 2002 Gilles Depeyrot
50141 #-- Licence: any use permitted
50142 #-----------------------------------------------------------------------------
50143
50144 verbose=0
50145 args=""
50146 objects=""
50147 linking_flag="-dynamiclib"
50148 ldargs="-r -keep_private_externs -nostdlib"
50149
50150 while test ${D}# -gt 0; do
50151 case ${D}1 in
50152
50153 -v)
50154 verbose=1
50155 ;;
50156
50157 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50158 # collect these options and values
50159 args="${D}{args} ${D}1 ${D}2"
50160 shift
50161 ;;
50162
50163 -s|-Wl,*)
50164 # collect these load args
50165 ldargs="${D}{ldargs} ${D}1"
50166 ;;
50167
50168 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50169 # collect these options
50170 args="${D}{args} ${D}1"
50171 ;;
50172
50173 -dynamiclib|-bundle)
50174 linking_flag="${D}1"
50175 ;;
50176
50177 -*)
50178 echo "shared-ld: unhandled option '${D}1'"
50179 exit 1
50180 ;;
50181
50182 *.o | *.a | *.dylib)
50183 # collect object files
50184 objects="${D}{objects} ${D}1"
50185 ;;
50186
50187 *)
50188 echo "shared-ld: unhandled argument '${D}1'"
50189 exit 1
50190 ;;
50191
50192 esac
50193 shift
50194 done
50195
50196 status=0
50197
50198 #
50199 # Link one module containing all the others
50200 #
50201 if test ${D}{verbose} = 1; then
50202 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50203 fi
50204 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50205 status=${D}?
50206
50207 #
50208 # Link the shared library from the single module created, but only if the
50209 # previous command didn't fail:
50210 #
50211 if test ${D}{status} = 0; then
50212 if test ${D}{verbose} = 1; then
50213 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50214 fi
50215 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50216 status=${D}?
50217 fi
50218
50219 #
50220 # Remove intermediate module
50221 #
50222 rm -f master.${D}${D}.o
50223
50224 exit ${D}status
50225 EOF
50226
50227 chmod +x shared-ld-sh
50228
50229 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50230 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50231
50232
50233 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50234 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50235 if test "${bakefile_cv_gcc31+set}" = set; then
50236 echo $ECHO_N "(cached) $ECHO_C" >&6
50237 else
50238
50239 cat >conftest.$ac_ext <<_ACEOF
50240 /* confdefs.h. */
50241 _ACEOF
50242 cat confdefs.h >>conftest.$ac_ext
50243 cat >>conftest.$ac_ext <<_ACEOF
50244 /* end confdefs.h. */
50245
50246 int
50247 main ()
50248 {
50249
50250 #if (__GNUC__ < 3) || \
50251 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50252 This is old gcc
50253 #endif
50254
50255 ;
50256 return 0;
50257 }
50258 _ACEOF
50259 rm -f conftest.$ac_objext
50260 if { (ac_try="$ac_compile"
50261 case "(($ac_try" in
50262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50263 *) ac_try_echo=$ac_try;;
50264 esac
50265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50266 (eval "$ac_compile") 2>conftest.er1
50267 ac_status=$?
50268 grep -v '^ *+' conftest.er1 >conftest.err
50269 rm -f conftest.er1
50270 cat conftest.err >&5
50271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50272 (exit $ac_status); } && {
50273 test -z "$ac_c_werror_flag" ||
50274 test ! -s conftest.err
50275 } && test -s conftest.$ac_objext; then
50276
50277 bakefile_cv_gcc31=yes
50278
50279 else
50280 echo "$as_me: failed program was:" >&5
50281 sed 's/^/| /' conftest.$ac_ext >&5
50282
50283
50284 bakefile_cv_gcc31=no
50285
50286
50287 fi
50288
50289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50290
50291 fi
50292 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50293 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50294 if test "$bakefile_cv_gcc31" = "no"; then
50295 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50296 SHARED_LD_CXX="$SHARED_LD_CC"
50297 else
50298 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50299 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50300 fi
50301
50302 if test "x$GCC" == "xyes"; then
50303 PIC_FLAG="-dynamic -fPIC"
50304 fi
50305 if test "x$XLCC" = "xyes"; then
50306 PIC_FLAG="-dynamic -DPIC"
50307 fi
50308 ;;
50309
50310 *-*-aix* )
50311 if test "x$GCC" = "xyes"; then
50312 PIC_FLAG=""
50313
50314 case "${BAKEFILE_HOST}" in
50315 *-*-aix5* )
50316 LD_EXPFULL="-Wl,-bexpfull"
50317 ;;
50318 esac
50319
50320 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50321 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50322 else
50323 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50324 set dummy makeC++SharedLib; ac_word=$2
50325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50327 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50328 echo $ECHO_N "(cached) $ECHO_C" >&6
50329 else
50330 if test -n "$AIX_CXX_LD"; then
50331 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50332 else
50333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50334 for as_dir in $PATH
50335 do
50336 IFS=$as_save_IFS
50337 test -z "$as_dir" && as_dir=.
50338 for ac_exec_ext in '' $ac_executable_extensions; do
50339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50340 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50342 break 2
50343 fi
50344 done
50345 done
50346 IFS=$as_save_IFS
50347
50348 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50349 fi
50350 fi
50351 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50352 if test -n "$AIX_CXX_LD"; then
50353 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50354 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50355 else
50356 { echo "$as_me:$LINENO: result: no" >&5
50357 echo "${ECHO_T}no" >&6; }
50358 fi
50359
50360
50361 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50362 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50363 fi
50364 ;;
50365
50366 *-*-beos* )
50367 SHARED_LD_CC="${LD} -nostart -o"
50368 SHARED_LD_CXX="${LD} -nostart -o"
50369 ;;
50370
50371 *-*-irix* )
50372 if test "x$GCC" != "xyes"; then
50373 PIC_FLAG="-KPIC"
50374 fi
50375 ;;
50376
50377 *-*-cygwin* | *-*-mingw32* )
50378 PIC_FLAG=""
50379 SHARED_LD_CC="\$(CC) -shared -o"
50380 SHARED_LD_CXX="\$(CXX) -shared -o"
50381 WINDOWS_IMPLIB=1
50382 ;;
50383
50384 *-pc-os2_emx | *-pc-os2-emx )
50385 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50386 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50387 PIC_FLAG=""
50388
50389 D='$'
50390 cat <<EOF >dllar.sh
50391 #!/bin/sh
50392 #
50393 # dllar - a tool to build both a .dll and an .a file
50394 # from a set of object (.o) files for EMX/OS2.
50395 #
50396 # Written by Andrew Zabolotny, bit@freya.etu.ru
50397 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50398 #
50399 # This script will accept a set of files on the command line.
50400 # All the public symbols from the .o files will be exported into
50401 # a .DEF file, then linker will be run (through gcc) against them to
50402 # build a shared library consisting of all given .o files. All libraries
50403 # (.a) will be first decompressed into component .o files then act as
50404 # described above. You can optionally give a description (-d "description")
50405 # which will be put into .DLL. To see the list of accepted options (as well
50406 # as command-line format) simply run this program without options. The .DLL
50407 # is built to be imported by name (there is no guarantee that new versions
50408 # of the library you build will have same ordinals for same symbols).
50409 #
50410 # dllar is free software; you can redistribute it and/or modify
50411 # it under the terms of the GNU General Public License as published by
50412 # the Free Software Foundation; either version 2, or (at your option)
50413 # any later version.
50414 #
50415 # dllar is distributed in the hope that it will be useful,
50416 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50417 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50418 # GNU General Public License for more details.
50419 #
50420 # You should have received a copy of the GNU General Public License
50421 # along with dllar; see the file COPYING. If not, write to the Free
50422 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50423 # 02111-1307, USA.
50424
50425 # To successfuly run this program you will need:
50426 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50427 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50428 # - gcc
50429 # (used to build the .dll)
50430 # - emxexp
50431 # (used to create .def file from .o files)
50432 # - emximp
50433 # (used to create .a file from .def file)
50434 # - GNU text utilites (cat, sort, uniq)
50435 # used to process emxexp output
50436 # - GNU file utilities (mv, rm)
50437 # - GNU sed
50438 # - lxlite (optional, see flag below)
50439 # (used for general .dll cleanup)
50440 #
50441
50442 flag_USE_LXLITE=1;
50443
50444 #
50445 # helper functions
50446 # basnam, variant of basename, which does _not_ remove the path, _iff_
50447 # second argument (suffix to remove) is given
50448 basnam(){
50449 case ${D}# in
50450 1)
50451 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50452 ;;
50453 2)
50454 echo ${D}1 | sed 's/'${D}2'${D}//'
50455 ;;
50456 *)
50457 echo "error in basnam ${D}*"
50458 exit 8
50459 ;;
50460 esac
50461 }
50462
50463 # Cleanup temporary files and output
50464 CleanUp() {
50465 cd ${D}curDir
50466 for i in ${D}inputFiles ; do
50467 case ${D}i in
50468 *!)
50469 rm -rf \`basnam ${D}i !\`
50470 ;;
50471 *)
50472 ;;
50473 esac
50474 done
50475
50476 # Kill result in case of failure as there is just to many stupid make/nmake
50477 # things out there which doesn't do this.
50478 if [ ${D}# -eq 0 ]; then
50479 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50480 fi
50481 }
50482
50483 # Print usage and exit script with rc=1.
50484 PrintHelp() {
50485 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50486 echo ' [-name-mangler-script script.sh]'
50487 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50488 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50489 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50490 echo ' [*.o] [*.a]'
50491 echo '*> "output_file" should have no extension.'
50492 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50493 echo ' The import library name is derived from this and is set to "name".a,'
50494 echo ' unless overridden by -import'
50495 echo '*> "importlib_name" should have no extension.'
50496 echo ' If it has the .o, or .a extension, it is automatically removed.'
50497 echo ' This name is used as the import library name and may be longer and'
50498 echo ' more descriptive than the DLL name which has to follow the old '
50499 echo ' 8.3 convention of FAT.'
50500 echo '*> "script.sh may be given to override the output_file name by a'
50501 echo ' different name. It is mainly useful if the regular make process'
50502 echo ' of some package does not take into account OS/2 restriction of'
50503 echo ' DLL name lengths. It takes the importlib name as input and is'
50504 echo ' supposed to procude a shorter name as output. The script should'
50505 echo ' expect to get importlib_name without extension and should produce'
50506 echo ' a (max.) 8 letter name without extension.'
50507 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50508 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50509 echo ' These flags will be put at the start of GCC command line.'
50510 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50511 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50512 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50513 echo ' If the last character of a symbol is "*", all symbols beginning'
50514 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50515 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50516 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50517 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50518 echo ' C runtime DLLs.'
50519 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50520 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50521 echo ' unchanged to GCC at the end of command line.'
50522 echo '*> If you create a DLL from a library and you do not specify -o,'
50523 echo ' the basename for DLL and import library will be set to library name,'
50524 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50525 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50526 echo ' library will be renamed into gcc_s.a.'
50527 echo '--------'
50528 echo 'Example:'
50529 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50530 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50531 CleanUp
50532 exit 1
50533 }
50534
50535 # Execute a command.
50536 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50537 # @Uses Whatever CleanUp() uses.
50538 doCommand() {
50539 echo "${D}*"
50540 eval ${D}*
50541 rcCmd=${D}?
50542
50543 if [ ${D}rcCmd -ne 0 ]; then
50544 echo "command failed, exit code="${D}rcCmd
50545 CleanUp
50546 exit ${D}rcCmd
50547 fi
50548 }
50549
50550 # main routine
50551 # setup globals
50552 cmdLine=${D}*
50553 outFile=""
50554 outimpFile=""
50555 inputFiles=""
50556 renameScript=""
50557 description=""
50558 CC=gcc.exe
50559 CFLAGS="-s -Zcrtdll"
50560 EXTRA_CFLAGS=""
50561 EXPORT_BY_ORDINALS=0
50562 exclude_symbols=""
50563 library_flags=""
50564 curDir=\`pwd\`
50565 curDirS=curDir
50566 case ${D}curDirS in
50567 */)
50568 ;;
50569 *)
50570 curDirS=${D}{curDirS}"/"
50571 ;;
50572 esac
50573 # Parse commandline
50574 libsToLink=0
50575 omfLinking=0
50576 while [ ${D}1 ]; do
50577 case ${D}1 in
50578 -ord*)
50579 EXPORT_BY_ORDINALS=1;
50580 ;;
50581 -o*)
50582 shift
50583 outFile=${D}1
50584 ;;
50585 -i*)
50586 shift
50587 outimpFile=${D}1
50588 ;;
50589 -name-mangler-script)
50590 shift
50591 renameScript=${D}1
50592 ;;
50593 -d*)
50594 shift
50595 description=${D}1
50596 ;;
50597 -f*)
50598 shift
50599 CFLAGS=${D}1
50600 ;;
50601 -c*)
50602 shift
50603 CC=${D}1
50604 ;;
50605 -h*)
50606 PrintHelp
50607 ;;
50608 -ex*)
50609 shift
50610 exclude_symbols=${D}{exclude_symbols}${D}1" "
50611 ;;
50612 -libf*)
50613 shift
50614 library_flags=${D}{library_flags}${D}1" "
50615 ;;
50616 -nocrt*)
50617 CFLAGS="-s"
50618 ;;
50619 -nolxl*)
50620 flag_USE_LXLITE=0
50621 ;;
50622 -* | /*)
50623 case ${D}1 in
50624 -L* | -l*)
50625 libsToLink=1
50626 ;;
50627 -Zomf)
50628 omfLinking=1
50629 ;;
50630 *)
50631 ;;
50632 esac
50633 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50634 ;;
50635 *.dll)
50636 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50637 if [ ${D}omfLinking -eq 1 ]; then
50638 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50639 else
50640 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50641 fi
50642 ;;
50643 *)
50644 found=0;
50645 if [ ${D}libsToLink -ne 0 ]; then
50646 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50647 else
50648 for file in ${D}1 ; do
50649 if [ -f ${D}file ]; then
50650 inputFiles="${D}{inputFiles} ${D}file"
50651 found=1
50652 fi
50653 done
50654 if [ ${D}found -eq 0 ]; then
50655 echo "ERROR: No file(s) found: "${D}1
50656 exit 8
50657 fi
50658 fi
50659 ;;
50660 esac
50661 shift
50662 done # iterate cmdline words
50663
50664 #
50665 if [ -z "${D}inputFiles" ]; then
50666 echo "dllar: no input files"
50667 PrintHelp
50668 fi
50669
50670 # Now extract all .o files from .a files
50671 newInputFiles=""
50672 for file in ${D}inputFiles ; do
50673 case ${D}file in
50674 *.a | *.lib)
50675 case ${D}file in
50676 *.a)
50677 suffix=".a"
50678 AR="ar"
50679 ;;
50680 *.lib)
50681 suffix=".lib"
50682 AR="emxomfar"
50683 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50684 ;;
50685 *)
50686 ;;
50687 esac
50688 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50689 mkdir ${D}dirname
50690 if [ ${D}? -ne 0 ]; then
50691 echo "Failed to create subdirectory ./${D}dirname"
50692 CleanUp
50693 exit 8;
50694 fi
50695 # Append '!' to indicate archive
50696 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50697 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50698 cd ${D}curDir
50699 found=0;
50700 for subfile in ${D}dirname/*.o* ; do
50701 if [ -f ${D}subfile ]; then
50702 found=1
50703 if [ -s ${D}subfile ]; then
50704 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50705 newInputFiles="${D}newInputFiles ${D}subfile"
50706 fi
50707 fi
50708 done
50709 if [ ${D}found -eq 0 ]; then
50710 echo "WARNING: there are no files in archive \\'${D}file\\'"
50711 fi
50712 ;;
50713 *)
50714 newInputFiles="${D}{newInputFiles} ${D}file"
50715 ;;
50716 esac
50717 done
50718 inputFiles="${D}newInputFiles"
50719
50720 # Output filename(s).
50721 do_backup=0;
50722 if [ -z ${D}outFile ]; then
50723 do_backup=1;
50724 set outFile ${D}inputFiles; outFile=${D}2
50725 fi
50726
50727 # If it is an archive, remove the '!' and the '_%' suffixes
50728 case ${D}outFile in
50729 *_%!)
50730 outFile=\`basnam ${D}outFile _%!\`
50731 ;;
50732 *)
50733 ;;
50734 esac
50735 case ${D}outFile in
50736 *.dll)
50737 outFile=\`basnam ${D}outFile .dll\`
50738 ;;
50739 *.DLL)
50740 outFile=\`basnam ${D}outFile .DLL\`
50741 ;;
50742 *.o)
50743 outFile=\`basnam ${D}outFile .o\`
50744 ;;
50745 *.obj)
50746 outFile=\`basnam ${D}outFile .obj\`
50747 ;;
50748 *.a)
50749 outFile=\`basnam ${D}outFile .a\`
50750 ;;
50751 *.lib)
50752 outFile=\`basnam ${D}outFile .lib\`
50753 ;;
50754 *)
50755 ;;
50756 esac
50757 case ${D}outimpFile in
50758 *.a)
50759 outimpFile=\`basnam ${D}outimpFile .a\`
50760 ;;
50761 *.lib)
50762 outimpFile=\`basnam ${D}outimpFile .lib\`
50763 ;;
50764 *)
50765 ;;
50766 esac
50767 if [ -z ${D}outimpFile ]; then
50768 outimpFile=${D}outFile
50769 fi
50770 defFile="${D}{outFile}.def"
50771 arcFile="${D}{outimpFile}.a"
50772 arcFile2="${D}{outimpFile}.lib"
50773
50774 #create ${D}dllFile as something matching 8.3 restrictions,
50775 if [ -z ${D}renameScript ] ; then
50776 dllFile="${D}outFile"
50777 else
50778 dllFile=\`${D}renameScript ${D}outimpFile\`
50779 fi
50780
50781 if [ ${D}do_backup -ne 0 ] ; then
50782 if [ -f ${D}arcFile ] ; then
50783 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50784 fi
50785 if [ -f ${D}arcFile2 ] ; then
50786 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50787 fi
50788 fi
50789
50790 # Extract public symbols from all the object files.
50791 tmpdefFile=${D}{defFile}_%
50792 rm -f ${D}tmpdefFile
50793 for file in ${D}inputFiles ; do
50794 case ${D}file in
50795 *!)
50796 ;;
50797 *)
50798 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50799 ;;
50800 esac
50801 done
50802
50803 # Create the def file.
50804 rm -f ${D}defFile
50805 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50806 dllFile="${D}{dllFile}.dll"
50807 if [ ! -z ${D}description ]; then
50808 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50809 fi
50810 echo "EXPORTS" >> ${D}defFile
50811
50812 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50813 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50814
50815 # Checks if the export is ok or not.
50816 for word in ${D}exclude_symbols; do
50817 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50818 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50819 done
50820
50821
50822 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50823 sed "=" < ${D}tmpdefFile | \\
50824 sed '
50825 N
50826 : loop
50827 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50828 t loop
50829 ' > ${D}{tmpdefFile}%
50830 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50831 else
50832 rm -f ${D}{tmpdefFile}%
50833 fi
50834 cat ${D}tmpdefFile >> ${D}defFile
50835 rm -f ${D}tmpdefFile
50836
50837 # Do linking, create implib, and apply lxlite.
50838 gccCmdl="";
50839 for file in ${D}inputFiles ; do
50840 case ${D}file in
50841 *!)
50842 ;;
50843 *)
50844 gccCmdl="${D}gccCmdl ${D}file"
50845 ;;
50846 esac
50847 done
50848 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50849 touch "${D}{outFile}.dll"
50850
50851 doCommand "emximp -o ${D}arcFile ${D}defFile"
50852 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50853 add_flags="";
50854 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50855 add_flags="-ynd"
50856 fi
50857 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50858 fi
50859 doCommand "emxomf -s -l ${D}arcFile"
50860
50861 # Successful exit.
50862 CleanUp 1
50863 exit 0
50864 EOF
50865
50866 chmod +x dllar.sh
50867 ;;
50868
50869 powerpc-apple-macos* | \
50870 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50871 *-*-mirbsd* | \
50872 *-*-sunos4* | \
50873 *-*-osf* | \
50874 *-*-dgux5* | \
50875 *-*-sysv5* | \
50876 *-pc-msdosdjgpp )
50877 ;;
50878
50879 *)
50880 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50881 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50882 { (exit 1); exit 1; }; }
50883 esac
50884
50885 if test "x$PIC_FLAG" != "x" ; then
50886 PIC_FLAG="$PIC_FLAG -DPIC"
50887 fi
50888
50889 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50890 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50891 fi
50892 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50893 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50894 fi
50895
50896
50897
50898
50899
50900
50901
50902
50903
50904 USE_SOVERSION=0
50905 USE_SOVERLINUX=0
50906 USE_SOVERSOLARIS=0
50907 USE_SOVERCYGWIN=0
50908 USE_SOSYMLINKS=0
50909 USE_MACVERSION=0
50910 SONAME_FLAG=
50911
50912 case "${BAKEFILE_HOST}" in
50913 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50914 if test "x$SUNCXX" = "xyes"; then
50915 SONAME_FLAG="-h "
50916 else
50917 SONAME_FLAG="-Wl,-soname,"
50918 fi
50919 USE_SOVERSION=1
50920 USE_SOVERLINUX=1
50921 USE_SOSYMLINKS=1
50922 ;;
50923
50924 *-*-solaris2* )
50925 SONAME_FLAG="-h "
50926 USE_SOVERSION=1
50927 USE_SOVERSOLARIS=1
50928 USE_SOSYMLINKS=1
50929 ;;
50930
50931 *-*-darwin* )
50932 USE_MACVERSION=1
50933 USE_SOVERSION=1
50934 USE_SOSYMLINKS=1
50935 ;;
50936
50937 *-*-cygwin* )
50938 USE_SOVERSION=1
50939 USE_SOVERCYGWIN=1
50940 ;;
50941 esac
50942
50943
50944
50945
50946
50947
50948
50949
50950
50951
50952 # Check whether --enable-dependency-tracking was given.
50953 if test "${enable_dependency_tracking+set}" = set; then
50954 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50955 fi
50956
50957
50958 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50959 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50960
50961 BK_DEPS=""
50962 if test "x$bk_use_trackdeps" = "xno" ; then
50963 DEPS_TRACKING=0
50964 { echo "$as_me:$LINENO: result: disabled" >&5
50965 echo "${ECHO_T}disabled" >&6; }
50966 else
50967 DEPS_TRACKING=1
50968
50969 if test "x$GCC" = "xyes"; then
50970 DEPSMODE=gcc
50971 case "${BAKEFILE_HOST}" in
50972 *-*-darwin* )
50973 DEPSFLAG="-no-cpp-precomp -MMD"
50974 ;;
50975 * )
50976 DEPSFLAG="-MMD"
50977 ;;
50978 esac
50979 { echo "$as_me:$LINENO: result: gcc" >&5
50980 echo "${ECHO_T}gcc" >&6; }
50981 elif test "x$MWCC" = "xyes"; then
50982 DEPSMODE=mwcc
50983 DEPSFLAG="-MM"
50984 { echo "$as_me:$LINENO: result: mwcc" >&5
50985 echo "${ECHO_T}mwcc" >&6; }
50986 elif test "x$SUNCC" = "xyes"; then
50987 DEPSMODE=unixcc
50988 DEPSFLAG="-xM1"
50989 { echo "$as_me:$LINENO: result: Sun cc" >&5
50990 echo "${ECHO_T}Sun cc" >&6; }
50991 elif test "x$SGICC" = "xyes"; then
50992 DEPSMODE=unixcc
50993 DEPSFLAG="-M"
50994 { echo "$as_me:$LINENO: result: SGI cc" >&5
50995 echo "${ECHO_T}SGI cc" >&6; }
50996 elif test "x$HPCC" = "xyes"; then
50997 DEPSMODE=unixcc
50998 DEPSFLAG="+make"
50999 { echo "$as_me:$LINENO: result: HP cc" >&5
51000 echo "${ECHO_T}HP cc" >&6; }
51001 elif test "x$COMPAQCC" = "xyes"; then
51002 DEPSMODE=gcc
51003 DEPSFLAG="-MD"
51004 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51005 echo "${ECHO_T}Compaq cc" >&6; }
51006 else
51007 DEPS_TRACKING=0
51008 { echo "$as_me:$LINENO: result: none" >&5
51009 echo "${ECHO_T}none" >&6; }
51010 fi
51011
51012 if test $DEPS_TRACKING = 1 ; then
51013
51014 D='$'
51015 cat <<EOF >bk-deps
51016 #!/bin/sh
51017
51018 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51019 # script. It is used to track C/C++ files dependencies in portable way.
51020 #
51021 # Permission is given to use this file in any way.
51022
51023 DEPSMODE=${DEPSMODE}
51024 DEPSDIR=.deps
51025 DEPSFLAG="${DEPSFLAG}"
51026
51027 mkdir -p ${D}DEPSDIR
51028
51029 if test ${D}DEPSMODE = gcc ; then
51030 ${D}* ${D}{DEPSFLAG}
51031 status=${D}?
51032 if test ${D}{status} != 0 ; then
51033 exit ${D}{status}
51034 fi
51035 # move created file to the location we want it in:
51036 while test ${D}# -gt 0; do
51037 case "${D}1" in
51038 -o )
51039 shift
51040 objfile=${D}1
51041 ;;
51042 -* )
51043 ;;
51044 * )
51045 srcfile=${D}1
51046 ;;
51047 esac
51048 shift
51049 done
51050 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51051 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51052 if test -f ${D}depfile ; then
51053 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51054 rm -f ${D}depfile
51055 else
51056 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51057 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51058 if test ! -f ${D}depfile ; then
51059 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51060 depfile="${D}objfile.d"
51061 fi
51062 if test -f ${D}depfile ; then
51063 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51064 rm -f ${D}depfile
51065 fi
51066 fi
51067 exit 0
51068 elif test ${D}DEPSMODE = mwcc ; then
51069 ${D}* || exit ${D}?
51070 # Run mwcc again with -MM and redirect into the dep file we want
51071 # NOTE: We can't use shift here because we need ${D}* to be valid
51072 prevarg=
51073 for arg in ${D}* ; do
51074 if test "${D}prevarg" = "-o"; then
51075 objfile=${D}arg
51076 else
51077 case "${D}arg" in
51078 -* )
51079 ;;
51080 * )
51081 srcfile=${D}arg
51082 ;;
51083 esac
51084 fi
51085 prevarg="${D}arg"
51086 done
51087 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51088 exit 0
51089 elif test ${D}DEPSMODE = unixcc; then
51090 ${D}* || exit ${D}?
51091 # Run compiler again with deps flag and redirect into the dep file.
51092 # It doesn't work if the '-o FILE' option is used, but without it the
51093 # dependency file will contain the wrong name for the object. So it is
51094 # removed from the command line, and the dep file is fixed with sed.
51095 cmd=""
51096 while test ${D}# -gt 0; do
51097 case "${D}1" in
51098 -o )
51099 shift
51100 objfile=${D}1
51101 ;;
51102 * )
51103 eval arg${D}#=\\${D}1
51104 cmd="${D}cmd \\${D}arg${D}#"
51105 ;;
51106 esac
51107 shift
51108 done
51109 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51110 exit 0
51111 else
51112 ${D}*
51113 exit ${D}?
51114 fi
51115 EOF
51116
51117 chmod +x bk-deps
51118 BK_DEPS="`pwd`/bk-deps"
51119 fi
51120 fi
51121
51122
51123
51124
51125
51126 case ${BAKEFILE_HOST} in
51127 *-*-cygwin* | *-*-mingw32* )
51128 if test -n "$ac_tool_prefix"; then
51129 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51130 set dummy ${ac_tool_prefix}windres; ac_word=$2
51131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51133 if test "${ac_cv_prog_WINDRES+set}" = set; then
51134 echo $ECHO_N "(cached) $ECHO_C" >&6
51135 else
51136 if test -n "$WINDRES"; then
51137 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51138 else
51139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51140 for as_dir in $PATH
51141 do
51142 IFS=$as_save_IFS
51143 test -z "$as_dir" && as_dir=.
51144 for ac_exec_ext in '' $ac_executable_extensions; do
51145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51146 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51148 break 2
51149 fi
51150 done
51151 done
51152 IFS=$as_save_IFS
51153
51154 fi
51155 fi
51156 WINDRES=$ac_cv_prog_WINDRES
51157 if test -n "$WINDRES"; then
51158 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51159 echo "${ECHO_T}$WINDRES" >&6; }
51160 else
51161 { echo "$as_me:$LINENO: result: no" >&5
51162 echo "${ECHO_T}no" >&6; }
51163 fi
51164
51165
51166 fi
51167 if test -z "$ac_cv_prog_WINDRES"; then
51168 ac_ct_WINDRES=$WINDRES
51169 # Extract the first word of "windres", so it can be a program name with args.
51170 set dummy windres; ac_word=$2
51171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51173 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51174 echo $ECHO_N "(cached) $ECHO_C" >&6
51175 else
51176 if test -n "$ac_ct_WINDRES"; then
51177 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51178 else
51179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51180 for as_dir in $PATH
51181 do
51182 IFS=$as_save_IFS
51183 test -z "$as_dir" && as_dir=.
51184 for ac_exec_ext in '' $ac_executable_extensions; do
51185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51186 ac_cv_prog_ac_ct_WINDRES="windres"
51187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51188 break 2
51189 fi
51190 done
51191 done
51192 IFS=$as_save_IFS
51193
51194 fi
51195 fi
51196 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51197 if test -n "$ac_ct_WINDRES"; then
51198 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51199 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51200 else
51201 { echo "$as_me:$LINENO: result: no" >&5
51202 echo "${ECHO_T}no" >&6; }
51203 fi
51204
51205 if test "x$ac_ct_WINDRES" = x; then
51206 WINDRES=""
51207 else
51208 case $cross_compiling:$ac_tool_warned in
51209 yes:)
51210 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51211 whose name does not start with the host triplet. If you think this
51212 configuration is useful to you, please write to autoconf@gnu.org." >&5
51213 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51214 whose name does not start with the host triplet. If you think this
51215 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51216 ac_tool_warned=yes ;;
51217 esac
51218 WINDRES=$ac_ct_WINDRES
51219 fi
51220 else
51221 WINDRES="$ac_cv_prog_WINDRES"
51222 fi
51223
51224 ;;
51225
51226 *-*-darwin* | powerpc-apple-macos* )
51227 # Extract the first word of "Rez", so it can be a program name with args.
51228 set dummy Rez; ac_word=$2
51229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51231 if test "${ac_cv_prog_REZ+set}" = set; then
51232 echo $ECHO_N "(cached) $ECHO_C" >&6
51233 else
51234 if test -n "$REZ"; then
51235 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51236 else
51237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51238 for as_dir in $PATH
51239 do
51240 IFS=$as_save_IFS
51241 test -z "$as_dir" && as_dir=.
51242 for ac_exec_ext in '' $ac_executable_extensions; do
51243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51244 ac_cv_prog_REZ="Rez"
51245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51246 break 2
51247 fi
51248 done
51249 done
51250 IFS=$as_save_IFS
51251
51252 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51253 fi
51254 fi
51255 REZ=$ac_cv_prog_REZ
51256 if test -n "$REZ"; then
51257 { echo "$as_me:$LINENO: result: $REZ" >&5
51258 echo "${ECHO_T}$REZ" >&6; }
51259 else
51260 { echo "$as_me:$LINENO: result: no" >&5
51261 echo "${ECHO_T}no" >&6; }
51262 fi
51263
51264
51265 # Extract the first word of "SetFile", so it can be a program name with args.
51266 set dummy SetFile; ac_word=$2
51267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51269 if test "${ac_cv_prog_SETFILE+set}" = set; then
51270 echo $ECHO_N "(cached) $ECHO_C" >&6
51271 else
51272 if test -n "$SETFILE"; then
51273 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51274 else
51275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51276 for as_dir in $PATH
51277 do
51278 IFS=$as_save_IFS
51279 test -z "$as_dir" && as_dir=.
51280 for ac_exec_ext in '' $ac_executable_extensions; do
51281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51282 ac_cv_prog_SETFILE="SetFile"
51283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51284 break 2
51285 fi
51286 done
51287 done
51288 IFS=$as_save_IFS
51289
51290 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51291 fi
51292 fi
51293 SETFILE=$ac_cv_prog_SETFILE
51294 if test -n "$SETFILE"; then
51295 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51296 echo "${ECHO_T}$SETFILE" >&6; }
51297 else
51298 { echo "$as_me:$LINENO: result: no" >&5
51299 echo "${ECHO_T}no" >&6; }
51300 fi
51301
51302
51303 ;;
51304 esac
51305
51306
51307
51308
51309
51310
51311 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51312
51313
51314 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51315
51316
51317
51318 # Check whether --enable-precomp-headers was given.
51319 if test "${enable_precomp_headers+set}" = set; then
51320 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51321 fi
51322
51323
51324 GCC_PCH=0
51325 ICC_PCH=0
51326 USE_PCH=0
51327 BK_MAKE_PCH=""
51328
51329 case ${BAKEFILE_HOST} in
51330 *-*-cygwin* )
51331 bk_use_pch="no"
51332 ;;
51333 esac
51334
51335 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51336 if test "x$GCC" = "xyes"; then
51337 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51338 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51339 cat >conftest.$ac_ext <<_ACEOF
51340 /* confdefs.h. */
51341 _ACEOF
51342 cat confdefs.h >>conftest.$ac_ext
51343 cat >>conftest.$ac_ext <<_ACEOF
51344 /* end confdefs.h. */
51345
51346 int
51347 main ()
51348 {
51349
51350 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51351 There is no PCH support
51352 #endif
51353 #if (__GNUC__ < 3)
51354 There is no PCH support
51355 #endif
51356 #if (__GNUC__ == 3) && \
51357 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51358 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51359 ( defined(__INTEL_COMPILER) )
51360 There is no PCH support
51361 #endif
51362
51363 ;
51364 return 0;
51365 }
51366 _ACEOF
51367 rm -f conftest.$ac_objext
51368 if { (ac_try="$ac_compile"
51369 case "(($ac_try" in
51370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51371 *) ac_try_echo=$ac_try;;
51372 esac
51373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51374 (eval "$ac_compile") 2>conftest.er1
51375 ac_status=$?
51376 grep -v '^ *+' conftest.er1 >conftest.err
51377 rm -f conftest.er1
51378 cat conftest.err >&5
51379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51380 (exit $ac_status); } && {
51381 test -z "$ac_c_werror_flag" ||
51382 test ! -s conftest.err
51383 } && test -s conftest.$ac_objext; then
51384
51385 { echo "$as_me:$LINENO: result: yes" >&5
51386 echo "${ECHO_T}yes" >&6; }
51387 GCC_PCH=1
51388
51389 else
51390 echo "$as_me: failed program was:" >&5
51391 sed 's/^/| /' conftest.$ac_ext >&5
51392
51393
51394 cat >conftest.$ac_ext <<_ACEOF
51395 /* confdefs.h. */
51396 _ACEOF
51397 cat confdefs.h >>conftest.$ac_ext
51398 cat >>conftest.$ac_ext <<_ACEOF
51399 /* end confdefs.h. */
51400
51401 int
51402 main ()
51403 {
51404
51405 #if !defined(__INTEL_COMPILER) || \
51406 (__INTEL_COMPILER < 800)
51407 There is no PCH support
51408 #endif
51409
51410 ;
51411 return 0;
51412 }
51413 _ACEOF
51414 rm -f conftest.$ac_objext
51415 if { (ac_try="$ac_compile"
51416 case "(($ac_try" in
51417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51418 *) ac_try_echo=$ac_try;;
51419 esac
51420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51421 (eval "$ac_compile") 2>conftest.er1
51422 ac_status=$?
51423 grep -v '^ *+' conftest.er1 >conftest.err
51424 rm -f conftest.er1
51425 cat conftest.err >&5
51426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51427 (exit $ac_status); } && {
51428 test -z "$ac_c_werror_flag" ||
51429 test ! -s conftest.err
51430 } && test -s conftest.$ac_objext; then
51431
51432 { echo "$as_me:$LINENO: result: yes" >&5
51433 echo "${ECHO_T}yes" >&6; }
51434 ICC_PCH=1
51435
51436 else
51437 echo "$as_me: failed program was:" >&5
51438 sed 's/^/| /' conftest.$ac_ext >&5
51439
51440
51441 { echo "$as_me:$LINENO: result: no" >&5
51442 echo "${ECHO_T}no" >&6; }
51443
51444 fi
51445
51446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51447
51448 fi
51449
51450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51451 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51452 USE_PCH=1
51453
51454 D='$'
51455 cat <<EOF >bk-make-pch
51456 #!/bin/sh
51457
51458 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51459 # script. It is used to generated precompiled headers.
51460 #
51461 # Permission is given to use this file in any way.
51462
51463 outfile="${D}{1}"
51464 header="${D}{2}"
51465 shift
51466 shift
51467
51468 compiler=""
51469 headerfile=""
51470
51471 while test ${D}{#} -gt 0; do
51472 add_to_cmdline=1
51473 case "${D}{1}" in
51474 -I* )
51475 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51476 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51477 headerfile="${D}{incdir}/${D}{header}"
51478 fi
51479 ;;
51480 -use-pch|-use_pch )
51481 shift
51482 add_to_cmdline=0
51483 ;;
51484 esac
51485 if test ${D}add_to_cmdline = 1 ; then
51486 compiler="${D}{compiler} ${D}{1}"
51487 fi
51488 shift
51489 done
51490
51491 if test "x${D}{headerfile}" = "x" ; then
51492 echo "error: can't find header ${D}{header} in include paths" >&2
51493 else
51494 if test -f ${D}{outfile} ; then
51495 rm -f ${D}{outfile}
51496 else
51497 mkdir -p \`dirname ${D}{outfile}\`
51498 fi
51499 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51500 mkdir -p .deps
51501 if test "x${GCC_PCH}" = "x1" ; then
51502 # can do this because gcc is >= 3.4:
51503 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51504 elif test "x${ICC_PCH}" = "x1" ; then
51505 filename=pch_gen-${D}${D}
51506 file=${D}{filename}.c
51507 dfile=${D}{filename}.d
51508 cat > ${D}file <<EOT
51509 #include "${D}header"
51510 EOT
51511 # using -MF icc complains about differing command lines in creation/use
51512 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51513 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51514 rm -f ${D}file ${D}dfile ${D}{filename}.o
51515 fi
51516 exit ${D}{?}
51517 fi
51518 EOF
51519
51520 chmod +x bk-make-pch
51521 BK_MAKE_PCH="`pwd`/bk-make-pch"
51522 fi
51523 fi
51524 fi
51525
51526
51527
51528
51529
51530 COND_BUILD_DEBUG="#"
51531 if test "x$BUILD" = "xdebug" ; then
51532 COND_BUILD_DEBUG=""
51533 fi
51534
51535 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51536 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51537 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51538 fi
51539
51540 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51541 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51542 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51543 fi
51544
51545 COND_BUILD_DEBUG_UNICODE_0="#"
51546 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51547 COND_BUILD_DEBUG_UNICODE_0=""
51548 fi
51549
51550 COND_BUILD_DEBUG_UNICODE_1="#"
51551 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51552 COND_BUILD_DEBUG_UNICODE_1=""
51553 fi
51554
51555 COND_BUILD_RELEASE="#"
51556 if test "x$BUILD" = "xrelease" ; then
51557 COND_BUILD_RELEASE=""
51558 fi
51559
51560 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51561 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51562 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51563 fi
51564
51565 COND_BUILD_RELEASE_UNICODE_0="#"
51566 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51567 COND_BUILD_RELEASE_UNICODE_0=""
51568 fi
51569
51570 COND_BUILD_RELEASE_UNICODE_1="#"
51571 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51572 COND_BUILD_RELEASE_UNICODE_1=""
51573 fi
51574
51575 COND_DEBUG_FLAG_1="#"
51576 if test "x$DEBUG_FLAG" = "x1" ; then
51577 COND_DEBUG_FLAG_1=""
51578 fi
51579
51580 COND_DEBUG_INFO_0="#"
51581 if test "x$DEBUG_INFO" = "x0" ; then
51582 COND_DEBUG_INFO_0=""
51583 fi
51584
51585 COND_DEBUG_INFO_1="#"
51586 if test "x$DEBUG_INFO" = "x1" ; then
51587 COND_DEBUG_INFO_1=""
51588 fi
51589
51590 COND_DEPS_TRACKING_0="#"
51591 if test "x$DEPS_TRACKING" = "x0" ; then
51592 COND_DEPS_TRACKING_0=""
51593 fi
51594
51595 COND_DEPS_TRACKING_1="#"
51596 if test "x$DEPS_TRACKING" = "x1" ; then
51597 COND_DEPS_TRACKING_1=""
51598 fi
51599
51600 COND_GCC_PCH_1="#"
51601 if test "x$GCC_PCH" = "x1" ; then
51602 COND_GCC_PCH_1=""
51603 fi
51604
51605 COND_ICC_PCH_1="#"
51606 if test "x$ICC_PCH" = "x1" ; then
51607 COND_ICC_PCH_1=""
51608 fi
51609
51610 COND_MONOLITHIC_0="#"
51611 if test "x$MONOLITHIC" = "x0" ; then
51612 COND_MONOLITHIC_0=""
51613 fi
51614
51615 COND_MONOLITHIC_0_SHARED_0="#"
51616 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51617 COND_MONOLITHIC_0_SHARED_0=""
51618 fi
51619
51620 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51621 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51622 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51623 fi
51624
51625 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51626 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51627 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51628 fi
51629
51630 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51631 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51632 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51633 fi
51634
51635 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51636 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51637 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51638 fi
51639
51640 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51641 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51642 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51643 fi
51644
51645 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51646 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51647 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51648 fi
51649
51650 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51652 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51653 fi
51654
51655 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51657 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51658 fi
51659
51660 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51662 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51663 fi
51664
51665 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51667 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51668 fi
51669
51670 COND_MONOLITHIC_0_SHARED_1="#"
51671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51672 COND_MONOLITHIC_0_SHARED_1=""
51673 fi
51674
51675 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51677 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51678 fi
51679
51680 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51682 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51683 fi
51684
51685 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51687 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51688 fi
51689
51690 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51692 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51693 fi
51694
51695 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51697 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51698 fi
51699
51700 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51702 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51703 fi
51704
51705 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51707 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51708 fi
51709
51710 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51712 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51713 fi
51714
51715 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51717 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51718 fi
51719
51720 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51722 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51723 fi
51724
51725 COND_MONOLITHIC_0_USE_AUI_1="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51727 COND_MONOLITHIC_0_USE_AUI_1=""
51728 fi
51729
51730 COND_MONOLITHIC_0_USE_GUI_1="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51732 COND_MONOLITHIC_0_USE_GUI_1=""
51733 fi
51734
51735 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51737 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51738 fi
51739
51740 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51742 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51743 fi
51744
51745 COND_MONOLITHIC_0_USE_HTML_1="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51747 COND_MONOLITHIC_0_USE_HTML_1=""
51748 fi
51749
51750 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51752 COND_MONOLITHIC_0_USE_MEDIA_1=""
51753 fi
51754
51755 COND_MONOLITHIC_0_USE_ODBC_1="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51757 COND_MONOLITHIC_0_USE_ODBC_1=""
51758 fi
51759
51760 COND_MONOLITHIC_0_USE_QA_1="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51762 COND_MONOLITHIC_0_USE_QA_1=""
51763 fi
51764
51765 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51767 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51768 fi
51769
51770 COND_MONOLITHIC_0_USE_STC_1="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51772 COND_MONOLITHIC_0_USE_STC_1=""
51773 fi
51774
51775 COND_MONOLITHIC_0_USE_XRC_1="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51777 COND_MONOLITHIC_0_USE_XRC_1=""
51778 fi
51779
51780 COND_MONOLITHIC_1="#"
51781 if test "x$MONOLITHIC" = "x1" ; then
51782 COND_MONOLITHIC_1=""
51783 fi
51784
51785 COND_MONOLITHIC_1_SHARED_0="#"
51786 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51787 COND_MONOLITHIC_1_SHARED_0=""
51788 fi
51789
51790 COND_MONOLITHIC_1_SHARED_1="#"
51791 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51792 COND_MONOLITHIC_1_SHARED_1=""
51793 fi
51794
51795 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51796 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51797 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51798 fi
51799
51800 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51801 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51802 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51803 fi
51804
51805 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51806 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51807 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51808 fi
51809
51810 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51811 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51812 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51813 fi
51814
51815 COND_PLATFORM_MACOSX_1="#"
51816 if test "x$PLATFORM_MACOSX" = "x1" ; then
51817 COND_PLATFORM_MACOSX_1=""
51818 fi
51819
51820 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51821 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51822 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51823 fi
51824
51825 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51826 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51827 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51828 fi
51829
51830 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51831 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51832 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51833 fi
51834
51835 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51836 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51837 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51838 fi
51839
51840 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51841 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51842 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51843 fi
51844
51845 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51846 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51847 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51848 fi
51849
51850 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51851 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51852 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51853 fi
51854
51855 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51856 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51857 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51858 fi
51859
51860 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51861 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51862 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51863 fi
51864
51865 COND_PLATFORM_MACOS_1="#"
51866 if test "x$PLATFORM_MACOS" = "x1" ; then
51867 COND_PLATFORM_MACOS_1=""
51868 fi
51869
51870 COND_PLATFORM_MAC_1="#"
51871 if test "x$PLATFORM_MAC" = "x1" ; then
51872 COND_PLATFORM_MAC_1=""
51873 fi
51874
51875 COND_PLATFORM_MSDOS_0="#"
51876 if test "x$PLATFORM_MSDOS" = "x0" ; then
51877 COND_PLATFORM_MSDOS_0=""
51878 fi
51879
51880 COND_PLATFORM_MSDOS_1="#"
51881 if test "x$PLATFORM_MSDOS" = "x1" ; then
51882 COND_PLATFORM_MSDOS_1=""
51883 fi
51884
51885 COND_PLATFORM_OS2_1="#"
51886 if test "x$PLATFORM_OS2" = "x1" ; then
51887 COND_PLATFORM_OS2_1=""
51888 fi
51889
51890 COND_PLATFORM_UNIX_0="#"
51891 if test "x$PLATFORM_UNIX" = "x0" ; then
51892 COND_PLATFORM_UNIX_0=""
51893 fi
51894
51895 COND_PLATFORM_UNIX_1="#"
51896 if test "x$PLATFORM_UNIX" = "x1" ; then
51897 COND_PLATFORM_UNIX_1=""
51898 fi
51899
51900 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51901 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51903 fi
51904
51905 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51906 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51908 fi
51909
51910 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51911 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51912 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51913 fi
51914
51915 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51916 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51917 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51918 fi
51919
51920 COND_PLATFORM_WIN32_0="#"
51921 if test "x$PLATFORM_WIN32" = "x0" ; then
51922 COND_PLATFORM_WIN32_0=""
51923 fi
51924
51925 COND_PLATFORM_WIN32_1="#"
51926 if test "x$PLATFORM_WIN32" = "x1" ; then
51927 COND_PLATFORM_WIN32_1=""
51928 fi
51929
51930 COND_SHARED_0="#"
51931 if test "x$SHARED" = "x0" ; then
51932 COND_SHARED_0=""
51933 fi
51934
51935 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51936 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51937 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51938 fi
51939
51940 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51941 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51942 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51943 fi
51944
51945 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51946 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51947 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51948 fi
51949
51950 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51951 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51952 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51953 fi
51954
51955 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51956 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51957 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51958 fi
51959
51960 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51961 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51962 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51963 fi
51964
51965 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51966 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51967 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51968 fi
51969
51970 COND_SHARED_0_USE_STC_1="#"
51971 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51972 COND_SHARED_0_USE_STC_1=""
51973 fi
51974
51975 COND_SHARED_0_USE_XRC_1="#"
51976 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51977 COND_SHARED_0_USE_XRC_1=""
51978 fi
51979
51980 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51981 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51982 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51983 fi
51984
51985 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
51986 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51987 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
51988 fi
51989
51990 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51991 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51992 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51993 fi
51994
51995 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51996 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51997 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51998 fi
51999
52000 COND_SHARED_1="#"
52001 if test "x$SHARED" = "x1" ; then
52002 COND_SHARED_1=""
52003 fi
52004
52005 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52006 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52007 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52008 fi
52009
52010 COND_SHARED_1_USE_XRC_1="#"
52011 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52012 COND_SHARED_1_USE_XRC_1=""
52013 fi
52014
52015 COND_TOOLKIT_="#"
52016 if test "x$TOOLKIT" = "x" ; then
52017 COND_TOOLKIT_=""
52018 fi
52019
52020 COND_TOOLKIT_COCOA="#"
52021 if test "x$TOOLKIT" = "xCOCOA" ; then
52022 COND_TOOLKIT_COCOA=""
52023 fi
52024
52025 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52026 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52027 COND_TOOLKIT_COCOA_USE_GUI_1=""
52028 fi
52029
52030 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52031 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52032 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52033 fi
52034
52035 COND_TOOLKIT_DFB="#"
52036 if test "x$TOOLKIT" = "xDFB" ; then
52037 COND_TOOLKIT_DFB=""
52038 fi
52039
52040 COND_TOOLKIT_DFB_USE_GUI_1="#"
52041 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52042 COND_TOOLKIT_DFB_USE_GUI_1=""
52043 fi
52044
52045 COND_TOOLKIT_GTK="#"
52046 if test "x$TOOLKIT" = "xGTK" ; then
52047 COND_TOOLKIT_GTK=""
52048 fi
52049
52050 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52051 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52052 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52053 fi
52054
52055 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52056 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52057 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52058 fi
52059
52060 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52061 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52063 fi
52064
52065 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52066 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52067 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52068 fi
52069
52070 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52071 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52072 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52073 fi
52074
52075 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52076 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52077 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52078 fi
52079
52080 COND_TOOLKIT_GTK_USE_GUI_1="#"
52081 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52082 COND_TOOLKIT_GTK_USE_GUI_1=""
52083 fi
52084
52085 COND_TOOLKIT_MAC="#"
52086 if test "x$TOOLKIT" = "xMAC" ; then
52087 COND_TOOLKIT_MAC=""
52088 fi
52089
52090 COND_TOOLKIT_MAC_USE_GUI_1="#"
52091 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52092 COND_TOOLKIT_MAC_USE_GUI_1=""
52093 fi
52094
52095 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52096 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52097 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52098 fi
52099
52100 COND_TOOLKIT_MGL="#"
52101 if test "x$TOOLKIT" = "xMGL" ; then
52102 COND_TOOLKIT_MGL=""
52103 fi
52104
52105 COND_TOOLKIT_MGL_USE_GUI_1="#"
52106 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52107 COND_TOOLKIT_MGL_USE_GUI_1=""
52108 fi
52109
52110 COND_TOOLKIT_MOTIF="#"
52111 if test "x$TOOLKIT" = "xMOTIF" ; then
52112 COND_TOOLKIT_MOTIF=""
52113 fi
52114
52115 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52116 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52117 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52118 fi
52119
52120 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52121 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52122 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52123 fi
52124
52125 COND_TOOLKIT_MSW="#"
52126 if test "x$TOOLKIT" = "xMSW" ; then
52127 COND_TOOLKIT_MSW=""
52128 fi
52129
52130 COND_TOOLKIT_MSW_USE_GUI_1="#"
52131 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52132 COND_TOOLKIT_MSW_USE_GUI_1=""
52133 fi
52134
52135 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52136 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52137 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52138 fi
52139
52140 COND_TOOLKIT_MSW_WXUNIV_0="#"
52141 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52142 COND_TOOLKIT_MSW_WXUNIV_0=""
52143 fi
52144
52145 COND_TOOLKIT_PM="#"
52146 if test "x$TOOLKIT" = "xPM" ; then
52147 COND_TOOLKIT_PM=""
52148 fi
52149
52150 COND_TOOLKIT_PM_USE_GUI_1="#"
52151 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52152 COND_TOOLKIT_PM_USE_GUI_1=""
52153 fi
52154
52155 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52156 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52157 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52158 fi
52159
52160 COND_TOOLKIT_WINCE="#"
52161 if test "x$TOOLKIT" = "xWINCE" ; then
52162 COND_TOOLKIT_WINCE=""
52163 fi
52164
52165 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52166 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52167 COND_TOOLKIT_WINCE_USE_GUI_1=""
52168 fi
52169
52170 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52171 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52172 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52173 fi
52174
52175 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52176 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52177 COND_TOOLKIT_WINCE_WXUNIV_0=""
52178 fi
52179
52180 COND_TOOLKIT_X11="#"
52181 if test "x$TOOLKIT" = "xX11" ; then
52182 COND_TOOLKIT_X11=""
52183 fi
52184
52185 COND_TOOLKIT_X11_USE_GUI_1="#"
52186 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52187 COND_TOOLKIT_X11_USE_GUI_1=""
52188 fi
52189
52190 COND_UNICODE_1="#"
52191 if test "x$UNICODE" = "x1" ; then
52192 COND_UNICODE_1=""
52193 fi
52194
52195 COND_USE_EXCEPTIONS_0="#"
52196 if test "x$USE_EXCEPTIONS" = "x0" ; then
52197 COND_USE_EXCEPTIONS_0=""
52198 fi
52199
52200 COND_USE_EXCEPTIONS_1="#"
52201 if test "x$USE_EXCEPTIONS" = "x1" ; then
52202 COND_USE_EXCEPTIONS_1=""
52203 fi
52204
52205 COND_USE_GUI_0="#"
52206 if test "x$USE_GUI" = "x0" ; then
52207 COND_USE_GUI_0=""
52208 fi
52209
52210 COND_USE_GUI_1="#"
52211 if test "x$USE_GUI" = "x1" ; then
52212 COND_USE_GUI_1=""
52213 fi
52214
52215 COND_USE_GUI_1_USE_OPENGL_1="#"
52216 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52217 COND_USE_GUI_1_USE_OPENGL_1=""
52218 fi
52219
52220 COND_USE_GUI_1_WXUNIV_0="#"
52221 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52222 COND_USE_GUI_1_WXUNIV_0=""
52223 fi
52224
52225 COND_USE_GUI_1_WXUNIV_1="#"
52226 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52227 COND_USE_GUI_1_WXUNIV_1=""
52228 fi
52229
52230 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52231 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52232 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52233 fi
52234
52235 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52236 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52237 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52238 fi
52239
52240 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52241 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52242 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52243 fi
52244
52245 COND_USE_ODBC_1="#"
52246 if test "x$USE_ODBC" = "x1" ; then
52247 COND_USE_ODBC_1=""
52248 fi
52249
52250 COND_USE_OPENGL_1="#"
52251 if test "x$USE_OPENGL" = "x1" ; then
52252 COND_USE_OPENGL_1=""
52253 fi
52254
52255 COND_USE_PCH_1="#"
52256 if test "x$USE_PCH" = "x1" ; then
52257 COND_USE_PCH_1=""
52258 fi
52259
52260 COND_USE_PLUGINS_0="#"
52261 if test "x$USE_PLUGINS" = "x0" ; then
52262 COND_USE_PLUGINS_0=""
52263 fi
52264
52265 COND_USE_RTTI_0="#"
52266 if test "x$USE_RTTI" = "x0" ; then
52267 COND_USE_RTTI_0=""
52268 fi
52269
52270 COND_USE_RTTI_1="#"
52271 if test "x$USE_RTTI" = "x1" ; then
52272 COND_USE_RTTI_1=""
52273 fi
52274
52275 COND_USE_SOSYMLINKS_1="#"
52276 if test "x$USE_SOSYMLINKS" = "x1" ; then
52277 COND_USE_SOSYMLINKS_1=""
52278 fi
52279
52280 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52281 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52282 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52283 fi
52284
52285 COND_USE_SOVERLINUX_1="#"
52286 if test "x$USE_SOVERLINUX" = "x1" ; then
52287 COND_USE_SOVERLINUX_1=""
52288 fi
52289
52290 COND_USE_SOVERSION_0="#"
52291 if test "x$USE_SOVERSION" = "x0" ; then
52292 COND_USE_SOVERSION_0=""
52293 fi
52294
52295 COND_USE_SOVERSOLARIS_1="#"
52296 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52297 COND_USE_SOVERSOLARIS_1=""
52298 fi
52299
52300 COND_USE_STC_1="#"
52301 if test "x$USE_STC" = "x1" ; then
52302 COND_USE_STC_1=""
52303 fi
52304
52305 COND_USE_THREADS_0="#"
52306 if test "x$USE_THREADS" = "x0" ; then
52307 COND_USE_THREADS_0=""
52308 fi
52309
52310 COND_USE_THREADS_1="#"
52311 if test "x$USE_THREADS" = "x1" ; then
52312 COND_USE_THREADS_1=""
52313 fi
52314
52315 COND_USE_XRC_1="#"
52316 if test "x$USE_XRC" = "x1" ; then
52317 COND_USE_XRC_1=""
52318 fi
52319
52320 COND_WINDOWS_IMPLIB_1="#"
52321 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52322 COND_WINDOWS_IMPLIB_1=""
52323 fi
52324
52325 COND_WITH_PLUGIN_SDL_1="#"
52326 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52327 COND_WITH_PLUGIN_SDL_1=""
52328 fi
52329
52330 COND_WXUNIV_0="#"
52331 if test "x$WXUNIV" = "x0" ; then
52332 COND_WXUNIV_0=""
52333 fi
52334
52335 COND_WXUNIV_1="#"
52336 if test "x$WXUNIV" = "x1" ; then
52337 COND_WXUNIV_1=""
52338 fi
52339
52340 COND_WXUSE_EXPAT_BUILTIN="#"
52341 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52342 COND_WXUSE_EXPAT_BUILTIN=""
52343 fi
52344
52345 COND_WXUSE_LIBJPEG_BUILTIN="#"
52346 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52347 COND_WXUSE_LIBJPEG_BUILTIN=""
52348 fi
52349
52350 COND_WXUSE_LIBPNG_BUILTIN="#"
52351 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52352 COND_WXUSE_LIBPNG_BUILTIN=""
52353 fi
52354
52355 COND_WXUSE_LIBTIFF_BUILTIN="#"
52356 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52357 COND_WXUSE_LIBTIFF_BUILTIN=""
52358 fi
52359
52360 COND_WXUSE_ODBC_BUILTIN="#"
52361 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52362 COND_WXUSE_ODBC_BUILTIN=""
52363 fi
52364
52365 COND_WXUSE_REGEX_BUILTIN="#"
52366 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52367 COND_WXUSE_REGEX_BUILTIN=""
52368 fi
52369
52370 COND_WXUSE_ZLIB_BUILTIN="#"
52371 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52372 COND_WXUSE_ZLIB_BUILTIN=""
52373 fi
52374
52375
52376
52377 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52378 { { 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
52379 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;}
52380 { (exit 1); exit 1; }; }
52381 fi
52382
52383 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52384 { { 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
52385 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;}
52386 { (exit 1); exit 1; }; }
52387 fi
52388
52389
52390 if test $GCC_PCH = 1
52391 then
52392 if test "$wx_cv_gcc_pch_bug" = yes; then
52393 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52394 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52395 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52396 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52397 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52398 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52399 fi
52400
52401 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52402 fi
52403
52404
52405 if test "$wxUSE_MAC" = 1 ; then
52406 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52407 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52408 mv temp bk-deps
52409 chmod +x bk-deps
52410 fi
52411 fi
52412
52413 if test "$wxUSE_SHARED" = "yes"; then
52414
52415 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52416 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52417
52418 case "${host}" in
52419 *-pc-os2_emx | *-pc-os2-emx )
52420 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52421 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52422 cp -p ${srcdir}/src/os2/dllnames.sh .
52423 cp -p ${srcdir}/src/os2/dllar.sh .
52424 ;;
52425 esac
52426 else
52427
52428 EXE_LINKER="$CXX -o"
52429
52430 fi
52431 if test "$wxUSE_OMF" = "yes"; then
52432 case "${host}" in
52433 *-pc-os2_emx | *-pc-os2-emx )
52434 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52435 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52436 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52437 ;;
52438 esac
52439 fi
52440
52441 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52442
52443
52444 case "${host}" in
52445 *-*-solaris2* )
52446 if "$GCC" = yes; then
52447 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52448 LIBS=`echo $LIBS | sed 's/-mt//'`
52449 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52450 fi
52451 ;;
52452
52453 *-*-linux* )
52454 if test "x$SUNCXX" = xyes; then
52455 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52456 LIBS=`echo $LIBS | sed 's/-pthread//'`
52457 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52458 fi
52459 ;;
52460 esac
52461
52462 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52463 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52464
52465 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52466
52467
52468
52469
52470
52471
52472
52473
52474
52475
52476
52477
52478
52479
52480
52481
52482
52483
52484
52485
52486
52487
52488
52489
52490
52491
52492
52493
52494
52495
52496
52497
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52528 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52529 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52530 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52531 echo $ECHO_N "(cached) $ECHO_C" >&6
52532 else
52533 cat >conftest.make <<\_ACEOF
52534 SHELL = /bin/sh
52535 all:
52536 @echo '@@@%%%=$(MAKE)=@@@%%%'
52537 _ACEOF
52538 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52539 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52540 *@@@%%%=?*=@@@%%%*)
52541 eval ac_cv_prog_make_${ac_make}_set=yes;;
52542 *)
52543 eval ac_cv_prog_make_${ac_make}_set=no;;
52544 esac
52545 rm -f conftest.make
52546 fi
52547 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52548 { echo "$as_me:$LINENO: result: yes" >&5
52549 echo "${ECHO_T}yes" >&6; }
52550 SET_MAKE=
52551 else
52552 { echo "$as_me:$LINENO: result: no" >&5
52553 echo "${ECHO_T}no" >&6; }
52554 SET_MAKE="MAKE=${MAKE-make}"
52555 fi
52556
52557
52558
52559 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52560
52561
52562 if test "$USE_WIN32" = 1; then
52563 ac_config_commands="$ac_config_commands
52564 rcdefs.h
52565 "
52566
52567 fi
52568
52569 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52570
52571
52572 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52573
52574
52575 if test "$wx_cv_version_script" = "yes"; then
52576 ac_config_files="$ac_config_files version-script"
52577
52578 fi
52579 ac_config_files="$ac_config_files Makefile"
52580
52581
52582 ac_config_commands="$ac_config_commands wx-config"
52583
52584
52585
52586 if test "$wxWITH_SUBDIRS" != "no"; then
52587 if test "$wxUSE_GUI" = "yes"; then
52588 SUBDIRS="samples demos utils"
52589 else SUBDIRS="samples utils"
52590 fi
52591
52592
52593
52594 # Check whether --with-cppunit-prefix was given.
52595 if test "${with_cppunit_prefix+set}" = set; then
52596 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52597 else
52598 cppunit_config_prefix=""
52599 fi
52600
52601
52602 # Check whether --with-cppunit-exec-prefix was given.
52603 if test "${with_cppunit_exec_prefix+set}" = set; then
52604 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52605 else
52606 cppunit_config_exec_prefix=""
52607 fi
52608
52609
52610 if test x$cppunit_config_exec_prefix != x ; then
52611 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52612 if test x${CPPUNIT_CONFIG+set} != xset ; then
52613 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52614 fi
52615 fi
52616 if test x$cppunit_config_prefix != x ; then
52617 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52618 if test x${CPPUNIT_CONFIG+set} != xset ; then
52619 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52620 fi
52621 fi
52622
52623 # Extract the first word of "cppunit-config", so it can be a program name with args.
52624 set dummy cppunit-config; ac_word=$2
52625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52627 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52628 echo $ECHO_N "(cached) $ECHO_C" >&6
52629 else
52630 case $CPPUNIT_CONFIG in
52631 [\\/]* | ?:[\\/]*)
52632 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52633 ;;
52634 *)
52635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52636 for as_dir in $PATH
52637 do
52638 IFS=$as_save_IFS
52639 test -z "$as_dir" && as_dir=.
52640 for ac_exec_ext in '' $ac_executable_extensions; do
52641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52642 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52644 break 2
52645 fi
52646 done
52647 done
52648 IFS=$as_save_IFS
52649
52650 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52651 ;;
52652 esac
52653 fi
52654 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52655 if test -n "$CPPUNIT_CONFIG"; then
52656 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52657 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52658 else
52659 { echo "$as_me:$LINENO: result: no" >&5
52660 echo "${ECHO_T}no" >&6; }
52661 fi
52662
52663
52664 cppunit_version_min=1.8.0
52665
52666 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52667 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52668 no_cppunit=""
52669 if test "$CPPUNIT_CONFIG" = "no" ; then
52670 { echo "$as_me:$LINENO: result: no" >&5
52671 echo "${ECHO_T}no" >&6; }
52672 no_cppunit=yes
52673 else
52674 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52675 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52676 cppunit_version=`$CPPUNIT_CONFIG --version`
52677
52678 cppunit_major_version=`echo $cppunit_version | \
52679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52680 cppunit_minor_version=`echo $cppunit_version | \
52681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52682 cppunit_micro_version=`echo $cppunit_version | \
52683 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52684
52685 cppunit_major_min=`echo $cppunit_version_min | \
52686 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52687 cppunit_minor_min=`echo $cppunit_version_min | \
52688 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52689 cppunit_micro_min=`echo $cppunit_version_min | \
52690 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52691
52692 cppunit_version_proper=`expr \
52693 $cppunit_major_version \> $cppunit_major_min \| \
52694 $cppunit_major_version \= $cppunit_major_min \& \
52695 $cppunit_minor_version \> $cppunit_minor_min \| \
52696 $cppunit_major_version \= $cppunit_major_min \& \
52697 $cppunit_minor_version \= $cppunit_minor_min \& \
52698 $cppunit_micro_version \>= $cppunit_micro_min `
52699
52700 if test "$cppunit_version_proper" = "1" ; then
52701 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52702 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52703 else
52704 { echo "$as_me:$LINENO: result: no" >&5
52705 echo "${ECHO_T}no" >&6; }
52706 no_cppunit=yes
52707 fi
52708 fi
52709
52710 if test "x$no_cppunit" = x ; then
52711 SUBDIRS="$SUBDIRS tests"
52712 else
52713 CPPUNIT_CFLAGS=""
52714 CPPUNIT_LIBS=""
52715 :
52716 fi
52717
52718
52719
52720
52721
52722 for subdir in `echo $SUBDIRS`; do
52723 if test -d ${srcdir}/${subdir} ; then
52724 if test "$wxUSE_GUI" = "yes"; then
52725 if test ${subdir} = "samples"; then
52726 makefiles="samples/Makefile.in $makefiles"
52727 for sample in `echo $SAMPLES_SUBDIRS`; do
52728 if test -d $srcdir/samples/$sample; then
52729 makefiles="samples/$sample/Makefile.in $makefiles"
52730 fi
52731 done
52732 else
52733 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52734 eval "disabled=\$$disabled_var"
52735 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52736 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52737 fi
52738 else if test ${subdir} = "samples"; then
52739 makefiles="samples/Makefile.in samples/console/Makefile.in"
52740 elif test ${subdir} = "utils"; then
52741 makefiles=""
52742 for util in HelpGen tex2rtf ; do
52743 if test -d $srcdir/utils/$util ; then
52744 makefiles="utils/$util/Makefile.in \
52745 utils/$util/src/Makefile.in \
52746 $makefiles"
52747 fi
52748 done
52749 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52750 fi
52751 fi
52752
52753 for mkin in $makefiles ; do
52754 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52755 ac_config_files="$ac_config_files $mk"
52756
52757 done
52758 fi
52759 done
52760 fi
52761 cat >confcache <<\_ACEOF
52762 # This file is a shell script that caches the results of configure
52763 # tests run on this system so they can be shared between configure
52764 # scripts and configure runs, see configure's option --config-cache.
52765 # It is not useful on other systems. If it contains results you don't
52766 # want to keep, you may remove or edit it.
52767 #
52768 # config.status only pays attention to the cache file if you give it
52769 # the --recheck option to rerun configure.
52770 #
52771 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52772 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52773 # following values.
52774
52775 _ACEOF
52776
52777 # The following way of writing the cache mishandles newlines in values,
52778 # but we know of no workaround that is simple, portable, and efficient.
52779 # So, we kill variables containing newlines.
52780 # Ultrix sh set writes to stderr and can't be redirected directly,
52781 # and sets the high bit in the cache file unless we assign to the vars.
52782 (
52783 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52784 eval ac_val=\$$ac_var
52785 case $ac_val in #(
52786 *${as_nl}*)
52787 case $ac_var in #(
52788 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52789 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52790 esac
52791 case $ac_var in #(
52792 _ | IFS | as_nl) ;; #(
52793 *) $as_unset $ac_var ;;
52794 esac ;;
52795 esac
52796 done
52797
52798 (set) 2>&1 |
52799 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52800 *${as_nl}ac_space=\ *)
52801 # `set' does not quote correctly, so add quotes (double-quote
52802 # substitution turns \\\\ into \\, and sed turns \\ into \).
52803 sed -n \
52804 "s/'/'\\\\''/g;
52805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52806 ;; #(
52807 *)
52808 # `set' quotes correctly as required by POSIX, so do not add quotes.
52809 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52810 ;;
52811 esac |
52812 sort
52813 ) |
52814 sed '
52815 /^ac_cv_env_/b end
52816 t clear
52817 :clear
52818 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52819 t end
52820 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52821 :end' >>confcache
52822 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52823 if test -w "$cache_file"; then
52824 test "x$cache_file" != "x/dev/null" &&
52825 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52826 echo "$as_me: updating cache $cache_file" >&6;}
52827 cat confcache >$cache_file
52828 else
52829 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52830 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52831 fi
52832 fi
52833 rm -f confcache
52834
52835 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52836 # Let make expand exec_prefix.
52837 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52838
52839 DEFS=-DHAVE_CONFIG_H
52840
52841 ac_libobjs=
52842 ac_ltlibobjs=
52843 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52844 # 1. Remove the extension, and $U if already installed.
52845 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52846 ac_i=`echo "$ac_i" | sed "$ac_script"`
52847 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52848 # will be set to the directory where LIBOBJS objects are built.
52849 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52850 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52851 done
52852 LIBOBJS=$ac_libobjs
52853
52854 LTLIBOBJS=$ac_ltlibobjs
52855
52856
52857
52858 : ${CONFIG_STATUS=./config.status}
52859 ac_clean_files_save=$ac_clean_files
52860 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52861 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52862 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52863 cat >$CONFIG_STATUS <<_ACEOF
52864 #! $SHELL
52865 # Generated by $as_me.
52866 # Run this file to recreate the current configuration.
52867 # Compiler output produced by configure, useful for debugging
52868 # configure, is in config.log if it exists.
52869
52870 debug=false
52871 ac_cs_recheck=false
52872 ac_cs_silent=false
52873 SHELL=\${CONFIG_SHELL-$SHELL}
52874 _ACEOF
52875
52876 cat >>$CONFIG_STATUS <<\_ACEOF
52877 ## --------------------- ##
52878 ## M4sh Initialization. ##
52879 ## --------------------- ##
52880
52881 # Be more Bourne compatible
52882 DUALCASE=1; export DUALCASE # for MKS sh
52883 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52884 emulate sh
52885 NULLCMD=:
52886 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52887 # is contrary to our usage. Disable this feature.
52888 alias -g '${1+"$@"}'='"$@"'
52889 setopt NO_GLOB_SUBST
52890 else
52891 case `(set -o) 2>/dev/null` in
52892 *posix*) set -o posix ;;
52893 esac
52894
52895 fi
52896
52897
52898
52899
52900 # PATH needs CR
52901 # Avoid depending upon Character Ranges.
52902 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52903 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52904 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52905 as_cr_digits='0123456789'
52906 as_cr_alnum=$as_cr_Letters$as_cr_digits
52907
52908 # The user is always right.
52909 if test "${PATH_SEPARATOR+set}" != set; then
52910 echo "#! /bin/sh" >conf$$.sh
52911 echo "exit 0" >>conf$$.sh
52912 chmod +x conf$$.sh
52913 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52914 PATH_SEPARATOR=';'
52915 else
52916 PATH_SEPARATOR=:
52917 fi
52918 rm -f conf$$.sh
52919 fi
52920
52921 # Support unset when possible.
52922 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52923 as_unset=unset
52924 else
52925 as_unset=false
52926 fi
52927
52928
52929 # IFS
52930 # We need space, tab and new line, in precisely that order. Quoting is
52931 # there to prevent editors from complaining about space-tab.
52932 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52933 # splitting by setting IFS to empty value.)
52934 as_nl='
52935 '
52936 IFS=" "" $as_nl"
52937
52938 # Find who we are. Look in the path if we contain no directory separator.
52939 case $0 in
52940 *[\\/]* ) as_myself=$0 ;;
52941 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52942 for as_dir in $PATH
52943 do
52944 IFS=$as_save_IFS
52945 test -z "$as_dir" && as_dir=.
52946 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52947 done
52948 IFS=$as_save_IFS
52949
52950 ;;
52951 esac
52952 # We did not find ourselves, most probably we were run as `sh COMMAND'
52953 # in which case we are not to be found in the path.
52954 if test "x$as_myself" = x; then
52955 as_myself=$0
52956 fi
52957 if test ! -f "$as_myself"; then
52958 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52959 { (exit 1); exit 1; }
52960 fi
52961
52962 # Work around bugs in pre-3.0 UWIN ksh.
52963 for as_var in ENV MAIL MAILPATH
52964 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52965 done
52966 PS1='$ '
52967 PS2='> '
52968 PS4='+ '
52969
52970 # NLS nuisances.
52971 for as_var in \
52972 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52973 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52974 LC_TELEPHONE LC_TIME
52975 do
52976 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52977 eval $as_var=C; export $as_var
52978 else
52979 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52980 fi
52981 done
52982
52983 # Required to use basename.
52984 if expr a : '\(a\)' >/dev/null 2>&1 &&
52985 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52986 as_expr=expr
52987 else
52988 as_expr=false
52989 fi
52990
52991 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52992 as_basename=basename
52993 else
52994 as_basename=false
52995 fi
52996
52997
52998 # Name of the executable.
52999 as_me=`$as_basename -- "$0" ||
53000 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53001 X"$0" : 'X\(//\)$' \| \
53002 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53003 echo X/"$0" |
53004 sed '/^.*\/\([^/][^/]*\)\/*$/{
53005 s//\1/
53006 q
53007 }
53008 /^X\/\(\/\/\)$/{
53009 s//\1/
53010 q
53011 }
53012 /^X\/\(\/\).*/{
53013 s//\1/
53014 q
53015 }
53016 s/.*/./; q'`
53017
53018 # CDPATH.
53019 $as_unset CDPATH
53020
53021
53022
53023 as_lineno_1=$LINENO
53024 as_lineno_2=$LINENO
53025 test "x$as_lineno_1" != "x$as_lineno_2" &&
53026 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53027
53028 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53029 # uniformly replaced by the line number. The first 'sed' inserts a
53030 # line-number line after each line using $LINENO; the second 'sed'
53031 # does the real work. The second script uses 'N' to pair each
53032 # line-number line with the line containing $LINENO, and appends
53033 # trailing '-' during substitution so that $LINENO is not a special
53034 # case at line end.
53035 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53036 # scripts with optimization help from Paolo Bonzini. Blame Lee
53037 # E. McMahon (1931-1989) for sed's syntax. :-)
53038 sed -n '
53039 p
53040 /[$]LINENO/=
53041 ' <$as_myself |
53042 sed '
53043 s/[$]LINENO.*/&-/
53044 t lineno
53045 b
53046 :lineno
53047 N
53048 :loop
53049 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53050 t loop
53051 s/-\n.*//
53052 ' >$as_me.lineno &&
53053 chmod +x "$as_me.lineno" ||
53054 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53055 { (exit 1); exit 1; }; }
53056
53057 # Don't try to exec as it changes $[0], causing all sort of problems
53058 # (the dirname of $[0] is not the place where we might find the
53059 # original and so on. Autoconf is especially sensitive to this).
53060 . "./$as_me.lineno"
53061 # Exit status is that of the last command.
53062 exit
53063 }
53064
53065
53066 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53067 as_dirname=dirname
53068 else
53069 as_dirname=false
53070 fi
53071
53072 ECHO_C= ECHO_N= ECHO_T=
53073 case `echo -n x` in
53074 -n*)
53075 case `echo 'x\c'` in
53076 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53077 *) ECHO_C='\c';;
53078 esac;;
53079 *)
53080 ECHO_N='-n';;
53081 esac
53082
53083 if expr a : '\(a\)' >/dev/null 2>&1 &&
53084 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53085 as_expr=expr
53086 else
53087 as_expr=false
53088 fi
53089
53090 rm -f conf$$ conf$$.exe conf$$.file
53091 if test -d conf$$.dir; then
53092 rm -f conf$$.dir/conf$$.file
53093 else
53094 rm -f conf$$.dir
53095 mkdir conf$$.dir
53096 fi
53097 echo >conf$$.file
53098 if ln -s conf$$.file conf$$ 2>/dev/null; then
53099 as_ln_s='ln -s'
53100 # ... but there are two gotchas:
53101 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53102 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53103 # In both cases, we have to default to `cp -p'.
53104 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53105 as_ln_s='cp -p'
53106 elif ln conf$$.file conf$$ 2>/dev/null; then
53107 as_ln_s=ln
53108 else
53109 as_ln_s='cp -p'
53110 fi
53111 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53112 rmdir conf$$.dir 2>/dev/null
53113
53114 if mkdir -p . 2>/dev/null; then
53115 as_mkdir_p=:
53116 else
53117 test -d ./-p && rmdir ./-p
53118 as_mkdir_p=false
53119 fi
53120
53121 if test -x / >/dev/null 2>&1; then
53122 as_test_x='test -x'
53123 else
53124 if ls -dL / >/dev/null 2>&1; then
53125 as_ls_L_option=L
53126 else
53127 as_ls_L_option=
53128 fi
53129 as_test_x='
53130 eval sh -c '\''
53131 if test -d "$1"; then
53132 test -d "$1/.";
53133 else
53134 case $1 in
53135 -*)set "./$1";;
53136 esac;
53137 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53138 ???[sx]*):;;*)false;;esac;fi
53139 '\'' sh
53140 '
53141 fi
53142 as_executable_p=$as_test_x
53143
53144 # Sed expression to map a string onto a valid CPP name.
53145 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53146
53147 # Sed expression to map a string onto a valid variable name.
53148 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53149
53150
53151 exec 6>&1
53152
53153 # Save the log message, to keep $[0] and so on meaningful, and to
53154 # report actual input values of CONFIG_FILES etc. instead of their
53155 # values after options handling.
53156 ac_log="
53157 This file was extended by wxWidgets $as_me 2.9.0, which was
53158 generated by GNU Autoconf 2.61. Invocation command line was
53159
53160 CONFIG_FILES = $CONFIG_FILES
53161 CONFIG_HEADERS = $CONFIG_HEADERS
53162 CONFIG_LINKS = $CONFIG_LINKS
53163 CONFIG_COMMANDS = $CONFIG_COMMANDS
53164 $ $0 $@
53165
53166 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53167 "
53168
53169 _ACEOF
53170
53171 cat >>$CONFIG_STATUS <<_ACEOF
53172 # Files that config.status was made for.
53173 config_files="$ac_config_files"
53174 config_headers="$ac_config_headers"
53175 config_commands="$ac_config_commands"
53176
53177 _ACEOF
53178
53179 cat >>$CONFIG_STATUS <<\_ACEOF
53180 ac_cs_usage="\
53181 \`$as_me' instantiates files from templates according to the
53182 current configuration.
53183
53184 Usage: $0 [OPTIONS] [FILE]...
53185
53186 -h, --help print this help, then exit
53187 -V, --version print version number and configuration settings, then exit
53188 -q, --quiet do not print progress messages
53189 -d, --debug don't remove temporary files
53190 --recheck update $as_me by reconfiguring in the same conditions
53191 --file=FILE[:TEMPLATE]
53192 instantiate the configuration file FILE
53193 --header=FILE[:TEMPLATE]
53194 instantiate the configuration header FILE
53195
53196 Configuration files:
53197 $config_files
53198
53199 Configuration headers:
53200 $config_headers
53201
53202 Configuration commands:
53203 $config_commands
53204
53205 Report bugs to <bug-autoconf@gnu.org>."
53206
53207 _ACEOF
53208 cat >>$CONFIG_STATUS <<_ACEOF
53209 ac_cs_version="\\
53210 wxWidgets config.status 2.9.0
53211 configured by $0, generated by GNU Autoconf 2.61,
53212 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53213
53214 Copyright (C) 2006 Free Software Foundation, Inc.
53215 This config.status script is free software; the Free Software Foundation
53216 gives unlimited permission to copy, distribute and modify it."
53217
53218 ac_pwd='$ac_pwd'
53219 srcdir='$srcdir'
53220 INSTALL='$INSTALL'
53221 _ACEOF
53222
53223 cat >>$CONFIG_STATUS <<\_ACEOF
53224 # If no file are specified by the user, then we need to provide default
53225 # value. By we need to know if files were specified by the user.
53226 ac_need_defaults=:
53227 while test $# != 0
53228 do
53229 case $1 in
53230 --*=*)
53231 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53232 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53233 ac_shift=:
53234 ;;
53235 *)
53236 ac_option=$1
53237 ac_optarg=$2
53238 ac_shift=shift
53239 ;;
53240 esac
53241
53242 case $ac_option in
53243 # Handling of the options.
53244 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53245 ac_cs_recheck=: ;;
53246 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53247 echo "$ac_cs_version"; exit ;;
53248 --debug | --debu | --deb | --de | --d | -d )
53249 debug=: ;;
53250 --file | --fil | --fi | --f )
53251 $ac_shift
53252 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53253 ac_need_defaults=false;;
53254 --header | --heade | --head | --hea )
53255 $ac_shift
53256 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53257 ac_need_defaults=false;;
53258 --he | --h)
53259 # Conflict between --help and --header
53260 { echo "$as_me: error: ambiguous option: $1
53261 Try \`$0 --help' for more information." >&2
53262 { (exit 1); exit 1; }; };;
53263 --help | --hel | -h )
53264 echo "$ac_cs_usage"; exit ;;
53265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53266 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53267 ac_cs_silent=: ;;
53268
53269 # This is an error.
53270 -*) { echo "$as_me: error: unrecognized option: $1
53271 Try \`$0 --help' for more information." >&2
53272 { (exit 1); exit 1; }; } ;;
53273
53274 *) ac_config_targets="$ac_config_targets $1"
53275 ac_need_defaults=false ;;
53276
53277 esac
53278 shift
53279 done
53280
53281 ac_configure_extra_args=
53282
53283 if $ac_cs_silent; then
53284 exec 6>/dev/null
53285 ac_configure_extra_args="$ac_configure_extra_args --silent"
53286 fi
53287
53288 _ACEOF
53289 cat >>$CONFIG_STATUS <<_ACEOF
53290 if \$ac_cs_recheck; then
53291 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53292 CONFIG_SHELL=$SHELL
53293 export CONFIG_SHELL
53294 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53295 fi
53296
53297 _ACEOF
53298 cat >>$CONFIG_STATUS <<\_ACEOF
53299 exec 5>>config.log
53300 {
53301 echo
53302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53303 ## Running $as_me. ##
53304 _ASBOX
53305 echo "$ac_log"
53306 } >&5
53307
53308 _ACEOF
53309 cat >>$CONFIG_STATUS <<_ACEOF
53310 #
53311 # INIT-COMMANDS
53312 #
53313
53314 CPP="$CPP"
53315 infile="$srcdir/include/wx/msw/genrcdefs.h"
53316 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53317
53318
53319 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53320 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53321 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53322 LN_S="${LN_S}"
53323
53324
53325 _ACEOF
53326
53327 cat >>$CONFIG_STATUS <<\_ACEOF
53328
53329 # Handling of arguments.
53330 for ac_config_target in $ac_config_targets
53331 do
53332 case $ac_config_target in
53333 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53334 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53335 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53336 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53337 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53338 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53339 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53340 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53341
53342 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53343 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53344 { (exit 1); exit 1; }; };;
53345 esac
53346 done
53347
53348
53349 # If the user did not use the arguments to specify the items to instantiate,
53350 # then the envvar interface is used. Set only those that are not.
53351 # We use the long form for the default assignment because of an extremely
53352 # bizarre bug on SunOS 4.1.3.
53353 if $ac_need_defaults; then
53354 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53355 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53356 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53357 fi
53358
53359 # Have a temporary directory for convenience. Make it in the build tree
53360 # simply because there is no reason against having it here, and in addition,
53361 # creating and moving files from /tmp can sometimes cause problems.
53362 # Hook for its removal unless debugging.
53363 # Note that there is a small window in which the directory will not be cleaned:
53364 # after its creation but before its name has been assigned to `$tmp'.
53365 $debug ||
53366 {
53367 tmp=
53368 trap 'exit_status=$?
53369 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53370 ' 0
53371 trap '{ (exit 1); exit 1; }' 1 2 13 15
53372 }
53373 # Create a (secure) tmp directory for tmp files.
53374
53375 {
53376 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53377 test -n "$tmp" && test -d "$tmp"
53378 } ||
53379 {
53380 tmp=./conf$$-$RANDOM
53381 (umask 077 && mkdir "$tmp")
53382 } ||
53383 {
53384 echo "$me: cannot create a temporary directory in ." >&2
53385 { (exit 1); exit 1; }
53386 }
53387
53388 #
53389 # Set up the sed scripts for CONFIG_FILES section.
53390 #
53391
53392 # No need to generate the scripts if there are no CONFIG_FILES.
53393 # This happens for instance when ./config.status config.h
53394 if test -n "$CONFIG_FILES"; then
53395
53396 _ACEOF
53397
53398
53399
53400 ac_delim='%!_!# '
53401 for ac_last_try in false false false false false :; do
53402 cat >conf$$subs.sed <<_ACEOF
53403 SHELL!$SHELL$ac_delim
53404 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53405 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53406 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53407 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53408 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53409 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53410 exec_prefix!$exec_prefix$ac_delim
53411 prefix!$prefix$ac_delim
53412 program_transform_name!$program_transform_name$ac_delim
53413 bindir!$bindir$ac_delim
53414 sbindir!$sbindir$ac_delim
53415 libexecdir!$libexecdir$ac_delim
53416 datarootdir!$datarootdir$ac_delim
53417 datadir!$datadir$ac_delim
53418 sysconfdir!$sysconfdir$ac_delim
53419 sharedstatedir!$sharedstatedir$ac_delim
53420 localstatedir!$localstatedir$ac_delim
53421 includedir!$includedir$ac_delim
53422 oldincludedir!$oldincludedir$ac_delim
53423 docdir!$docdir$ac_delim
53424 infodir!$infodir$ac_delim
53425 htmldir!$htmldir$ac_delim
53426 dvidir!$dvidir$ac_delim
53427 pdfdir!$pdfdir$ac_delim
53428 psdir!$psdir$ac_delim
53429 libdir!$libdir$ac_delim
53430 localedir!$localedir$ac_delim
53431 mandir!$mandir$ac_delim
53432 DEFS!$DEFS$ac_delim
53433 ECHO_C!$ECHO_C$ac_delim
53434 ECHO_N!$ECHO_N$ac_delim
53435 ECHO_T!$ECHO_T$ac_delim
53436 LIBS!$LIBS$ac_delim
53437 build_alias!$build_alias$ac_delim
53438 host_alias!$host_alias$ac_delim
53439 target_alias!$target_alias$ac_delim
53440 build!$build$ac_delim
53441 build_cpu!$build_cpu$ac_delim
53442 build_vendor!$build_vendor$ac_delim
53443 build_os!$build_os$ac_delim
53444 host!$host$ac_delim
53445 host_cpu!$host_cpu$ac_delim
53446 host_vendor!$host_vendor$ac_delim
53447 host_os!$host_os$ac_delim
53448 target!$target$ac_delim
53449 target_cpu!$target_cpu$ac_delim
53450 target_vendor!$target_vendor$ac_delim
53451 target_os!$target_os$ac_delim
53452 wx_top_builddir!$wx_top_builddir$ac_delim
53453 CC!$CC$ac_delim
53454 CFLAGS!$CFLAGS$ac_delim
53455 LDFLAGS!$LDFLAGS$ac_delim
53456 CPPFLAGS!$CPPFLAGS$ac_delim
53457 ac_ct_CC!$ac_ct_CC$ac_delim
53458 EXEEXT!$EXEEXT$ac_delim
53459 OBJEXT!$OBJEXT$ac_delim
53460 CPP!$CPP$ac_delim
53461 GREP!$GREP$ac_delim
53462 EGREP!$EGREP$ac_delim
53463 CXX!$CXX$ac_delim
53464 CXXFLAGS!$CXXFLAGS$ac_delim
53465 ac_ct_CXX!$ac_ct_CXX$ac_delim
53466 RANLIB!$RANLIB$ac_delim
53467 AR!$AR$ac_delim
53468 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53469 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53470 INSTALL_DATA!$INSTALL_DATA$ac_delim
53471 STRIP!$STRIP$ac_delim
53472 WINDRES!$WINDRES$ac_delim
53473 DLLTOOL!$DLLTOOL$ac_delim
53474 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53475 LN_S!$LN_S$ac_delim
53476 subdirs!$subdirs$ac_delim
53477 PKG_CONFIG!$PKG_CONFIG$ac_delim
53478 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53479 GTK_LIBS!$GTK_LIBS$ac_delim
53480 GTK_CONFIG!$GTK_CONFIG$ac_delim
53481 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53482 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53483 XMKMF!$XMKMF$ac_delim
53484 X_CFLAGS!$X_CFLAGS$ac_delim
53485 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53486 X_LIBS!$X_LIBS$ac_delim
53487 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53488 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53489 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53490 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53491 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53492 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53493 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53494 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53495 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53496 REZ!$REZ$ac_delim
53497 DEREZ!$DEREZ$ac_delim
53498 SETFILE!$SETFILE$ac_delim
53499 LIBICONV!$LIBICONV$ac_delim
53500 _ACEOF
53501
53502 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53503 break
53504 elif $ac_last_try; then
53505 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53506 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53507 { (exit 1); exit 1; }; }
53508 else
53509 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53510 fi
53511 done
53512
53513 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53514 if test -n "$ac_eof"; then
53515 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53516 ac_eof=`expr $ac_eof + 1`
53517 fi
53518
53519 cat >>$CONFIG_STATUS <<_ACEOF
53520 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53521 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53522 _ACEOF
53523 sed '
53524 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53525 s/^/s,@/; s/!/@,|#_!!_#|/
53526 :n
53527 t n
53528 s/'"$ac_delim"'$/,g/; t
53529 s/$/\\/; p
53530 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53531 ' >>$CONFIG_STATUS <conf$$subs.sed
53532 rm -f conf$$subs.sed
53533 cat >>$CONFIG_STATUS <<_ACEOF
53534 CEOF$ac_eof
53535 _ACEOF
53536
53537
53538 ac_delim='%!_!# '
53539 for ac_last_try in false false false false false :; do
53540 cat >conf$$subs.sed <<_ACEOF
53541 SDL_CONFIG!$SDL_CONFIG$ac_delim
53542 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53543 SDL_LIBS!$SDL_LIBS$ac_delim
53544 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53545 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53546 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53547 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53548 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53549 HILDON_LIBS!$HILDON_LIBS$ac_delim
53550 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53551 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53552 GST_CFLAGS!$GST_CFLAGS$ac_delim
53553 GST_LIBS!$GST_LIBS$ac_delim
53554 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53555 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53556 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53557 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53558 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53559 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53560 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53561 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53562 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53563 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53564 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53565 VENDOR!$VENDOR$ac_delim
53566 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53567 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53568 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53569 WXUNIV!$WXUNIV$ac_delim
53570 MONOLITHIC!$MONOLITHIC$ac_delim
53571 USE_PLUGINS!$USE_PLUGINS$ac_delim
53572 CXXWARNINGS!$CXXWARNINGS$ac_delim
53573 EXTRALIBS!$EXTRALIBS$ac_delim
53574 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53575 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53576 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53577 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53578 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53579 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53580 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53581 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53582 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53583 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53584 UNICODE!$UNICODE$ac_delim
53585 BUILD!$BUILD$ac_delim
53586 DEBUG_INFO!$DEBUG_INFO$ac_delim
53587 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53588 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53589 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53590 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53591 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53592 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53593 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53594 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53595 SET_MAKE!$SET_MAKE$ac_delim
53596 MAKE_SET!$MAKE_SET$ac_delim
53597 AROPTIONS!$AROPTIONS$ac_delim
53598 NM!$NM$ac_delim
53599 INSTALL_DIR!$INSTALL_DIR$ac_delim
53600 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53601 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53602 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53603 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53604 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53605 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53606 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53607 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53608 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53609 SO_SUFFIX!$SO_SUFFIX$ac_delim
53610 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53611 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53612 LIBPREFIX!$LIBPREFIX$ac_delim
53613 LIBEXT!$LIBEXT$ac_delim
53614 DLLPREFIX!$DLLPREFIX$ac_delim
53615 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53616 dlldir!$dlldir$ac_delim
53617 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53618 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53619 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53620 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53621 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53622 PIC_FLAG!$PIC_FLAG$ac_delim
53623 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53624 USE_SOVERSION!$USE_SOVERSION$ac_delim
53625 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53626 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53627 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53628 USE_MACVERSION!$USE_MACVERSION$ac_delim
53629 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53630 SONAME_FLAG!$SONAME_FLAG$ac_delim
53631 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53632 BK_DEPS!$BK_DEPS$ac_delim
53633 GCC_PCH!$GCC_PCH$ac_delim
53634 ICC_PCH!$ICC_PCH$ac_delim
53635 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53636 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53637 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53638 _ACEOF
53639
53640 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53641 break
53642 elif $ac_last_try; then
53643 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53644 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53645 { (exit 1); exit 1; }; }
53646 else
53647 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53648 fi
53649 done
53650
53651 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53652 if test -n "$ac_eof"; then
53653 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53654 ac_eof=`expr $ac_eof + 1`
53655 fi
53656
53657 cat >>$CONFIG_STATUS <<_ACEOF
53658 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53659 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53660 _ACEOF
53661 sed '
53662 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53663 s/^/s,@/; s/!/@,|#_!!_#|/
53664 :n
53665 t n
53666 s/'"$ac_delim"'$/,g/; t
53667 s/$/\\/; p
53668 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53669 ' >>$CONFIG_STATUS <conf$$subs.sed
53670 rm -f conf$$subs.sed
53671 cat >>$CONFIG_STATUS <<_ACEOF
53672 CEOF$ac_eof
53673 _ACEOF
53674
53675
53676 ac_delim='%!_!# '
53677 for ac_last_try in false false false false false :; do
53678 cat >conf$$subs.sed <<_ACEOF
53679 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53680 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53681 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53682 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53683 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53684 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53685 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53686 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53687 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53688 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53689 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53690 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53691 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53692 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53693 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53694 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53695 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53696 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53697 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53698 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53699 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53700 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53701 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53702 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53703 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53704 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53705 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53706 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53707 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53708 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53709 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53710 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53711 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53712 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53713 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53714 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53715 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53716 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53717 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53718 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53719 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53720 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53721 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53722 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53723 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53724 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53725 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53726 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53727 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53728 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53729 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53730 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53731 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53732 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53733 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53734 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53735 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53736 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53737 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53738 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53739 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53740 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53741 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53742 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53743 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53744 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53745 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53746 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53747 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53748 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53749 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53750 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53751 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53752 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53753 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53754 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53755 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53756 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53757 COND_SHARED_0!$COND_SHARED_0$ac_delim
53758 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53759 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53760 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53761 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53762 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53763 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53764 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53765 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53766 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53767 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53768 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53769 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53770 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53771 COND_SHARED_1!$COND_SHARED_1$ac_delim
53772 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53773 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53774 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53775 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53776 _ACEOF
53777
53778 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53779 break
53780 elif $ac_last_try; then
53781 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53782 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53783 { (exit 1); exit 1; }; }
53784 else
53785 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53786 fi
53787 done
53788
53789 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53790 if test -n "$ac_eof"; then
53791 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53792 ac_eof=`expr $ac_eof + 1`
53793 fi
53794
53795 cat >>$CONFIG_STATUS <<_ACEOF
53796 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53797 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53798 _ACEOF
53799 sed '
53800 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53801 s/^/s,@/; s/!/@,|#_!!_#|/
53802 :n
53803 t n
53804 s/'"$ac_delim"'$/,g/; t
53805 s/$/\\/; p
53806 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53807 ' >>$CONFIG_STATUS <conf$$subs.sed
53808 rm -f conf$$subs.sed
53809 cat >>$CONFIG_STATUS <<_ACEOF
53810 CEOF$ac_eof
53811 _ACEOF
53812
53813
53814 ac_delim='%!_!# '
53815 for ac_last_try in false false false false false :; do
53816 cat >conf$$subs.sed <<_ACEOF
53817 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53818 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53819 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53820 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53821 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53822 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53823 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53824 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53825 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53826 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53827 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53828 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53829 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53830 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53831 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53832 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53833 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53834 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53835 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53836 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53837 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53838 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53839 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53840 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53841 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53842 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53843 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53844 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53845 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53846 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53847 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53848 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53849 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53850 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53851 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53852 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53853 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53854 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53855 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53856 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53857 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53858 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53859 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53860 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53861 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53862 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53863 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53864 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53865 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53866 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53867 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53868 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53869 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53870 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53871 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53872 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53873 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53874 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53875 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53876 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53877 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53878 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53879 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53880 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53881 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53882 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53883 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53884 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53885 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53886 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53887 SHARED!$SHARED$ac_delim
53888 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53889 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53890 USE_GUI!$USE_GUI$ac_delim
53891 AFMINSTALL!$AFMINSTALL$ac_delim
53892 WIN32INSTALL!$WIN32INSTALL$ac_delim
53893 TOOLKIT!$TOOLKIT$ac_delim
53894 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53895 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53896 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53897 cross_compiling!$cross_compiling$ac_delim
53898 WIDGET_SET!$WIDGET_SET$ac_delim
53899 WX_RELEASE!$WX_RELEASE$ac_delim
53900 WX_VERSION!$WX_VERSION$ac_delim
53901 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53902 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53903 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53904 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53905 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53906 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53907 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53908 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53909 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53910 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53911 EXE_LINKER!$EXE_LINKER$ac_delim
53912 GUIDIST!$GUIDIST$ac_delim
53913 DISTDIR!$DISTDIR$ac_delim
53914 _ACEOF
53915
53916 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53917 break
53918 elif $ac_last_try; then
53919 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53920 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53921 { (exit 1); exit 1; }; }
53922 else
53923 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53924 fi
53925 done
53926
53927 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53928 if test -n "$ac_eof"; then
53929 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53930 ac_eof=`expr $ac_eof + 1`
53931 fi
53932
53933 cat >>$CONFIG_STATUS <<_ACEOF
53934 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53935 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53936 _ACEOF
53937 sed '
53938 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53939 s/^/s,@/; s/!/@,|#_!!_#|/
53940 :n
53941 t n
53942 s/'"$ac_delim"'$/,g/; t
53943 s/$/\\/; p
53944 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53945 ' >>$CONFIG_STATUS <conf$$subs.sed
53946 rm -f conf$$subs.sed
53947 cat >>$CONFIG_STATUS <<_ACEOF
53948 CEOF$ac_eof
53949 _ACEOF
53950
53951
53952 ac_delim='%!_!# '
53953 for ac_last_try in false false false false false :; do
53954 cat >conf$$subs.sed <<_ACEOF
53955 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53956 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53957 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53958 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53959 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53960 RESCOMP!$RESCOMP$ac_delim
53961 RESFLAGS!$RESFLAGS$ac_delim
53962 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53963 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53964 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53965 LIBWXMACRES!$LIBWXMACRES$ac_delim
53966 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53967 MACSETFILE!$MACSETFILE$ac_delim
53968 GCC!$GCC$ac_delim
53969 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53970 LIBOBJS!$LIBOBJS$ac_delim
53971 LTLIBOBJS!$LTLIBOBJS$ac_delim
53972 _ACEOF
53973
53974 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
53975 break
53976 elif $ac_last_try; then
53977 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53978 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53979 { (exit 1); exit 1; }; }
53980 else
53981 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53982 fi
53983 done
53984
53985 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53986 if test -n "$ac_eof"; then
53987 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53988 ac_eof=`expr $ac_eof + 1`
53989 fi
53990
53991 cat >>$CONFIG_STATUS <<_ACEOF
53992 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53993 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53994 _ACEOF
53995 sed '
53996 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53997 s/^/s,@/; s/!/@,|#_!!_#|/
53998 :n
53999 t n
54000 s/'"$ac_delim"'$/,g/; t
54001 s/$/\\/; p
54002 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54003 ' >>$CONFIG_STATUS <conf$$subs.sed
54004 rm -f conf$$subs.sed
54005 cat >>$CONFIG_STATUS <<_ACEOF
54006 :end
54007 s/|#_!!_#|//g
54008 CEOF$ac_eof
54009 _ACEOF
54010
54011
54012 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54013 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54014 # trailing colons and then remove the whole line if VPATH becomes empty
54015 # (actually we leave an empty line to preserve line numbers).
54016 if test "x$srcdir" = x.; then
54017 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54018 s/:*\$(srcdir):*/:/
54019 s/:*\${srcdir}:*/:/
54020 s/:*@srcdir@:*/:/
54021 s/^\([^=]*=[ ]*\):*/\1/
54022 s/:*$//
54023 s/^[^=]*=[ ]*$//
54024 }'
54025 fi
54026
54027 cat >>$CONFIG_STATUS <<\_ACEOF
54028 fi # test -n "$CONFIG_FILES"
54029
54030
54031 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54032 do
54033 case $ac_tag in
54034 :[FHLC]) ac_mode=$ac_tag; continue;;
54035 esac
54036 case $ac_mode$ac_tag in
54037 :[FHL]*:*);;
54038 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54039 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54040 { (exit 1); exit 1; }; };;
54041 :[FH]-) ac_tag=-:-;;
54042 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54043 esac
54044 ac_save_IFS=$IFS
54045 IFS=:
54046 set x $ac_tag
54047 IFS=$ac_save_IFS
54048 shift
54049 ac_file=$1
54050 shift
54051
54052 case $ac_mode in
54053 :L) ac_source=$1;;
54054 :[FH])
54055 ac_file_inputs=
54056 for ac_f
54057 do
54058 case $ac_f in
54059 -) ac_f="$tmp/stdin";;
54060 *) # Look for the file first in the build tree, then in the source tree
54061 # (if the path is not absolute). The absolute path cannot be DOS-style,
54062 # because $ac_f cannot contain `:'.
54063 test -f "$ac_f" ||
54064 case $ac_f in
54065 [\\/$]*) false;;
54066 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54067 esac ||
54068 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54069 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54070 { (exit 1); exit 1; }; };;
54071 esac
54072 ac_file_inputs="$ac_file_inputs $ac_f"
54073 done
54074
54075 # Let's still pretend it is `configure' which instantiates (i.e., don't
54076 # use $as_me), people would be surprised to read:
54077 # /* config.h. Generated by config.status. */
54078 configure_input="Generated from "`IFS=:
54079 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54080 if test x"$ac_file" != x-; then
54081 configure_input="$ac_file. $configure_input"
54082 { echo "$as_me:$LINENO: creating $ac_file" >&5
54083 echo "$as_me: creating $ac_file" >&6;}
54084 fi
54085
54086 case $ac_tag in
54087 *:-:* | *:-) cat >"$tmp/stdin";;
54088 esac
54089 ;;
54090 esac
54091
54092 ac_dir=`$as_dirname -- "$ac_file" ||
54093 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54094 X"$ac_file" : 'X\(//\)[^/]' \| \
54095 X"$ac_file" : 'X\(//\)$' \| \
54096 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54097 echo X"$ac_file" |
54098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54099 s//\1/
54100 q
54101 }
54102 /^X\(\/\/\)[^/].*/{
54103 s//\1/
54104 q
54105 }
54106 /^X\(\/\/\)$/{
54107 s//\1/
54108 q
54109 }
54110 /^X\(\/\).*/{
54111 s//\1/
54112 q
54113 }
54114 s/.*/./; q'`
54115 { as_dir="$ac_dir"
54116 case $as_dir in #(
54117 -*) as_dir=./$as_dir;;
54118 esac
54119 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54120 as_dirs=
54121 while :; do
54122 case $as_dir in #(
54123 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54124 *) as_qdir=$as_dir;;
54125 esac
54126 as_dirs="'$as_qdir' $as_dirs"
54127 as_dir=`$as_dirname -- "$as_dir" ||
54128 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54129 X"$as_dir" : 'X\(//\)[^/]' \| \
54130 X"$as_dir" : 'X\(//\)$' \| \
54131 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54132 echo X"$as_dir" |
54133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54134 s//\1/
54135 q
54136 }
54137 /^X\(\/\/\)[^/].*/{
54138 s//\1/
54139 q
54140 }
54141 /^X\(\/\/\)$/{
54142 s//\1/
54143 q
54144 }
54145 /^X\(\/\).*/{
54146 s//\1/
54147 q
54148 }
54149 s/.*/./; q'`
54150 test -d "$as_dir" && break
54151 done
54152 test -z "$as_dirs" || eval "mkdir $as_dirs"
54153 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54154 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54155 { (exit 1); exit 1; }; }; }
54156 ac_builddir=.
54157
54158 case "$ac_dir" in
54159 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54160 *)
54161 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54162 # A ".." for each directory in $ac_dir_suffix.
54163 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54164 case $ac_top_builddir_sub in
54165 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54166 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54167 esac ;;
54168 esac
54169 ac_abs_top_builddir=$ac_pwd
54170 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54171 # for backward compatibility:
54172 ac_top_builddir=$ac_top_build_prefix
54173
54174 case $srcdir in
54175 .) # We are building in place.
54176 ac_srcdir=.
54177 ac_top_srcdir=$ac_top_builddir_sub
54178 ac_abs_top_srcdir=$ac_pwd ;;
54179 [\\/]* | ?:[\\/]* ) # Absolute name.
54180 ac_srcdir=$srcdir$ac_dir_suffix;
54181 ac_top_srcdir=$srcdir
54182 ac_abs_top_srcdir=$srcdir ;;
54183 *) # Relative name.
54184 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54185 ac_top_srcdir=$ac_top_build_prefix$srcdir
54186 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54187 esac
54188 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54189
54190
54191 case $ac_mode in
54192 :F)
54193 #
54194 # CONFIG_FILE
54195 #
54196
54197 case $INSTALL in
54198 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54199 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54200 esac
54201 _ACEOF
54202
54203 cat >>$CONFIG_STATUS <<\_ACEOF
54204 # If the template does not know about datarootdir, expand it.
54205 # FIXME: This hack should be removed a few years after 2.60.
54206 ac_datarootdir_hack=; ac_datarootdir_seen=
54207
54208 case `sed -n '/datarootdir/ {
54209 p
54210 q
54211 }
54212 /@datadir@/p
54213 /@docdir@/p
54214 /@infodir@/p
54215 /@localedir@/p
54216 /@mandir@/p
54217 ' $ac_file_inputs` in
54218 *datarootdir*) ac_datarootdir_seen=yes;;
54219 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54220 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54221 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54222 _ACEOF
54223 cat >>$CONFIG_STATUS <<_ACEOF
54224 ac_datarootdir_hack='
54225 s&@datadir@&$datadir&g
54226 s&@docdir@&$docdir&g
54227 s&@infodir@&$infodir&g
54228 s&@localedir@&$localedir&g
54229 s&@mandir@&$mandir&g
54230 s&\\\${datarootdir}&$datarootdir&g' ;;
54231 esac
54232 _ACEOF
54233
54234 # Neutralize VPATH when `$srcdir' = `.'.
54235 # Shell code in configure.ac might set extrasub.
54236 # FIXME: do we really want to maintain this feature?
54237 cat >>$CONFIG_STATUS <<_ACEOF
54238 sed "$ac_vpsub
54239 $extrasub
54240 _ACEOF
54241 cat >>$CONFIG_STATUS <<\_ACEOF
54242 :t
54243 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54244 s&@configure_input@&$configure_input&;t t
54245 s&@top_builddir@&$ac_top_builddir_sub&;t t
54246 s&@srcdir@&$ac_srcdir&;t t
54247 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54248 s&@top_srcdir@&$ac_top_srcdir&;t t
54249 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54250 s&@builddir@&$ac_builddir&;t t
54251 s&@abs_builddir@&$ac_abs_builddir&;t t
54252 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54253 s&@INSTALL@&$ac_INSTALL&;t t
54254 $ac_datarootdir_hack
54255 " $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
54256
54257 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54258 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54259 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54260 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54261 which seems to be undefined. Please make sure it is defined." >&5
54262 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54263 which seems to be undefined. Please make sure it is defined." >&2;}
54264
54265 rm -f "$tmp/stdin"
54266 case $ac_file in
54267 -) cat "$tmp/out"; rm -f "$tmp/out";;
54268 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54269 esac
54270 ;;
54271 :H)
54272 #
54273 # CONFIG_HEADER
54274 #
54275 _ACEOF
54276
54277 # Transform confdefs.h into a sed script `conftest.defines', that
54278 # substitutes the proper values into config.h.in to produce config.h.
54279 rm -f conftest.defines conftest.tail
54280 # First, append a space to every undef/define line, to ease matching.
54281 echo 's/$/ /' >conftest.defines
54282 # Then, protect against being on the right side of a sed subst, or in
54283 # an unquoted here document, in config.status. If some macros were
54284 # called several times there might be several #defines for the same
54285 # symbol, which is useless. But do not sort them, since the last
54286 # AC_DEFINE must be honored.
54287 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54288 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54289 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54290 # PARAMS is the parameter list in the macro definition--in most cases, it's
54291 # just an empty string.
54292 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54293 ac_dB='\\)[ (].*,\\1define\\2'
54294 ac_dC=' '
54295 ac_dD=' ,'
54296
54297 uniq confdefs.h |
54298 sed -n '
54299 t rset
54300 :rset
54301 s/^[ ]*#[ ]*define[ ][ ]*//
54302 t ok
54303 d
54304 :ok
54305 s/[\\&,]/\\&/g
54306 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54307 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54308 ' >>conftest.defines
54309
54310 # Remove the space that was appended to ease matching.
54311 # Then replace #undef with comments. This is necessary, for
54312 # example, in the case of _POSIX_SOURCE, which is predefined and required
54313 # on some systems where configure will not decide to define it.
54314 # (The regexp can be short, since the line contains either #define or #undef.)
54315 echo 's/ $//
54316 s,^[ #]*u.*,/* & */,' >>conftest.defines
54317
54318 # Break up conftest.defines:
54319 ac_max_sed_lines=50
54320
54321 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54322 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54323 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54324 # et cetera.
54325 ac_in='$ac_file_inputs'
54326 ac_out='"$tmp/out1"'
54327 ac_nxt='"$tmp/out2"'
54328
54329 while :
54330 do
54331 # Write a here document:
54332 cat >>$CONFIG_STATUS <<_ACEOF
54333 # First, check the format of the line:
54334 cat >"\$tmp/defines.sed" <<\\CEOF
54335 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54336 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54337 b
54338 :def
54339 _ACEOF
54340 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54341 echo 'CEOF
54342 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54343 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54344 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54345 grep . conftest.tail >/dev/null || break
54346 rm -f conftest.defines
54347 mv conftest.tail conftest.defines
54348 done
54349 rm -f conftest.defines conftest.tail
54350
54351 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54352 cat >>$CONFIG_STATUS <<\_ACEOF
54353 if test x"$ac_file" != x-; then
54354 echo "/* $configure_input */" >"$tmp/config.h"
54355 cat "$ac_result" >>"$tmp/config.h"
54356 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54357 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54358 echo "$as_me: $ac_file is unchanged" >&6;}
54359 else
54360 rm -f $ac_file
54361 mv "$tmp/config.h" $ac_file
54362 fi
54363 else
54364 echo "/* $configure_input */"
54365 cat "$ac_result"
54366 fi
54367 rm -f "$tmp/out12"
54368 ;;
54369
54370 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54371 echo "$as_me: executing $ac_file commands" >&6;}
54372 ;;
54373 esac
54374
54375
54376 case $ac_file$ac_mode in
54377 "rcdefs.h":C)
54378 mkdir -p $outdir &&
54379 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54380 ;;
54381 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54382 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54383 "wx-config":C) rm -f wx-config
54384 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54385 ;;
54386
54387 esac
54388 done # for ac_tag
54389
54390
54391 { (exit 0); exit 0; }
54392 _ACEOF
54393 chmod +x $CONFIG_STATUS
54394 ac_clean_files=$ac_clean_files_save
54395
54396
54397 # configure is writing to config.log, and then calls config.status.
54398 # config.status does its own redirection, appending to config.log.
54399 # Unfortunately, on DOS this fails, as config.log is still kept open
54400 # by configure, so config.status won't be able to write to it; its
54401 # output is simply discarded. So we exec the FD to /dev/null,
54402 # effectively closing config.log, so it can be properly (re)opened and
54403 # appended to by config.status. When coming back to configure, we
54404 # need to make the FD available again.
54405 if test "$no_create" != yes; then
54406 ac_cs_success=:
54407 ac_config_status_args=
54408 test "$silent" = yes &&
54409 ac_config_status_args="$ac_config_status_args --quiet"
54410 exec 5>/dev/null
54411 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54412 exec 5>>config.log
54413 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54414 # would make configure fail if this is the last instruction.
54415 $ac_cs_success || { (exit 1); exit 1; }
54416 fi
54417
54418 #
54419 # CONFIG_SUBDIRS section.
54420 #
54421 if test "$no_recursion" != yes; then
54422
54423 # Remove --cache-file and --srcdir arguments so they do not pile up.
54424 ac_sub_configure_args=
54425 ac_prev=
54426 eval "set x $ac_configure_args"
54427 shift
54428 for ac_arg
54429 do
54430 if test -n "$ac_prev"; then
54431 ac_prev=
54432 continue
54433 fi
54434 case $ac_arg in
54435 -cache-file | --cache-file | --cache-fil | --cache-fi \
54436 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54437 ac_prev=cache_file ;;
54438 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54439 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54440 | --c=*)
54441 ;;
54442 --config-cache | -C)
54443 ;;
54444 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54445 ac_prev=srcdir ;;
54446 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54447 ;;
54448 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54449 ac_prev=prefix ;;
54450 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54451 ;;
54452 *)
54453 case $ac_arg in
54454 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54455 esac
54456 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54457 esac
54458 done
54459
54460 # Always prepend --prefix to ensure using the same prefix
54461 # in subdir configurations.
54462 ac_arg="--prefix=$prefix"
54463 case $ac_arg in
54464 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54465 esac
54466 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54467
54468 # Pass --silent
54469 if test "$silent" = yes; then
54470 ac_sub_configure_args="--silent $ac_sub_configure_args"
54471 fi
54472
54473 ac_popdir=`pwd`
54474 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54475
54476 # Do not complain, so a configure script can configure whichever
54477 # parts of a large source tree are present.
54478 test -d "$srcdir/$ac_dir" || continue
54479
54480 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54481 echo "$as_me:$LINENO: $ac_msg" >&5
54482 echo "$ac_msg" >&6
54483 { as_dir="$ac_dir"
54484 case $as_dir in #(
54485 -*) as_dir=./$as_dir;;
54486 esac
54487 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54488 as_dirs=
54489 while :; do
54490 case $as_dir in #(
54491 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54492 *) as_qdir=$as_dir;;
54493 esac
54494 as_dirs="'$as_qdir' $as_dirs"
54495 as_dir=`$as_dirname -- "$as_dir" ||
54496 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54497 X"$as_dir" : 'X\(//\)[^/]' \| \
54498 X"$as_dir" : 'X\(//\)$' \| \
54499 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54500 echo X"$as_dir" |
54501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54502 s//\1/
54503 q
54504 }
54505 /^X\(\/\/\)[^/].*/{
54506 s//\1/
54507 q
54508 }
54509 /^X\(\/\/\)$/{
54510 s//\1/
54511 q
54512 }
54513 /^X\(\/\).*/{
54514 s//\1/
54515 q
54516 }
54517 s/.*/./; q'`
54518 test -d "$as_dir" && break
54519 done
54520 test -z "$as_dirs" || eval "mkdir $as_dirs"
54521 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54522 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54523 { (exit 1); exit 1; }; }; }
54524 ac_builddir=.
54525
54526 case "$ac_dir" in
54527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54528 *)
54529 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54530 # A ".." for each directory in $ac_dir_suffix.
54531 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54532 case $ac_top_builddir_sub in
54533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54535 esac ;;
54536 esac
54537 ac_abs_top_builddir=$ac_pwd
54538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54539 # for backward compatibility:
54540 ac_top_builddir=$ac_top_build_prefix
54541
54542 case $srcdir in
54543 .) # We are building in place.
54544 ac_srcdir=.
54545 ac_top_srcdir=$ac_top_builddir_sub
54546 ac_abs_top_srcdir=$ac_pwd ;;
54547 [\\/]* | ?:[\\/]* ) # Absolute name.
54548 ac_srcdir=$srcdir$ac_dir_suffix;
54549 ac_top_srcdir=$srcdir
54550 ac_abs_top_srcdir=$srcdir ;;
54551 *) # Relative name.
54552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54553 ac_top_srcdir=$ac_top_build_prefix$srcdir
54554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54555 esac
54556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54557
54558
54559 cd "$ac_dir"
54560
54561 # Check for guested configure; otherwise get Cygnus style configure.
54562 if test -f "$ac_srcdir/configure.gnu"; then
54563 ac_sub_configure=$ac_srcdir/configure.gnu
54564 elif test -f "$ac_srcdir/configure"; then
54565 ac_sub_configure=$ac_srcdir/configure
54566 elif test -f "$ac_srcdir/configure.in"; then
54567 # This should be Cygnus configure.
54568 ac_sub_configure=$ac_aux_dir/configure
54569 else
54570 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54571 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54572 ac_sub_configure=
54573 fi
54574
54575 # The recursion is here.
54576 if test -n "$ac_sub_configure"; then
54577 # Make the cache file name correct relative to the subdirectory.
54578 case $cache_file in
54579 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54580 *) # Relative name.
54581 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54582 esac
54583
54584 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54585 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54586 # The eval makes quoting arguments work.
54587 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54588 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54589 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54590 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54591 { (exit 1); exit 1; }; }
54592 fi
54593
54594 cd "$ac_popdir"
54595 done
54596 fi
54597
54598
54599 echo
54600 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54601 echo ""
54602 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54603 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54604
54605 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54606 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54607 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54608 if test "$wxUSE_UNICODE" = "yes"; then
54609 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54610 echo " (using UTF-8)"
54611 else
54612 echo " (using wchar_t)"
54613 fi
54614 else
54615 echo
54616 fi
54617
54618 echo " What level of wxWidgets compatibility should be enabled?"
54619 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54620 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54621
54622 echo " Which libraries should wxWidgets use?"
54623 echo " jpeg ${wxUSE_LIBJPEG-none}"
54624 echo " png ${wxUSE_LIBPNG-none}"
54625 echo " regex ${wxUSE_REGEX}"
54626 echo " tiff ${wxUSE_LIBTIFF-none}"
54627 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54628 echo " xpm ${wxUSE_LIBXPM-none}"
54629 fi
54630 echo " zlib ${wxUSE_ZLIB}"
54631 echo " odbc ${wxUSE_ODBC}"
54632 echo " expat ${wxUSE_EXPAT}"
54633 echo " libmspack ${wxUSE_LIBMSPACK}"
54634 echo " sdl ${wxUSE_LIBSDL}"
54635
54636 echo ""
54637