]> git.saurik.com Git - wxWidgets.git/blob - configure
Use type safe list for model notifiers, sample corrected
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47631 2007-07-21 23:22:56Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 CFLAGS_VISIBILITY
711 CXXFLAGS_VISIBILITY
712 REZ
713 DEREZ
714 SETFILE
715 LIBICONV
716 SDL_CONFIG
717 SDL_CFLAGS
718 SDL_LIBS
719 LIBGNOMEPRINTUI_CFLAGS
720 LIBGNOMEPRINTUI_LIBS
721 GNOMEVFS_CFLAGS
722 GNOMEVFS_LIBS
723 HILDON_CFLAGS
724 HILDON_LIBS
725 CAIRO_CFLAGS
726 CAIRO_LIBS
727 GST_CFLAGS
728 GST_LIBS
729 ALL_WX_LIBS
730 BUILT_WX_LIBS
731 STD_BASE_LIBS
732 STD_GUI_LIBS
733 wxUSE_ZLIB
734 wxUSE_REGEX
735 wxUSE_EXPAT
736 wxUSE_ODBC
737 wxUSE_LIBJPEG
738 wxUSE_LIBPNG
739 wxUSE_LIBTIFF
740 VENDOR
741 OFFICIAL_BUILD
742 WX_FLAVOUR
743 WX_LIB_FLAVOUR
744 WXUNIV
745 MONOLITHIC
746 USE_PLUGINS
747 CXXWARNINGS
748 EXTRALIBS
749 EXTRALIBS_XML
750 EXTRALIBS_HTML
751 EXTRALIBS_ODBC
752 EXTRALIBS_GUI
753 EXTRALIBS_OPENGL
754 EXTRALIBS_SDL
755 WITH_PLUGIN_SDL
756 EXTRALIBS_GNOMEPRINT
757 EXTRALIBS_GNOMEVFS
758 EXTRALIBS_HILDON
759 UNICODE
760 BUILD
761 DEBUG_INFO
762 DEBUG_FLAG
763 TOOLKIT_LOWERCASE
764 TOOLKIT_VERSION
765 SAMPLES_RPATH_FLAG
766 SAMPLES_RPATH_POSTLINK
767 HOST_SUFFIX
768 CPPUNIT_CFLAGS
769 CPPUNIT_LIBS
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
861 COND_MONOLITHIC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
879 COND_PLATFORM_MAC_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
882 COND_PLATFORM_OS2_1
883 COND_PLATFORM_UNIX_0
884 COND_PLATFORM_UNIX_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
891 COND_SHARED_0
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
905 COND_SHARED_1
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
908 COND_TOOLKIT_
909 COND_TOOLKIT_COCOA
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_DFB
913 COND_TOOLKIT_DFB_USE_GUI_1
914 COND_TOOLKIT_GTK
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
922 COND_TOOLKIT_MAC
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MGL
926 COND_TOOLKIT_MGL_USE_GUI_1
927 COND_TOOLKIT_MOTIF
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_MSW
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
934 COND_TOOLKIT_PM
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_WINCE
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
941 COND_TOOLKIT_X11
942 COND_TOOLKIT_X11_USE_GUI_1
943 COND_UNICODE_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
946 COND_USE_GUI_0
947 COND_USE_GUI_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
954 COND_USE_ODBC_1
955 COND_USE_OPENGL_1
956 COND_USE_PCH_1
957 COND_USE_PLUGINS_0
958 COND_USE_RTTI_0
959 COND_USE_RTTI_1
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
963 COND_USE_SOVERSION_0
964 COND_USE_SOVERSOLARIS_1
965 COND_USE_STC_1
966 COND_USE_THREADS_0
967 COND_USE_THREADS_1
968 COND_USE_XRC_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
971 COND_WXUNIV_0
972 COND_WXUNIV_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
980 SHARED
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
983 USE_GUI
984 AFMINSTALL
985 WIN32INSTALL
986 TOOLKIT
987 TOOLKIT_DIR
988 TOOLCHAIN_NAME
989 TOOLCHAIN_FULLNAME
990 cross_compiling
991 WIDGET_SET
992 WX_RELEASE
993 WX_VERSION
994 WX_SUBVERSION
995 WX_CHARTYPE
996 WX_DEBUGTYPE
997 WXCONFIG_CPPFLAGS
998 WXCONFIG_CFLAGS
999 WXCONFIG_CXXFLAGS
1000 WXCONFIG_LIBS
1001 WXCONFIG_RPATH
1002 WXCONFIG_LDFLAGS_GUI
1003 WXCONFIG_RESFLAGS
1004 EXE_LINKER
1005 GUIDIST
1006 DISTDIR
1007 SAMPLES_SUBDIRS
1008 LDFLAGS_GL
1009 OPENGL_LIBS
1010 DMALLOC_LIBS
1011 WX_VERSION_TAG
1012 RESCOMP
1013 RESFLAGS
1014 RESPROGRAMOBJ
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1017 LIBWXMACRES
1018 POSTLINK_COMMAND
1019 MACSETFILE
1020 GCC
1021 CPPUNIT_CONFIG
1022 LIBOBJS
1023 LTLIBOBJS'
1024 ac_subst_files=''
1025 ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 CXX
1035 CXXFLAGS
1036 CCC
1037 PKG_CONFIG
1038 DIRECTFB_CFLAGS
1039 DIRECTFB_LIBS
1040 XMKMF
1041 PANGOX_CFLAGS
1042 PANGOX_LIBS
1043 PANGOFT2_CFLAGS
1044 PANGOFT2_LIBS
1045 PANGOXFT_CFLAGS
1046 PANGOXFT_LIBS
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1049 GNOMEVFS_CFLAGS
1050 GNOMEVFS_LIBS
1051 HILDON_CFLAGS
1052 HILDON_LIBS
1053 CAIRO_CFLAGS
1054 CAIRO_LIBS
1055 GST_CFLAGS
1056 GST_LIBS'
1057 ac_subdirs_all='src/expat'
1058
1059 # Initialize some variables set by options.
1060 ac_init_help=
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1065 exec_prefix=NONE
1066 no_create=
1067 no_recursion=
1068 prefix=NONE
1069 program_prefix=NONE
1070 program_suffix=NONE
1071 program_transform_name=s,x,x,
1072 silent=
1073 site=
1074 srcdir=
1075 verbose=
1076 x_includes=NONE
1077 x_libraries=NONE
1078
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1097 htmldir='${docdir}'
1098 dvidir='${docdir}'
1099 pdfdir='${docdir}'
1100 psdir='${docdir}'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1104
1105 ac_prev=
1106 ac_dashdash=
1107 for ac_option
1108 do
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1112 ac_prev=
1113 continue
1114 fi
1115
1116 case $ac_option in
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1118 *) ac_optarg=yes ;;
1119 esac
1120
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1122
1123 case $ac_dashdash$ac_option in
1124 --)
1125 ac_dashdash=yes ;;
1126
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1128 ac_prev=bindir ;;
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1131
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1136
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1143
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1146
1147 -datadir | --datadir | --datadi | --datad)
1148 ac_prev=datadir ;;
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1151
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1158
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1167
1168 -docdir | --docdir | --docdi | --doc | --do)
1169 ac_prev=docdir ;;
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1172
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1174 ac_prev=dvidir ;;
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1177
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1186
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1195
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1198 with_gas=yes ;;
1199
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1206
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1211
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1213 ac_prev=htmldir ;;
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1215 | --ht=*)
1216 htmldir=$ac_optarg ;;
1217
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1224
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1226 ac_prev=infodir ;;
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1229
1230 -libdir | --libdir | --libdi | --libd)
1231 ac_prev=libdir ;;
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1234
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1241
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1246
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1253
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 ac_prev=mandir ;;
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1258
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1261 with_fp=no ;;
1262
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1265 no_create=yes ;;
1266
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 no_recursion=yes ;;
1270
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1279
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1281 ac_prev=prefix ;;
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1284
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1291
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1298
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1315
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1317 ac_prev=pdfdir ;;
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1320
1321 -psdir | --psdir | --psdi | --psd | --ps)
1322 ac_prev=psdir ;;
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 psdir=$ac_optarg ;;
1325
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1328 silent=yes ;;
1329
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1331 ac_prev=sbindir ;;
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1333 | --sbi=* | --sb=*)
1334 sbindir=$ac_optarg ;;
1335
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1339 | --sha | --sh)
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1344 | --sha=* | --sh=*)
1345 sharedstatedir=$ac_optarg ;;
1346
1347 -site | --site | --sit)
1348 ac_prev=site ;;
1349 -site=* | --site=* | --sit=*)
1350 site=$ac_optarg ;;
1351
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1353 ac_prev=srcdir ;;
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1356
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1363
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1368
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 verbose=yes ;;
1371
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1374
1375 -with-* | --with-*)
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1383
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1392
1393 --x)
1394 # Obsolete; use --with-x.
1395 with_x=yes ;;
1396
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1403
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1410
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1414 ;;
1415
1416 *=*)
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1424
1425 *)
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 ;;
1432
1433 esac
1434 done
1435
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1440 fi
1441
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1447 do
1448 eval ac_val=\$$ac_var
1449 case $ac_val in
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1452 esac
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1455 done
1456
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1460 build=$build_alias
1461 host=$host_alias
1462 target=$target_alias
1463
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1471 cross_compiling=yes
1472 fi
1473 fi
1474
1475 ac_tool_prefix=
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477
1478 test "$silent" = yes && exec 6>/dev/null
1479
1480
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1489
1490
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1500 echo X"$0" |
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)[^/].*/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\/\)$/{
1510 s//\1/
1511 q
1512 }
1513 /^X\(\/\).*/{
1514 s//\1/
1515 q
1516 }
1517 s/.*/./; q'`
1518 srcdir=$ac_confdir
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 srcdir=..
1521 fi
1522 else
1523 ac_srcdir_defaulted=no
1524 fi
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1529 fi
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 ac_abs_confdir=`(
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1534 pwd)`
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1537 srcdir=.
1538 fi
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1542 case $srcdir in
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 esac
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 done
1551
1552 #
1553 # Report the --help message.
1554 #
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1558 cat <<_ACEOF
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1560
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1562
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1565
1566 Defaults for the options are specified in brackets.
1567
1568 Configuration:
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1583 [PREFIX]
1584
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1589
1590 For better control, use the options below.
1591
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1612 _ACEOF
1613
1614 cat <<\_ACEOF
1615
1616 X features:
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1619
1620 System types:
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1624 _ACEOF
1625 fi
1626
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 esac
1631 cat <<\_ACEOF
1632
1633 Optional Features:
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use help subsystem
1735 --enable-mshtmlhelp use MS HTML Help (win32)
1736 --enable-html use wxHTML sub-library
1737 --enable-htmlhelp use wxHTML-based help
1738 --enable-xrc use XRC resources sub-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl (Mac)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context 2D drawing API
1751 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile (Win32 only)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images (GIF file format)
1843 --enable-pcx use pcx images (PCX file format)
1844 --enable-tga use tga images (TGA file format)
1845 --enable-iff use iff images (IFF file format)
1846 --enable-pnm use pnm images (PNM file format)
1847 --enable-xpm use xpm images (XPM file format)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects (Win32 only)
1850 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1851 --enable-ownerdrawn use owner drawn controls (Win32 only)
1852 --enable-regkey use wxRegKey class (Win32 only)
1853 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1854 --enable-wxdib use wxDIB class (Win32 only)
1855 --disable-largefile omit support for large files
1856 --disable-gtktest do not try to compile and run a test GTK+ program
1857 --disable-gtktest Do not try to compile and run a test GTK program
1858 --disable-sdltest Do not try to compile and run a test SDL program
1859 --enable-omf use OMF object format (OS/2)
1860 --disable-dependency-tracking
1861 don't use dependency tracking even if the compiler
1862 can
1863 --disable-precomp-headers
1864 don't use precompiled headers even if compiler can
1865
1866 Optional Packages:
1867 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1868 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1869 --without-subdirs don't generate makefiles for samples/demos/...
1870 --with-flavour=NAME specify a name to identify this build
1871 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1872 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1873 --with-motif use Motif/Lesstif
1874 --with-mac use Mac OS X
1875 --with-cocoa use Cocoa
1876 --with-wine use Wine
1877 --with-msw use MS-Windows
1878 --with-pm use OS/2 Presentation Manager
1879 --with-mgl use SciTech MGL
1880 --with-directfb use DirectFB
1881 --with-microwin use MicroWindows
1882 --with-x11 use X11
1883 --with-libpng use libpng (PNG image format)
1884 --with-libjpeg use libjpeg (JPEG file format)
1885 --with-libtiff use libtiff (TIFF file format)
1886 --with-libxpm use libxpm (XPM file format)
1887 --with-libmspack use libmspack (CHM help files loading)
1888 --without-gnomeprint don't use GNOME printing libraries
1889 --with-gnomevfs use GNOME VFS for associating MIME types
1890 --with-hildon use Hildon framework for Nokia 770
1891 --with-opengl use OpenGL (or Mesa)
1892 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1893 --with-sdl use SDL for audio on Unix
1894 --with-regex enable support for wxRegEx class
1895 --with-zlib use zlib for LZW compression
1896 --with-odbc use the IODBC and wxODBC classes
1897 --with-expat enable XML support using expat parser
1898 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1899 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1900 --with-x use the X Window System
1901 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1902 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1903 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1904 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1905 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1906
1907 Some influential environment variables:
1908 CC C compiler command
1909 CFLAGS C compiler flags
1910 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1911 nonstandard directory <lib dir>
1912 LIBS libraries to pass to the linker, e.g. -l<library>
1913 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1914 you have headers in a nonstandard directory <include dir>
1915 CPP C preprocessor
1916 CXX C++ compiler command
1917 CXXFLAGS C++ compiler flags
1918 PKG_CONFIG path to pkg-config utility
1919 DIRECTFB_CFLAGS
1920 C compiler flags for DIRECTFB, overriding pkg-config
1921 DIRECTFB_LIBS
1922 linker flags for DIRECTFB, overriding pkg-config
1923 XMKMF Path to xmkmf, Makefile generator for X Window System
1924 PANGOX_CFLAGS
1925 C compiler flags for PANGOX, overriding pkg-config
1926 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1927 PANGOFT2_CFLAGS
1928 C compiler flags for PANGOFT2, overriding pkg-config
1929 PANGOFT2_LIBS
1930 linker flags for PANGOFT2, overriding pkg-config
1931 PANGOXFT_CFLAGS
1932 C compiler flags for PANGOXFT, overriding pkg-config
1933 PANGOXFT_LIBS
1934 linker flags for PANGOXFT, overriding pkg-config
1935 LIBGNOMEPRINTUI_CFLAGS
1936 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1937 LIBGNOMEPRINTUI_LIBS
1938 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 GNOMEVFS_CFLAGS
1940 C compiler flags for GNOMEVFS, overriding pkg-config
1941 GNOMEVFS_LIBS
1942 linker flags for GNOMEVFS, overriding pkg-config
1943 HILDON_CFLAGS
1944 C compiler flags for HILDON, overriding pkg-config
1945 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1946 CAIRO_CFLAGS
1947 C compiler flags for CAIRO, overriding pkg-config
1948 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1949 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1950 GST_LIBS linker flags for GST, overriding pkg-config
1951
1952 Use these variables to override the choices made by `configure' or to help
1953 it to find libraries and programs with nonstandard names/locations.
1954
1955 Report bugs to <wx-dev@lists.wxwidgets.org>.
1956 _ACEOF
1957 ac_status=$?
1958 fi
1959
1960 if test "$ac_init_help" = "recursive"; then
1961 # If there are subdirs, report their specific --help.
1962 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1963 test -d "$ac_dir" || continue
1964 ac_builddir=.
1965
1966 case "$ac_dir" in
1967 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1968 *)
1969 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1970 # A ".." for each directory in $ac_dir_suffix.
1971 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1972 case $ac_top_builddir_sub in
1973 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1974 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1975 esac ;;
1976 esac
1977 ac_abs_top_builddir=$ac_pwd
1978 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1979 # for backward compatibility:
1980 ac_top_builddir=$ac_top_build_prefix
1981
1982 case $srcdir in
1983 .) # We are building in place.
1984 ac_srcdir=.
1985 ac_top_srcdir=$ac_top_builddir_sub
1986 ac_abs_top_srcdir=$ac_pwd ;;
1987 [\\/]* | ?:[\\/]* ) # Absolute name.
1988 ac_srcdir=$srcdir$ac_dir_suffix;
1989 ac_top_srcdir=$srcdir
1990 ac_abs_top_srcdir=$srcdir ;;
1991 *) # Relative name.
1992 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1993 ac_top_srcdir=$ac_top_build_prefix$srcdir
1994 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1995 esac
1996 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1997
1998 cd "$ac_dir" || { ac_status=$?; continue; }
1999 # Check for guested configure.
2000 if test -f "$ac_srcdir/configure.gnu"; then
2001 echo &&
2002 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2003 elif test -f "$ac_srcdir/configure"; then
2004 echo &&
2005 $SHELL "$ac_srcdir/configure" --help=recursive
2006 else
2007 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2008 fi || ac_status=$?
2009 cd "$ac_pwd" || { ac_status=$?; break; }
2010 done
2011 fi
2012
2013 test -n "$ac_init_help" && exit $ac_status
2014 if $ac_init_version; then
2015 cat <<\_ACEOF
2016 wxWidgets configure 2.9.0
2017 generated by GNU Autoconf 2.61
2018
2019 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2020 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2021 This configure script is free software; the Free Software Foundation
2022 gives unlimited permission to copy, distribute and modify it.
2023 _ACEOF
2024 exit
2025 fi
2026 cat >config.log <<_ACEOF
2027 This file contains any messages produced by compilers while
2028 running configure, to aid debugging if configure makes a mistake.
2029
2030 It was created by wxWidgets $as_me 2.9.0, which was
2031 generated by GNU Autoconf 2.61. Invocation command line was
2032
2033 $ $0 $@
2034
2035 _ACEOF
2036 exec 5>>config.log
2037 {
2038 cat <<_ASUNAME
2039 ## --------- ##
2040 ## Platform. ##
2041 ## --------- ##
2042
2043 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2044 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2045 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2046 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2047 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2048
2049 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2050 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2051
2052 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2053 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2054 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2055 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2056 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2057 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2058 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2059
2060 _ASUNAME
2061
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 for as_dir in $PATH
2064 do
2065 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=.
2067 echo "PATH: $as_dir"
2068 done
2069 IFS=$as_save_IFS
2070
2071 } >&5
2072
2073 cat >&5 <<_ACEOF
2074
2075
2076 ## ----------- ##
2077 ## Core tests. ##
2078 ## ----------- ##
2079
2080 _ACEOF
2081
2082
2083 # Keep a trace of the command line.
2084 # Strip out --no-create and --no-recursion so they do not pile up.
2085 # Strip out --silent because we don't want to record it for future runs.
2086 # Also quote any args containing shell meta-characters.
2087 # Make two passes to allow for proper duplicate-argument suppression.
2088 ac_configure_args=
2089 ac_configure_args0=
2090 ac_configure_args1=
2091 ac_must_keep_next=false
2092 for ac_pass in 1 2
2093 do
2094 for ac_arg
2095 do
2096 case $ac_arg in
2097 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2099 | -silent | --silent | --silen | --sile | --sil)
2100 continue ;;
2101 *\'*)
2102 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2103 esac
2104 case $ac_pass in
2105 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2106 2)
2107 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2108 if test $ac_must_keep_next = true; then
2109 ac_must_keep_next=false # Got value, back to normal.
2110 else
2111 case $ac_arg in
2112 *=* | --config-cache | -C | -disable-* | --disable-* \
2113 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2114 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2115 | -with-* | --with-* | -without-* | --without-* | --x)
2116 case "$ac_configure_args0 " in
2117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2118 esac
2119 ;;
2120 -* ) ac_must_keep_next=true ;;
2121 esac
2122 fi
2123 ac_configure_args="$ac_configure_args '$ac_arg'"
2124 ;;
2125 esac
2126 done
2127 done
2128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2130
2131 # When interrupted or exit'd, cleanup temporary files, and complete
2132 # config.log. We remove comments because anyway the quotes in there
2133 # would cause problems or look ugly.
2134 # WARNING: Use '\'' to represent an apostrophe within the trap.
2135 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2136 trap 'exit_status=$?
2137 # Save into config.log some information that might help in debugging.
2138 {
2139 echo
2140
2141 cat <<\_ASBOX
2142 ## ---------------- ##
2143 ## Cache variables. ##
2144 ## ---------------- ##
2145 _ASBOX
2146 echo
2147 # The following way of writing the cache mishandles newlines in values,
2148 (
2149 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150 eval ac_val=\$$ac_var
2151 case $ac_val in #(
2152 *${as_nl}*)
2153 case $ac_var in #(
2154 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2155 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2156 esac
2157 case $ac_var in #(
2158 _ | IFS | as_nl) ;; #(
2159 *) $as_unset $ac_var ;;
2160 esac ;;
2161 esac
2162 done
2163 (set) 2>&1 |
2164 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2165 *${as_nl}ac_space=\ *)
2166 sed -n \
2167 "s/'\''/'\''\\\\'\'''\''/g;
2168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2169 ;; #(
2170 *)
2171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2172 ;;
2173 esac |
2174 sort
2175 )
2176 echo
2177
2178 cat <<\_ASBOX
2179 ## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##
2182 _ASBOX
2183 echo
2184 for ac_var in $ac_subst_vars
2185 do
2186 eval ac_val=\$$ac_var
2187 case $ac_val in
2188 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 esac
2190 echo "$ac_var='\''$ac_val'\''"
2191 done | sort
2192 echo
2193
2194 if test -n "$ac_subst_files"; then
2195 cat <<\_ASBOX
2196 ## ------------------- ##
2197 ## File substitutions. ##
2198 ## ------------------- ##
2199 _ASBOX
2200 echo
2201 for ac_var in $ac_subst_files
2202 do
2203 eval ac_val=\$$ac_var
2204 case $ac_val in
2205 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 esac
2207 echo "$ac_var='\''$ac_val'\''"
2208 done | sort
2209 echo
2210 fi
2211
2212 if test -s confdefs.h; then
2213 cat <<\_ASBOX
2214 ## ----------- ##
2215 ## confdefs.h. ##
2216 ## ----------- ##
2217 _ASBOX
2218 echo
2219 cat confdefs.h
2220 echo
2221 fi
2222 test "$ac_signal" != 0 &&
2223 echo "$as_me: caught signal $ac_signal"
2224 echo "$as_me: exit $exit_status"
2225 } >&5
2226 rm -f core *.core core.conftest.* &&
2227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2228 exit $exit_status
2229 ' 0
2230 for ac_signal in 1 2 13 15; do
2231 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2232 done
2233 ac_signal=0
2234
2235 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2236 rm -f -r conftest* confdefs.h
2237
2238 # Predefined preprocessor variables.
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2242 _ACEOF
2243
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2247 _ACEOF
2248
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2252 _ACEOF
2253
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_STRING "$PACKAGE_STRING"
2257 _ACEOF
2258
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2262 _ACEOF
2263
2264
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer explicitly selected file to automatically selected ones.
2267 if test -n "$CONFIG_SITE"; then
2268 set x "$CONFIG_SITE"
2269 elif test "x$prefix" != xNONE; then
2270 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2271 else
2272 set x "$ac_default_prefix/share/config.site" \
2273 "$ac_default_prefix/etc/config.site"
2274 fi
2275 shift
2276 for ac_site_file
2277 do
2278 if test -r "$ac_site_file"; then
2279 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2280 echo "$as_me: loading site script $ac_site_file" >&6;}
2281 sed 's/^/| /' "$ac_site_file" >&5
2282 . "$ac_site_file"
2283 fi
2284 done
2285
2286 if test -r "$cache_file"; then
2287 # Some versions of bash will fail to source /dev/null (special
2288 # files actually), so we avoid doing that.
2289 if test -f "$cache_file"; then
2290 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2291 echo "$as_me: loading cache $cache_file" >&6;}
2292 case $cache_file in
2293 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2294 *) . "./$cache_file";;
2295 esac
2296 fi
2297 else
2298 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2299 echo "$as_me: creating cache $cache_file" >&6;}
2300 >$cache_file
2301 fi
2302
2303 # Check that the precious variables saved in the cache have kept the same
2304 # value.
2305 ac_cache_corrupted=false
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2308 eval ac_new_set=\$ac_env_${ac_var}_set
2309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2310 eval ac_new_val=\$ac_env_${ac_var}_value
2311 case $ac_old_set,$ac_new_set in
2312 set,)
2313 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2314 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2316 ,set)
2317 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2318 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2319 ac_cache_corrupted=: ;;
2320 ,);;
2321 *)
2322 if test "x$ac_old_val" != "x$ac_new_val"; then
2323 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2324 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2325 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2326 echo "$as_me: former value: $ac_old_val" >&2;}
2327 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2328 echo "$as_me: current value: $ac_new_val" >&2;}
2329 ac_cache_corrupted=:
2330 fi;;
2331 esac
2332 # Pass precious variables to config.status.
2333 if test "$ac_new_set" = set; then
2334 case $ac_new_val in
2335 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2336 *) ac_arg=$ac_var=$ac_new_val ;;
2337 esac
2338 case " $ac_configure_args " in
2339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2340 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2341 esac
2342 fi
2343 done
2344 if $ac_cache_corrupted; then
2345 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2346 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2347 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2348 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2349 { (exit 1); exit 1; }; }
2350 fi
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376 ac_ext=c
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2381
2382
2383
2384
2385
2386 ac_aux_dir=
2387 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2388 if test -f "$ac_dir/install-sh"; then
2389 ac_aux_dir=$ac_dir
2390 ac_install_sh="$ac_aux_dir/install-sh -c"
2391 break
2392 elif test -f "$ac_dir/install.sh"; then
2393 ac_aux_dir=$ac_dir
2394 ac_install_sh="$ac_aux_dir/install.sh -c"
2395 break
2396 elif test -f "$ac_dir/shtool"; then
2397 ac_aux_dir=$ac_dir
2398 ac_install_sh="$ac_aux_dir/shtool install -c"
2399 break
2400 fi
2401 done
2402 if test -z "$ac_aux_dir"; then
2403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2404 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2405 { (exit 1); exit 1; }; }
2406 fi
2407
2408 # These three variables are undocumented and unsupported,
2409 # and are intended to be withdrawn in a future Autoconf release.
2410 # They can cause serious problems if a builder's source tree is in a directory
2411 # whose full name contains unusual characters.
2412 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2413 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2414 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2415
2416
2417 # Make sure we can run config.sub.
2418 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2419 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2420 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2421 { (exit 1); exit 1; }; }
2422
2423 { echo "$as_me:$LINENO: checking build system type" >&5
2424 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2425 if test "${ac_cv_build+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 else
2428 ac_build_alias=$build_alias
2429 test "x$ac_build_alias" = x &&
2430 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2431 test "x$ac_build_alias" = x &&
2432 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2433 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2434 { (exit 1); exit 1; }; }
2435 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2439
2440 fi
2441 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2442 echo "${ECHO_T}$ac_cv_build" >&6; }
2443 case $ac_cv_build in
2444 *-*-*) ;;
2445 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2446 echo "$as_me: error: invalid value of canonical build" >&2;}
2447 { (exit 1); exit 1; }; };;
2448 esac
2449 build=$ac_cv_build
2450 ac_save_IFS=$IFS; IFS='-'
2451 set x $ac_cv_build
2452 shift
2453 build_cpu=$1
2454 build_vendor=$2
2455 shift; shift
2456 # Remember, the first character of IFS is used to create $*,
2457 # except with old shells:
2458 build_os=$*
2459 IFS=$ac_save_IFS
2460 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2461
2462
2463 { echo "$as_me:$LINENO: checking host system type" >&5
2464 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_host+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 else
2468 if test "x$host_alias" = x; then
2469 ac_cv_host=$ac_cv_build
2470 else
2471 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2475 fi
2476
2477 fi
2478 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2479 echo "${ECHO_T}$ac_cv_host" >&6; }
2480 case $ac_cv_host in
2481 *-*-*) ;;
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2483 echo "$as_me: error: invalid value of canonical host" >&2;}
2484 { (exit 1); exit 1; }; };;
2485 esac
2486 host=$ac_cv_host
2487 ac_save_IFS=$IFS; IFS='-'
2488 set x $ac_cv_host
2489 shift
2490 host_cpu=$1
2491 host_vendor=$2
2492 shift; shift
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2495 host_os=$*
2496 IFS=$ac_save_IFS
2497 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2498
2499
2500 { echo "$as_me:$LINENO: checking target system type" >&5
2501 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_target+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test "x$target_alias" = x; then
2506 ac_cv_target=$ac_cv_host
2507 else
2508 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512 fi
2513
2514 fi
2515 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2516 echo "${ECHO_T}$ac_cv_target" >&6; }
2517 case $ac_cv_target in
2518 *-*-*) ;;
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2520 echo "$as_me: error: invalid value of canonical target" >&2;}
2521 { (exit 1); exit 1; }; };;
2522 esac
2523 target=$ac_cv_target
2524 ac_save_IFS=$IFS; IFS='-'
2525 set x $ac_cv_target
2526 shift
2527 target_cpu=$1
2528 target_vendor=$2
2529 shift; shift
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2532 target_os=$*
2533 IFS=$ac_save_IFS
2534 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2535
2536
2537 # The aliases save the names the user supplied, while $host etc.
2538 # will get canonicalized.
2539 test -n "$target_alias" &&
2540 test "$program_prefix$program_suffix$program_transform_name" = \
2541 NONENONEs,x,x, &&
2542 program_prefix=${target_alias}-
2543
2544
2545
2546 wx_major_version_number=2
2547 wx_minor_version_number=9
2548 wx_release_number=0
2549 wx_subrelease_number=0
2550
2551 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2552 WX_VERSION=$WX_RELEASE.$wx_release_number
2553 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2554
2555 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2556
2557
2558 wx_top_builddir="`pwd`"
2559
2560
2561
2562
2563 USE_UNIX=1
2564 USE_OS2=0
2565 USE_WIN32=0
2566 USE_DOS=0
2567 USE_BEOS=0
2568 USE_MAC=0
2569
2570 USE_AIX=
2571 USE_BSD= USE_DARWIN= USE_FREEBSD=
2572 USE_GNU= USE_HPUX=
2573 USE_LINUX=
2574 USE_NETBSD=
2575 USE_OPENBSD=
2576 USE_OSF= USE_SGI=
2577 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2578 USE_ULTRIX=
2579 USE_UNIXWARE=
2580
2581 USE_ALPHA=
2582
2583 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2584
2585 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2586
2587 DEFAULT_wxUSE_COCOA=0
2588 DEFAULT_wxUSE_GTK=0
2589 DEFAULT_wxUSE_MAC=0
2590 DEFAULT_wxUSE_MGL=0
2591 DEFAULT_wxUSE_MICROWIN=0
2592 DEFAULT_wxUSE_MOTIF=0
2593 DEFAULT_wxUSE_MSW=0
2594 DEFAULT_wxUSE_PM=0
2595 DEFAULT_wxUSE_X11=0
2596 DEFAULT_wxUSE_DFB=0
2597
2598 DEFAULT_DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_DEFAULT_wxUSE_GTK=0
2600 DEFAULT_DEFAULT_wxUSE_MAC=0
2601 DEFAULT_DEFAULT_wxUSE_MGL=0
2602 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2603 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2604 DEFAULT_DEFAULT_wxUSE_MSW=0
2605 DEFAULT_DEFAULT_wxUSE_PM=0
2606 DEFAULT_DEFAULT_wxUSE_X11=0
2607 DEFAULT_DEFAULT_wxUSE_DFB=0
2608
2609 PROGRAM_EXT=
2610 SO_SUFFIX=so
2611 SAMPLES_RPATH_FLAG=
2612 SAMPLES_RPATH_POSTLINK=
2613
2614 DEFAULT_STD_FLAG=yes
2615
2616 case "${host}" in
2617 *-hp-hpux* )
2618 USE_HPUX=1
2619 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2621 SO_SUFFIX=sl
2622 cat >>confdefs.h <<\_ACEOF
2623 #define __HPUX__ 1
2624 _ACEOF
2625
2626
2627 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2628 ;;
2629 *-*-linux* )
2630 USE_LINUX=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __LINUX__ 1
2633 _ACEOF
2634
2635 TMP=`uname -m`
2636 if test "x$TMP" = "xalpha"; then
2637 USE_ALPHA=1
2638 cat >>confdefs.h <<\_ACEOF
2639 #define __ALPHA__ 1
2640 _ACEOF
2641
2642 fi
2643 DEFAULT_DEFAULT_wxUSE_GTK=1
2644 ;;
2645 *-*-gnu* | *-*-k*bsd*-gnu )
2646 USE_GNU=1
2647 TMP=`uname -m`
2648 if test "x$TMP" = "xalpha"; then
2649 USE_ALPHA=1
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __ALPHA__ 1
2652 _ACEOF
2653
2654 fi
2655 DEFAULT_DEFAULT_wxUSE_GTK=1
2656 ;;
2657 *-*-irix5* | *-*-irix6* )
2658 USE_SGI=1
2659 USE_SVR4=1
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SGI__ 1
2662 _ACEOF
2663
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SVR4__ 1
2666 _ACEOF
2667
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 ;;
2670 *-*-solaris2* )
2671 USE_SUN=1
2672 USE_SOLARIS=1
2673 USE_SVR4=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SUN__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SOLARIS__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SVR4__ 1
2684 _ACEOF
2685
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2688 ;;
2689 *-*-sunos4* )
2690 USE_SUN=1
2691 USE_SUNOS=1
2692 USE_BSD=1
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SUN__ 1
2695 _ACEOF
2696
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SUNOS__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __BSD__ 1
2703 _ACEOF
2704
2705 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2706 ;;
2707 *-*-freebsd*)
2708 USE_BSD=1
2709 USE_FREEBSD=1
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __FREEBSD__ 1
2712 _ACEOF
2713
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __BSD__ 1
2716 _ACEOF
2717
2718 DEFAULT_DEFAULT_wxUSE_GTK=1
2719 ;;
2720 *-*-openbsd*|*-*-mirbsd*)
2721 USE_BSD=1
2722 USE_OPENBSD=1
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __OPENBSD__ 1
2725 _ACEOF
2726
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __BSD__ 1
2729 _ACEOF
2730
2731 DEFAULT_DEFAULT_wxUSE_GTK=1
2732 ;;
2733 *-*-netbsd*)
2734 USE_BSD=1
2735 USE_NETBSD=1
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __NETBSD__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __BSD__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_GTK=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2746
2747 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2748 ;;
2749 *-*-osf* )
2750 USE_ALPHA=1
2751 USE_OSF=1
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __ALPHA__ 1
2754 _ACEOF
2755
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __OSF__ 1
2758 _ACEOF
2759
2760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2761 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2762 ;;
2763 *-*-dgux5* )
2764 USE_ALPHA=1
2765 USE_SVR4=1
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __ALPHA__ 1
2768 _ACEOF
2769
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __SVR4__ 1
2772 _ACEOF
2773
2774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2775 ;;
2776 *-*-sysv5* )
2777 USE_SYSV=1
2778 USE_SVR4=1
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SYSV__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 ;;
2789 *-*-aix* )
2790 USE_AIX=1
2791 USE_SYSV=1
2792 USE_SVR4=1
2793 SO_SUFFIX=a
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __AIX__ 1
2796 _ACEOF
2797
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __SYSV__ 1
2800 _ACEOF
2801
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __SVR4__ 1
2804 _ACEOF
2805
2806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2807 ;;
2808
2809 *-*-*UnixWare*)
2810 USE_SYSV=1
2811 USE_SVR4=1
2812 USE_UNIXWARE=1
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __UNIXWARE__ 1
2815 _ACEOF
2816
2817 ;;
2818
2819 *-*-cygwin* | *-*-mingw32* )
2820 SO_SUFFIX=dll
2821 PROGRAM_EXT=".exe"
2822 DEFAULT_DEFAULT_wxUSE_MSW=1
2823 ;;
2824
2825 *-pc-msdosdjgpp )
2826 USE_UNIX=0
2827 USE_DOS=1
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __DOS__ 1
2830 _ACEOF
2831
2832 PROGRAM_EXT=".exe"
2833 DEFAULT_DEFAULT_wxUSE_MGL=1
2834 ;;
2835
2836 *-pc-os2_emx | *-pc-os2-emx )
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __EMX__ 1
2839 _ACEOF
2840
2841 USE_OS2=1
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __OS2__ 1
2844 _ACEOF
2845
2846 PROGRAM_EXT=".exe"
2847 DEFAULT_DEFAULT_wxUSE_PM=1
2848 CXX=gcc
2849 LDFLAGS="$LDFLAGS -Zcrtdll"
2850 ac_executable_extensions=".exe"
2851 export ac_executable_extensions
2852 ac_save_IFS="$IFS"
2853 IFS='\\'
2854 ac_TEMP_PATH=
2855 for ac_dir in $PATH; do
2856 IFS=$ac_save_IFS
2857 if test -z "$ac_TEMP_PATH"; then
2858 ac_TEMP_PATH="$ac_dir"
2859 else
2860 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2861 fi
2862 done
2863 export PATH="$ac_TEMP_PATH"
2864 unset ac_TEMP_PATH
2865 DEFAULT_STD_FLAG=no
2866 ;;
2867
2868 *-*-darwin* )
2869 USE_BSD=1
2870 USE_DARWIN=1
2871 SO_SUFFIX=dylib
2872 cat >>confdefs.h <<\_ACEOF
2873 #define __BSD__ 1
2874 _ACEOF
2875
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __DARWIN__ 1
2878 _ACEOF
2879
2880 cat >>confdefs.h <<\_ACEOF
2881 #define TARGET_CARBON 1
2882 _ACEOF
2883
2884 DEFAULT_DEFAULT_wxUSE_MAC=1
2885 DEFAULT_STD_FLAG=no
2886 ;;
2887 powerpc-apple-macos* )
2888 USE_UNIX=0
2889 ac_cv_c_bigendian=yes
2890 SO_SUFFIX=shlib
2891 DEFAULT_DEFAULT_wxUSE_MAC=1
2892 DEFAULT_STD_FLAG=no
2893 ;;
2894
2895 *-*-beos* )
2896 USE_BEOS=1
2897 cat >>confdefs.h <<\_ACEOF
2898 #define __BEOS__ 1
2899 _ACEOF
2900
2901 ;;
2902
2903 *)
2904 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2905 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2906 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2907 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2908
2909 DEFAULT_DEFAULT_wxUSE_X11=1
2910 DEFAULT_wxUSE_SHARED=no
2911 esac
2912
2913
2914
2915
2916 wx_arg_cache_file="configarg.cache"
2917 echo "loading argument cache $wx_arg_cache_file"
2918 rm -f ${wx_arg_cache_file}.tmp
2919 touch ${wx_arg_cache_file}.tmp
2920 touch ${wx_arg_cache_file}
2921
2922
2923 DEFAULT_wxUSE_ALL_FEATURES=yes
2924
2925 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2927
2928 DEFAULT_wxUSE_DMALLOC=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS=no
2930 DEFAULT_wxUSE_LIBHILDON=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_ODBC=no
2934 DEFAULT_wxUSE_OPENGL=no
2935
2936 DEFAULT_wxUSE_ACCESSIBILITY=no
2937 DEFAULT_wxUSE_DATAVIEWCTRL=no
2938 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2939 DEFAULT_wxUSE_MEDIACTRL=no
2940 DEFAULT_wxUSE_TAB_DIALOG=no
2941
2942 DEFAULT_wxUSE_UNICODE_UTF8=auto
2943 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2944
2945 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2946
2947 DEFAULT_wxUSE_GTK2=yes
2948
2949 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2950
2951
2952 for toolkit in `echo $ALL_TOOLKITS`; do
2953 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2954 if test "x$LINE" != "x" ; then
2955 has_toolkit_in_cache=1
2956 eval "DEFAULT_$LINE"
2957 eval "CACHE_$toolkit=1"
2958
2959 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2960 if test "x$LINE" != "x" ; then
2961 eval "DEFAULT_$LINE"
2962 fi
2963 fi
2964 done
2965
2966
2967
2968
2969
2970 enablestring=disable
2971 defaultval=
2972 if test -z "$defaultval"; then
2973 if test x"$enablestring" = xdisable; then
2974 defaultval=yes
2975 else
2976 defaultval=no
2977 fi
2978 fi
2979
2980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2981 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2982 # Check whether --enable-gui was given.
2983 if test "${enable_gui+set}" = set; then
2984 enableval=$enable_gui;
2985 if test "$enableval" = yes; then
2986 wx_cv_use_gui='wxUSE_GUI=yes'
2987 else
2988 wx_cv_use_gui='wxUSE_GUI=no'
2989 fi
2990 cache=yes
2991
2992 else
2993
2994 cache=no
2995 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x ; then
2997 eval "DEFAULT_$LINE"
2998 fi
2999
3000 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3001
3002 fi
3003
3004
3005 eval "$wx_cv_use_gui"
3006 if test "x$cache" = xyes; then
3007 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3008 fi
3009
3010 if test x"$enablestring" = xdisable; then
3011 if test $wxUSE_GUI = yes; then
3012 result=no
3013 else
3014 result=yes
3015 fi
3016 else
3017 result=$wxUSE_GUI
3018 fi
3019
3020 { echo "$as_me:$LINENO: result: $result" >&5
3021 echo "${ECHO_T}$result" >&6; }
3022
3023
3024 enablestring=
3025 defaultval=
3026 if test -z "$defaultval"; then
3027 if test x"$enablestring" = xdisable; then
3028 defaultval=yes
3029 else
3030 defaultval=no
3031 fi
3032 fi
3033
3034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3035 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3036 # Check whether --enable-monolithic was given.
3037 if test "${enable_monolithic+set}" = set; then
3038 enableval=$enable_monolithic;
3039 if test "$enableval" = yes; then
3040 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3041 else
3042 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3043 fi
3044 cache=yes
3045
3046 else
3047
3048 cache=no
3049 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3050 if test "x$LINE" != x ; then
3051 eval "DEFAULT_$LINE"
3052 fi
3053
3054 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3055
3056 fi
3057
3058
3059 eval "$wx_cv_use_monolithic"
3060 if test "x$cache" = xyes; then
3061 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3062 fi
3063
3064 if test x"$enablestring" = xdisable; then
3065 if test $wxUSE_MONOLITHIC = yes; then
3066 result=no
3067 else
3068 result=yes
3069 fi
3070 else
3071 result=$wxUSE_MONOLITHIC
3072 fi
3073
3074 { echo "$as_me:$LINENO: result: $result" >&5
3075 echo "${ECHO_T}$result" >&6; }
3076
3077
3078 enablestring=
3079 defaultval=
3080 if test -z "$defaultval"; then
3081 if test x"$enablestring" = xdisable; then
3082 defaultval=yes
3083 else
3084 defaultval=no
3085 fi
3086 fi
3087
3088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3089 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3090 # Check whether --enable-plugins was given.
3091 if test "${enable_plugins+set}" = set; then
3092 enableval=$enable_plugins;
3093 if test "$enableval" = yes; then
3094 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3095 else
3096 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3097 fi
3098 cache=yes
3099
3100 else
3101
3102 cache=no
3103 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3104 if test "x$LINE" != x ; then
3105 eval "DEFAULT_$LINE"
3106 fi
3107
3108 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3109
3110 fi
3111
3112
3113 eval "$wx_cv_use_plugins"
3114 if test "x$cache" = xyes; then
3115 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3116 fi
3117
3118 if test x"$enablestring" = xdisable; then
3119 if test $wxUSE_PLUGINS = yes; then
3120 result=no
3121 else
3122 result=yes
3123 fi
3124 else
3125 result=$wxUSE_PLUGINS
3126 fi
3127
3128 { echo "$as_me:$LINENO: result: $result" >&5
3129 echo "${ECHO_T}$result" >&6; }
3130
3131
3132 withstring=without
3133 defaultval=$wxUSE_ALL_FEATURES
3134 if test -z "$defaultval"; then
3135 if test x"$withstring" = xwithout; then
3136 defaultval=yes
3137 else
3138 defaultval=no
3139 fi
3140 fi
3141 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3142 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3143
3144 # Check whether --with-subdirs was given.
3145 if test "${with_subdirs+set}" = set; then
3146 withval=$with_subdirs;
3147 if test "$withval" = yes; then
3148 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3149 else
3150 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3151 fi
3152 cache=yes
3153
3154 else
3155
3156 cache=no
3157 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x ; then
3159 eval "DEFAULT_$LINE"
3160 fi
3161
3162 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3163
3164 fi
3165
3166
3167 eval "$wx_cv_use_subdirs"
3168 if test "x$cache" = xyes; then
3169 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3170 fi
3171
3172 if test x"$withstring" = xwithout; then
3173 if test $wxWITH_SUBDIRS = yes; then
3174 result=no
3175 else
3176 result=yes
3177 fi
3178 else
3179 result=$wxWITH_SUBDIRS
3180 fi
3181
3182 { echo "$as_me:$LINENO: result: $result" >&5
3183 echo "${ECHO_T}$result" >&6; }
3184
3185
3186 # Check whether --with-flavour was given.
3187 if test "${with_flavour+set}" = set; then
3188 withval=$with_flavour; WX_FLAVOUR="$withval"
3189 fi
3190
3191
3192 enablestring=
3193 defaultval=
3194 if test -z "$defaultval"; then
3195 if test x"$enablestring" = xdisable; then
3196 defaultval=yes
3197 else
3198 defaultval=no
3199 fi
3200 fi
3201
3202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3203 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3204 # Check whether --enable-official_build was given.
3205 if test "${enable_official_build+set}" = set; then
3206 enableval=$enable_official_build;
3207 if test "$enableval" = yes; then
3208 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3209 else
3210 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3211 fi
3212 cache=yes
3213
3214 else
3215
3216 cache=no
3217 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3218 if test "x$LINE" != x ; then
3219 eval "DEFAULT_$LINE"
3220 fi
3221
3222 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3223
3224 fi
3225
3226
3227 eval "$wx_cv_use_official_build"
3228 if test "x$cache" = xyes; then
3229 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3230 fi
3231
3232 if test x"$enablestring" = xdisable; then
3233 if test $wxUSE_OFFICIAL_BUILD = yes; then
3234 result=no
3235 else
3236 result=yes
3237 fi
3238 else
3239 result=$wxUSE_OFFICIAL_BUILD
3240 fi
3241
3242 { echo "$as_me:$LINENO: result: $result" >&5
3243 echo "${ECHO_T}$result" >&6; }
3244
3245 # Check whether --enable-vendor was given.
3246 if test "${enable_vendor+set}" = set; then
3247 enableval=$enable_vendor; VENDOR="$enableval"
3248 fi
3249
3250 if test "x$VENDOR" = "x"; then
3251 VENDOR="custom"
3252 fi
3253
3254
3255 enablestring=disable
3256 defaultval=
3257 if test -z "$defaultval"; then
3258 if test x"$enablestring" = xdisable; then
3259 defaultval=yes
3260 else
3261 defaultval=no
3262 fi
3263 fi
3264
3265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3266 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3267 # Check whether --enable-all-features was given.
3268 if test "${enable_all_features+set}" = set; then
3269 enableval=$enable_all_features;
3270 if test "$enableval" = yes; then
3271 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3272 else
3273 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3274 fi
3275 cache=yes
3276
3277 else
3278
3279 cache=no
3280 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3281 if test "x$LINE" != x ; then
3282 eval "DEFAULT_$LINE"
3283 fi
3284
3285 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3286
3287 fi
3288
3289
3290 eval "$wx_cv_use_all_features"
3291 if test "x$cache" = xyes; then
3292 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3293 fi
3294
3295 if test x"$enablestring" = xdisable; then
3296 if test $wxUSE_ALL_FEATURES = yes; then
3297 result=no
3298 else
3299 result=yes
3300 fi
3301 else
3302 result=$wxUSE_ALL_FEATURES
3303 fi
3304
3305 { echo "$as_me:$LINENO: result: $result" >&5
3306 echo "${ECHO_T}$result" >&6; }
3307
3308
3309
3310 if test "$wxUSE_GUI" = "yes"; then
3311
3312
3313 enablestring=
3314 defaultval=
3315 if test -z "$defaultval"; then
3316 if test x"$enablestring" = xdisable; then
3317 defaultval=yes
3318 else
3319 defaultval=no
3320 fi
3321 fi
3322
3323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3324 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3325 # Check whether --enable-universal was given.
3326 if test "${enable_universal+set}" = set; then
3327 enableval=$enable_universal;
3328 if test "$enableval" = yes; then
3329 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3330 else
3331 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3332 fi
3333 cache=yes
3334
3335 else
3336
3337 cache=no
3338 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3339 if test "x$LINE" != x ; then
3340 eval "DEFAULT_$LINE"
3341 fi
3342
3343 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3344
3345 fi
3346
3347
3348 eval "$wx_cv_use_universal"
3349 if test "x$cache" = xyes; then
3350 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3351 fi
3352
3353 if test x"$enablestring" = xdisable; then
3354 if test $wxUSE_UNIVERSAL = yes; then
3355 result=no
3356 else
3357 result=yes
3358 fi
3359 else
3360 result=$wxUSE_UNIVERSAL
3361 fi
3362
3363 { echo "$as_me:$LINENO: result: $result" >&5
3364 echo "${ECHO_T}$result" >&6; }
3365
3366 if test "$wxUSE_UNIVERSAL" = "yes"; then
3367
3368 # Check whether --with-themes was given.
3369 if test "${with_themes+set}" = set; then
3370 withval=$with_themes; wxUNIV_THEMES="$withval"
3371 fi
3372
3373 fi
3374
3375
3376 # Check whether --with-gtk was given.
3377 if test "${with_gtk+set}" = set; then
3378 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3379 fi
3380
3381
3382 # Check whether --with-motif was given.
3383 if test "${with_motif+set}" = set; then
3384 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3385 fi
3386
3387
3388 # Check whether --with-mac was given.
3389 if test "${with_mac+set}" = set; then
3390 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3391 fi
3392
3393
3394 # Check whether --with-cocoa was given.
3395 if test "${with_cocoa+set}" = set; then
3396 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3397 fi
3398
3399
3400 # Check whether --with-wine was given.
3401 if test "${with_wine+set}" = set; then
3402 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3403 fi
3404
3405
3406 # Check whether --with-msw was given.
3407 if test "${with_msw+set}" = set; then
3408 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3409 fi
3410
3411
3412 # Check whether --with-pm was given.
3413 if test "${with_pm+set}" = set; then
3414 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3415 fi
3416
3417
3418 # Check whether --with-mgl was given.
3419 if test "${with_mgl+set}" = set; then
3420 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3421 fi
3422
3423
3424 # Check whether --with-directfb was given.
3425 if test "${with_directfb+set}" = set; then
3426 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3427 fi
3428
3429
3430 # Check whether --with-microwin was given.
3431 if test "${with_microwin+set}" = set; then
3432 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3433 fi
3434
3435
3436 # Check whether --with-x11 was given.
3437 if test "${with_x11+set}" = set; then
3438 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3439 fi
3440
3441
3442 enablestring=
3443 defaultval=
3444 if test -z "$defaultval"; then
3445 if test x"$enablestring" = xdisable; then
3446 defaultval=yes
3447 else
3448 defaultval=no
3449 fi
3450 fi
3451
3452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3453 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3454 # Check whether --enable-nanox was given.
3455 if test "${enable_nanox+set}" = set; then
3456 enableval=$enable_nanox;
3457 if test "$enableval" = yes; then
3458 wx_cv_use_nanox='wxUSE_NANOX=yes'
3459 else
3460 wx_cv_use_nanox='wxUSE_NANOX=no'
3461 fi
3462 cache=yes
3463
3464 else
3465
3466 cache=no
3467 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3470 fi
3471
3472 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3473
3474 fi
3475
3476
3477 eval "$wx_cv_use_nanox"
3478 if test "x$cache" = xyes; then
3479 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3480 fi
3481
3482 if test x"$enablestring" = xdisable; then
3483 if test $wxUSE_NANOX = yes; then
3484 result=no
3485 else
3486 result=yes
3487 fi
3488 else
3489 result=$wxUSE_NANOX
3490 fi
3491
3492 { echo "$as_me:$LINENO: result: $result" >&5
3493 echo "${ECHO_T}$result" >&6; }
3494
3495
3496 # Check whether --enable-gtk2 was given.
3497 if test "${enable_gtk2+set}" = set; then
3498 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3499 fi
3500
3501
3502 enablestring=
3503 defaultval=
3504 if test -z "$defaultval"; then
3505 if test x"$enablestring" = xdisable; then
3506 defaultval=yes
3507 else
3508 defaultval=no
3509 fi
3510 fi
3511
3512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3513 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3514 # Check whether --enable-gpe was given.
3515 if test "${enable_gpe+set}" = set; then
3516 enableval=$enable_gpe;
3517 if test "$enableval" = yes; then
3518 wx_cv_use_gpe='wxUSE_GPE=yes'
3519 else
3520 wx_cv_use_gpe='wxUSE_GPE=no'
3521 fi
3522 cache=yes
3523
3524 else
3525
3526 cache=no
3527 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x ; then
3529 eval "DEFAULT_$LINE"
3530 fi
3531
3532 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3533
3534 fi
3535
3536
3537 eval "$wx_cv_use_gpe"
3538 if test "x$cache" = xyes; then
3539 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3540 fi
3541
3542 if test x"$enablestring" = xdisable; then
3543 if test $wxUSE_GPE = yes; then
3544 result=no
3545 else
3546 result=yes
3547 fi
3548 else
3549 result=$wxUSE_GPE
3550 fi
3551
3552 { echo "$as_me:$LINENO: result: $result" >&5
3553 echo "${ECHO_T}$result" >&6; }
3554
3555
3556
3557
3558 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3559 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3560
3561 # Check whether --with-libpng was given.
3562 if test "${with_libpng+set}" = set; then
3563 withval=$with_libpng;
3564 if test "$withval" = yes; then
3565 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3566 elif test "$withval" = no; then
3567 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3568 elif test "$withval" = sys; then
3569 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3570 elif test "$withval" = builtin; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3572 else
3573 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3574 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3575 { (exit 1); exit 1; }; }
3576 fi
3577 cache=yes
3578
3579 else
3580
3581 cache=no
3582 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x ; then
3584 eval "DEFAULT_$LINE"
3585 fi
3586
3587 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3588
3589 fi
3590
3591
3592 eval "$wx_cv_use_libpng"
3593 if test "x$cache" = xyes; then
3594 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3595 fi
3596
3597 if test "$wxUSE_LIBPNG" = yes; then
3598 { echo "$as_me:$LINENO: result: yes" >&5
3599 echo "${ECHO_T}yes" >&6; }
3600 elif test "$wxUSE_LIBPNG" = no; then
3601 { echo "$as_me:$LINENO: result: no" >&5
3602 echo "${ECHO_T}no" >&6; }
3603 elif test "$wxUSE_LIBPNG" = sys; then
3604 { echo "$as_me:$LINENO: result: system version" >&5
3605 echo "${ECHO_T}system version" >&6; }
3606 elif test "$wxUSE_LIBPNG" = builtin; then
3607 { echo "$as_me:$LINENO: result: builtin version" >&5
3608 echo "${ECHO_T}builtin version" >&6; }
3609 else
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3613 fi
3614
3615
3616 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3617 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3618
3619 # Check whether --with-libjpeg was given.
3620 if test "${with_libjpeg+set}" = set; then
3621 withval=$with_libjpeg;
3622 if test "$withval" = yes; then
3623 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3624 elif test "$withval" = no; then
3625 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3626 elif test "$withval" = sys; then
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3628 elif test "$withval" = builtin; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3630 else
3631 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3632 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3633 { (exit 1); exit 1; }; }
3634 fi
3635 cache=yes
3636
3637 else
3638
3639 cache=no
3640 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x ; then
3642 eval "DEFAULT_$LINE"
3643 fi
3644
3645 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3646
3647 fi
3648
3649
3650 eval "$wx_cv_use_libjpeg"
3651 if test "x$cache" = xyes; then
3652 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3653 fi
3654
3655 if test "$wxUSE_LIBJPEG" = yes; then
3656 { echo "$as_me:$LINENO: result: yes" >&5
3657 echo "${ECHO_T}yes" >&6; }
3658 elif test "$wxUSE_LIBJPEG" = no; then
3659 { echo "$as_me:$LINENO: result: no" >&5
3660 echo "${ECHO_T}no" >&6; }
3661 elif test "$wxUSE_LIBJPEG" = sys; then
3662 { echo "$as_me:$LINENO: result: system version" >&5
3663 echo "${ECHO_T}system version" >&6; }
3664 elif test "$wxUSE_LIBJPEG" = builtin; then
3665 { echo "$as_me:$LINENO: result: builtin version" >&5
3666 echo "${ECHO_T}builtin version" >&6; }
3667 else
3668 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3669 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3670 { (exit 1); exit 1; }; }
3671 fi
3672
3673
3674 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3675 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3676
3677 # Check whether --with-libtiff was given.
3678 if test "${with_libtiff+set}" = set; then
3679 withval=$with_libtiff;
3680 if test "$withval" = yes; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3682 elif test "$withval" = no; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3684 elif test "$withval" = sys; then
3685 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3686 elif test "$withval" = builtin; then
3687 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3688 else
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3692 fi
3693 cache=yes
3694
3695 else
3696
3697 cache=no
3698 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3699 if test "x$LINE" != x ; then
3700 eval "DEFAULT_$LINE"
3701 fi
3702
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3704
3705 fi
3706
3707
3708 eval "$wx_cv_use_libtiff"
3709 if test "x$cache" = xyes; then
3710 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3711 fi
3712
3713 if test "$wxUSE_LIBTIFF" = yes; then
3714 { echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6; }
3716 elif test "$wxUSE_LIBTIFF" = no; then
3717 { echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6; }
3719 elif test "$wxUSE_LIBTIFF" = sys; then
3720 { echo "$as_me:$LINENO: result: system version" >&5
3721 echo "${ECHO_T}system version" >&6; }
3722 elif test "$wxUSE_LIBTIFF" = builtin; then
3723 { echo "$as_me:$LINENO: result: builtin version" >&5
3724 echo "${ECHO_T}builtin version" >&6; }
3725 else
3726 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3727 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3728 { (exit 1); exit 1; }; }
3729 fi
3730
3731
3732 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3733 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3734
3735 # Check whether --with-libxpm was given.
3736 if test "${with_libxpm+set}" = set; then
3737 withval=$with_libxpm;
3738 if test "$withval" = yes; then
3739 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3740 elif test "$withval" = no; then
3741 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3742 elif test "$withval" = sys; then
3743 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3744 elif test "$withval" = builtin; then
3745 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3746 else
3747 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3748 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3749 { (exit 1); exit 1; }; }
3750 fi
3751 cache=yes
3752
3753 else
3754
3755 cache=no
3756 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x ; then
3758 eval "DEFAULT_$LINE"
3759 fi
3760
3761 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3762
3763 fi
3764
3765
3766 eval "$wx_cv_use_libxpm"
3767 if test "x$cache" = xyes; then
3768 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3769 fi
3770
3771 if test "$wxUSE_LIBXPM" = yes; then
3772 { echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6; }
3774 elif test "$wxUSE_LIBXPM" = no; then
3775 { echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6; }
3777 elif test "$wxUSE_LIBXPM" = sys; then
3778 { echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6; }
3780 elif test "$wxUSE_LIBXPM" = builtin; then
3781 { echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6; }
3783 else
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3787 fi
3788
3789
3790 withstring=
3791 defaultval=$wxUSE_ALL_FEATURES
3792 if test -z "$defaultval"; then
3793 if test x"$withstring" = xwithout; then
3794 defaultval=yes
3795 else
3796 defaultval=no
3797 fi
3798 fi
3799 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3800 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3801
3802 # Check whether --with-libmspack was given.
3803 if test "${with_libmspack+set}" = set; then
3804 withval=$with_libmspack;
3805 if test "$withval" = yes; then
3806 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3807 else
3808 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3809 fi
3810 cache=yes
3811
3812 else
3813
3814 cache=no
3815 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3816 if test "x$LINE" != x ; then
3817 eval "DEFAULT_$LINE"
3818 fi
3819
3820 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3821
3822 fi
3823
3824
3825 eval "$wx_cv_use_libmspack"
3826 if test "x$cache" = xyes; then
3827 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3828 fi
3829
3830 if test x"$withstring" = xwithout; then
3831 if test $wxUSE_LIBMSPACK = yes; then
3832 result=no
3833 else
3834 result=yes
3835 fi
3836 else
3837 result=$wxUSE_LIBMSPACK
3838 fi
3839
3840 { echo "$as_me:$LINENO: result: $result" >&5
3841 echo "${ECHO_T}$result" >&6; }
3842
3843
3844 withstring=without
3845 defaultval=$wxUSE_ALL_FEATURES
3846 if test -z "$defaultval"; then
3847 if test x"$withstring" = xwithout; then
3848 defaultval=yes
3849 else
3850 defaultval=no
3851 fi
3852 fi
3853 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3854 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3855
3856 # Check whether --with-gnomeprint was given.
3857 if test "${with_gnomeprint+set}" = set; then
3858 withval=$with_gnomeprint;
3859 if test "$withval" = yes; then
3860 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3861 else
3862 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3863 fi
3864 cache=yes
3865
3866 else
3867
3868 cache=no
3869 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x ; then
3871 eval "DEFAULT_$LINE"
3872 fi
3873
3874 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3875
3876 fi
3877
3878
3879 eval "$wx_cv_use_gnomeprint"
3880 if test "x$cache" = xyes; then
3881 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3882 fi
3883
3884 if test x"$withstring" = xwithout; then
3885 if test $wxUSE_LIBGNOMEPRINT = yes; then
3886 result=no
3887 else
3888 result=yes
3889 fi
3890 else
3891 result=$wxUSE_LIBGNOMEPRINT
3892 fi
3893
3894 { echo "$as_me:$LINENO: result: $result" >&5
3895 echo "${ECHO_T}$result" >&6; }
3896
3897
3898 withstring=
3899 defaultval=$wxUSE_ALL_FEATURES
3900 if test -z "$defaultval"; then
3901 if test x"$withstring" = xwithout; then
3902 defaultval=yes
3903 else
3904 defaultval=no
3905 fi
3906 fi
3907 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3908 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3909
3910 # Check whether --with-gnomevfs was given.
3911 if test "${with_gnomevfs+set}" = set; then
3912 withval=$with_gnomevfs;
3913 if test "$withval" = yes; then
3914 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3915 else
3916 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3917 fi
3918 cache=yes
3919
3920 else
3921
3922 cache=no
3923 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x ; then
3925 eval "DEFAULT_$LINE"
3926 fi
3927
3928 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3929
3930 fi
3931
3932
3933 eval "$wx_cv_use_gnomevfs"
3934 if test "x$cache" = xyes; then
3935 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3936 fi
3937
3938 if test x"$withstring" = xwithout; then
3939 if test $wxUSE_LIBGNOMEVFS = yes; then
3940 result=no
3941 else
3942 result=yes
3943 fi
3944 else
3945 result=$wxUSE_LIBGNOMEVFS
3946 fi
3947
3948 { echo "$as_me:$LINENO: result: $result" >&5
3949 echo "${ECHO_T}$result" >&6; }
3950
3951
3952 withstring=
3953 defaultval=$wxUSE_ALL_FEATURES
3954 if test -z "$defaultval"; then
3955 if test x"$withstring" = xwithout; then
3956 defaultval=yes
3957 else
3958 defaultval=no
3959 fi
3960 fi
3961 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3962 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3963
3964 # Check whether --with-hildon was given.
3965 if test "${with_hildon+set}" = set; then
3966 withval=$with_hildon;
3967 if test "$withval" = yes; then
3968 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3969 else
3970 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3971 fi
3972 cache=yes
3973
3974 else
3975
3976 cache=no
3977 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x ; then
3979 eval "DEFAULT_$LINE"
3980 fi
3981
3982 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3983
3984 fi
3985
3986
3987 eval "$wx_cv_use_hildon"
3988 if test "x$cache" = xyes; then
3989 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3990 fi
3991
3992 if test x"$withstring" = xwithout; then
3993 if test $wxUSE_LIBHILDON = yes; then
3994 result=no
3995 else
3996 result=yes
3997 fi
3998 else
3999 result=$wxUSE_LIBHILDON
4000 fi
4001
4002 { echo "$as_me:$LINENO: result: $result" >&5
4003 echo "${ECHO_T}$result" >&6; }
4004
4005
4006 withstring=
4007 defaultval=$wxUSE_ALL_FEATURES
4008 if test -z "$defaultval"; then
4009 if test x"$withstring" = xwithout; then
4010 defaultval=yes
4011 else
4012 defaultval=no
4013 fi
4014 fi
4015 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4016 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4017
4018 # Check whether --with-opengl was given.
4019 if test "${with_opengl+set}" = set; then
4020 withval=$with_opengl;
4021 if test "$withval" = yes; then
4022 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4023 else
4024 wx_cv_use_opengl='wxUSE_OPENGL=no'
4025 fi
4026 cache=yes
4027
4028 else
4029
4030 cache=no
4031 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4032 if test "x$LINE" != x ; then
4033 eval "DEFAULT_$LINE"
4034 fi
4035
4036 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4037
4038 fi
4039
4040
4041 eval "$wx_cv_use_opengl"
4042 if test "x$cache" = xyes; then
4043 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4044 fi
4045
4046 if test x"$withstring" = xwithout; then
4047 if test $wxUSE_OPENGL = yes; then
4048 result=no
4049 else
4050 result=yes
4051 fi
4052 else
4053 result=$wxUSE_OPENGL
4054 fi
4055
4056 { echo "$as_me:$LINENO: result: $result" >&5
4057 echo "${ECHO_T}$result" >&6; }
4058
4059
4060 fi
4061
4062
4063 withstring=
4064 defaultval=$wxUSE_ALL_FEATURES
4065 if test -z "$defaultval"; then
4066 if test x"$withstring" = xwithout; then
4067 defaultval=yes
4068 else
4069 defaultval=no
4070 fi
4071 fi
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4074
4075 # Check whether --with-dmalloc was given.
4076 if test "${with_dmalloc+set}" = set; then
4077 withval=$with_dmalloc;
4078 if test "$withval" = yes; then
4079 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4080 else
4081 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4082 fi
4083 cache=yes
4084
4085 else
4086
4087 cache=no
4088 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4089 if test "x$LINE" != x ; then
4090 eval "DEFAULT_$LINE"
4091 fi
4092
4093 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4094
4095 fi
4096
4097
4098 eval "$wx_cv_use_dmalloc"
4099 if test "x$cache" = xyes; then
4100 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4101 fi
4102
4103 if test x"$withstring" = xwithout; then
4104 if test $wxUSE_DMALLOC = yes; then
4105 result=no
4106 else
4107 result=yes
4108 fi
4109 else
4110 result=$wxUSE_DMALLOC
4111 fi
4112
4113 { echo "$as_me:$LINENO: result: $result" >&5
4114 echo "${ECHO_T}$result" >&6; }
4115
4116
4117 withstring=
4118 defaultval=$wxUSE_ALL_FEATURES
4119 if test -z "$defaultval"; then
4120 if test x"$withstring" = xwithout; then
4121 defaultval=yes
4122 else
4123 defaultval=no
4124 fi
4125 fi
4126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4127 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4128
4129 # Check whether --with-sdl was given.
4130 if test "${with_sdl+set}" = set; then
4131 withval=$with_sdl;
4132 if test "$withval" = yes; then
4133 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4134 else
4135 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4136 fi
4137 cache=yes
4138
4139 else
4140
4141 cache=no
4142 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x ; then
4144 eval "DEFAULT_$LINE"
4145 fi
4146
4147 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4148
4149 fi
4150
4151
4152 eval "$wx_cv_use_sdl"
4153 if test "x$cache" = xyes; then
4154 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4155 fi
4156
4157 if test x"$withstring" = xwithout; then
4158 if test $wxUSE_LIBSDL = yes; then
4159 result=no
4160 else
4161 result=yes
4162 fi
4163 else
4164 result=$wxUSE_LIBSDL
4165 fi
4166
4167 { echo "$as_me:$LINENO: result: $result" >&5
4168 echo "${ECHO_T}$result" >&6; }
4169
4170
4171 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4172 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4173
4174 # Check whether --with-regex was given.
4175 if test "${with_regex+set}" = set; then
4176 withval=$with_regex;
4177 if test "$withval" = yes; then
4178 wx_cv_use_regex='wxUSE_REGEX=yes'
4179 elif test "$withval" = no; then
4180 wx_cv_use_regex='wxUSE_REGEX=no'
4181 elif test "$withval" = sys; then
4182 wx_cv_use_regex='wxUSE_REGEX=sys'
4183 elif test "$withval" = builtin; then
4184 wx_cv_use_regex='wxUSE_REGEX=builtin'
4185 else
4186 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4187 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4188 { (exit 1); exit 1; }; }
4189 fi
4190 cache=yes
4191
4192 else
4193
4194 cache=no
4195 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x ; then
4197 eval "DEFAULT_$LINE"
4198 fi
4199
4200 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4201
4202 fi
4203
4204
4205 eval "$wx_cv_use_regex"
4206 if test "x$cache" = xyes; then
4207 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4208 fi
4209
4210 if test "$wxUSE_REGEX" = yes; then
4211 { echo "$as_me:$LINENO: result: yes" >&5
4212 echo "${ECHO_T}yes" >&6; }
4213 elif test "$wxUSE_REGEX" = no; then
4214 { echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6; }
4216 elif test "$wxUSE_REGEX" = sys; then
4217 { echo "$as_me:$LINENO: result: system version" >&5
4218 echo "${ECHO_T}system version" >&6; }
4219 elif test "$wxUSE_REGEX" = builtin; then
4220 { echo "$as_me:$LINENO: result: builtin version" >&5
4221 echo "${ECHO_T}builtin version" >&6; }
4222 else
4223 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4224 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4225 { (exit 1); exit 1; }; }
4226 fi
4227
4228
4229 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4230 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4231
4232 # Check whether --with-zlib was given.
4233 if test "${with_zlib+set}" = set; then
4234 withval=$with_zlib;
4235 if test "$withval" = yes; then
4236 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4237 elif test "$withval" = no; then
4238 wx_cv_use_zlib='wxUSE_ZLIB=no'
4239 elif test "$withval" = sys; then
4240 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4241 elif test "$withval" = builtin; then
4242 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4243 else
4244 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4245 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4246 { (exit 1); exit 1; }; }
4247 fi
4248 cache=yes
4249
4250 else
4251
4252 cache=no
4253 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4254 if test "x$LINE" != x ; then
4255 eval "DEFAULT_$LINE"
4256 fi
4257
4258 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4259
4260 fi
4261
4262
4263 eval "$wx_cv_use_zlib"
4264 if test "x$cache" = xyes; then
4265 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4266 fi
4267
4268 if test "$wxUSE_ZLIB" = yes; then
4269 { echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6; }
4271 elif test "$wxUSE_ZLIB" = no; then
4272 { echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6; }
4274 elif test "$wxUSE_ZLIB" = sys; then
4275 { echo "$as_me:$LINENO: result: system version" >&5
4276 echo "${ECHO_T}system version" >&6; }
4277 elif test "$wxUSE_ZLIB" = builtin; then
4278 { echo "$as_me:$LINENO: result: builtin version" >&5
4279 echo "${ECHO_T}builtin version" >&6; }
4280 else
4281 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4282 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4283 { (exit 1); exit 1; }; }
4284 fi
4285
4286
4287 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4288 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4289
4290 # Check whether --with-odbc was given.
4291 if test "${with_odbc+set}" = set; then
4292 withval=$with_odbc;
4293 if test "$withval" = yes; then
4294 wx_cv_use_odbc='wxUSE_ODBC=yes'
4295 elif test "$withval" = no; then
4296 wx_cv_use_odbc='wxUSE_ODBC=no'
4297 elif test "$withval" = sys; then
4298 wx_cv_use_odbc='wxUSE_ODBC=sys'
4299 elif test "$withval" = builtin; then
4300 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4301 else
4302 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4303 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4304 { (exit 1); exit 1; }; }
4305 fi
4306 cache=yes
4307
4308 else
4309
4310 cache=no
4311 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x ; then
4313 eval "DEFAULT_$LINE"
4314 fi
4315
4316 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4317
4318 fi
4319
4320
4321 eval "$wx_cv_use_odbc"
4322 if test "x$cache" = xyes; then
4323 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4324 fi
4325
4326 if test "$wxUSE_ODBC" = yes; then
4327 { echo "$as_me:$LINENO: result: yes" >&5
4328 echo "${ECHO_T}yes" >&6; }
4329 elif test "$wxUSE_ODBC" = no; then
4330 { echo "$as_me:$LINENO: result: no" >&5
4331 echo "${ECHO_T}no" >&6; }
4332 elif test "$wxUSE_ODBC" = sys; then
4333 { echo "$as_me:$LINENO: result: system version" >&5
4334 echo "${ECHO_T}system version" >&6; }
4335 elif test "$wxUSE_ODBC" = builtin; then
4336 { echo "$as_me:$LINENO: result: builtin version" >&5
4337 echo "${ECHO_T}builtin version" >&6; }
4338 else
4339 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4340 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4341 { (exit 1); exit 1; }; }
4342 fi
4343
4344
4345 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4346 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4347
4348 # Check whether --with-expat was given.
4349 if test "${with_expat+set}" = set; then
4350 withval=$with_expat;
4351 if test "$withval" = yes; then
4352 wx_cv_use_expat='wxUSE_EXPAT=yes'
4353 elif test "$withval" = no; then
4354 wx_cv_use_expat='wxUSE_EXPAT=no'
4355 elif test "$withval" = sys; then
4356 wx_cv_use_expat='wxUSE_EXPAT=sys'
4357 elif test "$withval" = builtin; then
4358 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4359 else
4360 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4361 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4362 { (exit 1); exit 1; }; }
4363 fi
4364 cache=yes
4365
4366 else
4367
4368 cache=no
4369 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x ; then
4371 eval "DEFAULT_$LINE"
4372 fi
4373
4374 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4375
4376 fi
4377
4378
4379 eval "$wx_cv_use_expat"
4380 if test "x$cache" = xyes; then
4381 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4382 fi
4383
4384 if test "$wxUSE_EXPAT" = yes; then
4385 { echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6; }
4387 elif test "$wxUSE_EXPAT" = no; then
4388 { echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6; }
4390 elif test "$wxUSE_EXPAT" = sys; then
4391 { echo "$as_me:$LINENO: result: system version" >&5
4392 echo "${ECHO_T}system version" >&6; }
4393 elif test "$wxUSE_EXPAT" = builtin; then
4394 { echo "$as_me:$LINENO: result: builtin version" >&5
4395 echo "${ECHO_T}builtin version" >&6; }
4396 else
4397 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4398 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4399 { (exit 1); exit 1; }; }
4400 fi
4401
4402
4403
4404
4405 enablestring=disable
4406 defaultval=
4407 if test -z "$defaultval"; then
4408 if test x"$enablestring" = xdisable; then
4409 defaultval=yes
4410 else
4411 defaultval=no
4412 fi
4413 fi
4414
4415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4416 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4417 # Check whether --enable-shared was given.
4418 if test "${enable_shared+set}" = set; then
4419 enableval=$enable_shared;
4420 if test "$enableval" = yes; then
4421 wx_cv_use_shared='wxUSE_SHARED=yes'
4422 else
4423 wx_cv_use_shared='wxUSE_SHARED=no'
4424 fi
4425 cache=yes
4426
4427 else
4428
4429 cache=no
4430 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x ; then
4432 eval "DEFAULT_$LINE"
4433 fi
4434
4435 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4436
4437 fi
4438
4439
4440 eval "$wx_cv_use_shared"
4441 if test "x$cache" = xyes; then
4442 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4443 fi
4444
4445 if test x"$enablestring" = xdisable; then
4446 if test $wxUSE_SHARED = yes; then
4447 result=no
4448 else
4449 result=yes
4450 fi
4451 else
4452 result=$wxUSE_SHARED
4453 fi
4454
4455 { echo "$as_me:$LINENO: result: $result" >&5
4456 echo "${ECHO_T}$result" >&6; }
4457
4458
4459 enablestring=disable
4460 defaultval=
4461 if test -z "$defaultval"; then
4462 if test x"$enablestring" = xdisable; then
4463 defaultval=yes
4464 else
4465 defaultval=no
4466 fi
4467 fi
4468
4469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4471 # Check whether --enable-optimise was given.
4472 if test "${enable_optimise+set}" = set; then
4473 enableval=$enable_optimise;
4474 if test "$enableval" = yes; then
4475 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4476 else
4477 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4478 fi
4479 cache=yes
4480
4481 else
4482
4483 cache=no
4484 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x ; then
4486 eval "DEFAULT_$LINE"
4487 fi
4488
4489 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4490
4491 fi
4492
4493
4494 eval "$wx_cv_use_optimise"
4495 if test "x$cache" = xyes; then
4496 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4497 fi
4498
4499 if test x"$enablestring" = xdisable; then
4500 if test $wxUSE_OPTIMISE = yes; then
4501 result=no
4502 else
4503 result=yes
4504 fi
4505 else
4506 result=$wxUSE_OPTIMISE
4507 fi
4508
4509 { echo "$as_me:$LINENO: result: $result" >&5
4510 echo "${ECHO_T}$result" >&6; }
4511
4512
4513 enablestring=
4514 defaultval=
4515 if test -z "$defaultval"; then
4516 if test x"$enablestring" = xdisable; then
4517 defaultval=yes
4518 else
4519 defaultval=no
4520 fi
4521 fi
4522
4523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4524 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4525 # Check whether --enable-debug was given.
4526 if test "${enable_debug+set}" = set; then
4527 enableval=$enable_debug;
4528 if test "$enableval" = yes; then
4529 wx_cv_use_debug='wxUSE_DEBUG=yes'
4530 else
4531 wx_cv_use_debug='wxUSE_DEBUG=no'
4532 fi
4533 cache=yes
4534
4535 else
4536
4537 cache=no
4538 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x ; then
4540 eval "DEFAULT_$LINE"
4541 fi
4542
4543 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4544
4545 fi
4546
4547
4548 eval "$wx_cv_use_debug"
4549 if test "x$cache" = xyes; then
4550 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4551 fi
4552
4553 if test x"$enablestring" = xdisable; then
4554 if test $wxUSE_DEBUG = yes; then
4555 result=no
4556 else
4557 result=yes
4558 fi
4559 else
4560 result=$wxUSE_DEBUG
4561 fi
4562
4563 { echo "$as_me:$LINENO: result: $result" >&5
4564 echo "${ECHO_T}$result" >&6; }
4565
4566
4567 enablestring=
4568 defaultval=
4569 if test -z "$defaultval"; then
4570 if test x"$enablestring" = xdisable; then
4571 defaultval=yes
4572 else
4573 defaultval=no
4574 fi
4575 fi
4576
4577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4579 # Check whether --enable-stl was given.
4580 if test "${enable_stl+set}" = set; then
4581 enableval=$enable_stl;
4582 if test "$enableval" = yes; then
4583 wx_cv_use_stl='wxUSE_STL=yes'
4584 else
4585 wx_cv_use_stl='wxUSE_STL=no'
4586 fi
4587 cache=yes
4588
4589 else
4590
4591 cache=no
4592 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x ; then
4594 eval "DEFAULT_$LINE"
4595 fi
4596
4597 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4598
4599 fi
4600
4601
4602 eval "$wx_cv_use_stl"
4603 if test "x$cache" = xyes; then
4604 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4605 fi
4606
4607 if test x"$enablestring" = xdisable; then
4608 if test $wxUSE_STL = yes; then
4609 result=no
4610 else
4611 result=yes
4612 fi
4613 else
4614 result=$wxUSE_STL
4615 fi
4616
4617 { echo "$as_me:$LINENO: result: $result" >&5
4618 echo "${ECHO_T}$result" >&6; }
4619
4620
4621 enablestring=
4622 defaultval=
4623 if test -z "$defaultval"; then
4624 if test x"$enablestring" = xdisable; then
4625 defaultval=yes
4626 else
4627 defaultval=no
4628 fi
4629 fi
4630
4631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4632 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4633 # Check whether --enable-std_iostreams was given.
4634 if test "${enable_std_iostreams+set}" = set; then
4635 enableval=$enable_std_iostreams;
4636 if test "$enableval" = yes; then
4637 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4638 else
4639 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4640 fi
4641 cache=yes
4642
4643 else
4644
4645 cache=no
4646 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4647 if test "x$LINE" != x ; then
4648 eval "DEFAULT_$LINE"
4649 fi
4650
4651 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4652
4653 fi
4654
4655
4656 eval "$wx_cv_use_std_iostreams"
4657 if test "x$cache" = xyes; then
4658 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4659 fi
4660
4661 if test x"$enablestring" = xdisable; then
4662 if test $wxUSE_STD_IOSTREAM = yes; then
4663 result=no
4664 else
4665 result=yes
4666 fi
4667 else
4668 result=$wxUSE_STD_IOSTREAM
4669 fi
4670
4671 { echo "$as_me:$LINENO: result: $result" >&5
4672 echo "${ECHO_T}$result" >&6; }
4673
4674
4675 enablestring=
4676 defaultval=
4677 if test -z "$defaultval"; then
4678 if test x"$enablestring" = xdisable; then
4679 defaultval=yes
4680 else
4681 defaultval=no
4682 fi
4683 fi
4684
4685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4686 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4687 # Check whether --enable-std_string was given.
4688 if test "${enable_std_string+set}" = set; then
4689 enableval=$enable_std_string;
4690 if test "$enableval" = yes; then
4691 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4692 else
4693 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4694 fi
4695 cache=yes
4696
4697 else
4698
4699 cache=no
4700 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x ; then
4702 eval "DEFAULT_$LINE"
4703 fi
4704
4705 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4706
4707 fi
4708
4709
4710 eval "$wx_cv_use_std_string"
4711 if test "x$cache" = xyes; then
4712 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4713 fi
4714
4715 if test x"$enablestring" = xdisable; then
4716 if test $wxUSE_STD_STRING = yes; then
4717 result=no
4718 else
4719 result=yes
4720 fi
4721 else
4722 result=$wxUSE_STD_STRING
4723 fi
4724
4725 { echo "$as_me:$LINENO: result: $result" >&5
4726 echo "${ECHO_T}$result" >&6; }
4727
4728
4729 enablestring=disable
4730 defaultval=
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4733 defaultval=yes
4734 else
4735 defaultval=no
4736 fi
4737 fi
4738
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4741 # Check whether --enable-unicode was given.
4742 if test "${enable_unicode+set}" = set; then
4743 enableval=$enable_unicode;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4746 else
4747 wx_cv_use_unicode='wxUSE_UNICODE=no'
4748 fi
4749 cache=yes
4750
4751 else
4752
4753 cache=no
4754 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4755 if test "x$LINE" != x ; then
4756 eval "DEFAULT_$LINE"
4757 fi
4758
4759 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4760
4761 fi
4762
4763
4764 eval "$wx_cv_use_unicode"
4765 if test "x$cache" = xyes; then
4766 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4767 fi
4768
4769 if test x"$enablestring" = xdisable; then
4770 if test $wxUSE_UNICODE = yes; then
4771 result=no
4772 else
4773 result=yes
4774 fi
4775 else
4776 result=$wxUSE_UNICODE
4777 fi
4778
4779 { echo "$as_me:$LINENO: result: $result" >&5
4780 echo "${ECHO_T}$result" >&6; }
4781
4782
4783 enablestring=
4784 defaultval=
4785 if test -z "$defaultval"; then
4786 if test x"$enablestring" = xdisable; then
4787 defaultval=yes
4788 else
4789 defaultval=no
4790 fi
4791 fi
4792
4793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4795 # Check whether --enable-mslu was given.
4796 if test "${enable_mslu+set}" = set; then
4797 enableval=$enable_mslu;
4798 if test "$enableval" = yes; then
4799 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4800 else
4801 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4802 fi
4803 cache=yes
4804
4805 else
4806
4807 cache=no
4808 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x ; then
4810 eval "DEFAULT_$LINE"
4811 fi
4812
4813 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4814
4815 fi
4816
4817
4818 eval "$wx_cv_use_mslu"
4819 if test "x$cache" = xyes; then
4820 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4821 fi
4822
4823 if test x"$enablestring" = xdisable; then
4824 if test $wxUSE_UNICODE_MSLU = yes; then
4825 result=no
4826 else
4827 result=yes
4828 fi
4829 else
4830 result=$wxUSE_UNICODE_MSLU
4831 fi
4832
4833 { echo "$as_me:$LINENO: result: $result" >&5
4834 echo "${ECHO_T}$result" >&6; }
4835
4836
4837 enablestring=
4838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4840 # Check whether --enable-utf8 was given.
4841 if test "${enable_utf8+set}" = set; then
4842 enableval=$enable_utf8;
4843 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4844 cache=yes
4845
4846 else
4847
4848 cache=no
4849 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4852 fi
4853
4854 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4855
4856 fi
4857
4858
4859 eval "$wx_cv_use_utf8"
4860 if test "x$cache" = xyes; then
4861 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4862 fi
4863
4864 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4865 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4866
4867
4868 enablestring=
4869 defaultval=
4870 if test -z "$defaultval"; then
4871 if test x"$enablestring" = xdisable; then
4872 defaultval=yes
4873 else
4874 defaultval=no
4875 fi
4876 fi
4877
4878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4879 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4880 # Check whether --enable-utf8only was given.
4881 if test "${enable_utf8only+set}" = set; then
4882 enableval=$enable_utf8only;
4883 if test "$enableval" = yes; then
4884 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4885 else
4886 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4887 fi
4888 cache=yes
4889
4890 else
4891
4892 cache=no
4893 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4894 if test "x$LINE" != x ; then
4895 eval "DEFAULT_$LINE"
4896 fi
4897
4898 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4899
4900 fi
4901
4902
4903 eval "$wx_cv_use_utf8only"
4904 if test "x$cache" = xyes; then
4905 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4906 fi
4907
4908 if test x"$enablestring" = xdisable; then
4909 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4910 result=no
4911 else
4912 result=yes
4913 fi
4914 else
4915 result=$wxUSE_UNICODE_UTF8_LOCALE
4916 fi
4917
4918 { echo "$as_me:$LINENO: result: $result" >&5
4919 echo "${ECHO_T}$result" >&6; }
4920
4921
4922 enablestring=
4923 defaultval=
4924 if test -z "$defaultval"; then
4925 if test x"$enablestring" = xdisable; then
4926 defaultval=yes
4927 else
4928 defaultval=no
4929 fi
4930 fi
4931
4932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4933 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4934 # Check whether --enable-extended_rtti was given.
4935 if test "${enable_extended_rtti+set}" = set; then
4936 enableval=$enable_extended_rtti;
4937 if test "$enableval" = yes; then
4938 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4939 else
4940 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4941 fi
4942 cache=yes
4943
4944 else
4945
4946 cache=no
4947 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x ; then
4949 eval "DEFAULT_$LINE"
4950 fi
4951
4952 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4953
4954 fi
4955
4956
4957 eval "$wx_cv_use_extended_rtti"
4958 if test "x$cache" = xyes; then
4959 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4960 fi
4961
4962 if test x"$enablestring" = xdisable; then
4963 if test $wxUSE_EXTENDED_RTTI = yes; then
4964 result=no
4965 else
4966 result=yes
4967 fi
4968 else
4969 result=$wxUSE_EXTENDED_RTTI
4970 fi
4971
4972 { echo "$as_me:$LINENO: result: $result" >&5
4973 echo "${ECHO_T}$result" >&6; }
4974
4975 if test "$USE_OS2" = "1"; then
4976 DEFAULT_wxUSE_OMF=no
4977
4978 enablestring=
4979 defaultval=
4980 if test -z "$defaultval"; then
4981 if test x"$enablestring" = xdisable; then
4982 defaultval=yes
4983 else
4984 defaultval=no
4985 fi
4986 fi
4987
4988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4990 # Check whether --enable-omf was given.
4991 if test "${enable_omf+set}" = set; then
4992 enableval=$enable_omf;
4993 if test "$enableval" = yes; then
4994 wx_cv_use_omf='wxUSE_OMF=yes'
4995 else
4996 wx_cv_use_omf='wxUSE_OMF=no'
4997 fi
4998 cache=yes
4999
5000 else
5001
5002 cache=no
5003 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x ; then
5005 eval "DEFAULT_$LINE"
5006 fi
5007
5008 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5009
5010 fi
5011
5012
5013 eval "$wx_cv_use_omf"
5014 if test "x$cache" = xyes; then
5015 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5016 fi
5017
5018 if test x"$enablestring" = xdisable; then
5019 if test $wxUSE_OMF = yes; then
5020 result=no
5021 else
5022 result=yes
5023 fi
5024 else
5025 result=$wxUSE_OMF
5026 fi
5027
5028 { echo "$as_me:$LINENO: result: $result" >&5
5029 echo "${ECHO_T}$result" >&6; }
5030
5031 fi
5032
5033 if test "$wxUSE_DEBUG" = "yes"; then
5034 DEFAULT_wxUSE_DEBUG_FLAG=yes
5035 DEFAULT_wxUSE_DEBUG_INFO=yes
5036 BUILD=debug
5037 elif test "$wxUSE_DEBUG" = "no"; then
5038 DEFAULT_wxUSE_DEBUG_FLAG=no
5039 DEFAULT_wxUSE_DEBUG_INFO=no
5040 BUILD=release
5041 fi
5042
5043
5044 enablestring=
5045 defaultval=
5046 if test -z "$defaultval"; then
5047 if test x"$enablestring" = xdisable; then
5048 defaultval=yes
5049 else
5050 defaultval=no
5051 fi
5052 fi
5053
5054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5055 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5056 # Check whether --enable-debug_flag was given.
5057 if test "${enable_debug_flag+set}" = set; then
5058 enableval=$enable_debug_flag;
5059 if test "$enableval" = yes; then
5060 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5061 else
5062 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5063 fi
5064 cache=yes
5065
5066 else
5067
5068 cache=no
5069 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5070 if test "x$LINE" != x ; then
5071 eval "DEFAULT_$LINE"
5072 fi
5073
5074 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5075
5076 fi
5077
5078
5079 eval "$wx_cv_use_debug_flag"
5080 if test "x$cache" = xyes; then
5081 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5082 fi
5083
5084 if test x"$enablestring" = xdisable; then
5085 if test $wxUSE_DEBUG_FLAG = yes; then
5086 result=no
5087 else
5088 result=yes
5089 fi
5090 else
5091 result=$wxUSE_DEBUG_FLAG
5092 fi
5093
5094 { echo "$as_me:$LINENO: result: $result" >&5
5095 echo "${ECHO_T}$result" >&6; }
5096
5097
5098 enablestring=
5099 defaultval=
5100 if test -z "$defaultval"; then
5101 if test x"$enablestring" = xdisable; then
5102 defaultval=yes
5103 else
5104 defaultval=no
5105 fi
5106 fi
5107
5108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5109 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5110 # Check whether --enable-debug_info was given.
5111 if test "${enable_debug_info+set}" = set; then
5112 enableval=$enable_debug_info;
5113 if test "$enableval" = yes; then
5114 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5115 else
5116 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5117 fi
5118 cache=yes
5119
5120 else
5121
5122 cache=no
5123 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5124 if test "x$LINE" != x ; then
5125 eval "DEFAULT_$LINE"
5126 fi
5127
5128 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5129
5130 fi
5131
5132
5133 eval "$wx_cv_use_debug_info"
5134 if test "x$cache" = xyes; then
5135 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5136 fi
5137
5138 if test x"$enablestring" = xdisable; then
5139 if test $wxUSE_DEBUG_INFO = yes; then
5140 result=no
5141 else
5142 result=yes
5143 fi
5144 else
5145 result=$wxUSE_DEBUG_INFO
5146 fi
5147
5148 { echo "$as_me:$LINENO: result: $result" >&5
5149 echo "${ECHO_T}$result" >&6; }
5150
5151
5152 enablestring=
5153 defaultval=
5154 if test -z "$defaultval"; then
5155 if test x"$enablestring" = xdisable; then
5156 defaultval=yes
5157 else
5158 defaultval=no
5159 fi
5160 fi
5161
5162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5164 # Check whether --enable-debug_gdb was given.
5165 if test "${enable_debug_gdb+set}" = set; then
5166 enableval=$enable_debug_gdb;
5167 if test "$enableval" = yes; then
5168 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5169 else
5170 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5171 fi
5172 cache=yes
5173
5174 else
5175
5176 cache=no
5177 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5180 fi
5181
5182 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5183
5184 fi
5185
5186
5187 eval "$wx_cv_use_debug_gdb"
5188 if test "x$cache" = xyes; then
5189 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5190 fi
5191
5192 if test x"$enablestring" = xdisable; then
5193 if test $wxUSE_DEBUG_GDB = yes; then
5194 result=no
5195 else
5196 result=yes
5197 fi
5198 else
5199 result=$wxUSE_DEBUG_GDB
5200 fi
5201
5202 { echo "$as_me:$LINENO: result: $result" >&5
5203 echo "${ECHO_T}$result" >&6; }
5204
5205
5206 enablestring=
5207 defaultval=
5208 if test -z "$defaultval"; then
5209 if test x"$enablestring" = xdisable; then
5210 defaultval=yes
5211 else
5212 defaultval=no
5213 fi
5214 fi
5215
5216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5218 # Check whether --enable-debug_cntxt was given.
5219 if test "${enable_debug_cntxt+set}" = set; then
5220 enableval=$enable_debug_cntxt;
5221 if test "$enableval" = yes; then
5222 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5223 else
5224 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5225 fi
5226 cache=yes
5227
5228 else
5229
5230 cache=no
5231 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x ; then
5233 eval "DEFAULT_$LINE"
5234 fi
5235
5236 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5237
5238 fi
5239
5240
5241 eval "$wx_cv_use_debug_cntxt"
5242 if test "x$cache" = xyes; then
5243 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5244 fi
5245
5246 if test x"$enablestring" = xdisable; then
5247 if test $wxUSE_DEBUG_CONTEXT = yes; then
5248 result=no
5249 else
5250 result=yes
5251 fi
5252 else
5253 result=$wxUSE_DEBUG_CONTEXT
5254 fi
5255
5256 { echo "$as_me:$LINENO: result: $result" >&5
5257 echo "${ECHO_T}$result" >&6; }
5258
5259
5260 enablestring=
5261 defaultval=
5262 if test -z "$defaultval"; then
5263 if test x"$enablestring" = xdisable; then
5264 defaultval=yes
5265 else
5266 defaultval=no
5267 fi
5268 fi
5269
5270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5272 # Check whether --enable-mem_tracing was given.
5273 if test "${enable_mem_tracing+set}" = set; then
5274 enableval=$enable_mem_tracing;
5275 if test "$enableval" = yes; then
5276 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5277 else
5278 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5279 fi
5280 cache=yes
5281
5282 else
5283
5284 cache=no
5285 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x ; then
5287 eval "DEFAULT_$LINE"
5288 fi
5289
5290 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5291
5292 fi
5293
5294
5295 eval "$wx_cv_use_mem_tracing"
5296 if test "x$cache" = xyes; then
5297 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5298 fi
5299
5300 if test x"$enablestring" = xdisable; then
5301 if test $wxUSE_MEM_TRACING = yes; then
5302 result=no
5303 else
5304 result=yes
5305 fi
5306 else
5307 result=$wxUSE_MEM_TRACING
5308 fi
5309
5310 { echo "$as_me:$LINENO: result: $result" >&5
5311 echo "${ECHO_T}$result" >&6; }
5312
5313
5314 enablestring=
5315 defaultval=
5316 if test -z "$defaultval"; then
5317 if test x"$enablestring" = xdisable; then
5318 defaultval=yes
5319 else
5320 defaultval=no
5321 fi
5322 fi
5323
5324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5325 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5326 # Check whether --enable-profile was given.
5327 if test "${enable_profile+set}" = set; then
5328 enableval=$enable_profile;
5329 if test "$enableval" = yes; then
5330 wx_cv_use_profile='wxUSE_PROFILE=yes'
5331 else
5332 wx_cv_use_profile='wxUSE_PROFILE=no'
5333 fi
5334 cache=yes
5335
5336 else
5337
5338 cache=no
5339 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5340 if test "x$LINE" != x ; then
5341 eval "DEFAULT_$LINE"
5342 fi
5343
5344 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5345
5346 fi
5347
5348
5349 eval "$wx_cv_use_profile"
5350 if test "x$cache" = xyes; then
5351 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5352 fi
5353
5354 if test x"$enablestring" = xdisable; then
5355 if test $wxUSE_PROFILE = yes; then
5356 result=no
5357 else
5358 result=yes
5359 fi
5360 else
5361 result=$wxUSE_PROFILE
5362 fi
5363
5364 { echo "$as_me:$LINENO: result: $result" >&5
5365 echo "${ECHO_T}$result" >&6; }
5366
5367
5368 enablestring=
5369 defaultval=
5370 if test -z "$defaultval"; then
5371 if test x"$enablestring" = xdisable; then
5372 defaultval=yes
5373 else
5374 defaultval=no
5375 fi
5376 fi
5377
5378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5380 # Check whether --enable-no_rtti was given.
5381 if test "${enable_no_rtti+set}" = set; then
5382 enableval=$enable_no_rtti;
5383 if test "$enableval" = yes; then
5384 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5385 else
5386 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5387 fi
5388 cache=yes
5389
5390 else
5391
5392 cache=no
5393 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5396 fi
5397
5398 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5399
5400 fi
5401
5402
5403 eval "$wx_cv_use_no_rtti"
5404 if test "x$cache" = xyes; then
5405 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5406 fi
5407
5408 if test x"$enablestring" = xdisable; then
5409 if test $wxUSE_NO_RTTI = yes; then
5410 result=no
5411 else
5412 result=yes
5413 fi
5414 else
5415 result=$wxUSE_NO_RTTI
5416 fi
5417
5418 { echo "$as_me:$LINENO: result: $result" >&5
5419 echo "${ECHO_T}$result" >&6; }
5420
5421
5422 enablestring=
5423 defaultval=
5424 if test -z "$defaultval"; then
5425 if test x"$enablestring" = xdisable; then
5426 defaultval=yes
5427 else
5428 defaultval=no
5429 fi
5430 fi
5431
5432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5434 # Check whether --enable-no_exceptions was given.
5435 if test "${enable_no_exceptions+set}" = set; then
5436 enableval=$enable_no_exceptions;
5437 if test "$enableval" = yes; then
5438 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5439 else
5440 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5441 fi
5442 cache=yes
5443
5444 else
5445
5446 cache=no
5447 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x ; then
5449 eval "DEFAULT_$LINE"
5450 fi
5451
5452 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5453
5454 fi
5455
5456
5457 eval "$wx_cv_use_no_exceptions"
5458 if test "x$cache" = xyes; then
5459 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5460 fi
5461
5462 if test x"$enablestring" = xdisable; then
5463 if test $wxUSE_NO_EXCEPTIONS = yes; then
5464 result=no
5465 else
5466 result=yes
5467 fi
5468 else
5469 result=$wxUSE_NO_EXCEPTIONS
5470 fi
5471
5472 { echo "$as_me:$LINENO: result: $result" >&5
5473 echo "${ECHO_T}$result" >&6; }
5474
5475
5476 enablestring=
5477 defaultval=
5478 if test -z "$defaultval"; then
5479 if test x"$enablestring" = xdisable; then
5480 defaultval=yes
5481 else
5482 defaultval=no
5483 fi
5484 fi
5485
5486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5487 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5488 # Check whether --enable-permissive was given.
5489 if test "${enable_permissive+set}" = set; then
5490 enableval=$enable_permissive;
5491 if test "$enableval" = yes; then
5492 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5493 else
5494 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5495 fi
5496 cache=yes
5497
5498 else
5499
5500 cache=no
5501 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5502 if test "x$LINE" != x ; then
5503 eval "DEFAULT_$LINE"
5504 fi
5505
5506 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5507
5508 fi
5509
5510
5511 eval "$wx_cv_use_permissive"
5512 if test "x$cache" = xyes; then
5513 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5514 fi
5515
5516 if test x"$enablestring" = xdisable; then
5517 if test $wxUSE_PERMISSIVE = yes; then
5518 result=no
5519 else
5520 result=yes
5521 fi
5522 else
5523 result=$wxUSE_PERMISSIVE
5524 fi
5525
5526 { echo "$as_me:$LINENO: result: $result" >&5
5527 echo "${ECHO_T}$result" >&6; }
5528
5529
5530 enablestring=
5531 defaultval=
5532 if test -z "$defaultval"; then
5533 if test x"$enablestring" = xdisable; then
5534 defaultval=yes
5535 else
5536 defaultval=no
5537 fi
5538 fi
5539
5540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5542 # Check whether --enable-no_deps was given.
5543 if test "${enable_no_deps+set}" = set; then
5544 enableval=$enable_no_deps;
5545 if test "$enableval" = yes; then
5546 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5547 else
5548 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5549 fi
5550 cache=yes
5551
5552 else
5553
5554 cache=no
5555 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x ; then
5557 eval "DEFAULT_$LINE"
5558 fi
5559
5560 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5561
5562 fi
5563
5564
5565 eval "$wx_cv_use_no_deps"
5566 if test "x$cache" = xyes; then
5567 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5568 fi
5569
5570 if test x"$enablestring" = xdisable; then
5571 if test $wxUSE_NO_DEPS = yes; then
5572 result=no
5573 else
5574 result=yes
5575 fi
5576 else
5577 result=$wxUSE_NO_DEPS
5578 fi
5579
5580 { echo "$as_me:$LINENO: result: $result" >&5
5581 echo "${ECHO_T}$result" >&6; }
5582
5583
5584 enablestring=disable
5585 defaultval=
5586 if test -z "$defaultval"; then
5587 if test x"$enablestring" = xdisable; then
5588 defaultval=yes
5589 else
5590 defaultval=no
5591 fi
5592 fi
5593
5594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5595 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5596 # Check whether --enable-vararg_macros was given.
5597 if test "${enable_vararg_macros+set}" = set; then
5598 enableval=$enable_vararg_macros;
5599 if test "$enableval" = yes; then
5600 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5601 else
5602 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5603 fi
5604 cache=yes
5605
5606 else
5607
5608 cache=no
5609 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x ; then
5611 eval "DEFAULT_$LINE"
5612 fi
5613
5614 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5615
5616 fi
5617
5618
5619 eval "$wx_cv_use_vararg_macros"
5620 if test "x$cache" = xyes; then
5621 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5622 fi
5623
5624 if test x"$enablestring" = xdisable; then
5625 if test $wxUSE_VARARG_MACROS = yes; then
5626 result=no
5627 else
5628 result=yes
5629 fi
5630 else
5631 result=$wxUSE_VARARG_MACROS
5632 fi
5633
5634 { echo "$as_me:$LINENO: result: $result" >&5
5635 echo "${ECHO_T}$result" >&6; }
5636
5637
5638 enablestring=
5639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5641 # Check whether --enable-universal_binary was given.
5642 if test "${enable_universal_binary+set}" = set; then
5643 enableval=$enable_universal_binary;
5644 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5645 cache=yes
5646
5647 else
5648
5649 cache=no
5650 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x ; then
5652 eval "DEFAULT_$LINE"
5653 fi
5654
5655 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5656
5657 fi
5658
5659
5660 eval "$wx_cv_use_universal_binary"
5661 if test "x$cache" = xyes; then
5662 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5663 fi
5664
5665 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5666 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5667
5668
5669
5670 enablestring=
5671 defaultval=
5672 if test -z "$defaultval"; then
5673 if test x"$enablestring" = xdisable; then
5674 defaultval=yes
5675 else
5676 defaultval=no
5677 fi
5678 fi
5679
5680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5682 # Check whether --enable-compat26 was given.
5683 if test "${enable_compat26+set}" = set; then
5684 enableval=$enable_compat26;
5685 if test "$enableval" = yes; then
5686 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5687 else
5688 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5689 fi
5690 cache=yes
5691
5692 else
5693
5694 cache=no
5695 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x ; then
5697 eval "DEFAULT_$LINE"
5698 fi
5699
5700 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5701
5702 fi
5703
5704
5705 eval "$wx_cv_use_compat26"
5706 if test "x$cache" = xyes; then
5707 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5708 fi
5709
5710 if test x"$enablestring" = xdisable; then
5711 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5712 result=no
5713 else
5714 result=yes
5715 fi
5716 else
5717 result=$WXWIN_COMPATIBILITY_2_6
5718 fi
5719
5720 { echo "$as_me:$LINENO: result: $result" >&5
5721 echo "${ECHO_T}$result" >&6; }
5722
5723
5724 enablestring=disable
5725 defaultval=
5726 if test -z "$defaultval"; then
5727 if test x"$enablestring" = xdisable; then
5728 defaultval=yes
5729 else
5730 defaultval=no
5731 fi
5732 fi
5733
5734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5735 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5736 # Check whether --enable-compat28 was given.
5737 if test "${enable_compat28+set}" = set; then
5738 enableval=$enable_compat28;
5739 if test "$enableval" = yes; then
5740 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5741 else
5742 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5743 fi
5744 cache=yes
5745
5746 else
5747
5748 cache=no
5749 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5750 if test "x$LINE" != x ; then
5751 eval "DEFAULT_$LINE"
5752 fi
5753
5754 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5755
5756 fi
5757
5758
5759 eval "$wx_cv_use_compat28"
5760 if test "x$cache" = xyes; then
5761 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5762 fi
5763
5764 if test x"$enablestring" = xdisable; then
5765 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5766 result=no
5767 else
5768 result=yes
5769 fi
5770 else
5771 result=$WXWIN_COMPATIBILITY_2_8
5772 fi
5773
5774 { echo "$as_me:$LINENO: result: $result" >&5
5775 echo "${ECHO_T}$result" >&6; }
5776
5777
5778
5779 enablestring=disable
5780 defaultval=
5781 if test -z "$defaultval"; then
5782 if test x"$enablestring" = xdisable; then
5783 defaultval=yes
5784 else
5785 defaultval=no
5786 fi
5787 fi
5788
5789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5791 # Check whether --enable-rpath was given.
5792 if test "${enable_rpath+set}" = set; then
5793 enableval=$enable_rpath;
5794 if test "$enableval" = yes; then
5795 wx_cv_use_rpath='wxUSE_RPATH=yes'
5796 else
5797 wx_cv_use_rpath='wxUSE_RPATH=no'
5798 fi
5799 cache=yes
5800
5801 else
5802
5803 cache=no
5804 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5807 fi
5808
5809 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5810
5811 fi
5812
5813
5814 eval "$wx_cv_use_rpath"
5815 if test "x$cache" = xyes; then
5816 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5817 fi
5818
5819 if test x"$enablestring" = xdisable; then
5820 if test $wxUSE_RPATH = yes; then
5821 result=no
5822 else
5823 result=yes
5824 fi
5825 else
5826 result=$wxUSE_RPATH
5827 fi
5828
5829 { echo "$as_me:$LINENO: result: $result" >&5
5830 echo "${ECHO_T}$result" >&6; }
5831
5832
5833
5834 enablestring=
5835 defaultval=
5836 if test -z "$defaultval"; then
5837 if test x"$enablestring" = xdisable; then
5838 defaultval=yes
5839 else
5840 defaultval=no
5841 fi
5842 fi
5843
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5846 # Check whether --enable-objc_uniquifying was given.
5847 if test "${enable_objc_uniquifying+set}" = set; then
5848 enableval=$enable_objc_uniquifying;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5851 else
5852 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5853 fi
5854 cache=yes
5855
5856 else
5857
5858 cache=no
5859 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x ; then
5861 eval "DEFAULT_$LINE"
5862 fi
5863
5864 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5865
5866 fi
5867
5868
5869 eval "$wx_cv_use_objc_uniquifying"
5870 if test "x$cache" = xyes; then
5871 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5872 fi
5873
5874 if test x"$enablestring" = xdisable; then
5875 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5876 result=no
5877 else
5878 result=yes
5879 fi
5880 else
5881 result=$wxUSE_OBJC_UNIQUIFYING
5882 fi
5883
5884 { echo "$as_me:$LINENO: result: $result" >&5
5885 echo "${ECHO_T}$result" >&6; }
5886
5887
5888
5889 enablestring=disable
5890 defaultval=
5891 if test -z "$defaultval"; then
5892 if test x"$enablestring" = xdisable; then
5893 defaultval=yes
5894 else
5895 defaultval=no
5896 fi
5897 fi
5898
5899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5900 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5901 # Check whether --enable-visibility was given.
5902 if test "${enable_visibility+set}" = set; then
5903 enableval=$enable_visibility;
5904 if test "$enableval" = yes; then
5905 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5906 else
5907 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5908 fi
5909 cache=yes
5910
5911 else
5912
5913 cache=no
5914 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5915 if test "x$LINE" != x ; then
5916 eval "DEFAULT_$LINE"
5917 fi
5918
5919 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5920
5921 fi
5922
5923
5924 eval "$wx_cv_use_visibility"
5925 if test "x$cache" = xyes; then
5926 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5927 fi
5928
5929 if test x"$enablestring" = xdisable; then
5930 if test $wxUSE_VISIBILITY = yes; then
5931 result=no
5932 else
5933 result=yes
5934 fi
5935 else
5936 result=$wxUSE_VISIBILITY
5937 fi
5938
5939 { echo "$as_me:$LINENO: result: $result" >&5
5940 echo "${ECHO_T}$result" >&6; }
5941
5942
5943
5944
5945 enablestring=
5946 defaultval=$wxUSE_ALL_FEATURES
5947 if test -z "$defaultval"; then
5948 if test x"$enablestring" = xdisable; then
5949 defaultval=yes
5950 else
5951 defaultval=no
5952 fi
5953 fi
5954
5955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5956 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5957 # Check whether --enable-intl was given.
5958 if test "${enable_intl+set}" = set; then
5959 enableval=$enable_intl;
5960 if test "$enableval" = yes; then
5961 wx_cv_use_intl='wxUSE_INTL=yes'
5962 else
5963 wx_cv_use_intl='wxUSE_INTL=no'
5964 fi
5965 cache=yes
5966
5967 else
5968
5969 cache=no
5970 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5971 if test "x$LINE" != x ; then
5972 eval "DEFAULT_$LINE"
5973 fi
5974
5975 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5976
5977 fi
5978
5979
5980 eval "$wx_cv_use_intl"
5981 if test "x$cache" = xyes; then
5982 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5983 fi
5984
5985 if test x"$enablestring" = xdisable; then
5986 if test $wxUSE_INTL = yes; then
5987 result=no
5988 else
5989 result=yes
5990 fi
5991 else
5992 result=$wxUSE_INTL
5993 fi
5994
5995 { echo "$as_me:$LINENO: result: $result" >&5
5996 echo "${ECHO_T}$result" >&6; }
5997
5998
5999 enablestring=
6000 defaultval=$wxUSE_ALL_FEATURES
6001 if test -z "$defaultval"; then
6002 if test x"$enablestring" = xdisable; then
6003 defaultval=yes
6004 else
6005 defaultval=no
6006 fi
6007 fi
6008
6009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6011 # Check whether --enable-config was given.
6012 if test "${enable_config+set}" = set; then
6013 enableval=$enable_config;
6014 if test "$enableval" = yes; then
6015 wx_cv_use_config='wxUSE_CONFIG=yes'
6016 else
6017 wx_cv_use_config='wxUSE_CONFIG=no'
6018 fi
6019 cache=yes
6020
6021 else
6022
6023 cache=no
6024 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x ; then
6026 eval "DEFAULT_$LINE"
6027 fi
6028
6029 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6030
6031 fi
6032
6033
6034 eval "$wx_cv_use_config"
6035 if test "x$cache" = xyes; then
6036 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6037 fi
6038
6039 if test x"$enablestring" = xdisable; then
6040 if test $wxUSE_CONFIG = yes; then
6041 result=no
6042 else
6043 result=yes
6044 fi
6045 else
6046 result=$wxUSE_CONFIG
6047 fi
6048
6049 { echo "$as_me:$LINENO: result: $result" >&5
6050 echo "${ECHO_T}$result" >&6; }
6051
6052
6053
6054 enablestring=
6055 defaultval=$wxUSE_ALL_FEATURES
6056 if test -z "$defaultval"; then
6057 if test x"$enablestring" = xdisable; then
6058 defaultval=yes
6059 else
6060 defaultval=no
6061 fi
6062 fi
6063
6064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6066 # Check whether --enable-protocols was given.
6067 if test "${enable_protocols+set}" = set; then
6068 enableval=$enable_protocols;
6069 if test "$enableval" = yes; then
6070 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6071 else
6072 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6073 fi
6074 cache=yes
6075
6076 else
6077
6078 cache=no
6079 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6082 fi
6083
6084 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6085
6086 fi
6087
6088
6089 eval "$wx_cv_use_protocols"
6090 if test "x$cache" = xyes; then
6091 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6092 fi
6093
6094 if test x"$enablestring" = xdisable; then
6095 if test $wxUSE_PROTOCOL = yes; then
6096 result=no
6097 else
6098 result=yes
6099 fi
6100 else
6101 result=$wxUSE_PROTOCOL
6102 fi
6103
6104 { echo "$as_me:$LINENO: result: $result" >&5
6105 echo "${ECHO_T}$result" >&6; }
6106
6107
6108 enablestring=
6109 defaultval=$wxUSE_ALL_FEATURES
6110 if test -z "$defaultval"; then
6111 if test x"$enablestring" = xdisable; then
6112 defaultval=yes
6113 else
6114 defaultval=no
6115 fi
6116 fi
6117
6118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6119 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6120 # Check whether --enable-ftp was given.
6121 if test "${enable_ftp+set}" = set; then
6122 enableval=$enable_ftp;
6123 if test "$enableval" = yes; then
6124 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6125 else
6126 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6127 fi
6128 cache=yes
6129
6130 else
6131
6132 cache=no
6133 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6136 fi
6137
6138 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6139
6140 fi
6141
6142
6143 eval "$wx_cv_use_ftp"
6144 if test "x$cache" = xyes; then
6145 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6146 fi
6147
6148 if test x"$enablestring" = xdisable; then
6149 if test $wxUSE_PROTOCOL_FTP = yes; then
6150 result=no
6151 else
6152 result=yes
6153 fi
6154 else
6155 result=$wxUSE_PROTOCOL_FTP
6156 fi
6157
6158 { echo "$as_me:$LINENO: result: $result" >&5
6159 echo "${ECHO_T}$result" >&6; }
6160
6161
6162 enablestring=
6163 defaultval=$wxUSE_ALL_FEATURES
6164 if test -z "$defaultval"; then
6165 if test x"$enablestring" = xdisable; then
6166 defaultval=yes
6167 else
6168 defaultval=no
6169 fi
6170 fi
6171
6172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6173 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6174 # Check whether --enable-http was given.
6175 if test "${enable_http+set}" = set; then
6176 enableval=$enable_http;
6177 if test "$enableval" = yes; then
6178 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6179 else
6180 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6181 fi
6182 cache=yes
6183
6184 else
6185
6186 cache=no
6187 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6188 if test "x$LINE" != x ; then
6189 eval "DEFAULT_$LINE"
6190 fi
6191
6192 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6193
6194 fi
6195
6196
6197 eval "$wx_cv_use_http"
6198 if test "x$cache" = xyes; then
6199 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6200 fi
6201
6202 if test x"$enablestring" = xdisable; then
6203 if test $wxUSE_PROTOCOL_HTTP = yes; then
6204 result=no
6205 else
6206 result=yes
6207 fi
6208 else
6209 result=$wxUSE_PROTOCOL_HTTP
6210 fi
6211
6212 { echo "$as_me:$LINENO: result: $result" >&5
6213 echo "${ECHO_T}$result" >&6; }
6214
6215
6216 enablestring=
6217 defaultval=$wxUSE_ALL_FEATURES
6218 if test -z "$defaultval"; then
6219 if test x"$enablestring" = xdisable; then
6220 defaultval=yes
6221 else
6222 defaultval=no
6223 fi
6224 fi
6225
6226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6228 # Check whether --enable-fileproto was given.
6229 if test "${enable_fileproto+set}" = set; then
6230 enableval=$enable_fileproto;
6231 if test "$enableval" = yes; then
6232 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6233 else
6234 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6235 fi
6236 cache=yes
6237
6238 else
6239
6240 cache=no
6241 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x ; then
6243 eval "DEFAULT_$LINE"
6244 fi
6245
6246 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6247
6248 fi
6249
6250
6251 eval "$wx_cv_use_fileproto"
6252 if test "x$cache" = xyes; then
6253 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test x"$enablestring" = xdisable; then
6257 if test $wxUSE_PROTOCOL_FILE = yes; then
6258 result=no
6259 else
6260 result=yes
6261 fi
6262 else
6263 result=$wxUSE_PROTOCOL_FILE
6264 fi
6265
6266 { echo "$as_me:$LINENO: result: $result" >&5
6267 echo "${ECHO_T}$result" >&6; }
6268
6269
6270 enablestring=
6271 defaultval=$wxUSE_ALL_FEATURES
6272 if test -z "$defaultval"; then
6273 if test x"$enablestring" = xdisable; then
6274 defaultval=yes
6275 else
6276 defaultval=no
6277 fi
6278 fi
6279
6280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6282 # Check whether --enable-sockets was given.
6283 if test "${enable_sockets+set}" = set; then
6284 enableval=$enable_sockets;
6285 if test "$enableval" = yes; then
6286 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6287 else
6288 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6289 fi
6290 cache=yes
6291
6292 else
6293
6294 cache=no
6295 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x ; then
6297 eval "DEFAULT_$LINE"
6298 fi
6299
6300 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6301
6302 fi
6303
6304
6305 eval "$wx_cv_use_sockets"
6306 if test "x$cache" = xyes; then
6307 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6308 fi
6309
6310 if test x"$enablestring" = xdisable; then
6311 if test $wxUSE_SOCKETS = yes; then
6312 result=no
6313 else
6314 result=yes
6315 fi
6316 else
6317 result=$wxUSE_SOCKETS
6318 fi
6319
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6322
6323
6324 enablestring=
6325 defaultval=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x"$enablestring" = xdisable; then
6328 defaultval=yes
6329 else
6330 defaultval=no
6331 fi
6332 fi
6333
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6336 # Check whether --enable-ole was given.
6337 if test "${enable_ole+set}" = set; then
6338 enableval=$enable_ole;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_ole='wxUSE_OLE=yes'
6341 else
6342 wx_cv_use_ole='wxUSE_OLE=no'
6343 fi
6344 cache=yes
6345
6346 else
6347
6348 cache=no
6349 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x ; then
6351 eval "DEFAULT_$LINE"
6352 fi
6353
6354 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6355
6356 fi
6357
6358
6359 eval "$wx_cv_use_ole"
6360 if test "x$cache" = xyes; then
6361 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6362 fi
6363
6364 if test x"$enablestring" = xdisable; then
6365 if test $wxUSE_OLE = yes; then
6366 result=no
6367 else
6368 result=yes
6369 fi
6370 else
6371 result=$wxUSE_OLE
6372 fi
6373
6374 { echo "$as_me:$LINENO: result: $result" >&5
6375 echo "${ECHO_T}$result" >&6; }
6376
6377
6378 enablestring=
6379 defaultval=$wxUSE_ALL_FEATURES
6380 if test -z "$defaultval"; then
6381 if test x"$enablestring" = xdisable; then
6382 defaultval=yes
6383 else
6384 defaultval=no
6385 fi
6386 fi
6387
6388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6390 # Check whether --enable-dataobj was given.
6391 if test "${enable_dataobj+set}" = set; then
6392 enableval=$enable_dataobj;
6393 if test "$enableval" = yes; then
6394 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6395 else
6396 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6397 fi
6398 cache=yes
6399
6400 else
6401
6402 cache=no
6403 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6406 fi
6407
6408 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6409
6410 fi
6411
6412
6413 eval "$wx_cv_use_dataobj"
6414 if test "x$cache" = xyes; then
6415 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6416 fi
6417
6418 if test x"$enablestring" = xdisable; then
6419 if test $wxUSE_DATAOBJ = yes; then
6420 result=no
6421 else
6422 result=yes
6423 fi
6424 else
6425 result=$wxUSE_DATAOBJ
6426 fi
6427
6428 { echo "$as_me:$LINENO: result: $result" >&5
6429 echo "${ECHO_T}$result" >&6; }
6430
6431
6432
6433 enablestring=
6434 defaultval=$wxUSE_ALL_FEATURES
6435 if test -z "$defaultval"; then
6436 if test x"$enablestring" = xdisable; then
6437 defaultval=yes
6438 else
6439 defaultval=no
6440 fi
6441 fi
6442
6443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6445 # Check whether --enable-ipc was given.
6446 if test "${enable_ipc+set}" = set; then
6447 enableval=$enable_ipc;
6448 if test "$enableval" = yes; then
6449 wx_cv_use_ipc='wxUSE_IPC=yes'
6450 else
6451 wx_cv_use_ipc='wxUSE_IPC=no'
6452 fi
6453 cache=yes
6454
6455 else
6456
6457 cache=no
6458 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x ; then
6460 eval "DEFAULT_$LINE"
6461 fi
6462
6463 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6464
6465 fi
6466
6467
6468 eval "$wx_cv_use_ipc"
6469 if test "x$cache" = xyes; then
6470 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6471 fi
6472
6473 if test x"$enablestring" = xdisable; then
6474 if test $wxUSE_IPC = yes; then
6475 result=no
6476 else
6477 result=yes
6478 fi
6479 else
6480 result=$wxUSE_IPC
6481 fi
6482
6483 { echo "$as_me:$LINENO: result: $result" >&5
6484 echo "${ECHO_T}$result" >&6; }
6485
6486
6487
6488 enablestring=
6489 defaultval=$wxUSE_ALL_FEATURES
6490 if test -z "$defaultval"; then
6491 if test x"$enablestring" = xdisable; then
6492 defaultval=yes
6493 else
6494 defaultval=no
6495 fi
6496 fi
6497
6498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6500 # Check whether --enable-baseevtloop was given.
6501 if test "${enable_baseevtloop+set}" = set; then
6502 enableval=$enable_baseevtloop;
6503 if test "$enableval" = yes; then
6504 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6505 else
6506 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6507 fi
6508 cache=yes
6509
6510 else
6511
6512 cache=no
6513 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x ; then
6515 eval "DEFAULT_$LINE"
6516 fi
6517
6518 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6519
6520 fi
6521
6522
6523 eval "$wx_cv_use_baseevtloop"
6524 if test "x$cache" = xyes; then
6525 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6526 fi
6527
6528 if test x"$enablestring" = xdisable; then
6529 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6530 result=no
6531 else
6532 result=yes
6533 fi
6534 else
6535 result=$wxUSE_CONSOLE_EVENTLOOP
6536 fi
6537
6538 { echo "$as_me:$LINENO: result: $result" >&5
6539 echo "${ECHO_T}$result" >&6; }
6540
6541
6542 enablestring=
6543 defaultval=$wxUSE_ALL_FEATURES
6544 if test -z "$defaultval"; then
6545 if test x"$enablestring" = xdisable; then
6546 defaultval=yes
6547 else
6548 defaultval=no
6549 fi
6550 fi
6551
6552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6554 # Check whether --enable-epoolloop was given.
6555 if test "${enable_epoolloop+set}" = set; then
6556 enableval=$enable_epoolloop;
6557 if test "$enableval" = yes; then
6558 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6559 else
6560 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6561 fi
6562 cache=yes
6563
6564 else
6565
6566 cache=no
6567 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x ; then
6569 eval "DEFAULT_$LINE"
6570 fi
6571
6572 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6573
6574 fi
6575
6576
6577 eval "$wx_cv_use_epoolloop"
6578 if test "x$cache" = xyes; then
6579 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6580 fi
6581
6582 if test x"$enablestring" = xdisable; then
6583 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6584 result=no
6585 else
6586 result=yes
6587 fi
6588 else
6589 result=$wxUSE_EPOLL_DISPATCHER
6590 fi
6591
6592 { echo "$as_me:$LINENO: result: $result" >&5
6593 echo "${ECHO_T}$result" >&6; }
6594
6595
6596 enablestring=
6597 defaultval=$wxUSE_ALL_FEATURES
6598 if test -z "$defaultval"; then
6599 if test x"$enablestring" = xdisable; then
6600 defaultval=yes
6601 else
6602 defaultval=no
6603 fi
6604 fi
6605
6606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6608 # Check whether --enable-selectloop was given.
6609 if test "${enable_selectloop+set}" = set; then
6610 enableval=$enable_selectloop;
6611 if test "$enableval" = yes; then
6612 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6613 else
6614 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6615 fi
6616 cache=yes
6617
6618 else
6619
6620 cache=no
6621 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6622 if test "x$LINE" != x ; then
6623 eval "DEFAULT_$LINE"
6624 fi
6625
6626 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6627
6628 fi
6629
6630
6631 eval "$wx_cv_use_selectloop"
6632 if test "x$cache" = xyes; then
6633 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6634 fi
6635
6636 if test x"$enablestring" = xdisable; then
6637 if test $wxUSE_SELECT_DISPATCHER = yes; then
6638 result=no
6639 else
6640 result=yes
6641 fi
6642 else
6643 result=$wxUSE_SELECT_DISPATCHER
6644 fi
6645
6646 { echo "$as_me:$LINENO: result: $result" >&5
6647 echo "${ECHO_T}$result" >&6; }
6648
6649
6650
6651 enablestring=
6652 defaultval=$wxUSE_ALL_FEATURES
6653 if test -z "$defaultval"; then
6654 if test x"$enablestring" = xdisable; then
6655 defaultval=yes
6656 else
6657 defaultval=no
6658 fi
6659 fi
6660
6661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6662 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6663 # Check whether --enable-apple_ieee was given.
6664 if test "${enable_apple_ieee+set}" = set; then
6665 enableval=$enable_apple_ieee;
6666 if test "$enableval" = yes; then
6667 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6668 else
6669 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6670 fi
6671 cache=yes
6672
6673 else
6674
6675 cache=no
6676 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6677 if test "x$LINE" != x ; then
6678 eval "DEFAULT_$LINE"
6679 fi
6680
6681 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6682
6683 fi
6684
6685
6686 eval "$wx_cv_use_apple_ieee"
6687 if test "x$cache" = xyes; then
6688 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6689 fi
6690
6691 if test x"$enablestring" = xdisable; then
6692 if test $wxUSE_APPLE_IEEE = yes; then
6693 result=no
6694 else
6695 result=yes
6696 fi
6697 else
6698 result=$wxUSE_APPLE_IEEE
6699 fi
6700
6701 { echo "$as_me:$LINENO: result: $result" >&5
6702 echo "${ECHO_T}$result" >&6; }
6703
6704
6705 enablestring=
6706 defaultval=$wxUSE_ALL_FEATURES
6707 if test -z "$defaultval"; then
6708 if test x"$enablestring" = xdisable; then
6709 defaultval=yes
6710 else
6711 defaultval=no
6712 fi
6713 fi
6714
6715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6717 # Check whether --enable-arcstream was given.
6718 if test "${enable_arcstream+set}" = set; then
6719 enableval=$enable_arcstream;
6720 if test "$enableval" = yes; then
6721 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6722 else
6723 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6724 fi
6725 cache=yes
6726
6727 else
6728
6729 cache=no
6730 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x ; then
6732 eval "DEFAULT_$LINE"
6733 fi
6734
6735 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6736
6737 fi
6738
6739
6740 eval "$wx_cv_use_arcstream"
6741 if test "x$cache" = xyes; then
6742 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6743 fi
6744
6745 if test x"$enablestring" = xdisable; then
6746 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6747 result=no
6748 else
6749 result=yes
6750 fi
6751 else
6752 result=$wxUSE_ARCHIVE_STREAMS
6753 fi
6754
6755 { echo "$as_me:$LINENO: result: $result" >&5
6756 echo "${ECHO_T}$result" >&6; }
6757
6758
6759 enablestring=
6760 defaultval=$wxUSE_ALL_FEATURES
6761 if test -z "$defaultval"; then
6762 if test x"$enablestring" = xdisable; then
6763 defaultval=yes
6764 else
6765 defaultval=no
6766 fi
6767 fi
6768
6769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6771 # Check whether --enable-base64 was given.
6772 if test "${enable_base64+set}" = set; then
6773 enableval=$enable_base64;
6774 if test "$enableval" = yes; then
6775 wx_cv_use_base64='wxUSE_BASE64=yes'
6776 else
6777 wx_cv_use_base64='wxUSE_BASE64=no'
6778 fi
6779 cache=yes
6780
6781 else
6782
6783 cache=no
6784 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x ; then
6786 eval "DEFAULT_$LINE"
6787 fi
6788
6789 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6790
6791 fi
6792
6793
6794 eval "$wx_cv_use_base64"
6795 if test "x$cache" = xyes; then
6796 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6797 fi
6798
6799 if test x"$enablestring" = xdisable; then
6800 if test $wxUSE_BASE64 = yes; then
6801 result=no
6802 else
6803 result=yes
6804 fi
6805 else
6806 result=$wxUSE_BASE64
6807 fi
6808
6809 { echo "$as_me:$LINENO: result: $result" >&5
6810 echo "${ECHO_T}$result" >&6; }
6811
6812
6813 enablestring=
6814 defaultval=$wxUSE_ALL_FEATURES
6815 if test -z "$defaultval"; then
6816 if test x"$enablestring" = xdisable; then
6817 defaultval=yes
6818 else
6819 defaultval=no
6820 fi
6821 fi
6822
6823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6825 # Check whether --enable-backtrace was given.
6826 if test "${enable_backtrace+set}" = set; then
6827 enableval=$enable_backtrace;
6828 if test "$enableval" = yes; then
6829 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6830 else
6831 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6832 fi
6833 cache=yes
6834
6835 else
6836
6837 cache=no
6838 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6839 if test "x$LINE" != x ; then
6840 eval "DEFAULT_$LINE"
6841 fi
6842
6843 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6844
6845 fi
6846
6847
6848 eval "$wx_cv_use_backtrace"
6849 if test "x$cache" = xyes; then
6850 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6851 fi
6852
6853 if test x"$enablestring" = xdisable; then
6854 if test $wxUSE_STACKWALKER = yes; then
6855 result=no
6856 else
6857 result=yes
6858 fi
6859 else
6860 result=$wxUSE_STACKWALKER
6861 fi
6862
6863 { echo "$as_me:$LINENO: result: $result" >&5
6864 echo "${ECHO_T}$result" >&6; }
6865
6866
6867 enablestring=
6868 defaultval=$wxUSE_ALL_FEATURES
6869 if test -z "$defaultval"; then
6870 if test x"$enablestring" = xdisable; then
6871 defaultval=yes
6872 else
6873 defaultval=no
6874 fi
6875 fi
6876
6877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
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 cache=yes
6888
6889 else
6890
6891 cache=no
6892 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x ; then
6894 eval "DEFAULT_$LINE"
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 "x$cache" = xyes; then
6904 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${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 # Check whether --enable-cmdline was given.
6934 if test "${enable_cmdline+set}" = set; then
6935 enableval=$enable_cmdline;
6936 if test "$enableval" = yes; then
6937 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6938 else
6939 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6940 fi
6941 cache=yes
6942
6943 else
6944
6945 cache=no
6946 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6947 if test "x$LINE" != x ; then
6948 eval "DEFAULT_$LINE"
6949 fi
6950
6951 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6952
6953 fi
6954
6955
6956 eval "$wx_cv_use_cmdline"
6957 if test "x$cache" = xyes; then
6958 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test x"$enablestring" = xdisable; then
6962 if test $wxUSE_CMDLINE_PARSER = yes; then
6963 result=no
6964 else
6965 result=yes
6966 fi
6967 else
6968 result=$wxUSE_CMDLINE_PARSER
6969 fi
6970
6971 { echo "$as_me:$LINENO: result: $result" >&5
6972 echo "${ECHO_T}$result" >&6; }
6973
6974
6975 enablestring=
6976 defaultval=$wxUSE_ALL_FEATURES
6977 if test -z "$defaultval"; then
6978 if test x"$enablestring" = xdisable; then
6979 defaultval=yes
6980 else
6981 defaultval=no
6982 fi
6983 fi
6984
6985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6986 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6987 # Check whether --enable-datetime was given.
6988 if test "${enable_datetime+set}" = set; then
6989 enableval=$enable_datetime;
6990 if test "$enableval" = yes; then
6991 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6992 else
6993 wx_cv_use_datetime='wxUSE_DATETIME=no'
6994 fi
6995 cache=yes
6996
6997 else
6998
6999 cache=no
7000 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x ; then
7002 eval "DEFAULT_$LINE"
7003 fi
7004
7005 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7006
7007 fi
7008
7009
7010 eval "$wx_cv_use_datetime"
7011 if test "x$cache" = xyes; then
7012 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7013 fi
7014
7015 if test x"$enablestring" = xdisable; then
7016 if test $wxUSE_DATETIME = yes; then
7017 result=no
7018 else
7019 result=yes
7020 fi
7021 else
7022 result=$wxUSE_DATETIME
7023 fi
7024
7025 { echo "$as_me:$LINENO: result: $result" >&5
7026 echo "${ECHO_T}$result" >&6; }
7027
7028
7029 enablestring=
7030 defaultval=$wxUSE_ALL_FEATURES
7031 if test -z "$defaultval"; then
7032 if test x"$enablestring" = xdisable; then
7033 defaultval=yes
7034 else
7035 defaultval=no
7036 fi
7037 fi
7038
7039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7040 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7041 # Check whether --enable-debugreport was given.
7042 if test "${enable_debugreport+set}" = set; then
7043 enableval=$enable_debugreport;
7044 if test "$enableval" = yes; then
7045 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7046 else
7047 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7048 fi
7049 cache=yes
7050
7051 else
7052
7053 cache=no
7054 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7055 if test "x$LINE" != x ; then
7056 eval "DEFAULT_$LINE"
7057 fi
7058
7059 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7060
7061 fi
7062
7063
7064 eval "$wx_cv_use_debugreport"
7065 if test "x$cache" = xyes; then
7066 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7067 fi
7068
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_DEBUGREPORT = yes; then
7071 result=no
7072 else
7073 result=yes
7074 fi
7075 else
7076 result=$wxUSE_DEBUGREPORT
7077 fi
7078
7079 { echo "$as_me:$LINENO: result: $result" >&5
7080 echo "${ECHO_T}$result" >&6; }
7081
7082
7083 enablestring=
7084 defaultval=$wxUSE_ALL_FEATURES
7085 if test -z "$defaultval"; then
7086 if test x"$enablestring" = xdisable; then
7087 defaultval=yes
7088 else
7089 defaultval=no
7090 fi
7091 fi
7092
7093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7095 # Check whether --enable-dialupman was given.
7096 if test "${enable_dialupman+set}" = set; then
7097 enableval=$enable_dialupman;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7100 else
7101 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7102 fi
7103 cache=yes
7104
7105 else
7106
7107 cache=no
7108 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x ; then
7110 eval "DEFAULT_$LINE"
7111 fi
7112
7113 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7114
7115 fi
7116
7117
7118 eval "$wx_cv_use_dialupman"
7119 if test "x$cache" = xyes; then
7120 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7121 fi
7122
7123 if test x"$enablestring" = xdisable; then
7124 if test $wxUSE_DIALUP_MANAGER = yes; then
7125 result=no
7126 else
7127 result=yes
7128 fi
7129 else
7130 result=$wxUSE_DIALUP_MANAGER
7131 fi
7132
7133 { echo "$as_me:$LINENO: result: $result" >&5
7134 echo "${ECHO_T}$result" >&6; }
7135
7136
7137 enablestring=
7138 defaultval=$wxUSE_ALL_FEATURES
7139 if test -z "$defaultval"; then
7140 if test x"$enablestring" = xdisable; then
7141 defaultval=yes
7142 else
7143 defaultval=no
7144 fi
7145 fi
7146
7147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7148 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7149 # Check whether --enable-dynlib was given.
7150 if test "${enable_dynlib+set}" = set; then
7151 enableval=$enable_dynlib;
7152 if test "$enableval" = yes; then
7153 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7154 else
7155 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7156 fi
7157 cache=yes
7158
7159 else
7160
7161 cache=no
7162 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7163 if test "x$LINE" != x ; then
7164 eval "DEFAULT_$LINE"
7165 fi
7166
7167 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7168
7169 fi
7170
7171
7172 eval "$wx_cv_use_dynlib"
7173 if test "x$cache" = xyes; then
7174 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7175 fi
7176
7177 if test x"$enablestring" = xdisable; then
7178 if test $wxUSE_DYNLIB_CLASS = yes; then
7179 result=no
7180 else
7181 result=yes
7182 fi
7183 else
7184 result=$wxUSE_DYNLIB_CLASS
7185 fi
7186
7187 { echo "$as_me:$LINENO: result: $result" >&5
7188 echo "${ECHO_T}$result" >&6; }
7189
7190
7191 enablestring=
7192 defaultval=$wxUSE_ALL_FEATURES
7193 if test -z "$defaultval"; then
7194 if test x"$enablestring" = xdisable; then
7195 defaultval=yes
7196 else
7197 defaultval=no
7198 fi
7199 fi
7200
7201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7203 # Check whether --enable-dynamicloader was given.
7204 if test "${enable_dynamicloader+set}" = set; then
7205 enableval=$enable_dynamicloader;
7206 if test "$enableval" = yes; then
7207 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7208 else
7209 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7210 fi
7211 cache=yes
7212
7213 else
7214
7215 cache=no
7216 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7217 if test "x$LINE" != x ; then
7218 eval "DEFAULT_$LINE"
7219 fi
7220
7221 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7222
7223 fi
7224
7225
7226 eval "$wx_cv_use_dynamicloader"
7227 if test "x$cache" = xyes; then
7228 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7229 fi
7230
7231 if test x"$enablestring" = xdisable; then
7232 if test $wxUSE_DYNAMIC_LOADER = yes; then
7233 result=no
7234 else
7235 result=yes
7236 fi
7237 else
7238 result=$wxUSE_DYNAMIC_LOADER
7239 fi
7240
7241 { echo "$as_me:$LINENO: result: $result" >&5
7242 echo "${ECHO_T}$result" >&6; }
7243
7244
7245 enablestring=
7246 defaultval=$wxUSE_ALL_FEATURES
7247 if test -z "$defaultval"; then
7248 if test x"$enablestring" = xdisable; then
7249 defaultval=yes
7250 else
7251 defaultval=no
7252 fi
7253 fi
7254
7255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7257 # Check whether --enable-exceptions was given.
7258 if test "${enable_exceptions+set}" = set; then
7259 enableval=$enable_exceptions;
7260 if test "$enableval" = yes; then
7261 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7262 else
7263 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7264 fi
7265 cache=yes
7266
7267 else
7268
7269 cache=no
7270 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x ; then
7272 eval "DEFAULT_$LINE"
7273 fi
7274
7275 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7276
7277 fi
7278
7279
7280 eval "$wx_cv_use_exceptions"
7281 if test "x$cache" = xyes; then
7282 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7283 fi
7284
7285 if test x"$enablestring" = xdisable; then
7286 if test $wxUSE_EXCEPTIONS = yes; then
7287 result=no
7288 else
7289 result=yes
7290 fi
7291 else
7292 result=$wxUSE_EXCEPTIONS
7293 fi
7294
7295 { echo "$as_me:$LINENO: result: $result" >&5
7296 echo "${ECHO_T}$result" >&6; }
7297
7298
7299 enablestring=
7300 defaultval=$wxUSE_ALL_FEATURES
7301 if test -z "$defaultval"; then
7302 if test x"$enablestring" = xdisable; then
7303 defaultval=yes
7304 else
7305 defaultval=no
7306 fi
7307 fi
7308
7309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7310 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7311 # Check whether --enable-ffile was given.
7312 if test "${enable_ffile+set}" = set; then
7313 enableval=$enable_ffile;
7314 if test "$enableval" = yes; then
7315 wx_cv_use_ffile='wxUSE_FFILE=yes'
7316 else
7317 wx_cv_use_ffile='wxUSE_FFILE=no'
7318 fi
7319 cache=yes
7320
7321 else
7322
7323 cache=no
7324 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7325 if test "x$LINE" != x ; then
7326 eval "DEFAULT_$LINE"
7327 fi
7328
7329 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7330
7331 fi
7332
7333
7334 eval "$wx_cv_use_ffile"
7335 if test "x$cache" = xyes; then
7336 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7337 fi
7338
7339 if test x"$enablestring" = xdisable; then
7340 if test $wxUSE_FFILE = yes; then
7341 result=no
7342 else
7343 result=yes
7344 fi
7345 else
7346 result=$wxUSE_FFILE
7347 fi
7348
7349 { echo "$as_me:$LINENO: result: $result" >&5
7350 echo "${ECHO_T}$result" >&6; }
7351
7352
7353 enablestring=
7354 defaultval=$wxUSE_ALL_FEATURES
7355 if test -z "$defaultval"; then
7356 if test x"$enablestring" = xdisable; then
7357 defaultval=yes
7358 else
7359 defaultval=no
7360 fi
7361 fi
7362
7363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7364 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7365 # Check whether --enable-file was given.
7366 if test "${enable_file+set}" = set; then
7367 enableval=$enable_file;
7368 if test "$enableval" = yes; then
7369 wx_cv_use_file='wxUSE_FILE=yes'
7370 else
7371 wx_cv_use_file='wxUSE_FILE=no'
7372 fi
7373 cache=yes
7374
7375 else
7376
7377 cache=no
7378 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7379 if test "x$LINE" != x ; then
7380 eval "DEFAULT_$LINE"
7381 fi
7382
7383 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7384
7385 fi
7386
7387
7388 eval "$wx_cv_use_file"
7389 if test "x$cache" = xyes; then
7390 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7391 fi
7392
7393 if test x"$enablestring" = xdisable; then
7394 if test $wxUSE_FILE = yes; then
7395 result=no
7396 else
7397 result=yes
7398 fi
7399 else
7400 result=$wxUSE_FILE
7401 fi
7402
7403 { echo "$as_me:$LINENO: result: $result" >&5
7404 echo "${ECHO_T}$result" >&6; }
7405
7406
7407 enablestring=
7408 defaultval=$wxUSE_ALL_FEATURES
7409 if test -z "$defaultval"; then
7410 if test x"$enablestring" = xdisable; then
7411 defaultval=yes
7412 else
7413 defaultval=no
7414 fi
7415 fi
7416
7417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7419 # Check whether --enable-filesystem was given.
7420 if test "${enable_filesystem+set}" = set; then
7421 enableval=$enable_filesystem;
7422 if test "$enableval" = yes; then
7423 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7424 else
7425 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7426 fi
7427 cache=yes
7428
7429 else
7430
7431 cache=no
7432 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x ; then
7434 eval "DEFAULT_$LINE"
7435 fi
7436
7437 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7438
7439 fi
7440
7441
7442 eval "$wx_cv_use_filesystem"
7443 if test "x$cache" = xyes; then
7444 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7445 fi
7446
7447 if test x"$enablestring" = xdisable; then
7448 if test $wxUSE_FILESYSTEM = yes; then
7449 result=no
7450 else
7451 result=yes
7452 fi
7453 else
7454 result=$wxUSE_FILESYSTEM
7455 fi
7456
7457 { echo "$as_me:$LINENO: result: $result" >&5
7458 echo "${ECHO_T}$result" >&6; }
7459
7460
7461 enablestring=
7462 defaultval=$wxUSE_ALL_FEATURES
7463 if test -z "$defaultval"; then
7464 if test x"$enablestring" = xdisable; then
7465 defaultval=yes
7466 else
7467 defaultval=no
7468 fi
7469 fi
7470
7471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7472 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7473 # Check whether --enable-fontenum was given.
7474 if test "${enable_fontenum+set}" = set; then
7475 enableval=$enable_fontenum;
7476 if test "$enableval" = yes; then
7477 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7478 else
7479 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7480 fi
7481 cache=yes
7482
7483 else
7484
7485 cache=no
7486 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x ; then
7488 eval "DEFAULT_$LINE"
7489 fi
7490
7491 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7492
7493 fi
7494
7495
7496 eval "$wx_cv_use_fontenum"
7497 if test "x$cache" = xyes; then
7498 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7499 fi
7500
7501 if test x"$enablestring" = xdisable; then
7502 if test $wxUSE_FONTENUM = yes; then
7503 result=no
7504 else
7505 result=yes
7506 fi
7507 else
7508 result=$wxUSE_FONTENUM
7509 fi
7510
7511 { echo "$as_me:$LINENO: result: $result" >&5
7512 echo "${ECHO_T}$result" >&6; }
7513
7514
7515 enablestring=
7516 defaultval=$wxUSE_ALL_FEATURES
7517 if test -z "$defaultval"; then
7518 if test x"$enablestring" = xdisable; then
7519 defaultval=yes
7520 else
7521 defaultval=no
7522 fi
7523 fi
7524
7525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7527 # Check whether --enable-fontmap was given.
7528 if test "${enable_fontmap+set}" = set; then
7529 enableval=$enable_fontmap;
7530 if test "$enableval" = yes; then
7531 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7532 else
7533 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7534 fi
7535 cache=yes
7536
7537 else
7538
7539 cache=no
7540 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7543 fi
7544
7545 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7546
7547 fi
7548
7549
7550 eval "$wx_cv_use_fontmap"
7551 if test "x$cache" = xyes; then
7552 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7553 fi
7554
7555 if test x"$enablestring" = xdisable; then
7556 if test $wxUSE_FONTMAP = yes; then
7557 result=no
7558 else
7559 result=yes
7560 fi
7561 else
7562 result=$wxUSE_FONTMAP
7563 fi
7564
7565 { echo "$as_me:$LINENO: result: $result" >&5
7566 echo "${ECHO_T}$result" >&6; }
7567
7568
7569 enablestring=
7570 defaultval=$wxUSE_ALL_FEATURES
7571 if test -z "$defaultval"; then
7572 if test x"$enablestring" = xdisable; then
7573 defaultval=yes
7574 else
7575 defaultval=no
7576 fi
7577 fi
7578
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7581 # Check whether --enable-fs_archive was given.
7582 if test "${enable_fs_archive+set}" = set; then
7583 enableval=$enable_fs_archive;
7584 if test "$enableval" = yes; then
7585 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7586 else
7587 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7588 fi
7589 cache=yes
7590
7591 else
7592
7593 cache=no
7594 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7595 if test "x$LINE" != x ; then
7596 eval "DEFAULT_$LINE"
7597 fi
7598
7599 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7600
7601 fi
7602
7603
7604 eval "$wx_cv_use_fs_archive"
7605 if test "x$cache" = xyes; then
7606 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7607 fi
7608
7609 if test x"$enablestring" = xdisable; then
7610 if test $wxUSE_FS_ARCHIVE = yes; then
7611 result=no
7612 else
7613 result=yes
7614 fi
7615 else
7616 result=$wxUSE_FS_ARCHIVE
7617 fi
7618
7619 { echo "$as_me:$LINENO: result: $result" >&5
7620 echo "${ECHO_T}$result" >&6; }
7621
7622
7623 enablestring=
7624 defaultval=$wxUSE_ALL_FEATURES
7625 if test -z "$defaultval"; then
7626 if test x"$enablestring" = xdisable; then
7627 defaultval=yes
7628 else
7629 defaultval=no
7630 fi
7631 fi
7632
7633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7634 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7635 # Check whether --enable-fs_inet was given.
7636 if test "${enable_fs_inet+set}" = set; then
7637 enableval=$enable_fs_inet;
7638 if test "$enableval" = yes; then
7639 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7640 else
7641 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7642 fi
7643 cache=yes
7644
7645 else
7646
7647 cache=no
7648 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7649 if test "x$LINE" != x ; then
7650 eval "DEFAULT_$LINE"
7651 fi
7652
7653 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7654
7655 fi
7656
7657
7658 eval "$wx_cv_use_fs_inet"
7659 if test "x$cache" = xyes; then
7660 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7661 fi
7662
7663 if test x"$enablestring" = xdisable; then
7664 if test $wxUSE_FS_INET = yes; then
7665 result=no
7666 else
7667 result=yes
7668 fi
7669 else
7670 result=$wxUSE_FS_INET
7671 fi
7672
7673 { echo "$as_me:$LINENO: result: $result" >&5
7674 echo "${ECHO_T}$result" >&6; }
7675
7676
7677 enablestring=
7678 defaultval=$wxUSE_ALL_FEATURES
7679 if test -z "$defaultval"; then
7680 if test x"$enablestring" = xdisable; then
7681 defaultval=yes
7682 else
7683 defaultval=no
7684 fi
7685 fi
7686
7687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7688 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7689 # Check whether --enable-fs_zip was given.
7690 if test "${enable_fs_zip+set}" = set; then
7691 enableval=$enable_fs_zip;
7692 if test "$enableval" = yes; then
7693 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7694 else
7695 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7696 fi
7697 cache=yes
7698
7699 else
7700
7701 cache=no
7702 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7703 if test "x$LINE" != x ; then
7704 eval "DEFAULT_$LINE"
7705 fi
7706
7707 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7708
7709 fi
7710
7711
7712 eval "$wx_cv_use_fs_zip"
7713 if test "x$cache" = xyes; then
7714 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7715 fi
7716
7717 if test x"$enablestring" = xdisable; then
7718 if test $wxUSE_FS_ZIP = yes; then
7719 result=no
7720 else
7721 result=yes
7722 fi
7723 else
7724 result=$wxUSE_FS_ZIP
7725 fi
7726
7727 { echo "$as_me:$LINENO: result: $result" >&5
7728 echo "${ECHO_T}$result" >&6; }
7729
7730
7731 enablestring=
7732 defaultval=$wxUSE_ALL_FEATURES
7733 if test -z "$defaultval"; then
7734 if test x"$enablestring" = xdisable; then
7735 defaultval=yes
7736 else
7737 defaultval=no
7738 fi
7739 fi
7740
7741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7743 # Check whether --enable-geometry was given.
7744 if test "${enable_geometry+set}" = set; then
7745 enableval=$enable_geometry;
7746 if test "$enableval" = yes; then
7747 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7748 else
7749 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7750 fi
7751 cache=yes
7752
7753 else
7754
7755 cache=no
7756 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7757 if test "x$LINE" != x ; then
7758 eval "DEFAULT_$LINE"
7759 fi
7760
7761 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7762
7763 fi
7764
7765
7766 eval "$wx_cv_use_geometry"
7767 if test "x$cache" = xyes; then
7768 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7769 fi
7770
7771 if test x"$enablestring" = xdisable; then
7772 if test $wxUSE_GEOMETRY = yes; then
7773 result=no
7774 else
7775 result=yes
7776 fi
7777 else
7778 result=$wxUSE_GEOMETRY
7779 fi
7780
7781 { echo "$as_me:$LINENO: result: $result" >&5
7782 echo "${ECHO_T}$result" >&6; }
7783
7784
7785 enablestring=
7786 defaultval=$wxUSE_ALL_FEATURES
7787 if test -z "$defaultval"; then
7788 if test x"$enablestring" = xdisable; then
7789 defaultval=yes
7790 else
7791 defaultval=no
7792 fi
7793 fi
7794
7795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7797 # Check whether --enable-log was given.
7798 if test "${enable_log+set}" = set; then
7799 enableval=$enable_log;
7800 if test "$enableval" = yes; then
7801 wx_cv_use_log='wxUSE_LOG=yes'
7802 else
7803 wx_cv_use_log='wxUSE_LOG=no'
7804 fi
7805 cache=yes
7806
7807 else
7808
7809 cache=no
7810 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7811 if test "x$LINE" != x ; then
7812 eval "DEFAULT_$LINE"
7813 fi
7814
7815 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7816
7817 fi
7818
7819
7820 eval "$wx_cv_use_log"
7821 if test "x$cache" = xyes; then
7822 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7823 fi
7824
7825 if test x"$enablestring" = xdisable; then
7826 if test $wxUSE_LOG = yes; then
7827 result=no
7828 else
7829 result=yes
7830 fi
7831 else
7832 result=$wxUSE_LOG
7833 fi
7834
7835 { echo "$as_me:$LINENO: result: $result" >&5
7836 echo "${ECHO_T}$result" >&6; }
7837
7838
7839 enablestring=
7840 defaultval=$wxUSE_ALL_FEATURES
7841 if test -z "$defaultval"; then
7842 if test x"$enablestring" = xdisable; then
7843 defaultval=yes
7844 else
7845 defaultval=no
7846 fi
7847 fi
7848
7849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7851 # Check whether --enable-longlong was given.
7852 if test "${enable_longlong+set}" = set; then
7853 enableval=$enable_longlong;
7854 if test "$enableval" = yes; then
7855 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7856 else
7857 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7858 fi
7859 cache=yes
7860
7861 else
7862
7863 cache=no
7864 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7865 if test "x$LINE" != x ; then
7866 eval "DEFAULT_$LINE"
7867 fi
7868
7869 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7870
7871 fi
7872
7873
7874 eval "$wx_cv_use_longlong"
7875 if test "x$cache" = xyes; then
7876 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7877 fi
7878
7879 if test x"$enablestring" = xdisable; then
7880 if test $wxUSE_LONGLONG = yes; then
7881 result=no
7882 else
7883 result=yes
7884 fi
7885 else
7886 result=$wxUSE_LONGLONG
7887 fi
7888
7889 { echo "$as_me:$LINENO: result: $result" >&5
7890 echo "${ECHO_T}$result" >&6; }
7891
7892
7893 enablestring=
7894 defaultval=$wxUSE_ALL_FEATURES
7895 if test -z "$defaultval"; then
7896 if test x"$enablestring" = xdisable; then
7897 defaultval=yes
7898 else
7899 defaultval=no
7900 fi
7901 fi
7902
7903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7905 # Check whether --enable-mimetype was given.
7906 if test "${enable_mimetype+set}" = set; then
7907 enableval=$enable_mimetype;
7908 if test "$enableval" = yes; then
7909 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7910 else
7911 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7912 fi
7913 cache=yes
7914
7915 else
7916
7917 cache=no
7918 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7919 if test "x$LINE" != x ; then
7920 eval "DEFAULT_$LINE"
7921 fi
7922
7923 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7924
7925 fi
7926
7927
7928 eval "$wx_cv_use_mimetype"
7929 if test "x$cache" = xyes; then
7930 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7931 fi
7932
7933 if test x"$enablestring" = xdisable; then
7934 if test $wxUSE_MIMETYPE = yes; then
7935 result=no
7936 else
7937 result=yes
7938 fi
7939 else
7940 result=$wxUSE_MIMETYPE
7941 fi
7942
7943 { echo "$as_me:$LINENO: result: $result" >&5
7944 echo "${ECHO_T}$result" >&6; }
7945
7946
7947 enablestring=
7948 defaultval=$wxUSE_ALL_FEATURES
7949 if test -z "$defaultval"; then
7950 if test x"$enablestring" = xdisable; then
7951 defaultval=yes
7952 else
7953 defaultval=no
7954 fi
7955 fi
7956
7957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7959 # Check whether --enable-snglinst was given.
7960 if test "${enable_snglinst+set}" = set; then
7961 enableval=$enable_snglinst;
7962 if test "$enableval" = yes; then
7963 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7964 else
7965 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7966 fi
7967 cache=yes
7968
7969 else
7970
7971 cache=no
7972 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7973 if test "x$LINE" != x ; then
7974 eval "DEFAULT_$LINE"
7975 fi
7976
7977 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7978
7979 fi
7980
7981
7982 eval "$wx_cv_use_snglinst"
7983 if test "x$cache" = xyes; then
7984 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7985 fi
7986
7987 if test x"$enablestring" = xdisable; then
7988 if test $wxUSE_SNGLINST_CHECKER = yes; then
7989 result=no
7990 else
7991 result=yes
7992 fi
7993 else
7994 result=$wxUSE_SNGLINST_CHECKER
7995 fi
7996
7997 { echo "$as_me:$LINENO: result: $result" >&5
7998 echo "${ECHO_T}$result" >&6; }
7999
8000
8001 enablestring=
8002 defaultval=$wxUSE_ALL_FEATURES
8003 if test -z "$defaultval"; then
8004 if test x"$enablestring" = xdisable; then
8005 defaultval=yes
8006 else
8007 defaultval=no
8008 fi
8009 fi
8010
8011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8013 # Check whether --enable-stdpaths was given.
8014 if test "${enable_stdpaths+set}" = set; then
8015 enableval=$enable_stdpaths;
8016 if test "$enableval" = yes; then
8017 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8018 else
8019 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8020 fi
8021 cache=yes
8022
8023 else
8024
8025 cache=no
8026 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x ; then
8028 eval "DEFAULT_$LINE"
8029 fi
8030
8031 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8032
8033 fi
8034
8035
8036 eval "$wx_cv_use_stdpaths"
8037 if test "x$cache" = xyes; then
8038 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8039 fi
8040
8041 if test x"$enablestring" = xdisable; then
8042 if test $wxUSE_STDPATHS = yes; then
8043 result=no
8044 else
8045 result=yes
8046 fi
8047 else
8048 result=$wxUSE_STDPATHS
8049 fi
8050
8051 { echo "$as_me:$LINENO: result: $result" >&5
8052 echo "${ECHO_T}$result" >&6; }
8053
8054
8055 enablestring=
8056 defaultval=$wxUSE_ALL_FEATURES
8057 if test -z "$defaultval"; then
8058 if test x"$enablestring" = xdisable; then
8059 defaultval=yes
8060 else
8061 defaultval=no
8062 fi
8063 fi
8064
8065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8066 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8067 # Check whether --enable-stopwatch was given.
8068 if test "${enable_stopwatch+set}" = set; then
8069 enableval=$enable_stopwatch;
8070 if test "$enableval" = yes; then
8071 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8072 else
8073 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8074 fi
8075 cache=yes
8076
8077 else
8078
8079 cache=no
8080 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8081 if test "x$LINE" != x ; then
8082 eval "DEFAULT_$LINE"
8083 fi
8084
8085 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8086
8087 fi
8088
8089
8090 eval "$wx_cv_use_stopwatch"
8091 if test "x$cache" = xyes; then
8092 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8093 fi
8094
8095 if test x"$enablestring" = xdisable; then
8096 if test $wxUSE_STOPWATCH = yes; then
8097 result=no
8098 else
8099 result=yes
8100 fi
8101 else
8102 result=$wxUSE_STOPWATCH
8103 fi
8104
8105 { echo "$as_me:$LINENO: result: $result" >&5
8106 echo "${ECHO_T}$result" >&6; }
8107
8108
8109 enablestring=
8110 defaultval=$wxUSE_ALL_FEATURES
8111 if test -z "$defaultval"; then
8112 if test x"$enablestring" = xdisable; then
8113 defaultval=yes
8114 else
8115 defaultval=no
8116 fi
8117 fi
8118
8119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8120 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8121 # Check whether --enable-streams was given.
8122 if test "${enable_streams+set}" = set; then
8123 enableval=$enable_streams;
8124 if test "$enableval" = yes; then
8125 wx_cv_use_streams='wxUSE_STREAMS=yes'
8126 else
8127 wx_cv_use_streams='wxUSE_STREAMS=no'
8128 fi
8129 cache=yes
8130
8131 else
8132
8133 cache=no
8134 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x ; then
8136 eval "DEFAULT_$LINE"
8137 fi
8138
8139 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8140
8141 fi
8142
8143
8144 eval "$wx_cv_use_streams"
8145 if test "x$cache" = xyes; then
8146 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8147 fi
8148
8149 if test x"$enablestring" = xdisable; then
8150 if test $wxUSE_STREAMS = yes; then
8151 result=no
8152 else
8153 result=yes
8154 fi
8155 else
8156 result=$wxUSE_STREAMS
8157 fi
8158
8159 { echo "$as_me:$LINENO: result: $result" >&5
8160 echo "${ECHO_T}$result" >&6; }
8161
8162
8163 enablestring=
8164 defaultval=$wxUSE_ALL_FEATURES
8165 if test -z "$defaultval"; then
8166 if test x"$enablestring" = xdisable; then
8167 defaultval=yes
8168 else
8169 defaultval=no
8170 fi
8171 fi
8172
8173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8174 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8175 # Check whether --enable-system_options was given.
8176 if test "${enable_system_options+set}" = set; then
8177 enableval=$enable_system_options;
8178 if test "$enableval" = yes; then
8179 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8180 else
8181 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8182 fi
8183 cache=yes
8184
8185 else
8186
8187 cache=no
8188 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x ; then
8190 eval "DEFAULT_$LINE"
8191 fi
8192
8193 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8194
8195 fi
8196
8197
8198 eval "$wx_cv_use_system_options"
8199 if test "x$cache" = xyes; then
8200 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8201 fi
8202
8203 if test x"$enablestring" = xdisable; then
8204 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8205 result=no
8206 else
8207 result=yes
8208 fi
8209 else
8210 result=$wxUSE_SYSTEM_OPTIONS
8211 fi
8212
8213 { echo "$as_me:$LINENO: result: $result" >&5
8214 echo "${ECHO_T}$result" >&6; }
8215
8216
8217 enablestring=
8218 defaultval=$wxUSE_ALL_FEATURES
8219 if test -z "$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8221 defaultval=yes
8222 else
8223 defaultval=no
8224 fi
8225 fi
8226
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8229 # Check whether --enable-tarstream was given.
8230 if test "${enable_tarstream+set}" = set; then
8231 enableval=$enable_tarstream;
8232 if test "$enableval" = yes; then
8233 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8234 else
8235 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8236 fi
8237 cache=yes
8238
8239 else
8240
8241 cache=no
8242 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8243 if test "x$LINE" != x ; then
8244 eval "DEFAULT_$LINE"
8245 fi
8246
8247 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8248
8249 fi
8250
8251
8252 eval "$wx_cv_use_tarstream"
8253 if test "x$cache" = xyes; then
8254 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8255 fi
8256
8257 if test x"$enablestring" = xdisable; then
8258 if test $wxUSE_TARSTREAM = yes; then
8259 result=no
8260 else
8261 result=yes
8262 fi
8263 else
8264 result=$wxUSE_TARSTREAM
8265 fi
8266
8267 { echo "$as_me:$LINENO: result: $result" >&5
8268 echo "${ECHO_T}$result" >&6; }
8269
8270
8271 enablestring=
8272 defaultval=$wxUSE_ALL_FEATURES
8273 if test -z "$defaultval"; then
8274 if test x"$enablestring" = xdisable; then
8275 defaultval=yes
8276 else
8277 defaultval=no
8278 fi
8279 fi
8280
8281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8283 # Check whether --enable-textbuf was given.
8284 if test "${enable_textbuf+set}" = set; then
8285 enableval=$enable_textbuf;
8286 if test "$enableval" = yes; then
8287 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8288 else
8289 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8290 fi
8291 cache=yes
8292
8293 else
8294
8295 cache=no
8296 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x ; then
8298 eval "DEFAULT_$LINE"
8299 fi
8300
8301 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8302
8303 fi
8304
8305
8306 eval "$wx_cv_use_textbuf"
8307 if test "x$cache" = xyes; then
8308 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8309 fi
8310
8311 if test x"$enablestring" = xdisable; then
8312 if test $wxUSE_TEXTBUFFER = yes; then
8313 result=no
8314 else
8315 result=yes
8316 fi
8317 else
8318 result=$wxUSE_TEXTBUFFER
8319 fi
8320
8321 { echo "$as_me:$LINENO: result: $result" >&5
8322 echo "${ECHO_T}$result" >&6; }
8323
8324
8325 enablestring=
8326 defaultval=$wxUSE_ALL_FEATURES
8327 if test -z "$defaultval"; then
8328 if test x"$enablestring" = xdisable; then
8329 defaultval=yes
8330 else
8331 defaultval=no
8332 fi
8333 fi
8334
8335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8337 # Check whether --enable-textfile was given.
8338 if test "${enable_textfile+set}" = set; then
8339 enableval=$enable_textfile;
8340 if test "$enableval" = yes; then
8341 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8342 else
8343 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8344 fi
8345 cache=yes
8346
8347 else
8348
8349 cache=no
8350 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x ; then
8352 eval "DEFAULT_$LINE"
8353 fi
8354
8355 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8356
8357 fi
8358
8359
8360 eval "$wx_cv_use_textfile"
8361 if test "x$cache" = xyes; then
8362 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8363 fi
8364
8365 if test x"$enablestring" = xdisable; then
8366 if test $wxUSE_TEXTFILE = yes; then
8367 result=no
8368 else
8369 result=yes
8370 fi
8371 else
8372 result=$wxUSE_TEXTFILE
8373 fi
8374
8375 { echo "$as_me:$LINENO: result: $result" >&5
8376 echo "${ECHO_T}$result" >&6; }
8377
8378
8379 enablestring=
8380 defaultval=$wxUSE_ALL_FEATURES
8381 if test -z "$defaultval"; then
8382 if test x"$enablestring" = xdisable; then
8383 defaultval=yes
8384 else
8385 defaultval=no
8386 fi
8387 fi
8388
8389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8391 # Check whether --enable-timer was given.
8392 if test "${enable_timer+set}" = set; then
8393 enableval=$enable_timer;
8394 if test "$enableval" = yes; then
8395 wx_cv_use_timer='wxUSE_TIMER=yes'
8396 else
8397 wx_cv_use_timer='wxUSE_TIMER=no'
8398 fi
8399 cache=yes
8400
8401 else
8402
8403 cache=no
8404 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8405 if test "x$LINE" != x ; then
8406 eval "DEFAULT_$LINE"
8407 fi
8408
8409 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8410
8411 fi
8412
8413
8414 eval "$wx_cv_use_timer"
8415 if test "x$cache" = xyes; then
8416 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8417 fi
8418
8419 if test x"$enablestring" = xdisable; then
8420 if test $wxUSE_TIMER = yes; then
8421 result=no
8422 else
8423 result=yes
8424 fi
8425 else
8426 result=$wxUSE_TIMER
8427 fi
8428
8429 { echo "$as_me:$LINENO: result: $result" >&5
8430 echo "${ECHO_T}$result" >&6; }
8431
8432
8433 enablestring=
8434 defaultval=$wxUSE_ALL_FEATURES
8435 if test -z "$defaultval"; then
8436 if test x"$enablestring" = xdisable; then
8437 defaultval=yes
8438 else
8439 defaultval=no
8440 fi
8441 fi
8442
8443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8444 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8445 # Check whether --enable-sound was given.
8446 if test "${enable_sound+set}" = set; then
8447 enableval=$enable_sound;
8448 if test "$enableval" = yes; then
8449 wx_cv_use_sound='wxUSE_SOUND=yes'
8450 else
8451 wx_cv_use_sound='wxUSE_SOUND=no'
8452 fi
8453 cache=yes
8454
8455 else
8456
8457 cache=no
8458 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8459 if test "x$LINE" != x ; then
8460 eval "DEFAULT_$LINE"
8461 fi
8462
8463 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8464
8465 fi
8466
8467
8468 eval "$wx_cv_use_sound"
8469 if test "x$cache" = xyes; then
8470 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8471 fi
8472
8473 if test x"$enablestring" = xdisable; then
8474 if test $wxUSE_SOUND = yes; then
8475 result=no
8476 else
8477 result=yes
8478 fi
8479 else
8480 result=$wxUSE_SOUND
8481 fi
8482
8483 { echo "$as_me:$LINENO: result: $result" >&5
8484 echo "${ECHO_T}$result" >&6; }
8485
8486
8487 enablestring=
8488 defaultval=$wxUSE_ALL_FEATURES
8489 if test -z "$defaultval"; then
8490 if test x"$enablestring" = xdisable; then
8491 defaultval=yes
8492 else
8493 defaultval=no
8494 fi
8495 fi
8496
8497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8499 # Check whether --enable-mediactrl was given.
8500 if test "${enable_mediactrl+set}" = set; then
8501 enableval=$enable_mediactrl;
8502 if test "$enableval" = yes; then
8503 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8504 else
8505 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8506 fi
8507 cache=yes
8508
8509 else
8510
8511 cache=no
8512 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8513 if test "x$LINE" != x ; then
8514 eval "DEFAULT_$LINE"
8515 fi
8516
8517 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8518
8519 fi
8520
8521
8522 eval "$wx_cv_use_mediactrl"
8523 if test "x$cache" = xyes; then
8524 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8525 fi
8526
8527 if test x"$enablestring" = xdisable; then
8528 if test $wxUSE_MEDIACTRL = yes; then
8529 result=no
8530 else
8531 result=yes
8532 fi
8533 else
8534 result=$wxUSE_MEDIACTRL
8535 fi
8536
8537 { echo "$as_me:$LINENO: result: $result" >&5
8538 echo "${ECHO_T}$result" >&6; }
8539
8540
8541 enablestring=
8542 defaultval=$wxUSE_ALL_FEATURES
8543 if test -z "$defaultval"; then
8544 if test x"$enablestring" = xdisable; then
8545 defaultval=yes
8546 else
8547 defaultval=no
8548 fi
8549 fi
8550
8551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8552 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8553 # Check whether --enable-gstreamer8 was given.
8554 if test "${enable_gstreamer8+set}" = set; then
8555 enableval=$enable_gstreamer8;
8556 if test "$enableval" = yes; then
8557 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8558 else
8559 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8560 fi
8561 cache=yes
8562
8563 else
8564
8565 cache=no
8566 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x ; then
8568 eval "DEFAULT_$LINE"
8569 fi
8570
8571 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8572
8573 fi
8574
8575
8576 eval "$wx_cv_use_gstreamer8"
8577 if test "x$cache" = xyes; then
8578 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8579 fi
8580
8581 if test x"$enablestring" = xdisable; then
8582 if test $wxUSE_GSTREAMER8 = yes; then
8583 result=no
8584 else
8585 result=yes
8586 fi
8587 else
8588 result=$wxUSE_GSTREAMER8
8589 fi
8590
8591 { echo "$as_me:$LINENO: result: $result" >&5
8592 echo "${ECHO_T}$result" >&6; }
8593
8594
8595 enablestring=
8596 defaultval=$wxUSE_ALL_FEATURES
8597 if test -z "$defaultval"; then
8598 if test x"$enablestring" = xdisable; then
8599 defaultval=yes
8600 else
8601 defaultval=no
8602 fi
8603 fi
8604
8605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8606 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8607 # Check whether --enable-printfposparam was given.
8608 if test "${enable_printfposparam+set}" = set; then
8609 enableval=$enable_printfposparam;
8610 if test "$enableval" = yes; then
8611 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8612 else
8613 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8614 fi
8615 cache=yes
8616
8617 else
8618
8619 cache=no
8620 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x ; then
8622 eval "DEFAULT_$LINE"
8623 fi
8624
8625 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8626
8627 fi
8628
8629
8630 eval "$wx_cv_use_printfposparam"
8631 if test "x$cache" = xyes; then
8632 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test x"$enablestring" = xdisable; then
8636 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8637 result=no
8638 else
8639 result=yes
8640 fi
8641 else
8642 result=$wxUSE_PRINTF_POS_PARAMS
8643 fi
8644
8645 { echo "$as_me:$LINENO: result: $result" >&5
8646 echo "${ECHO_T}$result" >&6; }
8647
8648
8649 enablestring=
8650 defaultval=$wxUSE_ALL_FEATURES
8651 if test -z "$defaultval"; then
8652 if test x"$enablestring" = xdisable; then
8653 defaultval=yes
8654 else
8655 defaultval=no
8656 fi
8657 fi
8658
8659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8660 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8661 # Check whether --enable-zipstream was given.
8662 if test "${enable_zipstream+set}" = set; then
8663 enableval=$enable_zipstream;
8664 if test "$enableval" = yes; then
8665 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8666 else
8667 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8668 fi
8669 cache=yes
8670
8671 else
8672
8673 cache=no
8674 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8675 if test "x$LINE" != x ; then
8676 eval "DEFAULT_$LINE"
8677 fi
8678
8679 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8680
8681 fi
8682
8683
8684 eval "$wx_cv_use_zipstream"
8685 if test "x$cache" = xyes; then
8686 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8687 fi
8688
8689 if test x"$enablestring" = xdisable; then
8690 if test $wxUSE_ZIPSTREAM = yes; then
8691 result=no
8692 else
8693 result=yes
8694 fi
8695 else
8696 result=$wxUSE_ZIPSTREAM
8697 fi
8698
8699 { echo "$as_me:$LINENO: result: $result" >&5
8700 echo "${ECHO_T}$result" >&6; }
8701
8702
8703
8704 enablestring=
8705 defaultval=$wxUSE_ALL_FEATURES
8706 if test -z "$defaultval"; then
8707 if test x"$enablestring" = xdisable; then
8708 defaultval=yes
8709 else
8710 defaultval=no
8711 fi
8712 fi
8713
8714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8716 # Check whether --enable-url was given.
8717 if test "${enable_url+set}" = set; then
8718 enableval=$enable_url;
8719 if test "$enableval" = yes; then
8720 wx_cv_use_url='wxUSE_URL=yes'
8721 else
8722 wx_cv_use_url='wxUSE_URL=no'
8723 fi
8724 cache=yes
8725
8726 else
8727
8728 cache=no
8729 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x ; then
8731 eval "DEFAULT_$LINE"
8732 fi
8733
8734 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8735
8736 fi
8737
8738
8739 eval "$wx_cv_use_url"
8740 if test "x$cache" = xyes; then
8741 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8742 fi
8743
8744 if test x"$enablestring" = xdisable; then
8745 if test $wxUSE_URL = yes; then
8746 result=no
8747 else
8748 result=yes
8749 fi
8750 else
8751 result=$wxUSE_URL
8752 fi
8753
8754 { echo "$as_me:$LINENO: result: $result" >&5
8755 echo "${ECHO_T}$result" >&6; }
8756
8757
8758 enablestring=
8759 defaultval=$wxUSE_ALL_FEATURES
8760 if test -z "$defaultval"; then
8761 if test x"$enablestring" = xdisable; then
8762 defaultval=yes
8763 else
8764 defaultval=no
8765 fi
8766 fi
8767
8768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8770 # Check whether --enable-variant was given.
8771 if test "${enable_variant+set}" = set; then
8772 enableval=$enable_variant;
8773 if test "$enableval" = yes; then
8774 wx_cv_use_variant='wxUSE_VARIANT=yes'
8775 else
8776 wx_cv_use_variant='wxUSE_VARIANT=no'
8777 fi
8778 cache=yes
8779
8780 else
8781
8782 cache=no
8783 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 fi
8787
8788 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8789
8790 fi
8791
8792
8793 eval "$wx_cv_use_variant"
8794 if test "x$cache" = xyes; then
8795 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8796 fi
8797
8798 if test x"$enablestring" = xdisable; then
8799 if test $wxUSE_VARIANT = yes; then
8800 result=no
8801 else
8802 result=yes
8803 fi
8804 else
8805 result=$wxUSE_VARIANT
8806 fi
8807
8808 { echo "$as_me:$LINENO: result: $result" >&5
8809 echo "${ECHO_T}$result" >&6; }
8810
8811
8812 enablestring=
8813 defaultval=$wxUSE_ALL_FEATURES
8814 if test -z "$defaultval"; then
8815 if test x"$enablestring" = xdisable; then
8816 defaultval=yes
8817 else
8818 defaultval=no
8819 fi
8820 fi
8821
8822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8823 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8824 # Check whether --enable-protocol was given.
8825 if test "${enable_protocol+set}" = set; then
8826 enableval=$enable_protocol;
8827 if test "$enableval" = yes; then
8828 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8829 else
8830 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8831 fi
8832 cache=yes
8833
8834 else
8835
8836 cache=no
8837 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8838 if test "x$LINE" != x ; then
8839 eval "DEFAULT_$LINE"
8840 fi
8841
8842 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8843
8844 fi
8845
8846
8847 eval "$wx_cv_use_protocol"
8848 if test "x$cache" = xyes; then
8849 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8850 fi
8851
8852 if test x"$enablestring" = xdisable; then
8853 if test $wxUSE_PROTOCOL = yes; then
8854 result=no
8855 else
8856 result=yes
8857 fi
8858 else
8859 result=$wxUSE_PROTOCOL
8860 fi
8861
8862 { echo "$as_me:$LINENO: result: $result" >&5
8863 echo "${ECHO_T}$result" >&6; }
8864
8865
8866 enablestring=
8867 defaultval=$wxUSE_ALL_FEATURES
8868 if test -z "$defaultval"; then
8869 if test x"$enablestring" = xdisable; then
8870 defaultval=yes
8871 else
8872 defaultval=no
8873 fi
8874 fi
8875
8876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8877 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8878 # Check whether --enable-protocol_http was given.
8879 if test "${enable_protocol_http+set}" = set; then
8880 enableval=$enable_protocol_http;
8881 if test "$enableval" = yes; then
8882 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8883 else
8884 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8885 fi
8886 cache=yes
8887
8888 else
8889
8890 cache=no
8891 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8892 if test "x$LINE" != x ; then
8893 eval "DEFAULT_$LINE"
8894 fi
8895
8896 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8897
8898 fi
8899
8900
8901 eval "$wx_cv_use_protocol_http"
8902 if test "x$cache" = xyes; then
8903 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8904 fi
8905
8906 if test x"$enablestring" = xdisable; then
8907 if test $wxUSE_PROTOCOL_HTTP = yes; then
8908 result=no
8909 else
8910 result=yes
8911 fi
8912 else
8913 result=$wxUSE_PROTOCOL_HTTP
8914 fi
8915
8916 { echo "$as_me:$LINENO: result: $result" >&5
8917 echo "${ECHO_T}$result" >&6; }
8918
8919
8920 enablestring=
8921 defaultval=$wxUSE_ALL_FEATURES
8922 if test -z "$defaultval"; then
8923 if test x"$enablestring" = xdisable; then
8924 defaultval=yes
8925 else
8926 defaultval=no
8927 fi
8928 fi
8929
8930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8931 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8932 # Check whether --enable-protocol_ftp was given.
8933 if test "${enable_protocol_ftp+set}" = set; then
8934 enableval=$enable_protocol_ftp;
8935 if test "$enableval" = yes; then
8936 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8937 else
8938 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8939 fi
8940 cache=yes
8941
8942 else
8943
8944 cache=no
8945 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8946 if test "x$LINE" != x ; then
8947 eval "DEFAULT_$LINE"
8948 fi
8949
8950 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8951
8952 fi
8953
8954
8955 eval "$wx_cv_use_protocol_ftp"
8956 if test "x$cache" = xyes; then
8957 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8958 fi
8959
8960 if test x"$enablestring" = xdisable; then
8961 if test $wxUSE_PROTOCOL_FTP = yes; then
8962 result=no
8963 else
8964 result=yes
8965 fi
8966 else
8967 result=$wxUSE_PROTOCOL_FTP
8968 fi
8969
8970 { echo "$as_me:$LINENO: result: $result" >&5
8971 echo "${ECHO_T}$result" >&6; }
8972
8973
8974 enablestring=
8975 defaultval=$wxUSE_ALL_FEATURES
8976 if test -z "$defaultval"; then
8977 if test x"$enablestring" = xdisable; then
8978 defaultval=yes
8979 else
8980 defaultval=no
8981 fi
8982 fi
8983
8984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8986 # Check whether --enable-protocol_file was given.
8987 if test "${enable_protocol_file+set}" = set; then
8988 enableval=$enable_protocol_file;
8989 if test "$enableval" = yes; then
8990 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8991 else
8992 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8993 fi
8994 cache=yes
8995
8996 else
8997
8998 cache=no
8999 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9002 fi
9003
9004 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9005
9006 fi
9007
9008
9009 eval "$wx_cv_use_protocol_file"
9010 if test "x$cache" = xyes; then
9011 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9012 fi
9013
9014 if test x"$enablestring" = xdisable; then
9015 if test $wxUSE_PROTOCOL_FILE = yes; then
9016 result=no
9017 else
9018 result=yes
9019 fi
9020 else
9021 result=$wxUSE_PROTOCOL_FILE
9022 fi
9023
9024 { echo "$as_me:$LINENO: result: $result" >&5
9025 echo "${ECHO_T}$result" >&6; }
9026
9027
9028
9029 enablestring=
9030 defaultval=$wxUSE_ALL_FEATURES
9031 if test -z "$defaultval"; then
9032 if test x"$enablestring" = xdisable; then
9033 defaultval=yes
9034 else
9035 defaultval=no
9036 fi
9037 fi
9038
9039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9041 # Check whether --enable-threads was given.
9042 if test "${enable_threads+set}" = set; then
9043 enableval=$enable_threads;
9044 if test "$enableval" = yes; then
9045 wx_cv_use_threads='wxUSE_THREADS=yes'
9046 else
9047 wx_cv_use_threads='wxUSE_THREADS=no'
9048 fi
9049 cache=yes
9050
9051 else
9052
9053 cache=no
9054 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9055 if test "x$LINE" != x ; then
9056 eval "DEFAULT_$LINE"
9057 fi
9058
9059 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9060
9061 fi
9062
9063
9064 eval "$wx_cv_use_threads"
9065 if test "x$cache" = xyes; then
9066 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9067 fi
9068
9069 if test x"$enablestring" = xdisable; then
9070 if test $wxUSE_THREADS = yes; then
9071 result=no
9072 else
9073 result=yes
9074 fi
9075 else
9076 result=$wxUSE_THREADS
9077 fi
9078
9079 { echo "$as_me:$LINENO: result: $result" >&5
9080 echo "${ECHO_T}$result" >&6; }
9081
9082
9083 if test "$wxUSE_GUI" = "yes"; then
9084
9085
9086
9087 enablestring=
9088 defaultval=$wxUSE_ALL_FEATURES
9089 if test -z "$defaultval"; then
9090 if test x"$enablestring" = xdisable; then
9091 defaultval=yes
9092 else
9093 defaultval=no
9094 fi
9095 fi
9096
9097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9098 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9099 # Check whether --enable-docview was given.
9100 if test "${enable_docview+set}" = set; then
9101 enableval=$enable_docview;
9102 if test "$enableval" = yes; then
9103 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9104 else
9105 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9106 fi
9107 cache=yes
9108
9109 else
9110
9111 cache=no
9112 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x ; then
9114 eval "DEFAULT_$LINE"
9115 fi
9116
9117 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9118
9119 fi
9120
9121
9122 eval "$wx_cv_use_docview"
9123 if test "x$cache" = xyes; then
9124 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9125 fi
9126
9127 if test x"$enablestring" = xdisable; then
9128 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9129 result=no
9130 else
9131 result=yes
9132 fi
9133 else
9134 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9135 fi
9136
9137 { echo "$as_me:$LINENO: result: $result" >&5
9138 echo "${ECHO_T}$result" >&6; }
9139
9140
9141 enablestring=
9142 defaultval=$wxUSE_ALL_FEATURES
9143 if test -z "$defaultval"; then
9144 if test x"$enablestring" = xdisable; then
9145 defaultval=yes
9146 else
9147 defaultval=no
9148 fi
9149 fi
9150
9151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9153 # Check whether --enable-help was given.
9154 if test "${enable_help+set}" = set; then
9155 enableval=$enable_help;
9156 if test "$enableval" = yes; then
9157 wx_cv_use_help='wxUSE_HELP=yes'
9158 else
9159 wx_cv_use_help='wxUSE_HELP=no'
9160 fi
9161 cache=yes
9162
9163 else
9164
9165 cache=no
9166 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9167 if test "x$LINE" != x ; then
9168 eval "DEFAULT_$LINE"
9169 fi
9170
9171 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9172
9173 fi
9174
9175
9176 eval "$wx_cv_use_help"
9177 if test "x$cache" = xyes; then
9178 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9179 fi
9180
9181 if test x"$enablestring" = xdisable; then
9182 if test $wxUSE_HELP = yes; then
9183 result=no
9184 else
9185 result=yes
9186 fi
9187 else
9188 result=$wxUSE_HELP
9189 fi
9190
9191 { echo "$as_me:$LINENO: result: $result" >&5
9192 echo "${ECHO_T}$result" >&6; }
9193
9194
9195 enablestring=
9196 defaultval=$wxUSE_ALL_FEATURES
9197 if test -z "$defaultval"; then
9198 if test x"$enablestring" = xdisable; then
9199 defaultval=yes
9200 else
9201 defaultval=no
9202 fi
9203 fi
9204
9205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9206 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9207 # Check whether --enable-mshtmlhelp was given.
9208 if test "${enable_mshtmlhelp+set}" = set; then
9209 enableval=$enable_mshtmlhelp;
9210 if test "$enableval" = yes; then
9211 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9212 else
9213 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9214 fi
9215 cache=yes
9216
9217 else
9218
9219 cache=no
9220 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9221 if test "x$LINE" != x ; then
9222 eval "DEFAULT_$LINE"
9223 fi
9224
9225 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9226
9227 fi
9228
9229
9230 eval "$wx_cv_use_mshtmlhelp"
9231 if test "x$cache" = xyes; then
9232 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9233 fi
9234
9235 if test x"$enablestring" = xdisable; then
9236 if test $wxUSE_MS_HTML_HELP = yes; then
9237 result=no
9238 else
9239 result=yes
9240 fi
9241 else
9242 result=$wxUSE_MS_HTML_HELP
9243 fi
9244
9245 { echo "$as_me:$LINENO: result: $result" >&5
9246 echo "${ECHO_T}$result" >&6; }
9247
9248
9249 enablestring=
9250 defaultval=$wxUSE_ALL_FEATURES
9251 if test -z "$defaultval"; then
9252 if test x"$enablestring" = xdisable; then
9253 defaultval=yes
9254 else
9255 defaultval=no
9256 fi
9257 fi
9258
9259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9260 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9261 # Check whether --enable-html was given.
9262 if test "${enable_html+set}" = set; then
9263 enableval=$enable_html;
9264 if test "$enableval" = yes; then
9265 wx_cv_use_html='wxUSE_HTML=yes'
9266 else
9267 wx_cv_use_html='wxUSE_HTML=no'
9268 fi
9269 cache=yes
9270
9271 else
9272
9273 cache=no
9274 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9275 if test "x$LINE" != x ; then
9276 eval "DEFAULT_$LINE"
9277 fi
9278
9279 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9280
9281 fi
9282
9283
9284 eval "$wx_cv_use_html"
9285 if test "x$cache" = xyes; then
9286 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9287 fi
9288
9289 if test x"$enablestring" = xdisable; then
9290 if test $wxUSE_HTML = yes; then
9291 result=no
9292 else
9293 result=yes
9294 fi
9295 else
9296 result=$wxUSE_HTML
9297 fi
9298
9299 { echo "$as_me:$LINENO: result: $result" >&5
9300 echo "${ECHO_T}$result" >&6; }
9301
9302
9303 enablestring=
9304 defaultval=$wxUSE_ALL_FEATURES
9305 if test -z "$defaultval"; then
9306 if test x"$enablestring" = xdisable; then
9307 defaultval=yes
9308 else
9309 defaultval=no
9310 fi
9311 fi
9312
9313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9314 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9315 # Check whether --enable-htmlhelp was given.
9316 if test "${enable_htmlhelp+set}" = set; then
9317 enableval=$enable_htmlhelp;
9318 if test "$enableval" = yes; then
9319 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9320 else
9321 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9322 fi
9323 cache=yes
9324
9325 else
9326
9327 cache=no
9328 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9329 if test "x$LINE" != x ; then
9330 eval "DEFAULT_$LINE"
9331 fi
9332
9333 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9334
9335 fi
9336
9337
9338 eval "$wx_cv_use_htmlhelp"
9339 if test "x$cache" = xyes; then
9340 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9341 fi
9342
9343 if test x"$enablestring" = xdisable; then
9344 if test $wxUSE_WXHTML_HELP = yes; then
9345 result=no
9346 else
9347 result=yes
9348 fi
9349 else
9350 result=$wxUSE_WXHTML_HELP
9351 fi
9352
9353 { echo "$as_me:$LINENO: result: $result" >&5
9354 echo "${ECHO_T}$result" >&6; }
9355
9356
9357 enablestring=
9358 defaultval=$wxUSE_ALL_FEATURES
9359 if test -z "$defaultval"; then
9360 if test x"$enablestring" = xdisable; then
9361 defaultval=yes
9362 else
9363 defaultval=no
9364 fi
9365 fi
9366
9367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9369 # Check whether --enable-xrc was given.
9370 if test "${enable_xrc+set}" = set; then
9371 enableval=$enable_xrc;
9372 if test "$enableval" = yes; then
9373 wx_cv_use_xrc='wxUSE_XRC=yes'
9374 else
9375 wx_cv_use_xrc='wxUSE_XRC=no'
9376 fi
9377 cache=yes
9378
9379 else
9380
9381 cache=no
9382 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9383 if test "x$LINE" != x ; then
9384 eval "DEFAULT_$LINE"
9385 fi
9386
9387 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9388
9389 fi
9390
9391
9392 eval "$wx_cv_use_xrc"
9393 if test "x$cache" = xyes; then
9394 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9395 fi
9396
9397 if test x"$enablestring" = xdisable; then
9398 if test $wxUSE_XRC = yes; then
9399 result=no
9400 else
9401 result=yes
9402 fi
9403 else
9404 result=$wxUSE_XRC
9405 fi
9406
9407 { echo "$as_me:$LINENO: result: $result" >&5
9408 echo "${ECHO_T}$result" >&6; }
9409
9410
9411 enablestring=
9412 defaultval=$wxUSE_ALL_FEATURES
9413 if test -z "$defaultval"; then
9414 if test x"$enablestring" = xdisable; then
9415 defaultval=yes
9416 else
9417 defaultval=no
9418 fi
9419 fi
9420
9421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9423 # Check whether --enable-aui was given.
9424 if test "${enable_aui+set}" = set; then
9425 enableval=$enable_aui;
9426 if test "$enableval" = yes; then
9427 wx_cv_use_aui='wxUSE_AUI=yes'
9428 else
9429 wx_cv_use_aui='wxUSE_AUI=no'
9430 fi
9431 cache=yes
9432
9433 else
9434
9435 cache=no
9436 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x ; then
9438 eval "DEFAULT_$LINE"
9439 fi
9440
9441 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9442
9443 fi
9444
9445
9446 eval "$wx_cv_use_aui"
9447 if test "x$cache" = xyes; then
9448 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9449 fi
9450
9451 if test x"$enablestring" = xdisable; then
9452 if test $wxUSE_AUI = yes; then
9453 result=no
9454 else
9455 result=yes
9456 fi
9457 else
9458 result=$wxUSE_AUI
9459 fi
9460
9461 { echo "$as_me:$LINENO: result: $result" >&5
9462 echo "${ECHO_T}$result" >&6; }
9463
9464
9465 enablestring=
9466 defaultval=$wxUSE_ALL_FEATURES
9467 if test -z "$defaultval"; then
9468 if test x"$enablestring" = xdisable; then
9469 defaultval=yes
9470 else
9471 defaultval=no
9472 fi
9473 fi
9474
9475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9477 # Check whether --enable-stc was given.
9478 if test "${enable_stc+set}" = set; then
9479 enableval=$enable_stc;
9480 if test "$enableval" = yes; then
9481 wx_cv_use_stc='wxUSE_STC=yes'
9482 else
9483 wx_cv_use_stc='wxUSE_STC=no'
9484 fi
9485 cache=yes
9486
9487 else
9488
9489 cache=no
9490 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x ; then
9492 eval "DEFAULT_$LINE"
9493 fi
9494
9495 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9496
9497 fi
9498
9499
9500 eval "$wx_cv_use_stc"
9501 if test "x$cache" = xyes; then
9502 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9503 fi
9504
9505 if test x"$enablestring" = xdisable; then
9506 if test $wxUSE_STC = yes; then
9507 result=no
9508 else
9509 result=yes
9510 fi
9511 else
9512 result=$wxUSE_STC
9513 fi
9514
9515 { echo "$as_me:$LINENO: result: $result" >&5
9516 echo "${ECHO_T}$result" >&6; }
9517
9518
9519 enablestring=
9520 defaultval=$wxUSE_ALL_FEATURES
9521 if test -z "$defaultval"; then
9522 if test x"$enablestring" = xdisable; then
9523 defaultval=yes
9524 else
9525 defaultval=no
9526 fi
9527 fi
9528
9529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9530 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9531 # Check whether --enable-constraints was given.
9532 if test "${enable_constraints+set}" = set; then
9533 enableval=$enable_constraints;
9534 if test "$enableval" = yes; then
9535 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9536 else
9537 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9538 fi
9539 cache=yes
9540
9541 else
9542
9543 cache=no
9544 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9545 if test "x$LINE" != x ; then
9546 eval "DEFAULT_$LINE"
9547 fi
9548
9549 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9550
9551 fi
9552
9553
9554 eval "$wx_cv_use_constraints"
9555 if test "x$cache" = xyes; then
9556 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9557 fi
9558
9559 if test x"$enablestring" = xdisable; then
9560 if test $wxUSE_CONSTRAINTS = yes; then
9561 result=no
9562 else
9563 result=yes
9564 fi
9565 else
9566 result=$wxUSE_CONSTRAINTS
9567 fi
9568
9569 { echo "$as_me:$LINENO: result: $result" >&5
9570 echo "${ECHO_T}$result" >&6; }
9571
9572
9573 enablestring=
9574 defaultval=$wxUSE_ALL_FEATURES
9575 if test -z "$defaultval"; then
9576 if test x"$enablestring" = xdisable; then
9577 defaultval=yes
9578 else
9579 defaultval=no
9580 fi
9581 fi
9582
9583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9584 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9585 # Check whether --enable-printarch was given.
9586 if test "${enable_printarch+set}" = set; then
9587 enableval=$enable_printarch;
9588 if test "$enableval" = yes; then
9589 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9590 else
9591 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9592 fi
9593 cache=yes
9594
9595 else
9596
9597 cache=no
9598 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9599 if test "x$LINE" != x ; then
9600 eval "DEFAULT_$LINE"
9601 fi
9602
9603 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9604
9605 fi
9606
9607
9608 eval "$wx_cv_use_printarch"
9609 if test "x$cache" = xyes; then
9610 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9611 fi
9612
9613 if test x"$enablestring" = xdisable; then
9614 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9615 result=no
9616 else
9617 result=yes
9618 fi
9619 else
9620 result=$wxUSE_PRINTING_ARCHITECTURE
9621 fi
9622
9623 { echo "$as_me:$LINENO: result: $result" >&5
9624 echo "${ECHO_T}$result" >&6; }
9625
9626
9627 enablestring=
9628 defaultval=$wxUSE_ALL_FEATURES
9629 if test -z "$defaultval"; then
9630 if test x"$enablestring" = xdisable; then
9631 defaultval=yes
9632 else
9633 defaultval=no
9634 fi
9635 fi
9636
9637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9639 # Check whether --enable-mdi was given.
9640 if test "${enable_mdi+set}" = set; then
9641 enableval=$enable_mdi;
9642 if test "$enableval" = yes; then
9643 wx_cv_use_mdi='wxUSE_MDI=yes'
9644 else
9645 wx_cv_use_mdi='wxUSE_MDI=no'
9646 fi
9647 cache=yes
9648
9649 else
9650
9651 cache=no
9652 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9655 fi
9656
9657 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9658
9659 fi
9660
9661
9662 eval "$wx_cv_use_mdi"
9663 if test "x$cache" = xyes; then
9664 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9665 fi
9666
9667 if test x"$enablestring" = xdisable; then
9668 if test $wxUSE_MDI = yes; then
9669 result=no
9670 else
9671 result=yes
9672 fi
9673 else
9674 result=$wxUSE_MDI
9675 fi
9676
9677 { echo "$as_me:$LINENO: result: $result" >&5
9678 echo "${ECHO_T}$result" >&6; }
9679
9680
9681 enablestring=
9682 defaultval=$wxUSE_ALL_FEATURES
9683 if test -z "$defaultval"; then
9684 if test x"$enablestring" = xdisable; then
9685 defaultval=yes
9686 else
9687 defaultval=no
9688 fi
9689 fi
9690
9691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9692 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9693 # Check whether --enable-mdidoc was given.
9694 if test "${enable_mdidoc+set}" = set; then
9695 enableval=$enable_mdidoc;
9696 if test "$enableval" = yes; then
9697 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9698 else
9699 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9700 fi
9701 cache=yes
9702
9703 else
9704
9705 cache=no
9706 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9707 if test "x$LINE" != x ; then
9708 eval "DEFAULT_$LINE"
9709 fi
9710
9711 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9712
9713 fi
9714
9715
9716 eval "$wx_cv_use_mdidoc"
9717 if test "x$cache" = xyes; then
9718 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9719 fi
9720
9721 if test x"$enablestring" = xdisable; then
9722 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9723 result=no
9724 else
9725 result=yes
9726 fi
9727 else
9728 result=$wxUSE_MDI_ARCHITECTURE
9729 fi
9730
9731 { echo "$as_me:$LINENO: result: $result" >&5
9732 echo "${ECHO_T}$result" >&6; }
9733
9734
9735 enablestring=
9736 defaultval=$wxUSE_ALL_FEATURES
9737 if test -z "$defaultval"; then
9738 if test x"$enablestring" = xdisable; then
9739 defaultval=yes
9740 else
9741 defaultval=no
9742 fi
9743 fi
9744
9745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9746 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9747 # Check whether --enable-loggui was given.
9748 if test "${enable_loggui+set}" = set; then
9749 enableval=$enable_loggui;
9750 if test "$enableval" = yes; then
9751 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9752 else
9753 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9754 fi
9755 cache=yes
9756
9757 else
9758
9759 cache=no
9760 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9761 if test "x$LINE" != x ; then
9762 eval "DEFAULT_$LINE"
9763 fi
9764
9765 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9766
9767 fi
9768
9769
9770 eval "$wx_cv_use_loggui"
9771 if test "x$cache" = xyes; then
9772 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9773 fi
9774
9775 if test x"$enablestring" = xdisable; then
9776 if test $wxUSE_LOGGUI = yes; then
9777 result=no
9778 else
9779 result=yes
9780 fi
9781 else
9782 result=$wxUSE_LOGGUI
9783 fi
9784
9785 { echo "$as_me:$LINENO: result: $result" >&5
9786 echo "${ECHO_T}$result" >&6; }
9787
9788
9789 enablestring=
9790 defaultval=$wxUSE_ALL_FEATURES
9791 if test -z "$defaultval"; then
9792 if test x"$enablestring" = xdisable; then
9793 defaultval=yes
9794 else
9795 defaultval=no
9796 fi
9797 fi
9798
9799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9800 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9801 # Check whether --enable-logwin was given.
9802 if test "${enable_logwin+set}" = set; then
9803 enableval=$enable_logwin;
9804 if test "$enableval" = yes; then
9805 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9806 else
9807 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9808 fi
9809 cache=yes
9810
9811 else
9812
9813 cache=no
9814 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9815 if test "x$LINE" != x ; then
9816 eval "DEFAULT_$LINE"
9817 fi
9818
9819 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9820
9821 fi
9822
9823
9824 eval "$wx_cv_use_logwin"
9825 if test "x$cache" = xyes; then
9826 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9827 fi
9828
9829 if test x"$enablestring" = xdisable; then
9830 if test $wxUSE_LOGWINDOW = yes; then
9831 result=no
9832 else
9833 result=yes
9834 fi
9835 else
9836 result=$wxUSE_LOGWINDOW
9837 fi
9838
9839 { echo "$as_me:$LINENO: result: $result" >&5
9840 echo "${ECHO_T}$result" >&6; }
9841
9842
9843 enablestring=
9844 defaultval=$wxUSE_ALL_FEATURES
9845 if test -z "$defaultval"; then
9846 if test x"$enablestring" = xdisable; then
9847 defaultval=yes
9848 else
9849 defaultval=no
9850 fi
9851 fi
9852
9853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9854 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
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 cache=yes
9864
9865 else
9866
9867 cache=no
9868 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9869 if test "x$LINE" != x ; then
9870 eval "DEFAULT_$LINE"
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 "x$cache" = xyes; then
9880 echo "wxUSE_LOGDIALOG=$wxUSE_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 # Check whether --enable-webkit was given.
9910 if test "${enable_webkit+set}" = set; then
9911 enableval=$enable_webkit;
9912 if test "$enableval" = yes; then
9913 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9914 else
9915 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9916 fi
9917 cache=yes
9918
9919 else
9920
9921 cache=no
9922 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9925 fi
9926
9927 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9928
9929 fi
9930
9931
9932 eval "$wx_cv_use_webkit"
9933 if test "x$cache" = xyes; then
9934 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9935 fi
9936
9937 if test x"$enablestring" = xdisable; then
9938 if test $wxUSE_WEBKIT = yes; then
9939 result=no
9940 else
9941 result=yes
9942 fi
9943 else
9944 result=$wxUSE_WEBKIT
9945 fi
9946
9947 { echo "$as_me:$LINENO: result: $result" >&5
9948 echo "${ECHO_T}$result" >&6; }
9949
9950
9951 enablestring=
9952 defaultval=$wxUSE_ALL_FEATURES
9953 if test -z "$defaultval"; then
9954 if test x"$enablestring" = xdisable; then
9955 defaultval=yes
9956 else
9957 defaultval=no
9958 fi
9959 fi
9960
9961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9962 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9963 # Check whether --enable-richtext was given.
9964 if test "${enable_richtext+set}" = set; then
9965 enableval=$enable_richtext;
9966 if test "$enableval" = yes; then
9967 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9968 else
9969 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9970 fi
9971 cache=yes
9972
9973 else
9974
9975 cache=no
9976 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9977 if test "x$LINE" != x ; then
9978 eval "DEFAULT_$LINE"
9979 fi
9980
9981 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9982
9983 fi
9984
9985
9986 eval "$wx_cv_use_richtext"
9987 if test "x$cache" = xyes; then
9988 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9989 fi
9990
9991 if test x"$enablestring" = xdisable; then
9992 if test $wxUSE_RICHTEXT = yes; then
9993 result=no
9994 else
9995 result=yes
9996 fi
9997 else
9998 result=$wxUSE_RICHTEXT
9999 fi
10000
10001 { echo "$as_me:$LINENO: result: $result" >&5
10002 echo "${ECHO_T}$result" >&6; }
10003
10004
10005 enablestring=
10006 defaultval=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x"$enablestring" = xdisable; then
10009 defaultval=yes
10010 else
10011 defaultval=no
10012 fi
10013 fi
10014
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10017 # Check whether --enable-graphics_ctx was given.
10018 if test "${enable_graphics_ctx+set}" = set; then
10019 enableval=$enable_graphics_ctx;
10020 if test "$enableval" = yes; then
10021 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10022 else
10023 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10024 fi
10025 cache=yes
10026
10027 else
10028
10029 cache=no
10030 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10031 if test "x$LINE" != x ; then
10032 eval "DEFAULT_$LINE"
10033 fi
10034
10035 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10036
10037 fi
10038
10039
10040 eval "$wx_cv_use_graphics_ctx"
10041 if test "x$cache" = xyes; then
10042 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10043 fi
10044
10045 if test x"$enablestring" = xdisable; then
10046 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10047 result=no
10048 else
10049 result=yes
10050 fi
10051 else
10052 result=$wxUSE_GRAPHICS_CONTEXT
10053 fi
10054
10055 { echo "$as_me:$LINENO: result: $result" >&5
10056 echo "${ECHO_T}$result" >&6; }
10057
10058
10059 enablestring=
10060 defaultval=$wxUSE_ALL_FEATURES
10061 if test -z "$defaultval"; then
10062 if test x"$enablestring" = xdisable; then
10063 defaultval=yes
10064 else
10065 defaultval=no
10066 fi
10067 fi
10068
10069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10070 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10071 # Check whether --enable-postscript was given.
10072 if test "${enable_postscript+set}" = set; then
10073 enableval=$enable_postscript;
10074 if test "$enableval" = yes; then
10075 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10076 else
10077 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10078 fi
10079 cache=yes
10080
10081 else
10082
10083 cache=no
10084 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10085 if test "x$LINE" != x ; then
10086 eval "DEFAULT_$LINE"
10087 fi
10088
10089 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10090
10091 fi
10092
10093
10094 eval "$wx_cv_use_postscript"
10095 if test "x$cache" = xyes; then
10096 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10097 fi
10098
10099 if test x"$enablestring" = xdisable; then
10100 if test $wxUSE_POSTSCRIPT = yes; then
10101 result=no
10102 else
10103 result=yes
10104 fi
10105 else
10106 result=$wxUSE_POSTSCRIPT
10107 fi
10108
10109 { echo "$as_me:$LINENO: result: $result" >&5
10110 echo "${ECHO_T}$result" >&6; }
10111
10112
10113 enablestring=
10114 defaultval=$wxUSE_ALL_FEATURES
10115 if test -z "$defaultval"; then
10116 if test x"$enablestring" = xdisable; then
10117 defaultval=yes
10118 else
10119 defaultval=no
10120 fi
10121 fi
10122
10123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10124 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10125 # Check whether --enable-svg was given.
10126 if test "${enable_svg+set}" = set; then
10127 enableval=$enable_svg;
10128 if test "$enableval" = yes; then
10129 wx_cv_use_svg='wxUSE_SVG=yes'
10130 else
10131 wx_cv_use_svg='wxUSE_SVG=no'
10132 fi
10133 cache=yes
10134
10135 else
10136
10137 cache=no
10138 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10139 if test "x$LINE" != x ; then
10140 eval "DEFAULT_$LINE"
10141 fi
10142
10143 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10144
10145 fi
10146
10147
10148 eval "$wx_cv_use_svg"
10149 if test "x$cache" = xyes; then
10150 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10151 fi
10152
10153 if test x"$enablestring" = xdisable; then
10154 if test $wxUSE_SVG = yes; then
10155 result=no
10156 else
10157 result=yes
10158 fi
10159 else
10160 result=$wxUSE_SVG
10161 fi
10162
10163 { echo "$as_me:$LINENO: result: $result" >&5
10164 echo "${ECHO_T}$result" >&6; }
10165
10166
10167
10168
10169 enablestring=
10170 defaultval=$wxUSE_ALL_FEATURES
10171 if test -z "$defaultval"; then
10172 if test x"$enablestring" = xdisable; then
10173 defaultval=yes
10174 else
10175 defaultval=no
10176 fi
10177 fi
10178
10179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10180 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10181 # Check whether --enable-clipboard was given.
10182 if test "${enable_clipboard+set}" = set; then
10183 enableval=$enable_clipboard;
10184 if test "$enableval" = yes; then
10185 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10186 else
10187 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10188 fi
10189 cache=yes
10190
10191 else
10192
10193 cache=no
10194 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10195 if test "x$LINE" != x ; then
10196 eval "DEFAULT_$LINE"
10197 fi
10198
10199 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10200
10201 fi
10202
10203
10204 eval "$wx_cv_use_clipboard"
10205 if test "x$cache" = xyes; then
10206 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10207 fi
10208
10209 if test x"$enablestring" = xdisable; then
10210 if test $wxUSE_CLIPBOARD = yes; then
10211 result=no
10212 else
10213 result=yes
10214 fi
10215 else
10216 result=$wxUSE_CLIPBOARD
10217 fi
10218
10219 { echo "$as_me:$LINENO: result: $result" >&5
10220 echo "${ECHO_T}$result" >&6; }
10221
10222
10223 enablestring=
10224 defaultval=$wxUSE_ALL_FEATURES
10225 if test -z "$defaultval"; then
10226 if test x"$enablestring" = xdisable; then
10227 defaultval=yes
10228 else
10229 defaultval=no
10230 fi
10231 fi
10232
10233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10235 # Check whether --enable-dnd was given.
10236 if test "${enable_dnd+set}" = set; then
10237 enableval=$enable_dnd;
10238 if test "$enableval" = yes; then
10239 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10240 else
10241 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10242 fi
10243 cache=yes
10244
10245 else
10246
10247 cache=no
10248 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10249 if test "x$LINE" != x ; then
10250 eval "DEFAULT_$LINE"
10251 fi
10252
10253 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10254
10255 fi
10256
10257
10258 eval "$wx_cv_use_dnd"
10259 if test "x$cache" = xyes; then
10260 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10261 fi
10262
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_DRAG_AND_DROP = yes; then
10265 result=no
10266 else
10267 result=yes
10268 fi
10269 else
10270 result=$wxUSE_DRAG_AND_DROP
10271 fi
10272
10273 { echo "$as_me:$LINENO: result: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10275
10276
10277 enablestring=
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10281 defaultval=yes
10282 else
10283 defaultval=no
10284 fi
10285 fi
10286
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10289 # Check whether --enable-metafile was given.
10290 if test "${enable_metafile+set}" = set; then
10291 enableval=$enable_metafile;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10294 else
10295 wx_cv_use_metafile='wxUSE_METAFILE=no'
10296 fi
10297 cache=yes
10298
10299 else
10300
10301 cache=no
10302 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x ; then
10304 eval "DEFAULT_$LINE"
10305 fi
10306
10307 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10308
10309 fi
10310
10311
10312 eval "$wx_cv_use_metafile"
10313 if test "x$cache" = xyes; then
10314 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10315 fi
10316
10317 if test x"$enablestring" = xdisable; then
10318 if test $wxUSE_METAFILE = yes; then
10319 result=no
10320 else
10321 result=yes
10322 fi
10323 else
10324 result=$wxUSE_METAFILE
10325 fi
10326
10327 { echo "$as_me:$LINENO: result: $result" >&5
10328 echo "${ECHO_T}$result" >&6; }
10329
10330
10331
10332 DEFAULT_wxUSE_CONTROLS=none
10333
10334 enablestring=disable
10335 defaultval=
10336 if test -z "$defaultval"; then
10337 if test x"$enablestring" = xdisable; then
10338 defaultval=yes
10339 else
10340 defaultval=no
10341 fi
10342 fi
10343
10344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10345 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10346 # Check whether --enable-controls was given.
10347 if test "${enable_controls+set}" = set; then
10348 enableval=$enable_controls;
10349 if test "$enableval" = yes; then
10350 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10351 else
10352 wx_cv_use_controls='wxUSE_CONTROLS=no'
10353 fi
10354 cache=yes
10355
10356 else
10357
10358 cache=no
10359 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10360 if test "x$LINE" != x ; then
10361 eval "DEFAULT_$LINE"
10362 fi
10363
10364 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10365
10366 fi
10367
10368
10369 eval "$wx_cv_use_controls"
10370 if test "x$cache" = xyes; then
10371 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10372 fi
10373
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_CONTROLS = yes; then
10376 result=no
10377 else
10378 result=yes
10379 fi
10380 else
10381 result=$wxUSE_CONTROLS
10382 fi
10383
10384 { echo "$as_me:$LINENO: result: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10386
10387
10388 if test "$wxUSE_CONTROLS" = "yes"; then
10389 DEFAULT_wxUSE_ACCEL=yes
10390 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10391 DEFAULT_wxUSE_BMPBUTTON=yes
10392 DEFAULT_wxUSE_BUTTON=yes
10393 DEFAULT_wxUSE_CALCTRL=yes
10394 DEFAULT_wxUSE_CARET=yes
10395 DEFAULT_wxUSE_COMBOBOX=yes
10396 DEFAULT_wxUSE_CHECKBOX=yes
10397 DEFAULT_wxUSE_CHECKLISTBOX=yes
10398 DEFAULT_wxUSE_CHOICE=yes
10399 DEFAULT_wxUSE_CHOICEBOOK=yes
10400 DEFAULT_wxUSE_COLLPANE=yes
10401 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10402 DEFAULT_wxUSE_COMBOBOX=yes
10403 DEFAULT_wxUSE_DATEPICKCTRL=yes
10404 DEFAULT_wxUSE_DISPLAY=yes
10405 DEFAULT_wxUSE_DETECT_SM=yes
10406 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10407 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10408 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10409 DEFAULT_wxUSE_GAUGE=yes
10410 DEFAULT_wxUSE_GRID=yes
10411 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10412 DEFAULT_wxUSE_DATAVIEWCTRL=no
10413 DEFAULT_wxUSE_IMAGLIST=yes
10414 DEFAULT_wxUSE_LISTBOOK=yes
10415 DEFAULT_wxUSE_LISTBOX=yes
10416 DEFAULT_wxUSE_LISTCTRL=yes
10417 DEFAULT_wxUSE_NOTEBOOK=yes
10418 DEFAULT_wxUSE_RADIOBOX=yes
10419 DEFAULT_wxUSE_RADIOBTN=yes
10420 DEFAULT_wxUSE_SASH=yes
10421 DEFAULT_wxUSE_SCROLLBAR=yes
10422 DEFAULT_wxUSE_SEARCHCTRL=yes
10423 DEFAULT_wxUSE_SLIDER=yes
10424 DEFAULT_wxUSE_SPINBTN=yes
10425 DEFAULT_wxUSE_SPINCTRL=yes
10426 DEFAULT_wxUSE_SPLITTER=yes
10427 DEFAULT_wxUSE_STATBMP=yes
10428 DEFAULT_wxUSE_STATBOX=yes
10429 DEFAULT_wxUSE_STATLINE=yes
10430 DEFAULT_wxUSE_STATUSBAR=yes
10431 DEFAULT_wxUSE_TAB_DIALOG=yes
10432 DEFAULT_wxUSE_TOGGLEBTN=yes
10433 DEFAULT_wxUSE_TOOLBAR=yes
10434 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10435 DEFAULT_wxUSE_TOOLTIPS=yes
10436 DEFAULT_wxUSE_TREEBOOK=yes
10437 DEFAULT_wxUSE_TOOLBOOK=yes
10438 DEFAULT_wxUSE_TREECTRL=yes
10439 DEFAULT_wxUSE_POPUPWIN=yes
10440 DEFAULT_wxUSE_TIPWINDOW=yes
10441 elif test "$wxUSE_CONTROLS" = "no"; then
10442 DEFAULT_wxUSE_ACCEL=no
10443 DEFAULT_wxUSE_ANIMATIONCTRL=no
10444 DEFAULT_wxUSE_BMPBUTTON=no
10445 DEFAULT_wxUSE_BUTTON=no
10446 DEFAULT_wxUSE_CALCTRL=no
10447 DEFAULT_wxUSE_CARET=no
10448 DEFAULT_wxUSE_COLLPANE=no
10449 DEFAULT_wxUSE_COMBOBOX=no
10450 DEFAULT_wxUSE_CHECKBOX=no
10451 DEFAULT_wxUSE_CHECKLISTBOX=no
10452 DEFAULT_wxUSE_CHOICE=no
10453 DEFAULT_wxUSE_CHOICEBOOK=no
10454 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10455 DEFAULT_wxUSE_COMBOBOX=no
10456 DEFAULT_wxUSE_DATEPICKCTRL=no
10457 DEFAULT_wxUSE_DISPLAY=no
10458 DEFAULT_wxUSE_DETECT_SM=no
10459 DEFAULT_wxUSE_DIRPICKERCTRL=no
10460 DEFAULT_wxUSE_FILEPICKERCTRL=no
10461 DEFAULT_wxUSE_FONTPICKERCTRL=no
10462 DEFAULT_wxUSE_GAUGE=no
10463 DEFAULT_wxUSE_GRID=no
10464 DEFAULT_wxUSE_HYPERLINKCTRL=no
10465 DEFAULT_wxUSE_DATAVIEWCTRL=no
10466 DEFAULT_wxUSE_IMAGLIST=no
10467 DEFAULT_wxUSE_LISTBOOK=no
10468 DEFAULT_wxUSE_LISTBOX=no
10469 DEFAULT_wxUSE_LISTCTRL=no
10470 DEFAULT_wxUSE_NOTEBOOK=no
10471 DEFAULT_wxUSE_RADIOBOX=no
10472 DEFAULT_wxUSE_RADIOBTN=no
10473 DEFAULT_wxUSE_SASH=no
10474 DEFAULT_wxUSE_SCROLLBAR=no
10475 DEFAULT_wxUSE_SEARCHCTRL=no
10476 DEFAULT_wxUSE_SLIDER=no
10477 DEFAULT_wxUSE_SPINBTN=no
10478 DEFAULT_wxUSE_SPINCTRL=no
10479 DEFAULT_wxUSE_SPLITTER=no
10480 DEFAULT_wxUSE_STATBMP=no
10481 DEFAULT_wxUSE_STATBOX=no
10482 DEFAULT_wxUSE_STATLINE=no
10483 DEFAULT_wxUSE_STATUSBAR=no
10484 DEFAULT_wxUSE_TAB_DIALOG=no
10485 DEFAULT_wxUSE_TOGGLEBTN=no
10486 DEFAULT_wxUSE_TOOLBAR=no
10487 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10488 DEFAULT_wxUSE_TOOLTIPS=no
10489 DEFAULT_wxUSE_TREEBOOK=no
10490 DEFAULT_wxUSE_TOOLBOOK=no
10491 DEFAULT_wxUSE_TREECTRL=no
10492 DEFAULT_wxUSE_POPUPWIN=no
10493 DEFAULT_wxUSE_TIPWINDOW=no
10494 fi
10495
10496
10497 enablestring=
10498 defaultval=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x"$enablestring" = xdisable; then
10501 defaultval=yes
10502 else
10503 defaultval=no
10504 fi
10505 fi
10506
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10509 # Check whether --enable-accel was given.
10510 if test "${enable_accel+set}" = set; then
10511 enableval=$enable_accel;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_accel='wxUSE_ACCEL=yes'
10514 else
10515 wx_cv_use_accel='wxUSE_ACCEL=no'
10516 fi
10517 cache=yes
10518
10519 else
10520
10521 cache=no
10522 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10523 if test "x$LINE" != x ; then
10524 eval "DEFAULT_$LINE"
10525 fi
10526
10527 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10528
10529 fi
10530
10531
10532 eval "$wx_cv_use_accel"
10533 if test "x$cache" = xyes; then
10534 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10535 fi
10536
10537 if test x"$enablestring" = xdisable; then
10538 if test $wxUSE_ACCEL = yes; then
10539 result=no
10540 else
10541 result=yes
10542 fi
10543 else
10544 result=$wxUSE_ACCEL
10545 fi
10546
10547 { echo "$as_me:$LINENO: result: $result" >&5
10548 echo "${ECHO_T}$result" >&6; }
10549
10550
10551 enablestring=
10552 defaultval=$wxUSE_ALL_FEATURES
10553 if test -z "$defaultval"; then
10554 if test x"$enablestring" = xdisable; then
10555 defaultval=yes
10556 else
10557 defaultval=no
10558 fi
10559 fi
10560
10561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10562 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10563 # Check whether --enable-animatectrl was given.
10564 if test "${enable_animatectrl+set}" = set; then
10565 enableval=$enable_animatectrl;
10566 if test "$enableval" = yes; then
10567 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10568 else
10569 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10570 fi
10571 cache=yes
10572
10573 else
10574
10575 cache=no
10576 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10577 if test "x$LINE" != x ; then
10578 eval "DEFAULT_$LINE"
10579 fi
10580
10581 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10582
10583 fi
10584
10585
10586 eval "$wx_cv_use_animatectrl"
10587 if test "x$cache" = xyes; then
10588 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10589 fi
10590
10591 if test x"$enablestring" = xdisable; then
10592 if test $wxUSE_ANIMATIONCTRL = yes; then
10593 result=no
10594 else
10595 result=yes
10596 fi
10597 else
10598 result=$wxUSE_ANIMATIONCTRL
10599 fi
10600
10601 { echo "$as_me:$LINENO: result: $result" >&5
10602 echo "${ECHO_T}$result" >&6; }
10603
10604
10605 enablestring=
10606 defaultval=$wxUSE_ALL_FEATURES
10607 if test -z "$defaultval"; then
10608 if test x"$enablestring" = xdisable; then
10609 defaultval=yes
10610 else
10611 defaultval=no
10612 fi
10613 fi
10614
10615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10617 # Check whether --enable-button was given.
10618 if test "${enable_button+set}" = set; then
10619 enableval=$enable_button;
10620 if test "$enableval" = yes; then
10621 wx_cv_use_button='wxUSE_BUTTON=yes'
10622 else
10623 wx_cv_use_button='wxUSE_BUTTON=no'
10624 fi
10625 cache=yes
10626
10627 else
10628
10629 cache=no
10630 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10631 if test "x$LINE" != x ; then
10632 eval "DEFAULT_$LINE"
10633 fi
10634
10635 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10636
10637 fi
10638
10639
10640 eval "$wx_cv_use_button"
10641 if test "x$cache" = xyes; then
10642 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10643 fi
10644
10645 if test x"$enablestring" = xdisable; then
10646 if test $wxUSE_BUTTON = yes; then
10647 result=no
10648 else
10649 result=yes
10650 fi
10651 else
10652 result=$wxUSE_BUTTON
10653 fi
10654
10655 { echo "$as_me:$LINENO: result: $result" >&5
10656 echo "${ECHO_T}$result" >&6; }
10657
10658
10659 enablestring=
10660 defaultval=$wxUSE_ALL_FEATURES
10661 if test -z "$defaultval"; then
10662 if test x"$enablestring" = xdisable; then
10663 defaultval=yes
10664 else
10665 defaultval=no
10666 fi
10667 fi
10668
10669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10670 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10671 # Check whether --enable-bmpbutton was given.
10672 if test "${enable_bmpbutton+set}" = set; then
10673 enableval=$enable_bmpbutton;
10674 if test "$enableval" = yes; then
10675 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10676 else
10677 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10678 fi
10679 cache=yes
10680
10681 else
10682
10683 cache=no
10684 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10687 fi
10688
10689 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10690
10691 fi
10692
10693
10694 eval "$wx_cv_use_bmpbutton"
10695 if test "x$cache" = xyes; then
10696 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10697 fi
10698
10699 if test x"$enablestring" = xdisable; then
10700 if test $wxUSE_BMPBUTTON = yes; then
10701 result=no
10702 else
10703 result=yes
10704 fi
10705 else
10706 result=$wxUSE_BMPBUTTON
10707 fi
10708
10709 { echo "$as_me:$LINENO: result: $result" >&5
10710 echo "${ECHO_T}$result" >&6; }
10711
10712
10713 enablestring=
10714 defaultval=$wxUSE_ALL_FEATURES
10715 if test -z "$defaultval"; then
10716 if test x"$enablestring" = xdisable; then
10717 defaultval=yes
10718 else
10719 defaultval=no
10720 fi
10721 fi
10722
10723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10725 # Check whether --enable-bmpcombobox was given.
10726 if test "${enable_bmpcombobox+set}" = set; then
10727 enableval=$enable_bmpcombobox;
10728 if test "$enableval" = yes; then
10729 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10730 else
10731 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10732 fi
10733 cache=yes
10734
10735 else
10736
10737 cache=no
10738 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10739 if test "x$LINE" != x ; then
10740 eval "DEFAULT_$LINE"
10741 fi
10742
10743 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10744
10745 fi
10746
10747
10748 eval "$wx_cv_use_bmpcombobox"
10749 if test "x$cache" = xyes; then
10750 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10751 fi
10752
10753 if test x"$enablestring" = xdisable; then
10754 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10755 result=no
10756 else
10757 result=yes
10758 fi
10759 else
10760 result=$wxUSE_BITMAPCOMBOBOX
10761 fi
10762
10763 { echo "$as_me:$LINENO: result: $result" >&5
10764 echo "${ECHO_T}$result" >&6; }
10765
10766
10767 enablestring=
10768 defaultval=$wxUSE_ALL_FEATURES
10769 if test -z "$defaultval"; then
10770 if test x"$enablestring" = xdisable; then
10771 defaultval=yes
10772 else
10773 defaultval=no
10774 fi
10775 fi
10776
10777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10778 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10779 # Check whether --enable-calendar was given.
10780 if test "${enable_calendar+set}" = set; then
10781 enableval=$enable_calendar;
10782 if test "$enableval" = yes; then
10783 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10784 else
10785 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10786 fi
10787 cache=yes
10788
10789 else
10790
10791 cache=no
10792 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10793 if test "x$LINE" != x ; then
10794 eval "DEFAULT_$LINE"
10795 fi
10796
10797 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10798
10799 fi
10800
10801
10802 eval "$wx_cv_use_calendar"
10803 if test "x$cache" = xyes; then
10804 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10805 fi
10806
10807 if test x"$enablestring" = xdisable; then
10808 if test $wxUSE_CALCTRL = yes; then
10809 result=no
10810 else
10811 result=yes
10812 fi
10813 else
10814 result=$wxUSE_CALCTRL
10815 fi
10816
10817 { echo "$as_me:$LINENO: result: $result" >&5
10818 echo "${ECHO_T}$result" >&6; }
10819
10820
10821 enablestring=
10822 defaultval=$wxUSE_ALL_FEATURES
10823 if test -z "$defaultval"; then
10824 if test x"$enablestring" = xdisable; then
10825 defaultval=yes
10826 else
10827 defaultval=no
10828 fi
10829 fi
10830
10831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10832 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10833 # Check whether --enable-caret was given.
10834 if test "${enable_caret+set}" = set; then
10835 enableval=$enable_caret;
10836 if test "$enableval" = yes; then
10837 wx_cv_use_caret='wxUSE_CARET=yes'
10838 else
10839 wx_cv_use_caret='wxUSE_CARET=no'
10840 fi
10841 cache=yes
10842
10843 else
10844
10845 cache=no
10846 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10847 if test "x$LINE" != x ; then
10848 eval "DEFAULT_$LINE"
10849 fi
10850
10851 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10852
10853 fi
10854
10855
10856 eval "$wx_cv_use_caret"
10857 if test "x$cache" = xyes; then
10858 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10859 fi
10860
10861 if test x"$enablestring" = xdisable; then
10862 if test $wxUSE_CARET = yes; then
10863 result=no
10864 else
10865 result=yes
10866 fi
10867 else
10868 result=$wxUSE_CARET
10869 fi
10870
10871 { echo "$as_me:$LINENO: result: $result" >&5
10872 echo "${ECHO_T}$result" >&6; }
10873
10874
10875 enablestring=
10876 defaultval=$wxUSE_ALL_FEATURES
10877 if test -z "$defaultval"; then
10878 if test x"$enablestring" = xdisable; then
10879 defaultval=yes
10880 else
10881 defaultval=no
10882 fi
10883 fi
10884
10885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10886 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10887 # Check whether --enable-checkbox was given.
10888 if test "${enable_checkbox+set}" = set; then
10889 enableval=$enable_checkbox;
10890 if test "$enableval" = yes; then
10891 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10892 else
10893 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10894 fi
10895 cache=yes
10896
10897 else
10898
10899 cache=no
10900 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10901 if test "x$LINE" != x ; then
10902 eval "DEFAULT_$LINE"
10903 fi
10904
10905 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10906
10907 fi
10908
10909
10910 eval "$wx_cv_use_checkbox"
10911 if test "x$cache" = xyes; then
10912 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10913 fi
10914
10915 if test x"$enablestring" = xdisable; then
10916 if test $wxUSE_CHECKBOX = yes; then
10917 result=no
10918 else
10919 result=yes
10920 fi
10921 else
10922 result=$wxUSE_CHECKBOX
10923 fi
10924
10925 { echo "$as_me:$LINENO: result: $result" >&5
10926 echo "${ECHO_T}$result" >&6; }
10927
10928
10929 enablestring=
10930 defaultval=$wxUSE_ALL_FEATURES
10931 if test -z "$defaultval"; then
10932 if test x"$enablestring" = xdisable; then
10933 defaultval=yes
10934 else
10935 defaultval=no
10936 fi
10937 fi
10938
10939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10940 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10941 # Check whether --enable-checklst was given.
10942 if test "${enable_checklst+set}" = set; then
10943 enableval=$enable_checklst;
10944 if test "$enableval" = yes; then
10945 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10946 else
10947 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10948 fi
10949 cache=yes
10950
10951 else
10952
10953 cache=no
10954 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10955 if test "x$LINE" != x ; then
10956 eval "DEFAULT_$LINE"
10957 fi
10958
10959 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10960
10961 fi
10962
10963
10964 eval "$wx_cv_use_checklst"
10965 if test "x$cache" = xyes; then
10966 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10967 fi
10968
10969 if test x"$enablestring" = xdisable; then
10970 if test $wxUSE_CHECKLST = yes; then
10971 result=no
10972 else
10973 result=yes
10974 fi
10975 else
10976 result=$wxUSE_CHECKLST
10977 fi
10978
10979 { echo "$as_me:$LINENO: result: $result" >&5
10980 echo "${ECHO_T}$result" >&6; }
10981
10982
10983 enablestring=
10984 defaultval=$wxUSE_ALL_FEATURES
10985 if test -z "$defaultval"; then
10986 if test x"$enablestring" = xdisable; then
10987 defaultval=yes
10988 else
10989 defaultval=no
10990 fi
10991 fi
10992
10993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10994 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10995 # Check whether --enable-choice was given.
10996 if test "${enable_choice+set}" = set; then
10997 enableval=$enable_choice;
10998 if test "$enableval" = yes; then
10999 wx_cv_use_choice='wxUSE_CHOICE=yes'
11000 else
11001 wx_cv_use_choice='wxUSE_CHOICE=no'
11002 fi
11003 cache=yes
11004
11005 else
11006
11007 cache=no
11008 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11009 if test "x$LINE" != x ; then
11010 eval "DEFAULT_$LINE"
11011 fi
11012
11013 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11014
11015 fi
11016
11017
11018 eval "$wx_cv_use_choice"
11019 if test "x$cache" = xyes; then
11020 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11021 fi
11022
11023 if test x"$enablestring" = xdisable; then
11024 if test $wxUSE_CHOICE = yes; then
11025 result=no
11026 else
11027 result=yes
11028 fi
11029 else
11030 result=$wxUSE_CHOICE
11031 fi
11032
11033 { echo "$as_me:$LINENO: result: $result" >&5
11034 echo "${ECHO_T}$result" >&6; }
11035
11036
11037 enablestring=
11038 defaultval=$wxUSE_ALL_FEATURES
11039 if test -z "$defaultval"; then
11040 if test x"$enablestring" = xdisable; then
11041 defaultval=yes
11042 else
11043 defaultval=no
11044 fi
11045 fi
11046
11047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11048 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11049 # Check whether --enable-choicebook was given.
11050 if test "${enable_choicebook+set}" = set; then
11051 enableval=$enable_choicebook;
11052 if test "$enableval" = yes; then
11053 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11054 else
11055 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11056 fi
11057 cache=yes
11058
11059 else
11060
11061 cache=no
11062 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11063 if test "x$LINE" != x ; then
11064 eval "DEFAULT_$LINE"
11065 fi
11066
11067 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11068
11069 fi
11070
11071
11072 eval "$wx_cv_use_choicebook"
11073 if test "x$cache" = xyes; then
11074 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11075 fi
11076
11077 if test x"$enablestring" = xdisable; then
11078 if test $wxUSE_CHOICEBOOK = yes; then
11079 result=no
11080 else
11081 result=yes
11082 fi
11083 else
11084 result=$wxUSE_CHOICEBOOK
11085 fi
11086
11087 { echo "$as_me:$LINENO: result: $result" >&5
11088 echo "${ECHO_T}$result" >&6; }
11089
11090
11091 enablestring=
11092 defaultval=$wxUSE_ALL_FEATURES
11093 if test -z "$defaultval"; then
11094 if test x"$enablestring" = xdisable; then
11095 defaultval=yes
11096 else
11097 defaultval=no
11098 fi
11099 fi
11100
11101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11102 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11103 # Check whether --enable-collpane was given.
11104 if test "${enable_collpane+set}" = set; then
11105 enableval=$enable_collpane;
11106 if test "$enableval" = yes; then
11107 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11108 else
11109 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11110 fi
11111 cache=yes
11112
11113 else
11114
11115 cache=no
11116 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11117 if test "x$LINE" != x ; then
11118 eval "DEFAULT_$LINE"
11119 fi
11120
11121 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11122
11123 fi
11124
11125
11126 eval "$wx_cv_use_collpane"
11127 if test "x$cache" = xyes; then
11128 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11129 fi
11130
11131 if test x"$enablestring" = xdisable; then
11132 if test $wxUSE_COLLPANE = yes; then
11133 result=no
11134 else
11135 result=yes
11136 fi
11137 else
11138 result=$wxUSE_COLLPANE
11139 fi
11140
11141 { echo "$as_me:$LINENO: result: $result" >&5
11142 echo "${ECHO_T}$result" >&6; }
11143
11144
11145 enablestring=
11146 defaultval=$wxUSE_ALL_FEATURES
11147 if test -z "$defaultval"; then
11148 if test x"$enablestring" = xdisable; then
11149 defaultval=yes
11150 else
11151 defaultval=no
11152 fi
11153 fi
11154
11155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11156 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11157 # Check whether --enable-colourpicker was given.
11158 if test "${enable_colourpicker+set}" = set; then
11159 enableval=$enable_colourpicker;
11160 if test "$enableval" = yes; then
11161 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11162 else
11163 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11164 fi
11165 cache=yes
11166
11167 else
11168
11169 cache=no
11170 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11171 if test "x$LINE" != x ; then
11172 eval "DEFAULT_$LINE"
11173 fi
11174
11175 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11176
11177 fi
11178
11179
11180 eval "$wx_cv_use_colourpicker"
11181 if test "x$cache" = xyes; then
11182 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11183 fi
11184
11185 if test x"$enablestring" = xdisable; then
11186 if test $wxUSE_COLOURPICKERCTRL = yes; then
11187 result=no
11188 else
11189 result=yes
11190 fi
11191 else
11192 result=$wxUSE_COLOURPICKERCTRL
11193 fi
11194
11195 { echo "$as_me:$LINENO: result: $result" >&5
11196 echo "${ECHO_T}$result" >&6; }
11197
11198
11199 enablestring=
11200 defaultval=$wxUSE_ALL_FEATURES
11201 if test -z "$defaultval"; then
11202 if test x"$enablestring" = xdisable; then
11203 defaultval=yes
11204 else
11205 defaultval=no
11206 fi
11207 fi
11208
11209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11210 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11211 # Check whether --enable-combobox was given.
11212 if test "${enable_combobox+set}" = set; then
11213 enableval=$enable_combobox;
11214 if test "$enableval" = yes; then
11215 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11216 else
11217 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11218 fi
11219 cache=yes
11220
11221 else
11222
11223 cache=no
11224 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11225 if test "x$LINE" != x ; then
11226 eval "DEFAULT_$LINE"
11227 fi
11228
11229 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11230
11231 fi
11232
11233
11234 eval "$wx_cv_use_combobox"
11235 if test "x$cache" = xyes; then
11236 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11237 fi
11238
11239 if test x"$enablestring" = xdisable; then
11240 if test $wxUSE_COMBOBOX = yes; then
11241 result=no
11242 else
11243 result=yes
11244 fi
11245 else
11246 result=$wxUSE_COMBOBOX
11247 fi
11248
11249 { echo "$as_me:$LINENO: result: $result" >&5
11250 echo "${ECHO_T}$result" >&6; }
11251
11252
11253 enablestring=
11254 defaultval=$wxUSE_ALL_FEATURES
11255 if test -z "$defaultval"; then
11256 if test x"$enablestring" = xdisable; then
11257 defaultval=yes
11258 else
11259 defaultval=no
11260 fi
11261 fi
11262
11263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11265 # Check whether --enable-comboctrl was given.
11266 if test "${enable_comboctrl+set}" = set; then
11267 enableval=$enable_comboctrl;
11268 if test "$enableval" = yes; then
11269 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11270 else
11271 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11272 fi
11273 cache=yes
11274
11275 else
11276
11277 cache=no
11278 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11279 if test "x$LINE" != x ; then
11280 eval "DEFAULT_$LINE"
11281 fi
11282
11283 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11284
11285 fi
11286
11287
11288 eval "$wx_cv_use_comboctrl"
11289 if test "x$cache" = xyes; then
11290 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11291 fi
11292
11293 if test x"$enablestring" = xdisable; then
11294 if test $wxUSE_COMBOCTRL = yes; then
11295 result=no
11296 else
11297 result=yes
11298 fi
11299 else
11300 result=$wxUSE_COMBOCTRL
11301 fi
11302
11303 { echo "$as_me:$LINENO: result: $result" >&5
11304 echo "${ECHO_T}$result" >&6; }
11305
11306
11307 enablestring=
11308 defaultval=$wxUSE_ALL_FEATURES
11309 if test -z "$defaultval"; then
11310 if test x"$enablestring" = xdisable; then
11311 defaultval=yes
11312 else
11313 defaultval=no
11314 fi
11315 fi
11316
11317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11319 # Check whether --enable-datepick was given.
11320 if test "${enable_datepick+set}" = set; then
11321 enableval=$enable_datepick;
11322 if test "$enableval" = yes; then
11323 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11324 else
11325 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11326 fi
11327 cache=yes
11328
11329 else
11330
11331 cache=no
11332 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x ; then
11334 eval "DEFAULT_$LINE"
11335 fi
11336
11337 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11338
11339 fi
11340
11341
11342 eval "$wx_cv_use_datepick"
11343 if test "x$cache" = xyes; then
11344 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11345 fi
11346
11347 if test x"$enablestring" = xdisable; then
11348 if test $wxUSE_DATEPICKCTRL = yes; then
11349 result=no
11350 else
11351 result=yes
11352 fi
11353 else
11354 result=$wxUSE_DATEPICKCTRL
11355 fi
11356
11357 { echo "$as_me:$LINENO: result: $result" >&5
11358 echo "${ECHO_T}$result" >&6; }
11359
11360
11361 enablestring=
11362 defaultval=$wxUSE_ALL_FEATURES
11363 if test -z "$defaultval"; then
11364 if test x"$enablestring" = xdisable; then
11365 defaultval=yes
11366 else
11367 defaultval=no
11368 fi
11369 fi
11370
11371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11372 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11373 # Check whether --enable-dirpicker was given.
11374 if test "${enable_dirpicker+set}" = set; then
11375 enableval=$enable_dirpicker;
11376 if test "$enableval" = yes; then
11377 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11378 else
11379 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11380 fi
11381 cache=yes
11382
11383 else
11384
11385 cache=no
11386 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11387 if test "x$LINE" != x ; then
11388 eval "DEFAULT_$LINE"
11389 fi
11390
11391 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11392
11393 fi
11394
11395
11396 eval "$wx_cv_use_dirpicker"
11397 if test "x$cache" = xyes; then
11398 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11399 fi
11400
11401 if test x"$enablestring" = xdisable; then
11402 if test $wxUSE_DIRPICKERCTRL = yes; then
11403 result=no
11404 else
11405 result=yes
11406 fi
11407 else
11408 result=$wxUSE_DIRPICKERCTRL
11409 fi
11410
11411 { echo "$as_me:$LINENO: result: $result" >&5
11412 echo "${ECHO_T}$result" >&6; }
11413
11414
11415 enablestring=
11416 defaultval=$wxUSE_ALL_FEATURES
11417 if test -z "$defaultval"; then
11418 if test x"$enablestring" = xdisable; then
11419 defaultval=yes
11420 else
11421 defaultval=no
11422 fi
11423 fi
11424
11425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11426 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11427 # Check whether --enable-display was given.
11428 if test "${enable_display+set}" = set; then
11429 enableval=$enable_display;
11430 if test "$enableval" = yes; then
11431 wx_cv_use_display='wxUSE_DISPLAY=yes'
11432 else
11433 wx_cv_use_display='wxUSE_DISPLAY=no'
11434 fi
11435 cache=yes
11436
11437 else
11438
11439 cache=no
11440 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11441 if test "x$LINE" != x ; then
11442 eval "DEFAULT_$LINE"
11443 fi
11444
11445 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11446
11447 fi
11448
11449
11450 eval "$wx_cv_use_display"
11451 if test "x$cache" = xyes; then
11452 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11453 fi
11454
11455 if test x"$enablestring" = xdisable; then
11456 if test $wxUSE_DISPLAY = yes; then
11457 result=no
11458 else
11459 result=yes
11460 fi
11461 else
11462 result=$wxUSE_DISPLAY
11463 fi
11464
11465 { echo "$as_me:$LINENO: result: $result" >&5
11466 echo "${ECHO_T}$result" >&6; }
11467
11468
11469 enablestring=
11470 defaultval=$wxUSE_ALL_FEATURES
11471 if test -z "$defaultval"; then
11472 if test x"$enablestring" = xdisable; then
11473 defaultval=yes
11474 else
11475 defaultval=no
11476 fi
11477 fi
11478
11479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11480 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11481 # Check whether --enable-detect_sm was given.
11482 if test "${enable_detect_sm+set}" = set; then
11483 enableval=$enable_detect_sm;
11484 if test "$enableval" = yes; then
11485 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11486 else
11487 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11488 fi
11489 cache=yes
11490
11491 else
11492
11493 cache=no
11494 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11495 if test "x$LINE" != x ; then
11496 eval "DEFAULT_$LINE"
11497 fi
11498
11499 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11500
11501 fi
11502
11503
11504 eval "$wx_cv_use_detect_sm"
11505 if test "x$cache" = xyes; then
11506 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11507 fi
11508
11509 if test x"$enablestring" = xdisable; then
11510 if test $wxUSE_DETECT_SM = yes; then
11511 result=no
11512 else
11513 result=yes
11514 fi
11515 else
11516 result=$wxUSE_DETECT_SM
11517 fi
11518
11519 { echo "$as_me:$LINENO: result: $result" >&5
11520 echo "${ECHO_T}$result" >&6; }
11521
11522
11523 enablestring=
11524 defaultval=$wxUSE_ALL_FEATURES
11525 if test -z "$defaultval"; then
11526 if test x"$enablestring" = xdisable; then
11527 defaultval=yes
11528 else
11529 defaultval=no
11530 fi
11531 fi
11532
11533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11534 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11535 # Check whether --enable-editablebox was given.
11536 if test "${enable_editablebox+set}" = set; then
11537 enableval=$enable_editablebox;
11538 if test "$enableval" = yes; then
11539 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11540 else
11541 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11542 fi
11543 cache=yes
11544
11545 else
11546
11547 cache=no
11548 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11549 if test "x$LINE" != x ; then
11550 eval "DEFAULT_$LINE"
11551 fi
11552
11553 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11554
11555 fi
11556
11557
11558 eval "$wx_cv_use_editablebox"
11559 if test "x$cache" = xyes; then
11560 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11561 fi
11562
11563 if test x"$enablestring" = xdisable; then
11564 if test $wxUSE_EDITABLELISTBOX = yes; then
11565 result=no
11566 else
11567 result=yes
11568 fi
11569 else
11570 result=$wxUSE_EDITABLELISTBOX
11571 fi
11572
11573 { echo "$as_me:$LINENO: result: $result" >&5
11574 echo "${ECHO_T}$result" >&6; }
11575
11576
11577 enablestring=
11578 defaultval=$wxUSE_ALL_FEATURES
11579 if test -z "$defaultval"; then
11580 if test x"$enablestring" = xdisable; then
11581 defaultval=yes
11582 else
11583 defaultval=no
11584 fi
11585 fi
11586
11587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11588 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11589 # Check whether --enable-filepicker was given.
11590 if test "${enable_filepicker+set}" = set; then
11591 enableval=$enable_filepicker;
11592 if test "$enableval" = yes; then
11593 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11594 else
11595 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11596 fi
11597 cache=yes
11598
11599 else
11600
11601 cache=no
11602 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11603 if test "x$LINE" != x ; then
11604 eval "DEFAULT_$LINE"
11605 fi
11606
11607 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11608
11609 fi
11610
11611
11612 eval "$wx_cv_use_filepicker"
11613 if test "x$cache" = xyes; then
11614 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11615 fi
11616
11617 if test x"$enablestring" = xdisable; then
11618 if test $wxUSE_FILEPICKERCTRL = yes; then
11619 result=no
11620 else
11621 result=yes
11622 fi
11623 else
11624 result=$wxUSE_FILEPICKERCTRL
11625 fi
11626
11627 { echo "$as_me:$LINENO: result: $result" >&5
11628 echo "${ECHO_T}$result" >&6; }
11629
11630
11631 enablestring=
11632 defaultval=$wxUSE_ALL_FEATURES
11633 if test -z "$defaultval"; then
11634 if test x"$enablestring" = xdisable; then
11635 defaultval=yes
11636 else
11637 defaultval=no
11638 fi
11639 fi
11640
11641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11642 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11643 # Check whether --enable-fontpicker was given.
11644 if test "${enable_fontpicker+set}" = set; then
11645 enableval=$enable_fontpicker;
11646 if test "$enableval" = yes; then
11647 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11648 else
11649 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11650 fi
11651 cache=yes
11652
11653 else
11654
11655 cache=no
11656 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11657 if test "x$LINE" != x ; then
11658 eval "DEFAULT_$LINE"
11659 fi
11660
11661 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11662
11663 fi
11664
11665
11666 eval "$wx_cv_use_fontpicker"
11667 if test "x$cache" = xyes; then
11668 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11669 fi
11670
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_FONTPICKERCTRL = yes; then
11673 result=no
11674 else
11675 result=yes
11676 fi
11677 else
11678 result=$wxUSE_FONTPICKERCTRL
11679 fi
11680
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11683
11684
11685 enablestring=
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11689 defaultval=yes
11690 else
11691 defaultval=no
11692 fi
11693 fi
11694
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11697 # Check whether --enable-gauge was given.
11698 if test "${enable_gauge+set}" = set; then
11699 enableval=$enable_gauge;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11702 else
11703 wx_cv_use_gauge='wxUSE_GAUGE=no'
11704 fi
11705 cache=yes
11706
11707 else
11708
11709 cache=no
11710 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11711 if test "x$LINE" != x ; then
11712 eval "DEFAULT_$LINE"
11713 fi
11714
11715 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11716
11717 fi
11718
11719
11720 eval "$wx_cv_use_gauge"
11721 if test "x$cache" = xyes; then
11722 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11723 fi
11724
11725 if test x"$enablestring" = xdisable; then
11726 if test $wxUSE_GAUGE = yes; then
11727 result=no
11728 else
11729 result=yes
11730 fi
11731 else
11732 result=$wxUSE_GAUGE
11733 fi
11734
11735 { echo "$as_me:$LINENO: result: $result" >&5
11736 echo "${ECHO_T}$result" >&6; }
11737
11738
11739 enablestring=
11740 defaultval=$wxUSE_ALL_FEATURES
11741 if test -z "$defaultval"; then
11742 if test x"$enablestring" = xdisable; then
11743 defaultval=yes
11744 else
11745 defaultval=no
11746 fi
11747 fi
11748
11749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11750 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11751 # Check whether --enable-grid was given.
11752 if test "${enable_grid+set}" = set; then
11753 enableval=$enable_grid;
11754 if test "$enableval" = yes; then
11755 wx_cv_use_grid='wxUSE_GRID=yes'
11756 else
11757 wx_cv_use_grid='wxUSE_GRID=no'
11758 fi
11759 cache=yes
11760
11761 else
11762
11763 cache=no
11764 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11765 if test "x$LINE" != x ; then
11766 eval "DEFAULT_$LINE"
11767 fi
11768
11769 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11770
11771 fi
11772
11773
11774 eval "$wx_cv_use_grid"
11775 if test "x$cache" = xyes; then
11776 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11777 fi
11778
11779 if test x"$enablestring" = xdisable; then
11780 if test $wxUSE_GRID = yes; then
11781 result=no
11782 else
11783 result=yes
11784 fi
11785 else
11786 result=$wxUSE_GRID
11787 fi
11788
11789 { echo "$as_me:$LINENO: result: $result" >&5
11790 echo "${ECHO_T}$result" >&6; }
11791
11792
11793 enablestring=
11794 defaultval=$wxUSE_ALL_FEATURES
11795 if test -z "$defaultval"; then
11796 if test x"$enablestring" = xdisable; then
11797 defaultval=yes
11798 else
11799 defaultval=no
11800 fi
11801 fi
11802
11803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11804 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11805 # Check whether --enable-dataviewctrl was given.
11806 if test "${enable_dataviewctrl+set}" = set; then
11807 enableval=$enable_dataviewctrl;
11808 if test "$enableval" = yes; then
11809 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11810 else
11811 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11812 fi
11813 cache=yes
11814
11815 else
11816
11817 cache=no
11818 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11819 if test "x$LINE" != x ; then
11820 eval "DEFAULT_$LINE"
11821 fi
11822
11823 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11824
11825 fi
11826
11827
11828 eval "$wx_cv_use_dataviewctrl"
11829 if test "x$cache" = xyes; then
11830 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11831 fi
11832
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_DATAVIEWCTRL = yes; then
11835 result=no
11836 else
11837 result=yes
11838 fi
11839 else
11840 result=$wxUSE_DATAVIEWCTRL
11841 fi
11842
11843 { echo "$as_me:$LINENO: result: $result" >&5
11844 echo "${ECHO_T}$result" >&6; }
11845
11846
11847 enablestring=
11848 defaultval=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x"$enablestring" = xdisable; then
11851 defaultval=yes
11852 else
11853 defaultval=no
11854 fi
11855 fi
11856
11857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11858 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11859 # Check whether --enable-hyperlink was given.
11860 if test "${enable_hyperlink+set}" = set; then
11861 enableval=$enable_hyperlink;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11864 else
11865 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11866 fi
11867 cache=yes
11868
11869 else
11870
11871 cache=no
11872 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11873 if test "x$LINE" != x ; then
11874 eval "DEFAULT_$LINE"
11875 fi
11876
11877 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11878
11879 fi
11880
11881
11882 eval "$wx_cv_use_hyperlink"
11883 if test "x$cache" = xyes; then
11884 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11885 fi
11886
11887 if test x"$enablestring" = xdisable; then
11888 if test $wxUSE_HYPERLINKCTRL = yes; then
11889 result=no
11890 else
11891 result=yes
11892 fi
11893 else
11894 result=$wxUSE_HYPERLINKCTRL
11895 fi
11896
11897 { echo "$as_me:$LINENO: result: $result" >&5
11898 echo "${ECHO_T}$result" >&6; }
11899
11900
11901 enablestring=
11902 defaultval=$wxUSE_ALL_FEATURES
11903 if test -z "$defaultval"; then
11904 if test x"$enablestring" = xdisable; then
11905 defaultval=yes
11906 else
11907 defaultval=no
11908 fi
11909 fi
11910
11911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11913 # Check whether --enable-imaglist was given.
11914 if test "${enable_imaglist+set}" = set; then
11915 enableval=$enable_imaglist;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11918 else
11919 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11920 fi
11921 cache=yes
11922
11923 else
11924
11925 cache=no
11926 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11927 if test "x$LINE" != x ; then
11928 eval "DEFAULT_$LINE"
11929 fi
11930
11931 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11932
11933 fi
11934
11935
11936 eval "$wx_cv_use_imaglist"
11937 if test "x$cache" = xyes; then
11938 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11939 fi
11940
11941 if test x"$enablestring" = xdisable; then
11942 if test $wxUSE_IMAGLIST = yes; then
11943 result=no
11944 else
11945 result=yes
11946 fi
11947 else
11948 result=$wxUSE_IMAGLIST
11949 fi
11950
11951 { echo "$as_me:$LINENO: result: $result" >&5
11952 echo "${ECHO_T}$result" >&6; }
11953
11954
11955 enablestring=
11956 defaultval=$wxUSE_ALL_FEATURES
11957 if test -z "$defaultval"; then
11958 if test x"$enablestring" = xdisable; then
11959 defaultval=yes
11960 else
11961 defaultval=no
11962 fi
11963 fi
11964
11965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11966 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11967 # Check whether --enable-listbook was given.
11968 if test "${enable_listbook+set}" = set; then
11969 enableval=$enable_listbook;
11970 if test "$enableval" = yes; then
11971 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11972 else
11973 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11974 fi
11975 cache=yes
11976
11977 else
11978
11979 cache=no
11980 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11981 if test "x$LINE" != x ; then
11982 eval "DEFAULT_$LINE"
11983 fi
11984
11985 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11986
11987 fi
11988
11989
11990 eval "$wx_cv_use_listbook"
11991 if test "x$cache" = xyes; then
11992 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11993 fi
11994
11995 if test x"$enablestring" = xdisable; then
11996 if test $wxUSE_LISTBOOK = yes; then
11997 result=no
11998 else
11999 result=yes
12000 fi
12001 else
12002 result=$wxUSE_LISTBOOK
12003 fi
12004
12005 { echo "$as_me:$LINENO: result: $result" >&5
12006 echo "${ECHO_T}$result" >&6; }
12007
12008
12009 enablestring=
12010 defaultval=$wxUSE_ALL_FEATURES
12011 if test -z "$defaultval"; then
12012 if test x"$enablestring" = xdisable; then
12013 defaultval=yes
12014 else
12015 defaultval=no
12016 fi
12017 fi
12018
12019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12020 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12021 # Check whether --enable-listbox was given.
12022 if test "${enable_listbox+set}" = set; then
12023 enableval=$enable_listbox;
12024 if test "$enableval" = yes; then
12025 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12026 else
12027 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12028 fi
12029 cache=yes
12030
12031 else
12032
12033 cache=no
12034 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12035 if test "x$LINE" != x ; then
12036 eval "DEFAULT_$LINE"
12037 fi
12038
12039 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12040
12041 fi
12042
12043
12044 eval "$wx_cv_use_listbox"
12045 if test "x$cache" = xyes; then
12046 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12047 fi
12048
12049 if test x"$enablestring" = xdisable; then
12050 if test $wxUSE_LISTBOX = yes; then
12051 result=no
12052 else
12053 result=yes
12054 fi
12055 else
12056 result=$wxUSE_LISTBOX
12057 fi
12058
12059 { echo "$as_me:$LINENO: result: $result" >&5
12060 echo "${ECHO_T}$result" >&6; }
12061
12062
12063 enablestring=
12064 defaultval=$wxUSE_ALL_FEATURES
12065 if test -z "$defaultval"; then
12066 if test x"$enablestring" = xdisable; then
12067 defaultval=yes
12068 else
12069 defaultval=no
12070 fi
12071 fi
12072
12073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12074 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12075 # Check whether --enable-listctrl was given.
12076 if test "${enable_listctrl+set}" = set; then
12077 enableval=$enable_listctrl;
12078 if test "$enableval" = yes; then
12079 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12080 else
12081 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12082 fi
12083 cache=yes
12084
12085 else
12086
12087 cache=no
12088 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12089 if test "x$LINE" != x ; then
12090 eval "DEFAULT_$LINE"
12091 fi
12092
12093 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12094
12095 fi
12096
12097
12098 eval "$wx_cv_use_listctrl"
12099 if test "x$cache" = xyes; then
12100 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12101 fi
12102
12103 if test x"$enablestring" = xdisable; then
12104 if test $wxUSE_LISTCTRL = yes; then
12105 result=no
12106 else
12107 result=yes
12108 fi
12109 else
12110 result=$wxUSE_LISTCTRL
12111 fi
12112
12113 { echo "$as_me:$LINENO: result: $result" >&5
12114 echo "${ECHO_T}$result" >&6; }
12115
12116
12117 enablestring=
12118 defaultval=$wxUSE_ALL_FEATURES
12119 if test -z "$defaultval"; then
12120 if test x"$enablestring" = xdisable; then
12121 defaultval=yes
12122 else
12123 defaultval=no
12124 fi
12125 fi
12126
12127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12128 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12129 # Check whether --enable-notebook was given.
12130 if test "${enable_notebook+set}" = set; then
12131 enableval=$enable_notebook;
12132 if test "$enableval" = yes; then
12133 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12134 else
12135 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12136 fi
12137 cache=yes
12138
12139 else
12140
12141 cache=no
12142 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12143 if test "x$LINE" != x ; then
12144 eval "DEFAULT_$LINE"
12145 fi
12146
12147 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12148
12149 fi
12150
12151
12152 eval "$wx_cv_use_notebook"
12153 if test "x$cache" = xyes; then
12154 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12155 fi
12156
12157 if test x"$enablestring" = xdisable; then
12158 if test $wxUSE_NOTEBOOK = yes; then
12159 result=no
12160 else
12161 result=yes
12162 fi
12163 else
12164 result=$wxUSE_NOTEBOOK
12165 fi
12166
12167 { echo "$as_me:$LINENO: result: $result" >&5
12168 echo "${ECHO_T}$result" >&6; }
12169
12170
12171 enablestring=
12172 defaultval=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x"$enablestring" = xdisable; then
12175 defaultval=yes
12176 else
12177 defaultval=no
12178 fi
12179 fi
12180
12181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12182 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12183 # Check whether --enable-odcombobox was given.
12184 if test "${enable_odcombobox+set}" = set; then
12185 enableval=$enable_odcombobox;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12188 else
12189 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12190 fi
12191 cache=yes
12192
12193 else
12194
12195 cache=no
12196 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12197 if test "x$LINE" != x ; then
12198 eval "DEFAULT_$LINE"
12199 fi
12200
12201 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12202
12203 fi
12204
12205
12206 eval "$wx_cv_use_odcombobox"
12207 if test "x$cache" = xyes; then
12208 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12209 fi
12210
12211 if test x"$enablestring" = xdisable; then
12212 if test $wxUSE_ODCOMBOBOX = yes; then
12213 result=no
12214 else
12215 result=yes
12216 fi
12217 else
12218 result=$wxUSE_ODCOMBOBOX
12219 fi
12220
12221 { echo "$as_me:$LINENO: result: $result" >&5
12222 echo "${ECHO_T}$result" >&6; }
12223
12224
12225 enablestring=
12226 defaultval=$wxUSE_ALL_FEATURES
12227 if test -z "$defaultval"; then
12228 if test x"$enablestring" = xdisable; then
12229 defaultval=yes
12230 else
12231 defaultval=no
12232 fi
12233 fi
12234
12235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12236 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12237 # Check whether --enable-radiobox was given.
12238 if test "${enable_radiobox+set}" = set; then
12239 enableval=$enable_radiobox;
12240 if test "$enableval" = yes; then
12241 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12242 else
12243 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12244 fi
12245 cache=yes
12246
12247 else
12248
12249 cache=no
12250 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12251 if test "x$LINE" != x ; then
12252 eval "DEFAULT_$LINE"
12253 fi
12254
12255 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12256
12257 fi
12258
12259
12260 eval "$wx_cv_use_radiobox"
12261 if test "x$cache" = xyes; then
12262 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12263 fi
12264
12265 if test x"$enablestring" = xdisable; then
12266 if test $wxUSE_RADIOBOX = yes; then
12267 result=no
12268 else
12269 result=yes
12270 fi
12271 else
12272 result=$wxUSE_RADIOBOX
12273 fi
12274
12275 { echo "$as_me:$LINENO: result: $result" >&5
12276 echo "${ECHO_T}$result" >&6; }
12277
12278
12279 enablestring=
12280 defaultval=$wxUSE_ALL_FEATURES
12281 if test -z "$defaultval"; then
12282 if test x"$enablestring" = xdisable; then
12283 defaultval=yes
12284 else
12285 defaultval=no
12286 fi
12287 fi
12288
12289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12290 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12291 # Check whether --enable-radiobtn was given.
12292 if test "${enable_radiobtn+set}" = set; then
12293 enableval=$enable_radiobtn;
12294 if test "$enableval" = yes; then
12295 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12296 else
12297 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12298 fi
12299 cache=yes
12300
12301 else
12302
12303 cache=no
12304 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12305 if test "x$LINE" != x ; then
12306 eval "DEFAULT_$LINE"
12307 fi
12308
12309 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12310
12311 fi
12312
12313
12314 eval "$wx_cv_use_radiobtn"
12315 if test "x$cache" = xyes; then
12316 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12317 fi
12318
12319 if test x"$enablestring" = xdisable; then
12320 if test $wxUSE_RADIOBTN = yes; then
12321 result=no
12322 else
12323 result=yes
12324 fi
12325 else
12326 result=$wxUSE_RADIOBTN
12327 fi
12328
12329 { echo "$as_me:$LINENO: result: $result" >&5
12330 echo "${ECHO_T}$result" >&6; }
12331
12332
12333 enablestring=
12334 defaultval=$wxUSE_ALL_FEATURES
12335 if test -z "$defaultval"; then
12336 if test x"$enablestring" = xdisable; then
12337 defaultval=yes
12338 else
12339 defaultval=no
12340 fi
12341 fi
12342
12343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12344 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12345 # Check whether --enable-sash was given.
12346 if test "${enable_sash+set}" = set; then
12347 enableval=$enable_sash;
12348 if test "$enableval" = yes; then
12349 wx_cv_use_sash='wxUSE_SASH=yes'
12350 else
12351 wx_cv_use_sash='wxUSE_SASH=no'
12352 fi
12353 cache=yes
12354
12355 else
12356
12357 cache=no
12358 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12359 if test "x$LINE" != x ; then
12360 eval "DEFAULT_$LINE"
12361 fi
12362
12363 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12364
12365 fi
12366
12367
12368 eval "$wx_cv_use_sash"
12369 if test "x$cache" = xyes; then
12370 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12371 fi
12372
12373 if test x"$enablestring" = xdisable; then
12374 if test $wxUSE_SASH = yes; then
12375 result=no
12376 else
12377 result=yes
12378 fi
12379 else
12380 result=$wxUSE_SASH
12381 fi
12382
12383 { echo "$as_me:$LINENO: result: $result" >&5
12384 echo "${ECHO_T}$result" >&6; }
12385
12386
12387 enablestring=
12388 defaultval=$wxUSE_ALL_FEATURES
12389 if test -z "$defaultval"; then
12390 if test x"$enablestring" = xdisable; then
12391 defaultval=yes
12392 else
12393 defaultval=no
12394 fi
12395 fi
12396
12397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12398 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12399 # Check whether --enable-scrollbar was given.
12400 if test "${enable_scrollbar+set}" = set; then
12401 enableval=$enable_scrollbar;
12402 if test "$enableval" = yes; then
12403 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12404 else
12405 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12406 fi
12407 cache=yes
12408
12409 else
12410
12411 cache=no
12412 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12413 if test "x$LINE" != x ; then
12414 eval "DEFAULT_$LINE"
12415 fi
12416
12417 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12418
12419 fi
12420
12421
12422 eval "$wx_cv_use_scrollbar"
12423 if test "x$cache" = xyes; then
12424 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12425 fi
12426
12427 if test x"$enablestring" = xdisable; then
12428 if test $wxUSE_SCROLLBAR = yes; then
12429 result=no
12430 else
12431 result=yes
12432 fi
12433 else
12434 result=$wxUSE_SCROLLBAR
12435 fi
12436
12437 { echo "$as_me:$LINENO: result: $result" >&5
12438 echo "${ECHO_T}$result" >&6; }
12439
12440
12441 enablestring=
12442 defaultval=$wxUSE_ALL_FEATURES
12443 if test -z "$defaultval"; then
12444 if test x"$enablestring" = xdisable; then
12445 defaultval=yes
12446 else
12447 defaultval=no
12448 fi
12449 fi
12450
12451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12452 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12453 # Check whether --enable-searchctrl was given.
12454 if test "${enable_searchctrl+set}" = set; then
12455 enableval=$enable_searchctrl;
12456 if test "$enableval" = yes; then
12457 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12458 else
12459 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12460 fi
12461 cache=yes
12462
12463 else
12464
12465 cache=no
12466 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12467 if test "x$LINE" != x ; then
12468 eval "DEFAULT_$LINE"
12469 fi
12470
12471 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12472
12473 fi
12474
12475
12476 eval "$wx_cv_use_searchctrl"
12477 if test "x$cache" = xyes; then
12478 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12479 fi
12480
12481 if test x"$enablestring" = xdisable; then
12482 if test $wxUSE_SEARCHCTRL = yes; then
12483 result=no
12484 else
12485 result=yes
12486 fi
12487 else
12488 result=$wxUSE_SEARCHCTRL
12489 fi
12490
12491 { echo "$as_me:$LINENO: result: $result" >&5
12492 echo "${ECHO_T}$result" >&6; }
12493
12494
12495 enablestring=
12496 defaultval=$wxUSE_ALL_FEATURES
12497 if test -z "$defaultval"; then
12498 if test x"$enablestring" = xdisable; then
12499 defaultval=yes
12500 else
12501 defaultval=no
12502 fi
12503 fi
12504
12505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12506 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12507 # Check whether --enable-slider was given.
12508 if test "${enable_slider+set}" = set; then
12509 enableval=$enable_slider;
12510 if test "$enableval" = yes; then
12511 wx_cv_use_slider='wxUSE_SLIDER=yes'
12512 else
12513 wx_cv_use_slider='wxUSE_SLIDER=no'
12514 fi
12515 cache=yes
12516
12517 else
12518
12519 cache=no
12520 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12521 if test "x$LINE" != x ; then
12522 eval "DEFAULT_$LINE"
12523 fi
12524
12525 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12526
12527 fi
12528
12529
12530 eval "$wx_cv_use_slider"
12531 if test "x$cache" = xyes; then
12532 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12533 fi
12534
12535 if test x"$enablestring" = xdisable; then
12536 if test $wxUSE_SLIDER = yes; then
12537 result=no
12538 else
12539 result=yes
12540 fi
12541 else
12542 result=$wxUSE_SLIDER
12543 fi
12544
12545 { echo "$as_me:$LINENO: result: $result" >&5
12546 echo "${ECHO_T}$result" >&6; }
12547
12548
12549 enablestring=
12550 defaultval=$wxUSE_ALL_FEATURES
12551 if test -z "$defaultval"; then
12552 if test x"$enablestring" = xdisable; then
12553 defaultval=yes
12554 else
12555 defaultval=no
12556 fi
12557 fi
12558
12559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12560 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12561 # Check whether --enable-spinbtn was given.
12562 if test "${enable_spinbtn+set}" = set; then
12563 enableval=$enable_spinbtn;
12564 if test "$enableval" = yes; then
12565 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12566 else
12567 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12568 fi
12569 cache=yes
12570
12571 else
12572
12573 cache=no
12574 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12575 if test "x$LINE" != x ; then
12576 eval "DEFAULT_$LINE"
12577 fi
12578
12579 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12580
12581 fi
12582
12583
12584 eval "$wx_cv_use_spinbtn"
12585 if test "x$cache" = xyes; then
12586 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12587 fi
12588
12589 if test x"$enablestring" = xdisable; then
12590 if test $wxUSE_SPINBTN = yes; then
12591 result=no
12592 else
12593 result=yes
12594 fi
12595 else
12596 result=$wxUSE_SPINBTN
12597 fi
12598
12599 { echo "$as_me:$LINENO: result: $result" >&5
12600 echo "${ECHO_T}$result" >&6; }
12601
12602
12603 enablestring=
12604 defaultval=$wxUSE_ALL_FEATURES
12605 if test -z "$defaultval"; then
12606 if test x"$enablestring" = xdisable; then
12607 defaultval=yes
12608 else
12609 defaultval=no
12610 fi
12611 fi
12612
12613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12614 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12615 # Check whether --enable-spinctrl was given.
12616 if test "${enable_spinctrl+set}" = set; then
12617 enableval=$enable_spinctrl;
12618 if test "$enableval" = yes; then
12619 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12620 else
12621 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12622 fi
12623 cache=yes
12624
12625 else
12626
12627 cache=no
12628 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12629 if test "x$LINE" != x ; then
12630 eval "DEFAULT_$LINE"
12631 fi
12632
12633 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12634
12635 fi
12636
12637
12638 eval "$wx_cv_use_spinctrl"
12639 if test "x$cache" = xyes; then
12640 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12641 fi
12642
12643 if test x"$enablestring" = xdisable; then
12644 if test $wxUSE_SPINCTRL = yes; then
12645 result=no
12646 else
12647 result=yes
12648 fi
12649 else
12650 result=$wxUSE_SPINCTRL
12651 fi
12652
12653 { echo "$as_me:$LINENO: result: $result" >&5
12654 echo "${ECHO_T}$result" >&6; }
12655
12656
12657 enablestring=
12658 defaultval=$wxUSE_ALL_FEATURES
12659 if test -z "$defaultval"; then
12660 if test x"$enablestring" = xdisable; then
12661 defaultval=yes
12662 else
12663 defaultval=no
12664 fi
12665 fi
12666
12667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12668 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12669 # Check whether --enable-splitter was given.
12670 if test "${enable_splitter+set}" = set; then
12671 enableval=$enable_splitter;
12672 if test "$enableval" = yes; then
12673 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12674 else
12675 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12676 fi
12677 cache=yes
12678
12679 else
12680
12681 cache=no
12682 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12683 if test "x$LINE" != x ; then
12684 eval "DEFAULT_$LINE"
12685 fi
12686
12687 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12688
12689 fi
12690
12691
12692 eval "$wx_cv_use_splitter"
12693 if test "x$cache" = xyes; then
12694 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12695 fi
12696
12697 if test x"$enablestring" = xdisable; then
12698 if test $wxUSE_SPLITTER = yes; then
12699 result=no
12700 else
12701 result=yes
12702 fi
12703 else
12704 result=$wxUSE_SPLITTER
12705 fi
12706
12707 { echo "$as_me:$LINENO: result: $result" >&5
12708 echo "${ECHO_T}$result" >&6; }
12709
12710
12711 enablestring=
12712 defaultval=$wxUSE_ALL_FEATURES
12713 if test -z "$defaultval"; then
12714 if test x"$enablestring" = xdisable; then
12715 defaultval=yes
12716 else
12717 defaultval=no
12718 fi
12719 fi
12720
12721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12722 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12723 # Check whether --enable-statbmp was given.
12724 if test "${enable_statbmp+set}" = set; then
12725 enableval=$enable_statbmp;
12726 if test "$enableval" = yes; then
12727 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12728 else
12729 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12730 fi
12731 cache=yes
12732
12733 else
12734
12735 cache=no
12736 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12737 if test "x$LINE" != x ; then
12738 eval "DEFAULT_$LINE"
12739 fi
12740
12741 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12742
12743 fi
12744
12745
12746 eval "$wx_cv_use_statbmp"
12747 if test "x$cache" = xyes; then
12748 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12749 fi
12750
12751 if test x"$enablestring" = xdisable; then
12752 if test $wxUSE_STATBMP = yes; then
12753 result=no
12754 else
12755 result=yes
12756 fi
12757 else
12758 result=$wxUSE_STATBMP
12759 fi
12760
12761 { echo "$as_me:$LINENO: result: $result" >&5
12762 echo "${ECHO_T}$result" >&6; }
12763
12764
12765 enablestring=
12766 defaultval=$wxUSE_ALL_FEATURES
12767 if test -z "$defaultval"; then
12768 if test x"$enablestring" = xdisable; then
12769 defaultval=yes
12770 else
12771 defaultval=no
12772 fi
12773 fi
12774
12775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12776 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12777 # Check whether --enable-statbox was given.
12778 if test "${enable_statbox+set}" = set; then
12779 enableval=$enable_statbox;
12780 if test "$enableval" = yes; then
12781 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12782 else
12783 wx_cv_use_statbox='wxUSE_STATBOX=no'
12784 fi
12785 cache=yes
12786
12787 else
12788
12789 cache=no
12790 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12791 if test "x$LINE" != x ; then
12792 eval "DEFAULT_$LINE"
12793 fi
12794
12795 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12796
12797 fi
12798
12799
12800 eval "$wx_cv_use_statbox"
12801 if test "x$cache" = xyes; then
12802 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12803 fi
12804
12805 if test x"$enablestring" = xdisable; then
12806 if test $wxUSE_STATBOX = yes; then
12807 result=no
12808 else
12809 result=yes
12810 fi
12811 else
12812 result=$wxUSE_STATBOX
12813 fi
12814
12815 { echo "$as_me:$LINENO: result: $result" >&5
12816 echo "${ECHO_T}$result" >&6; }
12817
12818
12819 enablestring=
12820 defaultval=$wxUSE_ALL_FEATURES
12821 if test -z "$defaultval"; then
12822 if test x"$enablestring" = xdisable; then
12823 defaultval=yes
12824 else
12825 defaultval=no
12826 fi
12827 fi
12828
12829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12830 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12831 # Check whether --enable-statline was given.
12832 if test "${enable_statline+set}" = set; then
12833 enableval=$enable_statline;
12834 if test "$enableval" = yes; then
12835 wx_cv_use_statline='wxUSE_STATLINE=yes'
12836 else
12837 wx_cv_use_statline='wxUSE_STATLINE=no'
12838 fi
12839 cache=yes
12840
12841 else
12842
12843 cache=no
12844 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12845 if test "x$LINE" != x ; then
12846 eval "DEFAULT_$LINE"
12847 fi
12848
12849 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12850
12851 fi
12852
12853
12854 eval "$wx_cv_use_statline"
12855 if test "x$cache" = xyes; then
12856 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12857 fi
12858
12859 if test x"$enablestring" = xdisable; then
12860 if test $wxUSE_STATLINE = yes; then
12861 result=no
12862 else
12863 result=yes
12864 fi
12865 else
12866 result=$wxUSE_STATLINE
12867 fi
12868
12869 { echo "$as_me:$LINENO: result: $result" >&5
12870 echo "${ECHO_T}$result" >&6; }
12871
12872
12873 enablestring=
12874 defaultval=$wxUSE_ALL_FEATURES
12875 if test -z "$defaultval"; then
12876 if test x"$enablestring" = xdisable; then
12877 defaultval=yes
12878 else
12879 defaultval=no
12880 fi
12881 fi
12882
12883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12884 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12885 # Check whether --enable-stattext was given.
12886 if test "${enable_stattext+set}" = set; then
12887 enableval=$enable_stattext;
12888 if test "$enableval" = yes; then
12889 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12890 else
12891 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12892 fi
12893 cache=yes
12894
12895 else
12896
12897 cache=no
12898 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12899 if test "x$LINE" != x ; then
12900 eval "DEFAULT_$LINE"
12901 fi
12902
12903 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12904
12905 fi
12906
12907
12908 eval "$wx_cv_use_stattext"
12909 if test "x$cache" = xyes; then
12910 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12911 fi
12912
12913 if test x"$enablestring" = xdisable; then
12914 if test $wxUSE_STATTEXT = yes; then
12915 result=no
12916 else
12917 result=yes
12918 fi
12919 else
12920 result=$wxUSE_STATTEXT
12921 fi
12922
12923 { echo "$as_me:$LINENO: result: $result" >&5
12924 echo "${ECHO_T}$result" >&6; }
12925
12926
12927 enablestring=
12928 defaultval=$wxUSE_ALL_FEATURES
12929 if test -z "$defaultval"; then
12930 if test x"$enablestring" = xdisable; then
12931 defaultval=yes
12932 else
12933 defaultval=no
12934 fi
12935 fi
12936
12937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12938 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12939 # Check whether --enable-statusbar was given.
12940 if test "${enable_statusbar+set}" = set; then
12941 enableval=$enable_statusbar;
12942 if test "$enableval" = yes; then
12943 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12944 else
12945 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12946 fi
12947 cache=yes
12948
12949 else
12950
12951 cache=no
12952 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12953 if test "x$LINE" != x ; then
12954 eval "DEFAULT_$LINE"
12955 fi
12956
12957 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12958
12959 fi
12960
12961
12962 eval "$wx_cv_use_statusbar"
12963 if test "x$cache" = xyes; then
12964 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12965 fi
12966
12967 if test x"$enablestring" = xdisable; then
12968 if test $wxUSE_STATUSBAR = yes; then
12969 result=no
12970 else
12971 result=yes
12972 fi
12973 else
12974 result=$wxUSE_STATUSBAR
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}-tabdialog" >&5
12992 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12993 # Check whether --enable-tabdialog was given.
12994 if test "${enable_tabdialog+set}" = set; then
12995 enableval=$enable_tabdialog;
12996 if test "$enableval" = yes; then
12997 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12998 else
12999 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13000 fi
13001 cache=yes
13002
13003 else
13004
13005 cache=no
13006 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13007 if test "x$LINE" != x ; then
13008 eval "DEFAULT_$LINE"
13009 fi
13010
13011 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13012
13013 fi
13014
13015
13016 eval "$wx_cv_use_tabdialog"
13017 if test "x$cache" = xyes; then
13018 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13019 fi
13020
13021 if test x"$enablestring" = xdisable; then
13022 if test $wxUSE_TAB_DIALOG = yes; then
13023 result=no
13024 else
13025 result=yes
13026 fi
13027 else
13028 result=$wxUSE_TAB_DIALOG
13029 fi
13030
13031 { echo "$as_me:$LINENO: result: $result" >&5
13032 echo "${ECHO_T}$result" >&6; }
13033
13034
13035 enablestring=
13036 defaultval=$wxUSE_ALL_FEATURES
13037 if test -z "$defaultval"; then
13038 if test x"$enablestring" = xdisable; then
13039 defaultval=yes
13040 else
13041 defaultval=no
13042 fi
13043 fi
13044
13045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13046 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13047 # Check whether --enable-taskbaricon was given.
13048 if test "${enable_taskbaricon+set}" = set; then
13049 enableval=$enable_taskbaricon;
13050 if test "$enableval" = yes; then
13051 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13052 else
13053 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13054 fi
13055 cache=yes
13056
13057 else
13058
13059 cache=no
13060 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13061 if test "x$LINE" != x ; then
13062 eval "DEFAULT_$LINE"
13063 fi
13064
13065 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13066
13067 fi
13068
13069
13070 eval "$wx_cv_use_taskbaricon"
13071 if test "x$cache" = xyes; then
13072 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13073 fi
13074
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_TASKBARICON = yes; then
13077 result=no
13078 else
13079 result=yes
13080 fi
13081 else
13082 result=$wxUSE_TASKBARICON
13083 fi
13084
13085 { echo "$as_me:$LINENO: result: $result" >&5
13086 echo "${ECHO_T}$result" >&6; }
13087
13088
13089 enablestring=
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13093 defaultval=yes
13094 else
13095 defaultval=no
13096 fi
13097 fi
13098
13099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13100 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13101 # Check whether --enable-textctrl was given.
13102 if test "${enable_textctrl+set}" = set; then
13103 enableval=$enable_textctrl;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13106 else
13107 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13108 fi
13109 cache=yes
13110
13111 else
13112
13113 cache=no
13114 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13115 if test "x$LINE" != x ; then
13116 eval "DEFAULT_$LINE"
13117 fi
13118
13119 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13120
13121 fi
13122
13123
13124 eval "$wx_cv_use_textctrl"
13125 if test "x$cache" = xyes; then
13126 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13127 fi
13128
13129 if test x"$enablestring" = xdisable; then
13130 if test $wxUSE_TEXTCTRL = yes; then
13131 result=no
13132 else
13133 result=yes
13134 fi
13135 else
13136 result=$wxUSE_TEXTCTRL
13137 fi
13138
13139 { echo "$as_me:$LINENO: result: $result" >&5
13140 echo "${ECHO_T}$result" >&6; }
13141
13142
13143 enablestring=
13144 defaultval=$wxUSE_ALL_FEATURES
13145 if test -z "$defaultval"; then
13146 if test x"$enablestring" = xdisable; then
13147 defaultval=yes
13148 else
13149 defaultval=no
13150 fi
13151 fi
13152
13153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13154 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13155 # Check whether --enable-togglebtn was given.
13156 if test "${enable_togglebtn+set}" = set; then
13157 enableval=$enable_togglebtn;
13158 if test "$enableval" = yes; then
13159 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13160 else
13161 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13162 fi
13163 cache=yes
13164
13165 else
13166
13167 cache=no
13168 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13169 if test "x$LINE" != x ; then
13170 eval "DEFAULT_$LINE"
13171 fi
13172
13173 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13174
13175 fi
13176
13177
13178 eval "$wx_cv_use_togglebtn"
13179 if test "x$cache" = xyes; then
13180 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13181 fi
13182
13183 if test x"$enablestring" = xdisable; then
13184 if test $wxUSE_TOGGLEBTN = yes; then
13185 result=no
13186 else
13187 result=yes
13188 fi
13189 else
13190 result=$wxUSE_TOGGLEBTN
13191 fi
13192
13193 { echo "$as_me:$LINENO: result: $result" >&5
13194 echo "${ECHO_T}$result" >&6; }
13195
13196
13197 enablestring=
13198 defaultval=$wxUSE_ALL_FEATURES
13199 if test -z "$defaultval"; then
13200 if test x"$enablestring" = xdisable; then
13201 defaultval=yes
13202 else
13203 defaultval=no
13204 fi
13205 fi
13206
13207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13208 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13209 # Check whether --enable-toolbar was given.
13210 if test "${enable_toolbar+set}" = set; then
13211 enableval=$enable_toolbar;
13212 if test "$enableval" = yes; then
13213 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13214 else
13215 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13216 fi
13217 cache=yes
13218
13219 else
13220
13221 cache=no
13222 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13223 if test "x$LINE" != x ; then
13224 eval "DEFAULT_$LINE"
13225 fi
13226
13227 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13228
13229 fi
13230
13231
13232 eval "$wx_cv_use_toolbar"
13233 if test "x$cache" = xyes; then
13234 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13235 fi
13236
13237 if test x"$enablestring" = xdisable; then
13238 if test $wxUSE_TOOLBAR = yes; then
13239 result=no
13240 else
13241 result=yes
13242 fi
13243 else
13244 result=$wxUSE_TOOLBAR
13245 fi
13246
13247 { echo "$as_me:$LINENO: result: $result" >&5
13248 echo "${ECHO_T}$result" >&6; }
13249
13250
13251 enablestring=
13252 defaultval=$wxUSE_ALL_FEATURES
13253 if test -z "$defaultval"; then
13254 if test x"$enablestring" = xdisable; then
13255 defaultval=yes
13256 else
13257 defaultval=no
13258 fi
13259 fi
13260
13261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13262 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13263 # Check whether --enable-tbarnative was given.
13264 if test "${enable_tbarnative+set}" = set; then
13265 enableval=$enable_tbarnative;
13266 if test "$enableval" = yes; then
13267 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13268 else
13269 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13270 fi
13271 cache=yes
13272
13273 else
13274
13275 cache=no
13276 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13277 if test "x$LINE" != x ; then
13278 eval "DEFAULT_$LINE"
13279 fi
13280
13281 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13282
13283 fi
13284
13285
13286 eval "$wx_cv_use_tbarnative"
13287 if test "x$cache" = xyes; then
13288 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13289 fi
13290
13291 if test x"$enablestring" = xdisable; then
13292 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13293 result=no
13294 else
13295 result=yes
13296 fi
13297 else
13298 result=$wxUSE_TOOLBAR_NATIVE
13299 fi
13300
13301 { echo "$as_me:$LINENO: result: $result" >&5
13302 echo "${ECHO_T}$result" >&6; }
13303
13304
13305 enablestring=
13306 defaultval=$wxUSE_ALL_FEATURES
13307 if test -z "$defaultval"; then
13308 if test x"$enablestring" = xdisable; then
13309 defaultval=yes
13310 else
13311 defaultval=no
13312 fi
13313 fi
13314
13315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13316 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13317 # Check whether --enable-treebook was given.
13318 if test "${enable_treebook+set}" = set; then
13319 enableval=$enable_treebook;
13320 if test "$enableval" = yes; then
13321 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13322 else
13323 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13324 fi
13325 cache=yes
13326
13327 else
13328
13329 cache=no
13330 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13331 if test "x$LINE" != x ; then
13332 eval "DEFAULT_$LINE"
13333 fi
13334
13335 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13336
13337 fi
13338
13339
13340 eval "$wx_cv_use_treebook"
13341 if test "x$cache" = xyes; then
13342 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13343 fi
13344
13345 if test x"$enablestring" = xdisable; then
13346 if test $wxUSE_TREEBOOK = yes; then
13347 result=no
13348 else
13349 result=yes
13350 fi
13351 else
13352 result=$wxUSE_TREEBOOK
13353 fi
13354
13355 { echo "$as_me:$LINENO: result: $result" >&5
13356 echo "${ECHO_T}$result" >&6; }
13357
13358
13359 enablestring=
13360 defaultval=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x"$enablestring" = xdisable; then
13363 defaultval=yes
13364 else
13365 defaultval=no
13366 fi
13367 fi
13368
13369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13370 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13371 # Check whether --enable-toolbook was given.
13372 if test "${enable_toolbook+set}" = set; then
13373 enableval=$enable_toolbook;
13374 if test "$enableval" = yes; then
13375 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13376 else
13377 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13378 fi
13379 cache=yes
13380
13381 else
13382
13383 cache=no
13384 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13385 if test "x$LINE" != x ; then
13386 eval "DEFAULT_$LINE"
13387 fi
13388
13389 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13390
13391 fi
13392
13393
13394 eval "$wx_cv_use_toolbook"
13395 if test "x$cache" = xyes; then
13396 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13397 fi
13398
13399 if test x"$enablestring" = xdisable; then
13400 if test $wxUSE_TOOLBOOK = yes; then
13401 result=no
13402 else
13403 result=yes
13404 fi
13405 else
13406 result=$wxUSE_TOOLBOOK
13407 fi
13408
13409 { echo "$as_me:$LINENO: result: $result" >&5
13410 echo "${ECHO_T}$result" >&6; }
13411
13412
13413 enablestring=
13414 defaultval=$wxUSE_ALL_FEATURES
13415 if test -z "$defaultval"; then
13416 if test x"$enablestring" = xdisable; then
13417 defaultval=yes
13418 else
13419 defaultval=no
13420 fi
13421 fi
13422
13423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13424 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13425 # Check whether --enable-treectrl was given.
13426 if test "${enable_treectrl+set}" = set; then
13427 enableval=$enable_treectrl;
13428 if test "$enableval" = yes; then
13429 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13430 else
13431 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13432 fi
13433 cache=yes
13434
13435 else
13436
13437 cache=no
13438 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13439 if test "x$LINE" != x ; then
13440 eval "DEFAULT_$LINE"
13441 fi
13442
13443 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13444
13445 fi
13446
13447
13448 eval "$wx_cv_use_treectrl"
13449 if test "x$cache" = xyes; then
13450 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13451 fi
13452
13453 if test x"$enablestring" = xdisable; then
13454 if test $wxUSE_TREECTRL = yes; then
13455 result=no
13456 else
13457 result=yes
13458 fi
13459 else
13460 result=$wxUSE_TREECTRL
13461 fi
13462
13463 { echo "$as_me:$LINENO: result: $result" >&5
13464 echo "${ECHO_T}$result" >&6; }
13465
13466
13467 enablestring=
13468 defaultval=$wxUSE_ALL_FEATURES
13469 if test -z "$defaultval"; then
13470 if test x"$enablestring" = xdisable; then
13471 defaultval=yes
13472 else
13473 defaultval=no
13474 fi
13475 fi
13476
13477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13478 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13479 # Check whether --enable-tipwindow was given.
13480 if test "${enable_tipwindow+set}" = set; then
13481 enableval=$enable_tipwindow;
13482 if test "$enableval" = yes; then
13483 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13484 else
13485 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13486 fi
13487 cache=yes
13488
13489 else
13490
13491 cache=no
13492 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13493 if test "x$LINE" != x ; then
13494 eval "DEFAULT_$LINE"
13495 fi
13496
13497 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13498
13499 fi
13500
13501
13502 eval "$wx_cv_use_tipwindow"
13503 if test "x$cache" = xyes; then
13504 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13505 fi
13506
13507 if test x"$enablestring" = xdisable; then
13508 if test $wxUSE_TIPWINDOW = yes; then
13509 result=no
13510 else
13511 result=yes
13512 fi
13513 else
13514 result=$wxUSE_TIPWINDOW
13515 fi
13516
13517 { echo "$as_me:$LINENO: result: $result" >&5
13518 echo "${ECHO_T}$result" >&6; }
13519
13520
13521 enablestring=
13522 defaultval=$wxUSE_ALL_FEATURES
13523 if test -z "$defaultval"; then
13524 if test x"$enablestring" = xdisable; then
13525 defaultval=yes
13526 else
13527 defaultval=no
13528 fi
13529 fi
13530
13531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13532 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13533 # Check whether --enable-popupwin was given.
13534 if test "${enable_popupwin+set}" = set; then
13535 enableval=$enable_popupwin;
13536 if test "$enableval" = yes; then
13537 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13538 else
13539 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13540 fi
13541 cache=yes
13542
13543 else
13544
13545 cache=no
13546 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13547 if test "x$LINE" != x ; then
13548 eval "DEFAULT_$LINE"
13549 fi
13550
13551 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13552
13553 fi
13554
13555
13556 eval "$wx_cv_use_popupwin"
13557 if test "x$cache" = xyes; then
13558 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13559 fi
13560
13561 if test x"$enablestring" = xdisable; then
13562 if test $wxUSE_POPUPWIN = yes; then
13563 result=no
13564 else
13565 result=yes
13566 fi
13567 else
13568 result=$wxUSE_POPUPWIN
13569 fi
13570
13571 { echo "$as_me:$LINENO: result: $result" >&5
13572 echo "${ECHO_T}$result" >&6; }
13573
13574
13575
13576
13577 enablestring=
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13581 defaultval=yes
13582 else
13583 defaultval=no
13584 fi
13585 fi
13586
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13589 # Check whether --enable-commondlg was given.
13590 if test "${enable_commondlg+set}" = set; then
13591 enableval=$enable_commondlg;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13594 else
13595 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13596 fi
13597 cache=yes
13598
13599 else
13600
13601 cache=no
13602 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13603 if test "x$LINE" != x ; then
13604 eval "DEFAULT_$LINE"
13605 fi
13606
13607 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13608
13609 fi
13610
13611
13612 eval "$wx_cv_use_commondlg"
13613 if test "x$cache" = xyes; then
13614 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13615 fi
13616
13617 if test x"$enablestring" = xdisable; then
13618 if test $wxUSE_COMMONDLGS = yes; then
13619 result=no
13620 else
13621 result=yes
13622 fi
13623 else
13624 result=$wxUSE_COMMONDLGS
13625 fi
13626
13627 { echo "$as_me:$LINENO: result: $result" >&5
13628 echo "${ECHO_T}$result" >&6; }
13629
13630
13631 enablestring=
13632 defaultval=$wxUSE_ALL_FEATURES
13633 if test -z "$defaultval"; then
13634 if test x"$enablestring" = xdisable; then
13635 defaultval=yes
13636 else
13637 defaultval=no
13638 fi
13639 fi
13640
13641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13642 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13643 # Check whether --enable-aboutdlg was given.
13644 if test "${enable_aboutdlg+set}" = set; then
13645 enableval=$enable_aboutdlg;
13646 if test "$enableval" = yes; then
13647 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13648 else
13649 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13650 fi
13651 cache=yes
13652
13653 else
13654
13655 cache=no
13656 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13657 if test "x$LINE" != x ; then
13658 eval "DEFAULT_$LINE"
13659 fi
13660
13661 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13662
13663 fi
13664
13665
13666 eval "$wx_cv_use_aboutdlg"
13667 if test "x$cache" = xyes; then
13668 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13669 fi
13670
13671 if test x"$enablestring" = xdisable; then
13672 if test $wxUSE_ABOUTDLG = yes; then
13673 result=no
13674 else
13675 result=yes
13676 fi
13677 else
13678 result=$wxUSE_ABOUTDLG
13679 fi
13680
13681 { echo "$as_me:$LINENO: result: $result" >&5
13682 echo "${ECHO_T}$result" >&6; }
13683
13684
13685 enablestring=
13686 defaultval=$wxUSE_ALL_FEATURES
13687 if test -z "$defaultval"; then
13688 if test x"$enablestring" = xdisable; then
13689 defaultval=yes
13690 else
13691 defaultval=no
13692 fi
13693 fi
13694
13695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13696 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13697 # Check whether --enable-choicedlg was given.
13698 if test "${enable_choicedlg+set}" = set; then
13699 enableval=$enable_choicedlg;
13700 if test "$enableval" = yes; then
13701 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13702 else
13703 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13704 fi
13705 cache=yes
13706
13707 else
13708
13709 cache=no
13710 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13711 if test "x$LINE" != x ; then
13712 eval "DEFAULT_$LINE"
13713 fi
13714
13715 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13716
13717 fi
13718
13719
13720 eval "$wx_cv_use_choicedlg"
13721 if test "x$cache" = xyes; then
13722 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13723 fi
13724
13725 if test x"$enablestring" = xdisable; then
13726 if test $wxUSE_CHOICEDLG = yes; then
13727 result=no
13728 else
13729 result=yes
13730 fi
13731 else
13732 result=$wxUSE_CHOICEDLG
13733 fi
13734
13735 { echo "$as_me:$LINENO: result: $result" >&5
13736 echo "${ECHO_T}$result" >&6; }
13737
13738
13739 enablestring=
13740 defaultval=$wxUSE_ALL_FEATURES
13741 if test -z "$defaultval"; then
13742 if test x"$enablestring" = xdisable; then
13743 defaultval=yes
13744 else
13745 defaultval=no
13746 fi
13747 fi
13748
13749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13750 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13751 # Check whether --enable-coldlg was given.
13752 if test "${enable_coldlg+set}" = set; then
13753 enableval=$enable_coldlg;
13754 if test "$enableval" = yes; then
13755 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13756 else
13757 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13758 fi
13759 cache=yes
13760
13761 else
13762
13763 cache=no
13764 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13765 if test "x$LINE" != x ; then
13766 eval "DEFAULT_$LINE"
13767 fi
13768
13769 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13770
13771 fi
13772
13773
13774 eval "$wx_cv_use_coldlg"
13775 if test "x$cache" = xyes; then
13776 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13777 fi
13778
13779 if test x"$enablestring" = xdisable; then
13780 if test $wxUSE_COLOURDLG = yes; then
13781 result=no
13782 else
13783 result=yes
13784 fi
13785 else
13786 result=$wxUSE_COLOURDLG
13787 fi
13788
13789 { echo "$as_me:$LINENO: result: $result" >&5
13790 echo "${ECHO_T}$result" >&6; }
13791
13792
13793 enablestring=
13794 defaultval=$wxUSE_ALL_FEATURES
13795 if test -z "$defaultval"; then
13796 if test x"$enablestring" = xdisable; then
13797 defaultval=yes
13798 else
13799 defaultval=no
13800 fi
13801 fi
13802
13803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13804 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13805 # Check whether --enable-filedlg was given.
13806 if test "${enable_filedlg+set}" = set; then
13807 enableval=$enable_filedlg;
13808 if test "$enableval" = yes; then
13809 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13810 else
13811 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13812 fi
13813 cache=yes
13814
13815 else
13816
13817 cache=no
13818 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13819 if test "x$LINE" != x ; then
13820 eval "DEFAULT_$LINE"
13821 fi
13822
13823 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13824
13825 fi
13826
13827
13828 eval "$wx_cv_use_filedlg"
13829 if test "x$cache" = xyes; then
13830 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13831 fi
13832
13833 if test x"$enablestring" = xdisable; then
13834 if test $wxUSE_FILEDLG = yes; then
13835 result=no
13836 else
13837 result=yes
13838 fi
13839 else
13840 result=$wxUSE_FILEDLG
13841 fi
13842
13843 { echo "$as_me:$LINENO: result: $result" >&5
13844 echo "${ECHO_T}$result" >&6; }
13845
13846
13847 enablestring=
13848 defaultval=$wxUSE_ALL_FEATURES
13849 if test -z "$defaultval"; then
13850 if test x"$enablestring" = xdisable; then
13851 defaultval=yes
13852 else
13853 defaultval=no
13854 fi
13855 fi
13856
13857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13858 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13859 # Check whether --enable-finddlg was given.
13860 if test "${enable_finddlg+set}" = set; then
13861 enableval=$enable_finddlg;
13862 if test "$enableval" = yes; then
13863 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13864 else
13865 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13866 fi
13867 cache=yes
13868
13869 else
13870
13871 cache=no
13872 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13873 if test "x$LINE" != x ; then
13874 eval "DEFAULT_$LINE"
13875 fi
13876
13877 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13878
13879 fi
13880
13881
13882 eval "$wx_cv_use_finddlg"
13883 if test "x$cache" = xyes; then
13884 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13885 fi
13886
13887 if test x"$enablestring" = xdisable; then
13888 if test $wxUSE_FINDREPLDLG = yes; then
13889 result=no
13890 else
13891 result=yes
13892 fi
13893 else
13894 result=$wxUSE_FINDREPLDLG
13895 fi
13896
13897 { echo "$as_me:$LINENO: result: $result" >&5
13898 echo "${ECHO_T}$result" >&6; }
13899
13900
13901 enablestring=
13902 defaultval=$wxUSE_ALL_FEATURES
13903 if test -z "$defaultval"; then
13904 if test x"$enablestring" = xdisable; then
13905 defaultval=yes
13906 else
13907 defaultval=no
13908 fi
13909 fi
13910
13911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13912 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13913 # Check whether --enable-fontdlg was given.
13914 if test "${enable_fontdlg+set}" = set; then
13915 enableval=$enable_fontdlg;
13916 if test "$enableval" = yes; then
13917 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13918 else
13919 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13920 fi
13921 cache=yes
13922
13923 else
13924
13925 cache=no
13926 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13927 if test "x$LINE" != x ; then
13928 eval "DEFAULT_$LINE"
13929 fi
13930
13931 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13932
13933 fi
13934
13935
13936 eval "$wx_cv_use_fontdlg"
13937 if test "x$cache" = xyes; then
13938 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13939 fi
13940
13941 if test x"$enablestring" = xdisable; then
13942 if test $wxUSE_FONTDLG = yes; then
13943 result=no
13944 else
13945 result=yes
13946 fi
13947 else
13948 result=$wxUSE_FONTDLG
13949 fi
13950
13951 { echo "$as_me:$LINENO: result: $result" >&5
13952 echo "${ECHO_T}$result" >&6; }
13953
13954
13955 enablestring=
13956 defaultval=$wxUSE_ALL_FEATURES
13957 if test -z "$defaultval"; then
13958 if test x"$enablestring" = xdisable; then
13959 defaultval=yes
13960 else
13961 defaultval=no
13962 fi
13963 fi
13964
13965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13966 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13967 # Check whether --enable-dirdlg was given.
13968 if test "${enable_dirdlg+set}" = set; then
13969 enableval=$enable_dirdlg;
13970 if test "$enableval" = yes; then
13971 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13972 else
13973 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13974 fi
13975 cache=yes
13976
13977 else
13978
13979 cache=no
13980 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13981 if test "x$LINE" != x ; then
13982 eval "DEFAULT_$LINE"
13983 fi
13984
13985 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13986
13987 fi
13988
13989
13990 eval "$wx_cv_use_dirdlg"
13991 if test "x$cache" = xyes; then
13992 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13993 fi
13994
13995 if test x"$enablestring" = xdisable; then
13996 if test $wxUSE_DIRDLG = yes; then
13997 result=no
13998 else
13999 result=yes
14000 fi
14001 else
14002 result=$wxUSE_DIRDLG
14003 fi
14004
14005 { echo "$as_me:$LINENO: result: $result" >&5
14006 echo "${ECHO_T}$result" >&6; }
14007
14008
14009 enablestring=
14010 defaultval=$wxUSE_ALL_FEATURES
14011 if test -z "$defaultval"; then
14012 if test x"$enablestring" = xdisable; then
14013 defaultval=yes
14014 else
14015 defaultval=no
14016 fi
14017 fi
14018
14019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14020 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14021 # Check whether --enable-msgdlg was given.
14022 if test "${enable_msgdlg+set}" = set; then
14023 enableval=$enable_msgdlg;
14024 if test "$enableval" = yes; then
14025 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14026 else
14027 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14028 fi
14029 cache=yes
14030
14031 else
14032
14033 cache=no
14034 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14035 if test "x$LINE" != x ; then
14036 eval "DEFAULT_$LINE"
14037 fi
14038
14039 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14040
14041 fi
14042
14043
14044 eval "$wx_cv_use_msgdlg"
14045 if test "x$cache" = xyes; then
14046 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14047 fi
14048
14049 if test x"$enablestring" = xdisable; then
14050 if test $wxUSE_MSGDLG = yes; then
14051 result=no
14052 else
14053 result=yes
14054 fi
14055 else
14056 result=$wxUSE_MSGDLG
14057 fi
14058
14059 { echo "$as_me:$LINENO: result: $result" >&5
14060 echo "${ECHO_T}$result" >&6; }
14061
14062
14063 enablestring=
14064 defaultval=$wxUSE_ALL_FEATURES
14065 if test -z "$defaultval"; then
14066 if test x"$enablestring" = xdisable; then
14067 defaultval=yes
14068 else
14069 defaultval=no
14070 fi
14071 fi
14072
14073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14074 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14075 # Check whether --enable-numberdlg was given.
14076 if test "${enable_numberdlg+set}" = set; then
14077 enableval=$enable_numberdlg;
14078 if test "$enableval" = yes; then
14079 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14080 else
14081 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14082 fi
14083 cache=yes
14084
14085 else
14086
14087 cache=no
14088 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14089 if test "x$LINE" != x ; then
14090 eval "DEFAULT_$LINE"
14091 fi
14092
14093 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14094
14095 fi
14096
14097
14098 eval "$wx_cv_use_numberdlg"
14099 if test "x$cache" = xyes; then
14100 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14101 fi
14102
14103 if test x"$enablestring" = xdisable; then
14104 if test $wxUSE_NUMBERDLG = yes; then
14105 result=no
14106 else
14107 result=yes
14108 fi
14109 else
14110 result=$wxUSE_NUMBERDLG
14111 fi
14112
14113 { echo "$as_me:$LINENO: result: $result" >&5
14114 echo "${ECHO_T}$result" >&6; }
14115
14116
14117 enablestring=
14118 defaultval=$wxUSE_ALL_FEATURES
14119 if test -z "$defaultval"; then
14120 if test x"$enablestring" = xdisable; then
14121 defaultval=yes
14122 else
14123 defaultval=no
14124 fi
14125 fi
14126
14127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14128 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14129 # Check whether --enable-splash was given.
14130 if test "${enable_splash+set}" = set; then
14131 enableval=$enable_splash;
14132 if test "$enableval" = yes; then
14133 wx_cv_use_splash='wxUSE_SPLASH=yes'
14134 else
14135 wx_cv_use_splash='wxUSE_SPLASH=no'
14136 fi
14137 cache=yes
14138
14139 else
14140
14141 cache=no
14142 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14143 if test "x$LINE" != x ; then
14144 eval "DEFAULT_$LINE"
14145 fi
14146
14147 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14148
14149 fi
14150
14151
14152 eval "$wx_cv_use_splash"
14153 if test "x$cache" = xyes; then
14154 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14155 fi
14156
14157 if test x"$enablestring" = xdisable; then
14158 if test $wxUSE_SPLASH = yes; then
14159 result=no
14160 else
14161 result=yes
14162 fi
14163 else
14164 result=$wxUSE_SPLASH
14165 fi
14166
14167 { echo "$as_me:$LINENO: result: $result" >&5
14168 echo "${ECHO_T}$result" >&6; }
14169
14170
14171 enablestring=
14172 defaultval=$wxUSE_ALL_FEATURES
14173 if test -z "$defaultval"; then
14174 if test x"$enablestring" = xdisable; then
14175 defaultval=yes
14176 else
14177 defaultval=no
14178 fi
14179 fi
14180
14181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14182 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14183 # Check whether --enable-textdlg was given.
14184 if test "${enable_textdlg+set}" = set; then
14185 enableval=$enable_textdlg;
14186 if test "$enableval" = yes; then
14187 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14188 else
14189 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14190 fi
14191 cache=yes
14192
14193 else
14194
14195 cache=no
14196 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14197 if test "x$LINE" != x ; then
14198 eval "DEFAULT_$LINE"
14199 fi
14200
14201 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14202
14203 fi
14204
14205
14206 eval "$wx_cv_use_textdlg"
14207 if test "x$cache" = xyes; then
14208 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14209 fi
14210
14211 if test x"$enablestring" = xdisable; then
14212 if test $wxUSE_TEXTDLG = yes; then
14213 result=no
14214 else
14215 result=yes
14216 fi
14217 else
14218 result=$wxUSE_TEXTDLG
14219 fi
14220
14221 { echo "$as_me:$LINENO: result: $result" >&5
14222 echo "${ECHO_T}$result" >&6; }
14223
14224
14225 enablestring=
14226 defaultval=$wxUSE_ALL_FEATURES
14227 if test -z "$defaultval"; then
14228 if test x"$enablestring" = xdisable; then
14229 defaultval=yes
14230 else
14231 defaultval=no
14232 fi
14233 fi
14234
14235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14236 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14237 # Check whether --enable-tipdlg was given.
14238 if test "${enable_tipdlg+set}" = set; then
14239 enableval=$enable_tipdlg;
14240 if test "$enableval" = yes; then
14241 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14242 else
14243 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14244 fi
14245 cache=yes
14246
14247 else
14248
14249 cache=no
14250 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14251 if test "x$LINE" != x ; then
14252 eval "DEFAULT_$LINE"
14253 fi
14254
14255 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14256
14257 fi
14258
14259
14260 eval "$wx_cv_use_tipdlg"
14261 if test "x$cache" = xyes; then
14262 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14263 fi
14264
14265 if test x"$enablestring" = xdisable; then
14266 if test $wxUSE_STARTUP_TIPS = yes; then
14267 result=no
14268 else
14269 result=yes
14270 fi
14271 else
14272 result=$wxUSE_STARTUP_TIPS
14273 fi
14274
14275 { echo "$as_me:$LINENO: result: $result" >&5
14276 echo "${ECHO_T}$result" >&6; }
14277
14278
14279 enablestring=
14280 defaultval=$wxUSE_ALL_FEATURES
14281 if test -z "$defaultval"; then
14282 if test x"$enablestring" = xdisable; then
14283 defaultval=yes
14284 else
14285 defaultval=no
14286 fi
14287 fi
14288
14289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14290 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14291 # Check whether --enable-progressdlg was given.
14292 if test "${enable_progressdlg+set}" = set; then
14293 enableval=$enable_progressdlg;
14294 if test "$enableval" = yes; then
14295 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14296 else
14297 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14298 fi
14299 cache=yes
14300
14301 else
14302
14303 cache=no
14304 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14305 if test "x$LINE" != x ; then
14306 eval "DEFAULT_$LINE"
14307 fi
14308
14309 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14310
14311 fi
14312
14313
14314 eval "$wx_cv_use_progressdlg"
14315 if test "x$cache" = xyes; then
14316 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14317 fi
14318
14319 if test x"$enablestring" = xdisable; then
14320 if test $wxUSE_PROGRESSDLG = yes; then
14321 result=no
14322 else
14323 result=yes
14324 fi
14325 else
14326 result=$wxUSE_PROGRESSDLG
14327 fi
14328
14329 { echo "$as_me:$LINENO: result: $result" >&5
14330 echo "${ECHO_T}$result" >&6; }
14331
14332
14333 enablestring=
14334 defaultval=$wxUSE_ALL_FEATURES
14335 if test -z "$defaultval"; then
14336 if test x"$enablestring" = xdisable; then
14337 defaultval=yes
14338 else
14339 defaultval=no
14340 fi
14341 fi
14342
14343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14344 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14345 # Check whether --enable-wizarddlg was given.
14346 if test "${enable_wizarddlg+set}" = set; then
14347 enableval=$enable_wizarddlg;
14348 if test "$enableval" = yes; then
14349 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14350 else
14351 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14352 fi
14353 cache=yes
14354
14355 else
14356
14357 cache=no
14358 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14359 if test "x$LINE" != x ; then
14360 eval "DEFAULT_$LINE"
14361 fi
14362
14363 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14364
14365 fi
14366
14367
14368 eval "$wx_cv_use_wizarddlg"
14369 if test "x$cache" = xyes; then
14370 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14371 fi
14372
14373 if test x"$enablestring" = xdisable; then
14374 if test $wxUSE_WIZARDDLG = yes; then
14375 result=no
14376 else
14377 result=yes
14378 fi
14379 else
14380 result=$wxUSE_WIZARDDLG
14381 fi
14382
14383 { echo "$as_me:$LINENO: result: $result" >&5
14384 echo "${ECHO_T}$result" >&6; }
14385
14386
14387
14388
14389 enablestring=
14390 defaultval=$wxUSE_ALL_FEATURES
14391 if test -z "$defaultval"; then
14392 if test x"$enablestring" = xdisable; then
14393 defaultval=yes
14394 else
14395 defaultval=no
14396 fi
14397 fi
14398
14399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14400 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14401 # Check whether --enable-menus was given.
14402 if test "${enable_menus+set}" = set; then
14403 enableval=$enable_menus;
14404 if test "$enableval" = yes; then
14405 wx_cv_use_menus='wxUSE_MENUS=yes'
14406 else
14407 wx_cv_use_menus='wxUSE_MENUS=no'
14408 fi
14409 cache=yes
14410
14411 else
14412
14413 cache=no
14414 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14415 if test "x$LINE" != x ; then
14416 eval "DEFAULT_$LINE"
14417 fi
14418
14419 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14420
14421 fi
14422
14423
14424 eval "$wx_cv_use_menus"
14425 if test "x$cache" = xyes; then
14426 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14427 fi
14428
14429 if test x"$enablestring" = xdisable; then
14430 if test $wxUSE_MENUS = yes; then
14431 result=no
14432 else
14433 result=yes
14434 fi
14435 else
14436 result=$wxUSE_MENUS
14437 fi
14438
14439 { echo "$as_me:$LINENO: result: $result" >&5
14440 echo "${ECHO_T}$result" >&6; }
14441
14442
14443 enablestring=
14444 defaultval=$wxUSE_ALL_FEATURES
14445 if test -z "$defaultval"; then
14446 if test x"$enablestring" = xdisable; then
14447 defaultval=yes
14448 else
14449 defaultval=no
14450 fi
14451 fi
14452
14453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14454 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14455 # Check whether --enable-miniframe was given.
14456 if test "${enable_miniframe+set}" = set; then
14457 enableval=$enable_miniframe;
14458 if test "$enableval" = yes; then
14459 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14460 else
14461 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14462 fi
14463 cache=yes
14464
14465 else
14466
14467 cache=no
14468 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14469 if test "x$LINE" != x ; then
14470 eval "DEFAULT_$LINE"
14471 fi
14472
14473 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14474
14475 fi
14476
14477
14478 eval "$wx_cv_use_miniframe"
14479 if test "x$cache" = xyes; then
14480 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14481 fi
14482
14483 if test x"$enablestring" = xdisable; then
14484 if test $wxUSE_MINIFRAME = yes; then
14485 result=no
14486 else
14487 result=yes
14488 fi
14489 else
14490 result=$wxUSE_MINIFRAME
14491 fi
14492
14493 { echo "$as_me:$LINENO: result: $result" >&5
14494 echo "${ECHO_T}$result" >&6; }
14495
14496
14497 enablestring=
14498 defaultval=$wxUSE_ALL_FEATURES
14499 if test -z "$defaultval"; then
14500 if test x"$enablestring" = xdisable; then
14501 defaultval=yes
14502 else
14503 defaultval=no
14504 fi
14505 fi
14506
14507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14508 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14509 # Check whether --enable-tooltips was given.
14510 if test "${enable_tooltips+set}" = set; then
14511 enableval=$enable_tooltips;
14512 if test "$enableval" = yes; then
14513 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14514 else
14515 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14516 fi
14517 cache=yes
14518
14519 else
14520
14521 cache=no
14522 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14523 if test "x$LINE" != x ; then
14524 eval "DEFAULT_$LINE"
14525 fi
14526
14527 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14528
14529 fi
14530
14531
14532 eval "$wx_cv_use_tooltips"
14533 if test "x$cache" = xyes; then
14534 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14535 fi
14536
14537 if test x"$enablestring" = xdisable; then
14538 if test $wxUSE_TOOLTIPS = yes; then
14539 result=no
14540 else
14541 result=yes
14542 fi
14543 else
14544 result=$wxUSE_TOOLTIPS
14545 fi
14546
14547 { echo "$as_me:$LINENO: result: $result" >&5
14548 echo "${ECHO_T}$result" >&6; }
14549
14550
14551 enablestring=
14552 defaultval=$wxUSE_ALL_FEATURES
14553 if test -z "$defaultval"; then
14554 if test x"$enablestring" = xdisable; then
14555 defaultval=yes
14556 else
14557 defaultval=no
14558 fi
14559 fi
14560
14561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14562 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14563 # Check whether --enable-splines was given.
14564 if test "${enable_splines+set}" = set; then
14565 enableval=$enable_splines;
14566 if test "$enableval" = yes; then
14567 wx_cv_use_splines='wxUSE_SPLINES=yes'
14568 else
14569 wx_cv_use_splines='wxUSE_SPLINES=no'
14570 fi
14571 cache=yes
14572
14573 else
14574
14575 cache=no
14576 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14577 if test "x$LINE" != x ; then
14578 eval "DEFAULT_$LINE"
14579 fi
14580
14581 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14582
14583 fi
14584
14585
14586 eval "$wx_cv_use_splines"
14587 if test "x$cache" = xyes; then
14588 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14589 fi
14590
14591 if test x"$enablestring" = xdisable; then
14592 if test $wxUSE_SPLINES = yes; then
14593 result=no
14594 else
14595 result=yes
14596 fi
14597 else
14598 result=$wxUSE_SPLINES
14599 fi
14600
14601 { echo "$as_me:$LINENO: result: $result" >&5
14602 echo "${ECHO_T}$result" >&6; }
14603
14604
14605 enablestring=
14606 defaultval=$wxUSE_ALL_FEATURES
14607 if test -z "$defaultval"; then
14608 if test x"$enablestring" = xdisable; then
14609 defaultval=yes
14610 else
14611 defaultval=no
14612 fi
14613 fi
14614
14615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14616 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14617 # Check whether --enable-mousewheel was given.
14618 if test "${enable_mousewheel+set}" = set; then
14619 enableval=$enable_mousewheel;
14620 if test "$enableval" = yes; then
14621 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14622 else
14623 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14624 fi
14625 cache=yes
14626
14627 else
14628
14629 cache=no
14630 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14631 if test "x$LINE" != x ; then
14632 eval "DEFAULT_$LINE"
14633 fi
14634
14635 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14636
14637 fi
14638
14639
14640 eval "$wx_cv_use_mousewheel"
14641 if test "x$cache" = xyes; then
14642 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14643 fi
14644
14645 if test x"$enablestring" = xdisable; then
14646 if test $wxUSE_MOUSEWHEEL = yes; then
14647 result=no
14648 else
14649 result=yes
14650 fi
14651 else
14652 result=$wxUSE_MOUSEWHEEL
14653 fi
14654
14655 { echo "$as_me:$LINENO: result: $result" >&5
14656 echo "${ECHO_T}$result" >&6; }
14657
14658
14659 enablestring=
14660 defaultval=$wxUSE_ALL_FEATURES
14661 if test -z "$defaultval"; then
14662 if test x"$enablestring" = xdisable; then
14663 defaultval=yes
14664 else
14665 defaultval=no
14666 fi
14667 fi
14668
14669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14670 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14671 # Check whether --enable-validators was given.
14672 if test "${enable_validators+set}" = set; then
14673 enableval=$enable_validators;
14674 if test "$enableval" = yes; then
14675 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14676 else
14677 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14678 fi
14679 cache=yes
14680
14681 else
14682
14683 cache=no
14684 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14685 if test "x$LINE" != x ; then
14686 eval "DEFAULT_$LINE"
14687 fi
14688
14689 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14690
14691 fi
14692
14693
14694 eval "$wx_cv_use_validators"
14695 if test "x$cache" = xyes; then
14696 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14697 fi
14698
14699 if test x"$enablestring" = xdisable; then
14700 if test $wxUSE_VALIDATORS = yes; then
14701 result=no
14702 else
14703 result=yes
14704 fi
14705 else
14706 result=$wxUSE_VALIDATORS
14707 fi
14708
14709 { echo "$as_me:$LINENO: result: $result" >&5
14710 echo "${ECHO_T}$result" >&6; }
14711
14712
14713 enablestring=
14714 defaultval=$wxUSE_ALL_FEATURES
14715 if test -z "$defaultval"; then
14716 if test x"$enablestring" = xdisable; then
14717 defaultval=yes
14718 else
14719 defaultval=no
14720 fi
14721 fi
14722
14723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14724 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14725 # Check whether --enable-busyinfo was given.
14726 if test "${enable_busyinfo+set}" = set; then
14727 enableval=$enable_busyinfo;
14728 if test "$enableval" = yes; then
14729 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14730 else
14731 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14732 fi
14733 cache=yes
14734
14735 else
14736
14737 cache=no
14738 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14739 if test "x$LINE" != x ; then
14740 eval "DEFAULT_$LINE"
14741 fi
14742
14743 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14744
14745 fi
14746
14747
14748 eval "$wx_cv_use_busyinfo"
14749 if test "x$cache" = xyes; then
14750 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14751 fi
14752
14753 if test x"$enablestring" = xdisable; then
14754 if test $wxUSE_BUSYINFO = yes; then
14755 result=no
14756 else
14757 result=yes
14758 fi
14759 else
14760 result=$wxUSE_BUSYINFO
14761 fi
14762
14763 { echo "$as_me:$LINENO: result: $result" >&5
14764 echo "${ECHO_T}$result" >&6; }
14765
14766
14767 enablestring=
14768 defaultval=$wxUSE_ALL_FEATURES
14769 if test -z "$defaultval"; then
14770 if test x"$enablestring" = xdisable; then
14771 defaultval=yes
14772 else
14773 defaultval=no
14774 fi
14775 fi
14776
14777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14778 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14779 # Check whether --enable-joystick was given.
14780 if test "${enable_joystick+set}" = set; then
14781 enableval=$enable_joystick;
14782 if test "$enableval" = yes; then
14783 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14784 else
14785 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14786 fi
14787 cache=yes
14788
14789 else
14790
14791 cache=no
14792 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14793 if test "x$LINE" != x ; then
14794 eval "DEFAULT_$LINE"
14795 fi
14796
14797 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14798
14799 fi
14800
14801
14802 eval "$wx_cv_use_joystick"
14803 if test "x$cache" = xyes; then
14804 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14805 fi
14806
14807 if test x"$enablestring" = xdisable; then
14808 if test $wxUSE_JOYSTICK = yes; then
14809 result=no
14810 else
14811 result=yes
14812 fi
14813 else
14814 result=$wxUSE_JOYSTICK
14815 fi
14816
14817 { echo "$as_me:$LINENO: result: $result" >&5
14818 echo "${ECHO_T}$result" >&6; }
14819
14820
14821 enablestring=
14822 defaultval=$wxUSE_ALL_FEATURES
14823 if test -z "$defaultval"; then
14824 if test x"$enablestring" = xdisable; then
14825 defaultval=yes
14826 else
14827 defaultval=no
14828 fi
14829 fi
14830
14831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14832 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14833 # Check whether --enable-metafile was given.
14834 if test "${enable_metafile+set}" = set; then
14835 enableval=$enable_metafile;
14836 if test "$enableval" = yes; then
14837 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14838 else
14839 wx_cv_use_metafile='wxUSE_METAFILE=no'
14840 fi
14841 cache=yes
14842
14843 else
14844
14845 cache=no
14846 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14847 if test "x$LINE" != x ; then
14848 eval "DEFAULT_$LINE"
14849 fi
14850
14851 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14852
14853 fi
14854
14855
14856 eval "$wx_cv_use_metafile"
14857 if test "x$cache" = xyes; then
14858 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14859 fi
14860
14861 if test x"$enablestring" = xdisable; then
14862 if test $wxUSE_METAFILE = yes; then
14863 result=no
14864 else
14865 result=yes
14866 fi
14867 else
14868 result=$wxUSE_METAFILE
14869 fi
14870
14871 { echo "$as_me:$LINENO: result: $result" >&5
14872 echo "${ECHO_T}$result" >&6; }
14873
14874
14875 enablestring=
14876 defaultval=$wxUSE_ALL_FEATURES
14877 if test -z "$defaultval"; then
14878 if test x"$enablestring" = xdisable; then
14879 defaultval=yes
14880 else
14881 defaultval=no
14882 fi
14883 fi
14884
14885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14886 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14887 # Check whether --enable-dragimage was given.
14888 if test "${enable_dragimage+set}" = set; then
14889 enableval=$enable_dragimage;
14890 if test "$enableval" = yes; then
14891 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14892 else
14893 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14894 fi
14895 cache=yes
14896
14897 else
14898
14899 cache=no
14900 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14901 if test "x$LINE" != x ; then
14902 eval "DEFAULT_$LINE"
14903 fi
14904
14905 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14906
14907 fi
14908
14909
14910 eval "$wx_cv_use_dragimage"
14911 if test "x$cache" = xyes; then
14912 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14913 fi
14914
14915 if test x"$enablestring" = xdisable; then
14916 if test $wxUSE_DRAGIMAGE = yes; then
14917 result=no
14918 else
14919 result=yes
14920 fi
14921 else
14922 result=$wxUSE_DRAGIMAGE
14923 fi
14924
14925 { echo "$as_me:$LINENO: result: $result" >&5
14926 echo "${ECHO_T}$result" >&6; }
14927
14928
14929 enablestring=
14930 defaultval=$wxUSE_ALL_FEATURES
14931 if test -z "$defaultval"; then
14932 if test x"$enablestring" = xdisable; then
14933 defaultval=yes
14934 else
14935 defaultval=no
14936 fi
14937 fi
14938
14939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14940 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14941 # Check whether --enable-accessibility was given.
14942 if test "${enable_accessibility+set}" = set; then
14943 enableval=$enable_accessibility;
14944 if test "$enableval" = yes; then
14945 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14946 else
14947 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14948 fi
14949 cache=yes
14950
14951 else
14952
14953 cache=no
14954 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14955 if test "x$LINE" != x ; then
14956 eval "DEFAULT_$LINE"
14957 fi
14958
14959 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14960
14961 fi
14962
14963
14964 eval "$wx_cv_use_accessibility"
14965 if test "x$cache" = xyes; then
14966 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14967 fi
14968
14969 if test x"$enablestring" = xdisable; then
14970 if test $wxUSE_ACCESSIBILITY = yes; then
14971 result=no
14972 else
14973 result=yes
14974 fi
14975 else
14976 result=$wxUSE_ACCESSIBILITY
14977 fi
14978
14979 { echo "$as_me:$LINENO: result: $result" >&5
14980 echo "${ECHO_T}$result" >&6; }
14981
14982
14983
14984
14985 enablestring=
14986 defaultval=$wxUSE_ALL_FEATURES
14987 if test -z "$defaultval"; then
14988 if test x"$enablestring" = xdisable; then
14989 defaultval=yes
14990 else
14991 defaultval=no
14992 fi
14993 fi
14994
14995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14996 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14997 # Check whether --enable-palette was given.
14998 if test "${enable_palette+set}" = set; then
14999 enableval=$enable_palette;
15000 if test "$enableval" = yes; then
15001 wx_cv_use_palette='wxUSE_PALETTE=yes'
15002 else
15003 wx_cv_use_palette='wxUSE_PALETTE=no'
15004 fi
15005 cache=yes
15006
15007 else
15008
15009 cache=no
15010 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15011 if test "x$LINE" != x ; then
15012 eval "DEFAULT_$LINE"
15013 fi
15014
15015 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15016
15017 fi
15018
15019
15020 eval "$wx_cv_use_palette"
15021 if test "x$cache" = xyes; then
15022 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15023 fi
15024
15025 if test x"$enablestring" = xdisable; then
15026 if test $wxUSE_PALETTE = yes; then
15027 result=no
15028 else
15029 result=yes
15030 fi
15031 else
15032 result=$wxUSE_PALETTE
15033 fi
15034
15035 { echo "$as_me:$LINENO: result: $result" >&5
15036 echo "${ECHO_T}$result" >&6; }
15037
15038
15039 enablestring=
15040 defaultval=$wxUSE_ALL_FEATURES
15041 if test -z "$defaultval"; then
15042 if test x"$enablestring" = xdisable; then
15043 defaultval=yes
15044 else
15045 defaultval=no
15046 fi
15047 fi
15048
15049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15050 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15051 # Check whether --enable-image was given.
15052 if test "${enable_image+set}" = set; then
15053 enableval=$enable_image;
15054 if test "$enableval" = yes; then
15055 wx_cv_use_image='wxUSE_IMAGE=yes'
15056 else
15057 wx_cv_use_image='wxUSE_IMAGE=no'
15058 fi
15059 cache=yes
15060
15061 else
15062
15063 cache=no
15064 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15065 if test "x$LINE" != x ; then
15066 eval "DEFAULT_$LINE"
15067 fi
15068
15069 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15070
15071 fi
15072
15073
15074 eval "$wx_cv_use_image"
15075 if test "x$cache" = xyes; then
15076 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15077 fi
15078
15079 if test x"$enablestring" = xdisable; then
15080 if test $wxUSE_IMAGE = yes; then
15081 result=no
15082 else
15083 result=yes
15084 fi
15085 else
15086 result=$wxUSE_IMAGE
15087 fi
15088
15089 { echo "$as_me:$LINENO: result: $result" >&5
15090 echo "${ECHO_T}$result" >&6; }
15091
15092
15093 enablestring=
15094 defaultval=$wxUSE_ALL_FEATURES
15095 if test -z "$defaultval"; then
15096 if test x"$enablestring" = xdisable; then
15097 defaultval=yes
15098 else
15099 defaultval=no
15100 fi
15101 fi
15102
15103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15104 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15105 # Check whether --enable-gif was given.
15106 if test "${enable_gif+set}" = set; then
15107 enableval=$enable_gif;
15108 if test "$enableval" = yes; then
15109 wx_cv_use_gif='wxUSE_GIF=yes'
15110 else
15111 wx_cv_use_gif='wxUSE_GIF=no'
15112 fi
15113 cache=yes
15114
15115 else
15116
15117 cache=no
15118 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15119 if test "x$LINE" != x ; then
15120 eval "DEFAULT_$LINE"
15121 fi
15122
15123 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15124
15125 fi
15126
15127
15128 eval "$wx_cv_use_gif"
15129 if test "x$cache" = xyes; then
15130 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15131 fi
15132
15133 if test x"$enablestring" = xdisable; then
15134 if test $wxUSE_GIF = yes; then
15135 result=no
15136 else
15137 result=yes
15138 fi
15139 else
15140 result=$wxUSE_GIF
15141 fi
15142
15143 { echo "$as_me:$LINENO: result: $result" >&5
15144 echo "${ECHO_T}$result" >&6; }
15145
15146
15147 enablestring=
15148 defaultval=$wxUSE_ALL_FEATURES
15149 if test -z "$defaultval"; then
15150 if test x"$enablestring" = xdisable; then
15151 defaultval=yes
15152 else
15153 defaultval=no
15154 fi
15155 fi
15156
15157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15158 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15159 # Check whether --enable-pcx was given.
15160 if test "${enable_pcx+set}" = set; then
15161 enableval=$enable_pcx;
15162 if test "$enableval" = yes; then
15163 wx_cv_use_pcx='wxUSE_PCX=yes'
15164 else
15165 wx_cv_use_pcx='wxUSE_PCX=no'
15166 fi
15167 cache=yes
15168
15169 else
15170
15171 cache=no
15172 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15173 if test "x$LINE" != x ; then
15174 eval "DEFAULT_$LINE"
15175 fi
15176
15177 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15178
15179 fi
15180
15181
15182 eval "$wx_cv_use_pcx"
15183 if test "x$cache" = xyes; then
15184 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15185 fi
15186
15187 if test x"$enablestring" = xdisable; then
15188 if test $wxUSE_PCX = yes; then
15189 result=no
15190 else
15191 result=yes
15192 fi
15193 else
15194 result=$wxUSE_PCX
15195 fi
15196
15197 { echo "$as_me:$LINENO: result: $result" >&5
15198 echo "${ECHO_T}$result" >&6; }
15199
15200
15201 enablestring=
15202 defaultval=$wxUSE_ALL_FEATURES
15203 if test -z "$defaultval"; then
15204 if test x"$enablestring" = xdisable; then
15205 defaultval=yes
15206 else
15207 defaultval=no
15208 fi
15209 fi
15210
15211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15212 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15213 # Check whether --enable-tga was given.
15214 if test "${enable_tga+set}" = set; then
15215 enableval=$enable_tga;
15216 if test "$enableval" = yes; then
15217 wx_cv_use_tga='wxUSE_TGA=yes'
15218 else
15219 wx_cv_use_tga='wxUSE_TGA=no'
15220 fi
15221 cache=yes
15222
15223 else
15224
15225 cache=no
15226 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15227 if test "x$LINE" != x ; then
15228 eval "DEFAULT_$LINE"
15229 fi
15230
15231 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15232
15233 fi
15234
15235
15236 eval "$wx_cv_use_tga"
15237 if test "x$cache" = xyes; then
15238 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15239 fi
15240
15241 if test x"$enablestring" = xdisable; then
15242 if test $wxUSE_TGA = yes; then
15243 result=no
15244 else
15245 result=yes
15246 fi
15247 else
15248 result=$wxUSE_TGA
15249 fi
15250
15251 { echo "$as_me:$LINENO: result: $result" >&5
15252 echo "${ECHO_T}$result" >&6; }
15253
15254
15255 enablestring=
15256 defaultval=$wxUSE_ALL_FEATURES
15257 if test -z "$defaultval"; then
15258 if test x"$enablestring" = xdisable; then
15259 defaultval=yes
15260 else
15261 defaultval=no
15262 fi
15263 fi
15264
15265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15266 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15267 # Check whether --enable-iff was given.
15268 if test "${enable_iff+set}" = set; then
15269 enableval=$enable_iff;
15270 if test "$enableval" = yes; then
15271 wx_cv_use_iff='wxUSE_IFF=yes'
15272 else
15273 wx_cv_use_iff='wxUSE_IFF=no'
15274 fi
15275 cache=yes
15276
15277 else
15278
15279 cache=no
15280 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15281 if test "x$LINE" != x ; then
15282 eval "DEFAULT_$LINE"
15283 fi
15284
15285 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15286
15287 fi
15288
15289
15290 eval "$wx_cv_use_iff"
15291 if test "x$cache" = xyes; then
15292 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15293 fi
15294
15295 if test x"$enablestring" = xdisable; then
15296 if test $wxUSE_IFF = yes; then
15297 result=no
15298 else
15299 result=yes
15300 fi
15301 else
15302 result=$wxUSE_IFF
15303 fi
15304
15305 { echo "$as_me:$LINENO: result: $result" >&5
15306 echo "${ECHO_T}$result" >&6; }
15307
15308
15309 enablestring=
15310 defaultval=$wxUSE_ALL_FEATURES
15311 if test -z "$defaultval"; then
15312 if test x"$enablestring" = xdisable; then
15313 defaultval=yes
15314 else
15315 defaultval=no
15316 fi
15317 fi
15318
15319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15320 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15321 # Check whether --enable-pnm was given.
15322 if test "${enable_pnm+set}" = set; then
15323 enableval=$enable_pnm;
15324 if test "$enableval" = yes; then
15325 wx_cv_use_pnm='wxUSE_PNM=yes'
15326 else
15327 wx_cv_use_pnm='wxUSE_PNM=no'
15328 fi
15329 cache=yes
15330
15331 else
15332
15333 cache=no
15334 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15335 if test "x$LINE" != x ; then
15336 eval "DEFAULT_$LINE"
15337 fi
15338
15339 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15340
15341 fi
15342
15343
15344 eval "$wx_cv_use_pnm"
15345 if test "x$cache" = xyes; then
15346 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15347 fi
15348
15349 if test x"$enablestring" = xdisable; then
15350 if test $wxUSE_PNM = yes; then
15351 result=no
15352 else
15353 result=yes
15354 fi
15355 else
15356 result=$wxUSE_PNM
15357 fi
15358
15359 { echo "$as_me:$LINENO: result: $result" >&5
15360 echo "${ECHO_T}$result" >&6; }
15361
15362
15363 enablestring=
15364 defaultval=$wxUSE_ALL_FEATURES
15365 if test -z "$defaultval"; then
15366 if test x"$enablestring" = xdisable; then
15367 defaultval=yes
15368 else
15369 defaultval=no
15370 fi
15371 fi
15372
15373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15374 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15375 # Check whether --enable-xpm was given.
15376 if test "${enable_xpm+set}" = set; then
15377 enableval=$enable_xpm;
15378 if test "$enableval" = yes; then
15379 wx_cv_use_xpm='wxUSE_XPM=yes'
15380 else
15381 wx_cv_use_xpm='wxUSE_XPM=no'
15382 fi
15383 cache=yes
15384
15385 else
15386
15387 cache=no
15388 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15389 if test "x$LINE" != x ; then
15390 eval "DEFAULT_$LINE"
15391 fi
15392
15393 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15394
15395 fi
15396
15397
15398 eval "$wx_cv_use_xpm"
15399 if test "x$cache" = xyes; then
15400 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15401 fi
15402
15403 if test x"$enablestring" = xdisable; then
15404 if test $wxUSE_XPM = yes; then
15405 result=no
15406 else
15407 result=yes
15408 fi
15409 else
15410 result=$wxUSE_XPM
15411 fi
15412
15413 { echo "$as_me:$LINENO: result: $result" >&5
15414 echo "${ECHO_T}$result" >&6; }
15415
15416
15417 enablestring=
15418 defaultval=$wxUSE_ALL_FEATURES
15419 if test -z "$defaultval"; then
15420 if test x"$enablestring" = xdisable; then
15421 defaultval=yes
15422 else
15423 defaultval=no
15424 fi
15425 fi
15426
15427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15428 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15429 # Check whether --enable-ico_cur was given.
15430 if test "${enable_ico_cur+set}" = set; then
15431 enableval=$enable_ico_cur;
15432 if test "$enableval" = yes; then
15433 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15434 else
15435 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15436 fi
15437 cache=yes
15438
15439 else
15440
15441 cache=no
15442 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15443 if test "x$LINE" != x ; then
15444 eval "DEFAULT_$LINE"
15445 fi
15446
15447 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15448
15449 fi
15450
15451
15452 eval "$wx_cv_use_ico_cur"
15453 if test "x$cache" = xyes; then
15454 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15455 fi
15456
15457 if test x"$enablestring" = xdisable; then
15458 if test $wxUSE_ICO_CUR = yes; then
15459 result=no
15460 else
15461 result=yes
15462 fi
15463 else
15464 result=$wxUSE_ICO_CUR
15465 fi
15466
15467 { echo "$as_me:$LINENO: result: $result" >&5
15468 echo "${ECHO_T}$result" >&6; }
15469
15470
15471
15472
15473 enablestring=
15474 defaultval=$wxUSE_ALL_FEATURES
15475 if test -z "$defaultval"; then
15476 if test x"$enablestring" = xdisable; then
15477 defaultval=yes
15478 else
15479 defaultval=no
15480 fi
15481 fi
15482
15483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15484 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15485 # Check whether --enable-dccache was given.
15486 if test "${enable_dccache+set}" = set; then
15487 enableval=$enable_dccache;
15488 if test "$enableval" = yes; then
15489 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15490 else
15491 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15492 fi
15493 cache=yes
15494
15495 else
15496
15497 cache=no
15498 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15499 if test "x$LINE" != x ; then
15500 eval "DEFAULT_$LINE"
15501 fi
15502
15503 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15504
15505 fi
15506
15507
15508 eval "$wx_cv_use_dccache"
15509 if test "x$cache" = xyes; then
15510 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15511 fi
15512
15513 if test x"$enablestring" = xdisable; then
15514 if test $wxUSE_DC_CACHEING = yes; then
15515 result=no
15516 else
15517 result=yes
15518 fi
15519 else
15520 result=$wxUSE_DC_CACHEING
15521 fi
15522
15523 { echo "$as_me:$LINENO: result: $result" >&5
15524 echo "${ECHO_T}$result" >&6; }
15525
15526
15527 enablestring=
15528 defaultval=$wxUSE_ALL_FEATURES
15529 if test -z "$defaultval"; then
15530 if test x"$enablestring" = xdisable; then
15531 defaultval=yes
15532 else
15533 defaultval=no
15534 fi
15535 fi
15536
15537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15538 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
15539 # Check whether --enable-ps-in-msw was given.
15540 if test "${enable_ps_in_msw+set}" = set; then
15541 enableval=$enable_ps_in_msw;
15542 if test "$enableval" = yes; then
15543 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15544 else
15545 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15546 fi
15547 cache=yes
15548
15549 else
15550
15551 cache=no
15552 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15553 if test "x$LINE" != x ; then
15554 eval "DEFAULT_$LINE"
15555 fi
15556
15557 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15558
15559 fi
15560
15561
15562 eval "$wx_cv_use_ps_in_msw"
15563 if test "x$cache" = xyes; then
15564 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15565 fi
15566
15567 if test x"$enablestring" = xdisable; then
15568 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15569 result=no
15570 else
15571 result=yes
15572 fi
15573 else
15574 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15575 fi
15576
15577 { echo "$as_me:$LINENO: result: $result" >&5
15578 echo "${ECHO_T}$result" >&6; }
15579
15580
15581 enablestring=
15582 defaultval=$wxUSE_ALL_FEATURES
15583 if test -z "$defaultval"; then
15584 if test x"$enablestring" = xdisable; then
15585 defaultval=yes
15586 else
15587 defaultval=no
15588 fi
15589 fi
15590
15591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
15592 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
15593 # Check whether --enable-ownerdrawn was given.
15594 if test "${enable_ownerdrawn+set}" = set; then
15595 enableval=$enable_ownerdrawn;
15596 if test "$enableval" = yes; then
15597 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15598 else
15599 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15600 fi
15601 cache=yes
15602
15603 else
15604
15605 cache=no
15606 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
15607 if test "x$LINE" != x ; then
15608 eval "DEFAULT_$LINE"
15609 fi
15610
15611 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15612
15613 fi
15614
15615
15616 eval "$wx_cv_use_ownerdrawn"
15617 if test "x$cache" = xyes; then
15618 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
15619 fi
15620
15621 if test x"$enablestring" = xdisable; then
15622 if test $wxUSE_OWNER_DRAWN = yes; then
15623 result=no
15624 else
15625 result=yes
15626 fi
15627 else
15628 result=$wxUSE_OWNER_DRAWN
15629 fi
15630
15631 { echo "$as_me:$LINENO: result: $result" >&5
15632 echo "${ECHO_T}$result" >&6; }
15633
15634
15635 enablestring=
15636 defaultval=$wxUSE_ALL_FEATURES
15637 if test -z "$defaultval"; then
15638 if test x"$enablestring" = xdisable; then
15639 defaultval=yes
15640 else
15641 defaultval=no
15642 fi
15643 fi
15644
15645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15646 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15647 # Check whether --enable-regkey was given.
15648 if test "${enable_regkey+set}" = set; then
15649 enableval=$enable_regkey;
15650 if test "$enableval" = yes; then
15651 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15652 else
15653 wx_cv_use_regkey='wxUSE_REGKEY=no'
15654 fi
15655 cache=yes
15656
15657 else
15658
15659 cache=no
15660 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15661 if test "x$LINE" != x ; then
15662 eval "DEFAULT_$LINE"
15663 fi
15664
15665 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15666
15667 fi
15668
15669
15670 eval "$wx_cv_use_regkey"
15671 if test "x$cache" = xyes; then
15672 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15673 fi
15674
15675 if test x"$enablestring" = xdisable; then
15676 if test $wxUSE_REGKEY = yes; then
15677 result=no
15678 else
15679 result=yes
15680 fi
15681 else
15682 result=$wxUSE_REGKEY
15683 fi
15684
15685 { echo "$as_me:$LINENO: result: $result" >&5
15686 echo "${ECHO_T}$result" >&6; }
15687
15688
15689 enablestring=
15690 defaultval=$wxUSE_ALL_FEATURES
15691 if test -z "$defaultval"; then
15692 if test x"$enablestring" = xdisable; then
15693 defaultval=yes
15694 else
15695 defaultval=no
15696 fi
15697 fi
15698
15699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15700 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15701 # Check whether --enable-uxtheme was given.
15702 if test "${enable_uxtheme+set}" = set; then
15703 enableval=$enable_uxtheme;
15704 if test "$enableval" = yes; then
15705 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15706 else
15707 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15708 fi
15709 cache=yes
15710
15711 else
15712
15713 cache=no
15714 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15715 if test "x$LINE" != x ; then
15716 eval "DEFAULT_$LINE"
15717 fi
15718
15719 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15720
15721 fi
15722
15723
15724 eval "$wx_cv_use_uxtheme"
15725 if test "x$cache" = xyes; then
15726 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15727 fi
15728
15729 if test x"$enablestring" = xdisable; then
15730 if test $wxUSE_UXTHEME = yes; then
15731 result=no
15732 else
15733 result=yes
15734 fi
15735 else
15736 result=$wxUSE_UXTHEME
15737 fi
15738
15739 { echo "$as_me:$LINENO: result: $result" >&5
15740 echo "${ECHO_T}$result" >&6; }
15741
15742
15743 enablestring=
15744 defaultval=$wxUSE_ALL_FEATURES
15745 if test -z "$defaultval"; then
15746 if test x"$enablestring" = xdisable; then
15747 defaultval=yes
15748 else
15749 defaultval=no
15750 fi
15751 fi
15752
15753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15754 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15755 # Check whether --enable-wxdib was given.
15756 if test "${enable_wxdib+set}" = set; then
15757 enableval=$enable_wxdib;
15758 if test "$enableval" = yes; then
15759 wx_cv_use_wxdib='wxUSE_DIB=yes'
15760 else
15761 wx_cv_use_wxdib='wxUSE_DIB=no'
15762 fi
15763 cache=yes
15764
15765 else
15766
15767 cache=no
15768 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15769 if test "x$LINE" != x ; then
15770 eval "DEFAULT_$LINE"
15771 fi
15772
15773 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15774
15775 fi
15776
15777
15778 eval "$wx_cv_use_wxdib"
15779 if test "x$cache" = xyes; then
15780 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15781 fi
15782
15783 if test x"$enablestring" = xdisable; then
15784 if test $wxUSE_DIB = yes; then
15785 result=no
15786 else
15787 result=yes
15788 fi
15789 else
15790 result=$wxUSE_DIB
15791 fi
15792
15793 { echo "$as_me:$LINENO: result: $result" >&5
15794 echo "${ECHO_T}$result" >&6; }
15795
15796
15797 fi
15798
15799
15800 echo "saving argument cache $wx_arg_cache_file"
15801 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15802
15803
15804
15805 { echo "$as_me:$LINENO: checking for toolkit" >&5
15806 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15807
15808 # In Wine, we need to default to MSW, not GTK or MOTIF
15809 if test "$wxUSE_WINE" = "yes"; then
15810 DEFAULT_DEFAULT_wxUSE_GTK=0
15811 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15812 DEFAULT_DEFAULT_wxUSE_MSW=1
15813 wxUSE_SHARED=no
15814 CC=${CC:-winegcc}
15815 CXX=${CXX:-wineg++}
15816 fi
15817
15818
15819 if test "$wxUSE_GUI" = "yes"; then
15820
15821 if test "$USE_BEOS" = 1; then
15822 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15823 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15824 { (exit 1); exit 1; }; }
15825 fi
15826
15827 if test "$TOOLKIT_GIVEN" = 1; then
15828 for toolkit in `echo $ALL_TOOLKITS`; do
15829 var=wxUSE_$toolkit
15830 eval "value=\$${var}"
15831 if test "x$value" = "xno"; then
15832 eval "$var=0"
15833 elif test "x$value" != "x"; then
15834 eval "$var=1"
15835 fi
15836
15837 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15838 eval "wx${toolkit}_VERSION=$value"
15839 fi
15840 done
15841 else
15842 for toolkit in `echo $ALL_TOOLKITS`; do
15843 if test "$has_toolkit_in_cache" != 1; then
15844 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15845 else
15846 var=DEFAULT_wxUSE_$toolkit
15847
15848 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15849 if test "x$version" != "x"; then
15850 eval "wx${toolkit}_VERSION=$version"
15851 fi
15852 fi
15853 eval "wxUSE_$toolkit=\$${var}"
15854 done
15855 fi
15856
15857 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15858 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15859 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15860
15861 case "${host}" in
15862 *-pc-os2_emx | *-pc-os2-emx )
15863 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15864 esac
15865
15866 case "$NUM_TOOLKITS" in
15867 1)
15868 ;;
15869 0)
15870 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15871 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15872 { (exit 1); exit 1; }; }
15873 ;;
15874 *)
15875 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15876 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15877 { (exit 1); exit 1; }; }
15878 esac
15879
15880 # to be removed when --disable-gtk2 isn't needed
15881 if test "x$wxUSE_GTK2" = "xyes"; then
15882 wxGTK_VERSION=2
15883 elif test "x$wxUSE_GTK2" = "xno"; then
15884 wxGTK_VERSION=1
15885 fi
15886
15887 for toolkit in `echo $ALL_TOOLKITS`; do
15888 var=wxUSE_$toolkit
15889 eval "value=\$${var}"
15890 if test "x$value" != x; then
15891 cache_var=CACHE_$toolkit
15892 eval "cache=\$${cache_var}"
15893 if test "$cache" = 1; then
15894 echo "$var=$value" >> ${wx_arg_cache_file}
15895 eval "version=\$wx${toolkit}_VERSION"
15896 if test "x$version" != "x"; then
15897 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15898 fi
15899 fi
15900 if test "$value" = 1; then
15901 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15902 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15903 echo "${ECHO_T}$toolkit_echo" >&6; }
15904 fi
15905 fi
15906 done
15907 else
15908 if test "x$host_alias" != "x"; then
15909 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15910 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15911 else
15912 { echo "$as_me:$LINENO: result: base only" >&5
15913 echo "${ECHO_T}base only" >&6; }
15914 fi
15915 fi
15916
15917
15918 cat >confcache <<\_ACEOF
15919 # This file is a shell script that caches the results of configure
15920 # tests run on this system so they can be shared between configure
15921 # scripts and configure runs, see configure's option --config-cache.
15922 # It is not useful on other systems. If it contains results you don't
15923 # want to keep, you may remove or edit it.
15924 #
15925 # config.status only pays attention to the cache file if you give it
15926 # the --recheck option to rerun configure.
15927 #
15928 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15929 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15930 # following values.
15931
15932 _ACEOF
15933
15934 # The following way of writing the cache mishandles newlines in values,
15935 # but we know of no workaround that is simple, portable, and efficient.
15936 # So, we kill variables containing newlines.
15937 # Ultrix sh set writes to stderr and can't be redirected directly,
15938 # and sets the high bit in the cache file unless we assign to the vars.
15939 (
15940 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15941 eval ac_val=\$$ac_var
15942 case $ac_val in #(
15943 *${as_nl}*)
15944 case $ac_var in #(
15945 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15946 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15947 esac
15948 case $ac_var in #(
15949 _ | IFS | as_nl) ;; #(
15950 *) $as_unset $ac_var ;;
15951 esac ;;
15952 esac
15953 done
15954
15955 (set) 2>&1 |
15956 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15957 *${as_nl}ac_space=\ *)
15958 # `set' does not quote correctly, so add quotes (double-quote
15959 # substitution turns \\\\ into \\, and sed turns \\ into \).
15960 sed -n \
15961 "s/'/'\\\\''/g;
15962 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15963 ;; #(
15964 *)
15965 # `set' quotes correctly as required by POSIX, so do not add quotes.
15966 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15967 ;;
15968 esac |
15969 sort
15970 ) |
15971 sed '
15972 /^ac_cv_env_/b end
15973 t clear
15974 :clear
15975 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15976 t end
15977 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15978 :end' >>confcache
15979 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15980 if test -w "$cache_file"; then
15981 test "x$cache_file" != "x/dev/null" &&
15982 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15983 echo "$as_me: updating cache $cache_file" >&6;}
15984 cat confcache >$cache_file
15985 else
15986 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15987 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15988 fi
15989 fi
15990 rm -f confcache
15991
15992 CFLAGS=${CFLAGS:=}
15993
15994
15995
15996 ac_ext=c
15997 ac_cpp='$CPP $CPPFLAGS'
15998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16001 if test -n "$ac_tool_prefix"; then
16002 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16003 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16006 if test "${ac_cv_prog_CC+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16009 if test -n "$CC"; then
16010 ac_cv_prog_CC="$CC" # Let the user override the test.
16011 else
16012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16013 for as_dir in $PATH
16014 do
16015 IFS=$as_save_IFS
16016 test -z "$as_dir" && as_dir=.
16017 for ac_exec_ext in '' $ac_executable_extensions; do
16018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16019 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16021 break 2
16022 fi
16023 done
16024 done
16025 IFS=$as_save_IFS
16026
16027 fi
16028 fi
16029 CC=$ac_cv_prog_CC
16030 if test -n "$CC"; then
16031 { echo "$as_me:$LINENO: result: $CC" >&5
16032 echo "${ECHO_T}$CC" >&6; }
16033 else
16034 { echo "$as_me:$LINENO: result: no" >&5
16035 echo "${ECHO_T}no" >&6; }
16036 fi
16037
16038
16039 fi
16040 if test -z "$ac_cv_prog_CC"; then
16041 ac_ct_CC=$CC
16042 # Extract the first word of "gcc", so it can be a program name with args.
16043 set dummy gcc; ac_word=$2
16044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16046 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16047 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 else
16049 if test -n "$ac_ct_CC"; then
16050 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16051 else
16052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16053 for as_dir in $PATH
16054 do
16055 IFS=$as_save_IFS
16056 test -z "$as_dir" && as_dir=.
16057 for ac_exec_ext in '' $ac_executable_extensions; do
16058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16059 ac_cv_prog_ac_ct_CC="gcc"
16060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16061 break 2
16062 fi
16063 done
16064 done
16065 IFS=$as_save_IFS
16066
16067 fi
16068 fi
16069 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16070 if test -n "$ac_ct_CC"; then
16071 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16072 echo "${ECHO_T}$ac_ct_CC" >&6; }
16073 else
16074 { echo "$as_me:$LINENO: result: no" >&5
16075 echo "${ECHO_T}no" >&6; }
16076 fi
16077
16078 if test "x$ac_ct_CC" = x; then
16079 CC=""
16080 else
16081 case $cross_compiling:$ac_tool_warned in
16082 yes:)
16083 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16084 whose name does not start with the host triplet. If you think this
16085 configuration is useful to you, please write to autoconf@gnu.org." >&5
16086 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16087 whose name does not start with the host triplet. If you think this
16088 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16089 ac_tool_warned=yes ;;
16090 esac
16091 CC=$ac_ct_CC
16092 fi
16093 else
16094 CC="$ac_cv_prog_CC"
16095 fi
16096
16097 if test -z "$CC"; then
16098 if test -n "$ac_tool_prefix"; then
16099 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16100 set dummy ${ac_tool_prefix}cc; ac_word=$2
16101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16103 if test "${ac_cv_prog_CC+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 else
16106 if test -n "$CC"; then
16107 ac_cv_prog_CC="$CC" # Let the user override the test.
16108 else
16109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16110 for as_dir in $PATH
16111 do
16112 IFS=$as_save_IFS
16113 test -z "$as_dir" && as_dir=.
16114 for ac_exec_ext in '' $ac_executable_extensions; do
16115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16116 ac_cv_prog_CC="${ac_tool_prefix}cc"
16117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16118 break 2
16119 fi
16120 done
16121 done
16122 IFS=$as_save_IFS
16123
16124 fi
16125 fi
16126 CC=$ac_cv_prog_CC
16127 if test -n "$CC"; then
16128 { echo "$as_me:$LINENO: result: $CC" >&5
16129 echo "${ECHO_T}$CC" >&6; }
16130 else
16131 { echo "$as_me:$LINENO: result: no" >&5
16132 echo "${ECHO_T}no" >&6; }
16133 fi
16134
16135
16136 fi
16137 fi
16138 if test -z "$CC"; then
16139 # Extract the first word of "cc", so it can be a program name with args.
16140 set dummy cc; ac_word=$2
16141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16143 if test "${ac_cv_prog_CC+set}" = set; then
16144 echo $ECHO_N "(cached) $ECHO_C" >&6
16145 else
16146 if test -n "$CC"; then
16147 ac_cv_prog_CC="$CC" # Let the user override the test.
16148 else
16149 ac_prog_rejected=no
16150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16151 for as_dir in $PATH
16152 do
16153 IFS=$as_save_IFS
16154 test -z "$as_dir" && as_dir=.
16155 for ac_exec_ext in '' $ac_executable_extensions; do
16156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16157 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16158 ac_prog_rejected=yes
16159 continue
16160 fi
16161 ac_cv_prog_CC="cc"
16162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16163 break 2
16164 fi
16165 done
16166 done
16167 IFS=$as_save_IFS
16168
16169 if test $ac_prog_rejected = yes; then
16170 # We found a bogon in the path, so make sure we never use it.
16171 set dummy $ac_cv_prog_CC
16172 shift
16173 if test $# != 0; then
16174 # We chose a different compiler from the bogus one.
16175 # However, it has the same basename, so the bogon will be chosen
16176 # first if we set CC to just the basename; use the full file name.
16177 shift
16178 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16179 fi
16180 fi
16181 fi
16182 fi
16183 CC=$ac_cv_prog_CC
16184 if test -n "$CC"; then
16185 { echo "$as_me:$LINENO: result: $CC" >&5
16186 echo "${ECHO_T}$CC" >&6; }
16187 else
16188 { echo "$as_me:$LINENO: result: no" >&5
16189 echo "${ECHO_T}no" >&6; }
16190 fi
16191
16192
16193 fi
16194 if test -z "$CC"; then
16195 if test -n "$ac_tool_prefix"; then
16196 for ac_prog in cl.exe
16197 do
16198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16202 if test "${ac_cv_prog_CC+set}" = set; then
16203 echo $ECHO_N "(cached) $ECHO_C" >&6
16204 else
16205 if test -n "$CC"; then
16206 ac_cv_prog_CC="$CC" # Let the user override the test.
16207 else
16208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16209 for as_dir in $PATH
16210 do
16211 IFS=$as_save_IFS
16212 test -z "$as_dir" && as_dir=.
16213 for ac_exec_ext in '' $ac_executable_extensions; do
16214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16215 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16217 break 2
16218 fi
16219 done
16220 done
16221 IFS=$as_save_IFS
16222
16223 fi
16224 fi
16225 CC=$ac_cv_prog_CC
16226 if test -n "$CC"; then
16227 { echo "$as_me:$LINENO: result: $CC" >&5
16228 echo "${ECHO_T}$CC" >&6; }
16229 else
16230 { echo "$as_me:$LINENO: result: no" >&5
16231 echo "${ECHO_T}no" >&6; }
16232 fi
16233
16234
16235 test -n "$CC" && break
16236 done
16237 fi
16238 if test -z "$CC"; then
16239 ac_ct_CC=$CC
16240 for ac_prog in cl.exe
16241 do
16242 # Extract the first word of "$ac_prog", so it can be a program name with args.
16243 set dummy $ac_prog; ac_word=$2
16244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16246 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 else
16249 if test -n "$ac_ct_CC"; then
16250 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16251 else
16252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16253 for as_dir in $PATH
16254 do
16255 IFS=$as_save_IFS
16256 test -z "$as_dir" && as_dir=.
16257 for ac_exec_ext in '' $ac_executable_extensions; do
16258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16259 ac_cv_prog_ac_ct_CC="$ac_prog"
16260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16261 break 2
16262 fi
16263 done
16264 done
16265 IFS=$as_save_IFS
16266
16267 fi
16268 fi
16269 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16270 if test -n "$ac_ct_CC"; then
16271 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16272 echo "${ECHO_T}$ac_ct_CC" >&6; }
16273 else
16274 { echo "$as_me:$LINENO: result: no" >&5
16275 echo "${ECHO_T}no" >&6; }
16276 fi
16277
16278
16279 test -n "$ac_ct_CC" && break
16280 done
16281
16282 if test "x$ac_ct_CC" = x; then
16283 CC=""
16284 else
16285 case $cross_compiling:$ac_tool_warned in
16286 yes:)
16287 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16288 whose name does not start with the host triplet. If you think this
16289 configuration is useful to you, please write to autoconf@gnu.org." >&5
16290 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16291 whose name does not start with the host triplet. If you think this
16292 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16293 ac_tool_warned=yes ;;
16294 esac
16295 CC=$ac_ct_CC
16296 fi
16297 fi
16298
16299 fi
16300
16301
16302 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16303 See \`config.log' for more details." >&5
16304 echo "$as_me: error: no acceptable C compiler found in \$PATH
16305 See \`config.log' for more details." >&2;}
16306 { (exit 1); exit 1; }; }
16307
16308 # Provide some information about the compiler.
16309 echo "$as_me:$LINENO: checking for C compiler version" >&5
16310 ac_compiler=`set X $ac_compile; echo $2`
16311 { (ac_try="$ac_compiler --version >&5"
16312 case "(($ac_try" in
16313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16314 *) ac_try_echo=$ac_try;;
16315 esac
16316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16317 (eval "$ac_compiler --version >&5") 2>&5
16318 ac_status=$?
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); }
16321 { (ac_try="$ac_compiler -v >&5"
16322 case "(($ac_try" in
16323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16324 *) ac_try_echo=$ac_try;;
16325 esac
16326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16327 (eval "$ac_compiler -v >&5") 2>&5
16328 ac_status=$?
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); }
16331 { (ac_try="$ac_compiler -V >&5"
16332 case "(($ac_try" in
16333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16334 *) ac_try_echo=$ac_try;;
16335 esac
16336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16337 (eval "$ac_compiler -V >&5") 2>&5
16338 ac_status=$?
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); }
16341
16342 cat >conftest.$ac_ext <<_ACEOF
16343 /* confdefs.h. */
16344 _ACEOF
16345 cat confdefs.h >>conftest.$ac_ext
16346 cat >>conftest.$ac_ext <<_ACEOF
16347 /* end confdefs.h. */
16348
16349 int
16350 main ()
16351 {
16352
16353 ;
16354 return 0;
16355 }
16356 _ACEOF
16357 ac_clean_files_save=$ac_clean_files
16358 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16359 # Try to create an executable without -o first, disregard a.out.
16360 # It will help us diagnose broken compilers, and finding out an intuition
16361 # of exeext.
16362 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16363 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16364 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16365 #
16366 # List of possible output files, starting from the most likely.
16367 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16368 # only as a last resort. b.out is created by i960 compilers.
16369 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16370 #
16371 # The IRIX 6 linker writes into existing files which may not be
16372 # executable, retaining their permissions. Remove them first so a
16373 # subsequent execution test works.
16374 ac_rmfiles=
16375 for ac_file in $ac_files
16376 do
16377 case $ac_file in
16378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16379 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16380 esac
16381 done
16382 rm -f $ac_rmfiles
16383
16384 if { (ac_try="$ac_link_default"
16385 case "(($ac_try" in
16386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16387 *) ac_try_echo=$ac_try;;
16388 esac
16389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16390 (eval "$ac_link_default") 2>&5
16391 ac_status=$?
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; then
16394 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16395 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16396 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16397 # so that the user can short-circuit this test for compilers unknown to
16398 # Autoconf.
16399 for ac_file in $ac_files ''
16400 do
16401 test -f "$ac_file" || continue
16402 case $ac_file in
16403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16404 ;;
16405 [ab].out )
16406 # We found the default executable, but exeext='' is most
16407 # certainly right.
16408 break;;
16409 *.* )
16410 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16411 then :; else
16412 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16413 fi
16414 # We set ac_cv_exeext here because the later test for it is not
16415 # safe: cross compilers may not add the suffix if given an `-o'
16416 # argument, so we may need to know it at that point already.
16417 # Even if this section looks crufty: it has the advantage of
16418 # actually working.
16419 break;;
16420 * )
16421 break;;
16422 esac
16423 done
16424 test "$ac_cv_exeext" = no && ac_cv_exeext=
16425
16426 else
16427 ac_file=''
16428 fi
16429
16430 { echo "$as_me:$LINENO: result: $ac_file" >&5
16431 echo "${ECHO_T}$ac_file" >&6; }
16432 if test -z "$ac_file"; then
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.$ac_ext >&5
16435
16436 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16437 See \`config.log' for more details." >&5
16438 echo "$as_me: error: C compiler cannot create executables
16439 See \`config.log' for more details." >&2;}
16440 { (exit 77); exit 77; }; }
16441 fi
16442
16443 ac_exeext=$ac_cv_exeext
16444
16445 # Check that the compiler produces executables we can run. If not, either
16446 # the compiler is broken, or we cross compile.
16447 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16448 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16449 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16450 # If not cross compiling, check that we can run a simple program.
16451 if test "$cross_compiling" != yes; then
16452 if { ac_try='./$ac_file'
16453 { (case "(($ac_try" in
16454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16455 *) ac_try_echo=$ac_try;;
16456 esac
16457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16458 (eval "$ac_try") 2>&5
16459 ac_status=$?
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); }; }; then
16462 cross_compiling=no
16463 else
16464 if test "$cross_compiling" = maybe; then
16465 cross_compiling=yes
16466 else
16467 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16468 If you meant to cross compile, use \`--host'.
16469 See \`config.log' for more details." >&5
16470 echo "$as_me: error: cannot run C compiled programs.
16471 If you meant to cross compile, use \`--host'.
16472 See \`config.log' for more details." >&2;}
16473 { (exit 1); exit 1; }; }
16474 fi
16475 fi
16476 fi
16477 { echo "$as_me:$LINENO: result: yes" >&5
16478 echo "${ECHO_T}yes" >&6; }
16479
16480 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16481 ac_clean_files=$ac_clean_files_save
16482 # Check that the compiler produces executables we can run. If not, either
16483 # the compiler is broken, or we cross compile.
16484 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16485 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16486 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16487 echo "${ECHO_T}$cross_compiling" >&6; }
16488
16489 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16490 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16491 if { (ac_try="$ac_link"
16492 case "(($ac_try" in
16493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16494 *) ac_try_echo=$ac_try;;
16495 esac
16496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16497 (eval "$ac_link") 2>&5
16498 ac_status=$?
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; then
16501 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16502 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16503 # work properly (i.e., refer to `conftest.exe'), while it won't with
16504 # `rm'.
16505 for ac_file in conftest.exe conftest conftest.*; do
16506 test -f "$ac_file" || continue
16507 case $ac_file in
16508 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16509 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16510 break;;
16511 * ) break;;
16512 esac
16513 done
16514 else
16515 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16516 See \`config.log' for more details." >&5
16517 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16518 See \`config.log' for more details." >&2;}
16519 { (exit 1); exit 1; }; }
16520 fi
16521
16522 rm -f conftest$ac_cv_exeext
16523 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16524 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16525
16526 rm -f conftest.$ac_ext
16527 EXEEXT=$ac_cv_exeext
16528 ac_exeext=$EXEEXT
16529 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16530 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16531 if test "${ac_cv_objext+set}" = set; then
16532 echo $ECHO_N "(cached) $ECHO_C" >&6
16533 else
16534 cat >conftest.$ac_ext <<_ACEOF
16535 /* confdefs.h. */
16536 _ACEOF
16537 cat confdefs.h >>conftest.$ac_ext
16538 cat >>conftest.$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16540
16541 int
16542 main ()
16543 {
16544
16545 ;
16546 return 0;
16547 }
16548 _ACEOF
16549 rm -f conftest.o conftest.obj
16550 if { (ac_try="$ac_compile"
16551 case "(($ac_try" in
16552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16553 *) ac_try_echo=$ac_try;;
16554 esac
16555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16556 (eval "$ac_compile") 2>&5
16557 ac_status=$?
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; then
16560 for ac_file in conftest.o conftest.obj conftest.*; do
16561 test -f "$ac_file" || continue;
16562 case $ac_file in
16563 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16564 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16565 break;;
16566 esac
16567 done
16568 else
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.$ac_ext >&5
16571
16572 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16573 See \`config.log' for more details." >&5
16574 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16575 See \`config.log' for more details." >&2;}
16576 { (exit 1); exit 1; }; }
16577 fi
16578
16579 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16580 fi
16581 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16582 echo "${ECHO_T}$ac_cv_objext" >&6; }
16583 OBJEXT=$ac_cv_objext
16584 ac_objext=$OBJEXT
16585 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16586 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16587 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 else
16590 cat >conftest.$ac_ext <<_ACEOF
16591 /* confdefs.h. */
16592 _ACEOF
16593 cat confdefs.h >>conftest.$ac_ext
16594 cat >>conftest.$ac_ext <<_ACEOF
16595 /* end confdefs.h. */
16596
16597 int
16598 main ()
16599 {
16600 #ifndef __GNUC__
16601 choke me
16602 #endif
16603
16604 ;
16605 return 0;
16606 }
16607 _ACEOF
16608 rm -f conftest.$ac_objext
16609 if { (ac_try="$ac_compile"
16610 case "(($ac_try" in
16611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16612 *) ac_try_echo=$ac_try;;
16613 esac
16614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16615 (eval "$ac_compile") 2>conftest.er1
16616 ac_status=$?
16617 grep -v '^ *+' conftest.er1 >conftest.err
16618 rm -f conftest.er1
16619 cat conftest.err >&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } && {
16622 test -z "$ac_c_werror_flag" ||
16623 test ! -s conftest.err
16624 } && test -s conftest.$ac_objext; then
16625 ac_compiler_gnu=yes
16626 else
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16629
16630 ac_compiler_gnu=no
16631 fi
16632
16633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16634 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16635
16636 fi
16637 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16638 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16639 GCC=`test $ac_compiler_gnu = yes && echo yes`
16640 ac_test_CFLAGS=${CFLAGS+set}
16641 ac_save_CFLAGS=$CFLAGS
16642 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16643 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16644 if test "${ac_cv_prog_cc_g+set}" = set; then
16645 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 else
16647 ac_save_c_werror_flag=$ac_c_werror_flag
16648 ac_c_werror_flag=yes
16649 ac_cv_prog_cc_g=no
16650 CFLAGS="-g"
16651 cat >conftest.$ac_ext <<_ACEOF
16652 /* confdefs.h. */
16653 _ACEOF
16654 cat confdefs.h >>conftest.$ac_ext
16655 cat >>conftest.$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657
16658 int
16659 main ()
16660 {
16661
16662 ;
16663 return 0;
16664 }
16665 _ACEOF
16666 rm -f conftest.$ac_objext
16667 if { (ac_try="$ac_compile"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16670 *) ac_try_echo=$ac_try;;
16671 esac
16672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16673 (eval "$ac_compile") 2>conftest.er1
16674 ac_status=$?
16675 grep -v '^ *+' conftest.er1 >conftest.err
16676 rm -f conftest.er1
16677 cat conftest.err >&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); } && {
16680 test -z "$ac_c_werror_flag" ||
16681 test ! -s conftest.err
16682 } && test -s conftest.$ac_objext; then
16683 ac_cv_prog_cc_g=yes
16684 else
16685 echo "$as_me: failed program was:" >&5
16686 sed 's/^/| /' conftest.$ac_ext >&5
16687
16688 CFLAGS=""
16689 cat >conftest.$ac_ext <<_ACEOF
16690 /* confdefs.h. */
16691 _ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695
16696 int
16697 main ()
16698 {
16699
16700 ;
16701 return 0;
16702 }
16703 _ACEOF
16704 rm -f conftest.$ac_objext
16705 if { (ac_try="$ac_compile"
16706 case "(($ac_try" in
16707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16708 *) ac_try_echo=$ac_try;;
16709 esac
16710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16711 (eval "$ac_compile") 2>conftest.er1
16712 ac_status=$?
16713 grep -v '^ *+' conftest.er1 >conftest.err
16714 rm -f conftest.er1
16715 cat conftest.err >&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } && {
16718 test -z "$ac_c_werror_flag" ||
16719 test ! -s conftest.err
16720 } && test -s conftest.$ac_objext; then
16721 :
16722 else
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16725
16726 ac_c_werror_flag=$ac_save_c_werror_flag
16727 CFLAGS="-g"
16728 cat >conftest.$ac_ext <<_ACEOF
16729 /* confdefs.h. */
16730 _ACEOF
16731 cat confdefs.h >>conftest.$ac_ext
16732 cat >>conftest.$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16734
16735 int
16736 main ()
16737 {
16738
16739 ;
16740 return 0;
16741 }
16742 _ACEOF
16743 rm -f conftest.$ac_objext
16744 if { (ac_try="$ac_compile"
16745 case "(($ac_try" in
16746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16747 *) ac_try_echo=$ac_try;;
16748 esac
16749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16750 (eval "$ac_compile") 2>conftest.er1
16751 ac_status=$?
16752 grep -v '^ *+' conftest.er1 >conftest.err
16753 rm -f conftest.er1
16754 cat conftest.err >&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); } && {
16757 test -z "$ac_c_werror_flag" ||
16758 test ! -s conftest.err
16759 } && test -s conftest.$ac_objext; then
16760 ac_cv_prog_cc_g=yes
16761 else
16762 echo "$as_me: failed program was:" >&5
16763 sed 's/^/| /' conftest.$ac_ext >&5
16764
16765
16766 fi
16767
16768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16769 fi
16770
16771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16772 fi
16773
16774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16775 ac_c_werror_flag=$ac_save_c_werror_flag
16776 fi
16777 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16778 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16779 if test "$ac_test_CFLAGS" = set; then
16780 CFLAGS=$ac_save_CFLAGS
16781 elif test $ac_cv_prog_cc_g = yes; then
16782 if test "$GCC" = yes; then
16783 CFLAGS="-g -O2"
16784 else
16785 CFLAGS="-g"
16786 fi
16787 else
16788 if test "$GCC" = yes; then
16789 CFLAGS="-O2"
16790 else
16791 CFLAGS=
16792 fi
16793 fi
16794 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16795 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16796 if test "${ac_cv_prog_cc_c89+set}" = set; then
16797 echo $ECHO_N "(cached) $ECHO_C" >&6
16798 else
16799 ac_cv_prog_cc_c89=no
16800 ac_save_CC=$CC
16801 cat >conftest.$ac_ext <<_ACEOF
16802 /* confdefs.h. */
16803 _ACEOF
16804 cat confdefs.h >>conftest.$ac_ext
16805 cat >>conftest.$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16807 #include <stdarg.h>
16808 #include <stdio.h>
16809 #include <sys/types.h>
16810 #include <sys/stat.h>
16811 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16812 struct buf { int x; };
16813 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16814 static char *e (p, i)
16815 char **p;
16816 int i;
16817 {
16818 return p[i];
16819 }
16820 static char *f (char * (*g) (char **, int), char **p, ...)
16821 {
16822 char *s;
16823 va_list v;
16824 va_start (v,p);
16825 s = g (p, va_arg (v,int));
16826 va_end (v);
16827 return s;
16828 }
16829
16830 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16831 function prototypes and stuff, but not '\xHH' hex character constants.
16832 These don't provoke an error unfortunately, instead are silently treated
16833 as 'x'. The following induces an error, until -std is added to get
16834 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16835 array size at least. It's necessary to write '\x00'==0 to get something
16836 that's true only with -std. */
16837 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16838
16839 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16840 inside strings and character constants. */
16841 #define FOO(x) 'x'
16842 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16843
16844 int test (int i, double x);
16845 struct s1 {int (*f) (int a);};
16846 struct s2 {int (*f) (double a);};
16847 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16848 int argc;
16849 char **argv;
16850 int
16851 main ()
16852 {
16853 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16854 ;
16855 return 0;
16856 }
16857 _ACEOF
16858 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16859 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16860 do
16861 CC="$ac_save_CC $ac_arg"
16862 rm -f conftest.$ac_objext
16863 if { (ac_try="$ac_compile"
16864 case "(($ac_try" in
16865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16866 *) ac_try_echo=$ac_try;;
16867 esac
16868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16869 (eval "$ac_compile") 2>conftest.er1
16870 ac_status=$?
16871 grep -v '^ *+' conftest.er1 >conftest.err
16872 rm -f conftest.er1
16873 cat conftest.err >&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } && {
16876 test -z "$ac_c_werror_flag" ||
16877 test ! -s conftest.err
16878 } && test -s conftest.$ac_objext; then
16879 ac_cv_prog_cc_c89=$ac_arg
16880 else
16881 echo "$as_me: failed program was:" >&5
16882 sed 's/^/| /' conftest.$ac_ext >&5
16883
16884
16885 fi
16886
16887 rm -f core conftest.err conftest.$ac_objext
16888 test "x$ac_cv_prog_cc_c89" != "xno" && break
16889 done
16890 rm -f conftest.$ac_ext
16891 CC=$ac_save_CC
16892
16893 fi
16894 # AC_CACHE_VAL
16895 case "x$ac_cv_prog_cc_c89" in
16896 x)
16897 { echo "$as_me:$LINENO: result: none needed" >&5
16898 echo "${ECHO_T}none needed" >&6; } ;;
16899 xno)
16900 { echo "$as_me:$LINENO: result: unsupported" >&5
16901 echo "${ECHO_T}unsupported" >&6; } ;;
16902 *)
16903 CC="$CC $ac_cv_prog_cc_c89"
16904 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16905 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16906 esac
16907
16908
16909 ac_ext=c
16910 ac_cpp='$CPP $CPPFLAGS'
16911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16914
16915
16916
16917
16918 ac_ext=c
16919 ac_cpp='$CPP $CPPFLAGS'
16920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16923
16924 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16925 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16926 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16927 echo $ECHO_N "(cached) $ECHO_C" >&6
16928 else
16929 cat >conftest.$ac_ext <<_ACEOF
16930 /* confdefs.h. */
16931 _ACEOF
16932 cat confdefs.h >>conftest.$ac_ext
16933 cat >>conftest.$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935
16936 int
16937 main ()
16938 {
16939
16940 #ifndef __INTEL_COMPILER
16941 choke me
16942 #endif
16943
16944 ;
16945 return 0;
16946 }
16947 _ACEOF
16948 rm -f conftest.$ac_objext
16949 if { (ac_try="$ac_compile"
16950 case "(($ac_try" in
16951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16952 *) ac_try_echo=$ac_try;;
16953 esac
16954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16955 (eval "$ac_compile") 2>conftest.er1
16956 ac_status=$?
16957 grep -v '^ *+' conftest.er1 >conftest.err
16958 rm -f conftest.er1
16959 cat conftest.err >&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } && {
16962 test -z "$ac_c_werror_flag" ||
16963 test ! -s conftest.err
16964 } && test -s conftest.$ac_objext; then
16965 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16966 else
16967 echo "$as_me: failed program was:" >&5
16968 sed 's/^/| /' conftest.$ac_ext >&5
16969
16970 bakefile_cv_c_compiler___INTEL_COMPILER=no
16971
16972 fi
16973
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975
16976
16977 fi
16978 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16979 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16980 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16981 :; INTELCC=yes
16982 else
16983 :;
16984 fi
16985 ac_ext=c
16986 ac_cpp='$CPP $CPPFLAGS'
16987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16990
16991
16992
16993
16994 if test "x$GCC" != "xyes"; then
16995 if test "xCC" = "xC"; then
16996 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16997 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16998 if test "${bakefile_cv_c_exto+set}" = set; then
16999 echo $ECHO_N "(cached) $ECHO_C" >&6
17000 else
17001 cat >conftest.$ac_ext <<_ACEOF
17002 /* confdefs.h. */
17003 _ACEOF
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007
17008 int
17009 main ()
17010 {
17011
17012 ;
17013 return 0;
17014 }
17015 _ACEOF
17016 rm -f conftest.$ac_objext conftest.$ac_ext.o
17017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17018 (eval $ac_compile) 2>&5
17019 ac_status=$?
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; then
17022 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17023 case $ac_file in
17024 conftest.$ac_ext.o)
17025 bakefile_cv_c_exto="-ext o"
17026 ;;
17027 *)
17028 ;;
17029 esac
17030 done
17031 else
17032 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17033 See \`config.log' for more details." >&5
17034 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17035 See \`config.log' for more details." >&2;}
17036 { (exit 1); exit 1; }; }
17037
17038 fi
17039
17040 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17041
17042 fi
17043 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17044 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17045 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17046 if test "c" = "c"; then
17047 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17048 fi
17049 if test "c" = "cxx"; then
17050 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17051 fi
17052 fi
17053
17054 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17055 unset ac_cv_prog_cc_g
17056 ac_test_CFLAGS=${CFLAGS+set}
17057 ac_save_CFLAGS=$CFLAGS
17058 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17059 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17060 if test "${ac_cv_prog_cc_g+set}" = set; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17062 else
17063 ac_save_c_werror_flag=$ac_c_werror_flag
17064 ac_c_werror_flag=yes
17065 ac_cv_prog_cc_g=no
17066 CFLAGS="-g"
17067 cat >conftest.$ac_ext <<_ACEOF
17068 /* confdefs.h. */
17069 _ACEOF
17070 cat confdefs.h >>conftest.$ac_ext
17071 cat >>conftest.$ac_ext <<_ACEOF
17072 /* end confdefs.h. */
17073
17074 int
17075 main ()
17076 {
17077
17078 ;
17079 return 0;
17080 }
17081 _ACEOF
17082 rm -f conftest.$ac_objext
17083 if { (ac_try="$ac_compile"
17084 case "(($ac_try" in
17085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17086 *) ac_try_echo=$ac_try;;
17087 esac
17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17089 (eval "$ac_compile") 2>conftest.er1
17090 ac_status=$?
17091 grep -v '^ *+' conftest.er1 >conftest.err
17092 rm -f conftest.er1
17093 cat conftest.err >&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } && {
17096 test -z "$ac_c_werror_flag" ||
17097 test ! -s conftest.err
17098 } && test -s conftest.$ac_objext; then
17099 ac_cv_prog_cc_g=yes
17100 else
17101 echo "$as_me: failed program was:" >&5
17102 sed 's/^/| /' conftest.$ac_ext >&5
17103
17104 CFLAGS=""
17105 cat >conftest.$ac_ext <<_ACEOF
17106 /* confdefs.h. */
17107 _ACEOF
17108 cat confdefs.h >>conftest.$ac_ext
17109 cat >>conftest.$ac_ext <<_ACEOF
17110 /* end confdefs.h. */
17111
17112 int
17113 main ()
17114 {
17115
17116 ;
17117 return 0;
17118 }
17119 _ACEOF
17120 rm -f conftest.$ac_objext
17121 if { (ac_try="$ac_compile"
17122 case "(($ac_try" in
17123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17124 *) ac_try_echo=$ac_try;;
17125 esac
17126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17127 (eval "$ac_compile") 2>conftest.er1
17128 ac_status=$?
17129 grep -v '^ *+' conftest.er1 >conftest.err
17130 rm -f conftest.er1
17131 cat conftest.err >&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } && {
17134 test -z "$ac_c_werror_flag" ||
17135 test ! -s conftest.err
17136 } && test -s conftest.$ac_objext; then
17137 :
17138 else
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17141
17142 ac_c_werror_flag=$ac_save_c_werror_flag
17143 CFLAGS="-g"
17144 cat >conftest.$ac_ext <<_ACEOF
17145 /* confdefs.h. */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17150
17151 int
17152 main ()
17153 {
17154
17155 ;
17156 return 0;
17157 }
17158 _ACEOF
17159 rm -f conftest.$ac_objext
17160 if { (ac_try="$ac_compile"
17161 case "(($ac_try" in
17162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17163 *) ac_try_echo=$ac_try;;
17164 esac
17165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17166 (eval "$ac_compile") 2>conftest.er1
17167 ac_status=$?
17168 grep -v '^ *+' conftest.er1 >conftest.err
17169 rm -f conftest.er1
17170 cat conftest.err >&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); } && {
17173 test -z "$ac_c_werror_flag" ||
17174 test ! -s conftest.err
17175 } && test -s conftest.$ac_objext; then
17176 ac_cv_prog_cc_g=yes
17177 else
17178 echo "$as_me: failed program was:" >&5
17179 sed 's/^/| /' conftest.$ac_ext >&5
17180
17181
17182 fi
17183
17184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17185 fi
17186
17187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17188 fi
17189
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191 ac_c_werror_flag=$ac_save_c_werror_flag
17192 fi
17193 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17194 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17195 if test "$ac_test_CFLAGS" = set; then
17196 CFLAGS=$ac_save_CFLAGS
17197 elif test $ac_cv_prog_cc_g = yes; then
17198 if test "$GCC" = yes; then
17199 CFLAGS="-g -O2"
17200 else
17201 CFLAGS="-g"
17202 fi
17203 else
17204 if test "$GCC" = yes; then
17205 CFLAGS="-O2"
17206 else
17207 CFLAGS=
17208 fi
17209 fi
17210 fi
17211 fi
17212
17213 case `uname -s` in
17214 AIX*)
17215
17216
17217 ac_ext=c
17218 ac_cpp='$CPP $CPPFLAGS'
17219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17222
17223 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17224 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17225 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228 cat >conftest.$ac_ext <<_ACEOF
17229 /* confdefs.h. */
17230 _ACEOF
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234
17235 int
17236 main ()
17237 {
17238
17239 #ifndef __xlC__
17240 choke me
17241 #endif
17242
17243 ;
17244 return 0;
17245 }
17246 _ACEOF
17247 rm -f conftest.$ac_objext
17248 if { (ac_try="$ac_compile"
17249 case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17252 esac
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compile") 2>conftest.er1
17255 ac_status=$?
17256 grep -v '^ *+' conftest.er1 >conftest.err
17257 rm -f conftest.er1
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } && {
17261 test -z "$ac_c_werror_flag" ||
17262 test ! -s conftest.err
17263 } && test -s conftest.$ac_objext; then
17264 bakefile_cv_c_compiler___xlC__=yes
17265 else
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17268
17269 bakefile_cv_c_compiler___xlC__=no
17270
17271 fi
17272
17273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17274
17275
17276 fi
17277 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17278 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17279 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17280 :; XLCC=yes
17281 else
17282 :;
17283 fi
17284 ac_ext=c
17285 ac_cpp='$CPP $CPPFLAGS'
17286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17289
17290
17291
17292 ;;
17293
17294 Darwin)
17295
17296
17297 ac_ext=c
17298 ac_cpp='$CPP $CPPFLAGS'
17299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17302
17303 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17304 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17305 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 else
17308 cat >conftest.$ac_ext <<_ACEOF
17309 /* confdefs.h. */
17310 _ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17314
17315 int
17316 main ()
17317 {
17318
17319 #ifndef __MWERKS__
17320 choke me
17321 #endif
17322
17323 ;
17324 return 0;
17325 }
17326 _ACEOF
17327 rm -f conftest.$ac_objext
17328 if { (ac_try="$ac_compile"
17329 case "(($ac_try" in
17330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17331 *) ac_try_echo=$ac_try;;
17332 esac
17333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17334 (eval "$ac_compile") 2>conftest.er1
17335 ac_status=$?
17336 grep -v '^ *+' conftest.er1 >conftest.err
17337 rm -f conftest.er1
17338 cat conftest.err >&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); } && {
17341 test -z "$ac_c_werror_flag" ||
17342 test ! -s conftest.err
17343 } && test -s conftest.$ac_objext; then
17344 bakefile_cv_c_compiler___MWERKS__=yes
17345 else
17346 echo "$as_me: failed program was:" >&5
17347 sed 's/^/| /' conftest.$ac_ext >&5
17348
17349 bakefile_cv_c_compiler___MWERKS__=no
17350
17351 fi
17352
17353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17354
17355
17356 fi
17357 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17358 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17359 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17360 :; MWCC=yes
17361 else
17362 :;
17363 fi
17364 ac_ext=c
17365 ac_cpp='$CPP $CPPFLAGS'
17366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17369
17370
17371
17372
17373
17374 ac_ext=c
17375 ac_cpp='$CPP $CPPFLAGS'
17376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17379
17380 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17381 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17382 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17384 else
17385 cat >conftest.$ac_ext <<_ACEOF
17386 /* confdefs.h. */
17387 _ACEOF
17388 cat confdefs.h >>conftest.$ac_ext
17389 cat >>conftest.$ac_ext <<_ACEOF
17390 /* end confdefs.h. */
17391
17392 int
17393 main ()
17394 {
17395
17396 #ifndef __xlC__
17397 choke me
17398 #endif
17399
17400 ;
17401 return 0;
17402 }
17403 _ACEOF
17404 rm -f conftest.$ac_objext
17405 if { (ac_try="$ac_compile"
17406 case "(($ac_try" in
17407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17408 *) ac_try_echo=$ac_try;;
17409 esac
17410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17411 (eval "$ac_compile") 2>conftest.er1
17412 ac_status=$?
17413 grep -v '^ *+' conftest.er1 >conftest.err
17414 rm -f conftest.er1
17415 cat conftest.err >&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); } && {
17418 test -z "$ac_c_werror_flag" ||
17419 test ! -s conftest.err
17420 } && test -s conftest.$ac_objext; then
17421 bakefile_cv_c_compiler___xlC__=yes
17422 else
17423 echo "$as_me: failed program was:" >&5
17424 sed 's/^/| /' conftest.$ac_ext >&5
17425
17426 bakefile_cv_c_compiler___xlC__=no
17427
17428 fi
17429
17430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17431
17432
17433 fi
17434 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17435 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17436 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17437 :; XLCC=yes
17438 else
17439 :;
17440 fi
17441 ac_ext=c
17442 ac_cpp='$CPP $CPPFLAGS'
17443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17446
17447
17448
17449 ;;
17450
17451 IRIX*)
17452
17453
17454 ac_ext=c
17455 ac_cpp='$CPP $CPPFLAGS'
17456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17459
17460 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17461 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17462 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17464 else
17465 cat >conftest.$ac_ext <<_ACEOF
17466 /* confdefs.h. */
17467 _ACEOF
17468 cat confdefs.h >>conftest.$ac_ext
17469 cat >>conftest.$ac_ext <<_ACEOF
17470 /* end confdefs.h. */
17471
17472 int
17473 main ()
17474 {
17475
17476 #ifndef _SGI_COMPILER_VERSION
17477 choke me
17478 #endif
17479
17480 ;
17481 return 0;
17482 }
17483 _ACEOF
17484 rm -f conftest.$ac_objext
17485 if { (ac_try="$ac_compile"
17486 case "(($ac_try" in
17487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17488 *) ac_try_echo=$ac_try;;
17489 esac
17490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17491 (eval "$ac_compile") 2>conftest.er1
17492 ac_status=$?
17493 grep -v '^ *+' conftest.er1 >conftest.err
17494 rm -f conftest.er1
17495 cat conftest.err >&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } && {
17498 test -z "$ac_c_werror_flag" ||
17499 test ! -s conftest.err
17500 } && test -s conftest.$ac_objext; then
17501 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17502 else
17503 echo "$as_me: failed program was:" >&5
17504 sed 's/^/| /' conftest.$ac_ext >&5
17505
17506 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17507
17508 fi
17509
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511
17512
17513 fi
17514 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17515 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17516 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17517 :; SGICC=yes
17518 else
17519 :;
17520 fi
17521 ac_ext=c
17522 ac_cpp='$CPP $CPPFLAGS'
17523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17526
17527
17528
17529 ;;
17530
17531 Linux*)
17532
17533
17534 ac_ext=c
17535 ac_cpp='$CPP $CPPFLAGS'
17536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17539
17540 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17541 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17542 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 else
17545 cat >conftest.$ac_ext <<_ACEOF
17546 /* confdefs.h. */
17547 _ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551
17552 int
17553 main ()
17554 {
17555
17556 #ifndef __SUNPRO_C
17557 choke me
17558 #endif
17559
17560 ;
17561 return 0;
17562 }
17563 _ACEOF
17564 rm -f conftest.$ac_objext
17565 if { (ac_try="$ac_compile"
17566 case "(($ac_try" in
17567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17568 *) ac_try_echo=$ac_try;;
17569 esac
17570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571 (eval "$ac_compile") 2>conftest.er1
17572 ac_status=$?
17573 grep -v '^ *+' conftest.er1 >conftest.err
17574 rm -f conftest.er1
17575 cat conftest.err >&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } && {
17578 test -z "$ac_c_werror_flag" ||
17579 test ! -s conftest.err
17580 } && test -s conftest.$ac_objext; then
17581 bakefile_cv_c_compiler___SUNPRO_C=yes
17582 else
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.$ac_ext >&5
17585
17586 bakefile_cv_c_compiler___SUNPRO_C=no
17587
17588 fi
17589
17590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591
17592
17593 fi
17594 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17595 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17596 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17597 :; SUNCC=yes
17598 else
17599 :;
17600 fi
17601 ac_ext=c
17602 ac_cpp='$CPP $CPPFLAGS'
17603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17606
17607
17608
17609 ;;
17610
17611 HP-UX*)
17612
17613
17614 ac_ext=c
17615 ac_cpp='$CPP $CPPFLAGS'
17616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17619
17620 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17621 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17622 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17624 else
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631
17632 int
17633 main ()
17634 {
17635
17636 #ifndef __HP_cc
17637 choke me
17638 #endif
17639
17640 ;
17641 return 0;
17642 }
17643 _ACEOF
17644 rm -f conftest.$ac_objext
17645 if { (ac_try="$ac_compile"
17646 case "(($ac_try" in
17647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17648 *) ac_try_echo=$ac_try;;
17649 esac
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_compile") 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } && {
17658 test -z "$ac_c_werror_flag" ||
17659 test ! -s conftest.err
17660 } && test -s conftest.$ac_objext; then
17661 bakefile_cv_c_compiler___HP_cc=yes
17662 else
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17665
17666 bakefile_cv_c_compiler___HP_cc=no
17667
17668 fi
17669
17670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17671
17672
17673 fi
17674 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17675 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17676 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17677 :; HPCC=yes
17678 else
17679 :;
17680 fi
17681 ac_ext=c
17682 ac_cpp='$CPP $CPPFLAGS'
17683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17686
17687
17688
17689 ;;
17690
17691 OSF1)
17692
17693
17694 ac_ext=c
17695 ac_cpp='$CPP $CPPFLAGS'
17696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17699
17700 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17701 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17702 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17703 echo $ECHO_N "(cached) $ECHO_C" >&6
17704 else
17705 cat >conftest.$ac_ext <<_ACEOF
17706 /* confdefs.h. */
17707 _ACEOF
17708 cat confdefs.h >>conftest.$ac_ext
17709 cat >>conftest.$ac_ext <<_ACEOF
17710 /* end confdefs.h. */
17711
17712 int
17713 main ()
17714 {
17715
17716 #ifndef __DECC
17717 choke me
17718 #endif
17719
17720 ;
17721 return 0;
17722 }
17723 _ACEOF
17724 rm -f conftest.$ac_objext
17725 if { (ac_try="$ac_compile"
17726 case "(($ac_try" in
17727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17728 *) ac_try_echo=$ac_try;;
17729 esac
17730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17731 (eval "$ac_compile") 2>conftest.er1
17732 ac_status=$?
17733 grep -v '^ *+' conftest.er1 >conftest.err
17734 rm -f conftest.er1
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } && {
17738 test -z "$ac_c_werror_flag" ||
17739 test ! -s conftest.err
17740 } && test -s conftest.$ac_objext; then
17741 bakefile_cv_c_compiler___DECC=yes
17742 else
17743 echo "$as_me: failed program was:" >&5
17744 sed 's/^/| /' conftest.$ac_ext >&5
17745
17746 bakefile_cv_c_compiler___DECC=no
17747
17748 fi
17749
17750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17751
17752
17753 fi
17754 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17755 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17756 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17757 :; COMPAQCC=yes
17758 else
17759 :;
17760 fi
17761 ac_ext=c
17762 ac_cpp='$CPP $CPPFLAGS'
17763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17766
17767
17768
17769 ;;
17770
17771 SunOS)
17772
17773
17774 ac_ext=c
17775 ac_cpp='$CPP $CPPFLAGS'
17776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17779
17780 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17781 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17782 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17783 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 else
17785 cat >conftest.$ac_ext <<_ACEOF
17786 /* confdefs.h. */
17787 _ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17791
17792 int
17793 main ()
17794 {
17795
17796 #ifndef __SUNPRO_C
17797 choke me
17798 #endif
17799
17800 ;
17801 return 0;
17802 }
17803 _ACEOF
17804 rm -f conftest.$ac_objext
17805 if { (ac_try="$ac_compile"
17806 case "(($ac_try" in
17807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17808 *) ac_try_echo=$ac_try;;
17809 esac
17810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17811 (eval "$ac_compile") 2>conftest.er1
17812 ac_status=$?
17813 grep -v '^ *+' conftest.er1 >conftest.err
17814 rm -f conftest.er1
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } && {
17818 test -z "$ac_c_werror_flag" ||
17819 test ! -s conftest.err
17820 } && test -s conftest.$ac_objext; then
17821 bakefile_cv_c_compiler___SUNPRO_C=yes
17822 else
17823 echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.$ac_ext >&5
17825
17826 bakefile_cv_c_compiler___SUNPRO_C=no
17827
17828 fi
17829
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831
17832
17833 fi
17834 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17835 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17836 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17837 :; SUNCC=yes
17838 else
17839 :;
17840 fi
17841 ac_ext=c
17842 ac_cpp='$CPP $CPPFLAGS'
17843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17846
17847
17848
17849 ;;
17850 esac
17851 fi
17852
17853
17854
17855 ac_ext=c
17856 ac_cpp='$CPP $CPPFLAGS'
17857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17860 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17861 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17862 # On Suns, sometimes $CPP names a directory.
17863 if test -n "$CPP" && test -d "$CPP"; then
17864 CPP=
17865 fi
17866 if test -z "$CPP"; then
17867 if test "${ac_cv_prog_CPP+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17869 else
17870 # Double quotes because CPP needs to be expanded
17871 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17872 do
17873 ac_preproc_ok=false
17874 for ac_c_preproc_warn_flag in '' yes
17875 do
17876 # Use a header file that comes with gcc, so configuring glibc
17877 # with a fresh cross-compiler works.
17878 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17879 # <limits.h> exists even on freestanding compilers.
17880 # On the NeXT, cc -E runs the code through the compiler's parser,
17881 # not just through cpp. "Syntax error" is here to catch this case.
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 #ifdef __STDC__
17889 # include <limits.h>
17890 #else
17891 # include <assert.h>
17892 #endif
17893 Syntax error
17894 _ACEOF
17895 if { (ac_try="$ac_cpp conftest.$ac_ext"
17896 case "(($ac_try" in
17897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17898 *) ac_try_echo=$ac_try;;
17899 esac
17900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17901 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17902 ac_status=$?
17903 grep -v '^ *+' conftest.er1 >conftest.err
17904 rm -f conftest.er1
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } >/dev/null && {
17908 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17909 test ! -s conftest.err
17910 }; then
17911 :
17912 else
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.$ac_ext >&5
17915
17916 # Broken: fails on valid input.
17917 continue
17918 fi
17919
17920 rm -f conftest.err conftest.$ac_ext
17921
17922 # OK, works on sane cases. Now check whether nonexistent headers
17923 # can be detected and how.
17924 cat >conftest.$ac_ext <<_ACEOF
17925 /* confdefs.h. */
17926 _ACEOF
17927 cat confdefs.h >>conftest.$ac_ext
17928 cat >>conftest.$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17930 #include <ac_nonexistent.h>
17931 _ACEOF
17932 if { (ac_try="$ac_cpp conftest.$ac_ext"
17933 case "(($ac_try" in
17934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17935 *) ac_try_echo=$ac_try;;
17936 esac
17937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17938 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17939 ac_status=$?
17940 grep -v '^ *+' conftest.er1 >conftest.err
17941 rm -f conftest.er1
17942 cat conftest.err >&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } >/dev/null && {
17945 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17946 test ! -s conftest.err
17947 }; then
17948 # Broken: success on invalid input.
17949 continue
17950 else
17951 echo "$as_me: failed program was:" >&5
17952 sed 's/^/| /' conftest.$ac_ext >&5
17953
17954 # Passes both tests.
17955 ac_preproc_ok=:
17956 break
17957 fi
17958
17959 rm -f conftest.err conftest.$ac_ext
17960
17961 done
17962 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17963 rm -f conftest.err conftest.$ac_ext
17964 if $ac_preproc_ok; then
17965 break
17966 fi
17967
17968 done
17969 ac_cv_prog_CPP=$CPP
17970
17971 fi
17972 CPP=$ac_cv_prog_CPP
17973 else
17974 ac_cv_prog_CPP=$CPP
17975 fi
17976 { echo "$as_me:$LINENO: result: $CPP" >&5
17977 echo "${ECHO_T}$CPP" >&6; }
17978 ac_preproc_ok=false
17979 for ac_c_preproc_warn_flag in '' yes
17980 do
17981 # Use a header file that comes with gcc, so configuring glibc
17982 # with a fresh cross-compiler works.
17983 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17984 # <limits.h> exists even on freestanding compilers.
17985 # On the NeXT, cc -E runs the code through the compiler's parser,
17986 # not just through cpp. "Syntax error" is here to catch this case.
17987 cat >conftest.$ac_ext <<_ACEOF
17988 /* confdefs.h. */
17989 _ACEOF
17990 cat confdefs.h >>conftest.$ac_ext
17991 cat >>conftest.$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 #ifdef __STDC__
17994 # include <limits.h>
17995 #else
17996 # include <assert.h>
17997 #endif
17998 Syntax error
17999 _ACEOF
18000 if { (ac_try="$ac_cpp conftest.$ac_ext"
18001 case "(($ac_try" in
18002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18003 *) ac_try_echo=$ac_try;;
18004 esac
18005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18007 ac_status=$?
18008 grep -v '^ *+' conftest.er1 >conftest.err
18009 rm -f conftest.er1
18010 cat conftest.err >&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } >/dev/null && {
18013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18014 test ! -s conftest.err
18015 }; then
18016 :
18017 else
18018 echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.$ac_ext >&5
18020
18021 # Broken: fails on valid input.
18022 continue
18023 fi
18024
18025 rm -f conftest.err conftest.$ac_ext
18026
18027 # OK, works on sane cases. Now check whether nonexistent headers
18028 # can be detected and how.
18029 cat >conftest.$ac_ext <<_ACEOF
18030 /* confdefs.h. */
18031 _ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 #include <ac_nonexistent.h>
18036 _ACEOF
18037 if { (ac_try="$ac_cpp conftest.$ac_ext"
18038 case "(($ac_try" in
18039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18040 *) ac_try_echo=$ac_try;;
18041 esac
18042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18044 ac_status=$?
18045 grep -v '^ *+' conftest.er1 >conftest.err
18046 rm -f conftest.er1
18047 cat conftest.err >&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); } >/dev/null && {
18050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18051 test ! -s conftest.err
18052 }; then
18053 # Broken: success on invalid input.
18054 continue
18055 else
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.$ac_ext >&5
18058
18059 # Passes both tests.
18060 ac_preproc_ok=:
18061 break
18062 fi
18063
18064 rm -f conftest.err conftest.$ac_ext
18065
18066 done
18067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18068 rm -f conftest.err conftest.$ac_ext
18069 if $ac_preproc_ok; then
18070 :
18071 else
18072 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18073 See \`config.log' for more details." >&5
18074 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18075 See \`config.log' for more details." >&2;}
18076 { (exit 1); exit 1; }; }
18077 fi
18078
18079 ac_ext=c
18080 ac_cpp='$CPP $CPPFLAGS'
18081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18084
18085
18086 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18087 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18088 if test "${ac_cv_path_GREP+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 else
18091 # Extract the first word of "grep ggrep" to use in msg output
18092 if test -z "$GREP"; then
18093 set dummy grep ggrep; ac_prog_name=$2
18094 if test "${ac_cv_path_GREP+set}" = set; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 else
18097 ac_path_GREP_found=false
18098 # Loop through the user's path and test for each of PROGNAME-LIST
18099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18100 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18101 do
18102 IFS=$as_save_IFS
18103 test -z "$as_dir" && as_dir=.
18104 for ac_prog in grep ggrep; do
18105 for ac_exec_ext in '' $ac_executable_extensions; do
18106 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18107 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18108 # Check for GNU ac_path_GREP and select it if it is found.
18109 # Check for GNU $ac_path_GREP
18110 case `"$ac_path_GREP" --version 2>&1` in
18111 *GNU*)
18112 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18113 *)
18114 ac_count=0
18115 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18116 while :
18117 do
18118 cat "conftest.in" "conftest.in" >"conftest.tmp"
18119 mv "conftest.tmp" "conftest.in"
18120 cp "conftest.in" "conftest.nl"
18121 echo 'GREP' >> "conftest.nl"
18122 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18123 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18124 ac_count=`expr $ac_count + 1`
18125 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18126 # Best one so far, save it but keep looking for a better one
18127 ac_cv_path_GREP="$ac_path_GREP"
18128 ac_path_GREP_max=$ac_count
18129 fi
18130 # 10*(2^10) chars as input seems more than enough
18131 test $ac_count -gt 10 && break
18132 done
18133 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18134 esac
18135
18136
18137 $ac_path_GREP_found && break 3
18138 done
18139 done
18140
18141 done
18142 IFS=$as_save_IFS
18143
18144
18145 fi
18146
18147 GREP="$ac_cv_path_GREP"
18148 if test -z "$GREP"; then
18149 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18150 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18151 { (exit 1); exit 1; }; }
18152 fi
18153
18154 else
18155 ac_cv_path_GREP=$GREP
18156 fi
18157
18158
18159 fi
18160 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18161 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18162 GREP="$ac_cv_path_GREP"
18163
18164
18165 { echo "$as_me:$LINENO: checking for egrep" >&5
18166 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18167 if test "${ac_cv_path_EGREP+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18169 else
18170 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18171 then ac_cv_path_EGREP="$GREP -E"
18172 else
18173 # Extract the first word of "egrep" to use in msg output
18174 if test -z "$EGREP"; then
18175 set dummy egrep; ac_prog_name=$2
18176 if test "${ac_cv_path_EGREP+set}" = set; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18178 else
18179 ac_path_EGREP_found=false
18180 # Loop through the user's path and test for each of PROGNAME-LIST
18181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18182 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18183 do
18184 IFS=$as_save_IFS
18185 test -z "$as_dir" && as_dir=.
18186 for ac_prog in egrep; do
18187 for ac_exec_ext in '' $ac_executable_extensions; do
18188 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18189 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18190 # Check for GNU ac_path_EGREP and select it if it is found.
18191 # Check for GNU $ac_path_EGREP
18192 case `"$ac_path_EGREP" --version 2>&1` in
18193 *GNU*)
18194 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18195 *)
18196 ac_count=0
18197 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18198 while :
18199 do
18200 cat "conftest.in" "conftest.in" >"conftest.tmp"
18201 mv "conftest.tmp" "conftest.in"
18202 cp "conftest.in" "conftest.nl"
18203 echo 'EGREP' >> "conftest.nl"
18204 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18205 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18206 ac_count=`expr $ac_count + 1`
18207 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18208 # Best one so far, save it but keep looking for a better one
18209 ac_cv_path_EGREP="$ac_path_EGREP"
18210 ac_path_EGREP_max=$ac_count
18211 fi
18212 # 10*(2^10) chars as input seems more than enough
18213 test $ac_count -gt 10 && break
18214 done
18215 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18216 esac
18217
18218
18219 $ac_path_EGREP_found && break 3
18220 done
18221 done
18222
18223 done
18224 IFS=$as_save_IFS
18225
18226
18227 fi
18228
18229 EGREP="$ac_cv_path_EGREP"
18230 if test -z "$EGREP"; then
18231 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18232 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18233 { (exit 1); exit 1; }; }
18234 fi
18235
18236 else
18237 ac_cv_path_EGREP=$EGREP
18238 fi
18239
18240
18241 fi
18242 fi
18243 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18244 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18245 EGREP="$ac_cv_path_EGREP"
18246
18247
18248 if test $ac_cv_c_compiler_gnu = yes; then
18249 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18250 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18251 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 else
18254 ac_pattern="Autoconf.*'x'"
18255 cat >conftest.$ac_ext <<_ACEOF
18256 /* confdefs.h. */
18257 _ACEOF
18258 cat confdefs.h >>conftest.$ac_ext
18259 cat >>conftest.$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18261 #include <sgtty.h>
18262 Autoconf TIOCGETP
18263 _ACEOF
18264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18265 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18266 ac_cv_prog_gcc_traditional=yes
18267 else
18268 ac_cv_prog_gcc_traditional=no
18269 fi
18270 rm -f conftest*
18271
18272
18273 if test $ac_cv_prog_gcc_traditional = no; then
18274 cat >conftest.$ac_ext <<_ACEOF
18275 /* confdefs.h. */
18276 _ACEOF
18277 cat confdefs.h >>conftest.$ac_ext
18278 cat >>conftest.$ac_ext <<_ACEOF
18279 /* end confdefs.h. */
18280 #include <termio.h>
18281 Autoconf TCGETA
18282 _ACEOF
18283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18284 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18285 ac_cv_prog_gcc_traditional=yes
18286 fi
18287 rm -f conftest*
18288
18289 fi
18290 fi
18291 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18292 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18293 if test $ac_cv_prog_gcc_traditional = yes; then
18294 CC="$CC -traditional"
18295 fi
18296 fi
18297
18298
18299 CXXFLAGS=${CXXFLAGS:=}
18300
18301
18302
18303 ac_ext=cpp
18304 ac_cpp='$CXXCPP $CPPFLAGS'
18305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18308 if test -z "$CXX"; then
18309 if test -n "$CCC"; then
18310 CXX=$CCC
18311 else
18312 if test -n "$ac_tool_prefix"; then
18313 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18314 do
18315 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18316 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18319 if test "${ac_cv_prog_CXX+set}" = set; then
18320 echo $ECHO_N "(cached) $ECHO_C" >&6
18321 else
18322 if test -n "$CXX"; then
18323 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18324 else
18325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18326 for as_dir in $PATH
18327 do
18328 IFS=$as_save_IFS
18329 test -z "$as_dir" && as_dir=.
18330 for ac_exec_ext in '' $ac_executable_extensions; do
18331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18332 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18334 break 2
18335 fi
18336 done
18337 done
18338 IFS=$as_save_IFS
18339
18340 fi
18341 fi
18342 CXX=$ac_cv_prog_CXX
18343 if test -n "$CXX"; then
18344 { echo "$as_me:$LINENO: result: $CXX" >&5
18345 echo "${ECHO_T}$CXX" >&6; }
18346 else
18347 { echo "$as_me:$LINENO: result: no" >&5
18348 echo "${ECHO_T}no" >&6; }
18349 fi
18350
18351
18352 test -n "$CXX" && break
18353 done
18354 fi
18355 if test -z "$CXX"; then
18356 ac_ct_CXX=$CXX
18357 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18358 do
18359 # Extract the first word of "$ac_prog", so it can be a program name with args.
18360 set dummy $ac_prog; ac_word=$2
18361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18363 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 else
18366 if test -n "$ac_ct_CXX"; then
18367 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18368 else
18369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18370 for as_dir in $PATH
18371 do
18372 IFS=$as_save_IFS
18373 test -z "$as_dir" && as_dir=.
18374 for ac_exec_ext in '' $ac_executable_extensions; do
18375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18376 ac_cv_prog_ac_ct_CXX="$ac_prog"
18377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18378 break 2
18379 fi
18380 done
18381 done
18382 IFS=$as_save_IFS
18383
18384 fi
18385 fi
18386 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18387 if test -n "$ac_ct_CXX"; then
18388 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18389 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18390 else
18391 { echo "$as_me:$LINENO: result: no" >&5
18392 echo "${ECHO_T}no" >&6; }
18393 fi
18394
18395
18396 test -n "$ac_ct_CXX" && break
18397 done
18398
18399 if test "x$ac_ct_CXX" = x; then
18400 CXX="g++"
18401 else
18402 case $cross_compiling:$ac_tool_warned in
18403 yes:)
18404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18405 whose name does not start with the host triplet. If you think this
18406 configuration is useful to you, please write to autoconf@gnu.org." >&5
18407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18408 whose name does not start with the host triplet. If you think this
18409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18410 ac_tool_warned=yes ;;
18411 esac
18412 CXX=$ac_ct_CXX
18413 fi
18414 fi
18415
18416 fi
18417 fi
18418 # Provide some information about the compiler.
18419 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18420 ac_compiler=`set X $ac_compile; echo $2`
18421 { (ac_try="$ac_compiler --version >&5"
18422 case "(($ac_try" in
18423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18424 *) ac_try_echo=$ac_try;;
18425 esac
18426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18427 (eval "$ac_compiler --version >&5") 2>&5
18428 ac_status=$?
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }
18431 { (ac_try="$ac_compiler -v >&5"
18432 case "(($ac_try" in
18433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18434 *) ac_try_echo=$ac_try;;
18435 esac
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_compiler -v >&5") 2>&5
18438 ac_status=$?
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }
18441 { (ac_try="$ac_compiler -V >&5"
18442 case "(($ac_try" in
18443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18444 *) ac_try_echo=$ac_try;;
18445 esac
18446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18447 (eval "$ac_compiler -V >&5") 2>&5
18448 ac_status=$?
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }
18451
18452 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18453 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18454 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18455 echo $ECHO_N "(cached) $ECHO_C" >&6
18456 else
18457 cat >conftest.$ac_ext <<_ACEOF
18458 /* confdefs.h. */
18459 _ACEOF
18460 cat confdefs.h >>conftest.$ac_ext
18461 cat >>conftest.$ac_ext <<_ACEOF
18462 /* end confdefs.h. */
18463
18464 int
18465 main ()
18466 {
18467 #ifndef __GNUC__
18468 choke me
18469 #endif
18470
18471 ;
18472 return 0;
18473 }
18474 _ACEOF
18475 rm -f conftest.$ac_objext
18476 if { (ac_try="$ac_compile"
18477 case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18480 esac
18481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_compile") 2>conftest.er1
18483 ac_status=$?
18484 grep -v '^ *+' conftest.er1 >conftest.err
18485 rm -f conftest.er1
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } && {
18489 test -z "$ac_cxx_werror_flag" ||
18490 test ! -s conftest.err
18491 } && test -s conftest.$ac_objext; then
18492 ac_compiler_gnu=yes
18493 else
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18496
18497 ac_compiler_gnu=no
18498 fi
18499
18500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18501 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18502
18503 fi
18504 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18505 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18506 GXX=`test $ac_compiler_gnu = yes && echo yes`
18507 ac_test_CXXFLAGS=${CXXFLAGS+set}
18508 ac_save_CXXFLAGS=$CXXFLAGS
18509 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18510 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18511 if test "${ac_cv_prog_cxx_g+set}" = set; then
18512 echo $ECHO_N "(cached) $ECHO_C" >&6
18513 else
18514 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18515 ac_cxx_werror_flag=yes
18516 ac_cv_prog_cxx_g=no
18517 CXXFLAGS="-g"
18518 cat >conftest.$ac_ext <<_ACEOF
18519 /* confdefs.h. */
18520 _ACEOF
18521 cat confdefs.h >>conftest.$ac_ext
18522 cat >>conftest.$ac_ext <<_ACEOF
18523 /* end confdefs.h. */
18524
18525 int
18526 main ()
18527 {
18528
18529 ;
18530 return 0;
18531 }
18532 _ACEOF
18533 rm -f conftest.$ac_objext
18534 if { (ac_try="$ac_compile"
18535 case "(($ac_try" in
18536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18538 esac
18539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_compile") 2>conftest.er1
18541 ac_status=$?
18542 grep -v '^ *+' conftest.er1 >conftest.err
18543 rm -f conftest.er1
18544 cat conftest.err >&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } && {
18547 test -z "$ac_cxx_werror_flag" ||
18548 test ! -s conftest.err
18549 } && test -s conftest.$ac_objext; then
18550 ac_cv_prog_cxx_g=yes
18551 else
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18554
18555 CXXFLAGS=""
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562
18563 int
18564 main ()
18565 {
18566
18567 ;
18568 return 0;
18569 }
18570 _ACEOF
18571 rm -f conftest.$ac_objext
18572 if { (ac_try="$ac_compile"
18573 case "(($ac_try" in
18574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18575 *) ac_try_echo=$ac_try;;
18576 esac
18577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18578 (eval "$ac_compile") 2>conftest.er1
18579 ac_status=$?
18580 grep -v '^ *+' conftest.er1 >conftest.err
18581 rm -f conftest.er1
18582 cat conftest.err >&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } && {
18585 test -z "$ac_cxx_werror_flag" ||
18586 test ! -s conftest.err
18587 } && test -s conftest.$ac_objext; then
18588 :
18589 else
18590 echo "$as_me: failed program was:" >&5
18591 sed 's/^/| /' conftest.$ac_ext >&5
18592
18593 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18594 CXXFLAGS="-g"
18595 cat >conftest.$ac_ext <<_ACEOF
18596 /* confdefs.h. */
18597 _ACEOF
18598 cat confdefs.h >>conftest.$ac_ext
18599 cat >>conftest.$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18601
18602 int
18603 main ()
18604 {
18605
18606 ;
18607 return 0;
18608 }
18609 _ACEOF
18610 rm -f conftest.$ac_objext
18611 if { (ac_try="$ac_compile"
18612 case "(($ac_try" in
18613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18614 *) ac_try_echo=$ac_try;;
18615 esac
18616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18617 (eval "$ac_compile") 2>conftest.er1
18618 ac_status=$?
18619 grep -v '^ *+' conftest.er1 >conftest.err
18620 rm -f conftest.er1
18621 cat conftest.err >&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } && {
18624 test -z "$ac_cxx_werror_flag" ||
18625 test ! -s conftest.err
18626 } && test -s conftest.$ac_objext; then
18627 ac_cv_prog_cxx_g=yes
18628 else
18629 echo "$as_me: failed program was:" >&5
18630 sed 's/^/| /' conftest.$ac_ext >&5
18631
18632
18633 fi
18634
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18636 fi
18637
18638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18639 fi
18640
18641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18642 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18643 fi
18644 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18645 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18646 if test "$ac_test_CXXFLAGS" = set; then
18647 CXXFLAGS=$ac_save_CXXFLAGS
18648 elif test $ac_cv_prog_cxx_g = yes; then
18649 if test "$GXX" = yes; then
18650 CXXFLAGS="-g -O2"
18651 else
18652 CXXFLAGS="-g"
18653 fi
18654 else
18655 if test "$GXX" = yes; then
18656 CXXFLAGS="-O2"
18657 else
18658 CXXFLAGS=
18659 fi
18660 fi
18661 ac_ext=c
18662 ac_cpp='$CPP $CPPFLAGS'
18663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18666
18667
18668
18669
18670 ac_ext=cpp
18671 ac_cpp='$CXXCPP $CPPFLAGS'
18672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18675
18676 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18677 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18678 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18679 echo $ECHO_N "(cached) $ECHO_C" >&6
18680 else
18681 cat >conftest.$ac_ext <<_ACEOF
18682 /* confdefs.h. */
18683 _ACEOF
18684 cat confdefs.h >>conftest.$ac_ext
18685 cat >>conftest.$ac_ext <<_ACEOF
18686 /* end confdefs.h. */
18687
18688 int
18689 main ()
18690 {
18691
18692 #ifndef __INTEL_COMPILER
18693 choke me
18694 #endif
18695
18696 ;
18697 return 0;
18698 }
18699 _ACEOF
18700 rm -f conftest.$ac_objext
18701 if { (ac_try="$ac_compile"
18702 case "(($ac_try" in
18703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18704 *) ac_try_echo=$ac_try;;
18705 esac
18706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18707 (eval "$ac_compile") 2>conftest.er1
18708 ac_status=$?
18709 grep -v '^ *+' conftest.er1 >conftest.err
18710 rm -f conftest.er1
18711 cat conftest.err >&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); } && {
18714 test -z "$ac_cxx_werror_flag" ||
18715 test ! -s conftest.err
18716 } && test -s conftest.$ac_objext; then
18717 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18718 else
18719 echo "$as_me: failed program was:" >&5
18720 sed 's/^/| /' conftest.$ac_ext >&5
18721
18722 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18723
18724 fi
18725
18726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18727
18728
18729 fi
18730 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18731 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18732 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18733 :; INTELCXX=yes
18734 else
18735 :;
18736 fi
18737 ac_ext=c
18738 ac_cpp='$CPP $CPPFLAGS'
18739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18742
18743
18744
18745
18746 if test "x$GCXX" != "xyes"; then
18747 if test "xCXX" = "xC"; then
18748 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18749 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18750 if test "${bakefile_cv_c_exto+set}" = set; then
18751 echo $ECHO_N "(cached) $ECHO_C" >&6
18752 else
18753 cat >conftest.$ac_ext <<_ACEOF
18754 /* confdefs.h. */
18755 _ACEOF
18756 cat confdefs.h >>conftest.$ac_ext
18757 cat >>conftest.$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18759
18760 int
18761 main ()
18762 {
18763
18764 ;
18765 return 0;
18766 }
18767 _ACEOF
18768 rm -f conftest.$ac_objext conftest.$ac_ext.o
18769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18770 (eval $ac_compile) 2>&5
18771 ac_status=$?
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); }; then
18774 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18775 case $ac_file in
18776 conftest.$ac_ext.o)
18777 bakefile_cv_c_exto="-ext o"
18778 ;;
18779 *)
18780 ;;
18781 esac
18782 done
18783 else
18784 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18785 See \`config.log' for more details." >&5
18786 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18787 See \`config.log' for more details." >&2;}
18788 { (exit 1); exit 1; }; }
18789
18790 fi
18791
18792 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18793
18794 fi
18795 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18796 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18797 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18798 if test "c" = "c"; then
18799 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18800 fi
18801 if test "c" = "cxx"; then
18802 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18803 fi
18804 fi
18805
18806 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18807 unset ac_cv_prog_cc_g
18808 ac_test_CFLAGS=${CFLAGS+set}
18809 ac_save_CFLAGS=$CFLAGS
18810 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18811 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18812 if test "${ac_cv_prog_cc_g+set}" = set; then
18813 echo $ECHO_N "(cached) $ECHO_C" >&6
18814 else
18815 ac_save_c_werror_flag=$ac_c_werror_flag
18816 ac_c_werror_flag=yes
18817 ac_cv_prog_cc_g=no
18818 CFLAGS="-g"
18819 cat >conftest.$ac_ext <<_ACEOF
18820 /* confdefs.h. */
18821 _ACEOF
18822 cat confdefs.h >>conftest.$ac_ext
18823 cat >>conftest.$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825
18826 int
18827 main ()
18828 {
18829
18830 ;
18831 return 0;
18832 }
18833 _ACEOF
18834 rm -f conftest.$ac_objext
18835 if { (ac_try="$ac_compile"
18836 case "(($ac_try" in
18837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18838 *) ac_try_echo=$ac_try;;
18839 esac
18840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18841 (eval "$ac_compile") 2>conftest.er1
18842 ac_status=$?
18843 grep -v '^ *+' conftest.er1 >conftest.err
18844 rm -f conftest.er1
18845 cat conftest.err >&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); } && {
18848 test -z "$ac_c_werror_flag" ||
18849 test ! -s conftest.err
18850 } && test -s conftest.$ac_objext; then
18851 ac_cv_prog_cc_g=yes
18852 else
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.$ac_ext >&5
18855
18856 CFLAGS=""
18857 cat >conftest.$ac_ext <<_ACEOF
18858 /* confdefs.h. */
18859 _ACEOF
18860 cat confdefs.h >>conftest.$ac_ext
18861 cat >>conftest.$ac_ext <<_ACEOF
18862 /* end confdefs.h. */
18863
18864 int
18865 main ()
18866 {
18867
18868 ;
18869 return 0;
18870 }
18871 _ACEOF
18872 rm -f conftest.$ac_objext
18873 if { (ac_try="$ac_compile"
18874 case "(($ac_try" in
18875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18876 *) ac_try_echo=$ac_try;;
18877 esac
18878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18879 (eval "$ac_compile") 2>conftest.er1
18880 ac_status=$?
18881 grep -v '^ *+' conftest.er1 >conftest.err
18882 rm -f conftest.er1
18883 cat conftest.err >&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } && {
18886 test -z "$ac_c_werror_flag" ||
18887 test ! -s conftest.err
18888 } && test -s conftest.$ac_objext; then
18889 :
18890 else
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.$ac_ext >&5
18893
18894 ac_c_werror_flag=$ac_save_c_werror_flag
18895 CFLAGS="-g"
18896 cat >conftest.$ac_ext <<_ACEOF
18897 /* confdefs.h. */
18898 _ACEOF
18899 cat confdefs.h >>conftest.$ac_ext
18900 cat >>conftest.$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902
18903 int
18904 main ()
18905 {
18906
18907 ;
18908 return 0;
18909 }
18910 _ACEOF
18911 rm -f conftest.$ac_objext
18912 if { (ac_try="$ac_compile"
18913 case "(($ac_try" in
18914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18915 *) ac_try_echo=$ac_try;;
18916 esac
18917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18918 (eval "$ac_compile") 2>conftest.er1
18919 ac_status=$?
18920 grep -v '^ *+' conftest.er1 >conftest.err
18921 rm -f conftest.er1
18922 cat conftest.err >&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } && {
18925 test -z "$ac_c_werror_flag" ||
18926 test ! -s conftest.err
18927 } && test -s conftest.$ac_objext; then
18928 ac_cv_prog_cc_g=yes
18929 else
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18932
18933
18934 fi
18935
18936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18937 fi
18938
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18940 fi
18941
18942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18943 ac_c_werror_flag=$ac_save_c_werror_flag
18944 fi
18945 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18946 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18947 if test "$ac_test_CFLAGS" = set; then
18948 CFLAGS=$ac_save_CFLAGS
18949 elif test $ac_cv_prog_cc_g = yes; then
18950 if test "$GCC" = yes; then
18951 CFLAGS="-g -O2"
18952 else
18953 CFLAGS="-g"
18954 fi
18955 else
18956 if test "$GCC" = yes; then
18957 CFLAGS="-O2"
18958 else
18959 CFLAGS=
18960 fi
18961 fi
18962 fi
18963 fi
18964
18965 case `uname -s` in
18966 AIX*)
18967
18968
18969 ac_ext=cpp
18970 ac_cpp='$CXXCPP $CPPFLAGS'
18971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18974
18975 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18976 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18977 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 else
18980 cat >conftest.$ac_ext <<_ACEOF
18981 /* confdefs.h. */
18982 _ACEOF
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986
18987 int
18988 main ()
18989 {
18990
18991 #ifndef __xlC__
18992 choke me
18993 #endif
18994
18995 ;
18996 return 0;
18997 }
18998 _ACEOF
18999 rm -f conftest.$ac_objext
19000 if { (ac_try="$ac_compile"
19001 case "(($ac_try" in
19002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19003 *) ac_try_echo=$ac_try;;
19004 esac
19005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19006 (eval "$ac_compile") 2>conftest.er1
19007 ac_status=$?
19008 grep -v '^ *+' conftest.er1 >conftest.err
19009 rm -f conftest.er1
19010 cat conftest.err >&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } && {
19013 test -z "$ac_cxx_werror_flag" ||
19014 test ! -s conftest.err
19015 } && test -s conftest.$ac_objext; then
19016 bakefile_cv_cxx_compiler___xlC__=yes
19017 else
19018 echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.$ac_ext >&5
19020
19021 bakefile_cv_cxx_compiler___xlC__=no
19022
19023 fi
19024
19025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19026
19027
19028 fi
19029 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19030 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19031 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19032 :; XLCXX=yes
19033 else
19034 :;
19035 fi
19036 ac_ext=c
19037 ac_cpp='$CPP $CPPFLAGS'
19038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19041
19042
19043
19044 ;;
19045
19046 Darwin)
19047
19048
19049 ac_ext=cpp
19050 ac_cpp='$CXXCPP $CPPFLAGS'
19051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19054
19055 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19056 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19057 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19058 echo $ECHO_N "(cached) $ECHO_C" >&6
19059 else
19060 cat >conftest.$ac_ext <<_ACEOF
19061 /* confdefs.h. */
19062 _ACEOF
19063 cat confdefs.h >>conftest.$ac_ext
19064 cat >>conftest.$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066
19067 int
19068 main ()
19069 {
19070
19071 #ifndef __MWERKS__
19072 choke me
19073 #endif
19074
19075 ;
19076 return 0;
19077 }
19078 _ACEOF
19079 rm -f conftest.$ac_objext
19080 if { (ac_try="$ac_compile"
19081 case "(($ac_try" in
19082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19083 *) ac_try_echo=$ac_try;;
19084 esac
19085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19086 (eval "$ac_compile") 2>conftest.er1
19087 ac_status=$?
19088 grep -v '^ *+' conftest.er1 >conftest.err
19089 rm -f conftest.er1
19090 cat conftest.err >&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); } && {
19093 test -z "$ac_cxx_werror_flag" ||
19094 test ! -s conftest.err
19095 } && test -s conftest.$ac_objext; then
19096 bakefile_cv_cxx_compiler___MWERKS__=yes
19097 else
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.$ac_ext >&5
19100
19101 bakefile_cv_cxx_compiler___MWERKS__=no
19102
19103 fi
19104
19105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19106
19107
19108 fi
19109 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19110 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19111 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19112 :; MWCXX=yes
19113 else
19114 :;
19115 fi
19116 ac_ext=c
19117 ac_cpp='$CPP $CPPFLAGS'
19118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19121
19122
19123
19124
19125
19126 ac_ext=cpp
19127 ac_cpp='$CXXCPP $CPPFLAGS'
19128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19131
19132 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19133 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19134 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19135 echo $ECHO_N "(cached) $ECHO_C" >&6
19136 else
19137 cat >conftest.$ac_ext <<_ACEOF
19138 /* confdefs.h. */
19139 _ACEOF
19140 cat confdefs.h >>conftest.$ac_ext
19141 cat >>conftest.$ac_ext <<_ACEOF
19142 /* end confdefs.h. */
19143
19144 int
19145 main ()
19146 {
19147
19148 #ifndef __xlC__
19149 choke me
19150 #endif
19151
19152 ;
19153 return 0;
19154 }
19155 _ACEOF
19156 rm -f conftest.$ac_objext
19157 if { (ac_try="$ac_compile"
19158 case "(($ac_try" in
19159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19160 *) ac_try_echo=$ac_try;;
19161 esac
19162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19163 (eval "$ac_compile") 2>conftest.er1
19164 ac_status=$?
19165 grep -v '^ *+' conftest.er1 >conftest.err
19166 rm -f conftest.er1
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } && {
19170 test -z "$ac_cxx_werror_flag" ||
19171 test ! -s conftest.err
19172 } && test -s conftest.$ac_objext; then
19173 bakefile_cv_cxx_compiler___xlC__=yes
19174 else
19175 echo "$as_me: failed program was:" >&5
19176 sed 's/^/| /' conftest.$ac_ext >&5
19177
19178 bakefile_cv_cxx_compiler___xlC__=no
19179
19180 fi
19181
19182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19183
19184
19185 fi
19186 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19187 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19188 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19189 :; XLCXX=yes
19190 else
19191 :;
19192 fi
19193 ac_ext=c
19194 ac_cpp='$CPP $CPPFLAGS'
19195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19198
19199
19200
19201 ;;
19202
19203 IRIX*)
19204
19205
19206 ac_ext=cpp
19207 ac_cpp='$CXXCPP $CPPFLAGS'
19208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19211
19212 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19213 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19214 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19215 echo $ECHO_N "(cached) $ECHO_C" >&6
19216 else
19217 cat >conftest.$ac_ext <<_ACEOF
19218 /* confdefs.h. */
19219 _ACEOF
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223
19224 int
19225 main ()
19226 {
19227
19228 #ifndef _SGI_COMPILER_VERSION
19229 choke me
19230 #endif
19231
19232 ;
19233 return 0;
19234 }
19235 _ACEOF
19236 rm -f conftest.$ac_objext
19237 if { (ac_try="$ac_compile"
19238 case "(($ac_try" in
19239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19240 *) ac_try_echo=$ac_try;;
19241 esac
19242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19243 (eval "$ac_compile") 2>conftest.er1
19244 ac_status=$?
19245 grep -v '^ *+' conftest.er1 >conftest.err
19246 rm -f conftest.er1
19247 cat conftest.err >&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); } && {
19250 test -z "$ac_cxx_werror_flag" ||
19251 test ! -s conftest.err
19252 } && test -s conftest.$ac_objext; then
19253 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19254 else
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19257
19258 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19259
19260 fi
19261
19262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19263
19264
19265 fi
19266 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19267 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19268 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19269 :; SGICXX=yes
19270 else
19271 :;
19272 fi
19273 ac_ext=c
19274 ac_cpp='$CPP $CPPFLAGS'
19275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19278
19279
19280
19281 ;;
19282
19283 Linux*)
19284
19285
19286 ac_ext=cpp
19287 ac_cpp='$CXXCPP $CPPFLAGS'
19288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19291
19292 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19293 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19294 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19296 else
19297 cat >conftest.$ac_ext <<_ACEOF
19298 /* confdefs.h. */
19299 _ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303
19304 int
19305 main ()
19306 {
19307
19308 #ifndef __SUNPRO_CC
19309 choke me
19310 #endif
19311
19312 ;
19313 return 0;
19314 }
19315 _ACEOF
19316 rm -f conftest.$ac_objext
19317 if { (ac_try="$ac_compile"
19318 case "(($ac_try" in
19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19321 esac
19322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_compile") 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } && {
19330 test -z "$ac_cxx_werror_flag" ||
19331 test ! -s conftest.err
19332 } && test -s conftest.$ac_objext; then
19333 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19334 else
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19337
19338 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19339
19340 fi
19341
19342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19343
19344
19345 fi
19346 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19347 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19348 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19349 :; SUNCXX=yes
19350 else
19351 :;
19352 fi
19353 ac_ext=c
19354 ac_cpp='$CPP $CPPFLAGS'
19355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19358
19359
19360
19361 ;;
19362
19363 HP-UX*)
19364
19365
19366 ac_ext=cpp
19367 ac_cpp='$CXXCPP $CPPFLAGS'
19368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19371
19372 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19373 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19374 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19375 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 else
19377 cat >conftest.$ac_ext <<_ACEOF
19378 /* confdefs.h. */
19379 _ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383
19384 int
19385 main ()
19386 {
19387
19388 #ifndef __HP_aCC
19389 choke me
19390 #endif
19391
19392 ;
19393 return 0;
19394 }
19395 _ACEOF
19396 rm -f conftest.$ac_objext
19397 if { (ac_try="$ac_compile"
19398 case "(($ac_try" in
19399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19400 *) ac_try_echo=$ac_try;;
19401 esac
19402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19403 (eval "$ac_compile") 2>conftest.er1
19404 ac_status=$?
19405 grep -v '^ *+' conftest.er1 >conftest.err
19406 rm -f conftest.er1
19407 cat conftest.err >&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); } && {
19410 test -z "$ac_cxx_werror_flag" ||
19411 test ! -s conftest.err
19412 } && test -s conftest.$ac_objext; then
19413 bakefile_cv_cxx_compiler___HP_aCC=yes
19414 else
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19417
19418 bakefile_cv_cxx_compiler___HP_aCC=no
19419
19420 fi
19421
19422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19423
19424
19425 fi
19426 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19427 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19428 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19429 :; HPCXX=yes
19430 else
19431 :;
19432 fi
19433 ac_ext=c
19434 ac_cpp='$CPP $CPPFLAGS'
19435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19438
19439
19440
19441 ;;
19442
19443 OSF1)
19444
19445
19446 ac_ext=cpp
19447 ac_cpp='$CXXCPP $CPPFLAGS'
19448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19451
19452 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19453 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19454 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19455 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 else
19457 cat >conftest.$ac_ext <<_ACEOF
19458 /* confdefs.h. */
19459 _ACEOF
19460 cat confdefs.h >>conftest.$ac_ext
19461 cat >>conftest.$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19463
19464 int
19465 main ()
19466 {
19467
19468 #ifndef __DECCXX
19469 choke me
19470 #endif
19471
19472 ;
19473 return 0;
19474 }
19475 _ACEOF
19476 rm -f conftest.$ac_objext
19477 if { (ac_try="$ac_compile"
19478 case "(($ac_try" in
19479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19480 *) ac_try_echo=$ac_try;;
19481 esac
19482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19483 (eval "$ac_compile") 2>conftest.er1
19484 ac_status=$?
19485 grep -v '^ *+' conftest.er1 >conftest.err
19486 rm -f conftest.er1
19487 cat conftest.err >&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } && {
19490 test -z "$ac_cxx_werror_flag" ||
19491 test ! -s conftest.err
19492 } && test -s conftest.$ac_objext; then
19493 bakefile_cv_cxx_compiler___DECCXX=yes
19494 else
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19497
19498 bakefile_cv_cxx_compiler___DECCXX=no
19499
19500 fi
19501
19502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19503
19504
19505 fi
19506 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19507 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19508 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19509 :; COMPAQCXX=yes
19510 else
19511 :;
19512 fi
19513 ac_ext=c
19514 ac_cpp='$CPP $CPPFLAGS'
19515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19518
19519
19520
19521 ;;
19522
19523 SunOS)
19524
19525
19526 ac_ext=cpp
19527 ac_cpp='$CXXCPP $CPPFLAGS'
19528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19531
19532 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19533 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19534 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19536 else
19537 cat >conftest.$ac_ext <<_ACEOF
19538 /* confdefs.h. */
19539 _ACEOF
19540 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543
19544 int
19545 main ()
19546 {
19547
19548 #ifndef __SUNPRO_CC
19549 choke me
19550 #endif
19551
19552 ;
19553 return 0;
19554 }
19555 _ACEOF
19556 rm -f conftest.$ac_objext
19557 if { (ac_try="$ac_compile"
19558 case "(($ac_try" in
19559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19560 *) ac_try_echo=$ac_try;;
19561 esac
19562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19563 (eval "$ac_compile") 2>conftest.er1
19564 ac_status=$?
19565 grep -v '^ *+' conftest.er1 >conftest.err
19566 rm -f conftest.er1
19567 cat conftest.err >&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } && {
19570 test -z "$ac_cxx_werror_flag" ||
19571 test ! -s conftest.err
19572 } && test -s conftest.$ac_objext; then
19573 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19574 else
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19577
19578 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19579
19580 fi
19581
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19583
19584
19585 fi
19586 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19587 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19588 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19589 :; SUNCXX=yes
19590 else
19591 :;
19592 fi
19593 ac_ext=c
19594 ac_cpp='$CPP $CPPFLAGS'
19595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19598
19599
19600
19601 ;;
19602 esac
19603 fi
19604
19605
19606
19607 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19608 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19609 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19610 { (exit 1); exit 1; }; }
19611 fi
19612
19613 if test -n "$ac_tool_prefix"; then
19614 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19615 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19618 if test "${ac_cv_prog_RANLIB+set}" = set; then
19619 echo $ECHO_N "(cached) $ECHO_C" >&6
19620 else
19621 if test -n "$RANLIB"; then
19622 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19623 else
19624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19625 for as_dir in $PATH
19626 do
19627 IFS=$as_save_IFS
19628 test -z "$as_dir" && as_dir=.
19629 for ac_exec_ext in '' $ac_executable_extensions; do
19630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19631 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19633 break 2
19634 fi
19635 done
19636 done
19637 IFS=$as_save_IFS
19638
19639 fi
19640 fi
19641 RANLIB=$ac_cv_prog_RANLIB
19642 if test -n "$RANLIB"; then
19643 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19644 echo "${ECHO_T}$RANLIB" >&6; }
19645 else
19646 { echo "$as_me:$LINENO: result: no" >&5
19647 echo "${ECHO_T}no" >&6; }
19648 fi
19649
19650
19651 fi
19652 if test -z "$ac_cv_prog_RANLIB"; then
19653 ac_ct_RANLIB=$RANLIB
19654 # Extract the first word of "ranlib", so it can be a program name with args.
19655 set dummy ranlib; ac_word=$2
19656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19658 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19660 else
19661 if test -n "$ac_ct_RANLIB"; then
19662 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19663 else
19664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19665 for as_dir in $PATH
19666 do
19667 IFS=$as_save_IFS
19668 test -z "$as_dir" && as_dir=.
19669 for ac_exec_ext in '' $ac_executable_extensions; do
19670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19671 ac_cv_prog_ac_ct_RANLIB="ranlib"
19672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19673 break 2
19674 fi
19675 done
19676 done
19677 IFS=$as_save_IFS
19678
19679 fi
19680 fi
19681 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19682 if test -n "$ac_ct_RANLIB"; then
19683 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19684 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19685 else
19686 { echo "$as_me:$LINENO: result: no" >&5
19687 echo "${ECHO_T}no" >&6; }
19688 fi
19689
19690 if test "x$ac_ct_RANLIB" = x; then
19691 RANLIB=":"
19692 else
19693 case $cross_compiling:$ac_tool_warned in
19694 yes:)
19695 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19696 whose name does not start with the host triplet. If you think this
19697 configuration is useful to you, please write to autoconf@gnu.org." >&5
19698 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19699 whose name does not start with the host triplet. If you think this
19700 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19701 ac_tool_warned=yes ;;
19702 esac
19703 RANLIB=$ac_ct_RANLIB
19704 fi
19705 else
19706 RANLIB="$ac_cv_prog_RANLIB"
19707 fi
19708
19709
19710 if test "x$SUNCXX" != xyes; then
19711 if test -n "$ac_tool_prefix"; then
19712 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19713 set dummy ${ac_tool_prefix}ar; ac_word=$2
19714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19716 if test "${ac_cv_prog_AR+set}" = set; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 else
19719 if test -n "$AR"; then
19720 ac_cv_prog_AR="$AR" # Let the user override the test.
19721 else
19722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19723 for as_dir in $PATH
19724 do
19725 IFS=$as_save_IFS
19726 test -z "$as_dir" && as_dir=.
19727 for ac_exec_ext in '' $ac_executable_extensions; do
19728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19729 ac_cv_prog_AR="${ac_tool_prefix}ar"
19730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19731 break 2
19732 fi
19733 done
19734 done
19735 IFS=$as_save_IFS
19736
19737 fi
19738 fi
19739 AR=$ac_cv_prog_AR
19740 if test -n "$AR"; then
19741 { echo "$as_me:$LINENO: result: $AR" >&5
19742 echo "${ECHO_T}$AR" >&6; }
19743 else
19744 { echo "$as_me:$LINENO: result: no" >&5
19745 echo "${ECHO_T}no" >&6; }
19746 fi
19747
19748
19749 fi
19750 if test -z "$ac_cv_prog_AR"; then
19751 ac_ct_AR=$AR
19752 # Extract the first word of "ar", so it can be a program name with args.
19753 set dummy ar; ac_word=$2
19754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19756 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19757 echo $ECHO_N "(cached) $ECHO_C" >&6
19758 else
19759 if test -n "$ac_ct_AR"; then
19760 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19761 else
19762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19763 for as_dir in $PATH
19764 do
19765 IFS=$as_save_IFS
19766 test -z "$as_dir" && as_dir=.
19767 for ac_exec_ext in '' $ac_executable_extensions; do
19768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19769 ac_cv_prog_ac_ct_AR="ar"
19770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19771 break 2
19772 fi
19773 done
19774 done
19775 IFS=$as_save_IFS
19776
19777 fi
19778 fi
19779 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19780 if test -n "$ac_ct_AR"; then
19781 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19782 echo "${ECHO_T}$ac_ct_AR" >&6; }
19783 else
19784 { echo "$as_me:$LINENO: result: no" >&5
19785 echo "${ECHO_T}no" >&6; }
19786 fi
19787
19788 if test "x$ac_ct_AR" = x; then
19789 AR=""
19790 else
19791 case $cross_compiling:$ac_tool_warned in
19792 yes:)
19793 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19794 whose name does not start with the host triplet. If you think this
19795 configuration is useful to you, please write to autoconf@gnu.org." >&5
19796 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19797 whose name does not start with the host triplet. If you think this
19798 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19799 ac_tool_warned=yes ;;
19800 esac
19801 AR=$ac_ct_AR
19802 fi
19803 else
19804 AR="$ac_cv_prog_AR"
19805 fi
19806
19807 if test "x$AR" = "x" ; then
19808 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19809 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19810 { (exit 1); exit 1; }; }
19811 fi
19812 fi
19813
19814 # Find a good install program. We prefer a C program (faster),
19815 # so one script is as good as another. But avoid the broken or
19816 # incompatible versions:
19817 # SysV /etc/install, /usr/sbin/install
19818 # SunOS /usr/etc/install
19819 # IRIX /sbin/install
19820 # AIX /bin/install
19821 # AmigaOS /C/install, which installs bootblocks on floppy discs
19822 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19823 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19824 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19825 # OS/2's system install, which has a completely different semantic
19826 # ./install, which can be erroneously created by make from ./install.sh.
19827 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19828 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19829 if test -z "$INSTALL"; then
19830 if test "${ac_cv_path_install+set}" = set; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19832 else
19833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19834 for as_dir in $PATH
19835 do
19836 IFS=$as_save_IFS
19837 test -z "$as_dir" && as_dir=.
19838 # Account for people who put trailing slashes in PATH elements.
19839 case $as_dir/ in
19840 ./ | .// | /cC/* | \
19841 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19842 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19843 /usr/ucb/* ) ;;
19844 *)
19845 # OSF1 and SCO ODT 3.0 have their own names for install.
19846 # Don't use installbsd from OSF since it installs stuff as root
19847 # by default.
19848 for ac_prog in ginstall scoinst install; do
19849 for ac_exec_ext in '' $ac_executable_extensions; do
19850 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19851 if test $ac_prog = install &&
19852 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19853 # AIX install. It has an incompatible calling convention.
19854 :
19855 elif test $ac_prog = install &&
19856 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19857 # program-specific install script used by HP pwplus--don't use.
19858 :
19859 else
19860 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19861 break 3
19862 fi
19863 fi
19864 done
19865 done
19866 ;;
19867 esac
19868 done
19869 IFS=$as_save_IFS
19870
19871
19872 fi
19873 if test "${ac_cv_path_install+set}" = set; then
19874 INSTALL=$ac_cv_path_install
19875 else
19876 # As a last resort, use the slow shell script. Don't cache a
19877 # value for INSTALL within a source directory, because that will
19878 # break other packages using the cache if that directory is
19879 # removed, or if the value is a relative name.
19880 INSTALL=$ac_install_sh
19881 fi
19882 fi
19883 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19884 echo "${ECHO_T}$INSTALL" >&6; }
19885
19886 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19887 # It thinks the first close brace ends the variable substitution.
19888 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19889
19890 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19891
19892 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19893
19894
19895 case ${INSTALL} in
19896 /* ) # Absolute
19897 ;;
19898 ?:* ) # Drive letter, considered as absolute.
19899 ;;
19900 *)
19901 INSTALL=`pwd`/${INSTALL} ;;
19902 esac
19903
19904
19905 case "${host}" in
19906
19907 *-*-darwin* )
19908 INSTALL_PROGRAM="cp -fp"
19909 INSTALL_DATA="cp -fp"
19910 ;;
19911 *)
19912 ;;
19913 esac
19914
19915 if test -n "$ac_tool_prefix"; then
19916 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19917 set dummy ${ac_tool_prefix}strip; ac_word=$2
19918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19920 if test "${ac_cv_prog_STRIP+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 else
19923 if test -n "$STRIP"; then
19924 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19925 else
19926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19927 for as_dir in $PATH
19928 do
19929 IFS=$as_save_IFS
19930 test -z "$as_dir" && as_dir=.
19931 for ac_exec_ext in '' $ac_executable_extensions; do
19932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19933 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19935 break 2
19936 fi
19937 done
19938 done
19939 IFS=$as_save_IFS
19940
19941 fi
19942 fi
19943 STRIP=$ac_cv_prog_STRIP
19944 if test -n "$STRIP"; then
19945 { echo "$as_me:$LINENO: result: $STRIP" >&5
19946 echo "${ECHO_T}$STRIP" >&6; }
19947 else
19948 { echo "$as_me:$LINENO: result: no" >&5
19949 echo "${ECHO_T}no" >&6; }
19950 fi
19951
19952
19953 fi
19954 if test -z "$ac_cv_prog_STRIP"; then
19955 ac_ct_STRIP=$STRIP
19956 # Extract the first word of "strip", so it can be a program name with args.
19957 set dummy strip; ac_word=$2
19958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19960 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19961 echo $ECHO_N "(cached) $ECHO_C" >&6
19962 else
19963 if test -n "$ac_ct_STRIP"; then
19964 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19965 else
19966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19967 for as_dir in $PATH
19968 do
19969 IFS=$as_save_IFS
19970 test -z "$as_dir" && as_dir=.
19971 for ac_exec_ext in '' $ac_executable_extensions; do
19972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19973 ac_cv_prog_ac_ct_STRIP="strip"
19974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19975 break 2
19976 fi
19977 done
19978 done
19979 IFS=$as_save_IFS
19980
19981 fi
19982 fi
19983 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19984 if test -n "$ac_ct_STRIP"; then
19985 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19986 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19987 else
19988 { echo "$as_me:$LINENO: result: no" >&5
19989 echo "${ECHO_T}no" >&6; }
19990 fi
19991
19992 if test "x$ac_ct_STRIP" = x; then
19993 STRIP="true"
19994 else
19995 case $cross_compiling:$ac_tool_warned in
19996 yes:)
19997 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19998 whose name does not start with the host triplet. If you think this
19999 configuration is useful to you, please write to autoconf@gnu.org." >&5
20000 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20001 whose name does not start with the host triplet. If you think this
20002 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20003 ac_tool_warned=yes ;;
20004 esac
20005 STRIP=$ac_ct_STRIP
20006 fi
20007 else
20008 STRIP="$ac_cv_prog_STRIP"
20009 fi
20010
20011
20012 if test "$wxUSE_WINE" = "yes"; then
20013 if test -n "$ac_tool_prefix"; then
20014 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
20015 set dummy ${ac_tool_prefix}wrc; ac_word=$2
20016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20018 if test "${ac_cv_prog_WINDRES+set}" = set; then
20019 echo $ECHO_N "(cached) $ECHO_C" >&6
20020 else
20021 if test -n "$WINDRES"; then
20022 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20023 else
20024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20025 for as_dir in $PATH
20026 do
20027 IFS=$as_save_IFS
20028 test -z "$as_dir" && as_dir=.
20029 for ac_exec_ext in '' $ac_executable_extensions; do
20030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20031 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
20032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20033 break 2
20034 fi
20035 done
20036 done
20037 IFS=$as_save_IFS
20038
20039 fi
20040 fi
20041 WINDRES=$ac_cv_prog_WINDRES
20042 if test -n "$WINDRES"; then
20043 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20044 echo "${ECHO_T}$WINDRES" >&6; }
20045 else
20046 { echo "$as_me:$LINENO: result: no" >&5
20047 echo "${ECHO_T}no" >&6; }
20048 fi
20049
20050
20051 fi
20052 if test -z "$ac_cv_prog_WINDRES"; then
20053 ac_ct_WINDRES=$WINDRES
20054 # Extract the first word of "wrc", so it can be a program name with args.
20055 set dummy wrc; ac_word=$2
20056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20058 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20059 echo $ECHO_N "(cached) $ECHO_C" >&6
20060 else
20061 if test -n "$ac_ct_WINDRES"; then
20062 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20063 else
20064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20065 for as_dir in $PATH
20066 do
20067 IFS=$as_save_IFS
20068 test -z "$as_dir" && as_dir=.
20069 for ac_exec_ext in '' $ac_executable_extensions; do
20070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20071 ac_cv_prog_ac_ct_WINDRES="wrc"
20072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20073 break 2
20074 fi
20075 done
20076 done
20077 IFS=$as_save_IFS
20078
20079 fi
20080 fi
20081 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20082 if test -n "$ac_ct_WINDRES"; then
20083 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20084 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20085 else
20086 { echo "$as_me:$LINENO: result: no" >&5
20087 echo "${ECHO_T}no" >&6; }
20088 fi
20089
20090 if test "x$ac_ct_WINDRES" = x; then
20091 WINDRES=""
20092 else
20093 case $cross_compiling:$ac_tool_warned in
20094 yes:)
20095 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20096 whose name does not start with the host triplet. If you think this
20097 configuration is useful to you, please write to autoconf@gnu.org." >&5
20098 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20099 whose name does not start with the host triplet. If you think this
20100 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20101 ac_tool_warned=yes ;;
20102 esac
20103 WINDRES=$ac_ct_WINDRES
20104 fi
20105 else
20106 WINDRES="$ac_cv_prog_WINDRES"
20107 fi
20108
20109 RESCOMP="$WINDRES"
20110 else
20111 case "${host}" in
20112 *-*-cygwin* | *-*-mingw32* )
20113 if test -n "$ac_tool_prefix"; then
20114 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20115 set dummy ${ac_tool_prefix}windres; ac_word=$2
20116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20118 if test "${ac_cv_prog_WINDRES+set}" = set; then
20119 echo $ECHO_N "(cached) $ECHO_C" >&6
20120 else
20121 if test -n "$WINDRES"; then
20122 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20123 else
20124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20125 for as_dir in $PATH
20126 do
20127 IFS=$as_save_IFS
20128 test -z "$as_dir" && as_dir=.
20129 for ac_exec_ext in '' $ac_executable_extensions; do
20130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20131 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20133 break 2
20134 fi
20135 done
20136 done
20137 IFS=$as_save_IFS
20138
20139 fi
20140 fi
20141 WINDRES=$ac_cv_prog_WINDRES
20142 if test -n "$WINDRES"; then
20143 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20144 echo "${ECHO_T}$WINDRES" >&6; }
20145 else
20146 { echo "$as_me:$LINENO: result: no" >&5
20147 echo "${ECHO_T}no" >&6; }
20148 fi
20149
20150
20151 fi
20152 if test -z "$ac_cv_prog_WINDRES"; then
20153 ac_ct_WINDRES=$WINDRES
20154 # Extract the first word of "windres", so it can be a program name with args.
20155 set dummy windres; ac_word=$2
20156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20158 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20159 echo $ECHO_N "(cached) $ECHO_C" >&6
20160 else
20161 if test -n "$ac_ct_WINDRES"; then
20162 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20163 else
20164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20165 for as_dir in $PATH
20166 do
20167 IFS=$as_save_IFS
20168 test -z "$as_dir" && as_dir=.
20169 for ac_exec_ext in '' $ac_executable_extensions; do
20170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20171 ac_cv_prog_ac_ct_WINDRES="windres"
20172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20173 break 2
20174 fi
20175 done
20176 done
20177 IFS=$as_save_IFS
20178
20179 fi
20180 fi
20181 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20182 if test -n "$ac_ct_WINDRES"; then
20183 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20184 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20185 else
20186 { echo "$as_me:$LINENO: result: no" >&5
20187 echo "${ECHO_T}no" >&6; }
20188 fi
20189
20190 if test "x$ac_ct_WINDRES" = x; then
20191 WINDRES=""
20192 else
20193 case $cross_compiling:$ac_tool_warned in
20194 yes:)
20195 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20196 whose name does not start with the host triplet. If you think this
20197 configuration is useful to you, please write to autoconf@gnu.org." >&5
20198 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20199 whose name does not start with the host triplet. If you think this
20200 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20201 ac_tool_warned=yes ;;
20202 esac
20203 WINDRES=$ac_ct_WINDRES
20204 fi
20205 else
20206 WINDRES="$ac_cv_prog_WINDRES"
20207 fi
20208
20209 RESCOMP="$WINDRES"
20210 if test -n "$ac_tool_prefix"; then
20211 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20212 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20215 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20216 echo $ECHO_N "(cached) $ECHO_C" >&6
20217 else
20218 if test -n "$DLLTOOL"; then
20219 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20220 else
20221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20222 for as_dir in $PATH
20223 do
20224 IFS=$as_save_IFS
20225 test -z "$as_dir" && as_dir=.
20226 for ac_exec_ext in '' $ac_executable_extensions; do
20227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20228 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20230 break 2
20231 fi
20232 done
20233 done
20234 IFS=$as_save_IFS
20235
20236 fi
20237 fi
20238 DLLTOOL=$ac_cv_prog_DLLTOOL
20239 if test -n "$DLLTOOL"; then
20240 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20241 echo "${ECHO_T}$DLLTOOL" >&6; }
20242 else
20243 { echo "$as_me:$LINENO: result: no" >&5
20244 echo "${ECHO_T}no" >&6; }
20245 fi
20246
20247
20248 fi
20249 if test -z "$ac_cv_prog_DLLTOOL"; then
20250 ac_ct_DLLTOOL=$DLLTOOL
20251 # Extract the first word of "dlltool", so it can be a program name with args.
20252 set dummy dlltool; ac_word=$2
20253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20255 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20256 echo $ECHO_N "(cached) $ECHO_C" >&6
20257 else
20258 if test -n "$ac_ct_DLLTOOL"; then
20259 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20260 else
20261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20262 for as_dir in $PATH
20263 do
20264 IFS=$as_save_IFS
20265 test -z "$as_dir" && as_dir=.
20266 for ac_exec_ext in '' $ac_executable_extensions; do
20267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20268 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20270 break 2
20271 fi
20272 done
20273 done
20274 IFS=$as_save_IFS
20275
20276 fi
20277 fi
20278 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20279 if test -n "$ac_ct_DLLTOOL"; then
20280 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20281 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20282 else
20283 { echo "$as_me:$LINENO: result: no" >&5
20284 echo "${ECHO_T}no" >&6; }
20285 fi
20286
20287 if test "x$ac_ct_DLLTOOL" = x; then
20288 DLLTOOL=""
20289 else
20290 case $cross_compiling:$ac_tool_warned in
20291 yes:)
20292 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20293 whose name does not start with the host triplet. If you think this
20294 configuration is useful to you, please write to autoconf@gnu.org." >&5
20295 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20296 whose name does not start with the host triplet. If you think this
20297 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20298 ac_tool_warned=yes ;;
20299 esac
20300 DLLTOOL=$ac_ct_DLLTOOL
20301 fi
20302 else
20303 DLLTOOL="$ac_cv_prog_DLLTOOL"
20304 fi
20305
20306 ;;
20307 esac
20308 fi
20309
20310 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20311 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20312 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20313 echo $ECHO_N "(cached) $ECHO_C" >&6
20314 else
20315
20316 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20317 $EGREP -s GNU > /dev/null); then
20318 wx_cv_prog_makeisgnu="yes"
20319 else
20320 wx_cv_prog_makeisgnu="no"
20321 fi
20322
20323 fi
20324 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20325 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20326
20327 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20328 IF_GNU_MAKE=""
20329 else
20330 IF_GNU_MAKE="#"
20331 fi
20332
20333
20334
20335 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20336 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20337 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20338 if test "${wx_cv_prog_makevpath+set}" = set; then
20339 echo $ECHO_N "(cached) $ECHO_C" >&6
20340 else
20341
20342 cat - << EOF > confMake
20343 check : file
20344 cp \$? \$@
20345 cp \$? final_file
20346 EOF
20347
20348 if test ! -d sub ; then
20349 mkdir sub
20350 fi
20351 echo dummy > sub/file
20352 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20353 RESULT=$?
20354 rm -f sub/file check final_file confMake
20355 rmdir sub
20356 if test "$RESULT" = 0; then
20357 wx_cv_prog_makevpath="yes"
20358 else
20359 wx_cv_prog_makevpath="no"
20360 fi
20361
20362 fi
20363 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20364 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20365
20366 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20367 { { echo "$as_me:$LINENO: error:
20368 You need a make-utility that is able to use the variable
20369 VPATH correctly.
20370 If your version of make does not support VPATH correctly,
20371 please install GNU-make (possibly as gmake), and start
20372 configure with the following command:
20373 export MAKE=gmake; ./configure for sh-type shells
20374 setenv MAKE gmake; ./configure for csh-type shells
20375 Also please do remember to use gmake in this case every time
20376 you are trying to compile.
20377 " >&5
20378 echo "$as_me: error:
20379 You need a make-utility that is able to use the variable
20380 VPATH correctly.
20381 If your version of make does not support VPATH correctly,
20382 please install GNU-make (possibly as gmake), and start
20383 configure with the following command:
20384 export MAKE=gmake; ./configure for sh-type shells
20385 setenv MAKE gmake; ./configure for csh-type shells
20386 Also please do remember to use gmake in this case every time
20387 you are trying to compile.
20388 " >&2;}
20389 { (exit 1); exit 1; }; }
20390 fi fi
20391 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20392 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20393 LN_S=$as_ln_s
20394 if test "$LN_S" = "ln -s"; then
20395 { echo "$as_me:$LINENO: result: yes" >&5
20396 echo "${ECHO_T}yes" >&6; }
20397 else
20398 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20399 echo "${ECHO_T}no, using $LN_S" >&6; }
20400 fi
20401
20402
20403
20404
20405 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20406 CXXFLAGS="-qunique $CXXFLAGS"
20407 fi
20408
20409 case "${host}" in
20410 powerpc-*-darwin* )
20411 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20412 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20413 cat >conftest.$ac_ext <<_ACEOF
20414 /* confdefs.h. */
20415 _ACEOF
20416 cat confdefs.h >>conftest.$ac_ext
20417 cat >>conftest.$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20419
20420 int
20421 main ()
20422 {
20423 #ifndef __POWERPC__
20424 choke me for lack of PowerPC
20425 #endif
20426
20427 ;
20428 return 0;
20429 }
20430 _ACEOF
20431 rm -f conftest.$ac_objext
20432 if { (ac_try="$ac_compile"
20433 case "(($ac_try" in
20434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20435 *) ac_try_echo=$ac_try;;
20436 esac
20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20438 (eval "$ac_compile") 2>conftest.er1
20439 ac_status=$?
20440 grep -v '^ *+' conftest.er1 >conftest.err
20441 rm -f conftest.er1
20442 cat conftest.err >&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } && {
20445 test -z "$ac_c_werror_flag" ||
20446 test ! -s conftest.err
20447 } && test -s conftest.$ac_objext; then
20448 { echo "$as_me:$LINENO: result: yes" >&5
20449 echo "${ECHO_T}yes" >&6; }
20450 else
20451 echo "$as_me: failed program was:" >&5
20452 sed 's/^/| /' conftest.$ac_ext >&5
20453
20454 { echo "$as_me:$LINENO: result: no" >&5
20455 echo "${ECHO_T}no" >&6; }
20456 cat >>confdefs.h <<\_ACEOF
20457 #define __POWERPC__ 1
20458 _ACEOF
20459
20460
20461 fi
20462
20463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20464 ;;
20465 esac
20466
20467 case "${host}" in
20468 *-*-darwin* )
20469 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20470 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20471 cat >conftest.$ac_ext <<_ACEOF
20472 /* confdefs.h. */
20473 _ACEOF
20474 cat confdefs.h >>conftest.$ac_ext
20475 cat >>conftest.$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477 #include <CoreFoundation/CFBase.h>
20478
20479 int
20480 main ()
20481 {
20482
20483 ;
20484 return 0;
20485 }
20486 _ACEOF
20487 rm -f conftest.$ac_objext
20488 if { (ac_try="$ac_compile"
20489 case "(($ac_try" in
20490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20491 *) ac_try_echo=$ac_try;;
20492 esac
20493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20494 (eval "$ac_compile") 2>conftest.er1
20495 ac_status=$?
20496 grep -v '^ *+' conftest.er1 >conftest.err
20497 rm -f conftest.er1
20498 cat conftest.err >&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } && {
20501 test -z "$ac_c_werror_flag" ||
20502 test ! -s conftest.err
20503 } && test -s conftest.$ac_objext; then
20504 { echo "$as_me:$LINENO: result: yes" >&5
20505 echo "${ECHO_T}yes" >&6; }
20506 else
20507 echo "$as_me: failed program was:" >&5
20508 sed 's/^/| /' conftest.$ac_ext >&5
20509
20510 { echo "$as_me:$LINENO: result: no" >&5
20511 echo "${ECHO_T}no" >&6; }
20512 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20513 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20514 cat >conftest.$ac_ext <<_ACEOF
20515 /* confdefs.h. */
20516 _ACEOF
20517 cat confdefs.h >>conftest.$ac_ext
20518 cat >>conftest.$ac_ext <<_ACEOF
20519 /* end confdefs.h. */
20520 #define __CF_USE_FRAMEWORK_INCLUDES__
20521 #include <CoreFoundation/CFBase.h>
20522
20523 int
20524 main ()
20525 {
20526
20527 ;
20528 return 0;
20529 }
20530 _ACEOF
20531 rm -f conftest.$ac_objext
20532 if { (ac_try="$ac_compile"
20533 case "(($ac_try" in
20534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20535 *) ac_try_echo=$ac_try;;
20536 esac
20537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20538 (eval "$ac_compile") 2>conftest.er1
20539 ac_status=$?
20540 grep -v '^ *+' conftest.er1 >conftest.err
20541 rm -f conftest.er1
20542 cat conftest.err >&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } && {
20545 test -z "$ac_c_werror_flag" ||
20546 test ! -s conftest.err
20547 } && test -s conftest.$ac_objext; then
20548 { echo "$as_me:$LINENO: result: yes" >&5
20549 echo "${ECHO_T}yes" >&6; }
20550 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20551 else
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.$ac_ext >&5
20554
20555 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20556 See \`config.log' for more details." >&5
20557 echo "$as_me: error: no. CoreFoundation not available.
20558 See \`config.log' for more details." >&2;}
20559 { (exit 1); exit 1; }; }
20560
20561 fi
20562
20563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20564
20565
20566 fi
20567
20568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20569 ;;
20570 esac
20571
20572 wants_win32=0
20573 doesnt_want_win32=0
20574 case "${host}" in
20575 *-*-cygwin*)
20576 if test "$wxUSE_MSW" = 1 ; then
20577 wants_win32=1
20578 else
20579 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20580 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20581 if test "${wx_cv_nocygwin+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20583 else
20584
20585 cat >conftest.$ac_ext <<_ACEOF
20586 /* confdefs.h. */
20587 _ACEOF
20588 cat confdefs.h >>conftest.$ac_ext
20589 cat >>conftest.$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591
20592 int
20593 main ()
20594 {
20595
20596 #ifdef __MINGW32__
20597 choke me
20598 #endif
20599
20600 ;
20601 return 0;
20602 }
20603 _ACEOF
20604 rm -f conftest.$ac_objext
20605 if { (ac_try="$ac_compile"
20606 case "(($ac_try" in
20607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20608 *) ac_try_echo=$ac_try;;
20609 esac
20610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20611 (eval "$ac_compile") 2>conftest.er1
20612 ac_status=$?
20613 grep -v '^ *+' conftest.er1 >conftest.err
20614 rm -f conftest.er1
20615 cat conftest.err >&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); } && {
20618 test -z "$ac_c_werror_flag" ||
20619 test ! -s conftest.err
20620 } && test -s conftest.$ac_objext; then
20621 wx_cv_nocygwin=no
20622 else
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20625
20626 wx_cv_nocygwin=yes
20627
20628 fi
20629
20630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20631
20632
20633 fi
20634 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20635 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20636
20637 if test "$wx_cv_nocygwin" = "yes"; then
20638 wants_win32=1
20639 else
20640 doesnt_want_win32=1
20641 fi
20642 fi
20643 if test "$wants_win32" = 1 ; then
20644 BAKEFILE_FORCE_PLATFORM=win32
20645 fi
20646 ;;
20647 *-*-mingw*)
20648 wants_win32=1
20649 ;;
20650 esac
20651
20652 if test "$wxUSE_WINE" = "yes"; then
20653 wants_win32=1
20654 LDFLAGS_GUI="-mwindows"
20655 fi
20656
20657 if test "$wants_win32" = 1 ; then
20658 USE_UNIX=0
20659 USE_WIN32=1
20660 cat >>confdefs.h <<\_ACEOF
20661 #define __WIN32__ 1
20662 _ACEOF
20663
20664 cat >>confdefs.h <<\_ACEOF
20665 #define __WIN95__ 1
20666 _ACEOF
20667
20668 cat >>confdefs.h <<\_ACEOF
20669 #define __WINDOWS__ 1
20670 _ACEOF
20671
20672 cat >>confdefs.h <<\_ACEOF
20673 #define __GNUWIN32__ 1
20674 _ACEOF
20675
20676 cat >>confdefs.h <<\_ACEOF
20677 #define STRICT 1
20678 _ACEOF
20679
20680 fi
20681 if test "$doesnt_want_win32" = 1 ; then
20682 USE_UNIX=1
20683 USE_WIN32=0
20684 fi
20685
20686 if test "$USE_UNIX" = 1 ; then
20687 wxUSE_UNIX=yes
20688 cat >>confdefs.h <<\_ACEOF
20689 #define __UNIX__ 1
20690 _ACEOF
20691
20692 fi
20693
20694 case "${host}" in
20695 *-pc-os2_emx | *-pc-os2-emx )
20696 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20697 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20698 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20699 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20700 echo $ECHO_N "(cached) $ECHO_C" >&6
20701 else
20702 ac_check_lib_save_LIBS=$LIBS
20703 LIBS="-lcExt $LIBS"
20704 cat >conftest.$ac_ext <<_ACEOF
20705 /* confdefs.h. */
20706 _ACEOF
20707 cat confdefs.h >>conftest.$ac_ext
20708 cat >>conftest.$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20710
20711 /* Override any GCC internal prototype to avoid an error.
20712 Use char because int might match the return type of a GCC
20713 builtin and then its argument prototype would still apply. */
20714 #ifdef __cplusplus
20715 extern "C"
20716 #endif
20717 char drand48 ();
20718 int
20719 main ()
20720 {
20721 return drand48 ();
20722 ;
20723 return 0;
20724 }
20725 _ACEOF
20726 rm -f conftest.$ac_objext conftest$ac_exeext
20727 if { (ac_try="$ac_link"
20728 case "(($ac_try" in
20729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20731 esac
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_link") 2>conftest.er1
20734 ac_status=$?
20735 grep -v '^ *+' conftest.er1 >conftest.err
20736 rm -f conftest.er1
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest$ac_exeext &&
20743 $as_test_x conftest$ac_exeext; then
20744 ac_cv_lib_cExt_drand48=yes
20745 else
20746 echo "$as_me: failed program was:" >&5
20747 sed 's/^/| /' conftest.$ac_ext >&5
20748
20749 ac_cv_lib_cExt_drand48=no
20750 fi
20751
20752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20753 conftest$ac_exeext conftest.$ac_ext
20754 LIBS=$ac_check_lib_save_LIBS
20755 fi
20756 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20757 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20758 if test $ac_cv_lib_cExt_drand48 = yes; then
20759 LIBS="$LIBS -lcExt"
20760 fi
20761
20762 else
20763 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20764 fi
20765 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20766 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20767 if test "${wx_cv_gccversion+set}" = set; then
20768 echo $ECHO_N "(cached) $ECHO_C" >&6
20769 else
20770
20771 if test "$cross_compiling" = yes; then
20772 wx_cv_gccversion="EMX2"
20773
20774 else
20775 cat >conftest.$ac_ext <<_ACEOF
20776 /* confdefs.h. */
20777 _ACEOF
20778 cat confdefs.h >>conftest.$ac_ext
20779 cat >>conftest.$ac_ext <<_ACEOF
20780 /* end confdefs.h. */
20781
20782 #include <stdio.h>
20783
20784 int main()
20785 {
20786 FILE *f=fopen("conftestval", "w");
20787 if (!f) exit(1);
20788 fprintf(f,
20789 #if (__GNUC__ < 3)
20790 "EMX2"
20791 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20792 "EMX3"
20793 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20794 "Innotek5"
20795 #else
20796 "Innotek6"
20797 #endif
20798 );
20799 exit(0);
20800 }
20801
20802 _ACEOF
20803 rm -f conftest$ac_exeext
20804 if { (ac_try="$ac_link"
20805 case "(($ac_try" in
20806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20807 *) ac_try_echo=$ac_try;;
20808 esac
20809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20810 (eval "$ac_link") 2>&5
20811 ac_status=$?
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20814 { (case "(($ac_try" in
20815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20816 *) ac_try_echo=$ac_try;;
20817 esac
20818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20819 (eval "$ac_try") 2>&5
20820 ac_status=$?
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; }; then
20823 wx_cv_gccversion=`cat conftestval`
20824 else
20825 echo "$as_me: program exited with status $ac_status" >&5
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.$ac_ext >&5
20828
20829 ( exit $ac_status )
20830 wx_cv_gccversion="EMX2"
20831 fi
20832 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20833 fi
20834
20835
20836
20837 fi
20838 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20839 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20840 if test "$wx_cv_gccversion" = "EMX2"; then
20841 LIBS="$LIBS -lstdcpp"
20842 LDFLAGS="$LDFLAGS -Zsysv-signals"
20843 else
20844 if test "$wx_cv_gccversion" = "EMX3"; then
20845 LIBS="$LIBS -lstdcxx -lgcc"
20846 LDFLAGS="$LDFLAGS -Zsysv-signals"
20847 else
20848 LIBS="$LIBS -lstdc++"
20849 fi
20850 fi
20851 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20852 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20853 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20854 wxUSE_OMF=yes
20855 enable_omf=yes
20856 fi
20857 ;;
20858 *)
20859
20860 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20861 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20862 if test "${ac_cv_string_strcasecmp+set}" = set; then
20863 echo $ECHO_N "(cached) $ECHO_C" >&6
20864 else
20865
20866 cat >conftest.$ac_ext <<_ACEOF
20867 /* confdefs.h. */
20868 _ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872
20873 #include <string.h>
20874
20875 int
20876 main ()
20877 {
20878
20879 strcasecmp("foo", "bar");
20880
20881 ;
20882 return 0;
20883 }
20884 _ACEOF
20885 rm -f conftest.$ac_objext conftest$ac_exeext
20886 if { (ac_try="$ac_link"
20887 case "(($ac_try" in
20888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20889 *) ac_try_echo=$ac_try;;
20890 esac
20891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20892 (eval "$ac_link") 2>conftest.er1
20893 ac_status=$?
20894 grep -v '^ *+' conftest.er1 >conftest.err
20895 rm -f conftest.er1
20896 cat conftest.err >&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } && {
20899 test -z "$ac_c_werror_flag" ||
20900 test ! -s conftest.err
20901 } && test -s conftest$ac_exeext &&
20902 $as_test_x conftest$ac_exeext; then
20903 ac_cv_string_strcasecmp=yes
20904 else
20905 echo "$as_me: failed program was:" >&5
20906 sed 's/^/| /' conftest.$ac_ext >&5
20907
20908 ac_cv_string_strcasecmp=no
20909
20910 fi
20911
20912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20913 conftest$ac_exeext conftest.$ac_ext
20914
20915 fi
20916 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20917 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20918
20919 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20920 cat >>confdefs.h <<\_ACEOF
20921 #define HAVE_STRCASECMP_IN_STRING_H 1
20922 _ACEOF
20923
20924 else
20925 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20926 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20927 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20928 echo $ECHO_N "(cached) $ECHO_C" >&6
20929 else
20930
20931 cat >conftest.$ac_ext <<_ACEOF
20932 /* confdefs.h. */
20933 _ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937
20938 #include <strings.h>
20939
20940 int
20941 main ()
20942 {
20943
20944 strcasecmp("foo", "bar");
20945
20946 ;
20947 return 0;
20948 }
20949 _ACEOF
20950 rm -f conftest.$ac_objext conftest$ac_exeext
20951 if { (ac_try="$ac_link"
20952 case "(($ac_try" in
20953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20954 *) ac_try_echo=$ac_try;;
20955 esac
20956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20957 (eval "$ac_link") 2>conftest.er1
20958 ac_status=$?
20959 grep -v '^ *+' conftest.er1 >conftest.err
20960 rm -f conftest.er1
20961 cat conftest.err >&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } && {
20964 test -z "$ac_c_werror_flag" ||
20965 test ! -s conftest.err
20966 } && test -s conftest$ac_exeext &&
20967 $as_test_x conftest$ac_exeext; then
20968 ac_cv_strings_strcasecmp=yes
20969 else
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.$ac_ext >&5
20972
20973 ac_cv_strings_strcasecmp=no
20974
20975 fi
20976
20977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20978 conftest$ac_exeext conftest.$ac_ext
20979
20980 fi
20981 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20982 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20983
20984 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20985 cat >>confdefs.h <<\_ACEOF
20986 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20987 _ACEOF
20988
20989 else
20990 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20991 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20992 { (exit 1); exit 1; }; }
20993 fi
20994 fi
20995
20996 ;;
20997 esac
20998
20999
21000 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21001 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21002 if test "${ac_cv_header_stdc+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21004 else
21005 cat >conftest.$ac_ext <<_ACEOF
21006 /* confdefs.h. */
21007 _ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 #include <stdlib.h>
21012 #include <stdarg.h>
21013 #include <string.h>
21014 #include <float.h>
21015
21016 int
21017 main ()
21018 {
21019
21020 ;
21021 return 0;
21022 }
21023 _ACEOF
21024 rm -f conftest.$ac_objext
21025 if { (ac_try="$ac_compile"
21026 case "(($ac_try" in
21027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21028 *) ac_try_echo=$ac_try;;
21029 esac
21030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21031 (eval "$ac_compile") 2>conftest.er1
21032 ac_status=$?
21033 grep -v '^ *+' conftest.er1 >conftest.err
21034 rm -f conftest.er1
21035 cat conftest.err >&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } && {
21038 test -z "$ac_c_werror_flag" ||
21039 test ! -s conftest.err
21040 } && test -s conftest.$ac_objext; then
21041 ac_cv_header_stdc=yes
21042 else
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21045
21046 ac_cv_header_stdc=no
21047 fi
21048
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21050
21051 if test $ac_cv_header_stdc = yes; then
21052 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21053 cat >conftest.$ac_ext <<_ACEOF
21054 /* confdefs.h. */
21055 _ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 #include <string.h>
21060
21061 _ACEOF
21062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21063 $EGREP "memchr" >/dev/null 2>&1; then
21064 :
21065 else
21066 ac_cv_header_stdc=no
21067 fi
21068 rm -f conftest*
21069
21070 fi
21071
21072 if test $ac_cv_header_stdc = yes; then
21073 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21074 cat >conftest.$ac_ext <<_ACEOF
21075 /* confdefs.h. */
21076 _ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 #include <stdlib.h>
21081
21082 _ACEOF
21083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21084 $EGREP "free" >/dev/null 2>&1; then
21085 :
21086 else
21087 ac_cv_header_stdc=no
21088 fi
21089 rm -f conftest*
21090
21091 fi
21092
21093 if test $ac_cv_header_stdc = yes; then
21094 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21095 if test "$cross_compiling" = yes; then
21096 :
21097 else
21098 cat >conftest.$ac_ext <<_ACEOF
21099 /* confdefs.h. */
21100 _ACEOF
21101 cat confdefs.h >>conftest.$ac_ext
21102 cat >>conftest.$ac_ext <<_ACEOF
21103 /* end confdefs.h. */
21104 #include <ctype.h>
21105 #include <stdlib.h>
21106 #if ((' ' & 0x0FF) == 0x020)
21107 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21108 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21109 #else
21110 # define ISLOWER(c) \
21111 (('a' <= (c) && (c) <= 'i') \
21112 || ('j' <= (c) && (c) <= 'r') \
21113 || ('s' <= (c) && (c) <= 'z'))
21114 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21115 #endif
21116
21117 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21118 int
21119 main ()
21120 {
21121 int i;
21122 for (i = 0; i < 256; i++)
21123 if (XOR (islower (i), ISLOWER (i))
21124 || toupper (i) != TOUPPER (i))
21125 return 2;
21126 return 0;
21127 }
21128 _ACEOF
21129 rm -f conftest$ac_exeext
21130 if { (ac_try="$ac_link"
21131 case "(($ac_try" in
21132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21133 *) ac_try_echo=$ac_try;;
21134 esac
21135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21136 (eval "$ac_link") 2>&5
21137 ac_status=$?
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21140 { (case "(($ac_try" in
21141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21142 *) ac_try_echo=$ac_try;;
21143 esac
21144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21145 (eval "$ac_try") 2>&5
21146 ac_status=$?
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; }; then
21149 :
21150 else
21151 echo "$as_me: program exited with status $ac_status" >&5
21152 echo "$as_me: failed program was:" >&5
21153 sed 's/^/| /' conftest.$ac_ext >&5
21154
21155 ( exit $ac_status )
21156 ac_cv_header_stdc=no
21157 fi
21158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21159 fi
21160
21161
21162 fi
21163 fi
21164 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21165 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21166 if test $ac_cv_header_stdc = yes; then
21167
21168 cat >>confdefs.h <<\_ACEOF
21169 #define STDC_HEADERS 1
21170 _ACEOF
21171
21172 fi
21173
21174 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21185 inttypes.h stdint.h unistd.h
21186 do
21187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21188 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21191 echo $ECHO_N "(cached) $ECHO_C" >&6
21192 else
21193 cat >conftest.$ac_ext <<_ACEOF
21194 /* confdefs.h. */
21195 _ACEOF
21196 cat confdefs.h >>conftest.$ac_ext
21197 cat >>conftest.$ac_ext <<_ACEOF
21198 /* end confdefs.h. */
21199 $ac_includes_default
21200
21201 #include <$ac_header>
21202 _ACEOF
21203 rm -f conftest.$ac_objext
21204 if { (ac_try="$ac_compile"
21205 case "(($ac_try" in
21206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21207 *) ac_try_echo=$ac_try;;
21208 esac
21209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21210 (eval "$ac_compile") 2>conftest.er1
21211 ac_status=$?
21212 grep -v '^ *+' conftest.er1 >conftest.err
21213 rm -f conftest.er1
21214 cat conftest.err >&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); } && {
21217 test -z "$ac_c_werror_flag" ||
21218 test ! -s conftest.err
21219 } && test -s conftest.$ac_objext; then
21220 eval "$as_ac_Header=yes"
21221 else
21222 echo "$as_me: failed program was:" >&5
21223 sed 's/^/| /' conftest.$ac_ext >&5
21224
21225 eval "$as_ac_Header=no"
21226 fi
21227
21228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21229 fi
21230 ac_res=`eval echo '${'$as_ac_Header'}'`
21231 { echo "$as_me:$LINENO: result: $ac_res" >&5
21232 echo "${ECHO_T}$ac_res" >&6; }
21233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21234 cat >>confdefs.h <<_ACEOF
21235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21236 _ACEOF
21237
21238 fi
21239
21240 done
21241
21242
21243
21244
21245
21246
21247
21248
21249 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21250 do
21251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21255 echo $ECHO_N "(cached) $ECHO_C" >&6
21256 else
21257 cat >conftest.$ac_ext <<_ACEOF
21258 /* confdefs.h. */
21259 _ACEOF
21260 cat confdefs.h >>conftest.$ac_ext
21261 cat >>conftest.$ac_ext <<_ACEOF
21262 /* end confdefs.h. */
21263 $ac_includes_default
21264
21265 #include <$ac_header>
21266 _ACEOF
21267 rm -f conftest.$ac_objext
21268 if { (ac_try="$ac_compile"
21269 case "(($ac_try" in
21270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21271 *) ac_try_echo=$ac_try;;
21272 esac
21273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21274 (eval "$ac_compile") 2>conftest.er1
21275 ac_status=$?
21276 grep -v '^ *+' conftest.er1 >conftest.err
21277 rm -f conftest.er1
21278 cat conftest.err >&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } && {
21281 test -z "$ac_c_werror_flag" ||
21282 test ! -s conftest.err
21283 } && test -s conftest.$ac_objext; then
21284 eval "$as_ac_Header=yes"
21285 else
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.$ac_ext >&5
21288
21289 eval "$as_ac_Header=no"
21290 fi
21291
21292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21293 fi
21294 ac_res=`eval echo '${'$as_ac_Header'}'`
21295 { echo "$as_me:$LINENO: result: $ac_res" >&5
21296 echo "${ECHO_T}$ac_res" >&6; }
21297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21298 cat >>confdefs.h <<_ACEOF
21299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21300 _ACEOF
21301
21302 fi
21303
21304 done
21305
21306
21307 if test "$ac_cv_header_wchar_h" != "yes"; then
21308
21309 for ac_header in wcstr.h
21310 do
21311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21312 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21315 echo $ECHO_N "(cached) $ECHO_C" >&6
21316 else
21317 cat >conftest.$ac_ext <<_ACEOF
21318 /* confdefs.h. */
21319 _ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 $ac_includes_default
21324
21325 #include <$ac_header>
21326 _ACEOF
21327 rm -f conftest.$ac_objext
21328 if { (ac_try="$ac_compile"
21329 case "(($ac_try" in
21330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21331 *) ac_try_echo=$ac_try;;
21332 esac
21333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21334 (eval "$ac_compile") 2>conftest.er1
21335 ac_status=$?
21336 grep -v '^ *+' conftest.er1 >conftest.err
21337 rm -f conftest.er1
21338 cat conftest.err >&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } && {
21341 test -z "$ac_c_werror_flag" ||
21342 test ! -s conftest.err
21343 } && test -s conftest.$ac_objext; then
21344 eval "$as_ac_Header=yes"
21345 else
21346 echo "$as_me: failed program was:" >&5
21347 sed 's/^/| /' conftest.$ac_ext >&5
21348
21349 eval "$as_ac_Header=no"
21350 fi
21351
21352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21353 fi
21354 ac_res=`eval echo '${'$as_ac_Header'}'`
21355 { echo "$as_me:$LINENO: result: $ac_res" >&5
21356 echo "${ECHO_T}$ac_res" >&6; }
21357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21358 cat >>confdefs.h <<_ACEOF
21359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21360 _ACEOF
21361
21362 fi
21363
21364 done
21365
21366 fi
21367
21368 case "${host}" in
21369 *-pc-os2_emx | *-pc-os2-emx )
21370 if test $ac_cv_header_langinfo_h = "yes" \
21371 -a \( "$wx_cv_gccversion" = "EMX2" \
21372 -o "$wx_cv_gccversion" = "EMX3" \
21373 -o "$wx_cv_gccversion" = "Innotek5" \); then
21374 LIBS="$LIBS -lintl"
21375 fi
21376 ;;
21377 esac
21378
21379 if test "$USE_UNIX" = 1 ; then
21380
21381 for ac_header in sys/select.h
21382 do
21383 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21387 echo $ECHO_N "(cached) $ECHO_C" >&6
21388 else
21389 cat >conftest.$ac_ext <<_ACEOF
21390 /* confdefs.h. */
21391 _ACEOF
21392 cat confdefs.h >>conftest.$ac_ext
21393 cat >>conftest.$ac_ext <<_ACEOF
21394 /* end confdefs.h. */
21395 $ac_includes_default
21396
21397 #include <$ac_header>
21398 _ACEOF
21399 rm -f conftest.$ac_objext
21400 if { (ac_try="$ac_compile"
21401 case "(($ac_try" in
21402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21403 *) ac_try_echo=$ac_try;;
21404 esac
21405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21406 (eval "$ac_compile") 2>conftest.er1
21407 ac_status=$?
21408 grep -v '^ *+' conftest.er1 >conftest.err
21409 rm -f conftest.er1
21410 cat conftest.err >&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); } && {
21413 test -z "$ac_c_werror_flag" ||
21414 test ! -s conftest.err
21415 } && test -s conftest.$ac_objext; then
21416 eval "$as_ac_Header=yes"
21417 else
21418 echo "$as_me: failed program was:" >&5
21419 sed 's/^/| /' conftest.$ac_ext >&5
21420
21421 eval "$as_ac_Header=no"
21422 fi
21423
21424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21425 fi
21426 ac_res=`eval echo '${'$as_ac_Header'}'`
21427 { echo "$as_me:$LINENO: result: $ac_res" >&5
21428 echo "${ECHO_T}$ac_res" >&6; }
21429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21430 cat >>confdefs.h <<_ACEOF
21431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21432 _ACEOF
21433
21434 fi
21435
21436 done
21437
21438 fi
21439
21440
21441 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21442 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21443 if test "${ac_cv_c_const+set}" = set; then
21444 echo $ECHO_N "(cached) $ECHO_C" >&6
21445 else
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452
21453 int
21454 main ()
21455 {
21456 /* FIXME: Include the comments suggested by Paul. */
21457 #ifndef __cplusplus
21458 /* Ultrix mips cc rejects this. */
21459 typedef int charset[2];
21460 const charset cs;
21461 /* SunOS 4.1.1 cc rejects this. */
21462 char const *const *pcpcc;
21463 char **ppc;
21464 /* NEC SVR4.0.2 mips cc rejects this. */
21465 struct point {int x, y;};
21466 static struct point const zero = {0,0};
21467 /* AIX XL C 1.02.0.0 rejects this.
21468 It does not let you subtract one const X* pointer from another in
21469 an arm of an if-expression whose if-part is not a constant
21470 expression */
21471 const char *g = "string";
21472 pcpcc = &g + (g ? g-g : 0);
21473 /* HPUX 7.0 cc rejects these. */
21474 ++pcpcc;
21475 ppc = (char**) pcpcc;
21476 pcpcc = (char const *const *) ppc;
21477 { /* SCO 3.2v4 cc rejects this. */
21478 char *t;
21479 char const *s = 0 ? (char *) 0 : (char const *) 0;
21480
21481 *t++ = 0;
21482 if (s) return 0;
21483 }
21484 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21485 int x[] = {25, 17};
21486 const int *foo = &x[0];
21487 ++foo;
21488 }
21489 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21490 typedef const int *iptr;
21491 iptr p = 0;
21492 ++p;
21493 }
21494 { /* AIX XL C 1.02.0.0 rejects this saying
21495 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21496 struct s { int j; const int *ap[3]; };
21497 struct s *b; b->j = 5;
21498 }
21499 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21500 const int foo = 10;
21501 if (!foo) return 0;
21502 }
21503 return !cs[0] && !zero.x;
21504 #endif
21505
21506 ;
21507 return 0;
21508 }
21509 _ACEOF
21510 rm -f conftest.$ac_objext
21511 if { (ac_try="$ac_compile"
21512 case "(($ac_try" in
21513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21514 *) ac_try_echo=$ac_try;;
21515 esac
21516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21517 (eval "$ac_compile") 2>conftest.er1
21518 ac_status=$?
21519 grep -v '^ *+' conftest.er1 >conftest.err
21520 rm -f conftest.er1
21521 cat conftest.err >&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); } && {
21524 test -z "$ac_c_werror_flag" ||
21525 test ! -s conftest.err
21526 } && test -s conftest.$ac_objext; then
21527 ac_cv_c_const=yes
21528 else
21529 echo "$as_me: failed program was:" >&5
21530 sed 's/^/| /' conftest.$ac_ext >&5
21531
21532 ac_cv_c_const=no
21533 fi
21534
21535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21536 fi
21537 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21538 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21539 if test $ac_cv_c_const = no; then
21540
21541 cat >>confdefs.h <<\_ACEOF
21542 #define const
21543 _ACEOF
21544
21545 fi
21546
21547 { echo "$as_me:$LINENO: checking for inline" >&5
21548 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21549 if test "${ac_cv_c_inline+set}" = set; then
21550 echo $ECHO_N "(cached) $ECHO_C" >&6
21551 else
21552 ac_cv_c_inline=no
21553 for ac_kw in inline __inline__ __inline; do
21554 cat >conftest.$ac_ext <<_ACEOF
21555 /* confdefs.h. */
21556 _ACEOF
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 #ifndef __cplusplus
21561 typedef int foo_t;
21562 static $ac_kw foo_t static_foo () {return 0; }
21563 $ac_kw foo_t foo () {return 0; }
21564 #endif
21565
21566 _ACEOF
21567 rm -f conftest.$ac_objext
21568 if { (ac_try="$ac_compile"
21569 case "(($ac_try" in
21570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21571 *) ac_try_echo=$ac_try;;
21572 esac
21573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21574 (eval "$ac_compile") 2>conftest.er1
21575 ac_status=$?
21576 grep -v '^ *+' conftest.er1 >conftest.err
21577 rm -f conftest.er1
21578 cat conftest.err >&5
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); } && {
21581 test -z "$ac_c_werror_flag" ||
21582 test ! -s conftest.err
21583 } && test -s conftest.$ac_objext; then
21584 ac_cv_c_inline=$ac_kw
21585 else
21586 echo "$as_me: failed program was:" >&5
21587 sed 's/^/| /' conftest.$ac_ext >&5
21588
21589
21590 fi
21591
21592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21593 test "$ac_cv_c_inline" != no && break
21594 done
21595
21596 fi
21597 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21598 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21599
21600
21601 case $ac_cv_c_inline in
21602 inline | yes) ;;
21603 *)
21604 case $ac_cv_c_inline in
21605 no) ac_val=;;
21606 *) ac_val=$ac_cv_c_inline;;
21607 esac
21608 cat >>confdefs.h <<_ACEOF
21609 #ifndef __cplusplus
21610 #define inline $ac_val
21611 #endif
21612 _ACEOF
21613 ;;
21614 esac
21615
21616
21617 { echo "$as_me:$LINENO: checking for short" >&5
21618 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21619 if test "${ac_cv_type_short+set}" = set; then
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21621 else
21622 cat >conftest.$ac_ext <<_ACEOF
21623 /* confdefs.h. */
21624 _ACEOF
21625 cat confdefs.h >>conftest.$ac_ext
21626 cat >>conftest.$ac_ext <<_ACEOF
21627 /* end confdefs.h. */
21628 $ac_includes_default
21629 typedef short ac__type_new_;
21630 int
21631 main ()
21632 {
21633 if ((ac__type_new_ *) 0)
21634 return 0;
21635 if (sizeof (ac__type_new_))
21636 return 0;
21637 ;
21638 return 0;
21639 }
21640 _ACEOF
21641 rm -f conftest.$ac_objext
21642 if { (ac_try="$ac_compile"
21643 case "(($ac_try" in
21644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21645 *) ac_try_echo=$ac_try;;
21646 esac
21647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21648 (eval "$ac_compile") 2>conftest.er1
21649 ac_status=$?
21650 grep -v '^ *+' conftest.er1 >conftest.err
21651 rm -f conftest.er1
21652 cat conftest.err >&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } && {
21655 test -z "$ac_c_werror_flag" ||
21656 test ! -s conftest.err
21657 } && test -s conftest.$ac_objext; then
21658 ac_cv_type_short=yes
21659 else
21660 echo "$as_me: failed program was:" >&5
21661 sed 's/^/| /' conftest.$ac_ext >&5
21662
21663 ac_cv_type_short=no
21664 fi
21665
21666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21667 fi
21668 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21669 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21670
21671 # The cast to long int works around a bug in the HP C Compiler
21672 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21673 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21674 # This bug is HP SR number 8606223364.
21675 { echo "$as_me:$LINENO: checking size of short" >&5
21676 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21677 if test "${ac_cv_sizeof_short+set}" = set; then
21678 echo $ECHO_N "(cached) $ECHO_C" >&6
21679 else
21680 if test "$cross_compiling" = yes; then
21681 # Depending upon the size, compute the lo and hi bounds.
21682 cat >conftest.$ac_ext <<_ACEOF
21683 /* confdefs.h. */
21684 _ACEOF
21685 cat confdefs.h >>conftest.$ac_ext
21686 cat >>conftest.$ac_ext <<_ACEOF
21687 /* end confdefs.h. */
21688 $ac_includes_default
21689 typedef short ac__type_sizeof_;
21690 int
21691 main ()
21692 {
21693 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21694 test_array [0] = 0
21695
21696 ;
21697 return 0;
21698 }
21699 _ACEOF
21700 rm -f conftest.$ac_objext
21701 if { (ac_try="$ac_compile"
21702 case "(($ac_try" in
21703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21704 *) ac_try_echo=$ac_try;;
21705 esac
21706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21707 (eval "$ac_compile") 2>conftest.er1
21708 ac_status=$?
21709 grep -v '^ *+' conftest.er1 >conftest.err
21710 rm -f conftest.er1
21711 cat conftest.err >&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); } && {
21714 test -z "$ac_c_werror_flag" ||
21715 test ! -s conftest.err
21716 } && test -s conftest.$ac_objext; then
21717 ac_lo=0 ac_mid=0
21718 while :; do
21719 cat >conftest.$ac_ext <<_ACEOF
21720 /* confdefs.h. */
21721 _ACEOF
21722 cat confdefs.h >>conftest.$ac_ext
21723 cat >>conftest.$ac_ext <<_ACEOF
21724 /* end confdefs.h. */
21725 $ac_includes_default
21726 typedef short ac__type_sizeof_;
21727 int
21728 main ()
21729 {
21730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21731 test_array [0] = 0
21732
21733 ;
21734 return 0;
21735 }
21736 _ACEOF
21737 rm -f conftest.$ac_objext
21738 if { (ac_try="$ac_compile"
21739 case "(($ac_try" in
21740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21741 *) ac_try_echo=$ac_try;;
21742 esac
21743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21744 (eval "$ac_compile") 2>conftest.er1
21745 ac_status=$?
21746 grep -v '^ *+' conftest.er1 >conftest.err
21747 rm -f conftest.er1
21748 cat conftest.err >&5
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); } && {
21751 test -z "$ac_c_werror_flag" ||
21752 test ! -s conftest.err
21753 } && test -s conftest.$ac_objext; then
21754 ac_hi=$ac_mid; break
21755 else
21756 echo "$as_me: failed program was:" >&5
21757 sed 's/^/| /' conftest.$ac_ext >&5
21758
21759 ac_lo=`expr $ac_mid + 1`
21760 if test $ac_lo -le $ac_mid; then
21761 ac_lo= ac_hi=
21762 break
21763 fi
21764 ac_mid=`expr 2 '*' $ac_mid + 1`
21765 fi
21766
21767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21768 done
21769 else
21770 echo "$as_me: failed program was:" >&5
21771 sed 's/^/| /' conftest.$ac_ext >&5
21772
21773 cat >conftest.$ac_ext <<_ACEOF
21774 /* confdefs.h. */
21775 _ACEOF
21776 cat confdefs.h >>conftest.$ac_ext
21777 cat >>conftest.$ac_ext <<_ACEOF
21778 /* end confdefs.h. */
21779 $ac_includes_default
21780 typedef short ac__type_sizeof_;
21781 int
21782 main ()
21783 {
21784 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21785 test_array [0] = 0
21786
21787 ;
21788 return 0;
21789 }
21790 _ACEOF
21791 rm -f conftest.$ac_objext
21792 if { (ac_try="$ac_compile"
21793 case "(($ac_try" in
21794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21795 *) ac_try_echo=$ac_try;;
21796 esac
21797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21798 (eval "$ac_compile") 2>conftest.er1
21799 ac_status=$?
21800 grep -v '^ *+' conftest.er1 >conftest.err
21801 rm -f conftest.er1
21802 cat conftest.err >&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); } && {
21805 test -z "$ac_c_werror_flag" ||
21806 test ! -s conftest.err
21807 } && test -s conftest.$ac_objext; then
21808 ac_hi=-1 ac_mid=-1
21809 while :; do
21810 cat >conftest.$ac_ext <<_ACEOF
21811 /* confdefs.h. */
21812 _ACEOF
21813 cat confdefs.h >>conftest.$ac_ext
21814 cat >>conftest.$ac_ext <<_ACEOF
21815 /* end confdefs.h. */
21816 $ac_includes_default
21817 typedef short ac__type_sizeof_;
21818 int
21819 main ()
21820 {
21821 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21822 test_array [0] = 0
21823
21824 ;
21825 return 0;
21826 }
21827 _ACEOF
21828 rm -f conftest.$ac_objext
21829 if { (ac_try="$ac_compile"
21830 case "(($ac_try" in
21831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21832 *) ac_try_echo=$ac_try;;
21833 esac
21834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21835 (eval "$ac_compile") 2>conftest.er1
21836 ac_status=$?
21837 grep -v '^ *+' conftest.er1 >conftest.err
21838 rm -f conftest.er1
21839 cat conftest.err >&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); } && {
21842 test -z "$ac_c_werror_flag" ||
21843 test ! -s conftest.err
21844 } && test -s conftest.$ac_objext; then
21845 ac_lo=$ac_mid; break
21846 else
21847 echo "$as_me: failed program was:" >&5
21848 sed 's/^/| /' conftest.$ac_ext >&5
21849
21850 ac_hi=`expr '(' $ac_mid ')' - 1`
21851 if test $ac_mid -le $ac_hi; then
21852 ac_lo= ac_hi=
21853 break
21854 fi
21855 ac_mid=`expr 2 '*' $ac_mid`
21856 fi
21857
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 done
21860 else
21861 echo "$as_me: failed program was:" >&5
21862 sed 's/^/| /' conftest.$ac_ext >&5
21863
21864 ac_lo= ac_hi=
21865 fi
21866
21867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21868 fi
21869
21870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21871 # Binary search between lo and hi bounds.
21872 while test "x$ac_lo" != "x$ac_hi"; do
21873 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21874 cat >conftest.$ac_ext <<_ACEOF
21875 /* confdefs.h. */
21876 _ACEOF
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880 $ac_includes_default
21881 typedef short ac__type_sizeof_;
21882 int
21883 main ()
21884 {
21885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21886 test_array [0] = 0
21887
21888 ;
21889 return 0;
21890 }
21891 _ACEOF
21892 rm -f conftest.$ac_objext
21893 if { (ac_try="$ac_compile"
21894 case "(($ac_try" in
21895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21896 *) ac_try_echo=$ac_try;;
21897 esac
21898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21899 (eval "$ac_compile") 2>conftest.er1
21900 ac_status=$?
21901 grep -v '^ *+' conftest.er1 >conftest.err
21902 rm -f conftest.er1
21903 cat conftest.err >&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } && {
21906 test -z "$ac_c_werror_flag" ||
21907 test ! -s conftest.err
21908 } && test -s conftest.$ac_objext; then
21909 ac_hi=$ac_mid
21910 else
21911 echo "$as_me: failed program was:" >&5
21912 sed 's/^/| /' conftest.$ac_ext >&5
21913
21914 ac_lo=`expr '(' $ac_mid ')' + 1`
21915 fi
21916
21917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21918 done
21919 case $ac_lo in
21920 ?*) ac_cv_sizeof_short=$ac_lo;;
21921 '') if test "$ac_cv_type_short" = yes; then
21922 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21923 See \`config.log' for more details." >&5
21924 echo "$as_me: error: cannot compute sizeof (short)
21925 See \`config.log' for more details." >&2;}
21926 { (exit 77); exit 77; }; }
21927 else
21928 ac_cv_sizeof_short=0
21929 fi ;;
21930 esac
21931 else
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 short ac__type_sizeof_;
21940 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21941 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21942 #include <stdio.h>
21943 #include <stdlib.h>
21944 int
21945 main ()
21946 {
21947
21948 FILE *f = fopen ("conftest.val", "w");
21949 if (! f)
21950 return 1;
21951 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21952 {
21953 long int i = longval ();
21954 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21955 return 1;
21956 fprintf (f, "%ld\n", i);
21957 }
21958 else
21959 {
21960 unsigned long int i = ulongval ();
21961 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21962 return 1;
21963 fprintf (f, "%lu\n", i);
21964 }
21965 return ferror (f) || fclose (f) != 0;
21966
21967 ;
21968 return 0;
21969 }
21970 _ACEOF
21971 rm -f conftest$ac_exeext
21972 if { (ac_try="$ac_link"
21973 case "(($ac_try" in
21974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21975 *) ac_try_echo=$ac_try;;
21976 esac
21977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21978 (eval "$ac_link") 2>&5
21979 ac_status=$?
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21982 { (case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21985 esac
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_try") 2>&5
21988 ac_status=$?
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); }; }; then
21991 ac_cv_sizeof_short=`cat conftest.val`
21992 else
21993 echo "$as_me: program exited with status $ac_status" >&5
21994 echo "$as_me: failed program was:" >&5
21995 sed 's/^/| /' conftest.$ac_ext >&5
21996
21997 ( exit $ac_status )
21998 if test "$ac_cv_type_short" = yes; then
21999 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22000 See \`config.log' for more details." >&5
22001 echo "$as_me: error: cannot compute sizeof (short)
22002 See \`config.log' for more details." >&2;}
22003 { (exit 77); exit 77; }; }
22004 else
22005 ac_cv_sizeof_short=0
22006 fi
22007 fi
22008 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22009 fi
22010 rm -f conftest.val
22011 fi
22012 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22013 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22014
22015
22016
22017 cat >>confdefs.h <<_ACEOF
22018 #define SIZEOF_SHORT $ac_cv_sizeof_short
22019 _ACEOF
22020
22021
22022 { echo "$as_me:$LINENO: checking for void *" >&5
22023 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22024 if test "${ac_cv_type_void_p+set}" = set; then
22025 echo $ECHO_N "(cached) $ECHO_C" >&6
22026 else
22027 cat >conftest.$ac_ext <<_ACEOF
22028 /* confdefs.h. */
22029 _ACEOF
22030 cat confdefs.h >>conftest.$ac_ext
22031 cat >>conftest.$ac_ext <<_ACEOF
22032 /* end confdefs.h. */
22033 $ac_includes_default
22034 typedef void * ac__type_new_;
22035 int
22036 main ()
22037 {
22038 if ((ac__type_new_ *) 0)
22039 return 0;
22040 if (sizeof (ac__type_new_))
22041 return 0;
22042 ;
22043 return 0;
22044 }
22045 _ACEOF
22046 rm -f conftest.$ac_objext
22047 if { (ac_try="$ac_compile"
22048 case "(($ac_try" in
22049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22050 *) ac_try_echo=$ac_try;;
22051 esac
22052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22053 (eval "$ac_compile") 2>conftest.er1
22054 ac_status=$?
22055 grep -v '^ *+' conftest.er1 >conftest.err
22056 rm -f conftest.er1
22057 cat conftest.err >&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); } && {
22060 test -z "$ac_c_werror_flag" ||
22061 test ! -s conftest.err
22062 } && test -s conftest.$ac_objext; then
22063 ac_cv_type_void_p=yes
22064 else
22065 echo "$as_me: failed program was:" >&5
22066 sed 's/^/| /' conftest.$ac_ext >&5
22067
22068 ac_cv_type_void_p=no
22069 fi
22070
22071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22072 fi
22073 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22074 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22075
22076 # The cast to long int works around a bug in the HP C Compiler
22077 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22078 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22079 # This bug is HP SR number 8606223364.
22080 { echo "$as_me:$LINENO: checking size of void *" >&5
22081 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22082 if test "${ac_cv_sizeof_void_p+set}" = set; then
22083 echo $ECHO_N "(cached) $ECHO_C" >&6
22084 else
22085 if test "$cross_compiling" = yes; then
22086 # Depending upon the size, compute the lo and hi bounds.
22087 cat >conftest.$ac_ext <<_ACEOF
22088 /* confdefs.h. */
22089 _ACEOF
22090 cat confdefs.h >>conftest.$ac_ext
22091 cat >>conftest.$ac_ext <<_ACEOF
22092 /* end confdefs.h. */
22093 $ac_includes_default
22094 typedef void * ac__type_sizeof_;
22095 int
22096 main ()
22097 {
22098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22099 test_array [0] = 0
22100
22101 ;
22102 return 0;
22103 }
22104 _ACEOF
22105 rm -f conftest.$ac_objext
22106 if { (ac_try="$ac_compile"
22107 case "(($ac_try" in
22108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22109 *) ac_try_echo=$ac_try;;
22110 esac
22111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22112 (eval "$ac_compile") 2>conftest.er1
22113 ac_status=$?
22114 grep -v '^ *+' conftest.er1 >conftest.err
22115 rm -f conftest.er1
22116 cat conftest.err >&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } && {
22119 test -z "$ac_c_werror_flag" ||
22120 test ! -s conftest.err
22121 } && test -s conftest.$ac_objext; then
22122 ac_lo=0 ac_mid=0
22123 while :; do
22124 cat >conftest.$ac_ext <<_ACEOF
22125 /* confdefs.h. */
22126 _ACEOF
22127 cat confdefs.h >>conftest.$ac_ext
22128 cat >>conftest.$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22130 $ac_includes_default
22131 typedef void * ac__type_sizeof_;
22132 int
22133 main ()
22134 {
22135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22136 test_array [0] = 0
22137
22138 ;
22139 return 0;
22140 }
22141 _ACEOF
22142 rm -f conftest.$ac_objext
22143 if { (ac_try="$ac_compile"
22144 case "(($ac_try" in
22145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22146 *) ac_try_echo=$ac_try;;
22147 esac
22148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22149 (eval "$ac_compile") 2>conftest.er1
22150 ac_status=$?
22151 grep -v '^ *+' conftest.er1 >conftest.err
22152 rm -f conftest.er1
22153 cat conftest.err >&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } && {
22156 test -z "$ac_c_werror_flag" ||
22157 test ! -s conftest.err
22158 } && test -s conftest.$ac_objext; then
22159 ac_hi=$ac_mid; break
22160 else
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22163
22164 ac_lo=`expr $ac_mid + 1`
22165 if test $ac_lo -le $ac_mid; then
22166 ac_lo= ac_hi=
22167 break
22168 fi
22169 ac_mid=`expr 2 '*' $ac_mid + 1`
22170 fi
22171
22172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22173 done
22174 else
22175 echo "$as_me: failed program was:" >&5
22176 sed 's/^/| /' conftest.$ac_ext >&5
22177
22178 cat >conftest.$ac_ext <<_ACEOF
22179 /* confdefs.h. */
22180 _ACEOF
22181 cat confdefs.h >>conftest.$ac_ext
22182 cat >>conftest.$ac_ext <<_ACEOF
22183 /* end confdefs.h. */
22184 $ac_includes_default
22185 typedef void * ac__type_sizeof_;
22186 int
22187 main ()
22188 {
22189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22190 test_array [0] = 0
22191
22192 ;
22193 return 0;
22194 }
22195 _ACEOF
22196 rm -f conftest.$ac_objext
22197 if { (ac_try="$ac_compile"
22198 case "(($ac_try" in
22199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22200 *) ac_try_echo=$ac_try;;
22201 esac
22202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22203 (eval "$ac_compile") 2>conftest.er1
22204 ac_status=$?
22205 grep -v '^ *+' conftest.er1 >conftest.err
22206 rm -f conftest.er1
22207 cat conftest.err >&5
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); } && {
22210 test -z "$ac_c_werror_flag" ||
22211 test ! -s conftest.err
22212 } && test -s conftest.$ac_objext; then
22213 ac_hi=-1 ac_mid=-1
22214 while :; do
22215 cat >conftest.$ac_ext <<_ACEOF
22216 /* confdefs.h. */
22217 _ACEOF
22218 cat confdefs.h >>conftest.$ac_ext
22219 cat >>conftest.$ac_ext <<_ACEOF
22220 /* end confdefs.h. */
22221 $ac_includes_default
22222 typedef void * ac__type_sizeof_;
22223 int
22224 main ()
22225 {
22226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22227 test_array [0] = 0
22228
22229 ;
22230 return 0;
22231 }
22232 _ACEOF
22233 rm -f conftest.$ac_objext
22234 if { (ac_try="$ac_compile"
22235 case "(($ac_try" in
22236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22237 *) ac_try_echo=$ac_try;;
22238 esac
22239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22240 (eval "$ac_compile") 2>conftest.er1
22241 ac_status=$?
22242 grep -v '^ *+' conftest.er1 >conftest.err
22243 rm -f conftest.er1
22244 cat conftest.err >&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); } && {
22247 test -z "$ac_c_werror_flag" ||
22248 test ! -s conftest.err
22249 } && test -s conftest.$ac_objext; then
22250 ac_lo=$ac_mid; break
22251 else
22252 echo "$as_me: failed program was:" >&5
22253 sed 's/^/| /' conftest.$ac_ext >&5
22254
22255 ac_hi=`expr '(' $ac_mid ')' - 1`
22256 if test $ac_mid -le $ac_hi; then
22257 ac_lo= ac_hi=
22258 break
22259 fi
22260 ac_mid=`expr 2 '*' $ac_mid`
22261 fi
22262
22263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22264 done
22265 else
22266 echo "$as_me: failed program was:" >&5
22267 sed 's/^/| /' conftest.$ac_ext >&5
22268
22269 ac_lo= ac_hi=
22270 fi
22271
22272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22273 fi
22274
22275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22276 # Binary search between lo and hi bounds.
22277 while test "x$ac_lo" != "x$ac_hi"; do
22278 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22279 cat >conftest.$ac_ext <<_ACEOF
22280 /* confdefs.h. */
22281 _ACEOF
22282 cat confdefs.h >>conftest.$ac_ext
22283 cat >>conftest.$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22285 $ac_includes_default
22286 typedef void * ac__type_sizeof_;
22287 int
22288 main ()
22289 {
22290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22291 test_array [0] = 0
22292
22293 ;
22294 return 0;
22295 }
22296 _ACEOF
22297 rm -f conftest.$ac_objext
22298 if { (ac_try="$ac_compile"
22299 case "(($ac_try" in
22300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22301 *) ac_try_echo=$ac_try;;
22302 esac
22303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22304 (eval "$ac_compile") 2>conftest.er1
22305 ac_status=$?
22306 grep -v '^ *+' conftest.er1 >conftest.err
22307 rm -f conftest.er1
22308 cat conftest.err >&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } && {
22311 test -z "$ac_c_werror_flag" ||
22312 test ! -s conftest.err
22313 } && test -s conftest.$ac_objext; then
22314 ac_hi=$ac_mid
22315 else
22316 echo "$as_me: failed program was:" >&5
22317 sed 's/^/| /' conftest.$ac_ext >&5
22318
22319 ac_lo=`expr '(' $ac_mid ')' + 1`
22320 fi
22321
22322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22323 done
22324 case $ac_lo in
22325 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22326 '') if test "$ac_cv_type_void_p" = yes; then
22327 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22328 See \`config.log' for more details." >&5
22329 echo "$as_me: error: cannot compute sizeof (void *)
22330 See \`config.log' for more details." >&2;}
22331 { (exit 77); exit 77; }; }
22332 else
22333 ac_cv_sizeof_void_p=0
22334 fi ;;
22335 esac
22336 else
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 void * ac__type_sizeof_;
22345 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22346 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22347 #include <stdio.h>
22348 #include <stdlib.h>
22349 int
22350 main ()
22351 {
22352
22353 FILE *f = fopen ("conftest.val", "w");
22354 if (! f)
22355 return 1;
22356 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22357 {
22358 long int i = longval ();
22359 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22360 return 1;
22361 fprintf (f, "%ld\n", i);
22362 }
22363 else
22364 {
22365 unsigned long int i = ulongval ();
22366 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22367 return 1;
22368 fprintf (f, "%lu\n", i);
22369 }
22370 return ferror (f) || fclose (f) != 0;
22371
22372 ;
22373 return 0;
22374 }
22375 _ACEOF
22376 rm -f conftest$ac_exeext
22377 if { (ac_try="$ac_link"
22378 case "(($ac_try" in
22379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22381 esac
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_link") 2>&5
22384 ac_status=$?
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22387 { (case "(($ac_try" in
22388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22389 *) ac_try_echo=$ac_try;;
22390 esac
22391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22392 (eval "$ac_try") 2>&5
22393 ac_status=$?
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); }; }; then
22396 ac_cv_sizeof_void_p=`cat conftest.val`
22397 else
22398 echo "$as_me: program exited with status $ac_status" >&5
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22401
22402 ( exit $ac_status )
22403 if test "$ac_cv_type_void_p" = yes; then
22404 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22405 See \`config.log' for more details." >&5
22406 echo "$as_me: error: cannot compute sizeof (void *)
22407 See \`config.log' for more details." >&2;}
22408 { (exit 77); exit 77; }; }
22409 else
22410 ac_cv_sizeof_void_p=0
22411 fi
22412 fi
22413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22414 fi
22415 rm -f conftest.val
22416 fi
22417 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22418 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22419
22420
22421
22422 cat >>confdefs.h <<_ACEOF
22423 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22424 _ACEOF
22425
22426
22427 { echo "$as_me:$LINENO: checking for int" >&5
22428 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22429 if test "${ac_cv_type_int+set}" = set; then
22430 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 else
22432 cat >conftest.$ac_ext <<_ACEOF
22433 /* confdefs.h. */
22434 _ACEOF
22435 cat confdefs.h >>conftest.$ac_ext
22436 cat >>conftest.$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22438 $ac_includes_default
22439 typedef int ac__type_new_;
22440 int
22441 main ()
22442 {
22443 if ((ac__type_new_ *) 0)
22444 return 0;
22445 if (sizeof (ac__type_new_))
22446 return 0;
22447 ;
22448 return 0;
22449 }
22450 _ACEOF
22451 rm -f conftest.$ac_objext
22452 if { (ac_try="$ac_compile"
22453 case "(($ac_try" in
22454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22455 *) ac_try_echo=$ac_try;;
22456 esac
22457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22458 (eval "$ac_compile") 2>conftest.er1
22459 ac_status=$?
22460 grep -v '^ *+' conftest.er1 >conftest.err
22461 rm -f conftest.er1
22462 cat conftest.err >&5
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); } && {
22465 test -z "$ac_c_werror_flag" ||
22466 test ! -s conftest.err
22467 } && test -s conftest.$ac_objext; then
22468 ac_cv_type_int=yes
22469 else
22470 echo "$as_me: failed program was:" >&5
22471 sed 's/^/| /' conftest.$ac_ext >&5
22472
22473 ac_cv_type_int=no
22474 fi
22475
22476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22477 fi
22478 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22479 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22480
22481 # The cast to long int works around a bug in the HP C Compiler
22482 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22483 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22484 # This bug is HP SR number 8606223364.
22485 { echo "$as_me:$LINENO: checking size of int" >&5
22486 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22487 if test "${ac_cv_sizeof_int+set}" = set; then
22488 echo $ECHO_N "(cached) $ECHO_C" >&6
22489 else
22490 if test "$cross_compiling" = yes; then
22491 # Depending upon the size, compute the lo and hi bounds.
22492 cat >conftest.$ac_ext <<_ACEOF
22493 /* confdefs.h. */
22494 _ACEOF
22495 cat confdefs.h >>conftest.$ac_ext
22496 cat >>conftest.$ac_ext <<_ACEOF
22497 /* end confdefs.h. */
22498 $ac_includes_default
22499 typedef int ac__type_sizeof_;
22500 int
22501 main ()
22502 {
22503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22504 test_array [0] = 0
22505
22506 ;
22507 return 0;
22508 }
22509 _ACEOF
22510 rm -f conftest.$ac_objext
22511 if { (ac_try="$ac_compile"
22512 case "(($ac_try" in
22513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22514 *) ac_try_echo=$ac_try;;
22515 esac
22516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22517 (eval "$ac_compile") 2>conftest.er1
22518 ac_status=$?
22519 grep -v '^ *+' conftest.er1 >conftest.err
22520 rm -f conftest.er1
22521 cat conftest.err >&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } && {
22524 test -z "$ac_c_werror_flag" ||
22525 test ! -s conftest.err
22526 } && test -s conftest.$ac_objext; then
22527 ac_lo=0 ac_mid=0
22528 while :; do
22529 cat >conftest.$ac_ext <<_ACEOF
22530 /* confdefs.h. */
22531 _ACEOF
22532 cat confdefs.h >>conftest.$ac_ext
22533 cat >>conftest.$ac_ext <<_ACEOF
22534 /* end confdefs.h. */
22535 $ac_includes_default
22536 typedef int ac__type_sizeof_;
22537 int
22538 main ()
22539 {
22540 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22541 test_array [0] = 0
22542
22543 ;
22544 return 0;
22545 }
22546 _ACEOF
22547 rm -f conftest.$ac_objext
22548 if { (ac_try="$ac_compile"
22549 case "(($ac_try" in
22550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22551 *) ac_try_echo=$ac_try;;
22552 esac
22553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22554 (eval "$ac_compile") 2>conftest.er1
22555 ac_status=$?
22556 grep -v '^ *+' conftest.er1 >conftest.err
22557 rm -f conftest.er1
22558 cat conftest.err >&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); } && {
22561 test -z "$ac_c_werror_flag" ||
22562 test ! -s conftest.err
22563 } && test -s conftest.$ac_objext; then
22564 ac_hi=$ac_mid; break
22565 else
22566 echo "$as_me: failed program was:" >&5
22567 sed 's/^/| /' conftest.$ac_ext >&5
22568
22569 ac_lo=`expr $ac_mid + 1`
22570 if test $ac_lo -le $ac_mid; then
22571 ac_lo= ac_hi=
22572 break
22573 fi
22574 ac_mid=`expr 2 '*' $ac_mid + 1`
22575 fi
22576
22577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22578 done
22579 else
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.$ac_ext >&5
22582
22583 cat >conftest.$ac_ext <<_ACEOF
22584 /* confdefs.h. */
22585 _ACEOF
22586 cat confdefs.h >>conftest.$ac_ext
22587 cat >>conftest.$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589 $ac_includes_default
22590 typedef int ac__type_sizeof_;
22591 int
22592 main ()
22593 {
22594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22595 test_array [0] = 0
22596
22597 ;
22598 return 0;
22599 }
22600 _ACEOF
22601 rm -f conftest.$ac_objext
22602 if { (ac_try="$ac_compile"
22603 case "(($ac_try" in
22604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22605 *) ac_try_echo=$ac_try;;
22606 esac
22607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22608 (eval "$ac_compile") 2>conftest.er1
22609 ac_status=$?
22610 grep -v '^ *+' conftest.er1 >conftest.err
22611 rm -f conftest.er1
22612 cat conftest.err >&5
22613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614 (exit $ac_status); } && {
22615 test -z "$ac_c_werror_flag" ||
22616 test ! -s conftest.err
22617 } && test -s conftest.$ac_objext; then
22618 ac_hi=-1 ac_mid=-1
22619 while :; do
22620 cat >conftest.$ac_ext <<_ACEOF
22621 /* confdefs.h. */
22622 _ACEOF
22623 cat confdefs.h >>conftest.$ac_ext
22624 cat >>conftest.$ac_ext <<_ACEOF
22625 /* end confdefs.h. */
22626 $ac_includes_default
22627 typedef int ac__type_sizeof_;
22628 int
22629 main ()
22630 {
22631 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22632 test_array [0] = 0
22633
22634 ;
22635 return 0;
22636 }
22637 _ACEOF
22638 rm -f conftest.$ac_objext
22639 if { (ac_try="$ac_compile"
22640 case "(($ac_try" in
22641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22642 *) ac_try_echo=$ac_try;;
22643 esac
22644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22645 (eval "$ac_compile") 2>conftest.er1
22646 ac_status=$?
22647 grep -v '^ *+' conftest.er1 >conftest.err
22648 rm -f conftest.er1
22649 cat conftest.err >&5
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); } && {
22652 test -z "$ac_c_werror_flag" ||
22653 test ! -s conftest.err
22654 } && test -s conftest.$ac_objext; then
22655 ac_lo=$ac_mid; break
22656 else
22657 echo "$as_me: failed program was:" >&5
22658 sed 's/^/| /' conftest.$ac_ext >&5
22659
22660 ac_hi=`expr '(' $ac_mid ')' - 1`
22661 if test $ac_mid -le $ac_hi; then
22662 ac_lo= ac_hi=
22663 break
22664 fi
22665 ac_mid=`expr 2 '*' $ac_mid`
22666 fi
22667
22668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22669 done
22670 else
22671 echo "$as_me: failed program was:" >&5
22672 sed 's/^/| /' conftest.$ac_ext >&5
22673
22674 ac_lo= ac_hi=
22675 fi
22676
22677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22678 fi
22679
22680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681 # Binary search between lo and hi bounds.
22682 while test "x$ac_lo" != "x$ac_hi"; do
22683 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22684 cat >conftest.$ac_ext <<_ACEOF
22685 /* confdefs.h. */
22686 _ACEOF
22687 cat confdefs.h >>conftest.$ac_ext
22688 cat >>conftest.$ac_ext <<_ACEOF
22689 /* end confdefs.h. */
22690 $ac_includes_default
22691 typedef int ac__type_sizeof_;
22692 int
22693 main ()
22694 {
22695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22696 test_array [0] = 0
22697
22698 ;
22699 return 0;
22700 }
22701 _ACEOF
22702 rm -f conftest.$ac_objext
22703 if { (ac_try="$ac_compile"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22707 esac
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_compile") 2>conftest.er1
22710 ac_status=$?
22711 grep -v '^ *+' conftest.er1 >conftest.err
22712 rm -f conftest.er1
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } && {
22716 test -z "$ac_c_werror_flag" ||
22717 test ! -s conftest.err
22718 } && test -s conftest.$ac_objext; then
22719 ac_hi=$ac_mid
22720 else
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.$ac_ext >&5
22723
22724 ac_lo=`expr '(' $ac_mid ')' + 1`
22725 fi
22726
22727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22728 done
22729 case $ac_lo in
22730 ?*) ac_cv_sizeof_int=$ac_lo;;
22731 '') if test "$ac_cv_type_int" = yes; then
22732 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22733 See \`config.log' for more details." >&5
22734 echo "$as_me: error: cannot compute sizeof (int)
22735 See \`config.log' for more details." >&2;}
22736 { (exit 77); exit 77; }; }
22737 else
22738 ac_cv_sizeof_int=0
22739 fi ;;
22740 esac
22741 else
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 int ac__type_sizeof_;
22750 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22751 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22752 #include <stdio.h>
22753 #include <stdlib.h>
22754 int
22755 main ()
22756 {
22757
22758 FILE *f = fopen ("conftest.val", "w");
22759 if (! f)
22760 return 1;
22761 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22762 {
22763 long int i = longval ();
22764 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22765 return 1;
22766 fprintf (f, "%ld\n", i);
22767 }
22768 else
22769 {
22770 unsigned long int i = ulongval ();
22771 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22772 return 1;
22773 fprintf (f, "%lu\n", i);
22774 }
22775 return ferror (f) || fclose (f) != 0;
22776
22777 ;
22778 return 0;
22779 }
22780 _ACEOF
22781 rm -f conftest$ac_exeext
22782 if { (ac_try="$ac_link"
22783 case "(($ac_try" in
22784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22785 *) ac_try_echo=$ac_try;;
22786 esac
22787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22788 (eval "$ac_link") 2>&5
22789 ac_status=$?
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22792 { (case "(($ac_try" in
22793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22794 *) ac_try_echo=$ac_try;;
22795 esac
22796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22797 (eval "$ac_try") 2>&5
22798 ac_status=$?
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; }; then
22801 ac_cv_sizeof_int=`cat conftest.val`
22802 else
22803 echo "$as_me: program exited with status $ac_status" >&5
22804 echo "$as_me: failed program was:" >&5
22805 sed 's/^/| /' conftest.$ac_ext >&5
22806
22807 ( exit $ac_status )
22808 if test "$ac_cv_type_int" = yes; then
22809 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22810 See \`config.log' for more details." >&5
22811 echo "$as_me: error: cannot compute sizeof (int)
22812 See \`config.log' for more details." >&2;}
22813 { (exit 77); exit 77; }; }
22814 else
22815 ac_cv_sizeof_int=0
22816 fi
22817 fi
22818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22819 fi
22820 rm -f conftest.val
22821 fi
22822 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22823 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22824
22825
22826
22827 cat >>confdefs.h <<_ACEOF
22828 #define SIZEOF_INT $ac_cv_sizeof_int
22829 _ACEOF
22830
22831
22832 { echo "$as_me:$LINENO: checking for long" >&5
22833 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22834 if test "${ac_cv_type_long+set}" = set; then
22835 echo $ECHO_N "(cached) $ECHO_C" >&6
22836 else
22837 cat >conftest.$ac_ext <<_ACEOF
22838 /* confdefs.h. */
22839 _ACEOF
22840 cat confdefs.h >>conftest.$ac_ext
22841 cat >>conftest.$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22843 $ac_includes_default
22844 typedef long ac__type_new_;
22845 int
22846 main ()
22847 {
22848 if ((ac__type_new_ *) 0)
22849 return 0;
22850 if (sizeof (ac__type_new_))
22851 return 0;
22852 ;
22853 return 0;
22854 }
22855 _ACEOF
22856 rm -f conftest.$ac_objext
22857 if { (ac_try="$ac_compile"
22858 case "(($ac_try" in
22859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22860 *) ac_try_echo=$ac_try;;
22861 esac
22862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22863 (eval "$ac_compile") 2>conftest.er1
22864 ac_status=$?
22865 grep -v '^ *+' conftest.er1 >conftest.err
22866 rm -f conftest.er1
22867 cat conftest.err >&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } && {
22870 test -z "$ac_c_werror_flag" ||
22871 test ! -s conftest.err
22872 } && test -s conftest.$ac_objext; then
22873 ac_cv_type_long=yes
22874 else
22875 echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.$ac_ext >&5
22877
22878 ac_cv_type_long=no
22879 fi
22880
22881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22882 fi
22883 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22884 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22885
22886 # The cast to long int works around a bug in the HP C Compiler
22887 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22888 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22889 # This bug is HP SR number 8606223364.
22890 { echo "$as_me:$LINENO: checking size of long" >&5
22891 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22892 if test "${ac_cv_sizeof_long+set}" = set; then
22893 echo $ECHO_N "(cached) $ECHO_C" >&6
22894 else
22895 if test "$cross_compiling" = yes; then
22896 # Depending upon the size, compute the lo and hi bounds.
22897 cat >conftest.$ac_ext <<_ACEOF
22898 /* confdefs.h. */
22899 _ACEOF
22900 cat confdefs.h >>conftest.$ac_ext
22901 cat >>conftest.$ac_ext <<_ACEOF
22902 /* end confdefs.h. */
22903 $ac_includes_default
22904 typedef long ac__type_sizeof_;
22905 int
22906 main ()
22907 {
22908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22909 test_array [0] = 0
22910
22911 ;
22912 return 0;
22913 }
22914 _ACEOF
22915 rm -f conftest.$ac_objext
22916 if { (ac_try="$ac_compile"
22917 case "(($ac_try" in
22918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22919 *) ac_try_echo=$ac_try;;
22920 esac
22921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22922 (eval "$ac_compile") 2>conftest.er1
22923 ac_status=$?
22924 grep -v '^ *+' conftest.er1 >conftest.err
22925 rm -f conftest.er1
22926 cat conftest.err >&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); } && {
22929 test -z "$ac_c_werror_flag" ||
22930 test ! -s conftest.err
22931 } && test -s conftest.$ac_objext; then
22932 ac_lo=0 ac_mid=0
22933 while :; do
22934 cat >conftest.$ac_ext <<_ACEOF
22935 /* confdefs.h. */
22936 _ACEOF
22937 cat confdefs.h >>conftest.$ac_ext
22938 cat >>conftest.$ac_ext <<_ACEOF
22939 /* end confdefs.h. */
22940 $ac_includes_default
22941 typedef long ac__type_sizeof_;
22942 int
22943 main ()
22944 {
22945 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22946 test_array [0] = 0
22947
22948 ;
22949 return 0;
22950 }
22951 _ACEOF
22952 rm -f conftest.$ac_objext
22953 if { (ac_try="$ac_compile"
22954 case "(($ac_try" in
22955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22956 *) ac_try_echo=$ac_try;;
22957 esac
22958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22959 (eval "$ac_compile") 2>conftest.er1
22960 ac_status=$?
22961 grep -v '^ *+' conftest.er1 >conftest.err
22962 rm -f conftest.er1
22963 cat conftest.err >&5
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); } && {
22966 test -z "$ac_c_werror_flag" ||
22967 test ! -s conftest.err
22968 } && test -s conftest.$ac_objext; then
22969 ac_hi=$ac_mid; break
22970 else
22971 echo "$as_me: failed program was:" >&5
22972 sed 's/^/| /' conftest.$ac_ext >&5
22973
22974 ac_lo=`expr $ac_mid + 1`
22975 if test $ac_lo -le $ac_mid; then
22976 ac_lo= ac_hi=
22977 break
22978 fi
22979 ac_mid=`expr 2 '*' $ac_mid + 1`
22980 fi
22981
22982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22983 done
22984 else
22985 echo "$as_me: failed program was:" >&5
22986 sed 's/^/| /' conftest.$ac_ext >&5
22987
22988 cat >conftest.$ac_ext <<_ACEOF
22989 /* confdefs.h. */
22990 _ACEOF
22991 cat confdefs.h >>conftest.$ac_ext
22992 cat >>conftest.$ac_ext <<_ACEOF
22993 /* end confdefs.h. */
22994 $ac_includes_default
22995 typedef long ac__type_sizeof_;
22996 int
22997 main ()
22998 {
22999 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23000 test_array [0] = 0
23001
23002 ;
23003 return 0;
23004 }
23005 _ACEOF
23006 rm -f conftest.$ac_objext
23007 if { (ac_try="$ac_compile"
23008 case "(($ac_try" in
23009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23010 *) ac_try_echo=$ac_try;;
23011 esac
23012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23013 (eval "$ac_compile") 2>conftest.er1
23014 ac_status=$?
23015 grep -v '^ *+' conftest.er1 >conftest.err
23016 rm -f conftest.er1
23017 cat conftest.err >&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } && {
23020 test -z "$ac_c_werror_flag" ||
23021 test ! -s conftest.err
23022 } && test -s conftest.$ac_objext; then
23023 ac_hi=-1 ac_mid=-1
23024 while :; do
23025 cat >conftest.$ac_ext <<_ACEOF
23026 /* confdefs.h. */
23027 _ACEOF
23028 cat confdefs.h >>conftest.$ac_ext
23029 cat >>conftest.$ac_ext <<_ACEOF
23030 /* end confdefs.h. */
23031 $ac_includes_default
23032 typedef long ac__type_sizeof_;
23033 int
23034 main ()
23035 {
23036 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23037 test_array [0] = 0
23038
23039 ;
23040 return 0;
23041 }
23042 _ACEOF
23043 rm -f conftest.$ac_objext
23044 if { (ac_try="$ac_compile"
23045 case "(($ac_try" in
23046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23047 *) ac_try_echo=$ac_try;;
23048 esac
23049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23050 (eval "$ac_compile") 2>conftest.er1
23051 ac_status=$?
23052 grep -v '^ *+' conftest.er1 >conftest.err
23053 rm -f conftest.er1
23054 cat conftest.err >&5
23055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23056 (exit $ac_status); } && {
23057 test -z "$ac_c_werror_flag" ||
23058 test ! -s conftest.err
23059 } && test -s conftest.$ac_objext; then
23060 ac_lo=$ac_mid; break
23061 else
23062 echo "$as_me: failed program was:" >&5
23063 sed 's/^/| /' conftest.$ac_ext >&5
23064
23065 ac_hi=`expr '(' $ac_mid ')' - 1`
23066 if test $ac_mid -le $ac_hi; then
23067 ac_lo= ac_hi=
23068 break
23069 fi
23070 ac_mid=`expr 2 '*' $ac_mid`
23071 fi
23072
23073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23074 done
23075 else
23076 echo "$as_me: failed program was:" >&5
23077 sed 's/^/| /' conftest.$ac_ext >&5
23078
23079 ac_lo= ac_hi=
23080 fi
23081
23082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23083 fi
23084
23085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23086 # Binary search between lo and hi bounds.
23087 while test "x$ac_lo" != "x$ac_hi"; do
23088 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23089 cat >conftest.$ac_ext <<_ACEOF
23090 /* confdefs.h. */
23091 _ACEOF
23092 cat confdefs.h >>conftest.$ac_ext
23093 cat >>conftest.$ac_ext <<_ACEOF
23094 /* end confdefs.h. */
23095 $ac_includes_default
23096 typedef long ac__type_sizeof_;
23097 int
23098 main ()
23099 {
23100 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23101 test_array [0] = 0
23102
23103 ;
23104 return 0;
23105 }
23106 _ACEOF
23107 rm -f conftest.$ac_objext
23108 if { (ac_try="$ac_compile"
23109 case "(($ac_try" in
23110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23111 *) ac_try_echo=$ac_try;;
23112 esac
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_compile") 2>conftest.er1
23115 ac_status=$?
23116 grep -v '^ *+' conftest.er1 >conftest.err
23117 rm -f conftest.er1
23118 cat conftest.err >&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } && {
23121 test -z "$ac_c_werror_flag" ||
23122 test ! -s conftest.err
23123 } && test -s conftest.$ac_objext; then
23124 ac_hi=$ac_mid
23125 else
23126 echo "$as_me: failed program was:" >&5
23127 sed 's/^/| /' conftest.$ac_ext >&5
23128
23129 ac_lo=`expr '(' $ac_mid ')' + 1`
23130 fi
23131
23132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23133 done
23134 case $ac_lo in
23135 ?*) ac_cv_sizeof_long=$ac_lo;;
23136 '') if test "$ac_cv_type_long" = yes; then
23137 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23138 See \`config.log' for more details." >&5
23139 echo "$as_me: error: cannot compute sizeof (long)
23140 See \`config.log' for more details." >&2;}
23141 { (exit 77); exit 77; }; }
23142 else
23143 ac_cv_sizeof_long=0
23144 fi ;;
23145 esac
23146 else
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 long ac__type_sizeof_;
23155 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23156 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23157 #include <stdio.h>
23158 #include <stdlib.h>
23159 int
23160 main ()
23161 {
23162
23163 FILE *f = fopen ("conftest.val", "w");
23164 if (! f)
23165 return 1;
23166 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23167 {
23168 long int i = longval ();
23169 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23170 return 1;
23171 fprintf (f, "%ld\n", i);
23172 }
23173 else
23174 {
23175 unsigned long int i = ulongval ();
23176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23177 return 1;
23178 fprintf (f, "%lu\n", i);
23179 }
23180 return ferror (f) || fclose (f) != 0;
23181
23182 ;
23183 return 0;
23184 }
23185 _ACEOF
23186 rm -f conftest$ac_exeext
23187 if { (ac_try="$ac_link"
23188 case "(($ac_try" in
23189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23190 *) ac_try_echo=$ac_try;;
23191 esac
23192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23193 (eval "$ac_link") 2>&5
23194 ac_status=$?
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23197 { (case "(($ac_try" in
23198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23199 *) ac_try_echo=$ac_try;;
23200 esac
23201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23202 (eval "$ac_try") 2>&5
23203 ac_status=$?
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); }; }; then
23206 ac_cv_sizeof_long=`cat conftest.val`
23207 else
23208 echo "$as_me: program exited with status $ac_status" >&5
23209 echo "$as_me: failed program was:" >&5
23210 sed 's/^/| /' conftest.$ac_ext >&5
23211
23212 ( exit $ac_status )
23213 if test "$ac_cv_type_long" = yes; then
23214 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23215 See \`config.log' for more details." >&5
23216 echo "$as_me: error: cannot compute sizeof (long)
23217 See \`config.log' for more details." >&2;}
23218 { (exit 77); exit 77; }; }
23219 else
23220 ac_cv_sizeof_long=0
23221 fi
23222 fi
23223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23224 fi
23225 rm -f conftest.val
23226 fi
23227 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23228 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23229
23230
23231
23232 cat >>confdefs.h <<_ACEOF
23233 #define SIZEOF_LONG $ac_cv_sizeof_long
23234 _ACEOF
23235
23236
23237 { echo "$as_me:$LINENO: checking for size_t" >&5
23238 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23239 if test "${ac_cv_type_size_t+set}" = set; then
23240 echo $ECHO_N "(cached) $ECHO_C" >&6
23241 else
23242 cat >conftest.$ac_ext <<_ACEOF
23243 /* confdefs.h. */
23244 _ACEOF
23245 cat confdefs.h >>conftest.$ac_ext
23246 cat >>conftest.$ac_ext <<_ACEOF
23247 /* end confdefs.h. */
23248 $ac_includes_default
23249 typedef size_t ac__type_new_;
23250 int
23251 main ()
23252 {
23253 if ((ac__type_new_ *) 0)
23254 return 0;
23255 if (sizeof (ac__type_new_))
23256 return 0;
23257 ;
23258 return 0;
23259 }
23260 _ACEOF
23261 rm -f conftest.$ac_objext
23262 if { (ac_try="$ac_compile"
23263 case "(($ac_try" in
23264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23265 *) ac_try_echo=$ac_try;;
23266 esac
23267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23268 (eval "$ac_compile") 2>conftest.er1
23269 ac_status=$?
23270 grep -v '^ *+' conftest.er1 >conftest.err
23271 rm -f conftest.er1
23272 cat conftest.err >&5
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); } && {
23275 test -z "$ac_c_werror_flag" ||
23276 test ! -s conftest.err
23277 } && test -s conftest.$ac_objext; then
23278 ac_cv_type_size_t=yes
23279 else
23280 echo "$as_me: failed program was:" >&5
23281 sed 's/^/| /' conftest.$ac_ext >&5
23282
23283 ac_cv_type_size_t=no
23284 fi
23285
23286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23287 fi
23288 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23289 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23290
23291 # The cast to long int works around a bug in the HP C Compiler
23292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23294 # This bug is HP SR number 8606223364.
23295 { echo "$as_me:$LINENO: checking size of size_t" >&5
23296 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23297 if test "${ac_cv_sizeof_size_t+set}" = set; then
23298 echo $ECHO_N "(cached) $ECHO_C" >&6
23299 else
23300 if test "$cross_compiling" = yes; then
23301 # Depending upon the size, compute the lo and hi bounds.
23302 cat >conftest.$ac_ext <<_ACEOF
23303 /* confdefs.h. */
23304 _ACEOF
23305 cat confdefs.h >>conftest.$ac_ext
23306 cat >>conftest.$ac_ext <<_ACEOF
23307 /* end confdefs.h. */
23308 $ac_includes_default
23309 typedef size_t ac__type_sizeof_;
23310 int
23311 main ()
23312 {
23313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23314 test_array [0] = 0
23315
23316 ;
23317 return 0;
23318 }
23319 _ACEOF
23320 rm -f conftest.$ac_objext
23321 if { (ac_try="$ac_compile"
23322 case "(($ac_try" in
23323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23324 *) ac_try_echo=$ac_try;;
23325 esac
23326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23327 (eval "$ac_compile") 2>conftest.er1
23328 ac_status=$?
23329 grep -v '^ *+' conftest.er1 >conftest.err
23330 rm -f conftest.er1
23331 cat conftest.err >&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } && {
23334 test -z "$ac_c_werror_flag" ||
23335 test ! -s conftest.err
23336 } && test -s conftest.$ac_objext; then
23337 ac_lo=0 ac_mid=0
23338 while :; do
23339 cat >conftest.$ac_ext <<_ACEOF
23340 /* confdefs.h. */
23341 _ACEOF
23342 cat confdefs.h >>conftest.$ac_ext
23343 cat >>conftest.$ac_ext <<_ACEOF
23344 /* end confdefs.h. */
23345 $ac_includes_default
23346 typedef size_t ac__type_sizeof_;
23347 int
23348 main ()
23349 {
23350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23351 test_array [0] = 0
23352
23353 ;
23354 return 0;
23355 }
23356 _ACEOF
23357 rm -f conftest.$ac_objext
23358 if { (ac_try="$ac_compile"
23359 case "(($ac_try" in
23360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23361 *) ac_try_echo=$ac_try;;
23362 esac
23363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23364 (eval "$ac_compile") 2>conftest.er1
23365 ac_status=$?
23366 grep -v '^ *+' conftest.er1 >conftest.err
23367 rm -f conftest.er1
23368 cat conftest.err >&5
23369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23370 (exit $ac_status); } && {
23371 test -z "$ac_c_werror_flag" ||
23372 test ! -s conftest.err
23373 } && test -s conftest.$ac_objext; then
23374 ac_hi=$ac_mid; break
23375 else
23376 echo "$as_me: failed program was:" >&5
23377 sed 's/^/| /' conftest.$ac_ext >&5
23378
23379 ac_lo=`expr $ac_mid + 1`
23380 if test $ac_lo -le $ac_mid; then
23381 ac_lo= ac_hi=
23382 break
23383 fi
23384 ac_mid=`expr 2 '*' $ac_mid + 1`
23385 fi
23386
23387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23388 done
23389 else
23390 echo "$as_me: failed program was:" >&5
23391 sed 's/^/| /' conftest.$ac_ext >&5
23392
23393 cat >conftest.$ac_ext <<_ACEOF
23394 /* confdefs.h. */
23395 _ACEOF
23396 cat confdefs.h >>conftest.$ac_ext
23397 cat >>conftest.$ac_ext <<_ACEOF
23398 /* end confdefs.h. */
23399 $ac_includes_default
23400 typedef size_t ac__type_sizeof_;
23401 int
23402 main ()
23403 {
23404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23405 test_array [0] = 0
23406
23407 ;
23408 return 0;
23409 }
23410 _ACEOF
23411 rm -f conftest.$ac_objext
23412 if { (ac_try="$ac_compile"
23413 case "(($ac_try" in
23414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23415 *) ac_try_echo=$ac_try;;
23416 esac
23417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23418 (eval "$ac_compile") 2>conftest.er1
23419 ac_status=$?
23420 grep -v '^ *+' conftest.er1 >conftest.err
23421 rm -f conftest.er1
23422 cat conftest.err >&5
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); } && {
23425 test -z "$ac_c_werror_flag" ||
23426 test ! -s conftest.err
23427 } && test -s conftest.$ac_objext; then
23428 ac_hi=-1 ac_mid=-1
23429 while :; do
23430 cat >conftest.$ac_ext <<_ACEOF
23431 /* confdefs.h. */
23432 _ACEOF
23433 cat confdefs.h >>conftest.$ac_ext
23434 cat >>conftest.$ac_ext <<_ACEOF
23435 /* end confdefs.h. */
23436 $ac_includes_default
23437 typedef size_t ac__type_sizeof_;
23438 int
23439 main ()
23440 {
23441 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23442 test_array [0] = 0
23443
23444 ;
23445 return 0;
23446 }
23447 _ACEOF
23448 rm -f conftest.$ac_objext
23449 if { (ac_try="$ac_compile"
23450 case "(($ac_try" in
23451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23452 *) ac_try_echo=$ac_try;;
23453 esac
23454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23455 (eval "$ac_compile") 2>conftest.er1
23456 ac_status=$?
23457 grep -v '^ *+' conftest.er1 >conftest.err
23458 rm -f conftest.er1
23459 cat conftest.err >&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); } && {
23462 test -z "$ac_c_werror_flag" ||
23463 test ! -s conftest.err
23464 } && test -s conftest.$ac_objext; then
23465 ac_lo=$ac_mid; break
23466 else
23467 echo "$as_me: failed program was:" >&5
23468 sed 's/^/| /' conftest.$ac_ext >&5
23469
23470 ac_hi=`expr '(' $ac_mid ')' - 1`
23471 if test $ac_mid -le $ac_hi; then
23472 ac_lo= ac_hi=
23473 break
23474 fi
23475 ac_mid=`expr 2 '*' $ac_mid`
23476 fi
23477
23478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23479 done
23480 else
23481 echo "$as_me: failed program was:" >&5
23482 sed 's/^/| /' conftest.$ac_ext >&5
23483
23484 ac_lo= ac_hi=
23485 fi
23486
23487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23488 fi
23489
23490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491 # Binary search between lo and hi bounds.
23492 while test "x$ac_lo" != "x$ac_hi"; do
23493 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23494 cat >conftest.$ac_ext <<_ACEOF
23495 /* confdefs.h. */
23496 _ACEOF
23497 cat confdefs.h >>conftest.$ac_ext
23498 cat >>conftest.$ac_ext <<_ACEOF
23499 /* end confdefs.h. */
23500 $ac_includes_default
23501 typedef size_t ac__type_sizeof_;
23502 int
23503 main ()
23504 {
23505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23506 test_array [0] = 0
23507
23508 ;
23509 return 0;
23510 }
23511 _ACEOF
23512 rm -f conftest.$ac_objext
23513 if { (ac_try="$ac_compile"
23514 case "(($ac_try" in
23515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23516 *) ac_try_echo=$ac_try;;
23517 esac
23518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23519 (eval "$ac_compile") 2>conftest.er1
23520 ac_status=$?
23521 grep -v '^ *+' conftest.er1 >conftest.err
23522 rm -f conftest.er1
23523 cat conftest.err >&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); } && {
23526 test -z "$ac_c_werror_flag" ||
23527 test ! -s conftest.err
23528 } && test -s conftest.$ac_objext; then
23529 ac_hi=$ac_mid
23530 else
23531 echo "$as_me: failed program was:" >&5
23532 sed 's/^/| /' conftest.$ac_ext >&5
23533
23534 ac_lo=`expr '(' $ac_mid ')' + 1`
23535 fi
23536
23537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23538 done
23539 case $ac_lo in
23540 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23541 '') if test "$ac_cv_type_size_t" = yes; then
23542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23543 See \`config.log' for more details." >&5
23544 echo "$as_me: error: cannot compute sizeof (size_t)
23545 See \`config.log' for more details." >&2;}
23546 { (exit 77); exit 77; }; }
23547 else
23548 ac_cv_sizeof_size_t=0
23549 fi ;;
23550 esac
23551 else
23552 cat >conftest.$ac_ext <<_ACEOF
23553 /* confdefs.h. */
23554 _ACEOF
23555 cat confdefs.h >>conftest.$ac_ext
23556 cat >>conftest.$ac_ext <<_ACEOF
23557 /* end confdefs.h. */
23558 $ac_includes_default
23559 typedef size_t ac__type_sizeof_;
23560 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23561 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23562 #include <stdio.h>
23563 #include <stdlib.h>
23564 int
23565 main ()
23566 {
23567
23568 FILE *f = fopen ("conftest.val", "w");
23569 if (! f)
23570 return 1;
23571 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23572 {
23573 long int i = longval ();
23574 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23575 return 1;
23576 fprintf (f, "%ld\n", i);
23577 }
23578 else
23579 {
23580 unsigned long int i = ulongval ();
23581 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23582 return 1;
23583 fprintf (f, "%lu\n", i);
23584 }
23585 return ferror (f) || fclose (f) != 0;
23586
23587 ;
23588 return 0;
23589 }
23590 _ACEOF
23591 rm -f conftest$ac_exeext
23592 if { (ac_try="$ac_link"
23593 case "(($ac_try" in
23594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23595 *) ac_try_echo=$ac_try;;
23596 esac
23597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23598 (eval "$ac_link") 2>&5
23599 ac_status=$?
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23602 { (case "(($ac_try" in
23603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23604 *) ac_try_echo=$ac_try;;
23605 esac
23606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23607 (eval "$ac_try") 2>&5
23608 ac_status=$?
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); }; }; then
23611 ac_cv_sizeof_size_t=`cat conftest.val`
23612 else
23613 echo "$as_me: program exited with status $ac_status" >&5
23614 echo "$as_me: failed program was:" >&5
23615 sed 's/^/| /' conftest.$ac_ext >&5
23616
23617 ( exit $ac_status )
23618 if test "$ac_cv_type_size_t" = yes; then
23619 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23620 See \`config.log' for more details." >&5
23621 echo "$as_me: error: cannot compute sizeof (size_t)
23622 See \`config.log' for more details." >&2;}
23623 { (exit 77); exit 77; }; }
23624 else
23625 ac_cv_sizeof_size_t=0
23626 fi
23627 fi
23628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23629 fi
23630 rm -f conftest.val
23631 fi
23632 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23633 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23634
23635
23636
23637 cat >>confdefs.h <<_ACEOF
23638 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23639 _ACEOF
23640
23641
23642
23643 case "${host}" in
23644 arm-*-linux* )
23645 { echo "$as_me:$LINENO: checking for long long" >&5
23646 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23647 if test "${ac_cv_type_long_long+set}" = set; then
23648 echo $ECHO_N "(cached) $ECHO_C" >&6
23649 else
23650 cat >conftest.$ac_ext <<_ACEOF
23651 /* confdefs.h. */
23652 _ACEOF
23653 cat confdefs.h >>conftest.$ac_ext
23654 cat >>conftest.$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23656 $ac_includes_default
23657 typedef long long ac__type_new_;
23658 int
23659 main ()
23660 {
23661 if ((ac__type_new_ *) 0)
23662 return 0;
23663 if (sizeof (ac__type_new_))
23664 return 0;
23665 ;
23666 return 0;
23667 }
23668 _ACEOF
23669 rm -f conftest.$ac_objext
23670 if { (ac_try="$ac_compile"
23671 case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23674 esac
23675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23676 (eval "$ac_compile") 2>conftest.er1
23677 ac_status=$?
23678 grep -v '^ *+' conftest.er1 >conftest.err
23679 rm -f conftest.er1
23680 cat conftest.err >&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); } && {
23683 test -z "$ac_c_werror_flag" ||
23684 test ! -s conftest.err
23685 } && test -s conftest.$ac_objext; then
23686 ac_cv_type_long_long=yes
23687 else
23688 echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.$ac_ext >&5
23690
23691 ac_cv_type_long_long=no
23692 fi
23693
23694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23695 fi
23696 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23697 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23698
23699 # The cast to long int works around a bug in the HP C Compiler
23700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23702 # This bug is HP SR number 8606223364.
23703 { echo "$as_me:$LINENO: checking size of long long" >&5
23704 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23705 if test "${ac_cv_sizeof_long_long+set}" = set; then
23706 echo $ECHO_N "(cached) $ECHO_C" >&6
23707 else
23708 if test "$cross_compiling" = yes; then
23709 # Depending upon the size, compute the lo and hi bounds.
23710 cat >conftest.$ac_ext <<_ACEOF
23711 /* confdefs.h. */
23712 _ACEOF
23713 cat confdefs.h >>conftest.$ac_ext
23714 cat >>conftest.$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23716 $ac_includes_default
23717 typedef long long ac__type_sizeof_;
23718 int
23719 main ()
23720 {
23721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23722 test_array [0] = 0
23723
23724 ;
23725 return 0;
23726 }
23727 _ACEOF
23728 rm -f conftest.$ac_objext
23729 if { (ac_try="$ac_compile"
23730 case "(($ac_try" in
23731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23732 *) ac_try_echo=$ac_try;;
23733 esac
23734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23735 (eval "$ac_compile") 2>conftest.er1
23736 ac_status=$?
23737 grep -v '^ *+' conftest.er1 >conftest.err
23738 rm -f conftest.er1
23739 cat conftest.err >&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); } && {
23742 test -z "$ac_c_werror_flag" ||
23743 test ! -s conftest.err
23744 } && test -s conftest.$ac_objext; then
23745 ac_lo=0 ac_mid=0
23746 while :; do
23747 cat >conftest.$ac_ext <<_ACEOF
23748 /* confdefs.h. */
23749 _ACEOF
23750 cat confdefs.h >>conftest.$ac_ext
23751 cat >>conftest.$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23753 $ac_includes_default
23754 typedef long long ac__type_sizeof_;
23755 int
23756 main ()
23757 {
23758 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23759 test_array [0] = 0
23760
23761 ;
23762 return 0;
23763 }
23764 _ACEOF
23765 rm -f conftest.$ac_objext
23766 if { (ac_try="$ac_compile"
23767 case "(($ac_try" in
23768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23769 *) ac_try_echo=$ac_try;;
23770 esac
23771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23772 (eval "$ac_compile") 2>conftest.er1
23773 ac_status=$?
23774 grep -v '^ *+' conftest.er1 >conftest.err
23775 rm -f conftest.er1
23776 cat conftest.err >&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); } && {
23779 test -z "$ac_c_werror_flag" ||
23780 test ! -s conftest.err
23781 } && test -s conftest.$ac_objext; then
23782 ac_hi=$ac_mid; break
23783 else
23784 echo "$as_me: failed program was:" >&5
23785 sed 's/^/| /' conftest.$ac_ext >&5
23786
23787 ac_lo=`expr $ac_mid + 1`
23788 if test $ac_lo -le $ac_mid; then
23789 ac_lo= ac_hi=
23790 break
23791 fi
23792 ac_mid=`expr 2 '*' $ac_mid + 1`
23793 fi
23794
23795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23796 done
23797 else
23798 echo "$as_me: failed program was:" >&5
23799 sed 's/^/| /' conftest.$ac_ext >&5
23800
23801 cat >conftest.$ac_ext <<_ACEOF
23802 /* confdefs.h. */
23803 _ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 $ac_includes_default
23808 typedef long long ac__type_sizeof_;
23809 int
23810 main ()
23811 {
23812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23813 test_array [0] = 0
23814
23815 ;
23816 return 0;
23817 }
23818 _ACEOF
23819 rm -f conftest.$ac_objext
23820 if { (ac_try="$ac_compile"
23821 case "(($ac_try" in
23822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23823 *) ac_try_echo=$ac_try;;
23824 esac
23825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23826 (eval "$ac_compile") 2>conftest.er1
23827 ac_status=$?
23828 grep -v '^ *+' conftest.er1 >conftest.err
23829 rm -f conftest.er1
23830 cat conftest.err >&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); } && {
23833 test -z "$ac_c_werror_flag" ||
23834 test ! -s conftest.err
23835 } && test -s conftest.$ac_objext; then
23836 ac_hi=-1 ac_mid=-1
23837 while :; do
23838 cat >conftest.$ac_ext <<_ACEOF
23839 /* confdefs.h. */
23840 _ACEOF
23841 cat confdefs.h >>conftest.$ac_ext
23842 cat >>conftest.$ac_ext <<_ACEOF
23843 /* end confdefs.h. */
23844 $ac_includes_default
23845 typedef long long ac__type_sizeof_;
23846 int
23847 main ()
23848 {
23849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23850 test_array [0] = 0
23851
23852 ;
23853 return 0;
23854 }
23855 _ACEOF
23856 rm -f conftest.$ac_objext
23857 if { (ac_try="$ac_compile"
23858 case "(($ac_try" in
23859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23860 *) ac_try_echo=$ac_try;;
23861 esac
23862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23863 (eval "$ac_compile") 2>conftest.er1
23864 ac_status=$?
23865 grep -v '^ *+' conftest.er1 >conftest.err
23866 rm -f conftest.er1
23867 cat conftest.err >&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); } && {
23870 test -z "$ac_c_werror_flag" ||
23871 test ! -s conftest.err
23872 } && test -s conftest.$ac_objext; then
23873 ac_lo=$ac_mid; break
23874 else
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.$ac_ext >&5
23877
23878 ac_hi=`expr '(' $ac_mid ')' - 1`
23879 if test $ac_mid -le $ac_hi; then
23880 ac_lo= ac_hi=
23881 break
23882 fi
23883 ac_mid=`expr 2 '*' $ac_mid`
23884 fi
23885
23886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23887 done
23888 else
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.$ac_ext >&5
23891
23892 ac_lo= ac_hi=
23893 fi
23894
23895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23896 fi
23897
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23899 # Binary search between lo and hi bounds.
23900 while test "x$ac_lo" != "x$ac_hi"; do
23901 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23902 cat >conftest.$ac_ext <<_ACEOF
23903 /* confdefs.h. */
23904 _ACEOF
23905 cat confdefs.h >>conftest.$ac_ext
23906 cat >>conftest.$ac_ext <<_ACEOF
23907 /* end confdefs.h. */
23908 $ac_includes_default
23909 typedef long long ac__type_sizeof_;
23910 int
23911 main ()
23912 {
23913 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23914 test_array [0] = 0
23915
23916 ;
23917 return 0;
23918 }
23919 _ACEOF
23920 rm -f conftest.$ac_objext
23921 if { (ac_try="$ac_compile"
23922 case "(($ac_try" in
23923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23924 *) ac_try_echo=$ac_try;;
23925 esac
23926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23927 (eval "$ac_compile") 2>conftest.er1
23928 ac_status=$?
23929 grep -v '^ *+' conftest.er1 >conftest.err
23930 rm -f conftest.er1
23931 cat conftest.err >&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } && {
23934 test -z "$ac_c_werror_flag" ||
23935 test ! -s conftest.err
23936 } && test -s conftest.$ac_objext; then
23937 ac_hi=$ac_mid
23938 else
23939 echo "$as_me: failed program was:" >&5
23940 sed 's/^/| /' conftest.$ac_ext >&5
23941
23942 ac_lo=`expr '(' $ac_mid ')' + 1`
23943 fi
23944
23945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23946 done
23947 case $ac_lo in
23948 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23949 '') if test "$ac_cv_type_long_long" = yes; then
23950 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23951 See \`config.log' for more details." >&5
23952 echo "$as_me: error: cannot compute sizeof (long long)
23953 See \`config.log' for more details." >&2;}
23954 { (exit 77); exit 77; }; }
23955 else
23956 ac_cv_sizeof_long_long=0
23957 fi ;;
23958 esac
23959 else
23960 cat >conftest.$ac_ext <<_ACEOF
23961 /* confdefs.h. */
23962 _ACEOF
23963 cat confdefs.h >>conftest.$ac_ext
23964 cat >>conftest.$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23966 $ac_includes_default
23967 typedef long long ac__type_sizeof_;
23968 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23969 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23970 #include <stdio.h>
23971 #include <stdlib.h>
23972 int
23973 main ()
23974 {
23975
23976 FILE *f = fopen ("conftest.val", "w");
23977 if (! f)
23978 return 1;
23979 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23980 {
23981 long int i = longval ();
23982 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23983 return 1;
23984 fprintf (f, "%ld\n", i);
23985 }
23986 else
23987 {
23988 unsigned long int i = ulongval ();
23989 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23990 return 1;
23991 fprintf (f, "%lu\n", i);
23992 }
23993 return ferror (f) || fclose (f) != 0;
23994
23995 ;
23996 return 0;
23997 }
23998 _ACEOF
23999 rm -f conftest$ac_exeext
24000 if { (ac_try="$ac_link"
24001 case "(($ac_try" in
24002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24003 *) ac_try_echo=$ac_try;;
24004 esac
24005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24006 (eval "$ac_link") 2>&5
24007 ac_status=$?
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24010 { (case "(($ac_try" in
24011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24012 *) ac_try_echo=$ac_try;;
24013 esac
24014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24015 (eval "$ac_try") 2>&5
24016 ac_status=$?
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); }; }; then
24019 ac_cv_sizeof_long_long=`cat conftest.val`
24020 else
24021 echo "$as_me: program exited with status $ac_status" >&5
24022 echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.$ac_ext >&5
24024
24025 ( exit $ac_status )
24026 if test "$ac_cv_type_long_long" = yes; then
24027 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24028 See \`config.log' for more details." >&5
24029 echo "$as_me: error: cannot compute sizeof (long long)
24030 See \`config.log' for more details." >&2;}
24031 { (exit 77); exit 77; }; }
24032 else
24033 ac_cv_sizeof_long_long=0
24034 fi
24035 fi
24036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24037 fi
24038 rm -f conftest.val
24039 fi
24040 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24041 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24042
24043
24044
24045 cat >>confdefs.h <<_ACEOF
24046 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24047 _ACEOF
24048
24049
24050 ;;
24051 *-hp-hpux* )
24052 { echo "$as_me:$LINENO: checking for long long" >&5
24053 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24054 if test "${ac_cv_type_long_long+set}" = set; then
24055 echo $ECHO_N "(cached) $ECHO_C" >&6
24056 else
24057 cat >conftest.$ac_ext <<_ACEOF
24058 /* confdefs.h. */
24059 _ACEOF
24060 cat confdefs.h >>conftest.$ac_ext
24061 cat >>conftest.$ac_ext <<_ACEOF
24062 /* end confdefs.h. */
24063 $ac_includes_default
24064 typedef long long ac__type_new_;
24065 int
24066 main ()
24067 {
24068 if ((ac__type_new_ *) 0)
24069 return 0;
24070 if (sizeof (ac__type_new_))
24071 return 0;
24072 ;
24073 return 0;
24074 }
24075 _ACEOF
24076 rm -f conftest.$ac_objext
24077 if { (ac_try="$ac_compile"
24078 case "(($ac_try" in
24079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24080 *) ac_try_echo=$ac_try;;
24081 esac
24082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24083 (eval "$ac_compile") 2>conftest.er1
24084 ac_status=$?
24085 grep -v '^ *+' conftest.er1 >conftest.err
24086 rm -f conftest.er1
24087 cat conftest.err >&5
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } && {
24090 test -z "$ac_c_werror_flag" ||
24091 test ! -s conftest.err
24092 } && test -s conftest.$ac_objext; then
24093 ac_cv_type_long_long=yes
24094 else
24095 echo "$as_me: failed program was:" >&5
24096 sed 's/^/| /' conftest.$ac_ext >&5
24097
24098 ac_cv_type_long_long=no
24099 fi
24100
24101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24102 fi
24103 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24104 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24105
24106 # The cast to long int works around a bug in the HP C Compiler
24107 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24108 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24109 # This bug is HP SR number 8606223364.
24110 { echo "$as_me:$LINENO: checking size of long long" >&5
24111 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24112 if test "${ac_cv_sizeof_long_long+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24114 else
24115 if test "$cross_compiling" = yes; then
24116 # Depending upon the size, compute the lo and hi bounds.
24117 cat >conftest.$ac_ext <<_ACEOF
24118 /* confdefs.h. */
24119 _ACEOF
24120 cat confdefs.h >>conftest.$ac_ext
24121 cat >>conftest.$ac_ext <<_ACEOF
24122 /* end confdefs.h. */
24123 $ac_includes_default
24124 typedef long long ac__type_sizeof_;
24125 int
24126 main ()
24127 {
24128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24129 test_array [0] = 0
24130
24131 ;
24132 return 0;
24133 }
24134 _ACEOF
24135 rm -f conftest.$ac_objext
24136 if { (ac_try="$ac_compile"
24137 case "(($ac_try" in
24138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24139 *) ac_try_echo=$ac_try;;
24140 esac
24141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24142 (eval "$ac_compile") 2>conftest.er1
24143 ac_status=$?
24144 grep -v '^ *+' conftest.er1 >conftest.err
24145 rm -f conftest.er1
24146 cat conftest.err >&5
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); } && {
24149 test -z "$ac_c_werror_flag" ||
24150 test ! -s conftest.err
24151 } && test -s conftest.$ac_objext; then
24152 ac_lo=0 ac_mid=0
24153 while :; do
24154 cat >conftest.$ac_ext <<_ACEOF
24155 /* confdefs.h. */
24156 _ACEOF
24157 cat confdefs.h >>conftest.$ac_ext
24158 cat >>conftest.$ac_ext <<_ACEOF
24159 /* end confdefs.h. */
24160 $ac_includes_default
24161 typedef long long ac__type_sizeof_;
24162 int
24163 main ()
24164 {
24165 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24166 test_array [0] = 0
24167
24168 ;
24169 return 0;
24170 }
24171 _ACEOF
24172 rm -f conftest.$ac_objext
24173 if { (ac_try="$ac_compile"
24174 case "(($ac_try" in
24175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24176 *) ac_try_echo=$ac_try;;
24177 esac
24178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24179 (eval "$ac_compile") 2>conftest.er1
24180 ac_status=$?
24181 grep -v '^ *+' conftest.er1 >conftest.err
24182 rm -f conftest.er1
24183 cat conftest.err >&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); } && {
24186 test -z "$ac_c_werror_flag" ||
24187 test ! -s conftest.err
24188 } && test -s conftest.$ac_objext; then
24189 ac_hi=$ac_mid; break
24190 else
24191 echo "$as_me: failed program was:" >&5
24192 sed 's/^/| /' conftest.$ac_ext >&5
24193
24194 ac_lo=`expr $ac_mid + 1`
24195 if test $ac_lo -le $ac_mid; then
24196 ac_lo= ac_hi=
24197 break
24198 fi
24199 ac_mid=`expr 2 '*' $ac_mid + 1`
24200 fi
24201
24202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24203 done
24204 else
24205 echo "$as_me: failed program was:" >&5
24206 sed 's/^/| /' conftest.$ac_ext >&5
24207
24208 cat >conftest.$ac_ext <<_ACEOF
24209 /* confdefs.h. */
24210 _ACEOF
24211 cat confdefs.h >>conftest.$ac_ext
24212 cat >>conftest.$ac_ext <<_ACEOF
24213 /* end confdefs.h. */
24214 $ac_includes_default
24215 typedef long long ac__type_sizeof_;
24216 int
24217 main ()
24218 {
24219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24220 test_array [0] = 0
24221
24222 ;
24223 return 0;
24224 }
24225 _ACEOF
24226 rm -f conftest.$ac_objext
24227 if { (ac_try="$ac_compile"
24228 case "(($ac_try" in
24229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24230 *) ac_try_echo=$ac_try;;
24231 esac
24232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24233 (eval "$ac_compile") 2>conftest.er1
24234 ac_status=$?
24235 grep -v '^ *+' conftest.er1 >conftest.err
24236 rm -f conftest.er1
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } && {
24240 test -z "$ac_c_werror_flag" ||
24241 test ! -s conftest.err
24242 } && test -s conftest.$ac_objext; then
24243 ac_hi=-1 ac_mid=-1
24244 while :; do
24245 cat >conftest.$ac_ext <<_ACEOF
24246 /* confdefs.h. */
24247 _ACEOF
24248 cat confdefs.h >>conftest.$ac_ext
24249 cat >>conftest.$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24251 $ac_includes_default
24252 typedef long long ac__type_sizeof_;
24253 int
24254 main ()
24255 {
24256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24257 test_array [0] = 0
24258
24259 ;
24260 return 0;
24261 }
24262 _ACEOF
24263 rm -f conftest.$ac_objext
24264 if { (ac_try="$ac_compile"
24265 case "(($ac_try" in
24266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24267 *) ac_try_echo=$ac_try;;
24268 esac
24269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24270 (eval "$ac_compile") 2>conftest.er1
24271 ac_status=$?
24272 grep -v '^ *+' conftest.er1 >conftest.err
24273 rm -f conftest.er1
24274 cat conftest.err >&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); } && {
24277 test -z "$ac_c_werror_flag" ||
24278 test ! -s conftest.err
24279 } && test -s conftest.$ac_objext; then
24280 ac_lo=$ac_mid; break
24281 else
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.$ac_ext >&5
24284
24285 ac_hi=`expr '(' $ac_mid ')' - 1`
24286 if test $ac_mid -le $ac_hi; then
24287 ac_lo= ac_hi=
24288 break
24289 fi
24290 ac_mid=`expr 2 '*' $ac_mid`
24291 fi
24292
24293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294 done
24295 else
24296 echo "$as_me: failed program was:" >&5
24297 sed 's/^/| /' conftest.$ac_ext >&5
24298
24299 ac_lo= ac_hi=
24300 fi
24301
24302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24303 fi
24304
24305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24306 # Binary search between lo and hi bounds.
24307 while test "x$ac_lo" != "x$ac_hi"; do
24308 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24309 cat >conftest.$ac_ext <<_ACEOF
24310 /* confdefs.h. */
24311 _ACEOF
24312 cat confdefs.h >>conftest.$ac_ext
24313 cat >>conftest.$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24315 $ac_includes_default
24316 typedef long long ac__type_sizeof_;
24317 int
24318 main ()
24319 {
24320 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24321 test_array [0] = 0
24322
24323 ;
24324 return 0;
24325 }
24326 _ACEOF
24327 rm -f conftest.$ac_objext
24328 if { (ac_try="$ac_compile"
24329 case "(($ac_try" in
24330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24331 *) ac_try_echo=$ac_try;;
24332 esac
24333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24334 (eval "$ac_compile") 2>conftest.er1
24335 ac_status=$?
24336 grep -v '^ *+' conftest.er1 >conftest.err
24337 rm -f conftest.er1
24338 cat conftest.err >&5
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); } && {
24341 test -z "$ac_c_werror_flag" ||
24342 test ! -s conftest.err
24343 } && test -s conftest.$ac_objext; then
24344 ac_hi=$ac_mid
24345 else
24346 echo "$as_me: failed program was:" >&5
24347 sed 's/^/| /' conftest.$ac_ext >&5
24348
24349 ac_lo=`expr '(' $ac_mid ')' + 1`
24350 fi
24351
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353 done
24354 case $ac_lo in
24355 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24356 '') if test "$ac_cv_type_long_long" = yes; then
24357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24358 See \`config.log' for more details." >&5
24359 echo "$as_me: error: cannot compute sizeof (long long)
24360 See \`config.log' for more details." >&2;}
24361 { (exit 77); exit 77; }; }
24362 else
24363 ac_cv_sizeof_long_long=0
24364 fi ;;
24365 esac
24366 else
24367 cat >conftest.$ac_ext <<_ACEOF
24368 /* confdefs.h. */
24369 _ACEOF
24370 cat confdefs.h >>conftest.$ac_ext
24371 cat >>conftest.$ac_ext <<_ACEOF
24372 /* end confdefs.h. */
24373 $ac_includes_default
24374 typedef long long ac__type_sizeof_;
24375 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24376 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24377 #include <stdio.h>
24378 #include <stdlib.h>
24379 int
24380 main ()
24381 {
24382
24383 FILE *f = fopen ("conftest.val", "w");
24384 if (! f)
24385 return 1;
24386 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24387 {
24388 long int i = longval ();
24389 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24390 return 1;
24391 fprintf (f, "%ld\n", i);
24392 }
24393 else
24394 {
24395 unsigned long int i = ulongval ();
24396 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24397 return 1;
24398 fprintf (f, "%lu\n", i);
24399 }
24400 return ferror (f) || fclose (f) != 0;
24401
24402 ;
24403 return 0;
24404 }
24405 _ACEOF
24406 rm -f conftest$ac_exeext
24407 if { (ac_try="$ac_link"
24408 case "(($ac_try" in
24409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24410 *) ac_try_echo=$ac_try;;
24411 esac
24412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24413 (eval "$ac_link") 2>&5
24414 ac_status=$?
24415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24416 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24417 { (case "(($ac_try" in
24418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24419 *) ac_try_echo=$ac_try;;
24420 esac
24421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24422 (eval "$ac_try") 2>&5
24423 ac_status=$?
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); }; }; then
24426 ac_cv_sizeof_long_long=`cat conftest.val`
24427 else
24428 echo "$as_me: program exited with status $ac_status" >&5
24429 echo "$as_me: failed program was:" >&5
24430 sed 's/^/| /' conftest.$ac_ext >&5
24431
24432 ( exit $ac_status )
24433 if test "$ac_cv_type_long_long" = yes; then
24434 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24435 See \`config.log' for more details." >&5
24436 echo "$as_me: error: cannot compute sizeof (long long)
24437 See \`config.log' for more details." >&2;}
24438 { (exit 77); exit 77; }; }
24439 else
24440 ac_cv_sizeof_long_long=0
24441 fi
24442 fi
24443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24444 fi
24445 rm -f conftest.val
24446 fi
24447 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24448 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24449
24450
24451
24452 cat >>confdefs.h <<_ACEOF
24453 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24454 _ACEOF
24455
24456
24457 if test "$ac_cv_sizeof_long_long" != "0"; then
24458 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24459 fi
24460 ;;
24461 * )
24462 { echo "$as_me:$LINENO: checking for long long" >&5
24463 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24464 if test "${ac_cv_type_long_long+set}" = set; then
24465 echo $ECHO_N "(cached) $ECHO_C" >&6
24466 else
24467 cat >conftest.$ac_ext <<_ACEOF
24468 /* confdefs.h. */
24469 _ACEOF
24470 cat confdefs.h >>conftest.$ac_ext
24471 cat >>conftest.$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24473 $ac_includes_default
24474 typedef long long ac__type_new_;
24475 int
24476 main ()
24477 {
24478 if ((ac__type_new_ *) 0)
24479 return 0;
24480 if (sizeof (ac__type_new_))
24481 return 0;
24482 ;
24483 return 0;
24484 }
24485 _ACEOF
24486 rm -f conftest.$ac_objext
24487 if { (ac_try="$ac_compile"
24488 case "(($ac_try" in
24489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24490 *) ac_try_echo=$ac_try;;
24491 esac
24492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24493 (eval "$ac_compile") 2>conftest.er1
24494 ac_status=$?
24495 grep -v '^ *+' conftest.er1 >conftest.err
24496 rm -f conftest.er1
24497 cat conftest.err >&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } && {
24500 test -z "$ac_c_werror_flag" ||
24501 test ! -s conftest.err
24502 } && test -s conftest.$ac_objext; then
24503 ac_cv_type_long_long=yes
24504 else
24505 echo "$as_me: failed program was:" >&5
24506 sed 's/^/| /' conftest.$ac_ext >&5
24507
24508 ac_cv_type_long_long=no
24509 fi
24510
24511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24512 fi
24513 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24514 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24515
24516 # The cast to long int works around a bug in the HP C Compiler
24517 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24518 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24519 # This bug is HP SR number 8606223364.
24520 { echo "$as_me:$LINENO: checking size of long long" >&5
24521 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24522 if test "${ac_cv_sizeof_long_long+set}" = set; then
24523 echo $ECHO_N "(cached) $ECHO_C" >&6
24524 else
24525 if test "$cross_compiling" = yes; then
24526 # Depending upon the size, compute the lo and hi bounds.
24527 cat >conftest.$ac_ext <<_ACEOF
24528 /* confdefs.h. */
24529 _ACEOF
24530 cat confdefs.h >>conftest.$ac_ext
24531 cat >>conftest.$ac_ext <<_ACEOF
24532 /* end confdefs.h. */
24533 $ac_includes_default
24534 typedef long long ac__type_sizeof_;
24535 int
24536 main ()
24537 {
24538 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24539 test_array [0] = 0
24540
24541 ;
24542 return 0;
24543 }
24544 _ACEOF
24545 rm -f conftest.$ac_objext
24546 if { (ac_try="$ac_compile"
24547 case "(($ac_try" in
24548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24549 *) ac_try_echo=$ac_try;;
24550 esac
24551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24552 (eval "$ac_compile") 2>conftest.er1
24553 ac_status=$?
24554 grep -v '^ *+' conftest.er1 >conftest.err
24555 rm -f conftest.er1
24556 cat conftest.err >&5
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); } && {
24559 test -z "$ac_c_werror_flag" ||
24560 test ! -s conftest.err
24561 } && test -s conftest.$ac_objext; then
24562 ac_lo=0 ac_mid=0
24563 while :; do
24564 cat >conftest.$ac_ext <<_ACEOF
24565 /* confdefs.h. */
24566 _ACEOF
24567 cat confdefs.h >>conftest.$ac_ext
24568 cat >>conftest.$ac_ext <<_ACEOF
24569 /* end confdefs.h. */
24570 $ac_includes_default
24571 typedef long long ac__type_sizeof_;
24572 int
24573 main ()
24574 {
24575 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24576 test_array [0] = 0
24577
24578 ;
24579 return 0;
24580 }
24581 _ACEOF
24582 rm -f conftest.$ac_objext
24583 if { (ac_try="$ac_compile"
24584 case "(($ac_try" in
24585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24586 *) ac_try_echo=$ac_try;;
24587 esac
24588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24589 (eval "$ac_compile") 2>conftest.er1
24590 ac_status=$?
24591 grep -v '^ *+' conftest.er1 >conftest.err
24592 rm -f conftest.er1
24593 cat conftest.err >&5
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); } && {
24596 test -z "$ac_c_werror_flag" ||
24597 test ! -s conftest.err
24598 } && test -s conftest.$ac_objext; then
24599 ac_hi=$ac_mid; break
24600 else
24601 echo "$as_me: failed program was:" >&5
24602 sed 's/^/| /' conftest.$ac_ext >&5
24603
24604 ac_lo=`expr $ac_mid + 1`
24605 if test $ac_lo -le $ac_mid; then
24606 ac_lo= ac_hi=
24607 break
24608 fi
24609 ac_mid=`expr 2 '*' $ac_mid + 1`
24610 fi
24611
24612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24613 done
24614 else
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.$ac_ext >&5
24617
24618 cat >conftest.$ac_ext <<_ACEOF
24619 /* confdefs.h. */
24620 _ACEOF
24621 cat confdefs.h >>conftest.$ac_ext
24622 cat >>conftest.$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24624 $ac_includes_default
24625 typedef long long ac__type_sizeof_;
24626 int
24627 main ()
24628 {
24629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24630 test_array [0] = 0
24631
24632 ;
24633 return 0;
24634 }
24635 _ACEOF
24636 rm -f conftest.$ac_objext
24637 if { (ac_try="$ac_compile"
24638 case "(($ac_try" in
24639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24640 *) ac_try_echo=$ac_try;;
24641 esac
24642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24643 (eval "$ac_compile") 2>conftest.er1
24644 ac_status=$?
24645 grep -v '^ *+' conftest.er1 >conftest.err
24646 rm -f conftest.er1
24647 cat conftest.err >&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } && {
24650 test -z "$ac_c_werror_flag" ||
24651 test ! -s conftest.err
24652 } && test -s conftest.$ac_objext; then
24653 ac_hi=-1 ac_mid=-1
24654 while :; do
24655 cat >conftest.$ac_ext <<_ACEOF
24656 /* confdefs.h. */
24657 _ACEOF
24658 cat confdefs.h >>conftest.$ac_ext
24659 cat >>conftest.$ac_ext <<_ACEOF
24660 /* end confdefs.h. */
24661 $ac_includes_default
24662 typedef long long ac__type_sizeof_;
24663 int
24664 main ()
24665 {
24666 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24667 test_array [0] = 0
24668
24669 ;
24670 return 0;
24671 }
24672 _ACEOF
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24678 esac
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24681 ac_status=$?
24682 grep -v '^ *+' conftest.er1 >conftest.err
24683 rm -f conftest.er1
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_c_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.$ac_objext; then
24690 ac_lo=$ac_mid; break
24691 else
24692 echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.$ac_ext >&5
24694
24695 ac_hi=`expr '(' $ac_mid ')' - 1`
24696 if test $ac_mid -le $ac_hi; then
24697 ac_lo= ac_hi=
24698 break
24699 fi
24700 ac_mid=`expr 2 '*' $ac_mid`
24701 fi
24702
24703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24704 done
24705 else
24706 echo "$as_me: failed program was:" >&5
24707 sed 's/^/| /' conftest.$ac_ext >&5
24708
24709 ac_lo= ac_hi=
24710 fi
24711
24712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24713 fi
24714
24715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24716 # Binary search between lo and hi bounds.
24717 while test "x$ac_lo" != "x$ac_hi"; do
24718 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24719 cat >conftest.$ac_ext <<_ACEOF
24720 /* confdefs.h. */
24721 _ACEOF
24722 cat confdefs.h >>conftest.$ac_ext
24723 cat >>conftest.$ac_ext <<_ACEOF
24724 /* end confdefs.h. */
24725 $ac_includes_default
24726 typedef long long ac__type_sizeof_;
24727 int
24728 main ()
24729 {
24730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24731 test_array [0] = 0
24732
24733 ;
24734 return 0;
24735 }
24736 _ACEOF
24737 rm -f conftest.$ac_objext
24738 if { (ac_try="$ac_compile"
24739 case "(($ac_try" in
24740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24741 *) ac_try_echo=$ac_try;;
24742 esac
24743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24744 (eval "$ac_compile") 2>conftest.er1
24745 ac_status=$?
24746 grep -v '^ *+' conftest.er1 >conftest.err
24747 rm -f conftest.er1
24748 cat conftest.err >&5
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); } && {
24751 test -z "$ac_c_werror_flag" ||
24752 test ! -s conftest.err
24753 } && test -s conftest.$ac_objext; then
24754 ac_hi=$ac_mid
24755 else
24756 echo "$as_me: failed program was:" >&5
24757 sed 's/^/| /' conftest.$ac_ext >&5
24758
24759 ac_lo=`expr '(' $ac_mid ')' + 1`
24760 fi
24761
24762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24763 done
24764 case $ac_lo in
24765 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24766 '') if test "$ac_cv_type_long_long" = yes; then
24767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24768 See \`config.log' for more details." >&5
24769 echo "$as_me: error: cannot compute sizeof (long long)
24770 See \`config.log' for more details." >&2;}
24771 { (exit 77); exit 77; }; }
24772 else
24773 ac_cv_sizeof_long_long=0
24774 fi ;;
24775 esac
24776 else
24777 cat >conftest.$ac_ext <<_ACEOF
24778 /* confdefs.h. */
24779 _ACEOF
24780 cat confdefs.h >>conftest.$ac_ext
24781 cat >>conftest.$ac_ext <<_ACEOF
24782 /* end confdefs.h. */
24783 $ac_includes_default
24784 typedef long long ac__type_sizeof_;
24785 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24786 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24787 #include <stdio.h>
24788 #include <stdlib.h>
24789 int
24790 main ()
24791 {
24792
24793 FILE *f = fopen ("conftest.val", "w");
24794 if (! f)
24795 return 1;
24796 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24797 {
24798 long int i = longval ();
24799 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24800 return 1;
24801 fprintf (f, "%ld\n", i);
24802 }
24803 else
24804 {
24805 unsigned long int i = ulongval ();
24806 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24807 return 1;
24808 fprintf (f, "%lu\n", i);
24809 }
24810 return ferror (f) || fclose (f) != 0;
24811
24812 ;
24813 return 0;
24814 }
24815 _ACEOF
24816 rm -f conftest$ac_exeext
24817 if { (ac_try="$ac_link"
24818 case "(($ac_try" in
24819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24820 *) ac_try_echo=$ac_try;;
24821 esac
24822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24823 (eval "$ac_link") 2>&5
24824 ac_status=$?
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24827 { (case "(($ac_try" in
24828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24829 *) ac_try_echo=$ac_try;;
24830 esac
24831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24832 (eval "$ac_try") 2>&5
24833 ac_status=$?
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); }; }; then
24836 ac_cv_sizeof_long_long=`cat conftest.val`
24837 else
24838 echo "$as_me: program exited with status $ac_status" >&5
24839 echo "$as_me: failed program was:" >&5
24840 sed 's/^/| /' conftest.$ac_ext >&5
24841
24842 ( exit $ac_status )
24843 if test "$ac_cv_type_long_long" = yes; then
24844 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24845 See \`config.log' for more details." >&5
24846 echo "$as_me: error: cannot compute sizeof (long long)
24847 See \`config.log' for more details." >&2;}
24848 { (exit 77); exit 77; }; }
24849 else
24850 ac_cv_sizeof_long_long=0
24851 fi
24852 fi
24853 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24854 fi
24855 rm -f conftest.val
24856 fi
24857 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24858 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24859
24860
24861
24862 cat >>confdefs.h <<_ACEOF
24863 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24864 _ACEOF
24865
24866
24867 esac
24868
24869 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24870 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24871 if test "${ac_cv_type_wchar_t+set}" = set; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24873 else
24874 cat >conftest.$ac_ext <<_ACEOF
24875 /* confdefs.h. */
24876 _ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880
24881 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24882 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24883 # error "fake wchar_t"
24884 #endif
24885 #ifdef HAVE_WCHAR_H
24886 # ifdef __CYGWIN__
24887 # include <stddef.h>
24888 # endif
24889 # include <wchar.h>
24890 #endif
24891 #ifdef HAVE_STDLIB_H
24892 # include <stdlib.h>
24893 #endif
24894 #include <stdio.h>
24895
24896
24897
24898 typedef wchar_t ac__type_new_;
24899 int
24900 main ()
24901 {
24902 if ((ac__type_new_ *) 0)
24903 return 0;
24904 if (sizeof (ac__type_new_))
24905 return 0;
24906 ;
24907 return 0;
24908 }
24909 _ACEOF
24910 rm -f conftest.$ac_objext
24911 if { (ac_try="$ac_compile"
24912 case "(($ac_try" in
24913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24914 *) ac_try_echo=$ac_try;;
24915 esac
24916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24917 (eval "$ac_compile") 2>conftest.er1
24918 ac_status=$?
24919 grep -v '^ *+' conftest.er1 >conftest.err
24920 rm -f conftest.er1
24921 cat conftest.err >&5
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); } && {
24924 test -z "$ac_c_werror_flag" ||
24925 test ! -s conftest.err
24926 } && test -s conftest.$ac_objext; then
24927 ac_cv_type_wchar_t=yes
24928 else
24929 echo "$as_me: failed program was:" >&5
24930 sed 's/^/| /' conftest.$ac_ext >&5
24931
24932 ac_cv_type_wchar_t=no
24933 fi
24934
24935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24936 fi
24937 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24938 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24939
24940 # The cast to long int works around a bug in the HP C Compiler
24941 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24942 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24943 # This bug is HP SR number 8606223364.
24944 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24945 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24946 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24947 echo $ECHO_N "(cached) $ECHO_C" >&6
24948 else
24949 if test "$cross_compiling" = yes; then
24950 # Depending upon the size, compute the lo and hi bounds.
24951 cat >conftest.$ac_ext <<_ACEOF
24952 /* confdefs.h. */
24953 _ACEOF
24954 cat confdefs.h >>conftest.$ac_ext
24955 cat >>conftest.$ac_ext <<_ACEOF
24956 /* end confdefs.h. */
24957
24958 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24959 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24960 # error "fake wchar_t"
24961 #endif
24962 #ifdef HAVE_WCHAR_H
24963 # ifdef __CYGWIN__
24964 # include <stddef.h>
24965 # endif
24966 # include <wchar.h>
24967 #endif
24968 #ifdef HAVE_STDLIB_H
24969 # include <stdlib.h>
24970 #endif
24971 #include <stdio.h>
24972
24973
24974
24975 typedef wchar_t ac__type_sizeof_;
24976 int
24977 main ()
24978 {
24979 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24980 test_array [0] = 0
24981
24982 ;
24983 return 0;
24984 }
24985 _ACEOF
24986 rm -f conftest.$ac_objext
24987 if { (ac_try="$ac_compile"
24988 case "(($ac_try" in
24989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24990 *) ac_try_echo=$ac_try;;
24991 esac
24992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24993 (eval "$ac_compile") 2>conftest.er1
24994 ac_status=$?
24995 grep -v '^ *+' conftest.er1 >conftest.err
24996 rm -f conftest.er1
24997 cat conftest.err >&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } && {
25000 test -z "$ac_c_werror_flag" ||
25001 test ! -s conftest.err
25002 } && test -s conftest.$ac_objext; then
25003 ac_lo=0 ac_mid=0
25004 while :; do
25005 cat >conftest.$ac_ext <<_ACEOF
25006 /* confdefs.h. */
25007 _ACEOF
25008 cat confdefs.h >>conftest.$ac_ext
25009 cat >>conftest.$ac_ext <<_ACEOF
25010 /* end confdefs.h. */
25011
25012 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25013 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25014 # error "fake wchar_t"
25015 #endif
25016 #ifdef HAVE_WCHAR_H
25017 # ifdef __CYGWIN__
25018 # include <stddef.h>
25019 # endif
25020 # include <wchar.h>
25021 #endif
25022 #ifdef HAVE_STDLIB_H
25023 # include <stdlib.h>
25024 #endif
25025 #include <stdio.h>
25026
25027
25028
25029 typedef wchar_t ac__type_sizeof_;
25030 int
25031 main ()
25032 {
25033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25034 test_array [0] = 0
25035
25036 ;
25037 return 0;
25038 }
25039 _ACEOF
25040 rm -f conftest.$ac_objext
25041 if { (ac_try="$ac_compile"
25042 case "(($ac_try" in
25043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25044 *) ac_try_echo=$ac_try;;
25045 esac
25046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25047 (eval "$ac_compile") 2>conftest.er1
25048 ac_status=$?
25049 grep -v '^ *+' conftest.er1 >conftest.err
25050 rm -f conftest.er1
25051 cat conftest.err >&5
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); } && {
25054 test -z "$ac_c_werror_flag" ||
25055 test ! -s conftest.err
25056 } && test -s conftest.$ac_objext; then
25057 ac_hi=$ac_mid; break
25058 else
25059 echo "$as_me: failed program was:" >&5
25060 sed 's/^/| /' conftest.$ac_ext >&5
25061
25062 ac_lo=`expr $ac_mid + 1`
25063 if test $ac_lo -le $ac_mid; then
25064 ac_lo= ac_hi=
25065 break
25066 fi
25067 ac_mid=`expr 2 '*' $ac_mid + 1`
25068 fi
25069
25070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25071 done
25072 else
25073 echo "$as_me: failed program was:" >&5
25074 sed 's/^/| /' conftest.$ac_ext >&5
25075
25076 cat >conftest.$ac_ext <<_ACEOF
25077 /* confdefs.h. */
25078 _ACEOF
25079 cat confdefs.h >>conftest.$ac_ext
25080 cat >>conftest.$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25082
25083 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25084 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25085 # error "fake wchar_t"
25086 #endif
25087 #ifdef HAVE_WCHAR_H
25088 # ifdef __CYGWIN__
25089 # include <stddef.h>
25090 # endif
25091 # include <wchar.h>
25092 #endif
25093 #ifdef HAVE_STDLIB_H
25094 # include <stdlib.h>
25095 #endif
25096 #include <stdio.h>
25097
25098
25099
25100 typedef wchar_t ac__type_sizeof_;
25101 int
25102 main ()
25103 {
25104 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25105 test_array [0] = 0
25106
25107 ;
25108 return 0;
25109 }
25110 _ACEOF
25111 rm -f conftest.$ac_objext
25112 if { (ac_try="$ac_compile"
25113 case "(($ac_try" in
25114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25115 *) ac_try_echo=$ac_try;;
25116 esac
25117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25118 (eval "$ac_compile") 2>conftest.er1
25119 ac_status=$?
25120 grep -v '^ *+' conftest.er1 >conftest.err
25121 rm -f conftest.er1
25122 cat conftest.err >&5
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } && {
25125 test -z "$ac_c_werror_flag" ||
25126 test ! -s conftest.err
25127 } && test -s conftest.$ac_objext; then
25128 ac_hi=-1 ac_mid=-1
25129 while :; do
25130 cat >conftest.$ac_ext <<_ACEOF
25131 /* confdefs.h. */
25132 _ACEOF
25133 cat confdefs.h >>conftest.$ac_ext
25134 cat >>conftest.$ac_ext <<_ACEOF
25135 /* end confdefs.h. */
25136
25137 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25138 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25139 # error "fake wchar_t"
25140 #endif
25141 #ifdef HAVE_WCHAR_H
25142 # ifdef __CYGWIN__
25143 # include <stddef.h>
25144 # endif
25145 # include <wchar.h>
25146 #endif
25147 #ifdef HAVE_STDLIB_H
25148 # include <stdlib.h>
25149 #endif
25150 #include <stdio.h>
25151
25152
25153
25154 typedef wchar_t ac__type_sizeof_;
25155 int
25156 main ()
25157 {
25158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25159 test_array [0] = 0
25160
25161 ;
25162 return 0;
25163 }
25164 _ACEOF
25165 rm -f conftest.$ac_objext
25166 if { (ac_try="$ac_compile"
25167 case "(($ac_try" in
25168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25169 *) ac_try_echo=$ac_try;;
25170 esac
25171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25172 (eval "$ac_compile") 2>conftest.er1
25173 ac_status=$?
25174 grep -v '^ *+' conftest.er1 >conftest.err
25175 rm -f conftest.er1
25176 cat conftest.err >&5
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); } && {
25179 test -z "$ac_c_werror_flag" ||
25180 test ! -s conftest.err
25181 } && test -s conftest.$ac_objext; then
25182 ac_lo=$ac_mid; break
25183 else
25184 echo "$as_me: failed program was:" >&5
25185 sed 's/^/| /' conftest.$ac_ext >&5
25186
25187 ac_hi=`expr '(' $ac_mid ')' - 1`
25188 if test $ac_mid -le $ac_hi; then
25189 ac_lo= ac_hi=
25190 break
25191 fi
25192 ac_mid=`expr 2 '*' $ac_mid`
25193 fi
25194
25195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25196 done
25197 else
25198 echo "$as_me: failed program was:" >&5
25199 sed 's/^/| /' conftest.$ac_ext >&5
25200
25201 ac_lo= ac_hi=
25202 fi
25203
25204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25205 fi
25206
25207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25208 # Binary search between lo and hi bounds.
25209 while test "x$ac_lo" != "x$ac_hi"; do
25210 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25211 cat >conftest.$ac_ext <<_ACEOF
25212 /* confdefs.h. */
25213 _ACEOF
25214 cat confdefs.h >>conftest.$ac_ext
25215 cat >>conftest.$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25217
25218 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25219 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25220 # error "fake wchar_t"
25221 #endif
25222 #ifdef HAVE_WCHAR_H
25223 # ifdef __CYGWIN__
25224 # include <stddef.h>
25225 # endif
25226 # include <wchar.h>
25227 #endif
25228 #ifdef HAVE_STDLIB_H
25229 # include <stdlib.h>
25230 #endif
25231 #include <stdio.h>
25232
25233
25234
25235 typedef wchar_t ac__type_sizeof_;
25236 int
25237 main ()
25238 {
25239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25240 test_array [0] = 0
25241
25242 ;
25243 return 0;
25244 }
25245 _ACEOF
25246 rm -f conftest.$ac_objext
25247 if { (ac_try="$ac_compile"
25248 case "(($ac_try" in
25249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25250 *) ac_try_echo=$ac_try;;
25251 esac
25252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25253 (eval "$ac_compile") 2>conftest.er1
25254 ac_status=$?
25255 grep -v '^ *+' conftest.er1 >conftest.err
25256 rm -f conftest.er1
25257 cat conftest.err >&5
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); } && {
25260 test -z "$ac_c_werror_flag" ||
25261 test ! -s conftest.err
25262 } && test -s conftest.$ac_objext; then
25263 ac_hi=$ac_mid
25264 else
25265 echo "$as_me: failed program was:" >&5
25266 sed 's/^/| /' conftest.$ac_ext >&5
25267
25268 ac_lo=`expr '(' $ac_mid ')' + 1`
25269 fi
25270
25271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25272 done
25273 case $ac_lo in
25274 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25275 '') if test "$ac_cv_type_wchar_t" = yes; then
25276 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25277 See \`config.log' for more details." >&5
25278 echo "$as_me: error: cannot compute sizeof (wchar_t)
25279 See \`config.log' for more details." >&2;}
25280 { (exit 77); exit 77; }; }
25281 else
25282 ac_cv_sizeof_wchar_t=0
25283 fi ;;
25284 esac
25285 else
25286 cat >conftest.$ac_ext <<_ACEOF
25287 /* confdefs.h. */
25288 _ACEOF
25289 cat confdefs.h >>conftest.$ac_ext
25290 cat >>conftest.$ac_ext <<_ACEOF
25291 /* end confdefs.h. */
25292
25293 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25294 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25295 # error "fake wchar_t"
25296 #endif
25297 #ifdef HAVE_WCHAR_H
25298 # ifdef __CYGWIN__
25299 # include <stddef.h>
25300 # endif
25301 # include <wchar.h>
25302 #endif
25303 #ifdef HAVE_STDLIB_H
25304 # include <stdlib.h>
25305 #endif
25306 #include <stdio.h>
25307
25308
25309
25310 typedef wchar_t ac__type_sizeof_;
25311 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25312 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25313 #include <stdio.h>
25314 #include <stdlib.h>
25315 int
25316 main ()
25317 {
25318
25319 FILE *f = fopen ("conftest.val", "w");
25320 if (! f)
25321 return 1;
25322 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25323 {
25324 long int i = longval ();
25325 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25326 return 1;
25327 fprintf (f, "%ld\n", i);
25328 }
25329 else
25330 {
25331 unsigned long int i = ulongval ();
25332 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25333 return 1;
25334 fprintf (f, "%lu\n", i);
25335 }
25336 return ferror (f) || fclose (f) != 0;
25337
25338 ;
25339 return 0;
25340 }
25341 _ACEOF
25342 rm -f conftest$ac_exeext
25343 if { (ac_try="$ac_link"
25344 case "(($ac_try" in
25345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25346 *) ac_try_echo=$ac_try;;
25347 esac
25348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25349 (eval "$ac_link") 2>&5
25350 ac_status=$?
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25353 { (case "(($ac_try" in
25354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25355 *) ac_try_echo=$ac_try;;
25356 esac
25357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25358 (eval "$ac_try") 2>&5
25359 ac_status=$?
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); }; }; then
25362 ac_cv_sizeof_wchar_t=`cat conftest.val`
25363 else
25364 echo "$as_me: program exited with status $ac_status" >&5
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.$ac_ext >&5
25367
25368 ( exit $ac_status )
25369 if test "$ac_cv_type_wchar_t" = yes; then
25370 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25371 See \`config.log' for more details." >&5
25372 echo "$as_me: error: cannot compute sizeof (wchar_t)
25373 See \`config.log' for more details." >&2;}
25374 { (exit 77); exit 77; }; }
25375 else
25376 ac_cv_sizeof_wchar_t=0
25377 fi
25378 fi
25379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25380 fi
25381 rm -f conftest.val
25382 fi
25383 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25384 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25385
25386
25387
25388 cat >>confdefs.h <<_ACEOF
25389 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25390 _ACEOF
25391
25392
25393 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25394 wxUSE_WCHAR_T=yes
25395 else
25396 wxUSE_WCHAR_T=no
25397 fi
25398
25399 { echo "$as_me:$LINENO: checking for va_copy" >&5
25400 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25401 if test "${wx_cv_func_va_copy+set}" = set; then
25402 echo $ECHO_N "(cached) $ECHO_C" >&6
25403 else
25404
25405 ac_ext=cpp
25406 ac_cpp='$CXXCPP $CPPFLAGS'
25407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25410
25411 cat >conftest.$ac_ext <<_ACEOF
25412
25413 #include <stdarg.h>
25414 void foo(char *f, ...)
25415 {
25416 va_list ap1, ap2;
25417 va_start(ap1, f);
25418 va_copy(ap2, ap1);
25419 va_end(ap2);
25420 va_end(ap1);
25421 }
25422 int main()
25423 {
25424 foo("hi", 17);
25425 return 0;
25426 }
25427 _ACEOF
25428 rm -f conftest.$ac_objext conftest$ac_exeext
25429 if { (ac_try="$ac_link"
25430 case "(($ac_try" in
25431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25432 *) ac_try_echo=$ac_try;;
25433 esac
25434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25435 (eval "$ac_link") 2>conftest.er1
25436 ac_status=$?
25437 grep -v '^ *+' conftest.er1 >conftest.err
25438 rm -f conftest.er1
25439 cat conftest.err >&5
25440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25441 (exit $ac_status); } && {
25442 test -z "$ac_cxx_werror_flag" ||
25443 test ! -s conftest.err
25444 } && test -s conftest$ac_exeext &&
25445 $as_test_x conftest$ac_exeext; then
25446 wx_cv_func_va_copy=yes
25447 else
25448 echo "$as_me: failed program was:" >&5
25449 sed 's/^/| /' conftest.$ac_ext >&5
25450
25451 wx_cv_func_va_copy=no
25452
25453 fi
25454
25455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25456 conftest$ac_exeext conftest.$ac_ext
25457 ac_ext=c
25458 ac_cpp='$CPP $CPPFLAGS'
25459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25462
25463
25464
25465 fi
25466 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25467 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25468
25469 if test $wx_cv_func_va_copy = "yes"; then
25470 cat >>confdefs.h <<\_ACEOF
25471 #define HAVE_VA_COPY 1
25472 _ACEOF
25473
25474 else
25475 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25476 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25477 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25478 echo $ECHO_N "(cached) $ECHO_C" >&6
25479 else
25480
25481 if test "$cross_compiling" = yes; then
25482 wx_cv_type_va_list_lvalue=yes
25483
25484 else
25485 cat >conftest.$ac_ext <<_ACEOF
25486
25487 #include <stdarg.h>
25488 int foo(char *f, ...)
25489 {
25490 va_list ap1, ap2;
25491 va_start(ap1, f);
25492 ap2 = ap1;
25493 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25494 return 1;
25495 va_end(ap2);
25496 va_end(ap1);
25497 return 0;
25498 }
25499 int main()
25500 {
25501 return foo("hi", 17);
25502 }
25503 _ACEOF
25504 rm -f conftest$ac_exeext
25505 if { (ac_try="$ac_link"
25506 case "(($ac_try" in
25507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25508 *) ac_try_echo=$ac_try;;
25509 esac
25510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25511 (eval "$ac_link") 2>&5
25512 ac_status=$?
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25515 { (case "(($ac_try" in
25516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25517 *) ac_try_echo=$ac_try;;
25518 esac
25519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520 (eval "$ac_try") 2>&5
25521 ac_status=$?
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); }; }; then
25524 wx_cv_type_va_list_lvalue=yes
25525 else
25526 echo "$as_me: program exited with status $ac_status" >&5
25527 echo "$as_me: failed program was:" >&5
25528 sed 's/^/| /' conftest.$ac_ext >&5
25529
25530 ( exit $ac_status )
25531 wx_cv_type_va_list_lvalue=no
25532 fi
25533 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25534 fi
25535
25536
25537
25538
25539 fi
25540 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25541 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25542
25543 if test $wx_cv_type_va_list_lvalue != "yes"; then
25544 cat >>confdefs.h <<\_ACEOF
25545 #define VA_LIST_IS_ARRAY 1
25546 _ACEOF
25547
25548 fi
25549 fi
25550
25551 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25552
25553 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25554 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25555 if test "${wx_cv_have_variadic_macros+set}" = set; then
25556 echo $ECHO_N "(cached) $ECHO_C" >&6
25557 else
25558
25559 ac_ext=cpp
25560 ac_cpp='$CXXCPP $CPPFLAGS'
25561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25564
25565 cat >conftest.$ac_ext <<_ACEOF
25566 /* confdefs.h. */
25567 _ACEOF
25568 cat confdefs.h >>conftest.$ac_ext
25569 cat >>conftest.$ac_ext <<_ACEOF
25570 /* end confdefs.h. */
25571
25572 #include <stdio.h>
25573 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25574
25575 int
25576 main ()
25577 {
25578
25579 test("%s %d %p", "test", 1, 0);
25580
25581
25582 ;
25583 return 0;
25584 }
25585 _ACEOF
25586 rm -f conftest.$ac_objext
25587 if { (ac_try="$ac_compile"
25588 case "(($ac_try" in
25589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25590 *) ac_try_echo=$ac_try;;
25591 esac
25592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25593 (eval "$ac_compile") 2>conftest.er1
25594 ac_status=$?
25595 grep -v '^ *+' conftest.er1 >conftest.err
25596 rm -f conftest.er1
25597 cat conftest.err >&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); } && {
25600 test -z "$ac_cxx_werror_flag" ||
25601 test ! -s conftest.err
25602 } && test -s conftest.$ac_objext; then
25603 wx_cv_have_variadic_macros=yes
25604 else
25605 echo "$as_me: failed program was:" >&5
25606 sed 's/^/| /' conftest.$ac_ext >&5
25607
25608 wx_cv_have_variadic_macros=no
25609
25610 fi
25611
25612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25613 ac_ext=c
25614 ac_cpp='$CPP $CPPFLAGS'
25615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25618
25619
25620
25621 fi
25622 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25623 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25624
25625 if test $wx_cv_have_variadic_macros = "yes"; then
25626 cat >>confdefs.h <<\_ACEOF
25627 #define HAVE_VARIADIC_MACROS 1
25628 _ACEOF
25629
25630 fi
25631
25632 fi
25633 # Check whether --enable-largefile was given.
25634 if test "${enable_largefile+set}" = set; then
25635 enableval=$enable_largefile;
25636 fi
25637
25638 if test "$enable_largefile" != no; then
25639 wx_largefile=no
25640
25641 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25642 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25643 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25644 echo $ECHO_N "(cached) $ECHO_C" >&6
25645 else
25646
25647 cat >conftest.$ac_ext <<_ACEOF
25648 /* confdefs.h. */
25649 _ACEOF
25650 cat confdefs.h >>conftest.$ac_ext
25651 cat >>conftest.$ac_ext <<_ACEOF
25652 /* end confdefs.h. */
25653 #define _FILE_OFFSET_BITS 64
25654 #include <sys/types.h>
25655 int
25656 main ()
25657 {
25658 typedef struct {
25659 unsigned int field: sizeof(off_t) == 8;
25660 } wxlf;
25661
25662 ;
25663 return 0;
25664 }
25665 _ACEOF
25666 rm -f conftest.$ac_objext
25667 if { (ac_try="$ac_compile"
25668 case "(($ac_try" in
25669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25670 *) ac_try_echo=$ac_try;;
25671 esac
25672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25673 (eval "$ac_compile") 2>conftest.er1
25674 ac_status=$?
25675 grep -v '^ *+' conftest.er1 >conftest.err
25676 rm -f conftest.er1
25677 cat conftest.err >&5
25678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679 (exit $ac_status); } && {
25680 test -z "$ac_c_werror_flag" ||
25681 test ! -s conftest.err
25682 } && test -s conftest.$ac_objext; then
25683 ac_cv_sys_file_offset_bits=64
25684 else
25685 echo "$as_me: failed program was:" >&5
25686 sed 's/^/| /' conftest.$ac_ext >&5
25687
25688 ac_cv_sys_file_offset_bits=no
25689 fi
25690
25691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25692
25693
25694 fi
25695 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25696 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25697
25698 if test "$ac_cv_sys_file_offset_bits" != no; then
25699 wx_largefile=yes
25700 cat >>confdefs.h <<_ACEOF
25701 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25702 _ACEOF
25703
25704 fi
25705
25706 if test "x$wx_largefile" != "xyes"; then
25707
25708 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25709 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25710 if test "${ac_cv_sys_large_files+set}" = set; then
25711 echo $ECHO_N "(cached) $ECHO_C" >&6
25712 else
25713
25714 cat >conftest.$ac_ext <<_ACEOF
25715 /* confdefs.h. */
25716 _ACEOF
25717 cat confdefs.h >>conftest.$ac_ext
25718 cat >>conftest.$ac_ext <<_ACEOF
25719 /* end confdefs.h. */
25720 #define _LARGE_FILES 1
25721 #include <sys/types.h>
25722 int
25723 main ()
25724 {
25725 typedef struct {
25726 unsigned int field: sizeof(off_t) == 8;
25727 } wxlf;
25728
25729 ;
25730 return 0;
25731 }
25732 _ACEOF
25733 rm -f conftest.$ac_objext
25734 if { (ac_try="$ac_compile"
25735 case "(($ac_try" in
25736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25737 *) ac_try_echo=$ac_try;;
25738 esac
25739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25740 (eval "$ac_compile") 2>conftest.er1
25741 ac_status=$?
25742 grep -v '^ *+' conftest.er1 >conftest.err
25743 rm -f conftest.er1
25744 cat conftest.err >&5
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); } && {
25747 test -z "$ac_c_werror_flag" ||
25748 test ! -s conftest.err
25749 } && test -s conftest.$ac_objext; then
25750 ac_cv_sys_large_files=1
25751 else
25752 echo "$as_me: failed program was:" >&5
25753 sed 's/^/| /' conftest.$ac_ext >&5
25754
25755 ac_cv_sys_large_files=no
25756 fi
25757
25758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25759
25760
25761 fi
25762 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25763 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25764
25765 if test "$ac_cv_sys_large_files" != no; then
25766 wx_largefile=yes
25767 cat >>confdefs.h <<_ACEOF
25768 #define _LARGE_FILES $ac_cv_sys_large_files
25769 _ACEOF
25770
25771 fi
25772
25773 fi
25774
25775 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25776 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25777 if test "x$wx_largefile" = "xyes"; then
25778 cat >>confdefs.h <<\_ACEOF
25779 #define HAVE_LARGEFILE_SUPPORT 1
25780 _ACEOF
25781
25782 fi
25783 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25784 echo "${ECHO_T}$wx_largefile" >&6; }
25785 fi
25786
25787
25788 if test "x$wx_largefile" = "xyes"; then
25789 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25790 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25791
25792 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25793 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25794 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25795 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25797 else
25798
25799 ac_ext=cpp
25800 ac_cpp='$CXXCPP $CPPFLAGS'
25801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25804
25805 cat >conftest.$ac_ext <<_ACEOF
25806 /* confdefs.h. */
25807 _ACEOF
25808 cat confdefs.h >>conftest.$ac_ext
25809 cat >>conftest.$ac_ext <<_ACEOF
25810 /* end confdefs.h. */
25811
25812 int
25813 main ()
25814 {
25815
25816 #ifndef __STDC_EXT__
25817 choke me
25818 #endif
25819
25820 ;
25821 return 0;
25822 }
25823 _ACEOF
25824 rm -f conftest.$ac_objext
25825 if { (ac_try="$ac_compile"
25826 case "(($ac_try" in
25827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25828 *) ac_try_echo=$ac_try;;
25829 esac
25830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25831 (eval "$ac_compile") 2>conftest.er1
25832 ac_status=$?
25833 grep -v '^ *+' conftest.er1 >conftest.err
25834 rm -f conftest.er1
25835 cat conftest.err >&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } && {
25838 test -z "$ac_cxx_werror_flag" ||
25839 test ! -s conftest.err
25840 } && test -s conftest.$ac_objext; then
25841 wx_cv_STDC_EXT_required=no
25842 else
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.$ac_ext >&5
25845
25846 wx_cv_STDC_EXT_required=yes
25847
25848 fi
25849
25850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25851 ac_ext=c
25852 ac_cpp='$CPP $CPPFLAGS'
25853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25856
25857
25858
25859 fi
25860 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25861 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25862 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25863 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25864 fi
25865 fi
25866 else
25867 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25868 fi
25869 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25870 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25871 if test "${ac_cv_sys_largefile_source+set}" = set; then
25872 echo $ECHO_N "(cached) $ECHO_C" >&6
25873 else
25874 while :; do
25875 cat >conftest.$ac_ext <<_ACEOF
25876 /* confdefs.h. */
25877 _ACEOF
25878 cat confdefs.h >>conftest.$ac_ext
25879 cat >>conftest.$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25881 #include <sys/types.h> /* for off_t */
25882 #include <stdio.h>
25883 int
25884 main ()
25885 {
25886 int (*fp) (FILE *, off_t, int) = fseeko;
25887 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25888 ;
25889 return 0;
25890 }
25891 _ACEOF
25892 rm -f conftest.$ac_objext conftest$ac_exeext
25893 if { (ac_try="$ac_link"
25894 case "(($ac_try" in
25895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25896 *) ac_try_echo=$ac_try;;
25897 esac
25898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25899 (eval "$ac_link") 2>conftest.er1
25900 ac_status=$?
25901 grep -v '^ *+' conftest.er1 >conftest.err
25902 rm -f conftest.er1
25903 cat conftest.err >&5
25904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905 (exit $ac_status); } && {
25906 test -z "$ac_c_werror_flag" ||
25907 test ! -s conftest.err
25908 } && test -s conftest$ac_exeext &&
25909 $as_test_x conftest$ac_exeext; then
25910 ac_cv_sys_largefile_source=no; break
25911 else
25912 echo "$as_me: failed program was:" >&5
25913 sed 's/^/| /' conftest.$ac_ext >&5
25914
25915
25916 fi
25917
25918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25919 conftest$ac_exeext conftest.$ac_ext
25920 cat >conftest.$ac_ext <<_ACEOF
25921 /* confdefs.h. */
25922 _ACEOF
25923 cat confdefs.h >>conftest.$ac_ext
25924 cat >>conftest.$ac_ext <<_ACEOF
25925 /* end confdefs.h. */
25926 #define _LARGEFILE_SOURCE 1
25927 #include <sys/types.h> /* for off_t */
25928 #include <stdio.h>
25929 int
25930 main ()
25931 {
25932 int (*fp) (FILE *, off_t, int) = fseeko;
25933 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25934 ;
25935 return 0;
25936 }
25937 _ACEOF
25938 rm -f conftest.$ac_objext conftest$ac_exeext
25939 if { (ac_try="$ac_link"
25940 case "(($ac_try" in
25941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25942 *) ac_try_echo=$ac_try;;
25943 esac
25944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25945 (eval "$ac_link") 2>conftest.er1
25946 ac_status=$?
25947 grep -v '^ *+' conftest.er1 >conftest.err
25948 rm -f conftest.er1
25949 cat conftest.err >&5
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); } && {
25952 test -z "$ac_c_werror_flag" ||
25953 test ! -s conftest.err
25954 } && test -s conftest$ac_exeext &&
25955 $as_test_x conftest$ac_exeext; then
25956 ac_cv_sys_largefile_source=1; break
25957 else
25958 echo "$as_me: failed program was:" >&5
25959 sed 's/^/| /' conftest.$ac_ext >&5
25960
25961
25962 fi
25963
25964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25965 conftest$ac_exeext conftest.$ac_ext
25966 ac_cv_sys_largefile_source=unknown
25967 break
25968 done
25969 fi
25970 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25971 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25972 case $ac_cv_sys_largefile_source in #(
25973 no | unknown) ;;
25974 *)
25975 cat >>confdefs.h <<_ACEOF
25976 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25977 _ACEOF
25978 ;;
25979 esac
25980 rm -f conftest*
25981
25982 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25983 # in glibc 2.1.3, but that breaks too many other things.
25984 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25985 if test $ac_cv_sys_largefile_source != unknown; then
25986
25987 cat >>confdefs.h <<\_ACEOF
25988 #define HAVE_FSEEKO 1
25989 _ACEOF
25990
25991 fi
25992
25993 if test "$ac_cv_sys_largefile_source" != no; then
25994 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25995 fi
25996 fi
25997
25998 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25999 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26000 if test "${ac_cv_c_bigendian+set}" = set; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26002 else
26003 ac_cv_c_bigendian=unknown
26004 # See if sys/param.h defines the BYTE_ORDER macro.
26005 cat >conftest.$ac_ext <<_ACEOF
26006 /* confdefs.h. */
26007 _ACEOF
26008 cat confdefs.h >>conftest.$ac_ext
26009 cat >>conftest.$ac_ext <<_ACEOF
26010 /* end confdefs.h. */
26011 #include <sys/types.h>
26012 #include <sys/param.h>
26013 int
26014 main ()
26015 {
26016
26017 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26018 bogus endian macros
26019 #endif
26020 ;
26021 return 0;
26022 }
26023 _ACEOF
26024 rm -f conftest.$ac_objext
26025 if { (ac_try="$ac_compile"
26026 case "(($ac_try" in
26027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26028 *) ac_try_echo=$ac_try;;
26029 esac
26030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26031 (eval "$ac_compile") 2>conftest.er1
26032 ac_status=$?
26033 grep -v '^ *+' conftest.er1 >conftest.err
26034 rm -f conftest.er1
26035 cat conftest.err >&5
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); } && {
26038 test -z "$ac_c_werror_flag" ||
26039 test ! -s conftest.err
26040 } && test -s conftest.$ac_objext; then
26041 # It does; now see whether it defined to BIG_ENDIAN or not.
26042 cat >conftest.$ac_ext <<_ACEOF
26043 /* confdefs.h. */
26044 _ACEOF
26045 cat confdefs.h >>conftest.$ac_ext
26046 cat >>conftest.$ac_ext <<_ACEOF
26047 /* end confdefs.h. */
26048 #include <sys/types.h>
26049 #include <sys/param.h>
26050 int
26051 main ()
26052 {
26053
26054 #if BYTE_ORDER != BIG_ENDIAN
26055 not big endian
26056 #endif
26057 ;
26058 return 0;
26059 }
26060 _ACEOF
26061 rm -f conftest.$ac_objext
26062 if { (ac_try="$ac_compile"
26063 case "(($ac_try" in
26064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26065 *) ac_try_echo=$ac_try;;
26066 esac
26067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26068 (eval "$ac_compile") 2>conftest.er1
26069 ac_status=$?
26070 grep -v '^ *+' conftest.er1 >conftest.err
26071 rm -f conftest.er1
26072 cat conftest.err >&5
26073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074 (exit $ac_status); } && {
26075 test -z "$ac_c_werror_flag" ||
26076 test ! -s conftest.err
26077 } && test -s conftest.$ac_objext; then
26078 ac_cv_c_bigendian=yes
26079 else
26080 echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.$ac_ext >&5
26082
26083 ac_cv_c_bigendian=no
26084 fi
26085
26086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26087 else
26088 echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.$ac_ext >&5
26090
26091
26092 fi
26093
26094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26095 if test $ac_cv_c_bigendian = unknown; then
26096 if test "$cross_compiling" = yes; then
26097 ac_cv_c_bigendian=unknown
26098 else
26099 cat >conftest.$ac_ext <<_ACEOF
26100 /* confdefs.h. */
26101 _ACEOF
26102 cat confdefs.h >>conftest.$ac_ext
26103 cat >>conftest.$ac_ext <<_ACEOF
26104 /* end confdefs.h. */
26105 main () {
26106 /* Are we little or big endian? From Harbison&Steele. */
26107 union
26108 {
26109 long l;
26110 char c[sizeof (long)];
26111 } u;
26112 u.l = 1;
26113 exit (u.c[sizeof (long) - 1] == 1);
26114 }
26115 _ACEOF
26116 rm -f conftest$ac_exeext
26117 if { (ac_try="$ac_link"
26118 case "(($ac_try" in
26119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26120 *) ac_try_echo=$ac_try;;
26121 esac
26122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26123 (eval "$ac_link") 2>&5
26124 ac_status=$?
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26127 { (case "(($ac_try" in
26128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26129 *) ac_try_echo=$ac_try;;
26130 esac
26131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26132 (eval "$ac_try") 2>&5
26133 ac_status=$?
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); }; }; then
26136 ac_cv_c_bigendian=no
26137 else
26138 echo "$as_me: program exited with status $ac_status" >&5
26139 echo "$as_me: failed program was:" >&5
26140 sed 's/^/| /' conftest.$ac_ext >&5
26141
26142 ( exit $ac_status )
26143 ac_cv_c_bigendian=yes
26144 fi
26145 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26146 fi
26147
26148
26149 fi
26150 fi
26151 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26152 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26153 if test $ac_cv_c_bigendian = unknown; then
26154 { 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
26155 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;}
26156 fi
26157 if test $ac_cv_c_bigendian = yes; then
26158 cat >>confdefs.h <<\_ACEOF
26159 #define WORDS_BIGENDIAN 1
26160 _ACEOF
26161
26162 fi
26163
26164
26165
26166
26167 ac_ext=cpp
26168 ac_cpp='$CXXCPP $CPPFLAGS'
26169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26172
26173
26174
26175 for ac_header in iostream
26176 do
26177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26178 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26181 echo $ECHO_N "(cached) $ECHO_C" >&6
26182 else
26183 cat >conftest.$ac_ext <<_ACEOF
26184 /* confdefs.h. */
26185 _ACEOF
26186 cat confdefs.h >>conftest.$ac_ext
26187 cat >>conftest.$ac_ext <<_ACEOF
26188 /* end confdefs.h. */
26189
26190
26191 #include <$ac_header>
26192 _ACEOF
26193 rm -f conftest.$ac_objext
26194 if { (ac_try="$ac_compile"
26195 case "(($ac_try" in
26196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26197 *) ac_try_echo=$ac_try;;
26198 esac
26199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26200 (eval "$ac_compile") 2>conftest.er1
26201 ac_status=$?
26202 grep -v '^ *+' conftest.er1 >conftest.err
26203 rm -f conftest.er1
26204 cat conftest.err >&5
26205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26206 (exit $ac_status); } && {
26207 test -z "$ac_cxx_werror_flag" ||
26208 test ! -s conftest.err
26209 } && test -s conftest.$ac_objext; then
26210 eval "$as_ac_Header=yes"
26211 else
26212 echo "$as_me: failed program was:" >&5
26213 sed 's/^/| /' conftest.$ac_ext >&5
26214
26215 eval "$as_ac_Header=no"
26216 fi
26217
26218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26219 fi
26220 ac_res=`eval echo '${'$as_ac_Header'}'`
26221 { echo "$as_me:$LINENO: result: $ac_res" >&5
26222 echo "${ECHO_T}$ac_res" >&6; }
26223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26224 cat >>confdefs.h <<_ACEOF
26225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26226 _ACEOF
26227
26228 fi
26229
26230 done
26231
26232
26233 if test "$ac_cv_header_iostream" = "yes" ; then
26234 :
26235 else
26236 cat >>confdefs.h <<\_ACEOF
26237 #define wxUSE_IOSTREAMH 1
26238 _ACEOF
26239
26240 fi
26241
26242 ac_ext=c
26243 ac_cpp='$CPP $CPPFLAGS'
26244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26247
26248
26249
26250
26251 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26252 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26253 if test "${wx_cv_cpp_bool+set}" = set; then
26254 echo $ECHO_N "(cached) $ECHO_C" >&6
26255 else
26256
26257
26258 ac_ext=cpp
26259 ac_cpp='$CXXCPP $CPPFLAGS'
26260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26263
26264
26265 cat >conftest.$ac_ext <<_ACEOF
26266 /* confdefs.h. */
26267 _ACEOF
26268 cat confdefs.h >>conftest.$ac_ext
26269 cat >>conftest.$ac_ext <<_ACEOF
26270 /* end confdefs.h. */
26271
26272
26273 int
26274 main ()
26275 {
26276
26277 bool b = true;
26278
26279 return 0;
26280
26281 ;
26282 return 0;
26283 }
26284 _ACEOF
26285 rm -f conftest.$ac_objext
26286 if { (ac_try="$ac_compile"
26287 case "(($ac_try" in
26288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26289 *) ac_try_echo=$ac_try;;
26290 esac
26291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26292 (eval "$ac_compile") 2>conftest.er1
26293 ac_status=$?
26294 grep -v '^ *+' conftest.er1 >conftest.err
26295 rm -f conftest.er1
26296 cat conftest.err >&5
26297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26298 (exit $ac_status); } && {
26299 test -z "$ac_cxx_werror_flag" ||
26300 test ! -s conftest.err
26301 } && test -s conftest.$ac_objext; then
26302
26303 wx_cv_cpp_bool=yes
26304
26305 else
26306 echo "$as_me: failed program was:" >&5
26307 sed 's/^/| /' conftest.$ac_ext >&5
26308
26309
26310 wx_cv_cpp_bool=no
26311
26312
26313 fi
26314
26315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26316
26317 ac_ext=c
26318 ac_cpp='$CPP $CPPFLAGS'
26319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26322
26323
26324 fi
26325 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26326 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26327
26328 if test "$wx_cv_cpp_bool" = "yes"; then
26329 cat >>confdefs.h <<\_ACEOF
26330 #define HAVE_BOOL 1
26331 _ACEOF
26332
26333 fi
26334
26335
26336
26337 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26338 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26339 if test "${wx_cv_explicit+set}" = set; then
26340 echo $ECHO_N "(cached) $ECHO_C" >&6
26341 else
26342
26343
26344 ac_ext=cpp
26345 ac_cpp='$CXXCPP $CPPFLAGS'
26346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26349
26350
26351 cat >conftest.$ac_ext <<_ACEOF
26352 /* confdefs.h. */
26353 _ACEOF
26354 cat confdefs.h >>conftest.$ac_ext
26355 cat >>conftest.$ac_ext <<_ACEOF
26356 /* end confdefs.h. */
26357
26358 class Foo { public: explicit Foo(int) {} };
26359
26360 int
26361 main ()
26362 {
26363
26364 return 0;
26365
26366 ;
26367 return 0;
26368 }
26369 _ACEOF
26370 rm -f conftest.$ac_objext
26371 if { (ac_try="$ac_compile"
26372 case "(($ac_try" in
26373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26374 *) ac_try_echo=$ac_try;;
26375 esac
26376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26377 (eval "$ac_compile") 2>conftest.er1
26378 ac_status=$?
26379 grep -v '^ *+' conftest.er1 >conftest.err
26380 rm -f conftest.er1
26381 cat conftest.err >&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); } && {
26384 test -z "$ac_cxx_werror_flag" ||
26385 test ! -s conftest.err
26386 } && test -s conftest.$ac_objext; then
26387
26388 cat >conftest.$ac_ext <<_ACEOF
26389 /* confdefs.h. */
26390 _ACEOF
26391 cat confdefs.h >>conftest.$ac_ext
26392 cat >>conftest.$ac_ext <<_ACEOF
26393 /* end confdefs.h. */
26394
26395 class Foo { public: explicit Foo(int) {} };
26396 static void TakeFoo(const Foo& foo) { }
26397
26398 int
26399 main ()
26400 {
26401
26402 TakeFoo(17);
26403 return 0;
26404
26405 ;
26406 return 0;
26407 }
26408 _ACEOF
26409 rm -f conftest.$ac_objext
26410 if { (ac_try="$ac_compile"
26411 case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26413 *) ac_try_echo=$ac_try;;
26414 esac
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_compile") 2>conftest.er1
26417 ac_status=$?
26418 grep -v '^ *+' conftest.er1 >conftest.err
26419 rm -f conftest.er1
26420 cat conftest.err >&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); } && {
26423 test -z "$ac_cxx_werror_flag" ||
26424 test ! -s conftest.err
26425 } && test -s conftest.$ac_objext; then
26426 wx_cv_explicit=no
26427 else
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26430
26431 wx_cv_explicit=yes
26432
26433 fi
26434
26435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26436
26437 else
26438 echo "$as_me: failed program was:" >&5
26439 sed 's/^/| /' conftest.$ac_ext >&5
26440
26441 wx_cv_explicit=no
26442
26443 fi
26444
26445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26446
26447 ac_ext=c
26448 ac_cpp='$CPP $CPPFLAGS'
26449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26452
26453
26454 fi
26455 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26456 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26457
26458 if test "$wx_cv_explicit" = "yes"; then
26459 cat >>confdefs.h <<\_ACEOF
26460 #define HAVE_EXPLICIT 1
26461 _ACEOF
26462
26463 fi
26464
26465
26466 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26467 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26468 if test "${ac_cv_cxx_const_cast+set}" = set; then
26469 echo $ECHO_N "(cached) $ECHO_C" >&6
26470 else
26471
26472 ac_ext=cpp
26473 ac_cpp='$CXXCPP $CPPFLAGS'
26474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26477
26478 cat >conftest.$ac_ext <<_ACEOF
26479 /* confdefs.h. */
26480 _ACEOF
26481 cat confdefs.h >>conftest.$ac_ext
26482 cat >>conftest.$ac_ext <<_ACEOF
26483 /* end confdefs.h. */
26484
26485 int
26486 main ()
26487 {
26488 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26489 ;
26490 return 0;
26491 }
26492 _ACEOF
26493 rm -f conftest.$ac_objext
26494 if { (ac_try="$ac_compile"
26495 case "(($ac_try" in
26496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26497 *) ac_try_echo=$ac_try;;
26498 esac
26499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26500 (eval "$ac_compile") 2>conftest.er1
26501 ac_status=$?
26502 grep -v '^ *+' conftest.er1 >conftest.err
26503 rm -f conftest.er1
26504 cat conftest.err >&5
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); } && {
26507 test -z "$ac_cxx_werror_flag" ||
26508 test ! -s conftest.err
26509 } && test -s conftest.$ac_objext; then
26510 ac_cv_cxx_const_cast=yes
26511 else
26512 echo "$as_me: failed program was:" >&5
26513 sed 's/^/| /' conftest.$ac_ext >&5
26514
26515 ac_cv_cxx_const_cast=no
26516 fi
26517
26518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26519 ac_ext=c
26520 ac_cpp='$CPP $CPPFLAGS'
26521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26524
26525
26526 fi
26527 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26528 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26529 if test "$ac_cv_cxx_const_cast" = yes; then
26530
26531 cat >>confdefs.h <<\_ACEOF
26532 #define HAVE_CONST_CAST
26533 _ACEOF
26534
26535 fi
26536
26537 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26538 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26539 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26541 else
26542
26543 ac_ext=cpp
26544 ac_cpp='$CXXCPP $CPPFLAGS'
26545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26548
26549 cat >conftest.$ac_ext <<_ACEOF
26550 /* confdefs.h. */
26551 _ACEOF
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26555 #include <typeinfo>
26556 class Base { public : Base () {} virtual void f () = 0;};
26557 class Derived : public Base { public : Derived () {} virtual void f () {} };
26558 class Unrelated { public : Unrelated () {} };
26559 int g (Unrelated&) { return 0; }
26560 int
26561 main ()
26562 {
26563
26564 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
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 ac_cv_cxx_reinterpret_cast=yes
26587 else
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.$ac_ext >&5
26590
26591 ac_cv_cxx_reinterpret_cast=no
26592 fi
26593
26594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26595 ac_ext=c
26596 ac_cpp='$CPP $CPPFLAGS'
26597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26600
26601
26602 fi
26603 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26604 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26605 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26606
26607 cat >>confdefs.h <<\_ACEOF
26608 #define HAVE_REINTERPRET_CAST
26609 _ACEOF
26610
26611 fi
26612
26613 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26614 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26615 if test "${ac_cv_cxx_static_cast+set}" = set; then
26616 echo $ECHO_N "(cached) $ECHO_C" >&6
26617 else
26618
26619 ac_ext=cpp
26620 ac_cpp='$CXXCPP $CPPFLAGS'
26621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26624
26625 cat >conftest.$ac_ext <<_ACEOF
26626 /* confdefs.h. */
26627 _ACEOF
26628 cat confdefs.h >>conftest.$ac_ext
26629 cat >>conftest.$ac_ext <<_ACEOF
26630 /* end confdefs.h. */
26631 #include <typeinfo>
26632 class Base { public : Base () {} virtual void f () = 0; };
26633 class Derived : public Base { public : Derived () {} virtual void f () {} };
26634 int g (Derived&) { return 0; }
26635 int
26636 main ()
26637 {
26638
26639 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26640 ;
26641 return 0;
26642 }
26643 _ACEOF
26644 rm -f conftest.$ac_objext
26645 if { (ac_try="$ac_compile"
26646 case "(($ac_try" in
26647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26648 *) ac_try_echo=$ac_try;;
26649 esac
26650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26651 (eval "$ac_compile") 2>conftest.er1
26652 ac_status=$?
26653 grep -v '^ *+' conftest.er1 >conftest.err
26654 rm -f conftest.er1
26655 cat conftest.err >&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } && {
26658 test -z "$ac_cxx_werror_flag" ||
26659 test ! -s conftest.err
26660 } && test -s conftest.$ac_objext; then
26661 ac_cv_cxx_static_cast=yes
26662 else
26663 echo "$as_me: failed program was:" >&5
26664 sed 's/^/| /' conftest.$ac_ext >&5
26665
26666 ac_cv_cxx_static_cast=no
26667 fi
26668
26669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26670 ac_ext=c
26671 ac_cpp='$CPP $CPPFLAGS'
26672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26675
26676
26677 fi
26678 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26679 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26680 if test "$ac_cv_cxx_static_cast" = yes; then
26681
26682 cat >>confdefs.h <<\_ACEOF
26683 #define HAVE_STATIC_CAST
26684 _ACEOF
26685
26686 fi
26687
26688
26689 if test "x$SUNCXX" = xyes; then
26690 CXXFLAGS="-features=tmplife $CXXFLAGS"
26691 fi
26692
26693 if test "x$SUNCC" = xyes; then
26694 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26695 fi
26696
26697 if test "x$SGICC" = "xyes"; then
26698 CFLAGS="-woff 3970 $CFLAGS"
26699 fi
26700 if test "x$SGICXX" = "xyes"; then
26701 CXXFLAGS="-woff 3970 $CXXFLAGS"
26702 fi
26703
26704 if test "x$HPCC" = "xyes"; then
26705 CFLAGS="+W 2011,2450 $CFLAGS"
26706 fi
26707 if test "x$HPCXX" = "xyes"; then
26708 CXXFLAGS="+W 2340 $CXXFLAGS"
26709 fi
26710
26711 if test "x$COMPAQCXX" = "xyes"; then
26712 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26713 fi
26714
26715 ac_ext=cpp
26716 ac_cpp='$CXXCPP $CPPFLAGS'
26717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26720
26721
26722 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26723 if test "$wxUSE_UNICODE" = "yes"; then
26724 std_string="std::wstring"
26725 char_type="wchar_t"
26726 else
26727 std_string="std::string"
26728 char_type="char"
26729 fi
26730
26731 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26732 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26733 if test "${wx_cv_class_stdstring+set}" = set; then
26734 echo $ECHO_N "(cached) $ECHO_C" >&6
26735 else
26736
26737 cat >conftest.$ac_ext <<_ACEOF
26738 /* confdefs.h. */
26739 _ACEOF
26740 cat confdefs.h >>conftest.$ac_ext
26741 cat >>conftest.$ac_ext <<_ACEOF
26742 /* end confdefs.h. */
26743 #include <string>
26744 int
26745 main ()
26746 {
26747 $std_string foo;
26748 ;
26749 return 0;
26750 }
26751 _ACEOF
26752 rm -f conftest.$ac_objext
26753 if { (ac_try="$ac_compile"
26754 case "(($ac_try" in
26755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26756 *) ac_try_echo=$ac_try;;
26757 esac
26758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26759 (eval "$ac_compile") 2>conftest.er1
26760 ac_status=$?
26761 grep -v '^ *+' conftest.er1 >conftest.err
26762 rm -f conftest.er1
26763 cat conftest.err >&5
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); } && {
26766 test -z "$ac_cxx_werror_flag" ||
26767 test ! -s conftest.err
26768 } && test -s conftest.$ac_objext; then
26769 wx_cv_class_stdstring=yes
26770 else
26771 echo "$as_me: failed program was:" >&5
26772 sed 's/^/| /' conftest.$ac_ext >&5
26773
26774 wx_cv_class_stdstring=no
26775
26776 fi
26777
26778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26779
26780
26781 fi
26782 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26783 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26784
26785 if test "$wx_cv_class_stdstring" = yes; then
26786 if test "$wxUSE_UNICODE" = "yes"; then
26787 cat >>confdefs.h <<\_ACEOF
26788 #define HAVE_STD_WSTRING 1
26789 _ACEOF
26790
26791 fi
26792 else
26793 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26794 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26795 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26796 echo $ECHO_N "(cached) $ECHO_C" >&6
26797 else
26798
26799 cat >conftest.$ac_ext <<_ACEOF
26800 /* confdefs.h. */
26801 _ACEOF
26802 cat confdefs.h >>conftest.$ac_ext
26803 cat >>conftest.$ac_ext <<_ACEOF
26804 /* end confdefs.h. */
26805
26806 #ifdef HAVE_WCHAR_H
26807 # ifdef __CYGWIN__
26808 # include <stddef.h>
26809 # endif
26810 # include <wchar.h>
26811 #endif
26812 #ifdef HAVE_STDLIB_H
26813 # include <stdlib.h>
26814 #endif
26815 #include <stdio.h>
26816 #include <string>
26817
26818 int
26819 main ()
26820 {
26821 std::basic_string<$char_type> foo;
26822 const $char_type* dummy = foo.c_str();
26823 ;
26824 return 0;
26825 }
26826 _ACEOF
26827 rm -f conftest.$ac_objext
26828 if { (ac_try="$ac_compile"
26829 case "(($ac_try" in
26830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26831 *) ac_try_echo=$ac_try;;
26832 esac
26833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26834 (eval "$ac_compile") 2>conftest.er1
26835 ac_status=$?
26836 grep -v '^ *+' conftest.er1 >conftest.err
26837 rm -f conftest.er1
26838 cat conftest.err >&5
26839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840 (exit $ac_status); } && {
26841 test -z "$ac_cxx_werror_flag" ||
26842 test ! -s conftest.err
26843 } && test -s conftest.$ac_objext; then
26844 wx_cv_class_stdbasicstring=yes
26845 else
26846 echo "$as_me: failed program was:" >&5
26847 sed 's/^/| /' conftest.$ac_ext >&5
26848
26849 wx_cv_class_stdbasicstring=no
26850
26851 fi
26852
26853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26854
26855
26856 fi
26857 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26858 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26859
26860 if test "$wx_cv_class_stdbasicstring" != yes; then
26861 if test "$wxUSE_STL" = "yes"; then
26862 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26863 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26864 { (exit 1); exit 1; }; }
26865 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26866 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26867 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26868 { (exit 1); exit 1; }; }
26869 else
26870 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26871 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26872 wxUSE_STD_STRING=no
26873 fi
26874 fi
26875 fi
26876 fi
26877
26878 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26879 { echo "$as_me:$LINENO: checking for std::istream" >&5
26880 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26881 if test "${ac_cv_type_std__istream+set}" = set; then
26882 echo $ECHO_N "(cached) $ECHO_C" >&6
26883 else
26884 cat >conftest.$ac_ext <<_ACEOF
26885 /* confdefs.h. */
26886 _ACEOF
26887 cat confdefs.h >>conftest.$ac_ext
26888 cat >>conftest.$ac_ext <<_ACEOF
26889 /* end confdefs.h. */
26890 #include <iostream>
26891
26892 typedef std::istream ac__type_new_;
26893 int
26894 main ()
26895 {
26896 if ((ac__type_new_ *) 0)
26897 return 0;
26898 if (sizeof (ac__type_new_))
26899 return 0;
26900 ;
26901 return 0;
26902 }
26903 _ACEOF
26904 rm -f conftest.$ac_objext
26905 if { (ac_try="$ac_compile"
26906 case "(($ac_try" in
26907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26908 *) ac_try_echo=$ac_try;;
26909 esac
26910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26911 (eval "$ac_compile") 2>conftest.er1
26912 ac_status=$?
26913 grep -v '^ *+' conftest.er1 >conftest.err
26914 rm -f conftest.er1
26915 cat conftest.err >&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); } && {
26918 test -z "$ac_cxx_werror_flag" ||
26919 test ! -s conftest.err
26920 } && test -s conftest.$ac_objext; then
26921 ac_cv_type_std__istream=yes
26922 else
26923 echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.$ac_ext >&5
26925
26926 ac_cv_type_std__istream=no
26927 fi
26928
26929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26930 fi
26931 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26932 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26933 if test $ac_cv_type_std__istream = yes; then
26934
26935 cat >>confdefs.h <<_ACEOF
26936 #define HAVE_STD__ISTREAM 1
26937 _ACEOF
26938
26939
26940 else
26941 wxUSE_STD_IOSTREAM=no
26942 fi
26943 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26944 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26945 if test "${ac_cv_type_std__ostream+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 else
26948 cat >conftest.$ac_ext <<_ACEOF
26949 /* confdefs.h. */
26950 _ACEOF
26951 cat confdefs.h >>conftest.$ac_ext
26952 cat >>conftest.$ac_ext <<_ACEOF
26953 /* end confdefs.h. */
26954 #include <iostream>
26955
26956 typedef std::ostream ac__type_new_;
26957 int
26958 main ()
26959 {
26960 if ((ac__type_new_ *) 0)
26961 return 0;
26962 if (sizeof (ac__type_new_))
26963 return 0;
26964 ;
26965 return 0;
26966 }
26967 _ACEOF
26968 rm -f conftest.$ac_objext
26969 if { (ac_try="$ac_compile"
26970 case "(($ac_try" in
26971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26972 *) ac_try_echo=$ac_try;;
26973 esac
26974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26975 (eval "$ac_compile") 2>conftest.er1
26976 ac_status=$?
26977 grep -v '^ *+' conftest.er1 >conftest.err
26978 rm -f conftest.er1
26979 cat conftest.err >&5
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); } && {
26982 test -z "$ac_cxx_werror_flag" ||
26983 test ! -s conftest.err
26984 } && test -s conftest.$ac_objext; then
26985 ac_cv_type_std__ostream=yes
26986 else
26987 echo "$as_me: failed program was:" >&5
26988 sed 's/^/| /' conftest.$ac_ext >&5
26989
26990 ac_cv_type_std__ostream=no
26991 fi
26992
26993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26994 fi
26995 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26996 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26997 if test $ac_cv_type_std__ostream = yes; then
26998
26999 cat >>confdefs.h <<_ACEOF
27000 #define HAVE_STD__OSTREAM 1
27001 _ACEOF
27002
27003
27004 else
27005 wxUSE_STD_IOSTREAM=no
27006 fi
27007
27008
27009 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27010 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27011 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27012 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27013 { (exit 1); exit 1; }; }
27014 else
27015 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27016 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27017 fi
27018 fi
27019 fi
27020
27021 if test "$wxUSE_STL" = "yes"; then
27022 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27023 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27024 if test "${wx_cv_lib_stl+set}" = set; then
27025 echo $ECHO_N "(cached) $ECHO_C" >&6
27026 else
27027 cat >conftest.$ac_ext <<_ACEOF
27028 /* confdefs.h. */
27029 _ACEOF
27030 cat confdefs.h >>conftest.$ac_ext
27031 cat >>conftest.$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27033 #include <string>
27034 #include <functional>
27035 #include <algorithm>
27036 #include <vector>
27037 #include <list>
27038 int
27039 main ()
27040 {
27041 std::vector<int> moo;
27042 std::list<int> foo;
27043 std::vector<int>::iterator it =
27044 std::find_if(moo.begin(), moo.end(),
27045 std::bind2nd(std::less<int>(), 3));
27046 ;
27047 return 0;
27048 }
27049 _ACEOF
27050 rm -f conftest.$ac_objext
27051 if { (ac_try="$ac_compile"
27052 case "(($ac_try" in
27053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27054 *) ac_try_echo=$ac_try;;
27055 esac
27056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27057 (eval "$ac_compile") 2>conftest.er1
27058 ac_status=$?
27059 grep -v '^ *+' conftest.er1 >conftest.err
27060 rm -f conftest.er1
27061 cat conftest.err >&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } && {
27064 test -z "$ac_cxx_werror_flag" ||
27065 test ! -s conftest.err
27066 } && test -s conftest.$ac_objext; then
27067 wx_cv_lib_stl=yes
27068 else
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.$ac_ext >&5
27071
27072 wx_cv_lib_stl=no
27073
27074 fi
27075
27076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27077
27078 fi
27079 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27080 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27081
27082 if test "$wx_cv_lib_stl" != yes; then
27083 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27084 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27085 { (exit 1); exit 1; }; }
27086 fi
27087
27088 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27089 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27090 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27091 echo $ECHO_N "(cached) $ECHO_C" >&6
27092 else
27093 cat >conftest.$ac_ext <<_ACEOF
27094 /* confdefs.h. */
27095 _ACEOF
27096 cat confdefs.h >>conftest.$ac_ext
27097 cat >>conftest.$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27099 #include <string>
27100 int
27101 main ()
27102 {
27103 std::string foo, bar;
27104 foo.compare(bar);
27105 foo.compare(1, 1, bar);
27106 foo.compare(1, 1, bar, 1, 1);
27107 foo.compare("");
27108 foo.compare(1, 1, "");
27109 foo.compare(1, 1, "", 2);
27110 ;
27111 return 0;
27112 }
27113 _ACEOF
27114 rm -f conftest.$ac_objext
27115 if { (ac_try="$ac_compile"
27116 case "(($ac_try" in
27117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27118 *) ac_try_echo=$ac_try;;
27119 esac
27120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27121 (eval "$ac_compile") 2>conftest.er1
27122 ac_status=$?
27123 grep -v '^ *+' conftest.er1 >conftest.err
27124 rm -f conftest.er1
27125 cat conftest.err >&5
27126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27127 (exit $ac_status); } && {
27128 test -z "$ac_cxx_werror_flag" ||
27129 test ! -s conftest.err
27130 } && test -s conftest.$ac_objext; then
27131 wx_cv_func_stdstring_compare=yes
27132 else
27133 echo "$as_me: failed program was:" >&5
27134 sed 's/^/| /' conftest.$ac_ext >&5
27135
27136 wx_cv_func_stdstring_compare=no
27137
27138 fi
27139
27140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27141
27142 fi
27143 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27144 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27145
27146 if test "$wx_cv_func_stdstring_compare" = yes; then
27147 cat >>confdefs.h <<\_ACEOF
27148 #define HAVE_STD_STRING_COMPARE 1
27149 _ACEOF
27150
27151 fi
27152
27153 { echo "$as_me:$LINENO: checking for hash_map" >&5
27154 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27155 if test "${ac_cv_header_hash_map+set}" = set; then
27156 echo $ECHO_N "(cached) $ECHO_C" >&6
27157 else
27158 cat >conftest.$ac_ext <<_ACEOF
27159 /* confdefs.h. */
27160 _ACEOF
27161 cat confdefs.h >>conftest.$ac_ext
27162 cat >>conftest.$ac_ext <<_ACEOF
27163 /* end confdefs.h. */
27164
27165
27166
27167 #include <hash_map>
27168 _ACEOF
27169 rm -f conftest.$ac_objext
27170 if { (ac_try="$ac_compile"
27171 case "(($ac_try" in
27172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27173 *) ac_try_echo=$ac_try;;
27174 esac
27175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_compile") 2>conftest.er1
27177 ac_status=$?
27178 grep -v '^ *+' conftest.er1 >conftest.err
27179 rm -f conftest.er1
27180 cat conftest.err >&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); } && {
27183 test -z "$ac_cxx_werror_flag" ||
27184 test ! -s conftest.err
27185 } && test -s conftest.$ac_objext; then
27186 ac_cv_header_hash_map=yes
27187 else
27188 echo "$as_me: failed program was:" >&5
27189 sed 's/^/| /' conftest.$ac_ext >&5
27190
27191 ac_cv_header_hash_map=no
27192 fi
27193
27194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27195 fi
27196 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27197 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27198 if test $ac_cv_header_hash_map = yes; then
27199 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27200 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27201 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27202 echo $ECHO_N "(cached) $ECHO_C" >&6
27203 else
27204 cat >conftest.$ac_ext <<_ACEOF
27205 /* confdefs.h. */
27206 _ACEOF
27207 cat confdefs.h >>conftest.$ac_ext
27208 cat >>conftest.$ac_ext <<_ACEOF
27209 /* end confdefs.h. */
27210 #include <hash_map>
27211 #include <hash_set>
27212 int
27213 main ()
27214 {
27215 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27216 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27217 ;
27218 return 0;
27219 }
27220 _ACEOF
27221 rm -f conftest.$ac_objext
27222 if { (ac_try="$ac_compile"
27223 case "(($ac_try" in
27224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27225 *) ac_try_echo=$ac_try;;
27226 esac
27227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27228 (eval "$ac_compile") 2>conftest.er1
27229 ac_status=$?
27230 grep -v '^ *+' conftest.er1 >conftest.err
27231 rm -f conftest.er1
27232 cat conftest.err >&5
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); } && {
27235 test -z "$ac_cxx_werror_flag" ||
27236 test ! -s conftest.err
27237 } && test -s conftest.$ac_objext; then
27238 wx_cv_class_stdhashmapset=yes
27239 else
27240 echo "$as_me: failed program was:" >&5
27241 sed 's/^/| /' conftest.$ac_ext >&5
27242
27243 wx_cv_class_stdhashmapset=no
27244 fi
27245
27246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27247
27248
27249 fi
27250 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27251 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27252 fi
27253
27254
27255
27256 if test "$wx_cv_class_stdhashmapset" = yes; then
27257 cat >>confdefs.h <<\_ACEOF
27258 #define HAVE_HASH_MAP 1
27259 _ACEOF
27260
27261 cat >>confdefs.h <<\_ACEOF
27262 #define HAVE_STD_HASH_MAP 1
27263 _ACEOF
27264
27265 fi
27266
27267 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27268 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27269 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27270 echo $ECHO_N "(cached) $ECHO_C" >&6
27271 else
27272 cat >conftest.$ac_ext <<_ACEOF
27273 /* confdefs.h. */
27274 _ACEOF
27275 cat confdefs.h >>conftest.$ac_ext
27276 cat >>conftest.$ac_ext <<_ACEOF
27277 /* end confdefs.h. */
27278
27279
27280
27281 #include <ext/hash_map>
27282 _ACEOF
27283 rm -f conftest.$ac_objext
27284 if { (ac_try="$ac_compile"
27285 case "(($ac_try" in
27286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27287 *) ac_try_echo=$ac_try;;
27288 esac
27289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27290 (eval "$ac_compile") 2>conftest.er1
27291 ac_status=$?
27292 grep -v '^ *+' conftest.er1 >conftest.err
27293 rm -f conftest.er1
27294 cat conftest.err >&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); } && {
27297 test -z "$ac_cxx_werror_flag" ||
27298 test ! -s conftest.err
27299 } && test -s conftest.$ac_objext; then
27300 ac_cv_header_ext_hash_map=yes
27301 else
27302 echo "$as_me: failed program was:" >&5
27303 sed 's/^/| /' conftest.$ac_ext >&5
27304
27305 ac_cv_header_ext_hash_map=no
27306 fi
27307
27308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27309 fi
27310 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27311 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27312 if test $ac_cv_header_ext_hash_map = yes; then
27313 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27314 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27315 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27316 echo $ECHO_N "(cached) $ECHO_C" >&6
27317 else
27318 cat >conftest.$ac_ext <<_ACEOF
27319 /* confdefs.h. */
27320 _ACEOF
27321 cat confdefs.h >>conftest.$ac_ext
27322 cat >>conftest.$ac_ext <<_ACEOF
27323 /* end confdefs.h. */
27324 #include <ext/hash_map>
27325 #include <ext/hash_set>
27326 int
27327 main ()
27328 {
27329 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27330 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27331 ;
27332 return 0;
27333 }
27334 _ACEOF
27335 rm -f conftest.$ac_objext
27336 if { (ac_try="$ac_compile"
27337 case "(($ac_try" in
27338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27339 *) ac_try_echo=$ac_try;;
27340 esac
27341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27342 (eval "$ac_compile") 2>conftest.er1
27343 ac_status=$?
27344 grep -v '^ *+' conftest.er1 >conftest.err
27345 rm -f conftest.er1
27346 cat conftest.err >&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } && {
27349 test -z "$ac_cxx_werror_flag" ||
27350 test ! -s conftest.err
27351 } && test -s conftest.$ac_objext; then
27352 wx_cv_class_gnuhashmapset=yes
27353 else
27354 echo "$as_me: failed program was:" >&5
27355 sed 's/^/| /' conftest.$ac_ext >&5
27356
27357 wx_cv_class_gnuhashmapset=no
27358 fi
27359
27360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27361
27362
27363 fi
27364 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27365 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27366 fi
27367
27368
27369
27370 if test "$wx_cv_class_gnuhashmapset" = yes; then
27371 cat >>confdefs.h <<\_ACEOF
27372 #define HAVE_EXT_HASH_MAP 1
27373 _ACEOF
27374
27375 cat >>confdefs.h <<\_ACEOF
27376 #define HAVE_GNU_CXX_HASH_MAP 1
27377 _ACEOF
27378
27379 fi
27380 fi
27381
27382 ac_ext=c
27383 ac_cpp='$CPP $CPPFLAGS'
27384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27387
27388
27389
27390 SEARCH_INCLUDE="\
27391 /usr/local/include \
27392 \
27393 /usr/Motif-2.1/include \
27394 /usr/Motif-1.2/include \
27395 /usr/include/Motif1.2 \
27396 \
27397 /usr/dt/include \
27398 /usr/openwin/include \
27399 \
27400 /usr/include/Xm \
27401 \
27402 /usr/X11R6/include \
27403 /usr/X11R6.4/include \
27404 /usr/X11R5/include \
27405 /usr/X11R4/include \
27406 \
27407 /usr/include/X11R6 \
27408 /usr/include/X11R5 \
27409 /usr/include/X11R4 \
27410 \
27411 /usr/local/X11R6/include \
27412 /usr/local/X11R5/include \
27413 /usr/local/X11R4/include \
27414 \
27415 /usr/local/include/X11R6 \
27416 /usr/local/include/X11R5 \
27417 /usr/local/include/X11R4 \
27418 \
27419 /usr/X11/include \
27420 /usr/include/X11 \
27421 /usr/local/X11/include \
27422 /usr/local/include/X11 \
27423 \
27424 /usr/XFree86/include/X11 \
27425 /usr/pkg/include \
27426 \
27427 /usr/openwin/share/include"
27428
27429 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27430 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27431
27432 case "${host}" in
27433 *-*-irix6* )
27434 if test "${wx_cv_std_libpath+set}" = set; then
27435 echo $ECHO_N "(cached) $ECHO_C" >&6
27436 else
27437
27438 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27439 for e in a so sl dylib dll.a; do
27440 libc="$d/libc.$e"
27441 if test -f $libc; then
27442 save_LIBS="$LIBS"
27443 LIBS="$libc"
27444 cat >conftest.$ac_ext <<_ACEOF
27445 int main() { return 0; }
27446 _ACEOF
27447 rm -f conftest.$ac_objext conftest$ac_exeext
27448 if { (ac_try="$ac_link"
27449 case "(($ac_try" in
27450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;;
27452 esac
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_link") 2>conftest.er1
27455 ac_status=$?
27456 grep -v '^ *+' conftest.er1 >conftest.err
27457 rm -f conftest.er1
27458 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } && {
27461 test -z "$ac_c_werror_flag" ||
27462 test ! -s conftest.err
27463 } && test -s conftest$ac_exeext &&
27464 $as_test_x conftest$ac_exeext; then
27465 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27466 else
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27469
27470
27471 fi
27472
27473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27474 conftest$ac_exeext conftest.$ac_ext
27475 LIBS="$save_LIBS"
27476 if test "x$wx_cv_std_libpath" != "x"; then
27477 break 2
27478 fi
27479 fi
27480 done
27481 done
27482 if test "x$wx_cv_std_libpath" = "x"; then
27483 wx_cv_std_libpath="lib"
27484 fi
27485
27486
27487 fi
27488
27489 ;;
27490
27491 *-*-solaris2* )
27492 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27493 wx_cv_std_libpath="lib/64"
27494 else
27495 wx_cv_std_libpath="lib"
27496 fi
27497 ;;
27498
27499 *-*-linux* )
27500 if test "$ac_cv_sizeof_void_p" = 8 -a \
27501 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27502 wx_cv_std_libpath="lib64"
27503 else
27504 wx_cv_std_libpath="lib"
27505 fi
27506 ;;
27507
27508 *)
27509 wx_cv_std_libpath="lib";
27510 ;;
27511 esac
27512
27513 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27514 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27515
27516 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27517
27518 if test "$build" != "$host" -a "$GCC" = yes; then
27519 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27520 cross_root=`dirname $cross_root`
27521 cross_root=`dirname $cross_root`
27522
27523 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27524 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27525 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27526
27527 if test -z "$PKG_CONFIG_PATH"; then
27528 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27529 export PKG_CONFIG_PATH
27530 fi
27531
27532 if test -z "$x_includes" -o "$x_includes" = NONE; then
27533
27534 ac_find_includes=
27535 for ac_dir in $SEARCH_INCLUDE /usr/include;
27536 do
27537 if test -f "$ac_dir/X11/Intrinsic.h"; then
27538 ac_find_includes=$ac_dir
27539 break
27540 fi
27541 done
27542
27543 x_includes=$ac_find_includes
27544 fi
27545 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27546
27547 ac_find_libraries=
27548 for ac_dir in $SEARCH_LIB;
27549 do
27550 for ac_extension in a so sl dylib dll.a; do
27551 if test -f "$ac_dir/libXt.$ac_extension"; then
27552 ac_find_libraries=$ac_dir
27553 break 2
27554 fi
27555 done
27556 done
27557
27558 x_libraries=$ac_find_libraries
27559 fi
27560 fi
27561 fi
27562
27563
27564 cat >confcache <<\_ACEOF
27565 # This file is a shell script that caches the results of configure
27566 # tests run on this system so they can be shared between configure
27567 # scripts and configure runs, see configure's option --config-cache.
27568 # It is not useful on other systems. If it contains results you don't
27569 # want to keep, you may remove or edit it.
27570 #
27571 # config.status only pays attention to the cache file if you give it
27572 # the --recheck option to rerun configure.
27573 #
27574 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27575 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27576 # following values.
27577
27578 _ACEOF
27579
27580 # The following way of writing the cache mishandles newlines in values,
27581 # but we know of no workaround that is simple, portable, and efficient.
27582 # So, we kill variables containing newlines.
27583 # Ultrix sh set writes to stderr and can't be redirected directly,
27584 # and sets the high bit in the cache file unless we assign to the vars.
27585 (
27586 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27587 eval ac_val=\$$ac_var
27588 case $ac_val in #(
27589 *${as_nl}*)
27590 case $ac_var in #(
27591 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27592 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27593 esac
27594 case $ac_var in #(
27595 _ | IFS | as_nl) ;; #(
27596 *) $as_unset $ac_var ;;
27597 esac ;;
27598 esac
27599 done
27600
27601 (set) 2>&1 |
27602 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27603 *${as_nl}ac_space=\ *)
27604 # `set' does not quote correctly, so add quotes (double-quote
27605 # substitution turns \\\\ into \\, and sed turns \\ into \).
27606 sed -n \
27607 "s/'/'\\\\''/g;
27608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27609 ;; #(
27610 *)
27611 # `set' quotes correctly as required by POSIX, so do not add quotes.
27612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27613 ;;
27614 esac |
27615 sort
27616 ) |
27617 sed '
27618 /^ac_cv_env_/b end
27619 t clear
27620 :clear
27621 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27622 t end
27623 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27624 :end' >>confcache
27625 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27626 if test -w "$cache_file"; then
27627 test "x$cache_file" != "x/dev/null" &&
27628 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27629 echo "$as_me: updating cache $cache_file" >&6;}
27630 cat confcache >$cache_file
27631 else
27632 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27633 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27634 fi
27635 fi
27636 rm -f confcache
27637
27638 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27639 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27640 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27641 if test "${wx_cv_lib_glibc21+set}" = set; then
27642 echo $ECHO_N "(cached) $ECHO_C" >&6
27643 else
27644
27645 cat >conftest.$ac_ext <<_ACEOF
27646 /* confdefs.h. */
27647 _ACEOF
27648 cat confdefs.h >>conftest.$ac_ext
27649 cat >>conftest.$ac_ext <<_ACEOF
27650 /* end confdefs.h. */
27651 #include <features.h>
27652 int
27653 main ()
27654 {
27655
27656 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27657 not glibc 2.1
27658 #endif
27659
27660 ;
27661 return 0;
27662 }
27663 _ACEOF
27664 rm -f conftest.$ac_objext
27665 if { (ac_try="$ac_compile"
27666 case "(($ac_try" in
27667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27668 *) ac_try_echo=$ac_try;;
27669 esac
27670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27671 (eval "$ac_compile") 2>conftest.er1
27672 ac_status=$?
27673 grep -v '^ *+' conftest.er1 >conftest.err
27674 rm -f conftest.er1
27675 cat conftest.err >&5
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); } && {
27678 test -z "$ac_c_werror_flag" ||
27679 test ! -s conftest.err
27680 } && test -s conftest.$ac_objext; then
27681
27682 wx_cv_lib_glibc21=yes
27683
27684 else
27685 echo "$as_me: failed program was:" >&5
27686 sed 's/^/| /' conftest.$ac_ext >&5
27687
27688
27689 wx_cv_lib_glibc21=no
27690
27691
27692 fi
27693
27694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27695
27696 fi
27697 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27698 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27699 if test "$wx_cv_lib_glibc21" = "yes"; then
27700 cat >>confdefs.h <<\_ACEOF
27701 #define wxHAVE_GLIBC2 1
27702 _ACEOF
27703
27704 fi
27705 fi
27706
27707 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27708 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27709 cat >>confdefs.h <<\_ACEOF
27710 #define _GNU_SOURCE 1
27711 _ACEOF
27712
27713 fi
27714 fi
27715
27716 have_cos=0
27717 have_floor=0
27718
27719 for ac_func in cos
27720 do
27721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27725 echo $ECHO_N "(cached) $ECHO_C" >&6
27726 else
27727 cat >conftest.$ac_ext <<_ACEOF
27728 /* confdefs.h. */
27729 _ACEOF
27730 cat confdefs.h >>conftest.$ac_ext
27731 cat >>conftest.$ac_ext <<_ACEOF
27732 /* end confdefs.h. */
27733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27735 #define $ac_func innocuous_$ac_func
27736
27737 /* System header to define __stub macros and hopefully few prototypes,
27738 which can conflict with char $ac_func (); below.
27739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27740 <limits.h> exists even on freestanding compilers. */
27741
27742 #ifdef __STDC__
27743 # include <limits.h>
27744 #else
27745 # include <assert.h>
27746 #endif
27747
27748 #undef $ac_func
27749
27750 /* Override any GCC internal prototype to avoid an error.
27751 Use char because int might match the return type of a GCC
27752 builtin and then its argument prototype would still apply. */
27753 #ifdef __cplusplus
27754 extern "C"
27755 #endif
27756 char $ac_func ();
27757 /* The GNU C library defines this for functions which it implements
27758 to always fail with ENOSYS. Some functions are actually named
27759 something starting with __ and the normal name is an alias. */
27760 #if defined __stub_$ac_func || defined __stub___$ac_func
27761 choke me
27762 #endif
27763
27764 int
27765 main ()
27766 {
27767 return $ac_func ();
27768 ;
27769 return 0;
27770 }
27771 _ACEOF
27772 rm -f conftest.$ac_objext conftest$ac_exeext
27773 if { (ac_try="$ac_link"
27774 case "(($ac_try" in
27775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27776 *) ac_try_echo=$ac_try;;
27777 esac
27778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27779 (eval "$ac_link") 2>conftest.er1
27780 ac_status=$?
27781 grep -v '^ *+' conftest.er1 >conftest.err
27782 rm -f conftest.er1
27783 cat conftest.err >&5
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); } && {
27786 test -z "$ac_c_werror_flag" ||
27787 test ! -s conftest.err
27788 } && test -s conftest$ac_exeext &&
27789 $as_test_x conftest$ac_exeext; then
27790 eval "$as_ac_var=yes"
27791 else
27792 echo "$as_me: failed program was:" >&5
27793 sed 's/^/| /' conftest.$ac_ext >&5
27794
27795 eval "$as_ac_var=no"
27796 fi
27797
27798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27799 conftest$ac_exeext conftest.$ac_ext
27800 fi
27801 ac_res=`eval echo '${'$as_ac_var'}'`
27802 { echo "$as_me:$LINENO: result: $ac_res" >&5
27803 echo "${ECHO_T}$ac_res" >&6; }
27804 if test `eval echo '${'$as_ac_var'}'` = yes; then
27805 cat >>confdefs.h <<_ACEOF
27806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27807 _ACEOF
27808 have_cos=1
27809 fi
27810 done
27811
27812
27813 for ac_func in floor
27814 do
27815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27816 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27818 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27819 echo $ECHO_N "(cached) $ECHO_C" >&6
27820 else
27821 cat >conftest.$ac_ext <<_ACEOF
27822 /* confdefs.h. */
27823 _ACEOF
27824 cat confdefs.h >>conftest.$ac_ext
27825 cat >>conftest.$ac_ext <<_ACEOF
27826 /* end confdefs.h. */
27827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27829 #define $ac_func innocuous_$ac_func
27830
27831 /* System header to define __stub macros and hopefully few prototypes,
27832 which can conflict with char $ac_func (); below.
27833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27834 <limits.h> exists even on freestanding compilers. */
27835
27836 #ifdef __STDC__
27837 # include <limits.h>
27838 #else
27839 # include <assert.h>
27840 #endif
27841
27842 #undef $ac_func
27843
27844 /* Override any GCC internal prototype to avoid an error.
27845 Use char because int might match the return type of a GCC
27846 builtin and then its argument prototype would still apply. */
27847 #ifdef __cplusplus
27848 extern "C"
27849 #endif
27850 char $ac_func ();
27851 /* The GNU C library defines this for functions which it implements
27852 to always fail with ENOSYS. Some functions are actually named
27853 something starting with __ and the normal name is an alias. */
27854 #if defined __stub_$ac_func || defined __stub___$ac_func
27855 choke me
27856 #endif
27857
27858 int
27859 main ()
27860 {
27861 return $ac_func ();
27862 ;
27863 return 0;
27864 }
27865 _ACEOF
27866 rm -f conftest.$ac_objext conftest$ac_exeext
27867 if { (ac_try="$ac_link"
27868 case "(($ac_try" in
27869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27870 *) ac_try_echo=$ac_try;;
27871 esac
27872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27873 (eval "$ac_link") 2>conftest.er1
27874 ac_status=$?
27875 grep -v '^ *+' conftest.er1 >conftest.err
27876 rm -f conftest.er1
27877 cat conftest.err >&5
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); } && {
27880 test -z "$ac_c_werror_flag" ||
27881 test ! -s conftest.err
27882 } && test -s conftest$ac_exeext &&
27883 $as_test_x conftest$ac_exeext; then
27884 eval "$as_ac_var=yes"
27885 else
27886 echo "$as_me: failed program was:" >&5
27887 sed 's/^/| /' conftest.$ac_ext >&5
27888
27889 eval "$as_ac_var=no"
27890 fi
27891
27892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27893 conftest$ac_exeext conftest.$ac_ext
27894 fi
27895 ac_res=`eval echo '${'$as_ac_var'}'`
27896 { echo "$as_me:$LINENO: result: $ac_res" >&5
27897 echo "${ECHO_T}$ac_res" >&6; }
27898 if test `eval echo '${'$as_ac_var'}'` = yes; then
27899 cat >>confdefs.h <<_ACEOF
27900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27901 _ACEOF
27902 have_floor=1
27903 fi
27904 done
27905
27906 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27907 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27908 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27909 { echo "$as_me:$LINENO: result: yes" >&5
27910 echo "${ECHO_T}yes" >&6; }
27911 else
27912 { echo "$as_me:$LINENO: result: no" >&5
27913 echo "${ECHO_T}no" >&6; }
27914 LIBS="$LIBS -lm"
27915 # use different functions to avoid configure caching
27916 have_sin=0
27917 have_ceil=0
27918
27919 for ac_func in sin
27920 do
27921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27922 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27924 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27925 echo $ECHO_N "(cached) $ECHO_C" >&6
27926 else
27927 cat >conftest.$ac_ext <<_ACEOF
27928 /* confdefs.h. */
27929 _ACEOF
27930 cat confdefs.h >>conftest.$ac_ext
27931 cat >>conftest.$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27935 #define $ac_func innocuous_$ac_func
27936
27937 /* System header to define __stub macros and hopefully few prototypes,
27938 which can conflict with char $ac_func (); below.
27939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27940 <limits.h> exists even on freestanding compilers. */
27941
27942 #ifdef __STDC__
27943 # include <limits.h>
27944 #else
27945 # include <assert.h>
27946 #endif
27947
27948 #undef $ac_func
27949
27950 /* Override any GCC internal prototype to avoid an error.
27951 Use char because int might match the return type of a GCC
27952 builtin and then its argument prototype would still apply. */
27953 #ifdef __cplusplus
27954 extern "C"
27955 #endif
27956 char $ac_func ();
27957 /* The GNU C library defines this for functions which it implements
27958 to always fail with ENOSYS. Some functions are actually named
27959 something starting with __ and the normal name is an alias. */
27960 #if defined __stub_$ac_func || defined __stub___$ac_func
27961 choke me
27962 #endif
27963
27964 int
27965 main ()
27966 {
27967 return $ac_func ();
27968 ;
27969 return 0;
27970 }
27971 _ACEOF
27972 rm -f conftest.$ac_objext conftest$ac_exeext
27973 if { (ac_try="$ac_link"
27974 case "(($ac_try" in
27975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27976 *) ac_try_echo=$ac_try;;
27977 esac
27978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27979 (eval "$ac_link") 2>conftest.er1
27980 ac_status=$?
27981 grep -v '^ *+' conftest.er1 >conftest.err
27982 rm -f conftest.er1
27983 cat conftest.err >&5
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); } && {
27986 test -z "$ac_c_werror_flag" ||
27987 test ! -s conftest.err
27988 } && test -s conftest$ac_exeext &&
27989 $as_test_x conftest$ac_exeext; then
27990 eval "$as_ac_var=yes"
27991 else
27992 echo "$as_me: failed program was:" >&5
27993 sed 's/^/| /' conftest.$ac_ext >&5
27994
27995 eval "$as_ac_var=no"
27996 fi
27997
27998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27999 conftest$ac_exeext conftest.$ac_ext
28000 fi
28001 ac_res=`eval echo '${'$as_ac_var'}'`
28002 { echo "$as_me:$LINENO: result: $ac_res" >&5
28003 echo "${ECHO_T}$ac_res" >&6; }
28004 if test `eval echo '${'$as_ac_var'}'` = yes; then
28005 cat >>confdefs.h <<_ACEOF
28006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28007 _ACEOF
28008 have_sin=1
28009 fi
28010 done
28011
28012
28013 for ac_func in ceil
28014 do
28015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28019 echo $ECHO_N "(cached) $ECHO_C" >&6
28020 else
28021 cat >conftest.$ac_ext <<_ACEOF
28022 /* confdefs.h. */
28023 _ACEOF
28024 cat confdefs.h >>conftest.$ac_ext
28025 cat >>conftest.$ac_ext <<_ACEOF
28026 /* end confdefs.h. */
28027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28029 #define $ac_func innocuous_$ac_func
28030
28031 /* System header to define __stub macros and hopefully few prototypes,
28032 which can conflict with char $ac_func (); below.
28033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28034 <limits.h> exists even on freestanding compilers. */
28035
28036 #ifdef __STDC__
28037 # include <limits.h>
28038 #else
28039 # include <assert.h>
28040 #endif
28041
28042 #undef $ac_func
28043
28044 /* Override any GCC internal prototype to avoid an error.
28045 Use char because int might match the return type of a GCC
28046 builtin and then its argument prototype would still apply. */
28047 #ifdef __cplusplus
28048 extern "C"
28049 #endif
28050 char $ac_func ();
28051 /* The GNU C library defines this for functions which it implements
28052 to always fail with ENOSYS. Some functions are actually named
28053 something starting with __ and the normal name is an alias. */
28054 #if defined __stub_$ac_func || defined __stub___$ac_func
28055 choke me
28056 #endif
28057
28058 int
28059 main ()
28060 {
28061 return $ac_func ();
28062 ;
28063 return 0;
28064 }
28065 _ACEOF
28066 rm -f conftest.$ac_objext conftest$ac_exeext
28067 if { (ac_try="$ac_link"
28068 case "(($ac_try" in
28069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28070 *) ac_try_echo=$ac_try;;
28071 esac
28072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28073 (eval "$ac_link") 2>conftest.er1
28074 ac_status=$?
28075 grep -v '^ *+' conftest.er1 >conftest.err
28076 rm -f conftest.er1
28077 cat conftest.err >&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); } && {
28080 test -z "$ac_c_werror_flag" ||
28081 test ! -s conftest.err
28082 } && test -s conftest$ac_exeext &&
28083 $as_test_x conftest$ac_exeext; then
28084 eval "$as_ac_var=yes"
28085 else
28086 echo "$as_me: failed program was:" >&5
28087 sed 's/^/| /' conftest.$ac_ext >&5
28088
28089 eval "$as_ac_var=no"
28090 fi
28091
28092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28093 conftest$ac_exeext conftest.$ac_ext
28094 fi
28095 ac_res=`eval echo '${'$as_ac_var'}'`
28096 { echo "$as_me:$LINENO: result: $ac_res" >&5
28097 echo "${ECHO_T}$ac_res" >&6; }
28098 if test `eval echo '${'$as_ac_var'}'` = yes; then
28099 cat >>confdefs.h <<_ACEOF
28100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28101 _ACEOF
28102 have_ceil=1
28103 fi
28104 done
28105
28106 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28107 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28108 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28109 { echo "$as_me:$LINENO: result: yes" >&5
28110 echo "${ECHO_T}yes" >&6; }
28111 else
28112 { echo "$as_me:$LINENO: result: no" >&5
28113 echo "${ECHO_T}no" >&6; }
28114 # not sure we should warn the user, crash, etc.
28115 fi
28116 fi
28117
28118 ac_ext=cpp
28119 ac_cpp='$CXXCPP $CPPFLAGS'
28120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28123
28124 if test "wxUSE_UNICODE" = "yes"; then
28125
28126 for wx_func in wcstoull
28127 do
28128 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28129 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28130 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28131 echo $ECHO_N "(cached) $ECHO_C" >&6
28132 else
28133
28134 cat >conftest.$ac_ext <<_ACEOF
28135
28136 /* confdefs.h. */
28137 _ACEOF
28138 cat confdefs.h >>conftest.$ac_ext
28139 cat >>conftest.$ac_ext <<_ACEOF
28140 /* end confdefs.h. */
28141
28142
28143 $ac_includes_default
28144
28145 int
28146 main ()
28147 {
28148
28149 #ifndef $wx_func
28150 &$wx_func;
28151 #endif
28152
28153
28154 ;
28155 return 0;
28156 }
28157
28158 _ACEOF
28159 rm -f conftest.$ac_objext conftest$ac_exeext
28160 if { (ac_try="$ac_link"
28161 case "(($ac_try" in
28162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28163 *) ac_try_echo=$ac_try;;
28164 esac
28165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28166 (eval "$ac_link") 2>conftest.er1
28167 ac_status=$?
28168 grep -v '^ *+' conftest.er1 >conftest.err
28169 rm -f conftest.er1
28170 cat conftest.err >&5
28171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172 (exit $ac_status); } && {
28173 test -z "$ac_cxx_werror_flag" ||
28174 test ! -s conftest.err
28175 } && test -s conftest$ac_exeext &&
28176 $as_test_x conftest$ac_exeext; then
28177 eval wx_cv_func_$wx_func=yes
28178 else
28179 echo "$as_me: failed program was:" >&5
28180 sed 's/^/| /' conftest.$ac_ext >&5
28181
28182 eval wx_cv_func_$wx_func=no
28183 fi
28184
28185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28186 conftest$ac_exeext conftest.$ac_ext
28187
28188 fi
28189 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28190 { echo "$as_me:$LINENO: result: $ac_res" >&5
28191 echo "${ECHO_T}$ac_res" >&6; }
28192
28193 if eval test \$wx_cv_func_$wx_func = yes
28194 then
28195 cat >>confdefs.h <<_ACEOF
28196 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28197 _ACEOF
28198
28199
28200 else
28201 :
28202
28203 fi
28204 done
28205
28206 else
28207
28208 for wx_func in strtoull
28209 do
28210 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28211 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28212 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28213 echo $ECHO_N "(cached) $ECHO_C" >&6
28214 else
28215
28216 cat >conftest.$ac_ext <<_ACEOF
28217
28218 /* confdefs.h. */
28219 _ACEOF
28220 cat confdefs.h >>conftest.$ac_ext
28221 cat >>conftest.$ac_ext <<_ACEOF
28222 /* end confdefs.h. */
28223
28224
28225 $ac_includes_default
28226
28227 int
28228 main ()
28229 {
28230
28231 #ifndef $wx_func
28232 &$wx_func;
28233 #endif
28234
28235
28236 ;
28237 return 0;
28238 }
28239
28240 _ACEOF
28241 rm -f conftest.$ac_objext conftest$ac_exeext
28242 if { (ac_try="$ac_link"
28243 case "(($ac_try" in
28244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28245 *) ac_try_echo=$ac_try;;
28246 esac
28247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28248 (eval "$ac_link") 2>conftest.er1
28249 ac_status=$?
28250 grep -v '^ *+' conftest.er1 >conftest.err
28251 rm -f conftest.er1
28252 cat conftest.err >&5
28253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254 (exit $ac_status); } && {
28255 test -z "$ac_cxx_werror_flag" ||
28256 test ! -s conftest.err
28257 } && test -s conftest$ac_exeext &&
28258 $as_test_x conftest$ac_exeext; then
28259 eval wx_cv_func_$wx_func=yes
28260 else
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.$ac_ext >&5
28263
28264 eval wx_cv_func_$wx_func=no
28265 fi
28266
28267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28268 conftest$ac_exeext conftest.$ac_ext
28269
28270 fi
28271 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28272 { echo "$as_me:$LINENO: result: $ac_res" >&5
28273 echo "${ECHO_T}$ac_res" >&6; }
28274
28275 if eval test \$wx_cv_func_$wx_func = yes
28276 then
28277 cat >>confdefs.h <<_ACEOF
28278 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28279 _ACEOF
28280
28281
28282 else
28283 :
28284
28285 fi
28286 done
28287
28288 fi
28289 ac_ext=c
28290 ac_cpp='$CPP $CPPFLAGS'
28291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28294
28295
28296
28297
28298 if test "$wxUSE_REGEX" != "no"; then
28299 cat >>confdefs.h <<\_ACEOF
28300 #define wxUSE_REGEX 1
28301 _ACEOF
28302
28303
28304 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28305 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28306 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28307 wxUSE_REGEX=builtin
28308 fi
28309
28310 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28311 { echo "$as_me:$LINENO: checking for regex.h" >&5
28312 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28313 if test "${ac_cv_header_regex_h+set}" = set; then
28314 echo $ECHO_N "(cached) $ECHO_C" >&6
28315 else
28316 cat >conftest.$ac_ext <<_ACEOF
28317 /* confdefs.h. */
28318 _ACEOF
28319 cat confdefs.h >>conftest.$ac_ext
28320 cat >>conftest.$ac_ext <<_ACEOF
28321 /* end confdefs.h. */
28322
28323
28324 #include <regex.h>
28325 _ACEOF
28326 rm -f conftest.$ac_objext
28327 if { (ac_try="$ac_compile"
28328 case "(($ac_try" in
28329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28330 *) ac_try_echo=$ac_try;;
28331 esac
28332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28333 (eval "$ac_compile") 2>conftest.er1
28334 ac_status=$?
28335 grep -v '^ *+' conftest.er1 >conftest.err
28336 rm -f conftest.er1
28337 cat conftest.err >&5
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); } && {
28340 test -z "$ac_c_werror_flag" ||
28341 test ! -s conftest.err
28342 } && test -s conftest.$ac_objext; then
28343 ac_cv_header_regex_h=yes
28344 else
28345 echo "$as_me: failed program was:" >&5
28346 sed 's/^/| /' conftest.$ac_ext >&5
28347
28348 ac_cv_header_regex_h=no
28349 fi
28350
28351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28352 fi
28353 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28354 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28355 if test $ac_cv_header_regex_h = yes; then
28356
28357
28358 for ac_func in regcomp re_search
28359 do
28360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28361 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28363 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28364 echo $ECHO_N "(cached) $ECHO_C" >&6
28365 else
28366 cat >conftest.$ac_ext <<_ACEOF
28367 /* confdefs.h. */
28368 _ACEOF
28369 cat confdefs.h >>conftest.$ac_ext
28370 cat >>conftest.$ac_ext <<_ACEOF
28371 /* end confdefs.h. */
28372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28374 #define $ac_func innocuous_$ac_func
28375
28376 /* System header to define __stub macros and hopefully few prototypes,
28377 which can conflict with char $ac_func (); below.
28378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28379 <limits.h> exists even on freestanding compilers. */
28380
28381 #ifdef __STDC__
28382 # include <limits.h>
28383 #else
28384 # include <assert.h>
28385 #endif
28386
28387 #undef $ac_func
28388
28389 /* Override any GCC internal prototype to avoid an error.
28390 Use char because int might match the return type of a GCC
28391 builtin and then its argument prototype would still apply. */
28392 #ifdef __cplusplus
28393 extern "C"
28394 #endif
28395 char $ac_func ();
28396 /* The GNU C library defines this for functions which it implements
28397 to always fail with ENOSYS. Some functions are actually named
28398 something starting with __ and the normal name is an alias. */
28399 #if defined __stub_$ac_func || defined __stub___$ac_func
28400 choke me
28401 #endif
28402
28403 int
28404 main ()
28405 {
28406 return $ac_func ();
28407 ;
28408 return 0;
28409 }
28410 _ACEOF
28411 rm -f conftest.$ac_objext conftest$ac_exeext
28412 if { (ac_try="$ac_link"
28413 case "(($ac_try" in
28414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28415 *) ac_try_echo=$ac_try;;
28416 esac
28417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28418 (eval "$ac_link") 2>conftest.er1
28419 ac_status=$?
28420 grep -v '^ *+' conftest.er1 >conftest.err
28421 rm -f conftest.er1
28422 cat conftest.err >&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); } && {
28425 test -z "$ac_c_werror_flag" ||
28426 test ! -s conftest.err
28427 } && test -s conftest$ac_exeext &&
28428 $as_test_x conftest$ac_exeext; then
28429 eval "$as_ac_var=yes"
28430 else
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.$ac_ext >&5
28433
28434 eval "$as_ac_var=no"
28435 fi
28436
28437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28438 conftest$ac_exeext conftest.$ac_ext
28439 fi
28440 ac_res=`eval echo '${'$as_ac_var'}'`
28441 { echo "$as_me:$LINENO: result: $ac_res" >&5
28442 echo "${ECHO_T}$ac_res" >&6; }
28443 if test `eval echo '${'$as_ac_var'}'` = yes; then
28444 cat >>confdefs.h <<_ACEOF
28445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28446 _ACEOF
28447
28448 fi
28449 done
28450
28451 fi
28452
28453
28454
28455 if test "x$ac_cv_func_regcomp" != "xyes"; then
28456 if test "$wxUSE_REGEX" = "sys" ; then
28457 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28458 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28459 { (exit 1); exit 1; }; }
28460 else
28461 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28462 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28463 wxUSE_REGEX=builtin
28464 fi
28465 else
28466 wxUSE_REGEX=sys
28467 cat >>confdefs.h <<\_ACEOF
28468 #define WX_NO_REGEX_ADVANCED 1
28469 _ACEOF
28470
28471 fi
28472 fi
28473 fi
28474
28475
28476 ZLIB_LINK=
28477 if test "$wxUSE_ZLIB" != "no" ; then
28478 cat >>confdefs.h <<\_ACEOF
28479 #define wxUSE_ZLIB 1
28480 _ACEOF
28481
28482
28483 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28484 if test "$USE_DARWIN" = 1; then
28485 system_zlib_h_ok="yes"
28486 else
28487 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28488 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28489 if test "${ac_cv_header_zlib_h+set}" = set; then
28490 echo $ECHO_N "(cached) $ECHO_C" >&6
28491 else
28492 if test "$cross_compiling" = yes; then
28493 unset ac_cv_header_zlib_h
28494
28495 else
28496 cat >conftest.$ac_ext <<_ACEOF
28497 /* confdefs.h. */
28498 _ACEOF
28499 cat confdefs.h >>conftest.$ac_ext
28500 cat >>conftest.$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28502
28503 #include <zlib.h>
28504 #include <stdio.h>
28505
28506 int main()
28507 {
28508 FILE *f=fopen("conftestval", "w");
28509 if (!f) exit(1);
28510 fprintf(f, "%s",
28511 ZLIB_VERSION[0] == '1' &&
28512 (ZLIB_VERSION[2] > '1' ||
28513 (ZLIB_VERSION[2] == '1' &&
28514 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28515 exit(0);
28516 }
28517
28518 _ACEOF
28519 rm -f conftest$ac_exeext
28520 if { (ac_try="$ac_link"
28521 case "(($ac_try" in
28522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28523 *) ac_try_echo=$ac_try;;
28524 esac
28525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28526 (eval "$ac_link") 2>&5
28527 ac_status=$?
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28530 { (case "(($ac_try" in
28531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28532 *) ac_try_echo=$ac_try;;
28533 esac
28534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28535 (eval "$ac_try") 2>&5
28536 ac_status=$?
28537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 (exit $ac_status); }; }; then
28539 ac_cv_header_zlib_h=`cat conftestval`
28540 else
28541 echo "$as_me: program exited with status $ac_status" >&5
28542 echo "$as_me: failed program was:" >&5
28543 sed 's/^/| /' conftest.$ac_ext >&5
28544
28545 ( exit $ac_status )
28546 ac_cv_header_zlib_h=no
28547 fi
28548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28549 fi
28550
28551
28552
28553 fi
28554 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28555 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28556 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28557 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28558 if test "${ac_cv_header_zlib_h+set}" = set; then
28559 echo $ECHO_N "(cached) $ECHO_C" >&6
28560 else
28561 cat >conftest.$ac_ext <<_ACEOF
28562 /* confdefs.h. */
28563 _ACEOF
28564 cat confdefs.h >>conftest.$ac_ext
28565 cat >>conftest.$ac_ext <<_ACEOF
28566 /* end confdefs.h. */
28567
28568
28569 #include <zlib.h>
28570 _ACEOF
28571 rm -f conftest.$ac_objext
28572 if { (ac_try="$ac_compile"
28573 case "(($ac_try" in
28574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28575 *) ac_try_echo=$ac_try;;
28576 esac
28577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28578 (eval "$ac_compile") 2>conftest.er1
28579 ac_status=$?
28580 grep -v '^ *+' conftest.er1 >conftest.err
28581 rm -f conftest.er1
28582 cat conftest.err >&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); } && {
28585 test -z "$ac_c_werror_flag" ||
28586 test ! -s conftest.err
28587 } && test -s conftest.$ac_objext; then
28588 ac_cv_header_zlib_h=yes
28589 else
28590 echo "$as_me: failed program was:" >&5
28591 sed 's/^/| /' conftest.$ac_ext >&5
28592
28593 ac_cv_header_zlib_h=no
28594 fi
28595
28596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28597 fi
28598 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28599 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28600
28601
28602
28603 system_zlib_h_ok=$ac_cv_header_zlib_h
28604 fi
28605
28606 if test "$system_zlib_h_ok" = "yes"; then
28607 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28608 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28609 if test "${ac_cv_lib_z_deflate+set}" = set; then
28610 echo $ECHO_N "(cached) $ECHO_C" >&6
28611 else
28612 ac_check_lib_save_LIBS=$LIBS
28613 LIBS="-lz $LIBS"
28614 cat >conftest.$ac_ext <<_ACEOF
28615 /* confdefs.h. */
28616 _ACEOF
28617 cat confdefs.h >>conftest.$ac_ext
28618 cat >>conftest.$ac_ext <<_ACEOF
28619 /* end confdefs.h. */
28620
28621 /* Override any GCC internal prototype to avoid an error.
28622 Use char because int might match the return type of a GCC
28623 builtin and then its argument prototype would still apply. */
28624 #ifdef __cplusplus
28625 extern "C"
28626 #endif
28627 char deflate ();
28628 int
28629 main ()
28630 {
28631 return deflate ();
28632 ;
28633 return 0;
28634 }
28635 _ACEOF
28636 rm -f conftest.$ac_objext conftest$ac_exeext
28637 if { (ac_try="$ac_link"
28638 case "(($ac_try" in
28639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28640 *) ac_try_echo=$ac_try;;
28641 esac
28642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28643 (eval "$ac_link") 2>conftest.er1
28644 ac_status=$?
28645 grep -v '^ *+' conftest.er1 >conftest.err
28646 rm -f conftest.er1
28647 cat conftest.err >&5
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); } && {
28650 test -z "$ac_c_werror_flag" ||
28651 test ! -s conftest.err
28652 } && test -s conftest$ac_exeext &&
28653 $as_test_x conftest$ac_exeext; then
28654 ac_cv_lib_z_deflate=yes
28655 else
28656 echo "$as_me: failed program was:" >&5
28657 sed 's/^/| /' conftest.$ac_ext >&5
28658
28659 ac_cv_lib_z_deflate=no
28660 fi
28661
28662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28663 conftest$ac_exeext conftest.$ac_ext
28664 LIBS=$ac_check_lib_save_LIBS
28665 fi
28666 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28667 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28668 if test $ac_cv_lib_z_deflate = yes; then
28669 ZLIB_LINK=" -lz"
28670 fi
28671
28672 fi
28673
28674 if test "x$ZLIB_LINK" = "x" ; then
28675 if test "$wxUSE_ZLIB" = "sys" ; then
28676 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28677 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28678 { (exit 1); exit 1; }; }
28679 else
28680 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28681 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28682 wxUSE_ZLIB=builtin
28683 fi
28684 else
28685 wxUSE_ZLIB=sys
28686 fi
28687 fi
28688 fi
28689
28690
28691 PNG_LINK=
28692 if test "$wxUSE_LIBPNG" != "no" ; then
28693 cat >>confdefs.h <<\_ACEOF
28694 #define wxUSE_LIBPNG 1
28695 _ACEOF
28696
28697
28698 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28699 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28700 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28701 wxUSE_LIBPNG=sys
28702 fi
28703
28704 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28705 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28706 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28707 wxUSE_LIBPNG=builtin
28708 fi
28709
28710 if test "$wxUSE_MGL" != 1 ; then
28711 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28712 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28713 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28714 if test "${ac_cv_header_png_h+set}" = set; then
28715 echo $ECHO_N "(cached) $ECHO_C" >&6
28716 else
28717 if test "$cross_compiling" = yes; then
28718 unset ac_cv_header_png_h
28719
28720 else
28721 cat >conftest.$ac_ext <<_ACEOF
28722 /* confdefs.h. */
28723 _ACEOF
28724 cat confdefs.h >>conftest.$ac_ext
28725 cat >>conftest.$ac_ext <<_ACEOF
28726 /* end confdefs.h. */
28727
28728 #include <png.h>
28729 #include <stdio.h>
28730
28731 int main()
28732 {
28733 FILE *f=fopen("conftestval", "w");
28734 if (!f) exit(1);
28735 fprintf(f, "%s",
28736 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28737 exit(0);
28738 }
28739
28740 _ACEOF
28741 rm -f conftest$ac_exeext
28742 if { (ac_try="$ac_link"
28743 case "(($ac_try" in
28744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28745 *) ac_try_echo=$ac_try;;
28746 esac
28747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28748 (eval "$ac_link") 2>&5
28749 ac_status=$?
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28752 { (case "(($ac_try" in
28753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28754 *) ac_try_echo=$ac_try;;
28755 esac
28756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28757 (eval "$ac_try") 2>&5
28758 ac_status=$?
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 ac_cv_header_png_h=`cat conftestval`
28762 else
28763 echo "$as_me: program exited with status $ac_status" >&5
28764 echo "$as_me: failed program was:" >&5
28765 sed 's/^/| /' conftest.$ac_ext >&5
28766
28767 ( exit $ac_status )
28768 ac_cv_header_png_h=no
28769 fi
28770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28771 fi
28772
28773
28774
28775 fi
28776 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28777 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28778 { echo "$as_me:$LINENO: checking for png.h" >&5
28779 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28780 if test "${ac_cv_header_png_h+set}" = set; then
28781 echo $ECHO_N "(cached) $ECHO_C" >&6
28782 else
28783 cat >conftest.$ac_ext <<_ACEOF
28784 /* confdefs.h. */
28785 _ACEOF
28786 cat confdefs.h >>conftest.$ac_ext
28787 cat >>conftest.$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28789
28790
28791 #include <png.h>
28792 _ACEOF
28793 rm -f conftest.$ac_objext
28794 if { (ac_try="$ac_compile"
28795 case "(($ac_try" in
28796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28797 *) ac_try_echo=$ac_try;;
28798 esac
28799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28800 (eval "$ac_compile") 2>conftest.er1
28801 ac_status=$?
28802 grep -v '^ *+' conftest.er1 >conftest.err
28803 rm -f conftest.er1
28804 cat conftest.err >&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } && {
28807 test -z "$ac_c_werror_flag" ||
28808 test ! -s conftest.err
28809 } && test -s conftest.$ac_objext; then
28810 ac_cv_header_png_h=yes
28811 else
28812 echo "$as_me: failed program was:" >&5
28813 sed 's/^/| /' conftest.$ac_ext >&5
28814
28815 ac_cv_header_png_h=no
28816 fi
28817
28818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28819 fi
28820 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28821 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28822
28823
28824
28825 if test "$ac_cv_header_png_h" = "yes"; then
28826 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28827 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28828 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28830 else
28831 ac_check_lib_save_LIBS=$LIBS
28832 LIBS="-lpng -lz -lm $LIBS"
28833 cat >conftest.$ac_ext <<_ACEOF
28834 /* confdefs.h. */
28835 _ACEOF
28836 cat confdefs.h >>conftest.$ac_ext
28837 cat >>conftest.$ac_ext <<_ACEOF
28838 /* end confdefs.h. */
28839
28840 /* Override any GCC internal prototype to avoid an error.
28841 Use char because int might match the return type of a GCC
28842 builtin and then its argument prototype would still apply. */
28843 #ifdef __cplusplus
28844 extern "C"
28845 #endif
28846 char png_check_sig ();
28847 int
28848 main ()
28849 {
28850 return png_check_sig ();
28851 ;
28852 return 0;
28853 }
28854 _ACEOF
28855 rm -f conftest.$ac_objext conftest$ac_exeext
28856 if { (ac_try="$ac_link"
28857 case "(($ac_try" in
28858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28859 *) ac_try_echo=$ac_try;;
28860 esac
28861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28862 (eval "$ac_link") 2>conftest.er1
28863 ac_status=$?
28864 grep -v '^ *+' conftest.er1 >conftest.err
28865 rm -f conftest.er1
28866 cat conftest.err >&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); } && {
28869 test -z "$ac_c_werror_flag" ||
28870 test ! -s conftest.err
28871 } && test -s conftest$ac_exeext &&
28872 $as_test_x conftest$ac_exeext; then
28873 ac_cv_lib_png_png_check_sig=yes
28874 else
28875 echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28877
28878 ac_cv_lib_png_png_check_sig=no
28879 fi
28880
28881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28882 conftest$ac_exeext conftest.$ac_ext
28883 LIBS=$ac_check_lib_save_LIBS
28884 fi
28885 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28886 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28887 if test $ac_cv_lib_png_png_check_sig = yes; then
28888 PNG_LINK=" -lpng -lz"
28889 fi
28890
28891 fi
28892
28893 if test "x$PNG_LINK" = "x" ; then
28894 if test "$wxUSE_LIBPNG" = "sys" ; then
28895 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28896 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28897 { (exit 1); exit 1; }; }
28898 else
28899 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28900 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28901 wxUSE_LIBPNG=builtin
28902 fi
28903 else
28904 wxUSE_LIBPNG=sys
28905 fi
28906 fi
28907 fi
28908
28909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28910 fi
28911
28912
28913 JPEG_LINK=
28914 if test "$wxUSE_LIBJPEG" != "no" ; then
28915 cat >>confdefs.h <<\_ACEOF
28916 #define wxUSE_LIBJPEG 1
28917 _ACEOF
28918
28919
28920 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28921 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28922 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28923 wxUSE_LIBJPEG=sys
28924 fi
28925
28926 if test "$wxUSE_MGL" != 1 ; then
28927 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28928 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28929 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28930 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 else
28933 cat >conftest.$ac_ext <<_ACEOF
28934 /* confdefs.h. */
28935 _ACEOF
28936 cat confdefs.h >>conftest.$ac_ext
28937 cat >>conftest.$ac_ext <<_ACEOF
28938 /* end confdefs.h. */
28939
28940 #undef HAVE_STDLIB_H
28941 #include <stdio.h>
28942 #include <jpeglib.h>
28943
28944 int
28945 main ()
28946 {
28947
28948
28949 ;
28950 return 0;
28951 }
28952 _ACEOF
28953 rm -f conftest.$ac_objext
28954 if { (ac_try="$ac_compile"
28955 case "(($ac_try" in
28956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28957 *) ac_try_echo=$ac_try;;
28958 esac
28959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28960 (eval "$ac_compile") 2>conftest.er1
28961 ac_status=$?
28962 grep -v '^ *+' conftest.er1 >conftest.err
28963 rm -f conftest.er1
28964 cat conftest.err >&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); } && {
28967 test -z "$ac_c_werror_flag" ||
28968 test ! -s conftest.err
28969 } && test -s conftest.$ac_objext; then
28970 ac_cv_header_jpeglib_h=yes
28971 else
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28974
28975 ac_cv_header_jpeglib_h=no
28976
28977 fi
28978
28979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28980
28981 fi
28982
28983 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28984 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28985
28986 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28987 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28988 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28989 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28990 echo $ECHO_N "(cached) $ECHO_C" >&6
28991 else
28992 ac_check_lib_save_LIBS=$LIBS
28993 LIBS="-ljpeg $LIBS"
28994 cat >conftest.$ac_ext <<_ACEOF
28995 /* confdefs.h. */
28996 _ACEOF
28997 cat confdefs.h >>conftest.$ac_ext
28998 cat >>conftest.$ac_ext <<_ACEOF
28999 /* end confdefs.h. */
29000
29001 /* Override any GCC internal prototype to avoid an error.
29002 Use char because int might match the return type of a GCC
29003 builtin and then its argument prototype would still apply. */
29004 #ifdef __cplusplus
29005 extern "C"
29006 #endif
29007 char jpeg_read_header ();
29008 int
29009 main ()
29010 {
29011 return jpeg_read_header ();
29012 ;
29013 return 0;
29014 }
29015 _ACEOF
29016 rm -f conftest.$ac_objext conftest$ac_exeext
29017 if { (ac_try="$ac_link"
29018 case "(($ac_try" in
29019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29020 *) ac_try_echo=$ac_try;;
29021 esac
29022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29023 (eval "$ac_link") 2>conftest.er1
29024 ac_status=$?
29025 grep -v '^ *+' conftest.er1 >conftest.err
29026 rm -f conftest.er1
29027 cat conftest.err >&5
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); } && {
29030 test -z "$ac_c_werror_flag" ||
29031 test ! -s conftest.err
29032 } && test -s conftest$ac_exeext &&
29033 $as_test_x conftest$ac_exeext; then
29034 ac_cv_lib_jpeg_jpeg_read_header=yes
29035 else
29036 echo "$as_me: failed program was:" >&5
29037 sed 's/^/| /' conftest.$ac_ext >&5
29038
29039 ac_cv_lib_jpeg_jpeg_read_header=no
29040 fi
29041
29042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29043 conftest$ac_exeext conftest.$ac_ext
29044 LIBS=$ac_check_lib_save_LIBS
29045 fi
29046 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29047 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29048 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29049 JPEG_LINK=" -ljpeg"
29050 fi
29051
29052 fi
29053
29054 if test "x$JPEG_LINK" = "x" ; then
29055 if test "$wxUSE_LIBJPEG" = "sys" ; then
29056 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29057 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29058 { (exit 1); exit 1; }; }
29059 else
29060 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29061 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29062 wxUSE_LIBJPEG=builtin
29063 fi
29064 else
29065 wxUSE_LIBJPEG=sys
29066
29067 if test "$wxUSE_MSW" = 1; then
29068 { echo "$as_me:$LINENO: checking for boolean" >&5
29069 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29070 if test "${ac_cv_type_boolean+set}" = set; then
29071 echo $ECHO_N "(cached) $ECHO_C" >&6
29072 else
29073 cat >conftest.$ac_ext <<_ACEOF
29074 /* confdefs.h. */
29075 _ACEOF
29076 cat confdefs.h >>conftest.$ac_ext
29077 cat >>conftest.$ac_ext <<_ACEOF
29078 /* end confdefs.h. */
29079 #include <windows.h>
29080
29081 typedef boolean ac__type_new_;
29082 int
29083 main ()
29084 {
29085 if ((ac__type_new_ *) 0)
29086 return 0;
29087 if (sizeof (ac__type_new_))
29088 return 0;
29089 ;
29090 return 0;
29091 }
29092 _ACEOF
29093 rm -f conftest.$ac_objext
29094 if { (ac_try="$ac_compile"
29095 case "(($ac_try" in
29096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29097 *) ac_try_echo=$ac_try;;
29098 esac
29099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29100 (eval "$ac_compile") 2>conftest.er1
29101 ac_status=$?
29102 grep -v '^ *+' conftest.er1 >conftest.err
29103 rm -f conftest.er1
29104 cat conftest.err >&5
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); } && {
29107 test -z "$ac_c_werror_flag" ||
29108 test ! -s conftest.err
29109 } && test -s conftest.$ac_objext; then
29110 ac_cv_type_boolean=yes
29111 else
29112 echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.$ac_ext >&5
29114
29115 ac_cv_type_boolean=no
29116 fi
29117
29118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29119 fi
29120 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29121 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29122 if test $ac_cv_type_boolean = yes; then
29123
29124 cat >>confdefs.h <<_ACEOF
29125 #define HAVE_BOOLEAN 1
29126 _ACEOF
29127
29128
29129 { echo "$as_me:$LINENO: checking for boolean" >&5
29130 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29131 if test "${ac_cv_type_boolean+set}" = set; then
29132 echo $ECHO_N "(cached) $ECHO_C" >&6
29133 else
29134 cat >conftest.$ac_ext <<_ACEOF
29135 /* confdefs.h. */
29136 _ACEOF
29137 cat confdefs.h >>conftest.$ac_ext
29138 cat >>conftest.$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29140
29141 #undef HAVE_BOOLEAN
29142 #include <stdio.h>
29143 #include <jpeglib.h>
29144
29145
29146 typedef boolean ac__type_new_;
29147 int
29148 main ()
29149 {
29150 if ((ac__type_new_ *) 0)
29151 return 0;
29152 if (sizeof (ac__type_new_))
29153 return 0;
29154 ;
29155 return 0;
29156 }
29157 _ACEOF
29158 rm -f conftest.$ac_objext
29159 if { (ac_try="$ac_compile"
29160 case "(($ac_try" in
29161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29162 *) ac_try_echo=$ac_try;;
29163 esac
29164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29165 (eval "$ac_compile") 2>conftest.er1
29166 ac_status=$?
29167 grep -v '^ *+' conftest.er1 >conftest.err
29168 rm -f conftest.er1
29169 cat conftest.err >&5
29170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171 (exit $ac_status); } && {
29172 test -z "$ac_c_werror_flag" ||
29173 test ! -s conftest.err
29174 } && test -s conftest.$ac_objext; then
29175 ac_cv_type_boolean=yes
29176 else
29177 echo "$as_me: failed program was:" >&5
29178 sed 's/^/| /' conftest.$ac_ext >&5
29179
29180 ac_cv_type_boolean=no
29181 fi
29182
29183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29184 fi
29185 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29186 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29187
29188 # The cast to long int works around a bug in the HP C Compiler
29189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29191 # This bug is HP SR number 8606223364.
29192 { echo "$as_me:$LINENO: checking size of boolean" >&5
29193 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29194 if test "${ac_cv_sizeof_boolean+set}" = set; then
29195 echo $ECHO_N "(cached) $ECHO_C" >&6
29196 else
29197 if test "$cross_compiling" = yes; then
29198 # Depending upon the size, compute the lo and hi bounds.
29199 cat >conftest.$ac_ext <<_ACEOF
29200 /* confdefs.h. */
29201 _ACEOF
29202 cat confdefs.h >>conftest.$ac_ext
29203 cat >>conftest.$ac_ext <<_ACEOF
29204 /* end confdefs.h. */
29205
29206 #undef HAVE_BOOLEAN
29207 #include <stdio.h>
29208 #include <jpeglib.h>
29209
29210
29211 typedef boolean ac__type_sizeof_;
29212 int
29213 main ()
29214 {
29215 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29216 test_array [0] = 0
29217
29218 ;
29219 return 0;
29220 }
29221 _ACEOF
29222 rm -f conftest.$ac_objext
29223 if { (ac_try="$ac_compile"
29224 case "(($ac_try" in
29225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29226 *) ac_try_echo=$ac_try;;
29227 esac
29228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29229 (eval "$ac_compile") 2>conftest.er1
29230 ac_status=$?
29231 grep -v '^ *+' conftest.er1 >conftest.err
29232 rm -f conftest.er1
29233 cat conftest.err >&5
29234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235 (exit $ac_status); } && {
29236 test -z "$ac_c_werror_flag" ||
29237 test ! -s conftest.err
29238 } && test -s conftest.$ac_objext; then
29239 ac_lo=0 ac_mid=0
29240 while :; do
29241 cat >conftest.$ac_ext <<_ACEOF
29242 /* confdefs.h. */
29243 _ACEOF
29244 cat confdefs.h >>conftest.$ac_ext
29245 cat >>conftest.$ac_ext <<_ACEOF
29246 /* end confdefs.h. */
29247
29248 #undef HAVE_BOOLEAN
29249 #include <stdio.h>
29250 #include <jpeglib.h>
29251
29252
29253 typedef boolean ac__type_sizeof_;
29254 int
29255 main ()
29256 {
29257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29258 test_array [0] = 0
29259
29260 ;
29261 return 0;
29262 }
29263 _ACEOF
29264 rm -f conftest.$ac_objext
29265 if { (ac_try="$ac_compile"
29266 case "(($ac_try" in
29267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29268 *) ac_try_echo=$ac_try;;
29269 esac
29270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29271 (eval "$ac_compile") 2>conftest.er1
29272 ac_status=$?
29273 grep -v '^ *+' conftest.er1 >conftest.err
29274 rm -f conftest.er1
29275 cat conftest.err >&5
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); } && {
29278 test -z "$ac_c_werror_flag" ||
29279 test ! -s conftest.err
29280 } && test -s conftest.$ac_objext; then
29281 ac_hi=$ac_mid; break
29282 else
29283 echo "$as_me: failed program was:" >&5
29284 sed 's/^/| /' conftest.$ac_ext >&5
29285
29286 ac_lo=`expr $ac_mid + 1`
29287 if test $ac_lo -le $ac_mid; then
29288 ac_lo= ac_hi=
29289 break
29290 fi
29291 ac_mid=`expr 2 '*' $ac_mid + 1`
29292 fi
29293
29294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29295 done
29296 else
29297 echo "$as_me: failed program was:" >&5
29298 sed 's/^/| /' conftest.$ac_ext >&5
29299
29300 cat >conftest.$ac_ext <<_ACEOF
29301 /* confdefs.h. */
29302 _ACEOF
29303 cat confdefs.h >>conftest.$ac_ext
29304 cat >>conftest.$ac_ext <<_ACEOF
29305 /* end confdefs.h. */
29306
29307 #undef HAVE_BOOLEAN
29308 #include <stdio.h>
29309 #include <jpeglib.h>
29310
29311
29312 typedef boolean ac__type_sizeof_;
29313 int
29314 main ()
29315 {
29316 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29317 test_array [0] = 0
29318
29319 ;
29320 return 0;
29321 }
29322 _ACEOF
29323 rm -f conftest.$ac_objext
29324 if { (ac_try="$ac_compile"
29325 case "(($ac_try" in
29326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29327 *) ac_try_echo=$ac_try;;
29328 esac
29329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29330 (eval "$ac_compile") 2>conftest.er1
29331 ac_status=$?
29332 grep -v '^ *+' conftest.er1 >conftest.err
29333 rm -f conftest.er1
29334 cat conftest.err >&5
29335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29336 (exit $ac_status); } && {
29337 test -z "$ac_c_werror_flag" ||
29338 test ! -s conftest.err
29339 } && test -s conftest.$ac_objext; then
29340 ac_hi=-1 ac_mid=-1
29341 while :; do
29342 cat >conftest.$ac_ext <<_ACEOF
29343 /* confdefs.h. */
29344 _ACEOF
29345 cat confdefs.h >>conftest.$ac_ext
29346 cat >>conftest.$ac_ext <<_ACEOF
29347 /* end confdefs.h. */
29348
29349 #undef HAVE_BOOLEAN
29350 #include <stdio.h>
29351 #include <jpeglib.h>
29352
29353
29354 typedef boolean ac__type_sizeof_;
29355 int
29356 main ()
29357 {
29358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29359 test_array [0] = 0
29360
29361 ;
29362 return 0;
29363 }
29364 _ACEOF
29365 rm -f conftest.$ac_objext
29366 if { (ac_try="$ac_compile"
29367 case "(($ac_try" in
29368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29369 *) ac_try_echo=$ac_try;;
29370 esac
29371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29372 (eval "$ac_compile") 2>conftest.er1
29373 ac_status=$?
29374 grep -v '^ *+' conftest.er1 >conftest.err
29375 rm -f conftest.er1
29376 cat conftest.err >&5
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); } && {
29379 test -z "$ac_c_werror_flag" ||
29380 test ! -s conftest.err
29381 } && test -s conftest.$ac_objext; then
29382 ac_lo=$ac_mid; break
29383 else
29384 echo "$as_me: failed program was:" >&5
29385 sed 's/^/| /' conftest.$ac_ext >&5
29386
29387 ac_hi=`expr '(' $ac_mid ')' - 1`
29388 if test $ac_mid -le $ac_hi; then
29389 ac_lo= ac_hi=
29390 break
29391 fi
29392 ac_mid=`expr 2 '*' $ac_mid`
29393 fi
29394
29395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29396 done
29397 else
29398 echo "$as_me: failed program was:" >&5
29399 sed 's/^/| /' conftest.$ac_ext >&5
29400
29401 ac_lo= ac_hi=
29402 fi
29403
29404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29405 fi
29406
29407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29408 # Binary search between lo and hi bounds.
29409 while test "x$ac_lo" != "x$ac_hi"; do
29410 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29411 cat >conftest.$ac_ext <<_ACEOF
29412 /* confdefs.h. */
29413 _ACEOF
29414 cat confdefs.h >>conftest.$ac_ext
29415 cat >>conftest.$ac_ext <<_ACEOF
29416 /* end confdefs.h. */
29417
29418 #undef HAVE_BOOLEAN
29419 #include <stdio.h>
29420 #include <jpeglib.h>
29421
29422
29423 typedef boolean ac__type_sizeof_;
29424 int
29425 main ()
29426 {
29427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29428 test_array [0] = 0
29429
29430 ;
29431 return 0;
29432 }
29433 _ACEOF
29434 rm -f conftest.$ac_objext
29435 if { (ac_try="$ac_compile"
29436 case "(($ac_try" in
29437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29438 *) ac_try_echo=$ac_try;;
29439 esac
29440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29441 (eval "$ac_compile") 2>conftest.er1
29442 ac_status=$?
29443 grep -v '^ *+' conftest.er1 >conftest.err
29444 rm -f conftest.er1
29445 cat conftest.err >&5
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); } && {
29448 test -z "$ac_c_werror_flag" ||
29449 test ! -s conftest.err
29450 } && test -s conftest.$ac_objext; then
29451 ac_hi=$ac_mid
29452 else
29453 echo "$as_me: failed program was:" >&5
29454 sed 's/^/| /' conftest.$ac_ext >&5
29455
29456 ac_lo=`expr '(' $ac_mid ')' + 1`
29457 fi
29458
29459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29460 done
29461 case $ac_lo in
29462 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29463 '') if test "$ac_cv_type_boolean" = yes; then
29464 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29465 See \`config.log' for more details." >&5
29466 echo "$as_me: error: cannot compute sizeof (boolean)
29467 See \`config.log' for more details." >&2;}
29468 { (exit 77); exit 77; }; }
29469 else
29470 ac_cv_sizeof_boolean=0
29471 fi ;;
29472 esac
29473 else
29474 cat >conftest.$ac_ext <<_ACEOF
29475 /* confdefs.h. */
29476 _ACEOF
29477 cat confdefs.h >>conftest.$ac_ext
29478 cat >>conftest.$ac_ext <<_ACEOF
29479 /* end confdefs.h. */
29480
29481 #undef HAVE_BOOLEAN
29482 #include <stdio.h>
29483 #include <jpeglib.h>
29484
29485
29486 typedef boolean ac__type_sizeof_;
29487 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29488 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29489 #include <stdio.h>
29490 #include <stdlib.h>
29491 int
29492 main ()
29493 {
29494
29495 FILE *f = fopen ("conftest.val", "w");
29496 if (! f)
29497 return 1;
29498 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29499 {
29500 long int i = longval ();
29501 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29502 return 1;
29503 fprintf (f, "%ld\n", i);
29504 }
29505 else
29506 {
29507 unsigned long int i = ulongval ();
29508 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29509 return 1;
29510 fprintf (f, "%lu\n", i);
29511 }
29512 return ferror (f) || fclose (f) != 0;
29513
29514 ;
29515 return 0;
29516 }
29517 _ACEOF
29518 rm -f conftest$ac_exeext
29519 if { (ac_try="$ac_link"
29520 case "(($ac_try" in
29521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29522 *) ac_try_echo=$ac_try;;
29523 esac
29524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29525 (eval "$ac_link") 2>&5
29526 ac_status=$?
29527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29529 { (case "(($ac_try" in
29530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29531 *) ac_try_echo=$ac_try;;
29532 esac
29533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29534 (eval "$ac_try") 2>&5
29535 ac_status=$?
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); }; }; then
29538 ac_cv_sizeof_boolean=`cat conftest.val`
29539 else
29540 echo "$as_me: program exited with status $ac_status" >&5
29541 echo "$as_me: failed program was:" >&5
29542 sed 's/^/| /' conftest.$ac_ext >&5
29543
29544 ( exit $ac_status )
29545 if test "$ac_cv_type_boolean" = yes; then
29546 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29547 See \`config.log' for more details." >&5
29548 echo "$as_me: error: cannot compute sizeof (boolean)
29549 See \`config.log' for more details." >&2;}
29550 { (exit 77); exit 77; }; }
29551 else
29552 ac_cv_sizeof_boolean=0
29553 fi
29554 fi
29555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29556 fi
29557 rm -f conftest.val
29558 fi
29559 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29560 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29561
29562
29563
29564 cat >>confdefs.h <<_ACEOF
29565 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29566 _ACEOF
29567
29568
29569 cat >>confdefs.h <<_ACEOF
29570 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29571 _ACEOF
29572
29573
29574 fi
29575
29576 fi
29577 fi
29578 fi
29579 fi
29580 fi
29581
29582
29583 TIFF_LINK=
29584 TIFF_PREREQ_LINKS=-lm
29585 if test "$wxUSE_LIBTIFF" != "no" ; then
29586 cat >>confdefs.h <<\_ACEOF
29587 #define wxUSE_LIBTIFF 1
29588 _ACEOF
29589
29590
29591 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29592 if test "$wxUSE_LIBJPEG" = "sys"; then
29593 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29594 fi
29595 if test "$wxUSE_ZLIB" = "sys"; then
29596 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29597 fi
29598 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29599 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29600 if test "${ac_cv_header_tiffio_h+set}" = set; then
29601 echo $ECHO_N "(cached) $ECHO_C" >&6
29602 else
29603 cat >conftest.$ac_ext <<_ACEOF
29604 /* confdefs.h. */
29605 _ACEOF
29606 cat confdefs.h >>conftest.$ac_ext
29607 cat >>conftest.$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29609
29610
29611
29612 #include <tiffio.h>
29613 _ACEOF
29614 rm -f conftest.$ac_objext
29615 if { (ac_try="$ac_compile"
29616 case "(($ac_try" in
29617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29618 *) ac_try_echo=$ac_try;;
29619 esac
29620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29621 (eval "$ac_compile") 2>conftest.er1
29622 ac_status=$?
29623 grep -v '^ *+' conftest.er1 >conftest.err
29624 rm -f conftest.er1
29625 cat conftest.err >&5
29626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29627 (exit $ac_status); } && {
29628 test -z "$ac_c_werror_flag" ||
29629 test ! -s conftest.err
29630 } && test -s conftest.$ac_objext; then
29631 ac_cv_header_tiffio_h=yes
29632 else
29633 echo "$as_me: failed program was:" >&5
29634 sed 's/^/| /' conftest.$ac_ext >&5
29635
29636 ac_cv_header_tiffio_h=no
29637 fi
29638
29639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29640 fi
29641 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29642 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29643 if test $ac_cv_header_tiffio_h = yes; then
29644
29645 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29646 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29647 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29648 echo $ECHO_N "(cached) $ECHO_C" >&6
29649 else
29650 ac_check_lib_save_LIBS=$LIBS
29651 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29652 cat >conftest.$ac_ext <<_ACEOF
29653 /* confdefs.h. */
29654 _ACEOF
29655 cat confdefs.h >>conftest.$ac_ext
29656 cat >>conftest.$ac_ext <<_ACEOF
29657 /* end confdefs.h. */
29658
29659 /* Override any GCC internal prototype to avoid an error.
29660 Use char because int might match the return type of a GCC
29661 builtin and then its argument prototype would still apply. */
29662 #ifdef __cplusplus
29663 extern "C"
29664 #endif
29665 char TIFFError ();
29666 int
29667 main ()
29668 {
29669 return TIFFError ();
29670 ;
29671 return 0;
29672 }
29673 _ACEOF
29674 rm -f conftest.$ac_objext conftest$ac_exeext
29675 if { (ac_try="$ac_link"
29676 case "(($ac_try" in
29677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29678 *) ac_try_echo=$ac_try;;
29679 esac
29680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29681 (eval "$ac_link") 2>conftest.er1
29682 ac_status=$?
29683 grep -v '^ *+' conftest.er1 >conftest.err
29684 rm -f conftest.er1
29685 cat conftest.err >&5
29686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29687 (exit $ac_status); } && {
29688 test -z "$ac_c_werror_flag" ||
29689 test ! -s conftest.err
29690 } && test -s conftest$ac_exeext &&
29691 $as_test_x conftest$ac_exeext; then
29692 ac_cv_lib_tiff_TIFFError=yes
29693 else
29694 echo "$as_me: failed program was:" >&5
29695 sed 's/^/| /' conftest.$ac_ext >&5
29696
29697 ac_cv_lib_tiff_TIFFError=no
29698 fi
29699
29700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29701 conftest$ac_exeext conftest.$ac_ext
29702 LIBS=$ac_check_lib_save_LIBS
29703 fi
29704 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29705 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29706 if test $ac_cv_lib_tiff_TIFFError = yes; then
29707 TIFF_LINK=" -ltiff"
29708 fi
29709
29710
29711 fi
29712
29713
29714
29715 if test "x$TIFF_LINK" = "x" ; then
29716 if test "$wxUSE_LIBTIFF" = "sys" ; then
29717 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29718 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29719 { (exit 1); exit 1; }; }
29720 else
29721 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29722 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29723 wxUSE_LIBTIFF=builtin
29724 fi
29725 else
29726 wxUSE_LIBTIFF=sys
29727 fi
29728 fi
29729 fi
29730
29731
29732 if test "$wxUSE_WCHAR_T" != "yes"; then
29733 if test "$wxUSE_EXPAT" != "no"; then
29734 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29735 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29736 wxUSE_EXPAT=no
29737 fi
29738 if test "$wxUSE_XML" != "no"; then
29739 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29740 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29741 wxUSE_XML=no
29742 fi
29743 fi
29744
29745 if test "$wxUSE_EXPAT" != "no"; then
29746 wxUSE_XML=yes
29747 cat >>confdefs.h <<\_ACEOF
29748 #define wxUSE_EXPAT 1
29749 _ACEOF
29750
29751 cat >>confdefs.h <<\_ACEOF
29752 #define wxUSE_XML 1
29753 _ACEOF
29754
29755
29756 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29757 { echo "$as_me:$LINENO: checking for expat.h" >&5
29758 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29759 if test "${ac_cv_header_expat_h+set}" = set; then
29760 echo $ECHO_N "(cached) $ECHO_C" >&6
29761 else
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
29770 #include <expat.h>
29771 _ACEOF
29772 rm -f conftest.$ac_objext
29773 if { (ac_try="$ac_compile"
29774 case "(($ac_try" in
29775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29776 *) ac_try_echo=$ac_try;;
29777 esac
29778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29779 (eval "$ac_compile") 2>conftest.er1
29780 ac_status=$?
29781 grep -v '^ *+' conftest.er1 >conftest.err
29782 rm -f conftest.er1
29783 cat conftest.err >&5
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); } && {
29786 test -z "$ac_c_werror_flag" ||
29787 test ! -s conftest.err
29788 } && test -s conftest.$ac_objext; then
29789 ac_cv_header_expat_h=yes
29790 else
29791 echo "$as_me: failed program was:" >&5
29792 sed 's/^/| /' conftest.$ac_ext >&5
29793
29794 ac_cv_header_expat_h=no
29795 fi
29796
29797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29798 fi
29799 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29800 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29801 if test $ac_cv_header_expat_h = yes; then
29802 found_expat_h=1
29803 fi
29804
29805
29806 if test "x$found_expat_h" = "x1"; then
29807 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29808 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29809 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29810 echo $ECHO_N "(cached) $ECHO_C" >&6
29811 else
29812
29813 ac_ext=cpp
29814 ac_cpp='$CXXCPP $CPPFLAGS'
29815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29818
29819 cat >conftest.$ac_ext <<_ACEOF
29820 /* confdefs.h. */
29821 _ACEOF
29822 cat confdefs.h >>conftest.$ac_ext
29823 cat >>conftest.$ac_ext <<_ACEOF
29824 /* end confdefs.h. */
29825 #include <expat.h>
29826 int
29827 main ()
29828 {
29829
29830 ;
29831 return 0;
29832 }
29833 _ACEOF
29834 rm -f conftest.$ac_objext
29835 if { (ac_try="$ac_compile"
29836 case "(($ac_try" in
29837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29838 *) ac_try_echo=$ac_try;;
29839 esac
29840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29841 (eval "$ac_compile") 2>conftest.er1
29842 ac_status=$?
29843 grep -v '^ *+' conftest.er1 >conftest.err
29844 rm -f conftest.er1
29845 cat conftest.err >&5
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); } && {
29848 test -z "$ac_cxx_werror_flag" ||
29849 test ! -s conftest.err
29850 } && test -s conftest.$ac_objext; then
29851 wx_cv_expat_is_not_broken=yes
29852 else
29853 echo "$as_me: failed program was:" >&5
29854 sed 's/^/| /' conftest.$ac_ext >&5
29855
29856 wx_cv_expat_is_not_broken=no
29857
29858 fi
29859
29860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29861 ac_ext=c
29862 ac_cpp='$CPP $CPPFLAGS'
29863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29866
29867
29868
29869 fi
29870 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29871 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29872 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29873 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29874 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29875 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29876 echo $ECHO_N "(cached) $ECHO_C" >&6
29877 else
29878 ac_check_lib_save_LIBS=$LIBS
29879 LIBS="-lexpat $LIBS"
29880 cat >conftest.$ac_ext <<_ACEOF
29881 /* confdefs.h. */
29882 _ACEOF
29883 cat confdefs.h >>conftest.$ac_ext
29884 cat >>conftest.$ac_ext <<_ACEOF
29885 /* end confdefs.h. */
29886
29887 /* Override any GCC internal prototype to avoid an error.
29888 Use char because int might match the return type of a GCC
29889 builtin and then its argument prototype would still apply. */
29890 #ifdef __cplusplus
29891 extern "C"
29892 #endif
29893 char XML_ParserCreate ();
29894 int
29895 main ()
29896 {
29897 return XML_ParserCreate ();
29898 ;
29899 return 0;
29900 }
29901 _ACEOF
29902 rm -f conftest.$ac_objext conftest$ac_exeext
29903 if { (ac_try="$ac_link"
29904 case "(($ac_try" in
29905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29906 *) ac_try_echo=$ac_try;;
29907 esac
29908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29909 (eval "$ac_link") 2>conftest.er1
29910 ac_status=$?
29911 grep -v '^ *+' conftest.er1 >conftest.err
29912 rm -f conftest.er1
29913 cat conftest.err >&5
29914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29915 (exit $ac_status); } && {
29916 test -z "$ac_c_werror_flag" ||
29917 test ! -s conftest.err
29918 } && test -s conftest$ac_exeext &&
29919 $as_test_x conftest$ac_exeext; then
29920 ac_cv_lib_expat_XML_ParserCreate=yes
29921 else
29922 echo "$as_me: failed program was:" >&5
29923 sed 's/^/| /' conftest.$ac_ext >&5
29924
29925 ac_cv_lib_expat_XML_ParserCreate=no
29926 fi
29927
29928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29929 conftest$ac_exeext conftest.$ac_ext
29930 LIBS=$ac_check_lib_save_LIBS
29931 fi
29932 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29933 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29934 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29935 EXPAT_LINK=" -lexpat"
29936 fi
29937
29938 fi
29939 fi
29940 if test "x$EXPAT_LINK" = "x" ; then
29941 if test "$wxUSE_EXPAT" = "sys" ; then
29942 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29943 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29944 { (exit 1); exit 1; }; }
29945 else
29946 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29947 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29948 wxUSE_EXPAT=builtin
29949 fi
29950 else
29951 wxUSE_EXPAT=sys
29952 fi
29953 fi
29954 if test "$wxUSE_EXPAT" = "builtin" ; then
29955 subdirs="$subdirs src/expat"
29956
29957 fi
29958 fi
29959
29960
29961
29962 if test "$wxUSE_LIBMSPACK" != "no"; then
29963 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29964 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29965 if test "${ac_cv_header_mspack_h+set}" = set; then
29966 echo $ECHO_N "(cached) $ECHO_C" >&6
29967 else
29968 cat >conftest.$ac_ext <<_ACEOF
29969 /* confdefs.h. */
29970 _ACEOF
29971 cat confdefs.h >>conftest.$ac_ext
29972 cat >>conftest.$ac_ext <<_ACEOF
29973 /* end confdefs.h. */
29974
29975
29976 #include <mspack.h>
29977 _ACEOF
29978 rm -f conftest.$ac_objext
29979 if { (ac_try="$ac_compile"
29980 case "(($ac_try" in
29981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29982 *) ac_try_echo=$ac_try;;
29983 esac
29984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29985 (eval "$ac_compile") 2>conftest.er1
29986 ac_status=$?
29987 grep -v '^ *+' conftest.er1 >conftest.err
29988 rm -f conftest.er1
29989 cat conftest.err >&5
29990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29991 (exit $ac_status); } && {
29992 test -z "$ac_c_werror_flag" ||
29993 test ! -s conftest.err
29994 } && test -s conftest.$ac_objext; then
29995 ac_cv_header_mspack_h=yes
29996 else
29997 echo "$as_me: failed program was:" >&5
29998 sed 's/^/| /' conftest.$ac_ext >&5
29999
30000 ac_cv_header_mspack_h=no
30001 fi
30002
30003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30004 fi
30005 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30006 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30007 if test $ac_cv_header_mspack_h = yes; then
30008 found_mspack_h=1
30009 fi
30010
30011
30012 if test "x$found_mspack_h" = "x1"; then
30013 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30014 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30015 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30016 echo $ECHO_N "(cached) $ECHO_C" >&6
30017 else
30018 ac_check_lib_save_LIBS=$LIBS
30019 LIBS="-lmspack $LIBS"
30020 cat >conftest.$ac_ext <<_ACEOF
30021 /* confdefs.h. */
30022 _ACEOF
30023 cat confdefs.h >>conftest.$ac_ext
30024 cat >>conftest.$ac_ext <<_ACEOF
30025 /* end confdefs.h. */
30026
30027 /* Override any GCC internal prototype to avoid an error.
30028 Use char because int might match the return type of a GCC
30029 builtin and then its argument prototype would still apply. */
30030 #ifdef __cplusplus
30031 extern "C"
30032 #endif
30033 char mspack_create_chm_decompressor ();
30034 int
30035 main ()
30036 {
30037 return mspack_create_chm_decompressor ();
30038 ;
30039 return 0;
30040 }
30041 _ACEOF
30042 rm -f conftest.$ac_objext conftest$ac_exeext
30043 if { (ac_try="$ac_link"
30044 case "(($ac_try" in
30045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30046 *) ac_try_echo=$ac_try;;
30047 esac
30048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30049 (eval "$ac_link") 2>conftest.er1
30050 ac_status=$?
30051 grep -v '^ *+' conftest.er1 >conftest.err
30052 rm -f conftest.er1
30053 cat conftest.err >&5
30054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30055 (exit $ac_status); } && {
30056 test -z "$ac_c_werror_flag" ||
30057 test ! -s conftest.err
30058 } && test -s conftest$ac_exeext &&
30059 $as_test_x conftest$ac_exeext; then
30060 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30061 else
30062 echo "$as_me: failed program was:" >&5
30063 sed 's/^/| /' conftest.$ac_ext >&5
30064
30065 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30066 fi
30067
30068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30069 conftest$ac_exeext conftest.$ac_ext
30070 LIBS=$ac_check_lib_save_LIBS
30071 fi
30072 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30073 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30074 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30075 MSPACK_LINK=" -lmspack"
30076 fi
30077
30078 fi
30079 if test "x$MSPACK_LINK" = "x" ; then
30080 wxUSE_LIBMSPACK=no
30081 fi
30082 fi
30083
30084 if test "$wxUSE_LIBMSPACK" != "no"; then
30085 cat >>confdefs.h <<\_ACEOF
30086 #define wxUSE_LIBMSPACK 1
30087 _ACEOF
30088
30089 fi
30090
30091
30092
30093 AFMINSTALL=
30094 WIN32INSTALL=
30095
30096 TOOLKIT=
30097 TOOLKIT_INCLUDE=
30098 WIDGET_SET=
30099
30100 if test "$USE_WIN32" = 1 ; then
30101
30102 for ac_header in w32api.h
30103 do
30104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30108 echo $ECHO_N "(cached) $ECHO_C" >&6
30109 else
30110 cat >conftest.$ac_ext <<_ACEOF
30111 /* confdefs.h. */
30112 _ACEOF
30113 cat confdefs.h >>conftest.$ac_ext
30114 cat >>conftest.$ac_ext <<_ACEOF
30115 /* end confdefs.h. */
30116
30117
30118 #include <$ac_header>
30119 _ACEOF
30120 rm -f conftest.$ac_objext
30121 if { (ac_try="$ac_compile"
30122 case "(($ac_try" in
30123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30124 *) ac_try_echo=$ac_try;;
30125 esac
30126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30127 (eval "$ac_compile") 2>conftest.er1
30128 ac_status=$?
30129 grep -v '^ *+' conftest.er1 >conftest.err
30130 rm -f conftest.er1
30131 cat conftest.err >&5
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); } && {
30134 test -z "$ac_c_werror_flag" ||
30135 test ! -s conftest.err
30136 } && test -s conftest.$ac_objext; then
30137 eval "$as_ac_Header=yes"
30138 else
30139 echo "$as_me: failed program was:" >&5
30140 sed 's/^/| /' conftest.$ac_ext >&5
30141
30142 eval "$as_ac_Header=no"
30143 fi
30144
30145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30146 fi
30147 ac_res=`eval echo '${'$as_ac_Header'}'`
30148 { echo "$as_me:$LINENO: result: $ac_res" >&5
30149 echo "${ECHO_T}$ac_res" >&6; }
30150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30151 cat >>confdefs.h <<_ACEOF
30152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30153 _ACEOF
30154
30155 fi
30156
30157 done
30158
30159 { echo "$as_me:$LINENO: checking for windows.h" >&5
30160 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30161 if test "${ac_cv_header_windows_h+set}" = set; then
30162 echo $ECHO_N "(cached) $ECHO_C" >&6
30163 else
30164 cat >conftest.$ac_ext <<_ACEOF
30165 /* confdefs.h. */
30166 _ACEOF
30167 cat confdefs.h >>conftest.$ac_ext
30168 cat >>conftest.$ac_ext <<_ACEOF
30169 /* end confdefs.h. */
30170
30171
30172 #include <windows.h>
30173 _ACEOF
30174 rm -f conftest.$ac_objext
30175 if { (ac_try="$ac_compile"
30176 case "(($ac_try" in
30177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30178 *) ac_try_echo=$ac_try;;
30179 esac
30180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30181 (eval "$ac_compile") 2>conftest.er1
30182 ac_status=$?
30183 grep -v '^ *+' conftest.er1 >conftest.err
30184 rm -f conftest.er1
30185 cat conftest.err >&5
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); } && {
30188 test -z "$ac_c_werror_flag" ||
30189 test ! -s conftest.err
30190 } && test -s conftest.$ac_objext; then
30191 ac_cv_header_windows_h=yes
30192 else
30193 echo "$as_me: failed program was:" >&5
30194 sed 's/^/| /' conftest.$ac_ext >&5
30195
30196 ac_cv_header_windows_h=no
30197 fi
30198
30199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30200 fi
30201 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30202 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30203 if test $ac_cv_header_windows_h = yes; then
30204 :
30205 else
30206
30207 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30208 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30209 { (exit 1); exit 1; }; }
30210
30211 fi
30212
30213
30214
30215 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30216
30217 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30218 LIBS="$LIBS -loleacc"
30219 fi
30220
30221 case "${host}" in
30222 *-*-cygwin* )
30223 LIBS="$LIBS -lkernel32 -luser32"
30224 esac
30225
30226 if test "$wxUSE_ODBC" = "sys" ; then
30227 wxUSE_ODBC = "yes"
30228 fi
30229 if test "$wxUSE_ODBC" = "yes" ; then
30230 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30231 cat >>confdefs.h <<\_ACEOF
30232 #define wxUSE_ODBC 1
30233 _ACEOF
30234
30235 fi
30236
30237 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30238 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30239
30240 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30241
30242 WIN32INSTALL=win32install
30243
30244 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30245 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30246 if test "${ac_cv_header_pbt_h+set}" = set; then
30247 echo $ECHO_N "(cached) $ECHO_C" >&6
30248 else
30249 cat >conftest.$ac_ext <<_ACEOF
30250 /* confdefs.h. */
30251 _ACEOF
30252 cat confdefs.h >>conftest.$ac_ext
30253 cat >>conftest.$ac_ext <<_ACEOF
30254 /* end confdefs.h. */
30255
30256
30257 #include <pbt.h>
30258 _ACEOF
30259 rm -f conftest.$ac_objext
30260 if { (ac_try="$ac_compile"
30261 case "(($ac_try" in
30262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30263 *) ac_try_echo=$ac_try;;
30264 esac
30265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30266 (eval "$ac_compile") 2>conftest.er1
30267 ac_status=$?
30268 grep -v '^ *+' conftest.er1 >conftest.err
30269 rm -f conftest.er1
30270 cat conftest.err >&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); } && {
30273 test -z "$ac_c_werror_flag" ||
30274 test ! -s conftest.err
30275 } && test -s conftest.$ac_objext; then
30276 ac_cv_header_pbt_h=yes
30277 else
30278 echo "$as_me: failed program was:" >&5
30279 sed 's/^/| /' conftest.$ac_ext >&5
30280
30281 ac_cv_header_pbt_h=no
30282 fi
30283
30284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30285 fi
30286 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30287 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30288 if test $ac_cv_header_pbt_h = yes; then
30289 :
30290 else
30291 cat >>confdefs.h <<\_ACEOF
30292 #define NEED_PBT_H 1
30293 _ACEOF
30294
30295 fi
30296
30297
30298 fi
30299
30300 if test "$wxUSE_GUI" = "yes"; then
30301 USE_GUI=1
30302
30303 GUI_TK_LIBRARY=
30304
30305 WXGTK12=
30306 WXGTK127=
30307 WXGTK20=
30308 WXGPE=
30309
30310 if test "$wxUSE_COCOA" = 1 ; then
30311 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30312 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30313 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30314 wxUSE_PRINTING_ARCHITECTURE=no
30315 fi
30316 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30317 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30318 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30319 wxUSE_DRAG_AND_DROP=no
30320 fi
30321 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30322 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30323 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30324 wxUSE_DRAGIMAGE=no
30325 fi
30326 fi
30327
30328 if test "$wxUSE_MSW" = 1 ; then
30329 TOOLKIT=MSW
30330 GUIDIST=MSW_DIST
30331
30332 case "${host}" in
30333 *-*-mingw32* )
30334 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30335 esac
30336 fi
30337
30338 if test "$wxUSE_GTK" = 1; then
30339 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30340 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30341
30342 gtk_version_cached=1
30343 if test "${wx_cv_lib_gtk+set}" = set; then
30344 echo $ECHO_N "(cached) $ECHO_C" >&6
30345 else
30346
30347 gtk_version_cached=0
30348 { echo "$as_me:$LINENO: result: " >&5
30349 echo "${ECHO_T}" >&6; }
30350
30351 GTK_MODULES=
30352 if test "$wxUSE_THREADS" = "yes"; then
30353 GTK_MODULES=gthread
30354 fi
30355
30356 wx_cv_lib_gtk=
30357 if test "x$wxGTK_VERSION" != "x1"
30358 then
30359 case "${host}" in
30360 *-*-solaris2* )
30361 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30362 enable_gtktest=no
30363 fi
30364 esac
30365
30366 # Check whether --enable-gtktest was given.
30367 if test "${enable_gtktest+set}" = set; then
30368 enableval=$enable_gtktest;
30369 else
30370 enable_gtktest=yes
30371 fi
30372
30373
30374 pkg_config_args=gtk+-2.0
30375 for module in . $GTK_MODULES
30376 do
30377 case "$module" in
30378 gthread)
30379 pkg_config_args="$pkg_config_args gthread-2.0"
30380 ;;
30381 esac
30382 done
30383
30384 no_gtk=""
30385
30386 # Extract the first word of "pkg-config", so it can be a program name with args.
30387 set dummy pkg-config; ac_word=$2
30388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30390 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30391 echo $ECHO_N "(cached) $ECHO_C" >&6
30392 else
30393 case $PKG_CONFIG in
30394 [\\/]* | ?:[\\/]*)
30395 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30396 ;;
30397 *)
30398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30399 for as_dir in $PATH
30400 do
30401 IFS=$as_save_IFS
30402 test -z "$as_dir" && as_dir=.
30403 for ac_exec_ext in '' $ac_executable_extensions; do
30404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30405 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30407 break 2
30408 fi
30409 done
30410 done
30411 IFS=$as_save_IFS
30412
30413 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30414 ;;
30415 esac
30416 fi
30417 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30418 if test -n "$PKG_CONFIG"; then
30419 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30420 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30421 else
30422 { echo "$as_me:$LINENO: result: no" >&5
30423 echo "${ECHO_T}no" >&6; }
30424 fi
30425
30426
30427
30428 if test x$PKG_CONFIG != xno ; then
30429 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30430 :
30431 else
30432 echo "*** pkg-config too old; version 0.7 or better required."
30433 no_gtk=yes
30434 PKG_CONFIG=no
30435 fi
30436 else
30437 no_gtk=yes
30438 fi
30439
30440 min_gtk_version=2.0.0
30441 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30442 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30443
30444 if test x$PKG_CONFIG != xno ; then
30445 ## don't try to run the test against uninstalled libtool libs
30446 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30447 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30448 enable_gtktest=no
30449 fi
30450
30451 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30452 :
30453 else
30454 no_gtk=yes
30455 fi
30456 fi
30457
30458 if test x"$no_gtk" = x ; then
30459 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30460 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30461 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30463 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30464 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30465 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30466 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30467 if test "x$enable_gtktest" = "xyes" ; then
30468 ac_save_CFLAGS="$CFLAGS"
30469 ac_save_LIBS="$LIBS"
30470 CFLAGS="$CFLAGS $GTK_CFLAGS"
30471 LIBS="$GTK_LIBS $LIBS"
30472 rm -f conf.gtktest
30473 if test "$cross_compiling" = yes; then
30474 echo $ac_n "cross compiling; assumed OK... $ac_c"
30475 else
30476 cat >conftest.$ac_ext <<_ACEOF
30477 /* confdefs.h. */
30478 _ACEOF
30479 cat confdefs.h >>conftest.$ac_ext
30480 cat >>conftest.$ac_ext <<_ACEOF
30481 /* end confdefs.h. */
30482
30483 #include <gtk/gtk.h>
30484 #include <stdio.h>
30485 #include <stdlib.h>
30486
30487 int
30488 main ()
30489 {
30490 int major, minor, micro;
30491 char *tmp_version;
30492
30493 system ("touch conf.gtktest");
30494
30495 /* HP/UX 9 (%@#!) writes to sscanf strings */
30496 tmp_version = g_strdup("$min_gtk_version");
30497 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30498 printf("%s, bad version string\n", "$min_gtk_version");
30499 exit(1);
30500 }
30501
30502 if ((gtk_major_version != $gtk_config_major_version) ||
30503 (gtk_minor_version != $gtk_config_minor_version) ||
30504 (gtk_micro_version != $gtk_config_micro_version))
30505 {
30506 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30507 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30508 gtk_major_version, gtk_minor_version, gtk_micro_version);
30509 printf ("*** was found! If pkg-config was correct, then it is best\n");
30510 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30511 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30512 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30513 printf("*** required on your system.\n");
30514 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30515 printf("*** to point to the correct configuration files\n");
30516 }
30517 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30518 (gtk_minor_version != GTK_MINOR_VERSION) ||
30519 (gtk_micro_version != GTK_MICRO_VERSION))
30520 {
30521 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30522 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30523 printf("*** library (version %d.%d.%d)\n",
30524 gtk_major_version, gtk_minor_version, gtk_micro_version);
30525 }
30526 else
30527 {
30528 if ((gtk_major_version > major) ||
30529 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30530 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30531 {
30532 return 0;
30533 }
30534 else
30535 {
30536 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30537 gtk_major_version, gtk_minor_version, gtk_micro_version);
30538 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30539 major, minor, micro);
30540 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30541 printf("***\n");
30542 printf("*** If you have already installed a sufficiently new version, this error\n");
30543 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30544 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30545 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30546 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30547 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30548 printf("*** so that the correct libraries are found at run-time))\n");
30549 }
30550 }
30551 return 1;
30552 }
30553
30554 _ACEOF
30555 rm -f conftest$ac_exeext
30556 if { (ac_try="$ac_link"
30557 case "(($ac_try" in
30558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30559 *) ac_try_echo=$ac_try;;
30560 esac
30561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30562 (eval "$ac_link") 2>&5
30563 ac_status=$?
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30566 { (case "(($ac_try" in
30567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30568 *) ac_try_echo=$ac_try;;
30569 esac
30570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30571 (eval "$ac_try") 2>&5
30572 ac_status=$?
30573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30574 (exit $ac_status); }; }; then
30575 :
30576 else
30577 echo "$as_me: program exited with status $ac_status" >&5
30578 echo "$as_me: failed program was:" >&5
30579 sed 's/^/| /' conftest.$ac_ext >&5
30580
30581 ( exit $ac_status )
30582 no_gtk=yes
30583 fi
30584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30585 fi
30586
30587
30588 CFLAGS="$ac_save_CFLAGS"
30589 LIBS="$ac_save_LIBS"
30590 fi
30591 fi
30592 if test "x$no_gtk" = x ; then
30593 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30594 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30595 wx_cv_lib_gtk=2.0
30596 else
30597 { echo "$as_me:$LINENO: result: no" >&5
30598 echo "${ECHO_T}no" >&6; }
30599 if test "$PKG_CONFIG" = "no" ; then
30600 echo "*** A new enough version of pkg-config was not found."
30601 echo "*** See http://pkgconfig.sourceforge.net"
30602 else
30603 if test -f conf.gtktest ; then
30604 :
30605 else
30606 echo "*** Could not run GTK+ test program, checking why..."
30607 ac_save_CFLAGS="$CFLAGS"
30608 ac_save_LIBS="$LIBS"
30609 CFLAGS="$CFLAGS $GTK_CFLAGS"
30610 LIBS="$LIBS $GTK_LIBS"
30611 cat >conftest.$ac_ext <<_ACEOF
30612 /* confdefs.h. */
30613 _ACEOF
30614 cat confdefs.h >>conftest.$ac_ext
30615 cat >>conftest.$ac_ext <<_ACEOF
30616 /* end confdefs.h. */
30617
30618 #include <gtk/gtk.h>
30619 #include <stdio.h>
30620
30621 int
30622 main ()
30623 {
30624 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30625 ;
30626 return 0;
30627 }
30628 _ACEOF
30629 rm -f conftest.$ac_objext conftest$ac_exeext
30630 if { (ac_try="$ac_link"
30631 case "(($ac_try" in
30632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30633 *) ac_try_echo=$ac_try;;
30634 esac
30635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30636 (eval "$ac_link") 2>conftest.er1
30637 ac_status=$?
30638 grep -v '^ *+' conftest.er1 >conftest.err
30639 rm -f conftest.er1
30640 cat conftest.err >&5
30641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30642 (exit $ac_status); } && {
30643 test -z "$ac_c_werror_flag" ||
30644 test ! -s conftest.err
30645 } && test -s conftest$ac_exeext &&
30646 $as_test_x conftest$ac_exeext; then
30647 echo "*** The test program compiled, but did not run. This usually means"
30648 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30649 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30650 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30651 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30652 echo "*** is required on your system"
30653 echo "***"
30654 echo "*** If you have an old version installed, it is best to remove it, although"
30655 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30656 else
30657 echo "$as_me: failed program was:" >&5
30658 sed 's/^/| /' conftest.$ac_ext >&5
30659
30660 echo "*** The test program failed to compile or link. See the file config.log for the"
30661 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30662 fi
30663
30664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30665 conftest$ac_exeext conftest.$ac_ext
30666 CFLAGS="$ac_save_CFLAGS"
30667 LIBS="$ac_save_LIBS"
30668 fi
30669 fi
30670 GTK_CFLAGS=""
30671 GTK_LIBS=""
30672 :
30673 fi
30674
30675
30676 rm -f conf.gtktest
30677
30678
30679 case "${host}" in
30680 *-*-solaris2* )
30681 if test "$wxUSE_SHARED" != "yes"; then
30682 GTK_LIBS="$GTK_LIBS -lX11"
30683 fi
30684 esac
30685 fi
30686
30687 if test -z "$wx_cv_lib_gtk"; then
30688 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30689
30690 # Check whether --with-gtk-prefix was given.
30691 if test "${with_gtk_prefix+set}" = set; then
30692 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30693 else
30694 gtk_config_prefix=""
30695 fi
30696
30697
30698 # Check whether --with-gtk-exec-prefix was given.
30699 if test "${with_gtk_exec_prefix+set}" = set; then
30700 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30701 else
30702 gtk_config_exec_prefix=""
30703 fi
30704
30705 # Check whether --enable-gtktest was given.
30706 if test "${enable_gtktest+set}" = set; then
30707 enableval=$enable_gtktest;
30708 else
30709 enable_gtktest=yes
30710 fi
30711
30712
30713 for module in . $GTK_MODULES
30714 do
30715 case "$module" in
30716 gthread)
30717 gtk_config_args="$gtk_config_args gthread"
30718 ;;
30719 esac
30720 done
30721
30722 if test x$gtk_config_exec_prefix != x ; then
30723 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30724 if test x${GTK_CONFIG+set} != xset ; then
30725 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30726 fi
30727 fi
30728 if test x$gtk_config_prefix != x ; then
30729 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30730 if test x${GTK_CONFIG+set} != xset ; then
30731 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30732 fi
30733 fi
30734
30735 # Extract the first word of "gtk-config", so it can be a program name with args.
30736 set dummy gtk-config; ac_word=$2
30737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30739 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30740 echo $ECHO_N "(cached) $ECHO_C" >&6
30741 else
30742 case $GTK_CONFIG in
30743 [\\/]* | ?:[\\/]*)
30744 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30745 ;;
30746 *)
30747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30748 for as_dir in $PATH
30749 do
30750 IFS=$as_save_IFS
30751 test -z "$as_dir" && as_dir=.
30752 for ac_exec_ext in '' $ac_executable_extensions; do
30753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30754 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30756 break 2
30757 fi
30758 done
30759 done
30760 IFS=$as_save_IFS
30761
30762 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30763 ;;
30764 esac
30765 fi
30766 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30767 if test -n "$GTK_CONFIG"; then
30768 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30769 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30770 else
30771 { echo "$as_me:$LINENO: result: no" >&5
30772 echo "${ECHO_T}no" >&6; }
30773 fi
30774
30775
30776 min_gtk_version=1.2.7
30777 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30778 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30779 no_gtk=""
30780 if test "$GTK_CONFIG" = "no" ; then
30781 no_gtk=yes
30782 else
30783 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30784 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30785 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30786 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30787 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30788 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30789 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30790 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30791 if test "x$enable_gtktest" = "xyes" ; then
30792 ac_save_CFLAGS="$CFLAGS"
30793 ac_save_LIBS="$LIBS"
30794 CFLAGS="$CFLAGS $GTK_CFLAGS"
30795 LIBS="$GTK_LIBS $LIBS"
30796 rm -f conf.gtktest
30797 if test "$cross_compiling" = yes; then
30798 echo $ac_n "cross compiling; assumed OK... $ac_c"
30799 else
30800 cat >conftest.$ac_ext <<_ACEOF
30801 /* confdefs.h. */
30802 _ACEOF
30803 cat confdefs.h >>conftest.$ac_ext
30804 cat >>conftest.$ac_ext <<_ACEOF
30805 /* end confdefs.h. */
30806
30807 #include <gtk/gtk.h>
30808 #include <stdio.h>
30809 #include <stdlib.h>
30810
30811 int
30812 main ()
30813 {
30814 int major, minor, micro;
30815 char *tmp_version;
30816
30817 system ("touch conf.gtktest");
30818
30819 /* HP/UX 9 (%@#!) writes to sscanf strings */
30820 tmp_version = g_strdup("$min_gtk_version");
30821 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30822 printf("%s, bad version string\n", "$min_gtk_version");
30823 exit(1);
30824 }
30825
30826 if ((gtk_major_version != $gtk_config_major_version) ||
30827 (gtk_minor_version != $gtk_config_minor_version) ||
30828 (gtk_micro_version != $gtk_config_micro_version))
30829 {
30830 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30831 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30832 gtk_major_version, gtk_minor_version, gtk_micro_version);
30833 printf ("*** was found! If gtk-config was correct, then it is best\n");
30834 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30835 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30836 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30837 printf("*** required on your system.\n");
30838 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30839 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30840 printf("*** before re-running configure\n");
30841 }
30842 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30843 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30844 (gtk_minor_version != GTK_MINOR_VERSION) ||
30845 (gtk_micro_version != GTK_MICRO_VERSION))
30846 {
30847 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30848 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30849 printf("*** library (version %d.%d.%d)\n",
30850 gtk_major_version, gtk_minor_version, gtk_micro_version);
30851 }
30852 #endif /* defined (GTK_MAJOR_VERSION) ... */
30853 else
30854 {
30855 if ((gtk_major_version > major) ||
30856 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30857 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30858 {
30859 return 0;
30860 }
30861 else
30862 {
30863 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30864 gtk_major_version, gtk_minor_version, gtk_micro_version);
30865 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30866 major, minor, micro);
30867 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30868 printf("***\n");
30869 printf("*** If you have already installed a sufficiently new version, this error\n");
30870 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30871 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30872 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30873 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30874 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30875 printf("*** so that the correct libraries are found at run-time))\n");
30876 }
30877 }
30878 return 1;
30879 }
30880
30881 _ACEOF
30882 rm -f conftest$ac_exeext
30883 if { (ac_try="$ac_link"
30884 case "(($ac_try" in
30885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30886 *) ac_try_echo=$ac_try;;
30887 esac
30888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30889 (eval "$ac_link") 2>&5
30890 ac_status=$?
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30893 { (case "(($ac_try" in
30894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30895 *) ac_try_echo=$ac_try;;
30896 esac
30897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30898 (eval "$ac_try") 2>&5
30899 ac_status=$?
30900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30901 (exit $ac_status); }; }; then
30902 :
30903 else
30904 echo "$as_me: program exited with status $ac_status" >&5
30905 echo "$as_me: failed program was:" >&5
30906 sed 's/^/| /' conftest.$ac_ext >&5
30907
30908 ( exit $ac_status )
30909 no_gtk=yes
30910 fi
30911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30912 fi
30913
30914
30915 CFLAGS="$ac_save_CFLAGS"
30916 LIBS="$ac_save_LIBS"
30917 fi
30918 fi
30919 if test "x$no_gtk" = x ; then
30920 { echo "$as_me:$LINENO: result: yes" >&5
30921 echo "${ECHO_T}yes" >&6; }
30922 wx_cv_lib_gtk=1.2.7
30923 else
30924 { echo "$as_me:$LINENO: result: no" >&5
30925 echo "${ECHO_T}no" >&6; }
30926 if test "$GTK_CONFIG" = "no" ; then
30927 echo "*** The gtk-config script installed by GTK could not be found"
30928 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30929 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30930 echo "*** full path to gtk-config."
30931 else
30932 if test -f conf.gtktest ; then
30933 :
30934 else
30935 echo "*** Could not run GTK test program, checking why..."
30936 CFLAGS="$CFLAGS $GTK_CFLAGS"
30937 LIBS="$LIBS $GTK_LIBS"
30938 cat >conftest.$ac_ext <<_ACEOF
30939 /* confdefs.h. */
30940 _ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30944
30945 #include <gtk/gtk.h>
30946 #include <stdio.h>
30947
30948 int
30949 main ()
30950 {
30951 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30952 ;
30953 return 0;
30954 }
30955 _ACEOF
30956 rm -f conftest.$ac_objext conftest$ac_exeext
30957 if { (ac_try="$ac_link"
30958 case "(($ac_try" in
30959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30960 *) ac_try_echo=$ac_try;;
30961 esac
30962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30963 (eval "$ac_link") 2>conftest.er1
30964 ac_status=$?
30965 grep -v '^ *+' conftest.er1 >conftest.err
30966 rm -f conftest.er1
30967 cat conftest.err >&5
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); } && {
30970 test -z "$ac_c_werror_flag" ||
30971 test ! -s conftest.err
30972 } && test -s conftest$ac_exeext &&
30973 $as_test_x conftest$ac_exeext; then
30974 echo "*** The test program compiled, but did not run. This usually means"
30975 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30976 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30977 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30978 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30979 echo "*** is required on your system"
30980 echo "***"
30981 echo "*** If you have an old version installed, it is best to remove it, although"
30982 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30983 echo "***"
30984 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30985 echo "*** came with the system with the command"
30986 echo "***"
30987 echo "*** rpm --erase --nodeps gtk gtk-devel"
30988 else
30989 echo "$as_me: failed program was:" >&5
30990 sed 's/^/| /' conftest.$ac_ext >&5
30991
30992 echo "*** The test program failed to compile or link. See the file config.log for the"
30993 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30994 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30995 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30996 fi
30997
30998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30999 conftest$ac_exeext conftest.$ac_ext
31000 CFLAGS="$ac_save_CFLAGS"
31001 LIBS="$ac_save_LIBS"
31002 fi
31003 fi
31004 GTK_CFLAGS=""
31005 GTK_LIBS=""
31006 :
31007 fi
31008
31009
31010 rm -f conf.gtktest
31011
31012
31013 if test -z "$wx_cv_lib_gtk"; then
31014
31015 # Check whether --with-gtk-prefix was given.
31016 if test "${with_gtk_prefix+set}" = set; then
31017 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31018 else
31019 gtk_config_prefix=""
31020 fi
31021
31022
31023 # Check whether --with-gtk-exec-prefix was given.
31024 if test "${with_gtk_exec_prefix+set}" = set; then
31025 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31026 else
31027 gtk_config_exec_prefix=""
31028 fi
31029
31030 # Check whether --enable-gtktest was given.
31031 if test "${enable_gtktest+set}" = set; then
31032 enableval=$enable_gtktest;
31033 else
31034 enable_gtktest=yes
31035 fi
31036
31037
31038 for module in . $GTK_MODULES
31039 do
31040 case "$module" in
31041 gthread)
31042 gtk_config_args="$gtk_config_args gthread"
31043 ;;
31044 esac
31045 done
31046
31047 if test x$gtk_config_exec_prefix != x ; then
31048 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31049 if test x${GTK_CONFIG+set} != xset ; then
31050 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31051 fi
31052 fi
31053 if test x$gtk_config_prefix != x ; then
31054 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31055 if test x${GTK_CONFIG+set} != xset ; then
31056 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31057 fi
31058 fi
31059
31060 # Extract the first word of "gtk-config", so it can be a program name with args.
31061 set dummy gtk-config; ac_word=$2
31062 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31064 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 else
31067 case $GTK_CONFIG in
31068 [\\/]* | ?:[\\/]*)
31069 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31070 ;;
31071 *)
31072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31073 for as_dir in $PATH
31074 do
31075 IFS=$as_save_IFS
31076 test -z "$as_dir" && as_dir=.
31077 for ac_exec_ext in '' $ac_executable_extensions; do
31078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31079 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31081 break 2
31082 fi
31083 done
31084 done
31085 IFS=$as_save_IFS
31086
31087 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31088 ;;
31089 esac
31090 fi
31091 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31092 if test -n "$GTK_CONFIG"; then
31093 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31094 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31095 else
31096 { echo "$as_me:$LINENO: result: no" >&5
31097 echo "${ECHO_T}no" >&6; }
31098 fi
31099
31100
31101 min_gtk_version=1.2.3
31102 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31103 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31104 no_gtk=""
31105 if test "$GTK_CONFIG" = "no" ; then
31106 no_gtk=yes
31107 else
31108 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31109 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31110 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31111 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31112 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31113 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31114 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31115 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31116 if test "x$enable_gtktest" = "xyes" ; then
31117 ac_save_CFLAGS="$CFLAGS"
31118 ac_save_LIBS="$LIBS"
31119 CFLAGS="$CFLAGS $GTK_CFLAGS"
31120 LIBS="$GTK_LIBS $LIBS"
31121 rm -f conf.gtktest
31122 if test "$cross_compiling" = yes; then
31123 echo $ac_n "cross compiling; assumed OK... $ac_c"
31124 else
31125 cat >conftest.$ac_ext <<_ACEOF
31126 /* confdefs.h. */
31127 _ACEOF
31128 cat confdefs.h >>conftest.$ac_ext
31129 cat >>conftest.$ac_ext <<_ACEOF
31130 /* end confdefs.h. */
31131
31132 #include <gtk/gtk.h>
31133 #include <stdio.h>
31134 #include <stdlib.h>
31135
31136 int
31137 main ()
31138 {
31139 int major, minor, micro;
31140 char *tmp_version;
31141
31142 system ("touch conf.gtktest");
31143
31144 /* HP/UX 9 (%@#!) writes to sscanf strings */
31145 tmp_version = g_strdup("$min_gtk_version");
31146 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31147 printf("%s, bad version string\n", "$min_gtk_version");
31148 exit(1);
31149 }
31150
31151 if ((gtk_major_version != $gtk_config_major_version) ||
31152 (gtk_minor_version != $gtk_config_minor_version) ||
31153 (gtk_micro_version != $gtk_config_micro_version))
31154 {
31155 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31156 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31157 gtk_major_version, gtk_minor_version, gtk_micro_version);
31158 printf ("*** was found! If gtk-config was correct, then it is best\n");
31159 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31160 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31161 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31162 printf("*** required on your system.\n");
31163 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31164 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31165 printf("*** before re-running configure\n");
31166 }
31167 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31168 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31169 (gtk_minor_version != GTK_MINOR_VERSION) ||
31170 (gtk_micro_version != GTK_MICRO_VERSION))
31171 {
31172 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31173 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31174 printf("*** library (version %d.%d.%d)\n",
31175 gtk_major_version, gtk_minor_version, gtk_micro_version);
31176 }
31177 #endif /* defined (GTK_MAJOR_VERSION) ... */
31178 else
31179 {
31180 if ((gtk_major_version > major) ||
31181 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31182 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31183 {
31184 return 0;
31185 }
31186 else
31187 {
31188 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31189 gtk_major_version, gtk_minor_version, gtk_micro_version);
31190 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31191 major, minor, micro);
31192 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31193 printf("***\n");
31194 printf("*** If you have already installed a sufficiently new version, this error\n");
31195 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31196 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31197 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31198 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31199 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31200 printf("*** so that the correct libraries are found at run-time))\n");
31201 }
31202 }
31203 return 1;
31204 }
31205
31206 _ACEOF
31207 rm -f conftest$ac_exeext
31208 if { (ac_try="$ac_link"
31209 case "(($ac_try" in
31210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31211 *) ac_try_echo=$ac_try;;
31212 esac
31213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31214 (eval "$ac_link") 2>&5
31215 ac_status=$?
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31218 { (case "(($ac_try" in
31219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31220 *) ac_try_echo=$ac_try;;
31221 esac
31222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31223 (eval "$ac_try") 2>&5
31224 ac_status=$?
31225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31226 (exit $ac_status); }; }; then
31227 :
31228 else
31229 echo "$as_me: program exited with status $ac_status" >&5
31230 echo "$as_me: failed program was:" >&5
31231 sed 's/^/| /' conftest.$ac_ext >&5
31232
31233 ( exit $ac_status )
31234 no_gtk=yes
31235 fi
31236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31237 fi
31238
31239
31240 CFLAGS="$ac_save_CFLAGS"
31241 LIBS="$ac_save_LIBS"
31242 fi
31243 fi
31244 if test "x$no_gtk" = x ; then
31245 { echo "$as_me:$LINENO: result: yes" >&5
31246 echo "${ECHO_T}yes" >&6; }
31247 wx_cv_lib_gtk=1.2.3
31248 else
31249 { echo "$as_me:$LINENO: result: no" >&5
31250 echo "${ECHO_T}no" >&6; }
31251 if test "$GTK_CONFIG" = "no" ; then
31252 echo "*** The gtk-config script installed by GTK could not be found"
31253 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31254 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31255 echo "*** full path to gtk-config."
31256 else
31257 if test -f conf.gtktest ; then
31258 :
31259 else
31260 echo "*** Could not run GTK test program, checking why..."
31261 CFLAGS="$CFLAGS $GTK_CFLAGS"
31262 LIBS="$LIBS $GTK_LIBS"
31263 cat >conftest.$ac_ext <<_ACEOF
31264 /* confdefs.h. */
31265 _ACEOF
31266 cat confdefs.h >>conftest.$ac_ext
31267 cat >>conftest.$ac_ext <<_ACEOF
31268 /* end confdefs.h. */
31269
31270 #include <gtk/gtk.h>
31271 #include <stdio.h>
31272
31273 int
31274 main ()
31275 {
31276 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31277 ;
31278 return 0;
31279 }
31280 _ACEOF
31281 rm -f conftest.$ac_objext conftest$ac_exeext
31282 if { (ac_try="$ac_link"
31283 case "(($ac_try" in
31284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31285 *) ac_try_echo=$ac_try;;
31286 esac
31287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31288 (eval "$ac_link") 2>conftest.er1
31289 ac_status=$?
31290 grep -v '^ *+' conftest.er1 >conftest.err
31291 rm -f conftest.er1
31292 cat conftest.err >&5
31293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294 (exit $ac_status); } && {
31295 test -z "$ac_c_werror_flag" ||
31296 test ! -s conftest.err
31297 } && test -s conftest$ac_exeext &&
31298 $as_test_x conftest$ac_exeext; then
31299 echo "*** The test program compiled, but did not run. This usually means"
31300 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31301 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31302 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31303 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31304 echo "*** is required on your system"
31305 echo "***"
31306 echo "*** If you have an old version installed, it is best to remove it, although"
31307 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31308 echo "***"
31309 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31310 echo "*** came with the system with the command"
31311 echo "***"
31312 echo "*** rpm --erase --nodeps gtk gtk-devel"
31313 else
31314 echo "$as_me: failed program was:" >&5
31315 sed 's/^/| /' conftest.$ac_ext >&5
31316
31317 echo "*** The test program failed to compile or link. See the file config.log for the"
31318 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31319 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31320 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31321 fi
31322
31323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31324 conftest$ac_exeext conftest.$ac_ext
31325 CFLAGS="$ac_save_CFLAGS"
31326 LIBS="$ac_save_LIBS"
31327 fi
31328 fi
31329 GTK_CFLAGS=""
31330 GTK_LIBS=""
31331 :
31332 fi
31333
31334
31335 rm -f conf.gtktest
31336
31337 fi
31338 fi
31339 fi
31340
31341 if test -z "$wx_cv_lib_gtk"; then
31342 wx_cv_lib_gtk=none
31343 else
31344 wx_cv_cflags_gtk=$GTK_CFLAGS
31345 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31346 fi
31347
31348
31349 fi
31350
31351
31352 if test "$gtk_version_cached" = 1; then
31353 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31354 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31355 fi
31356
31357 case "$wx_cv_lib_gtk" in
31358 2.0) WXGTK20=1
31359 TOOLKIT_VERSION=2
31360 ;;
31361 1.2.7) WXGTK127=1
31362 WXGTK12=1
31363 ;;
31364 1.2.3) WXGTK12=1
31365 ;;
31366 *) { { echo "$as_me:$LINENO: error:
31367 The development files for GTK+ were not found. For GTK+ 2, please
31368 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31369 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31370 and that the version is 1.2.3 or above. Also check that the
31371 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31372 --libs' are in the LD_LIBRARY_PATH or equivalent.
31373 " >&5
31374 echo "$as_me: error:
31375 The development files for GTK+ were not found. For GTK+ 2, please
31376 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31377 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31378 and that the version is 1.2.3 or above. Also check that the
31379 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31380 --libs' are in the LD_LIBRARY_PATH or equivalent.
31381 " >&2;}
31382 { (exit 1); exit 1; }; }
31383 ;;
31384 esac
31385
31386 if test "$WXGTK20" = 1; then
31387 save_CFLAGS="$CFLAGS"
31388 save_LIBS="$LIBS"
31389 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31390 LIBS="$LIBS $wx_cv_libs_gtk"
31391
31392 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31393 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31394 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31395 echo $ECHO_N "(cached) $ECHO_C" >&6
31396 else
31397 cat >conftest.$ac_ext <<_ACEOF
31398 /* confdefs.h. */
31399 _ACEOF
31400 cat confdefs.h >>conftest.$ac_ext
31401 cat >>conftest.$ac_ext <<_ACEOF
31402 /* end confdefs.h. */
31403 #include <gtk/gtk.h>
31404
31405 int
31406 main ()
31407 {
31408 #ifndef gtk_icon_size_lookup
31409 (void) gtk_icon_size_lookup;
31410 #endif
31411
31412 ;
31413 return 0;
31414 }
31415 _ACEOF
31416 rm -f conftest.$ac_objext
31417 if { (ac_try="$ac_compile"
31418 case "(($ac_try" in
31419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31420 *) ac_try_echo=$ac_try;;
31421 esac
31422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31423 (eval "$ac_compile") 2>conftest.er1
31424 ac_status=$?
31425 grep -v '^ *+' conftest.er1 >conftest.err
31426 rm -f conftest.er1
31427 cat conftest.err >&5
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); } && {
31430 test -z "$ac_c_werror_flag" ||
31431 test ! -s conftest.err
31432 } && test -s conftest.$ac_objext; then
31433 ac_cv_have_decl_gtk_icon_size_lookup=yes
31434 else
31435 echo "$as_me: failed program was:" >&5
31436 sed 's/^/| /' conftest.$ac_ext >&5
31437
31438 ac_cv_have_decl_gtk_icon_size_lookup=no
31439 fi
31440
31441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31442 fi
31443 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31444 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31445 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31446
31447 cat >>confdefs.h <<_ACEOF
31448 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31449 _ACEOF
31450
31451
31452 else
31453 cat >>confdefs.h <<_ACEOF
31454 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31455 _ACEOF
31456
31457 cat >>confdefs.h <<\_ACEOF
31458 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31459 _ACEOF
31460
31461 fi
31462
31463
31464
31465
31466 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31467 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31468 cat >conftest.$ac_ext <<_ACEOF
31469 /* confdefs.h. */
31470 _ACEOF
31471 cat confdefs.h >>conftest.$ac_ext
31472 cat >>conftest.$ac_ext <<_ACEOF
31473 /* end confdefs.h. */
31474
31475 #include <gtk/gtk.h>
31476
31477 int
31478 main ()
31479 {
31480
31481 #if !GTK_CHECK_VERSION(2,10,0)
31482 Not GTK+ 2.10
31483 #endif
31484
31485 ;
31486 return 0;
31487 }
31488 _ACEOF
31489 rm -f conftest.$ac_objext
31490 if { (ac_try="$ac_compile"
31491 case "(($ac_try" in
31492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31493 *) ac_try_echo=$ac_try;;
31494 esac
31495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31496 (eval "$ac_compile") 2>conftest.er1
31497 ac_status=$?
31498 grep -v '^ *+' conftest.er1 >conftest.err
31499 rm -f conftest.er1
31500 cat conftest.err >&5
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); } && {
31503 test -z "$ac_c_werror_flag" ||
31504 test ! -s conftest.err
31505 } && test -s conftest.$ac_objext; then
31506
31507 cat >>confdefs.h <<\_ACEOF
31508 #define __WXGTK210__ 1
31509 _ACEOF
31510
31511 cat >>confdefs.h <<\_ACEOF
31512 #define __WXGTK26__ 1
31513 _ACEOF
31514
31515 cat >>confdefs.h <<\_ACEOF
31516 #define __WXGTK24__ 1
31517 _ACEOF
31518
31519 { echo "$as_me:$LINENO: result: yes" >&5
31520 echo "${ECHO_T}yes" >&6; }
31521 ac_wxgtk210=1
31522
31523 else
31524 echo "$as_me: failed program was:" >&5
31525 sed 's/^/| /' conftest.$ac_ext >&5
31526
31527
31528 { echo "$as_me:$LINENO: result: no" >&5
31529 echo "${ECHO_T}no" >&6; }
31530 ac_wxgtk210=0
31531
31532 fi
31533
31534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31535
31536 if test "$ac_wxgtk210" = 0; then
31537 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31538 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31539 cat >conftest.$ac_ext <<_ACEOF
31540 /* confdefs.h. */
31541 _ACEOF
31542 cat confdefs.h >>conftest.$ac_ext
31543 cat >>conftest.$ac_ext <<_ACEOF
31544 /* end confdefs.h. */
31545
31546 #include <gtk/gtk.h>
31547
31548 int
31549 main ()
31550 {
31551
31552 #if !GTK_CHECK_VERSION(2,6,0)
31553 Not GTK+ 2.6
31554 #endif
31555
31556 ;
31557 return 0;
31558 }
31559 _ACEOF
31560 rm -f conftest.$ac_objext
31561 if { (ac_try="$ac_compile"
31562 case "(($ac_try" in
31563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31564 *) ac_try_echo=$ac_try;;
31565 esac
31566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31567 (eval "$ac_compile") 2>conftest.er1
31568 ac_status=$?
31569 grep -v '^ *+' conftest.er1 >conftest.err
31570 rm -f conftest.er1
31571 cat conftest.err >&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); } && {
31574 test -z "$ac_c_werror_flag" ||
31575 test ! -s conftest.err
31576 } && test -s conftest.$ac_objext; then
31577
31578 cat >>confdefs.h <<\_ACEOF
31579 #define __WXGTK26__ 1
31580 _ACEOF
31581
31582 cat >>confdefs.h <<\_ACEOF
31583 #define __WXGTK24__ 1
31584 _ACEOF
31585
31586 { echo "$as_me:$LINENO: result: yes" >&5
31587 echo "${ECHO_T}yes" >&6; }
31588 ac_wxgtk26=1
31589
31590 else
31591 echo "$as_me: failed program was:" >&5
31592 sed 's/^/| /' conftest.$ac_ext >&5
31593
31594
31595 { echo "$as_me:$LINENO: result: no" >&5
31596 echo "${ECHO_T}no" >&6; }
31597 ac_wxgtk26=0
31598
31599 fi
31600
31601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31602 fi
31603
31604 if test "$ac_wxgtk26" = 0; then
31605 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31606 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31607 cat >conftest.$ac_ext <<_ACEOF
31608 /* confdefs.h. */
31609 _ACEOF
31610 cat confdefs.h >>conftest.$ac_ext
31611 cat >>conftest.$ac_ext <<_ACEOF
31612 /* end confdefs.h. */
31613
31614 #include <gtk/gtk.h>
31615
31616 int
31617 main ()
31618 {
31619
31620 #if !GTK_CHECK_VERSION(2,4,0)
31621 Not GTK+ 2.4
31622 #endif
31623
31624 ;
31625 return 0;
31626 }
31627 _ACEOF
31628 rm -f conftest.$ac_objext
31629 if { (ac_try="$ac_compile"
31630 case "(($ac_try" in
31631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31632 *) ac_try_echo=$ac_try;;
31633 esac
31634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31635 (eval "$ac_compile") 2>conftest.er1
31636 ac_status=$?
31637 grep -v '^ *+' conftest.er1 >conftest.err
31638 rm -f conftest.er1
31639 cat conftest.err >&5
31640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 (exit $ac_status); } && {
31642 test -z "$ac_c_werror_flag" ||
31643 test ! -s conftest.err
31644 } && test -s conftest.$ac_objext; then
31645
31646 cat >>confdefs.h <<\_ACEOF
31647 #define __WXGTK24__ 1
31648 _ACEOF
31649
31650 { echo "$as_me:$LINENO: result: yes" >&5
31651 echo "${ECHO_T}yes" >&6; }
31652
31653 else
31654 echo "$as_me: failed program was:" >&5
31655 sed 's/^/| /' conftest.$ac_ext >&5
31656
31657
31658 { echo "$as_me:$LINENO: result: no" >&5
31659 echo "${ECHO_T}no" >&6; }
31660
31661 fi
31662
31663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31664 fi
31665
31666 CFLAGS="$save_CFLAGS"
31667 LIBS="$save_LIBS"
31668 else
31669 if test "$wxUSE_UNICODE" = "yes"; then
31670 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31671 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31672 wxUSE_UNICODE=no
31673 fi
31674
31675 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31676 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31677 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31678 echo $ECHO_N "(cached) $ECHO_C" >&6
31679 else
31680 ac_check_lib_save_LIBS=$LIBS
31681 LIBS="-lgdk $LIBS"
31682 cat >conftest.$ac_ext <<_ACEOF
31683 /* confdefs.h. */
31684 _ACEOF
31685 cat confdefs.h >>conftest.$ac_ext
31686 cat >>conftest.$ac_ext <<_ACEOF
31687 /* end confdefs.h. */
31688
31689 /* Override any GCC internal prototype to avoid an error.
31690 Use char because int might match the return type of a GCC
31691 builtin and then its argument prototype would still apply. */
31692 #ifdef __cplusplus
31693 extern "C"
31694 #endif
31695 char gdk_im_open ();
31696 int
31697 main ()
31698 {
31699 return gdk_im_open ();
31700 ;
31701 return 0;
31702 }
31703 _ACEOF
31704 rm -f conftest.$ac_objext conftest$ac_exeext
31705 if { (ac_try="$ac_link"
31706 case "(($ac_try" in
31707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31708 *) ac_try_echo=$ac_try;;
31709 esac
31710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31711 (eval "$ac_link") 2>conftest.er1
31712 ac_status=$?
31713 grep -v '^ *+' conftest.er1 >conftest.err
31714 rm -f conftest.er1
31715 cat conftest.err >&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); } && {
31718 test -z "$ac_c_werror_flag" ||
31719 test ! -s conftest.err
31720 } && test -s conftest$ac_exeext &&
31721 $as_test_x conftest$ac_exeext; then
31722 ac_cv_lib_gdk_gdk_im_open=yes
31723 else
31724 echo "$as_me: failed program was:" >&5
31725 sed 's/^/| /' conftest.$ac_ext >&5
31726
31727 ac_cv_lib_gdk_gdk_im_open=no
31728 fi
31729
31730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31731 conftest$ac_exeext conftest.$ac_ext
31732 LIBS=$ac_check_lib_save_LIBS
31733 fi
31734 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31735 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31736 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31737 cat >>confdefs.h <<\_ACEOF
31738 #define HAVE_XIM 1
31739 _ACEOF
31740
31741 fi
31742
31743
31744 if test "$USE_DARWIN" != 1; then
31745
31746 for ac_func in poll
31747 do
31748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31751 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31752 echo $ECHO_N "(cached) $ECHO_C" >&6
31753 else
31754 cat >conftest.$ac_ext <<_ACEOF
31755 /* confdefs.h. */
31756 _ACEOF
31757 cat confdefs.h >>conftest.$ac_ext
31758 cat >>conftest.$ac_ext <<_ACEOF
31759 /* end confdefs.h. */
31760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31762 #define $ac_func innocuous_$ac_func
31763
31764 /* System header to define __stub macros and hopefully few prototypes,
31765 which can conflict with char $ac_func (); below.
31766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31767 <limits.h> exists even on freestanding compilers. */
31768
31769 #ifdef __STDC__
31770 # include <limits.h>
31771 #else
31772 # include <assert.h>
31773 #endif
31774
31775 #undef $ac_func
31776
31777 /* Override any GCC internal prototype to avoid an error.
31778 Use char because int might match the return type of a GCC
31779 builtin and then its argument prototype would still apply. */
31780 #ifdef __cplusplus
31781 extern "C"
31782 #endif
31783 char $ac_func ();
31784 /* The GNU C library defines this for functions which it implements
31785 to always fail with ENOSYS. Some functions are actually named
31786 something starting with __ and the normal name is an alias. */
31787 #if defined __stub_$ac_func || defined __stub___$ac_func
31788 choke me
31789 #endif
31790
31791 int
31792 main ()
31793 {
31794 return $ac_func ();
31795 ;
31796 return 0;
31797 }
31798 _ACEOF
31799 rm -f conftest.$ac_objext conftest$ac_exeext
31800 if { (ac_try="$ac_link"
31801 case "(($ac_try" in
31802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31803 *) ac_try_echo=$ac_try;;
31804 esac
31805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31806 (eval "$ac_link") 2>conftest.er1
31807 ac_status=$?
31808 grep -v '^ *+' conftest.er1 >conftest.err
31809 rm -f conftest.er1
31810 cat conftest.err >&5
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); } && {
31813 test -z "$ac_c_werror_flag" ||
31814 test ! -s conftest.err
31815 } && test -s conftest$ac_exeext &&
31816 $as_test_x conftest$ac_exeext; then
31817 eval "$as_ac_var=yes"
31818 else
31819 echo "$as_me: failed program was:" >&5
31820 sed 's/^/| /' conftest.$ac_ext >&5
31821
31822 eval "$as_ac_var=no"
31823 fi
31824
31825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31826 conftest$ac_exeext conftest.$ac_ext
31827 fi
31828 ac_res=`eval echo '${'$as_ac_var'}'`
31829 { echo "$as_me:$LINENO: result: $ac_res" >&5
31830 echo "${ECHO_T}$ac_res" >&6; }
31831 if test `eval echo '${'$as_ac_var'}'` = yes; then
31832 cat >>confdefs.h <<_ACEOF
31833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31834 _ACEOF
31835
31836 fi
31837 done
31838
31839 fi
31840 fi
31841
31842 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31843 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31844
31845 AFMINSTALL=afminstall
31846 TOOLKIT=GTK
31847 GUIDIST=GTK_DIST
31848
31849 if test "$wxUSE_GPE" = "yes"; then
31850 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31851 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31852
31853 ac_find_libraries=
31854 for ac_dir in $SEARCH_LIB;
31855 do
31856 for ac_extension in a so sl dylib dll.a; do
31857 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31858 ac_find_libraries=$ac_dir
31859 break 2
31860 fi
31861 done
31862 done
31863
31864 if test "$ac_find_libraries" != "" ; then
31865
31866 if test "$ac_find_libraries" = "default location"; then
31867 ac_path_to_link=""
31868 else
31869 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31870 result=$?
31871 if test $result = 0; then
31872 ac_path_to_link=""
31873 else
31874 ac_path_to_link=" -L$ac_find_libraries"
31875 fi
31876 fi
31877
31878 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31879 WXGPE=1
31880 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31881 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31882 else
31883 { echo "$as_me:$LINENO: result: not found" >&5
31884 echo "${ECHO_T}not found" >&6; }
31885 fi
31886
31887 fi
31888 fi
31889
31890 if test "$wxUSE_MGL" = 1; then
31891 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31892 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31893 if test "x$MGL_ROOT" = x ; then
31894 { echo "$as_me:$LINENO: result: not found" >&5
31895 echo "${ECHO_T}not found" >&6; }
31896 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31897 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31898 { (exit 1); exit 1; }; }
31899 else
31900 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31901 echo "${ECHO_T}$MGL_ROOT" >&6; }
31902 fi
31903
31904 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31905 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31906 case "${host}" in
31907 *-*-linux* )
31908 if test "x$wxUSE_SHARED" = xyes ; then
31909 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31910 else
31911 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31912 fi
31913 ;;
31914 *-pc-msdosdjgpp )
31915 mgl_os_candidates="dos32/dj2"
31916 ;;
31917 *)
31918 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31919 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31920 { (exit 1); exit 1; }; }
31921 esac
31922
31923 mgl_lib_type=""
31924 mgl_os=""
31925
31926 for mgl_os_i in $mgl_os_candidates ; do
31927 if test "x$mgl_os" = x ; then
31928 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31929 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31930 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31931 mgl_lib_type=debug
31932 mgl_os=$mgl_os_i
31933 fi
31934 fi
31935 if test "x$mgl_lib_type" = x ; then
31936 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31937 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31938 mgl_lib_type=release
31939 mgl_os=$mgl_os_i
31940 fi
31941 fi
31942 fi
31943 done
31944
31945 if test "x$mgl_os" = x ; then
31946 { echo "$as_me:$LINENO: result: not found" >&5
31947 echo "${ECHO_T}not found" >&6; }
31948 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31949 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31950 { (exit 1); exit 1; }; }
31951 fi
31952 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31953 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31954
31955 wxUSE_UNIVERSAL="yes"
31956
31957 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31958 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31959
31960 AFMINSTALL=afminstall
31961 TOOLKIT=MGL
31962 GUIDIST=MGL_DIST
31963 fi
31964
31965 if test "$wxUSE_DFB" = 1; then
31966
31967
31968 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31969 if test -n "$ac_tool_prefix"; then
31970 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31971 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31974 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31975 echo $ECHO_N "(cached) $ECHO_C" >&6
31976 else
31977 case $PKG_CONFIG in
31978 [\\/]* | ?:[\\/]*)
31979 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31980 ;;
31981 *)
31982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31983 for as_dir in $PATH
31984 do
31985 IFS=$as_save_IFS
31986 test -z "$as_dir" && as_dir=.
31987 for ac_exec_ext in '' $ac_executable_extensions; do
31988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31989 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31991 break 2
31992 fi
31993 done
31994 done
31995 IFS=$as_save_IFS
31996
31997 ;;
31998 esac
31999 fi
32000 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32001 if test -n "$PKG_CONFIG"; then
32002 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32003 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32004 else
32005 { echo "$as_me:$LINENO: result: no" >&5
32006 echo "${ECHO_T}no" >&6; }
32007 fi
32008
32009
32010 fi
32011 if test -z "$ac_cv_path_PKG_CONFIG"; then
32012 ac_pt_PKG_CONFIG=$PKG_CONFIG
32013 # Extract the first word of "pkg-config", so it can be a program name with args.
32014 set dummy pkg-config; ac_word=$2
32015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32017 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32018 echo $ECHO_N "(cached) $ECHO_C" >&6
32019 else
32020 case $ac_pt_PKG_CONFIG in
32021 [\\/]* | ?:[\\/]*)
32022 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32023 ;;
32024 *)
32025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32026 for as_dir in $PATH
32027 do
32028 IFS=$as_save_IFS
32029 test -z "$as_dir" && as_dir=.
32030 for ac_exec_ext in '' $ac_executable_extensions; do
32031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32032 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32034 break 2
32035 fi
32036 done
32037 done
32038 IFS=$as_save_IFS
32039
32040 ;;
32041 esac
32042 fi
32043 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32044 if test -n "$ac_pt_PKG_CONFIG"; then
32045 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32046 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32047 else
32048 { echo "$as_me:$LINENO: result: no" >&5
32049 echo "${ECHO_T}no" >&6; }
32050 fi
32051
32052 if test "x$ac_pt_PKG_CONFIG" = x; then
32053 PKG_CONFIG=""
32054 else
32055 case $cross_compiling:$ac_tool_warned in
32056 yes:)
32057 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32058 whose name does not start with the host triplet. If you think this
32059 configuration is useful to you, please write to autoconf@gnu.org." >&5
32060 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32061 whose name does not start with the host triplet. If you think this
32062 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32063 ac_tool_warned=yes ;;
32064 esac
32065 PKG_CONFIG=$ac_pt_PKG_CONFIG
32066 fi
32067 else
32068 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32069 fi
32070
32071 fi
32072 if test -n "$PKG_CONFIG"; then
32073 _pkg_min_version=0.9.0
32074 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32075 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32076 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32077 { echo "$as_me:$LINENO: result: yes" >&5
32078 echo "${ECHO_T}yes" >&6; }
32079 else
32080 { echo "$as_me:$LINENO: result: no" >&5
32081 echo "${ECHO_T}no" >&6; }
32082 PKG_CONFIG=""
32083 fi
32084
32085 fi
32086
32087
32088 pkg_failed=no
32089 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32090 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32091
32092 if test -n "$PKG_CONFIG"; then
32093 if test -n "$DIRECTFB_CFLAGS"; then
32094 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32095 else
32096 if test -n "$PKG_CONFIG" && \
32097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32098 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32099 ac_status=$?
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; then
32102 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32103 else
32104 pkg_failed=yes
32105 fi
32106 fi
32107 else
32108 pkg_failed=untried
32109 fi
32110 if test -n "$PKG_CONFIG"; then
32111 if test -n "$DIRECTFB_LIBS"; then
32112 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32113 else
32114 if test -n "$PKG_CONFIG" && \
32115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32116 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32117 ac_status=$?
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); }; then
32120 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32121 else
32122 pkg_failed=yes
32123 fi
32124 fi
32125 else
32126 pkg_failed=untried
32127 fi
32128
32129
32130
32131 if test $pkg_failed = yes; then
32132
32133 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32134 _pkg_short_errors_supported=yes
32135 else
32136 _pkg_short_errors_supported=no
32137 fi
32138 if test $_pkg_short_errors_supported = yes; then
32139 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32140 else
32141 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32142 fi
32143 # Put the nasty error message in config.log where it belongs
32144 echo "$DIRECTFB_PKG_ERRORS" >&5
32145
32146
32147 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32148 echo "$as_me: error: DirectFB not found." >&2;}
32149 { (exit 1); exit 1; }; }
32150
32151
32152 elif test $pkg_failed = untried; then
32153
32154 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32155 echo "$as_me: error: DirectFB not found." >&2;}
32156 { (exit 1); exit 1; }; }
32157
32158
32159 else
32160 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32161 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32162 { echo "$as_me:$LINENO: result: yes" >&5
32163 echo "${ECHO_T}yes" >&6; }
32164
32165 wxUSE_UNIVERSAL="yes"
32166 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32167 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32168 TOOLKIT=DFB
32169 GUIDIST=DFB_DIST
32170
32171 fi
32172 fi
32173
32174 if test "$wxUSE_MICROWIN" = 1; then
32175 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32176 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32177 if test "x$MICROWINDOWS" = x ; then
32178 { echo "$as_me:$LINENO: result: not found" >&5
32179 echo "${ECHO_T}not found" >&6; }
32180 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32181 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32182 { (exit 1); exit 1; }; }
32183 else
32184 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32185 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32186 fi
32187
32188 if test -f $MICROWINDOWS/lib/libmwin.a; then
32189 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32190 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32191 else
32192 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32193 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32194 { (exit 1); exit 1; }; }
32195 fi
32196
32197 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32198 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32199
32200 wxUSE_UNIVERSAL="yes"
32201
32202 AFMINSTALL=afminstall
32203 TOOLKIT=MICROWIN
32204 GUIDIST=MICROWIN_DIST
32205
32206 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32207 fi
32208
32209 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32210 { echo "$as_me:$LINENO: checking for X" >&5
32211 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32212
32213
32214 # Check whether --with-x was given.
32215 if test "${with_x+set}" = set; then
32216 withval=$with_x;
32217 fi
32218
32219 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32220 if test "x$with_x" = xno; then
32221 # The user explicitly disabled X.
32222 have_x=disabled
32223 else
32224 case $x_includes,$x_libraries in #(
32225 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32226 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32227 { (exit 1); exit 1; }; };; #(
32228 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32229 echo $ECHO_N "(cached) $ECHO_C" >&6
32230 else
32231 # One or both of the vars are not set, and there is no cached value.
32232 ac_x_includes=no ac_x_libraries=no
32233 rm -f -r conftest.dir
32234 if mkdir conftest.dir; then
32235 cd conftest.dir
32236 cat >Imakefile <<'_ACEOF'
32237 incroot:
32238 @echo incroot='${INCROOT}'
32239 usrlibdir:
32240 @echo usrlibdir='${USRLIBDIR}'
32241 libdir:
32242 @echo libdir='${LIBDIR}'
32243 _ACEOF
32244 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32245 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32246 for ac_var in incroot usrlibdir libdir; do
32247 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32248 done
32249 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32250 for ac_extension in a so sl; do
32251 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32252 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32253 ac_im_usrlibdir=$ac_im_libdir; break
32254 fi
32255 done
32256 # Screen out bogus values from the imake configuration. They are
32257 # bogus both because they are the default anyway, and because
32258 # using them would break gcc on systems where it needs fixed includes.
32259 case $ac_im_incroot in
32260 /usr/include) ac_x_includes= ;;
32261 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32262 esac
32263 case $ac_im_usrlibdir in
32264 /usr/lib | /lib) ;;
32265 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32266 esac
32267 fi
32268 cd ..
32269 rm -f -r conftest.dir
32270 fi
32271
32272 # Standard set of common directories for X headers.
32273 # Check X11 before X11Rn because it is often a symlink to the current release.
32274 ac_x_header_dirs='
32275 /usr/X11/include
32276 /usr/X11R6/include
32277 /usr/X11R5/include
32278 /usr/X11R4/include
32279
32280 /usr/include/X11
32281 /usr/include/X11R6
32282 /usr/include/X11R5
32283 /usr/include/X11R4
32284
32285 /usr/local/X11/include
32286 /usr/local/X11R6/include
32287 /usr/local/X11R5/include
32288 /usr/local/X11R4/include
32289
32290 /usr/local/include/X11
32291 /usr/local/include/X11R6
32292 /usr/local/include/X11R5
32293 /usr/local/include/X11R4
32294
32295 /usr/X386/include
32296 /usr/x386/include
32297 /usr/XFree86/include/X11
32298
32299 /usr/include
32300 /usr/local/include
32301 /usr/unsupported/include
32302 /usr/athena/include
32303 /usr/local/x11r5/include
32304 /usr/lpp/Xamples/include
32305
32306 /usr/openwin/include
32307 /usr/openwin/share/include'
32308
32309 if test "$ac_x_includes" = no; then
32310 # Guess where to find include files, by looking for Xlib.h.
32311 # First, try using that file with no special directory specified.
32312 cat >conftest.$ac_ext <<_ACEOF
32313 /* confdefs.h. */
32314 _ACEOF
32315 cat confdefs.h >>conftest.$ac_ext
32316 cat >>conftest.$ac_ext <<_ACEOF
32317 /* end confdefs.h. */
32318 #include <X11/Xlib.h>
32319 _ACEOF
32320 if { (ac_try="$ac_cpp conftest.$ac_ext"
32321 case "(($ac_try" in
32322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32323 *) ac_try_echo=$ac_try;;
32324 esac
32325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32326 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32327 ac_status=$?
32328 grep -v '^ *+' conftest.er1 >conftest.err
32329 rm -f conftest.er1
32330 cat conftest.err >&5
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); } >/dev/null && {
32333 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32334 test ! -s conftest.err
32335 }; then
32336 # We can compile using X headers with no special include directory.
32337 ac_x_includes=
32338 else
32339 echo "$as_me: failed program was:" >&5
32340 sed 's/^/| /' conftest.$ac_ext >&5
32341
32342 for ac_dir in $ac_x_header_dirs; do
32343 if test -r "$ac_dir/X11/Xlib.h"; then
32344 ac_x_includes=$ac_dir
32345 break
32346 fi
32347 done
32348 fi
32349
32350 rm -f conftest.err conftest.$ac_ext
32351 fi # $ac_x_includes = no
32352
32353 if test "$ac_x_libraries" = no; then
32354 # Check for the libraries.
32355 # See if we find them without any special options.
32356 # Don't add to $LIBS permanently.
32357 ac_save_LIBS=$LIBS
32358 LIBS="-lX11 $LIBS"
32359 cat >conftest.$ac_ext <<_ACEOF
32360 /* confdefs.h. */
32361 _ACEOF
32362 cat confdefs.h >>conftest.$ac_ext
32363 cat >>conftest.$ac_ext <<_ACEOF
32364 /* end confdefs.h. */
32365 #include <X11/Xlib.h>
32366 int
32367 main ()
32368 {
32369 XrmInitialize ()
32370 ;
32371 return 0;
32372 }
32373 _ACEOF
32374 rm -f conftest.$ac_objext conftest$ac_exeext
32375 if { (ac_try="$ac_link"
32376 case "(($ac_try" in
32377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32378 *) ac_try_echo=$ac_try;;
32379 esac
32380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32381 (eval "$ac_link") 2>conftest.er1
32382 ac_status=$?
32383 grep -v '^ *+' conftest.er1 >conftest.err
32384 rm -f conftest.er1
32385 cat conftest.err >&5
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); } && {
32388 test -z "$ac_c_werror_flag" ||
32389 test ! -s conftest.err
32390 } && test -s conftest$ac_exeext &&
32391 $as_test_x conftest$ac_exeext; then
32392 LIBS=$ac_save_LIBS
32393 # We can link X programs with no special library path.
32394 ac_x_libraries=
32395 else
32396 echo "$as_me: failed program was:" >&5
32397 sed 's/^/| /' conftest.$ac_ext >&5
32398
32399 LIBS=$ac_save_LIBS
32400 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32401 do
32402 # Don't even attempt the hair of trying to link an X program!
32403 for ac_extension in a so sl; do
32404 if test -r "$ac_dir/libX11.$ac_extension"; then
32405 ac_x_libraries=$ac_dir
32406 break 2
32407 fi
32408 done
32409 done
32410 fi
32411
32412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32413 conftest$ac_exeext conftest.$ac_ext
32414 fi # $ac_x_libraries = no
32415
32416 case $ac_x_includes,$ac_x_libraries in #(
32417 no,* | *,no | *\'*)
32418 # Didn't find X, or a directory has "'" in its name.
32419 ac_cv_have_x="have_x=no";; #(
32420 *)
32421 # Record where we found X for the cache.
32422 ac_cv_have_x="have_x=yes\
32423 ac_x_includes='$ac_x_includes'\
32424 ac_x_libraries='$ac_x_libraries'"
32425 esac
32426 fi
32427 ;; #(
32428 *) have_x=yes;;
32429 esac
32430 eval "$ac_cv_have_x"
32431 fi # $with_x != no
32432
32433 if test "$have_x" != yes; then
32434 { echo "$as_me:$LINENO: result: $have_x" >&5
32435 echo "${ECHO_T}$have_x" >&6; }
32436 no_x=yes
32437 else
32438 # If each of the values was on the command line, it overrides each guess.
32439 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32440 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32441 # Update the cache value to reflect the command line values.
32442 ac_cv_have_x="have_x=yes\
32443 ac_x_includes='$x_includes'\
32444 ac_x_libraries='$x_libraries'"
32445 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32446 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32447 fi
32448
32449 if test "$no_x" = yes; then
32450 # Not all programs may use this symbol, but it does not hurt to define it.
32451
32452 cat >>confdefs.h <<\_ACEOF
32453 #define X_DISPLAY_MISSING 1
32454 _ACEOF
32455
32456 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32457 else
32458 if test -n "$x_includes"; then
32459 X_CFLAGS="$X_CFLAGS -I$x_includes"
32460 fi
32461
32462 # It would also be nice to do this for all -L options, not just this one.
32463 if test -n "$x_libraries"; then
32464 X_LIBS="$X_LIBS -L$x_libraries"
32465 # For Solaris; some versions of Sun CC require a space after -R and
32466 # others require no space. Words are not sufficient . . . .
32467 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32468 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32469 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32470 ac_xsave_c_werror_flag=$ac_c_werror_flag
32471 ac_c_werror_flag=yes
32472 cat >conftest.$ac_ext <<_ACEOF
32473 /* confdefs.h. */
32474 _ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32478
32479 int
32480 main ()
32481 {
32482
32483 ;
32484 return 0;
32485 }
32486 _ACEOF
32487 rm -f conftest.$ac_objext conftest$ac_exeext
32488 if { (ac_try="$ac_link"
32489 case "(($ac_try" in
32490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32491 *) ac_try_echo=$ac_try;;
32492 esac
32493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32494 (eval "$ac_link") 2>conftest.er1
32495 ac_status=$?
32496 grep -v '^ *+' conftest.er1 >conftest.err
32497 rm -f conftest.er1
32498 cat conftest.err >&5
32499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32500 (exit $ac_status); } && {
32501 test -z "$ac_c_werror_flag" ||
32502 test ! -s conftest.err
32503 } && test -s conftest$ac_exeext &&
32504 $as_test_x conftest$ac_exeext; then
32505 { echo "$as_me:$LINENO: result: no" >&5
32506 echo "${ECHO_T}no" >&6; }
32507 X_LIBS="$X_LIBS -R$x_libraries"
32508 else
32509 echo "$as_me: failed program was:" >&5
32510 sed 's/^/| /' conftest.$ac_ext >&5
32511
32512 LIBS="$ac_xsave_LIBS -R $x_libraries"
32513 cat >conftest.$ac_ext <<_ACEOF
32514 /* confdefs.h. */
32515 _ACEOF
32516 cat confdefs.h >>conftest.$ac_ext
32517 cat >>conftest.$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32519
32520 int
32521 main ()
32522 {
32523
32524 ;
32525 return 0;
32526 }
32527 _ACEOF
32528 rm -f conftest.$ac_objext conftest$ac_exeext
32529 if { (ac_try="$ac_link"
32530 case "(($ac_try" in
32531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32532 *) ac_try_echo=$ac_try;;
32533 esac
32534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32535 (eval "$ac_link") 2>conftest.er1
32536 ac_status=$?
32537 grep -v '^ *+' conftest.er1 >conftest.err
32538 rm -f conftest.er1
32539 cat conftest.err >&5
32540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); } && {
32542 test -z "$ac_c_werror_flag" ||
32543 test ! -s conftest.err
32544 } && test -s conftest$ac_exeext &&
32545 $as_test_x conftest$ac_exeext; then
32546 { echo "$as_me:$LINENO: result: yes" >&5
32547 echo "${ECHO_T}yes" >&6; }
32548 X_LIBS="$X_LIBS -R $x_libraries"
32549 else
32550 echo "$as_me: failed program was:" >&5
32551 sed 's/^/| /' conftest.$ac_ext >&5
32552
32553 { echo "$as_me:$LINENO: result: neither works" >&5
32554 echo "${ECHO_T}neither works" >&6; }
32555 fi
32556
32557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32558 conftest$ac_exeext conftest.$ac_ext
32559 fi
32560
32561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32562 conftest$ac_exeext conftest.$ac_ext
32563 ac_c_werror_flag=$ac_xsave_c_werror_flag
32564 LIBS=$ac_xsave_LIBS
32565 fi
32566
32567 # Check for system-dependent libraries X programs must link with.
32568 # Do this before checking for the system-independent R6 libraries
32569 # (-lICE), since we may need -lsocket or whatever for X linking.
32570
32571 if test "$ISC" = yes; then
32572 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32573 else
32574 # Martyn Johnson says this is needed for Ultrix, if the X
32575 # libraries were built with DECnet support. And Karl Berry says
32576 # the Alpha needs dnet_stub (dnet does not exist).
32577 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32578 cat >conftest.$ac_ext <<_ACEOF
32579 /* confdefs.h. */
32580 _ACEOF
32581 cat confdefs.h >>conftest.$ac_ext
32582 cat >>conftest.$ac_ext <<_ACEOF
32583 /* end confdefs.h. */
32584
32585 /* Override any GCC internal prototype to avoid an error.
32586 Use char because int might match the return type of a GCC
32587 builtin and then its argument prototype would still apply. */
32588 #ifdef __cplusplus
32589 extern "C"
32590 #endif
32591 char XOpenDisplay ();
32592 int
32593 main ()
32594 {
32595 return XOpenDisplay ();
32596 ;
32597 return 0;
32598 }
32599 _ACEOF
32600 rm -f conftest.$ac_objext conftest$ac_exeext
32601 if { (ac_try="$ac_link"
32602 case "(($ac_try" in
32603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32604 *) ac_try_echo=$ac_try;;
32605 esac
32606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32607 (eval "$ac_link") 2>conftest.er1
32608 ac_status=$?
32609 grep -v '^ *+' conftest.er1 >conftest.err
32610 rm -f conftest.er1
32611 cat conftest.err >&5
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); } && {
32614 test -z "$ac_c_werror_flag" ||
32615 test ! -s conftest.err
32616 } && test -s conftest$ac_exeext &&
32617 $as_test_x conftest$ac_exeext; then
32618 :
32619 else
32620 echo "$as_me: failed program was:" >&5
32621 sed 's/^/| /' conftest.$ac_ext >&5
32622
32623 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32624 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32625 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32626 echo $ECHO_N "(cached) $ECHO_C" >&6
32627 else
32628 ac_check_lib_save_LIBS=$LIBS
32629 LIBS="-ldnet $LIBS"
32630 cat >conftest.$ac_ext <<_ACEOF
32631 /* confdefs.h. */
32632 _ACEOF
32633 cat confdefs.h >>conftest.$ac_ext
32634 cat >>conftest.$ac_ext <<_ACEOF
32635 /* end confdefs.h. */
32636
32637 /* Override any GCC internal prototype to avoid an error.
32638 Use char because int might match the return type of a GCC
32639 builtin and then its argument prototype would still apply. */
32640 #ifdef __cplusplus
32641 extern "C"
32642 #endif
32643 char dnet_ntoa ();
32644 int
32645 main ()
32646 {
32647 return dnet_ntoa ();
32648 ;
32649 return 0;
32650 }
32651 _ACEOF
32652 rm -f conftest.$ac_objext conftest$ac_exeext
32653 if { (ac_try="$ac_link"
32654 case "(($ac_try" in
32655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32656 *) ac_try_echo=$ac_try;;
32657 esac
32658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32659 (eval "$ac_link") 2>conftest.er1
32660 ac_status=$?
32661 grep -v '^ *+' conftest.er1 >conftest.err
32662 rm -f conftest.er1
32663 cat conftest.err >&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); } && {
32666 test -z "$ac_c_werror_flag" ||
32667 test ! -s conftest.err
32668 } && test -s conftest$ac_exeext &&
32669 $as_test_x conftest$ac_exeext; then
32670 ac_cv_lib_dnet_dnet_ntoa=yes
32671 else
32672 echo "$as_me: failed program was:" >&5
32673 sed 's/^/| /' conftest.$ac_ext >&5
32674
32675 ac_cv_lib_dnet_dnet_ntoa=no
32676 fi
32677
32678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32679 conftest$ac_exeext conftest.$ac_ext
32680 LIBS=$ac_check_lib_save_LIBS
32681 fi
32682 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32683 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32684 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32685 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32686 fi
32687
32688 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32689 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32690 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32691 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32692 echo $ECHO_N "(cached) $ECHO_C" >&6
32693 else
32694 ac_check_lib_save_LIBS=$LIBS
32695 LIBS="-ldnet_stub $LIBS"
32696 cat >conftest.$ac_ext <<_ACEOF
32697 /* confdefs.h. */
32698 _ACEOF
32699 cat confdefs.h >>conftest.$ac_ext
32700 cat >>conftest.$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32702
32703 /* Override any GCC internal prototype to avoid an error.
32704 Use char because int might match the return type of a GCC
32705 builtin and then its argument prototype would still apply. */
32706 #ifdef __cplusplus
32707 extern "C"
32708 #endif
32709 char dnet_ntoa ();
32710 int
32711 main ()
32712 {
32713 return dnet_ntoa ();
32714 ;
32715 return 0;
32716 }
32717 _ACEOF
32718 rm -f conftest.$ac_objext conftest$ac_exeext
32719 if { (ac_try="$ac_link"
32720 case "(($ac_try" in
32721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32722 *) ac_try_echo=$ac_try;;
32723 esac
32724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32725 (eval "$ac_link") 2>conftest.er1
32726 ac_status=$?
32727 grep -v '^ *+' conftest.er1 >conftest.err
32728 rm -f conftest.er1
32729 cat conftest.err >&5
32730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32731 (exit $ac_status); } && {
32732 test -z "$ac_c_werror_flag" ||
32733 test ! -s conftest.err
32734 } && test -s conftest$ac_exeext &&
32735 $as_test_x conftest$ac_exeext; then
32736 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32737 else
32738 echo "$as_me: failed program was:" >&5
32739 sed 's/^/| /' conftest.$ac_ext >&5
32740
32741 ac_cv_lib_dnet_stub_dnet_ntoa=no
32742 fi
32743
32744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32745 conftest$ac_exeext conftest.$ac_ext
32746 LIBS=$ac_check_lib_save_LIBS
32747 fi
32748 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32749 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32750 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32751 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32752 fi
32753
32754 fi
32755 fi
32756
32757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32758 conftest$ac_exeext conftest.$ac_ext
32759 LIBS="$ac_xsave_LIBS"
32760
32761 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32762 # to get the SysV transport functions.
32763 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32764 # needs -lnsl.
32765 # The nsl library prevents programs from opening the X display
32766 # on Irix 5.2, according to T.E. Dickey.
32767 # The functions gethostbyname, getservbyname, and inet_addr are
32768 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32769 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32770 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32771 if test "${ac_cv_func_gethostbyname+set}" = set; then
32772 echo $ECHO_N "(cached) $ECHO_C" >&6
32773 else
32774 cat >conftest.$ac_ext <<_ACEOF
32775 /* confdefs.h. */
32776 _ACEOF
32777 cat confdefs.h >>conftest.$ac_ext
32778 cat >>conftest.$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32780 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32782 #define gethostbyname innocuous_gethostbyname
32783
32784 /* System header to define __stub macros and hopefully few prototypes,
32785 which can conflict with char gethostbyname (); below.
32786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32787 <limits.h> exists even on freestanding compilers. */
32788
32789 #ifdef __STDC__
32790 # include <limits.h>
32791 #else
32792 # include <assert.h>
32793 #endif
32794
32795 #undef gethostbyname
32796
32797 /* Override any GCC internal prototype to avoid an error.
32798 Use char because int might match the return type of a GCC
32799 builtin and then its argument prototype would still apply. */
32800 #ifdef __cplusplus
32801 extern "C"
32802 #endif
32803 char gethostbyname ();
32804 /* The GNU C library defines this for functions which it implements
32805 to always fail with ENOSYS. Some functions are actually named
32806 something starting with __ and the normal name is an alias. */
32807 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32808 choke me
32809 #endif
32810
32811 int
32812 main ()
32813 {
32814 return gethostbyname ();
32815 ;
32816 return 0;
32817 }
32818 _ACEOF
32819 rm -f conftest.$ac_objext conftest$ac_exeext
32820 if { (ac_try="$ac_link"
32821 case "(($ac_try" in
32822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32823 *) ac_try_echo=$ac_try;;
32824 esac
32825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32826 (eval "$ac_link") 2>conftest.er1
32827 ac_status=$?
32828 grep -v '^ *+' conftest.er1 >conftest.err
32829 rm -f conftest.er1
32830 cat conftest.err >&5
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); } && {
32833 test -z "$ac_c_werror_flag" ||
32834 test ! -s conftest.err
32835 } && test -s conftest$ac_exeext &&
32836 $as_test_x conftest$ac_exeext; then
32837 ac_cv_func_gethostbyname=yes
32838 else
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.$ac_ext >&5
32841
32842 ac_cv_func_gethostbyname=no
32843 fi
32844
32845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32846 conftest$ac_exeext conftest.$ac_ext
32847 fi
32848 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32849 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32850
32851 if test $ac_cv_func_gethostbyname = no; then
32852 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32853 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32854 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32855 echo $ECHO_N "(cached) $ECHO_C" >&6
32856 else
32857 ac_check_lib_save_LIBS=$LIBS
32858 LIBS="-lnsl $LIBS"
32859 cat >conftest.$ac_ext <<_ACEOF
32860 /* confdefs.h. */
32861 _ACEOF
32862 cat confdefs.h >>conftest.$ac_ext
32863 cat >>conftest.$ac_ext <<_ACEOF
32864 /* end confdefs.h. */
32865
32866 /* Override any GCC internal prototype to avoid an error.
32867 Use char because int might match the return type of a GCC
32868 builtin and then its argument prototype would still apply. */
32869 #ifdef __cplusplus
32870 extern "C"
32871 #endif
32872 char gethostbyname ();
32873 int
32874 main ()
32875 {
32876 return gethostbyname ();
32877 ;
32878 return 0;
32879 }
32880 _ACEOF
32881 rm -f conftest.$ac_objext conftest$ac_exeext
32882 if { (ac_try="$ac_link"
32883 case "(($ac_try" in
32884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32885 *) ac_try_echo=$ac_try;;
32886 esac
32887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32888 (eval "$ac_link") 2>conftest.er1
32889 ac_status=$?
32890 grep -v '^ *+' conftest.er1 >conftest.err
32891 rm -f conftest.er1
32892 cat conftest.err >&5
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); } && {
32895 test -z "$ac_c_werror_flag" ||
32896 test ! -s conftest.err
32897 } && test -s conftest$ac_exeext &&
32898 $as_test_x conftest$ac_exeext; then
32899 ac_cv_lib_nsl_gethostbyname=yes
32900 else
32901 echo "$as_me: failed program was:" >&5
32902 sed 's/^/| /' conftest.$ac_ext >&5
32903
32904 ac_cv_lib_nsl_gethostbyname=no
32905 fi
32906
32907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32908 conftest$ac_exeext conftest.$ac_ext
32909 LIBS=$ac_check_lib_save_LIBS
32910 fi
32911 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32912 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32913 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32914 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32915 fi
32916
32917 if test $ac_cv_lib_nsl_gethostbyname = no; then
32918 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32919 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32920 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32921 echo $ECHO_N "(cached) $ECHO_C" >&6
32922 else
32923 ac_check_lib_save_LIBS=$LIBS
32924 LIBS="-lbsd $LIBS"
32925 cat >conftest.$ac_ext <<_ACEOF
32926 /* confdefs.h. */
32927 _ACEOF
32928 cat confdefs.h >>conftest.$ac_ext
32929 cat >>conftest.$ac_ext <<_ACEOF
32930 /* end confdefs.h. */
32931
32932 /* Override any GCC internal prototype to avoid an error.
32933 Use char because int might match the return type of a GCC
32934 builtin and then its argument prototype would still apply. */
32935 #ifdef __cplusplus
32936 extern "C"
32937 #endif
32938 char gethostbyname ();
32939 int
32940 main ()
32941 {
32942 return gethostbyname ();
32943 ;
32944 return 0;
32945 }
32946 _ACEOF
32947 rm -f conftest.$ac_objext conftest$ac_exeext
32948 if { (ac_try="$ac_link"
32949 case "(($ac_try" in
32950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32951 *) ac_try_echo=$ac_try;;
32952 esac
32953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32954 (eval "$ac_link") 2>conftest.er1
32955 ac_status=$?
32956 grep -v '^ *+' conftest.er1 >conftest.err
32957 rm -f conftest.er1
32958 cat conftest.err >&5
32959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960 (exit $ac_status); } && {
32961 test -z "$ac_c_werror_flag" ||
32962 test ! -s conftest.err
32963 } && test -s conftest$ac_exeext &&
32964 $as_test_x conftest$ac_exeext; then
32965 ac_cv_lib_bsd_gethostbyname=yes
32966 else
32967 echo "$as_me: failed program was:" >&5
32968 sed 's/^/| /' conftest.$ac_ext >&5
32969
32970 ac_cv_lib_bsd_gethostbyname=no
32971 fi
32972
32973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32974 conftest$ac_exeext conftest.$ac_ext
32975 LIBS=$ac_check_lib_save_LIBS
32976 fi
32977 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32978 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32979 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32980 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32981 fi
32982
32983 fi
32984 fi
32985
32986 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32987 # socket/setsockopt and other routines are undefined under SCO ODT
32988 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32989 # on later versions), says Simon Leinen: it contains gethostby*
32990 # variants that don't use the name server (or something). -lsocket
32991 # must be given before -lnsl if both are needed. We assume that
32992 # if connect needs -lnsl, so does gethostbyname.
32993 { echo "$as_me:$LINENO: checking for connect" >&5
32994 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32995 if test "${ac_cv_func_connect+set}" = set; then
32996 echo $ECHO_N "(cached) $ECHO_C" >&6
32997 else
32998 cat >conftest.$ac_ext <<_ACEOF
32999 /* confdefs.h. */
33000 _ACEOF
33001 cat confdefs.h >>conftest.$ac_ext
33002 cat >>conftest.$ac_ext <<_ACEOF
33003 /* end confdefs.h. */
33004 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33006 #define connect innocuous_connect
33007
33008 /* System header to define __stub macros and hopefully few prototypes,
33009 which can conflict with char connect (); below.
33010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33011 <limits.h> exists even on freestanding compilers. */
33012
33013 #ifdef __STDC__
33014 # include <limits.h>
33015 #else
33016 # include <assert.h>
33017 #endif
33018
33019 #undef connect
33020
33021 /* Override any GCC internal prototype to avoid an error.
33022 Use char because int might match the return type of a GCC
33023 builtin and then its argument prototype would still apply. */
33024 #ifdef __cplusplus
33025 extern "C"
33026 #endif
33027 char connect ();
33028 /* The GNU C library defines this for functions which it implements
33029 to always fail with ENOSYS. Some functions are actually named
33030 something starting with __ and the normal name is an alias. */
33031 #if defined __stub_connect || defined __stub___connect
33032 choke me
33033 #endif
33034
33035 int
33036 main ()
33037 {
33038 return connect ();
33039 ;
33040 return 0;
33041 }
33042 _ACEOF
33043 rm -f conftest.$ac_objext conftest$ac_exeext
33044 if { (ac_try="$ac_link"
33045 case "(($ac_try" in
33046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33047 *) ac_try_echo=$ac_try;;
33048 esac
33049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33050 (eval "$ac_link") 2>conftest.er1
33051 ac_status=$?
33052 grep -v '^ *+' conftest.er1 >conftest.err
33053 rm -f conftest.er1
33054 cat conftest.err >&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); } && {
33057 test -z "$ac_c_werror_flag" ||
33058 test ! -s conftest.err
33059 } && test -s conftest$ac_exeext &&
33060 $as_test_x conftest$ac_exeext; then
33061 ac_cv_func_connect=yes
33062 else
33063 echo "$as_me: failed program was:" >&5
33064 sed 's/^/| /' conftest.$ac_ext >&5
33065
33066 ac_cv_func_connect=no
33067 fi
33068
33069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33070 conftest$ac_exeext conftest.$ac_ext
33071 fi
33072 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33073 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33074
33075 if test $ac_cv_func_connect = no; then
33076 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33077 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33078 if test "${ac_cv_lib_socket_connect+set}" = set; then
33079 echo $ECHO_N "(cached) $ECHO_C" >&6
33080 else
33081 ac_check_lib_save_LIBS=$LIBS
33082 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33083 cat >conftest.$ac_ext <<_ACEOF
33084 /* confdefs.h. */
33085 _ACEOF
33086 cat confdefs.h >>conftest.$ac_ext
33087 cat >>conftest.$ac_ext <<_ACEOF
33088 /* end confdefs.h. */
33089
33090 /* Override any GCC internal prototype to avoid an error.
33091 Use char because int might match the return type of a GCC
33092 builtin and then its argument prototype would still apply. */
33093 #ifdef __cplusplus
33094 extern "C"
33095 #endif
33096 char connect ();
33097 int
33098 main ()
33099 {
33100 return connect ();
33101 ;
33102 return 0;
33103 }
33104 _ACEOF
33105 rm -f conftest.$ac_objext conftest$ac_exeext
33106 if { (ac_try="$ac_link"
33107 case "(($ac_try" in
33108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33109 *) ac_try_echo=$ac_try;;
33110 esac
33111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33112 (eval "$ac_link") 2>conftest.er1
33113 ac_status=$?
33114 grep -v '^ *+' conftest.er1 >conftest.err
33115 rm -f conftest.er1
33116 cat conftest.err >&5
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); } && {
33119 test -z "$ac_c_werror_flag" ||
33120 test ! -s conftest.err
33121 } && test -s conftest$ac_exeext &&
33122 $as_test_x conftest$ac_exeext; then
33123 ac_cv_lib_socket_connect=yes
33124 else
33125 echo "$as_me: failed program was:" >&5
33126 sed 's/^/| /' conftest.$ac_ext >&5
33127
33128 ac_cv_lib_socket_connect=no
33129 fi
33130
33131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33132 conftest$ac_exeext conftest.$ac_ext
33133 LIBS=$ac_check_lib_save_LIBS
33134 fi
33135 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33136 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33137 if test $ac_cv_lib_socket_connect = yes; then
33138 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33139 fi
33140
33141 fi
33142
33143 # Guillermo Gomez says -lposix is necessary on A/UX.
33144 { echo "$as_me:$LINENO: checking for remove" >&5
33145 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33146 if test "${ac_cv_func_remove+set}" = set; then
33147 echo $ECHO_N "(cached) $ECHO_C" >&6
33148 else
33149 cat >conftest.$ac_ext <<_ACEOF
33150 /* confdefs.h. */
33151 _ACEOF
33152 cat confdefs.h >>conftest.$ac_ext
33153 cat >>conftest.$ac_ext <<_ACEOF
33154 /* end confdefs.h. */
33155 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33157 #define remove innocuous_remove
33158
33159 /* System header to define __stub macros and hopefully few prototypes,
33160 which can conflict with char remove (); below.
33161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33162 <limits.h> exists even on freestanding compilers. */
33163
33164 #ifdef __STDC__
33165 # include <limits.h>
33166 #else
33167 # include <assert.h>
33168 #endif
33169
33170 #undef remove
33171
33172 /* Override any GCC internal prototype to avoid an error.
33173 Use char because int might match the return type of a GCC
33174 builtin and then its argument prototype would still apply. */
33175 #ifdef __cplusplus
33176 extern "C"
33177 #endif
33178 char remove ();
33179 /* The GNU C library defines this for functions which it implements
33180 to always fail with ENOSYS. Some functions are actually named
33181 something starting with __ and the normal name is an alias. */
33182 #if defined __stub_remove || defined __stub___remove
33183 choke me
33184 #endif
33185
33186 int
33187 main ()
33188 {
33189 return remove ();
33190 ;
33191 return 0;
33192 }
33193 _ACEOF
33194 rm -f conftest.$ac_objext conftest$ac_exeext
33195 if { (ac_try="$ac_link"
33196 case "(($ac_try" in
33197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33198 *) ac_try_echo=$ac_try;;
33199 esac
33200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33201 (eval "$ac_link") 2>conftest.er1
33202 ac_status=$?
33203 grep -v '^ *+' conftest.er1 >conftest.err
33204 rm -f conftest.er1
33205 cat conftest.err >&5
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); } && {
33208 test -z "$ac_c_werror_flag" ||
33209 test ! -s conftest.err
33210 } && test -s conftest$ac_exeext &&
33211 $as_test_x conftest$ac_exeext; then
33212 ac_cv_func_remove=yes
33213 else
33214 echo "$as_me: failed program was:" >&5
33215 sed 's/^/| /' conftest.$ac_ext >&5
33216
33217 ac_cv_func_remove=no
33218 fi
33219
33220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33221 conftest$ac_exeext conftest.$ac_ext
33222 fi
33223 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33224 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33225
33226 if test $ac_cv_func_remove = no; then
33227 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33228 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33229 if test "${ac_cv_lib_posix_remove+set}" = set; then
33230 echo $ECHO_N "(cached) $ECHO_C" >&6
33231 else
33232 ac_check_lib_save_LIBS=$LIBS
33233 LIBS="-lposix $LIBS"
33234 cat >conftest.$ac_ext <<_ACEOF
33235 /* confdefs.h. */
33236 _ACEOF
33237 cat confdefs.h >>conftest.$ac_ext
33238 cat >>conftest.$ac_ext <<_ACEOF
33239 /* end confdefs.h. */
33240
33241 /* Override any GCC internal prototype to avoid an error.
33242 Use char because int might match the return type of a GCC
33243 builtin and then its argument prototype would still apply. */
33244 #ifdef __cplusplus
33245 extern "C"
33246 #endif
33247 char remove ();
33248 int
33249 main ()
33250 {
33251 return remove ();
33252 ;
33253 return 0;
33254 }
33255 _ACEOF
33256 rm -f conftest.$ac_objext conftest$ac_exeext
33257 if { (ac_try="$ac_link"
33258 case "(($ac_try" in
33259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33260 *) ac_try_echo=$ac_try;;
33261 esac
33262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33263 (eval "$ac_link") 2>conftest.er1
33264 ac_status=$?
33265 grep -v '^ *+' conftest.er1 >conftest.err
33266 rm -f conftest.er1
33267 cat conftest.err >&5
33268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33269 (exit $ac_status); } && {
33270 test -z "$ac_c_werror_flag" ||
33271 test ! -s conftest.err
33272 } && test -s conftest$ac_exeext &&
33273 $as_test_x conftest$ac_exeext; then
33274 ac_cv_lib_posix_remove=yes
33275 else
33276 echo "$as_me: failed program was:" >&5
33277 sed 's/^/| /' conftest.$ac_ext >&5
33278
33279 ac_cv_lib_posix_remove=no
33280 fi
33281
33282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33283 conftest$ac_exeext conftest.$ac_ext
33284 LIBS=$ac_check_lib_save_LIBS
33285 fi
33286 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33287 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33288 if test $ac_cv_lib_posix_remove = yes; then
33289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33290 fi
33291
33292 fi
33293
33294 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33295 { echo "$as_me:$LINENO: checking for shmat" >&5
33296 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33297 if test "${ac_cv_func_shmat+set}" = set; then
33298 echo $ECHO_N "(cached) $ECHO_C" >&6
33299 else
33300 cat >conftest.$ac_ext <<_ACEOF
33301 /* confdefs.h. */
33302 _ACEOF
33303 cat confdefs.h >>conftest.$ac_ext
33304 cat >>conftest.$ac_ext <<_ACEOF
33305 /* end confdefs.h. */
33306 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33308 #define shmat innocuous_shmat
33309
33310 /* System header to define __stub macros and hopefully few prototypes,
33311 which can conflict with char shmat (); below.
33312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33313 <limits.h> exists even on freestanding compilers. */
33314
33315 #ifdef __STDC__
33316 # include <limits.h>
33317 #else
33318 # include <assert.h>
33319 #endif
33320
33321 #undef shmat
33322
33323 /* Override any GCC internal prototype to avoid an error.
33324 Use char because int might match the return type of a GCC
33325 builtin and then its argument prototype would still apply. */
33326 #ifdef __cplusplus
33327 extern "C"
33328 #endif
33329 char shmat ();
33330 /* The GNU C library defines this for functions which it implements
33331 to always fail with ENOSYS. Some functions are actually named
33332 something starting with __ and the normal name is an alias. */
33333 #if defined __stub_shmat || defined __stub___shmat
33334 choke me
33335 #endif
33336
33337 int
33338 main ()
33339 {
33340 return shmat ();
33341 ;
33342 return 0;
33343 }
33344 _ACEOF
33345 rm -f conftest.$ac_objext conftest$ac_exeext
33346 if { (ac_try="$ac_link"
33347 case "(($ac_try" in
33348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33349 *) ac_try_echo=$ac_try;;
33350 esac
33351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33352 (eval "$ac_link") 2>conftest.er1
33353 ac_status=$?
33354 grep -v '^ *+' conftest.er1 >conftest.err
33355 rm -f conftest.er1
33356 cat conftest.err >&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); } && {
33359 test -z "$ac_c_werror_flag" ||
33360 test ! -s conftest.err
33361 } && test -s conftest$ac_exeext &&
33362 $as_test_x conftest$ac_exeext; then
33363 ac_cv_func_shmat=yes
33364 else
33365 echo "$as_me: failed program was:" >&5
33366 sed 's/^/| /' conftest.$ac_ext >&5
33367
33368 ac_cv_func_shmat=no
33369 fi
33370
33371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33372 conftest$ac_exeext conftest.$ac_ext
33373 fi
33374 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33375 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33376
33377 if test $ac_cv_func_shmat = no; then
33378 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33379 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33380 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33381 echo $ECHO_N "(cached) $ECHO_C" >&6
33382 else
33383 ac_check_lib_save_LIBS=$LIBS
33384 LIBS="-lipc $LIBS"
33385 cat >conftest.$ac_ext <<_ACEOF
33386 /* confdefs.h. */
33387 _ACEOF
33388 cat confdefs.h >>conftest.$ac_ext
33389 cat >>conftest.$ac_ext <<_ACEOF
33390 /* end confdefs.h. */
33391
33392 /* Override any GCC internal prototype to avoid an error.
33393 Use char because int might match the return type of a GCC
33394 builtin and then its argument prototype would still apply. */
33395 #ifdef __cplusplus
33396 extern "C"
33397 #endif
33398 char shmat ();
33399 int
33400 main ()
33401 {
33402 return shmat ();
33403 ;
33404 return 0;
33405 }
33406 _ACEOF
33407 rm -f conftest.$ac_objext conftest$ac_exeext
33408 if { (ac_try="$ac_link"
33409 case "(($ac_try" in
33410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33411 *) ac_try_echo=$ac_try;;
33412 esac
33413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33414 (eval "$ac_link") 2>conftest.er1
33415 ac_status=$?
33416 grep -v '^ *+' conftest.er1 >conftest.err
33417 rm -f conftest.er1
33418 cat conftest.err >&5
33419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33420 (exit $ac_status); } && {
33421 test -z "$ac_c_werror_flag" ||
33422 test ! -s conftest.err
33423 } && test -s conftest$ac_exeext &&
33424 $as_test_x conftest$ac_exeext; then
33425 ac_cv_lib_ipc_shmat=yes
33426 else
33427 echo "$as_me: failed program was:" >&5
33428 sed 's/^/| /' conftest.$ac_ext >&5
33429
33430 ac_cv_lib_ipc_shmat=no
33431 fi
33432
33433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33434 conftest$ac_exeext conftest.$ac_ext
33435 LIBS=$ac_check_lib_save_LIBS
33436 fi
33437 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33438 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33439 if test $ac_cv_lib_ipc_shmat = yes; then
33440 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33441 fi
33442
33443 fi
33444 fi
33445
33446 # Check for libraries that X11R6 Xt/Xaw programs need.
33447 ac_save_LDFLAGS=$LDFLAGS
33448 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33449 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33450 # check for ICE first), but we must link in the order -lSM -lICE or
33451 # we get undefined symbols. So assume we have SM if we have ICE.
33452 # These have to be linked with before -lX11, unlike the other
33453 # libraries we check for below, so use a different variable.
33454 # John Interrante, Karl Berry
33455 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33456 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33457 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33458 echo $ECHO_N "(cached) $ECHO_C" >&6
33459 else
33460 ac_check_lib_save_LIBS=$LIBS
33461 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33462 cat >conftest.$ac_ext <<_ACEOF
33463 /* confdefs.h. */
33464 _ACEOF
33465 cat confdefs.h >>conftest.$ac_ext
33466 cat >>conftest.$ac_ext <<_ACEOF
33467 /* end confdefs.h. */
33468
33469 /* Override any GCC internal prototype to avoid an error.
33470 Use char because int might match the return type of a GCC
33471 builtin and then its argument prototype would still apply. */
33472 #ifdef __cplusplus
33473 extern "C"
33474 #endif
33475 char IceConnectionNumber ();
33476 int
33477 main ()
33478 {
33479 return IceConnectionNumber ();
33480 ;
33481 return 0;
33482 }
33483 _ACEOF
33484 rm -f conftest.$ac_objext conftest$ac_exeext
33485 if { (ac_try="$ac_link"
33486 case "(($ac_try" in
33487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33488 *) ac_try_echo=$ac_try;;
33489 esac
33490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33491 (eval "$ac_link") 2>conftest.er1
33492 ac_status=$?
33493 grep -v '^ *+' conftest.er1 >conftest.err
33494 rm -f conftest.er1
33495 cat conftest.err >&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); } && {
33498 test -z "$ac_c_werror_flag" ||
33499 test ! -s conftest.err
33500 } && test -s conftest$ac_exeext &&
33501 $as_test_x conftest$ac_exeext; then
33502 ac_cv_lib_ICE_IceConnectionNumber=yes
33503 else
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.$ac_ext >&5
33506
33507 ac_cv_lib_ICE_IceConnectionNumber=no
33508 fi
33509
33510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33511 conftest$ac_exeext conftest.$ac_ext
33512 LIBS=$ac_check_lib_save_LIBS
33513 fi
33514 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33515 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33516 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33517 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33518 fi
33519
33520 LDFLAGS=$ac_save_LDFLAGS
33521
33522 fi
33523
33524
33525 if test "$no_x" = "yes"; then
33526 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33527 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33528 { (exit 1); exit 1; }; }
33529 fi
33530
33531 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33532 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33533 AFMINSTALL=afminstall
33534 COMPILED_X_PROGRAM=0
33535
33536 fi
33537
33538 if test "$wxUSE_X11" = 1; then
33539 if test "$wxUSE_NANOX" = "yes"; then
33540 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33541 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33542 if test "x$MICROWIN" = x ; then
33543 { echo "$as_me:$LINENO: result: not found" >&5
33544 echo "${ECHO_T}not found" >&6; }
33545 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33546 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33547 { (exit 1); exit 1; }; }
33548 else
33549 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33550 echo "${ECHO_T}$MICROWIN" >&6; }
33551 cat >>confdefs.h <<\_ACEOF
33552 #define wxUSE_NANOX 1
33553 _ACEOF
33554
33555 fi
33556 fi
33557
33558 if test "$wxUSE_UNICODE" = "yes"; then
33559
33560
33561 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33562 if test -n "$ac_tool_prefix"; then
33563 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33564 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33567 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33568 echo $ECHO_N "(cached) $ECHO_C" >&6
33569 else
33570 case $PKG_CONFIG in
33571 [\\/]* | ?:[\\/]*)
33572 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33573 ;;
33574 *)
33575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33576 for as_dir in $PATH
33577 do
33578 IFS=$as_save_IFS
33579 test -z "$as_dir" && as_dir=.
33580 for ac_exec_ext in '' $ac_executable_extensions; do
33581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33582 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33584 break 2
33585 fi
33586 done
33587 done
33588 IFS=$as_save_IFS
33589
33590 ;;
33591 esac
33592 fi
33593 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33594 if test -n "$PKG_CONFIG"; then
33595 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33596 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33597 else
33598 { echo "$as_me:$LINENO: result: no" >&5
33599 echo "${ECHO_T}no" >&6; }
33600 fi
33601
33602
33603 fi
33604 if test -z "$ac_cv_path_PKG_CONFIG"; then
33605 ac_pt_PKG_CONFIG=$PKG_CONFIG
33606 # Extract the first word of "pkg-config", so it can be a program name with args.
33607 set dummy pkg-config; ac_word=$2
33608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33610 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33611 echo $ECHO_N "(cached) $ECHO_C" >&6
33612 else
33613 case $ac_pt_PKG_CONFIG in
33614 [\\/]* | ?:[\\/]*)
33615 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33616 ;;
33617 *)
33618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33619 for as_dir in $PATH
33620 do
33621 IFS=$as_save_IFS
33622 test -z "$as_dir" && as_dir=.
33623 for ac_exec_ext in '' $ac_executable_extensions; do
33624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33625 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33627 break 2
33628 fi
33629 done
33630 done
33631 IFS=$as_save_IFS
33632
33633 ;;
33634 esac
33635 fi
33636 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33637 if test -n "$ac_pt_PKG_CONFIG"; then
33638 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33639 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33640 else
33641 { echo "$as_me:$LINENO: result: no" >&5
33642 echo "${ECHO_T}no" >&6; }
33643 fi
33644
33645 if test "x$ac_pt_PKG_CONFIG" = x; then
33646 PKG_CONFIG=""
33647 else
33648 case $cross_compiling:$ac_tool_warned in
33649 yes:)
33650 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33651 whose name does not start with the host triplet. If you think this
33652 configuration is useful to you, please write to autoconf@gnu.org." >&5
33653 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33654 whose name does not start with the host triplet. If you think this
33655 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33656 ac_tool_warned=yes ;;
33657 esac
33658 PKG_CONFIG=$ac_pt_PKG_CONFIG
33659 fi
33660 else
33661 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33662 fi
33663
33664 fi
33665 if test -n "$PKG_CONFIG"; then
33666 _pkg_min_version=0.9.0
33667 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33668 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33669 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33670 { echo "$as_me:$LINENO: result: yes" >&5
33671 echo "${ECHO_T}yes" >&6; }
33672 else
33673 { echo "$as_me:$LINENO: result: no" >&5
33674 echo "${ECHO_T}no" >&6; }
33675 PKG_CONFIG=""
33676 fi
33677
33678 fi
33679
33680
33681 pkg_failed=no
33682 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33683 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33684
33685 if test -n "$PKG_CONFIG"; then
33686 if test -n "$PANGOX_CFLAGS"; then
33687 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33688 else
33689 if test -n "$PKG_CONFIG" && \
33690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33691 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33692 ac_status=$?
33693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33694 (exit $ac_status); }; then
33695 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33696 else
33697 pkg_failed=yes
33698 fi
33699 fi
33700 else
33701 pkg_failed=untried
33702 fi
33703 if test -n "$PKG_CONFIG"; then
33704 if test -n "$PANGOX_LIBS"; then
33705 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33706 else
33707 if test -n "$PKG_CONFIG" && \
33708 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33709 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33710 ac_status=$?
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); }; then
33713 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33714 else
33715 pkg_failed=yes
33716 fi
33717 fi
33718 else
33719 pkg_failed=untried
33720 fi
33721
33722
33723
33724 if test $pkg_failed = yes; then
33725
33726 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33727 _pkg_short_errors_supported=yes
33728 else
33729 _pkg_short_errors_supported=no
33730 fi
33731 if test $_pkg_short_errors_supported = yes; then
33732 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33733 else
33734 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33735 fi
33736 # Put the nasty error message in config.log where it belongs
33737 echo "$PANGOX_PKG_ERRORS" >&5
33738
33739
33740 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33741 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33742 { (exit 1); exit 1; }; }
33743
33744
33745 elif test $pkg_failed = untried; then
33746
33747 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33748 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33749 { (exit 1); exit 1; }; }
33750
33751
33752 else
33753 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33754 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33755 { echo "$as_me:$LINENO: result: yes" >&5
33756 echo "${ECHO_T}yes" >&6; }
33757
33758 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33759 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33760 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33761
33762 fi
33763
33764 pkg_failed=no
33765 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33766 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33767
33768 if test -n "$PKG_CONFIG"; then
33769 if test -n "$PANGOFT2_CFLAGS"; then
33770 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33771 else
33772 if test -n "$PKG_CONFIG" && \
33773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33774 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33775 ac_status=$?
33776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33777 (exit $ac_status); }; then
33778 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33779 else
33780 pkg_failed=yes
33781 fi
33782 fi
33783 else
33784 pkg_failed=untried
33785 fi
33786 if test -n "$PKG_CONFIG"; then
33787 if test -n "$PANGOFT2_LIBS"; then
33788 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33789 else
33790 if test -n "$PKG_CONFIG" && \
33791 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33792 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33793 ac_status=$?
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); }; then
33796 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33797 else
33798 pkg_failed=yes
33799 fi
33800 fi
33801 else
33802 pkg_failed=untried
33803 fi
33804
33805
33806
33807 if test $pkg_failed = yes; then
33808
33809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33810 _pkg_short_errors_supported=yes
33811 else
33812 _pkg_short_errors_supported=no
33813 fi
33814 if test $_pkg_short_errors_supported = yes; then
33815 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33816 else
33817 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33818 fi
33819 # Put the nasty error message in config.log where it belongs
33820 echo "$PANGOFT2_PKG_ERRORS" >&5
33821
33822
33823 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33824 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33825 wxUSE_PRINTING_ARCHITECTURE="no"
33826
33827
33828 elif test $pkg_failed = untried; then
33829
33830 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33831 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33832 wxUSE_PRINTING_ARCHITECTURE="no"
33833
33834
33835 else
33836 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33837 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33838 { echo "$as_me:$LINENO: result: yes" >&5
33839 echo "${ECHO_T}yes" >&6; }
33840
33841 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33842 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33843 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33844
33845 fi
33846
33847 pkg_failed=no
33848 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33849 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33850
33851 if test -n "$PKG_CONFIG"; then
33852 if test -n "$PANGOXFT_CFLAGS"; then
33853 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33854 else
33855 if test -n "$PKG_CONFIG" && \
33856 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33857 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33858 ac_status=$?
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); }; then
33861 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33862 else
33863 pkg_failed=yes
33864 fi
33865 fi
33866 else
33867 pkg_failed=untried
33868 fi
33869 if test -n "$PKG_CONFIG"; then
33870 if test -n "$PANGOXFT_LIBS"; then
33871 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33872 else
33873 if test -n "$PKG_CONFIG" && \
33874 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33875 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33876 ac_status=$?
33877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33878 (exit $ac_status); }; then
33879 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33880 else
33881 pkg_failed=yes
33882 fi
33883 fi
33884 else
33885 pkg_failed=untried
33886 fi
33887
33888
33889
33890 if test $pkg_failed = yes; then
33891
33892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33893 _pkg_short_errors_supported=yes
33894 else
33895 _pkg_short_errors_supported=no
33896 fi
33897 if test $_pkg_short_errors_supported = yes; then
33898 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33899 else
33900 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33901 fi
33902 # Put the nasty error message in config.log where it belongs
33903 echo "$PANGOXFT_PKG_ERRORS" >&5
33904
33905
33906 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33907 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33908
33909
33910 elif test $pkg_failed = untried; then
33911
33912 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33913 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33914
33915
33916 else
33917 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33918 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33919 { echo "$as_me:$LINENO: result: yes" >&5
33920 echo "${ECHO_T}yes" >&6; }
33921
33922 cat >>confdefs.h <<\_ACEOF
33923 #define HAVE_PANGO_XFT 1
33924 _ACEOF
33925
33926 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33927 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33928 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33929
33930 fi
33931 save_LIBS="$LIBS"
33932 LIBS="$LIBS $PANGOX_LIBS"
33933
33934 for ac_func in pango_font_family_is_monospace
33935 do
33936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33937 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33939 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33940 echo $ECHO_N "(cached) $ECHO_C" >&6
33941 else
33942 cat >conftest.$ac_ext <<_ACEOF
33943 /* confdefs.h. */
33944 _ACEOF
33945 cat confdefs.h >>conftest.$ac_ext
33946 cat >>conftest.$ac_ext <<_ACEOF
33947 /* end confdefs.h. */
33948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33950 #define $ac_func innocuous_$ac_func
33951
33952 /* System header to define __stub macros and hopefully few prototypes,
33953 which can conflict with char $ac_func (); below.
33954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33955 <limits.h> exists even on freestanding compilers. */
33956
33957 #ifdef __STDC__
33958 # include <limits.h>
33959 #else
33960 # include <assert.h>
33961 #endif
33962
33963 #undef $ac_func
33964
33965 /* Override any GCC internal prototype to avoid an error.
33966 Use char because int might match the return type of a GCC
33967 builtin and then its argument prototype would still apply. */
33968 #ifdef __cplusplus
33969 extern "C"
33970 #endif
33971 char $ac_func ();
33972 /* The GNU C library defines this for functions which it implements
33973 to always fail with ENOSYS. Some functions are actually named
33974 something starting with __ and the normal name is an alias. */
33975 #if defined __stub_$ac_func || defined __stub___$ac_func
33976 choke me
33977 #endif
33978
33979 int
33980 main ()
33981 {
33982 return $ac_func ();
33983 ;
33984 return 0;
33985 }
33986 _ACEOF
33987 rm -f conftest.$ac_objext conftest$ac_exeext
33988 if { (ac_try="$ac_link"
33989 case "(($ac_try" in
33990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33991 *) ac_try_echo=$ac_try;;
33992 esac
33993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33994 (eval "$ac_link") 2>conftest.er1
33995 ac_status=$?
33996 grep -v '^ *+' conftest.er1 >conftest.err
33997 rm -f conftest.er1
33998 cat conftest.err >&5
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); } && {
34001 test -z "$ac_c_werror_flag" ||
34002 test ! -s conftest.err
34003 } && test -s conftest$ac_exeext &&
34004 $as_test_x conftest$ac_exeext; then
34005 eval "$as_ac_var=yes"
34006 else
34007 echo "$as_me: failed program was:" >&5
34008 sed 's/^/| /' conftest.$ac_ext >&5
34009
34010 eval "$as_ac_var=no"
34011 fi
34012
34013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34014 conftest$ac_exeext conftest.$ac_ext
34015 fi
34016 ac_res=`eval echo '${'$as_ac_var'}'`
34017 { echo "$as_me:$LINENO: result: $ac_res" >&5
34018 echo "${ECHO_T}$ac_res" >&6; }
34019 if test `eval echo '${'$as_ac_var'}'` = yes; then
34020 cat >>confdefs.h <<_ACEOF
34021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34022 _ACEOF
34023
34024 fi
34025 done
34026
34027 LIBS="$save_LIBS"
34028 fi
34029
34030 wxUSE_UNIVERSAL="yes"
34031
34032 if test "$wxUSE_NANOX" = "yes"; then
34033 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34034 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"
34035 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34036 else
34037 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34038 fi
34039
34040 TOOLKIT=X11
34041 GUIDIST=X11_DIST
34042 fi
34043
34044 if test "$wxUSE_MOTIF" = 1; then
34045 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34046 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34047
34048 ac_find_includes=
34049 for ac_dir in $SEARCH_INCLUDE /usr/include;
34050 do
34051 if test -f "$ac_dir/Xm/Xm.h"; then
34052 ac_find_includes=$ac_dir
34053 break
34054 fi
34055 done
34056
34057 if test "$ac_find_includes" != "" ; then
34058 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34059 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34060
34061 if test "x$ac_find_includes" = "x/usr/include"; then
34062 ac_path_to_include=""
34063 else
34064 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34065 result=$?
34066 if test $result = 0; then
34067 ac_path_to_include=""
34068 else
34069 ac_path_to_include=" -I$ac_find_includes"
34070 fi
34071 fi
34072
34073 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34074 else
34075 save_CFLAGS=$CFLAGS
34076 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34077
34078 cat >conftest.$ac_ext <<_ACEOF
34079 /* confdefs.h. */
34080 _ACEOF
34081 cat confdefs.h >>conftest.$ac_ext
34082 cat >>conftest.$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34084
34085 #include <Xm/Xm.h>
34086
34087 int
34088 main ()
34089 {
34090
34091 int version;
34092 version = xmUseVersion;
34093
34094 ;
34095 return 0;
34096 }
34097 _ACEOF
34098 rm -f conftest.$ac_objext
34099 if { (ac_try="$ac_compile"
34100 case "(($ac_try" in
34101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34102 *) ac_try_echo=$ac_try;;
34103 esac
34104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34105 (eval "$ac_compile") 2>conftest.er1
34106 ac_status=$?
34107 grep -v '^ *+' conftest.er1 >conftest.err
34108 rm -f conftest.er1
34109 cat conftest.err >&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } && {
34112 test -z "$ac_c_werror_flag" ||
34113 test ! -s conftest.err
34114 } && test -s conftest.$ac_objext; then
34115
34116 { echo "$as_me:$LINENO: result: found in default search path" >&5
34117 echo "${ECHO_T}found in default search path" >&6; }
34118 COMPILED_X_PROGRAM=1
34119
34120 else
34121 echo "$as_me: failed program was:" >&5
34122 sed 's/^/| /' conftest.$ac_ext >&5
34123
34124
34125 { echo "$as_me:$LINENO: result: no" >&5
34126 echo "${ECHO_T}no" >&6; }
34127 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34128 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34129 { (exit 1); exit 1; }; }
34130
34131
34132 fi
34133
34134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34135
34136 CFLAGS=$save_CFLAGS
34137 fi
34138
34139
34140 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34141 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34142
34143 ac_find_libraries=
34144 for ac_dir in $SEARCH_LIB;
34145 do
34146 for ac_extension in a so sl dylib dll.a; do
34147 if test -f "$ac_dir/libXm.$ac_extension"; then
34148 ac_find_libraries=$ac_dir
34149 break 2
34150 fi
34151 done
34152 done
34153
34154
34155 if test "x$ac_find_libraries" != "x" ; then
34156 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34157 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34158
34159
34160 if test "$ac_find_libraries" = "default location"; then
34161 ac_path_to_link=""
34162 else
34163 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34164 result=$?
34165 if test $result = 0; then
34166 ac_path_to_link=""
34167 else
34168 ac_path_to_link=" -L$ac_find_libraries"
34169 fi
34170 fi
34171
34172 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34173 else
34174 save_CFLAGS=$CFLAGS
34175 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34176 save_LIBS="$LIBS"
34177 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34178
34179 cat >conftest.$ac_ext <<_ACEOF
34180 /* confdefs.h. */
34181 _ACEOF
34182 cat confdefs.h >>conftest.$ac_ext
34183 cat >>conftest.$ac_ext <<_ACEOF
34184 /* end confdefs.h. */
34185
34186 #include <Xm/Xm.h>
34187
34188 int
34189 main ()
34190 {
34191
34192 int version;
34193 version = xmUseVersion;
34194
34195 ;
34196 return 0;
34197 }
34198 _ACEOF
34199 rm -f conftest.$ac_objext conftest$ac_exeext
34200 if { (ac_try="$ac_link"
34201 case "(($ac_try" in
34202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34203 *) ac_try_echo=$ac_try;;
34204 esac
34205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34206 (eval "$ac_link") 2>conftest.er1
34207 ac_status=$?
34208 grep -v '^ *+' conftest.er1 >conftest.err
34209 rm -f conftest.er1
34210 cat conftest.err >&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); } && {
34213 test -z "$ac_c_werror_flag" ||
34214 test ! -s conftest.err
34215 } && test -s conftest$ac_exeext &&
34216 $as_test_x conftest$ac_exeext; then
34217
34218 { echo "$as_me:$LINENO: result: found in default search path" >&5
34219 echo "${ECHO_T}found in default search path" >&6; }
34220 COMPILED_X_PROGRAM=1
34221
34222 else
34223 echo "$as_me: failed program was:" >&5
34224 sed 's/^/| /' conftest.$ac_ext >&5
34225
34226
34227 { echo "$as_me:$LINENO: result: no" >&5
34228 echo "${ECHO_T}no" >&6; }
34229 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34230 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34231 { (exit 1); exit 1; }; }
34232
34233
34234 fi
34235
34236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34237 conftest$ac_exeext conftest.$ac_ext
34238
34239 CFLAGS=$save_CFLAGS
34240 LIBS="$save_LIBS"
34241 fi
34242
34243 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34244 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34245 libp_link=""
34246 libsm_ice_link=""
34247 libs_found=0
34248 for libp in "" " -lXp"; do
34249 if test "$libs_found" = "0"; then
34250 for libsm_ice in "" " -lSM -lICE"; do
34251 if test "$libs_found" = "0"; then
34252 save_LIBS="$LIBS"
34253 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34254 save_CFLAGS=$CFLAGS
34255 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34256
34257 cat >conftest.$ac_ext <<_ACEOF
34258 /* confdefs.h. */
34259 _ACEOF
34260 cat confdefs.h >>conftest.$ac_ext
34261 cat >>conftest.$ac_ext <<_ACEOF
34262 /* end confdefs.h. */
34263
34264 #include <Xm/Xm.h>
34265 #include <Xm/List.h>
34266
34267 int
34268 main ()
34269 {
34270
34271 XmString string = NULL;
34272 Widget w = NULL;
34273 int position = 0;
34274 XmListAddItem(w, string, position);
34275
34276 ;
34277 return 0;
34278 }
34279 _ACEOF
34280 rm -f conftest.$ac_objext conftest$ac_exeext
34281 if { (ac_try="$ac_link"
34282 case "(($ac_try" in
34283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34284 *) ac_try_echo=$ac_try;;
34285 esac
34286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34287 (eval "$ac_link") 2>conftest.er1
34288 ac_status=$?
34289 grep -v '^ *+' conftest.er1 >conftest.err
34290 rm -f conftest.er1
34291 cat conftest.err >&5
34292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34293 (exit $ac_status); } && {
34294 test -z "$ac_c_werror_flag" ||
34295 test ! -s conftest.err
34296 } && test -s conftest$ac_exeext &&
34297 $as_test_x conftest$ac_exeext; then
34298
34299 libp_link="$libp"
34300 libsm_ice_link="$libsm_ice"
34301 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34302 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34303 libs_found=1
34304
34305 else
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34308
34309
34310
34311 fi
34312
34313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34314 conftest$ac_exeext conftest.$ac_ext
34315
34316 LIBS="$save_LIBS"
34317 CFLAGS=$save_CFLAGS
34318 fi
34319 done
34320 fi
34321 done
34322
34323 if test "$libs_found" = "0"; then
34324 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34325 echo "${ECHO_T}can't find the right libraries" >&6; }
34326 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34327 echo "$as_me: error: can't link a simple motif program" >&2;}
34328 { (exit 1); exit 1; }; }
34329 fi
34330
34331 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34332 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34333 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34334 echo $ECHO_N "(cached) $ECHO_C" >&6
34335 else
34336 ac_check_lib_save_LIBS=$LIBS
34337 LIBS="-lSgm $LIBS"
34338 cat >conftest.$ac_ext <<_ACEOF
34339 /* confdefs.h. */
34340 _ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34344
34345 /* Override any GCC internal prototype to avoid an error.
34346 Use char because int might match the return type of a GCC
34347 builtin and then its argument prototype would still apply. */
34348 #ifdef __cplusplus
34349 extern "C"
34350 #endif
34351 char SgCreateList ();
34352 int
34353 main ()
34354 {
34355 return SgCreateList ();
34356 ;
34357 return 0;
34358 }
34359 _ACEOF
34360 rm -f conftest.$ac_objext conftest$ac_exeext
34361 if { (ac_try="$ac_link"
34362 case "(($ac_try" in
34363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34364 *) ac_try_echo=$ac_try;;
34365 esac
34366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34367 (eval "$ac_link") 2>conftest.er1
34368 ac_status=$?
34369 grep -v '^ *+' conftest.er1 >conftest.err
34370 rm -f conftest.er1
34371 cat conftest.err >&5
34372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34373 (exit $ac_status); } && {
34374 test -z "$ac_c_werror_flag" ||
34375 test ! -s conftest.err
34376 } && test -s conftest$ac_exeext &&
34377 $as_test_x conftest$ac_exeext; then
34378 ac_cv_lib_Sgm_SgCreateList=yes
34379 else
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34382
34383 ac_cv_lib_Sgm_SgCreateList=no
34384 fi
34385
34386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34387 conftest$ac_exeext conftest.$ac_ext
34388 LIBS=$ac_check_lib_save_LIBS
34389 fi
34390 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34391 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34392 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34393 libsgm_link=" -lSgm"
34394 fi
34395
34396
34397 save_CFLAGS=$CFLAGS
34398 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34399
34400 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34401 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34402 if test "${wx_cv_lib_motif2+set}" = set; then
34403 echo $ECHO_N "(cached) $ECHO_C" >&6
34404 else
34405 cat >conftest.$ac_ext <<_ACEOF
34406 /* confdefs.h. */
34407 _ACEOF
34408 cat confdefs.h >>conftest.$ac_ext
34409 cat >>conftest.$ac_ext <<_ACEOF
34410 /* end confdefs.h. */
34411
34412 #include <Xm/Xm.h>
34413
34414 int
34415 main ()
34416 {
34417
34418 #if XmVersion < 2000
34419 Not Motif 2
34420 #endif
34421
34422 ;
34423 return 0;
34424 }
34425 _ACEOF
34426 rm -f conftest.$ac_objext
34427 if { (ac_try="$ac_compile"
34428 case "(($ac_try" in
34429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34430 *) ac_try_echo=$ac_try;;
34431 esac
34432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34433 (eval "$ac_compile") 2>conftest.er1
34434 ac_status=$?
34435 grep -v '^ *+' conftest.er1 >conftest.err
34436 rm -f conftest.er1
34437 cat conftest.err >&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); } && {
34440 test -z "$ac_c_werror_flag" ||
34441 test ! -s conftest.err
34442 } && test -s conftest.$ac_objext; then
34443 wx_cv_lib_motif2="yes"
34444 else
34445 echo "$as_me: failed program was:" >&5
34446 sed 's/^/| /' conftest.$ac_ext >&5
34447
34448 wx_cv_lib_motif2="no"
34449 fi
34450
34451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34452 fi
34453 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34454 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34455 if test "$wx_cv_lib_motif2" = "yes"; then
34456 cat >>confdefs.h <<\_ACEOF
34457 #define __WXMOTIF20__ 1
34458 _ACEOF
34459
34460 else
34461 cat >>confdefs.h <<\_ACEOF
34462 #define __WXMOTIF20__ 0
34463 _ACEOF
34464
34465 fi
34466
34467 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34468 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34469 if test "${wx_cv_lib_lesstif+set}" = set; then
34470 echo $ECHO_N "(cached) $ECHO_C" >&6
34471 else
34472 cat >conftest.$ac_ext <<_ACEOF
34473 /* confdefs.h. */
34474 _ACEOF
34475 cat confdefs.h >>conftest.$ac_ext
34476 cat >>conftest.$ac_ext <<_ACEOF
34477 /* end confdefs.h. */
34478
34479 #include <Xm/Xm.h>
34480
34481 int
34482 main ()
34483 {
34484
34485 #if !defined(LesstifVersion) || LesstifVersion <= 0
34486 Not Lesstif
34487 #endif
34488
34489 ;
34490 return 0;
34491 }
34492 _ACEOF
34493 rm -f conftest.$ac_objext
34494 if { (ac_try="$ac_compile"
34495 case "(($ac_try" in
34496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34497 *) ac_try_echo=$ac_try;;
34498 esac
34499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34500 (eval "$ac_compile") 2>conftest.er1
34501 ac_status=$?
34502 grep -v '^ *+' conftest.er1 >conftest.err
34503 rm -f conftest.er1
34504 cat conftest.err >&5
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); } && {
34507 test -z "$ac_c_werror_flag" ||
34508 test ! -s conftest.err
34509 } && test -s conftest.$ac_objext; then
34510 wx_cv_lib_lesstif="yes"
34511 else
34512 echo "$as_me: failed program was:" >&5
34513 sed 's/^/| /' conftest.$ac_ext >&5
34514
34515 wx_cv_lib_lesstif="no"
34516 fi
34517
34518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34519
34520 fi
34521 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34522 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34523 if test "$wx_cv_lib_lesstif" = "yes"; then
34524 cat >>confdefs.h <<\_ACEOF
34525 #define __WXLESSTIF__ 1
34526 _ACEOF
34527
34528 else
34529 cat >>confdefs.h <<\_ACEOF
34530 #define __WXLESSTIF__ 0
34531 _ACEOF
34532
34533 fi
34534
34535 CFLAGS=$save_CFLAGS
34536
34537 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34538 TOOLKIT=MOTIF
34539 GUIDIST=MOTIF_DIST
34540 fi
34541
34542 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34543 if test "$wxUSE_LIBXPM" = "sys"; then
34544 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34545 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34546
34547 ac_find_libraries=
34548 for ac_dir in $SEARCH_LIB;
34549 do
34550 for ac_extension in a so sl dylib dll.a; do
34551 if test -f "$ac_dir/libXpm.$ac_extension"; then
34552 ac_find_libraries=$ac_dir
34553 break 2
34554 fi
34555 done
34556 done
34557
34558 if test "$ac_find_libraries" != "" ; then
34559
34560 if test "$ac_find_libraries" = "default location"; then
34561 ac_path_to_link=""
34562 else
34563 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34564 result=$?
34565 if test $result = 0; then
34566 ac_path_to_link=""
34567 else
34568 ac_path_to_link=" -L$ac_find_libraries"
34569 fi
34570 fi
34571
34572 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34573 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34574 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34575
34576 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34577 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34578 if test "${wx_cv_x11_xpm_h+set}" = set; then
34579 echo $ECHO_N "(cached) $ECHO_C" >&6
34580 else
34581
34582 save_CFLAGS=$CFLAGS
34583 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34584
34585 cat >conftest.$ac_ext <<_ACEOF
34586 /* confdefs.h. */
34587 _ACEOF
34588 cat confdefs.h >>conftest.$ac_ext
34589 cat >>conftest.$ac_ext <<_ACEOF
34590 /* end confdefs.h. */
34591
34592 #include <X11/xpm.h>
34593
34594 int
34595 main ()
34596 {
34597
34598 int version;
34599 version = XpmLibraryVersion();
34600
34601 ;
34602 return 0;
34603 }
34604 _ACEOF
34605 rm -f conftest.$ac_objext
34606 if { (ac_try="$ac_compile"
34607 case "(($ac_try" in
34608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34609 *) ac_try_echo=$ac_try;;
34610 esac
34611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34612 (eval "$ac_compile") 2>conftest.er1
34613 ac_status=$?
34614 grep -v '^ *+' conftest.er1 >conftest.err
34615 rm -f conftest.er1
34616 cat conftest.err >&5
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); } && {
34619 test -z "$ac_c_werror_flag" ||
34620 test ! -s conftest.err
34621 } && test -s conftest.$ac_objext; then
34622 wx_cv_x11_xpm_h=yes
34623 else
34624 echo "$as_me: failed program was:" >&5
34625 sed 's/^/| /' conftest.$ac_ext >&5
34626
34627 wx_cv_x11_xpm_h=no
34628
34629 fi
34630
34631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34632
34633 CFLAGS=$save_CFLAGS
34634
34635
34636 fi
34637 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34638 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34639
34640 if test $wx_cv_x11_xpm_h = "yes"; then
34641 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34642 cat >>confdefs.h <<\_ACEOF
34643 #define wxHAVE_LIB_XPM 1
34644 _ACEOF
34645
34646 else
34647 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34648 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34649 fi
34650 fi
34651
34652 fi
34653
34654 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34655 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34656 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34657 echo $ECHO_N "(cached) $ECHO_C" >&6
34658 else
34659 ac_check_lib_save_LIBS=$LIBS
34660 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34661 cat >conftest.$ac_ext <<_ACEOF
34662 /* confdefs.h. */
34663 _ACEOF
34664 cat confdefs.h >>conftest.$ac_ext
34665 cat >>conftest.$ac_ext <<_ACEOF
34666 /* end confdefs.h. */
34667
34668 /* Override any GCC internal prototype to avoid an error.
34669 Use char because int might match the return type of a GCC
34670 builtin and then its argument prototype would still apply. */
34671 #ifdef __cplusplus
34672 extern "C"
34673 #endif
34674 char XShapeQueryExtension ();
34675 int
34676 main ()
34677 {
34678 return XShapeQueryExtension ();
34679 ;
34680 return 0;
34681 }
34682 _ACEOF
34683 rm -f conftest.$ac_objext conftest$ac_exeext
34684 if { (ac_try="$ac_link"
34685 case "(($ac_try" in
34686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34687 *) ac_try_echo=$ac_try;;
34688 esac
34689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34690 (eval "$ac_link") 2>conftest.er1
34691 ac_status=$?
34692 grep -v '^ *+' conftest.er1 >conftest.err
34693 rm -f conftest.er1
34694 cat conftest.err >&5
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); } && {
34697 test -z "$ac_c_werror_flag" ||
34698 test ! -s conftest.err
34699 } && test -s conftest$ac_exeext &&
34700 $as_test_x conftest$ac_exeext; then
34701 ac_cv_lib_Xext_XShapeQueryExtension=yes
34702 else
34703 echo "$as_me: failed program was:" >&5
34704 sed 's/^/| /' conftest.$ac_ext >&5
34705
34706 ac_cv_lib_Xext_XShapeQueryExtension=no
34707 fi
34708
34709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34710 conftest$ac_exeext conftest.$ac_ext
34711 LIBS=$ac_check_lib_save_LIBS
34712 fi
34713 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34714 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34715 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34716
34717 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34718 wxHAVE_XEXT_LIB=1
34719
34720 fi
34721
34722
34723 if test "$wxHAVE_XEXT_LIB" = 1; then
34724 save_CFLAGS="$CFLAGS"
34725 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34726
34727 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34728 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34729 cat >conftest.$ac_ext <<_ACEOF
34730 /* confdefs.h. */
34731 _ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735
34736 #include <X11/Xlib.h>
34737 #include <X11/extensions/shape.h>
34738
34739 int
34740 main ()
34741 {
34742
34743 int dummy1, dummy2;
34744 XShapeQueryExtension((Display*)NULL,
34745 (int*)NULL, (int*)NULL);
34746
34747 ;
34748 return 0;
34749 }
34750 _ACEOF
34751 rm -f conftest.$ac_objext
34752 if { (ac_try="$ac_compile"
34753 case "(($ac_try" in
34754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34755 *) ac_try_echo=$ac_try;;
34756 esac
34757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34758 (eval "$ac_compile") 2>conftest.er1
34759 ac_status=$?
34760 grep -v '^ *+' conftest.er1 >conftest.err
34761 rm -f conftest.er1
34762 cat conftest.err >&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); } && {
34765 test -z "$ac_c_werror_flag" ||
34766 test ! -s conftest.err
34767 } && test -s conftest.$ac_objext; then
34768
34769 cat >>confdefs.h <<\_ACEOF
34770 #define HAVE_XSHAPE 1
34771 _ACEOF
34772
34773 { echo "$as_me:$LINENO: result: found" >&5
34774 echo "${ECHO_T}found" >&6; }
34775
34776 else
34777 echo "$as_me: failed program was:" >&5
34778 sed 's/^/| /' conftest.$ac_ext >&5
34779
34780
34781 { echo "$as_me:$LINENO: result: not found" >&5
34782 echo "${ECHO_T}not found" >&6; }
34783
34784 fi
34785
34786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34787 CFLAGS="$save_CFLAGS"
34788
34789 fi
34790 fi
34791
34792 if test "$wxUSE_MAC" = 1; then
34793 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34794 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34795 if test "$GCC" = yes; then
34796 { echo "$as_me:$LINENO: result: gcc" >&5
34797 echo "${ECHO_T}gcc" >&6; }
34798 CPPFLAGS_PASCAL="-fpascal-strings"
34799 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34800 { echo "$as_me:$LINENO: result: xlc" >&5
34801 echo "${ECHO_T}xlc" >&6; }
34802 CPPFLAGS_PASCAL="-qmacpstr"
34803 else
34804 { echo "$as_me:$LINENO: result: none" >&5
34805 echo "${ECHO_T}none" >&6; }
34806 fi
34807
34808 if test "x$wxUSE_UNIX" = "xyes"; then
34809 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34810 else
34811 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34812 fi
34813
34814 TOOLKIT=MAC
34815 GUIDIST=MACX_DIST
34816 WXBASEPORT="_carbon"
34817 fi
34818
34819 if test "$wxUSE_COCOA" = 1; then
34820 TOOLKIT=COCOA
34821 GUIDIST=COCOA_DIST
34822 fi
34823
34824 if test "$wxUSE_PM" = 1; then
34825 TOOLKIT=PM
34826 GUIDIST=PM_DIST
34827 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34828 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34829 if test "${wx_cv_spbcdata+set}" = set; then
34830 echo $ECHO_N "(cached) $ECHO_C" >&6
34831 else
34832
34833 cat >conftest.$ac_ext <<_ACEOF
34834 /* confdefs.h. */
34835 _ACEOF
34836 cat confdefs.h >>conftest.$ac_ext
34837 cat >>conftest.$ac_ext <<_ACEOF
34838 /* end confdefs.h. */
34839
34840 #define INCL_PM
34841 #include <os2.h>
34842
34843 int
34844 main ()
34845 {
34846
34847 SPBCDATA test;
34848
34849 ;
34850 return 0;
34851 }
34852 _ACEOF
34853 rm -f conftest.$ac_objext
34854 if { (ac_try="$ac_compile"
34855 case "(($ac_try" in
34856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34857 *) ac_try_echo=$ac_try;;
34858 esac
34859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34860 (eval "$ac_compile") 2>conftest.er1
34861 ac_status=$?
34862 grep -v '^ *+' conftest.er1 >conftest.err
34863 rm -f conftest.er1
34864 cat conftest.err >&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } && {
34867 test -z "$ac_c_werror_flag" ||
34868 test ! -s conftest.err
34869 } && test -s conftest.$ac_objext; then
34870 wx_cv_spbcdata=yes
34871 else
34872 echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.$ac_ext >&5
34874
34875 wx_cv_spbcdata=no
34876
34877 fi
34878
34879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34880
34881
34882 fi
34883 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34884 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34885
34886 if test $wx_cv_spbcdata = "yes"; then
34887 cat >>confdefs.h <<\_ACEOF
34888 #define HAVE_SPBCDATA 1
34889 _ACEOF
34890
34891 fi
34892 fi
34893
34894 if test "$TOOLKIT" = "PM" ; then
34895 TOOLKIT_DIR="os2"
34896 else
34897 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34898 fi
34899
34900 if test "$wxUSE_UNIVERSAL" = "yes"; then
34901 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34902 WIDGET_SET=univ
34903 fi
34904
34905 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34906 DISTDIR="wx\$(TOOLKIT)"
34907 else
34908 USE_GUI=0
34909
34910 TOOLKIT_DIR="base"
34911
34912 if test "$USE_WIN32" = 1 ; then
34913 TOOLKIT="MSW"
34914 fi
34915
34916 GUIDIST="BASE_DIST"
34917 DISTDIR="wxBase"
34918 fi
34919
34920
34921
34922 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34923 if test "$TOOLKIT" = "DFB" ; then
34924 wxUSE_UNICODE_UTF8=yes
34925 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34926 wxUSE_UNICODE_UTF8=yes
34927 elif test "$USE_OS2" = "1" ; then
34928 wxUSE_UNICODE_UTF8=yes
34929 else
34930 wxUSE_UNICODE_UTF8=no
34931 fi
34932 fi
34933
34934
34935 if test "$wxUSE_GUI" = "yes"; then
34936 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34937
34938 for ac_header in X11/Xlib.h
34939 do
34940 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34941 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34944 echo $ECHO_N "(cached) $ECHO_C" >&6
34945 else
34946 cat >conftest.$ac_ext <<_ACEOF
34947 /* confdefs.h. */
34948 _ACEOF
34949 cat confdefs.h >>conftest.$ac_ext
34950 cat >>conftest.$ac_ext <<_ACEOF
34951 /* end confdefs.h. */
34952
34953
34954 #include <$ac_header>
34955 _ACEOF
34956 rm -f conftest.$ac_objext
34957 if { (ac_try="$ac_compile"
34958 case "(($ac_try" in
34959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34960 *) ac_try_echo=$ac_try;;
34961 esac
34962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34963 (eval "$ac_compile") 2>conftest.er1
34964 ac_status=$?
34965 grep -v '^ *+' conftest.er1 >conftest.err
34966 rm -f conftest.er1
34967 cat conftest.err >&5
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); } && {
34970 test -z "$ac_c_werror_flag" ||
34971 test ! -s conftest.err
34972 } && test -s conftest.$ac_objext; then
34973 eval "$as_ac_Header=yes"
34974 else
34975 echo "$as_me: failed program was:" >&5
34976 sed 's/^/| /' conftest.$ac_ext >&5
34977
34978 eval "$as_ac_Header=no"
34979 fi
34980
34981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34982 fi
34983 ac_res=`eval echo '${'$as_ac_Header'}'`
34984 { echo "$as_me:$LINENO: result: $ac_res" >&5
34985 echo "${ECHO_T}$ac_res" >&6; }
34986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34987 cat >>confdefs.h <<_ACEOF
34988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34989 _ACEOF
34990
34991 fi
34992
34993 done
34994
34995
34996 for ac_header in X11/XKBlib.h
34997 do
34998 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34999 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35001 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35002 echo $ECHO_N "(cached) $ECHO_C" >&6
35003 else
35004 cat >conftest.$ac_ext <<_ACEOF
35005 /* confdefs.h. */
35006 _ACEOF
35007 cat confdefs.h >>conftest.$ac_ext
35008 cat >>conftest.$ac_ext <<_ACEOF
35009 /* end confdefs.h. */
35010
35011 #if HAVE_X11_XLIB_H
35012 #include <X11/Xlib.h>
35013 #endif
35014
35015
35016 #include <$ac_header>
35017 _ACEOF
35018 rm -f conftest.$ac_objext
35019 if { (ac_try="$ac_compile"
35020 case "(($ac_try" in
35021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35022 *) ac_try_echo=$ac_try;;
35023 esac
35024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35025 (eval "$ac_compile") 2>conftest.er1
35026 ac_status=$?
35027 grep -v '^ *+' conftest.er1 >conftest.err
35028 rm -f conftest.er1
35029 cat conftest.err >&5
35030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35031 (exit $ac_status); } && {
35032 test -z "$ac_c_werror_flag" ||
35033 test ! -s conftest.err
35034 } && test -s conftest.$ac_objext; then
35035 eval "$as_ac_Header=yes"
35036 else
35037 echo "$as_me: failed program was:" >&5
35038 sed 's/^/| /' conftest.$ac_ext >&5
35039
35040 eval "$as_ac_Header=no"
35041 fi
35042
35043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35044 fi
35045 ac_res=`eval echo '${'$as_ac_Header'}'`
35046 { echo "$as_me:$LINENO: result: $ac_res" >&5
35047 echo "${ECHO_T}$ac_res" >&6; }
35048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35049 cat >>confdefs.h <<_ACEOF
35050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35051 _ACEOF
35052
35053 fi
35054
35055 done
35056
35057 fi
35058 fi
35059
35060
35061
35062 IODBC_C_SRC=""
35063
35064
35065 if test "$TOOLKIT" != "MSW" ; then
35066
35067 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35068
35069 { echo "$as_me:$LINENO: checking for sql.h" >&5
35070 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35071 if test "${ac_cv_header_sql_h+set}" = set; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35073 else
35074 cat >conftest.$ac_ext <<_ACEOF
35075 /* confdefs.h. */
35076 _ACEOF
35077 cat confdefs.h >>conftest.$ac_ext
35078 cat >>conftest.$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35080
35081
35082 #include <sql.h>
35083 _ACEOF
35084 rm -f conftest.$ac_objext
35085 if { (ac_try="$ac_compile"
35086 case "(($ac_try" in
35087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35088 *) ac_try_echo=$ac_try;;
35089 esac
35090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35091 (eval "$ac_compile") 2>conftest.er1
35092 ac_status=$?
35093 grep -v '^ *+' conftest.er1 >conftest.err
35094 rm -f conftest.er1
35095 cat conftest.err >&5
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); } && {
35098 test -z "$ac_c_werror_flag" ||
35099 test ! -s conftest.err
35100 } && test -s conftest.$ac_objext; then
35101 ac_cv_header_sql_h=yes
35102 else
35103 echo "$as_me: failed program was:" >&5
35104 sed 's/^/| /' conftest.$ac_ext >&5
35105
35106 ac_cv_header_sql_h=no
35107 fi
35108
35109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35110 fi
35111 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35112 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35113 if test $ac_cv_header_sql_h = yes; then
35114 found_sql_h=1
35115 fi
35116
35117
35118 if test "x$found_sql_h" = "x1" ; then
35119 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35120 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35121 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35122 echo $ECHO_N "(cached) $ECHO_C" >&6
35123 else
35124 ac_check_lib_save_LIBS=$LIBS
35125 LIBS="-liodbc $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
35134 Use char because int might match the return type of a GCC
35135 builtin and then its argument prototype would still apply. */
35136 #ifdef __cplusplus
35137 extern "C"
35138 #endif
35139 char SQLAllocEnv ();
35140 int
35141 main ()
35142 {
35143 return SQLAllocEnv ();
35144 ;
35145 return 0;
35146 }
35147 _ACEOF
35148 rm -f conftest.$ac_objext conftest$ac_exeext
35149 if { (ac_try="$ac_link"
35150 case "(($ac_try" in
35151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35152 *) ac_try_echo=$ac_try;;
35153 esac
35154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35155 (eval "$ac_link") 2>conftest.er1
35156 ac_status=$?
35157 grep -v '^ *+' conftest.er1 >conftest.err
35158 rm -f conftest.er1
35159 cat conftest.err >&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); } && {
35162 test -z "$ac_c_werror_flag" ||
35163 test ! -s conftest.err
35164 } && test -s conftest$ac_exeext &&
35165 $as_test_x conftest$ac_exeext; then
35166 ac_cv_lib_iodbc_SQLAllocEnv=yes
35167 else
35168 echo "$as_me: failed program was:" >&5
35169 sed 's/^/| /' conftest.$ac_ext >&5
35170
35171 ac_cv_lib_iodbc_SQLAllocEnv=no
35172 fi
35173
35174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35175 conftest$ac_exeext conftest.$ac_ext
35176 LIBS=$ac_check_lib_save_LIBS
35177 fi
35178 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35179 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35180 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35181 ODBC_LINK=" -liodbc"
35182 else
35183
35184 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35185 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35186 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35187 echo $ECHO_N "(cached) $ECHO_C" >&6
35188 else
35189 ac_check_lib_save_LIBS=$LIBS
35190 LIBS="-lunixodbc $LIBS"
35191 cat >conftest.$ac_ext <<_ACEOF
35192 /* confdefs.h. */
35193 _ACEOF
35194 cat confdefs.h >>conftest.$ac_ext
35195 cat >>conftest.$ac_ext <<_ACEOF
35196 /* end confdefs.h. */
35197
35198 /* Override any GCC internal prototype to avoid an error.
35199 Use char because int might match the return type of a GCC
35200 builtin and then its argument prototype would still apply. */
35201 #ifdef __cplusplus
35202 extern "C"
35203 #endif
35204 char SQLAllocEnv ();
35205 int
35206 main ()
35207 {
35208 return SQLAllocEnv ();
35209 ;
35210 return 0;
35211 }
35212 _ACEOF
35213 rm -f conftest.$ac_objext conftest$ac_exeext
35214 if { (ac_try="$ac_link"
35215 case "(($ac_try" in
35216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35217 *) ac_try_echo=$ac_try;;
35218 esac
35219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35220 (eval "$ac_link") 2>conftest.er1
35221 ac_status=$?
35222 grep -v '^ *+' conftest.er1 >conftest.err
35223 rm -f conftest.er1
35224 cat conftest.err >&5
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); } && {
35227 test -z "$ac_c_werror_flag" ||
35228 test ! -s conftest.err
35229 } && test -s conftest$ac_exeext &&
35230 $as_test_x conftest$ac_exeext; then
35231 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35232 else
35233 echo "$as_me: failed program was:" >&5
35234 sed 's/^/| /' conftest.$ac_ext >&5
35235
35236 ac_cv_lib_unixodbc_SQLAllocEnv=no
35237 fi
35238
35239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35240 conftest$ac_exeext conftest.$ac_ext
35241 LIBS=$ac_check_lib_save_LIBS
35242 fi
35243 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35244 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35245 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35246 ODBC_LINK=" -lunixodbc"
35247 else
35248
35249 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35250 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35251 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35252 echo $ECHO_N "(cached) $ECHO_C" >&6
35253 else
35254 ac_check_lib_save_LIBS=$LIBS
35255 LIBS="-lodbc $LIBS"
35256 cat >conftest.$ac_ext <<_ACEOF
35257 /* confdefs.h. */
35258 _ACEOF
35259 cat confdefs.h >>conftest.$ac_ext
35260 cat >>conftest.$ac_ext <<_ACEOF
35261 /* end confdefs.h. */
35262
35263 /* Override any GCC internal prototype to avoid an error.
35264 Use char because int might match the return type of a GCC
35265 builtin and then its argument prototype would still apply. */
35266 #ifdef __cplusplus
35267 extern "C"
35268 #endif
35269 char SQLAllocEnv ();
35270 int
35271 main ()
35272 {
35273 return SQLAllocEnv ();
35274 ;
35275 return 0;
35276 }
35277 _ACEOF
35278 rm -f conftest.$ac_objext conftest$ac_exeext
35279 if { (ac_try="$ac_link"
35280 case "(($ac_try" in
35281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35282 *) ac_try_echo=$ac_try;;
35283 esac
35284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35285 (eval "$ac_link") 2>conftest.er1
35286 ac_status=$?
35287 grep -v '^ *+' conftest.er1 >conftest.err
35288 rm -f conftest.er1
35289 cat conftest.err >&5
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); } && {
35292 test -z "$ac_c_werror_flag" ||
35293 test ! -s conftest.err
35294 } && test -s conftest$ac_exeext &&
35295 $as_test_x conftest$ac_exeext; then
35296 ac_cv_lib_odbc_SQLAllocEnv=yes
35297 else
35298 echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.$ac_ext >&5
35300
35301 ac_cv_lib_odbc_SQLAllocEnv=no
35302 fi
35303
35304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35305 conftest$ac_exeext conftest.$ac_ext
35306 LIBS=$ac_check_lib_save_LIBS
35307 fi
35308 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35309 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35310 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35311 ODBC_LINK=" -lodbc"
35312 fi
35313
35314
35315 fi
35316
35317
35318 fi
35319
35320 fi
35321 if test "x$ODBC_LINK" = "x" ; then
35322 if test "$wxUSE_ODBC" = "sys" ; then
35323 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35324 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35325 { (exit 1); exit 1; }; }
35326 else
35327 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35328 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35329 wxUSE_ODBC=builtin
35330 fi
35331 else
35332 wxUSE_ODBC=sys
35333 fi
35334 fi
35335
35336 if test "$wxUSE_ODBC" = "builtin" ; then
35337 cat >>confdefs.h <<\_ACEOF
35338 #define wxUSE_BUILTIN_IODBC 1
35339 _ACEOF
35340
35341 fi
35342 fi
35343
35344 if test "$wxUSE_ODBC" != "no" ; then
35345 cat >>confdefs.h <<\_ACEOF
35346 #define wxUSE_ODBC 1
35347 _ACEOF
35348
35349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35350
35351 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35352 fi
35353
35354
35355 if test "$wxUSE_DISPLAY" = "yes"; then
35356 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35357 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35358 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35359
35360 ac_find_libraries=
35361 for ac_dir in $SEARCH_LIB;
35362 do
35363 for ac_extension in a so sl dylib dll.a; do
35364 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35365 ac_find_libraries=$ac_dir
35366 break 2
35367 fi
35368 done
35369 done
35370
35371 if test "$ac_find_libraries" != "" ; then
35372
35373 if test "$ac_find_libraries" = "default location"; then
35374 ac_path_to_link=""
35375 else
35376 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35377 result=$?
35378 if test $result = 0; then
35379 ac_path_to_link=""
35380 else
35381 ac_path_to_link=" -L$ac_find_libraries"
35382 fi
35383 fi
35384
35385 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35386 LDFLAGS="$LDFLAGS $ac_path_to_link"
35387 fi
35388 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35389 { echo "$as_me:$LINENO: result: yes" >&5
35390 echo "${ECHO_T}yes" >&6; }
35391
35392 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35393 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35394
35395 ac_find_libraries=
35396 for ac_dir in $SEARCH_LIB;
35397 do
35398 for ac_extension in a so sl dylib dll.a; do
35399 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35400 ac_find_libraries=$ac_dir
35401 break 2
35402 fi
35403 done
35404 done
35405
35406 if test "$ac_find_libraries" != "" ; then
35407 { echo "$as_me:$LINENO: result: yes" >&5
35408 echo "${ECHO_T}yes" >&6; }
35409
35410 for ac_header in X11/extensions/xf86vmode.h
35411 do
35412 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35413 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35416 echo $ECHO_N "(cached) $ECHO_C" >&6
35417 else
35418 cat >conftest.$ac_ext <<_ACEOF
35419 /* confdefs.h. */
35420 _ACEOF
35421 cat confdefs.h >>conftest.$ac_ext
35422 cat >>conftest.$ac_ext <<_ACEOF
35423 /* end confdefs.h. */
35424
35425 #if HAVE_X11_XLIB_H
35426 #include <X11/Xlib.h>
35427 #endif
35428
35429
35430 #include <$ac_header>
35431 _ACEOF
35432 rm -f conftest.$ac_objext
35433 if { (ac_try="$ac_compile"
35434 case "(($ac_try" in
35435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35436 *) ac_try_echo=$ac_try;;
35437 esac
35438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35439 (eval "$ac_compile") 2>conftest.er1
35440 ac_status=$?
35441 grep -v '^ *+' conftest.er1 >conftest.err
35442 rm -f conftest.er1
35443 cat conftest.err >&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); } && {
35446 test -z "$ac_c_werror_flag" ||
35447 test ! -s conftest.err
35448 } && test -s conftest.$ac_objext; then
35449 eval "$as_ac_Header=yes"
35450 else
35451 echo "$as_me: failed program was:" >&5
35452 sed 's/^/| /' conftest.$ac_ext >&5
35453
35454 eval "$as_ac_Header=no"
35455 fi
35456
35457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35458 fi
35459 ac_res=`eval echo '${'$as_ac_Header'}'`
35460 { echo "$as_me:$LINENO: result: $ac_res" >&5
35461 echo "${ECHO_T}$ac_res" >&6; }
35462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35463 cat >>confdefs.h <<_ACEOF
35464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35465 _ACEOF
35466
35467 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35468
35469 fi
35470
35471 done
35472
35473 else
35474 { echo "$as_me:$LINENO: result: no" >&5
35475 echo "${ECHO_T}no" >&6; }
35476 fi
35477
35478 else
35479 { echo "$as_me:$LINENO: result: no" >&5
35480 echo "${ECHO_T}no" >&6; }
35481 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35482 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35483 wxUSE_DISPLAY="no"
35484 fi
35485 elif test "$wxUSE_MSW" = 1; then
35486 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35487 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35488 if test "${ac_cv_header_ddraw_h+set}" = set; then
35489 echo $ECHO_N "(cached) $ECHO_C" >&6
35490 else
35491 cat >conftest.$ac_ext <<_ACEOF
35492 /* confdefs.h. */
35493 _ACEOF
35494 cat confdefs.h >>conftest.$ac_ext
35495 cat >>conftest.$ac_ext <<_ACEOF
35496 /* end confdefs.h. */
35497 #include <windows.h>
35498
35499 #include <ddraw.h>
35500 _ACEOF
35501 rm -f conftest.$ac_objext
35502 if { (ac_try="$ac_compile"
35503 case "(($ac_try" in
35504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35505 *) ac_try_echo=$ac_try;;
35506 esac
35507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35508 (eval "$ac_compile") 2>conftest.er1
35509 ac_status=$?
35510 grep -v '^ *+' conftest.er1 >conftest.err
35511 rm -f conftest.er1
35512 cat conftest.err >&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); } && {
35515 test -z "$ac_c_werror_flag" ||
35516 test ! -s conftest.err
35517 } && test -s conftest.$ac_objext; then
35518 ac_cv_header_ddraw_h=yes
35519 else
35520 echo "$as_me: failed program was:" >&5
35521 sed 's/^/| /' conftest.$ac_ext >&5
35522
35523 ac_cv_header_ddraw_h=no
35524 fi
35525
35526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35527 fi
35528 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35529 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35530
35531
35532 fi
35533 fi
35534
35535 if test "$wxUSE_DETECT_SM" = "yes"; then
35536 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35537 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35538 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35539
35540 ac_find_libraries=
35541 for ac_dir in $SEARCH_LIB;
35542 do
35543 for ac_extension in a so sl dylib dll.a; do
35544 if test -f "$ac_dir/libSM.$ac_extension"; then
35545 ac_find_libraries=$ac_dir
35546 break 2
35547 fi
35548 done
35549 done
35550
35551 if test "$ac_find_libraries" != "" ; then
35552
35553 if test "$ac_find_libraries" = "default location"; then
35554 ac_path_to_link=""
35555 else
35556 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35557 result=$?
35558 if test $result = 0; then
35559 ac_path_to_link=""
35560 else
35561 ac_path_to_link=" -L$ac_find_libraries"
35562 fi
35563 fi
35564
35565 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35566 LDFLAGS="$LDFLAGS $ac_path_to_link"
35567 fi
35568 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35569 { echo "$as_me:$LINENO: result: yes" >&5
35570 echo "${ECHO_T}yes" >&6; }
35571 else
35572 { echo "$as_me:$LINENO: result: no" >&5
35573 echo "${ECHO_T}no" >&6; }
35574 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35575 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35576 wxUSE_DETECT_SM="no"
35577 fi
35578 else
35579 wxUSE_DETECT_SM="no"
35580 fi
35581 fi
35582
35583
35584
35585 USE_OPENGL=0
35586 if test "$wxUSE_OPENGL" = "yes"; then
35587 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35588 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35589 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35590 wxUSE_OPENGL="no"
35591 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35592 OPENGL_LIBS="-framework OpenGL -framework AGL"
35593 elif test "$wxUSE_MSW" = 1; then
35594 OPENGL_LIBS="-lopengl32 -lglu32"
35595 else
35596 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35597 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35598
35599 ac_find_includes=
35600 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35601 do
35602 if test -f "$ac_dir/GL/gl.h"; then
35603 ac_find_includes=$ac_dir
35604 break
35605 fi
35606 done
35607
35608 if test "$ac_find_includes" != "" ; then
35609 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35610 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35611
35612 if test "x$ac_find_includes" = "x/usr/include"; then
35613 ac_path_to_include=""
35614 else
35615 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35616 result=$?
35617 if test $result = 0; then
35618 ac_path_to_include=""
35619 else
35620 ac_path_to_include=" -I$ac_find_includes"
35621 fi
35622 fi
35623
35624 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35625 else
35626 { echo "$as_me:$LINENO: result: not found" >&5
35627 echo "${ECHO_T}not found" >&6; }
35628 fi
35629
35630 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35631 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35632 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35633 echo $ECHO_N "(cached) $ECHO_C" >&6
35634 else
35635 cat >conftest.$ac_ext <<_ACEOF
35636 /* confdefs.h. */
35637 _ACEOF
35638 cat confdefs.h >>conftest.$ac_ext
35639 cat >>conftest.$ac_ext <<_ACEOF
35640 /* end confdefs.h. */
35641
35642
35643 #include <GL/gl.h>
35644 _ACEOF
35645 rm -f conftest.$ac_objext
35646 if { (ac_try="$ac_compile"
35647 case "(($ac_try" in
35648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35649 *) ac_try_echo=$ac_try;;
35650 esac
35651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35652 (eval "$ac_compile") 2>conftest.er1
35653 ac_status=$?
35654 grep -v '^ *+' conftest.er1 >conftest.err
35655 rm -f conftest.er1
35656 cat conftest.err >&5
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); } && {
35659 test -z "$ac_c_werror_flag" ||
35660 test ! -s conftest.err
35661 } && test -s conftest.$ac_objext; then
35662 ac_cv_header_GL_gl_h=yes
35663 else
35664 echo "$as_me: failed program was:" >&5
35665 sed 's/^/| /' conftest.$ac_ext >&5
35666
35667 ac_cv_header_GL_gl_h=no
35668 fi
35669
35670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35671 fi
35672 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35673 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35674 if test $ac_cv_header_GL_gl_h = yes; then
35675
35676 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35677 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35678 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35679 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35680 echo $ECHO_N "(cached) $ECHO_C" >&6
35681 fi
35682 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35683 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35684 else
35685 # Is the header compilable?
35686 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35687 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35688 cat >conftest.$ac_ext <<_ACEOF
35689 /* confdefs.h. */
35690 _ACEOF
35691 cat confdefs.h >>conftest.$ac_ext
35692 cat >>conftest.$ac_ext <<_ACEOF
35693 /* end confdefs.h. */
35694 $ac_includes_default
35695 #include <GL/glu.h>
35696 _ACEOF
35697 rm -f conftest.$ac_objext
35698 if { (ac_try="$ac_compile"
35699 case "(($ac_try" in
35700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35701 *) ac_try_echo=$ac_try;;
35702 esac
35703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35704 (eval "$ac_compile") 2>conftest.er1
35705 ac_status=$?
35706 grep -v '^ *+' conftest.er1 >conftest.err
35707 rm -f conftest.er1
35708 cat conftest.err >&5
35709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35710 (exit $ac_status); } && {
35711 test -z "$ac_c_werror_flag" ||
35712 test ! -s conftest.err
35713 } && test -s conftest.$ac_objext; then
35714 ac_header_compiler=yes
35715 else
35716 echo "$as_me: failed program was:" >&5
35717 sed 's/^/| /' conftest.$ac_ext >&5
35718
35719 ac_header_compiler=no
35720 fi
35721
35722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35723 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35724 echo "${ECHO_T}$ac_header_compiler" >&6; }
35725
35726 # Is the header present?
35727 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35728 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35729 cat >conftest.$ac_ext <<_ACEOF
35730 /* confdefs.h. */
35731 _ACEOF
35732 cat confdefs.h >>conftest.$ac_ext
35733 cat >>conftest.$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35735 #include <GL/glu.h>
35736 _ACEOF
35737 if { (ac_try="$ac_cpp conftest.$ac_ext"
35738 case "(($ac_try" in
35739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35740 *) ac_try_echo=$ac_try;;
35741 esac
35742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35744 ac_status=$?
35745 grep -v '^ *+' conftest.er1 >conftest.err
35746 rm -f conftest.er1
35747 cat conftest.err >&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } >/dev/null && {
35750 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35751 test ! -s conftest.err
35752 }; then
35753 ac_header_preproc=yes
35754 else
35755 echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.$ac_ext >&5
35757
35758 ac_header_preproc=no
35759 fi
35760
35761 rm -f conftest.err conftest.$ac_ext
35762 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35763 echo "${ECHO_T}$ac_header_preproc" >&6; }
35764
35765 # So? What about this header?
35766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35767 yes:no: )
35768 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35769 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35770 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35771 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35772 ac_header_preproc=yes
35773 ;;
35774 no:yes:* )
35775 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35776 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35777 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35778 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35779 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35780 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35781 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35782 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35783 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35784 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35785 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35786 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35787 ( cat <<\_ASBOX
35788 ## ----------------------------------------- ##
35789 ## Report this to wx-dev@lists.wxwidgets.org ##
35790 ## ----------------------------------------- ##
35791 _ASBOX
35792 ) | sed "s/^/$as_me: WARNING: /" >&2
35793 ;;
35794 esac
35795 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35796 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35797 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35798 echo $ECHO_N "(cached) $ECHO_C" >&6
35799 else
35800 ac_cv_header_GL_glu_h=$ac_header_preproc
35801 fi
35802 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35803 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35804
35805 fi
35806 if test $ac_cv_header_GL_glu_h = yes; then
35807
35808 found_gl=0
35809
35810 { echo "$as_me:$LINENO: checking for -lGL" >&5
35811 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35812
35813 ac_find_libraries=
35814 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35815 do
35816 for ac_extension in a so sl dylib dll.a; do
35817 if test -f "$ac_dir/libGL.$ac_extension"; then
35818 ac_find_libraries=$ac_dir
35819 break 2
35820 fi
35821 done
35822 done
35823
35824 if test "$ac_find_libraries" != "" ; then
35825 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35826 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35827
35828
35829 if test "$ac_find_libraries" = "default location"; then
35830 ac_path_to_link=""
35831 else
35832 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35833 result=$?
35834 if test $result = 0; then
35835 ac_path_to_link=""
35836 else
35837 ac_path_to_link=" -L$ac_find_libraries"
35838 fi
35839 fi
35840
35841 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35842 LDFLAGS_GL="$ac_path_to_link"
35843 fi
35844
35845 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35846 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35847
35848 ac_find_libraries=
35849 for ac_dir in $SEARCH_LIB;
35850 do
35851 for ac_extension in a so sl dylib dll.a; do
35852 if test -f "$ac_dir/libGLU.$ac_extension"; then
35853 ac_find_libraries=$ac_dir
35854 break 2
35855 fi
35856 done
35857 done
35858
35859 if test "$ac_find_libraries" != "" ; then
35860
35861 if test "$ac_find_libraries" = "default location"; then
35862 ac_path_to_link=""
35863 else
35864 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35865 result=$?
35866 if test $result = 0; then
35867 ac_path_to_link=""
35868 else
35869 ac_path_to_link=" -L$ac_find_libraries"
35870 fi
35871 fi
35872
35873 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35874 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35875 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35876 fi
35877
35878 found_gl=1
35879 OPENGL_LIBS="-lGL -lGLU"
35880 { echo "$as_me:$LINENO: result: yes" >&5
35881 echo "${ECHO_T}yes" >&6; }
35882 else
35883 { echo "$as_me:$LINENO: result: no" >&5
35884 echo "${ECHO_T}no" >&6; }
35885 fi
35886 else
35887 { echo "$as_me:$LINENO: result: no" >&5
35888 echo "${ECHO_T}no" >&6; }
35889 fi
35890
35891 if test "$found_gl" != 1; then
35892 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35893 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35894
35895 ac_find_libraries=
35896 for ac_dir in $SEARCH_LIB;
35897 do
35898 for ac_extension in a so sl dylib dll.a; do
35899 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35900 ac_find_libraries=$ac_dir
35901 break 2
35902 fi
35903 done
35904 done
35905
35906 if test "$ac_find_libraries" != "" ; then
35907
35908 if test "$ac_find_libraries" = "default location"; then
35909 ac_path_to_link=""
35910 else
35911 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35912 result=$?
35913 if test $result = 0; then
35914 ac_path_to_link=""
35915 else
35916 ac_path_to_link=" -L$ac_find_libraries"
35917 fi
35918 fi
35919
35920 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35921 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35922 { echo "$as_me:$LINENO: result: yes" >&5
35923 echo "${ECHO_T}yes" >&6; }
35924 else
35925 { echo "$as_me:$LINENO: result: no" >&5
35926 echo "${ECHO_T}no" >&6; }
35927 fi
35928 fi
35929
35930 fi
35931
35932
35933
35934 fi
35935
35936
35937
35938 if test "x$OPENGL_LIBS" = "x"; then
35939 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35940 echo "$as_me: error: OpenGL libraries not available" >&2;}
35941 { (exit 1); exit 1; }; }
35942 fi
35943 fi
35944
35945 if test "$wxUSE_OPENGL" = "yes"; then
35946 USE_OPENGL=1
35947 cat >>confdefs.h <<\_ACEOF
35948 #define wxUSE_OPENGL 1
35949 _ACEOF
35950
35951 cat >>confdefs.h <<\_ACEOF
35952 #define wxUSE_GLCANVAS 1
35953 _ACEOF
35954
35955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35956 fi
35957 fi
35958
35959
35960 if test -n "$TOOLKIT" ; then
35961 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35962 fi
35963
35964
35965
35966 if test "$wxUSE_SHARED" = "yes"; then
35967 case "${host}" in
35968 *-pc-msdosdjgpp )
35969 wxUSE_SHARED=no
35970 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35971 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35972 ;;
35973 esac
35974 fi
35975
35976 if test "$wxUSE_SHARED" = "yes"; then
35977
35978
35979 case "${host}" in
35980 *-*-cygwin* | *-*-mingw* )
35981 wx_cv_version_script=no
35982 ;;
35983
35984 *)
35985 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35986 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35987 if test "${wx_cv_version_script+set}" = set; then
35988 echo $ECHO_N "(cached) $ECHO_C" >&6
35989 else
35990
35991 echo "VER_1 { *; };" >conftest.sym
35992 echo "int main() { return 0; }" >conftest.cpp
35993
35994 if { ac_try='
35995 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35996 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35998 (eval $ac_try) 2>&5
35999 ac_status=$?
36000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36001 (exit $ac_status); }; } ; then
36002 if test -s conftest.stderr ; then
36003 wx_cv_version_script=no
36004 else
36005 wx_cv_version_script=yes
36006 fi
36007 else
36008 wx_cv_version_script=no
36009 fi
36010
36011 if test $wx_cv_version_script = yes
36012 then
36013 echo "struct B { virtual ~B() { } }; \
36014 struct D : public B { }; \
36015 void F() { D d; }" > conftest.cpp
36016
36017 if { ac_try='
36018 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36019 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36021 (eval $ac_try) 2>&5
36022 ac_status=$?
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); }; } &&
36025 { ac_try='
36026 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36027 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36029 (eval $ac_try) 2>&5
36030 ac_status=$?
36031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36032 (exit $ac_status); }; }
36033 then
36034 if { ac_try='
36035 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36036 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36038 (eval $ac_try) 2>&5
36039 ac_status=$?
36040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36041 (exit $ac_status); }; }
36042 then
36043 wx_cv_version_script=yes
36044 else
36045 wx_cv_version_script=no
36046 fi
36047 fi
36048 fi
36049
36050 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36051 rm -f conftest1.output conftest2.output conftest3.output
36052
36053 fi
36054 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36055 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36056
36057 if test $wx_cv_version_script = yes ; then
36058 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36059 fi
36060 ;;
36061 esac
36062
36063
36064 if test "$wxUSE_VISIBILITY" != "no"; then
36065
36066
36067 if test -n "$GCC"; then
36068 CFLAGS_VISIBILITY="-fvisibility=hidden"
36069 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36070 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36071 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36072 if test "${wx_cv_cc_visibility+set}" = set; then
36073 echo $ECHO_N "(cached) $ECHO_C" >&6
36074 else
36075
36076 wx_save_CXXFLAGS="$CXXFLAGS"
36077 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36078 ac_ext=cpp
36079 ac_cpp='$CXXCPP $CPPFLAGS'
36080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36083
36084 cat >conftest.$ac_ext <<_ACEOF
36085 /* confdefs.h. */
36086 _ACEOF
36087 cat confdefs.h >>conftest.$ac_ext
36088 cat >>conftest.$ac_ext <<_ACEOF
36089 /* end confdefs.h. */
36090
36091 /* we need gcc >= 4.0, older versions with visibility support
36092 didn't have class visibility: */
36093 #if defined(__GNUC__) && __GNUC__ < 4
36094 error this gcc is too old;
36095 #endif
36096
36097 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36098 extern __attribute__((__visibility__("default"))) int exportedvar;
36099 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36100 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36101 class __attribute__((__visibility__("default"))) Foo {
36102 Foo() {}
36103 };
36104
36105 int
36106 main ()
36107 {
36108
36109 ;
36110 return 0;
36111 }
36112 _ACEOF
36113 rm -f conftest.$ac_objext
36114 if { (ac_try="$ac_compile"
36115 case "(($ac_try" in
36116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36117 *) ac_try_echo=$ac_try;;
36118 esac
36119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36120 (eval "$ac_compile") 2>conftest.er1
36121 ac_status=$?
36122 grep -v '^ *+' conftest.er1 >conftest.err
36123 rm -f conftest.er1
36124 cat conftest.err >&5
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); } && {
36127 test -z "$ac_cxx_werror_flag" ||
36128 test ! -s conftest.err
36129 } && test -s conftest.$ac_objext; then
36130 wx_cv_cc_visibility=yes
36131 else
36132 echo "$as_me: failed program was:" >&5
36133 sed 's/^/| /' conftest.$ac_ext >&5
36134
36135 wx_cv_cc_visibility=no
36136 fi
36137
36138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36139 ac_ext=c
36140 ac_cpp='$CPP $CPPFLAGS'
36141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36144
36145 CXXFLAGS="$wx_save_CXXFLAGS"
36146 fi
36147
36148 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36149 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36150 if test $wx_cv_cc_visibility = yes; then
36151 cat >>confdefs.h <<\_ACEOF
36152 #define HAVE_VISIBILITY 1
36153 _ACEOF
36154
36155
36156 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36157 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36158 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36159 echo $ECHO_N "(cached) $ECHO_C" >&6
36160 else
36161
36162 wx_save_CXXFLAGS="$CXXFLAGS"
36163 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36164 ac_ext=cpp
36165 ac_cpp='$CXXCPP $CPPFLAGS'
36166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36169
36170 cat >conftest.$ac_ext <<_ACEOF
36171 /* confdefs.h. */
36172 _ACEOF
36173 cat confdefs.h >>conftest.$ac_ext
36174 cat >>conftest.$ac_ext <<_ACEOF
36175 /* end confdefs.h. */
36176
36177 #include <string>
36178
36179 int
36180 main ()
36181 {
36182
36183 std::string x;
36184
36185 ;
36186 return 0;
36187 }
36188 _ACEOF
36189 rm -f conftest.$ac_objext conftest$ac_exeext
36190 if { (ac_try="$ac_link"
36191 case "(($ac_try" in
36192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36193 *) ac_try_echo=$ac_try;;
36194 esac
36195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36196 (eval "$ac_link") 2>conftest.er1
36197 ac_status=$?
36198 grep -v '^ *+' conftest.er1 >conftest.err
36199 rm -f conftest.er1
36200 cat conftest.err >&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } && {
36203 test -z "$ac_cxx_werror_flag" ||
36204 test ! -s conftest.err
36205 } && test -s conftest$ac_exeext &&
36206 $as_test_x conftest$ac_exeext; then
36207 wx_cv_cc_broken_libstdcxx_visibility=no
36208 else
36209 echo "$as_me: failed program was:" >&5
36210 sed 's/^/| /' conftest.$ac_ext >&5
36211
36212 wx_cv_cc_broken_libstdcxx_visibility=yes
36213 fi
36214
36215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36216 conftest$ac_exeext conftest.$ac_ext
36217 ac_ext=c
36218 ac_cpp='$CPP $CPPFLAGS'
36219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36222
36223 CXXFLAGS="$wx_save_CXXFLAGS"
36224 fi
36225
36226 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36227 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36228 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36229 cat >>confdefs.h <<\_ACEOF
36230 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36231 _ACEOF
36232
36233 fi
36234
36235 else
36236 CFLAGS_VISIBILITY=""
36237 CXXFLAGS_VISIBILITY=""
36238 fi
36239
36240
36241 fi
36242
36243 fi
36244
36245 if test "x$SUNCXX" = xyes; then
36246 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36247 WXCONFIG_RPATH="-R\$libdir"
36248 else
36249 case "${host}" in
36250 *-*-linux* | *-*-gnu* )
36251 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36252 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36253 ;;
36254
36255 *-*-solaris2* )
36256
36257 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36258
36259 saveLdflags="$LDFLAGS"
36260 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36261 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36262 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36263 cat >conftest.$ac_ext <<_ACEOF
36264 /* confdefs.h. */
36265 _ACEOF
36266 cat confdefs.h >>conftest.$ac_ext
36267 cat >>conftest.$ac_ext <<_ACEOF
36268 /* end confdefs.h. */
36269
36270 int
36271 main ()
36272 {
36273
36274 ;
36275 return 0;
36276 }
36277 _ACEOF
36278 rm -f conftest.$ac_objext conftest$ac_exeext
36279 if { (ac_try="$ac_link"
36280 case "(($ac_try" in
36281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36282 *) ac_try_echo=$ac_try;;
36283 esac
36284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36285 (eval "$ac_link") 2>conftest.er1
36286 ac_status=$?
36287 grep -v '^ *+' conftest.er1 >conftest.err
36288 rm -f conftest.er1
36289 cat conftest.err >&5
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); } && {
36292 test -z "$ac_c_werror_flag" ||
36293 test ! -s conftest.err
36294 } && test -s conftest$ac_exeext &&
36295 $as_test_x conftest$ac_exeext; then
36296
36297 { echo "$as_me:$LINENO: result: yes" >&5
36298 echo "${ECHO_T}yes" >&6; }
36299 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36300 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36301
36302 else
36303 echo "$as_me: failed program was:" >&5
36304 sed 's/^/| /' conftest.$ac_ext >&5
36305
36306
36307 { echo "$as_me:$LINENO: result: no" >&5
36308 echo "${ECHO_T}no" >&6; }
36309 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36310 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36311 LDFLAGS="$saveLdflags -Wl,-R,/"
36312 cat >conftest.$ac_ext <<_ACEOF
36313 /* confdefs.h. */
36314 _ACEOF
36315 cat confdefs.h >>conftest.$ac_ext
36316 cat >>conftest.$ac_ext <<_ACEOF
36317 /* end confdefs.h. */
36318
36319 int
36320 main ()
36321 {
36322
36323 ;
36324 return 0;
36325 }
36326 _ACEOF
36327 rm -f conftest.$ac_objext conftest$ac_exeext
36328 if { (ac_try="$ac_link"
36329 case "(($ac_try" in
36330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36331 *) ac_try_echo=$ac_try;;
36332 esac
36333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36334 (eval "$ac_link") 2>conftest.er1
36335 ac_status=$?
36336 grep -v '^ *+' conftest.er1 >conftest.err
36337 rm -f conftest.er1
36338 cat conftest.err >&5
36339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36340 (exit $ac_status); } && {
36341 test -z "$ac_c_werror_flag" ||
36342 test ! -s conftest.err
36343 } && test -s conftest$ac_exeext &&
36344 $as_test_x conftest$ac_exeext; then
36345
36346 { echo "$as_me:$LINENO: result: yes" >&5
36347 echo "${ECHO_T}yes" >&6; }
36348 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36349 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36350
36351 else
36352 echo "$as_me: failed program was:" >&5
36353 sed 's/^/| /' conftest.$ac_ext >&5
36354
36355
36356 { echo "$as_me:$LINENO: result: no" >&5
36357 echo "${ECHO_T}no" >&6; }
36358
36359 fi
36360
36361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36362 conftest$ac_exeext conftest.$ac_ext
36363
36364 fi
36365
36366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36367 conftest$ac_exeext conftest.$ac_ext
36368 LDFLAGS="$saveLdflags"
36369 ;;
36370
36371 *-*-darwin* )
36372 install_name_tool=`which install_name_tool`
36373 if test "$install_name_tool" -a -x "$install_name_tool"; then
36374 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36375 cat <<EOF >change-install-names
36376 #!/bin/sh
36377 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36378 inst_cmd="install_name_tool "
36379 for i in \${libnames} ; do
36380 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36381 done
36382 \${inst_cmd} \${3}
36383 EOF
36384 chmod +x change-install-names
36385 fi
36386 ;;
36387
36388 *-*-cygwin* | *-*-mingw32* )
36389 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36390 ;;
36391
36392 *-*-hpux* )
36393 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36394 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36395 ;;
36396
36397 esac
36398 fi
36399
36400 if test $wxUSE_RPATH = "no"; then
36401 SAMPLES_RPATH_FLAG=''
36402 SAMPLES_RPATH_POSTLINK=''
36403 WXCONFIG_RPATH=''
36404 fi
36405
36406 SHARED=1
36407
36408 else
36409
36410 config_linkage_component="-static"
36411 SHARED=0
36412
36413 fi
36414
36415
36416 UNICODE=0
36417 lib_unicode_suffix=
36418 WX_CHARTYPE="ansi"
36419 if test "$wxUSE_UNICODE" = "yes"; then
36420 lib_unicode_suffix=u
36421 WX_CHARTYPE="unicode"
36422 UNICODE=1
36423 fi
36424
36425 lib_debug_suffix=
36426 WX_DEBUGTYPE="release"
36427 DEBUG_FLAG=0
36428 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36429 lib_debug_suffix=d
36430 WX_DEBUGTYPE="debug"
36431 DEBUG_FLAG=1
36432 fi
36433
36434 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36435 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36436
36437 DEBUG_INFO=0
36438 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36439 DEBUG_INFO=1
36440 fi
36441
36442 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36443
36444 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36445
36446 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36447
36448 if test "$cross_compiling" = "yes"; then
36449 HOST_SUFFIX="-$host_alias"
36450 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36451 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36452 fi
36453
36454 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36455 if test "${TOOLKIT_DIR}" = "os2"; then
36456 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36457 else
36458 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36459 fi
36460
36461
36462
36463 if test "$wxUSE_COCOA" = 1; then
36464
36465 ac_ext=c
36466 ac_cpp='$CPP $CPPFLAGS'
36467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36470
36471 ac_ext=m
36472
36473 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36474 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36475 cat >conftest.$ac_ext <<_ACEOF
36476 /* confdefs.h. */
36477 _ACEOF
36478 cat confdefs.h >>conftest.$ac_ext
36479 cat >>conftest.$ac_ext <<_ACEOF
36480 /* end confdefs.h. */
36481 #include <AppKit/NSEvent.h>
36482 #include <CoreFoundation/CoreFoundation.h>
36483
36484 int
36485 main ()
36486 {
36487
36488 ;
36489 return 0;
36490 }
36491 _ACEOF
36492 rm -f conftest.$ac_objext
36493 if { (ac_try="$ac_compile"
36494 case "(($ac_try" in
36495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36496 *) ac_try_echo=$ac_try;;
36497 esac
36498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36499 (eval "$ac_compile") 2>conftest.er1
36500 ac_status=$?
36501 grep -v '^ *+' conftest.er1 >conftest.err
36502 rm -f conftest.er1
36503 cat conftest.err >&5
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); } && {
36506 test -z "$ac_c_werror_flag" ||
36507 test ! -s conftest.err
36508 } && test -s conftest.$ac_objext; then
36509 { echo "$as_me:$LINENO: result: no" >&5
36510 echo "${ECHO_T}no" >&6; }
36511 else
36512 echo "$as_me: failed program was:" >&5
36513 sed 's/^/| /' conftest.$ac_ext >&5
36514
36515 { echo "$as_me:$LINENO: result: yes" >&5
36516 echo "${ECHO_T}yes" >&6; }
36517 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36518 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36519 cat >conftest.$ac_ext <<_ACEOF
36520 /* confdefs.h. */
36521 _ACEOF
36522 cat confdefs.h >>conftest.$ac_ext
36523 cat >>conftest.$ac_ext <<_ACEOF
36524 /* end confdefs.h. */
36525 #define __Point__ 1
36526 #include <AppKit/NSEvent.h>
36527 #include <CoreFoundation/CoreFoundation.h>
36528
36529 int
36530 main ()
36531 {
36532
36533 ;
36534 return 0;
36535 }
36536 _ACEOF
36537 rm -f conftest.$ac_objext
36538 if { (ac_try="$ac_compile"
36539 case "(($ac_try" in
36540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36541 *) ac_try_echo=$ac_try;;
36542 esac
36543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36544 (eval "$ac_compile") 2>conftest.er1
36545 ac_status=$?
36546 grep -v '^ *+' conftest.er1 >conftest.err
36547 rm -f conftest.er1
36548 cat conftest.err >&5
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); } && {
36551 test -z "$ac_c_werror_flag" ||
36552 test ! -s conftest.err
36553 } && test -s conftest.$ac_objext; then
36554 { echo "$as_me:$LINENO: result: yes" >&5
36555 echo "${ECHO_T}yes" >&6; }
36556 cat >>confdefs.h <<\_ACEOF
36557 #define __Point__ 1
36558 _ACEOF
36559
36560
36561 else
36562 echo "$as_me: failed program was:" >&5
36563 sed 's/^/| /' conftest.$ac_ext >&5
36564
36565 { { echo "$as_me:$LINENO: error: no
36566 See \`config.log' for more details." >&5
36567 echo "$as_me: error: no
36568 See \`config.log' for more details." >&2;}
36569 { (exit 1); exit 1; }; }
36570
36571 fi
36572
36573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36574
36575 fi
36576
36577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36578 ac_ext=c
36579 ac_cpp='$CPP $CPPFLAGS'
36580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36583
36584 fi
36585
36586 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36587 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36588 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36589
36590 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36591
36592 # Extract the first word of "Rez", so it can be a program name with args.
36593 set dummy Rez; ac_word=$2
36594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36596 if test "${ac_cv_prog_REZ+set}" = set; then
36597 echo $ECHO_N "(cached) $ECHO_C" >&6
36598 else
36599 if test -n "$REZ"; then
36600 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36601 else
36602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36603 for as_dir in $PATH
36604 do
36605 IFS=$as_save_IFS
36606 test -z "$as_dir" && as_dir=.
36607 for ac_exec_ext in '' $ac_executable_extensions; do
36608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36609 ac_cv_prog_REZ="Rez"
36610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36611 break 2
36612 fi
36613 done
36614 done
36615 IFS=$as_save_IFS
36616
36617 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36618 fi
36619 fi
36620 REZ=$ac_cv_prog_REZ
36621 if test -n "$REZ"; then
36622 { echo "$as_me:$LINENO: result: $REZ" >&5
36623 echo "${ECHO_T}$REZ" >&6; }
36624 else
36625 { echo "$as_me:$LINENO: result: no" >&5
36626 echo "${ECHO_T}no" >&6; }
36627 fi
36628
36629
36630 # Extract the first word of "DeRez", so it can be a program name with args.
36631 set dummy DeRez; ac_word=$2
36632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36634 if test "${ac_cv_prog_DEREZ+set}" = set; then
36635 echo $ECHO_N "(cached) $ECHO_C" >&6
36636 else
36637 if test -n "$DEREZ"; then
36638 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36639 else
36640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36641 for as_dir in $PATH
36642 do
36643 IFS=$as_save_IFS
36644 test -z "$as_dir" && as_dir=.
36645 for ac_exec_ext in '' $ac_executable_extensions; do
36646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36647 ac_cv_prog_DEREZ="DeRez"
36648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36649 break 2
36650 fi
36651 done
36652 done
36653 IFS=$as_save_IFS
36654
36655 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36656 fi
36657 fi
36658 DEREZ=$ac_cv_prog_DEREZ
36659 if test -n "$DEREZ"; then
36660 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36661 echo "${ECHO_T}$DEREZ" >&6; }
36662 else
36663 { echo "$as_me:$LINENO: result: no" >&5
36664 echo "${ECHO_T}no" >&6; }
36665 fi
36666
36667
36668 # Extract the first word of "SetFile", so it can be a program name with args.
36669 set dummy SetFile; ac_word=$2
36670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36672 if test "${ac_cv_prog_SETFILE+set}" = set; then
36673 echo $ECHO_N "(cached) $ECHO_C" >&6
36674 else
36675 if test -n "$SETFILE"; then
36676 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36677 else
36678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36679 for as_dir in $PATH
36680 do
36681 IFS=$as_save_IFS
36682 test -z "$as_dir" && as_dir=.
36683 for ac_exec_ext in '' $ac_executable_extensions; do
36684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36685 ac_cv_prog_SETFILE="SetFile"
36686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36687 break 2
36688 fi
36689 done
36690 done
36691 IFS=$as_save_IFS
36692
36693 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36694 fi
36695 fi
36696 SETFILE=$ac_cv_prog_SETFILE
36697 if test -n "$SETFILE"; then
36698 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36699 echo "${ECHO_T}$SETFILE" >&6; }
36700 else
36701 { echo "$as_me:$LINENO: result: no" >&5
36702 echo "${ECHO_T}no" >&6; }
36703 fi
36704
36705
36706
36707 MACSETFILE="\$(SETFILE)"
36708
36709 if test "$wxUSE_MAC" = 1; then
36710 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36711 RESCOMP="$REZ"
36712 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36713 else
36714 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36715 RESCOMP="echo -n \| $REZ"
36716 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36717 fi
36718
36719 else
36720 MACSETFILE="@true"
36721
36722 if test "$wxUSE_PM" = 1; then
36723 RESCOMP="emxbind"
36724 WXCONFIG_RESFLAGS="-ep"
36725
36726 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36727 else
36728 POSTLINK_COMMAND="@true"
36729 fi
36730
36731 fi
36732
36733
36734
36735 { echo "$as_me:$LINENO: checking for mode_t" >&5
36736 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36737 if test "${ac_cv_type_mode_t+set}" = set; then
36738 echo $ECHO_N "(cached) $ECHO_C" >&6
36739 else
36740 cat >conftest.$ac_ext <<_ACEOF
36741 /* confdefs.h. */
36742 _ACEOF
36743 cat confdefs.h >>conftest.$ac_ext
36744 cat >>conftest.$ac_ext <<_ACEOF
36745 /* end confdefs.h. */
36746 $ac_includes_default
36747 typedef mode_t ac__type_new_;
36748 int
36749 main ()
36750 {
36751 if ((ac__type_new_ *) 0)
36752 return 0;
36753 if (sizeof (ac__type_new_))
36754 return 0;
36755 ;
36756 return 0;
36757 }
36758 _ACEOF
36759 rm -f conftest.$ac_objext
36760 if { (ac_try="$ac_compile"
36761 case "(($ac_try" in
36762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36763 *) ac_try_echo=$ac_try;;
36764 esac
36765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36766 (eval "$ac_compile") 2>conftest.er1
36767 ac_status=$?
36768 grep -v '^ *+' conftest.er1 >conftest.err
36769 rm -f conftest.er1
36770 cat conftest.err >&5
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); } && {
36773 test -z "$ac_c_werror_flag" ||
36774 test ! -s conftest.err
36775 } && test -s conftest.$ac_objext; then
36776 ac_cv_type_mode_t=yes
36777 else
36778 echo "$as_me: failed program was:" >&5
36779 sed 's/^/| /' conftest.$ac_ext >&5
36780
36781 ac_cv_type_mode_t=no
36782 fi
36783
36784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36785 fi
36786 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36787 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36788 if test $ac_cv_type_mode_t = yes; then
36789 :
36790 else
36791
36792 cat >>confdefs.h <<_ACEOF
36793 #define mode_t int
36794 _ACEOF
36795
36796 fi
36797
36798 { echo "$as_me:$LINENO: checking for off_t" >&5
36799 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36800 if test "${ac_cv_type_off_t+set}" = set; then
36801 echo $ECHO_N "(cached) $ECHO_C" >&6
36802 else
36803 cat >conftest.$ac_ext <<_ACEOF
36804 /* confdefs.h. */
36805 _ACEOF
36806 cat confdefs.h >>conftest.$ac_ext
36807 cat >>conftest.$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36809 $ac_includes_default
36810 typedef off_t ac__type_new_;
36811 int
36812 main ()
36813 {
36814 if ((ac__type_new_ *) 0)
36815 return 0;
36816 if (sizeof (ac__type_new_))
36817 return 0;
36818 ;
36819 return 0;
36820 }
36821 _ACEOF
36822 rm -f conftest.$ac_objext
36823 if { (ac_try="$ac_compile"
36824 case "(($ac_try" in
36825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36826 *) ac_try_echo=$ac_try;;
36827 esac
36828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36829 (eval "$ac_compile") 2>conftest.er1
36830 ac_status=$?
36831 grep -v '^ *+' conftest.er1 >conftest.err
36832 rm -f conftest.er1
36833 cat conftest.err >&5
36834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36835 (exit $ac_status); } && {
36836 test -z "$ac_c_werror_flag" ||
36837 test ! -s conftest.err
36838 } && test -s conftest.$ac_objext; then
36839 ac_cv_type_off_t=yes
36840 else
36841 echo "$as_me: failed program was:" >&5
36842 sed 's/^/| /' conftest.$ac_ext >&5
36843
36844 ac_cv_type_off_t=no
36845 fi
36846
36847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36848 fi
36849 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36850 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36851 if test $ac_cv_type_off_t = yes; then
36852 :
36853 else
36854
36855 cat >>confdefs.h <<_ACEOF
36856 #define off_t long int
36857 _ACEOF
36858
36859 fi
36860
36861 { echo "$as_me:$LINENO: checking for pid_t" >&5
36862 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36863 if test "${ac_cv_type_pid_t+set}" = set; then
36864 echo $ECHO_N "(cached) $ECHO_C" >&6
36865 else
36866 cat >conftest.$ac_ext <<_ACEOF
36867 /* confdefs.h. */
36868 _ACEOF
36869 cat confdefs.h >>conftest.$ac_ext
36870 cat >>conftest.$ac_ext <<_ACEOF
36871 /* end confdefs.h. */
36872 $ac_includes_default
36873 typedef pid_t ac__type_new_;
36874 int
36875 main ()
36876 {
36877 if ((ac__type_new_ *) 0)
36878 return 0;
36879 if (sizeof (ac__type_new_))
36880 return 0;
36881 ;
36882 return 0;
36883 }
36884 _ACEOF
36885 rm -f conftest.$ac_objext
36886 if { (ac_try="$ac_compile"
36887 case "(($ac_try" in
36888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36889 *) ac_try_echo=$ac_try;;
36890 esac
36891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36892 (eval "$ac_compile") 2>conftest.er1
36893 ac_status=$?
36894 grep -v '^ *+' conftest.er1 >conftest.err
36895 rm -f conftest.er1
36896 cat conftest.err >&5
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); } && {
36899 test -z "$ac_c_werror_flag" ||
36900 test ! -s conftest.err
36901 } && test -s conftest.$ac_objext; then
36902 ac_cv_type_pid_t=yes
36903 else
36904 echo "$as_me: failed program was:" >&5
36905 sed 's/^/| /' conftest.$ac_ext >&5
36906
36907 ac_cv_type_pid_t=no
36908 fi
36909
36910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36911 fi
36912 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36913 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36914 if test $ac_cv_type_pid_t = yes; then
36915 :
36916 else
36917
36918 cat >>confdefs.h <<_ACEOF
36919 #define pid_t int
36920 _ACEOF
36921
36922 fi
36923
36924 { echo "$as_me:$LINENO: checking for size_t" >&5
36925 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36926 if test "${ac_cv_type_size_t+set}" = set; then
36927 echo $ECHO_N "(cached) $ECHO_C" >&6
36928 else
36929 cat >conftest.$ac_ext <<_ACEOF
36930 /* confdefs.h. */
36931 _ACEOF
36932 cat confdefs.h >>conftest.$ac_ext
36933 cat >>conftest.$ac_ext <<_ACEOF
36934 /* end confdefs.h. */
36935 $ac_includes_default
36936 typedef size_t ac__type_new_;
36937 int
36938 main ()
36939 {
36940 if ((ac__type_new_ *) 0)
36941 return 0;
36942 if (sizeof (ac__type_new_))
36943 return 0;
36944 ;
36945 return 0;
36946 }
36947 _ACEOF
36948 rm -f conftest.$ac_objext
36949 if { (ac_try="$ac_compile"
36950 case "(($ac_try" in
36951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36952 *) ac_try_echo=$ac_try;;
36953 esac
36954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36955 (eval "$ac_compile") 2>conftest.er1
36956 ac_status=$?
36957 grep -v '^ *+' conftest.er1 >conftest.err
36958 rm -f conftest.er1
36959 cat conftest.err >&5
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); } && {
36962 test -z "$ac_c_werror_flag" ||
36963 test ! -s conftest.err
36964 } && test -s conftest.$ac_objext; then
36965 ac_cv_type_size_t=yes
36966 else
36967 echo "$as_me: failed program was:" >&5
36968 sed 's/^/| /' conftest.$ac_ext >&5
36969
36970 ac_cv_type_size_t=no
36971 fi
36972
36973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36974 fi
36975 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36976 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36977 if test $ac_cv_type_size_t = yes; then
36978 :
36979 else
36980
36981 cat >>confdefs.h <<_ACEOF
36982 #define size_t unsigned int
36983 _ACEOF
36984
36985 fi
36986
36987 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36988 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36989 if test "${ac_cv_type_uid_t+set}" = set; then
36990 echo $ECHO_N "(cached) $ECHO_C" >&6
36991 else
36992 cat >conftest.$ac_ext <<_ACEOF
36993 /* confdefs.h. */
36994 _ACEOF
36995 cat confdefs.h >>conftest.$ac_ext
36996 cat >>conftest.$ac_ext <<_ACEOF
36997 /* end confdefs.h. */
36998 #include <sys/types.h>
36999
37000 _ACEOF
37001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37002 $EGREP "uid_t" >/dev/null 2>&1; then
37003 ac_cv_type_uid_t=yes
37004 else
37005 ac_cv_type_uid_t=no
37006 fi
37007 rm -f conftest*
37008
37009 fi
37010 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37011 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37012 if test $ac_cv_type_uid_t = no; then
37013
37014 cat >>confdefs.h <<\_ACEOF
37015 #define uid_t int
37016 _ACEOF
37017
37018
37019 cat >>confdefs.h <<\_ACEOF
37020 #define gid_t int
37021 _ACEOF
37022
37023 fi
37024
37025
37026 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37027 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37028 if test "${ac_cv_type_ssize_t+set}" = set; then
37029 echo $ECHO_N "(cached) $ECHO_C" >&6
37030 else
37031 cat >conftest.$ac_ext <<_ACEOF
37032 /* confdefs.h. */
37033 _ACEOF
37034 cat confdefs.h >>conftest.$ac_ext
37035 cat >>conftest.$ac_ext <<_ACEOF
37036 /* end confdefs.h. */
37037 $ac_includes_default
37038 typedef ssize_t ac__type_new_;
37039 int
37040 main ()
37041 {
37042 if ((ac__type_new_ *) 0)
37043 return 0;
37044 if (sizeof (ac__type_new_))
37045 return 0;
37046 ;
37047 return 0;
37048 }
37049 _ACEOF
37050 rm -f conftest.$ac_objext
37051 if { (ac_try="$ac_compile"
37052 case "(($ac_try" in
37053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37055 esac
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_compile") 2>conftest.er1
37058 ac_status=$?
37059 grep -v '^ *+' conftest.er1 >conftest.err
37060 rm -f conftest.er1
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } && {
37064 test -z "$ac_c_werror_flag" ||
37065 test ! -s conftest.err
37066 } && test -s conftest.$ac_objext; then
37067 ac_cv_type_ssize_t=yes
37068 else
37069 echo "$as_me: failed program was:" >&5
37070 sed 's/^/| /' conftest.$ac_ext >&5
37071
37072 ac_cv_type_ssize_t=no
37073 fi
37074
37075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37076 fi
37077 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37078 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37079 if test $ac_cv_type_ssize_t = yes; then
37080
37081 cat >>confdefs.h <<_ACEOF
37082 #define HAVE_SSIZE_T 1
37083 _ACEOF
37084
37085
37086 fi
37087
37088
37089 ac_ext=cpp
37090 ac_cpp='$CXXCPP $CPPFLAGS'
37091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37094 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37095 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37096 if test "${wx_cv_size_t_is_uint+set}" = set; then
37097 echo $ECHO_N "(cached) $ECHO_C" >&6
37098 else
37099
37100 cat >conftest.$ac_ext <<_ACEOF
37101 /* confdefs.h. */
37102 _ACEOF
37103 cat confdefs.h >>conftest.$ac_ext
37104 cat >>conftest.$ac_ext <<_ACEOF
37105 /* end confdefs.h. */
37106 #include <stddef.h>
37107 int
37108 main ()
37109 {
37110
37111 return 0; }
37112
37113 struct Foo { void foo(size_t); void foo(unsigned int); };
37114
37115 int bar() {
37116
37117 ;
37118 return 0;
37119 }
37120 _ACEOF
37121 rm -f conftest.$ac_objext
37122 if { (ac_try="$ac_compile"
37123 case "(($ac_try" in
37124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37125 *) ac_try_echo=$ac_try;;
37126 esac
37127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37128 (eval "$ac_compile") 2>conftest.er1
37129 ac_status=$?
37130 grep -v '^ *+' conftest.er1 >conftest.err
37131 rm -f conftest.er1
37132 cat conftest.err >&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } && {
37135 test -z "$ac_cxx_werror_flag" ||
37136 test ! -s conftest.err
37137 } && test -s conftest.$ac_objext; then
37138 wx_cv_size_t_is_uint=no
37139 else
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.$ac_ext >&5
37142
37143 wx_cv_size_t_is_uint=yes
37144
37145 fi
37146
37147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37148
37149
37150 fi
37151 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37152 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37153
37154 if test "$wx_cv_size_t_is_uint" = "yes"; then
37155 cat >>confdefs.h <<\_ACEOF
37156 #define wxSIZE_T_IS_UINT 1
37157 _ACEOF
37158
37159 else
37160 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37161 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37162 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37163 echo $ECHO_N "(cached) $ECHO_C" >&6
37164 else
37165 cat >conftest.$ac_ext <<_ACEOF
37166 /* confdefs.h. */
37167 _ACEOF
37168 cat confdefs.h >>conftest.$ac_ext
37169 cat >>conftest.$ac_ext <<_ACEOF
37170 /* end confdefs.h. */
37171 #include <stddef.h>
37172 int
37173 main ()
37174 {
37175
37176 return 0; }
37177
37178 struct Foo { void foo(size_t); void foo(unsigned long); };
37179
37180 int bar() {
37181
37182 ;
37183 return 0;
37184 }
37185 _ACEOF
37186 rm -f conftest.$ac_objext
37187 if { (ac_try="$ac_compile"
37188 case "(($ac_try" in
37189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37190 *) ac_try_echo=$ac_try;;
37191 esac
37192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37193 (eval "$ac_compile") 2>conftest.er1
37194 ac_status=$?
37195 grep -v '^ *+' conftest.er1 >conftest.err
37196 rm -f conftest.er1
37197 cat conftest.err >&5
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); } && {
37200 test -z "$ac_cxx_werror_flag" ||
37201 test ! -s conftest.err
37202 } && test -s conftest.$ac_objext; then
37203 wx_cv_size_t_is_ulong=no
37204 else
37205 echo "$as_me: failed program was:" >&5
37206 sed 's/^/| /' conftest.$ac_ext >&5
37207
37208 wx_cv_size_t_is_ulong=yes
37209
37210 fi
37211
37212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37213
37214 fi
37215 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37216 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37217
37218 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37219 cat >>confdefs.h <<\_ACEOF
37220 #define wxSIZE_T_IS_ULONG 1
37221 _ACEOF
37222
37223 fi
37224 fi
37225
37226 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37227 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37228 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37229 echo $ECHO_N "(cached) $ECHO_C" >&6
37230 else
37231 cat >conftest.$ac_ext <<_ACEOF
37232 /* confdefs.h. */
37233 _ACEOF
37234 cat confdefs.h >>conftest.$ac_ext
37235 cat >>conftest.$ac_ext <<_ACEOF
37236 /* end confdefs.h. */
37237 #include <wchar.h>
37238 int
37239 main ()
37240 {
37241
37242 return 0; }
37243
37244 struct Foo { void foo(wchar_t);
37245 void foo(unsigned short);
37246 void foo(unsigned int);
37247 void foo(unsigned long); };
37248
37249 int bar() {
37250
37251 ;
37252 return 0;
37253 }
37254 _ACEOF
37255 rm -f conftest.$ac_objext
37256 if { (ac_try="$ac_compile"
37257 case "(($ac_try" in
37258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37259 *) ac_try_echo=$ac_try;;
37260 esac
37261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37262 (eval "$ac_compile") 2>conftest.er1
37263 ac_status=$?
37264 grep -v '^ *+' conftest.er1 >conftest.err
37265 rm -f conftest.er1
37266 cat conftest.err >&5
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); } && {
37269 test -z "$ac_cxx_werror_flag" ||
37270 test ! -s conftest.err
37271 } && test -s conftest.$ac_objext; then
37272 wx_cv_wchar_t_is_separate_type=yes
37273 else
37274 echo "$as_me: failed program was:" >&5
37275 sed 's/^/| /' conftest.$ac_ext >&5
37276
37277 wx_cv_wchar_t_is_separate_type=no
37278
37279 fi
37280
37281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37282
37283 fi
37284 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37285 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37286
37287 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37288 cat >>confdefs.h <<\_ACEOF
37289 #define wxWCHAR_T_IS_REAL_TYPE 1
37290 _ACEOF
37291
37292 else
37293 cat >>confdefs.h <<\_ACEOF
37294 #define wxWCHAR_T_IS_REAL_TYPE 0
37295 _ACEOF
37296
37297 fi
37298
37299 ac_ext=c
37300 ac_cpp='$CPP $CPPFLAGS'
37301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37304
37305
37306 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37307 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37308 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37309 echo $ECHO_N "(cached) $ECHO_C" >&6
37310 else
37311
37312 cat >conftest.$ac_ext <<_ACEOF
37313 /* confdefs.h. */
37314 _ACEOF
37315 cat confdefs.h >>conftest.$ac_ext
37316 cat >>conftest.$ac_ext <<_ACEOF
37317 /* end confdefs.h. */
37318 #include <pwd.h>
37319 int
37320 main ()
37321 {
37322
37323 char *p;
37324 struct passwd *pw;
37325 p = pw->pw_gecos;
37326
37327 ;
37328 return 0;
37329 }
37330 _ACEOF
37331 rm -f conftest.$ac_objext
37332 if { (ac_try="$ac_compile"
37333 case "(($ac_try" in
37334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37335 *) ac_try_echo=$ac_try;;
37336 esac
37337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37338 (eval "$ac_compile") 2>conftest.er1
37339 ac_status=$?
37340 grep -v '^ *+' conftest.er1 >conftest.err
37341 rm -f conftest.er1
37342 cat conftest.err >&5
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); } && {
37345 test -z "$ac_c_werror_flag" ||
37346 test ! -s conftest.err
37347 } && test -s conftest.$ac_objext; then
37348
37349 wx_cv_struct_pw_gecos=yes
37350
37351 else
37352 echo "$as_me: failed program was:" >&5
37353 sed 's/^/| /' conftest.$ac_ext >&5
37354
37355
37356 wx_cv_struct_pw_gecos=no
37357
37358
37359 fi
37360
37361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37362
37363
37364 fi
37365 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37366 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37367
37368 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37369 cat >>confdefs.h <<\_ACEOF
37370 #define HAVE_PW_GECOS 1
37371 _ACEOF
37372
37373 fi
37374
37375
37376 if test "$wxUSE_WCHAR_T" = "yes"; then
37377 cat >>confdefs.h <<\_ACEOF
37378 #define wxUSE_WCHAR_T 1
37379 _ACEOF
37380
37381
37382 WCSLEN_FOUND=0
37383 WCHAR_LINK=
37384
37385 for ac_func in wcslen
37386 do
37387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37388 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37390 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37391 echo $ECHO_N "(cached) $ECHO_C" >&6
37392 else
37393 cat >conftest.$ac_ext <<_ACEOF
37394 /* confdefs.h. */
37395 _ACEOF
37396 cat confdefs.h >>conftest.$ac_ext
37397 cat >>conftest.$ac_ext <<_ACEOF
37398 /* end confdefs.h. */
37399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37401 #define $ac_func innocuous_$ac_func
37402
37403 /* System header to define __stub macros and hopefully few prototypes,
37404 which can conflict with char $ac_func (); below.
37405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37406 <limits.h> exists even on freestanding compilers. */
37407
37408 #ifdef __STDC__
37409 # include <limits.h>
37410 #else
37411 # include <assert.h>
37412 #endif
37413
37414 #undef $ac_func
37415
37416 /* Override any GCC internal prototype to avoid an error.
37417 Use char because int might match the return type of a GCC
37418 builtin and then its argument prototype would still apply. */
37419 #ifdef __cplusplus
37420 extern "C"
37421 #endif
37422 char $ac_func ();
37423 /* The GNU C library defines this for functions which it implements
37424 to always fail with ENOSYS. Some functions are actually named
37425 something starting with __ and the normal name is an alias. */
37426 #if defined __stub_$ac_func || defined __stub___$ac_func
37427 choke me
37428 #endif
37429
37430 int
37431 main ()
37432 {
37433 return $ac_func ();
37434 ;
37435 return 0;
37436 }
37437 _ACEOF
37438 rm -f conftest.$ac_objext conftest$ac_exeext
37439 if { (ac_try="$ac_link"
37440 case "(($ac_try" in
37441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37442 *) ac_try_echo=$ac_try;;
37443 esac
37444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37445 (eval "$ac_link") 2>conftest.er1
37446 ac_status=$?
37447 grep -v '^ *+' conftest.er1 >conftest.err
37448 rm -f conftest.er1
37449 cat conftest.err >&5
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); } && {
37452 test -z "$ac_c_werror_flag" ||
37453 test ! -s conftest.err
37454 } && test -s conftest$ac_exeext &&
37455 $as_test_x conftest$ac_exeext; then
37456 eval "$as_ac_var=yes"
37457 else
37458 echo "$as_me: failed program was:" >&5
37459 sed 's/^/| /' conftest.$ac_ext >&5
37460
37461 eval "$as_ac_var=no"
37462 fi
37463
37464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37465 conftest$ac_exeext conftest.$ac_ext
37466 fi
37467 ac_res=`eval echo '${'$as_ac_var'}'`
37468 { echo "$as_me:$LINENO: result: $ac_res" >&5
37469 echo "${ECHO_T}$ac_res" >&6; }
37470 if test `eval echo '${'$as_ac_var'}'` = yes; then
37471 cat >>confdefs.h <<_ACEOF
37472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37473 _ACEOF
37474 WCSLEN_FOUND=1
37475 fi
37476 done
37477
37478
37479 if test "$WCSLEN_FOUND" = 0; then
37480 if test "$TOOLKIT" = "MSW"; then
37481 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37482 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37483 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37484 echo $ECHO_N "(cached) $ECHO_C" >&6
37485 else
37486 ac_check_lib_save_LIBS=$LIBS
37487 LIBS="-lmsvcrt $LIBS"
37488 cat >conftest.$ac_ext <<_ACEOF
37489 /* confdefs.h. */
37490 _ACEOF
37491 cat confdefs.h >>conftest.$ac_ext
37492 cat >>conftest.$ac_ext <<_ACEOF
37493 /* end confdefs.h. */
37494
37495 /* Override any GCC internal prototype to avoid an error.
37496 Use char because int might match the return type of a GCC
37497 builtin and then its argument prototype would still apply. */
37498 #ifdef __cplusplus
37499 extern "C"
37500 #endif
37501 char wcslen ();
37502 int
37503 main ()
37504 {
37505 return wcslen ();
37506 ;
37507 return 0;
37508 }
37509 _ACEOF
37510 rm -f conftest.$ac_objext conftest$ac_exeext
37511 if { (ac_try="$ac_link"
37512 case "(($ac_try" in
37513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37514 *) ac_try_echo=$ac_try;;
37515 esac
37516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37517 (eval "$ac_link") 2>conftest.er1
37518 ac_status=$?
37519 grep -v '^ *+' conftest.er1 >conftest.err
37520 rm -f conftest.er1
37521 cat conftest.err >&5
37522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37523 (exit $ac_status); } && {
37524 test -z "$ac_c_werror_flag" ||
37525 test ! -s conftest.err
37526 } && test -s conftest$ac_exeext &&
37527 $as_test_x conftest$ac_exeext; then
37528 ac_cv_lib_msvcrt_wcslen=yes
37529 else
37530 echo "$as_me: failed program was:" >&5
37531 sed 's/^/| /' conftest.$ac_ext >&5
37532
37533 ac_cv_lib_msvcrt_wcslen=no
37534 fi
37535
37536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37537 conftest$ac_exeext conftest.$ac_ext
37538 LIBS=$ac_check_lib_save_LIBS
37539 fi
37540 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37541 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37542 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37543 WCHAR_OK=1
37544 fi
37545
37546 else
37547 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37548 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37549 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37550 echo $ECHO_N "(cached) $ECHO_C" >&6
37551 else
37552 ac_check_lib_save_LIBS=$LIBS
37553 LIBS="-lw $LIBS"
37554 cat >conftest.$ac_ext <<_ACEOF
37555 /* confdefs.h. */
37556 _ACEOF
37557 cat confdefs.h >>conftest.$ac_ext
37558 cat >>conftest.$ac_ext <<_ACEOF
37559 /* end confdefs.h. */
37560
37561 /* Override any GCC internal prototype to avoid an error.
37562 Use char because int might match the return type of a GCC
37563 builtin and then its argument prototype would still apply. */
37564 #ifdef __cplusplus
37565 extern "C"
37566 #endif
37567 char wcslen ();
37568 int
37569 main ()
37570 {
37571 return wcslen ();
37572 ;
37573 return 0;
37574 }
37575 _ACEOF
37576 rm -f conftest.$ac_objext conftest$ac_exeext
37577 if { (ac_try="$ac_link"
37578 case "(($ac_try" in
37579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37580 *) ac_try_echo=$ac_try;;
37581 esac
37582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37583 (eval "$ac_link") 2>conftest.er1
37584 ac_status=$?
37585 grep -v '^ *+' conftest.er1 >conftest.err
37586 rm -f conftest.er1
37587 cat conftest.err >&5
37588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37589 (exit $ac_status); } && {
37590 test -z "$ac_c_werror_flag" ||
37591 test ! -s conftest.err
37592 } && test -s conftest$ac_exeext &&
37593 $as_test_x conftest$ac_exeext; then
37594 ac_cv_lib_w_wcslen=yes
37595 else
37596 echo "$as_me: failed program was:" >&5
37597 sed 's/^/| /' conftest.$ac_ext >&5
37598
37599 ac_cv_lib_w_wcslen=no
37600 fi
37601
37602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37603 conftest$ac_exeext conftest.$ac_ext
37604 LIBS=$ac_check_lib_save_LIBS
37605 fi
37606 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37607 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37608 if test $ac_cv_lib_w_wcslen = yes; then
37609
37610 WCHAR_LINK=" -lw"
37611 WCSLEN_FOUND=1
37612
37613 fi
37614
37615 fi
37616 fi
37617
37618 if test "$WCSLEN_FOUND" = 1; then
37619 cat >>confdefs.h <<\_ACEOF
37620 #define HAVE_WCSLEN 1
37621 _ACEOF
37622
37623 fi
37624
37625
37626 for ac_func in wcsdup
37627 do
37628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37629 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37631 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37632 echo $ECHO_N "(cached) $ECHO_C" >&6
37633 else
37634 cat >conftest.$ac_ext <<_ACEOF
37635 /* confdefs.h. */
37636 _ACEOF
37637 cat confdefs.h >>conftest.$ac_ext
37638 cat >>conftest.$ac_ext <<_ACEOF
37639 /* end confdefs.h. */
37640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37642 #define $ac_func innocuous_$ac_func
37643
37644 /* System header to define __stub macros and hopefully few prototypes,
37645 which can conflict with char $ac_func (); below.
37646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37647 <limits.h> exists even on freestanding compilers. */
37648
37649 #ifdef __STDC__
37650 # include <limits.h>
37651 #else
37652 # include <assert.h>
37653 #endif
37654
37655 #undef $ac_func
37656
37657 /* Override any GCC internal prototype to avoid an error.
37658 Use char because int might match the return type of a GCC
37659 builtin and then its argument prototype would still apply. */
37660 #ifdef __cplusplus
37661 extern "C"
37662 #endif
37663 char $ac_func ();
37664 /* The GNU C library defines this for functions which it implements
37665 to always fail with ENOSYS. Some functions are actually named
37666 something starting with __ and the normal name is an alias. */
37667 #if defined __stub_$ac_func || defined __stub___$ac_func
37668 choke me
37669 #endif
37670
37671 int
37672 main ()
37673 {
37674 return $ac_func ();
37675 ;
37676 return 0;
37677 }
37678 _ACEOF
37679 rm -f conftest.$ac_objext conftest$ac_exeext
37680 if { (ac_try="$ac_link"
37681 case "(($ac_try" in
37682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37683 *) ac_try_echo=$ac_try;;
37684 esac
37685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37686 (eval "$ac_link") 2>conftest.er1
37687 ac_status=$?
37688 grep -v '^ *+' conftest.er1 >conftest.err
37689 rm -f conftest.er1
37690 cat conftest.err >&5
37691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37692 (exit $ac_status); } && {
37693 test -z "$ac_c_werror_flag" ||
37694 test ! -s conftest.err
37695 } && test -s conftest$ac_exeext &&
37696 $as_test_x conftest$ac_exeext; then
37697 eval "$as_ac_var=yes"
37698 else
37699 echo "$as_me: failed program was:" >&5
37700 sed 's/^/| /' conftest.$ac_ext >&5
37701
37702 eval "$as_ac_var=no"
37703 fi
37704
37705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37706 conftest$ac_exeext conftest.$ac_ext
37707 fi
37708 ac_res=`eval echo '${'$as_ac_var'}'`
37709 { echo "$as_me:$LINENO: result: $ac_res" >&5
37710 echo "${ECHO_T}$ac_res" >&6; }
37711 if test `eval echo '${'$as_ac_var'}'` = yes; then
37712 cat >>confdefs.h <<_ACEOF
37713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37714 _ACEOF
37715
37716 fi
37717 done
37718
37719
37720 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37721 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37722 fi
37723
37724 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37725 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37726 if test "${ac_cv_type_mbstate_t+set}" = set; then
37727 echo $ECHO_N "(cached) $ECHO_C" >&6
37728 else
37729 cat >conftest.$ac_ext <<_ACEOF
37730 /* confdefs.h. */
37731 _ACEOF
37732 cat confdefs.h >>conftest.$ac_ext
37733 cat >>conftest.$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37735 #include <wchar.h>
37736
37737 typedef mbstate_t ac__type_new_;
37738 int
37739 main ()
37740 {
37741 if ((ac__type_new_ *) 0)
37742 return 0;
37743 if (sizeof (ac__type_new_))
37744 return 0;
37745 ;
37746 return 0;
37747 }
37748 _ACEOF
37749 rm -f conftest.$ac_objext
37750 if { (ac_try="$ac_compile"
37751 case "(($ac_try" in
37752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37753 *) ac_try_echo=$ac_try;;
37754 esac
37755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37756 (eval "$ac_compile") 2>conftest.er1
37757 ac_status=$?
37758 grep -v '^ *+' conftest.er1 >conftest.err
37759 rm -f conftest.er1
37760 cat conftest.err >&5
37761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37762 (exit $ac_status); } && {
37763 test -z "$ac_c_werror_flag" ||
37764 test ! -s conftest.err
37765 } && test -s conftest.$ac_objext; then
37766 ac_cv_type_mbstate_t=yes
37767 else
37768 echo "$as_me: failed program was:" >&5
37769 sed 's/^/| /' conftest.$ac_ext >&5
37770
37771 ac_cv_type_mbstate_t=no
37772 fi
37773
37774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37775 fi
37776 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37777 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37778 if test $ac_cv_type_mbstate_t = yes; then
37779
37780 cat >>confdefs.h <<_ACEOF
37781 #define HAVE_MBSTATE_T 1
37782 _ACEOF
37783
37784
37785 for ac_func in wcsrtombs
37786 do
37787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37788 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37791 echo $ECHO_N "(cached) $ECHO_C" >&6
37792 else
37793 cat >conftest.$ac_ext <<_ACEOF
37794 /* confdefs.h. */
37795 _ACEOF
37796 cat confdefs.h >>conftest.$ac_ext
37797 cat >>conftest.$ac_ext <<_ACEOF
37798 /* end confdefs.h. */
37799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37801 #define $ac_func innocuous_$ac_func
37802
37803 /* System header to define __stub macros and hopefully few prototypes,
37804 which can conflict with char $ac_func (); below.
37805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37806 <limits.h> exists even on freestanding compilers. */
37807
37808 #ifdef __STDC__
37809 # include <limits.h>
37810 #else
37811 # include <assert.h>
37812 #endif
37813
37814 #undef $ac_func
37815
37816 /* Override any GCC internal prototype to avoid an error.
37817 Use char because int might match the return type of a GCC
37818 builtin and then its argument prototype would still apply. */
37819 #ifdef __cplusplus
37820 extern "C"
37821 #endif
37822 char $ac_func ();
37823 /* The GNU C library defines this for functions which it implements
37824 to always fail with ENOSYS. Some functions are actually named
37825 something starting with __ and the normal name is an alias. */
37826 #if defined __stub_$ac_func || defined __stub___$ac_func
37827 choke me
37828 #endif
37829
37830 int
37831 main ()
37832 {
37833 return $ac_func ();
37834 ;
37835 return 0;
37836 }
37837 _ACEOF
37838 rm -f conftest.$ac_objext conftest$ac_exeext
37839 if { (ac_try="$ac_link"
37840 case "(($ac_try" in
37841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37842 *) ac_try_echo=$ac_try;;
37843 esac
37844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37845 (eval "$ac_link") 2>conftest.er1
37846 ac_status=$?
37847 grep -v '^ *+' conftest.er1 >conftest.err
37848 rm -f conftest.er1
37849 cat conftest.err >&5
37850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37851 (exit $ac_status); } && {
37852 test -z "$ac_c_werror_flag" ||
37853 test ! -s conftest.err
37854 } && test -s conftest$ac_exeext &&
37855 $as_test_x conftest$ac_exeext; then
37856 eval "$as_ac_var=yes"
37857 else
37858 echo "$as_me: failed program was:" >&5
37859 sed 's/^/| /' conftest.$ac_ext >&5
37860
37861 eval "$as_ac_var=no"
37862 fi
37863
37864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37865 conftest$ac_exeext conftest.$ac_ext
37866 fi
37867 ac_res=`eval echo '${'$as_ac_var'}'`
37868 { echo "$as_me:$LINENO: result: $ac_res" >&5
37869 echo "${ECHO_T}$ac_res" >&6; }
37870 if test `eval echo '${'$as_ac_var'}'` = yes; then
37871 cat >>confdefs.h <<_ACEOF
37872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37873 _ACEOF
37874
37875 fi
37876 done
37877
37878 fi
37879
37880 else
37881 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37882 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37883 fi
37884
37885
37886
37887 for ac_func in snprintf vsnprintf
37888 do
37889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37893 echo $ECHO_N "(cached) $ECHO_C" >&6
37894 else
37895 cat >conftest.$ac_ext <<_ACEOF
37896 /* confdefs.h. */
37897 _ACEOF
37898 cat confdefs.h >>conftest.$ac_ext
37899 cat >>conftest.$ac_ext <<_ACEOF
37900 /* end confdefs.h. */
37901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37903 #define $ac_func innocuous_$ac_func
37904
37905 /* System header to define __stub macros and hopefully few prototypes,
37906 which can conflict with char $ac_func (); below.
37907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37908 <limits.h> exists even on freestanding compilers. */
37909
37910 #ifdef __STDC__
37911 # include <limits.h>
37912 #else
37913 # include <assert.h>
37914 #endif
37915
37916 #undef $ac_func
37917
37918 /* Override any GCC internal prototype to avoid an error.
37919 Use char because int might match the return type of a GCC
37920 builtin and then its argument prototype would still apply. */
37921 #ifdef __cplusplus
37922 extern "C"
37923 #endif
37924 char $ac_func ();
37925 /* The GNU C library defines this for functions which it implements
37926 to always fail with ENOSYS. Some functions are actually named
37927 something starting with __ and the normal name is an alias. */
37928 #if defined __stub_$ac_func || defined __stub___$ac_func
37929 choke me
37930 #endif
37931
37932 int
37933 main ()
37934 {
37935 return $ac_func ();
37936 ;
37937 return 0;
37938 }
37939 _ACEOF
37940 rm -f conftest.$ac_objext conftest$ac_exeext
37941 if { (ac_try="$ac_link"
37942 case "(($ac_try" in
37943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37944 *) ac_try_echo=$ac_try;;
37945 esac
37946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37947 (eval "$ac_link") 2>conftest.er1
37948 ac_status=$?
37949 grep -v '^ *+' conftest.er1 >conftest.err
37950 rm -f conftest.er1
37951 cat conftest.err >&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } && {
37954 test -z "$ac_c_werror_flag" ||
37955 test ! -s conftest.err
37956 } && test -s conftest$ac_exeext &&
37957 $as_test_x conftest$ac_exeext; then
37958 eval "$as_ac_var=yes"
37959 else
37960 echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.$ac_ext >&5
37962
37963 eval "$as_ac_var=no"
37964 fi
37965
37966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37967 conftest$ac_exeext conftest.$ac_ext
37968 fi
37969 ac_res=`eval echo '${'$as_ac_var'}'`
37970 { echo "$as_me:$LINENO: result: $ac_res" >&5
37971 echo "${ECHO_T}$ac_res" >&6; }
37972 if test `eval echo '${'$as_ac_var'}'` = yes; then
37973 cat >>confdefs.h <<_ACEOF
37974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37975 _ACEOF
37976
37977 fi
37978 done
37979
37980
37981 if test "$ac_cv_func_vsnprintf" = "yes"; then
37982 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37983 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37984 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37985 echo $ECHO_N "(cached) $ECHO_C" >&6
37986 else
37987
37988 cat >conftest.$ac_ext <<_ACEOF
37989 /* confdefs.h. */
37990 _ACEOF
37991 cat confdefs.h >>conftest.$ac_ext
37992 cat >>conftest.$ac_ext <<_ACEOF
37993 /* end confdefs.h. */
37994
37995 #include <stdio.h>
37996 #include <stdarg.h>
37997 #ifdef __MSL__
37998 #if __MSL__ >= 0x6000
37999 namespace std {}
38000 using namespace std;
38001 #endif
38002 #endif
38003
38004 int
38005 main ()
38006 {
38007
38008 char *buf;
38009 va_list ap;
38010 vsnprintf(buf, 10u, "%s", ap);
38011
38012 ;
38013 return 0;
38014 }
38015 _ACEOF
38016 rm -f conftest.$ac_objext
38017 if { (ac_try="$ac_compile"
38018 case "(($ac_try" in
38019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38020 *) ac_try_echo=$ac_try;;
38021 esac
38022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38023 (eval "$ac_compile") 2>conftest.er1
38024 ac_status=$?
38025 grep -v '^ *+' conftest.er1 >conftest.err
38026 rm -f conftest.er1
38027 cat conftest.err >&5
38028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38029 (exit $ac_status); } && {
38030 test -z "$ac_c_werror_flag" ||
38031 test ! -s conftest.err
38032 } && test -s conftest.$ac_objext; then
38033 wx_cv_func_vsnprintf_decl=yes
38034 else
38035 echo "$as_me: failed program was:" >&5
38036 sed 's/^/| /' conftest.$ac_ext >&5
38037
38038 wx_cv_func_vsnprintf_decl=no
38039
38040 fi
38041
38042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38043
38044
38045 fi
38046 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38047 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38048
38049 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38050 cat >>confdefs.h <<\_ACEOF
38051 #define HAVE_VSNPRINTF_DECL 1
38052 _ACEOF
38053
38054
38055 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38056 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38057 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38058 echo $ECHO_N "(cached) $ECHO_C" >&6
38059 else
38060
38061 cat >conftest.$ac_ext <<_ACEOF
38062 /* confdefs.h. */
38063 _ACEOF
38064 cat confdefs.h >>conftest.$ac_ext
38065 cat >>conftest.$ac_ext <<_ACEOF
38066 /* end confdefs.h. */
38067
38068 #include <stdio.h>
38069 #include <stdarg.h>
38070 #ifdef __MSL__
38071 #if __MSL__ >= 0x6000
38072 namespace std {}
38073 using namespace std;
38074 #endif
38075 #endif
38076
38077 int
38078 main ()
38079 {
38080
38081 char *buf;
38082 va_list ap;
38083 const char *fmt = "%s";
38084 vsnprintf(buf, 10u, fmt, ap);
38085
38086 ;
38087 return 0;
38088 }
38089 _ACEOF
38090 rm -f conftest.$ac_objext
38091 if { (ac_try="$ac_compile"
38092 case "(($ac_try" in
38093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38094 *) ac_try_echo=$ac_try;;
38095 esac
38096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38097 (eval "$ac_compile") 2>conftest.er1
38098 ac_status=$?
38099 grep -v '^ *+' conftest.er1 >conftest.err
38100 rm -f conftest.er1
38101 cat conftest.err >&5
38102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38103 (exit $ac_status); } && {
38104 test -z "$ac_c_werror_flag" ||
38105 test ! -s conftest.err
38106 } && test -s conftest.$ac_objext; then
38107 wx_cv_func_broken_vsnprintf_decl=no
38108 else
38109 echo "$as_me: failed program was:" >&5
38110 sed 's/^/| /' conftest.$ac_ext >&5
38111
38112 wx_cv_func_broken_vsnprintf_decl=yes
38113
38114 fi
38115
38116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38117
38118
38119 fi
38120 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38121 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38122
38123 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38124 cat >>confdefs.h <<\_ACEOF
38125 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38126 _ACEOF
38127
38128 fi
38129 fi
38130 fi
38131
38132 if test "$ac_cv_func_snprintf" = "yes"; then
38133 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38134 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38135 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38137 else
38138
38139 cat >conftest.$ac_ext <<_ACEOF
38140 /* confdefs.h. */
38141 _ACEOF
38142 cat confdefs.h >>conftest.$ac_ext
38143 cat >>conftest.$ac_ext <<_ACEOF
38144 /* end confdefs.h. */
38145
38146 #include <stdio.h>
38147 #include <stdarg.h>
38148 #ifdef __MSL__
38149 #if __MSL__ >= 0x6000
38150 namespace std {}
38151 using namespace std;
38152 #endif
38153 #endif
38154
38155 int
38156 main ()
38157 {
38158
38159 char *buf;
38160 snprintf(buf, 10u, "%s", "wx");
38161
38162 ;
38163 return 0;
38164 }
38165 _ACEOF
38166 rm -f conftest.$ac_objext
38167 if { (ac_try="$ac_compile"
38168 case "(($ac_try" in
38169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38170 *) ac_try_echo=$ac_try;;
38171 esac
38172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38173 (eval "$ac_compile") 2>conftest.er1
38174 ac_status=$?
38175 grep -v '^ *+' conftest.er1 >conftest.err
38176 rm -f conftest.er1
38177 cat conftest.err >&5
38178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38179 (exit $ac_status); } && {
38180 test -z "$ac_c_werror_flag" ||
38181 test ! -s conftest.err
38182 } && test -s conftest.$ac_objext; then
38183 wx_cv_func_snprintf_decl=yes
38184 else
38185 echo "$as_me: failed program was:" >&5
38186 sed 's/^/| /' conftest.$ac_ext >&5
38187
38188 wx_cv_func_snprintf_decl=no
38189
38190 fi
38191
38192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38193
38194
38195 fi
38196 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38197 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38198
38199 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38200 cat >>confdefs.h <<\_ACEOF
38201 #define HAVE_SNPRINTF_DECL 1
38202 _ACEOF
38203
38204
38205 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38206 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38207 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38208 echo $ECHO_N "(cached) $ECHO_C" >&6
38209 else
38210
38211 cat >conftest.$ac_ext <<_ACEOF
38212 /* confdefs.h. */
38213 _ACEOF
38214 cat confdefs.h >>conftest.$ac_ext
38215 cat >>conftest.$ac_ext <<_ACEOF
38216 /* end confdefs.h. */
38217
38218 #include <stdio.h>
38219 #include <stdarg.h>
38220 #ifdef __MSL__
38221 #if __MSL__ >= 0x6000
38222 namespace std {}
38223 using namespace std;
38224 #endif
38225 #endif
38226
38227 int
38228 main ()
38229 {
38230
38231 char *buf;
38232 const char *fmt = "%s";
38233 snprintf(buf, 10u, fmt, "wx");
38234
38235 ;
38236 return 0;
38237 }
38238 _ACEOF
38239 rm -f conftest.$ac_objext
38240 if { (ac_try="$ac_compile"
38241 case "(($ac_try" in
38242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38243 *) ac_try_echo=$ac_try;;
38244 esac
38245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38246 (eval "$ac_compile") 2>conftest.er1
38247 ac_status=$?
38248 grep -v '^ *+' conftest.er1 >conftest.err
38249 rm -f conftest.er1
38250 cat conftest.err >&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } && {
38253 test -z "$ac_c_werror_flag" ||
38254 test ! -s conftest.err
38255 } && test -s conftest.$ac_objext; then
38256 wx_cv_func_broken_snprintf_decl=no
38257 else
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.$ac_ext >&5
38260
38261 wx_cv_func_broken_snprintf_decl=yes
38262
38263 fi
38264
38265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38266
38267
38268 fi
38269 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38270 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38271
38272 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38273 cat >>confdefs.h <<\_ACEOF
38274 #define HAVE_BROKEN_SNPRINTF_DECL 1
38275 _ACEOF
38276
38277 fi
38278 fi
38279
38280 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38281
38282 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38283 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38284 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38285 echo $ECHO_N "(cached) $ECHO_C" >&6
38286 else
38287
38288 if test "$cross_compiling" = yes; then
38289
38290 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38291 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38292 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38293 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38294 wx_cv_func_snprintf_pos_params=no
38295
38296
38297 else
38298 cat >conftest.$ac_ext <<_ACEOF
38299 /* confdefs.h. */
38300 _ACEOF
38301 cat confdefs.h >>conftest.$ac_ext
38302 cat >>conftest.$ac_ext <<_ACEOF
38303 /* end confdefs.h. */
38304
38305 #include <stdio.h>
38306
38307 int main (void)
38308 {
38309 char buffer[128];
38310 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38311 if (strcmp ("2 3 1", buffer) == 0)
38312 exit (0);
38313 exit (1);
38314 }
38315
38316 _ACEOF
38317 rm -f conftest$ac_exeext
38318 if { (ac_try="$ac_link"
38319 case "(($ac_try" in
38320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38321 *) ac_try_echo=$ac_try;;
38322 esac
38323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38324 (eval "$ac_link") 2>&5
38325 ac_status=$?
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38328 { (case "(($ac_try" in
38329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38330 *) ac_try_echo=$ac_try;;
38331 esac
38332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38333 (eval "$ac_try") 2>&5
38334 ac_status=$?
38335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38336 (exit $ac_status); }; }; then
38337 wx_cv_func_snprintf_pos_params=no
38338 else
38339 echo "$as_me: program exited with status $ac_status" >&5
38340 echo "$as_me: failed program was:" >&5
38341 sed 's/^/| /' conftest.$ac_ext >&5
38342
38343 ( exit $ac_status )
38344 wx_cv_func_snprintf_pos_params=yes
38345 fi
38346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38347 fi
38348
38349
38350
38351
38352 fi
38353 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38354 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38355
38356 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38357 cat >>confdefs.h <<\_ACEOF
38358 #define HAVE_UNIX98_PRINTF 1
38359 _ACEOF
38360
38361 fi
38362 fi
38363 fi
38364
38365 if test "$wxUSE_UNICODE" = yes; then
38366
38367
38368 for ac_func in swprintf
38369 do
38370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38371 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38374 echo $ECHO_N "(cached) $ECHO_C" >&6
38375 else
38376 cat >conftest.$ac_ext <<_ACEOF
38377 /* confdefs.h. */
38378 _ACEOF
38379 cat confdefs.h >>conftest.$ac_ext
38380 cat >>conftest.$ac_ext <<_ACEOF
38381 /* end confdefs.h. */
38382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38384 #define $ac_func innocuous_$ac_func
38385
38386 /* System header to define __stub macros and hopefully few prototypes,
38387 which can conflict with char $ac_func (); below.
38388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38389 <limits.h> exists even on freestanding compilers. */
38390
38391 #ifdef __STDC__
38392 # include <limits.h>
38393 #else
38394 # include <assert.h>
38395 #endif
38396
38397 #undef $ac_func
38398
38399 /* Override any GCC internal prototype to avoid an error.
38400 Use char because int might match the return type of a GCC
38401 builtin and then its argument prototype would still apply. */
38402 #ifdef __cplusplus
38403 extern "C"
38404 #endif
38405 char $ac_func ();
38406 /* The GNU C library defines this for functions which it implements
38407 to always fail with ENOSYS. Some functions are actually named
38408 something starting with __ and the normal name is an alias. */
38409 #if defined __stub_$ac_func || defined __stub___$ac_func
38410 choke me
38411 #endif
38412
38413 int
38414 main ()
38415 {
38416 return $ac_func ();
38417 ;
38418 return 0;
38419 }
38420 _ACEOF
38421 rm -f conftest.$ac_objext conftest$ac_exeext
38422 if { (ac_try="$ac_link"
38423 case "(($ac_try" in
38424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38425 *) ac_try_echo=$ac_try;;
38426 esac
38427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38428 (eval "$ac_link") 2>conftest.er1
38429 ac_status=$?
38430 grep -v '^ *+' conftest.er1 >conftest.err
38431 rm -f conftest.er1
38432 cat conftest.err >&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } && {
38435 test -z "$ac_c_werror_flag" ||
38436 test ! -s conftest.err
38437 } && test -s conftest$ac_exeext &&
38438 $as_test_x conftest$ac_exeext; then
38439 eval "$as_ac_var=yes"
38440 else
38441 echo "$as_me: failed program was:" >&5
38442 sed 's/^/| /' conftest.$ac_ext >&5
38443
38444 eval "$as_ac_var=no"
38445 fi
38446
38447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38448 conftest$ac_exeext conftest.$ac_ext
38449 fi
38450 ac_res=`eval echo '${'$as_ac_var'}'`
38451 { echo "$as_me:$LINENO: result: $ac_res" >&5
38452 echo "${ECHO_T}$ac_res" >&6; }
38453 if test `eval echo '${'$as_ac_var'}'` = yes; then
38454 cat >>confdefs.h <<_ACEOF
38455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38456 _ACEOF
38457
38458 fi
38459 done
38460
38461
38462 if test "$ac_cv_func_swprintf" = "yes"; then
38463 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38464 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38465 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38466 echo $ECHO_N "(cached) $ECHO_C" >&6
38467 else
38468
38469 cat >conftest.$ac_ext <<_ACEOF
38470 /* confdefs.h. */
38471 _ACEOF
38472 cat confdefs.h >>conftest.$ac_ext
38473 cat >>conftest.$ac_ext <<_ACEOF
38474 /* end confdefs.h. */
38475
38476 #include <stdio.h>
38477 #include <stdarg.h>
38478 #include <wchar.h>
38479
38480 int
38481 main ()
38482 {
38483
38484 wchar_t *buf;
38485 const wchar_t *fmt = L"test";
38486 swprintf(buf, 10u, fmt);
38487
38488 ;
38489 return 0;
38490 }
38491 _ACEOF
38492 rm -f conftest.$ac_objext
38493 if { (ac_try="$ac_compile"
38494 case "(($ac_try" in
38495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38496 *) ac_try_echo=$ac_try;;
38497 esac
38498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38499 (eval "$ac_compile") 2>conftest.er1
38500 ac_status=$?
38501 grep -v '^ *+' conftest.er1 >conftest.err
38502 rm -f conftest.er1
38503 cat conftest.err >&5
38504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38505 (exit $ac_status); } && {
38506 test -z "$ac_c_werror_flag" ||
38507 test ! -s conftest.err
38508 } && test -s conftest.$ac_objext; then
38509 wx_cv_func_broken_swprintf_decl=no
38510 else
38511 echo "$as_me: failed program was:" >&5
38512 sed 's/^/| /' conftest.$ac_ext >&5
38513
38514 wx_cv_func_broken_swprintf_decl=yes
38515
38516 fi
38517
38518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38519
38520
38521 fi
38522 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38523 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38524
38525 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38526 cat >>confdefs.h <<\_ACEOF
38527 #define HAVE_BROKEN_SWPRINTF_DECL 1
38528 _ACEOF
38529
38530 fi
38531 fi
38532
38533 wchar_headers="#include <stdio.h>
38534 #include <wchar.h>"
38535 case "${host}" in
38536 *-*-solaris2* )
38537
38538 for ac_header in widec.h
38539 do
38540 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38541 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38543 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38544 echo $ECHO_N "(cached) $ECHO_C" >&6
38545 else
38546 cat >conftest.$ac_ext <<_ACEOF
38547 /* confdefs.h. */
38548 _ACEOF
38549 cat confdefs.h >>conftest.$ac_ext
38550 cat >>conftest.$ac_ext <<_ACEOF
38551 /* end confdefs.h. */
38552 $ac_includes_default
38553
38554 #include <$ac_header>
38555 _ACEOF
38556 rm -f conftest.$ac_objext
38557 if { (ac_try="$ac_compile"
38558 case "(($ac_try" in
38559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38560 *) ac_try_echo=$ac_try;;
38561 esac
38562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38563 (eval "$ac_compile") 2>conftest.er1
38564 ac_status=$?
38565 grep -v '^ *+' conftest.er1 >conftest.err
38566 rm -f conftest.er1
38567 cat conftest.err >&5
38568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38569 (exit $ac_status); } && {
38570 test -z "$ac_c_werror_flag" ||
38571 test ! -s conftest.err
38572 } && test -s conftest.$ac_objext; then
38573 eval "$as_ac_Header=yes"
38574 else
38575 echo "$as_me: failed program was:" >&5
38576 sed 's/^/| /' conftest.$ac_ext >&5
38577
38578 eval "$as_ac_Header=no"
38579 fi
38580
38581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38582 fi
38583 ac_res=`eval echo '${'$as_ac_Header'}'`
38584 { echo "$as_me:$LINENO: result: $ac_res" >&5
38585 echo "${ECHO_T}$ac_res" >&6; }
38586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38587 cat >>confdefs.h <<_ACEOF
38588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38589 _ACEOF
38590
38591 fi
38592
38593 done
38594
38595 if test "$ac_cv_header_widec_h" = "yes"; then
38596 wchar_headers="$wchar_headers
38597 #include <widec.h>"
38598 fi
38599 esac
38600
38601
38602 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38603 do
38604 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38605 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38606 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38607 echo $ECHO_N "(cached) $ECHO_C" >&6
38608 else
38609
38610 cat >conftest.$ac_ext <<_ACEOF
38611
38612 /* confdefs.h. */
38613 _ACEOF
38614 cat confdefs.h >>conftest.$ac_ext
38615 cat >>conftest.$ac_ext <<_ACEOF
38616 /* end confdefs.h. */
38617
38618 $wchar_headers
38619 $ac_includes_default
38620
38621 int
38622 main ()
38623 {
38624
38625 #ifndef $wx_func
38626 &$wx_func;
38627 #endif
38628
38629
38630 ;
38631 return 0;
38632 }
38633
38634 _ACEOF
38635 rm -f conftest.$ac_objext conftest$ac_exeext
38636 if { (ac_try="$ac_link"
38637 case "(($ac_try" in
38638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38639 *) ac_try_echo=$ac_try;;
38640 esac
38641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38642 (eval "$ac_link") 2>conftest.er1
38643 ac_status=$?
38644 grep -v '^ *+' conftest.er1 >conftest.err
38645 rm -f conftest.er1
38646 cat conftest.err >&5
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); } && {
38649 test -z "$ac_c_werror_flag" ||
38650 test ! -s conftest.err
38651 } && test -s conftest$ac_exeext &&
38652 $as_test_x conftest$ac_exeext; then
38653 eval wx_cv_func_$wx_func=yes
38654 else
38655 echo "$as_me: failed program was:" >&5
38656 sed 's/^/| /' conftest.$ac_ext >&5
38657
38658 eval wx_cv_func_$wx_func=no
38659 fi
38660
38661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38662 conftest$ac_exeext conftest.$ac_ext
38663
38664 fi
38665 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38666 { echo "$as_me:$LINENO: result: $ac_res" >&5
38667 echo "${ECHO_T}$ac_res" >&6; }
38668
38669 if eval test \$wx_cv_func_$wx_func = yes
38670 then
38671 cat >>confdefs.h <<_ACEOF
38672 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38673 _ACEOF
38674
38675
38676 else
38677 :
38678
38679 fi
38680 done
38681
38682
38683 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38684 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38685 cat >conftest.$ac_ext <<_ACEOF
38686 /* confdefs.h. */
38687 _ACEOF
38688 cat confdefs.h >>conftest.$ac_ext
38689 cat >>conftest.$ac_ext <<_ACEOF
38690 /* end confdefs.h. */
38691 #include <wchar.h>
38692 int
38693 main ()
38694 {
38695 &_vsnwprintf;
38696 ;
38697 return 0;
38698 }
38699 _ACEOF
38700 rm -f conftest.$ac_objext
38701 if { (ac_try="$ac_compile"
38702 case "(($ac_try" in
38703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38704 *) ac_try_echo=$ac_try;;
38705 esac
38706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38707 (eval "$ac_compile") 2>conftest.er1
38708 ac_status=$?
38709 grep -v '^ *+' conftest.er1 >conftest.err
38710 rm -f conftest.er1
38711 cat conftest.err >&5
38712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38713 (exit $ac_status); } && {
38714 test -z "$ac_c_werror_flag" ||
38715 test ! -s conftest.err
38716 } && test -s conftest.$ac_objext; then
38717 { echo "$as_me:$LINENO: result: yes" >&5
38718 echo "${ECHO_T}yes" >&6; }
38719 cat >>confdefs.h <<\_ACEOF
38720 #define HAVE__VSNWPRINTF 1
38721 _ACEOF
38722
38723 else
38724 echo "$as_me: failed program was:" >&5
38725 sed 's/^/| /' conftest.$ac_ext >&5
38726
38727 { echo "$as_me:$LINENO: result: no" >&5
38728 echo "${ECHO_T}no" >&6; }
38729 fi
38730
38731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38732 fi
38733
38734 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38735
38736 for wx_func in fnmatch
38737 do
38738 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38739 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38740 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38741 echo $ECHO_N "(cached) $ECHO_C" >&6
38742 else
38743
38744 cat >conftest.$ac_ext <<_ACEOF
38745
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 <fnmatch.h>
38753 $ac_includes_default
38754
38755 int
38756 main ()
38757 {
38758
38759 #ifndef $wx_func
38760 &$wx_func;
38761 #endif
38762
38763
38764 ;
38765 return 0;
38766 }
38767
38768 _ACEOF
38769 rm -f conftest.$ac_objext conftest$ac_exeext
38770 if { (ac_try="$ac_link"
38771 case "(($ac_try" in
38772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38773 *) ac_try_echo=$ac_try;;
38774 esac
38775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38776 (eval "$ac_link") 2>conftest.er1
38777 ac_status=$?
38778 grep -v '^ *+' conftest.er1 >conftest.err
38779 rm -f conftest.er1
38780 cat conftest.err >&5
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); } && {
38783 test -z "$ac_c_werror_flag" ||
38784 test ! -s conftest.err
38785 } && test -s conftest$ac_exeext &&
38786 $as_test_x conftest$ac_exeext; then
38787 eval wx_cv_func_$wx_func=yes
38788 else
38789 echo "$as_me: failed program was:" >&5
38790 sed 's/^/| /' conftest.$ac_ext >&5
38791
38792 eval wx_cv_func_$wx_func=no
38793 fi
38794
38795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38796 conftest$ac_exeext conftest.$ac_ext
38797
38798 fi
38799 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38800 { echo "$as_me:$LINENO: result: $ac_res" >&5
38801 echo "${ECHO_T}$ac_res" >&6; }
38802
38803 if eval test \$wx_cv_func_$wx_func = yes
38804 then
38805 cat >>confdefs.h <<_ACEOF
38806 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38807 _ACEOF
38808
38809
38810 else
38811 :
38812
38813 fi
38814 done
38815
38816 fi
38817
38818 if test "$wxUSE_FILE" = "yes"; then
38819
38820 for wx_func in fsync
38821 do
38822 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38823 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38824 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38825 echo $ECHO_N "(cached) $ECHO_C" >&6
38826 else
38827
38828 cat >conftest.$ac_ext <<_ACEOF
38829
38830 /* confdefs.h. */
38831 _ACEOF
38832 cat confdefs.h >>conftest.$ac_ext
38833 cat >>conftest.$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38835
38836
38837 $ac_includes_default
38838
38839 int
38840 main ()
38841 {
38842
38843 #ifndef $wx_func
38844 &$wx_func;
38845 #endif
38846
38847
38848 ;
38849 return 0;
38850 }
38851
38852 _ACEOF
38853 rm -f conftest.$ac_objext conftest$ac_exeext
38854 if { (ac_try="$ac_link"
38855 case "(($ac_try" in
38856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38857 *) ac_try_echo=$ac_try;;
38858 esac
38859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38860 (eval "$ac_link") 2>conftest.er1
38861 ac_status=$?
38862 grep -v '^ *+' conftest.er1 >conftest.err
38863 rm -f conftest.er1
38864 cat conftest.err >&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } && {
38867 test -z "$ac_c_werror_flag" ||
38868 test ! -s conftest.err
38869 } && test -s conftest$ac_exeext &&
38870 $as_test_x conftest$ac_exeext; then
38871 eval wx_cv_func_$wx_func=yes
38872 else
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38875
38876 eval wx_cv_func_$wx_func=no
38877 fi
38878
38879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38880 conftest$ac_exeext conftest.$ac_ext
38881
38882 fi
38883 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38884 { echo "$as_me:$LINENO: result: $ac_res" >&5
38885 echo "${ECHO_T}$ac_res" >&6; }
38886
38887 if eval test \$wx_cv_func_$wx_func = yes
38888 then
38889 cat >>confdefs.h <<_ACEOF
38890 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38891 _ACEOF
38892
38893
38894 else
38895 :
38896
38897 fi
38898 done
38899
38900 fi
38901
38902 ac_ext=cpp
38903 ac_cpp='$CXXCPP $CPPFLAGS'
38904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38907
38908
38909 for wx_func in round
38910 do
38911 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38912 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38913 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38914 echo $ECHO_N "(cached) $ECHO_C" >&6
38915 else
38916
38917 cat >conftest.$ac_ext <<_ACEOF
38918
38919 /* confdefs.h. */
38920 _ACEOF
38921 cat confdefs.h >>conftest.$ac_ext
38922 cat >>conftest.$ac_ext <<_ACEOF
38923 /* end confdefs.h. */
38924
38925 #include <math.h>
38926 $ac_includes_default
38927
38928 int
38929 main ()
38930 {
38931
38932 #ifndef $wx_func
38933 &$wx_func;
38934 #endif
38935
38936
38937 ;
38938 return 0;
38939 }
38940
38941 _ACEOF
38942 rm -f conftest.$ac_objext conftest$ac_exeext
38943 if { (ac_try="$ac_link"
38944 case "(($ac_try" in
38945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38946 *) ac_try_echo=$ac_try;;
38947 esac
38948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38949 (eval "$ac_link") 2>conftest.er1
38950 ac_status=$?
38951 grep -v '^ *+' conftest.er1 >conftest.err
38952 rm -f conftest.er1
38953 cat conftest.err >&5
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); } && {
38956 test -z "$ac_cxx_werror_flag" ||
38957 test ! -s conftest.err
38958 } && test -s conftest$ac_exeext &&
38959 $as_test_x conftest$ac_exeext; then
38960 eval wx_cv_func_$wx_func=yes
38961 else
38962 echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.$ac_ext >&5
38964
38965 eval wx_cv_func_$wx_func=no
38966 fi
38967
38968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38969 conftest$ac_exeext conftest.$ac_ext
38970
38971 fi
38972 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38973 { echo "$as_me:$LINENO: result: $ac_res" >&5
38974 echo "${ECHO_T}$ac_res" >&6; }
38975
38976 if eval test \$wx_cv_func_$wx_func = yes
38977 then
38978 cat >>confdefs.h <<_ACEOF
38979 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38980 _ACEOF
38981
38982
38983 else
38984 :
38985
38986 fi
38987 done
38988
38989 ac_ext=c
38990 ac_cpp='$CPP $CPPFLAGS'
38991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38994
38995
38996 if test "$TOOLKIT" != "MSW"; then
38997
38998
38999
39000
39001
39002 # Check whether --with-libiconv-prefix was given.
39003 if test "${with_libiconv_prefix+set}" = set; then
39004 withval=$with_libiconv_prefix;
39005 for dir in `echo "$withval" | tr : ' '`; do
39006 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39007 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
39008 done
39009
39010 fi
39011
39012
39013 { echo "$as_me:$LINENO: checking for iconv" >&5
39014 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39015 if test "${am_cv_func_iconv+set}" = set; then
39016 echo $ECHO_N "(cached) $ECHO_C" >&6
39017 else
39018
39019 am_cv_func_iconv="no, consider installing GNU libiconv"
39020 am_cv_lib_iconv=no
39021 cat >conftest.$ac_ext <<_ACEOF
39022 /* confdefs.h. */
39023 _ACEOF
39024 cat confdefs.h >>conftest.$ac_ext
39025 cat >>conftest.$ac_ext <<_ACEOF
39026 /* end confdefs.h. */
39027 #include <stdlib.h>
39028 #include <iconv.h>
39029 int
39030 main ()
39031 {
39032 iconv_t cd = iconv_open("","");
39033 iconv(cd,NULL,NULL,NULL,NULL);
39034 iconv_close(cd);
39035 ;
39036 return 0;
39037 }
39038 _ACEOF
39039 rm -f conftest.$ac_objext conftest$ac_exeext
39040 if { (ac_try="$ac_link"
39041 case "(($ac_try" in
39042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39043 *) ac_try_echo=$ac_try;;
39044 esac
39045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39046 (eval "$ac_link") 2>conftest.er1
39047 ac_status=$?
39048 grep -v '^ *+' conftest.er1 >conftest.err
39049 rm -f conftest.er1
39050 cat conftest.err >&5
39051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39052 (exit $ac_status); } && {
39053 test -z "$ac_c_werror_flag" ||
39054 test ! -s conftest.err
39055 } && test -s conftest$ac_exeext &&
39056 $as_test_x conftest$ac_exeext; then
39057 am_cv_func_iconv=yes
39058 else
39059 echo "$as_me: failed program was:" >&5
39060 sed 's/^/| /' conftest.$ac_ext >&5
39061
39062
39063 fi
39064
39065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39066 conftest$ac_exeext conftest.$ac_ext
39067 if test "$am_cv_func_iconv" != yes; then
39068 am_save_LIBS="$LIBS"
39069 LIBS="$LIBS -liconv"
39070 cat >conftest.$ac_ext <<_ACEOF
39071 /* confdefs.h. */
39072 _ACEOF
39073 cat confdefs.h >>conftest.$ac_ext
39074 cat >>conftest.$ac_ext <<_ACEOF
39075 /* end confdefs.h. */
39076 #include <stdlib.h>
39077 #include <iconv.h>
39078 int
39079 main ()
39080 {
39081 iconv_t cd = iconv_open("","");
39082 iconv(cd,NULL,NULL,NULL,NULL);
39083 iconv_close(cd);
39084 ;
39085 return 0;
39086 }
39087 _ACEOF
39088 rm -f conftest.$ac_objext conftest$ac_exeext
39089 if { (ac_try="$ac_link"
39090 case "(($ac_try" in
39091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39092 *) ac_try_echo=$ac_try;;
39093 esac
39094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39095 (eval "$ac_link") 2>conftest.er1
39096 ac_status=$?
39097 grep -v '^ *+' conftest.er1 >conftest.err
39098 rm -f conftest.er1
39099 cat conftest.err >&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); } && {
39102 test -z "$ac_c_werror_flag" ||
39103 test ! -s conftest.err
39104 } && test -s conftest$ac_exeext &&
39105 $as_test_x conftest$ac_exeext; then
39106 am_cv_lib_iconv=yes
39107 am_cv_func_iconv=yes
39108 else
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.$ac_ext >&5
39111
39112
39113 fi
39114
39115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39116 conftest$ac_exeext conftest.$ac_ext
39117 LIBS="$am_save_LIBS"
39118 fi
39119
39120 fi
39121 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39122 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39123 if test "$am_cv_func_iconv" = yes; then
39124
39125 cat >>confdefs.h <<\_ACEOF
39126 #define HAVE_ICONV 1
39127 _ACEOF
39128
39129 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39130 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39131 if test "${wx_cv_func_iconv_const+set}" = set; then
39132 echo $ECHO_N "(cached) $ECHO_C" >&6
39133 else
39134 cat >conftest.$ac_ext <<_ACEOF
39135 /* confdefs.h. */
39136 _ACEOF
39137 cat confdefs.h >>conftest.$ac_ext
39138 cat >>conftest.$ac_ext <<_ACEOF
39139 /* end confdefs.h. */
39140
39141 #include <stdlib.h>
39142 #include <iconv.h>
39143 extern
39144 #ifdef __cplusplus
39145 "C"
39146 #endif
39147 #if defined(__STDC__) || defined(__cplusplus)
39148 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39149 #else
39150 size_t iconv();
39151 #endif
39152
39153 int
39154 main ()
39155 {
39156
39157 ;
39158 return 0;
39159 }
39160 _ACEOF
39161 rm -f conftest.$ac_objext
39162 if { (ac_try="$ac_compile"
39163 case "(($ac_try" in
39164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39165 *) ac_try_echo=$ac_try;;
39166 esac
39167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39168 (eval "$ac_compile") 2>conftest.er1
39169 ac_status=$?
39170 grep -v '^ *+' conftest.er1 >conftest.err
39171 rm -f conftest.er1
39172 cat conftest.err >&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); } && {
39175 test -z "$ac_c_werror_flag" ||
39176 test ! -s conftest.err
39177 } && test -s conftest.$ac_objext; then
39178 wx_cv_func_iconv_const="no"
39179 else
39180 echo "$as_me: failed program was:" >&5
39181 sed 's/^/| /' conftest.$ac_ext >&5
39182
39183 wx_cv_func_iconv_const="yes"
39184
39185 fi
39186
39187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39188
39189 fi
39190 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39191 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39192
39193 iconv_const=
39194 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39195 iconv_const="const"
39196 fi
39197
39198
39199 cat >>confdefs.h <<_ACEOF
39200 #define ICONV_CONST $iconv_const
39201 _ACEOF
39202
39203 fi
39204 LIBICONV=
39205 if test "$am_cv_lib_iconv" = yes; then
39206 LIBICONV="-liconv"
39207 fi
39208
39209
39210 LIBS="$LIBICONV $LIBS"
39211
39212 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39213
39214 for ac_func in sigaction
39215 do
39216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39220 echo $ECHO_N "(cached) $ECHO_C" >&6
39221 else
39222 cat >conftest.$ac_ext <<_ACEOF
39223 /* confdefs.h. */
39224 _ACEOF
39225 cat confdefs.h >>conftest.$ac_ext
39226 cat >>conftest.$ac_ext <<_ACEOF
39227 /* end confdefs.h. */
39228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39230 #define $ac_func innocuous_$ac_func
39231
39232 /* System header to define __stub macros and hopefully few prototypes,
39233 which can conflict with char $ac_func (); below.
39234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39235 <limits.h> exists even on freestanding compilers. */
39236
39237 #ifdef __STDC__
39238 # include <limits.h>
39239 #else
39240 # include <assert.h>
39241 #endif
39242
39243 #undef $ac_func
39244
39245 /* Override any GCC internal prototype to avoid an error.
39246 Use char because int might match the return type of a GCC
39247 builtin and then its argument prototype would still apply. */
39248 #ifdef __cplusplus
39249 extern "C"
39250 #endif
39251 char $ac_func ();
39252 /* The GNU C library defines this for functions which it implements
39253 to always fail with ENOSYS. Some functions are actually named
39254 something starting with __ and the normal name is an alias. */
39255 #if defined __stub_$ac_func || defined __stub___$ac_func
39256 choke me
39257 #endif
39258
39259 int
39260 main ()
39261 {
39262 return $ac_func ();
39263 ;
39264 return 0;
39265 }
39266 _ACEOF
39267 rm -f conftest.$ac_objext conftest$ac_exeext
39268 if { (ac_try="$ac_link"
39269 case "(($ac_try" in
39270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39271 *) ac_try_echo=$ac_try;;
39272 esac
39273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39274 (eval "$ac_link") 2>conftest.er1
39275 ac_status=$?
39276 grep -v '^ *+' conftest.er1 >conftest.err
39277 rm -f conftest.er1
39278 cat conftest.err >&5
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); } && {
39281 test -z "$ac_c_werror_flag" ||
39282 test ! -s conftest.err
39283 } && test -s conftest$ac_exeext &&
39284 $as_test_x conftest$ac_exeext; then
39285 eval "$as_ac_var=yes"
39286 else
39287 echo "$as_me: failed program was:" >&5
39288 sed 's/^/| /' conftest.$ac_ext >&5
39289
39290 eval "$as_ac_var=no"
39291 fi
39292
39293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39294 conftest$ac_exeext conftest.$ac_ext
39295 fi
39296 ac_res=`eval echo '${'$as_ac_var'}'`
39297 { echo "$as_me:$LINENO: result: $ac_res" >&5
39298 echo "${ECHO_T}$ac_res" >&6; }
39299 if test `eval echo '${'$as_ac_var'}'` = yes; then
39300 cat >>confdefs.h <<_ACEOF
39301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39302 _ACEOF
39303
39304 fi
39305 done
39306
39307
39308 if test "$ac_cv_func_sigaction" = "no"; then
39309 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39310 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39311 wxUSE_ON_FATAL_EXCEPTION=no
39312 fi
39313
39314 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39315 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39316 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39317 if test "${wx_cv_type_sa_handler+set}" = set; then
39318 echo $ECHO_N "(cached) $ECHO_C" >&6
39319 else
39320
39321 ac_ext=cpp
39322 ac_cpp='$CXXCPP $CPPFLAGS'
39323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39326
39327 cat >conftest.$ac_ext <<_ACEOF
39328 /* confdefs.h. */
39329 _ACEOF
39330 cat confdefs.h >>conftest.$ac_ext
39331 cat >>conftest.$ac_ext <<_ACEOF
39332 /* end confdefs.h. */
39333 #include <signal.h>
39334 int
39335 main ()
39336 {
39337
39338 extern void testSigHandler(int);
39339
39340 struct sigaction sa;
39341 sa.sa_handler = testSigHandler;
39342
39343 ;
39344 return 0;
39345 }
39346 _ACEOF
39347 rm -f conftest.$ac_objext
39348 if { (ac_try="$ac_compile"
39349 case "(($ac_try" in
39350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39351 *) ac_try_echo=$ac_try;;
39352 esac
39353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39354 (eval "$ac_compile") 2>conftest.er1
39355 ac_status=$?
39356 grep -v '^ *+' conftest.er1 >conftest.err
39357 rm -f conftest.er1
39358 cat conftest.err >&5
39359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39360 (exit $ac_status); } && {
39361 test -z "$ac_cxx_werror_flag" ||
39362 test ! -s conftest.err
39363 } && test -s conftest.$ac_objext; then
39364
39365 wx_cv_type_sa_handler=int
39366
39367 else
39368 echo "$as_me: failed program was:" >&5
39369 sed 's/^/| /' conftest.$ac_ext >&5
39370
39371
39372 wx_cv_type_sa_handler=void
39373
39374 fi
39375
39376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39377 ac_ext=c
39378 ac_cpp='$CPP $CPPFLAGS'
39379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39382
39383
39384 fi
39385 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39386 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39387
39388 cat >>confdefs.h <<_ACEOF
39389 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39390 _ACEOF
39391
39392 fi
39393 fi
39394
39395 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39396 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39397 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39398 if test "${wx_cv_func_backtrace+set}" = set; then
39399 echo $ECHO_N "(cached) $ECHO_C" >&6
39400 else
39401
39402 ac_ext=cpp
39403 ac_cpp='$CXXCPP $CPPFLAGS'
39404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39407
39408 cat >conftest.$ac_ext <<_ACEOF
39409 /* confdefs.h. */
39410 _ACEOF
39411 cat confdefs.h >>conftest.$ac_ext
39412 cat >>conftest.$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39414 #include <execinfo.h>
39415 int
39416 main ()
39417 {
39418
39419 void *trace[1];
39420 char **messages;
39421
39422 backtrace(trace, 1);
39423 messages = backtrace_symbols(trace, 1);
39424
39425 ;
39426 return 0;
39427 }
39428 _ACEOF
39429 rm -f conftest.$ac_objext
39430 if { (ac_try="$ac_compile"
39431 case "(($ac_try" in
39432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39433 *) ac_try_echo=$ac_try;;
39434 esac
39435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39436 (eval "$ac_compile") 2>conftest.er1
39437 ac_status=$?
39438 grep -v '^ *+' conftest.er1 >conftest.err
39439 rm -f conftest.er1
39440 cat conftest.err >&5
39441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442 (exit $ac_status); } && {
39443 test -z "$ac_cxx_werror_flag" ||
39444 test ! -s conftest.err
39445 } && test -s conftest.$ac_objext; then
39446 wx_cv_func_backtrace=yes
39447 else
39448 echo "$as_me: failed program was:" >&5
39449 sed 's/^/| /' conftest.$ac_ext >&5
39450
39451 wx_cv_func_backtrace=no
39452
39453 fi
39454
39455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39456 ac_ext=c
39457 ac_cpp='$CPP $CPPFLAGS'
39458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39461
39462
39463
39464 fi
39465 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39466 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39467
39468
39469 if test "$wx_cv_func_backtrace" = "no"; then
39470 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39471 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39472 wxUSE_STACKWALKER=no
39473 else
39474 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39475 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39476 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39477 echo $ECHO_N "(cached) $ECHO_C" >&6
39478 else
39479
39480 ac_ext=cpp
39481 ac_cpp='$CXXCPP $CPPFLAGS'
39482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39485
39486 cat >conftest.$ac_ext <<_ACEOF
39487 /* confdefs.h. */
39488 _ACEOF
39489 cat confdefs.h >>conftest.$ac_ext
39490 cat >>conftest.$ac_ext <<_ACEOF
39491 /* end confdefs.h. */
39492 #include <cxxabi.h>
39493 int
39494 main ()
39495 {
39496
39497 int rc;
39498 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39499
39500 ;
39501 return 0;
39502 }
39503 _ACEOF
39504 rm -f conftest.$ac_objext conftest$ac_exeext
39505 if { (ac_try="$ac_link"
39506 case "(($ac_try" in
39507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39508 *) ac_try_echo=$ac_try;;
39509 esac
39510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39511 (eval "$ac_link") 2>conftest.er1
39512 ac_status=$?
39513 grep -v '^ *+' conftest.er1 >conftest.err
39514 rm -f conftest.er1
39515 cat conftest.err >&5
39516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39517 (exit $ac_status); } && {
39518 test -z "$ac_cxx_werror_flag" ||
39519 test ! -s conftest.err
39520 } && test -s conftest$ac_exeext &&
39521 $as_test_x conftest$ac_exeext; then
39522 wx_cv_func_cxa_demangle=yes
39523 else
39524 echo "$as_me: failed program was:" >&5
39525 sed 's/^/| /' conftest.$ac_ext >&5
39526
39527 wx_cv_func_cxa_demangle=no
39528
39529 fi
39530
39531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39532 conftest$ac_exeext conftest.$ac_ext
39533 ac_ext=c
39534 ac_cpp='$CPP $CPPFLAGS'
39535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39538
39539
39540
39541 fi
39542 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39543 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39544
39545 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39546 cat >>confdefs.h <<\_ACEOF
39547 #define HAVE_CXA_DEMANGLE 1
39548 _ACEOF
39549
39550 fi
39551 fi
39552 fi
39553
39554 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39555 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39556 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39557 wxUSE_STACKWALKER=no
39558 fi
39559
39560
39561
39562
39563 for ac_func in mkstemp mktemp
39564 do
39565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39566 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39568 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39569 echo $ECHO_N "(cached) $ECHO_C" >&6
39570 else
39571 cat >conftest.$ac_ext <<_ACEOF
39572 /* confdefs.h. */
39573 _ACEOF
39574 cat confdefs.h >>conftest.$ac_ext
39575 cat >>conftest.$ac_ext <<_ACEOF
39576 /* end confdefs.h. */
39577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39579 #define $ac_func innocuous_$ac_func
39580
39581 /* System header to define __stub macros and hopefully few prototypes,
39582 which can conflict with char $ac_func (); below.
39583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39584 <limits.h> exists even on freestanding compilers. */
39585
39586 #ifdef __STDC__
39587 # include <limits.h>
39588 #else
39589 # include <assert.h>
39590 #endif
39591
39592 #undef $ac_func
39593
39594 /* Override any GCC internal prototype to avoid an error.
39595 Use char because int might match the return type of a GCC
39596 builtin and then its argument prototype would still apply. */
39597 #ifdef __cplusplus
39598 extern "C"
39599 #endif
39600 char $ac_func ();
39601 /* The GNU C library defines this for functions which it implements
39602 to always fail with ENOSYS. Some functions are actually named
39603 something starting with __ and the normal name is an alias. */
39604 #if defined __stub_$ac_func || defined __stub___$ac_func
39605 choke me
39606 #endif
39607
39608 int
39609 main ()
39610 {
39611 return $ac_func ();
39612 ;
39613 return 0;
39614 }
39615 _ACEOF
39616 rm -f conftest.$ac_objext conftest$ac_exeext
39617 if { (ac_try="$ac_link"
39618 case "(($ac_try" in
39619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39620 *) ac_try_echo=$ac_try;;
39621 esac
39622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39623 (eval "$ac_link") 2>conftest.er1
39624 ac_status=$?
39625 grep -v '^ *+' conftest.er1 >conftest.err
39626 rm -f conftest.er1
39627 cat conftest.err >&5
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); } && {
39630 test -z "$ac_c_werror_flag" ||
39631 test ! -s conftest.err
39632 } && test -s conftest$ac_exeext &&
39633 $as_test_x conftest$ac_exeext; then
39634 eval "$as_ac_var=yes"
39635 else
39636 echo "$as_me: failed program was:" >&5
39637 sed 's/^/| /' conftest.$ac_ext >&5
39638
39639 eval "$as_ac_var=no"
39640 fi
39641
39642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39643 conftest$ac_exeext conftest.$ac_ext
39644 fi
39645 ac_res=`eval echo '${'$as_ac_var'}'`
39646 { echo "$as_me:$LINENO: result: $ac_res" >&5
39647 echo "${ECHO_T}$ac_res" >&6; }
39648 if test `eval echo '${'$as_ac_var'}'` = yes; then
39649 cat >>confdefs.h <<_ACEOF
39650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39651 _ACEOF
39652 break
39653 fi
39654 done
39655
39656
39657 { echo "$as_me:$LINENO: checking for statfs" >&5
39658 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39659 if test "${wx_cv_func_statfs+set}" = set; then
39660 echo $ECHO_N "(cached) $ECHO_C" >&6
39661 else
39662 cat >conftest.$ac_ext <<_ACEOF
39663 /* confdefs.h. */
39664 _ACEOF
39665 cat confdefs.h >>conftest.$ac_ext
39666 cat >>conftest.$ac_ext <<_ACEOF
39667 /* end confdefs.h. */
39668
39669 #if defined(__BSD__)
39670 #include <sys/param.h>
39671 #include <sys/mount.h>
39672 #else
39673 #include <sys/vfs.h>
39674 #endif
39675
39676 int
39677 main ()
39678 {
39679
39680 long l;
39681 struct statfs fs;
39682 statfs("/", &fs);
39683 l = fs.f_bsize;
39684 l += fs.f_blocks;
39685 l += fs.f_bavail;
39686
39687 ;
39688 return 0;
39689 }
39690 _ACEOF
39691 rm -f conftest.$ac_objext
39692 if { (ac_try="$ac_compile"
39693 case "(($ac_try" in
39694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39695 *) ac_try_echo=$ac_try;;
39696 esac
39697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39698 (eval "$ac_compile") 2>conftest.er1
39699 ac_status=$?
39700 grep -v '^ *+' conftest.er1 >conftest.err
39701 rm -f conftest.er1
39702 cat conftest.err >&5
39703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39704 (exit $ac_status); } && {
39705 test -z "$ac_c_werror_flag" ||
39706 test ! -s conftest.err
39707 } && test -s conftest.$ac_objext; then
39708 wx_cv_func_statfs=yes
39709 else
39710 echo "$as_me: failed program was:" >&5
39711 sed 's/^/| /' conftest.$ac_ext >&5
39712
39713 wx_cv_func_statfs=no
39714
39715 fi
39716
39717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39718
39719 fi
39720 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39721 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39722
39723 if test "$wx_cv_func_statfs" = "yes"; then
39724 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39725 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39726 if test "${wx_cv_func_statfs_decl+set}" = set; then
39727 echo $ECHO_N "(cached) $ECHO_C" >&6
39728 else
39729 ac_ext=cpp
39730 ac_cpp='$CXXCPP $CPPFLAGS'
39731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39734
39735 cat >conftest.$ac_ext <<_ACEOF
39736 /* confdefs.h. */
39737 _ACEOF
39738 cat confdefs.h >>conftest.$ac_ext
39739 cat >>conftest.$ac_ext <<_ACEOF
39740 /* end confdefs.h. */
39741
39742 #if defined(__BSD__)
39743 #include <sys/param.h>
39744 #include <sys/mount.h>
39745 #else
39746 #include <sys/vfs.h>
39747 #endif
39748
39749 int
39750 main ()
39751 {
39752
39753 struct statfs fs;
39754 statfs("", &fs);
39755
39756 ;
39757 return 0;
39758 }
39759 _ACEOF
39760 rm -f conftest.$ac_objext
39761 if { (ac_try="$ac_compile"
39762 case "(($ac_try" in
39763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39764 *) ac_try_echo=$ac_try;;
39765 esac
39766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39767 (eval "$ac_compile") 2>conftest.er1
39768 ac_status=$?
39769 grep -v '^ *+' conftest.er1 >conftest.err
39770 rm -f conftest.er1
39771 cat conftest.err >&5
39772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39773 (exit $ac_status); } && {
39774 test -z "$ac_cxx_werror_flag" ||
39775 test ! -s conftest.err
39776 } && test -s conftest.$ac_objext; then
39777 wx_cv_func_statfs_decl=yes
39778 else
39779 echo "$as_me: failed program was:" >&5
39780 sed 's/^/| /' conftest.$ac_ext >&5
39781
39782 wx_cv_func_statfs_decl=no
39783
39784 fi
39785
39786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39787 ac_ext=c
39788 ac_cpp='$CPP $CPPFLAGS'
39789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39792
39793
39794 fi
39795 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39796 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39797
39798 if test "$wx_cv_func_statfs_decl" = "yes"; then
39799 cat >>confdefs.h <<\_ACEOF
39800 #define HAVE_STATFS_DECL 1
39801 _ACEOF
39802
39803 fi
39804
39805 wx_cv_type_statvfs_t="struct statfs"
39806 cat >>confdefs.h <<\_ACEOF
39807 #define HAVE_STATFS 1
39808 _ACEOF
39809
39810 else
39811 { echo "$as_me:$LINENO: checking for statvfs" >&5
39812 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39813 if test "${wx_cv_func_statvfs+set}" = set; then
39814 echo $ECHO_N "(cached) $ECHO_C" >&6
39815 else
39816 cat >conftest.$ac_ext <<_ACEOF
39817 /* confdefs.h. */
39818 _ACEOF
39819 cat confdefs.h >>conftest.$ac_ext
39820 cat >>conftest.$ac_ext <<_ACEOF
39821 /* end confdefs.h. */
39822
39823 #include <stddef.h>
39824 #include <sys/statvfs.h>
39825
39826 int
39827 main ()
39828 {
39829
39830 statvfs("/", NULL);
39831
39832 ;
39833 return 0;
39834 }
39835 _ACEOF
39836 rm -f conftest.$ac_objext
39837 if { (ac_try="$ac_compile"
39838 case "(($ac_try" in
39839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39840 *) ac_try_echo=$ac_try;;
39841 esac
39842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39843 (eval "$ac_compile") 2>conftest.er1
39844 ac_status=$?
39845 grep -v '^ *+' conftest.er1 >conftest.err
39846 rm -f conftest.er1
39847 cat conftest.err >&5
39848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39849 (exit $ac_status); } && {
39850 test -z "$ac_c_werror_flag" ||
39851 test ! -s conftest.err
39852 } && test -s conftest.$ac_objext; then
39853 wx_cv_func_statvfs=yes
39854 else
39855 echo "$as_me: failed program was:" >&5
39856 sed 's/^/| /' conftest.$ac_ext >&5
39857
39858 wx_cv_func_statvfs=no
39859
39860 fi
39861
39862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39863
39864 fi
39865 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39866 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39867
39868 if test "$wx_cv_func_statvfs" = "yes"; then
39869 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39870 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39871 if test "${wx_cv_type_statvfs_t+set}" = set; then
39872 echo $ECHO_N "(cached) $ECHO_C" >&6
39873 else
39874 ac_ext=cpp
39875 ac_cpp='$CXXCPP $CPPFLAGS'
39876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39879
39880 cat >conftest.$ac_ext <<_ACEOF
39881 /* confdefs.h. */
39882 _ACEOF
39883 cat confdefs.h >>conftest.$ac_ext
39884 cat >>conftest.$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39886
39887 #include <sys/statvfs.h>
39888
39889 int
39890 main ()
39891 {
39892
39893 long l;
39894 statvfs_t fs;
39895 statvfs("/", &fs);
39896 l = fs.f_bsize;
39897 l += fs.f_blocks;
39898 l += fs.f_bavail;
39899
39900 ;
39901 return 0;
39902 }
39903 _ACEOF
39904 rm -f conftest.$ac_objext
39905 if { (ac_try="$ac_compile"
39906 case "(($ac_try" in
39907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39908 *) ac_try_echo=$ac_try;;
39909 esac
39910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39911 (eval "$ac_compile") 2>conftest.er1
39912 ac_status=$?
39913 grep -v '^ *+' conftest.er1 >conftest.err
39914 rm -f conftest.er1
39915 cat conftest.err >&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } && {
39918 test -z "$ac_cxx_werror_flag" ||
39919 test ! -s conftest.err
39920 } && test -s conftest.$ac_objext; then
39921 wx_cv_type_statvfs_t=statvfs_t
39922 else
39923 echo "$as_me: failed program was:" >&5
39924 sed 's/^/| /' conftest.$ac_ext >&5
39925
39926
39927 cat >conftest.$ac_ext <<_ACEOF
39928 /* confdefs.h. */
39929 _ACEOF
39930 cat confdefs.h >>conftest.$ac_ext
39931 cat >>conftest.$ac_ext <<_ACEOF
39932 /* end confdefs.h. */
39933
39934 #include <sys/statvfs.h>
39935
39936 int
39937 main ()
39938 {
39939
39940 long l;
39941 struct statvfs fs;
39942 statvfs("/", &fs);
39943 l = fs.f_bsize;
39944 l += fs.f_blocks;
39945 l += fs.f_bavail;
39946
39947 ;
39948 return 0;
39949 }
39950 _ACEOF
39951 rm -f conftest.$ac_objext
39952 if { (ac_try="$ac_compile"
39953 case "(($ac_try" in
39954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39955 *) ac_try_echo=$ac_try;;
39956 esac
39957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39958 (eval "$ac_compile") 2>conftest.er1
39959 ac_status=$?
39960 grep -v '^ *+' conftest.er1 >conftest.err
39961 rm -f conftest.er1
39962 cat conftest.err >&5
39963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 (exit $ac_status); } && {
39965 test -z "$ac_cxx_werror_flag" ||
39966 test ! -s conftest.err
39967 } && test -s conftest.$ac_objext; then
39968 wx_cv_type_statvfs_t="struct statvfs"
39969 else
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39972
39973 wx_cv_type_statvfs_t="unknown"
39974
39975 fi
39976
39977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39978
39979
39980 fi
39981
39982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39983 ac_ext=c
39984 ac_cpp='$CPP $CPPFLAGS'
39985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39988
39989
39990 fi
39991 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39992 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39993
39994 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39995 cat >>confdefs.h <<\_ACEOF
39996 #define HAVE_STATVFS 1
39997 _ACEOF
39998
39999 fi
40000 else
40001 wx_cv_type_statvfs_t="unknown"
40002 fi
40003 fi
40004
40005 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40006 cat >>confdefs.h <<_ACEOF
40007 #define WX_STATFS_T $wx_cv_type_statvfs_t
40008 _ACEOF
40009
40010 else
40011 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40012 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40013 fi
40014
40015 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40016
40017
40018 for ac_func in fcntl flock
40019 do
40020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40024 echo $ECHO_N "(cached) $ECHO_C" >&6
40025 else
40026 cat >conftest.$ac_ext <<_ACEOF
40027 /* confdefs.h. */
40028 _ACEOF
40029 cat confdefs.h >>conftest.$ac_ext
40030 cat >>conftest.$ac_ext <<_ACEOF
40031 /* end confdefs.h. */
40032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40034 #define $ac_func innocuous_$ac_func
40035
40036 /* System header to define __stub macros and hopefully few prototypes,
40037 which can conflict with char $ac_func (); below.
40038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40039 <limits.h> exists even on freestanding compilers. */
40040
40041 #ifdef __STDC__
40042 # include <limits.h>
40043 #else
40044 # include <assert.h>
40045 #endif
40046
40047 #undef $ac_func
40048
40049 /* Override any GCC internal prototype to avoid an error.
40050 Use char because int might match the return type of a GCC
40051 builtin and then its argument prototype would still apply. */
40052 #ifdef __cplusplus
40053 extern "C"
40054 #endif
40055 char $ac_func ();
40056 /* The GNU C library defines this for functions which it implements
40057 to always fail with ENOSYS. Some functions are actually named
40058 something starting with __ and the normal name is an alias. */
40059 #if defined __stub_$ac_func || defined __stub___$ac_func
40060 choke me
40061 #endif
40062
40063 int
40064 main ()
40065 {
40066 return $ac_func ();
40067 ;
40068 return 0;
40069 }
40070 _ACEOF
40071 rm -f conftest.$ac_objext conftest$ac_exeext
40072 if { (ac_try="$ac_link"
40073 case "(($ac_try" in
40074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40075 *) ac_try_echo=$ac_try;;
40076 esac
40077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40078 (eval "$ac_link") 2>conftest.er1
40079 ac_status=$?
40080 grep -v '^ *+' conftest.er1 >conftest.err
40081 rm -f conftest.er1
40082 cat conftest.err >&5
40083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40084 (exit $ac_status); } && {
40085 test -z "$ac_c_werror_flag" ||
40086 test ! -s conftest.err
40087 } && test -s conftest$ac_exeext &&
40088 $as_test_x conftest$ac_exeext; then
40089 eval "$as_ac_var=yes"
40090 else
40091 echo "$as_me: failed program was:" >&5
40092 sed 's/^/| /' conftest.$ac_ext >&5
40093
40094 eval "$as_ac_var=no"
40095 fi
40096
40097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40098 conftest$ac_exeext conftest.$ac_ext
40099 fi
40100 ac_res=`eval echo '${'$as_ac_var'}'`
40101 { echo "$as_me:$LINENO: result: $ac_res" >&5
40102 echo "${ECHO_T}$ac_res" >&6; }
40103 if test `eval echo '${'$as_ac_var'}'` = yes; then
40104 cat >>confdefs.h <<_ACEOF
40105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40106 _ACEOF
40107 break
40108 fi
40109 done
40110
40111
40112 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40113 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40114 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40115 wxUSE_SNGLINST_CHECKER=no
40116 fi
40117 fi
40118
40119
40120 for ac_func in timegm
40121 do
40122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40123 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40125 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40126 echo $ECHO_N "(cached) $ECHO_C" >&6
40127 else
40128 cat >conftest.$ac_ext <<_ACEOF
40129 /* confdefs.h. */
40130 _ACEOF
40131 cat confdefs.h >>conftest.$ac_ext
40132 cat >>conftest.$ac_ext <<_ACEOF
40133 /* end confdefs.h. */
40134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40136 #define $ac_func innocuous_$ac_func
40137
40138 /* System header to define __stub macros and hopefully few prototypes,
40139 which can conflict with char $ac_func (); below.
40140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40141 <limits.h> exists even on freestanding compilers. */
40142
40143 #ifdef __STDC__
40144 # include <limits.h>
40145 #else
40146 # include <assert.h>
40147 #endif
40148
40149 #undef $ac_func
40150
40151 /* Override any GCC internal prototype to avoid an error.
40152 Use char because int might match the return type of a GCC
40153 builtin and then its argument prototype would still apply. */
40154 #ifdef __cplusplus
40155 extern "C"
40156 #endif
40157 char $ac_func ();
40158 /* The GNU C library defines this for functions which it implements
40159 to always fail with ENOSYS. Some functions are actually named
40160 something starting with __ and the normal name is an alias. */
40161 #if defined __stub_$ac_func || defined __stub___$ac_func
40162 choke me
40163 #endif
40164
40165 int
40166 main ()
40167 {
40168 return $ac_func ();
40169 ;
40170 return 0;
40171 }
40172 _ACEOF
40173 rm -f conftest.$ac_objext conftest$ac_exeext
40174 if { (ac_try="$ac_link"
40175 case "(($ac_try" in
40176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40177 *) ac_try_echo=$ac_try;;
40178 esac
40179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40180 (eval "$ac_link") 2>conftest.er1
40181 ac_status=$?
40182 grep -v '^ *+' conftest.er1 >conftest.err
40183 rm -f conftest.er1
40184 cat conftest.err >&5
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); } && {
40187 test -z "$ac_c_werror_flag" ||
40188 test ! -s conftest.err
40189 } && test -s conftest$ac_exeext &&
40190 $as_test_x conftest$ac_exeext; then
40191 eval "$as_ac_var=yes"
40192 else
40193 echo "$as_me: failed program was:" >&5
40194 sed 's/^/| /' conftest.$ac_ext >&5
40195
40196 eval "$as_ac_var=no"
40197 fi
40198
40199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40200 conftest$ac_exeext conftest.$ac_ext
40201 fi
40202 ac_res=`eval echo '${'$as_ac_var'}'`
40203 { echo "$as_me:$LINENO: result: $ac_res" >&5
40204 echo "${ECHO_T}$ac_res" >&6; }
40205 if test `eval echo '${'$as_ac_var'}'` = yes; then
40206 cat >>confdefs.h <<_ACEOF
40207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40208 _ACEOF
40209
40210 fi
40211 done
40212
40213
40214
40215
40216 for ac_func in setenv putenv
40217 do
40218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40221 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40222 echo $ECHO_N "(cached) $ECHO_C" >&6
40223 else
40224 cat >conftest.$ac_ext <<_ACEOF
40225 /* confdefs.h. */
40226 _ACEOF
40227 cat confdefs.h >>conftest.$ac_ext
40228 cat >>conftest.$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40232 #define $ac_func innocuous_$ac_func
40233
40234 /* System header to define __stub macros and hopefully few prototypes,
40235 which can conflict with char $ac_func (); below.
40236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40237 <limits.h> exists even on freestanding compilers. */
40238
40239 #ifdef __STDC__
40240 # include <limits.h>
40241 #else
40242 # include <assert.h>
40243 #endif
40244
40245 #undef $ac_func
40246
40247 /* Override any GCC internal prototype to avoid an error.
40248 Use char because int might match the return type of a GCC
40249 builtin and then its argument prototype would still apply. */
40250 #ifdef __cplusplus
40251 extern "C"
40252 #endif
40253 char $ac_func ();
40254 /* The GNU C library defines this for functions which it implements
40255 to always fail with ENOSYS. Some functions are actually named
40256 something starting with __ and the normal name is an alias. */
40257 #if defined __stub_$ac_func || defined __stub___$ac_func
40258 choke me
40259 #endif
40260
40261 int
40262 main ()
40263 {
40264 return $ac_func ();
40265 ;
40266 return 0;
40267 }
40268 _ACEOF
40269 rm -f conftest.$ac_objext conftest$ac_exeext
40270 if { (ac_try="$ac_link"
40271 case "(($ac_try" in
40272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40273 *) ac_try_echo=$ac_try;;
40274 esac
40275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40276 (eval "$ac_link") 2>conftest.er1
40277 ac_status=$?
40278 grep -v '^ *+' conftest.er1 >conftest.err
40279 rm -f conftest.er1
40280 cat conftest.err >&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); } && {
40283 test -z "$ac_c_werror_flag" ||
40284 test ! -s conftest.err
40285 } && test -s conftest$ac_exeext &&
40286 $as_test_x conftest$ac_exeext; then
40287 eval "$as_ac_var=yes"
40288 else
40289 echo "$as_me: failed program was:" >&5
40290 sed 's/^/| /' conftest.$ac_ext >&5
40291
40292 eval "$as_ac_var=no"
40293 fi
40294
40295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40296 conftest$ac_exeext conftest.$ac_ext
40297 fi
40298 ac_res=`eval echo '${'$as_ac_var'}'`
40299 { echo "$as_me:$LINENO: result: $ac_res" >&5
40300 echo "${ECHO_T}$ac_res" >&6; }
40301 if test `eval echo '${'$as_ac_var'}'` = yes; then
40302 cat >>confdefs.h <<_ACEOF
40303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40304 _ACEOF
40305 break
40306 fi
40307 done
40308
40309
40310 HAVE_SOME_SLEEP_FUNC=0
40311 if test "$USE_BEOS" = 1; then
40312 cat >>confdefs.h <<\_ACEOF
40313 #define HAVE_SLEEP 1
40314 _ACEOF
40315
40316 HAVE_SOME_SLEEP_FUNC=1
40317 fi
40318
40319 if test "$USE_DARWIN" = 1; then
40320 cat >>confdefs.h <<\_ACEOF
40321 #define HAVE_USLEEP 1
40322 _ACEOF
40323
40324 HAVE_SOME_SLEEP_FUNC=1
40325 fi
40326
40327 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40328 POSIX4_LINK=
40329
40330 for ac_func in nanosleep
40331 do
40332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40333 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40335 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40336 echo $ECHO_N "(cached) $ECHO_C" >&6
40337 else
40338 cat >conftest.$ac_ext <<_ACEOF
40339 /* confdefs.h. */
40340 _ACEOF
40341 cat confdefs.h >>conftest.$ac_ext
40342 cat >>conftest.$ac_ext <<_ACEOF
40343 /* end confdefs.h. */
40344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40346 #define $ac_func innocuous_$ac_func
40347
40348 /* System header to define __stub macros and hopefully few prototypes,
40349 which can conflict with char $ac_func (); below.
40350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40351 <limits.h> exists even on freestanding compilers. */
40352
40353 #ifdef __STDC__
40354 # include <limits.h>
40355 #else
40356 # include <assert.h>
40357 #endif
40358
40359 #undef $ac_func
40360
40361 /* Override any GCC internal prototype to avoid an error.
40362 Use char because int might match the return type of a GCC
40363 builtin and then its argument prototype would still apply. */
40364 #ifdef __cplusplus
40365 extern "C"
40366 #endif
40367 char $ac_func ();
40368 /* The GNU C library defines this for functions which it implements
40369 to always fail with ENOSYS. Some functions are actually named
40370 something starting with __ and the normal name is an alias. */
40371 #if defined __stub_$ac_func || defined __stub___$ac_func
40372 choke me
40373 #endif
40374
40375 int
40376 main ()
40377 {
40378 return $ac_func ();
40379 ;
40380 return 0;
40381 }
40382 _ACEOF
40383 rm -f conftest.$ac_objext conftest$ac_exeext
40384 if { (ac_try="$ac_link"
40385 case "(($ac_try" in
40386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40387 *) ac_try_echo=$ac_try;;
40388 esac
40389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40390 (eval "$ac_link") 2>conftest.er1
40391 ac_status=$?
40392 grep -v '^ *+' conftest.er1 >conftest.err
40393 rm -f conftest.er1
40394 cat conftest.err >&5
40395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40396 (exit $ac_status); } && {
40397 test -z "$ac_c_werror_flag" ||
40398 test ! -s conftest.err
40399 } && test -s conftest$ac_exeext &&
40400 $as_test_x conftest$ac_exeext; then
40401 eval "$as_ac_var=yes"
40402 else
40403 echo "$as_me: failed program was:" >&5
40404 sed 's/^/| /' conftest.$ac_ext >&5
40405
40406 eval "$as_ac_var=no"
40407 fi
40408
40409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40410 conftest$ac_exeext conftest.$ac_ext
40411 fi
40412 ac_res=`eval echo '${'$as_ac_var'}'`
40413 { echo "$as_me:$LINENO: result: $ac_res" >&5
40414 echo "${ECHO_T}$ac_res" >&6; }
40415 if test `eval echo '${'$as_ac_var'}'` = yes; then
40416 cat >>confdefs.h <<_ACEOF
40417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40418 _ACEOF
40419 cat >>confdefs.h <<\_ACEOF
40420 #define HAVE_NANOSLEEP 1
40421 _ACEOF
40422
40423 else
40424
40425 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40426 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40427 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40428 echo $ECHO_N "(cached) $ECHO_C" >&6
40429 else
40430 ac_check_lib_save_LIBS=$LIBS
40431 LIBS="-lposix4 $LIBS"
40432 cat >conftest.$ac_ext <<_ACEOF
40433 /* confdefs.h. */
40434 _ACEOF
40435 cat confdefs.h >>conftest.$ac_ext
40436 cat >>conftest.$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40438
40439 /* Override any GCC internal prototype to avoid an error.
40440 Use char because int might match the return type of a GCC
40441 builtin and then its argument prototype would still apply. */
40442 #ifdef __cplusplus
40443 extern "C"
40444 #endif
40445 char nanosleep ();
40446 int
40447 main ()
40448 {
40449 return nanosleep ();
40450 ;
40451 return 0;
40452 }
40453 _ACEOF
40454 rm -f conftest.$ac_objext conftest$ac_exeext
40455 if { (ac_try="$ac_link"
40456 case "(($ac_try" in
40457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40458 *) ac_try_echo=$ac_try;;
40459 esac
40460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40461 (eval "$ac_link") 2>conftest.er1
40462 ac_status=$?
40463 grep -v '^ *+' conftest.er1 >conftest.err
40464 rm -f conftest.er1
40465 cat conftest.err >&5
40466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40467 (exit $ac_status); } && {
40468 test -z "$ac_c_werror_flag" ||
40469 test ! -s conftest.err
40470 } && test -s conftest$ac_exeext &&
40471 $as_test_x conftest$ac_exeext; then
40472 ac_cv_lib_posix4_nanosleep=yes
40473 else
40474 echo "$as_me: failed program was:" >&5
40475 sed 's/^/| /' conftest.$ac_ext >&5
40476
40477 ac_cv_lib_posix4_nanosleep=no
40478 fi
40479
40480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40481 conftest$ac_exeext conftest.$ac_ext
40482 LIBS=$ac_check_lib_save_LIBS
40483 fi
40484 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40485 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40486 if test $ac_cv_lib_posix4_nanosleep = yes; then
40487
40488 cat >>confdefs.h <<\_ACEOF
40489 #define HAVE_NANOSLEEP 1
40490 _ACEOF
40491
40492 POSIX4_LINK=" -lposix4"
40493
40494 else
40495
40496
40497 for wx_func in usleep
40498 do
40499 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40500 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40501 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40502 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 else
40504
40505 cat >conftest.$ac_ext <<_ACEOF
40506
40507 /* confdefs.h. */
40508 _ACEOF
40509 cat confdefs.h >>conftest.$ac_ext
40510 cat >>conftest.$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40512
40513
40514 $ac_includes_default
40515
40516 int
40517 main ()
40518 {
40519
40520 #ifndef $wx_func
40521 &$wx_func;
40522 #endif
40523
40524
40525 ;
40526 return 0;
40527 }
40528
40529 _ACEOF
40530 rm -f conftest.$ac_objext conftest$ac_exeext
40531 if { (ac_try="$ac_link"
40532 case "(($ac_try" in
40533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40534 *) ac_try_echo=$ac_try;;
40535 esac
40536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40537 (eval "$ac_link") 2>conftest.er1
40538 ac_status=$?
40539 grep -v '^ *+' conftest.er1 >conftest.err
40540 rm -f conftest.er1
40541 cat conftest.err >&5
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); } && {
40544 test -z "$ac_c_werror_flag" ||
40545 test ! -s conftest.err
40546 } && test -s conftest$ac_exeext &&
40547 $as_test_x conftest$ac_exeext; then
40548 eval wx_cv_func_$wx_func=yes
40549 else
40550 echo "$as_me: failed program was:" >&5
40551 sed 's/^/| /' conftest.$ac_ext >&5
40552
40553 eval wx_cv_func_$wx_func=no
40554 fi
40555
40556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40557 conftest$ac_exeext conftest.$ac_ext
40558
40559 fi
40560 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40561 { echo "$as_me:$LINENO: result: $ac_res" >&5
40562 echo "${ECHO_T}$ac_res" >&6; }
40563
40564 if eval test \$wx_cv_func_$wx_func = yes
40565 then
40566 cat >>confdefs.h <<_ACEOF
40567 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40568 _ACEOF
40569
40570
40571 else
40572 :
40573 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40574 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40575
40576 fi
40577 done
40578
40579
40580
40581 fi
40582
40583
40584
40585 fi
40586 done
40587
40588 fi
40589
40590
40591 for wx_func in uname
40592 do
40593 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40594 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40595 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40596 echo $ECHO_N "(cached) $ECHO_C" >&6
40597 else
40598
40599 cat >conftest.$ac_ext <<_ACEOF
40600
40601 /* confdefs.h. */
40602 _ACEOF
40603 cat confdefs.h >>conftest.$ac_ext
40604 cat >>conftest.$ac_ext <<_ACEOF
40605 /* end confdefs.h. */
40606
40607 #include <sys/utsname.h>
40608 $ac_includes_default
40609
40610 int
40611 main ()
40612 {
40613
40614 #ifndef $wx_func
40615 &$wx_func;
40616 #endif
40617
40618
40619 ;
40620 return 0;
40621 }
40622
40623 _ACEOF
40624 rm -f conftest.$ac_objext conftest$ac_exeext
40625 if { (ac_try="$ac_link"
40626 case "(($ac_try" in
40627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40628 *) ac_try_echo=$ac_try;;
40629 esac
40630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40631 (eval "$ac_link") 2>conftest.er1
40632 ac_status=$?
40633 grep -v '^ *+' conftest.er1 >conftest.err
40634 rm -f conftest.er1
40635 cat conftest.err >&5
40636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40637 (exit $ac_status); } && {
40638 test -z "$ac_c_werror_flag" ||
40639 test ! -s conftest.err
40640 } && test -s conftest$ac_exeext &&
40641 $as_test_x conftest$ac_exeext; then
40642 eval wx_cv_func_$wx_func=yes
40643 else
40644 echo "$as_me: failed program was:" >&5
40645 sed 's/^/| /' conftest.$ac_ext >&5
40646
40647 eval wx_cv_func_$wx_func=no
40648 fi
40649
40650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40651 conftest$ac_exeext conftest.$ac_ext
40652
40653 fi
40654 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40655 { echo "$as_me:$LINENO: result: $ac_res" >&5
40656 echo "${ECHO_T}$ac_res" >&6; }
40657
40658 if eval test \$wx_cv_func_$wx_func = yes
40659 then
40660 cat >>confdefs.h <<_ACEOF
40661 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40662 _ACEOF
40663
40664
40665 else
40666 :
40667
40668 fi
40669 done
40670
40671 if test "$wx_cv_func_uname" != yes; then
40672
40673 for wx_func in gethostname
40674 do
40675 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40676 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40677 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40678 echo $ECHO_N "(cached) $ECHO_C" >&6
40679 else
40680
40681 cat >conftest.$ac_ext <<_ACEOF
40682
40683 /* confdefs.h. */
40684 _ACEOF
40685 cat confdefs.h >>conftest.$ac_ext
40686 cat >>conftest.$ac_ext <<_ACEOF
40687 /* end confdefs.h. */
40688
40689
40690 $ac_includes_default
40691
40692 int
40693 main ()
40694 {
40695
40696 #ifndef $wx_func
40697 &$wx_func;
40698 #endif
40699
40700
40701 ;
40702 return 0;
40703 }
40704
40705 _ACEOF
40706 rm -f conftest.$ac_objext conftest$ac_exeext
40707 if { (ac_try="$ac_link"
40708 case "(($ac_try" in
40709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40710 *) ac_try_echo=$ac_try;;
40711 esac
40712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40713 (eval "$ac_link") 2>conftest.er1
40714 ac_status=$?
40715 grep -v '^ *+' conftest.er1 >conftest.err
40716 rm -f conftest.er1
40717 cat conftest.err >&5
40718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40719 (exit $ac_status); } && {
40720 test -z "$ac_c_werror_flag" ||
40721 test ! -s conftest.err
40722 } && test -s conftest$ac_exeext &&
40723 $as_test_x conftest$ac_exeext; then
40724 eval wx_cv_func_$wx_func=yes
40725 else
40726 echo "$as_me: failed program was:" >&5
40727 sed 's/^/| /' conftest.$ac_ext >&5
40728
40729 eval wx_cv_func_$wx_func=no
40730 fi
40731
40732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40733 conftest$ac_exeext conftest.$ac_ext
40734
40735 fi
40736 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40737 { echo "$as_me:$LINENO: result: $ac_res" >&5
40738 echo "${ECHO_T}$ac_res" >&6; }
40739
40740 if eval test \$wx_cv_func_$wx_func = yes
40741 then
40742 cat >>confdefs.h <<_ACEOF
40743 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40744 _ACEOF
40745
40746
40747 else
40748 :
40749
40750 fi
40751 done
40752
40753 fi
40754
40755
40756 for wx_func in strtok_r
40757 do
40758 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40759 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40760 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40761 echo $ECHO_N "(cached) $ECHO_C" >&6
40762 else
40763
40764 cat >conftest.$ac_ext <<_ACEOF
40765
40766 /* confdefs.h. */
40767 _ACEOF
40768 cat confdefs.h >>conftest.$ac_ext
40769 cat >>conftest.$ac_ext <<_ACEOF
40770 /* end confdefs.h. */
40771
40772 #define _REENTRANT
40773 $ac_includes_default
40774
40775 int
40776 main ()
40777 {
40778
40779 #ifndef $wx_func
40780 &$wx_func;
40781 #endif
40782
40783
40784 ;
40785 return 0;
40786 }
40787
40788 _ACEOF
40789 rm -f conftest.$ac_objext conftest$ac_exeext
40790 if { (ac_try="$ac_link"
40791 case "(($ac_try" in
40792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40793 *) ac_try_echo=$ac_try;;
40794 esac
40795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40796 (eval "$ac_link") 2>conftest.er1
40797 ac_status=$?
40798 grep -v '^ *+' conftest.er1 >conftest.err
40799 rm -f conftest.er1
40800 cat conftest.err >&5
40801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40802 (exit $ac_status); } && {
40803 test -z "$ac_c_werror_flag" ||
40804 test ! -s conftest.err
40805 } && test -s conftest$ac_exeext &&
40806 $as_test_x conftest$ac_exeext; then
40807 eval wx_cv_func_$wx_func=yes
40808 else
40809 echo "$as_me: failed program was:" >&5
40810 sed 's/^/| /' conftest.$ac_ext >&5
40811
40812 eval wx_cv_func_$wx_func=no
40813 fi
40814
40815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40816 conftest$ac_exeext conftest.$ac_ext
40817
40818 fi
40819 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40820 { echo "$as_me:$LINENO: result: $ac_res" >&5
40821 echo "${ECHO_T}$ac_res" >&6; }
40822
40823 if eval test \$wx_cv_func_$wx_func = yes
40824 then
40825 cat >>confdefs.h <<_ACEOF
40826 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40827 _ACEOF
40828
40829
40830 else
40831 :
40832
40833 fi
40834 done
40835
40836
40837 INET_LINK=
40838
40839 for ac_func in inet_addr
40840 do
40841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40845 echo $ECHO_N "(cached) $ECHO_C" >&6
40846 else
40847 cat >conftest.$ac_ext <<_ACEOF
40848 /* confdefs.h. */
40849 _ACEOF
40850 cat confdefs.h >>conftest.$ac_ext
40851 cat >>conftest.$ac_ext <<_ACEOF
40852 /* end confdefs.h. */
40853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40855 #define $ac_func innocuous_$ac_func
40856
40857 /* System header to define __stub macros and hopefully few prototypes,
40858 which can conflict with char $ac_func (); below.
40859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40860 <limits.h> exists even on freestanding compilers. */
40861
40862 #ifdef __STDC__
40863 # include <limits.h>
40864 #else
40865 # include <assert.h>
40866 #endif
40867
40868 #undef $ac_func
40869
40870 /* Override any GCC internal prototype to avoid an error.
40871 Use char because int might match the return type of a GCC
40872 builtin and then its argument prototype would still apply. */
40873 #ifdef __cplusplus
40874 extern "C"
40875 #endif
40876 char $ac_func ();
40877 /* The GNU C library defines this for functions which it implements
40878 to always fail with ENOSYS. Some functions are actually named
40879 something starting with __ and the normal name is an alias. */
40880 #if defined __stub_$ac_func || defined __stub___$ac_func
40881 choke me
40882 #endif
40883
40884 int
40885 main ()
40886 {
40887 return $ac_func ();
40888 ;
40889 return 0;
40890 }
40891 _ACEOF
40892 rm -f conftest.$ac_objext conftest$ac_exeext
40893 if { (ac_try="$ac_link"
40894 case "(($ac_try" in
40895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40896 *) ac_try_echo=$ac_try;;
40897 esac
40898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40899 (eval "$ac_link") 2>conftest.er1
40900 ac_status=$?
40901 grep -v '^ *+' conftest.er1 >conftest.err
40902 rm -f conftest.er1
40903 cat conftest.err >&5
40904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40905 (exit $ac_status); } && {
40906 test -z "$ac_c_werror_flag" ||
40907 test ! -s conftest.err
40908 } && test -s conftest$ac_exeext &&
40909 $as_test_x conftest$ac_exeext; then
40910 eval "$as_ac_var=yes"
40911 else
40912 echo "$as_me: failed program was:" >&5
40913 sed 's/^/| /' conftest.$ac_ext >&5
40914
40915 eval "$as_ac_var=no"
40916 fi
40917
40918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40919 conftest$ac_exeext conftest.$ac_ext
40920 fi
40921 ac_res=`eval echo '${'$as_ac_var'}'`
40922 { echo "$as_me:$LINENO: result: $ac_res" >&5
40923 echo "${ECHO_T}$ac_res" >&6; }
40924 if test `eval echo '${'$as_ac_var'}'` = yes; then
40925 cat >>confdefs.h <<_ACEOF
40926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40927 _ACEOF
40928 cat >>confdefs.h <<\_ACEOF
40929 #define HAVE_INET_ADDR 1
40930 _ACEOF
40931
40932 else
40933
40934 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40935 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40936 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40937 echo $ECHO_N "(cached) $ECHO_C" >&6
40938 else
40939 ac_check_lib_save_LIBS=$LIBS
40940 LIBS="-lnsl $LIBS"
40941 cat >conftest.$ac_ext <<_ACEOF
40942 /* confdefs.h. */
40943 _ACEOF
40944 cat confdefs.h >>conftest.$ac_ext
40945 cat >>conftest.$ac_ext <<_ACEOF
40946 /* end confdefs.h. */
40947
40948 /* Override any GCC internal prototype to avoid an error.
40949 Use char because int might match the return type of a GCC
40950 builtin and then its argument prototype would still apply. */
40951 #ifdef __cplusplus
40952 extern "C"
40953 #endif
40954 char inet_addr ();
40955 int
40956 main ()
40957 {
40958 return inet_addr ();
40959 ;
40960 return 0;
40961 }
40962 _ACEOF
40963 rm -f conftest.$ac_objext conftest$ac_exeext
40964 if { (ac_try="$ac_link"
40965 case "(($ac_try" in
40966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40967 *) ac_try_echo=$ac_try;;
40968 esac
40969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40970 (eval "$ac_link") 2>conftest.er1
40971 ac_status=$?
40972 grep -v '^ *+' conftest.er1 >conftest.err
40973 rm -f conftest.er1
40974 cat conftest.err >&5
40975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40976 (exit $ac_status); } && {
40977 test -z "$ac_c_werror_flag" ||
40978 test ! -s conftest.err
40979 } && test -s conftest$ac_exeext &&
40980 $as_test_x conftest$ac_exeext; then
40981 ac_cv_lib_nsl_inet_addr=yes
40982 else
40983 echo "$as_me: failed program was:" >&5
40984 sed 's/^/| /' conftest.$ac_ext >&5
40985
40986 ac_cv_lib_nsl_inet_addr=no
40987 fi
40988
40989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40990 conftest$ac_exeext conftest.$ac_ext
40991 LIBS=$ac_check_lib_save_LIBS
40992 fi
40993 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40994 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40995 if test $ac_cv_lib_nsl_inet_addr = yes; then
40996 INET_LINK="nsl"
40997 else
40998
40999 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41000 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41001 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41002 echo $ECHO_N "(cached) $ECHO_C" >&6
41003 else
41004 ac_check_lib_save_LIBS=$LIBS
41005 LIBS="-lresolv $LIBS"
41006 cat >conftest.$ac_ext <<_ACEOF
41007 /* confdefs.h. */
41008 _ACEOF
41009 cat confdefs.h >>conftest.$ac_ext
41010 cat >>conftest.$ac_ext <<_ACEOF
41011 /* end confdefs.h. */
41012
41013 /* Override any GCC internal prototype to avoid an error.
41014 Use char because int might match the return type of a GCC
41015 builtin and then its argument prototype would still apply. */
41016 #ifdef __cplusplus
41017 extern "C"
41018 #endif
41019 char inet_addr ();
41020 int
41021 main ()
41022 {
41023 return inet_addr ();
41024 ;
41025 return 0;
41026 }
41027 _ACEOF
41028 rm -f conftest.$ac_objext conftest$ac_exeext
41029 if { (ac_try="$ac_link"
41030 case "(($ac_try" in
41031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41032 *) ac_try_echo=$ac_try;;
41033 esac
41034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41035 (eval "$ac_link") 2>conftest.er1
41036 ac_status=$?
41037 grep -v '^ *+' conftest.er1 >conftest.err
41038 rm -f conftest.er1
41039 cat conftest.err >&5
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); } && {
41042 test -z "$ac_c_werror_flag" ||
41043 test ! -s conftest.err
41044 } && test -s conftest$ac_exeext &&
41045 $as_test_x conftest$ac_exeext; then
41046 ac_cv_lib_resolv_inet_addr=yes
41047 else
41048 echo "$as_me: failed program was:" >&5
41049 sed 's/^/| /' conftest.$ac_ext >&5
41050
41051 ac_cv_lib_resolv_inet_addr=no
41052 fi
41053
41054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41055 conftest$ac_exeext conftest.$ac_ext
41056 LIBS=$ac_check_lib_save_LIBS
41057 fi
41058 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41059 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41060 if test $ac_cv_lib_resolv_inet_addr = yes; then
41061 INET_LINK="resolv"
41062 else
41063
41064 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41065 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41066 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41067 echo $ECHO_N "(cached) $ECHO_C" >&6
41068 else
41069 ac_check_lib_save_LIBS=$LIBS
41070 LIBS="-lsocket $LIBS"
41071 cat >conftest.$ac_ext <<_ACEOF
41072 /* confdefs.h. */
41073 _ACEOF
41074 cat confdefs.h >>conftest.$ac_ext
41075 cat >>conftest.$ac_ext <<_ACEOF
41076 /* end confdefs.h. */
41077
41078 /* Override any GCC internal prototype to avoid an error.
41079 Use char because int might match the return type of a GCC
41080 builtin and then its argument prototype would still apply. */
41081 #ifdef __cplusplus
41082 extern "C"
41083 #endif
41084 char inet_addr ();
41085 int
41086 main ()
41087 {
41088 return inet_addr ();
41089 ;
41090 return 0;
41091 }
41092 _ACEOF
41093 rm -f conftest.$ac_objext conftest$ac_exeext
41094 if { (ac_try="$ac_link"
41095 case "(($ac_try" in
41096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41097 *) ac_try_echo=$ac_try;;
41098 esac
41099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41100 (eval "$ac_link") 2>conftest.er1
41101 ac_status=$?
41102 grep -v '^ *+' conftest.er1 >conftest.err
41103 rm -f conftest.er1
41104 cat conftest.err >&5
41105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41106 (exit $ac_status); } && {
41107 test -z "$ac_c_werror_flag" ||
41108 test ! -s conftest.err
41109 } && test -s conftest$ac_exeext &&
41110 $as_test_x conftest$ac_exeext; then
41111 ac_cv_lib_socket_inet_addr=yes
41112 else
41113 echo "$as_me: failed program was:" >&5
41114 sed 's/^/| /' conftest.$ac_ext >&5
41115
41116 ac_cv_lib_socket_inet_addr=no
41117 fi
41118
41119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41120 conftest$ac_exeext conftest.$ac_ext
41121 LIBS=$ac_check_lib_save_LIBS
41122 fi
41123 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41124 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41125 if test $ac_cv_lib_socket_inet_addr = yes; then
41126 INET_LINK="socket"
41127
41128 fi
41129
41130
41131
41132 fi
41133
41134
41135
41136 fi
41137
41138
41139
41140 fi
41141 done
41142
41143
41144
41145 for ac_func in inet_aton
41146 do
41147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41150 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41151 echo $ECHO_N "(cached) $ECHO_C" >&6
41152 else
41153 cat >conftest.$ac_ext <<_ACEOF
41154 /* confdefs.h. */
41155 _ACEOF
41156 cat confdefs.h >>conftest.$ac_ext
41157 cat >>conftest.$ac_ext <<_ACEOF
41158 /* end confdefs.h. */
41159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41161 #define $ac_func innocuous_$ac_func
41162
41163 /* System header to define __stub macros and hopefully few prototypes,
41164 which can conflict with char $ac_func (); below.
41165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41166 <limits.h> exists even on freestanding compilers. */
41167
41168 #ifdef __STDC__
41169 # include <limits.h>
41170 #else
41171 # include <assert.h>
41172 #endif
41173
41174 #undef $ac_func
41175
41176 /* Override any GCC internal prototype to avoid an error.
41177 Use char because int might match the return type of a GCC
41178 builtin and then its argument prototype would still apply. */
41179 #ifdef __cplusplus
41180 extern "C"
41181 #endif
41182 char $ac_func ();
41183 /* The GNU C library defines this for functions which it implements
41184 to always fail with ENOSYS. Some functions are actually named
41185 something starting with __ and the normal name is an alias. */
41186 #if defined __stub_$ac_func || defined __stub___$ac_func
41187 choke me
41188 #endif
41189
41190 int
41191 main ()
41192 {
41193 return $ac_func ();
41194 ;
41195 return 0;
41196 }
41197 _ACEOF
41198 rm -f conftest.$ac_objext conftest$ac_exeext
41199 if { (ac_try="$ac_link"
41200 case "(($ac_try" in
41201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41202 *) ac_try_echo=$ac_try;;
41203 esac
41204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41205 (eval "$ac_link") 2>conftest.er1
41206 ac_status=$?
41207 grep -v '^ *+' conftest.er1 >conftest.err
41208 rm -f conftest.er1
41209 cat conftest.err >&5
41210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41211 (exit $ac_status); } && {
41212 test -z "$ac_c_werror_flag" ||
41213 test ! -s conftest.err
41214 } && test -s conftest$ac_exeext &&
41215 $as_test_x conftest$ac_exeext; then
41216 eval "$as_ac_var=yes"
41217 else
41218 echo "$as_me: failed program was:" >&5
41219 sed 's/^/| /' conftest.$ac_ext >&5
41220
41221 eval "$as_ac_var=no"
41222 fi
41223
41224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41225 conftest$ac_exeext conftest.$ac_ext
41226 fi
41227 ac_res=`eval echo '${'$as_ac_var'}'`
41228 { echo "$as_me:$LINENO: result: $ac_res" >&5
41229 echo "${ECHO_T}$ac_res" >&6; }
41230 if test `eval echo '${'$as_ac_var'}'` = yes; then
41231 cat >>confdefs.h <<_ACEOF
41232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41233 _ACEOF
41234 cat >>confdefs.h <<\_ACEOF
41235 #define HAVE_INET_ATON 1
41236 _ACEOF
41237
41238 else
41239
41240 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41241 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41242 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41243 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41244 echo $ECHO_N "(cached) $ECHO_C" >&6
41245 else
41246 ac_check_lib_save_LIBS=$LIBS
41247 LIBS="-l$INET_LINK $LIBS"
41248 cat >conftest.$ac_ext <<_ACEOF
41249 /* confdefs.h. */
41250 _ACEOF
41251 cat confdefs.h >>conftest.$ac_ext
41252 cat >>conftest.$ac_ext <<_ACEOF
41253 /* end confdefs.h. */
41254
41255 /* Override any GCC internal prototype to avoid an error.
41256 Use char because int might match the return type of a GCC
41257 builtin and then its argument prototype would still apply. */
41258 #ifdef __cplusplus
41259 extern "C"
41260 #endif
41261 char inet_aton ();
41262 int
41263 main ()
41264 {
41265 return inet_aton ();
41266 ;
41267 return 0;
41268 }
41269 _ACEOF
41270 rm -f conftest.$ac_objext conftest$ac_exeext
41271 if { (ac_try="$ac_link"
41272 case "(($ac_try" in
41273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41274 *) ac_try_echo=$ac_try;;
41275 esac
41276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41277 (eval "$ac_link") 2>conftest.er1
41278 ac_status=$?
41279 grep -v '^ *+' conftest.er1 >conftest.err
41280 rm -f conftest.er1
41281 cat conftest.err >&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); } && {
41284 test -z "$ac_c_werror_flag" ||
41285 test ! -s conftest.err
41286 } && test -s conftest$ac_exeext &&
41287 $as_test_x conftest$ac_exeext; then
41288 eval "$as_ac_Lib=yes"
41289 else
41290 echo "$as_me: failed program was:" >&5
41291 sed 's/^/| /' conftest.$ac_ext >&5
41292
41293 eval "$as_ac_Lib=no"
41294 fi
41295
41296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41297 conftest$ac_exeext conftest.$ac_ext
41298 LIBS=$ac_check_lib_save_LIBS
41299 fi
41300 ac_res=`eval echo '${'$as_ac_Lib'}'`
41301 { echo "$as_me:$LINENO: result: $ac_res" >&5
41302 echo "${ECHO_T}$ac_res" >&6; }
41303 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41304 cat >>confdefs.h <<\_ACEOF
41305 #define HAVE_INET_ATON 1
41306 _ACEOF
41307
41308 fi
41309
41310
41311 fi
41312 done
41313
41314
41315 if test "x$INET_LINK" != "x"; then
41316 cat >>confdefs.h <<\_ACEOF
41317 #define HAVE_INET_ADDR 1
41318 _ACEOF
41319
41320 INET_LINK=" -l$INET_LINK"
41321 fi
41322
41323
41324 for wx_func in fdopen
41325 do
41326 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41327 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41328 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41329 echo $ECHO_N "(cached) $ECHO_C" >&6
41330 else
41331
41332 cat >conftest.$ac_ext <<_ACEOF
41333
41334 /* confdefs.h. */
41335 _ACEOF
41336 cat confdefs.h >>conftest.$ac_ext
41337 cat >>conftest.$ac_ext <<_ACEOF
41338 /* end confdefs.h. */
41339
41340
41341 $ac_includes_default
41342
41343 int
41344 main ()
41345 {
41346
41347 #ifndef $wx_func
41348 &$wx_func;
41349 #endif
41350
41351
41352 ;
41353 return 0;
41354 }
41355
41356 _ACEOF
41357 rm -f conftest.$ac_objext conftest$ac_exeext
41358 if { (ac_try="$ac_link"
41359 case "(($ac_try" in
41360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41361 *) ac_try_echo=$ac_try;;
41362 esac
41363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41364 (eval "$ac_link") 2>conftest.er1
41365 ac_status=$?
41366 grep -v '^ *+' conftest.er1 >conftest.err
41367 rm -f conftest.er1
41368 cat conftest.err >&5
41369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41370 (exit $ac_status); } && {
41371 test -z "$ac_c_werror_flag" ||
41372 test ! -s conftest.err
41373 } && test -s conftest$ac_exeext &&
41374 $as_test_x conftest$ac_exeext; then
41375 eval wx_cv_func_$wx_func=yes
41376 else
41377 echo "$as_me: failed program was:" >&5
41378 sed 's/^/| /' conftest.$ac_ext >&5
41379
41380 eval wx_cv_func_$wx_func=no
41381 fi
41382
41383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41384 conftest$ac_exeext conftest.$ac_ext
41385
41386 fi
41387 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41388 { echo "$as_me:$LINENO: result: $ac_res" >&5
41389 echo "${ECHO_T}$ac_res" >&6; }
41390
41391 if eval test \$wx_cv_func_$wx_func = yes
41392 then
41393 cat >>confdefs.h <<_ACEOF
41394 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41395 _ACEOF
41396
41397
41398 else
41399 :
41400
41401 fi
41402 done
41403
41404
41405 fi
41406
41407
41408
41409 cat >confcache <<\_ACEOF
41410 # This file is a shell script that caches the results of configure
41411 # tests run on this system so they can be shared between configure
41412 # scripts and configure runs, see configure's option --config-cache.
41413 # It is not useful on other systems. If it contains results you don't
41414 # want to keep, you may remove or edit it.
41415 #
41416 # config.status only pays attention to the cache file if you give it
41417 # the --recheck option to rerun configure.
41418 #
41419 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41420 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41421 # following values.
41422
41423 _ACEOF
41424
41425 # The following way of writing the cache mishandles newlines in values,
41426 # but we know of no workaround that is simple, portable, and efficient.
41427 # So, we kill variables containing newlines.
41428 # Ultrix sh set writes to stderr and can't be redirected directly,
41429 # and sets the high bit in the cache file unless we assign to the vars.
41430 (
41431 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41432 eval ac_val=\$$ac_var
41433 case $ac_val in #(
41434 *${as_nl}*)
41435 case $ac_var in #(
41436 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41437 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41438 esac
41439 case $ac_var in #(
41440 _ | IFS | as_nl) ;; #(
41441 *) $as_unset $ac_var ;;
41442 esac ;;
41443 esac
41444 done
41445
41446 (set) 2>&1 |
41447 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41448 *${as_nl}ac_space=\ *)
41449 # `set' does not quote correctly, so add quotes (double-quote
41450 # substitution turns \\\\ into \\, and sed turns \\ into \).
41451 sed -n \
41452 "s/'/'\\\\''/g;
41453 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41454 ;; #(
41455 *)
41456 # `set' quotes correctly as required by POSIX, so do not add quotes.
41457 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41458 ;;
41459 esac |
41460 sort
41461 ) |
41462 sed '
41463 /^ac_cv_env_/b end
41464 t clear
41465 :clear
41466 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41467 t end
41468 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41469 :end' >>confcache
41470 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41471 if test -w "$cache_file"; then
41472 test "x$cache_file" != "x/dev/null" &&
41473 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41474 echo "$as_me: updating cache $cache_file" >&6;}
41475 cat confcache >$cache_file
41476 else
41477 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41478 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41479 fi
41480 fi
41481 rm -f confcache
41482
41483
41484 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41485
41486
41487 THREADS_LINK=
41488 THREADS_CFLAGS=
41489
41490 if test "$wxUSE_THREADS" = "yes" ; then
41491 if test "$USE_BEOS" = 1; then
41492 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41493 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41494 wxUSE_THREADS="no"
41495 fi
41496 fi
41497
41498 if test "$wxUSE_THREADS" = "yes" ; then
41499
41500
41501 THREAD_OPTS="-pthread"
41502 if test "x$SUNCXX" = xyes; then
41503 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41504 fi
41505
41506 case "${host}" in
41507 *-*-solaris2* | *-*-sunos4* )
41508 if test "x$GCC" = "xyes"; then
41509 THREAD_OPTS="-pthreads $THREAD_OPTS"
41510 fi
41511 ;;
41512 *-*-freebsd*)
41513 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41514 ;;
41515 *-*-darwin* | *-*-cygwin* )
41516 THREAD_OPTS=""
41517 ;;
41518 *-*-aix*)
41519 THREAD_OPTS="pthreads"
41520 ;;
41521 *-hp-hpux* )
41522 if test "x$GCC" = "xyes"; then
41523 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41524 THREAD_OPTS=""
41525 else
41526 THREAD_OPTS="-mt"
41527 fi
41528 ;;
41529
41530 *-*-irix* )
41531 if test "x$GCC" = "xyes"; then
41532 THREAD_OPTS=""
41533 fi
41534 ;;
41535
41536 *-*-*UnixWare*)
41537 if test "x$GCC" != "xyes"; then
41538 THREAD_OPTS="-Ethread"
41539 fi
41540 ;;
41541 esac
41542
41543 THREAD_OPTS="$THREAD_OPTS pthread none"
41544
41545 THREADS_OK=no
41546 for flag in $THREAD_OPTS; do
41547 case $flag in
41548 none)
41549 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41550 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41551 ;;
41552
41553 -*)
41554 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41555 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41556 THREADS_CFLAGS="$flag"
41557 ;;
41558
41559 *)
41560 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41561 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41562 THREADS_LINK="-l$flag"
41563 ;;
41564 esac
41565
41566 save_LIBS="$LIBS"
41567 save_CFLAGS="$CFLAGS"
41568 LIBS="$THREADS_LINK $LIBS"
41569 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41570
41571 cat >conftest.$ac_ext <<_ACEOF
41572 /* confdefs.h. */
41573 _ACEOF
41574 cat confdefs.h >>conftest.$ac_ext
41575 cat >>conftest.$ac_ext <<_ACEOF
41576 /* end confdefs.h. */
41577 #include <pthread.h>
41578 int
41579 main ()
41580 {
41581 pthread_create(0,0,0,0);
41582 ;
41583 return 0;
41584 }
41585 _ACEOF
41586 rm -f conftest.$ac_objext conftest$ac_exeext
41587 if { (ac_try="$ac_link"
41588 case "(($ac_try" in
41589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41590 *) ac_try_echo=$ac_try;;
41591 esac
41592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41593 (eval "$ac_link") 2>conftest.er1
41594 ac_status=$?
41595 grep -v '^ *+' conftest.er1 >conftest.err
41596 rm -f conftest.er1
41597 cat conftest.err >&5
41598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41599 (exit $ac_status); } && {
41600 test -z "$ac_c_werror_flag" ||
41601 test ! -s conftest.err
41602 } && test -s conftest$ac_exeext &&
41603 $as_test_x conftest$ac_exeext; then
41604 THREADS_OK=yes
41605 else
41606 echo "$as_me: failed program was:" >&5
41607 sed 's/^/| /' conftest.$ac_ext >&5
41608
41609
41610 fi
41611
41612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41613 conftest$ac_exeext conftest.$ac_ext
41614
41615 LIBS="$save_LIBS"
41616 CFLAGS="$save_CFLAGS"
41617
41618 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41619 echo "${ECHO_T}$THREADS_OK" >&6; }
41620 if test "x$THREADS_OK" = "xyes"; then
41621 break;
41622 fi
41623
41624 THREADS_LINK=""
41625 THREADS_CFLAGS=""
41626 done
41627
41628 if test "x$THREADS_OK" != "xyes"; then
41629 wxUSE_THREADS=no
41630 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41631 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41632 else
41633 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41634 LIBS="$THREADS_LINK $LIBS"
41635
41636 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41637 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41638 flag=no
41639 case "${host}" in
41640 *-aix*)
41641 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41642 flag="-D_THREAD_SAFE"
41643 ;;
41644 *-freebsd*)
41645 flag="-D_THREAD_SAFE"
41646 ;;
41647 *-hp-hpux* )
41648 flag="-D_REENTRANT"
41649 if test "x$GCC" != "xyes"; then
41650 flag="$flag -D_RWSTD_MULTI_THREAD"
41651 fi
41652 ;;
41653 *solaris* | alpha*-osf*)
41654 flag="-D_REENTRANT"
41655 ;;
41656 esac
41657 { echo "$as_me:$LINENO: result: ${flag}" >&5
41658 echo "${ECHO_T}${flag}" >&6; }
41659 if test "x$flag" != xno; then
41660 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41661 fi
41662
41663 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41664 fi
41665 fi
41666
41667 if test "$wxUSE_THREADS" = "yes" ; then
41668
41669 for ac_func in thr_setconcurrency
41670 do
41671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41672 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41674 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41675 echo $ECHO_N "(cached) $ECHO_C" >&6
41676 else
41677 cat >conftest.$ac_ext <<_ACEOF
41678 /* confdefs.h. */
41679 _ACEOF
41680 cat confdefs.h >>conftest.$ac_ext
41681 cat >>conftest.$ac_ext <<_ACEOF
41682 /* end confdefs.h. */
41683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41685 #define $ac_func innocuous_$ac_func
41686
41687 /* System header to define __stub macros and hopefully few prototypes,
41688 which can conflict with char $ac_func (); below.
41689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41690 <limits.h> exists even on freestanding compilers. */
41691
41692 #ifdef __STDC__
41693 # include <limits.h>
41694 #else
41695 # include <assert.h>
41696 #endif
41697
41698 #undef $ac_func
41699
41700 /* Override any GCC internal prototype to avoid an error.
41701 Use char because int might match the return type of a GCC
41702 builtin and then its argument prototype would still apply. */
41703 #ifdef __cplusplus
41704 extern "C"
41705 #endif
41706 char $ac_func ();
41707 /* The GNU C library defines this for functions which it implements
41708 to always fail with ENOSYS. Some functions are actually named
41709 something starting with __ and the normal name is an alias. */
41710 #if defined __stub_$ac_func || defined __stub___$ac_func
41711 choke me
41712 #endif
41713
41714 int
41715 main ()
41716 {
41717 return $ac_func ();
41718 ;
41719 return 0;
41720 }
41721 _ACEOF
41722 rm -f conftest.$ac_objext conftest$ac_exeext
41723 if { (ac_try="$ac_link"
41724 case "(($ac_try" in
41725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41726 *) ac_try_echo=$ac_try;;
41727 esac
41728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41729 (eval "$ac_link") 2>conftest.er1
41730 ac_status=$?
41731 grep -v '^ *+' conftest.er1 >conftest.err
41732 rm -f conftest.er1
41733 cat conftest.err >&5
41734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735 (exit $ac_status); } && {
41736 test -z "$ac_c_werror_flag" ||
41737 test ! -s conftest.err
41738 } && test -s conftest$ac_exeext &&
41739 $as_test_x conftest$ac_exeext; then
41740 eval "$as_ac_var=yes"
41741 else
41742 echo "$as_me: failed program was:" >&5
41743 sed 's/^/| /' conftest.$ac_ext >&5
41744
41745 eval "$as_ac_var=no"
41746 fi
41747
41748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41749 conftest$ac_exeext conftest.$ac_ext
41750 fi
41751 ac_res=`eval echo '${'$as_ac_var'}'`
41752 { echo "$as_me:$LINENO: result: $ac_res" >&5
41753 echo "${ECHO_T}$ac_res" >&6; }
41754 if test `eval echo '${'$as_ac_var'}'` = yes; then
41755 cat >>confdefs.h <<_ACEOF
41756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41757 _ACEOF
41758
41759 fi
41760 done
41761
41762
41763 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41764 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41765 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41766 echo $ECHO_N "(cached) $ECHO_C" >&6
41767 else
41768
41769 ac_ext=cpp
41770 ac_cpp='$CXXCPP $CPPFLAGS'
41771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41774
41775 cat >conftest.$ac_ext <<_ACEOF
41776 /* confdefs.h. */
41777 _ACEOF
41778 cat confdefs.h >>conftest.$ac_ext
41779 cat >>conftest.$ac_ext <<_ACEOF
41780 /* end confdefs.h. */
41781 #include <pthread.h>
41782 void ThreadCleanupFunc(void *p);
41783
41784 int
41785 main ()
41786 {
41787
41788 void *p;
41789 pthread_cleanup_push(ThreadCleanupFunc, p);
41790 pthread_cleanup_pop(0);
41791
41792 ;
41793 return 0;
41794 }
41795 _ACEOF
41796 rm -f conftest.$ac_objext
41797 if { (ac_try="$ac_compile"
41798 case "(($ac_try" in
41799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41800 *) ac_try_echo=$ac_try;;
41801 esac
41802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41803 (eval "$ac_compile") 2>conftest.er1
41804 ac_status=$?
41805 grep -v '^ *+' conftest.er1 >conftest.err
41806 rm -f conftest.er1
41807 cat conftest.err >&5
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); } && {
41810 test -z "$ac_cxx_werror_flag" ||
41811 test ! -s conftest.err
41812 } && test -s conftest.$ac_objext; then
41813
41814 wx_cv_func_pthread_cleanup=yes
41815
41816 else
41817 echo "$as_me: failed program was:" >&5
41818 sed 's/^/| /' conftest.$ac_ext >&5
41819
41820
41821 wx_cv_func_pthread_cleanup=no
41822
41823
41824 fi
41825
41826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41827 ac_ext=c
41828 ac_cpp='$CPP $CPPFLAGS'
41829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41832
41833
41834 fi
41835 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41836 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41837 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41838 cat >>confdefs.h <<\_ACEOF
41839 #define wxHAVE_PTHREAD_CLEANUP 1
41840 _ACEOF
41841
41842 fi
41843
41844
41845 for ac_header in sched.h
41846 do
41847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41848 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41851 echo $ECHO_N "(cached) $ECHO_C" >&6
41852 else
41853 cat >conftest.$ac_ext <<_ACEOF
41854 /* confdefs.h. */
41855 _ACEOF
41856 cat confdefs.h >>conftest.$ac_ext
41857 cat >>conftest.$ac_ext <<_ACEOF
41858 /* end confdefs.h. */
41859 $ac_includes_default
41860
41861 #include <$ac_header>
41862 _ACEOF
41863 rm -f conftest.$ac_objext
41864 if { (ac_try="$ac_compile"
41865 case "(($ac_try" in
41866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41867 *) ac_try_echo=$ac_try;;
41868 esac
41869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41870 (eval "$ac_compile") 2>conftest.er1
41871 ac_status=$?
41872 grep -v '^ *+' conftest.er1 >conftest.err
41873 rm -f conftest.er1
41874 cat conftest.err >&5
41875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41876 (exit $ac_status); } && {
41877 test -z "$ac_c_werror_flag" ||
41878 test ! -s conftest.err
41879 } && test -s conftest.$ac_objext; then
41880 eval "$as_ac_Header=yes"
41881 else
41882 echo "$as_me: failed program was:" >&5
41883 sed 's/^/| /' conftest.$ac_ext >&5
41884
41885 eval "$as_ac_Header=no"
41886 fi
41887
41888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41889 fi
41890 ac_res=`eval echo '${'$as_ac_Header'}'`
41891 { echo "$as_me:$LINENO: result: $ac_res" >&5
41892 echo "${ECHO_T}$ac_res" >&6; }
41893 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41894 cat >>confdefs.h <<_ACEOF
41895 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41896 _ACEOF
41897
41898 fi
41899
41900 done
41901
41902 if test "$ac_cv_header_sched_h" = "yes"; then
41903 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41904 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41905 if test "${ac_cv_func_sched_yield+set}" = set; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41907 else
41908 cat >conftest.$ac_ext <<_ACEOF
41909 /* confdefs.h. */
41910 _ACEOF
41911 cat confdefs.h >>conftest.$ac_ext
41912 cat >>conftest.$ac_ext <<_ACEOF
41913 /* end confdefs.h. */
41914 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41916 #define sched_yield innocuous_sched_yield
41917
41918 /* System header to define __stub macros and hopefully few prototypes,
41919 which can conflict with char sched_yield (); below.
41920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41921 <limits.h> exists even on freestanding compilers. */
41922
41923 #ifdef __STDC__
41924 # include <limits.h>
41925 #else
41926 # include <assert.h>
41927 #endif
41928
41929 #undef sched_yield
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_yield ();
41938 /* The GNU C library defines this for functions which it implements
41939 to always fail with ENOSYS. Some functions are actually named
41940 something starting with __ and the normal name is an alias. */
41941 #if defined __stub_sched_yield || defined __stub___sched_yield
41942 choke me
41943 #endif
41944
41945 int
41946 main ()
41947 {
41948 return sched_yield ();
41949 ;
41950 return 0;
41951 }
41952 _ACEOF
41953 rm -f conftest.$ac_objext conftest$ac_exeext
41954 if { (ac_try="$ac_link"
41955 case "(($ac_try" in
41956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41957 *) ac_try_echo=$ac_try;;
41958 esac
41959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41960 (eval "$ac_link") 2>conftest.er1
41961 ac_status=$?
41962 grep -v '^ *+' conftest.er1 >conftest.err
41963 rm -f conftest.er1
41964 cat conftest.err >&5
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); } && {
41967 test -z "$ac_c_werror_flag" ||
41968 test ! -s conftest.err
41969 } && test -s conftest$ac_exeext &&
41970 $as_test_x conftest$ac_exeext; then
41971 ac_cv_func_sched_yield=yes
41972 else
41973 echo "$as_me: failed program was:" >&5
41974 sed 's/^/| /' conftest.$ac_ext >&5
41975
41976 ac_cv_func_sched_yield=no
41977 fi
41978
41979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41980 conftest$ac_exeext conftest.$ac_ext
41981 fi
41982 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41983 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41984 if test $ac_cv_func_sched_yield = yes; then
41985 cat >>confdefs.h <<\_ACEOF
41986 #define HAVE_SCHED_YIELD 1
41987 _ACEOF
41988
41989 else
41990
41991 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41992 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41993 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41994 echo $ECHO_N "(cached) $ECHO_C" >&6
41995 else
41996 ac_check_lib_save_LIBS=$LIBS
41997 LIBS="-lposix4 $LIBS"
41998 cat >conftest.$ac_ext <<_ACEOF
41999 /* confdefs.h. */
42000 _ACEOF
42001 cat confdefs.h >>conftest.$ac_ext
42002 cat >>conftest.$ac_ext <<_ACEOF
42003 /* end confdefs.h. */
42004
42005 /* Override any GCC internal prototype to avoid an error.
42006 Use char because int might match the return type of a GCC
42007 builtin and then its argument prototype would still apply. */
42008 #ifdef __cplusplus
42009 extern "C"
42010 #endif
42011 char sched_yield ();
42012 int
42013 main ()
42014 {
42015 return sched_yield ();
42016 ;
42017 return 0;
42018 }
42019 _ACEOF
42020 rm -f conftest.$ac_objext conftest$ac_exeext
42021 if { (ac_try="$ac_link"
42022 case "(($ac_try" in
42023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42024 *) ac_try_echo=$ac_try;;
42025 esac
42026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42027 (eval "$ac_link") 2>conftest.er1
42028 ac_status=$?
42029 grep -v '^ *+' conftest.er1 >conftest.err
42030 rm -f conftest.er1
42031 cat conftest.err >&5
42032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42033 (exit $ac_status); } && {
42034 test -z "$ac_c_werror_flag" ||
42035 test ! -s conftest.err
42036 } && test -s conftest$ac_exeext &&
42037 $as_test_x conftest$ac_exeext; then
42038 ac_cv_lib_posix4_sched_yield=yes
42039 else
42040 echo "$as_me: failed program was:" >&5
42041 sed 's/^/| /' conftest.$ac_ext >&5
42042
42043 ac_cv_lib_posix4_sched_yield=no
42044 fi
42045
42046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42047 conftest$ac_exeext conftest.$ac_ext
42048 LIBS=$ac_check_lib_save_LIBS
42049 fi
42050 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42051 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42052 if test $ac_cv_lib_posix4_sched_yield = yes; then
42053 cat >>confdefs.h <<\_ACEOF
42054 #define HAVE_SCHED_YIELD 1
42055 _ACEOF
42056 POSIX4_LINK=" -lposix4"
42057 else
42058 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42059 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42060
42061 fi
42062
42063
42064
42065 fi
42066
42067 fi
42068
42069 HAVE_PRIOR_FUNCS=0
42070 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42071 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42072 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42073 echo $ECHO_N "(cached) $ECHO_C" >&6
42074 else
42075 cat >conftest.$ac_ext <<_ACEOF
42076 /* confdefs.h. */
42077 _ACEOF
42078 cat confdefs.h >>conftest.$ac_ext
42079 cat >>conftest.$ac_ext <<_ACEOF
42080 /* end confdefs.h. */
42081 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42083 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42084
42085 /* System header to define __stub macros and hopefully few prototypes,
42086 which can conflict with char pthread_attr_getschedpolicy (); below.
42087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42088 <limits.h> exists even on freestanding compilers. */
42089
42090 #ifdef __STDC__
42091 # include <limits.h>
42092 #else
42093 # include <assert.h>
42094 #endif
42095
42096 #undef pthread_attr_getschedpolicy
42097
42098 /* Override any GCC internal prototype to avoid an error.
42099 Use char because int might match the return type of a GCC
42100 builtin and then its argument prototype would still apply. */
42101 #ifdef __cplusplus
42102 extern "C"
42103 #endif
42104 char pthread_attr_getschedpolicy ();
42105 /* The GNU C library defines this for functions which it implements
42106 to always fail with ENOSYS. Some functions are actually named
42107 something starting with __ and the normal name is an alias. */
42108 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42109 choke me
42110 #endif
42111
42112 int
42113 main ()
42114 {
42115 return pthread_attr_getschedpolicy ();
42116 ;
42117 return 0;
42118 }
42119 _ACEOF
42120 rm -f conftest.$ac_objext conftest$ac_exeext
42121 if { (ac_try="$ac_link"
42122 case "(($ac_try" in
42123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42124 *) ac_try_echo=$ac_try;;
42125 esac
42126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42127 (eval "$ac_link") 2>conftest.er1
42128 ac_status=$?
42129 grep -v '^ *+' conftest.er1 >conftest.err
42130 rm -f conftest.er1
42131 cat conftest.err >&5
42132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42133 (exit $ac_status); } && {
42134 test -z "$ac_c_werror_flag" ||
42135 test ! -s conftest.err
42136 } && test -s conftest$ac_exeext &&
42137 $as_test_x conftest$ac_exeext; then
42138 ac_cv_func_pthread_attr_getschedpolicy=yes
42139 else
42140 echo "$as_me: failed program was:" >&5
42141 sed 's/^/| /' conftest.$ac_ext >&5
42142
42143 ac_cv_func_pthread_attr_getschedpolicy=no
42144 fi
42145
42146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42147 conftest$ac_exeext conftest.$ac_ext
42148 fi
42149 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42150 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42151 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42152 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42153 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42154 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42155 echo $ECHO_N "(cached) $ECHO_C" >&6
42156 else
42157 cat >conftest.$ac_ext <<_ACEOF
42158 /* confdefs.h. */
42159 _ACEOF
42160 cat confdefs.h >>conftest.$ac_ext
42161 cat >>conftest.$ac_ext <<_ACEOF
42162 /* end confdefs.h. */
42163 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42165 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42166
42167 /* System header to define __stub macros and hopefully few prototypes,
42168 which can conflict with char pthread_attr_setschedparam (); below.
42169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42170 <limits.h> exists even on freestanding compilers. */
42171
42172 #ifdef __STDC__
42173 # include <limits.h>
42174 #else
42175 # include <assert.h>
42176 #endif
42177
42178 #undef pthread_attr_setschedparam
42179
42180 /* Override any GCC internal prototype to avoid an error.
42181 Use char because int might match the return type of a GCC
42182 builtin and then its argument prototype would still apply. */
42183 #ifdef __cplusplus
42184 extern "C"
42185 #endif
42186 char pthread_attr_setschedparam ();
42187 /* The GNU C library defines this for functions which it implements
42188 to always fail with ENOSYS. Some functions are actually named
42189 something starting with __ and the normal name is an alias. */
42190 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42191 choke me
42192 #endif
42193
42194 int
42195 main ()
42196 {
42197 return pthread_attr_setschedparam ();
42198 ;
42199 return 0;
42200 }
42201 _ACEOF
42202 rm -f conftest.$ac_objext conftest$ac_exeext
42203 if { (ac_try="$ac_link"
42204 case "(($ac_try" in
42205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42206 *) ac_try_echo=$ac_try;;
42207 esac
42208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42209 (eval "$ac_link") 2>conftest.er1
42210 ac_status=$?
42211 grep -v '^ *+' conftest.er1 >conftest.err
42212 rm -f conftest.er1
42213 cat conftest.err >&5
42214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42215 (exit $ac_status); } && {
42216 test -z "$ac_c_werror_flag" ||
42217 test ! -s conftest.err
42218 } && test -s conftest$ac_exeext &&
42219 $as_test_x conftest$ac_exeext; then
42220 ac_cv_func_pthread_attr_setschedparam=yes
42221 else
42222 echo "$as_me: failed program was:" >&5
42223 sed 's/^/| /' conftest.$ac_ext >&5
42224
42225 ac_cv_func_pthread_attr_setschedparam=no
42226 fi
42227
42228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42229 conftest$ac_exeext conftest.$ac_ext
42230 fi
42231 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42232 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42233 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42234 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42235 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42236 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42237 echo $ECHO_N "(cached) $ECHO_C" >&6
42238 else
42239 cat >conftest.$ac_ext <<_ACEOF
42240 /* confdefs.h. */
42241 _ACEOF
42242 cat confdefs.h >>conftest.$ac_ext
42243 cat >>conftest.$ac_ext <<_ACEOF
42244 /* end confdefs.h. */
42245 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42247 #define sched_get_priority_max innocuous_sched_get_priority_max
42248
42249 /* System header to define __stub macros and hopefully few prototypes,
42250 which can conflict with char sched_get_priority_max (); below.
42251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42252 <limits.h> exists even on freestanding compilers. */
42253
42254 #ifdef __STDC__
42255 # include <limits.h>
42256 #else
42257 # include <assert.h>
42258 #endif
42259
42260 #undef sched_get_priority_max
42261
42262 /* Override any GCC internal prototype to avoid an error.
42263 Use char because int might match the return type of a GCC
42264 builtin and then its argument prototype would still apply. */
42265 #ifdef __cplusplus
42266 extern "C"
42267 #endif
42268 char sched_get_priority_max ();
42269 /* The GNU C library defines this for functions which it implements
42270 to always fail with ENOSYS. Some functions are actually named
42271 something starting with __ and the normal name is an alias. */
42272 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42273 choke me
42274 #endif
42275
42276 int
42277 main ()
42278 {
42279 return sched_get_priority_max ();
42280 ;
42281 return 0;
42282 }
42283 _ACEOF
42284 rm -f conftest.$ac_objext conftest$ac_exeext
42285 if { (ac_try="$ac_link"
42286 case "(($ac_try" in
42287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42288 *) ac_try_echo=$ac_try;;
42289 esac
42290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42291 (eval "$ac_link") 2>conftest.er1
42292 ac_status=$?
42293 grep -v '^ *+' conftest.er1 >conftest.err
42294 rm -f conftest.er1
42295 cat conftest.err >&5
42296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42297 (exit $ac_status); } && {
42298 test -z "$ac_c_werror_flag" ||
42299 test ! -s conftest.err
42300 } && test -s conftest$ac_exeext &&
42301 $as_test_x conftest$ac_exeext; then
42302 ac_cv_func_sched_get_priority_max=yes
42303 else
42304 echo "$as_me: failed program was:" >&5
42305 sed 's/^/| /' conftest.$ac_ext >&5
42306
42307 ac_cv_func_sched_get_priority_max=no
42308 fi
42309
42310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42311 conftest$ac_exeext conftest.$ac_ext
42312 fi
42313 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42314 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42315 if test $ac_cv_func_sched_get_priority_max = yes; then
42316 HAVE_PRIOR_FUNCS=1
42317 else
42318 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42319 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42320 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42321 echo $ECHO_N "(cached) $ECHO_C" >&6
42322 else
42323 ac_check_lib_save_LIBS=$LIBS
42324 LIBS="-lposix4 $LIBS"
42325 cat >conftest.$ac_ext <<_ACEOF
42326 /* confdefs.h. */
42327 _ACEOF
42328 cat confdefs.h >>conftest.$ac_ext
42329 cat >>conftest.$ac_ext <<_ACEOF
42330 /* end confdefs.h. */
42331
42332 /* Override any GCC internal prototype to avoid an error.
42333 Use char because int might match the return type of a GCC
42334 builtin and then its argument prototype would still apply. */
42335 #ifdef __cplusplus
42336 extern "C"
42337 #endif
42338 char sched_get_priority_max ();
42339 int
42340 main ()
42341 {
42342 return sched_get_priority_max ();
42343 ;
42344 return 0;
42345 }
42346 _ACEOF
42347 rm -f conftest.$ac_objext conftest$ac_exeext
42348 if { (ac_try="$ac_link"
42349 case "(($ac_try" in
42350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42351 *) ac_try_echo=$ac_try;;
42352 esac
42353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42354 (eval "$ac_link") 2>conftest.er1
42355 ac_status=$?
42356 grep -v '^ *+' conftest.er1 >conftest.err
42357 rm -f conftest.er1
42358 cat conftest.err >&5
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); } && {
42361 test -z "$ac_c_werror_flag" ||
42362 test ! -s conftest.err
42363 } && test -s conftest$ac_exeext &&
42364 $as_test_x conftest$ac_exeext; then
42365 ac_cv_lib_posix4_sched_get_priority_max=yes
42366 else
42367 echo "$as_me: failed program was:" >&5
42368 sed 's/^/| /' conftest.$ac_ext >&5
42369
42370 ac_cv_lib_posix4_sched_get_priority_max=no
42371 fi
42372
42373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42374 conftest$ac_exeext conftest.$ac_ext
42375 LIBS=$ac_check_lib_save_LIBS
42376 fi
42377 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42378 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42379 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42380
42381 HAVE_PRIOR_FUNCS=1
42382 POSIX4_LINK=" -lposix4"
42383
42384 fi
42385
42386
42387 fi
42388
42389
42390 fi
42391
42392
42393 fi
42394
42395
42396 if test "$HAVE_PRIOR_FUNCS" = 1; then
42397 cat >>confdefs.h <<\_ACEOF
42398 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42399 _ACEOF
42400
42401 else
42402 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42403 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42404 fi
42405
42406 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42407 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42408 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42409 echo $ECHO_N "(cached) $ECHO_C" >&6
42410 else
42411 cat >conftest.$ac_ext <<_ACEOF
42412 /* confdefs.h. */
42413 _ACEOF
42414 cat confdefs.h >>conftest.$ac_ext
42415 cat >>conftest.$ac_ext <<_ACEOF
42416 /* end confdefs.h. */
42417 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42419 #define pthread_cancel innocuous_pthread_cancel
42420
42421 /* System header to define __stub macros and hopefully few prototypes,
42422 which can conflict with char pthread_cancel (); below.
42423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42424 <limits.h> exists even on freestanding compilers. */
42425
42426 #ifdef __STDC__
42427 # include <limits.h>
42428 #else
42429 # include <assert.h>
42430 #endif
42431
42432 #undef pthread_cancel
42433
42434 /* Override any GCC internal prototype to avoid an error.
42435 Use char because int might match the return type of a GCC
42436 builtin and then its argument prototype would still apply. */
42437 #ifdef __cplusplus
42438 extern "C"
42439 #endif
42440 char pthread_cancel ();
42441 /* The GNU C library defines this for functions which it implements
42442 to always fail with ENOSYS. Some functions are actually named
42443 something starting with __ and the normal name is an alias. */
42444 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42445 choke me
42446 #endif
42447
42448 int
42449 main ()
42450 {
42451 return pthread_cancel ();
42452 ;
42453 return 0;
42454 }
42455 _ACEOF
42456 rm -f conftest.$ac_objext conftest$ac_exeext
42457 if { (ac_try="$ac_link"
42458 case "(($ac_try" in
42459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42460 *) ac_try_echo=$ac_try;;
42461 esac
42462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42463 (eval "$ac_link") 2>conftest.er1
42464 ac_status=$?
42465 grep -v '^ *+' conftest.er1 >conftest.err
42466 rm -f conftest.er1
42467 cat conftest.err >&5
42468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42469 (exit $ac_status); } && {
42470 test -z "$ac_c_werror_flag" ||
42471 test ! -s conftest.err
42472 } && test -s conftest$ac_exeext &&
42473 $as_test_x conftest$ac_exeext; then
42474 ac_cv_func_pthread_cancel=yes
42475 else
42476 echo "$as_me: failed program was:" >&5
42477 sed 's/^/| /' conftest.$ac_ext >&5
42478
42479 ac_cv_func_pthread_cancel=no
42480 fi
42481
42482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42483 conftest$ac_exeext conftest.$ac_ext
42484 fi
42485 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42486 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42487 if test $ac_cv_func_pthread_cancel = yes; then
42488 cat >>confdefs.h <<\_ACEOF
42489 #define HAVE_PTHREAD_CANCEL 1
42490 _ACEOF
42491
42492 else
42493 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42494 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42495 fi
42496
42497
42498 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42499 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42500 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42501 echo $ECHO_N "(cached) $ECHO_C" >&6
42502 else
42503 cat >conftest.$ac_ext <<_ACEOF
42504 /* confdefs.h. */
42505 _ACEOF
42506 cat confdefs.h >>conftest.$ac_ext
42507 cat >>conftest.$ac_ext <<_ACEOF
42508 /* end confdefs.h. */
42509 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42511 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42512
42513 /* System header to define __stub macros and hopefully few prototypes,
42514 which can conflict with char pthread_mutex_timedlock (); below.
42515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42516 <limits.h> exists even on freestanding compilers. */
42517
42518 #ifdef __STDC__
42519 # include <limits.h>
42520 #else
42521 # include <assert.h>
42522 #endif
42523
42524 #undef pthread_mutex_timedlock
42525
42526 /* Override any GCC internal prototype to avoid an error.
42527 Use char because int might match the return type of a GCC
42528 builtin and then its argument prototype would still apply. */
42529 #ifdef __cplusplus
42530 extern "C"
42531 #endif
42532 char pthread_mutex_timedlock ();
42533 /* The GNU C library defines this for functions which it implements
42534 to always fail with ENOSYS. Some functions are actually named
42535 something starting with __ and the normal name is an alias. */
42536 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42537 choke me
42538 #endif
42539
42540 int
42541 main ()
42542 {
42543 return pthread_mutex_timedlock ();
42544 ;
42545 return 0;
42546 }
42547 _ACEOF
42548 rm -f conftest.$ac_objext conftest$ac_exeext
42549 if { (ac_try="$ac_link"
42550 case "(($ac_try" in
42551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42552 *) ac_try_echo=$ac_try;;
42553 esac
42554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42555 (eval "$ac_link") 2>conftest.er1
42556 ac_status=$?
42557 grep -v '^ *+' conftest.er1 >conftest.err
42558 rm -f conftest.er1
42559 cat conftest.err >&5
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); } && {
42562 test -z "$ac_c_werror_flag" ||
42563 test ! -s conftest.err
42564 } && test -s conftest$ac_exeext &&
42565 $as_test_x conftest$ac_exeext; then
42566 ac_cv_func_pthread_mutex_timedlock=yes
42567 else
42568 echo "$as_me: failed program was:" >&5
42569 sed 's/^/| /' conftest.$ac_ext >&5
42570
42571 ac_cv_func_pthread_mutex_timedlock=no
42572 fi
42573
42574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42575 conftest$ac_exeext conftest.$ac_ext
42576 fi
42577 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42578 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42579 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42580 cat >>confdefs.h <<\_ACEOF
42581 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42582 _ACEOF
42583
42584 else
42585 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42586 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42587 fi
42588
42589
42590 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42591 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42592 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42593 echo $ECHO_N "(cached) $ECHO_C" >&6
42594 else
42595 cat >conftest.$ac_ext <<_ACEOF
42596 /* confdefs.h. */
42597 _ACEOF
42598 cat confdefs.h >>conftest.$ac_ext
42599 cat >>conftest.$ac_ext <<_ACEOF
42600 /* end confdefs.h. */
42601 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42603 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42604
42605 /* System header to define __stub macros and hopefully few prototypes,
42606 which can conflict with char pthread_attr_setstacksize (); below.
42607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42608 <limits.h> exists even on freestanding compilers. */
42609
42610 #ifdef __STDC__
42611 # include <limits.h>
42612 #else
42613 # include <assert.h>
42614 #endif
42615
42616 #undef pthread_attr_setstacksize
42617
42618 /* Override any GCC internal prototype to avoid an error.
42619 Use char because int might match the return type of a GCC
42620 builtin and then its argument prototype would still apply. */
42621 #ifdef __cplusplus
42622 extern "C"
42623 #endif
42624 char pthread_attr_setstacksize ();
42625 /* The GNU C library defines this for functions which it implements
42626 to always fail with ENOSYS. Some functions are actually named
42627 something starting with __ and the normal name is an alias. */
42628 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42629 choke me
42630 #endif
42631
42632 int
42633 main ()
42634 {
42635 return pthread_attr_setstacksize ();
42636 ;
42637 return 0;
42638 }
42639 _ACEOF
42640 rm -f conftest.$ac_objext conftest$ac_exeext
42641 if { (ac_try="$ac_link"
42642 case "(($ac_try" in
42643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42644 *) ac_try_echo=$ac_try;;
42645 esac
42646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42647 (eval "$ac_link") 2>conftest.er1
42648 ac_status=$?
42649 grep -v '^ *+' conftest.er1 >conftest.err
42650 rm -f conftest.er1
42651 cat conftest.err >&5
42652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42653 (exit $ac_status); } && {
42654 test -z "$ac_c_werror_flag" ||
42655 test ! -s conftest.err
42656 } && test -s conftest$ac_exeext &&
42657 $as_test_x conftest$ac_exeext; then
42658 ac_cv_func_pthread_attr_setstacksize=yes
42659 else
42660 echo "$as_me: failed program was:" >&5
42661 sed 's/^/| /' conftest.$ac_ext >&5
42662
42663 ac_cv_func_pthread_attr_setstacksize=no
42664 fi
42665
42666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42667 conftest$ac_exeext conftest.$ac_ext
42668 fi
42669 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42670 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42671 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42672 cat >>confdefs.h <<\_ACEOF
42673 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42674 _ACEOF
42675
42676 fi
42677
42678
42679
42680 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42681 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42682 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42683 echo $ECHO_N "(cached) $ECHO_C" >&6
42684 else
42685
42686 cat >conftest.$ac_ext <<_ACEOF
42687 /* confdefs.h. */
42688 _ACEOF
42689 cat confdefs.h >>conftest.$ac_ext
42690 cat >>conftest.$ac_ext <<_ACEOF
42691 /* end confdefs.h. */
42692 #include <pthread.h>
42693 int
42694 main ()
42695 {
42696
42697 pthread_mutexattr_t attr;
42698 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42699
42700 ;
42701 return 0;
42702 }
42703 _ACEOF
42704 rm -f conftest.$ac_objext
42705 if { (ac_try="$ac_compile"
42706 case "(($ac_try" in
42707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42708 *) ac_try_echo=$ac_try;;
42709 esac
42710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42711 (eval "$ac_compile") 2>conftest.er1
42712 ac_status=$?
42713 grep -v '^ *+' conftest.er1 >conftest.err
42714 rm -f conftest.er1
42715 cat conftest.err >&5
42716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42717 (exit $ac_status); } && {
42718 test -z "$ac_c_werror_flag" ||
42719 test ! -s conftest.err
42720 } && test -s conftest.$ac_objext; then
42721 wx_cv_type_pthread_mutexattr_t=yes
42722 else
42723 echo "$as_me: failed program was:" >&5
42724 sed 's/^/| /' conftest.$ac_ext >&5
42725
42726 wx_cv_type_pthread_mutexattr_t=no
42727
42728 fi
42729
42730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42731
42732 fi
42733 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42734 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42735
42736 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42737 cat >>confdefs.h <<\_ACEOF
42738 #define HAVE_PTHREAD_MUTEXATTR_T 1
42739 _ACEOF
42740
42741
42742 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42743 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42744 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42745 echo $ECHO_N "(cached) $ECHO_C" >&6
42746 else
42747
42748 cat >conftest.$ac_ext <<_ACEOF
42749 /* confdefs.h. */
42750 _ACEOF
42751 cat confdefs.h >>conftest.$ac_ext
42752 cat >>conftest.$ac_ext <<_ACEOF
42753 /* end confdefs.h. */
42754 #include <pthread.h>
42755 int
42756 main ()
42757 {
42758
42759 pthread_mutexattr_t attr;
42760 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42761
42762 ;
42763 return 0;
42764 }
42765 _ACEOF
42766 rm -f conftest.$ac_objext
42767 if { (ac_try="$ac_compile"
42768 case "(($ac_try" in
42769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42770 *) ac_try_echo=$ac_try;;
42771 esac
42772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42773 (eval "$ac_compile") 2>conftest.er1
42774 ac_status=$?
42775 grep -v '^ *+' conftest.er1 >conftest.err
42776 rm -f conftest.er1
42777 cat conftest.err >&5
42778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42779 (exit $ac_status); } && {
42780 test -z "$ac_c_werror_flag" ||
42781 test ! -s conftest.err
42782 } && test -s conftest.$ac_objext; then
42783 wx_cv_func_pthread_mutexattr_settype_decl=yes
42784 else
42785 echo "$as_me: failed program was:" >&5
42786 sed 's/^/| /' conftest.$ac_ext >&5
42787
42788 wx_cv_func_pthread_mutexattr_settype_decl=no
42789
42790 fi
42791
42792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42793
42794 fi
42795 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42796 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42797 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42798 cat >>confdefs.h <<\_ACEOF
42799 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42800 _ACEOF
42801
42802 fi
42803 else
42804 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42805 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42806 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42807 echo $ECHO_N "(cached) $ECHO_C" >&6
42808 else
42809
42810 cat >conftest.$ac_ext <<_ACEOF
42811 /* confdefs.h. */
42812 _ACEOF
42813 cat confdefs.h >>conftest.$ac_ext
42814 cat >>conftest.$ac_ext <<_ACEOF
42815 /* end confdefs.h. */
42816 #include <pthread.h>
42817 int
42818 main ()
42819 {
42820
42821 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42822
42823 ;
42824 return 0;
42825 }
42826 _ACEOF
42827 rm -f conftest.$ac_objext
42828 if { (ac_try="$ac_compile"
42829 case "(($ac_try" in
42830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42831 *) ac_try_echo=$ac_try;;
42832 esac
42833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42834 (eval "$ac_compile") 2>conftest.er1
42835 ac_status=$?
42836 grep -v '^ *+' conftest.er1 >conftest.err
42837 rm -f conftest.er1
42838 cat conftest.err >&5
42839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42840 (exit $ac_status); } && {
42841 test -z "$ac_c_werror_flag" ||
42842 test ! -s conftest.err
42843 } && test -s conftest.$ac_objext; then
42844
42845 wx_cv_type_pthread_rec_mutex_init=yes
42846
42847 else
42848 echo "$as_me: failed program was:" >&5
42849 sed 's/^/| /' conftest.$ac_ext >&5
42850
42851
42852 wx_cv_type_pthread_rec_mutex_init=no
42853
42854
42855 fi
42856
42857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42858
42859 fi
42860 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42861 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42862 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42863 cat >>confdefs.h <<\_ACEOF
42864 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42865 _ACEOF
42866
42867 else
42868 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42869 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42870 fi
42871 fi
42872 fi
42873
42874 else
42875 if test "$wxUSE_THREADS" = "yes" ; then
42876 case "${host}" in
42877 *-*-mingw32* )
42878 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42879 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42880 if test "${wx_cv_cflags_mthread+set}" = set; then
42881 echo $ECHO_N "(cached) $ECHO_C" >&6
42882 else
42883
42884 CFLAGS_OLD="$CFLAGS"
42885 CFLAGS="-mthreads $CFLAGS"
42886 cat >conftest.$ac_ext <<_ACEOF
42887 /* confdefs.h. */
42888 _ACEOF
42889 cat confdefs.h >>conftest.$ac_ext
42890 cat >>conftest.$ac_ext <<_ACEOF
42891 /* end confdefs.h. */
42892
42893 int
42894 main ()
42895 {
42896
42897 ;
42898 return 0;
42899 }
42900 _ACEOF
42901 rm -f conftest.$ac_objext
42902 if { (ac_try="$ac_compile"
42903 case "(($ac_try" in
42904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42905 *) ac_try_echo=$ac_try;;
42906 esac
42907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42908 (eval "$ac_compile") 2>conftest.er1
42909 ac_status=$?
42910 grep -v '^ *+' conftest.er1 >conftest.err
42911 rm -f conftest.er1
42912 cat conftest.err >&5
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); } && {
42915 test -z "$ac_c_werror_flag" ||
42916 test ! -s conftest.err
42917 } && test -s conftest.$ac_objext; then
42918 wx_cv_cflags_mthread=yes
42919 else
42920 echo "$as_me: failed program was:" >&5
42921 sed 's/^/| /' conftest.$ac_ext >&5
42922
42923 wx_cv_cflags_mthread=no
42924
42925 fi
42926
42927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42928
42929
42930 fi
42931 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42932 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42933
42934 if test "$wx_cv_cflags_mthread" = "yes"; then
42935 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42936 LDFLAGS="$LDFLAGS -mthreads"
42937 else
42938 CFLAGS="$CFLAGS_OLD"
42939 fi
42940 ;;
42941 *-pc-os2*emx )
42942 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42943 LDFLAGS="$LDFLAGS -Zmt"
42944 ;;
42945 esac
42946 fi
42947 fi
42948
42949 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42950 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42951 if test "${ac_cv_func_localtime_r+set}" = set; then
42952 echo $ECHO_N "(cached) $ECHO_C" >&6
42953 else
42954 cat >conftest.$ac_ext <<_ACEOF
42955 /* confdefs.h. */
42956 _ACEOF
42957 cat confdefs.h >>conftest.$ac_ext
42958 cat >>conftest.$ac_ext <<_ACEOF
42959 /* end confdefs.h. */
42960 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42962 #define localtime_r innocuous_localtime_r
42963
42964 /* System header to define __stub macros and hopefully few prototypes,
42965 which can conflict with char localtime_r (); below.
42966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42967 <limits.h> exists even on freestanding compilers. */
42968
42969 #ifdef __STDC__
42970 # include <limits.h>
42971 #else
42972 # include <assert.h>
42973 #endif
42974
42975 #undef localtime_r
42976
42977 /* Override any GCC internal prototype to avoid an error.
42978 Use char because int might match the return type of a GCC
42979 builtin and then its argument prototype would still apply. */
42980 #ifdef __cplusplus
42981 extern "C"
42982 #endif
42983 char localtime_r ();
42984 /* The GNU C library defines this for functions which it implements
42985 to always fail with ENOSYS. Some functions are actually named
42986 something starting with __ and the normal name is an alias. */
42987 #if defined __stub_localtime_r || defined __stub___localtime_r
42988 choke me
42989 #endif
42990
42991 int
42992 main ()
42993 {
42994 return localtime_r ();
42995 ;
42996 return 0;
42997 }
42998 _ACEOF
42999 rm -f conftest.$ac_objext conftest$ac_exeext
43000 if { (ac_try="$ac_link"
43001 case "(($ac_try" in
43002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43003 *) ac_try_echo=$ac_try;;
43004 esac
43005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43006 (eval "$ac_link") 2>conftest.er1
43007 ac_status=$?
43008 grep -v '^ *+' conftest.er1 >conftest.err
43009 rm -f conftest.er1
43010 cat conftest.err >&5
43011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43012 (exit $ac_status); } && {
43013 test -z "$ac_c_werror_flag" ||
43014 test ! -s conftest.err
43015 } && test -s conftest$ac_exeext &&
43016 $as_test_x conftest$ac_exeext; then
43017 ac_cv_func_localtime_r=yes
43018 else
43019 echo "$as_me: failed program was:" >&5
43020 sed 's/^/| /' conftest.$ac_ext >&5
43021
43022 ac_cv_func_localtime_r=no
43023 fi
43024
43025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43026 conftest$ac_exeext conftest.$ac_ext
43027 fi
43028 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43029 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43030 if test $ac_cv_func_localtime_r = yes; then
43031 cat >>confdefs.h <<\_ACEOF
43032 #define HAVE_LOCALTIME_R 1
43033 _ACEOF
43034
43035 fi
43036
43037 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43038 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43039 if test "${ac_cv_func_gmtime_r+set}" = set; then
43040 echo $ECHO_N "(cached) $ECHO_C" >&6
43041 else
43042 cat >conftest.$ac_ext <<_ACEOF
43043 /* confdefs.h. */
43044 _ACEOF
43045 cat confdefs.h >>conftest.$ac_ext
43046 cat >>conftest.$ac_ext <<_ACEOF
43047 /* end confdefs.h. */
43048 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43050 #define gmtime_r innocuous_gmtime_r
43051
43052 /* System header to define __stub macros and hopefully few prototypes,
43053 which can conflict with char gmtime_r (); below.
43054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43055 <limits.h> exists even on freestanding compilers. */
43056
43057 #ifdef __STDC__
43058 # include <limits.h>
43059 #else
43060 # include <assert.h>
43061 #endif
43062
43063 #undef gmtime_r
43064
43065 /* Override any GCC internal prototype to avoid an error.
43066 Use char because int might match the return type of a GCC
43067 builtin and then its argument prototype would still apply. */
43068 #ifdef __cplusplus
43069 extern "C"
43070 #endif
43071 char gmtime_r ();
43072 /* The GNU C library defines this for functions which it implements
43073 to always fail with ENOSYS. Some functions are actually named
43074 something starting with __ and the normal name is an alias. */
43075 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43076 choke me
43077 #endif
43078
43079 int
43080 main ()
43081 {
43082 return gmtime_r ();
43083 ;
43084 return 0;
43085 }
43086 _ACEOF
43087 rm -f conftest.$ac_objext conftest$ac_exeext
43088 if { (ac_try="$ac_link"
43089 case "(($ac_try" in
43090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43091 *) ac_try_echo=$ac_try;;
43092 esac
43093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43094 (eval "$ac_link") 2>conftest.er1
43095 ac_status=$?
43096 grep -v '^ *+' conftest.er1 >conftest.err
43097 rm -f conftest.er1
43098 cat conftest.err >&5
43099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43100 (exit $ac_status); } && {
43101 test -z "$ac_c_werror_flag" ||
43102 test ! -s conftest.err
43103 } && test -s conftest$ac_exeext &&
43104 $as_test_x conftest$ac_exeext; then
43105 ac_cv_func_gmtime_r=yes
43106 else
43107 echo "$as_me: failed program was:" >&5
43108 sed 's/^/| /' conftest.$ac_ext >&5
43109
43110 ac_cv_func_gmtime_r=no
43111 fi
43112
43113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43114 conftest$ac_exeext conftest.$ac_ext
43115 fi
43116 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43117 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43118 if test $ac_cv_func_gmtime_r = yes; then
43119 cat >>confdefs.h <<\_ACEOF
43120 #define HAVE_GMTIME_R 1
43121 _ACEOF
43122
43123 fi
43124
43125 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43126 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43127 if test "${ac_cv_func_readdir_r+set}" = set; then
43128 echo $ECHO_N "(cached) $ECHO_C" >&6
43129 else
43130 cat >conftest.$ac_ext <<_ACEOF
43131 /* confdefs.h. */
43132 _ACEOF
43133 cat confdefs.h >>conftest.$ac_ext
43134 cat >>conftest.$ac_ext <<_ACEOF
43135 /* end confdefs.h. */
43136 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43138 #define readdir_r innocuous_readdir_r
43139
43140 /* System header to define __stub macros and hopefully few prototypes,
43141 which can conflict with char readdir_r (); below.
43142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43143 <limits.h> exists even on freestanding compilers. */
43144
43145 #ifdef __STDC__
43146 # include <limits.h>
43147 #else
43148 # include <assert.h>
43149 #endif
43150
43151 #undef readdir_r
43152
43153 /* Override any GCC internal prototype to avoid an error.
43154 Use char because int might match the return type of a GCC
43155 builtin and then its argument prototype would still apply. */
43156 #ifdef __cplusplus
43157 extern "C"
43158 #endif
43159 char readdir_r ();
43160 /* The GNU C library defines this for functions which it implements
43161 to always fail with ENOSYS. Some functions are actually named
43162 something starting with __ and the normal name is an alias. */
43163 #if defined __stub_readdir_r || defined __stub___readdir_r
43164 choke me
43165 #endif
43166
43167 int
43168 main ()
43169 {
43170 return readdir_r ();
43171 ;
43172 return 0;
43173 }
43174 _ACEOF
43175 rm -f conftest.$ac_objext conftest$ac_exeext
43176 if { (ac_try="$ac_link"
43177 case "(($ac_try" in
43178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43179 *) ac_try_echo=$ac_try;;
43180 esac
43181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43182 (eval "$ac_link") 2>conftest.er1
43183 ac_status=$?
43184 grep -v '^ *+' conftest.er1 >conftest.err
43185 rm -f conftest.er1
43186 cat conftest.err >&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } && {
43189 test -z "$ac_c_werror_flag" ||
43190 test ! -s conftest.err
43191 } && test -s conftest$ac_exeext &&
43192 $as_test_x conftest$ac_exeext; then
43193 ac_cv_func_readdir_r=yes
43194 else
43195 echo "$as_me: failed program was:" >&5
43196 sed 's/^/| /' conftest.$ac_ext >&5
43197
43198 ac_cv_func_readdir_r=no
43199 fi
43200
43201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43202 conftest$ac_exeext conftest.$ac_ext
43203 fi
43204 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43205 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43206 if test $ac_cv_func_readdir_r = yes; then
43207 cat >>confdefs.h <<\_ACEOF
43208 #define HAVE_READDIR_R 1
43209 _ACEOF
43210
43211 fi
43212
43213
43214
43215
43216 ac_ext=c
43217 ac_cpp='$CPP $CPPFLAGS'
43218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43221
43222 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43223 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43224
43225 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43226 echo $ECHO_N "(cached) $ECHO_C" >&6
43227 else
43228
43229
43230 ################################################################
43231
43232 ac_cv_func_which_gethostbyname_r=unknown
43233
43234 #
43235 # ONE ARGUMENT (sanity check)
43236 #
43237
43238 # This should fail, as there is no variant of gethostbyname_r() that takes
43239 # a single argument. If it actually compiles, then we can assume that
43240 # netdb.h is not declaring the function, and the compiler is thereby
43241 # assuming an implicit prototype. In which case, we're out of luck.
43242 #
43243 cat >conftest.$ac_ext <<_ACEOF
43244 /* confdefs.h. */
43245 _ACEOF
43246 cat confdefs.h >>conftest.$ac_ext
43247 cat >>conftest.$ac_ext <<_ACEOF
43248 /* end confdefs.h. */
43249 #include <netdb.h>
43250 int
43251 main ()
43252 {
43253
43254 char *name = "www.gnu.org";
43255 (void)gethostbyname_r(name) /* ; */
43256
43257 ;
43258 return 0;
43259 }
43260 _ACEOF
43261 rm -f conftest.$ac_objext
43262 if { (ac_try="$ac_compile"
43263 case "(($ac_try" in
43264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43265 *) ac_try_echo=$ac_try;;
43266 esac
43267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43268 (eval "$ac_compile") 2>conftest.er1
43269 ac_status=$?
43270 grep -v '^ *+' conftest.er1 >conftest.err
43271 rm -f conftest.er1
43272 cat conftest.err >&5
43273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43274 (exit $ac_status); } && {
43275 test -z "$ac_c_werror_flag" ||
43276 test ! -s conftest.err
43277 } && test -s conftest.$ac_objext; then
43278 ac_cv_func_which_gethostbyname_r=no
43279 else
43280 echo "$as_me: failed program was:" >&5
43281 sed 's/^/| /' conftest.$ac_ext >&5
43282
43283
43284 fi
43285
43286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43287
43288 #
43289 # SIX ARGUMENTS
43290 # (e.g. Linux)
43291 #
43292
43293 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43294
43295 cat >conftest.$ac_ext <<_ACEOF
43296 /* confdefs.h. */
43297 _ACEOF
43298 cat confdefs.h >>conftest.$ac_ext
43299 cat >>conftest.$ac_ext <<_ACEOF
43300 /* end confdefs.h. */
43301 #include <netdb.h>
43302 int
43303 main ()
43304 {
43305
43306 char *name = "www.gnu.org";
43307 struct hostent ret, *retp;
43308 char buf[1024];
43309 int buflen = 1024;
43310 int my_h_errno;
43311 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43312
43313 ;
43314 return 0;
43315 }
43316 _ACEOF
43317 rm -f conftest.$ac_objext
43318 if { (ac_try="$ac_compile"
43319 case "(($ac_try" in
43320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43321 *) ac_try_echo=$ac_try;;
43322 esac
43323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43324 (eval "$ac_compile") 2>conftest.er1
43325 ac_status=$?
43326 grep -v '^ *+' conftest.er1 >conftest.err
43327 rm -f conftest.er1
43328 cat conftest.err >&5
43329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43330 (exit $ac_status); } && {
43331 test -z "$ac_c_werror_flag" ||
43332 test ! -s conftest.err
43333 } && test -s conftest.$ac_objext; then
43334 ac_cv_func_which_gethostbyname_r=six
43335 else
43336 echo "$as_me: failed program was:" >&5
43337 sed 's/^/| /' conftest.$ac_ext >&5
43338
43339
43340 fi
43341
43342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43343
43344 fi
43345
43346 #
43347 # FIVE ARGUMENTS
43348 # (e.g. Solaris)
43349 #
43350
43351 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43352
43353 cat >conftest.$ac_ext <<_ACEOF
43354 /* confdefs.h. */
43355 _ACEOF
43356 cat confdefs.h >>conftest.$ac_ext
43357 cat >>conftest.$ac_ext <<_ACEOF
43358 /* end confdefs.h. */
43359 #include <netdb.h>
43360 int
43361 main ()
43362 {
43363
43364 char *name = "www.gnu.org";
43365 struct hostent ret;
43366 char buf[1024];
43367 int buflen = 1024;
43368 int my_h_errno;
43369 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43370
43371 ;
43372 return 0;
43373 }
43374 _ACEOF
43375 rm -f conftest.$ac_objext
43376 if { (ac_try="$ac_compile"
43377 case "(($ac_try" in
43378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43379 *) ac_try_echo=$ac_try;;
43380 esac
43381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43382 (eval "$ac_compile") 2>conftest.er1
43383 ac_status=$?
43384 grep -v '^ *+' conftest.er1 >conftest.err
43385 rm -f conftest.er1
43386 cat conftest.err >&5
43387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388 (exit $ac_status); } && {
43389 test -z "$ac_c_werror_flag" ||
43390 test ! -s conftest.err
43391 } && test -s conftest.$ac_objext; then
43392 ac_cv_func_which_gethostbyname_r=five
43393 else
43394 echo "$as_me: failed program was:" >&5
43395 sed 's/^/| /' conftest.$ac_ext >&5
43396
43397
43398 fi
43399
43400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43401
43402 fi
43403
43404 #
43405 # THREE ARGUMENTS
43406 # (e.g. AIX, HP-UX, Tru64)
43407 #
43408
43409 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43410
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 #include <netdb.h>
43418 int
43419 main ()
43420 {
43421
43422 char *name = "www.gnu.org";
43423 struct hostent ret;
43424 struct hostent_data data;
43425 (void)gethostbyname_r(name, &ret, &data) /* ; */
43426
43427 ;
43428 return 0;
43429 }
43430 _ACEOF
43431 rm -f conftest.$ac_objext
43432 if { (ac_try="$ac_compile"
43433 case "(($ac_try" in
43434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43435 *) ac_try_echo=$ac_try;;
43436 esac
43437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43438 (eval "$ac_compile") 2>conftest.er1
43439 ac_status=$?
43440 grep -v '^ *+' conftest.er1 >conftest.err
43441 rm -f conftest.er1
43442 cat conftest.err >&5
43443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444 (exit $ac_status); } && {
43445 test -z "$ac_c_werror_flag" ||
43446 test ! -s conftest.err
43447 } && test -s conftest.$ac_objext; then
43448 ac_cv_func_which_gethostbyname_r=three
43449 else
43450 echo "$as_me: failed program was:" >&5
43451 sed 's/^/| /' conftest.$ac_ext >&5
43452
43453
43454 fi
43455
43456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43457
43458 fi
43459
43460 ################################################################
43461
43462
43463 fi
43464
43465 case "$ac_cv_func_which_gethostbyname_r" in
43466 three)
43467 { echo "$as_me:$LINENO: result: three" >&5
43468 echo "${ECHO_T}three" >&6; }
43469 cat >>confdefs.h <<\_ACEOF
43470 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43471 _ACEOF
43472
43473 ;;
43474
43475 five)
43476 { echo "$as_me:$LINENO: result: five" >&5
43477 echo "${ECHO_T}five" >&6; }
43478 cat >>confdefs.h <<\_ACEOF
43479 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43480 _ACEOF
43481
43482 ;;
43483
43484 six)
43485 { echo "$as_me:$LINENO: result: six" >&5
43486 echo "${ECHO_T}six" >&6; }
43487 cat >>confdefs.h <<\_ACEOF
43488 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43489 _ACEOF
43490
43491 ;;
43492
43493 no)
43494 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43495 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43496 ;;
43497
43498 unknown)
43499 { echo "$as_me:$LINENO: result: can't tell" >&5
43500 echo "${ECHO_T}can't tell" >&6; }
43501 ;;
43502
43503 *)
43504 { { echo "$as_me:$LINENO: error: internal error" >&5
43505 echo "$as_me: error: internal error" >&2;}
43506 { (exit 1); exit 1; }; }
43507 ;;
43508 esac
43509
43510 ac_ext=c
43511 ac_cpp='$CPP $CPPFLAGS'
43512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43515
43516
43517
43518 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43519 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43520 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43521 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43522 if test "${ac_cv_func_gethostbyname+set}" = set; then
43523 echo $ECHO_N "(cached) $ECHO_C" >&6
43524 else
43525 cat >conftest.$ac_ext <<_ACEOF
43526 /* confdefs.h. */
43527 _ACEOF
43528 cat confdefs.h >>conftest.$ac_ext
43529 cat >>conftest.$ac_ext <<_ACEOF
43530 /* end confdefs.h. */
43531 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43533 #define gethostbyname innocuous_gethostbyname
43534
43535 /* System header to define __stub macros and hopefully few prototypes,
43536 which can conflict with char gethostbyname (); below.
43537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43538 <limits.h> exists even on freestanding compilers. */
43539
43540 #ifdef __STDC__
43541 # include <limits.h>
43542 #else
43543 # include <assert.h>
43544 #endif
43545
43546 #undef gethostbyname
43547
43548 /* Override any GCC internal prototype to avoid an error.
43549 Use char because int might match the return type of a GCC
43550 builtin and then its argument prototype would still apply. */
43551 #ifdef __cplusplus
43552 extern "C"
43553 #endif
43554 char gethostbyname ();
43555 /* The GNU C library defines this for functions which it implements
43556 to always fail with ENOSYS. Some functions are actually named
43557 something starting with __ and the normal name is an alias. */
43558 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43559 choke me
43560 #endif
43561
43562 int
43563 main ()
43564 {
43565 return gethostbyname ();
43566 ;
43567 return 0;
43568 }
43569 _ACEOF
43570 rm -f conftest.$ac_objext conftest$ac_exeext
43571 if { (ac_try="$ac_link"
43572 case "(($ac_try" in
43573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43574 *) ac_try_echo=$ac_try;;
43575 esac
43576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43577 (eval "$ac_link") 2>conftest.er1
43578 ac_status=$?
43579 grep -v '^ *+' conftest.er1 >conftest.err
43580 rm -f conftest.er1
43581 cat conftest.err >&5
43582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43583 (exit $ac_status); } && {
43584 test -z "$ac_c_werror_flag" ||
43585 test ! -s conftest.err
43586 } && test -s conftest$ac_exeext &&
43587 $as_test_x conftest$ac_exeext; then
43588 ac_cv_func_gethostbyname=yes
43589 else
43590 echo "$as_me: failed program was:" >&5
43591 sed 's/^/| /' conftest.$ac_ext >&5
43592
43593 ac_cv_func_gethostbyname=no
43594 fi
43595
43596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43597 conftest$ac_exeext conftest.$ac_ext
43598 fi
43599 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43600 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43601 if test $ac_cv_func_gethostbyname = yes; then
43602 cat >>confdefs.h <<\_ACEOF
43603 #define HAVE_GETHOSTBYNAME 1
43604 _ACEOF
43605
43606 fi
43607
43608 fi
43609
43610 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43611 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43612 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43613 echo $ECHO_N "(cached) $ECHO_C" >&6
43614 else
43615
43616 ac_ext=cpp
43617 ac_cpp='$CXXCPP $CPPFLAGS'
43618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43621
43622
43623 cat >conftest.$ac_ext <<_ACEOF
43624 /* confdefs.h. */
43625 _ACEOF
43626 cat confdefs.h >>conftest.$ac_ext
43627 cat >>conftest.$ac_ext <<_ACEOF
43628 /* end confdefs.h. */
43629 #include <netdb.h>
43630 int
43631 main ()
43632 {
43633
43634 char *name;
43635 char *proto;
43636 struct servent *se, *res;
43637 char buffer[2048];
43638 int buflen = 2048;
43639 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43640
43641 ;
43642 return 0;
43643 }
43644 _ACEOF
43645 rm -f conftest.$ac_objext
43646 if { (ac_try="$ac_compile"
43647 case "(($ac_try" in
43648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43649 *) ac_try_echo=$ac_try;;
43650 esac
43651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43652 (eval "$ac_compile") 2>conftest.er1
43653 ac_status=$?
43654 grep -v '^ *+' conftest.er1 >conftest.err
43655 rm -f conftest.er1
43656 cat conftest.err >&5
43657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43658 (exit $ac_status); } && {
43659 test -z "$ac_cxx_werror_flag" ||
43660 test ! -s conftest.err
43661 } && test -s conftest.$ac_objext; then
43662 ac_cv_func_which_getservbyname_r=six
43663 else
43664 echo "$as_me: failed program was:" >&5
43665 sed 's/^/| /' conftest.$ac_ext >&5
43666
43667
43668 cat >conftest.$ac_ext <<_ACEOF
43669 /* confdefs.h. */
43670 _ACEOF
43671 cat confdefs.h >>conftest.$ac_ext
43672 cat >>conftest.$ac_ext <<_ACEOF
43673 /* end confdefs.h. */
43674 #include <netdb.h>
43675 int
43676 main ()
43677 {
43678
43679 char *name;
43680 char *proto;
43681 struct servent *se;
43682 char buffer[2048];
43683 int buflen = 2048;
43684 (void) getservbyname_r(name, proto, se, buffer, buflen)
43685
43686 ;
43687 return 0;
43688 }
43689 _ACEOF
43690 rm -f conftest.$ac_objext
43691 if { (ac_try="$ac_compile"
43692 case "(($ac_try" in
43693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43694 *) ac_try_echo=$ac_try;;
43695 esac
43696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43697 (eval "$ac_compile") 2>conftest.er1
43698 ac_status=$?
43699 grep -v '^ *+' conftest.er1 >conftest.err
43700 rm -f conftest.er1
43701 cat conftest.err >&5
43702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703 (exit $ac_status); } && {
43704 test -z "$ac_cxx_werror_flag" ||
43705 test ! -s conftest.err
43706 } && test -s conftest.$ac_objext; then
43707 ac_cv_func_which_getservbyname_r=five
43708 else
43709 echo "$as_me: failed program was:" >&5
43710 sed 's/^/| /' conftest.$ac_ext >&5
43711
43712
43713 cat >conftest.$ac_ext <<_ACEOF
43714 /* confdefs.h. */
43715 _ACEOF
43716 cat confdefs.h >>conftest.$ac_ext
43717 cat >>conftest.$ac_ext <<_ACEOF
43718 /* end confdefs.h. */
43719 #include <netdb.h>
43720 int
43721 main ()
43722 {
43723
43724 char *name;
43725 char *proto;
43726 struct servent *se;
43727 struct servent_data data;
43728 (void) getservbyname_r(name, proto, se, &data);
43729
43730 ;
43731 return 0;
43732 }
43733 _ACEOF
43734 rm -f conftest.$ac_objext
43735 if { (ac_try="$ac_compile"
43736 case "(($ac_try" in
43737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43738 *) ac_try_echo=$ac_try;;
43739 esac
43740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43741 (eval "$ac_compile") 2>conftest.er1
43742 ac_status=$?
43743 grep -v '^ *+' conftest.er1 >conftest.err
43744 rm -f conftest.er1
43745 cat conftest.err >&5
43746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747 (exit $ac_status); } && {
43748 test -z "$ac_cxx_werror_flag" ||
43749 test ! -s conftest.err
43750 } && test -s conftest.$ac_objext; then
43751 ac_cv_func_which_getservbyname_r=four
43752 else
43753 echo "$as_me: failed program was:" >&5
43754 sed 's/^/| /' conftest.$ac_ext >&5
43755
43756 ac_cv_func_which_getservbyname_r=no
43757
43758 fi
43759
43760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43761
43762
43763 fi
43764
43765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43766
43767
43768 fi
43769
43770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43771 ac_ext=c
43772 ac_cpp='$CPP $CPPFLAGS'
43773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43776
43777
43778
43779 fi
43780 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43781 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43782
43783 if test $ac_cv_func_which_getservbyname_r = six; then
43784 cat >>confdefs.h <<\_ACEOF
43785 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43786 _ACEOF
43787
43788 elif test $ac_cv_func_which_getservbyname_r = five; then
43789 cat >>confdefs.h <<\_ACEOF
43790 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43791 _ACEOF
43792
43793 elif test $ac_cv_func_which_getservbyname_r = four; then
43794 cat >>confdefs.h <<\_ACEOF
43795 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43796 _ACEOF
43797
43798 fi
43799
43800
43801 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43802 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43803
43804 for ac_func in getservbyname
43805 do
43806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43807 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43809 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43810 echo $ECHO_N "(cached) $ECHO_C" >&6
43811 else
43812 cat >conftest.$ac_ext <<_ACEOF
43813 /* confdefs.h. */
43814 _ACEOF
43815 cat confdefs.h >>conftest.$ac_ext
43816 cat >>conftest.$ac_ext <<_ACEOF
43817 /* end confdefs.h. */
43818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43820 #define $ac_func innocuous_$ac_func
43821
43822 /* System header to define __stub macros and hopefully few prototypes,
43823 which can conflict with char $ac_func (); below.
43824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43825 <limits.h> exists even on freestanding compilers. */
43826
43827 #ifdef __STDC__
43828 # include <limits.h>
43829 #else
43830 # include <assert.h>
43831 #endif
43832
43833 #undef $ac_func
43834
43835 /* Override any GCC internal prototype to avoid an error.
43836 Use char because int might match the return type of a GCC
43837 builtin and then its argument prototype would still apply. */
43838 #ifdef __cplusplus
43839 extern "C"
43840 #endif
43841 char $ac_func ();
43842 /* The GNU C library defines this for functions which it implements
43843 to always fail with ENOSYS. Some functions are actually named
43844 something starting with __ and the normal name is an alias. */
43845 #if defined __stub_$ac_func || defined __stub___$ac_func
43846 choke me
43847 #endif
43848
43849 int
43850 main ()
43851 {
43852 return $ac_func ();
43853 ;
43854 return 0;
43855 }
43856 _ACEOF
43857 rm -f conftest.$ac_objext conftest$ac_exeext
43858 if { (ac_try="$ac_link"
43859 case "(($ac_try" in
43860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43861 *) ac_try_echo=$ac_try;;
43862 esac
43863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43864 (eval "$ac_link") 2>conftest.er1
43865 ac_status=$?
43866 grep -v '^ *+' conftest.er1 >conftest.err
43867 rm -f conftest.er1
43868 cat conftest.err >&5
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); } && {
43871 test -z "$ac_c_werror_flag" ||
43872 test ! -s conftest.err
43873 } && test -s conftest$ac_exeext &&
43874 $as_test_x conftest$ac_exeext; then
43875 eval "$as_ac_var=yes"
43876 else
43877 echo "$as_me: failed program was:" >&5
43878 sed 's/^/| /' conftest.$ac_ext >&5
43879
43880 eval "$as_ac_var=no"
43881 fi
43882
43883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43884 conftest$ac_exeext conftest.$ac_ext
43885 fi
43886 ac_res=`eval echo '${'$as_ac_var'}'`
43887 { echo "$as_me:$LINENO: result: $ac_res" >&5
43888 echo "${ECHO_T}$ac_res" >&6; }
43889 if test `eval echo '${'$as_ac_var'}'` = yes; then
43890 cat >>confdefs.h <<_ACEOF
43891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43892 _ACEOF
43893 cat >>confdefs.h <<\_ACEOF
43894 #define HAVE_GETSERVBYNAME 1
43895 _ACEOF
43896
43897 fi
43898 done
43899
43900 fi
43901
43902 if test "$wxUSE_THREADS" = "yes"; then
43903 cat >>confdefs.h <<\_ACEOF
43904 #define wxUSE_THREADS 1
43905 _ACEOF
43906
43907
43908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43909 else
43910 if test "$wx_cv_func_strtok_r" = "yes"; then
43911 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43912 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43913 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43914 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43915 { echo "$as_me:$LINENO: result: yes" >&5
43916 echo "${ECHO_T}yes" >&6; }
43917 else
43918 { echo "$as_me:$LINENO: result: no" >&5
43919 echo "${ECHO_T}no" >&6; }
43920 fi
43921 fi
43922 fi
43923
43924 if test "$WXGTK20" = 1 ; then
43925 cat >>confdefs.h <<_ACEOF
43926 #define __WXGTK20__ $WXGTK20
43927 _ACEOF
43928
43929 WXGTK12=1
43930 fi
43931
43932 if test "$WXGTK12" = 1 ; then
43933 cat >>confdefs.h <<_ACEOF
43934 #define __WXGTK12__ $WXGTK12
43935 _ACEOF
43936
43937 fi
43938
43939 if test "$WXGTK127" = 1 ; then
43940 cat >>confdefs.h <<_ACEOF
43941 #define __WXGTK127__ $WXGTK127
43942 _ACEOF
43943
43944 fi
43945
43946 if test "$WXGPE" = 1 ; then
43947 cat >>confdefs.h <<_ACEOF
43948 #define __WXGPE__ $WXGPE
43949 _ACEOF
43950
43951 fi
43952
43953 DEBUG_CFLAGS=
43954 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43955 DEBUG_CFLAGS="-g"
43956 wxUSE_OPTIMISE=no
43957 fi
43958
43959 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43960 wxUSE_DEBUG_INFO=yes
43961 if test "$GCC" = yes; then
43962 DEBUG_CFLAGS="-ggdb"
43963 fi
43964 fi
43965
43966 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43967 cat >>confdefs.h <<\_ACEOF
43968 #define WXDEBUG 1
43969 _ACEOF
43970
43971 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43972 else
43973 if test "$wxUSE_GTK" = 1 ; then
43974 if test "x$wxGTK_VERSION" = "x1" ; then
43975 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43976 fi
43977 fi
43978 fi
43979
43980 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43981 cat >>confdefs.h <<\_ACEOF
43982 #define wxUSE_MEMORY_TRACING 1
43983 _ACEOF
43984
43985 cat >>confdefs.h <<\_ACEOF
43986 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43987 _ACEOF
43988
43989 cat >>confdefs.h <<\_ACEOF
43990 #define wxUSE_DEBUG_NEW_ALWAYS 1
43991 _ACEOF
43992
43993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43994 fi
43995
43996 if test "$wxUSE_DMALLOC" = "yes" ; then
43997 DMALLOC_LIBS="-ldmallocthcxx"
43998 fi
43999
44000 PROFILE_FLAGS=
44001 if test "$wxUSE_PROFILE" = "yes" ; then
44002 PROFILE_FLAGS=" -pg"
44003 fi
44004
44005 if test "$GCC" = "yes" ; then
44006 if test "$wxUSE_NO_RTTI" = "yes" ; then
44007 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44008 fi
44009 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44010 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44011 fi
44012 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44013 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44014 fi
44015
44016 case "${host}" in
44017 powerpc*-*-aix* )
44018 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44019 ;;
44020 *-hppa* )
44021 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44022 ;;
44023 esac
44024 fi
44025
44026 OPTIMISE_CFLAGS=
44027 if test "$wxUSE_OPTIMISE" = "no" ; then
44028 if test "$GCC" = yes ; then
44029 OPTIMISE_CFLAGS="-O0"
44030 fi
44031 else
44032 if test "$GCC" = yes ; then
44033 case "${host}" in
44034 *-pc-os2_emx | *-pc-os2-emx )
44035 OPTIMISE_CFLAGS="-O2"
44036 ;;
44037 *)
44038 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44039 ;;
44040 esac
44041 else
44042 OPTIMISE_CFLAGS="-O"
44043 fi
44044 fi
44045
44046
44047 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44048 cat >>confdefs.h <<\_ACEOF
44049 #define WXWIN_COMPATIBILITY_2_6 1
44050 _ACEOF
44051
44052
44053 WXWIN_COMPATIBILITY_2_8="yes"
44054 fi
44055
44056 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44057 cat >>confdefs.h <<\_ACEOF
44058 #define WXWIN_COMPATIBILITY_2_8 1
44059 _ACEOF
44060
44061 fi
44062
44063
44064 if test "$wxUSE_GUI" = "yes"; then
44065 cat >>confdefs.h <<\_ACEOF
44066 #define wxUSE_GUI 1
44067 _ACEOF
44068
44069
44070 fi
44071
44072
44073 if test "$wxUSE_UNIX" = "yes"; then
44074 cat >>confdefs.h <<\_ACEOF
44075 #define wxUSE_UNIX 1
44076 _ACEOF
44077
44078 fi
44079
44080
44081 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44082
44083 HAVE_DL_FUNCS=0
44084 HAVE_SHL_FUNCS=0
44085 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44086 if test "$USE_DARWIN" = 1; then
44087 HAVE_DL_FUNCS=1
44088 elif test "$USE_DOS" = 1; then
44089 HAVE_DL_FUNCS=0
44090 else
44091
44092 for ac_func in dlopen
44093 do
44094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44095 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44097 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44098 echo $ECHO_N "(cached) $ECHO_C" >&6
44099 else
44100 cat >conftest.$ac_ext <<_ACEOF
44101 /* confdefs.h. */
44102 _ACEOF
44103 cat confdefs.h >>conftest.$ac_ext
44104 cat >>conftest.$ac_ext <<_ACEOF
44105 /* end confdefs.h. */
44106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44108 #define $ac_func innocuous_$ac_func
44109
44110 /* System header to define __stub macros and hopefully few prototypes,
44111 which can conflict with char $ac_func (); below.
44112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44113 <limits.h> exists even on freestanding compilers. */
44114
44115 #ifdef __STDC__
44116 # include <limits.h>
44117 #else
44118 # include <assert.h>
44119 #endif
44120
44121 #undef $ac_func
44122
44123 /* Override any GCC internal prototype to avoid an error.
44124 Use char because int might match the return type of a GCC
44125 builtin and then its argument prototype would still apply. */
44126 #ifdef __cplusplus
44127 extern "C"
44128 #endif
44129 char $ac_func ();
44130 /* The GNU C library defines this for functions which it implements
44131 to always fail with ENOSYS. Some functions are actually named
44132 something starting with __ and the normal name is an alias. */
44133 #if defined __stub_$ac_func || defined __stub___$ac_func
44134 choke me
44135 #endif
44136
44137 int
44138 main ()
44139 {
44140 return $ac_func ();
44141 ;
44142 return 0;
44143 }
44144 _ACEOF
44145 rm -f conftest.$ac_objext conftest$ac_exeext
44146 if { (ac_try="$ac_link"
44147 case "(($ac_try" in
44148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44149 *) ac_try_echo=$ac_try;;
44150 esac
44151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44152 (eval "$ac_link") 2>conftest.er1
44153 ac_status=$?
44154 grep -v '^ *+' conftest.er1 >conftest.err
44155 rm -f conftest.er1
44156 cat conftest.err >&5
44157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44158 (exit $ac_status); } && {
44159 test -z "$ac_c_werror_flag" ||
44160 test ! -s conftest.err
44161 } && test -s conftest$ac_exeext &&
44162 $as_test_x conftest$ac_exeext; then
44163 eval "$as_ac_var=yes"
44164 else
44165 echo "$as_me: failed program was:" >&5
44166 sed 's/^/| /' conftest.$ac_ext >&5
44167
44168 eval "$as_ac_var=no"
44169 fi
44170
44171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44172 conftest$ac_exeext conftest.$ac_ext
44173 fi
44174 ac_res=`eval echo '${'$as_ac_var'}'`
44175 { echo "$as_me:$LINENO: result: $ac_res" >&5
44176 echo "${ECHO_T}$ac_res" >&6; }
44177 if test `eval echo '${'$as_ac_var'}'` = yes; then
44178 cat >>confdefs.h <<_ACEOF
44179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44180 _ACEOF
44181
44182 cat >>confdefs.h <<\_ACEOF
44183 #define HAVE_DLOPEN 1
44184 _ACEOF
44185
44186 HAVE_DL_FUNCS=1
44187
44188 else
44189
44190 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44191 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44192 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44193 echo $ECHO_N "(cached) $ECHO_C" >&6
44194 else
44195 ac_check_lib_save_LIBS=$LIBS
44196 LIBS="-ldl $LIBS"
44197 cat >conftest.$ac_ext <<_ACEOF
44198 /* confdefs.h. */
44199 _ACEOF
44200 cat confdefs.h >>conftest.$ac_ext
44201 cat >>conftest.$ac_ext <<_ACEOF
44202 /* end confdefs.h. */
44203
44204 /* Override any GCC internal prototype to avoid an error.
44205 Use char because int might match the return type of a GCC
44206 builtin and then its argument prototype would still apply. */
44207 #ifdef __cplusplus
44208 extern "C"
44209 #endif
44210 char dlopen ();
44211 int
44212 main ()
44213 {
44214 return dlopen ();
44215 ;
44216 return 0;
44217 }
44218 _ACEOF
44219 rm -f conftest.$ac_objext conftest$ac_exeext
44220 if { (ac_try="$ac_link"
44221 case "(($ac_try" in
44222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44223 *) ac_try_echo=$ac_try;;
44224 esac
44225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44226 (eval "$ac_link") 2>conftest.er1
44227 ac_status=$?
44228 grep -v '^ *+' conftest.er1 >conftest.err
44229 rm -f conftest.er1
44230 cat conftest.err >&5
44231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44232 (exit $ac_status); } && {
44233 test -z "$ac_c_werror_flag" ||
44234 test ! -s conftest.err
44235 } && test -s conftest$ac_exeext &&
44236 $as_test_x conftest$ac_exeext; then
44237 ac_cv_lib_dl_dlopen=yes
44238 else
44239 echo "$as_me: failed program was:" >&5
44240 sed 's/^/| /' conftest.$ac_ext >&5
44241
44242 ac_cv_lib_dl_dlopen=no
44243 fi
44244
44245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44246 conftest$ac_exeext conftest.$ac_ext
44247 LIBS=$ac_check_lib_save_LIBS
44248 fi
44249 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44250 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44251 if test $ac_cv_lib_dl_dlopen = yes; then
44252
44253 cat >>confdefs.h <<\_ACEOF
44254 #define HAVE_DLOPEN 1
44255 _ACEOF
44256
44257 HAVE_DL_FUNCS=1
44258 DL_LINK=" -ldl$DL_LINK"
44259
44260 else
44261
44262
44263 for ac_func in shl_load
44264 do
44265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44266 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44269 echo $ECHO_N "(cached) $ECHO_C" >&6
44270 else
44271 cat >conftest.$ac_ext <<_ACEOF
44272 /* confdefs.h. */
44273 _ACEOF
44274 cat confdefs.h >>conftest.$ac_ext
44275 cat >>conftest.$ac_ext <<_ACEOF
44276 /* end confdefs.h. */
44277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44279 #define $ac_func innocuous_$ac_func
44280
44281 /* System header to define __stub macros and hopefully few prototypes,
44282 which can conflict with char $ac_func (); below.
44283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44284 <limits.h> exists even on freestanding compilers. */
44285
44286 #ifdef __STDC__
44287 # include <limits.h>
44288 #else
44289 # include <assert.h>
44290 #endif
44291
44292 #undef $ac_func
44293
44294 /* Override any GCC internal prototype to avoid an error.
44295 Use char because int might match the return type of a GCC
44296 builtin and then its argument prototype would still apply. */
44297 #ifdef __cplusplus
44298 extern "C"
44299 #endif
44300 char $ac_func ();
44301 /* The GNU C library defines this for functions which it implements
44302 to always fail with ENOSYS. Some functions are actually named
44303 something starting with __ and the normal name is an alias. */
44304 #if defined __stub_$ac_func || defined __stub___$ac_func
44305 choke me
44306 #endif
44307
44308 int
44309 main ()
44310 {
44311 return $ac_func ();
44312 ;
44313 return 0;
44314 }
44315 _ACEOF
44316 rm -f conftest.$ac_objext conftest$ac_exeext
44317 if { (ac_try="$ac_link"
44318 case "(($ac_try" in
44319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44320 *) ac_try_echo=$ac_try;;
44321 esac
44322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44323 (eval "$ac_link") 2>conftest.er1
44324 ac_status=$?
44325 grep -v '^ *+' conftest.er1 >conftest.err
44326 rm -f conftest.er1
44327 cat conftest.err >&5
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); } && {
44330 test -z "$ac_c_werror_flag" ||
44331 test ! -s conftest.err
44332 } && test -s conftest$ac_exeext &&
44333 $as_test_x conftest$ac_exeext; then
44334 eval "$as_ac_var=yes"
44335 else
44336 echo "$as_me: failed program was:" >&5
44337 sed 's/^/| /' conftest.$ac_ext >&5
44338
44339 eval "$as_ac_var=no"
44340 fi
44341
44342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44343 conftest$ac_exeext conftest.$ac_ext
44344 fi
44345 ac_res=`eval echo '${'$as_ac_var'}'`
44346 { echo "$as_me:$LINENO: result: $ac_res" >&5
44347 echo "${ECHO_T}$ac_res" >&6; }
44348 if test `eval echo '${'$as_ac_var'}'` = yes; then
44349 cat >>confdefs.h <<_ACEOF
44350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44351 _ACEOF
44352
44353 cat >>confdefs.h <<\_ACEOF
44354 #define HAVE_SHL_LOAD 1
44355 _ACEOF
44356
44357 HAVE_SHL_FUNCS=1
44358
44359 else
44360
44361 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44362 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44363 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44364 echo $ECHO_N "(cached) $ECHO_C" >&6
44365 else
44366 ac_check_lib_save_LIBS=$LIBS
44367 LIBS="-lshl_load $LIBS"
44368 cat >conftest.$ac_ext <<_ACEOF
44369 /* confdefs.h. */
44370 _ACEOF
44371 cat confdefs.h >>conftest.$ac_ext
44372 cat >>conftest.$ac_ext <<_ACEOF
44373 /* end confdefs.h. */
44374
44375 /* Override any GCC internal prototype to avoid an error.
44376 Use char because int might match the return type of a GCC
44377 builtin and then its argument prototype would still apply. */
44378 #ifdef __cplusplus
44379 extern "C"
44380 #endif
44381 char dld ();
44382 int
44383 main ()
44384 {
44385 return dld ();
44386 ;
44387 return 0;
44388 }
44389 _ACEOF
44390 rm -f conftest.$ac_objext conftest$ac_exeext
44391 if { (ac_try="$ac_link"
44392 case "(($ac_try" in
44393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44394 *) ac_try_echo=$ac_try;;
44395 esac
44396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44397 (eval "$ac_link") 2>conftest.er1
44398 ac_status=$?
44399 grep -v '^ *+' conftest.er1 >conftest.err
44400 rm -f conftest.er1
44401 cat conftest.err >&5
44402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44403 (exit $ac_status); } && {
44404 test -z "$ac_c_werror_flag" ||
44405 test ! -s conftest.err
44406 } && test -s conftest$ac_exeext &&
44407 $as_test_x conftest$ac_exeext; then
44408 ac_cv_lib_shl_load_dld=yes
44409 else
44410 echo "$as_me: failed program was:" >&5
44411 sed 's/^/| /' conftest.$ac_ext >&5
44412
44413 ac_cv_lib_shl_load_dld=no
44414 fi
44415
44416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44417 conftest$ac_exeext conftest.$ac_ext
44418 LIBS=$ac_check_lib_save_LIBS
44419 fi
44420 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44421 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44422 if test $ac_cv_lib_shl_load_dld = yes; then
44423
44424 HAVE_SHL_FUNCS=1
44425 DL_LINK=" -ldld$DL_LINK"
44426
44427 fi
44428
44429
44430 fi
44431 done
44432
44433
44434 fi
44435
44436
44437 fi
44438 done
44439
44440
44441 if test "$HAVE_DL_FUNCS" = 1; then
44442
44443 for ac_func in dlerror
44444 do
44445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44446 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44448 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44449 echo $ECHO_N "(cached) $ECHO_C" >&6
44450 else
44451 cat >conftest.$ac_ext <<_ACEOF
44452 /* confdefs.h. */
44453 _ACEOF
44454 cat confdefs.h >>conftest.$ac_ext
44455 cat >>conftest.$ac_ext <<_ACEOF
44456 /* end confdefs.h. */
44457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44459 #define $ac_func innocuous_$ac_func
44460
44461 /* System header to define __stub macros and hopefully few prototypes,
44462 which can conflict with char $ac_func (); below.
44463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44464 <limits.h> exists even on freestanding compilers. */
44465
44466 #ifdef __STDC__
44467 # include <limits.h>
44468 #else
44469 # include <assert.h>
44470 #endif
44471
44472 #undef $ac_func
44473
44474 /* Override any GCC internal prototype to avoid an error.
44475 Use char because int might match the return type of a GCC
44476 builtin and then its argument prototype would still apply. */
44477 #ifdef __cplusplus
44478 extern "C"
44479 #endif
44480 char $ac_func ();
44481 /* The GNU C library defines this for functions which it implements
44482 to always fail with ENOSYS. Some functions are actually named
44483 something starting with __ and the normal name is an alias. */
44484 #if defined __stub_$ac_func || defined __stub___$ac_func
44485 choke me
44486 #endif
44487
44488 int
44489 main ()
44490 {
44491 return $ac_func ();
44492 ;
44493 return 0;
44494 }
44495 _ACEOF
44496 rm -f conftest.$ac_objext conftest$ac_exeext
44497 if { (ac_try="$ac_link"
44498 case "(($ac_try" in
44499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44500 *) ac_try_echo=$ac_try;;
44501 esac
44502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44503 (eval "$ac_link") 2>conftest.er1
44504 ac_status=$?
44505 grep -v '^ *+' conftest.er1 >conftest.err
44506 rm -f conftest.er1
44507 cat conftest.err >&5
44508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44509 (exit $ac_status); } && {
44510 test -z "$ac_c_werror_flag" ||
44511 test ! -s conftest.err
44512 } && test -s conftest$ac_exeext &&
44513 $as_test_x conftest$ac_exeext; then
44514 eval "$as_ac_var=yes"
44515 else
44516 echo "$as_me: failed program was:" >&5
44517 sed 's/^/| /' conftest.$ac_ext >&5
44518
44519 eval "$as_ac_var=no"
44520 fi
44521
44522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44523 conftest$ac_exeext conftest.$ac_ext
44524 fi
44525 ac_res=`eval echo '${'$as_ac_var'}'`
44526 { echo "$as_me:$LINENO: result: $ac_res" >&5
44527 echo "${ECHO_T}$ac_res" >&6; }
44528 if test `eval echo '${'$as_ac_var'}'` = yes; then
44529 cat >>confdefs.h <<_ACEOF
44530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44531 _ACEOF
44532 cat >>confdefs.h <<\_ACEOF
44533 #define HAVE_DLERROR 1
44534 _ACEOF
44535
44536 else
44537
44538 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44539 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44540 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44541 echo $ECHO_N "(cached) $ECHO_C" >&6
44542 else
44543 ac_check_lib_save_LIBS=$LIBS
44544 LIBS="-ldl $LIBS"
44545 cat >conftest.$ac_ext <<_ACEOF
44546 /* confdefs.h. */
44547 _ACEOF
44548 cat confdefs.h >>conftest.$ac_ext
44549 cat >>conftest.$ac_ext <<_ACEOF
44550 /* end confdefs.h. */
44551
44552 /* Override any GCC internal prototype to avoid an error.
44553 Use char because int might match the return type of a GCC
44554 builtin and then its argument prototype would still apply. */
44555 #ifdef __cplusplus
44556 extern "C"
44557 #endif
44558 char dlerror ();
44559 int
44560 main ()
44561 {
44562 return dlerror ();
44563 ;
44564 return 0;
44565 }
44566 _ACEOF
44567 rm -f conftest.$ac_objext conftest$ac_exeext
44568 if { (ac_try="$ac_link"
44569 case "(($ac_try" in
44570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44571 *) ac_try_echo=$ac_try;;
44572 esac
44573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44574 (eval "$ac_link") 2>conftest.er1
44575 ac_status=$?
44576 grep -v '^ *+' conftest.er1 >conftest.err
44577 rm -f conftest.er1
44578 cat conftest.err >&5
44579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44580 (exit $ac_status); } && {
44581 test -z "$ac_c_werror_flag" ||
44582 test ! -s conftest.err
44583 } && test -s conftest$ac_exeext &&
44584 $as_test_x conftest$ac_exeext; then
44585 ac_cv_lib_dl_dlerror=yes
44586 else
44587 echo "$as_me: failed program was:" >&5
44588 sed 's/^/| /' conftest.$ac_ext >&5
44589
44590 ac_cv_lib_dl_dlerror=no
44591 fi
44592
44593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44594 conftest$ac_exeext conftest.$ac_ext
44595 LIBS=$ac_check_lib_save_LIBS
44596 fi
44597 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44598 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44599 if test $ac_cv_lib_dl_dlerror = yes; then
44600 cat >>confdefs.h <<\_ACEOF
44601 #define HAVE_DLERROR 1
44602 _ACEOF
44603
44604 fi
44605
44606
44607
44608 fi
44609 done
44610
44611 fi
44612 fi
44613
44614 if test "$HAVE_DL_FUNCS" = 0; then
44615 if test "$HAVE_SHL_FUNCS" = 0; then
44616 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44617 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44618 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44619 wxUSE_DYNAMIC_LOADER=no
44620 wxUSE_DYNLIB_CLASS=no
44621 else
44622 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44623 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44624 fi
44625 fi
44626 fi
44627 fi
44628 fi
44629
44630 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_DYNAMIC_LOADER 1
44633 _ACEOF
44634
44635 fi
44636 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44637 cat >>confdefs.h <<\_ACEOF
44638 #define wxUSE_DYNLIB_CLASS 1
44639 _ACEOF
44640
44641 fi
44642
44643
44644
44645 if test "$wxUSE_PLUGINS" = "yes" ; then
44646 if test "$wxUSE_SHARED" = "no" ; then
44647 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44648 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44649 wxUSE_PLUGINS=no
44650 fi
44651 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44652 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44653 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44654 wxUSE_PLUGINS=no
44655 fi
44656 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44657 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44658 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44659 wxUSE_PLUGINS=no
44660 fi
44661 if test "$wxUSE_PLUGINS" = "yes" ; then
44662 cat >>confdefs.h <<\_ACEOF
44663 #define wxUSE_PLUGINS 1
44664 _ACEOF
44665
44666 fi
44667 fi
44668
44669
44670 if test "$wxUSE_STL" = "yes"; then
44671 cat >>confdefs.h <<\_ACEOF
44672 #define wxUSE_STL 1
44673 _ACEOF
44674
44675 fi
44676
44677 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44678 cat >>confdefs.h <<\_ACEOF
44679 #define wxUSE_EXTENDED_RTTI 1
44680 _ACEOF
44681
44682 fi
44683
44684 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_APPLE_IEEE 1
44687 _ACEOF
44688
44689 fi
44690
44691 if test "$wxUSE_TIMER" = "yes"; then
44692 cat >>confdefs.h <<\_ACEOF
44693 #define wxUSE_TIMER 1
44694 _ACEOF
44695
44696 fi
44697
44698 if test "$USE_UNIX" = "1" ; then
44699 if test "$wxUSE_MGL" != 1; then
44700 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44701 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44702 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44703 echo $ECHO_N "(cached) $ECHO_C" >&6
44704 else
44705
44706 cat >conftest.$ac_ext <<_ACEOF
44707 /* confdefs.h. */
44708 _ACEOF
44709 cat confdefs.h >>conftest.$ac_ext
44710 cat >>conftest.$ac_ext <<_ACEOF
44711 /* end confdefs.h. */
44712
44713 #include <sys/ioctl.h>
44714 #include <sys/soundcard.h>
44715
44716 int
44717 main ()
44718 {
44719
44720 ioctl(0, SNDCTL_DSP_SPEED, 0);
44721
44722 ;
44723 return 0;
44724 }
44725 _ACEOF
44726 rm -f conftest.$ac_objext conftest$ac_exeext
44727 if { (ac_try="$ac_link"
44728 case "(($ac_try" in
44729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44730 *) ac_try_echo=$ac_try;;
44731 esac
44732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44733 (eval "$ac_link") 2>conftest.er1
44734 ac_status=$?
44735 grep -v '^ *+' conftest.er1 >conftest.err
44736 rm -f conftest.er1
44737 cat conftest.err >&5
44738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44739 (exit $ac_status); } && {
44740 test -z "$ac_c_werror_flag" ||
44741 test ! -s conftest.err
44742 } && test -s conftest$ac_exeext &&
44743 $as_test_x conftest$ac_exeext; then
44744 ac_cv_header_sys_soundcard=yes
44745 else
44746 echo "$as_me: failed program was:" >&5
44747 sed 's/^/| /' conftest.$ac_ext >&5
44748
44749
44750 saveLibs="$LIBS"
44751 LIBS="$saveLibs -lossaudio"
44752 cat >conftest.$ac_ext <<_ACEOF
44753 /* confdefs.h. */
44754 _ACEOF
44755 cat confdefs.h >>conftest.$ac_ext
44756 cat >>conftest.$ac_ext <<_ACEOF
44757 /* end confdefs.h. */
44758
44759 #include <sys/ioctl.h>
44760 #include <sys/soundcard.h>
44761
44762 int
44763 main ()
44764 {
44765
44766 ioctl(0, SNDCTL_DSP_SPEED, 0);
44767
44768 ;
44769 return 0;
44770 }
44771 _ACEOF
44772 rm -f conftest.$ac_objext conftest$ac_exeext
44773 if { (ac_try="$ac_link"
44774 case "(($ac_try" in
44775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44776 *) ac_try_echo=$ac_try;;
44777 esac
44778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44779 (eval "$ac_link") 2>conftest.er1
44780 ac_status=$?
44781 grep -v '^ *+' conftest.er1 >conftest.err
44782 rm -f conftest.er1
44783 cat conftest.err >&5
44784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44785 (exit $ac_status); } && {
44786 test -z "$ac_c_werror_flag" ||
44787 test ! -s conftest.err
44788 } && test -s conftest$ac_exeext &&
44789 $as_test_x conftest$ac_exeext; then
44790 ac_cv_header_sys_soundcard=yes
44791 else
44792 echo "$as_me: failed program was:" >&5
44793 sed 's/^/| /' conftest.$ac_ext >&5
44794
44795
44796 LIBS="$saveLibs"
44797 ac_cv_header_sys_soundcard=no
44798
44799
44800 fi
44801
44802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44803 conftest$ac_exeext conftest.$ac_ext
44804
44805
44806 fi
44807
44808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44809 conftest$ac_exeext conftest.$ac_ext
44810
44811 fi
44812 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44813 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44814 fi
44815
44816 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44817 cat >>confdefs.h <<\_ACEOF
44818 #define HAVE_SYS_SOUNDCARD_H 1
44819 _ACEOF
44820
44821 fi
44822 fi
44823
44824 WITH_PLUGIN_SDL=0
44825 if test "$wxUSE_SOUND" = "yes"; then
44826 if test "$USE_UNIX" = "1" ; then
44827 if test "$wxUSE_LIBSDL" != "no"; then
44828
44829 # Check whether --with-sdl-prefix was given.
44830 if test "${with_sdl_prefix+set}" = set; then
44831 withval=$with_sdl_prefix; sdl_prefix="$withval"
44832 else
44833 sdl_prefix=""
44834 fi
44835
44836
44837 # Check whether --with-sdl-exec-prefix was given.
44838 if test "${with_sdl_exec_prefix+set}" = set; then
44839 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44840 else
44841 sdl_exec_prefix=""
44842 fi
44843
44844 # Check whether --enable-sdltest was given.
44845 if test "${enable_sdltest+set}" = set; then
44846 enableval=$enable_sdltest;
44847 else
44848 enable_sdltest=yes
44849 fi
44850
44851
44852 if test x$sdl_exec_prefix != x ; then
44853 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44854 if test x${SDL_CONFIG+set} != xset ; then
44855 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44856 fi
44857 fi
44858 if test x$sdl_prefix != x ; then
44859 sdl_args="$sdl_args --prefix=$sdl_prefix"
44860 if test x${SDL_CONFIG+set} != xset ; then
44861 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44862 fi
44863 fi
44864
44865 if test "x$prefix" != xNONE; then
44866 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44867 fi
44868 # Extract the first word of "sdl-config", so it can be a program name with args.
44869 set dummy sdl-config; ac_word=$2
44870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44872 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44873 echo $ECHO_N "(cached) $ECHO_C" >&6
44874 else
44875 case $SDL_CONFIG in
44876 [\\/]* | ?:[\\/]*)
44877 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44878 ;;
44879 *)
44880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44881 for as_dir in $PATH
44882 do
44883 IFS=$as_save_IFS
44884 test -z "$as_dir" && as_dir=.
44885 for ac_exec_ext in '' $ac_executable_extensions; do
44886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44887 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44889 break 2
44890 fi
44891 done
44892 done
44893 IFS=$as_save_IFS
44894
44895 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44896 ;;
44897 esac
44898 fi
44899 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44900 if test -n "$SDL_CONFIG"; then
44901 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44902 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44903 else
44904 { echo "$as_me:$LINENO: result: no" >&5
44905 echo "${ECHO_T}no" >&6; }
44906 fi
44907
44908
44909 min_sdl_version=1.2.0
44910 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44911 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44912 no_sdl=""
44913 if test "$SDL_CONFIG" = "no" ; then
44914 no_sdl=yes
44915 else
44916 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44917 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44918
44919 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44921 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44923 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44925 if test "x$enable_sdltest" = "xyes" ; then
44926 ac_save_CFLAGS="$CFLAGS"
44927 ac_save_CXXFLAGS="$CXXFLAGS"
44928 ac_save_LIBS="$LIBS"
44929 CFLAGS="$CFLAGS $SDL_CFLAGS"
44930 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44931 LIBS="$LIBS $SDL_LIBS"
44932 rm -f conf.sdltest
44933 if test "$cross_compiling" = yes; then
44934 echo $ac_n "cross compiling; assumed OK... $ac_c"
44935 else
44936 cat >conftest.$ac_ext <<_ACEOF
44937 /* confdefs.h. */
44938 _ACEOF
44939 cat confdefs.h >>conftest.$ac_ext
44940 cat >>conftest.$ac_ext <<_ACEOF
44941 /* end confdefs.h. */
44942
44943 #include <stdio.h>
44944 #include <stdlib.h>
44945 #include <string.h>
44946 #include "SDL.h"
44947
44948 char*
44949 my_strdup (char *str)
44950 {
44951 char *new_str;
44952
44953 if (str)
44954 {
44955 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44956 strcpy (new_str, str);
44957 }
44958 else
44959 new_str = NULL;
44960
44961 return new_str;
44962 }
44963
44964 int main (int argc, char *argv[])
44965 {
44966 int major, minor, micro;
44967 char *tmp_version;
44968
44969 /* This hangs on some systems (?)
44970 system ("touch conf.sdltest");
44971 */
44972 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44973
44974 /* HP/UX 9 (%@#!) writes to sscanf strings */
44975 tmp_version = my_strdup("$min_sdl_version");
44976 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44977 printf("%s, bad version string\n", "$min_sdl_version");
44978 exit(1);
44979 }
44980
44981 if (($sdl_major_version > major) ||
44982 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44983 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44984 {
44985 return 0;
44986 }
44987 else
44988 {
44989 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44990 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44991 printf("*** best to upgrade to the required version.\n");
44992 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44993 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44994 printf("*** config.cache before re-running configure\n");
44995 return 1;
44996 }
44997 }
44998
44999
45000 _ACEOF
45001 rm -f conftest$ac_exeext
45002 if { (ac_try="$ac_link"
45003 case "(($ac_try" in
45004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45005 *) ac_try_echo=$ac_try;;
45006 esac
45007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45008 (eval "$ac_link") 2>&5
45009 ac_status=$?
45010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45012 { (case "(($ac_try" in
45013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45014 *) ac_try_echo=$ac_try;;
45015 esac
45016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45017 (eval "$ac_try") 2>&5
45018 ac_status=$?
45019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45020 (exit $ac_status); }; }; then
45021 :
45022 else
45023 echo "$as_me: program exited with status $ac_status" >&5
45024 echo "$as_me: failed program was:" >&5
45025 sed 's/^/| /' conftest.$ac_ext >&5
45026
45027 ( exit $ac_status )
45028 no_sdl=yes
45029 fi
45030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45031 fi
45032
45033
45034 CFLAGS="$ac_save_CFLAGS"
45035 CXXFLAGS="$ac_save_CXXFLAGS"
45036 LIBS="$ac_save_LIBS"
45037 fi
45038 fi
45039 if test "x$no_sdl" = x ; then
45040 { echo "$as_me:$LINENO: result: yes" >&5
45041 echo "${ECHO_T}yes" >&6; }
45042
45043 EXTRALIBS_SDL="$SDL_LIBS"
45044 CFLAGS="$SDL_CFLAGS $CFLAGS"
45045 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45046 cat >>confdefs.h <<\_ACEOF
45047 #define wxUSE_LIBSDL 1
45048 _ACEOF
45049
45050
45051 else
45052 { echo "$as_me:$LINENO: result: no" >&5
45053 echo "${ECHO_T}no" >&6; }
45054 if test "$SDL_CONFIG" = "no" ; then
45055 echo "*** The sdl-config script installed by SDL could not be found"
45056 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45057 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45058 echo "*** full path to sdl-config."
45059 else
45060 if test -f conf.sdltest ; then
45061 :
45062 else
45063 echo "*** Could not run SDL test program, checking why..."
45064 CFLAGS="$CFLAGS $SDL_CFLAGS"
45065 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45066 LIBS="$LIBS $SDL_LIBS"
45067 cat >conftest.$ac_ext <<_ACEOF
45068 /* confdefs.h. */
45069 _ACEOF
45070 cat confdefs.h >>conftest.$ac_ext
45071 cat >>conftest.$ac_ext <<_ACEOF
45072 /* end confdefs.h. */
45073
45074 #include <stdio.h>
45075 #include "SDL.h"
45076
45077 int main(int argc, char *argv[])
45078 { return 0; }
45079 #undef main
45080 #define main K_and_R_C_main
45081
45082 int
45083 main ()
45084 {
45085 return 0;
45086 ;
45087 return 0;
45088 }
45089 _ACEOF
45090 rm -f conftest.$ac_objext conftest$ac_exeext
45091 if { (ac_try="$ac_link"
45092 case "(($ac_try" in
45093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45094 *) ac_try_echo=$ac_try;;
45095 esac
45096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45097 (eval "$ac_link") 2>conftest.er1
45098 ac_status=$?
45099 grep -v '^ *+' conftest.er1 >conftest.err
45100 rm -f conftest.er1
45101 cat conftest.err >&5
45102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45103 (exit $ac_status); } && {
45104 test -z "$ac_c_werror_flag" ||
45105 test ! -s conftest.err
45106 } && test -s conftest$ac_exeext &&
45107 $as_test_x conftest$ac_exeext; then
45108 echo "*** The test program compiled, but did not run. This usually means"
45109 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45110 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45111 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45112 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45113 echo "*** is required on your system"
45114 echo "***"
45115 echo "*** If you have an old version installed, it is best to remove it, although"
45116 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45117 else
45118 echo "$as_me: failed program was:" >&5
45119 sed 's/^/| /' conftest.$ac_ext >&5
45120
45121 echo "*** The test program failed to compile or link. See the file config.log for the"
45122 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45123 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45124 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45125 fi
45126
45127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45128 conftest$ac_exeext conftest.$ac_ext
45129 CFLAGS="$ac_save_CFLAGS"
45130 CXXFLAGS="$ac_save_CXXFLAGS"
45131 LIBS="$ac_save_LIBS"
45132 fi
45133 fi
45134 SDL_CFLAGS=""
45135 SDL_LIBS=""
45136 wxUSE_LIBSDL="no"
45137 fi
45138
45139
45140 rm -f conf.sdltest
45141
45142 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45143 WITH_PLUGIN_SDL=1
45144 fi
45145 fi
45146 else
45147 if test "$wxUSE_MGL" = 1; then
45148 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45149 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45150 wxUSE_SOUND="no"
45151 fi
45152 fi
45153 fi
45154
45155 if test "$wxUSE_SOUND" = "yes"; then
45156 cat >>confdefs.h <<\_ACEOF
45157 #define wxUSE_SOUND 1
45158 _ACEOF
45159
45160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45161 fi
45162
45163 if test "$WXGTK20" = 1; then
45164
45165
45166 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45167 if test -n "$ac_tool_prefix"; then
45168 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45169 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45172 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45173 echo $ECHO_N "(cached) $ECHO_C" >&6
45174 else
45175 case $PKG_CONFIG in
45176 [\\/]* | ?:[\\/]*)
45177 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45178 ;;
45179 *)
45180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45181 for as_dir in $PATH
45182 do
45183 IFS=$as_save_IFS
45184 test -z "$as_dir" && as_dir=.
45185 for ac_exec_ext in '' $ac_executable_extensions; do
45186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45187 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45189 break 2
45190 fi
45191 done
45192 done
45193 IFS=$as_save_IFS
45194
45195 ;;
45196 esac
45197 fi
45198 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45199 if test -n "$PKG_CONFIG"; then
45200 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45201 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45202 else
45203 { echo "$as_me:$LINENO: result: no" >&5
45204 echo "${ECHO_T}no" >&6; }
45205 fi
45206
45207
45208 fi
45209 if test -z "$ac_cv_path_PKG_CONFIG"; then
45210 ac_pt_PKG_CONFIG=$PKG_CONFIG
45211 # Extract the first word of "pkg-config", so it can be a program name with args.
45212 set dummy pkg-config; ac_word=$2
45213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45215 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45216 echo $ECHO_N "(cached) $ECHO_C" >&6
45217 else
45218 case $ac_pt_PKG_CONFIG in
45219 [\\/]* | ?:[\\/]*)
45220 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45221 ;;
45222 *)
45223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45224 for as_dir in $PATH
45225 do
45226 IFS=$as_save_IFS
45227 test -z "$as_dir" && as_dir=.
45228 for ac_exec_ext in '' $ac_executable_extensions; do
45229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45230 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45232 break 2
45233 fi
45234 done
45235 done
45236 IFS=$as_save_IFS
45237
45238 ;;
45239 esac
45240 fi
45241 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45242 if test -n "$ac_pt_PKG_CONFIG"; then
45243 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45244 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45245 else
45246 { echo "$as_me:$LINENO: result: no" >&5
45247 echo "${ECHO_T}no" >&6; }
45248 fi
45249
45250 if test "x$ac_pt_PKG_CONFIG" = x; then
45251 PKG_CONFIG=""
45252 else
45253 case $cross_compiling:$ac_tool_warned in
45254 yes:)
45255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45256 whose name does not start with the host triplet. If you think this
45257 configuration is useful to you, please write to autoconf@gnu.org." >&5
45258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45259 whose name does not start with the host triplet. If you think this
45260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45261 ac_tool_warned=yes ;;
45262 esac
45263 PKG_CONFIG=$ac_pt_PKG_CONFIG
45264 fi
45265 else
45266 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45267 fi
45268
45269 fi
45270 if test -n "$PKG_CONFIG"; then
45271 _pkg_min_version=0.9.0
45272 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45273 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45274 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45275 { echo "$as_me:$LINENO: result: yes" >&5
45276 echo "${ECHO_T}yes" >&6; }
45277 else
45278 { echo "$as_me:$LINENO: result: no" >&5
45279 echo "${ECHO_T}no" >&6; }
45280 PKG_CONFIG=""
45281 fi
45282
45283 fi
45284
45285 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45286 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45287
45288
45289 pkg_failed=no
45290 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45291 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45292
45293 if test -n "$PKG_CONFIG"; then
45294 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45295 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45296 else
45297 if test -n "$PKG_CONFIG" && \
45298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45299 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45300 ac_status=$?
45301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45302 (exit $ac_status); }; then
45303 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45304 else
45305 pkg_failed=yes
45306 fi
45307 fi
45308 else
45309 pkg_failed=untried
45310 fi
45311 if test -n "$PKG_CONFIG"; then
45312 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45313 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45314 else
45315 if test -n "$PKG_CONFIG" && \
45316 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45317 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45318 ac_status=$?
45319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45320 (exit $ac_status); }; then
45321 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45322 else
45323 pkg_failed=yes
45324 fi
45325 fi
45326 else
45327 pkg_failed=untried
45328 fi
45329
45330
45331
45332 if test $pkg_failed = yes; then
45333
45334 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45335 _pkg_short_errors_supported=yes
45336 else
45337 _pkg_short_errors_supported=no
45338 fi
45339 if test $_pkg_short_errors_supported = yes; then
45340 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45341 else
45342 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45343 fi
45344 # Put the nasty error message in config.log where it belongs
45345 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45346
45347
45348 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45349 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45350 wxUSE_LIBGNOMEPRINT="no"
45351
45352
45353 elif test $pkg_failed = untried; then
45354
45355 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45356 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45357 wxUSE_LIBGNOMEPRINT="no"
45358
45359
45360 else
45361 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45362 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45363 { echo "$as_me:$LINENO: result: yes" >&5
45364 echo "${ECHO_T}yes" >&6; }
45365
45366 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45367 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_LIBGNOMEPRINT 1
45370 _ACEOF
45371
45372
45373 fi
45374 fi
45375 fi
45376
45377 if test "$wxUSE_MIMETYPE" = "yes" ; then
45378 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45379
45380
45381 pkg_failed=no
45382 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45383 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45384
45385 if test -n "$PKG_CONFIG"; then
45386 if test -n "$GNOMEVFS_CFLAGS"; then
45387 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45388 else
45389 if test -n "$PKG_CONFIG" && \
45390 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45391 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45392 ac_status=$?
45393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45394 (exit $ac_status); }; then
45395 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45396 else
45397 pkg_failed=yes
45398 fi
45399 fi
45400 else
45401 pkg_failed=untried
45402 fi
45403 if test -n "$PKG_CONFIG"; then
45404 if test -n "$GNOMEVFS_LIBS"; then
45405 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45406 else
45407 if test -n "$PKG_CONFIG" && \
45408 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45409 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45410 ac_status=$?
45411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45412 (exit $ac_status); }; then
45413 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45414 else
45415 pkg_failed=yes
45416 fi
45417 fi
45418 else
45419 pkg_failed=untried
45420 fi
45421
45422
45423
45424 if test $pkg_failed = yes; then
45425
45426 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45427 _pkg_short_errors_supported=yes
45428 else
45429 _pkg_short_errors_supported=no
45430 fi
45431 if test $_pkg_short_errors_supported = yes; then
45432 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45433 else
45434 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45435 fi
45436 # Put the nasty error message in config.log where it belongs
45437 echo "$GNOMEVFS_PKG_ERRORS" >&5
45438
45439
45440 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45441 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45442 wxUSE_LIBGNOMEVFS="no"
45443
45444
45445 elif test $pkg_failed = untried; then
45446
45447 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45448 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45449 wxUSE_LIBGNOMEVFS="no"
45450
45451
45452 else
45453 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45454 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45455 { echo "$as_me:$LINENO: result: yes" >&5
45456 echo "${ECHO_T}yes" >&6; }
45457
45458 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45459 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45460 cat >>confdefs.h <<\_ACEOF
45461 #define wxUSE_LIBGNOMEVFS 1
45462 _ACEOF
45463
45464
45465 fi
45466 fi
45467 fi
45468
45469 if test "$wxUSE_LIBHILDON" = "yes" ; then
45470
45471 pkg_failed=no
45472 { echo "$as_me:$LINENO: checking for HILDON" >&5
45473 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45474
45475 if test -n "$PKG_CONFIG"; then
45476 if test -n "$HILDON_CFLAGS"; then
45477 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45478 else
45479 if test -n "$PKG_CONFIG" && \
45480 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45481 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45482 ac_status=$?
45483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45484 (exit $ac_status); }; then
45485 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45486 else
45487 pkg_failed=yes
45488 fi
45489 fi
45490 else
45491 pkg_failed=untried
45492 fi
45493 if test -n "$PKG_CONFIG"; then
45494 if test -n "$HILDON_LIBS"; then
45495 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45496 else
45497 if test -n "$PKG_CONFIG" && \
45498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45499 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45500 ac_status=$?
45501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45502 (exit $ac_status); }; then
45503 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45504 else
45505 pkg_failed=yes
45506 fi
45507 fi
45508 else
45509 pkg_failed=untried
45510 fi
45511
45512
45513
45514 if test $pkg_failed = yes; then
45515
45516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45517 _pkg_short_errors_supported=yes
45518 else
45519 _pkg_short_errors_supported=no
45520 fi
45521 if test $_pkg_short_errors_supported = yes; then
45522 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45523 else
45524 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45525 fi
45526 # Put the nasty error message in config.log where it belongs
45527 echo "$HILDON_PKG_ERRORS" >&5
45528
45529
45530 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45531 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45532 wxUSE_LIBHILDON="no"
45533
45534
45535 elif test $pkg_failed = untried; then
45536
45537 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45538 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45539 wxUSE_LIBHILDON="no"
45540
45541
45542 else
45543 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45544 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45545 { echo "$as_me:$LINENO: result: yes" >&5
45546 echo "${ECHO_T}yes" >&6; }
45547
45548 EXTRALIBS_HILDON="$HILDON_LIBS"
45549 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45550 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45551 cat >>confdefs.h <<\_ACEOF
45552 #define wxUSE_LIBHILDON 1
45553 _ACEOF
45554
45555
45556 fi
45557 fi
45558 fi
45559
45560 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_CMDLINE_PARSER 1
45563 _ACEOF
45564
45565 fi
45566
45567 if test "$wxUSE_STOPWATCH" = "yes"; then
45568 cat >>confdefs.h <<\_ACEOF
45569 #define wxUSE_STOPWATCH 1
45570 _ACEOF
45571
45572 fi
45573
45574 if test "$wxUSE_DATETIME" = "yes"; then
45575 cat >>confdefs.h <<\_ACEOF
45576 #define wxUSE_DATETIME 1
45577 _ACEOF
45578
45579 fi
45580
45581 if test "$wxUSE_FILE" = "yes"; then
45582 cat >>confdefs.h <<\_ACEOF
45583 #define wxUSE_FILE 1
45584 _ACEOF
45585
45586 fi
45587
45588 if test "$wxUSE_FFILE" = "yes"; then
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_FFILE 1
45591 _ACEOF
45592
45593 fi
45594
45595 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45596 if test "$wxUSE_STREAMS" != yes; then
45597 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45598 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45599 wxUSE_ARCHIVE_STREAMS=no
45600 else
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_ARCHIVE_STREAMS 1
45603 _ACEOF
45604
45605 fi
45606 fi
45607
45608 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45609 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45610 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45611 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45612 elif test "$wxUSE_ZLIB" = "no"; then
45613 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45614 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45615 else
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_ZIPSTREAM 1
45618 _ACEOF
45619
45620 fi
45621 fi
45622
45623 if test "$wxUSE_TARSTREAM" = "yes"; then
45624 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45625 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45626 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45627 else
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_TARSTREAM 1
45630 _ACEOF
45631
45632 fi
45633 fi
45634
45635 if test "$wxUSE_FILESYSTEM" = "yes"; then
45636 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45637 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45638 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45639 wxUSE_FILESYSTEM=no
45640 else
45641 cat >>confdefs.h <<\_ACEOF
45642 #define wxUSE_FILESYSTEM 1
45643 _ACEOF
45644
45645 fi
45646 fi
45647
45648 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45649 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45650 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45651 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45652 else
45653 cat >>confdefs.h <<\_ACEOF
45654 #define wxUSE_FS_ARCHIVE 1
45655 _ACEOF
45656
45657 fi
45658 fi
45659
45660 if test "$wxUSE_FS_ZIP" = "yes"; then
45661 if test "$wxUSE_FS_ARCHIVE" != yes; then
45662 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45663 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45664 else
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_FS_ZIP 1
45667 _ACEOF
45668
45669 fi
45670 fi
45671
45672 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45673 if test "$USE_UNIX" != 1; then
45674 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45675 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45676 wxUSE_ON_FATAL_EXCEPTION=no
45677 else
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_ON_FATAL_EXCEPTION 1
45680 _ACEOF
45681
45682 fi
45683 fi
45684
45685 if test "$wxUSE_STACKWALKER" = "yes"; then
45686 cat >>confdefs.h <<\_ACEOF
45687 #define wxUSE_STACKWALKER 1
45688 _ACEOF
45689
45690 fi
45691
45692 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45693 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45694 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45695 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45696 wxUSE_DEBUGREPORT=no
45697 else
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_DEBUGREPORT 1
45700 _ACEOF
45701
45702 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45704 fi
45705 fi
45706 fi
45707
45708 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45709 cat >>confdefs.h <<\_ACEOF
45710 #define wxUSE_SNGLINST_CHECKER 1
45711 _ACEOF
45712
45713 fi
45714
45715 if test "$wxUSE_BUSYINFO" = "yes"; then
45716 cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_BUSYINFO 1
45718 _ACEOF
45719
45720 fi
45721
45722 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_STD_IOSTREAM 1
45725 _ACEOF
45726
45727 fi
45728
45729 if test "$wxUSE_STD_STRING" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_STD_STRING 1
45732 _ACEOF
45733
45734 fi
45735
45736 if test "$wxUSE_STDPATHS" = "yes"; then
45737 cat >>confdefs.h <<\_ACEOF
45738 #define wxUSE_STDPATHS 1
45739 _ACEOF
45740
45741 fi
45742
45743 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45744 cat >>confdefs.h <<\_ACEOF
45745 #define wxUSE_TEXTBUFFER 1
45746 _ACEOF
45747
45748 fi
45749
45750 if test "$wxUSE_TEXTFILE" = "yes"; then
45751 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45752 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45753 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45754 else
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_TEXTFILE 1
45757 _ACEOF
45758
45759 fi
45760 fi
45761
45762 if test "$wxUSE_CONFIG" = "yes" ; then
45763 if test "$wxUSE_TEXTFILE" != "yes"; then
45764 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45765 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45766 else
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_CONFIG 1
45769 _ACEOF
45770
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_CONFIG_NATIVE 1
45773 _ACEOF
45774
45775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45776 fi
45777 fi
45778
45779 if test "$wxUSE_INTL" = "yes" ; then
45780 if test "$wxUSE_FILE" != "yes"; then
45781 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45782 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45783 else
45784 cat >>confdefs.h <<\_ACEOF
45785 #define wxUSE_INTL 1
45786 _ACEOF
45787
45788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45789 GUIDIST="$GUIDIST INTL_DIST"
45790 fi
45791 fi
45792
45793 if test "$wxUSE_LOG" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_LOG 1
45796 _ACEOF
45797
45798
45799 if test "$wxUSE_LOGGUI" = "yes"; then
45800 cat >>confdefs.h <<\_ACEOF
45801 #define wxUSE_LOGGUI 1
45802 _ACEOF
45803
45804 fi
45805
45806 if test "$wxUSE_LOGWINDOW" = "yes"; then
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_LOGWINDOW 1
45809 _ACEOF
45810
45811 fi
45812
45813 if test "$wxUSE_LOGDIALOG" = "yes"; then
45814 cat >>confdefs.h <<\_ACEOF
45815 #define wxUSE_LOG_DIALOG 1
45816 _ACEOF
45817
45818 fi
45819
45820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45821 fi
45822
45823 if test "$wxUSE_LONGLONG" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_LONGLONG 1
45826 _ACEOF
45827
45828 fi
45829
45830 if test "$wxUSE_GEOMETRY" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_GEOMETRY 1
45833 _ACEOF
45834
45835 fi
45836
45837 if test "$wxUSE_BASE64" = "yes"; then
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_BASE64 1
45840 _ACEOF
45841
45842 fi
45843
45844 if test "$wxUSE_STREAMS" = "yes" ; then
45845 cat >>confdefs.h <<\_ACEOF
45846 #define wxUSE_STREAMS 1
45847 _ACEOF
45848
45849 fi
45850
45851 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45852 cat >>confdefs.h <<\_ACEOF
45853 #define wxUSE_PRINTF_POS_PARAMS 1
45854 _ACEOF
45855
45856 fi
45857
45858 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45859 cat >>confdefs.h <<\_ACEOF
45860 #define wxUSE_OBJC_UNIQUIFYING 1
45861 _ACEOF
45862
45863 fi
45864
45865
45866 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45867 cat >>confdefs.h <<\_ACEOF
45868 #define wxUSE_CONSOLE_EVENTLOOP 1
45869 _ACEOF
45870
45871
45872 if test "$wxUSE_UNIX" = "yes"; then
45873 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45874 cat >>confdefs.h <<\_ACEOF
45875 #define wxUSE_SELECT_DISPATCHER 1
45876 _ACEOF
45877
45878 fi
45879
45880 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45881
45882 for ac_header in sys/epoll.h
45883 do
45884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45885 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45886 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45889 echo $ECHO_N "(cached) $ECHO_C" >&6
45890 fi
45891 ac_res=`eval echo '${'$as_ac_Header'}'`
45892 { echo "$as_me:$LINENO: result: $ac_res" >&5
45893 echo "${ECHO_T}$ac_res" >&6; }
45894 else
45895 # Is the header compilable?
45896 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45897 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45898 cat >conftest.$ac_ext <<_ACEOF
45899 /* confdefs.h. */
45900 _ACEOF
45901 cat confdefs.h >>conftest.$ac_ext
45902 cat >>conftest.$ac_ext <<_ACEOF
45903 /* end confdefs.h. */
45904 $ac_includes_default
45905 #include <$ac_header>
45906 _ACEOF
45907 rm -f conftest.$ac_objext
45908 if { (ac_try="$ac_compile"
45909 case "(($ac_try" in
45910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45911 *) ac_try_echo=$ac_try;;
45912 esac
45913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45914 (eval "$ac_compile") 2>conftest.er1
45915 ac_status=$?
45916 grep -v '^ *+' conftest.er1 >conftest.err
45917 rm -f conftest.er1
45918 cat conftest.err >&5
45919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45920 (exit $ac_status); } && {
45921 test -z "$ac_c_werror_flag" ||
45922 test ! -s conftest.err
45923 } && test -s conftest.$ac_objext; then
45924 ac_header_compiler=yes
45925 else
45926 echo "$as_me: failed program was:" >&5
45927 sed 's/^/| /' conftest.$ac_ext >&5
45928
45929 ac_header_compiler=no
45930 fi
45931
45932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45933 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45934 echo "${ECHO_T}$ac_header_compiler" >&6; }
45935
45936 # Is the header present?
45937 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45938 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45939 cat >conftest.$ac_ext <<_ACEOF
45940 /* confdefs.h. */
45941 _ACEOF
45942 cat confdefs.h >>conftest.$ac_ext
45943 cat >>conftest.$ac_ext <<_ACEOF
45944 /* end confdefs.h. */
45945 #include <$ac_header>
45946 _ACEOF
45947 if { (ac_try="$ac_cpp conftest.$ac_ext"
45948 case "(($ac_try" in
45949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45950 *) ac_try_echo=$ac_try;;
45951 esac
45952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45954 ac_status=$?
45955 grep -v '^ *+' conftest.er1 >conftest.err
45956 rm -f conftest.er1
45957 cat conftest.err >&5
45958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45959 (exit $ac_status); } >/dev/null && {
45960 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45961 test ! -s conftest.err
45962 }; then
45963 ac_header_preproc=yes
45964 else
45965 echo "$as_me: failed program was:" >&5
45966 sed 's/^/| /' conftest.$ac_ext >&5
45967
45968 ac_header_preproc=no
45969 fi
45970
45971 rm -f conftest.err conftest.$ac_ext
45972 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45973 echo "${ECHO_T}$ac_header_preproc" >&6; }
45974
45975 # So? What about this header?
45976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45977 yes:no: )
45978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45982 ac_header_preproc=yes
45983 ;;
45984 no:yes:* )
45985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45989 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45991 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45992 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45995 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45997 ( cat <<\_ASBOX
45998 ## ----------------------------------------- ##
45999 ## Report this to wx-dev@lists.wxwidgets.org ##
46000 ## ----------------------------------------- ##
46001 _ASBOX
46002 ) | sed "s/^/$as_me: WARNING: /" >&2
46003 ;;
46004 esac
46005 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46008 echo $ECHO_N "(cached) $ECHO_C" >&6
46009 else
46010 eval "$as_ac_Header=\$ac_header_preproc"
46011 fi
46012 ac_res=`eval echo '${'$as_ac_Header'}'`
46013 { echo "$as_me:$LINENO: result: $ac_res" >&5
46014 echo "${ECHO_T}$ac_res" >&6; }
46015
46016 fi
46017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46018 cat >>confdefs.h <<_ACEOF
46019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46020 _ACEOF
46021
46022 fi
46023
46024 done
46025
46026 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
46027 cat >>confdefs.h <<\_ACEOF
46028 #define wxUSE_EPOLL_DISPATCHER 1
46029 _ACEOF
46030
46031 else
46032 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
46033 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
46034 fi
46035 fi
46036 fi
46037 fi
46038
46039
46040
46041
46042 for ac_func in gettimeofday ftime
46043 do
46044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46045 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46047 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46048 echo $ECHO_N "(cached) $ECHO_C" >&6
46049 else
46050 cat >conftest.$ac_ext <<_ACEOF
46051 /* confdefs.h. */
46052 _ACEOF
46053 cat confdefs.h >>conftest.$ac_ext
46054 cat >>conftest.$ac_ext <<_ACEOF
46055 /* end confdefs.h. */
46056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46058 #define $ac_func innocuous_$ac_func
46059
46060 /* System header to define __stub macros and hopefully few prototypes,
46061 which can conflict with char $ac_func (); below.
46062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46063 <limits.h> exists even on freestanding compilers. */
46064
46065 #ifdef __STDC__
46066 # include <limits.h>
46067 #else
46068 # include <assert.h>
46069 #endif
46070
46071 #undef $ac_func
46072
46073 /* Override any GCC internal prototype to avoid an error.
46074 Use char because int might match the return type of a GCC
46075 builtin and then its argument prototype would still apply. */
46076 #ifdef __cplusplus
46077 extern "C"
46078 #endif
46079 char $ac_func ();
46080 /* The GNU C library defines this for functions which it implements
46081 to always fail with ENOSYS. Some functions are actually named
46082 something starting with __ and the normal name is an alias. */
46083 #if defined __stub_$ac_func || defined __stub___$ac_func
46084 choke me
46085 #endif
46086
46087 int
46088 main ()
46089 {
46090 return $ac_func ();
46091 ;
46092 return 0;
46093 }
46094 _ACEOF
46095 rm -f conftest.$ac_objext conftest$ac_exeext
46096 if { (ac_try="$ac_link"
46097 case "(($ac_try" in
46098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46099 *) ac_try_echo=$ac_try;;
46100 esac
46101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46102 (eval "$ac_link") 2>conftest.er1
46103 ac_status=$?
46104 grep -v '^ *+' conftest.er1 >conftest.err
46105 rm -f conftest.er1
46106 cat conftest.err >&5
46107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46108 (exit $ac_status); } && {
46109 test -z "$ac_c_werror_flag" ||
46110 test ! -s conftest.err
46111 } && test -s conftest$ac_exeext &&
46112 $as_test_x conftest$ac_exeext; then
46113 eval "$as_ac_var=yes"
46114 else
46115 echo "$as_me: failed program was:" >&5
46116 sed 's/^/| /' conftest.$ac_ext >&5
46117
46118 eval "$as_ac_var=no"
46119 fi
46120
46121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46122 conftest$ac_exeext conftest.$ac_ext
46123 fi
46124 ac_res=`eval echo '${'$as_ac_var'}'`
46125 { echo "$as_me:$LINENO: result: $ac_res" >&5
46126 echo "${ECHO_T}$ac_res" >&6; }
46127 if test `eval echo '${'$as_ac_var'}'` = yes; then
46128 cat >>confdefs.h <<_ACEOF
46129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46130 _ACEOF
46131 break
46132 fi
46133 done
46134
46135
46136 if test "$ac_cv_func_gettimeofday" = "yes"; then
46137 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46138 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46139 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46140 echo $ECHO_N "(cached) $ECHO_C" >&6
46141 else
46142
46143 cat >conftest.$ac_ext <<_ACEOF
46144 /* confdefs.h. */
46145 _ACEOF
46146 cat confdefs.h >>conftest.$ac_ext
46147 cat >>conftest.$ac_ext <<_ACEOF
46148 /* end confdefs.h. */
46149
46150 #include <sys/time.h>
46151 #include <unistd.h>
46152
46153 int
46154 main ()
46155 {
46156
46157 struct timeval tv;
46158 gettimeofday(&tv, NULL);
46159
46160 ;
46161 return 0;
46162 }
46163 _ACEOF
46164 rm -f conftest.$ac_objext
46165 if { (ac_try="$ac_compile"
46166 case "(($ac_try" in
46167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46168 *) ac_try_echo=$ac_try;;
46169 esac
46170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46171 (eval "$ac_compile") 2>conftest.er1
46172 ac_status=$?
46173 grep -v '^ *+' conftest.er1 >conftest.err
46174 rm -f conftest.er1
46175 cat conftest.err >&5
46176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46177 (exit $ac_status); } && {
46178 test -z "$ac_c_werror_flag" ||
46179 test ! -s conftest.err
46180 } && test -s conftest.$ac_objext; then
46181 wx_cv_func_gettimeofday_has_2_args=yes
46182 else
46183 echo "$as_me: failed program was:" >&5
46184 sed 's/^/| /' conftest.$ac_ext >&5
46185
46186 cat >conftest.$ac_ext <<_ACEOF
46187 /* confdefs.h. */
46188 _ACEOF
46189 cat confdefs.h >>conftest.$ac_ext
46190 cat >>conftest.$ac_ext <<_ACEOF
46191 /* end confdefs.h. */
46192
46193 #include <sys/time.h>
46194 #include <unistd.h>
46195
46196 int
46197 main ()
46198 {
46199
46200 struct timeval tv;
46201 gettimeofday(&tv);
46202
46203 ;
46204 return 0;
46205 }
46206 _ACEOF
46207 rm -f conftest.$ac_objext
46208 if { (ac_try="$ac_compile"
46209 case "(($ac_try" in
46210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46211 *) ac_try_echo=$ac_try;;
46212 esac
46213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46214 (eval "$ac_compile") 2>conftest.er1
46215 ac_status=$?
46216 grep -v '^ *+' conftest.er1 >conftest.err
46217 rm -f conftest.er1
46218 cat conftest.err >&5
46219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46220 (exit $ac_status); } && {
46221 test -z "$ac_c_werror_flag" ||
46222 test ! -s conftest.err
46223 } && test -s conftest.$ac_objext; then
46224 wx_cv_func_gettimeofday_has_2_args=no
46225 else
46226 echo "$as_me: failed program was:" >&5
46227 sed 's/^/| /' conftest.$ac_ext >&5
46228
46229
46230 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46231 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46232 wx_cv_func_gettimeofday_has_2_args=unknown
46233
46234
46235 fi
46236
46237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46238
46239 fi
46240
46241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46242
46243 fi
46244 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46245 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46246
46247 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46248 cat >>confdefs.h <<\_ACEOF
46249 #define WX_GETTIMEOFDAY_NO_TZ 1
46250 _ACEOF
46251
46252 fi
46253 fi
46254
46255 if test "$wxUSE_DATETIME" = "yes"; then
46256 { echo "$as_me:$LINENO: checking for strptime" >&5
46257 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46258 if test "${ac_cv_func_strptime+set}" = set; then
46259 echo $ECHO_N "(cached) $ECHO_C" >&6
46260 else
46261 cat >conftest.$ac_ext <<_ACEOF
46262 /* confdefs.h. */
46263 _ACEOF
46264 cat confdefs.h >>conftest.$ac_ext
46265 cat >>conftest.$ac_ext <<_ACEOF
46266 /* end confdefs.h. */
46267 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46269 #define strptime innocuous_strptime
46270
46271 /* System header to define __stub macros and hopefully few prototypes,
46272 which can conflict with char strptime (); below.
46273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46274 <limits.h> exists even on freestanding compilers. */
46275
46276 #ifdef __STDC__
46277 # include <limits.h>
46278 #else
46279 # include <assert.h>
46280 #endif
46281
46282 #undef strptime
46283
46284 /* Override any GCC internal prototype to avoid an error.
46285 Use char because int might match the return type of a GCC
46286 builtin and then its argument prototype would still apply. */
46287 #ifdef __cplusplus
46288 extern "C"
46289 #endif
46290 char strptime ();
46291 /* The GNU C library defines this for functions which it implements
46292 to always fail with ENOSYS. Some functions are actually named
46293 something starting with __ and the normal name is an alias. */
46294 #if defined __stub_strptime || defined __stub___strptime
46295 choke me
46296 #endif
46297
46298 int
46299 main ()
46300 {
46301 return strptime ();
46302 ;
46303 return 0;
46304 }
46305 _ACEOF
46306 rm -f conftest.$ac_objext conftest$ac_exeext
46307 if { (ac_try="$ac_link"
46308 case "(($ac_try" in
46309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46310 *) ac_try_echo=$ac_try;;
46311 esac
46312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46313 (eval "$ac_link") 2>conftest.er1
46314 ac_status=$?
46315 grep -v '^ *+' conftest.er1 >conftest.err
46316 rm -f conftest.er1
46317 cat conftest.err >&5
46318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46319 (exit $ac_status); } && {
46320 test -z "$ac_c_werror_flag" ||
46321 test ! -s conftest.err
46322 } && test -s conftest$ac_exeext &&
46323 $as_test_x conftest$ac_exeext; then
46324 ac_cv_func_strptime=yes
46325 else
46326 echo "$as_me: failed program was:" >&5
46327 sed 's/^/| /' conftest.$ac_ext >&5
46328
46329 ac_cv_func_strptime=no
46330 fi
46331
46332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46333 conftest$ac_exeext conftest.$ac_ext
46334 fi
46335 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46336 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46337
46338 if test "$ac_cv_func_strptime" = "yes"; then
46339 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46340 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46341 if test "${wx_cv_func_strptime_decl+set}" = set; then
46342 echo $ECHO_N "(cached) $ECHO_C" >&6
46343 else
46344
46345 ac_ext=cpp
46346 ac_cpp='$CXXCPP $CPPFLAGS'
46347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46350
46351 cat >conftest.$ac_ext <<_ACEOF
46352 /* confdefs.h. */
46353 _ACEOF
46354 cat confdefs.h >>conftest.$ac_ext
46355 cat >>conftest.$ac_ext <<_ACEOF
46356 /* end confdefs.h. */
46357
46358 #include <time.h>
46359
46360 int
46361 main ()
46362 {
46363
46364 struct tm t;
46365 strptime("foo", "bar", &t);
46366
46367 ;
46368 return 0;
46369 }
46370 _ACEOF
46371 rm -f conftest.$ac_objext
46372 if { (ac_try="$ac_compile"
46373 case "(($ac_try" in
46374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46375 *) ac_try_echo=$ac_try;;
46376 esac
46377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46378 (eval "$ac_compile") 2>conftest.er1
46379 ac_status=$?
46380 grep -v '^ *+' conftest.er1 >conftest.err
46381 rm -f conftest.er1
46382 cat conftest.err >&5
46383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46384 (exit $ac_status); } && {
46385 test -z "$ac_cxx_werror_flag" ||
46386 test ! -s conftest.err
46387 } && test -s conftest.$ac_objext; then
46388 wx_cv_func_strptime_decl=yes
46389 else
46390 echo "$as_me: failed program was:" >&5
46391 sed 's/^/| /' conftest.$ac_ext >&5
46392
46393 wx_cv_func_strptime_decl=no
46394
46395 fi
46396
46397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46398 ac_ext=c
46399 ac_cpp='$CPP $CPPFLAGS'
46400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46403
46404
46405
46406 fi
46407 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46408 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46409 fi
46410 if test "$wx_cv_func_strptime_decl" = "yes"; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define HAVE_STRPTIME_DECL 1
46413 _ACEOF
46414
46415 else
46416 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46417 fi
46418 if test "$ac_cv_func_strptime" = "yes"; then
46419 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46420 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46421 if test "${wx_cv_func_strptime_ok+set}" = set; then
46422 echo $ECHO_N "(cached) $ECHO_C" >&6
46423 else
46424 if test "$cross_compiling" = yes; then
46425 wx_cv_func_strptime_ok=no
46426
46427 else
46428 cat >conftest.$ac_ext <<_ACEOF
46429
46430 #include <stdlib.h>
46431 #include <time.h>
46432 #include "confdefs.h"
46433
46434 $wx_strptime_decl
46435
46436 int main()
46437 {
46438 struct tm t;
46439 return !!strptime("", "%x", &t);
46440 }
46441
46442 _ACEOF
46443 rm -f conftest$ac_exeext
46444 if { (ac_try="$ac_link"
46445 case "(($ac_try" in
46446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46447 *) ac_try_echo=$ac_try;;
46448 esac
46449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46450 (eval "$ac_link") 2>&5
46451 ac_status=$?
46452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46454 { (case "(($ac_try" in
46455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46456 *) ac_try_echo=$ac_try;;
46457 esac
46458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46459 (eval "$ac_try") 2>&5
46460 ac_status=$?
46461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46462 (exit $ac_status); }; }; then
46463 wx_cv_func_strptime_ok=yes
46464 else
46465 echo "$as_me: program exited with status $ac_status" >&5
46466 echo "$as_me: failed program was:" >&5
46467 sed 's/^/| /' conftest.$ac_ext >&5
46468
46469 ( exit $ac_status )
46470 wx_cv_func_strptime_ok=no
46471 fi
46472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46473 fi
46474
46475
46476
46477 fi
46478 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46479 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46480
46481 if test "$wx_cv_func_strptime_ok" = "yes"; then
46482 cat >>confdefs.h <<\_ACEOF
46483 #define HAVE_STRPTIME 1
46484 _ACEOF
46485
46486 fi
46487 fi
46488
46489 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46490 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46491 if test "${wx_cv_var_timezone+set}" = set; then
46492 echo $ECHO_N "(cached) $ECHO_C" >&6
46493 else
46494
46495 ac_ext=cpp
46496 ac_cpp='$CXXCPP $CPPFLAGS'
46497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46500
46501 cat >conftest.$ac_ext <<_ACEOF
46502 /* confdefs.h. */
46503 _ACEOF
46504 cat confdefs.h >>conftest.$ac_ext
46505 cat >>conftest.$ac_ext <<_ACEOF
46506 /* end confdefs.h. */
46507
46508 #include <time.h>
46509
46510 int
46511 main ()
46512 {
46513
46514 int tz;
46515 tz = timezone;
46516
46517 ;
46518 return 0;
46519 }
46520 _ACEOF
46521 rm -f conftest.$ac_objext
46522 if { (ac_try="$ac_compile"
46523 case "(($ac_try" in
46524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46525 *) ac_try_echo=$ac_try;;
46526 esac
46527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46528 (eval "$ac_compile") 2>conftest.er1
46529 ac_status=$?
46530 grep -v '^ *+' conftest.er1 >conftest.err
46531 rm -f conftest.er1
46532 cat conftest.err >&5
46533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46534 (exit $ac_status); } && {
46535 test -z "$ac_cxx_werror_flag" ||
46536 test ! -s conftest.err
46537 } && test -s conftest.$ac_objext; then
46538
46539 wx_cv_var_timezone=timezone
46540
46541 else
46542 echo "$as_me: failed program was:" >&5
46543 sed 's/^/| /' conftest.$ac_ext >&5
46544
46545
46546 cat >conftest.$ac_ext <<_ACEOF
46547 /* confdefs.h. */
46548 _ACEOF
46549 cat confdefs.h >>conftest.$ac_ext
46550 cat >>conftest.$ac_ext <<_ACEOF
46551 /* end confdefs.h. */
46552
46553 #include <time.h>
46554
46555 int
46556 main ()
46557 {
46558
46559 int tz;
46560 tz = _timezone;
46561
46562 ;
46563 return 0;
46564 }
46565 _ACEOF
46566 rm -f conftest.$ac_objext
46567 if { (ac_try="$ac_compile"
46568 case "(($ac_try" in
46569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46570 *) ac_try_echo=$ac_try;;
46571 esac
46572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46573 (eval "$ac_compile") 2>conftest.er1
46574 ac_status=$?
46575 grep -v '^ *+' conftest.er1 >conftest.err
46576 rm -f conftest.er1
46577 cat conftest.err >&5
46578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46579 (exit $ac_status); } && {
46580 test -z "$ac_cxx_werror_flag" ||
46581 test ! -s conftest.err
46582 } && test -s conftest.$ac_objext; then
46583
46584 wx_cv_var_timezone=_timezone
46585
46586 else
46587 echo "$as_me: failed program was:" >&5
46588 sed 's/^/| /' conftest.$ac_ext >&5
46589
46590
46591 cat >conftest.$ac_ext <<_ACEOF
46592 /* confdefs.h. */
46593 _ACEOF
46594 cat confdefs.h >>conftest.$ac_ext
46595 cat >>conftest.$ac_ext <<_ACEOF
46596 /* end confdefs.h. */
46597
46598 #include <time.h>
46599
46600 int
46601 main ()
46602 {
46603
46604 int tz;
46605 tz = __timezone;
46606
46607 ;
46608 return 0;
46609 }
46610 _ACEOF
46611 rm -f conftest.$ac_objext
46612 if { (ac_try="$ac_compile"
46613 case "(($ac_try" in
46614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46615 *) ac_try_echo=$ac_try;;
46616 esac
46617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46618 (eval "$ac_compile") 2>conftest.er1
46619 ac_status=$?
46620 grep -v '^ *+' conftest.er1 >conftest.err
46621 rm -f conftest.er1
46622 cat conftest.err >&5
46623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46624 (exit $ac_status); } && {
46625 test -z "$ac_cxx_werror_flag" ||
46626 test ! -s conftest.err
46627 } && test -s conftest.$ac_objext; then
46628
46629 wx_cv_var_timezone=__timezone
46630
46631 else
46632 echo "$as_me: failed program was:" >&5
46633 sed 's/^/| /' conftest.$ac_ext >&5
46634
46635
46636 if test "$USE_DOS" = 0 ; then
46637 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46638 echo "$as_me: WARNING: no timezone variable" >&2;}
46639 fi
46640
46641
46642 fi
46643
46644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46645
46646
46647 fi
46648
46649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46650
46651
46652 fi
46653
46654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46655 ac_ext=c
46656 ac_cpp='$CPP $CPPFLAGS'
46657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46660
46661
46662
46663 fi
46664 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46665 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46666
46667 if test "x$wx_cv_var_timezone" != x ; then
46668 cat >>confdefs.h <<_ACEOF
46669 #define WX_TIMEZONE $wx_cv_var_timezone
46670 _ACEOF
46671
46672 fi
46673
46674
46675 for ac_func in localtime
46676 do
46677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46681 echo $ECHO_N "(cached) $ECHO_C" >&6
46682 else
46683 cat >conftest.$ac_ext <<_ACEOF
46684 /* confdefs.h. */
46685 _ACEOF
46686 cat confdefs.h >>conftest.$ac_ext
46687 cat >>conftest.$ac_ext <<_ACEOF
46688 /* end confdefs.h. */
46689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46691 #define $ac_func innocuous_$ac_func
46692
46693 /* System header to define __stub macros and hopefully few prototypes,
46694 which can conflict with char $ac_func (); below.
46695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46696 <limits.h> exists even on freestanding compilers. */
46697
46698 #ifdef __STDC__
46699 # include <limits.h>
46700 #else
46701 # include <assert.h>
46702 #endif
46703
46704 #undef $ac_func
46705
46706 /* Override any GCC internal prototype to avoid an error.
46707 Use char because int might match the return type of a GCC
46708 builtin and then its argument prototype would still apply. */
46709 #ifdef __cplusplus
46710 extern "C"
46711 #endif
46712 char $ac_func ();
46713 /* The GNU C library defines this for functions which it implements
46714 to always fail with ENOSYS. Some functions are actually named
46715 something starting with __ and the normal name is an alias. */
46716 #if defined __stub_$ac_func || defined __stub___$ac_func
46717 choke me
46718 #endif
46719
46720 int
46721 main ()
46722 {
46723 return $ac_func ();
46724 ;
46725 return 0;
46726 }
46727 _ACEOF
46728 rm -f conftest.$ac_objext conftest$ac_exeext
46729 if { (ac_try="$ac_link"
46730 case "(($ac_try" in
46731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46732 *) ac_try_echo=$ac_try;;
46733 esac
46734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46735 (eval "$ac_link") 2>conftest.er1
46736 ac_status=$?
46737 grep -v '^ *+' conftest.er1 >conftest.err
46738 rm -f conftest.er1
46739 cat conftest.err >&5
46740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46741 (exit $ac_status); } && {
46742 test -z "$ac_c_werror_flag" ||
46743 test ! -s conftest.err
46744 } && test -s conftest$ac_exeext &&
46745 $as_test_x conftest$ac_exeext; then
46746 eval "$as_ac_var=yes"
46747 else
46748 echo "$as_me: failed program was:" >&5
46749 sed 's/^/| /' conftest.$ac_ext >&5
46750
46751 eval "$as_ac_var=no"
46752 fi
46753
46754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46755 conftest$ac_exeext conftest.$ac_ext
46756 fi
46757 ac_res=`eval echo '${'$as_ac_var'}'`
46758 { echo "$as_me:$LINENO: result: $ac_res" >&5
46759 echo "${ECHO_T}$ac_res" >&6; }
46760 if test `eval echo '${'$as_ac_var'}'` = yes; then
46761 cat >>confdefs.h <<_ACEOF
46762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46763 _ACEOF
46764
46765 fi
46766 done
46767
46768
46769 if test "$ac_cv_func_localtime" = "yes"; then
46770 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46771 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46772 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46773 echo $ECHO_N "(cached) $ECHO_C" >&6
46774 else
46775
46776 cat >conftest.$ac_ext <<_ACEOF
46777 /* confdefs.h. */
46778 _ACEOF
46779 cat confdefs.h >>conftest.$ac_ext
46780 cat >>conftest.$ac_ext <<_ACEOF
46781 /* end confdefs.h. */
46782
46783 #include <time.h>
46784
46785 int
46786 main ()
46787 {
46788
46789 struct tm tm;
46790 tm.tm_gmtoff++;
46791
46792 ;
46793 return 0;
46794 }
46795 _ACEOF
46796 rm -f conftest.$ac_objext
46797 if { (ac_try="$ac_compile"
46798 case "(($ac_try" in
46799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46800 *) ac_try_echo=$ac_try;;
46801 esac
46802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46803 (eval "$ac_compile") 2>conftest.er1
46804 ac_status=$?
46805 grep -v '^ *+' conftest.er1 >conftest.err
46806 rm -f conftest.er1
46807 cat conftest.err >&5
46808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46809 (exit $ac_status); } && {
46810 test -z "$ac_c_werror_flag" ||
46811 test ! -s conftest.err
46812 } && test -s conftest.$ac_objext; then
46813
46814 wx_cv_struct_tm_has_gmtoff=yes
46815
46816 else
46817 echo "$as_me: failed program was:" >&5
46818 sed 's/^/| /' conftest.$ac_ext >&5
46819
46820 wx_cv_struct_tm_has_gmtoff=no
46821
46822 fi
46823
46824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46825
46826 fi
46827 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46828 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46829 fi
46830
46831 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46832 cat >>confdefs.h <<\_ACEOF
46833 #define WX_GMTOFF_IN_TM 1
46834 _ACEOF
46835
46836 fi
46837
46838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46839 fi
46840
46841
46842 if test "$wxUSE_SOCKETS" = "yes"; then
46843 if test "$wxUSE_MGL" = "1"; then
46844 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46845 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46846 wxUSE_SOCKETS="no"
46847 fi
46848 fi
46849
46850 if test "$wxUSE_SOCKETS" = "yes"; then
46851 if test "$TOOLKIT" != "MSW"; then
46852 { echo "$as_me:$LINENO: checking for socket" >&5
46853 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46854 if test "${ac_cv_func_socket+set}" = set; then
46855 echo $ECHO_N "(cached) $ECHO_C" >&6
46856 else
46857 cat >conftest.$ac_ext <<_ACEOF
46858 /* confdefs.h. */
46859 _ACEOF
46860 cat confdefs.h >>conftest.$ac_ext
46861 cat >>conftest.$ac_ext <<_ACEOF
46862 /* end confdefs.h. */
46863 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46865 #define socket innocuous_socket
46866
46867 /* System header to define __stub macros and hopefully few prototypes,
46868 which can conflict with char socket (); below.
46869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46870 <limits.h> exists even on freestanding compilers. */
46871
46872 #ifdef __STDC__
46873 # include <limits.h>
46874 #else
46875 # include <assert.h>
46876 #endif
46877
46878 #undef socket
46879
46880 /* Override any GCC internal prototype to avoid an error.
46881 Use char because int might match the return type of a GCC
46882 builtin and then its argument prototype would still apply. */
46883 #ifdef __cplusplus
46884 extern "C"
46885 #endif
46886 char socket ();
46887 /* The GNU C library defines this for functions which it implements
46888 to always fail with ENOSYS. Some functions are actually named
46889 something starting with __ and the normal name is an alias. */
46890 #if defined __stub_socket || defined __stub___socket
46891 choke me
46892 #endif
46893
46894 int
46895 main ()
46896 {
46897 return socket ();
46898 ;
46899 return 0;
46900 }
46901 _ACEOF
46902 rm -f conftest.$ac_objext conftest$ac_exeext
46903 if { (ac_try="$ac_link"
46904 case "(($ac_try" in
46905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46906 *) ac_try_echo=$ac_try;;
46907 esac
46908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46909 (eval "$ac_link") 2>conftest.er1
46910 ac_status=$?
46911 grep -v '^ *+' conftest.er1 >conftest.err
46912 rm -f conftest.er1
46913 cat conftest.err >&5
46914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46915 (exit $ac_status); } && {
46916 test -z "$ac_c_werror_flag" ||
46917 test ! -s conftest.err
46918 } && test -s conftest$ac_exeext &&
46919 $as_test_x conftest$ac_exeext; then
46920 ac_cv_func_socket=yes
46921 else
46922 echo "$as_me: failed program was:" >&5
46923 sed 's/^/| /' conftest.$ac_ext >&5
46924
46925 ac_cv_func_socket=no
46926 fi
46927
46928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46929 conftest$ac_exeext conftest.$ac_ext
46930 fi
46931 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46932 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46933 if test $ac_cv_func_socket = yes; then
46934 :
46935 else
46936
46937 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46938 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46939 if test "${ac_cv_lib_socket_socket+set}" = set; then
46940 echo $ECHO_N "(cached) $ECHO_C" >&6
46941 else
46942 ac_check_lib_save_LIBS=$LIBS
46943 LIBS="-lsocket $LIBS"
46944 cat >conftest.$ac_ext <<_ACEOF
46945 /* confdefs.h. */
46946 _ACEOF
46947 cat confdefs.h >>conftest.$ac_ext
46948 cat >>conftest.$ac_ext <<_ACEOF
46949 /* end confdefs.h. */
46950
46951 /* Override any GCC internal prototype to avoid an error.
46952 Use char because int might match the return type of a GCC
46953 builtin and then its argument prototype would still apply. */
46954 #ifdef __cplusplus
46955 extern "C"
46956 #endif
46957 char socket ();
46958 int
46959 main ()
46960 {
46961 return socket ();
46962 ;
46963 return 0;
46964 }
46965 _ACEOF
46966 rm -f conftest.$ac_objext conftest$ac_exeext
46967 if { (ac_try="$ac_link"
46968 case "(($ac_try" in
46969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46970 *) ac_try_echo=$ac_try;;
46971 esac
46972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46973 (eval "$ac_link") 2>conftest.er1
46974 ac_status=$?
46975 grep -v '^ *+' conftest.er1 >conftest.err
46976 rm -f conftest.er1
46977 cat conftest.err >&5
46978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46979 (exit $ac_status); } && {
46980 test -z "$ac_c_werror_flag" ||
46981 test ! -s conftest.err
46982 } && test -s conftest$ac_exeext &&
46983 $as_test_x conftest$ac_exeext; then
46984 ac_cv_lib_socket_socket=yes
46985 else
46986 echo "$as_me: failed program was:" >&5
46987 sed 's/^/| /' conftest.$ac_ext >&5
46988
46989 ac_cv_lib_socket_socket=no
46990 fi
46991
46992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46993 conftest$ac_exeext conftest.$ac_ext
46994 LIBS=$ac_check_lib_save_LIBS
46995 fi
46996 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46997 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46998 if test $ac_cv_lib_socket_socket = yes; then
46999 if test "$INET_LINK" != " -lsocket"; then
47000 INET_LINK="$INET_LINK -lsocket"
47001 fi
47002 else
47003
47004 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47005 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47006 wxUSE_SOCKETS=no
47007
47008
47009 fi
47010
47011
47012
47013 fi
47014
47015 fi
47016 fi
47017
47018 if test "$wxUSE_SOCKETS" = "yes" ; then
47019 if test "$TOOLKIT" != "MSW"; then
47020 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47021 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
47022 if test "${wx_cv_type_getsockname3+set}" = set; then
47023 echo $ECHO_N "(cached) $ECHO_C" >&6
47024 else
47025
47026 ac_ext=cpp
47027 ac_cpp='$CXXCPP $CPPFLAGS'
47028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47031
47032 cat >conftest.$ac_ext <<_ACEOF
47033 /* confdefs.h. */
47034 _ACEOF
47035 cat confdefs.h >>conftest.$ac_ext
47036 cat >>conftest.$ac_ext <<_ACEOF
47037 /* end confdefs.h. */
47038
47039 #include <sys/types.h>
47040 #include <sys/socket.h>
47041
47042 int
47043 main ()
47044 {
47045
47046 socklen_t len;
47047 getsockname(0, 0, &len);
47048
47049 ;
47050 return 0;
47051 }
47052 _ACEOF
47053 rm -f conftest.$ac_objext
47054 if { (ac_try="$ac_compile"
47055 case "(($ac_try" in
47056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47057 *) ac_try_echo=$ac_try;;
47058 esac
47059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47060 (eval "$ac_compile") 2>conftest.er1
47061 ac_status=$?
47062 grep -v '^ *+' conftest.er1 >conftest.err
47063 rm -f conftest.er1
47064 cat conftest.err >&5
47065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47066 (exit $ac_status); } && {
47067 test -z "$ac_cxx_werror_flag" ||
47068 test ! -s conftest.err
47069 } && test -s conftest.$ac_objext; then
47070 wx_cv_type_getsockname3=socklen_t
47071 else
47072 echo "$as_me: failed program was:" >&5
47073 sed 's/^/| /' conftest.$ac_ext >&5
47074
47075
47076 CFLAGS_OLD="$CFLAGS"
47077 if test "$GCC" = yes ; then
47078 CFLAGS="-Werror $CFLAGS"
47079 fi
47080
47081 cat >conftest.$ac_ext <<_ACEOF
47082 /* confdefs.h. */
47083 _ACEOF
47084 cat confdefs.h >>conftest.$ac_ext
47085 cat >>conftest.$ac_ext <<_ACEOF
47086 /* end confdefs.h. */
47087
47088 #include <sys/types.h>
47089 #include <sys/socket.h>
47090
47091 int
47092 main ()
47093 {
47094
47095 size_t len;
47096 getsockname(0, 0, &len);
47097
47098 ;
47099 return 0;
47100 }
47101 _ACEOF
47102 rm -f conftest.$ac_objext
47103 if { (ac_try="$ac_compile"
47104 case "(($ac_try" in
47105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47106 *) ac_try_echo=$ac_try;;
47107 esac
47108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47109 (eval "$ac_compile") 2>conftest.er1
47110 ac_status=$?
47111 grep -v '^ *+' conftest.er1 >conftest.err
47112 rm -f conftest.er1
47113 cat conftest.err >&5
47114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47115 (exit $ac_status); } && {
47116 test -z "$ac_cxx_werror_flag" ||
47117 test ! -s conftest.err
47118 } && test -s conftest.$ac_objext; then
47119 wx_cv_type_getsockname3=size_t
47120 else
47121 echo "$as_me: failed program was:" >&5
47122 sed 's/^/| /' conftest.$ac_ext >&5
47123
47124 cat >conftest.$ac_ext <<_ACEOF
47125 /* confdefs.h. */
47126 _ACEOF
47127 cat confdefs.h >>conftest.$ac_ext
47128 cat >>conftest.$ac_ext <<_ACEOF
47129 /* end confdefs.h. */
47130
47131 #include <sys/types.h>
47132 #include <sys/socket.h>
47133
47134 int
47135 main ()
47136 {
47137
47138 int len;
47139 getsockname(0, 0, &len);
47140
47141 ;
47142 return 0;
47143 }
47144 _ACEOF
47145 rm -f conftest.$ac_objext
47146 if { (ac_try="$ac_compile"
47147 case "(($ac_try" in
47148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47149 *) ac_try_echo=$ac_try;;
47150 esac
47151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47152 (eval "$ac_compile") 2>conftest.er1
47153 ac_status=$?
47154 grep -v '^ *+' conftest.er1 >conftest.err
47155 rm -f conftest.er1
47156 cat conftest.err >&5
47157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47158 (exit $ac_status); } && {
47159 test -z "$ac_cxx_werror_flag" ||
47160 test ! -s conftest.err
47161 } && test -s conftest.$ac_objext; then
47162 wx_cv_type_getsockname3=int
47163 else
47164 echo "$as_me: failed program was:" >&5
47165 sed 's/^/| /' conftest.$ac_ext >&5
47166
47167 wx_cv_type_getsockname3=unknown
47168
47169 fi
47170
47171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47172
47173 fi
47174
47175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47176
47177 CFLAGS="$CFLAGS_OLD"
47178
47179
47180 fi
47181
47182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47183 ac_ext=c
47184 ac_cpp='$CPP $CPPFLAGS'
47185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47188
47189
47190 fi
47191 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47192 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47193
47194 if test "$wx_cv_type_getsockname3" = "unknown"; then
47195 wxUSE_SOCKETS=no
47196 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47197 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47198 else
47199 cat >>confdefs.h <<_ACEOF
47200 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47201 _ACEOF
47202
47203 fi
47204 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47205 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47206 if test "${wx_cv_type_getsockopt5+set}" = set; then
47207 echo $ECHO_N "(cached) $ECHO_C" >&6
47208 else
47209
47210 ac_ext=cpp
47211 ac_cpp='$CXXCPP $CPPFLAGS'
47212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47215
47216 cat >conftest.$ac_ext <<_ACEOF
47217 /* confdefs.h. */
47218 _ACEOF
47219 cat confdefs.h >>conftest.$ac_ext
47220 cat >>conftest.$ac_ext <<_ACEOF
47221 /* end confdefs.h. */
47222
47223 #include <sys/types.h>
47224 #include <sys/socket.h>
47225
47226 int
47227 main ()
47228 {
47229
47230 socklen_t len;
47231 getsockopt(0, 0, 0, 0, &len);
47232
47233 ;
47234 return 0;
47235 }
47236 _ACEOF
47237 rm -f conftest.$ac_objext
47238 if { (ac_try="$ac_compile"
47239 case "(($ac_try" in
47240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47241 *) ac_try_echo=$ac_try;;
47242 esac
47243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47244 (eval "$ac_compile") 2>conftest.er1
47245 ac_status=$?
47246 grep -v '^ *+' conftest.er1 >conftest.err
47247 rm -f conftest.er1
47248 cat conftest.err >&5
47249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47250 (exit $ac_status); } && {
47251 test -z "$ac_cxx_werror_flag" ||
47252 test ! -s conftest.err
47253 } && test -s conftest.$ac_objext; then
47254 wx_cv_type_getsockopt5=socklen_t
47255 else
47256 echo "$as_me: failed program was:" >&5
47257 sed 's/^/| /' conftest.$ac_ext >&5
47258
47259
47260 cat >conftest.$ac_ext <<_ACEOF
47261 /* confdefs.h. */
47262 _ACEOF
47263 cat confdefs.h >>conftest.$ac_ext
47264 cat >>conftest.$ac_ext <<_ACEOF
47265 /* end confdefs.h. */
47266
47267 #include <sys/types.h>
47268 #include <sys/socket.h>
47269
47270 int
47271 main ()
47272 {
47273
47274 size_t len;
47275 getsockopt(0, 0, 0, 0, &len);
47276
47277 ;
47278 return 0;
47279 }
47280 _ACEOF
47281 rm -f conftest.$ac_objext
47282 if { (ac_try="$ac_compile"
47283 case "(($ac_try" in
47284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47285 *) ac_try_echo=$ac_try;;
47286 esac
47287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47288 (eval "$ac_compile") 2>conftest.er1
47289 ac_status=$?
47290 grep -v '^ *+' conftest.er1 >conftest.err
47291 rm -f conftest.er1
47292 cat conftest.err >&5
47293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47294 (exit $ac_status); } && {
47295 test -z "$ac_cxx_werror_flag" ||
47296 test ! -s conftest.err
47297 } && test -s conftest.$ac_objext; then
47298 wx_cv_type_getsockopt5=size_t
47299 else
47300 echo "$as_me: failed program was:" >&5
47301 sed 's/^/| /' conftest.$ac_ext >&5
47302
47303 cat >conftest.$ac_ext <<_ACEOF
47304 /* confdefs.h. */
47305 _ACEOF
47306 cat confdefs.h >>conftest.$ac_ext
47307 cat >>conftest.$ac_ext <<_ACEOF
47308 /* end confdefs.h. */
47309
47310 #include <sys/types.h>
47311 #include <sys/socket.h>
47312
47313 int
47314 main ()
47315 {
47316
47317 int len;
47318 getsockopt(0, 0, 0, 0, &len);
47319
47320 ;
47321 return 0;
47322 }
47323 _ACEOF
47324 rm -f conftest.$ac_objext
47325 if { (ac_try="$ac_compile"
47326 case "(($ac_try" in
47327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47328 *) ac_try_echo=$ac_try;;
47329 esac
47330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47331 (eval "$ac_compile") 2>conftest.er1
47332 ac_status=$?
47333 grep -v '^ *+' conftest.er1 >conftest.err
47334 rm -f conftest.er1
47335 cat conftest.err >&5
47336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47337 (exit $ac_status); } && {
47338 test -z "$ac_cxx_werror_flag" ||
47339 test ! -s conftest.err
47340 } && test -s conftest.$ac_objext; then
47341 wx_cv_type_getsockopt5=int
47342 else
47343 echo "$as_me: failed program was:" >&5
47344 sed 's/^/| /' conftest.$ac_ext >&5
47345
47346 wx_cv_type_getsockopt5=unknown
47347
47348 fi
47349
47350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47351
47352 fi
47353
47354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47355
47356
47357 fi
47358
47359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47360 ac_ext=c
47361 ac_cpp='$CPP $CPPFLAGS'
47362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47365
47366
47367 fi
47368 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47369 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47370
47371 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47372 wxUSE_SOCKETS=no
47373 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47374 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47375 else
47376 cat >>confdefs.h <<_ACEOF
47377 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47378 _ACEOF
47379
47380 fi
47381 fi
47382 fi
47383
47384 if test "$wxUSE_SOCKETS" = "yes" ; then
47385 cat >>confdefs.h <<\_ACEOF
47386 #define wxUSE_SOCKETS 1
47387 _ACEOF
47388
47389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47390 fi
47391
47392 if test "$wxUSE_PROTOCOL" = "yes"; then
47393 if test "$wxUSE_SOCKETS" != "yes"; then
47394 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47395 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47396 wxUSE_PROTOCOL=no
47397 fi
47398 fi
47399
47400 if test "$wxUSE_PROTOCOL" = "yes"; then
47401 cat >>confdefs.h <<\_ACEOF
47402 #define wxUSE_PROTOCOL 1
47403 _ACEOF
47404
47405
47406 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47407 cat >>confdefs.h <<\_ACEOF
47408 #define wxUSE_PROTOCOL_HTTP 1
47409 _ACEOF
47410
47411 fi
47412 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_PROTOCOL_FTP 1
47415 _ACEOF
47416
47417 fi
47418 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47419 cat >>confdefs.h <<\_ACEOF
47420 #define wxUSE_PROTOCOL_FILE 1
47421 _ACEOF
47422
47423 fi
47424 else
47425 if test "$wxUSE_FS_INET" = "yes"; then
47426 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47427 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47428 wxUSE_FS_INET="no"
47429 fi
47430 fi
47431
47432 if test "$wxUSE_URL" = "yes"; then
47433 if test "$wxUSE_PROTOCOL" != "yes"; then
47434 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47435 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47436 wxUSE_URL=no
47437 fi
47438 if test "$wxUSE_URL" = "yes"; then
47439 cat >>confdefs.h <<\_ACEOF
47440 #define wxUSE_URL 1
47441 _ACEOF
47442
47443 fi
47444 fi
47445
47446 if test "$wxUSE_VARIANT" = "yes"; then
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_VARIANT 1
47449 _ACEOF
47450
47451 fi
47452
47453 if test "$wxUSE_FS_INET" = "yes"; then
47454 cat >>confdefs.h <<\_ACEOF
47455 #define wxUSE_FS_INET 1
47456 _ACEOF
47457
47458 fi
47459
47460
47461 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47462 wxUSE_JOYSTICK=no
47463
47464 if test "$TOOLKIT" = "MSW"; then
47465 wxUSE_JOYSTICK=yes
47466
47467 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47468 if test "$USE_DARWIN" = 1; then
47469 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47470 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47471 ac_ext=cpp
47472 ac_cpp='$CXXCPP $CPPFLAGS'
47473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47476
47477 cat >conftest.$ac_ext <<_ACEOF
47478 /* confdefs.h. */
47479 _ACEOF
47480 cat confdefs.h >>conftest.$ac_ext
47481 cat >>conftest.$ac_ext <<_ACEOF
47482 /* end confdefs.h. */
47483 #include <IOKit/hid/IOHIDLib.h>
47484 int
47485 main ()
47486 {
47487 IOHIDQueueInterface *qi = NULL;
47488 IOHIDCallbackFunction cb = NULL;
47489 qi->setEventCallout(NULL, cb, NULL, NULL);
47490 ;
47491 return 0;
47492 }
47493 _ACEOF
47494 rm -f conftest.$ac_objext
47495 if { (ac_try="$ac_compile"
47496 case "(($ac_try" in
47497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47498 *) ac_try_echo=$ac_try;;
47499 esac
47500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47501 (eval "$ac_compile") 2>conftest.er1
47502 ac_status=$?
47503 grep -v '^ *+' conftest.er1 >conftest.err
47504 rm -f conftest.er1
47505 cat conftest.err >&5
47506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47507 (exit $ac_status); } && {
47508 test -z "$ac_cxx_werror_flag" ||
47509 test ! -s conftest.err
47510 } && test -s conftest.$ac_objext; then
47511 wxUSE_JOYSTICK=yes
47512
47513 else
47514 echo "$as_me: failed program was:" >&5
47515 sed 's/^/| /' conftest.$ac_ext >&5
47516
47517
47518 fi
47519
47520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47521 ac_ext=c
47522 ac_cpp='$CPP $CPPFLAGS'
47523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47526
47527 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47528 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47529 fi
47530
47531 else
47532 if test "$wxUSE_MGL" != "1"; then
47533
47534 for ac_header in linux/joystick.h
47535 do
47536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47537 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47540 echo $ECHO_N "(cached) $ECHO_C" >&6
47541 else
47542 cat >conftest.$ac_ext <<_ACEOF
47543 /* confdefs.h. */
47544 _ACEOF
47545 cat confdefs.h >>conftest.$ac_ext
47546 cat >>conftest.$ac_ext <<_ACEOF
47547 /* end confdefs.h. */
47548 $ac_includes_default
47549
47550 #include <$ac_header>
47551 _ACEOF
47552 rm -f conftest.$ac_objext
47553 if { (ac_try="$ac_compile"
47554 case "(($ac_try" in
47555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47556 *) ac_try_echo=$ac_try;;
47557 esac
47558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47559 (eval "$ac_compile") 2>conftest.er1
47560 ac_status=$?
47561 grep -v '^ *+' conftest.er1 >conftest.err
47562 rm -f conftest.er1
47563 cat conftest.err >&5
47564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47565 (exit $ac_status); } && {
47566 test -z "$ac_c_werror_flag" ||
47567 test ! -s conftest.err
47568 } && test -s conftest.$ac_objext; then
47569 eval "$as_ac_Header=yes"
47570 else
47571 echo "$as_me: failed program was:" >&5
47572 sed 's/^/| /' conftest.$ac_ext >&5
47573
47574 eval "$as_ac_Header=no"
47575 fi
47576
47577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47578 fi
47579 ac_res=`eval echo '${'$as_ac_Header'}'`
47580 { echo "$as_me:$LINENO: result: $ac_res" >&5
47581 echo "${ECHO_T}$ac_res" >&6; }
47582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47583 cat >>confdefs.h <<_ACEOF
47584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47585 _ACEOF
47586 wxUSE_JOYSTICK=yes
47587 fi
47588
47589 done
47590
47591 fi
47592 fi
47593
47594 if test "$wxUSE_JOYSTICK" = "yes"; then
47595 cat >>confdefs.h <<\_ACEOF
47596 #define wxUSE_JOYSTICK 1
47597 _ACEOF
47598
47599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47600 else
47601 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47602 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47603 fi
47604 fi
47605
47606
47607
47608 if test "$wxUSE_FONTENUM" = "yes" ; then
47609 cat >>confdefs.h <<\_ACEOF
47610 #define wxUSE_FONTENUM 1
47611 _ACEOF
47612
47613 fi
47614
47615 if test "$wxUSE_FONTMAP" = "yes" ; then
47616 cat >>confdefs.h <<\_ACEOF
47617 #define wxUSE_FONTMAP 1
47618 _ACEOF
47619
47620 fi
47621
47622 if test "$wxUSE_UNICODE" = "yes" ; then
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_UNICODE 1
47625 _ACEOF
47626
47627
47628 if test "$USE_WIN32" != 1; then
47629 wxUSE_UNICODE_MSLU=no
47630 fi
47631
47632 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47633 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47634 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47635 if test "${ac_cv_lib_unicows_main+set}" = set; then
47636 echo $ECHO_N "(cached) $ECHO_C" >&6
47637 else
47638 ac_check_lib_save_LIBS=$LIBS
47639 LIBS="-lunicows $LIBS"
47640 cat >conftest.$ac_ext <<_ACEOF
47641 /* confdefs.h. */
47642 _ACEOF
47643 cat confdefs.h >>conftest.$ac_ext
47644 cat >>conftest.$ac_ext <<_ACEOF
47645 /* end confdefs.h. */
47646
47647
47648 int
47649 main ()
47650 {
47651 return main ();
47652 ;
47653 return 0;
47654 }
47655 _ACEOF
47656 rm -f conftest.$ac_objext conftest$ac_exeext
47657 if { (ac_try="$ac_link"
47658 case "(($ac_try" in
47659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47660 *) ac_try_echo=$ac_try;;
47661 esac
47662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47663 (eval "$ac_link") 2>conftest.er1
47664 ac_status=$?
47665 grep -v '^ *+' conftest.er1 >conftest.err
47666 rm -f conftest.er1
47667 cat conftest.err >&5
47668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47669 (exit $ac_status); } && {
47670 test -z "$ac_c_werror_flag" ||
47671 test ! -s conftest.err
47672 } && test -s conftest$ac_exeext &&
47673 $as_test_x conftest$ac_exeext; then
47674 ac_cv_lib_unicows_main=yes
47675 else
47676 echo "$as_me: failed program was:" >&5
47677 sed 's/^/| /' conftest.$ac_ext >&5
47678
47679 ac_cv_lib_unicows_main=no
47680 fi
47681
47682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47683 conftest$ac_exeext conftest.$ac_ext
47684 LIBS=$ac_check_lib_save_LIBS
47685 fi
47686 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47687 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47688 if test $ac_cv_lib_unicows_main = yes; then
47689
47690 cat >>confdefs.h <<\_ACEOF
47691 #define wxUSE_UNICODE_MSLU 1
47692 _ACEOF
47693
47694
47695 else
47696
47697 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47698 Applications will only run on Windows NT/2000/XP!" >&5
47699 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47700 Applications will only run on Windows NT/2000/XP!" >&2;}
47701 wxUSE_UNICODE_MSLU=no
47702
47703 fi
47704
47705 fi
47706 fi
47707
47708 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47709 cat >>confdefs.h <<\_ACEOF
47710 #define wxUSE_UNICODE_UTF8 1
47711 _ACEOF
47712
47713
47714 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47715 cat >>confdefs.h <<\_ACEOF
47716 #define wxUSE_UTF8_LOCALE_ONLY 1
47717 _ACEOF
47718
47719 fi
47720 fi
47721
47722 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47723 cat >>confdefs.h <<\_ACEOF
47724 #define wxUSE_EXPERIMENTAL_PRINTF 1
47725 _ACEOF
47726
47727 fi
47728
47729
47730 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47731 cat >>confdefs.h <<\_ACEOF
47732 #define wxUSE_CONSTRAINTS 1
47733 _ACEOF
47734
47735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47736 fi
47737
47738 if test "$wxUSE_MDI" = "yes"; then
47739 cat >>confdefs.h <<\_ACEOF
47740 #define wxUSE_MDI 1
47741 _ACEOF
47742
47743
47744 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47745 cat >>confdefs.h <<\_ACEOF
47746 #define wxUSE_MDI_ARCHITECTURE 1
47747 _ACEOF
47748
47749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47750 fi
47751 fi
47752
47753 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47754 cat >>confdefs.h <<\_ACEOF
47755 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47756 _ACEOF
47757
47758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47759 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47761 fi
47762 fi
47763
47764 if test "$wxUSE_HELP" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_HELP 1
47767 _ACEOF
47768
47769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47770
47771 if test "$wxUSE_MSW" = 1; then
47772 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_MS_HTML_HELP 1
47775 _ACEOF
47776
47777 fi
47778 fi
47779
47780 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47781 if test "$wxUSE_HTML" = "yes"; then
47782 cat >>confdefs.h <<\_ACEOF
47783 #define wxUSE_WXHTML_HELP 1
47784 _ACEOF
47785
47786 else
47787 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47788 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47789 wxUSE_WXHTML_HELP=no
47790 fi
47791 fi
47792 fi
47793
47794 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47795 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47796 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47797 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47798 else
47799 cat >>confdefs.h <<\_ACEOF
47800 #define wxUSE_PRINTING_ARCHITECTURE 1
47801 _ACEOF
47802
47803 fi
47804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47805 fi
47806
47807 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47808 cat >>confdefs.h <<\_ACEOF
47809 #define wxUSE_POSTSCRIPT 1
47810 _ACEOF
47811
47812 fi
47813
47814 cat >>confdefs.h <<\_ACEOF
47815 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47816 _ACEOF
47817
47818
47819 cat >>confdefs.h <<\_ACEOF
47820 #define wxUSE_NORMALIZED_PS_FONTS 1
47821 _ACEOF
47822
47823
47824 if test "$wxUSE_SVG" = "yes"; then
47825 cat >>confdefs.h <<\_ACEOF
47826 #define wxUSE_SVG 1
47827 _ACEOF
47828
47829 fi
47830
47831
47832 if test "$wxUSE_METAFILE" = "yes"; then
47833 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47834 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47835 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47836 wxUSE_METAFILE=no
47837 fi
47838 fi
47839
47840
47841 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47842 -o "$wxUSE_CLIPBOARD" = "yes" \
47843 -o "$wxUSE_OLE" = "yes" \
47844 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47845 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47846 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47847 if test "${ac_cv_header_ole2_h+set}" = set; then
47848 echo $ECHO_N "(cached) $ECHO_C" >&6
47849 else
47850 cat >conftest.$ac_ext <<_ACEOF
47851 /* confdefs.h. */
47852 _ACEOF
47853 cat confdefs.h >>conftest.$ac_ext
47854 cat >>conftest.$ac_ext <<_ACEOF
47855 /* end confdefs.h. */
47856
47857
47858 #include <ole2.h>
47859 _ACEOF
47860 rm -f conftest.$ac_objext
47861 if { (ac_try="$ac_compile"
47862 case "(($ac_try" in
47863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47864 *) ac_try_echo=$ac_try;;
47865 esac
47866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47867 (eval "$ac_compile") 2>conftest.er1
47868 ac_status=$?
47869 grep -v '^ *+' conftest.er1 >conftest.err
47870 rm -f conftest.er1
47871 cat conftest.err >&5
47872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47873 (exit $ac_status); } && {
47874 test -z "$ac_c_werror_flag" ||
47875 test ! -s conftest.err
47876 } && test -s conftest.$ac_objext; then
47877 ac_cv_header_ole2_h=yes
47878 else
47879 echo "$as_me: failed program was:" >&5
47880 sed 's/^/| /' conftest.$ac_ext >&5
47881
47882 ac_cv_header_ole2_h=no
47883 fi
47884
47885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47886 fi
47887 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47888 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47889
47890
47891
47892 if test "$ac_cv_header_ole2_h" = "yes" ; then
47893 if test "$GCC" = yes ; then
47894 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47895 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47896 cat >conftest.$ac_ext <<_ACEOF
47897 /* confdefs.h. */
47898 _ACEOF
47899 cat confdefs.h >>conftest.$ac_ext
47900 cat >>conftest.$ac_ext <<_ACEOF
47901 /* end confdefs.h. */
47902 #include <windows.h>
47903 #include <ole2.h>
47904 int
47905 main ()
47906 {
47907
47908 ;
47909 return 0;
47910 }
47911 _ACEOF
47912 rm -f conftest.$ac_objext
47913 if { (ac_try="$ac_compile"
47914 case "(($ac_try" in
47915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47916 *) ac_try_echo=$ac_try;;
47917 esac
47918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47919 (eval "$ac_compile") 2>conftest.er1
47920 ac_status=$?
47921 grep -v '^ *+' conftest.er1 >conftest.err
47922 rm -f conftest.er1
47923 cat conftest.err >&5
47924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47925 (exit $ac_status); } && {
47926 test -z "$ac_c_werror_flag" ||
47927 test ! -s conftest.err
47928 } && test -s conftest.$ac_objext; then
47929 { echo "$as_me:$LINENO: result: no" >&5
47930 echo "${ECHO_T}no" >&6; }
47931 else
47932 echo "$as_me: failed program was:" >&5
47933 sed 's/^/| /' conftest.$ac_ext >&5
47934
47935 { echo "$as_me:$LINENO: result: yes" >&5
47936 echo "${ECHO_T}yes" >&6; }
47937 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47938 fi
47939
47940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47941 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47942 if test "$wxUSE_OLE" = "yes" ; then
47943 cat >>confdefs.h <<\_ACEOF
47944 #define wxUSE_OLE 1
47945 _ACEOF
47946
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_OLE_AUTOMATION 1
47949 _ACEOF
47950
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_ACTIVEX 1
47953 _ACEOF
47954
47955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47956 fi
47957 fi
47958
47959 if test "$wxUSE_DATAOBJ" = "yes" ; then
47960 cat >>confdefs.h <<\_ACEOF
47961 #define wxUSE_DATAOBJ 1
47962 _ACEOF
47963
47964 fi
47965 else
47966 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47967 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47968
47969 wxUSE_CLIPBOARD=no
47970 wxUSE_DRAG_AND_DROP=no
47971 wxUSE_DATAOBJ=no
47972 wxUSE_OLE=no
47973 fi
47974
47975 if test "$wxUSE_METAFILE" = "yes"; then
47976 cat >>confdefs.h <<\_ACEOF
47977 #define wxUSE_METAFILE 1
47978 _ACEOF
47979
47980
47981 cat >>confdefs.h <<\_ACEOF
47982 #define wxUSE_ENH_METAFILE 1
47983 _ACEOF
47984
47985 fi
47986 fi
47987
47988 if test "$wxUSE_IPC" = "yes"; then
47989 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47990 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47991 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47992 wxUSE_IPC=no
47993 fi
47994
47995 if test "$wxUSE_IPC" = "yes"; then
47996 cat >>confdefs.h <<\_ACEOF
47997 #define wxUSE_IPC 1
47998 _ACEOF
47999
48000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48001 fi
48002 fi
48003
48004 if test "$wxUSE_DATAOBJ" = "yes"; then
48005 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48006 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48007 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48008 wxUSE_DATAOBJ=no
48009 else
48010 cat >>confdefs.h <<\_ACEOF
48011 #define wxUSE_DATAOBJ 1
48012 _ACEOF
48013
48014 fi
48015 else
48016 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48017 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48018 wxUSE_CLIPBOARD=no
48019 wxUSE_DRAG_AND_DROP=no
48020 fi
48021
48022 if test "$wxUSE_CLIPBOARD" = "yes"; then
48023 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48024 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48025 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48026 wxUSE_CLIPBOARD=no
48027 fi
48028
48029 if test "$wxUSE_CLIPBOARD" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_CLIPBOARD 1
48032 _ACEOF
48033
48034 fi
48035 fi
48036
48037 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48038 if test "$wxUSE_GTK" = 1; then
48039 if test "$WXGTK12" != 1; then
48040 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48041 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48042 wxUSE_DRAG_AND_DROP=no
48043 fi
48044 fi
48045
48046 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48047 "$wxUSE_DFB" = 1; then
48048 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48049 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48050 wxUSE_DRAG_AND_DROP=no
48051 fi
48052
48053 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48054 cat >>confdefs.h <<\_ACEOF
48055 #define wxUSE_DRAG_AND_DROP 1
48056 _ACEOF
48057
48058 fi
48059
48060 fi
48061
48062 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
48064 fi
48065
48066 if test "$wxUSE_SPLINES" = "yes" ; then
48067 cat >>confdefs.h <<\_ACEOF
48068 #define wxUSE_SPLINES 1
48069 _ACEOF
48070
48071 fi
48072
48073 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48074 cat >>confdefs.h <<\_ACEOF
48075 #define wxUSE_MOUSEWHEEL 1
48076 _ACEOF
48077
48078 fi
48079
48080
48081 USES_CONTROLS=0
48082 if test "$wxUSE_CONTROLS" = "yes"; then
48083 USES_CONTROLS=1
48084 fi
48085
48086 if test "$wxUSE_ACCEL" = "yes"; then
48087 cat >>confdefs.h <<\_ACEOF
48088 #define wxUSE_ACCEL 1
48089 _ACEOF
48090
48091 USES_CONTROLS=1
48092 fi
48093
48094 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48095 cat >>confdefs.h <<\_ACEOF
48096 #define wxUSE_ANIMATIONCTRL 1
48097 _ACEOF
48098
48099 USES_CONTROLS=1
48100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48101 fi
48102
48103 if test "$wxUSE_BUTTON" = "yes"; then
48104 cat >>confdefs.h <<\_ACEOF
48105 #define wxUSE_BUTTON 1
48106 _ACEOF
48107
48108 USES_CONTROLS=1
48109 fi
48110
48111 if test "$wxUSE_BMPBUTTON" = "yes"; then
48112 cat >>confdefs.h <<\_ACEOF
48113 #define wxUSE_BMPBUTTON 1
48114 _ACEOF
48115
48116 USES_CONTROLS=1
48117 fi
48118
48119 if test "$wxUSE_CALCTRL" = "yes"; then
48120 cat >>confdefs.h <<\_ACEOF
48121 #define wxUSE_CALENDARCTRL 1
48122 _ACEOF
48123
48124 USES_CONTROLS=1
48125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48126 fi
48127
48128 if test "$wxUSE_CARET" = "yes"; then
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_CARET 1
48131 _ACEOF
48132
48133 USES_CONTROLS=1
48134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48135 fi
48136
48137 if test "$wxUSE_COLLPANE" = "yes"; then
48138 cat >>confdefs.h <<\_ACEOF
48139 #define wxUSE_COLLPANE 1
48140 _ACEOF
48141
48142 USES_CONTROLS=1
48143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48144 fi
48145
48146 if test "$wxUSE_COMBOBOX" = "yes"; then
48147 cat >>confdefs.h <<\_ACEOF
48148 #define wxUSE_COMBOBOX 1
48149 _ACEOF
48150
48151 USES_CONTROLS=1
48152 fi
48153
48154 if test "$wxUSE_COMBOCTRL" = "yes"; then
48155 cat >>confdefs.h <<\_ACEOF
48156 #define wxUSE_COMBOCTRL 1
48157 _ACEOF
48158
48159 USES_CONTROLS=1
48160 fi
48161
48162 if test "$wxUSE_CHOICE" = "yes"; then
48163 cat >>confdefs.h <<\_ACEOF
48164 #define wxUSE_CHOICE 1
48165 _ACEOF
48166
48167 USES_CONTROLS=1
48168 fi
48169
48170 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48171 cat >>confdefs.h <<\_ACEOF
48172 #define wxUSE_CHOICEBOOK 1
48173 _ACEOF
48174
48175 USES_CONTROLS=1
48176 fi
48177
48178 if test "$wxUSE_CHECKBOX" = "yes"; then
48179 cat >>confdefs.h <<\_ACEOF
48180 #define wxUSE_CHECKBOX 1
48181 _ACEOF
48182
48183 USES_CONTROLS=1
48184 fi
48185
48186 if test "$wxUSE_CHECKLST" = "yes"; then
48187 cat >>confdefs.h <<\_ACEOF
48188 #define wxUSE_CHECKLISTBOX 1
48189 _ACEOF
48190
48191 USES_CONTROLS=1
48192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
48193 fi
48194
48195 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48196 cat >>confdefs.h <<\_ACEOF
48197 #define wxUSE_COLOURPICKERCTRL 1
48198 _ACEOF
48199
48200 USES_CONTROLS=1
48201 fi
48202
48203 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48204 cat >>confdefs.h <<\_ACEOF
48205 #define wxUSE_DATEPICKCTRL 1
48206 _ACEOF
48207
48208 USES_CONTROLS=1
48209 fi
48210
48211 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48212 cat >>confdefs.h <<\_ACEOF
48213 #define wxUSE_DIRPICKERCTRL 1
48214 _ACEOF
48215
48216 USES_CONTROLS=1
48217 fi
48218
48219 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48220 cat >>confdefs.h <<\_ACEOF
48221 #define wxUSE_FILEPICKERCTRL 1
48222 _ACEOF
48223
48224 USES_CONTROLS=1
48225 fi
48226
48227 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48228 cat >>confdefs.h <<\_ACEOF
48229 #define wxUSE_FONTPICKERCTRL 1
48230 _ACEOF
48231
48232 USES_CONTROLS=1
48233 fi
48234
48235 if test "$wxUSE_DISPLAY" = "yes"; then
48236 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48237 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48238 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48239 wxUSE_DISPLAY=no
48240 else
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_DISPLAY 1
48243 _ACEOF
48244
48245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
48246 fi
48247 fi
48248
48249 if test "$wxUSE_DETECT_SM" = "yes"; then
48250 cat >>confdefs.h <<\_ACEOF
48251 #define wxUSE_DETECT_SM 1
48252 _ACEOF
48253
48254 fi
48255
48256 if test "$wxUSE_GAUGE" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_GAUGE 1
48259 _ACEOF
48260
48261 USES_CONTROLS=1
48262 fi
48263
48264 if test "$wxUSE_GRID" = "yes"; then
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_GRID 1
48267 _ACEOF
48268
48269 USES_CONTROLS=1
48270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48271 fi
48272
48273 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48274 cat >>confdefs.h <<\_ACEOF
48275 #define wxUSE_HYPERLINKCTRL 1
48276 _ACEOF
48277
48278 USES_CONTROLS=1
48279 fi
48280
48281 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48282 cat >>confdefs.h <<\_ACEOF
48283 #define wxUSE_BITMAPCOMBOBOX 1
48284 _ACEOF
48285
48286 USES_CONTROLS=1
48287 fi
48288
48289 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48290 cat >>confdefs.h <<\_ACEOF
48291 #define wxUSE_DATAVIEWCTRL 1
48292 _ACEOF
48293
48294 USES_CONTROLS=1
48295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48296 fi
48297
48298 if test "$wxUSE_IMAGLIST" = "yes"; then
48299 cat >>confdefs.h <<\_ACEOF
48300 #define wxUSE_IMAGLIST 1
48301 _ACEOF
48302
48303 fi
48304
48305 if test "$wxUSE_LISTBOOK" = "yes"; then
48306 cat >>confdefs.h <<\_ACEOF
48307 #define wxUSE_LISTBOOK 1
48308 _ACEOF
48309
48310 USES_CONTROLS=1
48311 fi
48312
48313 if test "$wxUSE_LISTBOX" = "yes"; then
48314 cat >>confdefs.h <<\_ACEOF
48315 #define wxUSE_LISTBOX 1
48316 _ACEOF
48317
48318 USES_CONTROLS=1
48319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48320 fi
48321
48322 if test "$wxUSE_LISTCTRL" = "yes"; then
48323 if test "$wxUSE_IMAGLIST" = "yes"; then
48324 cat >>confdefs.h <<\_ACEOF
48325 #define wxUSE_LISTCTRL 1
48326 _ACEOF
48327
48328 USES_CONTROLS=1
48329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48330 else
48331 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48332 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48333 fi
48334 fi
48335
48336 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48337 cat >>confdefs.h <<\_ACEOF
48338 #define wxUSE_EDITABLELISTBOX 1
48339 _ACEOF
48340
48341 USES_CONTROLS=1
48342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48343 fi
48344
48345 if test "$wxUSE_NOTEBOOK" = "yes"; then
48346 cat >>confdefs.h <<\_ACEOF
48347 #define wxUSE_NOTEBOOK 1
48348 _ACEOF
48349
48350 USES_CONTROLS=1
48351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48352 fi
48353
48354 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48355 cat >>confdefs.h <<\_ACEOF
48356 #define wxUSE_ODCOMBOBOX 1
48357 _ACEOF
48358
48359 USES_CONTROLS=1
48360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48361 fi
48362
48363
48364 if test "$wxUSE_RADIOBOX" = "yes"; then
48365 cat >>confdefs.h <<\_ACEOF
48366 #define wxUSE_RADIOBOX 1
48367 _ACEOF
48368
48369 USES_CONTROLS=1
48370 fi
48371
48372 if test "$wxUSE_RADIOBTN" = "yes"; then
48373 cat >>confdefs.h <<\_ACEOF
48374 #define wxUSE_RADIOBTN 1
48375 _ACEOF
48376
48377 USES_CONTROLS=1
48378 fi
48379
48380 if test "$wxUSE_SASH" = "yes"; then
48381 cat >>confdefs.h <<\_ACEOF
48382 #define wxUSE_SASH 1
48383 _ACEOF
48384
48385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48386 fi
48387
48388 if test "$wxUSE_SCROLLBAR" = "yes"; then
48389 cat >>confdefs.h <<\_ACEOF
48390 #define wxUSE_SCROLLBAR 1
48391 _ACEOF
48392
48393 USES_CONTROLS=1
48394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48395 fi
48396
48397 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48398 cat >>confdefs.h <<\_ACEOF
48399 #define wxUSE_SEARCHCTRL 1
48400 _ACEOF
48401
48402 USES_CONTROLS=1
48403 fi
48404
48405 if test "$wxUSE_SLIDER" = "yes"; then
48406 cat >>confdefs.h <<\_ACEOF
48407 #define wxUSE_SLIDER 1
48408 _ACEOF
48409
48410 USES_CONTROLS=1
48411 fi
48412
48413 if test "$wxUSE_SPINBTN" = "yes"; then
48414 cat >>confdefs.h <<\_ACEOF
48415 #define wxUSE_SPINBTN 1
48416 _ACEOF
48417
48418 USES_CONTROLS=1
48419 fi
48420
48421 if test "$wxUSE_SPINCTRL" = "yes"; then
48422 cat >>confdefs.h <<\_ACEOF
48423 #define wxUSE_SPINCTRL 1
48424 _ACEOF
48425
48426 USES_CONTROLS=1
48427 fi
48428
48429 if test "$wxUSE_SPLITTER" = "yes"; then
48430 cat >>confdefs.h <<\_ACEOF
48431 #define wxUSE_SPLITTER 1
48432 _ACEOF
48433
48434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48435 fi
48436
48437 if test "$wxUSE_STATBMP" = "yes"; then
48438 cat >>confdefs.h <<\_ACEOF
48439 #define wxUSE_STATBMP 1
48440 _ACEOF
48441
48442 USES_CONTROLS=1
48443 fi
48444
48445 if test "$wxUSE_STATBOX" = "yes"; then
48446 cat >>confdefs.h <<\_ACEOF
48447 #define wxUSE_STATBOX 1
48448 _ACEOF
48449
48450 USES_CONTROLS=1
48451 fi
48452
48453 if test "$wxUSE_STATTEXT" = "yes"; then
48454 cat >>confdefs.h <<\_ACEOF
48455 #define wxUSE_STATTEXT 1
48456 _ACEOF
48457
48458 USES_CONTROLS=1
48459 fi
48460
48461 if test "$wxUSE_STATLINE" = "yes"; then
48462 cat >>confdefs.h <<\_ACEOF
48463 #define wxUSE_STATLINE 1
48464 _ACEOF
48465
48466 USES_CONTROLS=1
48467 fi
48468
48469 if test "$wxUSE_STATUSBAR" = "yes"; then
48470 cat >>confdefs.h <<\_ACEOF
48471 #define wxUSE_NATIVE_STATUSBAR 1
48472 _ACEOF
48473
48474 cat >>confdefs.h <<\_ACEOF
48475 #define wxUSE_STATUSBAR 1
48476 _ACEOF
48477
48478 USES_CONTROLS=1
48479
48480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48481 fi
48482
48483 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48484 cat >>confdefs.h <<\_ACEOF
48485 #define wxUSE_TAB_DIALOG 1
48486 _ACEOF
48487
48488 fi
48489
48490 if test "$wxUSE_TEXTCTRL" = "yes"; then
48491 cat >>confdefs.h <<\_ACEOF
48492 #define wxUSE_TEXTCTRL 1
48493 _ACEOF
48494
48495 USES_CONTROLS=1
48496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48497 fi
48498
48499 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48500 if test "$wxUSE_COCOA" = 1 ; then
48501 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48502 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48503 wxUSE_TOGGLEBTN=no
48504 fi
48505
48506 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48507 cat >>confdefs.h <<\_ACEOF
48508 #define wxUSE_TOGGLEBTN 1
48509 _ACEOF
48510
48511 USES_CONTROLS=1
48512 fi
48513 fi
48514
48515 if test "$wxUSE_TOOLBAR" = "yes"; then
48516 cat >>confdefs.h <<\_ACEOF
48517 #define wxUSE_TOOLBAR 1
48518 _ACEOF
48519
48520 USES_CONTROLS=1
48521
48522 if test "$wxUSE_UNIVERSAL" = "yes"; then
48523 wxUSE_TOOLBAR_NATIVE="no"
48524 else
48525 wxUSE_TOOLBAR_NATIVE="yes"
48526 cat >>confdefs.h <<\_ACEOF
48527 #define wxUSE_TOOLBAR_NATIVE 1
48528 _ACEOF
48529
48530 fi
48531
48532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48533 fi
48534
48535 if test "$wxUSE_TOOLTIPS" = "yes"; then
48536 if test "$wxUSE_MOTIF" = 1; then
48537 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48538 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48539 else
48540 if test "$wxUSE_UNIVERSAL" = "yes"; then
48541 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48542 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48543 else
48544 cat >>confdefs.h <<\_ACEOF
48545 #define wxUSE_TOOLTIPS 1
48546 _ACEOF
48547
48548 fi
48549 fi
48550 fi
48551
48552 if test "$wxUSE_TREEBOOK" = "yes"; then
48553 cat >>confdefs.h <<\_ACEOF
48554 #define wxUSE_TREEBOOK 1
48555 _ACEOF
48556
48557 USES_CONTROLS=1
48558 fi
48559
48560 if test "$wxUSE_TOOLBOOK" = "yes"; then
48561 cat >>confdefs.h <<\_ACEOF
48562 #define wxUSE_TOOLBOOK 1
48563 _ACEOF
48564
48565 USES_CONTROLS=1
48566 fi
48567
48568 if test "$wxUSE_TREECTRL" = "yes"; then
48569 if test "$wxUSE_IMAGLIST" = "yes"; then
48570 cat >>confdefs.h <<\_ACEOF
48571 #define wxUSE_TREECTRL 1
48572 _ACEOF
48573
48574 USES_CONTROLS=1
48575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48576 else
48577 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48578 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48579 fi
48580 fi
48581
48582 if test "$wxUSE_POPUPWIN" = "yes"; then
48583 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48584 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48585 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48586 else
48587 if test "$wxUSE_PM" = 1; then
48588 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48589 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48590 else
48591 cat >>confdefs.h <<\_ACEOF
48592 #define wxUSE_POPUPWIN 1
48593 _ACEOF
48594
48595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48596
48597 USES_CONTROLS=1
48598 fi
48599 fi
48600 fi
48601
48602 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48603 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48604 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48605 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48606 else
48607 cat >>confdefs.h <<\_ACEOF
48608 #define wxUSE_DIALUP_MANAGER 1
48609 _ACEOF
48610
48611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48612 fi
48613 fi
48614
48615 if test "$wxUSE_TIPWINDOW" = "yes"; then
48616 if test "$wxUSE_PM" = 1; then
48617 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48618 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48619 else
48620 cat >>confdefs.h <<\_ACEOF
48621 #define wxUSE_TIPWINDOW 1
48622 _ACEOF
48623
48624 fi
48625 fi
48626
48627 if test "$USES_CONTROLS" = 1; then
48628 cat >>confdefs.h <<\_ACEOF
48629 #define wxUSE_CONTROLS 1
48630 _ACEOF
48631
48632 fi
48633
48634
48635 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48636 cat >>confdefs.h <<\_ACEOF
48637 #define wxUSE_ACCESSIBILITY 1
48638 _ACEOF
48639
48640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48641 fi
48642
48643 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48644 cat >>confdefs.h <<\_ACEOF
48645 #define wxUSE_DRAGIMAGE 1
48646 _ACEOF
48647
48648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48649 fi
48650
48651 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48652 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48653 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48654 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48655 else
48656 cat >>confdefs.h <<\_ACEOF
48657 #define wxUSE_EXCEPTIONS 1
48658 _ACEOF
48659
48660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48661 fi
48662 fi
48663
48664 USE_HTML=0
48665 if test "$wxUSE_HTML" = "yes"; then
48666 cat >>confdefs.h <<\_ACEOF
48667 #define wxUSE_HTML 1
48668 _ACEOF
48669
48670 USE_HTML=1
48671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48672 if test "$wxUSE_MAC" = 1; then
48673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48674 fi
48675 fi
48676 if test "$wxUSE_WEBKIT" = "yes"; then
48677 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48678 old_CPPFLAGS="$CPPFLAGS"
48679 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48680 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48681 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48682 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48683 echo $ECHO_N "(cached) $ECHO_C" >&6
48684 else
48685 cat >conftest.$ac_ext <<_ACEOF
48686 /* confdefs.h. */
48687 _ACEOF
48688 cat confdefs.h >>conftest.$ac_ext
48689 cat >>conftest.$ac_ext <<_ACEOF
48690 /* end confdefs.h. */
48691
48692 #include <Carbon/Carbon.h>
48693 #include <WebKit/WebKit.h>
48694
48695
48696 #include <WebKit/HIWebView.h>
48697 _ACEOF
48698 rm -f conftest.$ac_objext
48699 if { (ac_try="$ac_compile"
48700 case "(($ac_try" in
48701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48702 *) ac_try_echo=$ac_try;;
48703 esac
48704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48705 (eval "$ac_compile") 2>conftest.er1
48706 ac_status=$?
48707 grep -v '^ *+' conftest.er1 >conftest.err
48708 rm -f conftest.er1
48709 cat conftest.err >&5
48710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48711 (exit $ac_status); } && {
48712 test -z "$ac_c_werror_flag" ||
48713 test ! -s conftest.err
48714 } && test -s conftest.$ac_objext; then
48715 ac_cv_header_WebKit_HIWebView_h=yes
48716 else
48717 echo "$as_me: failed program was:" >&5
48718 sed 's/^/| /' conftest.$ac_ext >&5
48719
48720 ac_cv_header_WebKit_HIWebView_h=no
48721 fi
48722
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48724 fi
48725 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48726 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48727 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48728
48729 cat >>confdefs.h <<\_ACEOF
48730 #define wxUSE_WEBKIT 1
48731 _ACEOF
48732
48733 WEBKIT_LINK="-framework WebKit"
48734
48735 else
48736
48737 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48738 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48739 wxUSE_WEBKIT=no
48740
48741 fi
48742
48743
48744 CPPFLAGS="$old_CPPFLAGS"
48745 elif test "$wxUSE_COCOA" = 1; then
48746 cat >>confdefs.h <<\_ACEOF
48747 #define wxUSE_WEBKIT 1
48748 _ACEOF
48749
48750 else
48751 wxUSE_WEBKIT=no
48752 fi
48753 fi
48754
48755 USE_XRC=0
48756 if test "$wxUSE_XRC" = "yes"; then
48757 if test "$wxUSE_XML" != "yes"; then
48758 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48759 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48760 wxUSE_XRC=no
48761 else
48762 cat >>confdefs.h <<\_ACEOF
48763 #define wxUSE_XRC 1
48764 _ACEOF
48765
48766 USE_XRC=1
48767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48768 fi
48769 fi
48770
48771 USE_AUI=0
48772 if test "$wxUSE_AUI" = "yes"; then
48773 cat >>confdefs.h <<\_ACEOF
48774 #define wxUSE_AUI 1
48775 _ACEOF
48776
48777 USE_AUI=1
48778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48779 fi
48780
48781 USE_STC=0
48782 if test "$wxUSE_STC" = "yes"; then
48783 cat >>confdefs.h <<\_ACEOF
48784 #define wxUSE_STC 1
48785 _ACEOF
48786
48787 USE_STC=1
48788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48789 fi
48790
48791 if test "$wxUSE_MENUS" = "yes"; then
48792 cat >>confdefs.h <<\_ACEOF
48793 #define wxUSE_MENUS 1
48794 _ACEOF
48795
48796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48797 fi
48798
48799 if test "$wxUSE_METAFILE" = "yes"; then
48800 cat >>confdefs.h <<\_ACEOF
48801 #define wxUSE_METAFILE 1
48802 _ACEOF
48803
48804 fi
48805
48806 if test "$wxUSE_MIMETYPE" = "yes"; then
48807 cat >>confdefs.h <<\_ACEOF
48808 #define wxUSE_MIMETYPE 1
48809 _ACEOF
48810
48811 fi
48812
48813 if test "$wxUSE_MINIFRAME" = "yes"; then
48814 cat >>confdefs.h <<\_ACEOF
48815 #define wxUSE_MINIFRAME 1
48816 _ACEOF
48817
48818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48819 fi
48820
48821 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48822 cat >>confdefs.h <<\_ACEOF
48823 #define wxUSE_SYSTEM_OPTIONS 1
48824 _ACEOF
48825
48826 fi
48827
48828 if test "$wxUSE_TASKBARICON" = "yes"; then
48829 cat >>confdefs.h <<\_ACEOF
48830 #define wxUSE_TASKBARICON 1
48831 _ACEOF
48832
48833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48834 fi
48835
48836
48837 if test "$wxUSE_VALIDATORS" = "yes"; then
48838 cat >>confdefs.h <<\_ACEOF
48839 #define wxUSE_VALIDATORS 1
48840 _ACEOF
48841
48842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48843 fi
48844
48845 if test "$wxUSE_PALETTE" = "yes" ; then
48846 if test "$wxUSE_DFB" = 1; then
48847 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48848 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48849 wxUSE_PALETTE=no
48850 else
48851 cat >>confdefs.h <<\_ACEOF
48852 #define wxUSE_PALETTE 1
48853 _ACEOF
48854
48855 fi
48856 fi
48857
48858 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48859 LIBS=" -lunicows $LIBS"
48860 fi
48861
48862 USE_RICHTEXT=0
48863 if test "$wxUSE_RICHTEXT" = "yes"; then
48864 cat >>confdefs.h <<\_ACEOF
48865 #define wxUSE_RICHTEXT 1
48866 _ACEOF
48867
48868 USE_RICHTEXT=1
48869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48870 fi
48871
48872
48873 if test "$wxUSE_IMAGE" = "yes" ; then
48874 cat >>confdefs.h <<\_ACEOF
48875 #define wxUSE_IMAGE 1
48876 _ACEOF
48877
48878
48879 if test "$wxUSE_GIF" = "yes" ; then
48880 cat >>confdefs.h <<\_ACEOF
48881 #define wxUSE_GIF 1
48882 _ACEOF
48883
48884 fi
48885
48886 if test "$wxUSE_PCX" = "yes" ; then
48887 cat >>confdefs.h <<\_ACEOF
48888 #define wxUSE_PCX 1
48889 _ACEOF
48890
48891 fi
48892
48893 if test "$wxUSE_TGA" = "yes" ; then
48894 cat >>confdefs.h <<\_ACEOF
48895 #define wxUSE_TGA 1
48896 _ACEOF
48897
48898 fi
48899
48900 if test "$wxUSE_IFF" = "yes" ; then
48901 cat >>confdefs.h <<\_ACEOF
48902 #define wxUSE_IFF 1
48903 _ACEOF
48904
48905 fi
48906
48907 if test "$wxUSE_PNM" = "yes" ; then
48908 cat >>confdefs.h <<\_ACEOF
48909 #define wxUSE_PNM 1
48910 _ACEOF
48911
48912 fi
48913
48914 if test "$wxUSE_XPM" = "yes" ; then
48915 cat >>confdefs.h <<\_ACEOF
48916 #define wxUSE_XPM 1
48917 _ACEOF
48918
48919 fi
48920
48921 if test "$wxUSE_ICO_CUR" = "yes" ; then
48922 cat >>confdefs.h <<\_ACEOF
48923 #define wxUSE_ICO_CUR 1
48924 _ACEOF
48925
48926 fi
48927 fi
48928
48929
48930 if test "$wxUSE_ABOUTDLG" = "yes"; then
48931 cat >>confdefs.h <<\_ACEOF
48932 #define wxUSE_ABOUTDLG 1
48933 _ACEOF
48934
48935 fi
48936
48937 if test "$wxUSE_CHOICEDLG" = "yes"; then
48938 cat >>confdefs.h <<\_ACEOF
48939 #define wxUSE_CHOICEDLG 1
48940 _ACEOF
48941
48942 fi
48943
48944 if test "$wxUSE_COLOURDLG" = "yes"; then
48945 cat >>confdefs.h <<\_ACEOF
48946 #define wxUSE_COLOURDLG 1
48947 _ACEOF
48948
48949 fi
48950
48951 if test "$wxUSE_FILEDLG" = "yes"; then
48952 cat >>confdefs.h <<\_ACEOF
48953 #define wxUSE_FILEDLG 1
48954 _ACEOF
48955
48956 fi
48957
48958 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48959 cat >>confdefs.h <<\_ACEOF
48960 #define wxUSE_FINDREPLDLG 1
48961 _ACEOF
48962
48963 fi
48964
48965 if test "$wxUSE_FONTDLG" = "yes"; then
48966 cat >>confdefs.h <<\_ACEOF
48967 #define wxUSE_FONTDLG 1
48968 _ACEOF
48969
48970 fi
48971
48972 if test "$wxUSE_DIRDLG" = "yes"; then
48973 if test "$wxUSE_TREECTRL" != "yes"; then
48974 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48975 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48976 else
48977 cat >>confdefs.h <<\_ACEOF
48978 #define wxUSE_DIRDLG 1
48979 _ACEOF
48980
48981 fi
48982 fi
48983
48984 if test "$wxUSE_MSGDLG" = "yes"; then
48985 cat >>confdefs.h <<\_ACEOF
48986 #define wxUSE_MSGDLG 1
48987 _ACEOF
48988
48989 fi
48990
48991 if test "$wxUSE_NUMBERDLG" = "yes"; then
48992 cat >>confdefs.h <<\_ACEOF
48993 #define wxUSE_NUMBERDLG 1
48994 _ACEOF
48995
48996 fi
48997
48998 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48999 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49000 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49001 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49002 else
49003 cat >>confdefs.h <<\_ACEOF
49004 #define wxUSE_PROGRESSDLG 1
49005 _ACEOF
49006
49007 fi
49008 fi
49009
49010 if test "$wxUSE_SPLASH" = "yes"; then
49011 cat >>confdefs.h <<\_ACEOF
49012 #define wxUSE_SPLASH 1
49013 _ACEOF
49014
49015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
49016 fi
49017
49018 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49019 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49020 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49021 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49022 else
49023 cat >>confdefs.h <<\_ACEOF
49024 #define wxUSE_STARTUP_TIPS 1
49025 _ACEOF
49026
49027 fi
49028 fi
49029
49030 if test "$wxUSE_TEXTDLG" = "yes"; then
49031 cat >>confdefs.h <<\_ACEOF
49032 #define wxUSE_TEXTDLG 1
49033 _ACEOF
49034
49035 fi
49036
49037 if test "$wxUSE_WIZARDDLG" = "yes"; then
49038 cat >>confdefs.h <<\_ACEOF
49039 #define wxUSE_WIZARDDLG 1
49040 _ACEOF
49041
49042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
49043 fi
49044
49045
49046 if test "$wxUSE_MSW" = 1 ; then
49047
49048 if test "$wxUSE_DC_CACHEING" = "yes"; then
49049 cat >>confdefs.h <<\_ACEOF
49050 #define wxUSE_DC_CACHEING 1
49051 _ACEOF
49052
49053 fi
49054
49055 if test "$wxUSE_DIB" = "yes"; then
49056 cat >>confdefs.h <<\_ACEOF
49057 #define wxUSE_WXDIB 1
49058 _ACEOF
49059
49060 fi
49061
49062 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49063 cat >>confdefs.h <<\_ACEOF
49064 #define wxUSE_OWNER_DRAWN 1
49065 _ACEOF
49066
49067 fi
49068
49069 if test "$wxUSE_REGKEY" = "yes"; then
49070 cat >>confdefs.h <<\_ACEOF
49071 #define wxUSE_REGKEY 1
49072 _ACEOF
49073
49074 fi
49075
49076 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49077 cat >>confdefs.h <<\_ACEOF
49078 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49079 _ACEOF
49080
49081 fi
49082
49083 if test "$wxUSE_UXTHEME" = "yes"; then
49084 cat >>confdefs.h <<\_ACEOF
49085 #define wxUSE_UXTHEME 1
49086 _ACEOF
49087
49088 fi
49089
49090 fi
49091
49092
49093 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49094 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49095 cat >>confdefs.h <<\_ACEOF
49096 #define wxUSE_GRAPHICS_CONTEXT 1
49097 _ACEOF
49098
49099 elif test "$wxUSE_GTK" != 1; then
49100 cat >>confdefs.h <<\_ACEOF
49101 #define wxUSE_GRAPHICS_CONTEXT 1
49102 _ACEOF
49103
49104 else
49105
49106 pkg_failed=no
49107 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49108 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49109
49110 if test -n "$PKG_CONFIG"; then
49111 if test -n "$CAIRO_CFLAGS"; then
49112 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49113 else
49114 if test -n "$PKG_CONFIG" && \
49115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49116 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49117 ac_status=$?
49118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49119 (exit $ac_status); }; then
49120 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49121 else
49122 pkg_failed=yes
49123 fi
49124 fi
49125 else
49126 pkg_failed=untried
49127 fi
49128 if test -n "$PKG_CONFIG"; then
49129 if test -n "$CAIRO_LIBS"; then
49130 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49131 else
49132 if test -n "$PKG_CONFIG" && \
49133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49134 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49135 ac_status=$?
49136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49137 (exit $ac_status); }; then
49138 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49139 else
49140 pkg_failed=yes
49141 fi
49142 fi
49143 else
49144 pkg_failed=untried
49145 fi
49146
49147
49148
49149 if test $pkg_failed = yes; then
49150
49151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49152 _pkg_short_errors_supported=yes
49153 else
49154 _pkg_short_errors_supported=no
49155 fi
49156 if test $_pkg_short_errors_supported = yes; then
49157 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49158 else
49159 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49160 fi
49161 # Put the nasty error message in config.log where it belongs
49162 echo "$CAIRO_PKG_ERRORS" >&5
49163
49164 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49165 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49166
49167 elif test $pkg_failed = untried; then
49168 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49169 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49170
49171 else
49172 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49173 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49174 { echo "$as_me:$LINENO: result: yes" >&5
49175 echo "${ECHO_T}yes" >&6; }
49176 cat >>confdefs.h <<\_ACEOF
49177 #define wxUSE_GRAPHICS_CONTEXT 1
49178 _ACEOF
49179
49180 fi
49181 fi
49182 fi
49183
49184
49185 USE_MEDIA=0
49186
49187 if test "$wxUSE_MEDIACTRL" = "yes"; then
49188 USE_MEDIA=1
49189
49190 if test "$wxUSE_GTK" = 1; then
49191 wxUSE_GSTREAMER="no"
49192
49193 GST_VERSION_MAJOR=0
49194 GST_VERSION_MINOR=10
49195 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49196
49197 if test "$wxUSE_GSTREAMER8" = "no"; then
49198
49199 pkg_failed=no
49200 { echo "$as_me:$LINENO: checking for GST" >&5
49201 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49202
49203 if test -n "$PKG_CONFIG"; then
49204 if test -n "$GST_CFLAGS"; then
49205 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49206 else
49207 if test -n "$PKG_CONFIG" && \
49208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49209 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49210 ac_status=$?
49211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49212 (exit $ac_status); }; then
49213 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49214 else
49215 pkg_failed=yes
49216 fi
49217 fi
49218 else
49219 pkg_failed=untried
49220 fi
49221 if test -n "$PKG_CONFIG"; then
49222 if test -n "$GST_LIBS"; then
49223 pkg_cv_GST_LIBS="$GST_LIBS"
49224 else
49225 if test -n "$PKG_CONFIG" && \
49226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49227 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49228 ac_status=$?
49229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49230 (exit $ac_status); }; then
49231 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49232 else
49233 pkg_failed=yes
49234 fi
49235 fi
49236 else
49237 pkg_failed=untried
49238 fi
49239
49240
49241
49242 if test $pkg_failed = yes; then
49243
49244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49245 _pkg_short_errors_supported=yes
49246 else
49247 _pkg_short_errors_supported=no
49248 fi
49249 if test $_pkg_short_errors_supported = yes; then
49250 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49251 else
49252 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49253 fi
49254 # Put the nasty error message in config.log where it belongs
49255 echo "$GST_PKG_ERRORS" >&5
49256
49257
49258 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49259 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49260 GST_VERSION_MINOR=8
49261
49262
49263 elif test $pkg_failed = untried; then
49264
49265 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49266 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49267 GST_VERSION_MINOR=8
49268
49269
49270 else
49271 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49272 GST_LIBS=$pkg_cv_GST_LIBS
49273 { echo "$as_me:$LINENO: result: yes" >&5
49274 echo "${ECHO_T}yes" >&6; }
49275
49276 wxUSE_GSTREAMER="yes"
49277 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49278
49279 fi
49280 else
49281 GST_VERSION_MINOR=8
49282 fi
49283
49284 if test $GST_VERSION_MINOR = "8"; then
49285 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49286
49287 pkg_failed=no
49288 { echo "$as_me:$LINENO: checking for GST" >&5
49289 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49290
49291 if test -n "$PKG_CONFIG"; then
49292 if test -n "$GST_CFLAGS"; then
49293 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49294 else
49295 if test -n "$PKG_CONFIG" && \
49296 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49297 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49298 ac_status=$?
49299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49300 (exit $ac_status); }; then
49301 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49302 else
49303 pkg_failed=yes
49304 fi
49305 fi
49306 else
49307 pkg_failed=untried
49308 fi
49309 if test -n "$PKG_CONFIG"; then
49310 if test -n "$GST_LIBS"; then
49311 pkg_cv_GST_LIBS="$GST_LIBS"
49312 else
49313 if test -n "$PKG_CONFIG" && \
49314 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49315 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49316 ac_status=$?
49317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49318 (exit $ac_status); }; then
49319 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49320 else
49321 pkg_failed=yes
49322 fi
49323 fi
49324 else
49325 pkg_failed=untried
49326 fi
49327
49328
49329
49330 if test $pkg_failed = yes; then
49331
49332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49333 _pkg_short_errors_supported=yes
49334 else
49335 _pkg_short_errors_supported=no
49336 fi
49337 if test $_pkg_short_errors_supported = yes; then
49338 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49339 else
49340 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49341 fi
49342 # Put the nasty error message in config.log where it belongs
49343 echo "$GST_PKG_ERRORS" >&5
49344
49345
49346 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49347 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49348
49349 elif test $pkg_failed = untried; then
49350
49351 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49352 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49353
49354 else
49355 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49356 GST_LIBS=$pkg_cv_GST_LIBS
49357 { echo "$as_me:$LINENO: result: yes" >&5
49358 echo "${ECHO_T}yes" >&6; }
49359 wxUSE_GSTREAMER="yes"
49360 fi
49361 fi
49362
49363
49364 if test "$wxUSE_GSTREAMER" = "yes"; then
49365 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49366 LIBS="$GST_LIBS $LIBS"
49367
49368 cat >>confdefs.h <<\_ACEOF
49369 #define wxUSE_GSTREAMER 1
49370 _ACEOF
49371
49372 else
49373 USE_MEDIA=0
49374 fi
49375 fi
49376
49377 if test $USE_MEDIA = 1; then
49378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49379 cat >>confdefs.h <<\_ACEOF
49380 #define wxUSE_MEDIACTRL 1
49381 _ACEOF
49382
49383 fi
49384 fi
49385
49386
49387 if test "$cross_compiling" = "yes"; then
49388 OSINFO="\"$host\""
49389 else
49390 OSINFO=`uname -s -r -m`
49391 OSINFO="\"$OSINFO\""
49392 fi
49393
49394 cat >>confdefs.h <<_ACEOF
49395 #define WXWIN_OS_DESCRIPTION $OSINFO
49396 _ACEOF
49397
49398
49399
49400 if test "x$prefix" != "xNONE"; then
49401 wxPREFIX=$prefix
49402 else
49403 wxPREFIX=$ac_default_prefix
49404 fi
49405
49406 cat >>confdefs.h <<_ACEOF
49407 #define wxINSTALL_PREFIX "$wxPREFIX"
49408 _ACEOF
49409
49410
49411
49412
49413 STD_BASE_LIBS="base"
49414 STD_GUI_LIBS=""
49415 BUILT_WX_LIBS="base"
49416 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49417
49418 if test "$wxUSE_SOCKETS" = "yes" ; then
49419 STD_BASE_LIBS="net $STD_BASE_LIBS"
49420 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49421 fi
49422 if test "$wxUSE_ODBC" != "no" ; then
49423 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49424 fi
49425 if test "$wxUSE_XML" = "yes" ; then
49426 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49427 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49428 fi
49429
49430 if test "$wxUSE_GUI" = "yes"; then
49431 STD_GUI_LIBS="adv core"
49432 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49433
49434 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49435 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49436 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49437 fi
49438 if test "$wxUSE_ODBC" != "no" ; then
49439 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49440 fi
49441 if test "$wxUSE_HTML" = "yes" ; then
49442 STD_GUI_LIBS="html $STD_GUI_LIBS"
49443 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49444 fi
49445 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49446 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49447 fi
49448 if test "$wxUSE_OPENGL" = "yes" ; then
49449 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49450 fi
49451 if test "$wxUSE_AUI" = "yes" ; then
49452 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49453 fi
49454 if test "$wxUSE_STC" = "yes" ; then
49455 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49456 fi
49457 if test "$wxUSE_XRC" = "yes" ; then
49458 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49459 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49460 fi
49461 fi
49462
49463
49464
49465
49466
49467
49468
49469
49470 if test "$wxUSE_MAC" = 1 ; then
49471 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49472 if test "$USE_DARWIN" = 1; then
49473 LDFLAGS="$LDFLAGS -framework QuickTime"
49474 else
49475 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49476 fi
49477 fi
49478 if test "$USE_DARWIN" = 1; then
49479 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49480 else
49481 LDFLAGS="$LDFLAGS -lCarbonLib"
49482 fi
49483 fi
49484 if test "$wxUSE_COCOA" = 1 ; then
49485 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49486 if test "$wxUSE_MEDIACTRL" = "yes"; then
49487 LDFLAGS="$LDFLAGS -framework QuickTime"
49488 fi
49489 fi
49490 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49491 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49492 fi
49493
49494 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49495
49496 if test "$wxUSE_GUI" = "yes"; then
49497
49498
49499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49500 dynamic erase event exec font image minimal mobile \
49501 mobile/wxedit mobile/styles propsize render \
49502 rotate shaped svg taborder vscroll widgets"
49503
49504 if test "$wxUSE_MONOLITHIC" != "yes"; then
49505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49506 fi
49507 if test "$TOOLKIT" = "MSW"; then
49508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49509 if test "$wxUSE_UNIVERSAL" != "yes"; then
49510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49511 fi
49512 fi
49513 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49515 fi
49516 else
49517 SAMPLES_SUBDIRS="console"
49518 fi
49519
49520
49521 if test "x$INTELCC" = "xyes" ; then
49522 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49523 elif test "$GCC" = yes ; then
49524 CWARNINGS="-Wall -Wundef"
49525 fi
49526
49527 if test "x$INTELCXX" = "xyes" ; then
49528 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49529 elif test "$GXX" = yes ; then
49530 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49531 fi
49532
49533
49534 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49535 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49536
49537
49538 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49539 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49540 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49541 $CPPFLAGS `
49542
49543 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49544 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49545 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49546
49547 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49548
49549
49550 if test "x$MWCC" = "xyes"; then
49551
49552 CC="$CC -cwd source -I-"
49553 CXX="$CXX -cwd source -I-"
49554 fi
49555
49556
49557 LIBS=`echo $LIBS`
49558 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49559 EXTRALIBS_XML="$EXPAT_LINK"
49560 EXTRALIBS_HTML="$MSPACK_LINK"
49561 EXTRALIBS_ODBC="$ODBC_LINK"
49562 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49563 if test "$wxUSE_GUI" = "yes"; then
49564 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49565 fi
49566 if test "$wxUSE_OPENGL" = "yes"; then
49567 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49568 fi
49569
49570 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49571
49572 WXCONFIG_LIBS="$LIBS"
49573
49574 if test "$wxUSE_REGEX" = "builtin" ; then
49575 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49576 fi
49577 if test "$wxUSE_EXPAT" = "builtin" ; then
49578 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49579 fi
49580 if test "$wxUSE_ODBC" = "builtin" ; then
49581 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49582 fi
49583 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49584 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49585 fi
49586 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49587 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49588 fi
49589 if test "$wxUSE_LIBPNG" = "builtin" ; then
49590 wxconfig_3rdparty="png $wxconfig_3rdparty"
49591 fi
49592 if test "$wxUSE_ZLIB" = "builtin" ; then
49593 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49594 fi
49595
49596 for i in $wxconfig_3rdparty ; do
49597 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49598 done
49599
49600
49601 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49602 WXUNIV=1
49603
49604 case "$wxUNIV_THEMES" in
49605 ''|all)
49606 cat >>confdefs.h <<\_ACEOF
49607 #define wxUSE_ALL_THEMES 1
49608 _ACEOF
49609
49610 ;;
49611
49612 *)
49613 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49614 cat >>confdefs.h <<_ACEOF
49615 #define wxUSE_THEME_$t 1
49616 _ACEOF
49617
49618 done
49619 esac
49620 else
49621 WXUNIV=0
49622 fi
49623
49624
49625
49626
49627
49628
49629
49630
49631
49632 if test $wxUSE_MONOLITHIC = "yes" ; then
49633 MONOLITHIC=1
49634 else
49635 MONOLITHIC=0
49636 fi
49637
49638 if test $wxUSE_PLUGINS = "yes" ; then
49639 USE_PLUGINS=1
49640 else
49641 USE_PLUGINS=0
49642 fi
49643
49644 if test $wxUSE_ODBC != "no" ; then
49645 USE_ODBC=1
49646 else
49647 USE_ODBC=0
49648 fi
49649
49650 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49651 USE_QA=1
49652 else
49653 USE_QA=0
49654 fi
49655
49656 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49657 OFFICIAL_BUILD=1
49658 else
49659 OFFICIAL_BUILD=0
49660 fi
49661
49662
49663
49664
49665
49666
49667
49668
49669
49670
49671
49672
49673
49674
49675
49676
49677
49678
49679
49680
49681
49682
49683
49684
49685
49686
49687 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49688
49689
49690
49691
49692
49693
49694
49695
49696 case "$TOOLKIT" in
49697 GTK)
49698 TOOLKIT_DESC="GTK+"
49699 if test "$WXGTK20" = 1; then
49700 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49701 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49702 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49703 fi
49704 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49705 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49706 fi
49707 if test "$wxUSE_LIBHILDON" = "yes"; then
49708 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49709 fi
49710
49711 if test "$TOOLKIT_EXTRA" != ""; then
49712 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49713 fi
49714 fi
49715 ;;
49716
49717 ?*)
49718 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49719 ;;
49720
49721 *)
49722 TOOLKIT_DESC="base only"
49723 ;;
49724 esac
49725
49726 if test "$wxUSE_WINE" = "yes"; then
49727 BAKEFILE_FORCE_PLATFORM=win32
49728 fi
49729
49730 if test "$wxUSE_MAC" = 1 ; then
49731 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49732 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49733 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49734 else
49735 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49736 fi
49737 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49738 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49739 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49740 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49741 bk_use_pch=no
49742 fi
49743 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49744 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49745 fi
49746
49747 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49748 then
49749 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49750 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49751 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49752 echo $ECHO_N "(cached) $ECHO_C" >&6
49753 else
49754
49755 echo '#include <stdio.h>
49756 const wchar_t test_var[] = L"awidetest";' > conftest.h
49757
49758 echo '#include "conftest.h"
49759 int main()
49760 {
49761 printf("%ls", test_var);
49762 return 0;
49763 }' > conftest.cpp
49764
49765 wx_cv_gcc_pch_bug="pch not supported"
49766
49767 if $CXX conftest.h >/dev/null 2>&1
49768 then
49769 wx_cv_gcc_pch_bug=
49770
49771 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49772 then
49773 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49774 grep awidetest >/dev/null
49775 then
49776 wx_cv_gcc_pch_bug=no
49777 else
49778 wx_cv_gcc_pch_bug=yes
49779 fi
49780 fi
49781 fi
49782
49783 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49784
49785 fi
49786 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49787 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49788
49789 if test "$wx_cv_gcc_pch_bug" = yes; then
49790 bk_use_pch=no
49791 fi
49792 fi
49793
49794
49795
49796
49797 if test "x$BAKEFILE_HOST" = "x"; then
49798 if test "x${host}" = "x" ; then
49799 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49800 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49801 { (exit 1); exit 1; }; }
49802 fi
49803
49804 BAKEFILE_HOST="${host}"
49805 fi
49806
49807 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49808
49809 if test -n "$ac_tool_prefix"; then
49810 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49811 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49814 if test "${ac_cv_prog_RANLIB+set}" = set; then
49815 echo $ECHO_N "(cached) $ECHO_C" >&6
49816 else
49817 if test -n "$RANLIB"; then
49818 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49819 else
49820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49821 for as_dir in $PATH
49822 do
49823 IFS=$as_save_IFS
49824 test -z "$as_dir" && as_dir=.
49825 for ac_exec_ext in '' $ac_executable_extensions; do
49826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49827 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49829 break 2
49830 fi
49831 done
49832 done
49833 IFS=$as_save_IFS
49834
49835 fi
49836 fi
49837 RANLIB=$ac_cv_prog_RANLIB
49838 if test -n "$RANLIB"; then
49839 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49840 echo "${ECHO_T}$RANLIB" >&6; }
49841 else
49842 { echo "$as_me:$LINENO: result: no" >&5
49843 echo "${ECHO_T}no" >&6; }
49844 fi
49845
49846
49847 fi
49848 if test -z "$ac_cv_prog_RANLIB"; then
49849 ac_ct_RANLIB=$RANLIB
49850 # Extract the first word of "ranlib", so it can be a program name with args.
49851 set dummy ranlib; ac_word=$2
49852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49854 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49855 echo $ECHO_N "(cached) $ECHO_C" >&6
49856 else
49857 if test -n "$ac_ct_RANLIB"; then
49858 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49859 else
49860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49861 for as_dir in $PATH
49862 do
49863 IFS=$as_save_IFS
49864 test -z "$as_dir" && as_dir=.
49865 for ac_exec_ext in '' $ac_executable_extensions; do
49866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49867 ac_cv_prog_ac_ct_RANLIB="ranlib"
49868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49869 break 2
49870 fi
49871 done
49872 done
49873 IFS=$as_save_IFS
49874
49875 fi
49876 fi
49877 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49878 if test -n "$ac_ct_RANLIB"; then
49879 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49880 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49881 else
49882 { echo "$as_me:$LINENO: result: no" >&5
49883 echo "${ECHO_T}no" >&6; }
49884 fi
49885
49886 if test "x$ac_ct_RANLIB" = x; then
49887 RANLIB=":"
49888 else
49889 case $cross_compiling:$ac_tool_warned in
49890 yes:)
49891 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49892 whose name does not start with the host triplet. If you think this
49893 configuration is useful to you, please write to autoconf@gnu.org." >&5
49894 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49895 whose name does not start with the host triplet. If you think this
49896 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49897 ac_tool_warned=yes ;;
49898 esac
49899 RANLIB=$ac_ct_RANLIB
49900 fi
49901 else
49902 RANLIB="$ac_cv_prog_RANLIB"
49903 fi
49904
49905 # Find a good install program. We prefer a C program (faster),
49906 # so one script is as good as another. But avoid the broken or
49907 # incompatible versions:
49908 # SysV /etc/install, /usr/sbin/install
49909 # SunOS /usr/etc/install
49910 # IRIX /sbin/install
49911 # AIX /bin/install
49912 # AmigaOS /C/install, which installs bootblocks on floppy discs
49913 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49914 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49915 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49916 # OS/2's system install, which has a completely different semantic
49917 # ./install, which can be erroneously created by make from ./install.sh.
49918 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49919 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49920 if test -z "$INSTALL"; then
49921 if test "${ac_cv_path_install+set}" = set; then
49922 echo $ECHO_N "(cached) $ECHO_C" >&6
49923 else
49924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49925 for as_dir in $PATH
49926 do
49927 IFS=$as_save_IFS
49928 test -z "$as_dir" && as_dir=.
49929 # Account for people who put trailing slashes in PATH elements.
49930 case $as_dir/ in
49931 ./ | .// | /cC/* | \
49932 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49933 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49934 /usr/ucb/* ) ;;
49935 *)
49936 # OSF1 and SCO ODT 3.0 have their own names for install.
49937 # Don't use installbsd from OSF since it installs stuff as root
49938 # by default.
49939 for ac_prog in ginstall scoinst install; do
49940 for ac_exec_ext in '' $ac_executable_extensions; do
49941 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49942 if test $ac_prog = install &&
49943 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49944 # AIX install. It has an incompatible calling convention.
49945 :
49946 elif test $ac_prog = install &&
49947 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49948 # program-specific install script used by HP pwplus--don't use.
49949 :
49950 else
49951 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49952 break 3
49953 fi
49954 fi
49955 done
49956 done
49957 ;;
49958 esac
49959 done
49960 IFS=$as_save_IFS
49961
49962
49963 fi
49964 if test "${ac_cv_path_install+set}" = set; then
49965 INSTALL=$ac_cv_path_install
49966 else
49967 # As a last resort, use the slow shell script. Don't cache a
49968 # value for INSTALL within a source directory, because that will
49969 # break other packages using the cache if that directory is
49970 # removed, or if the value is a relative name.
49971 INSTALL=$ac_install_sh
49972 fi
49973 fi
49974 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49975 echo "${ECHO_T}$INSTALL" >&6; }
49976
49977 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49978 # It thinks the first close brace ends the variable substitution.
49979 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49980
49981 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49982
49983 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49984
49985 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49986 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49987 LN_S=$as_ln_s
49988 if test "$LN_S" = "ln -s"; then
49989 { echo "$as_me:$LINENO: result: yes" >&5
49990 echo "${ECHO_T}yes" >&6; }
49991 else
49992 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49993 echo "${ECHO_T}no, using $LN_S" >&6; }
49994 fi
49995
49996
49997 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49998 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49999 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50000 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50001 echo $ECHO_N "(cached) $ECHO_C" >&6
50002 else
50003 cat >conftest.make <<\_ACEOF
50004 SHELL = /bin/sh
50005 all:
50006 @echo '@@@%%%=$(MAKE)=@@@%%%'
50007 _ACEOF
50008 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50009 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50010 *@@@%%%=?*=@@@%%%*)
50011 eval ac_cv_prog_make_${ac_make}_set=yes;;
50012 *)
50013 eval ac_cv_prog_make_${ac_make}_set=no;;
50014 esac
50015 rm -f conftest.make
50016 fi
50017 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50018 { echo "$as_me:$LINENO: result: yes" >&5
50019 echo "${ECHO_T}yes" >&6; }
50020 SET_MAKE=
50021 else
50022 { echo "$as_me:$LINENO: result: no" >&5
50023 echo "${ECHO_T}no" >&6; }
50024 SET_MAKE="MAKE=${MAKE-make}"
50025 fi
50026
50027
50028
50029 if test "x$SUNCXX" = "xyes"; then
50030 AR=$CXX
50031 AROPTIONS="-xar -o"
50032
50033 elif test "x$SGICC" = "xyes"; then
50034 AR=$CXX
50035 AROPTIONS="-ar -o"
50036
50037 else
50038 if test -n "$ac_tool_prefix"; then
50039 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50040 set dummy ${ac_tool_prefix}ar; ac_word=$2
50041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50043 if test "${ac_cv_prog_AR+set}" = set; then
50044 echo $ECHO_N "(cached) $ECHO_C" >&6
50045 else
50046 if test -n "$AR"; then
50047 ac_cv_prog_AR="$AR" # Let the user override the test.
50048 else
50049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50050 for as_dir in $PATH
50051 do
50052 IFS=$as_save_IFS
50053 test -z "$as_dir" && as_dir=.
50054 for ac_exec_ext in '' $ac_executable_extensions; do
50055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50056 ac_cv_prog_AR="${ac_tool_prefix}ar"
50057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50058 break 2
50059 fi
50060 done
50061 done
50062 IFS=$as_save_IFS
50063
50064 fi
50065 fi
50066 AR=$ac_cv_prog_AR
50067 if test -n "$AR"; then
50068 { echo "$as_me:$LINENO: result: $AR" >&5
50069 echo "${ECHO_T}$AR" >&6; }
50070 else
50071 { echo "$as_me:$LINENO: result: no" >&5
50072 echo "${ECHO_T}no" >&6; }
50073 fi
50074
50075
50076 fi
50077 if test -z "$ac_cv_prog_AR"; then
50078 ac_ct_AR=$AR
50079 # Extract the first word of "ar", so it can be a program name with args.
50080 set dummy ar; ac_word=$2
50081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50083 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50084 echo $ECHO_N "(cached) $ECHO_C" >&6
50085 else
50086 if test -n "$ac_ct_AR"; then
50087 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50088 else
50089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50090 for as_dir in $PATH
50091 do
50092 IFS=$as_save_IFS
50093 test -z "$as_dir" && as_dir=.
50094 for ac_exec_ext in '' $ac_executable_extensions; do
50095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50096 ac_cv_prog_ac_ct_AR="ar"
50097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50098 break 2
50099 fi
50100 done
50101 done
50102 IFS=$as_save_IFS
50103
50104 fi
50105 fi
50106 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50107 if test -n "$ac_ct_AR"; then
50108 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50109 echo "${ECHO_T}$ac_ct_AR" >&6; }
50110 else
50111 { echo "$as_me:$LINENO: result: no" >&5
50112 echo "${ECHO_T}no" >&6; }
50113 fi
50114
50115 if test "x$ac_ct_AR" = x; then
50116 AR="ar"
50117 else
50118 case $cross_compiling:$ac_tool_warned in
50119 yes:)
50120 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50121 whose name does not start with the host triplet. If you think this
50122 configuration is useful to you, please write to autoconf@gnu.org." >&5
50123 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50124 whose name does not start with the host triplet. If you think this
50125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50126 ac_tool_warned=yes ;;
50127 esac
50128 AR=$ac_ct_AR
50129 fi
50130 else
50131 AR="$ac_cv_prog_AR"
50132 fi
50133
50134 AROPTIONS=rcu
50135 fi
50136
50137
50138 if test -n "$ac_tool_prefix"; then
50139 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50140 set dummy ${ac_tool_prefix}strip; ac_word=$2
50141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50143 if test "${ac_cv_prog_STRIP+set}" = set; then
50144 echo $ECHO_N "(cached) $ECHO_C" >&6
50145 else
50146 if test -n "$STRIP"; then
50147 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50148 else
50149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50150 for as_dir in $PATH
50151 do
50152 IFS=$as_save_IFS
50153 test -z "$as_dir" && as_dir=.
50154 for ac_exec_ext in '' $ac_executable_extensions; do
50155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50156 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50158 break 2
50159 fi
50160 done
50161 done
50162 IFS=$as_save_IFS
50163
50164 fi
50165 fi
50166 STRIP=$ac_cv_prog_STRIP
50167 if test -n "$STRIP"; then
50168 { echo "$as_me:$LINENO: result: $STRIP" >&5
50169 echo "${ECHO_T}$STRIP" >&6; }
50170 else
50171 { echo "$as_me:$LINENO: result: no" >&5
50172 echo "${ECHO_T}no" >&6; }
50173 fi
50174
50175
50176 fi
50177 if test -z "$ac_cv_prog_STRIP"; then
50178 ac_ct_STRIP=$STRIP
50179 # Extract the first word of "strip", so it can be a program name with args.
50180 set dummy strip; ac_word=$2
50181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50183 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50184 echo $ECHO_N "(cached) $ECHO_C" >&6
50185 else
50186 if test -n "$ac_ct_STRIP"; then
50187 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50188 else
50189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50190 for as_dir in $PATH
50191 do
50192 IFS=$as_save_IFS
50193 test -z "$as_dir" && as_dir=.
50194 for ac_exec_ext in '' $ac_executable_extensions; do
50195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50196 ac_cv_prog_ac_ct_STRIP="strip"
50197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50198 break 2
50199 fi
50200 done
50201 done
50202 IFS=$as_save_IFS
50203
50204 fi
50205 fi
50206 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50207 if test -n "$ac_ct_STRIP"; then
50208 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50209 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50210 else
50211 { echo "$as_me:$LINENO: result: no" >&5
50212 echo "${ECHO_T}no" >&6; }
50213 fi
50214
50215 if test "x$ac_ct_STRIP" = x; then
50216 STRIP=":"
50217 else
50218 case $cross_compiling:$ac_tool_warned in
50219 yes:)
50220 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50221 whose name does not start with the host triplet. If you think this
50222 configuration is useful to you, please write to autoconf@gnu.org." >&5
50223 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50224 whose name does not start with the host triplet. If you think this
50225 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50226 ac_tool_warned=yes ;;
50227 esac
50228 STRIP=$ac_ct_STRIP
50229 fi
50230 else
50231 STRIP="$ac_cv_prog_STRIP"
50232 fi
50233
50234 if test -n "$ac_tool_prefix"; then
50235 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50236 set dummy ${ac_tool_prefix}nm; ac_word=$2
50237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50239 if test "${ac_cv_prog_NM+set}" = set; then
50240 echo $ECHO_N "(cached) $ECHO_C" >&6
50241 else
50242 if test -n "$NM"; then
50243 ac_cv_prog_NM="$NM" # Let the user override the test.
50244 else
50245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50246 for as_dir in $PATH
50247 do
50248 IFS=$as_save_IFS
50249 test -z "$as_dir" && as_dir=.
50250 for ac_exec_ext in '' $ac_executable_extensions; do
50251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50252 ac_cv_prog_NM="${ac_tool_prefix}nm"
50253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50254 break 2
50255 fi
50256 done
50257 done
50258 IFS=$as_save_IFS
50259
50260 fi
50261 fi
50262 NM=$ac_cv_prog_NM
50263 if test -n "$NM"; then
50264 { echo "$as_me:$LINENO: result: $NM" >&5
50265 echo "${ECHO_T}$NM" >&6; }
50266 else
50267 { echo "$as_me:$LINENO: result: no" >&5
50268 echo "${ECHO_T}no" >&6; }
50269 fi
50270
50271
50272 fi
50273 if test -z "$ac_cv_prog_NM"; then
50274 ac_ct_NM=$NM
50275 # Extract the first word of "nm", so it can be a program name with args.
50276 set dummy nm; ac_word=$2
50277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50279 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50280 echo $ECHO_N "(cached) $ECHO_C" >&6
50281 else
50282 if test -n "$ac_ct_NM"; then
50283 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50284 else
50285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50286 for as_dir in $PATH
50287 do
50288 IFS=$as_save_IFS
50289 test -z "$as_dir" && as_dir=.
50290 for ac_exec_ext in '' $ac_executable_extensions; do
50291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50292 ac_cv_prog_ac_ct_NM="nm"
50293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50294 break 2
50295 fi
50296 done
50297 done
50298 IFS=$as_save_IFS
50299
50300 fi
50301 fi
50302 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50303 if test -n "$ac_ct_NM"; then
50304 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50305 echo "${ECHO_T}$ac_ct_NM" >&6; }
50306 else
50307 { echo "$as_me:$LINENO: result: no" >&5
50308 echo "${ECHO_T}no" >&6; }
50309 fi
50310
50311 if test "x$ac_ct_NM" = x; then
50312 NM=":"
50313 else
50314 case $cross_compiling:$ac_tool_warned in
50315 yes:)
50316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50317 whose name does not start with the host triplet. If you think this
50318 configuration is useful to you, please write to autoconf@gnu.org." >&5
50319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50320 whose name does not start with the host triplet. If you think this
50321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50322 ac_tool_warned=yes ;;
50323 esac
50324 NM=$ac_ct_NM
50325 fi
50326 else
50327 NM="$ac_cv_prog_NM"
50328 fi
50329
50330
50331 case ${BAKEFILE_HOST} in
50332 *-hp-hpux* )
50333 INSTALL_DIR="mkdir -p"
50334 ;;
50335 * )
50336 INSTALL_DIR='$(INSTALL) -d'
50337 ;;
50338 esac
50339
50340
50341 LDFLAGS_GUI=
50342 case ${BAKEFILE_HOST} in
50343 *-*-cygwin* | *-*-mingw32* )
50344 LDFLAGS_GUI="-mwindows"
50345 esac
50346
50347
50348 fi
50349
50350 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50351 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50352 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50353 echo $ECHO_N "(cached) $ECHO_C" >&6
50354 else
50355
50356 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50357 egrep -s GNU > /dev/null); then
50358 bakefile_cv_prog_makeisgnu="yes"
50359 else
50360 bakefile_cv_prog_makeisgnu="no"
50361 fi
50362
50363 fi
50364 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50365 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50366
50367 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50368 IF_GNU_MAKE=""
50369 else
50370 IF_GNU_MAKE="#"
50371 fi
50372
50373
50374
50375 PLATFORM_UNIX=0
50376 PLATFORM_WIN32=0
50377 PLATFORM_MSDOS=0
50378 PLATFORM_MAC=0
50379 PLATFORM_MACOS=0
50380 PLATFORM_MACOSX=0
50381 PLATFORM_OS2=0
50382 PLATFORM_BEOS=0
50383
50384 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50385 case "${BAKEFILE_HOST}" in
50386 *-*-mingw32* )
50387 PLATFORM_WIN32=1
50388 ;;
50389 *-pc-msdosdjgpp )
50390 PLATFORM_MSDOS=1
50391 ;;
50392 *-pc-os2_emx | *-pc-os2-emx )
50393 PLATFORM_OS2=1
50394 ;;
50395 *-*-darwin* )
50396 PLATFORM_MAC=1
50397 PLATFORM_MACOSX=1
50398 ;;
50399 *-*-beos* )
50400 PLATFORM_BEOS=1
50401 ;;
50402 powerpc-apple-macos* )
50403 PLATFORM_MAC=1
50404 PLATFORM_MACOS=1
50405 ;;
50406 * )
50407 PLATFORM_UNIX=1
50408 ;;
50409 esac
50410 else
50411 case "$BAKEFILE_FORCE_PLATFORM" in
50412 win32 )
50413 PLATFORM_WIN32=1
50414 ;;
50415 msdos )
50416 PLATFORM_MSDOS=1
50417 ;;
50418 os2 )
50419 PLATFORM_OS2=1
50420 ;;
50421 darwin )
50422 PLATFORM_MAC=1
50423 PLATFORM_MACOSX=1
50424 ;;
50425 unix )
50426 PLATFORM_UNIX=1
50427 ;;
50428 beos )
50429 PLATFORM_BEOS=1
50430 ;;
50431 * )
50432 ;;
50433 esac
50434 fi
50435
50436
50437
50438
50439
50440
50441
50442
50443
50444
50445
50446 # Check whether --enable-omf was given.
50447 if test "${enable_omf+set}" = set; then
50448 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50449 fi
50450
50451
50452 case "${BAKEFILE_HOST}" in
50453 *-*-darwin* )
50454 if test "x$GCC" = "xyes"; then
50455 CFLAGS="$CFLAGS -fno-common"
50456 CXXFLAGS="$CXXFLAGS -fno-common"
50457 fi
50458 if test "x$XLCC" = "xyes"; then
50459 CFLAGS="$CFLAGS -qnocommon"
50460 CXXFLAGS="$CXXFLAGS -qnocommon"
50461 fi
50462 ;;
50463
50464 *-pc-os2_emx | *-pc-os2-emx )
50465 if test "x$bk_os2_use_omf" = "xyes" ; then
50466 AR=emxomfar
50467 RANLIB=:
50468 LDFLAGS="-Zomf $LDFLAGS"
50469 CFLAGS="-Zomf $CFLAGS"
50470 CXXFLAGS="-Zomf $CXXFLAGS"
50471 OS2_LIBEXT="lib"
50472 else
50473 OS2_LIBEXT="a"
50474 fi
50475 ;;
50476
50477 i*86-*-beos* )
50478 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50479 ;;
50480 esac
50481
50482
50483 SO_SUFFIX="so"
50484 SO_SUFFIX_MODULE="so"
50485 EXEEXT=""
50486 LIBPREFIX="lib"
50487 LIBEXT=".a"
50488 DLLPREFIX="lib"
50489 DLLPREFIX_MODULE=""
50490 DLLIMP_SUFFIX=""
50491 dlldir="$libdir"
50492
50493 case "${BAKEFILE_HOST}" in
50494 *-hp-hpux* )
50495 SO_SUFFIX="sl"
50496 SO_SUFFIX_MODULE="sl"
50497 ;;
50498 *-*-aix* )
50499 SO_SUFFIX="a"
50500 SO_SUFFIX_MODULE="a"
50501 ;;
50502 *-*-cygwin* )
50503 SO_SUFFIX="dll"
50504 SO_SUFFIX_MODULE="dll"
50505 DLLIMP_SUFFIX="dll.a"
50506 EXEEXT=".exe"
50507 DLLPREFIX="cyg"
50508 dlldir="$bindir"
50509 ;;
50510 *-*-mingw32* )
50511 SO_SUFFIX="dll"
50512 SO_SUFFIX_MODULE="dll"
50513 DLLIMP_SUFFIX="dll.a"
50514 EXEEXT=".exe"
50515 DLLPREFIX=""
50516 dlldir="$bindir"
50517 ;;
50518 *-pc-msdosdjgpp )
50519 EXEEXT=".exe"
50520 DLLPREFIX=""
50521 dlldir="$bindir"
50522 ;;
50523 *-pc-os2_emx | *-pc-os2-emx )
50524 SO_SUFFIX="dll"
50525 SO_SUFFIX_MODULE="dll"
50526 DLLIMP_SUFFIX=$OS2_LIBEXT
50527 EXEEXT=".exe"
50528 DLLPREFIX=""
50529 LIBPREFIX=""
50530 LIBEXT=".$OS2_LIBEXT"
50531 dlldir="$bindir"
50532 ;;
50533 *-*-darwin* )
50534 SO_SUFFIX="dylib"
50535 SO_SUFFIX_MODULE="bundle"
50536 ;;
50537 esac
50538
50539 if test "x$DLLIMP_SUFFIX" = "x" ; then
50540 DLLIMP_SUFFIX="$SO_SUFFIX"
50541 fi
50542
50543
50544
50545
50546
50547
50548
50549
50550
50551
50552
50553
50554 PIC_FLAG=""
50555 if test "x$GCC" = "xyes"; then
50556 PIC_FLAG="-fPIC"
50557 fi
50558
50559 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50560 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50561 WINDOWS_IMPLIB=0
50562
50563 case "${BAKEFILE_HOST}" in
50564 *-hp-hpux* )
50565 if test "x$GCC" != "xyes"; then
50566 LDFLAGS="$LDFLAGS -L/usr/lib"
50567
50568 SHARED_LD_CC="${CC} -b -o"
50569 SHARED_LD_CXX="${CXX} -b -o"
50570 PIC_FLAG="+Z"
50571 fi
50572 ;;
50573
50574 *-*-linux* )
50575 if test "$INTELCC" = "yes"; then
50576 PIC_FLAG="-KPIC"
50577 elif test "x$SUNCXX" = "xyes"; then
50578 SHARED_LD_CC="${CC} -G -o"
50579 SHARED_LD_CXX="${CXX} -G -o"
50580 PIC_FLAG="-KPIC"
50581 fi
50582 ;;
50583
50584 *-*-solaris2* )
50585 if test "x$SUNCXX" = xyes ; then
50586 SHARED_LD_CC="${CC} -G -o"
50587 SHARED_LD_CXX="${CXX} -G -o"
50588 PIC_FLAG="-KPIC"
50589 fi
50590 ;;
50591
50592 *-*-darwin* )
50593
50594 D='$'
50595 cat <<EOF >shared-ld-sh
50596 #!/bin/sh
50597 #-----------------------------------------------------------------------------
50598 #-- Name: distrib/mac/shared-ld-sh
50599 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50600 #-- Author: Gilles Depeyrot
50601 #-- Copyright: (c) 2002 Gilles Depeyrot
50602 #-- Licence: any use permitted
50603 #-----------------------------------------------------------------------------
50604
50605 verbose=0
50606 args=""
50607 objects=""
50608 linking_flag="-dynamiclib"
50609 ldargs="-r -keep_private_externs -nostdlib"
50610
50611 while test ${D}# -gt 0; do
50612 case ${D}1 in
50613
50614 -v)
50615 verbose=1
50616 ;;
50617
50618 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50619 # collect these options and values
50620 args="${D}{args} ${D}1 ${D}2"
50621 shift
50622 ;;
50623
50624 -s|-Wl,*)
50625 # collect these load args
50626 ldargs="${D}{ldargs} ${D}1"
50627 ;;
50628
50629 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50630 # collect these options
50631 args="${D}{args} ${D}1"
50632 ;;
50633
50634 -dynamiclib|-bundle)
50635 linking_flag="${D}1"
50636 ;;
50637
50638 -*)
50639 echo "shared-ld: unhandled option '${D}1'"
50640 exit 1
50641 ;;
50642
50643 *.o | *.a | *.dylib)
50644 # collect object files
50645 objects="${D}{objects} ${D}1"
50646 ;;
50647
50648 *)
50649 echo "shared-ld: unhandled argument '${D}1'"
50650 exit 1
50651 ;;
50652
50653 esac
50654 shift
50655 done
50656
50657 status=0
50658
50659 #
50660 # Link one module containing all the others
50661 #
50662 if test ${D}{verbose} = 1; then
50663 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50664 fi
50665 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50666 status=${D}?
50667
50668 #
50669 # Link the shared library from the single module created, but only if the
50670 # previous command didn't fail:
50671 #
50672 if test ${D}{status} = 0; then
50673 if test ${D}{verbose} = 1; then
50674 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50675 fi
50676 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50677 status=${D}?
50678 fi
50679
50680 #
50681 # Remove intermediate module
50682 #
50683 rm -f master.${D}${D}.o
50684
50685 exit ${D}status
50686 EOF
50687
50688 chmod +x shared-ld-sh
50689
50690 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50691 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50692
50693
50694 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50695 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50696 if test "${bakefile_cv_gcc31+set}" = set; then
50697 echo $ECHO_N "(cached) $ECHO_C" >&6
50698 else
50699
50700 cat >conftest.$ac_ext <<_ACEOF
50701 /* confdefs.h. */
50702 _ACEOF
50703 cat confdefs.h >>conftest.$ac_ext
50704 cat >>conftest.$ac_ext <<_ACEOF
50705 /* end confdefs.h. */
50706
50707 int
50708 main ()
50709 {
50710
50711 #if (__GNUC__ < 3) || \
50712 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50713 This is old gcc
50714 #endif
50715
50716 ;
50717 return 0;
50718 }
50719 _ACEOF
50720 rm -f conftest.$ac_objext
50721 if { (ac_try="$ac_compile"
50722 case "(($ac_try" in
50723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50724 *) ac_try_echo=$ac_try;;
50725 esac
50726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50727 (eval "$ac_compile") 2>conftest.er1
50728 ac_status=$?
50729 grep -v '^ *+' conftest.er1 >conftest.err
50730 rm -f conftest.er1
50731 cat conftest.err >&5
50732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50733 (exit $ac_status); } && {
50734 test -z "$ac_c_werror_flag" ||
50735 test ! -s conftest.err
50736 } && test -s conftest.$ac_objext; then
50737
50738 bakefile_cv_gcc31=yes
50739
50740 else
50741 echo "$as_me: failed program was:" >&5
50742 sed 's/^/| /' conftest.$ac_ext >&5
50743
50744
50745 bakefile_cv_gcc31=no
50746
50747
50748 fi
50749
50750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50751
50752 fi
50753 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50754 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50755 if test "$bakefile_cv_gcc31" = "no"; then
50756 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50757 SHARED_LD_CXX="$SHARED_LD_CC"
50758 else
50759 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50760 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50761 fi
50762
50763 if test "x$GCC" == "xyes"; then
50764 PIC_FLAG="-dynamic -fPIC"
50765 fi
50766 if test "x$XLCC" = "xyes"; then
50767 PIC_FLAG="-dynamic -DPIC"
50768 fi
50769 ;;
50770
50771 *-*-aix* )
50772 if test "x$GCC" = "xyes"; then
50773 PIC_FLAG=""
50774
50775 case "${BAKEFILE_HOST}" in
50776 *-*-aix5* )
50777 LD_EXPFULL="-Wl,-bexpfull"
50778 ;;
50779 esac
50780
50781 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50782 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50783 else
50784 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50785 set dummy makeC++SharedLib; ac_word=$2
50786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50788 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50789 echo $ECHO_N "(cached) $ECHO_C" >&6
50790 else
50791 if test -n "$AIX_CXX_LD"; then
50792 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50793 else
50794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50795 for as_dir in $PATH
50796 do
50797 IFS=$as_save_IFS
50798 test -z "$as_dir" && as_dir=.
50799 for ac_exec_ext in '' $ac_executable_extensions; do
50800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50801 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50803 break 2
50804 fi
50805 done
50806 done
50807 IFS=$as_save_IFS
50808
50809 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50810 fi
50811 fi
50812 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50813 if test -n "$AIX_CXX_LD"; then
50814 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50815 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50816 else
50817 { echo "$as_me:$LINENO: result: no" >&5
50818 echo "${ECHO_T}no" >&6; }
50819 fi
50820
50821
50822 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50823 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50824 fi
50825 ;;
50826
50827 *-*-beos* )
50828 SHARED_LD_CC="${LD} -nostart -o"
50829 SHARED_LD_CXX="${LD} -nostart -o"
50830 ;;
50831
50832 *-*-irix* )
50833 if test "x$GCC" != "xyes"; then
50834 PIC_FLAG="-KPIC"
50835 fi
50836 ;;
50837
50838 *-*-cygwin* | *-*-mingw32* )
50839 PIC_FLAG=""
50840 SHARED_LD_CC="\$(CC) -shared -o"
50841 SHARED_LD_CXX="\$(CXX) -shared -o"
50842 WINDOWS_IMPLIB=1
50843 ;;
50844
50845 *-pc-os2_emx | *-pc-os2-emx )
50846 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50847 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50848 PIC_FLAG=""
50849
50850 D='$'
50851 cat <<EOF >dllar.sh
50852 #!/bin/sh
50853 #
50854 # dllar - a tool to build both a .dll and an .a file
50855 # from a set of object (.o) files for EMX/OS2.
50856 #
50857 # Written by Andrew Zabolotny, bit@freya.etu.ru
50858 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50859 #
50860 # This script will accept a set of files on the command line.
50861 # All the public symbols from the .o files will be exported into
50862 # a .DEF file, then linker will be run (through gcc) against them to
50863 # build a shared library consisting of all given .o files. All libraries
50864 # (.a) will be first decompressed into component .o files then act as
50865 # described above. You can optionally give a description (-d "description")
50866 # which will be put into .DLL. To see the list of accepted options (as well
50867 # as command-line format) simply run this program without options. The .DLL
50868 # is built to be imported by name (there is no guarantee that new versions
50869 # of the library you build will have same ordinals for same symbols).
50870 #
50871 # dllar is free software; you can redistribute it and/or modify
50872 # it under the terms of the GNU General Public License as published by
50873 # the Free Software Foundation; either version 2, or (at your option)
50874 # any later version.
50875 #
50876 # dllar is distributed in the hope that it will be useful,
50877 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50878 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50879 # GNU General Public License for more details.
50880 #
50881 # You should have received a copy of the GNU General Public License
50882 # along with dllar; see the file COPYING. If not, write to the Free
50883 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50884 # 02111-1307, USA.
50885
50886 # To successfuly run this program you will need:
50887 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50888 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50889 # - gcc
50890 # (used to build the .dll)
50891 # - emxexp
50892 # (used to create .def file from .o files)
50893 # - emximp
50894 # (used to create .a file from .def file)
50895 # - GNU text utilites (cat, sort, uniq)
50896 # used to process emxexp output
50897 # - GNU file utilities (mv, rm)
50898 # - GNU sed
50899 # - lxlite (optional, see flag below)
50900 # (used for general .dll cleanup)
50901 #
50902
50903 flag_USE_LXLITE=1;
50904
50905 #
50906 # helper functions
50907 # basnam, variant of basename, which does _not_ remove the path, _iff_
50908 # second argument (suffix to remove) is given
50909 basnam(){
50910 case ${D}# in
50911 1)
50912 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50913 ;;
50914 2)
50915 echo ${D}1 | sed 's/'${D}2'${D}//'
50916 ;;
50917 *)
50918 echo "error in basnam ${D}*"
50919 exit 8
50920 ;;
50921 esac
50922 }
50923
50924 # Cleanup temporary files and output
50925 CleanUp() {
50926 cd ${D}curDir
50927 for i in ${D}inputFiles ; do
50928 case ${D}i in
50929 *!)
50930 rm -rf \`basnam ${D}i !\`
50931 ;;
50932 *)
50933 ;;
50934 esac
50935 done
50936
50937 # Kill result in case of failure as there is just to many stupid make/nmake
50938 # things out there which doesn't do this.
50939 if [ ${D}# -eq 0 ]; then
50940 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50941 fi
50942 }
50943
50944 # Print usage and exit script with rc=1.
50945 PrintHelp() {
50946 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50947 echo ' [-name-mangler-script script.sh]'
50948 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50949 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50950 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50951 echo ' [*.o] [*.a]'
50952 echo '*> "output_file" should have no extension.'
50953 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50954 echo ' The import library name is derived from this and is set to "name".a,'
50955 echo ' unless overridden by -import'
50956 echo '*> "importlib_name" should have no extension.'
50957 echo ' If it has the .o, or .a extension, it is automatically removed.'
50958 echo ' This name is used as the import library name and may be longer and'
50959 echo ' more descriptive than the DLL name which has to follow the old '
50960 echo ' 8.3 convention of FAT.'
50961 echo '*> "script.sh may be given to override the output_file name by a'
50962 echo ' different name. It is mainly useful if the regular make process'
50963 echo ' of some package does not take into account OS/2 restriction of'
50964 echo ' DLL name lengths. It takes the importlib name as input and is'
50965 echo ' supposed to procude a shorter name as output. The script should'
50966 echo ' expect to get importlib_name without extension and should produce'
50967 echo ' a (max.) 8 letter name without extension.'
50968 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50969 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50970 echo ' These flags will be put at the start of GCC command line.'
50971 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50972 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50973 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50974 echo ' If the last character of a symbol is "*", all symbols beginning'
50975 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50976 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50977 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50978 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50979 echo ' C runtime DLLs.'
50980 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50981 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50982 echo ' unchanged to GCC at the end of command line.'
50983 echo '*> If you create a DLL from a library and you do not specify -o,'
50984 echo ' the basename for DLL and import library will be set to library name,'
50985 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50986 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50987 echo ' library will be renamed into gcc_s.a.'
50988 echo '--------'
50989 echo 'Example:'
50990 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50991 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50992 CleanUp
50993 exit 1
50994 }
50995
50996 # Execute a command.
50997 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50998 # @Uses Whatever CleanUp() uses.
50999 doCommand() {
51000 echo "${D}*"
51001 eval ${D}*
51002 rcCmd=${D}?
51003
51004 if [ ${D}rcCmd -ne 0 ]; then
51005 echo "command failed, exit code="${D}rcCmd
51006 CleanUp
51007 exit ${D}rcCmd
51008 fi
51009 }
51010
51011 # main routine
51012 # setup globals
51013 cmdLine=${D}*
51014 outFile=""
51015 outimpFile=""
51016 inputFiles=""
51017 renameScript=""
51018 description=""
51019 CC=gcc.exe
51020 CFLAGS="-s -Zcrtdll"
51021 EXTRA_CFLAGS=""
51022 EXPORT_BY_ORDINALS=0
51023 exclude_symbols=""
51024 library_flags=""
51025 curDir=\`pwd\`
51026 curDirS=curDir
51027 case ${D}curDirS in
51028 */)
51029 ;;
51030 *)
51031 curDirS=${D}{curDirS}"/"
51032 ;;
51033 esac
51034 # Parse commandline
51035 libsToLink=0
51036 omfLinking=0
51037 while [ ${D}1 ]; do
51038 case ${D}1 in
51039 -ord*)
51040 EXPORT_BY_ORDINALS=1;
51041 ;;
51042 -o*)
51043 shift
51044 outFile=${D}1
51045 ;;
51046 -i*)
51047 shift
51048 outimpFile=${D}1
51049 ;;
51050 -name-mangler-script)
51051 shift
51052 renameScript=${D}1
51053 ;;
51054 -d*)
51055 shift
51056 description=${D}1
51057 ;;
51058 -f*)
51059 shift
51060 CFLAGS=${D}1
51061 ;;
51062 -c*)
51063 shift
51064 CC=${D}1
51065 ;;
51066 -h*)
51067 PrintHelp
51068 ;;
51069 -ex*)
51070 shift
51071 exclude_symbols=${D}{exclude_symbols}${D}1" "
51072 ;;
51073 -libf*)
51074 shift
51075 library_flags=${D}{library_flags}${D}1" "
51076 ;;
51077 -nocrt*)
51078 CFLAGS="-s"
51079 ;;
51080 -nolxl*)
51081 flag_USE_LXLITE=0
51082 ;;
51083 -* | /*)
51084 case ${D}1 in
51085 -L* | -l*)
51086 libsToLink=1
51087 ;;
51088 -Zomf)
51089 omfLinking=1
51090 ;;
51091 *)
51092 ;;
51093 esac
51094 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51095 ;;
51096 *.dll)
51097 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51098 if [ ${D}omfLinking -eq 1 ]; then
51099 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51100 else
51101 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51102 fi
51103 ;;
51104 *)
51105 found=0;
51106 if [ ${D}libsToLink -ne 0 ]; then
51107 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51108 else
51109 for file in ${D}1 ; do
51110 if [ -f ${D}file ]; then
51111 inputFiles="${D}{inputFiles} ${D}file"
51112 found=1
51113 fi
51114 done
51115 if [ ${D}found -eq 0 ]; then
51116 echo "ERROR: No file(s) found: "${D}1
51117 exit 8
51118 fi
51119 fi
51120 ;;
51121 esac
51122 shift
51123 done # iterate cmdline words
51124
51125 #
51126 if [ -z "${D}inputFiles" ]; then
51127 echo "dllar: no input files"
51128 PrintHelp
51129 fi
51130
51131 # Now extract all .o files from .a files
51132 newInputFiles=""
51133 for file in ${D}inputFiles ; do
51134 case ${D}file in
51135 *.a | *.lib)
51136 case ${D}file in
51137 *.a)
51138 suffix=".a"
51139 AR="ar"
51140 ;;
51141 *.lib)
51142 suffix=".lib"
51143 AR="emxomfar"
51144 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51145 ;;
51146 *)
51147 ;;
51148 esac
51149 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51150 mkdir ${D}dirname
51151 if [ ${D}? -ne 0 ]; then
51152 echo "Failed to create subdirectory ./${D}dirname"
51153 CleanUp
51154 exit 8;
51155 fi
51156 # Append '!' to indicate archive
51157 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51158 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51159 cd ${D}curDir
51160 found=0;
51161 for subfile in ${D}dirname/*.o* ; do
51162 if [ -f ${D}subfile ]; then
51163 found=1
51164 if [ -s ${D}subfile ]; then
51165 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51166 newInputFiles="${D}newInputFiles ${D}subfile"
51167 fi
51168 fi
51169 done
51170 if [ ${D}found -eq 0 ]; then
51171 echo "WARNING: there are no files in archive \\'${D}file\\'"
51172 fi
51173 ;;
51174 *)
51175 newInputFiles="${D}{newInputFiles} ${D}file"
51176 ;;
51177 esac
51178 done
51179 inputFiles="${D}newInputFiles"
51180
51181 # Output filename(s).
51182 do_backup=0;
51183 if [ -z ${D}outFile ]; then
51184 do_backup=1;
51185 set outFile ${D}inputFiles; outFile=${D}2
51186 fi
51187
51188 # If it is an archive, remove the '!' and the '_%' suffixes
51189 case ${D}outFile in
51190 *_%!)
51191 outFile=\`basnam ${D}outFile _%!\`
51192 ;;
51193 *)
51194 ;;
51195 esac
51196 case ${D}outFile in
51197 *.dll)
51198 outFile=\`basnam ${D}outFile .dll\`
51199 ;;
51200 *.DLL)
51201 outFile=\`basnam ${D}outFile .DLL\`
51202 ;;
51203 *.o)
51204 outFile=\`basnam ${D}outFile .o\`
51205 ;;
51206 *.obj)
51207 outFile=\`basnam ${D}outFile .obj\`
51208 ;;
51209 *.a)
51210 outFile=\`basnam ${D}outFile .a\`
51211 ;;
51212 *.lib)
51213 outFile=\`basnam ${D}outFile .lib\`
51214 ;;
51215 *)
51216 ;;
51217 esac
51218 case ${D}outimpFile in
51219 *.a)
51220 outimpFile=\`basnam ${D}outimpFile .a\`
51221 ;;
51222 *.lib)
51223 outimpFile=\`basnam ${D}outimpFile .lib\`
51224 ;;
51225 *)
51226 ;;
51227 esac
51228 if [ -z ${D}outimpFile ]; then
51229 outimpFile=${D}outFile
51230 fi
51231 defFile="${D}{outFile}.def"
51232 arcFile="${D}{outimpFile}.a"
51233 arcFile2="${D}{outimpFile}.lib"
51234
51235 #create ${D}dllFile as something matching 8.3 restrictions,
51236 if [ -z ${D}renameScript ] ; then
51237 dllFile="${D}outFile"
51238 else
51239 dllFile=\`${D}renameScript ${D}outimpFile\`
51240 fi
51241
51242 if [ ${D}do_backup -ne 0 ] ; then
51243 if [ -f ${D}arcFile ] ; then
51244 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51245 fi
51246 if [ -f ${D}arcFile2 ] ; then
51247 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51248 fi
51249 fi
51250
51251 # Extract public symbols from all the object files.
51252 tmpdefFile=${D}{defFile}_%
51253 rm -f ${D}tmpdefFile
51254 for file in ${D}inputFiles ; do
51255 case ${D}file in
51256 *!)
51257 ;;
51258 *)
51259 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51260 ;;
51261 esac
51262 done
51263
51264 # Create the def file.
51265 rm -f ${D}defFile
51266 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51267 dllFile="${D}{dllFile}.dll"
51268 if [ ! -z ${D}description ]; then
51269 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51270 fi
51271 echo "EXPORTS" >> ${D}defFile
51272
51273 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51274 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51275
51276 # Checks if the export is ok or not.
51277 for word in ${D}exclude_symbols; do
51278 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51279 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51280 done
51281
51282
51283 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51284 sed "=" < ${D}tmpdefFile | \\
51285 sed '
51286 N
51287 : loop
51288 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51289 t loop
51290 ' > ${D}{tmpdefFile}%
51291 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51292 else
51293 rm -f ${D}{tmpdefFile}%
51294 fi
51295 cat ${D}tmpdefFile >> ${D}defFile
51296 rm -f ${D}tmpdefFile
51297
51298 # Do linking, create implib, and apply lxlite.
51299 gccCmdl="";
51300 for file in ${D}inputFiles ; do
51301 case ${D}file in
51302 *!)
51303 ;;
51304 *)
51305 gccCmdl="${D}gccCmdl ${D}file"
51306 ;;
51307 esac
51308 done
51309 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51310 touch "${D}{outFile}.dll"
51311
51312 doCommand "emximp -o ${D}arcFile ${D}defFile"
51313 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51314 add_flags="";
51315 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51316 add_flags="-ynd"
51317 fi
51318 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51319 fi
51320 doCommand "emxomf -s -l ${D}arcFile"
51321
51322 # Successful exit.
51323 CleanUp 1
51324 exit 0
51325 EOF
51326
51327 chmod +x dllar.sh
51328 ;;
51329
51330 powerpc-apple-macos* | \
51331 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51332 *-*-mirbsd* | \
51333 *-*-sunos4* | \
51334 *-*-osf* | \
51335 *-*-dgux5* | \
51336 *-*-sysv5* | \
51337 *-pc-msdosdjgpp )
51338 ;;
51339
51340 *)
51341 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51342 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51343 { (exit 1); exit 1; }; }
51344 esac
51345
51346 if test "x$PIC_FLAG" != "x" ; then
51347 PIC_FLAG="$PIC_FLAG -DPIC"
51348 fi
51349
51350 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51351 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51352 fi
51353 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51354 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51355 fi
51356
51357
51358
51359
51360
51361
51362
51363
51364
51365 USE_SOVERSION=0
51366 USE_SOVERLINUX=0
51367 USE_SOVERSOLARIS=0
51368 USE_SOVERCYGWIN=0
51369 USE_SOSYMLINKS=0
51370 USE_MACVERSION=0
51371 SONAME_FLAG=
51372
51373 case "${BAKEFILE_HOST}" in
51374 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51375 if test "x$SUNCXX" = "xyes"; then
51376 SONAME_FLAG="-h "
51377 else
51378 SONAME_FLAG="-Wl,-soname,"
51379 fi
51380 USE_SOVERSION=1
51381 USE_SOVERLINUX=1
51382 USE_SOSYMLINKS=1
51383 ;;
51384
51385 *-*-solaris2* )
51386 SONAME_FLAG="-h "
51387 USE_SOVERSION=1
51388 USE_SOVERSOLARIS=1
51389 USE_SOSYMLINKS=1
51390 ;;
51391
51392 *-*-darwin* )
51393 USE_MACVERSION=1
51394 USE_SOVERSION=1
51395 USE_SOSYMLINKS=1
51396 ;;
51397
51398 *-*-cygwin* )
51399 USE_SOVERSION=1
51400 USE_SOVERCYGWIN=1
51401 ;;
51402 esac
51403
51404
51405
51406
51407
51408
51409
51410
51411
51412
51413 # Check whether --enable-dependency-tracking was given.
51414 if test "${enable_dependency_tracking+set}" = set; then
51415 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51416 fi
51417
51418
51419 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51420 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51421
51422 BK_DEPS=""
51423 if test "x$bk_use_trackdeps" = "xno" ; then
51424 DEPS_TRACKING=0
51425 { echo "$as_me:$LINENO: result: disabled" >&5
51426 echo "${ECHO_T}disabled" >&6; }
51427 else
51428 DEPS_TRACKING=1
51429
51430 if test "x$GCC" = "xyes"; then
51431 DEPSMODE=gcc
51432 case "${BAKEFILE_HOST}" in
51433 *-*-darwin* )
51434 DEPSFLAG="-no-cpp-precomp -MMD"
51435 ;;
51436 * )
51437 DEPSFLAG="-MMD"
51438 ;;
51439 esac
51440 { echo "$as_me:$LINENO: result: gcc" >&5
51441 echo "${ECHO_T}gcc" >&6; }
51442 elif test "x$MWCC" = "xyes"; then
51443 DEPSMODE=mwcc
51444 DEPSFLAG="-MM"
51445 { echo "$as_me:$LINENO: result: mwcc" >&5
51446 echo "${ECHO_T}mwcc" >&6; }
51447 elif test "x$SUNCC" = "xyes"; then
51448 DEPSMODE=unixcc
51449 DEPSFLAG="-xM1"
51450 { echo "$as_me:$LINENO: result: Sun cc" >&5
51451 echo "${ECHO_T}Sun cc" >&6; }
51452 elif test "x$SGICC" = "xyes"; then
51453 DEPSMODE=unixcc
51454 DEPSFLAG="-M"
51455 { echo "$as_me:$LINENO: result: SGI cc" >&5
51456 echo "${ECHO_T}SGI cc" >&6; }
51457 elif test "x$HPCC" = "xyes"; then
51458 DEPSMODE=unixcc
51459 DEPSFLAG="+make"
51460 { echo "$as_me:$LINENO: result: HP cc" >&5
51461 echo "${ECHO_T}HP cc" >&6; }
51462 elif test "x$COMPAQCC" = "xyes"; then
51463 DEPSMODE=gcc
51464 DEPSFLAG="-MD"
51465 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51466 echo "${ECHO_T}Compaq cc" >&6; }
51467 else
51468 DEPS_TRACKING=0
51469 { echo "$as_me:$LINENO: result: none" >&5
51470 echo "${ECHO_T}none" >&6; }
51471 fi
51472
51473 if test $DEPS_TRACKING = 1 ; then
51474
51475 D='$'
51476 cat <<EOF >bk-deps
51477 #!/bin/sh
51478
51479 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51480 # script. It is used to track C/C++ files dependencies in portable way.
51481 #
51482 # Permission is given to use this file in any way.
51483
51484 DEPSMODE=${DEPSMODE}
51485 DEPSDIR=.deps
51486 DEPSFLAG="${DEPSFLAG}"
51487
51488 mkdir -p ${D}DEPSDIR
51489
51490 if test ${D}DEPSMODE = gcc ; then
51491 ${D}* ${D}{DEPSFLAG}
51492 status=${D}?
51493 if test ${D}{status} != 0 ; then
51494 exit ${D}{status}
51495 fi
51496 # move created file to the location we want it in:
51497 while test ${D}# -gt 0; do
51498 case "${D}1" in
51499 -o )
51500 shift
51501 objfile=${D}1
51502 ;;
51503 -* )
51504 ;;
51505 * )
51506 srcfile=${D}1
51507 ;;
51508 esac
51509 shift
51510 done
51511 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51512 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51513 if test -f ${D}depfile ; then
51514 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51515 rm -f ${D}depfile
51516 else
51517 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51518 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51519 if test ! -f ${D}depfile ; then
51520 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51521 depfile="${D}objfile.d"
51522 fi
51523 if test -f ${D}depfile ; then
51524 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51525 rm -f ${D}depfile
51526 fi
51527 fi
51528 exit 0
51529 elif test ${D}DEPSMODE = mwcc ; then
51530 ${D}* || exit ${D}?
51531 # Run mwcc again with -MM and redirect into the dep file we want
51532 # NOTE: We can't use shift here because we need ${D}* to be valid
51533 prevarg=
51534 for arg in ${D}* ; do
51535 if test "${D}prevarg" = "-o"; then
51536 objfile=${D}arg
51537 else
51538 case "${D}arg" in
51539 -* )
51540 ;;
51541 * )
51542 srcfile=${D}arg
51543 ;;
51544 esac
51545 fi
51546 prevarg="${D}arg"
51547 done
51548 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51549 exit 0
51550 elif test ${D}DEPSMODE = unixcc; then
51551 ${D}* || exit ${D}?
51552 # Run compiler again with deps flag and redirect into the dep file.
51553 # It doesn't work if the '-o FILE' option is used, but without it the
51554 # dependency file will contain the wrong name for the object. So it is
51555 # removed from the command line, and the dep file is fixed with sed.
51556 cmd=""
51557 while test ${D}# -gt 0; do
51558 case "${D}1" in
51559 -o )
51560 shift
51561 objfile=${D}1
51562 ;;
51563 * )
51564 eval arg${D}#=\\${D}1
51565 cmd="${D}cmd \\${D}arg${D}#"
51566 ;;
51567 esac
51568 shift
51569 done
51570 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51571 exit 0
51572 else
51573 ${D}*
51574 exit ${D}?
51575 fi
51576 EOF
51577
51578 chmod +x bk-deps
51579 BK_DEPS="`pwd`/bk-deps"
51580 fi
51581 fi
51582
51583
51584
51585
51586
51587 case ${BAKEFILE_HOST} in
51588 *-*-cygwin* | *-*-mingw32* )
51589 if test -n "$ac_tool_prefix"; then
51590 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51591 set dummy ${ac_tool_prefix}windres; ac_word=$2
51592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51594 if test "${ac_cv_prog_WINDRES+set}" = set; then
51595 echo $ECHO_N "(cached) $ECHO_C" >&6
51596 else
51597 if test -n "$WINDRES"; then
51598 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51599 else
51600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51601 for as_dir in $PATH
51602 do
51603 IFS=$as_save_IFS
51604 test -z "$as_dir" && as_dir=.
51605 for ac_exec_ext in '' $ac_executable_extensions; do
51606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51607 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51609 break 2
51610 fi
51611 done
51612 done
51613 IFS=$as_save_IFS
51614
51615 fi
51616 fi
51617 WINDRES=$ac_cv_prog_WINDRES
51618 if test -n "$WINDRES"; then
51619 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51620 echo "${ECHO_T}$WINDRES" >&6; }
51621 else
51622 { echo "$as_me:$LINENO: result: no" >&5
51623 echo "${ECHO_T}no" >&6; }
51624 fi
51625
51626
51627 fi
51628 if test -z "$ac_cv_prog_WINDRES"; then
51629 ac_ct_WINDRES=$WINDRES
51630 # Extract the first word of "windres", so it can be a program name with args.
51631 set dummy windres; ac_word=$2
51632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51634 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51635 echo $ECHO_N "(cached) $ECHO_C" >&6
51636 else
51637 if test -n "$ac_ct_WINDRES"; then
51638 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51639 else
51640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51641 for as_dir in $PATH
51642 do
51643 IFS=$as_save_IFS
51644 test -z "$as_dir" && as_dir=.
51645 for ac_exec_ext in '' $ac_executable_extensions; do
51646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51647 ac_cv_prog_ac_ct_WINDRES="windres"
51648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51649 break 2
51650 fi
51651 done
51652 done
51653 IFS=$as_save_IFS
51654
51655 fi
51656 fi
51657 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51658 if test -n "$ac_ct_WINDRES"; then
51659 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51660 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51661 else
51662 { echo "$as_me:$LINENO: result: no" >&5
51663 echo "${ECHO_T}no" >&6; }
51664 fi
51665
51666 if test "x$ac_ct_WINDRES" = x; then
51667 WINDRES=""
51668 else
51669 case $cross_compiling:$ac_tool_warned in
51670 yes:)
51671 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51672 whose name does not start with the host triplet. If you think this
51673 configuration is useful to you, please write to autoconf@gnu.org." >&5
51674 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51675 whose name does not start with the host triplet. If you think this
51676 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51677 ac_tool_warned=yes ;;
51678 esac
51679 WINDRES=$ac_ct_WINDRES
51680 fi
51681 else
51682 WINDRES="$ac_cv_prog_WINDRES"
51683 fi
51684
51685 ;;
51686
51687 *-*-darwin* | powerpc-apple-macos* )
51688 # Extract the first word of "Rez", so it can be a program name with args.
51689 set dummy Rez; ac_word=$2
51690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51692 if test "${ac_cv_prog_REZ+set}" = set; then
51693 echo $ECHO_N "(cached) $ECHO_C" >&6
51694 else
51695 if test -n "$REZ"; then
51696 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51697 else
51698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51699 for as_dir in $PATH
51700 do
51701 IFS=$as_save_IFS
51702 test -z "$as_dir" && as_dir=.
51703 for ac_exec_ext in '' $ac_executable_extensions; do
51704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51705 ac_cv_prog_REZ="Rez"
51706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51707 break 2
51708 fi
51709 done
51710 done
51711 IFS=$as_save_IFS
51712
51713 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51714 fi
51715 fi
51716 REZ=$ac_cv_prog_REZ
51717 if test -n "$REZ"; then
51718 { echo "$as_me:$LINENO: result: $REZ" >&5
51719 echo "${ECHO_T}$REZ" >&6; }
51720 else
51721 { echo "$as_me:$LINENO: result: no" >&5
51722 echo "${ECHO_T}no" >&6; }
51723 fi
51724
51725
51726 # Extract the first word of "SetFile", so it can be a program name with args.
51727 set dummy SetFile; ac_word=$2
51728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51730 if test "${ac_cv_prog_SETFILE+set}" = set; then
51731 echo $ECHO_N "(cached) $ECHO_C" >&6
51732 else
51733 if test -n "$SETFILE"; then
51734 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51735 else
51736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51737 for as_dir in $PATH
51738 do
51739 IFS=$as_save_IFS
51740 test -z "$as_dir" && as_dir=.
51741 for ac_exec_ext in '' $ac_executable_extensions; do
51742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51743 ac_cv_prog_SETFILE="SetFile"
51744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51745 break 2
51746 fi
51747 done
51748 done
51749 IFS=$as_save_IFS
51750
51751 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51752 fi
51753 fi
51754 SETFILE=$ac_cv_prog_SETFILE
51755 if test -n "$SETFILE"; then
51756 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51757 echo "${ECHO_T}$SETFILE" >&6; }
51758 else
51759 { echo "$as_me:$LINENO: result: no" >&5
51760 echo "${ECHO_T}no" >&6; }
51761 fi
51762
51763
51764 ;;
51765 esac
51766
51767
51768
51769
51770
51771
51772 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51773
51774
51775 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51776
51777
51778
51779 # Check whether --enable-precomp-headers was given.
51780 if test "${enable_precomp_headers+set}" = set; then
51781 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51782 fi
51783
51784
51785 GCC_PCH=0
51786 ICC_PCH=0
51787 USE_PCH=0
51788 BK_MAKE_PCH=""
51789
51790 case ${BAKEFILE_HOST} in
51791 *-*-cygwin* )
51792 bk_use_pch="no"
51793 ;;
51794 esac
51795
51796 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51797 if test "x$GCC" = "xyes"; then
51798 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51799 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51800 cat >conftest.$ac_ext <<_ACEOF
51801 /* confdefs.h. */
51802 _ACEOF
51803 cat confdefs.h >>conftest.$ac_ext
51804 cat >>conftest.$ac_ext <<_ACEOF
51805 /* end confdefs.h. */
51806
51807 int
51808 main ()
51809 {
51810
51811 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51812 There is no PCH support
51813 #endif
51814 #if (__GNUC__ < 3)
51815 There is no PCH support
51816 #endif
51817 #if (__GNUC__ == 3) && \
51818 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51819 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51820 ( defined(__INTEL_COMPILER) )
51821 There is no PCH support
51822 #endif
51823
51824 ;
51825 return 0;
51826 }
51827 _ACEOF
51828 rm -f conftest.$ac_objext
51829 if { (ac_try="$ac_compile"
51830 case "(($ac_try" in
51831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51832 *) ac_try_echo=$ac_try;;
51833 esac
51834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51835 (eval "$ac_compile") 2>conftest.er1
51836 ac_status=$?
51837 grep -v '^ *+' conftest.er1 >conftest.err
51838 rm -f conftest.er1
51839 cat conftest.err >&5
51840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51841 (exit $ac_status); } && {
51842 test -z "$ac_c_werror_flag" ||
51843 test ! -s conftest.err
51844 } && test -s conftest.$ac_objext; then
51845
51846 { echo "$as_me:$LINENO: result: yes" >&5
51847 echo "${ECHO_T}yes" >&6; }
51848 GCC_PCH=1
51849
51850 else
51851 echo "$as_me: failed program was:" >&5
51852 sed 's/^/| /' conftest.$ac_ext >&5
51853
51854
51855 cat >conftest.$ac_ext <<_ACEOF
51856 /* confdefs.h. */
51857 _ACEOF
51858 cat confdefs.h >>conftest.$ac_ext
51859 cat >>conftest.$ac_ext <<_ACEOF
51860 /* end confdefs.h. */
51861
51862 int
51863 main ()
51864 {
51865
51866 #if !defined(__INTEL_COMPILER) || \
51867 (__INTEL_COMPILER < 800)
51868 There is no PCH support
51869 #endif
51870
51871 ;
51872 return 0;
51873 }
51874 _ACEOF
51875 rm -f conftest.$ac_objext
51876 if { (ac_try="$ac_compile"
51877 case "(($ac_try" in
51878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51879 *) ac_try_echo=$ac_try;;
51880 esac
51881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51882 (eval "$ac_compile") 2>conftest.er1
51883 ac_status=$?
51884 grep -v '^ *+' conftest.er1 >conftest.err
51885 rm -f conftest.er1
51886 cat conftest.err >&5
51887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51888 (exit $ac_status); } && {
51889 test -z "$ac_c_werror_flag" ||
51890 test ! -s conftest.err
51891 } && test -s conftest.$ac_objext; then
51892
51893 { echo "$as_me:$LINENO: result: yes" >&5
51894 echo "${ECHO_T}yes" >&6; }
51895 ICC_PCH=1
51896
51897 else
51898 echo "$as_me: failed program was:" >&5
51899 sed 's/^/| /' conftest.$ac_ext >&5
51900
51901
51902 { echo "$as_me:$LINENO: result: no" >&5
51903 echo "${ECHO_T}no" >&6; }
51904
51905 fi
51906
51907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51908
51909 fi
51910
51911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51912 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51913 USE_PCH=1
51914
51915 D='$'
51916 cat <<EOF >bk-make-pch
51917 #!/bin/sh
51918
51919 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51920 # script. It is used to generated precompiled headers.
51921 #
51922 # Permission is given to use this file in any way.
51923
51924 outfile="${D}{1}"
51925 header="${D}{2}"
51926 shift
51927 shift
51928
51929 compiler=""
51930 headerfile=""
51931
51932 while test ${D}{#} -gt 0; do
51933 add_to_cmdline=1
51934 case "${D}{1}" in
51935 -I* )
51936 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51937 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51938 headerfile="${D}{incdir}/${D}{header}"
51939 fi
51940 ;;
51941 -use-pch|-use_pch )
51942 shift
51943 add_to_cmdline=0
51944 ;;
51945 esac
51946 if test ${D}add_to_cmdline = 1 ; then
51947 compiler="${D}{compiler} ${D}{1}"
51948 fi
51949 shift
51950 done
51951
51952 if test "x${D}{headerfile}" = "x" ; then
51953 echo "error: can't find header ${D}{header} in include paths" >&2
51954 else
51955 if test -f ${D}{outfile} ; then
51956 rm -f ${D}{outfile}
51957 else
51958 mkdir -p \`dirname ${D}{outfile}\`
51959 fi
51960 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51961 mkdir -p .deps
51962 if test "x${GCC_PCH}" = "x1" ; then
51963 # can do this because gcc is >= 3.4:
51964 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51965 elif test "x${ICC_PCH}" = "x1" ; then
51966 filename=pch_gen-${D}${D}
51967 file=${D}{filename}.c
51968 dfile=${D}{filename}.d
51969 cat > ${D}file <<EOT
51970 #include "${D}header"
51971 EOT
51972 # using -MF icc complains about differing command lines in creation/use
51973 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51974 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51975 rm -f ${D}file ${D}dfile ${D}{filename}.o
51976 fi
51977 exit ${D}{?}
51978 fi
51979 EOF
51980
51981 chmod +x bk-make-pch
51982 BK_MAKE_PCH="`pwd`/bk-make-pch"
51983 fi
51984 fi
51985 fi
51986
51987
51988
51989
51990
51991 COND_BUILD_DEBUG="#"
51992 if test "x$BUILD" = "xdebug" ; then
51993 COND_BUILD_DEBUG=""
51994 fi
51995
51996 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51997 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51998 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51999 fi
52000
52001 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52002 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52003 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52004 fi
52005
52006 COND_BUILD_DEBUG_UNICODE_0="#"
52007 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52008 COND_BUILD_DEBUG_UNICODE_0=""
52009 fi
52010
52011 COND_BUILD_DEBUG_UNICODE_1="#"
52012 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52013 COND_BUILD_DEBUG_UNICODE_1=""
52014 fi
52015
52016 COND_BUILD_RELEASE="#"
52017 if test "x$BUILD" = "xrelease" ; then
52018 COND_BUILD_RELEASE=""
52019 fi
52020
52021 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52022 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52023 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52024 fi
52025
52026 COND_BUILD_RELEASE_UNICODE_0="#"
52027 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52028 COND_BUILD_RELEASE_UNICODE_0=""
52029 fi
52030
52031 COND_BUILD_RELEASE_UNICODE_1="#"
52032 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52033 COND_BUILD_RELEASE_UNICODE_1=""
52034 fi
52035
52036 COND_DEBUG_FLAG_1="#"
52037 if test "x$DEBUG_FLAG" = "x1" ; then
52038 COND_DEBUG_FLAG_1=""
52039 fi
52040
52041 COND_DEBUG_INFO_0="#"
52042 if test "x$DEBUG_INFO" = "x0" ; then
52043 COND_DEBUG_INFO_0=""
52044 fi
52045
52046 COND_DEBUG_INFO_1="#"
52047 if test "x$DEBUG_INFO" = "x1" ; then
52048 COND_DEBUG_INFO_1=""
52049 fi
52050
52051 COND_DEPS_TRACKING_0="#"
52052 if test "x$DEPS_TRACKING" = "x0" ; then
52053 COND_DEPS_TRACKING_0=""
52054 fi
52055
52056 COND_DEPS_TRACKING_1="#"
52057 if test "x$DEPS_TRACKING" = "x1" ; then
52058 COND_DEPS_TRACKING_1=""
52059 fi
52060
52061 COND_GCC_PCH_1="#"
52062 if test "x$GCC_PCH" = "x1" ; then
52063 COND_GCC_PCH_1=""
52064 fi
52065
52066 COND_ICC_PCH_1="#"
52067 if test "x$ICC_PCH" = "x1" ; then
52068 COND_ICC_PCH_1=""
52069 fi
52070
52071 COND_MONOLITHIC_0="#"
52072 if test "x$MONOLITHIC" = "x0" ; then
52073 COND_MONOLITHIC_0=""
52074 fi
52075
52076 COND_MONOLITHIC_0_SHARED_0="#"
52077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52078 COND_MONOLITHIC_0_SHARED_0=""
52079 fi
52080
52081 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52083 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52084 fi
52085
52086 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52088 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52089 fi
52090
52091 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52093 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52094 fi
52095
52096 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52098 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52099 fi
52100
52101 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52102 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52104 fi
52105
52106 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52107 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52108 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52109 fi
52110
52111 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52112 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52113 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52114 fi
52115
52116 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52117 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52118 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52119 fi
52120
52121 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52122 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52123 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52124 fi
52125
52126 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52127 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52128 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52129 fi
52130
52131 COND_MONOLITHIC_0_SHARED_1="#"
52132 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52133 COND_MONOLITHIC_0_SHARED_1=""
52134 fi
52135
52136 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52137 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52138 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52139 fi
52140
52141 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52142 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52143 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52144 fi
52145
52146 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52147 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52148 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52149 fi
52150
52151 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52152 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52153 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52154 fi
52155
52156 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52157 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52158 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52159 fi
52160
52161 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52162 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52163 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52164 fi
52165
52166 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52167 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52168 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52169 fi
52170
52171 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52172 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52173 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52174 fi
52175
52176 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52177 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52178 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52179 fi
52180
52181 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52182 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52183 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52184 fi
52185
52186 COND_MONOLITHIC_0_USE_AUI_1="#"
52187 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52188 COND_MONOLITHIC_0_USE_AUI_1=""
52189 fi
52190
52191 COND_MONOLITHIC_0_USE_GUI_1="#"
52192 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52193 COND_MONOLITHIC_0_USE_GUI_1=""
52194 fi
52195
52196 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52197 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52198 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52199 fi
52200
52201 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52202 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52203 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52204 fi
52205
52206 COND_MONOLITHIC_0_USE_HTML_1="#"
52207 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52208 COND_MONOLITHIC_0_USE_HTML_1=""
52209 fi
52210
52211 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52212 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52213 COND_MONOLITHIC_0_USE_MEDIA_1=""
52214 fi
52215
52216 COND_MONOLITHIC_0_USE_ODBC_1="#"
52217 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52218 COND_MONOLITHIC_0_USE_ODBC_1=""
52219 fi
52220
52221 COND_MONOLITHIC_0_USE_QA_1="#"
52222 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52223 COND_MONOLITHIC_0_USE_QA_1=""
52224 fi
52225
52226 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52227 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52228 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52229 fi
52230
52231 COND_MONOLITHIC_0_USE_STC_1="#"
52232 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52233 COND_MONOLITHIC_0_USE_STC_1=""
52234 fi
52235
52236 COND_MONOLITHIC_0_USE_XRC_1="#"
52237 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52238 COND_MONOLITHIC_0_USE_XRC_1=""
52239 fi
52240
52241 COND_MONOLITHIC_1="#"
52242 if test "x$MONOLITHIC" = "x1" ; then
52243 COND_MONOLITHIC_1=""
52244 fi
52245
52246 COND_MONOLITHIC_1_SHARED_0="#"
52247 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52248 COND_MONOLITHIC_1_SHARED_0=""
52249 fi
52250
52251 COND_MONOLITHIC_1_SHARED_1="#"
52252 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52253 COND_MONOLITHIC_1_SHARED_1=""
52254 fi
52255
52256 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52257 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52258 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52259 fi
52260
52261 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52262 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52263 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52264 fi
52265
52266 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52267 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52268 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52269 fi
52270
52271 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52272 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52273 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52274 fi
52275
52276 COND_PLATFORM_MACOSX_1="#"
52277 if test "x$PLATFORM_MACOSX" = "x1" ; then
52278 COND_PLATFORM_MACOSX_1=""
52279 fi
52280
52281 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52282 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52283 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52284 fi
52285
52286 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52287 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52288 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52289 fi
52290
52291 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52292 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52293 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52294 fi
52295
52296 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52297 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52298 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52299 fi
52300
52301 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52302 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52303 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52304 fi
52305
52306 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52307 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52308 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52309 fi
52310
52311 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52312 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52313 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52314 fi
52315
52316 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52317 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52318 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52319 fi
52320
52321 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52322 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52323 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52324 fi
52325
52326 COND_PLATFORM_MACOS_1="#"
52327 if test "x$PLATFORM_MACOS" = "x1" ; then
52328 COND_PLATFORM_MACOS_1=""
52329 fi
52330
52331 COND_PLATFORM_MAC_1="#"
52332 if test "x$PLATFORM_MAC" = "x1" ; then
52333 COND_PLATFORM_MAC_1=""
52334 fi
52335
52336 COND_PLATFORM_MSDOS_0="#"
52337 if test "x$PLATFORM_MSDOS" = "x0" ; then
52338 COND_PLATFORM_MSDOS_0=""
52339 fi
52340
52341 COND_PLATFORM_MSDOS_1="#"
52342 if test "x$PLATFORM_MSDOS" = "x1" ; then
52343 COND_PLATFORM_MSDOS_1=""
52344 fi
52345
52346 COND_PLATFORM_OS2_1="#"
52347 if test "x$PLATFORM_OS2" = "x1" ; then
52348 COND_PLATFORM_OS2_1=""
52349 fi
52350
52351 COND_PLATFORM_UNIX_0="#"
52352 if test "x$PLATFORM_UNIX" = "x0" ; then
52353 COND_PLATFORM_UNIX_0=""
52354 fi
52355
52356 COND_PLATFORM_UNIX_1="#"
52357 if test "x$PLATFORM_UNIX" = "x1" ; then
52358 COND_PLATFORM_UNIX_1=""
52359 fi
52360
52361 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52362 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52363 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52364 fi
52365
52366 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52367 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52368 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52369 fi
52370
52371 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52372 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52373 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52374 fi
52375
52376 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52377 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52378 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52379 fi
52380
52381 COND_PLATFORM_WIN32_0="#"
52382 if test "x$PLATFORM_WIN32" = "x0" ; then
52383 COND_PLATFORM_WIN32_0=""
52384 fi
52385
52386 COND_PLATFORM_WIN32_1="#"
52387 if test "x$PLATFORM_WIN32" = "x1" ; then
52388 COND_PLATFORM_WIN32_1=""
52389 fi
52390
52391 COND_SHARED_0="#"
52392 if test "x$SHARED" = "x0" ; then
52393 COND_SHARED_0=""
52394 fi
52395
52396 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52397 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52398 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52399 fi
52400
52401 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52402 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52403 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52404 fi
52405
52406 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52407 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52408 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52409 fi
52410
52411 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52412 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52413 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52414 fi
52415
52416 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52417 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52418 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52419 fi
52420
52421 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52422 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52423 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52424 fi
52425
52426 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52427 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52428 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52429 fi
52430
52431 COND_SHARED_0_USE_STC_1="#"
52432 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52433 COND_SHARED_0_USE_STC_1=""
52434 fi
52435
52436 COND_SHARED_0_USE_XRC_1="#"
52437 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52438 COND_SHARED_0_USE_XRC_1=""
52439 fi
52440
52441 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52442 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52443 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52444 fi
52445
52446 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52447 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52448 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52449 fi
52450
52451 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52452 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52453 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52454 fi
52455
52456 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52457 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52458 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52459 fi
52460
52461 COND_SHARED_1="#"
52462 if test "x$SHARED" = "x1" ; then
52463 COND_SHARED_1=""
52464 fi
52465
52466 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52467 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52468 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52469 fi
52470
52471 COND_SHARED_1_USE_XRC_1="#"
52472 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52473 COND_SHARED_1_USE_XRC_1=""
52474 fi
52475
52476 COND_TOOLKIT_="#"
52477 if test "x$TOOLKIT" = "x" ; then
52478 COND_TOOLKIT_=""
52479 fi
52480
52481 COND_TOOLKIT_COCOA="#"
52482 if test "x$TOOLKIT" = "xCOCOA" ; then
52483 COND_TOOLKIT_COCOA=""
52484 fi
52485
52486 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52487 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52488 COND_TOOLKIT_COCOA_USE_GUI_1=""
52489 fi
52490
52491 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52492 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52493 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52494 fi
52495
52496 COND_TOOLKIT_DFB="#"
52497 if test "x$TOOLKIT" = "xDFB" ; then
52498 COND_TOOLKIT_DFB=""
52499 fi
52500
52501 COND_TOOLKIT_DFB_USE_GUI_1="#"
52502 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52503 COND_TOOLKIT_DFB_USE_GUI_1=""
52504 fi
52505
52506 COND_TOOLKIT_GTK="#"
52507 if test "x$TOOLKIT" = "xGTK" ; then
52508 COND_TOOLKIT_GTK=""
52509 fi
52510
52511 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52512 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52513 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52514 fi
52515
52516 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52517 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52518 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52519 fi
52520
52521 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52522 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52523 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52524 fi
52525
52526 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52527 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52528 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52529 fi
52530
52531 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52532 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52533 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52534 fi
52535
52536 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52537 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52538 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52539 fi
52540
52541 COND_TOOLKIT_GTK_USE_GUI_1="#"
52542 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52543 COND_TOOLKIT_GTK_USE_GUI_1=""
52544 fi
52545
52546 COND_TOOLKIT_MAC="#"
52547 if test "x$TOOLKIT" = "xMAC" ; then
52548 COND_TOOLKIT_MAC=""
52549 fi
52550
52551 COND_TOOLKIT_MAC_USE_GUI_1="#"
52552 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52553 COND_TOOLKIT_MAC_USE_GUI_1=""
52554 fi
52555
52556 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52557 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52558 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52559 fi
52560
52561 COND_TOOLKIT_MGL="#"
52562 if test "x$TOOLKIT" = "xMGL" ; then
52563 COND_TOOLKIT_MGL=""
52564 fi
52565
52566 COND_TOOLKIT_MGL_USE_GUI_1="#"
52567 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52568 COND_TOOLKIT_MGL_USE_GUI_1=""
52569 fi
52570
52571 COND_TOOLKIT_MOTIF="#"
52572 if test "x$TOOLKIT" = "xMOTIF" ; then
52573 COND_TOOLKIT_MOTIF=""
52574 fi
52575
52576 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52577 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52578 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52579 fi
52580
52581 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52582 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52583 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52584 fi
52585
52586 COND_TOOLKIT_MSW="#"
52587 if test "x$TOOLKIT" = "xMSW" ; then
52588 COND_TOOLKIT_MSW=""
52589 fi
52590
52591 COND_TOOLKIT_MSW_USE_GUI_1="#"
52592 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52593 COND_TOOLKIT_MSW_USE_GUI_1=""
52594 fi
52595
52596 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52597 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52598 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52599 fi
52600
52601 COND_TOOLKIT_MSW_WXUNIV_0="#"
52602 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52603 COND_TOOLKIT_MSW_WXUNIV_0=""
52604 fi
52605
52606 COND_TOOLKIT_PM="#"
52607 if test "x$TOOLKIT" = "xPM" ; then
52608 COND_TOOLKIT_PM=""
52609 fi
52610
52611 COND_TOOLKIT_PM_USE_GUI_1="#"
52612 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52613 COND_TOOLKIT_PM_USE_GUI_1=""
52614 fi
52615
52616 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52617 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52618 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52619 fi
52620
52621 COND_TOOLKIT_WINCE="#"
52622 if test "x$TOOLKIT" = "xWINCE" ; then
52623 COND_TOOLKIT_WINCE=""
52624 fi
52625
52626 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52627 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52628 COND_TOOLKIT_WINCE_USE_GUI_1=""
52629 fi
52630
52631 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52632 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52633 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52634 fi
52635
52636 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52637 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52638 COND_TOOLKIT_WINCE_WXUNIV_0=""
52639 fi
52640
52641 COND_TOOLKIT_X11="#"
52642 if test "x$TOOLKIT" = "xX11" ; then
52643 COND_TOOLKIT_X11=""
52644 fi
52645
52646 COND_TOOLKIT_X11_USE_GUI_1="#"
52647 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52648 COND_TOOLKIT_X11_USE_GUI_1=""
52649 fi
52650
52651 COND_UNICODE_1="#"
52652 if test "x$UNICODE" = "x1" ; then
52653 COND_UNICODE_1=""
52654 fi
52655
52656 COND_USE_EXCEPTIONS_0="#"
52657 if test "x$USE_EXCEPTIONS" = "x0" ; then
52658 COND_USE_EXCEPTIONS_0=""
52659 fi
52660
52661 COND_USE_EXCEPTIONS_1="#"
52662 if test "x$USE_EXCEPTIONS" = "x1" ; then
52663 COND_USE_EXCEPTIONS_1=""
52664 fi
52665
52666 COND_USE_GUI_0="#"
52667 if test "x$USE_GUI" = "x0" ; then
52668 COND_USE_GUI_0=""
52669 fi
52670
52671 COND_USE_GUI_1="#"
52672 if test "x$USE_GUI" = "x1" ; then
52673 COND_USE_GUI_1=""
52674 fi
52675
52676 COND_USE_GUI_1_USE_OPENGL_1="#"
52677 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52678 COND_USE_GUI_1_USE_OPENGL_1=""
52679 fi
52680
52681 COND_USE_GUI_1_WXUNIV_0="#"
52682 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52683 COND_USE_GUI_1_WXUNIV_0=""
52684 fi
52685
52686 COND_USE_GUI_1_WXUNIV_1="#"
52687 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52688 COND_USE_GUI_1_WXUNIV_1=""
52689 fi
52690
52691 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52692 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52693 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52694 fi
52695
52696 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52697 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52698 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52699 fi
52700
52701 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52702 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52703 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52704 fi
52705
52706 COND_USE_ODBC_1="#"
52707 if test "x$USE_ODBC" = "x1" ; then
52708 COND_USE_ODBC_1=""
52709 fi
52710
52711 COND_USE_OPENGL_1="#"
52712 if test "x$USE_OPENGL" = "x1" ; then
52713 COND_USE_OPENGL_1=""
52714 fi
52715
52716 COND_USE_PCH_1="#"
52717 if test "x$USE_PCH" = "x1" ; then
52718 COND_USE_PCH_1=""
52719 fi
52720
52721 COND_USE_PLUGINS_0="#"
52722 if test "x$USE_PLUGINS" = "x0" ; then
52723 COND_USE_PLUGINS_0=""
52724 fi
52725
52726 COND_USE_RTTI_0="#"
52727 if test "x$USE_RTTI" = "x0" ; then
52728 COND_USE_RTTI_0=""
52729 fi
52730
52731 COND_USE_RTTI_1="#"
52732 if test "x$USE_RTTI" = "x1" ; then
52733 COND_USE_RTTI_1=""
52734 fi
52735
52736 COND_USE_SOSYMLINKS_1="#"
52737 if test "x$USE_SOSYMLINKS" = "x1" ; then
52738 COND_USE_SOSYMLINKS_1=""
52739 fi
52740
52741 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52742 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52743 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52744 fi
52745
52746 COND_USE_SOVERLINUX_1="#"
52747 if test "x$USE_SOVERLINUX" = "x1" ; then
52748 COND_USE_SOVERLINUX_1=""
52749 fi
52750
52751 COND_USE_SOVERSION_0="#"
52752 if test "x$USE_SOVERSION" = "x0" ; then
52753 COND_USE_SOVERSION_0=""
52754 fi
52755
52756 COND_USE_SOVERSOLARIS_1="#"
52757 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52758 COND_USE_SOVERSOLARIS_1=""
52759 fi
52760
52761 COND_USE_STC_1="#"
52762 if test "x$USE_STC" = "x1" ; then
52763 COND_USE_STC_1=""
52764 fi
52765
52766 COND_USE_THREADS_0="#"
52767 if test "x$USE_THREADS" = "x0" ; then
52768 COND_USE_THREADS_0=""
52769 fi
52770
52771 COND_USE_THREADS_1="#"
52772 if test "x$USE_THREADS" = "x1" ; then
52773 COND_USE_THREADS_1=""
52774 fi
52775
52776 COND_USE_XRC_1="#"
52777 if test "x$USE_XRC" = "x1" ; then
52778 COND_USE_XRC_1=""
52779 fi
52780
52781 COND_WINDOWS_IMPLIB_1="#"
52782 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52783 COND_WINDOWS_IMPLIB_1=""
52784 fi
52785
52786 COND_WITH_PLUGIN_SDL_1="#"
52787 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52788 COND_WITH_PLUGIN_SDL_1=""
52789 fi
52790
52791 COND_WXUNIV_0="#"
52792 if test "x$WXUNIV" = "x0" ; then
52793 COND_WXUNIV_0=""
52794 fi
52795
52796 COND_WXUNIV_1="#"
52797 if test "x$WXUNIV" = "x1" ; then
52798 COND_WXUNIV_1=""
52799 fi
52800
52801 COND_WXUSE_EXPAT_BUILTIN="#"
52802 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52803 COND_WXUSE_EXPAT_BUILTIN=""
52804 fi
52805
52806 COND_WXUSE_LIBJPEG_BUILTIN="#"
52807 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52808 COND_WXUSE_LIBJPEG_BUILTIN=""
52809 fi
52810
52811 COND_WXUSE_LIBPNG_BUILTIN="#"
52812 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52813 COND_WXUSE_LIBPNG_BUILTIN=""
52814 fi
52815
52816 COND_WXUSE_LIBTIFF_BUILTIN="#"
52817 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52818 COND_WXUSE_LIBTIFF_BUILTIN=""
52819 fi
52820
52821 COND_WXUSE_ODBC_BUILTIN="#"
52822 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52823 COND_WXUSE_ODBC_BUILTIN=""
52824 fi
52825
52826 COND_WXUSE_REGEX_BUILTIN="#"
52827 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52828 COND_WXUSE_REGEX_BUILTIN=""
52829 fi
52830
52831 COND_WXUSE_ZLIB_BUILTIN="#"
52832 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52833 COND_WXUSE_ZLIB_BUILTIN=""
52834 fi
52835
52836
52837
52838 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52839 { { 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
52840 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;}
52841 { (exit 1); exit 1; }; }
52842 fi
52843
52844 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52845 { { 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
52846 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;}
52847 { (exit 1); exit 1; }; }
52848 fi
52849
52850
52851 if test $GCC_PCH = 1
52852 then
52853 if test "$wx_cv_gcc_pch_bug" = yes; then
52854 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52855 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52856 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52857 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52858 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52859 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52860 fi
52861
52862 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52863 fi
52864
52865
52866 if test "$wxUSE_MAC" = 1 ; then
52867 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52868 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52869 mv temp bk-deps
52870 chmod +x bk-deps
52871 fi
52872 fi
52873
52874 if test "$wxUSE_SHARED" = "yes"; then
52875
52876 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52877 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52878
52879 case "${host}" in
52880 *-pc-os2_emx | *-pc-os2-emx )
52881 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52882 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52883 cp -p ${srcdir}/src/os2/dllnames.sh .
52884 cp -p ${srcdir}/src/os2/dllar.sh .
52885 ;;
52886 esac
52887 else
52888
52889 EXE_LINKER="$CXX -o"
52890
52891 fi
52892 if test "$wxUSE_OMF" = "yes"; then
52893 case "${host}" in
52894 *-pc-os2_emx | *-pc-os2-emx )
52895 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52896 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52897 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52898 ;;
52899 esac
52900 fi
52901
52902 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52903
52904
52905 case "${host}" in
52906 *-*-solaris2* )
52907 if "$GCC" = yes; then
52908 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52909 LIBS=`echo $LIBS | sed 's/-mt//'`
52910 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52911 fi
52912 ;;
52913
52914 *-*-linux* )
52915 if test "x$SUNCXX" = xyes; then
52916 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52917 LIBS=`echo $LIBS | sed 's/-pthread//'`
52918 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52919 fi
52920 ;;
52921 esac
52922
52923 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52924 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52925
52926 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52927
52928
52929
52930
52931
52932
52933
52934
52935
52936
52937
52938
52939
52940
52941
52942
52943
52944
52945
52946
52947
52948
52949
52950
52951
52952
52953
52954
52955
52956
52957
52958
52959
52960
52961
52962
52963
52964
52965
52966
52967
52968
52969
52970
52971
52972
52973
52974
52975
52976
52977
52978
52979
52980
52981
52982
52983
52984
52985
52986
52987
52988 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52989 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52990 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52991 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52992 echo $ECHO_N "(cached) $ECHO_C" >&6
52993 else
52994 cat >conftest.make <<\_ACEOF
52995 SHELL = /bin/sh
52996 all:
52997 @echo '@@@%%%=$(MAKE)=@@@%%%'
52998 _ACEOF
52999 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53000 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53001 *@@@%%%=?*=@@@%%%*)
53002 eval ac_cv_prog_make_${ac_make}_set=yes;;
53003 *)
53004 eval ac_cv_prog_make_${ac_make}_set=no;;
53005 esac
53006 rm -f conftest.make
53007 fi
53008 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53009 { echo "$as_me:$LINENO: result: yes" >&5
53010 echo "${ECHO_T}yes" >&6; }
53011 SET_MAKE=
53012 else
53013 { echo "$as_me:$LINENO: result: no" >&5
53014 echo "${ECHO_T}no" >&6; }
53015 SET_MAKE="MAKE=${MAKE-make}"
53016 fi
53017
53018
53019
53020 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53021
53022
53023 if test "$USE_WIN32" = 1; then
53024 ac_config_commands="$ac_config_commands
53025 rcdefs.h
53026 "
53027
53028 fi
53029
53030 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53031
53032
53033 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53034
53035
53036 if test "$wx_cv_version_script" = "yes"; then
53037 ac_config_files="$ac_config_files version-script"
53038
53039 fi
53040 ac_config_files="$ac_config_files Makefile"
53041
53042
53043 ac_config_commands="$ac_config_commands wx-config"
53044
53045
53046
53047 if test "$wxWITH_SUBDIRS" != "no"; then
53048 if test "$wxUSE_GUI" = "yes"; then
53049 SUBDIRS="samples demos utils"
53050 else SUBDIRS="samples utils"
53051 fi
53052
53053
53054
53055 # Check whether --with-cppunit-prefix was given.
53056 if test "${with_cppunit_prefix+set}" = set; then
53057 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53058 else
53059 cppunit_config_prefix=""
53060 fi
53061
53062
53063 # Check whether --with-cppunit-exec-prefix was given.
53064 if test "${with_cppunit_exec_prefix+set}" = set; then
53065 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53066 else
53067 cppunit_config_exec_prefix=""
53068 fi
53069
53070
53071 if test x$cppunit_config_exec_prefix != x ; then
53072 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53073 if test x${CPPUNIT_CONFIG+set} != xset ; then
53074 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53075 fi
53076 fi
53077 if test x$cppunit_config_prefix != x ; then
53078 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53079 if test x${CPPUNIT_CONFIG+set} != xset ; then
53080 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53081 fi
53082 fi
53083
53084 # Extract the first word of "cppunit-config", so it can be a program name with args.
53085 set dummy cppunit-config; ac_word=$2
53086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53088 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53089 echo $ECHO_N "(cached) $ECHO_C" >&6
53090 else
53091 case $CPPUNIT_CONFIG in
53092 [\\/]* | ?:[\\/]*)
53093 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53094 ;;
53095 *)
53096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53097 for as_dir in $PATH
53098 do
53099 IFS=$as_save_IFS
53100 test -z "$as_dir" && as_dir=.
53101 for ac_exec_ext in '' $ac_executable_extensions; do
53102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53103 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53105 break 2
53106 fi
53107 done
53108 done
53109 IFS=$as_save_IFS
53110
53111 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53112 ;;
53113 esac
53114 fi
53115 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53116 if test -n "$CPPUNIT_CONFIG"; then
53117 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53118 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53119 else
53120 { echo "$as_me:$LINENO: result: no" >&5
53121 echo "${ECHO_T}no" >&6; }
53122 fi
53123
53124
53125 cppunit_version_min=1.8.0
53126
53127 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53128 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53129 no_cppunit=""
53130 if test "$CPPUNIT_CONFIG" = "no" ; then
53131 { echo "$as_me:$LINENO: result: no" >&5
53132 echo "${ECHO_T}no" >&6; }
53133 no_cppunit=yes
53134 else
53135 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53136 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53137 cppunit_version=`$CPPUNIT_CONFIG --version`
53138
53139 cppunit_major_version=`echo $cppunit_version | \
53140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53141 cppunit_minor_version=`echo $cppunit_version | \
53142 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53143 cppunit_micro_version=`echo $cppunit_version | \
53144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53145
53146 cppunit_major_min=`echo $cppunit_version_min | \
53147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53148 cppunit_minor_min=`echo $cppunit_version_min | \
53149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53150 cppunit_micro_min=`echo $cppunit_version_min | \
53151 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53152
53153 cppunit_version_proper=`expr \
53154 $cppunit_major_version \> $cppunit_major_min \| \
53155 $cppunit_major_version \= $cppunit_major_min \& \
53156 $cppunit_minor_version \> $cppunit_minor_min \| \
53157 $cppunit_major_version \= $cppunit_major_min \& \
53158 $cppunit_minor_version \= $cppunit_minor_min \& \
53159 $cppunit_micro_version \>= $cppunit_micro_min `
53160
53161 if test "$cppunit_version_proper" = "1" ; then
53162 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53163 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53164 else
53165 { echo "$as_me:$LINENO: result: no" >&5
53166 echo "${ECHO_T}no" >&6; }
53167 no_cppunit=yes
53168 fi
53169 fi
53170
53171 if test "x$no_cppunit" = x ; then
53172 SUBDIRS="$SUBDIRS tests"
53173 else
53174 CPPUNIT_CFLAGS=""
53175 CPPUNIT_LIBS=""
53176 :
53177 fi
53178
53179
53180
53181
53182
53183 for subdir in `echo $SUBDIRS`; do
53184 if test -d ${srcdir}/${subdir} ; then
53185 if test "$wxUSE_GUI" = "yes"; then
53186 if test ${subdir} = "samples"; then
53187 makefiles="samples/Makefile.in $makefiles"
53188 for sample in `echo $SAMPLES_SUBDIRS`; do
53189 if test -d $srcdir/samples/$sample; then
53190 makefiles="samples/$sample/Makefile.in $makefiles"
53191 fi
53192 done
53193 else
53194 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53195 eval "disabled=\$$disabled_var"
53196 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53197 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53198 fi
53199 else if test ${subdir} = "samples"; then
53200 makefiles="samples/Makefile.in samples/console/Makefile.in"
53201 elif test ${subdir} = "utils"; then
53202 makefiles=""
53203 for util in HelpGen tex2rtf ; do
53204 if test -d $srcdir/utils/$util ; then
53205 makefiles="utils/$util/Makefile.in \
53206 utils/$util/src/Makefile.in \
53207 $makefiles"
53208 fi
53209 done
53210 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53211 fi
53212 fi
53213
53214 for mkin in $makefiles ; do
53215 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53216 ac_config_files="$ac_config_files $mk"
53217
53218 done
53219 fi
53220 done
53221 fi
53222 cat >confcache <<\_ACEOF
53223 # This file is a shell script that caches the results of configure
53224 # tests run on this system so they can be shared between configure
53225 # scripts and configure runs, see configure's option --config-cache.
53226 # It is not useful on other systems. If it contains results you don't
53227 # want to keep, you may remove or edit it.
53228 #
53229 # config.status only pays attention to the cache file if you give it
53230 # the --recheck option to rerun configure.
53231 #
53232 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53233 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53234 # following values.
53235
53236 _ACEOF
53237
53238 # The following way of writing the cache mishandles newlines in values,
53239 # but we know of no workaround that is simple, portable, and efficient.
53240 # So, we kill variables containing newlines.
53241 # Ultrix sh set writes to stderr and can't be redirected directly,
53242 # and sets the high bit in the cache file unless we assign to the vars.
53243 (
53244 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53245 eval ac_val=\$$ac_var
53246 case $ac_val in #(
53247 *${as_nl}*)
53248 case $ac_var in #(
53249 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53250 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53251 esac
53252 case $ac_var in #(
53253 _ | IFS | as_nl) ;; #(
53254 *) $as_unset $ac_var ;;
53255 esac ;;
53256 esac
53257 done
53258
53259 (set) 2>&1 |
53260 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53261 *${as_nl}ac_space=\ *)
53262 # `set' does not quote correctly, so add quotes (double-quote
53263 # substitution turns \\\\ into \\, and sed turns \\ into \).
53264 sed -n \
53265 "s/'/'\\\\''/g;
53266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53267 ;; #(
53268 *)
53269 # `set' quotes correctly as required by POSIX, so do not add quotes.
53270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53271 ;;
53272 esac |
53273 sort
53274 ) |
53275 sed '
53276 /^ac_cv_env_/b end
53277 t clear
53278 :clear
53279 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53280 t end
53281 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53282 :end' >>confcache
53283 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53284 if test -w "$cache_file"; then
53285 test "x$cache_file" != "x/dev/null" &&
53286 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53287 echo "$as_me: updating cache $cache_file" >&6;}
53288 cat confcache >$cache_file
53289 else
53290 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53291 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53292 fi
53293 fi
53294 rm -f confcache
53295
53296 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53297 # Let make expand exec_prefix.
53298 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53299
53300 DEFS=-DHAVE_CONFIG_H
53301
53302 ac_libobjs=
53303 ac_ltlibobjs=
53304 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53305 # 1. Remove the extension, and $U if already installed.
53306 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53307 ac_i=`echo "$ac_i" | sed "$ac_script"`
53308 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53309 # will be set to the directory where LIBOBJS objects are built.
53310 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53311 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53312 done
53313 LIBOBJS=$ac_libobjs
53314
53315 LTLIBOBJS=$ac_ltlibobjs
53316
53317
53318
53319 : ${CONFIG_STATUS=./config.status}
53320 ac_clean_files_save=$ac_clean_files
53321 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53322 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53323 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53324 cat >$CONFIG_STATUS <<_ACEOF
53325 #! $SHELL
53326 # Generated by $as_me.
53327 # Run this file to recreate the current configuration.
53328 # Compiler output produced by configure, useful for debugging
53329 # configure, is in config.log if it exists.
53330
53331 debug=false
53332 ac_cs_recheck=false
53333 ac_cs_silent=false
53334 SHELL=\${CONFIG_SHELL-$SHELL}
53335 _ACEOF
53336
53337 cat >>$CONFIG_STATUS <<\_ACEOF
53338 ## --------------------- ##
53339 ## M4sh Initialization. ##
53340 ## --------------------- ##
53341
53342 # Be more Bourne compatible
53343 DUALCASE=1; export DUALCASE # for MKS sh
53344 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53345 emulate sh
53346 NULLCMD=:
53347 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53348 # is contrary to our usage. Disable this feature.
53349 alias -g '${1+"$@"}'='"$@"'
53350 setopt NO_GLOB_SUBST
53351 else
53352 case `(set -o) 2>/dev/null` in
53353 *posix*) set -o posix ;;
53354 esac
53355
53356 fi
53357
53358
53359
53360
53361 # PATH needs CR
53362 # Avoid depending upon Character Ranges.
53363 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53364 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53365 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53366 as_cr_digits='0123456789'
53367 as_cr_alnum=$as_cr_Letters$as_cr_digits
53368
53369 # The user is always right.
53370 if test "${PATH_SEPARATOR+set}" != set; then
53371 echo "#! /bin/sh" >conf$$.sh
53372 echo "exit 0" >>conf$$.sh
53373 chmod +x conf$$.sh
53374 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53375 PATH_SEPARATOR=';'
53376 else
53377 PATH_SEPARATOR=:
53378 fi
53379 rm -f conf$$.sh
53380 fi
53381
53382 # Support unset when possible.
53383 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53384 as_unset=unset
53385 else
53386 as_unset=false
53387 fi
53388
53389
53390 # IFS
53391 # We need space, tab and new line, in precisely that order. Quoting is
53392 # there to prevent editors from complaining about space-tab.
53393 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53394 # splitting by setting IFS to empty value.)
53395 as_nl='
53396 '
53397 IFS=" "" $as_nl"
53398
53399 # Find who we are. Look in the path if we contain no directory separator.
53400 case $0 in
53401 *[\\/]* ) as_myself=$0 ;;
53402 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53403 for as_dir in $PATH
53404 do
53405 IFS=$as_save_IFS
53406 test -z "$as_dir" && as_dir=.
53407 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53408 done
53409 IFS=$as_save_IFS
53410
53411 ;;
53412 esac
53413 # We did not find ourselves, most probably we were run as `sh COMMAND'
53414 # in which case we are not to be found in the path.
53415 if test "x$as_myself" = x; then
53416 as_myself=$0
53417 fi
53418 if test ! -f "$as_myself"; then
53419 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53420 { (exit 1); exit 1; }
53421 fi
53422
53423 # Work around bugs in pre-3.0 UWIN ksh.
53424 for as_var in ENV MAIL MAILPATH
53425 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53426 done
53427 PS1='$ '
53428 PS2='> '
53429 PS4='+ '
53430
53431 # NLS nuisances.
53432 for as_var in \
53433 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53434 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53435 LC_TELEPHONE LC_TIME
53436 do
53437 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53438 eval $as_var=C; export $as_var
53439 else
53440 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53441 fi
53442 done
53443
53444 # Required to use basename.
53445 if expr a : '\(a\)' >/dev/null 2>&1 &&
53446 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53447 as_expr=expr
53448 else
53449 as_expr=false
53450 fi
53451
53452 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53453 as_basename=basename
53454 else
53455 as_basename=false
53456 fi
53457
53458
53459 # Name of the executable.
53460 as_me=`$as_basename -- "$0" ||
53461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53462 X"$0" : 'X\(//\)$' \| \
53463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53464 echo X/"$0" |
53465 sed '/^.*\/\([^/][^/]*\)\/*$/{
53466 s//\1/
53467 q
53468 }
53469 /^X\/\(\/\/\)$/{
53470 s//\1/
53471 q
53472 }
53473 /^X\/\(\/\).*/{
53474 s//\1/
53475 q
53476 }
53477 s/.*/./; q'`
53478
53479 # CDPATH.
53480 $as_unset CDPATH
53481
53482
53483
53484 as_lineno_1=$LINENO
53485 as_lineno_2=$LINENO
53486 test "x$as_lineno_1" != "x$as_lineno_2" &&
53487 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53488
53489 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53490 # uniformly replaced by the line number. The first 'sed' inserts a
53491 # line-number line after each line using $LINENO; the second 'sed'
53492 # does the real work. The second script uses 'N' to pair each
53493 # line-number line with the line containing $LINENO, and appends
53494 # trailing '-' during substitution so that $LINENO is not a special
53495 # case at line end.
53496 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53497 # scripts with optimization help from Paolo Bonzini. Blame Lee
53498 # E. McMahon (1931-1989) for sed's syntax. :-)
53499 sed -n '
53500 p
53501 /[$]LINENO/=
53502 ' <$as_myself |
53503 sed '
53504 s/[$]LINENO.*/&-/
53505 t lineno
53506 b
53507 :lineno
53508 N
53509 :loop
53510 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53511 t loop
53512 s/-\n.*//
53513 ' >$as_me.lineno &&
53514 chmod +x "$as_me.lineno" ||
53515 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53516 { (exit 1); exit 1; }; }
53517
53518 # Don't try to exec as it changes $[0], causing all sort of problems
53519 # (the dirname of $[0] is not the place where we might find the
53520 # original and so on. Autoconf is especially sensitive to this).
53521 . "./$as_me.lineno"
53522 # Exit status is that of the last command.
53523 exit
53524 }
53525
53526
53527 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53528 as_dirname=dirname
53529 else
53530 as_dirname=false
53531 fi
53532
53533 ECHO_C= ECHO_N= ECHO_T=
53534 case `echo -n x` in
53535 -n*)
53536 case `echo 'x\c'` in
53537 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53538 *) ECHO_C='\c';;
53539 esac;;
53540 *)
53541 ECHO_N='-n';;
53542 esac
53543
53544 if expr a : '\(a\)' >/dev/null 2>&1 &&
53545 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53546 as_expr=expr
53547 else
53548 as_expr=false
53549 fi
53550
53551 rm -f conf$$ conf$$.exe conf$$.file
53552 if test -d conf$$.dir; then
53553 rm -f conf$$.dir/conf$$.file
53554 else
53555 rm -f conf$$.dir
53556 mkdir conf$$.dir
53557 fi
53558 echo >conf$$.file
53559 if ln -s conf$$.file conf$$ 2>/dev/null; then
53560 as_ln_s='ln -s'
53561 # ... but there are two gotchas:
53562 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53563 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53564 # In both cases, we have to default to `cp -p'.
53565 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53566 as_ln_s='cp -p'
53567 elif ln conf$$.file conf$$ 2>/dev/null; then
53568 as_ln_s=ln
53569 else
53570 as_ln_s='cp -p'
53571 fi
53572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53573 rmdir conf$$.dir 2>/dev/null
53574
53575 if mkdir -p . 2>/dev/null; then
53576 as_mkdir_p=:
53577 else
53578 test -d ./-p && rmdir ./-p
53579 as_mkdir_p=false
53580 fi
53581
53582 if test -x / >/dev/null 2>&1; then
53583 as_test_x='test -x'
53584 else
53585 if ls -dL / >/dev/null 2>&1; then
53586 as_ls_L_option=L
53587 else
53588 as_ls_L_option=
53589 fi
53590 as_test_x='
53591 eval sh -c '\''
53592 if test -d "$1"; then
53593 test -d "$1/.";
53594 else
53595 case $1 in
53596 -*)set "./$1";;
53597 esac;
53598 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53599 ???[sx]*):;;*)false;;esac;fi
53600 '\'' sh
53601 '
53602 fi
53603 as_executable_p=$as_test_x
53604
53605 # Sed expression to map a string onto a valid CPP name.
53606 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53607
53608 # Sed expression to map a string onto a valid variable name.
53609 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53610
53611
53612 exec 6>&1
53613
53614 # Save the log message, to keep $[0] and so on meaningful, and to
53615 # report actual input values of CONFIG_FILES etc. instead of their
53616 # values after options handling.
53617 ac_log="
53618 This file was extended by wxWidgets $as_me 2.9.0, which was
53619 generated by GNU Autoconf 2.61. Invocation command line was
53620
53621 CONFIG_FILES = $CONFIG_FILES
53622 CONFIG_HEADERS = $CONFIG_HEADERS
53623 CONFIG_LINKS = $CONFIG_LINKS
53624 CONFIG_COMMANDS = $CONFIG_COMMANDS
53625 $ $0 $@
53626
53627 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53628 "
53629
53630 _ACEOF
53631
53632 cat >>$CONFIG_STATUS <<_ACEOF
53633 # Files that config.status was made for.
53634 config_files="$ac_config_files"
53635 config_headers="$ac_config_headers"
53636 config_commands="$ac_config_commands"
53637
53638 _ACEOF
53639
53640 cat >>$CONFIG_STATUS <<\_ACEOF
53641 ac_cs_usage="\
53642 \`$as_me' instantiates files from templates according to the
53643 current configuration.
53644
53645 Usage: $0 [OPTIONS] [FILE]...
53646
53647 -h, --help print this help, then exit
53648 -V, --version print version number and configuration settings, then exit
53649 -q, --quiet do not print progress messages
53650 -d, --debug don't remove temporary files
53651 --recheck update $as_me by reconfiguring in the same conditions
53652 --file=FILE[:TEMPLATE]
53653 instantiate the configuration file FILE
53654 --header=FILE[:TEMPLATE]
53655 instantiate the configuration header FILE
53656
53657 Configuration files:
53658 $config_files
53659
53660 Configuration headers:
53661 $config_headers
53662
53663 Configuration commands:
53664 $config_commands
53665
53666 Report bugs to <bug-autoconf@gnu.org>."
53667
53668 _ACEOF
53669 cat >>$CONFIG_STATUS <<_ACEOF
53670 ac_cs_version="\\
53671 wxWidgets config.status 2.9.0
53672 configured by $0, generated by GNU Autoconf 2.61,
53673 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53674
53675 Copyright (C) 2006 Free Software Foundation, Inc.
53676 This config.status script is free software; the Free Software Foundation
53677 gives unlimited permission to copy, distribute and modify it."
53678
53679 ac_pwd='$ac_pwd'
53680 srcdir='$srcdir'
53681 INSTALL='$INSTALL'
53682 _ACEOF
53683
53684 cat >>$CONFIG_STATUS <<\_ACEOF
53685 # If no file are specified by the user, then we need to provide default
53686 # value. By we need to know if files were specified by the user.
53687 ac_need_defaults=:
53688 while test $# != 0
53689 do
53690 case $1 in
53691 --*=*)
53692 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53693 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53694 ac_shift=:
53695 ;;
53696 *)
53697 ac_option=$1
53698 ac_optarg=$2
53699 ac_shift=shift
53700 ;;
53701 esac
53702
53703 case $ac_option in
53704 # Handling of the options.
53705 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53706 ac_cs_recheck=: ;;
53707 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53708 echo "$ac_cs_version"; exit ;;
53709 --debug | --debu | --deb | --de | --d | -d )
53710 debug=: ;;
53711 --file | --fil | --fi | --f )
53712 $ac_shift
53713 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53714 ac_need_defaults=false;;
53715 --header | --heade | --head | --hea )
53716 $ac_shift
53717 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53718 ac_need_defaults=false;;
53719 --he | --h)
53720 # Conflict between --help and --header
53721 { echo "$as_me: error: ambiguous option: $1
53722 Try \`$0 --help' for more information." >&2
53723 { (exit 1); exit 1; }; };;
53724 --help | --hel | -h )
53725 echo "$ac_cs_usage"; exit ;;
53726 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53727 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53728 ac_cs_silent=: ;;
53729
53730 # This is an error.
53731 -*) { echo "$as_me: error: unrecognized option: $1
53732 Try \`$0 --help' for more information." >&2
53733 { (exit 1); exit 1; }; } ;;
53734
53735 *) ac_config_targets="$ac_config_targets $1"
53736 ac_need_defaults=false ;;
53737
53738 esac
53739 shift
53740 done
53741
53742 ac_configure_extra_args=
53743
53744 if $ac_cs_silent; then
53745 exec 6>/dev/null
53746 ac_configure_extra_args="$ac_configure_extra_args --silent"
53747 fi
53748
53749 _ACEOF
53750 cat >>$CONFIG_STATUS <<_ACEOF
53751 if \$ac_cs_recheck; then
53752 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53753 CONFIG_SHELL=$SHELL
53754 export CONFIG_SHELL
53755 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53756 fi
53757
53758 _ACEOF
53759 cat >>$CONFIG_STATUS <<\_ACEOF
53760 exec 5>>config.log
53761 {
53762 echo
53763 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53764 ## Running $as_me. ##
53765 _ASBOX
53766 echo "$ac_log"
53767 } >&5
53768
53769 _ACEOF
53770 cat >>$CONFIG_STATUS <<_ACEOF
53771 #
53772 # INIT-COMMANDS
53773 #
53774
53775 CPP="$CPP"
53776 infile="$srcdir/include/wx/msw/genrcdefs.h"
53777 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53778
53779
53780 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53781 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53782 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53783 LN_S="${LN_S}"
53784
53785
53786 _ACEOF
53787
53788 cat >>$CONFIG_STATUS <<\_ACEOF
53789
53790 # Handling of arguments.
53791 for ac_config_target in $ac_config_targets
53792 do
53793 case $ac_config_target in
53794 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53795 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53796 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53797 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53798 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53799 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53800 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53801 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53802
53803 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53804 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53805 { (exit 1); exit 1; }; };;
53806 esac
53807 done
53808
53809
53810 # If the user did not use the arguments to specify the items to instantiate,
53811 # then the envvar interface is used. Set only those that are not.
53812 # We use the long form for the default assignment because of an extremely
53813 # bizarre bug on SunOS 4.1.3.
53814 if $ac_need_defaults; then
53815 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53816 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53817 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53818 fi
53819
53820 # Have a temporary directory for convenience. Make it in the build tree
53821 # simply because there is no reason against having it here, and in addition,
53822 # creating and moving files from /tmp can sometimes cause problems.
53823 # Hook for its removal unless debugging.
53824 # Note that there is a small window in which the directory will not be cleaned:
53825 # after its creation but before its name has been assigned to `$tmp'.
53826 $debug ||
53827 {
53828 tmp=
53829 trap 'exit_status=$?
53830 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53831 ' 0
53832 trap '{ (exit 1); exit 1; }' 1 2 13 15
53833 }
53834 # Create a (secure) tmp directory for tmp files.
53835
53836 {
53837 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53838 test -n "$tmp" && test -d "$tmp"
53839 } ||
53840 {
53841 tmp=./conf$$-$RANDOM
53842 (umask 077 && mkdir "$tmp")
53843 } ||
53844 {
53845 echo "$me: cannot create a temporary directory in ." >&2
53846 { (exit 1); exit 1; }
53847 }
53848
53849 #
53850 # Set up the sed scripts for CONFIG_FILES section.
53851 #
53852
53853 # No need to generate the scripts if there are no CONFIG_FILES.
53854 # This happens for instance when ./config.status config.h
53855 if test -n "$CONFIG_FILES"; then
53856
53857 _ACEOF
53858
53859
53860
53861 ac_delim='%!_!# '
53862 for ac_last_try in false false false false false :; do
53863 cat >conf$$subs.sed <<_ACEOF
53864 SHELL!$SHELL$ac_delim
53865 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53866 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53867 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53868 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53869 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53870 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53871 exec_prefix!$exec_prefix$ac_delim
53872 prefix!$prefix$ac_delim
53873 program_transform_name!$program_transform_name$ac_delim
53874 bindir!$bindir$ac_delim
53875 sbindir!$sbindir$ac_delim
53876 libexecdir!$libexecdir$ac_delim
53877 datarootdir!$datarootdir$ac_delim
53878 datadir!$datadir$ac_delim
53879 sysconfdir!$sysconfdir$ac_delim
53880 sharedstatedir!$sharedstatedir$ac_delim
53881 localstatedir!$localstatedir$ac_delim
53882 includedir!$includedir$ac_delim
53883 oldincludedir!$oldincludedir$ac_delim
53884 docdir!$docdir$ac_delim
53885 infodir!$infodir$ac_delim
53886 htmldir!$htmldir$ac_delim
53887 dvidir!$dvidir$ac_delim
53888 pdfdir!$pdfdir$ac_delim
53889 psdir!$psdir$ac_delim
53890 libdir!$libdir$ac_delim
53891 localedir!$localedir$ac_delim
53892 mandir!$mandir$ac_delim
53893 DEFS!$DEFS$ac_delim
53894 ECHO_C!$ECHO_C$ac_delim
53895 ECHO_N!$ECHO_N$ac_delim
53896 ECHO_T!$ECHO_T$ac_delim
53897 LIBS!$LIBS$ac_delim
53898 build_alias!$build_alias$ac_delim
53899 host_alias!$host_alias$ac_delim
53900 target_alias!$target_alias$ac_delim
53901 build!$build$ac_delim
53902 build_cpu!$build_cpu$ac_delim
53903 build_vendor!$build_vendor$ac_delim
53904 build_os!$build_os$ac_delim
53905 host!$host$ac_delim
53906 host_cpu!$host_cpu$ac_delim
53907 host_vendor!$host_vendor$ac_delim
53908 host_os!$host_os$ac_delim
53909 target!$target$ac_delim
53910 target_cpu!$target_cpu$ac_delim
53911 target_vendor!$target_vendor$ac_delim
53912 target_os!$target_os$ac_delim
53913 wx_top_builddir!$wx_top_builddir$ac_delim
53914 CC!$CC$ac_delim
53915 CFLAGS!$CFLAGS$ac_delim
53916 LDFLAGS!$LDFLAGS$ac_delim
53917 CPPFLAGS!$CPPFLAGS$ac_delim
53918 ac_ct_CC!$ac_ct_CC$ac_delim
53919 EXEEXT!$EXEEXT$ac_delim
53920 OBJEXT!$OBJEXT$ac_delim
53921 CPP!$CPP$ac_delim
53922 GREP!$GREP$ac_delim
53923 EGREP!$EGREP$ac_delim
53924 CXX!$CXX$ac_delim
53925 CXXFLAGS!$CXXFLAGS$ac_delim
53926 ac_ct_CXX!$ac_ct_CXX$ac_delim
53927 RANLIB!$RANLIB$ac_delim
53928 AR!$AR$ac_delim
53929 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53930 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53931 INSTALL_DATA!$INSTALL_DATA$ac_delim
53932 STRIP!$STRIP$ac_delim
53933 WINDRES!$WINDRES$ac_delim
53934 DLLTOOL!$DLLTOOL$ac_delim
53935 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53936 LN_S!$LN_S$ac_delim
53937 subdirs!$subdirs$ac_delim
53938 PKG_CONFIG!$PKG_CONFIG$ac_delim
53939 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53940 GTK_LIBS!$GTK_LIBS$ac_delim
53941 GTK_CONFIG!$GTK_CONFIG$ac_delim
53942 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53943 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53944 XMKMF!$XMKMF$ac_delim
53945 X_CFLAGS!$X_CFLAGS$ac_delim
53946 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53947 X_LIBS!$X_LIBS$ac_delim
53948 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53949 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53950 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53951 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53952 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53953 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53954 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53955 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53956 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53957 REZ!$REZ$ac_delim
53958 DEREZ!$DEREZ$ac_delim
53959 SETFILE!$SETFILE$ac_delim
53960 LIBICONV!$LIBICONV$ac_delim
53961 _ACEOF
53962
53963 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53964 break
53965 elif $ac_last_try; then
53966 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53967 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53968 { (exit 1); exit 1; }; }
53969 else
53970 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53971 fi
53972 done
53973
53974 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53975 if test -n "$ac_eof"; then
53976 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53977 ac_eof=`expr $ac_eof + 1`
53978 fi
53979
53980 cat >>$CONFIG_STATUS <<_ACEOF
53981 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53982 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53983 _ACEOF
53984 sed '
53985 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53986 s/^/s,@/; s/!/@,|#_!!_#|/
53987 :n
53988 t n
53989 s/'"$ac_delim"'$/,g/; t
53990 s/$/\\/; p
53991 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53992 ' >>$CONFIG_STATUS <conf$$subs.sed
53993 rm -f conf$$subs.sed
53994 cat >>$CONFIG_STATUS <<_ACEOF
53995 CEOF$ac_eof
53996 _ACEOF
53997
53998
53999 ac_delim='%!_!# '
54000 for ac_last_try in false false false false false :; do
54001 cat >conf$$subs.sed <<_ACEOF
54002 SDL_CONFIG!$SDL_CONFIG$ac_delim
54003 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54004 SDL_LIBS!$SDL_LIBS$ac_delim
54005 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54006 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54007 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54008 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54009 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54010 HILDON_LIBS!$HILDON_LIBS$ac_delim
54011 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54012 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54013 GST_CFLAGS!$GST_CFLAGS$ac_delim
54014 GST_LIBS!$GST_LIBS$ac_delim
54015 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54016 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54017 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54018 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54019 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54020 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54021 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54022 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54023 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54024 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54025 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54026 VENDOR!$VENDOR$ac_delim
54027 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54028 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54029 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54030 WXUNIV!$WXUNIV$ac_delim
54031 MONOLITHIC!$MONOLITHIC$ac_delim
54032 USE_PLUGINS!$USE_PLUGINS$ac_delim
54033 CXXWARNINGS!$CXXWARNINGS$ac_delim
54034 EXTRALIBS!$EXTRALIBS$ac_delim
54035 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54036 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54037 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54038 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54039 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54040 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54041 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54042 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54043 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54044 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54045 UNICODE!$UNICODE$ac_delim
54046 BUILD!$BUILD$ac_delim
54047 DEBUG_INFO!$DEBUG_INFO$ac_delim
54048 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54049 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54050 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54051 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54052 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54053 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54054 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54055 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54056 SET_MAKE!$SET_MAKE$ac_delim
54057 MAKE_SET!$MAKE_SET$ac_delim
54058 AROPTIONS!$AROPTIONS$ac_delim
54059 NM!$NM$ac_delim
54060 INSTALL_DIR!$INSTALL_DIR$ac_delim
54061 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54062 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54063 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54064 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54065 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54066 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54067 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54068 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54069 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54070 SO_SUFFIX!$SO_SUFFIX$ac_delim
54071 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54072 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54073 LIBPREFIX!$LIBPREFIX$ac_delim
54074 LIBEXT!$LIBEXT$ac_delim
54075 DLLPREFIX!$DLLPREFIX$ac_delim
54076 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54077 dlldir!$dlldir$ac_delim
54078 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54079 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54080 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54081 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54082 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54083 PIC_FLAG!$PIC_FLAG$ac_delim
54084 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54085 USE_SOVERSION!$USE_SOVERSION$ac_delim
54086 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54087 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54088 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54089 USE_MACVERSION!$USE_MACVERSION$ac_delim
54090 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54091 SONAME_FLAG!$SONAME_FLAG$ac_delim
54092 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54093 BK_DEPS!$BK_DEPS$ac_delim
54094 GCC_PCH!$GCC_PCH$ac_delim
54095 ICC_PCH!$ICC_PCH$ac_delim
54096 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54097 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54098 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54099 _ACEOF
54100
54101 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54102 break
54103 elif $ac_last_try; then
54104 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54105 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54106 { (exit 1); exit 1; }; }
54107 else
54108 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54109 fi
54110 done
54111
54112 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54113 if test -n "$ac_eof"; then
54114 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54115 ac_eof=`expr $ac_eof + 1`
54116 fi
54117
54118 cat >>$CONFIG_STATUS <<_ACEOF
54119 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54120 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54121 _ACEOF
54122 sed '
54123 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54124 s/^/s,@/; s/!/@,|#_!!_#|/
54125 :n
54126 t n
54127 s/'"$ac_delim"'$/,g/; t
54128 s/$/\\/; p
54129 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54130 ' >>$CONFIG_STATUS <conf$$subs.sed
54131 rm -f conf$$subs.sed
54132 cat >>$CONFIG_STATUS <<_ACEOF
54133 CEOF$ac_eof
54134 _ACEOF
54135
54136
54137 ac_delim='%!_!# '
54138 for ac_last_try in false false false false false :; do
54139 cat >conf$$subs.sed <<_ACEOF
54140 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54141 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54142 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54143 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54144 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54145 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54146 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54147 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54148 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54149 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54150 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54151 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54152 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54153 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54154 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54155 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54156 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54157 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54158 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54159 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54160 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54161 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54162 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54163 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54164 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54165 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54166 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54167 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54168 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54169 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54170 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54171 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54172 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54173 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54174 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54175 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54176 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54177 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54178 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54179 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54180 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54181 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54182 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54183 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54184 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54185 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54186 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54187 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54188 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54189 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54190 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54191 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54192 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54193 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54194 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54195 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54196 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54197 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54198 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54199 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54200 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54201 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54202 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54203 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54204 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54205 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54206 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54207 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54208 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54209 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54210 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54211 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54212 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54213 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54214 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54215 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54216 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54217 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54218 COND_SHARED_0!$COND_SHARED_0$ac_delim
54219 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54220 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54221 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54222 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54223 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54224 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54225 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54226 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54227 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54228 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54229 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54230 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54231 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54232 COND_SHARED_1!$COND_SHARED_1$ac_delim
54233 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54234 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54235 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54236 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54237 _ACEOF
54238
54239 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54240 break
54241 elif $ac_last_try; then
54242 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54243 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54244 { (exit 1); exit 1; }; }
54245 else
54246 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54247 fi
54248 done
54249
54250 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54251 if test -n "$ac_eof"; then
54252 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54253 ac_eof=`expr $ac_eof + 1`
54254 fi
54255
54256 cat >>$CONFIG_STATUS <<_ACEOF
54257 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54259 _ACEOF
54260 sed '
54261 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54262 s/^/s,@/; s/!/@,|#_!!_#|/
54263 :n
54264 t n
54265 s/'"$ac_delim"'$/,g/; t
54266 s/$/\\/; p
54267 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54268 ' >>$CONFIG_STATUS <conf$$subs.sed
54269 rm -f conf$$subs.sed
54270 cat >>$CONFIG_STATUS <<_ACEOF
54271 CEOF$ac_eof
54272 _ACEOF
54273
54274
54275 ac_delim='%!_!# '
54276 for ac_last_try in false false false false false :; do
54277 cat >conf$$subs.sed <<_ACEOF
54278 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54279 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54280 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54281 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54282 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54283 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54285 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54287 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54288 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54289 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54290 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54291 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54292 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54293 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54294 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54295 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54296 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54297 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54298 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54299 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54300 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54301 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54302 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54303 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54304 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54305 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54306 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54307 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54308 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54309 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54310 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54311 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54312 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54313 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54314 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54315 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54316 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54317 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54318 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54319 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54320 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54321 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54322 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54323 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54324 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54325 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54326 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54327 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54328 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54329 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54330 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54331 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54332 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54333 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54334 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54335 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54336 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54337 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54338 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54339 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54340 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54341 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54342 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54343 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54344 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54345 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54346 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54347 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54348 SHARED!$SHARED$ac_delim
54349 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54350 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54351 USE_GUI!$USE_GUI$ac_delim
54352 AFMINSTALL!$AFMINSTALL$ac_delim
54353 WIN32INSTALL!$WIN32INSTALL$ac_delim
54354 TOOLKIT!$TOOLKIT$ac_delim
54355 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54356 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54357 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54358 cross_compiling!$cross_compiling$ac_delim
54359 WIDGET_SET!$WIDGET_SET$ac_delim
54360 WX_RELEASE!$WX_RELEASE$ac_delim
54361 WX_VERSION!$WX_VERSION$ac_delim
54362 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54363 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54364 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54365 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54366 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54367 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54368 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54369 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54370 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54371 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54372 EXE_LINKER!$EXE_LINKER$ac_delim
54373 GUIDIST!$GUIDIST$ac_delim
54374 DISTDIR!$DISTDIR$ac_delim
54375 _ACEOF
54376
54377 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54378 break
54379 elif $ac_last_try; then
54380 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54381 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54382 { (exit 1); exit 1; }; }
54383 else
54384 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54385 fi
54386 done
54387
54388 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54389 if test -n "$ac_eof"; then
54390 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54391 ac_eof=`expr $ac_eof + 1`
54392 fi
54393
54394 cat >>$CONFIG_STATUS <<_ACEOF
54395 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54396 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54397 _ACEOF
54398 sed '
54399 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54400 s/^/s,@/; s/!/@,|#_!!_#|/
54401 :n
54402 t n
54403 s/'"$ac_delim"'$/,g/; t
54404 s/$/\\/; p
54405 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54406 ' >>$CONFIG_STATUS <conf$$subs.sed
54407 rm -f conf$$subs.sed
54408 cat >>$CONFIG_STATUS <<_ACEOF
54409 CEOF$ac_eof
54410 _ACEOF
54411
54412
54413 ac_delim='%!_!# '
54414 for ac_last_try in false false false false false :; do
54415 cat >conf$$subs.sed <<_ACEOF
54416 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54417 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54418 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54419 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54420 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54421 RESCOMP!$RESCOMP$ac_delim
54422 RESFLAGS!$RESFLAGS$ac_delim
54423 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54424 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54425 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54426 LIBWXMACRES!$LIBWXMACRES$ac_delim
54427 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54428 MACSETFILE!$MACSETFILE$ac_delim
54429 GCC!$GCC$ac_delim
54430 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54431 LIBOBJS!$LIBOBJS$ac_delim
54432 LTLIBOBJS!$LTLIBOBJS$ac_delim
54433 _ACEOF
54434
54435 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54436 break
54437 elif $ac_last_try; then
54438 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54439 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54440 { (exit 1); exit 1; }; }
54441 else
54442 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54443 fi
54444 done
54445
54446 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54447 if test -n "$ac_eof"; then
54448 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54449 ac_eof=`expr $ac_eof + 1`
54450 fi
54451
54452 cat >>$CONFIG_STATUS <<_ACEOF
54453 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54454 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54455 _ACEOF
54456 sed '
54457 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54458 s/^/s,@/; s/!/@,|#_!!_#|/
54459 :n
54460 t n
54461 s/'"$ac_delim"'$/,g/; t
54462 s/$/\\/; p
54463 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54464 ' >>$CONFIG_STATUS <conf$$subs.sed
54465 rm -f conf$$subs.sed
54466 cat >>$CONFIG_STATUS <<_ACEOF
54467 :end
54468 s/|#_!!_#|//g
54469 CEOF$ac_eof
54470 _ACEOF
54471
54472
54473 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54474 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54475 # trailing colons and then remove the whole line if VPATH becomes empty
54476 # (actually we leave an empty line to preserve line numbers).
54477 if test "x$srcdir" = x.; then
54478 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54479 s/:*\$(srcdir):*/:/
54480 s/:*\${srcdir}:*/:/
54481 s/:*@srcdir@:*/:/
54482 s/^\([^=]*=[ ]*\):*/\1/
54483 s/:*$//
54484 s/^[^=]*=[ ]*$//
54485 }'
54486 fi
54487
54488 cat >>$CONFIG_STATUS <<\_ACEOF
54489 fi # test -n "$CONFIG_FILES"
54490
54491
54492 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54493 do
54494 case $ac_tag in
54495 :[FHLC]) ac_mode=$ac_tag; continue;;
54496 esac
54497 case $ac_mode$ac_tag in
54498 :[FHL]*:*);;
54499 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54500 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54501 { (exit 1); exit 1; }; };;
54502 :[FH]-) ac_tag=-:-;;
54503 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54504 esac
54505 ac_save_IFS=$IFS
54506 IFS=:
54507 set x $ac_tag
54508 IFS=$ac_save_IFS
54509 shift
54510 ac_file=$1
54511 shift
54512
54513 case $ac_mode in
54514 :L) ac_source=$1;;
54515 :[FH])
54516 ac_file_inputs=
54517 for ac_f
54518 do
54519 case $ac_f in
54520 -) ac_f="$tmp/stdin";;
54521 *) # Look for the file first in the build tree, then in the source tree
54522 # (if the path is not absolute). The absolute path cannot be DOS-style,
54523 # because $ac_f cannot contain `:'.
54524 test -f "$ac_f" ||
54525 case $ac_f in
54526 [\\/$]*) false;;
54527 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54528 esac ||
54529 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54530 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54531 { (exit 1); exit 1; }; };;
54532 esac
54533 ac_file_inputs="$ac_file_inputs $ac_f"
54534 done
54535
54536 # Let's still pretend it is `configure' which instantiates (i.e., don't
54537 # use $as_me), people would be surprised to read:
54538 # /* config.h. Generated by config.status. */
54539 configure_input="Generated from "`IFS=:
54540 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54541 if test x"$ac_file" != x-; then
54542 configure_input="$ac_file. $configure_input"
54543 { echo "$as_me:$LINENO: creating $ac_file" >&5
54544 echo "$as_me: creating $ac_file" >&6;}
54545 fi
54546
54547 case $ac_tag in
54548 *:-:* | *:-) cat >"$tmp/stdin";;
54549 esac
54550 ;;
54551 esac
54552
54553 ac_dir=`$as_dirname -- "$ac_file" ||
54554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54555 X"$ac_file" : 'X\(//\)[^/]' \| \
54556 X"$ac_file" : 'X\(//\)$' \| \
54557 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54558 echo X"$ac_file" |
54559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54560 s//\1/
54561 q
54562 }
54563 /^X\(\/\/\)[^/].*/{
54564 s//\1/
54565 q
54566 }
54567 /^X\(\/\/\)$/{
54568 s//\1/
54569 q
54570 }
54571 /^X\(\/\).*/{
54572 s//\1/
54573 q
54574 }
54575 s/.*/./; q'`
54576 { as_dir="$ac_dir"
54577 case $as_dir in #(
54578 -*) as_dir=./$as_dir;;
54579 esac
54580 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54581 as_dirs=
54582 while :; do
54583 case $as_dir in #(
54584 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54585 *) as_qdir=$as_dir;;
54586 esac
54587 as_dirs="'$as_qdir' $as_dirs"
54588 as_dir=`$as_dirname -- "$as_dir" ||
54589 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54590 X"$as_dir" : 'X\(//\)[^/]' \| \
54591 X"$as_dir" : 'X\(//\)$' \| \
54592 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54593 echo X"$as_dir" |
54594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54595 s//\1/
54596 q
54597 }
54598 /^X\(\/\/\)[^/].*/{
54599 s//\1/
54600 q
54601 }
54602 /^X\(\/\/\)$/{
54603 s//\1/
54604 q
54605 }
54606 /^X\(\/\).*/{
54607 s//\1/
54608 q
54609 }
54610 s/.*/./; q'`
54611 test -d "$as_dir" && break
54612 done
54613 test -z "$as_dirs" || eval "mkdir $as_dirs"
54614 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54615 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54616 { (exit 1); exit 1; }; }; }
54617 ac_builddir=.
54618
54619 case "$ac_dir" in
54620 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54621 *)
54622 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54623 # A ".." for each directory in $ac_dir_suffix.
54624 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54625 case $ac_top_builddir_sub in
54626 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54627 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54628 esac ;;
54629 esac
54630 ac_abs_top_builddir=$ac_pwd
54631 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54632 # for backward compatibility:
54633 ac_top_builddir=$ac_top_build_prefix
54634
54635 case $srcdir in
54636 .) # We are building in place.
54637 ac_srcdir=.
54638 ac_top_srcdir=$ac_top_builddir_sub
54639 ac_abs_top_srcdir=$ac_pwd ;;
54640 [\\/]* | ?:[\\/]* ) # Absolute name.
54641 ac_srcdir=$srcdir$ac_dir_suffix;
54642 ac_top_srcdir=$srcdir
54643 ac_abs_top_srcdir=$srcdir ;;
54644 *) # Relative name.
54645 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54646 ac_top_srcdir=$ac_top_build_prefix$srcdir
54647 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54648 esac
54649 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54650
54651
54652 case $ac_mode in
54653 :F)
54654 #
54655 # CONFIG_FILE
54656 #
54657
54658 case $INSTALL in
54659 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54660 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54661 esac
54662 _ACEOF
54663
54664 cat >>$CONFIG_STATUS <<\_ACEOF
54665 # If the template does not know about datarootdir, expand it.
54666 # FIXME: This hack should be removed a few years after 2.60.
54667 ac_datarootdir_hack=; ac_datarootdir_seen=
54668
54669 case `sed -n '/datarootdir/ {
54670 p
54671 q
54672 }
54673 /@datadir@/p
54674 /@docdir@/p
54675 /@infodir@/p
54676 /@localedir@/p
54677 /@mandir@/p
54678 ' $ac_file_inputs` in
54679 *datarootdir*) ac_datarootdir_seen=yes;;
54680 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54681 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54682 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54683 _ACEOF
54684 cat >>$CONFIG_STATUS <<_ACEOF
54685 ac_datarootdir_hack='
54686 s&@datadir@&$datadir&g
54687 s&@docdir@&$docdir&g
54688 s&@infodir@&$infodir&g
54689 s&@localedir@&$localedir&g
54690 s&@mandir@&$mandir&g
54691 s&\\\${datarootdir}&$datarootdir&g' ;;
54692 esac
54693 _ACEOF
54694
54695 # Neutralize VPATH when `$srcdir' = `.'.
54696 # Shell code in configure.ac might set extrasub.
54697 # FIXME: do we really want to maintain this feature?
54698 cat >>$CONFIG_STATUS <<_ACEOF
54699 sed "$ac_vpsub
54700 $extrasub
54701 _ACEOF
54702 cat >>$CONFIG_STATUS <<\_ACEOF
54703 :t
54704 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54705 s&@configure_input@&$configure_input&;t t
54706 s&@top_builddir@&$ac_top_builddir_sub&;t t
54707 s&@srcdir@&$ac_srcdir&;t t
54708 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54709 s&@top_srcdir@&$ac_top_srcdir&;t t
54710 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54711 s&@builddir@&$ac_builddir&;t t
54712 s&@abs_builddir@&$ac_abs_builddir&;t t
54713 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54714 s&@INSTALL@&$ac_INSTALL&;t t
54715 $ac_datarootdir_hack
54716 " $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
54717
54718 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54719 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54720 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54721 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54722 which seems to be undefined. Please make sure it is defined." >&5
54723 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54724 which seems to be undefined. Please make sure it is defined." >&2;}
54725
54726 rm -f "$tmp/stdin"
54727 case $ac_file in
54728 -) cat "$tmp/out"; rm -f "$tmp/out";;
54729 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54730 esac
54731 ;;
54732 :H)
54733 #
54734 # CONFIG_HEADER
54735 #
54736 _ACEOF
54737
54738 # Transform confdefs.h into a sed script `conftest.defines', that
54739 # substitutes the proper values into config.h.in to produce config.h.
54740 rm -f conftest.defines conftest.tail
54741 # First, append a space to every undef/define line, to ease matching.
54742 echo 's/$/ /' >conftest.defines
54743 # Then, protect against being on the right side of a sed subst, or in
54744 # an unquoted here document, in config.status. If some macros were
54745 # called several times there might be several #defines for the same
54746 # symbol, which is useless. But do not sort them, since the last
54747 # AC_DEFINE must be honored.
54748 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54749 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54750 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54751 # PARAMS is the parameter list in the macro definition--in most cases, it's
54752 # just an empty string.
54753 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54754 ac_dB='\\)[ (].*,\\1define\\2'
54755 ac_dC=' '
54756 ac_dD=' ,'
54757
54758 uniq confdefs.h |
54759 sed -n '
54760 t rset
54761 :rset
54762 s/^[ ]*#[ ]*define[ ][ ]*//
54763 t ok
54764 d
54765 :ok
54766 s/[\\&,]/\\&/g
54767 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54768 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54769 ' >>conftest.defines
54770
54771 # Remove the space that was appended to ease matching.
54772 # Then replace #undef with comments. This is necessary, for
54773 # example, in the case of _POSIX_SOURCE, which is predefined and required
54774 # on some systems where configure will not decide to define it.
54775 # (The regexp can be short, since the line contains either #define or #undef.)
54776 echo 's/ $//
54777 s,^[ #]*u.*,/* & */,' >>conftest.defines
54778
54779 # Break up conftest.defines:
54780 ac_max_sed_lines=50
54781
54782 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54783 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54784 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54785 # et cetera.
54786 ac_in='$ac_file_inputs'
54787 ac_out='"$tmp/out1"'
54788 ac_nxt='"$tmp/out2"'
54789
54790 while :
54791 do
54792 # Write a here document:
54793 cat >>$CONFIG_STATUS <<_ACEOF
54794 # First, check the format of the line:
54795 cat >"\$tmp/defines.sed" <<\\CEOF
54796 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54797 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54798 b
54799 :def
54800 _ACEOF
54801 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54802 echo 'CEOF
54803 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54804 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54805 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54806 grep . conftest.tail >/dev/null || break
54807 rm -f conftest.defines
54808 mv conftest.tail conftest.defines
54809 done
54810 rm -f conftest.defines conftest.tail
54811
54812 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54813 cat >>$CONFIG_STATUS <<\_ACEOF
54814 if test x"$ac_file" != x-; then
54815 echo "/* $configure_input */" >"$tmp/config.h"
54816 cat "$ac_result" >>"$tmp/config.h"
54817 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54818 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54819 echo "$as_me: $ac_file is unchanged" >&6;}
54820 else
54821 rm -f $ac_file
54822 mv "$tmp/config.h" $ac_file
54823 fi
54824 else
54825 echo "/* $configure_input */"
54826 cat "$ac_result"
54827 fi
54828 rm -f "$tmp/out12"
54829 ;;
54830
54831 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54832 echo "$as_me: executing $ac_file commands" >&6;}
54833 ;;
54834 esac
54835
54836
54837 case $ac_file$ac_mode in
54838 "rcdefs.h":C)
54839 mkdir -p $outdir &&
54840 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54841 ;;
54842 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54843 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54844 "wx-config":C) rm -f wx-config
54845 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54846 ;;
54847
54848 esac
54849 done # for ac_tag
54850
54851
54852 { (exit 0); exit 0; }
54853 _ACEOF
54854 chmod +x $CONFIG_STATUS
54855 ac_clean_files=$ac_clean_files_save
54856
54857
54858 # configure is writing to config.log, and then calls config.status.
54859 # config.status does its own redirection, appending to config.log.
54860 # Unfortunately, on DOS this fails, as config.log is still kept open
54861 # by configure, so config.status won't be able to write to it; its
54862 # output is simply discarded. So we exec the FD to /dev/null,
54863 # effectively closing config.log, so it can be properly (re)opened and
54864 # appended to by config.status. When coming back to configure, we
54865 # need to make the FD available again.
54866 if test "$no_create" != yes; then
54867 ac_cs_success=:
54868 ac_config_status_args=
54869 test "$silent" = yes &&
54870 ac_config_status_args="$ac_config_status_args --quiet"
54871 exec 5>/dev/null
54872 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54873 exec 5>>config.log
54874 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54875 # would make configure fail if this is the last instruction.
54876 $ac_cs_success || { (exit 1); exit 1; }
54877 fi
54878
54879 #
54880 # CONFIG_SUBDIRS section.
54881 #
54882 if test "$no_recursion" != yes; then
54883
54884 # Remove --cache-file and --srcdir arguments so they do not pile up.
54885 ac_sub_configure_args=
54886 ac_prev=
54887 eval "set x $ac_configure_args"
54888 shift
54889 for ac_arg
54890 do
54891 if test -n "$ac_prev"; then
54892 ac_prev=
54893 continue
54894 fi
54895 case $ac_arg in
54896 -cache-file | --cache-file | --cache-fil | --cache-fi \
54897 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54898 ac_prev=cache_file ;;
54899 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54900 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54901 | --c=*)
54902 ;;
54903 --config-cache | -C)
54904 ;;
54905 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54906 ac_prev=srcdir ;;
54907 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54908 ;;
54909 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54910 ac_prev=prefix ;;
54911 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54912 ;;
54913 *)
54914 case $ac_arg in
54915 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54916 esac
54917 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54918 esac
54919 done
54920
54921 # Always prepend --prefix to ensure using the same prefix
54922 # in subdir configurations.
54923 ac_arg="--prefix=$prefix"
54924 case $ac_arg in
54925 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54926 esac
54927 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54928
54929 # Pass --silent
54930 if test "$silent" = yes; then
54931 ac_sub_configure_args="--silent $ac_sub_configure_args"
54932 fi
54933
54934 ac_popdir=`pwd`
54935 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54936
54937 # Do not complain, so a configure script can configure whichever
54938 # parts of a large source tree are present.
54939 test -d "$srcdir/$ac_dir" || continue
54940
54941 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54942 echo "$as_me:$LINENO: $ac_msg" >&5
54943 echo "$ac_msg" >&6
54944 { as_dir="$ac_dir"
54945 case $as_dir in #(
54946 -*) as_dir=./$as_dir;;
54947 esac
54948 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54949 as_dirs=
54950 while :; do
54951 case $as_dir in #(
54952 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54953 *) as_qdir=$as_dir;;
54954 esac
54955 as_dirs="'$as_qdir' $as_dirs"
54956 as_dir=`$as_dirname -- "$as_dir" ||
54957 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54958 X"$as_dir" : 'X\(//\)[^/]' \| \
54959 X"$as_dir" : 'X\(//\)$' \| \
54960 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54961 echo X"$as_dir" |
54962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54963 s//\1/
54964 q
54965 }
54966 /^X\(\/\/\)[^/].*/{
54967 s//\1/
54968 q
54969 }
54970 /^X\(\/\/\)$/{
54971 s//\1/
54972 q
54973 }
54974 /^X\(\/\).*/{
54975 s//\1/
54976 q
54977 }
54978 s/.*/./; q'`
54979 test -d "$as_dir" && break
54980 done
54981 test -z "$as_dirs" || eval "mkdir $as_dirs"
54982 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54983 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54984 { (exit 1); exit 1; }; }; }
54985 ac_builddir=.
54986
54987 case "$ac_dir" in
54988 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54989 *)
54990 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54991 # A ".." for each directory in $ac_dir_suffix.
54992 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54993 case $ac_top_builddir_sub in
54994 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54995 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54996 esac ;;
54997 esac
54998 ac_abs_top_builddir=$ac_pwd
54999 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55000 # for backward compatibility:
55001 ac_top_builddir=$ac_top_build_prefix
55002
55003 case $srcdir in
55004 .) # We are building in place.
55005 ac_srcdir=.
55006 ac_top_srcdir=$ac_top_builddir_sub
55007 ac_abs_top_srcdir=$ac_pwd ;;
55008 [\\/]* | ?:[\\/]* ) # Absolute name.
55009 ac_srcdir=$srcdir$ac_dir_suffix;
55010 ac_top_srcdir=$srcdir
55011 ac_abs_top_srcdir=$srcdir ;;
55012 *) # Relative name.
55013 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55014 ac_top_srcdir=$ac_top_build_prefix$srcdir
55015 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55016 esac
55017 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55018
55019
55020 cd "$ac_dir"
55021
55022 # Check for guested configure; otherwise get Cygnus style configure.
55023 if test -f "$ac_srcdir/configure.gnu"; then
55024 ac_sub_configure=$ac_srcdir/configure.gnu
55025 elif test -f "$ac_srcdir/configure"; then
55026 ac_sub_configure=$ac_srcdir/configure
55027 elif test -f "$ac_srcdir/configure.in"; then
55028 # This should be Cygnus configure.
55029 ac_sub_configure=$ac_aux_dir/configure
55030 else
55031 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55032 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55033 ac_sub_configure=
55034 fi
55035
55036 # The recursion is here.
55037 if test -n "$ac_sub_configure"; then
55038 # Make the cache file name correct relative to the subdirectory.
55039 case $cache_file in
55040 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55041 *) # Relative name.
55042 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55043 esac
55044
55045 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55046 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55047 # The eval makes quoting arguments work.
55048 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55049 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55050 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55051 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55052 { (exit 1); exit 1; }; }
55053 fi
55054
55055 cd "$ac_popdir"
55056 done
55057 fi
55058
55059
55060 echo
55061 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55062 echo ""
55063 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55064 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55065
55066 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55067 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55068 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
55069 if test "$wxUSE_UNICODE" = "yes"; then
55070 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55071 echo " (using UTF-8)"
55072 else
55073 echo " (using wchar_t)"
55074 fi
55075 else
55076 echo
55077 fi
55078
55079 echo " What level of wxWidgets compatibility should be enabled?"
55080 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55081 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55082
55083 echo " Which libraries should wxWidgets use?"
55084 echo " jpeg ${wxUSE_LIBJPEG-none}"
55085 echo " png ${wxUSE_LIBPNG-none}"
55086 echo " regex ${wxUSE_REGEX}"
55087 echo " tiff ${wxUSE_LIBTIFF-none}"
55088 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55089 echo " xpm ${wxUSE_LIBXPM-none}"
55090 fi
55091 echo " zlib ${wxUSE_ZLIB}"
55092 echo " odbc ${wxUSE_ODBC}"
55093 echo " expat ${wxUSE_EXPAT}"
55094 echo " libmspack ${wxUSE_LIBMSPACK}"
55095 echo " sdl ${wxUSE_LIBSDL}"
55096
55097 echo ""
55098