]> git.saurik.com Git - wxWidgets.git/blob - configure
37378bd404dd30a9b7186531d5aec7948a7339da
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47575 2007-07-19 23:00:09Z 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-fontmap use font encodings conversion classes
1704 --enable-fs_archive use virtual archive filesystems
1705 --enable-fs_inet use virtual HTTP/FTP filesystems
1706 --enable-fs_zip now replaced by fs_archive
1707 --enable-geometry use geometry class
1708 --enable-log use logging system
1709 --enable-longlong use wxLongLong class
1710 --enable-mimetype use wxMimeTypesManager
1711 --enable-snglinst use wxSingleInstanceChecker class
1712 --enable-stdpaths use wxStandardPaths class
1713 --enable-stopwatch use wxStopWatch class
1714 --enable-streams use wxStream etc classes
1715 --enable-sysoptions use wxSystemOptions
1716 --enable-tarstream use wxTar streams
1717 --enable-textbuf use wxTextBuffer class
1718 --enable-textfile use wxTextFile class
1719 --enable-timer use wxTimer class
1720 --enable-sound use wxSound class
1721 --enable-mediactrl use wxMediaCtrl class
1722 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1723 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1724 --enable-zipstream use wxZip streams
1725 --enable-url use wxURL class
1726 --enable-variant use wxVariant class
1727 --enable-protocol use wxProtocol class
1728 --enable-protocol-http HTTP support in wxProtocol
1729 --enable-protocol-ftp FTP support in wxProtocol
1730 --enable-protocol-file FILE support in wxProtocol
1731 --enable-threads use threads
1732 --enable-docview use document view architecture
1733 --enable-help use help subsystem
1734 --enable-mshtmlhelp use MS HTML Help (win32)
1735 --enable-html use wxHTML sub-library
1736 --enable-htmlhelp use wxHTML-based help
1737 --enable-xrc use XRC resources sub-library
1738 --enable-aui use AUI docking library
1739 --enable-stc use wxStyledTextCtrl library
1740 --enable-constraints use layout-constraints system
1741 --enable-printarch use printing architecture
1742 --enable-mdi use multiple document interface architecture
1743 --enable-mdidoc use docview architecture with MDI
1744 --enable-loggui use standard GUI logger
1745 --enable-logwin use wxLogWindow
1746 --enable-logdialog use wxLogDialog
1747 --enable-webkit use wxWebKitCtrl (Mac)
1748 --enable-richtext use wxRichTextCtrl
1749 --enable-graphics_ctx use graphics context 2D drawing API
1750 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1751 --enable-svg use wxSVGFileDC device context
1752 --enable-clipboard use wxClipboard class
1753 --enable-dnd use Drag'n'Drop classes
1754 --enable-metafile use win32 metafiles
1755 --disable-controls disable compilation of all standard controls
1756 --enable-accel use accelerators
1757 --enable-animatectrl use wxAnimationCtrl class
1758 --enable-button use wxButton class
1759 --enable-bmpbutton use wxBitmapButton class
1760 --enable-bmpcombobox use wxBitmapComboBox class
1761 --enable-calendar use wxCalendarCtrl class
1762 --enable-caret use wxCaret class
1763 --enable-checkbox use wxCheckBox class
1764 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1765 --enable-choice use wxChoice class
1766 --enable-choicebook use wxChoicebook class
1767 --enable-collpane use wxCollapsiblePane class
1768 --enable-colourpicker use wxColourPickerCtrl class
1769 --enable-combobox use wxComboBox class
1770 --enable-comboctrl use wxComboCtrl class
1771 --enable-datepick use wxDatePickerCtrl class
1772 --enable-dirpicker use wxDirPickerCtrl class
1773 --enable-display use wxDisplay class
1774 --enable-detect_sm use code to detect X11 session manager
1775 --enable-editablebox use wxEditableListBox class
1776 --enable-filepicker use wxFilePickerCtrl class
1777 --enable-fontpicker use wxFontPickerCtrl class
1778 --enable-gauge use wxGauge class
1779 --enable-grid use wxGrid class
1780 --enable-dataviewctrl use wxDataViewCtrl class
1781 --enable-hyperlink use wxHyperlinkCtrl class
1782 --enable-imaglist use wxImageList class
1783 --enable-listbook use wxListbook class
1784 --enable-listbox use wxListBox class
1785 --enable-listctrl use wxListCtrl class
1786 --enable-notebook use wxNotebook class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-taskbaricon use wxTaskBarIcon class
1804 --enable-textctrl use wxTextCtrl class
1805 --enable-togglebtn use wxToggleButton class
1806 --enable-toolbar use wxToolBar class
1807 --enable-tbarnative use native wxToolBar class
1808 --enable-treebook use wxTreebook class
1809 --enable-toolbook use wxToolbook class
1810 --enable-treectrl use wxTreeCtrl class
1811 --enable-tipwindow use wxTipWindow class
1812 --enable-popupwin use wxPopUpWindow class
1813 --enable-commondlg use all common dialogs
1814 --enable-aboutdlg use wxAboutBox
1815 --enable-choicedlg use wxChoiceDialog
1816 --enable-coldlg use wxColourDialog
1817 --enable-filedlg use wxFileDialog
1818 --enable-finddlg use wxFindReplaceDialog
1819 --enable-fontdlg use wxFontDialog
1820 --enable-dirdlg use wxDirDialog
1821 --enable-msgdlg use wxMessageDialog
1822 --enable-numberdlg use wxNumberEntryDialog
1823 --enable-splash use wxSplashScreen
1824 --enable-textdlg use wxTextDialog
1825 --enable-tipdlg use startup tips
1826 --enable-progressdlg use wxProgressDialog
1827 --enable-wizarddlg use wxWizard
1828 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1829 --enable-miniframe use wxMiniFrame class
1830 --enable-tooltips use wxToolTip class
1831 --enable-splines use spline drawing code
1832 --enable-mousewheel use mousewheel
1833 --enable-validators use wxValidator and derived classes
1834 --enable-busyinfo use wxBusyInfo
1835 --enable-joystick use wxJoystick
1836 --enable-metafiles use wxMetaFile (Win32 only)
1837 --enable-dragimage use wxDragImage
1838 --enable-accessibility enable accessibility support
1839 --enable-dccache cache temporary wxDC objects (Win32 only)
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 --disable-largefile omit support for large files
1850 --disable-gtktest do not try to compile and run a test GTK+ program
1851 --disable-gtktest Do not try to compile and run a test GTK program
1852 --disable-sdltest Do not try to compile and run a test SDL program
1853 --enable-omf use OMF object format (OS/2)
1854 --disable-dependency-tracking
1855 don't use dependency tracking even if the compiler
1856 can
1857 --disable-precomp-headers
1858 don't use precompiled headers even if compiler can
1859
1860 Optional Packages:
1861 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1862 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1863 --without-subdirs don't generate makefiles for samples/demos/...
1864 --with-flavour=NAME specify a name to identify this build
1865 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1866 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1867 --with-motif use Motif/Lesstif
1868 --with-mac use Mac OS X
1869 --with-cocoa use Cocoa
1870 --with-wine use Wine
1871 --with-msw use MS-Windows
1872 --with-pm use OS/2 Presentation Manager
1873 --with-mgl use SciTech MGL
1874 --with-directfb use DirectFB
1875 --with-microwin use MicroWindows
1876 --with-x11 use X11
1877 --with-libpng use libpng (PNG image format)
1878 --with-libjpeg use libjpeg (JPEG file format)
1879 --with-libtiff use libtiff (TIFF file format)
1880 --with-libxpm use libxpm (XPM file format)
1881 --with-libmspack use libmspack (CHM help files loading)
1882 --without-gnomeprint don't use GNOME printing libraries
1883 --with-gnomevfs use GNOME VFS for associating MIME types
1884 --with-hildon use Hildon framework for Nokia 770
1885 --with-opengl use OpenGL (or Mesa)
1886 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1887 --with-sdl use SDL for audio on Unix
1888 --with-regex enable support for wxRegEx class
1889 --with-zlib use zlib for LZW compression
1890 --with-odbc use the IODBC and wxODBC classes
1891 --with-expat enable XML support using expat parser
1892 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1893 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1894 --with-x use the X Window System
1895 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1896 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1897 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1898 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1899 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1900
1901 Some influential environment variables:
1902 CC C compiler command
1903 CFLAGS C compiler flags
1904 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1905 nonstandard directory <lib dir>
1906 LIBS libraries to pass to the linker, e.g. -l<library>
1907 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1908 you have headers in a nonstandard directory <include dir>
1909 CPP C preprocessor
1910 CXX C++ compiler command
1911 CXXFLAGS C++ compiler flags
1912 PKG_CONFIG path to pkg-config utility
1913 DIRECTFB_CFLAGS
1914 C compiler flags for DIRECTFB, overriding pkg-config
1915 DIRECTFB_LIBS
1916 linker flags for DIRECTFB, overriding pkg-config
1917 XMKMF Path to xmkmf, Makefile generator for X Window System
1918 PANGOX_CFLAGS
1919 C compiler flags for PANGOX, overriding pkg-config
1920 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1921 PANGOFT2_CFLAGS
1922 C compiler flags for PANGOFT2, overriding pkg-config
1923 PANGOFT2_LIBS
1924 linker flags for PANGOFT2, overriding pkg-config
1925 PANGOXFT_CFLAGS
1926 C compiler flags for PANGOXFT, overriding pkg-config
1927 PANGOXFT_LIBS
1928 linker flags for PANGOXFT, overriding pkg-config
1929 LIBGNOMEPRINTUI_CFLAGS
1930 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1931 LIBGNOMEPRINTUI_LIBS
1932 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1933 GNOMEVFS_CFLAGS
1934 C compiler flags for GNOMEVFS, overriding pkg-config
1935 GNOMEVFS_LIBS
1936 linker flags for GNOMEVFS, overriding pkg-config
1937 HILDON_CFLAGS
1938 C compiler flags for HILDON, overriding pkg-config
1939 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1940 CAIRO_CFLAGS
1941 C compiler flags for CAIRO, overriding pkg-config
1942 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1943 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1944 GST_LIBS linker flags for GST, overriding pkg-config
1945
1946 Use these variables to override the choices made by `configure' or to help
1947 it to find libraries and programs with nonstandard names/locations.
1948
1949 Report bugs to <wx-dev@lists.wxwidgets.org>.
1950 _ACEOF
1951 ac_status=$?
1952 fi
1953
1954 if test "$ac_init_help" = "recursive"; then
1955 # If there are subdirs, report their specific --help.
1956 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1957 test -d "$ac_dir" || continue
1958 ac_builddir=.
1959
1960 case "$ac_dir" in
1961 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1962 *)
1963 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1964 # A ".." for each directory in $ac_dir_suffix.
1965 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1966 case $ac_top_builddir_sub in
1967 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1968 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1969 esac ;;
1970 esac
1971 ac_abs_top_builddir=$ac_pwd
1972 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1973 # for backward compatibility:
1974 ac_top_builddir=$ac_top_build_prefix
1975
1976 case $srcdir in
1977 .) # We are building in place.
1978 ac_srcdir=.
1979 ac_top_srcdir=$ac_top_builddir_sub
1980 ac_abs_top_srcdir=$ac_pwd ;;
1981 [\\/]* | ?:[\\/]* ) # Absolute name.
1982 ac_srcdir=$srcdir$ac_dir_suffix;
1983 ac_top_srcdir=$srcdir
1984 ac_abs_top_srcdir=$srcdir ;;
1985 *) # Relative name.
1986 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1987 ac_top_srcdir=$ac_top_build_prefix$srcdir
1988 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1989 esac
1990 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1991
1992 cd "$ac_dir" || { ac_status=$?; continue; }
1993 # Check for guested configure.
1994 if test -f "$ac_srcdir/configure.gnu"; then
1995 echo &&
1996 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1997 elif test -f "$ac_srcdir/configure"; then
1998 echo &&
1999 $SHELL "$ac_srcdir/configure" --help=recursive
2000 else
2001 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2002 fi || ac_status=$?
2003 cd "$ac_pwd" || { ac_status=$?; break; }
2004 done
2005 fi
2006
2007 test -n "$ac_init_help" && exit $ac_status
2008 if $ac_init_version; then
2009 cat <<\_ACEOF
2010 wxWidgets configure 2.9.0
2011 generated by GNU Autoconf 2.61
2012
2013 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2014 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2015 This configure script is free software; the Free Software Foundation
2016 gives unlimited permission to copy, distribute and modify it.
2017 _ACEOF
2018 exit
2019 fi
2020 cat >config.log <<_ACEOF
2021 This file contains any messages produced by compilers while
2022 running configure, to aid debugging if configure makes a mistake.
2023
2024 It was created by wxWidgets $as_me 2.9.0, which was
2025 generated by GNU Autoconf 2.61. Invocation command line was
2026
2027 $ $0 $@
2028
2029 _ACEOF
2030 exec 5>>config.log
2031 {
2032 cat <<_ASUNAME
2033 ## --------- ##
2034 ## Platform. ##
2035 ## --------- ##
2036
2037 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2038 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2039 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2040 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2041 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2042
2043 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2044 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2045
2046 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2047 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2048 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2049 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2050 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2051 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2052 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2053
2054 _ASUNAME
2055
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 for as_dir in $PATH
2058 do
2059 IFS=$as_save_IFS
2060 test -z "$as_dir" && as_dir=.
2061 echo "PATH: $as_dir"
2062 done
2063 IFS=$as_save_IFS
2064
2065 } >&5
2066
2067 cat >&5 <<_ACEOF
2068
2069
2070 ## ----------- ##
2071 ## Core tests. ##
2072 ## ----------- ##
2073
2074 _ACEOF
2075
2076
2077 # Keep a trace of the command line.
2078 # Strip out --no-create and --no-recursion so they do not pile up.
2079 # Strip out --silent because we don't want to record it for future runs.
2080 # Also quote any args containing shell meta-characters.
2081 # Make two passes to allow for proper duplicate-argument suppression.
2082 ac_configure_args=
2083 ac_configure_args0=
2084 ac_configure_args1=
2085 ac_must_keep_next=false
2086 for ac_pass in 1 2
2087 do
2088 for ac_arg
2089 do
2090 case $ac_arg in
2091 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2092 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2093 | -silent | --silent | --silen | --sile | --sil)
2094 continue ;;
2095 *\'*)
2096 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2097 esac
2098 case $ac_pass in
2099 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2100 2)
2101 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2102 if test $ac_must_keep_next = true; then
2103 ac_must_keep_next=false # Got value, back to normal.
2104 else
2105 case $ac_arg in
2106 *=* | --config-cache | -C | -disable-* | --disable-* \
2107 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2108 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2109 | -with-* | --with-* | -without-* | --without-* | --x)
2110 case "$ac_configure_args0 " in
2111 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2112 esac
2113 ;;
2114 -* ) ac_must_keep_next=true ;;
2115 esac
2116 fi
2117 ac_configure_args="$ac_configure_args '$ac_arg'"
2118 ;;
2119 esac
2120 done
2121 done
2122 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2123 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2124
2125 # When interrupted or exit'd, cleanup temporary files, and complete
2126 # config.log. We remove comments because anyway the quotes in there
2127 # would cause problems or look ugly.
2128 # WARNING: Use '\'' to represent an apostrophe within the trap.
2129 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2130 trap 'exit_status=$?
2131 # Save into config.log some information that might help in debugging.
2132 {
2133 echo
2134
2135 cat <<\_ASBOX
2136 ## ---------------- ##
2137 ## Cache variables. ##
2138 ## ---------------- ##
2139 _ASBOX
2140 echo
2141 # The following way of writing the cache mishandles newlines in values,
2142 (
2143 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2144 eval ac_val=\$$ac_var
2145 case $ac_val in #(
2146 *${as_nl}*)
2147 case $ac_var in #(
2148 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2149 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2150 esac
2151 case $ac_var in #(
2152 _ | IFS | as_nl) ;; #(
2153 *) $as_unset $ac_var ;;
2154 esac ;;
2155 esac
2156 done
2157 (set) 2>&1 |
2158 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2159 *${as_nl}ac_space=\ *)
2160 sed -n \
2161 "s/'\''/'\''\\\\'\'''\''/g;
2162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2163 ;; #(
2164 *)
2165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2166 ;;
2167 esac |
2168 sort
2169 )
2170 echo
2171
2172 cat <<\_ASBOX
2173 ## ----------------- ##
2174 ## Output variables. ##
2175 ## ----------------- ##
2176 _ASBOX
2177 echo
2178 for ac_var in $ac_subst_vars
2179 do
2180 eval ac_val=\$$ac_var
2181 case $ac_val in
2182 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2183 esac
2184 echo "$ac_var='\''$ac_val'\''"
2185 done | sort
2186 echo
2187
2188 if test -n "$ac_subst_files"; then
2189 cat <<\_ASBOX
2190 ## ------------------- ##
2191 ## File substitutions. ##
2192 ## ------------------- ##
2193 _ASBOX
2194 echo
2195 for ac_var in $ac_subst_files
2196 do
2197 eval ac_val=\$$ac_var
2198 case $ac_val in
2199 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2200 esac
2201 echo "$ac_var='\''$ac_val'\''"
2202 done | sort
2203 echo
2204 fi
2205
2206 if test -s confdefs.h; then
2207 cat <<\_ASBOX
2208 ## ----------- ##
2209 ## confdefs.h. ##
2210 ## ----------- ##
2211 _ASBOX
2212 echo
2213 cat confdefs.h
2214 echo
2215 fi
2216 test "$ac_signal" != 0 &&
2217 echo "$as_me: caught signal $ac_signal"
2218 echo "$as_me: exit $exit_status"
2219 } >&5
2220 rm -f core *.core core.conftest.* &&
2221 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2222 exit $exit_status
2223 ' 0
2224 for ac_signal in 1 2 13 15; do
2225 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2226 done
2227 ac_signal=0
2228
2229 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2230 rm -f -r conftest* confdefs.h
2231
2232 # Predefined preprocessor variables.
2233
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_NAME "$PACKAGE_NAME"
2236 _ACEOF
2237
2238
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2241 _ACEOF
2242
2243
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2246 _ACEOF
2247
2248
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_STRING "$PACKAGE_STRING"
2251 _ACEOF
2252
2253
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2256 _ACEOF
2257
2258
2259 # Let the site file select an alternate cache file if it wants to.
2260 # Prefer explicitly selected file to automatically selected ones.
2261 if test -n "$CONFIG_SITE"; then
2262 set x "$CONFIG_SITE"
2263 elif test "x$prefix" != xNONE; then
2264 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2265 else
2266 set x "$ac_default_prefix/share/config.site" \
2267 "$ac_default_prefix/etc/config.site"
2268 fi
2269 shift
2270 for ac_site_file
2271 do
2272 if test -r "$ac_site_file"; then
2273 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2274 echo "$as_me: loading site script $ac_site_file" >&6;}
2275 sed 's/^/| /' "$ac_site_file" >&5
2276 . "$ac_site_file"
2277 fi
2278 done
2279
2280 if test -r "$cache_file"; then
2281 # Some versions of bash will fail to source /dev/null (special
2282 # files actually), so we avoid doing that.
2283 if test -f "$cache_file"; then
2284 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2285 echo "$as_me: loading cache $cache_file" >&6;}
2286 case $cache_file in
2287 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2288 *) . "./$cache_file";;
2289 esac
2290 fi
2291 else
2292 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2293 echo "$as_me: creating cache $cache_file" >&6;}
2294 >$cache_file
2295 fi
2296
2297 # Check that the precious variables saved in the cache have kept the same
2298 # value.
2299 ac_cache_corrupted=false
2300 for ac_var in $ac_precious_vars; do
2301 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2302 eval ac_new_set=\$ac_env_${ac_var}_set
2303 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2304 eval ac_new_val=\$ac_env_${ac_var}_value
2305 case $ac_old_set,$ac_new_set in
2306 set,)
2307 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2308 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2309 ac_cache_corrupted=: ;;
2310 ,set)
2311 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2312 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2313 ac_cache_corrupted=: ;;
2314 ,);;
2315 *)
2316 if test "x$ac_old_val" != "x$ac_new_val"; then
2317 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2318 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2319 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2320 echo "$as_me: former value: $ac_old_val" >&2;}
2321 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2322 echo "$as_me: current value: $ac_new_val" >&2;}
2323 ac_cache_corrupted=:
2324 fi;;
2325 esac
2326 # Pass precious variables to config.status.
2327 if test "$ac_new_set" = set; then
2328 case $ac_new_val in
2329 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2330 *) ac_arg=$ac_var=$ac_new_val ;;
2331 esac
2332 case " $ac_configure_args " in
2333 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2334 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2335 esac
2336 fi
2337 done
2338 if $ac_cache_corrupted; then
2339 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2340 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2341 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2342 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2343 { (exit 1); exit 1; }; }
2344 fi
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370 ac_ext=c
2371 ac_cpp='$CPP $CPPFLAGS'
2372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2375
2376
2377
2378
2379
2380 ac_aux_dir=
2381 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2382 if test -f "$ac_dir/install-sh"; then
2383 ac_aux_dir=$ac_dir
2384 ac_install_sh="$ac_aux_dir/install-sh -c"
2385 break
2386 elif test -f "$ac_dir/install.sh"; then
2387 ac_aux_dir=$ac_dir
2388 ac_install_sh="$ac_aux_dir/install.sh -c"
2389 break
2390 elif test -f "$ac_dir/shtool"; then
2391 ac_aux_dir=$ac_dir
2392 ac_install_sh="$ac_aux_dir/shtool install -c"
2393 break
2394 fi
2395 done
2396 if test -z "$ac_aux_dir"; then
2397 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2398 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2399 { (exit 1); exit 1; }; }
2400 fi
2401
2402 # These three variables are undocumented and unsupported,
2403 # and are intended to be withdrawn in a future Autoconf release.
2404 # They can cause serious problems if a builder's source tree is in a directory
2405 # whose full name contains unusual characters.
2406 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2407 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2408 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2409
2410
2411 # Make sure we can run config.sub.
2412 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2413 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2414 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2415 { (exit 1); exit 1; }; }
2416
2417 { echo "$as_me:$LINENO: checking build system type" >&5
2418 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2419 if test "${ac_cv_build+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 else
2422 ac_build_alias=$build_alias
2423 test "x$ac_build_alias" = x &&
2424 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2425 test "x$ac_build_alias" = x &&
2426 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2427 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2428 { (exit 1); exit 1; }; }
2429 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2430 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2431 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2432 { (exit 1); exit 1; }; }
2433
2434 fi
2435 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2436 echo "${ECHO_T}$ac_cv_build" >&6; }
2437 case $ac_cv_build in
2438 *-*-*) ;;
2439 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2440 echo "$as_me: error: invalid value of canonical build" >&2;}
2441 { (exit 1); exit 1; }; };;
2442 esac
2443 build=$ac_cv_build
2444 ac_save_IFS=$IFS; IFS='-'
2445 set x $ac_cv_build
2446 shift
2447 build_cpu=$1
2448 build_vendor=$2
2449 shift; shift
2450 # Remember, the first character of IFS is used to create $*,
2451 # except with old shells:
2452 build_os=$*
2453 IFS=$ac_save_IFS
2454 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2455
2456
2457 { echo "$as_me:$LINENO: checking host system type" >&5
2458 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2459 if test "${ac_cv_host+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2461 else
2462 if test "x$host_alias" = x; then
2463 ac_cv_host=$ac_cv_build
2464 else
2465 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2466 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2467 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2468 { (exit 1); exit 1; }; }
2469 fi
2470
2471 fi
2472 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2473 echo "${ECHO_T}$ac_cv_host" >&6; }
2474 case $ac_cv_host in
2475 *-*-*) ;;
2476 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2477 echo "$as_me: error: invalid value of canonical host" >&2;}
2478 { (exit 1); exit 1; }; };;
2479 esac
2480 host=$ac_cv_host
2481 ac_save_IFS=$IFS; IFS='-'
2482 set x $ac_cv_host
2483 shift
2484 host_cpu=$1
2485 host_vendor=$2
2486 shift; shift
2487 # Remember, the first character of IFS is used to create $*,
2488 # except with old shells:
2489 host_os=$*
2490 IFS=$ac_save_IFS
2491 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2492
2493
2494 { echo "$as_me:$LINENO: checking target system type" >&5
2495 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2496 if test "${ac_cv_target+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 else
2499 if test "x$target_alias" = x; then
2500 ac_cv_target=$ac_cv_host
2501 else
2502 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2503 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2504 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2505 { (exit 1); exit 1; }; }
2506 fi
2507
2508 fi
2509 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2510 echo "${ECHO_T}$ac_cv_target" >&6; }
2511 case $ac_cv_target in
2512 *-*-*) ;;
2513 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2514 echo "$as_me: error: invalid value of canonical target" >&2;}
2515 { (exit 1); exit 1; }; };;
2516 esac
2517 target=$ac_cv_target
2518 ac_save_IFS=$IFS; IFS='-'
2519 set x $ac_cv_target
2520 shift
2521 target_cpu=$1
2522 target_vendor=$2
2523 shift; shift
2524 # Remember, the first character of IFS is used to create $*,
2525 # except with old shells:
2526 target_os=$*
2527 IFS=$ac_save_IFS
2528 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2529
2530
2531 # The aliases save the names the user supplied, while $host etc.
2532 # will get canonicalized.
2533 test -n "$target_alias" &&
2534 test "$program_prefix$program_suffix$program_transform_name" = \
2535 NONENONEs,x,x, &&
2536 program_prefix=${target_alias}-
2537
2538
2539
2540 wx_major_version_number=2
2541 wx_minor_version_number=9
2542 wx_release_number=0
2543 wx_subrelease_number=0
2544
2545 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2546 WX_VERSION=$WX_RELEASE.$wx_release_number
2547 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2548
2549 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2550
2551
2552 wx_top_builddir="`pwd`"
2553
2554
2555
2556
2557 USE_UNIX=1
2558 USE_OS2=0
2559 USE_WIN32=0
2560 USE_DOS=0
2561 USE_BEOS=0
2562 USE_MAC=0
2563
2564 USE_AIX=
2565 USE_BSD= USE_DARWIN= USE_FREEBSD=
2566 USE_GNU= USE_HPUX=
2567 USE_LINUX=
2568 USE_NETBSD=
2569 USE_OPENBSD=
2570 USE_OSF= USE_SGI=
2571 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2572 USE_ULTRIX=
2573 USE_UNIXWARE=
2574
2575 USE_ALPHA=
2576
2577 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2578
2579 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2580
2581 DEFAULT_wxUSE_COCOA=0
2582 DEFAULT_wxUSE_GTK=0
2583 DEFAULT_wxUSE_MAC=0
2584 DEFAULT_wxUSE_MGL=0
2585 DEFAULT_wxUSE_MICROWIN=0
2586 DEFAULT_wxUSE_MOTIF=0
2587 DEFAULT_wxUSE_MSW=0
2588 DEFAULT_wxUSE_PM=0
2589 DEFAULT_wxUSE_X11=0
2590 DEFAULT_wxUSE_DFB=0
2591
2592 DEFAULT_DEFAULT_wxUSE_COCOA=0
2593 DEFAULT_DEFAULT_wxUSE_GTK=0
2594 DEFAULT_DEFAULT_wxUSE_MAC=0
2595 DEFAULT_DEFAULT_wxUSE_MGL=0
2596 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2597 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2598 DEFAULT_DEFAULT_wxUSE_MSW=0
2599 DEFAULT_DEFAULT_wxUSE_PM=0
2600 DEFAULT_DEFAULT_wxUSE_X11=0
2601 DEFAULT_DEFAULT_wxUSE_DFB=0
2602
2603 PROGRAM_EXT=
2604 SO_SUFFIX=so
2605 SAMPLES_RPATH_FLAG=
2606 SAMPLES_RPATH_POSTLINK=
2607
2608 DEFAULT_STD_FLAG=yes
2609
2610 case "${host}" in
2611 *-hp-hpux* )
2612 USE_HPUX=1
2613 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2614 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2615 SO_SUFFIX=sl
2616 cat >>confdefs.h <<\_ACEOF
2617 #define __HPUX__ 1
2618 _ACEOF
2619
2620
2621 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2622 ;;
2623 *-*-linux* )
2624 USE_LINUX=1
2625 cat >>confdefs.h <<\_ACEOF
2626 #define __LINUX__ 1
2627 _ACEOF
2628
2629 TMP=`uname -m`
2630 if test "x$TMP" = "xalpha"; then
2631 USE_ALPHA=1
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __ALPHA__ 1
2634 _ACEOF
2635
2636 fi
2637 DEFAULT_DEFAULT_wxUSE_GTK=1
2638 ;;
2639 *-*-gnu* | *-*-k*bsd*-gnu )
2640 USE_GNU=1
2641 TMP=`uname -m`
2642 if test "x$TMP" = "xalpha"; then
2643 USE_ALPHA=1
2644 cat >>confdefs.h <<\_ACEOF
2645 #define __ALPHA__ 1
2646 _ACEOF
2647
2648 fi
2649 DEFAULT_DEFAULT_wxUSE_GTK=1
2650 ;;
2651 *-*-irix5* | *-*-irix6* )
2652 USE_SGI=1
2653 USE_SVR4=1
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __SGI__ 1
2656 _ACEOF
2657
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __SVR4__ 1
2660 _ACEOF
2661
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2663 ;;
2664 *-*-solaris2* )
2665 USE_SUN=1
2666 USE_SOLARIS=1
2667 USE_SVR4=1
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SUN__ 1
2670 _ACEOF
2671
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SOLARIS__ 1
2674 _ACEOF
2675
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SVR4__ 1
2678 _ACEOF
2679
2680 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2681 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2682 ;;
2683 *-*-sunos4* )
2684 USE_SUN=1
2685 USE_SUNOS=1
2686 USE_BSD=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SUN__ 1
2689 _ACEOF
2690
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SUNOS__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __BSD__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2700 ;;
2701 *-*-freebsd*)
2702 USE_BSD=1
2703 USE_FREEBSD=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __FREEBSD__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __BSD__ 1
2710 _ACEOF
2711
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2713 ;;
2714 *-*-openbsd*|*-*-mirbsd*)
2715 USE_BSD=1
2716 USE_OPENBSD=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __OPENBSD__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 ;;
2727 *-*-netbsd*)
2728 USE_BSD=1
2729 USE_NETBSD=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __NETBSD__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __BSD__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2740
2741 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2742 ;;
2743 *-*-osf* )
2744 USE_ALPHA=1
2745 USE_OSF=1
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __ALPHA__ 1
2748 _ACEOF
2749
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __OSF__ 1
2752 _ACEOF
2753
2754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2755 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2756 ;;
2757 *-*-dgux5* )
2758 USE_ALPHA=1
2759 USE_SVR4=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __ALPHA__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __SVR4__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 ;;
2770 *-*-sysv5* )
2771 USE_SYSV=1
2772 USE_SVR4=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __SYSV__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __SVR4__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 ;;
2783 *-*-aix* )
2784 USE_AIX=1
2785 USE_SYSV=1
2786 USE_SVR4=1
2787 SO_SUFFIX=a
2788 cat >>confdefs.h <<\_ACEOF
2789 #define __AIX__ 1
2790 _ACEOF
2791
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __SYSV__ 1
2794 _ACEOF
2795
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __SVR4__ 1
2798 _ACEOF
2799
2800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2801 ;;
2802
2803 *-*-*UnixWare*)
2804 USE_SYSV=1
2805 USE_SVR4=1
2806 USE_UNIXWARE=1
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __UNIXWARE__ 1
2809 _ACEOF
2810
2811 ;;
2812
2813 *-*-cygwin* | *-*-mingw32* )
2814 SO_SUFFIX=dll
2815 PROGRAM_EXT=".exe"
2816 DEFAULT_DEFAULT_wxUSE_MSW=1
2817 ;;
2818
2819 *-pc-msdosdjgpp )
2820 USE_UNIX=0
2821 USE_DOS=1
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __DOS__ 1
2824 _ACEOF
2825
2826 PROGRAM_EXT=".exe"
2827 DEFAULT_DEFAULT_wxUSE_MGL=1
2828 ;;
2829
2830 *-pc-os2_emx | *-pc-os2-emx )
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __EMX__ 1
2833 _ACEOF
2834
2835 USE_OS2=1
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __OS2__ 1
2838 _ACEOF
2839
2840 PROGRAM_EXT=".exe"
2841 DEFAULT_DEFAULT_wxUSE_PM=1
2842 CXX=gcc
2843 LDFLAGS="$LDFLAGS -Zcrtdll"
2844 ac_executable_extensions=".exe"
2845 export ac_executable_extensions
2846 ac_save_IFS="$IFS"
2847 IFS='\\'
2848 ac_TEMP_PATH=
2849 for ac_dir in $PATH; do
2850 IFS=$ac_save_IFS
2851 if test -z "$ac_TEMP_PATH"; then
2852 ac_TEMP_PATH="$ac_dir"
2853 else
2854 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2855 fi
2856 done
2857 export PATH="$ac_TEMP_PATH"
2858 unset ac_TEMP_PATH
2859 DEFAULT_STD_FLAG=no
2860 ;;
2861
2862 *-*-darwin* )
2863 USE_BSD=1
2864 USE_DARWIN=1
2865 SO_SUFFIX=dylib
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __BSD__ 1
2868 _ACEOF
2869
2870 cat >>confdefs.h <<\_ACEOF
2871 #define __DARWIN__ 1
2872 _ACEOF
2873
2874 cat >>confdefs.h <<\_ACEOF
2875 #define TARGET_CARBON 1
2876 _ACEOF
2877
2878 DEFAULT_DEFAULT_wxUSE_MAC=1
2879 DEFAULT_STD_FLAG=no
2880 ;;
2881 powerpc-apple-macos* )
2882 USE_UNIX=0
2883 ac_cv_c_bigendian=yes
2884 SO_SUFFIX=shlib
2885 DEFAULT_DEFAULT_wxUSE_MAC=1
2886 DEFAULT_STD_FLAG=no
2887 ;;
2888
2889 *-*-beos* )
2890 USE_BEOS=1
2891 cat >>confdefs.h <<\_ACEOF
2892 #define __BEOS__ 1
2893 _ACEOF
2894
2895 ;;
2896
2897 *)
2898 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2899 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2900 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2901 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2902
2903 DEFAULT_DEFAULT_wxUSE_X11=1
2904 DEFAULT_wxUSE_SHARED=no
2905 esac
2906
2907
2908
2909
2910 wx_arg_cache_file="configarg.cache"
2911 echo "loading argument cache $wx_arg_cache_file"
2912 rm -f ${wx_arg_cache_file}.tmp
2913 touch ${wx_arg_cache_file}.tmp
2914 touch ${wx_arg_cache_file}
2915
2916
2917 DEFAULT_wxUSE_ALL_FEATURES=yes
2918
2919 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2920 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2921
2922 DEFAULT_wxUSE_DMALLOC=no
2923 DEFAULT_wxUSE_LIBGNOMEVFS=no
2924 DEFAULT_wxUSE_LIBHILDON=no
2925 DEFAULT_wxUSE_LIBMSPACK=no
2926 DEFAULT_wxUSE_LIBSDL=no
2927 DEFAULT_wxUSE_ODBC=no
2928 DEFAULT_wxUSE_OPENGL=no
2929
2930 DEFAULT_wxUSE_ACCESSIBILITY=no
2931 DEFAULT_wxUSE_DATAVIEWCTRL=no
2932 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2933 DEFAULT_wxUSE_MEDIACTRL=no
2934 DEFAULT_wxUSE_TAB_DIALOG=no
2935
2936 DEFAULT_wxUSE_UNICODE_UTF8=auto
2937 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2938
2939 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2940
2941 DEFAULT_wxUSE_GTK2=yes
2942
2943 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2944
2945
2946 for toolkit in `echo $ALL_TOOLKITS`; do
2947 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2948 if test "x$LINE" != "x" ; then
2949 has_toolkit_in_cache=1
2950 eval "DEFAULT_$LINE"
2951 eval "CACHE_$toolkit=1"
2952
2953 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2954 if test "x$LINE" != "x" ; then
2955 eval "DEFAULT_$LINE"
2956 fi
2957 fi
2958 done
2959
2960
2961
2962
2963
2964 enablestring=disable
2965 defaultval=
2966 if test -z "$defaultval"; then
2967 if test x"$enablestring" = xdisable; then
2968 defaultval=yes
2969 else
2970 defaultval=no
2971 fi
2972 fi
2973
2974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2975 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2976 no_cache=0
2977 # Check whether --enable-gui was given.
2978 if test "${enable_gui+set}" = set; then
2979 enableval=$enable_gui;
2980 if test "$enableval" = yes; then
2981 wx_cv_use_gui='wxUSE_GUI=yes'
2982 else
2983 wx_cv_use_gui='wxUSE_GUI=no'
2984 fi
2985
2986 else
2987
2988 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2989 if test "x$LINE" != x ; then
2990 eval "DEFAULT_$LINE"
2991 else
2992 no_cache=1
2993 fi
2994
2995 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2996
2997 fi
2998
2999
3000 eval "$wx_cv_use_gui"
3001 if test "$no_cache" != 1; then
3002 echo $wx_cv_use_gui >> ${wx_arg_cache_file}.tmp
3003 fi
3004
3005 if test x"$enablestring" = xdisable; then
3006 if test $wxUSE_GUI = yes; then
3007 result=no
3008 else
3009 result=yes
3010 fi
3011 else
3012 result=$wxUSE_GUI
3013 fi
3014
3015 { echo "$as_me:$LINENO: result: $result" >&5
3016 echo "${ECHO_T}$result" >&6; }
3017
3018
3019 enablestring=
3020 defaultval=
3021 if test -z "$defaultval"; then
3022 if test x"$enablestring" = xdisable; then
3023 defaultval=yes
3024 else
3025 defaultval=no
3026 fi
3027 fi
3028
3029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3030 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3031 no_cache=0
3032 # Check whether --enable-monolithic was given.
3033 if test "${enable_monolithic+set}" = set; then
3034 enableval=$enable_monolithic;
3035 if test "$enableval" = yes; then
3036 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3037 else
3038 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3039 fi
3040
3041 else
3042
3043 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3044 if test "x$LINE" != x ; then
3045 eval "DEFAULT_$LINE"
3046 else
3047 no_cache=1
3048 fi
3049
3050 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3051
3052 fi
3053
3054
3055 eval "$wx_cv_use_monolithic"
3056 if test "$no_cache" != 1; then
3057 echo $wx_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3058 fi
3059
3060 if test x"$enablestring" = xdisable; then
3061 if test $wxUSE_MONOLITHIC = yes; then
3062 result=no
3063 else
3064 result=yes
3065 fi
3066 else
3067 result=$wxUSE_MONOLITHIC
3068 fi
3069
3070 { echo "$as_me:$LINENO: result: $result" >&5
3071 echo "${ECHO_T}$result" >&6; }
3072
3073
3074 enablestring=
3075 defaultval=
3076 if test -z "$defaultval"; then
3077 if test x"$enablestring" = xdisable; then
3078 defaultval=yes
3079 else
3080 defaultval=no
3081 fi
3082 fi
3083
3084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3085 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3086 no_cache=0
3087 # Check whether --enable-plugins was given.
3088 if test "${enable_plugins+set}" = set; then
3089 enableval=$enable_plugins;
3090 if test "$enableval" = yes; then
3091 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3092 else
3093 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3094 fi
3095
3096 else
3097
3098 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3101 else
3102 no_cache=1
3103 fi
3104
3105 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3106
3107 fi
3108
3109
3110 eval "$wx_cv_use_plugins"
3111 if test "$no_cache" != 1; then
3112 echo $wx_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3113 fi
3114
3115 if test x"$enablestring" = xdisable; then
3116 if test $wxUSE_PLUGINS = yes; then
3117 result=no
3118 else
3119 result=yes
3120 fi
3121 else
3122 result=$wxUSE_PLUGINS
3123 fi
3124
3125 { echo "$as_me:$LINENO: result: $result" >&5
3126 echo "${ECHO_T}$result" >&6; }
3127
3128
3129 withstring=without
3130 defaultval=$wxUSE_ALL_FEATURES
3131 if test -z "$defaultval"; then
3132 if test x"$withstring" = xwithout; then
3133 defaultval=yes
3134 else
3135 defaultval=no
3136 fi
3137 fi
3138 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3139 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3140 no_cache=0
3141
3142 # Check whether --with-subdirs was given.
3143 if test "${with_subdirs+set}" = set; then
3144 withval=$with_subdirs;
3145 if test "$withval" = yes; then
3146 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3147 else
3148 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3149 fi
3150
3151 else
3152
3153 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3154 if test "x$LINE" != x ; then
3155 eval "DEFAULT_$LINE"
3156 else
3157 no_cache=1
3158 fi
3159
3160 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3161
3162 fi
3163
3164
3165 eval "$wx_cv_use_subdirs"
3166 if test "$no_cache" != 1; then
3167 echo $wx_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3168 fi
3169
3170 if test x"$withstring" = xwithout; then
3171 if test $wxWITH_SUBDIRS = yes; then
3172 result=no
3173 else
3174 result=yes
3175 fi
3176 else
3177 result=$wxWITH_SUBDIRS
3178 fi
3179
3180 { echo "$as_me:$LINENO: result: $result" >&5
3181 echo "${ECHO_T}$result" >&6; }
3182
3183
3184 # Check whether --with-flavour was given.
3185 if test "${with_flavour+set}" = set; then
3186 withval=$with_flavour; WX_FLAVOUR="$withval"
3187 fi
3188
3189
3190 enablestring=
3191 defaultval=
3192 if test -z "$defaultval"; then
3193 if test x"$enablestring" = xdisable; then
3194 defaultval=yes
3195 else
3196 defaultval=no
3197 fi
3198 fi
3199
3200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3201 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3202 no_cache=0
3203 # Check whether --enable-official_build was given.
3204 if test "${enable_official_build+set}" = set; then
3205 enableval=$enable_official_build;
3206 if test "$enableval" = yes; then
3207 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3208 else
3209 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3210 fi
3211
3212 else
3213
3214 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3215 if test "x$LINE" != x ; then
3216 eval "DEFAULT_$LINE"
3217 else
3218 no_cache=1
3219 fi
3220
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3222
3223 fi
3224
3225
3226 eval "$wx_cv_use_official_build"
3227 if test "$no_cache" != 1; then
3228 echo $wx_cv_use_official_build >> ${wx_arg_cache_file}.tmp
3229 fi
3230
3231 if test x"$enablestring" = xdisable; then
3232 if test $wxUSE_OFFICIAL_BUILD = yes; then
3233 result=no
3234 else
3235 result=yes
3236 fi
3237 else
3238 result=$wxUSE_OFFICIAL_BUILD
3239 fi
3240
3241 { echo "$as_me:$LINENO: result: $result" >&5
3242 echo "${ECHO_T}$result" >&6; }
3243
3244 # Check whether --enable-vendor was given.
3245 if test "${enable_vendor+set}" = set; then
3246 enableval=$enable_vendor; VENDOR="$enableval"
3247 fi
3248
3249 if test "x$VENDOR" = "x"; then
3250 VENDOR="custom"
3251 fi
3252
3253
3254 enablestring=disable
3255 defaultval=
3256 if test -z "$defaultval"; then
3257 if test x"$enablestring" = xdisable; then
3258 defaultval=yes
3259 else
3260 defaultval=no
3261 fi
3262 fi
3263
3264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3265 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3266 no_cache=0
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
3276 else
3277
3278 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3279 if test "x$LINE" != x ; then
3280 eval "DEFAULT_$LINE"
3281 else
3282 no_cache=1
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 "$no_cache" != 1; then
3292 echo $wx_cv_use_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 no_cache=0
3326 # Check whether --enable-universal was given.
3327 if test "${enable_universal+set}" = set; then
3328 enableval=$enable_universal;
3329 if test "$enableval" = yes; then
3330 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3331 else
3332 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3333 fi
3334
3335 else
3336
3337 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3338 if test "x$LINE" != x ; then
3339 eval "DEFAULT_$LINE"
3340 else
3341 no_cache=1
3342 fi
3343
3344 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3345
3346 fi
3347
3348
3349 eval "$wx_cv_use_universal"
3350 if test "$no_cache" != 1; then
3351 echo $wx_cv_use_universal >> ${wx_arg_cache_file}.tmp
3352 fi
3353
3354 if test x"$enablestring" = xdisable; then
3355 if test $wxUSE_UNIVERSAL = yes; then
3356 result=no
3357 else
3358 result=yes
3359 fi
3360 else
3361 result=$wxUSE_UNIVERSAL
3362 fi
3363
3364 { echo "$as_me:$LINENO: result: $result" >&5
3365 echo "${ECHO_T}$result" >&6; }
3366
3367 if test "$wxUSE_UNIVERSAL" = "yes"; then
3368
3369 # Check whether --with-themes was given.
3370 if test "${with_themes+set}" = set; then
3371 withval=$with_themes; wxUNIV_THEMES="$withval"
3372 fi
3373
3374 fi
3375
3376
3377 # Check whether --with-gtk was given.
3378 if test "${with_gtk+set}" = set; then
3379 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3380 fi
3381
3382
3383 # Check whether --with-motif was given.
3384 if test "${with_motif+set}" = set; then
3385 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3386 fi
3387
3388
3389 # Check whether --with-mac was given.
3390 if test "${with_mac+set}" = set; then
3391 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3392 fi
3393
3394
3395 # Check whether --with-cocoa was given.
3396 if test "${with_cocoa+set}" = set; then
3397 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-wine was given.
3402 if test "${with_wine+set}" = set; then
3403 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3404 fi
3405
3406
3407 # Check whether --with-msw was given.
3408 if test "${with_msw+set}" = set; then
3409 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-pm was given.
3414 if test "${with_pm+set}" = set; then
3415 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-mgl was given.
3420 if test "${with_mgl+set}" = set; then
3421 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3422 fi
3423
3424
3425 # Check whether --with-directfb was given.
3426 if test "${with_directfb+set}" = set; then
3427 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-microwin was given.
3432 if test "${with_microwin+set}" = set; then
3433 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 # Check whether --with-x11 was given.
3438 if test "${with_x11+set}" = set; then
3439 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 enablestring=
3444 defaultval=
3445 if test -z "$defaultval"; then
3446 if test x"$enablestring" = xdisable; then
3447 defaultval=yes
3448 else
3449 defaultval=no
3450 fi
3451 fi
3452
3453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3454 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3455 no_cache=0
3456 # Check whether --enable-nanox was given.
3457 if test "${enable_nanox+set}" = set; then
3458 enableval=$enable_nanox;
3459 if test "$enableval" = yes; then
3460 wx_cv_use_nanox='wxUSE_NANOX=yes'
3461 else
3462 wx_cv_use_nanox='wxUSE_NANOX=no'
3463 fi
3464
3465 else
3466
3467 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3470 else
3471 no_cache=1
3472 fi
3473
3474 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3475
3476 fi
3477
3478
3479 eval "$wx_cv_use_nanox"
3480 if test "$no_cache" != 1; then
3481 echo $wx_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3482 fi
3483
3484 if test x"$enablestring" = xdisable; then
3485 if test $wxUSE_NANOX = yes; then
3486 result=no
3487 else
3488 result=yes
3489 fi
3490 else
3491 result=$wxUSE_NANOX
3492 fi
3493
3494 { echo "$as_me:$LINENO: result: $result" >&5
3495 echo "${ECHO_T}$result" >&6; }
3496
3497
3498 # Check whether --enable-gtk2 was given.
3499 if test "${enable_gtk2+set}" = set; then
3500 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3501 fi
3502
3503
3504 enablestring=
3505 defaultval=
3506 if test -z "$defaultval"; then
3507 if test x"$enablestring" = xdisable; then
3508 defaultval=yes
3509 else
3510 defaultval=no
3511 fi
3512 fi
3513
3514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3516 no_cache=0
3517 # Check whether --enable-gpe was given.
3518 if test "${enable_gpe+set}" = set; then
3519 enableval=$enable_gpe;
3520 if test "$enableval" = yes; then
3521 wx_cv_use_gpe='wxUSE_GPE=yes'
3522 else
3523 wx_cv_use_gpe='wxUSE_GPE=no'
3524 fi
3525
3526 else
3527
3528 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3531 else
3532 no_cache=1
3533 fi
3534
3535 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3536
3537 fi
3538
3539
3540 eval "$wx_cv_use_gpe"
3541 if test "$no_cache" != 1; then
3542 echo $wx_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test x"$enablestring" = xdisable; then
3546 if test $wxUSE_GPE = yes; then
3547 result=no
3548 else
3549 result=yes
3550 fi
3551 else
3552 result=$wxUSE_GPE
3553 fi
3554
3555 { echo "$as_me:$LINENO: result: $result" >&5
3556 echo "${ECHO_T}$result" >&6; }
3557
3558
3559
3560
3561 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3562 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3563 no_cache=0
3564
3565 # Check whether --with-libpng was given.
3566 if test "${with_libpng+set}" = set; then
3567 withval=$with_libpng;
3568 if test "$withval" = yes; then
3569 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3570 elif test "$withval" = no; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3572 elif test "$withval" = sys; then
3573 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3574 elif test "$withval" = builtin; then
3575 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3576 else
3577 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3578 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3579 { (exit 1); exit 1; }; }
3580 fi
3581
3582 else
3583
3584 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x ; then
3586 eval "DEFAULT_$LINE"
3587 else
3588 no_cache=1
3589 fi
3590
3591 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3592
3593 fi
3594
3595
3596 eval "$wx_cv_use_libpng"
3597 if test "$no_cache" != 1; then
3598 echo $wx_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3599 fi
3600
3601 if test "$wxUSE_LIBPNG" = yes; then
3602 { echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6; }
3604 elif test "$wxUSE_LIBPNG" = no; then
3605 { echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6; }
3607 elif test "$wxUSE_LIBPNG" = sys; then
3608 { echo "$as_me:$LINENO: result: system version" >&5
3609 echo "${ECHO_T}system version" >&6; }
3610 elif test "$wxUSE_LIBPNG" = builtin; then
3611 { echo "$as_me:$LINENO: result: builtin version" >&5
3612 echo "${ECHO_T}builtin version" >&6; }
3613 else
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3617 fi
3618
3619
3620 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3621 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3622 no_cache=0
3623
3624 # Check whether --with-libjpeg was given.
3625 if test "${with_libjpeg+set}" = set; then
3626 withval=$with_libjpeg;
3627 if test "$withval" = yes; then
3628 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3629 elif test "$withval" = no; then
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3631 elif test "$withval" = sys; then
3632 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3633 elif test "$withval" = builtin; then
3634 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3635 else
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3639 fi
3640
3641 else
3642
3643 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x ; then
3645 eval "DEFAULT_$LINE"
3646 else
3647 no_cache=1
3648 fi
3649
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3651
3652 fi
3653
3654
3655 eval "$wx_cv_use_libjpeg"
3656 if test "$no_cache" != 1; then
3657 echo $wx_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3658 fi
3659
3660 if test "$wxUSE_LIBJPEG" = yes; then
3661 { echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6; }
3663 elif test "$wxUSE_LIBJPEG" = no; then
3664 { echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6; }
3666 elif test "$wxUSE_LIBJPEG" = sys; then
3667 { echo "$as_me:$LINENO: result: system version" >&5
3668 echo "${ECHO_T}system version" >&6; }
3669 elif test "$wxUSE_LIBJPEG" = builtin; then
3670 { echo "$as_me:$LINENO: result: builtin version" >&5
3671 echo "${ECHO_T}builtin version" >&6; }
3672 else
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3676 fi
3677
3678
3679 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3680 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3681 no_cache=0
3682
3683 # Check whether --with-libtiff was given.
3684 if test "${with_libtiff+set}" = set; then
3685 withval=$with_libtiff;
3686 if test "$withval" = yes; then
3687 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3688 elif test "$withval" = no; then
3689 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3690 elif test "$withval" = sys; then
3691 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3692 elif test "$withval" = builtin; then
3693 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3694 else
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3698 fi
3699
3700 else
3701
3702 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x ; then
3704 eval "DEFAULT_$LINE"
3705 else
3706 no_cache=1
3707 fi
3708
3709 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3710
3711 fi
3712
3713
3714 eval "$wx_cv_use_libtiff"
3715 if test "$no_cache" != 1; then
3716 echo $wx_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3717 fi
3718
3719 if test "$wxUSE_LIBTIFF" = yes; then
3720 { echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6; }
3722 elif test "$wxUSE_LIBTIFF" = no; then
3723 { echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6; }
3725 elif test "$wxUSE_LIBTIFF" = sys; then
3726 { echo "$as_me:$LINENO: result: system version" >&5
3727 echo "${ECHO_T}system version" >&6; }
3728 elif test "$wxUSE_LIBTIFF" = builtin; then
3729 { echo "$as_me:$LINENO: result: builtin version" >&5
3730 echo "${ECHO_T}builtin version" >&6; }
3731 else
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3735 fi
3736
3737
3738 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3739 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3740 no_cache=0
3741
3742 # Check whether --with-libxpm was given.
3743 if test "${with_libxpm+set}" = set; then
3744 withval=$with_libxpm;
3745 if test "$withval" = yes; then
3746 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3747 elif test "$withval" = no; then
3748 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3749 elif test "$withval" = sys; then
3750 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3751 elif test "$withval" = builtin; then
3752 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3753 else
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3757 fi
3758
3759 else
3760
3761 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3764 else
3765 no_cache=1
3766 fi
3767
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3769
3770 fi
3771
3772
3773 eval "$wx_cv_use_libxpm"
3774 if test "$no_cache" != 1; then
3775 echo $wx_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3776 fi
3777
3778 if test "$wxUSE_LIBXPM" = yes; then
3779 { echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6; }
3781 elif test "$wxUSE_LIBXPM" = no; then
3782 { echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6; }
3784 elif test "$wxUSE_LIBXPM" = sys; then
3785 { echo "$as_me:$LINENO: result: system version" >&5
3786 echo "${ECHO_T}system version" >&6; }
3787 elif test "$wxUSE_LIBXPM" = builtin; then
3788 { echo "$as_me:$LINENO: result: builtin version" >&5
3789 echo "${ECHO_T}builtin version" >&6; }
3790 else
3791 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3792 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3793 { (exit 1); exit 1; }; }
3794 fi
3795
3796
3797 withstring=
3798 defaultval=$wxUSE_ALL_FEATURES
3799 if test -z "$defaultval"; then
3800 if test x"$withstring" = xwithout; then
3801 defaultval=yes
3802 else
3803 defaultval=no
3804 fi
3805 fi
3806 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3807 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3808 no_cache=0
3809
3810 # Check whether --with-libmspack was given.
3811 if test "${with_libmspack+set}" = set; then
3812 withval=$with_libmspack;
3813 if test "$withval" = yes; then
3814 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3815 else
3816 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3817 fi
3818
3819 else
3820
3821 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x ; then
3823 eval "DEFAULT_$LINE"
3824 else
3825 no_cache=1
3826 fi
3827
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3829
3830 fi
3831
3832
3833 eval "$wx_cv_use_libmspack"
3834 if test "$no_cache" != 1; then
3835 echo $wx_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3836 fi
3837
3838 if test x"$withstring" = xwithout; then
3839 if test $wxUSE_LIBMSPACK = yes; then
3840 result=no
3841 else
3842 result=yes
3843 fi
3844 else
3845 result=$wxUSE_LIBMSPACK
3846 fi
3847
3848 { echo "$as_me:$LINENO: result: $result" >&5
3849 echo "${ECHO_T}$result" >&6; }
3850
3851
3852 withstring=without
3853 defaultval=$wxUSE_ALL_FEATURES
3854 if test -z "$defaultval"; then
3855 if test x"$withstring" = xwithout; then
3856 defaultval=yes
3857 else
3858 defaultval=no
3859 fi
3860 fi
3861 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3862 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3863 no_cache=0
3864
3865 # Check whether --with-gnomeprint was given.
3866 if test "${with_gnomeprint+set}" = set; then
3867 withval=$with_gnomeprint;
3868 if test "$withval" = yes; then
3869 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3870 else
3871 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3872 fi
3873
3874 else
3875
3876 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x ; then
3878 eval "DEFAULT_$LINE"
3879 else
3880 no_cache=1
3881 fi
3882
3883 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3884
3885 fi
3886
3887
3888 eval "$wx_cv_use_gnomeprint"
3889 if test "$no_cache" != 1; then
3890 echo $wx_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3891 fi
3892
3893 if test x"$withstring" = xwithout; then
3894 if test $wxUSE_LIBGNOMEPRINT = yes; then
3895 result=no
3896 else
3897 result=yes
3898 fi
3899 else
3900 result=$wxUSE_LIBGNOMEPRINT
3901 fi
3902
3903 { echo "$as_me:$LINENO: result: $result" >&5
3904 echo "${ECHO_T}$result" >&6; }
3905
3906
3907 withstring=
3908 defaultval=$wxUSE_ALL_FEATURES
3909 if test -z "$defaultval"; then
3910 if test x"$withstring" = xwithout; then
3911 defaultval=yes
3912 else
3913 defaultval=no
3914 fi
3915 fi
3916 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3917 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3918 no_cache=0
3919
3920 # Check whether --with-gnomevfs was given.
3921 if test "${with_gnomevfs+set}" = set; then
3922 withval=$with_gnomevfs;
3923 if test "$withval" = yes; then
3924 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3925 else
3926 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3927 fi
3928
3929 else
3930
3931 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3934 else
3935 no_cache=1
3936 fi
3937
3938 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3939
3940 fi
3941
3942
3943 eval "$wx_cv_use_gnomevfs"
3944 if test "$no_cache" != 1; then
3945 echo $wx_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3946 fi
3947
3948 if test x"$withstring" = xwithout; then
3949 if test $wxUSE_LIBGNOMEVFS = yes; then
3950 result=no
3951 else
3952 result=yes
3953 fi
3954 else
3955 result=$wxUSE_LIBGNOMEVFS
3956 fi
3957
3958 { echo "$as_me:$LINENO: result: $result" >&5
3959 echo "${ECHO_T}$result" >&6; }
3960
3961
3962 withstring=
3963 defaultval=$wxUSE_ALL_FEATURES
3964 if test -z "$defaultval"; then
3965 if test x"$withstring" = xwithout; then
3966 defaultval=yes
3967 else
3968 defaultval=no
3969 fi
3970 fi
3971 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3972 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3973 no_cache=0
3974
3975 # Check whether --with-hildon was given.
3976 if test "${with_hildon+set}" = set; then
3977 withval=$with_hildon;
3978 if test "$withval" = yes; then
3979 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3980 else
3981 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3982 fi
3983
3984 else
3985
3986 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3989 else
3990 no_cache=1
3991 fi
3992
3993 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3994
3995 fi
3996
3997
3998 eval "$wx_cv_use_hildon"
3999 if test "$no_cache" != 1; then
4000 echo $wx_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4001 fi
4002
4003 if test x"$withstring" = xwithout; then
4004 if test $wxUSE_LIBHILDON = yes; then
4005 result=no
4006 else
4007 result=yes
4008 fi
4009 else
4010 result=$wxUSE_LIBHILDON
4011 fi
4012
4013 { echo "$as_me:$LINENO: result: $result" >&5
4014 echo "${ECHO_T}$result" >&6; }
4015
4016
4017 withstring=
4018 defaultval=$wxUSE_ALL_FEATURES
4019 if test -z "$defaultval"; then
4020 if test x"$withstring" = xwithout; then
4021 defaultval=yes
4022 else
4023 defaultval=no
4024 fi
4025 fi
4026 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4027 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4028 no_cache=0
4029
4030 # Check whether --with-opengl was given.
4031 if test "${with_opengl+set}" = set; then
4032 withval=$with_opengl;
4033 if test "$withval" = yes; then
4034 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4035 else
4036 wx_cv_use_opengl='wxUSE_OPENGL=no'
4037 fi
4038
4039 else
4040
4041 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x ; then
4043 eval "DEFAULT_$LINE"
4044 else
4045 no_cache=1
4046 fi
4047
4048 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4049
4050 fi
4051
4052
4053 eval "$wx_cv_use_opengl"
4054 if test "$no_cache" != 1; then
4055 echo $wx_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4056 fi
4057
4058 if test x"$withstring" = xwithout; then
4059 if test $wxUSE_OPENGL = yes; then
4060 result=no
4061 else
4062 result=yes
4063 fi
4064 else
4065 result=$wxUSE_OPENGL
4066 fi
4067
4068 { echo "$as_me:$LINENO: result: $result" >&5
4069 echo "${ECHO_T}$result" >&6; }
4070
4071
4072 fi
4073
4074
4075 withstring=
4076 defaultval=$wxUSE_ALL_FEATURES
4077 if test -z "$defaultval"; then
4078 if test x"$withstring" = xwithout; then
4079 defaultval=yes
4080 else
4081 defaultval=no
4082 fi
4083 fi
4084 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4085 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4086 no_cache=0
4087
4088 # Check whether --with-dmalloc was given.
4089 if test "${with_dmalloc+set}" = set; then
4090 withval=$with_dmalloc;
4091 if test "$withval" = yes; then
4092 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4093 else
4094 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4095 fi
4096
4097 else
4098
4099 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4100 if test "x$LINE" != x ; then
4101 eval "DEFAULT_$LINE"
4102 else
4103 no_cache=1
4104 fi
4105
4106 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4107
4108 fi
4109
4110
4111 eval "$wx_cv_use_dmalloc"
4112 if test "$no_cache" != 1; then
4113 echo $wx_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4114 fi
4115
4116 if test x"$withstring" = xwithout; then
4117 if test $wxUSE_DMALLOC = yes; then
4118 result=no
4119 else
4120 result=yes
4121 fi
4122 else
4123 result=$wxUSE_DMALLOC
4124 fi
4125
4126 { echo "$as_me:$LINENO: result: $result" >&5
4127 echo "${ECHO_T}$result" >&6; }
4128
4129
4130 withstring=
4131 defaultval=$wxUSE_ALL_FEATURES
4132 if test -z "$defaultval"; then
4133 if test x"$withstring" = xwithout; then
4134 defaultval=yes
4135 else
4136 defaultval=no
4137 fi
4138 fi
4139 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4140 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4141 no_cache=0
4142
4143 # Check whether --with-sdl was given.
4144 if test "${with_sdl+set}" = set; then
4145 withval=$with_sdl;
4146 if test "$withval" = yes; then
4147 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4148 else
4149 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4150 fi
4151
4152 else
4153
4154 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4155 if test "x$LINE" != x ; then
4156 eval "DEFAULT_$LINE"
4157 else
4158 no_cache=1
4159 fi
4160
4161 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4162
4163 fi
4164
4165
4166 eval "$wx_cv_use_sdl"
4167 if test "$no_cache" != 1; then
4168 echo $wx_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4169 fi
4170
4171 if test x"$withstring" = xwithout; then
4172 if test $wxUSE_LIBSDL = yes; then
4173 result=no
4174 else
4175 result=yes
4176 fi
4177 else
4178 result=$wxUSE_LIBSDL
4179 fi
4180
4181 { echo "$as_me:$LINENO: result: $result" >&5
4182 echo "${ECHO_T}$result" >&6; }
4183
4184
4185 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4186 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4187 no_cache=0
4188
4189 # Check whether --with-regex was given.
4190 if test "${with_regex+set}" = set; then
4191 withval=$with_regex;
4192 if test "$withval" = yes; then
4193 wx_cv_use_regex='wxUSE_REGEX=yes'
4194 elif test "$withval" = no; then
4195 wx_cv_use_regex='wxUSE_REGEX=no'
4196 elif test "$withval" = sys; then
4197 wx_cv_use_regex='wxUSE_REGEX=sys'
4198 elif test "$withval" = builtin; then
4199 wx_cv_use_regex='wxUSE_REGEX=builtin'
4200 else
4201 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4202 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4203 { (exit 1); exit 1; }; }
4204 fi
4205
4206 else
4207
4208 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4209 if test "x$LINE" != x ; then
4210 eval "DEFAULT_$LINE"
4211 else
4212 no_cache=1
4213 fi
4214
4215 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4216
4217 fi
4218
4219
4220 eval "$wx_cv_use_regex"
4221 if test "$no_cache" != 1; then
4222 echo $wx_cv_use_regex >> ${wx_arg_cache_file}.tmp
4223 fi
4224
4225 if test "$wxUSE_REGEX" = yes; then
4226 { echo "$as_me:$LINENO: result: yes" >&5
4227 echo "${ECHO_T}yes" >&6; }
4228 elif test "$wxUSE_REGEX" = no; then
4229 { echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6; }
4231 elif test "$wxUSE_REGEX" = sys; then
4232 { echo "$as_me:$LINENO: result: system version" >&5
4233 echo "${ECHO_T}system version" >&6; }
4234 elif test "$wxUSE_REGEX" = builtin; then
4235 { echo "$as_me:$LINENO: result: builtin version" >&5
4236 echo "${ECHO_T}builtin version" >&6; }
4237 else
4238 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4239 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4240 { (exit 1); exit 1; }; }
4241 fi
4242
4243
4244 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4245 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4246 no_cache=0
4247
4248 # Check whether --with-zlib was given.
4249 if test "${with_zlib+set}" = set; then
4250 withval=$with_zlib;
4251 if test "$withval" = yes; then
4252 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4253 elif test "$withval" = no; then
4254 wx_cv_use_zlib='wxUSE_ZLIB=no'
4255 elif test "$withval" = sys; then
4256 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4257 elif test "$withval" = builtin; then
4258 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4259 else
4260 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4261 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4262 { (exit 1); exit 1; }; }
4263 fi
4264
4265 else
4266
4267 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4268 if test "x$LINE" != x ; then
4269 eval "DEFAULT_$LINE"
4270 else
4271 no_cache=1
4272 fi
4273
4274 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4275
4276 fi
4277
4278
4279 eval "$wx_cv_use_zlib"
4280 if test "$no_cache" != 1; then
4281 echo $wx_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4282 fi
4283
4284 if test "$wxUSE_ZLIB" = yes; then
4285 { echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6; }
4287 elif test "$wxUSE_ZLIB" = no; then
4288 { echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6; }
4290 elif test "$wxUSE_ZLIB" = sys; then
4291 { echo "$as_me:$LINENO: result: system version" >&5
4292 echo "${ECHO_T}system version" >&6; }
4293 elif test "$wxUSE_ZLIB" = builtin; then
4294 { echo "$as_me:$LINENO: result: builtin version" >&5
4295 echo "${ECHO_T}builtin version" >&6; }
4296 else
4297 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4298 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4300 fi
4301
4302
4303 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4304 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4305 no_cache=0
4306
4307 # Check whether --with-odbc was given.
4308 if test "${with_odbc+set}" = set; then
4309 withval=$with_odbc;
4310 if test "$withval" = yes; then
4311 wx_cv_use_odbc='wxUSE_ODBC=yes'
4312 elif test "$withval" = no; then
4313 wx_cv_use_odbc='wxUSE_ODBC=no'
4314 elif test "$withval" = sys; then
4315 wx_cv_use_odbc='wxUSE_ODBC=sys'
4316 elif test "$withval" = builtin; then
4317 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4318 else
4319 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4320 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4321 { (exit 1); exit 1; }; }
4322 fi
4323
4324 else
4325
4326 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x ; then
4328 eval "DEFAULT_$LINE"
4329 else
4330 no_cache=1
4331 fi
4332
4333 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4334
4335 fi
4336
4337
4338 eval "$wx_cv_use_odbc"
4339 if test "$no_cache" != 1; then
4340 echo $wx_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4341 fi
4342
4343 if test "$wxUSE_ODBC" = yes; then
4344 { echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6; }
4346 elif test "$wxUSE_ODBC" = no; then
4347 { echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6; }
4349 elif test "$wxUSE_ODBC" = sys; then
4350 { echo "$as_me:$LINENO: result: system version" >&5
4351 echo "${ECHO_T}system version" >&6; }
4352 elif test "$wxUSE_ODBC" = builtin; then
4353 { echo "$as_me:$LINENO: result: builtin version" >&5
4354 echo "${ECHO_T}builtin version" >&6; }
4355 else
4356 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4357 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4358 { (exit 1); exit 1; }; }
4359 fi
4360
4361
4362 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4363 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4364 no_cache=0
4365
4366 # Check whether --with-expat was given.
4367 if test "${with_expat+set}" = set; then
4368 withval=$with_expat;
4369 if test "$withval" = yes; then
4370 wx_cv_use_expat='wxUSE_EXPAT=yes'
4371 elif test "$withval" = no; then
4372 wx_cv_use_expat='wxUSE_EXPAT=no'
4373 elif test "$withval" = sys; then
4374 wx_cv_use_expat='wxUSE_EXPAT=sys'
4375 elif test "$withval" = builtin; then
4376 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4377 else
4378 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4379 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4380 { (exit 1); exit 1; }; }
4381 fi
4382
4383 else
4384
4385 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4386 if test "x$LINE" != x ; then
4387 eval "DEFAULT_$LINE"
4388 else
4389 no_cache=1
4390 fi
4391
4392 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4393
4394 fi
4395
4396
4397 eval "$wx_cv_use_expat"
4398 if test "$no_cache" != 1; then
4399 echo $wx_cv_use_expat >> ${wx_arg_cache_file}.tmp
4400 fi
4401
4402 if test "$wxUSE_EXPAT" = yes; then
4403 { echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6; }
4405 elif test "$wxUSE_EXPAT" = no; then
4406 { echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6; }
4408 elif test "$wxUSE_EXPAT" = sys; then
4409 { echo "$as_me:$LINENO: result: system version" >&5
4410 echo "${ECHO_T}system version" >&6; }
4411 elif test "$wxUSE_EXPAT" = builtin; then
4412 { echo "$as_me:$LINENO: result: builtin version" >&5
4413 echo "${ECHO_T}builtin version" >&6; }
4414 else
4415 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4416 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4417 { (exit 1); exit 1; }; }
4418 fi
4419
4420
4421
4422
4423 enablestring=disable
4424 defaultval=
4425 if test -z "$defaultval"; then
4426 if test x"$enablestring" = xdisable; then
4427 defaultval=yes
4428 else
4429 defaultval=no
4430 fi
4431 fi
4432
4433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4434 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4435 no_cache=0
4436 # Check whether --enable-shared was given.
4437 if test "${enable_shared+set}" = set; then
4438 enableval=$enable_shared;
4439 if test "$enableval" = yes; then
4440 wx_cv_use_shared='wxUSE_SHARED=yes'
4441 else
4442 wx_cv_use_shared='wxUSE_SHARED=no'
4443 fi
4444
4445 else
4446
4447 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x ; then
4449 eval "DEFAULT_$LINE"
4450 else
4451 no_cache=1
4452 fi
4453
4454 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4455
4456 fi
4457
4458
4459 eval "$wx_cv_use_shared"
4460 if test "$no_cache" != 1; then
4461 echo $wx_cv_use_shared >> ${wx_arg_cache_file}.tmp
4462 fi
4463
4464 if test x"$enablestring" = xdisable; then
4465 if test $wxUSE_SHARED = yes; then
4466 result=no
4467 else
4468 result=yes
4469 fi
4470 else
4471 result=$wxUSE_SHARED
4472 fi
4473
4474 { echo "$as_me:$LINENO: result: $result" >&5
4475 echo "${ECHO_T}$result" >&6; }
4476
4477
4478 enablestring=disable
4479 defaultval=
4480 if test -z "$defaultval"; then
4481 if test x"$enablestring" = xdisable; then
4482 defaultval=yes
4483 else
4484 defaultval=no
4485 fi
4486 fi
4487
4488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4489 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4490 no_cache=0
4491 # Check whether --enable-optimise was given.
4492 if test "${enable_optimise+set}" = set; then
4493 enableval=$enable_optimise;
4494 if test "$enableval" = yes; then
4495 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4496 else
4497 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4498 fi
4499
4500 else
4501
4502 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4503 if test "x$LINE" != x ; then
4504 eval "DEFAULT_$LINE"
4505 else
4506 no_cache=1
4507 fi
4508
4509 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4510
4511 fi
4512
4513
4514 eval "$wx_cv_use_optimise"
4515 if test "$no_cache" != 1; then
4516 echo $wx_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4517 fi
4518
4519 if test x"$enablestring" = xdisable; then
4520 if test $wxUSE_OPTIMISE = yes; then
4521 result=no
4522 else
4523 result=yes
4524 fi
4525 else
4526 result=$wxUSE_OPTIMISE
4527 fi
4528
4529 { echo "$as_me:$LINENO: result: $result" >&5
4530 echo "${ECHO_T}$result" >&6; }
4531
4532
4533 enablestring=
4534 defaultval=
4535 if test -z "$defaultval"; then
4536 if test x"$enablestring" = xdisable; then
4537 defaultval=yes
4538 else
4539 defaultval=no
4540 fi
4541 fi
4542
4543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4544 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4545 no_cache=0
4546 # Check whether --enable-debug was given.
4547 if test "${enable_debug+set}" = set; then
4548 enableval=$enable_debug;
4549 if test "$enableval" = yes; then
4550 wx_cv_use_debug='wxUSE_DEBUG=yes'
4551 else
4552 wx_cv_use_debug='wxUSE_DEBUG=no'
4553 fi
4554
4555 else
4556
4557 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x ; then
4559 eval "DEFAULT_$LINE"
4560 else
4561 no_cache=1
4562 fi
4563
4564 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4565
4566 fi
4567
4568
4569 eval "$wx_cv_use_debug"
4570 if test "$no_cache" != 1; then
4571 echo $wx_cv_use_debug >> ${wx_arg_cache_file}.tmp
4572 fi
4573
4574 if test x"$enablestring" = xdisable; then
4575 if test $wxUSE_DEBUG = yes; then
4576 result=no
4577 else
4578 result=yes
4579 fi
4580 else
4581 result=$wxUSE_DEBUG
4582 fi
4583
4584 { echo "$as_me:$LINENO: result: $result" >&5
4585 echo "${ECHO_T}$result" >&6; }
4586
4587
4588 enablestring=
4589 defaultval=
4590 if test -z "$defaultval"; then
4591 if test x"$enablestring" = xdisable; then
4592 defaultval=yes
4593 else
4594 defaultval=no
4595 fi
4596 fi
4597
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4600 no_cache=0
4601 # Check whether --enable-stl was given.
4602 if test "${enable_stl+set}" = set; then
4603 enableval=$enable_stl;
4604 if test "$enableval" = yes; then
4605 wx_cv_use_stl='wxUSE_STL=yes'
4606 else
4607 wx_cv_use_stl='wxUSE_STL=no'
4608 fi
4609
4610 else
4611
4612 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x ; then
4614 eval "DEFAULT_$LINE"
4615 else
4616 no_cache=1
4617 fi
4618
4619 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4620
4621 fi
4622
4623
4624 eval "$wx_cv_use_stl"
4625 if test "$no_cache" != 1; then
4626 echo $wx_cv_use_stl >> ${wx_arg_cache_file}.tmp
4627 fi
4628
4629 if test x"$enablestring" = xdisable; then
4630 if test $wxUSE_STL = yes; then
4631 result=no
4632 else
4633 result=yes
4634 fi
4635 else
4636 result=$wxUSE_STL
4637 fi
4638
4639 { echo "$as_me:$LINENO: result: $result" >&5
4640 echo "${ECHO_T}$result" >&6; }
4641
4642
4643 enablestring=
4644 defaultval=
4645 if test -z "$defaultval"; then
4646 if test x"$enablestring" = xdisable; then
4647 defaultval=yes
4648 else
4649 defaultval=no
4650 fi
4651 fi
4652
4653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4655 no_cache=0
4656 # Check whether --enable-std_iostreams was given.
4657 if test "${enable_std_iostreams+set}" = set; then
4658 enableval=$enable_std_iostreams;
4659 if test "$enableval" = yes; then
4660 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4661 else
4662 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4663 fi
4664
4665 else
4666
4667 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4668 if test "x$LINE" != x ; then
4669 eval "DEFAULT_$LINE"
4670 else
4671 no_cache=1
4672 fi
4673
4674 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4675
4676 fi
4677
4678
4679 eval "$wx_cv_use_std_iostreams"
4680 if test "$no_cache" != 1; then
4681 echo $wx_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4682 fi
4683
4684 if test x"$enablestring" = xdisable; then
4685 if test $wxUSE_STD_IOSTREAM = yes; then
4686 result=no
4687 else
4688 result=yes
4689 fi
4690 else
4691 result=$wxUSE_STD_IOSTREAM
4692 fi
4693
4694 { echo "$as_me:$LINENO: result: $result" >&5
4695 echo "${ECHO_T}$result" >&6; }
4696
4697
4698 enablestring=
4699 defaultval=
4700 if test -z "$defaultval"; then
4701 if test x"$enablestring" = xdisable; then
4702 defaultval=yes
4703 else
4704 defaultval=no
4705 fi
4706 fi
4707
4708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4710 no_cache=0
4711 # Check whether --enable-std_string was given.
4712 if test "${enable_std_string+set}" = set; then
4713 enableval=$enable_std_string;
4714 if test "$enableval" = yes; then
4715 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4716 else
4717 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4718 fi
4719
4720 else
4721
4722 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4723 if test "x$LINE" != x ; then
4724 eval "DEFAULT_$LINE"
4725 else
4726 no_cache=1
4727 fi
4728
4729 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4730
4731 fi
4732
4733
4734 eval "$wx_cv_use_std_string"
4735 if test "$no_cache" != 1; then
4736 echo $wx_cv_use_std_string >> ${wx_arg_cache_file}.tmp
4737 fi
4738
4739 if test x"$enablestring" = xdisable; then
4740 if test $wxUSE_STD_STRING = yes; then
4741 result=no
4742 else
4743 result=yes
4744 fi
4745 else
4746 result=$wxUSE_STD_STRING
4747 fi
4748
4749 { echo "$as_me:$LINENO: result: $result" >&5
4750 echo "${ECHO_T}$result" >&6; }
4751
4752
4753 enablestring=disable
4754 defaultval=
4755 if test -z "$defaultval"; then
4756 if test x"$enablestring" = xdisable; then
4757 defaultval=yes
4758 else
4759 defaultval=no
4760 fi
4761 fi
4762
4763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4764 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4765 no_cache=0
4766 # Check whether --enable-unicode was given.
4767 if test "${enable_unicode+set}" = set; then
4768 enableval=$enable_unicode;
4769 if test "$enableval" = yes; then
4770 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4771 else
4772 wx_cv_use_unicode='wxUSE_UNICODE=no'
4773 fi
4774
4775 else
4776
4777 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4778 if test "x$LINE" != x ; then
4779 eval "DEFAULT_$LINE"
4780 else
4781 no_cache=1
4782 fi
4783
4784 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4785
4786 fi
4787
4788
4789 eval "$wx_cv_use_unicode"
4790 if test "$no_cache" != 1; then
4791 echo $wx_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4792 fi
4793
4794 if test x"$enablestring" = xdisable; then
4795 if test $wxUSE_UNICODE = yes; then
4796 result=no
4797 else
4798 result=yes
4799 fi
4800 else
4801 result=$wxUSE_UNICODE
4802 fi
4803
4804 { echo "$as_me:$LINENO: result: $result" >&5
4805 echo "${ECHO_T}$result" >&6; }
4806
4807
4808 enablestring=
4809 defaultval=
4810 if test -z "$defaultval"; then
4811 if test x"$enablestring" = xdisable; then
4812 defaultval=yes
4813 else
4814 defaultval=no
4815 fi
4816 fi
4817
4818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4819 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4820 no_cache=0
4821 # Check whether --enable-mslu was given.
4822 if test "${enable_mslu+set}" = set; then
4823 enableval=$enable_mslu;
4824 if test "$enableval" = yes; then
4825 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4826 else
4827 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4828 fi
4829
4830 else
4831
4832 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x ; then
4834 eval "DEFAULT_$LINE"
4835 else
4836 no_cache=1
4837 fi
4838
4839 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4840
4841 fi
4842
4843
4844 eval "$wx_cv_use_mslu"
4845 if test "$no_cache" != 1; then
4846 echo $wx_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4847 fi
4848
4849 if test x"$enablestring" = xdisable; then
4850 if test $wxUSE_UNICODE_MSLU = yes; then
4851 result=no
4852 else
4853 result=yes
4854 fi
4855 else
4856 result=$wxUSE_UNICODE_MSLU
4857 fi
4858
4859 { echo "$as_me:$LINENO: result: $result" >&5
4860 echo "${ECHO_T}$result" >&6; }
4861
4862
4863 enablestring=
4864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4865 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4866 no_cache=0
4867 # Check whether --enable-utf8 was given.
4868 if test "${enable_utf8+set}" = set; then
4869 enableval=$enable_utf8;
4870 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4871
4872 else
4873
4874 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x ; then
4876 eval "DEFAULT_$LINE"
4877 else
4878 no_cache=1
4879 fi
4880
4881 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4882
4883 fi
4884
4885
4886 eval "$wx_cv_use_utf8"
4887 if test "$no_cache" != 1; then
4888 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4889 fi
4890
4891 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4892 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4893
4894
4895 enablestring=
4896 defaultval=
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4899 defaultval=yes
4900 else
4901 defaultval=no
4902 fi
4903 fi
4904
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4907 no_cache=0
4908 # Check whether --enable-utf8only was given.
4909 if test "${enable_utf8only+set}" = set; then
4910 enableval=$enable_utf8only;
4911 if test "$enableval" = yes; then
4912 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4913 else
4914 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4915 fi
4916
4917 else
4918
4919 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 else
4923 no_cache=1
4924 fi
4925
4926 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4927
4928 fi
4929
4930
4931 eval "$wx_cv_use_utf8only"
4932 if test "$no_cache" != 1; then
4933 echo $wx_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4934 fi
4935
4936 if test x"$enablestring" = xdisable; then
4937 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4938 result=no
4939 else
4940 result=yes
4941 fi
4942 else
4943 result=$wxUSE_UNICODE_UTF8_LOCALE
4944 fi
4945
4946 { echo "$as_me:$LINENO: result: $result" >&5
4947 echo "${ECHO_T}$result" >&6; }
4948
4949
4950 enablestring=
4951 defaultval=
4952 if test -z "$defaultval"; then
4953 if test x"$enablestring" = xdisable; then
4954 defaultval=yes
4955 else
4956 defaultval=no
4957 fi
4958 fi
4959
4960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4962 no_cache=0
4963 # Check whether --enable-extended_rtti was given.
4964 if test "${enable_extended_rtti+set}" = set; then
4965 enableval=$enable_extended_rtti;
4966 if test "$enableval" = yes; then
4967 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4968 else
4969 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4970 fi
4971
4972 else
4973
4974 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4975 if test "x$LINE" != x ; then
4976 eval "DEFAULT_$LINE"
4977 else
4978 no_cache=1
4979 fi
4980
4981 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4982
4983 fi
4984
4985
4986 eval "$wx_cv_use_extended_rtti"
4987 if test "$no_cache" != 1; then
4988 echo $wx_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4989 fi
4990
4991 if test x"$enablestring" = xdisable; then
4992 if test $wxUSE_EXTENDED_RTTI = yes; then
4993 result=no
4994 else
4995 result=yes
4996 fi
4997 else
4998 result=$wxUSE_EXTENDED_RTTI
4999 fi
5000
5001 { echo "$as_me:$LINENO: result: $result" >&5
5002 echo "${ECHO_T}$result" >&6; }
5003
5004 if test "$USE_OS2" = "1"; then
5005 DEFAULT_wxUSE_OMF=no
5006
5007 enablestring=
5008 defaultval=
5009 if test -z "$defaultval"; then
5010 if test x"$enablestring" = xdisable; then
5011 defaultval=yes
5012 else
5013 defaultval=no
5014 fi
5015 fi
5016
5017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5018 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5019 no_cache=0
5020 # Check whether --enable-omf was given.
5021 if test "${enable_omf+set}" = set; then
5022 enableval=$enable_omf;
5023 if test "$enableval" = yes; then
5024 wx_cv_use_omf='wxUSE_OMF=yes'
5025 else
5026 wx_cv_use_omf='wxUSE_OMF=no'
5027 fi
5028
5029 else
5030
5031 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x ; then
5033 eval "DEFAULT_$LINE"
5034 else
5035 no_cache=1
5036 fi
5037
5038 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5039
5040 fi
5041
5042
5043 eval "$wx_cv_use_omf"
5044 if test "$no_cache" != 1; then
5045 echo $wx_cv_use_omf >> ${wx_arg_cache_file}.tmp
5046 fi
5047
5048 if test x"$enablestring" = xdisable; then
5049 if test $wxUSE_OMF = yes; then
5050 result=no
5051 else
5052 result=yes
5053 fi
5054 else
5055 result=$wxUSE_OMF
5056 fi
5057
5058 { echo "$as_me:$LINENO: result: $result" >&5
5059 echo "${ECHO_T}$result" >&6; }
5060
5061 fi
5062
5063 if test "$wxUSE_DEBUG" = "yes"; then
5064 DEFAULT_wxUSE_DEBUG_FLAG=yes
5065 DEFAULT_wxUSE_DEBUG_INFO=yes
5066 BUILD=debug
5067 elif test "$wxUSE_DEBUG" = "no"; then
5068 DEFAULT_wxUSE_DEBUG_FLAG=no
5069 DEFAULT_wxUSE_DEBUG_INFO=no
5070 BUILD=release
5071 fi
5072
5073
5074 enablestring=
5075 defaultval=
5076 if test -z "$defaultval"; then
5077 if test x"$enablestring" = xdisable; then
5078 defaultval=yes
5079 else
5080 defaultval=no
5081 fi
5082 fi
5083
5084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5085 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5086 no_cache=0
5087 # Check whether --enable-debug_flag was given.
5088 if test "${enable_debug_flag+set}" = set; then
5089 enableval=$enable_debug_flag;
5090 if test "$enableval" = yes; then
5091 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5092 else
5093 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5094 fi
5095
5096 else
5097
5098 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x ; then
5100 eval "DEFAULT_$LINE"
5101 else
5102 no_cache=1
5103 fi
5104
5105 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5106
5107 fi
5108
5109
5110 eval "$wx_cv_use_debug_flag"
5111 if test "$no_cache" != 1; then
5112 echo $wx_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
5113 fi
5114
5115 if test x"$enablestring" = xdisable; then
5116 if test $wxUSE_DEBUG_FLAG = yes; then
5117 result=no
5118 else
5119 result=yes
5120 fi
5121 else
5122 result=$wxUSE_DEBUG_FLAG
5123 fi
5124
5125 { echo "$as_me:$LINENO: result: $result" >&5
5126 echo "${ECHO_T}$result" >&6; }
5127
5128
5129 enablestring=
5130 defaultval=
5131 if test -z "$defaultval"; then
5132 if test x"$enablestring" = xdisable; then
5133 defaultval=yes
5134 else
5135 defaultval=no
5136 fi
5137 fi
5138
5139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5140 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5141 no_cache=0
5142 # Check whether --enable-debug_info was given.
5143 if test "${enable_debug_info+set}" = set; then
5144 enableval=$enable_debug_info;
5145 if test "$enableval" = yes; then
5146 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5147 else
5148 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5149 fi
5150
5151 else
5152
5153 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5154 if test "x$LINE" != x ; then
5155 eval "DEFAULT_$LINE"
5156 else
5157 no_cache=1
5158 fi
5159
5160 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5161
5162 fi
5163
5164
5165 eval "$wx_cv_use_debug_info"
5166 if test "$no_cache" != 1; then
5167 echo $wx_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
5168 fi
5169
5170 if test x"$enablestring" = xdisable; then
5171 if test $wxUSE_DEBUG_INFO = yes; then
5172 result=no
5173 else
5174 result=yes
5175 fi
5176 else
5177 result=$wxUSE_DEBUG_INFO
5178 fi
5179
5180 { echo "$as_me:$LINENO: result: $result" >&5
5181 echo "${ECHO_T}$result" >&6; }
5182
5183
5184 enablestring=
5185 defaultval=
5186 if test -z "$defaultval"; then
5187 if test x"$enablestring" = xdisable; then
5188 defaultval=yes
5189 else
5190 defaultval=no
5191 fi
5192 fi
5193
5194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5195 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5196 no_cache=0
5197 # Check whether --enable-debug_gdb was given.
5198 if test "${enable_debug_gdb+set}" = set; then
5199 enableval=$enable_debug_gdb;
5200 if test "$enableval" = yes; then
5201 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5202 else
5203 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5204 fi
5205
5206 else
5207
5208 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x ; then
5210 eval "DEFAULT_$LINE"
5211 else
5212 no_cache=1
5213 fi
5214
5215 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5216
5217 fi
5218
5219
5220 eval "$wx_cv_use_debug_gdb"
5221 if test "$no_cache" != 1; then
5222 echo $wx_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
5223 fi
5224
5225 if test x"$enablestring" = xdisable; then
5226 if test $wxUSE_DEBUG_GDB = yes; then
5227 result=no
5228 else
5229 result=yes
5230 fi
5231 else
5232 result=$wxUSE_DEBUG_GDB
5233 fi
5234
5235 { echo "$as_me:$LINENO: result: $result" >&5
5236 echo "${ECHO_T}$result" >&6; }
5237
5238
5239 enablestring=
5240 defaultval=
5241 if test -z "$defaultval"; then
5242 if test x"$enablestring" = xdisable; then
5243 defaultval=yes
5244 else
5245 defaultval=no
5246 fi
5247 fi
5248
5249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5251 no_cache=0
5252 # Check whether --enable-debug_cntxt was given.
5253 if test "${enable_debug_cntxt+set}" = set; then
5254 enableval=$enable_debug_cntxt;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5257 else
5258 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5259 fi
5260
5261 else
5262
5263 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5264 if test "x$LINE" != x ; then
5265 eval "DEFAULT_$LINE"
5266 else
5267 no_cache=1
5268 fi
5269
5270 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5271
5272 fi
5273
5274
5275 eval "$wx_cv_use_debug_cntxt"
5276 if test "$no_cache" != 1; then
5277 echo $wx_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
5278 fi
5279
5280 if test x"$enablestring" = xdisable; then
5281 if test $wxUSE_DEBUG_CONTEXT = yes; then
5282 result=no
5283 else
5284 result=yes
5285 fi
5286 else
5287 result=$wxUSE_DEBUG_CONTEXT
5288 fi
5289
5290 { echo "$as_me:$LINENO: result: $result" >&5
5291 echo "${ECHO_T}$result" >&6; }
5292
5293
5294 enablestring=
5295 defaultval=
5296 if test -z "$defaultval"; then
5297 if test x"$enablestring" = xdisable; then
5298 defaultval=yes
5299 else
5300 defaultval=no
5301 fi
5302 fi
5303
5304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5306 no_cache=0
5307 # Check whether --enable-mem_tracing was given.
5308 if test "${enable_mem_tracing+set}" = set; then
5309 enableval=$enable_mem_tracing;
5310 if test "$enableval" = yes; then
5311 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5312 else
5313 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5314 fi
5315
5316 else
5317
5318 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5319 if test "x$LINE" != x ; then
5320 eval "DEFAULT_$LINE"
5321 else
5322 no_cache=1
5323 fi
5324
5325 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5326
5327 fi
5328
5329
5330 eval "$wx_cv_use_mem_tracing"
5331 if test "$no_cache" != 1; then
5332 echo $wx_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
5333 fi
5334
5335 if test x"$enablestring" = xdisable; then
5336 if test $wxUSE_MEM_TRACING = yes; then
5337 result=no
5338 else
5339 result=yes
5340 fi
5341 else
5342 result=$wxUSE_MEM_TRACING
5343 fi
5344
5345 { echo "$as_me:$LINENO: result: $result" >&5
5346 echo "${ECHO_T}$result" >&6; }
5347
5348
5349 enablestring=
5350 defaultval=
5351 if test -z "$defaultval"; then
5352 if test x"$enablestring" = xdisable; then
5353 defaultval=yes
5354 else
5355 defaultval=no
5356 fi
5357 fi
5358
5359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5361 no_cache=0
5362 # Check whether --enable-profile was given.
5363 if test "${enable_profile+set}" = set; then
5364 enableval=$enable_profile;
5365 if test "$enableval" = yes; then
5366 wx_cv_use_profile='wxUSE_PROFILE=yes'
5367 else
5368 wx_cv_use_profile='wxUSE_PROFILE=no'
5369 fi
5370
5371 else
5372
5373 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x ; then
5375 eval "DEFAULT_$LINE"
5376 else
5377 no_cache=1
5378 fi
5379
5380 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5381
5382 fi
5383
5384
5385 eval "$wx_cv_use_profile"
5386 if test "$no_cache" != 1; then
5387 echo $wx_cv_use_profile >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test x"$enablestring" = xdisable; then
5391 if test $wxUSE_PROFILE = yes; then
5392 result=no
5393 else
5394 result=yes
5395 fi
5396 else
5397 result=$wxUSE_PROFILE
5398 fi
5399
5400 { echo "$as_me:$LINENO: result: $result" >&5
5401 echo "${ECHO_T}$result" >&6; }
5402
5403
5404 enablestring=
5405 defaultval=
5406 if test -z "$defaultval"; then
5407 if test x"$enablestring" = xdisable; then
5408 defaultval=yes
5409 else
5410 defaultval=no
5411 fi
5412 fi
5413
5414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5416 no_cache=0
5417 # Check whether --enable-no_rtti was given.
5418 if test "${enable_no_rtti+set}" = set; then
5419 enableval=$enable_no_rtti;
5420 if test "$enableval" = yes; then
5421 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5422 else
5423 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5424 fi
5425
5426 else
5427
5428 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5429 if test "x$LINE" != x ; then
5430 eval "DEFAULT_$LINE"
5431 else
5432 no_cache=1
5433 fi
5434
5435 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5436
5437 fi
5438
5439
5440 eval "$wx_cv_use_no_rtti"
5441 if test "$no_cache" != 1; then
5442 echo $wx_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5443 fi
5444
5445 if test x"$enablestring" = xdisable; then
5446 if test $wxUSE_NO_RTTI = yes; then
5447 result=no
5448 else
5449 result=yes
5450 fi
5451 else
5452 result=$wxUSE_NO_RTTI
5453 fi
5454
5455 { echo "$as_me:$LINENO: result: $result" >&5
5456 echo "${ECHO_T}$result" >&6; }
5457
5458
5459 enablestring=
5460 defaultval=
5461 if test -z "$defaultval"; then
5462 if test x"$enablestring" = xdisable; then
5463 defaultval=yes
5464 else
5465 defaultval=no
5466 fi
5467 fi
5468
5469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5470 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5471 no_cache=0
5472 # Check whether --enable-no_exceptions was given.
5473 if test "${enable_no_exceptions+set}" = set; then
5474 enableval=$enable_no_exceptions;
5475 if test "$enableval" = yes; then
5476 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5477 else
5478 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5479 fi
5480
5481 else
5482
5483 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5484 if test "x$LINE" != x ; then
5485 eval "DEFAULT_$LINE"
5486 else
5487 no_cache=1
5488 fi
5489
5490 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5491
5492 fi
5493
5494
5495 eval "$wx_cv_use_no_exceptions"
5496 if test "$no_cache" != 1; then
5497 echo $wx_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5498 fi
5499
5500 if test x"$enablestring" = xdisable; then
5501 if test $wxUSE_NO_EXCEPTIONS = yes; then
5502 result=no
5503 else
5504 result=yes
5505 fi
5506 else
5507 result=$wxUSE_NO_EXCEPTIONS
5508 fi
5509
5510 { echo "$as_me:$LINENO: result: $result" >&5
5511 echo "${ECHO_T}$result" >&6; }
5512
5513
5514 enablestring=
5515 defaultval=
5516 if test -z "$defaultval"; then
5517 if test x"$enablestring" = xdisable; then
5518 defaultval=yes
5519 else
5520 defaultval=no
5521 fi
5522 fi
5523
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5526 no_cache=0
5527 # Check whether --enable-permissive was given.
5528 if test "${enable_permissive+set}" = set; then
5529 enableval=$enable_permissive;
5530 if test "$enableval" = yes; then
5531 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5532 else
5533 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5534 fi
5535
5536 else
5537
5538 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5541 else
5542 no_cache=1
5543 fi
5544
5545 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5546
5547 fi
5548
5549
5550 eval "$wx_cv_use_permissive"
5551 if test "$no_cache" != 1; then
5552 echo $wx_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5553 fi
5554
5555 if test x"$enablestring" = xdisable; then
5556 if test $wxUSE_PERMISSIVE = yes; then
5557 result=no
5558 else
5559 result=yes
5560 fi
5561 else
5562 result=$wxUSE_PERMISSIVE
5563 fi
5564
5565 { echo "$as_me:$LINENO: result: $result" >&5
5566 echo "${ECHO_T}$result" >&6; }
5567
5568
5569 enablestring=
5570 defaultval=
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5573 defaultval=yes
5574 else
5575 defaultval=no
5576 fi
5577 fi
5578
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5581 no_cache=0
5582 # Check whether --enable-no_deps was given.
5583 if test "${enable_no_deps+set}" = set; then
5584 enableval=$enable_no_deps;
5585 if test "$enableval" = yes; then
5586 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5587 else
5588 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5589 fi
5590
5591 else
5592
5593 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x ; then
5595 eval "DEFAULT_$LINE"
5596 else
5597 no_cache=1
5598 fi
5599
5600 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5601
5602 fi
5603
5604
5605 eval "$wx_cv_use_no_deps"
5606 if test "$no_cache" != 1; then
5607 echo $wx_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5608 fi
5609
5610 if test x"$enablestring" = xdisable; then
5611 if test $wxUSE_NO_DEPS = yes; then
5612 result=no
5613 else
5614 result=yes
5615 fi
5616 else
5617 result=$wxUSE_NO_DEPS
5618 fi
5619
5620 { echo "$as_me:$LINENO: result: $result" >&5
5621 echo "${ECHO_T}$result" >&6; }
5622
5623
5624 enablestring=disable
5625 defaultval=
5626 if test -z "$defaultval"; then
5627 if test x"$enablestring" = xdisable; then
5628 defaultval=yes
5629 else
5630 defaultval=no
5631 fi
5632 fi
5633
5634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5636 no_cache=0
5637 # Check whether --enable-vararg_macros was given.
5638 if test "${enable_vararg_macros+set}" = set; then
5639 enableval=$enable_vararg_macros;
5640 if test "$enableval" = yes; then
5641 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5642 else
5643 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5644 fi
5645
5646 else
5647
5648 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5649 if test "x$LINE" != x ; then
5650 eval "DEFAULT_$LINE"
5651 else
5652 no_cache=1
5653 fi
5654
5655 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5656
5657 fi
5658
5659
5660 eval "$wx_cv_use_vararg_macros"
5661 if test "$no_cache" != 1; then
5662 echo $wx_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5663 fi
5664
5665 if test x"$enablestring" = xdisable; then
5666 if test $wxUSE_VARARG_MACROS = yes; then
5667 result=no
5668 else
5669 result=yes
5670 fi
5671 else
5672 result=$wxUSE_VARARG_MACROS
5673 fi
5674
5675 { echo "$as_me:$LINENO: result: $result" >&5
5676 echo "${ECHO_T}$result" >&6; }
5677
5678
5679 enablestring=
5680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5682 no_cache=0
5683 # Check whether --enable-universal_binary was given.
5684 if test "${enable_universal_binary+set}" = set; then
5685 enableval=$enable_universal_binary;
5686 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5687
5688 else
5689
5690 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x ; then
5692 eval "DEFAULT_$LINE"
5693 else
5694 no_cache=1
5695 fi
5696
5697 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5698
5699 fi
5700
5701
5702 eval "$wx_cv_use_universal_binary"
5703 if test "$no_cache" != 1; then
5704 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5705 fi
5706
5707 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5708 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5709
5710
5711
5712 enablestring=
5713 defaultval=
5714 if test -z "$defaultval"; then
5715 if test x"$enablestring" = xdisable; then
5716 defaultval=yes
5717 else
5718 defaultval=no
5719 fi
5720 fi
5721
5722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5724 no_cache=0
5725 # Check whether --enable-compat26 was given.
5726 if test "${enable_compat26+set}" = set; then
5727 enableval=$enable_compat26;
5728 if test "$enableval" = yes; then
5729 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5730 else
5731 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5732 fi
5733
5734 else
5735
5736 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x ; then
5738 eval "DEFAULT_$LINE"
5739 else
5740 no_cache=1
5741 fi
5742
5743 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5744
5745 fi
5746
5747
5748 eval "$wx_cv_use_compat26"
5749 if test "$no_cache" != 1; then
5750 echo $wx_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5751 fi
5752
5753 if test x"$enablestring" = xdisable; then
5754 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5755 result=no
5756 else
5757 result=yes
5758 fi
5759 else
5760 result=$WXWIN_COMPATIBILITY_2_6
5761 fi
5762
5763 { echo "$as_me:$LINENO: result: $result" >&5
5764 echo "${ECHO_T}$result" >&6; }
5765
5766
5767 enablestring=disable
5768 defaultval=
5769 if test -z "$defaultval"; then
5770 if test x"$enablestring" = xdisable; then
5771 defaultval=yes
5772 else
5773 defaultval=no
5774 fi
5775 fi
5776
5777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5779 no_cache=0
5780 # Check whether --enable-compat28 was given.
5781 if test "${enable_compat28+set}" = set; then
5782 enableval=$enable_compat28;
5783 if test "$enableval" = yes; then
5784 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5785 else
5786 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5787 fi
5788
5789 else
5790
5791 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5792 if test "x$LINE" != x ; then
5793 eval "DEFAULT_$LINE"
5794 else
5795 no_cache=1
5796 fi
5797
5798 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5799
5800 fi
5801
5802
5803 eval "$wx_cv_use_compat28"
5804 if test "$no_cache" != 1; then
5805 echo $wx_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5806 fi
5807
5808 if test x"$enablestring" = xdisable; then
5809 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5810 result=no
5811 else
5812 result=yes
5813 fi
5814 else
5815 result=$WXWIN_COMPATIBILITY_2_8
5816 fi
5817
5818 { echo "$as_me:$LINENO: result: $result" >&5
5819 echo "${ECHO_T}$result" >&6; }
5820
5821
5822
5823 enablestring=disable
5824 defaultval=
5825 if test -z "$defaultval"; then
5826 if test x"$enablestring" = xdisable; then
5827 defaultval=yes
5828 else
5829 defaultval=no
5830 fi
5831 fi
5832
5833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5835 no_cache=0
5836 # Check whether --enable-rpath was given.
5837 if test "${enable_rpath+set}" = set; then
5838 enableval=$enable_rpath;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_rpath='wxUSE_RPATH=yes'
5841 else
5842 wx_cv_use_rpath='wxUSE_RPATH=no'
5843 fi
5844
5845 else
5846
5847 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5848 if test "x$LINE" != x ; then
5849 eval "DEFAULT_$LINE"
5850 else
5851 no_cache=1
5852 fi
5853
5854 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5855
5856 fi
5857
5858
5859 eval "$wx_cv_use_rpath"
5860 if test "$no_cache" != 1; then
5861 echo $wx_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5862 fi
5863
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_RPATH = yes; then
5866 result=no
5867 else
5868 result=yes
5869 fi
5870 else
5871 result=$wxUSE_RPATH
5872 fi
5873
5874 { echo "$as_me:$LINENO: result: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5876
5877
5878
5879 enablestring=
5880 defaultval=
5881 if test -z "$defaultval"; then
5882 if test x"$enablestring" = xdisable; then
5883 defaultval=yes
5884 else
5885 defaultval=no
5886 fi
5887 fi
5888
5889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5891 no_cache=0
5892 # Check whether --enable-objc_uniquifying was given.
5893 if test "${enable_objc_uniquifying+set}" = set; then
5894 enableval=$enable_objc_uniquifying;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5897 else
5898 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5899 fi
5900
5901 else
5902
5903 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x ; then
5905 eval "DEFAULT_$LINE"
5906 else
5907 no_cache=1
5908 fi
5909
5910 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5911
5912 fi
5913
5914
5915 eval "$wx_cv_use_objc_uniquifying"
5916 if test "$no_cache" != 1; then
5917 echo $wx_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5918 fi
5919
5920 if test x"$enablestring" = xdisable; then
5921 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5922 result=no
5923 else
5924 result=yes
5925 fi
5926 else
5927 result=$wxUSE_OBJC_UNIQUIFYING
5928 fi
5929
5930 { echo "$as_me:$LINENO: result: $result" >&5
5931 echo "${ECHO_T}$result" >&6; }
5932
5933
5934
5935 enablestring=disable
5936 defaultval=
5937 if test -z "$defaultval"; then
5938 if test x"$enablestring" = xdisable; then
5939 defaultval=yes
5940 else
5941 defaultval=no
5942 fi
5943 fi
5944
5945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5946 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5947 no_cache=0
5948 # Check whether --enable-visibility was given.
5949 if test "${enable_visibility+set}" = set; then
5950 enableval=$enable_visibility;
5951 if test "$enableval" = yes; then
5952 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5953 else
5954 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5955 fi
5956
5957 else
5958
5959 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x ; then
5961 eval "DEFAULT_$LINE"
5962 else
5963 no_cache=1
5964 fi
5965
5966 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5967
5968 fi
5969
5970
5971 eval "$wx_cv_use_visibility"
5972 if test "$no_cache" != 1; then
5973 echo $wx_cv_use_visibility >> ${wx_arg_cache_file}.tmp
5974 fi
5975
5976 if test x"$enablestring" = xdisable; then
5977 if test $wxUSE_VISIBILITY = yes; then
5978 result=no
5979 else
5980 result=yes
5981 fi
5982 else
5983 result=$wxUSE_VISIBILITY
5984 fi
5985
5986 { echo "$as_me:$LINENO: result: $result" >&5
5987 echo "${ECHO_T}$result" >&6; }
5988
5989
5990
5991
5992 enablestring=
5993 defaultval=$wxUSE_ALL_FEATURES
5994 if test -z "$defaultval"; then
5995 if test x"$enablestring" = xdisable; then
5996 defaultval=yes
5997 else
5998 defaultval=no
5999 fi
6000 fi
6001
6002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6003 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6004 no_cache=0
6005 # Check whether --enable-intl was given.
6006 if test "${enable_intl+set}" = set; then
6007 enableval=$enable_intl;
6008 if test "$enableval" = yes; then
6009 wx_cv_use_intl='wxUSE_INTL=yes'
6010 else
6011 wx_cv_use_intl='wxUSE_INTL=no'
6012 fi
6013
6014 else
6015
6016 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6019 else
6020 no_cache=1
6021 fi
6022
6023 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6024
6025 fi
6026
6027
6028 eval "$wx_cv_use_intl"
6029 if test "$no_cache" != 1; then
6030 echo $wx_cv_use_intl >> ${wx_arg_cache_file}.tmp
6031 fi
6032
6033 if test x"$enablestring" = xdisable; then
6034 if test $wxUSE_INTL = yes; then
6035 result=no
6036 else
6037 result=yes
6038 fi
6039 else
6040 result=$wxUSE_INTL
6041 fi
6042
6043 { echo "$as_me:$LINENO: result: $result" >&5
6044 echo "${ECHO_T}$result" >&6; }
6045
6046
6047 enablestring=
6048 defaultval=$wxUSE_ALL_FEATURES
6049 if test -z "$defaultval"; then
6050 if test x"$enablestring" = xdisable; then
6051 defaultval=yes
6052 else
6053 defaultval=no
6054 fi
6055 fi
6056
6057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6058 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6059 no_cache=0
6060 # Check whether --enable-config was given.
6061 if test "${enable_config+set}" = set; then
6062 enableval=$enable_config;
6063 if test "$enableval" = yes; then
6064 wx_cv_use_config='wxUSE_CONFIG=yes'
6065 else
6066 wx_cv_use_config='wxUSE_CONFIG=no'
6067 fi
6068
6069 else
6070
6071 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6074 else
6075 no_cache=1
6076 fi
6077
6078 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6079
6080 fi
6081
6082
6083 eval "$wx_cv_use_config"
6084 if test "$no_cache" != 1; then
6085 echo $wx_cv_use_config >> ${wx_arg_cache_file}.tmp
6086 fi
6087
6088 if test x"$enablestring" = xdisable; then
6089 if test $wxUSE_CONFIG = yes; then
6090 result=no
6091 else
6092 result=yes
6093 fi
6094 else
6095 result=$wxUSE_CONFIG
6096 fi
6097
6098 { echo "$as_me:$LINENO: result: $result" >&5
6099 echo "${ECHO_T}$result" >&6; }
6100
6101
6102
6103 enablestring=
6104 defaultval=$wxUSE_ALL_FEATURES
6105 if test -z "$defaultval"; then
6106 if test x"$enablestring" = xdisable; then
6107 defaultval=yes
6108 else
6109 defaultval=no
6110 fi
6111 fi
6112
6113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6115 no_cache=0
6116 # Check whether --enable-protocols was given.
6117 if test "${enable_protocols+set}" = set; then
6118 enableval=$enable_protocols;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6121 else
6122 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6123 fi
6124
6125 else
6126
6127 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6130 else
6131 no_cache=1
6132 fi
6133
6134 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6135
6136 fi
6137
6138
6139 eval "$wx_cv_use_protocols"
6140 if test "$no_cache" != 1; then
6141 echo $wx_cv_use_protocols >> ${wx_arg_cache_file}.tmp
6142 fi
6143
6144 if test x"$enablestring" = xdisable; then
6145 if test $wxUSE_PROTOCOL = yes; then
6146 result=no
6147 else
6148 result=yes
6149 fi
6150 else
6151 result=$wxUSE_PROTOCOL
6152 fi
6153
6154 { echo "$as_me:$LINENO: result: $result" >&5
6155 echo "${ECHO_T}$result" >&6; }
6156
6157
6158 enablestring=
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6162 defaultval=yes
6163 else
6164 defaultval=no
6165 fi
6166 fi
6167
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6170 no_cache=0
6171 # Check whether --enable-ftp was given.
6172 if test "${enable_ftp+set}" = set; then
6173 enableval=$enable_ftp;
6174 if test "$enableval" = yes; then
6175 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6176 else
6177 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6178 fi
6179
6180 else
6181
6182 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x ; then
6184 eval "DEFAULT_$LINE"
6185 else
6186 no_cache=1
6187 fi
6188
6189 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6190
6191 fi
6192
6193
6194 eval "$wx_cv_use_ftp"
6195 if test "$no_cache" != 1; then
6196 echo $wx_cv_use_ftp >> ${wx_arg_cache_file}.tmp
6197 fi
6198
6199 if test x"$enablestring" = xdisable; then
6200 if test $wxUSE_PROTOCOL_FTP = yes; then
6201 result=no
6202 else
6203 result=yes
6204 fi
6205 else
6206 result=$wxUSE_PROTOCOL_FTP
6207 fi
6208
6209 { echo "$as_me:$LINENO: result: $result" >&5
6210 echo "${ECHO_T}$result" >&6; }
6211
6212
6213 enablestring=
6214 defaultval=$wxUSE_ALL_FEATURES
6215 if test -z "$defaultval"; then
6216 if test x"$enablestring" = xdisable; then
6217 defaultval=yes
6218 else
6219 defaultval=no
6220 fi
6221 fi
6222
6223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6224 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6225 no_cache=0
6226 # Check whether --enable-http was given.
6227 if test "${enable_http+set}" = set; then
6228 enableval=$enable_http;
6229 if test "$enableval" = yes; then
6230 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6231 else
6232 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6233 fi
6234
6235 else
6236
6237 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6240 else
6241 no_cache=1
6242 fi
6243
6244 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6245
6246 fi
6247
6248
6249 eval "$wx_cv_use_http"
6250 if test "$no_cache" != 1; then
6251 echo $wx_cv_use_http >> ${wx_arg_cache_file}.tmp
6252 fi
6253
6254 if test x"$enablestring" = xdisable; then
6255 if test $wxUSE_PROTOCOL_HTTP = yes; then
6256 result=no
6257 else
6258 result=yes
6259 fi
6260 else
6261 result=$wxUSE_PROTOCOL_HTTP
6262 fi
6263
6264 { echo "$as_me:$LINENO: result: $result" >&5
6265 echo "${ECHO_T}$result" >&6; }
6266
6267
6268 enablestring=
6269 defaultval=$wxUSE_ALL_FEATURES
6270 if test -z "$defaultval"; then
6271 if test x"$enablestring" = xdisable; then
6272 defaultval=yes
6273 else
6274 defaultval=no
6275 fi
6276 fi
6277
6278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6280 no_cache=0
6281 # Check whether --enable-fileproto was given.
6282 if test "${enable_fileproto+set}" = set; then
6283 enableval=$enable_fileproto;
6284 if test "$enableval" = yes; then
6285 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6286 else
6287 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6288 fi
6289
6290 else
6291
6292 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x ; then
6294 eval "DEFAULT_$LINE"
6295 else
6296 no_cache=1
6297 fi
6298
6299 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6300
6301 fi
6302
6303
6304 eval "$wx_cv_use_fileproto"
6305 if test "$no_cache" != 1; then
6306 echo $wx_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
6307 fi
6308
6309 if test x"$enablestring" = xdisable; then
6310 if test $wxUSE_PROTOCOL_FILE = yes; then
6311 result=no
6312 else
6313 result=yes
6314 fi
6315 else
6316 result=$wxUSE_PROTOCOL_FILE
6317 fi
6318
6319 { echo "$as_me:$LINENO: result: $result" >&5
6320 echo "${ECHO_T}$result" >&6; }
6321
6322
6323 enablestring=
6324 defaultval=$wxUSE_ALL_FEATURES
6325 if test -z "$defaultval"; then
6326 if test x"$enablestring" = xdisable; then
6327 defaultval=yes
6328 else
6329 defaultval=no
6330 fi
6331 fi
6332
6333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6335 no_cache=0
6336 # Check whether --enable-sockets was given.
6337 if test "${enable_sockets+set}" = set; then
6338 enableval=$enable_sockets;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6341 else
6342 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6343 fi
6344
6345 else
6346
6347 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6348 if test "x$LINE" != x ; then
6349 eval "DEFAULT_$LINE"
6350 else
6351 no_cache=1
6352 fi
6353
6354 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6355
6356 fi
6357
6358
6359 eval "$wx_cv_use_sockets"
6360 if test "$no_cache" != 1; then
6361 echo $wx_cv_use_sockets >> ${wx_arg_cache_file}.tmp
6362 fi
6363
6364 if test x"$enablestring" = xdisable; then
6365 if test $wxUSE_SOCKETS = yes; then
6366 result=no
6367 else
6368 result=yes
6369 fi
6370 else
6371 result=$wxUSE_SOCKETS
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}-ole" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6390 no_cache=0
6391 # Check whether --enable-ole was given.
6392 if test "${enable_ole+set}" = set; then
6393 enableval=$enable_ole;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_ole='wxUSE_OLE=yes'
6396 else
6397 wx_cv_use_ole='wxUSE_OLE=no'
6398 fi
6399
6400 else
6401
6402 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6403 if test "x$LINE" != x ; then
6404 eval "DEFAULT_$LINE"
6405 else
6406 no_cache=1
6407 fi
6408
6409 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6410
6411 fi
6412
6413
6414 eval "$wx_cv_use_ole"
6415 if test "$no_cache" != 1; then
6416 echo $wx_cv_use_ole >> ${wx_arg_cache_file}.tmp
6417 fi
6418
6419 if test x"$enablestring" = xdisable; then
6420 if test $wxUSE_OLE = yes; then
6421 result=no
6422 else
6423 result=yes
6424 fi
6425 else
6426 result=$wxUSE_OLE
6427 fi
6428
6429 { echo "$as_me:$LINENO: result: $result" >&5
6430 echo "${ECHO_T}$result" >&6; }
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}-dataobj" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6445 no_cache=0
6446 # Check whether --enable-dataobj was given.
6447 if test "${enable_dataobj+set}" = set; then
6448 enableval=$enable_dataobj;
6449 if test "$enableval" = yes; then
6450 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6451 else
6452 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6453 fi
6454
6455 else
6456
6457 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6458 if test "x$LINE" != x ; then
6459 eval "DEFAULT_$LINE"
6460 else
6461 no_cache=1
6462 fi
6463
6464 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6465
6466 fi
6467
6468
6469 eval "$wx_cv_use_dataobj"
6470 if test "$no_cache" != 1; then
6471 echo $wx_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
6472 fi
6473
6474 if test x"$enablestring" = xdisable; then
6475 if test $wxUSE_DATAOBJ = yes; then
6476 result=no
6477 else
6478 result=yes
6479 fi
6480 else
6481 result=$wxUSE_DATAOBJ
6482 fi
6483
6484 { echo "$as_me:$LINENO: result: $result" >&5
6485 echo "${ECHO_T}$result" >&6; }
6486
6487
6488
6489 enablestring=
6490 defaultval=$wxUSE_ALL_FEATURES
6491 if test -z "$defaultval"; then
6492 if test x"$enablestring" = xdisable; then
6493 defaultval=yes
6494 else
6495 defaultval=no
6496 fi
6497 fi
6498
6499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6501 no_cache=0
6502 # Check whether --enable-ipc was given.
6503 if test "${enable_ipc+set}" = set; then
6504 enableval=$enable_ipc;
6505 if test "$enableval" = yes; then
6506 wx_cv_use_ipc='wxUSE_IPC=yes'
6507 else
6508 wx_cv_use_ipc='wxUSE_IPC=no'
6509 fi
6510
6511 else
6512
6513 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x ; then
6515 eval "DEFAULT_$LINE"
6516 else
6517 no_cache=1
6518 fi
6519
6520 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6521
6522 fi
6523
6524
6525 eval "$wx_cv_use_ipc"
6526 if test "$no_cache" != 1; then
6527 echo $wx_cv_use_ipc >> ${wx_arg_cache_file}.tmp
6528 fi
6529
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_IPC = yes; then
6532 result=no
6533 else
6534 result=yes
6535 fi
6536 else
6537 result=$wxUSE_IPC
6538 fi
6539
6540 { echo "$as_me:$LINENO: result: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6542
6543
6544
6545 enablestring=
6546 defaultval=$wxUSE_ALL_FEATURES
6547 if test -z "$defaultval"; then
6548 if test x"$enablestring" = xdisable; then
6549 defaultval=yes
6550 else
6551 defaultval=no
6552 fi
6553 fi
6554
6555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6556 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6557 no_cache=0
6558 # Check whether --enable-baseevtloop was given.
6559 if test "${enable_baseevtloop+set}" = set; then
6560 enableval=$enable_baseevtloop;
6561 if test "$enableval" = yes; then
6562 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6563 else
6564 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6565 fi
6566
6567 else
6568
6569 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x ; then
6571 eval "DEFAULT_$LINE"
6572 else
6573 no_cache=1
6574 fi
6575
6576 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6577
6578 fi
6579
6580
6581 eval "$wx_cv_use_baseevtloop"
6582 if test "$no_cache" != 1; then
6583 echo $wx_cv_use_baseevtloop >> ${wx_arg_cache_file}.tmp
6584 fi
6585
6586 if test x"$enablestring" = xdisable; then
6587 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6588 result=no
6589 else
6590 result=yes
6591 fi
6592 else
6593 result=$wxUSE_CONSOLE_EVENTLOOP
6594 fi
6595
6596 { echo "$as_me:$LINENO: result: $result" >&5
6597 echo "${ECHO_T}$result" >&6; }
6598
6599
6600 enablestring=
6601 defaultval=$wxUSE_ALL_FEATURES
6602 if test -z "$defaultval"; then
6603 if test x"$enablestring" = xdisable; then
6604 defaultval=yes
6605 else
6606 defaultval=no
6607 fi
6608 fi
6609
6610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6611 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6612 no_cache=0
6613 # Check whether --enable-epoolloop was given.
6614 if test "${enable_epoolloop+set}" = set; then
6615 enableval=$enable_epoolloop;
6616 if test "$enableval" = yes; then
6617 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6618 else
6619 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6620 fi
6621
6622 else
6623
6624 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x ; then
6626 eval "DEFAULT_$LINE"
6627 else
6628 no_cache=1
6629 fi
6630
6631 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6632
6633 fi
6634
6635
6636 eval "$wx_cv_use_epoolloop"
6637 if test "$no_cache" != 1; then
6638 echo $wx_cv_use_epoolloop >> ${wx_arg_cache_file}.tmp
6639 fi
6640
6641 if test x"$enablestring" = xdisable; then
6642 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6643 result=no
6644 else
6645 result=yes
6646 fi
6647 else
6648 result=$wxUSE_EPOLL_DISPATCHER
6649 fi
6650
6651 { echo "$as_me:$LINENO: result: $result" >&5
6652 echo "${ECHO_T}$result" >&6; }
6653
6654
6655 enablestring=
6656 defaultval=$wxUSE_ALL_FEATURES
6657 if test -z "$defaultval"; then
6658 if test x"$enablestring" = xdisable; then
6659 defaultval=yes
6660 else
6661 defaultval=no
6662 fi
6663 fi
6664
6665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6667 no_cache=0
6668 # Check whether --enable-selectloop was given.
6669 if test "${enable_selectloop+set}" = set; then
6670 enableval=$enable_selectloop;
6671 if test "$enableval" = yes; then
6672 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6673 else
6674 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6675 fi
6676
6677 else
6678
6679 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x ; then
6681 eval "DEFAULT_$LINE"
6682 else
6683 no_cache=1
6684 fi
6685
6686 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6687
6688 fi
6689
6690
6691 eval "$wx_cv_use_selectloop"
6692 if test "$no_cache" != 1; then
6693 echo $wx_cv_use_selectloop >> ${wx_arg_cache_file}.tmp
6694 fi
6695
6696 if test x"$enablestring" = xdisable; then
6697 if test $wxUSE_SELECT_DISPATCHER = yes; then
6698 result=no
6699 else
6700 result=yes
6701 fi
6702 else
6703 result=$wxUSE_SELECT_DISPATCHER
6704 fi
6705
6706 { echo "$as_me:$LINENO: result: $result" >&5
6707 echo "${ECHO_T}$result" >&6; }
6708
6709
6710
6711 enablestring=
6712 defaultval=$wxUSE_ALL_FEATURES
6713 if test -z "$defaultval"; then
6714 if test x"$enablestring" = xdisable; then
6715 defaultval=yes
6716 else
6717 defaultval=no
6718 fi
6719 fi
6720
6721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6722 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6723 no_cache=0
6724 # Check whether --enable-apple_ieee was given.
6725 if test "${enable_apple_ieee+set}" = set; then
6726 enableval=$enable_apple_ieee;
6727 if test "$enableval" = yes; then
6728 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6729 else
6730 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6731 fi
6732
6733 else
6734
6735 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6738 else
6739 no_cache=1
6740 fi
6741
6742 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6743
6744 fi
6745
6746
6747 eval "$wx_cv_use_apple_ieee"
6748 if test "$no_cache" != 1; then
6749 echo $wx_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
6750 fi
6751
6752 if test x"$enablestring" = xdisable; then
6753 if test $wxUSE_APPLE_IEEE = yes; then
6754 result=no
6755 else
6756 result=yes
6757 fi
6758 else
6759 result=$wxUSE_APPLE_IEEE
6760 fi
6761
6762 { echo "$as_me:$LINENO: result: $result" >&5
6763 echo "${ECHO_T}$result" >&6; }
6764
6765
6766 enablestring=
6767 defaultval=$wxUSE_ALL_FEATURES
6768 if test -z "$defaultval"; then
6769 if test x"$enablestring" = xdisable; then
6770 defaultval=yes
6771 else
6772 defaultval=no
6773 fi
6774 fi
6775
6776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6777 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6778 no_cache=0
6779 # Check whether --enable-arcstream was given.
6780 if test "${enable_arcstream+set}" = set; then
6781 enableval=$enable_arcstream;
6782 if test "$enableval" = yes; then
6783 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6784 else
6785 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6786 fi
6787
6788 else
6789
6790 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6793 else
6794 no_cache=1
6795 fi
6796
6797 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6798
6799 fi
6800
6801
6802 eval "$wx_cv_use_arcstream"
6803 if test "$no_cache" != 1; then
6804 echo $wx_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
6805 fi
6806
6807 if test x"$enablestring" = xdisable; then
6808 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6809 result=no
6810 else
6811 result=yes
6812 fi
6813 else
6814 result=$wxUSE_ARCHIVE_STREAMS
6815 fi
6816
6817 { echo "$as_me:$LINENO: result: $result" >&5
6818 echo "${ECHO_T}$result" >&6; }
6819
6820
6821 enablestring=
6822 defaultval=$wxUSE_ALL_FEATURES
6823 if test -z "$defaultval"; then
6824 if test x"$enablestring" = xdisable; then
6825 defaultval=yes
6826 else
6827 defaultval=no
6828 fi
6829 fi
6830
6831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6832 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6833 no_cache=0
6834 # Check whether --enable-base64 was given.
6835 if test "${enable_base64+set}" = set; then
6836 enableval=$enable_base64;
6837 if test "$enableval" = yes; then
6838 wx_cv_use_base64='wxUSE_BASE64=yes'
6839 else
6840 wx_cv_use_base64='wxUSE_BASE64=no'
6841 fi
6842
6843 else
6844
6845 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6846 if test "x$LINE" != x ; then
6847 eval "DEFAULT_$LINE"
6848 else
6849 no_cache=1
6850 fi
6851
6852 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6853
6854 fi
6855
6856
6857 eval "$wx_cv_use_base64"
6858 if test "$no_cache" != 1; then
6859 echo $wx_cv_use_base64 >> ${wx_arg_cache_file}.tmp
6860 fi
6861
6862 if test x"$enablestring" = xdisable; then
6863 if test $wxUSE_BASE64 = yes; then
6864 result=no
6865 else
6866 result=yes
6867 fi
6868 else
6869 result=$wxUSE_BASE64
6870 fi
6871
6872 { echo "$as_me:$LINENO: result: $result" >&5
6873 echo "${ECHO_T}$result" >&6; }
6874
6875
6876 enablestring=
6877 defaultval=$wxUSE_ALL_FEATURES
6878 if test -z "$defaultval"; then
6879 if test x"$enablestring" = xdisable; then
6880 defaultval=yes
6881 else
6882 defaultval=no
6883 fi
6884 fi
6885
6886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6887 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6888 no_cache=0
6889 # Check whether --enable-backtrace was given.
6890 if test "${enable_backtrace+set}" = set; then
6891 enableval=$enable_backtrace;
6892 if test "$enableval" = yes; then
6893 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6894 else
6895 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6896 fi
6897
6898 else
6899
6900 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6903 else
6904 no_cache=1
6905 fi
6906
6907 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6908
6909 fi
6910
6911
6912 eval "$wx_cv_use_backtrace"
6913 if test "$no_cache" != 1; then
6914 echo $wx_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
6915 fi
6916
6917 if test x"$enablestring" = xdisable; then
6918 if test $wxUSE_STACKWALKER = yes; then
6919 result=no
6920 else
6921 result=yes
6922 fi
6923 else
6924 result=$wxUSE_STACKWALKER
6925 fi
6926
6927 { echo "$as_me:$LINENO: result: $result" >&5
6928 echo "${ECHO_T}$result" >&6; }
6929
6930
6931 enablestring=
6932 defaultval=$wxUSE_ALL_FEATURES
6933 if test -z "$defaultval"; then
6934 if test x"$enablestring" = xdisable; then
6935 defaultval=yes
6936 else
6937 defaultval=no
6938 fi
6939 fi
6940
6941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6943 no_cache=0
6944 # Check whether --enable-catch_segvs was given.
6945 if test "${enable_catch_segvs+set}" = set; then
6946 enableval=$enable_catch_segvs;
6947 if test "$enableval" = yes; then
6948 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6949 else
6950 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6951 fi
6952
6953 else
6954
6955 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6956 if test "x$LINE" != x ; then
6957 eval "DEFAULT_$LINE"
6958 else
6959 no_cache=1
6960 fi
6961
6962 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6963
6964 fi
6965
6966
6967 eval "$wx_cv_use_catch_segvs"
6968 if test "$no_cache" != 1; then
6969 echo $wx_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6970 fi
6971
6972 if test x"$enablestring" = xdisable; then
6973 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6974 result=no
6975 else
6976 result=yes
6977 fi
6978 else
6979 result=$wxUSE_ON_FATAL_EXCEPTION
6980 fi
6981
6982 { echo "$as_me:$LINENO: result: $result" >&5
6983 echo "${ECHO_T}$result" >&6; }
6984
6985
6986 enablestring=
6987 defaultval=$wxUSE_ALL_FEATURES
6988 if test -z "$defaultval"; then
6989 if test x"$enablestring" = xdisable; then
6990 defaultval=yes
6991 else
6992 defaultval=no
6993 fi
6994 fi
6995
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6998 no_cache=0
6999 # Check whether --enable-cmdline was given.
7000 if test "${enable_cmdline+set}" = set; then
7001 enableval=$enable_cmdline;
7002 if test "$enableval" = yes; then
7003 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7004 else
7005 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7006 fi
7007
7008 else
7009
7010 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7011 if test "x$LINE" != x ; then
7012 eval "DEFAULT_$LINE"
7013 else
7014 no_cache=1
7015 fi
7016
7017 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7018
7019 fi
7020
7021
7022 eval "$wx_cv_use_cmdline"
7023 if test "$no_cache" != 1; then
7024 echo $wx_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
7025 fi
7026
7027 if test x"$enablestring" = xdisable; then
7028 if test $wxUSE_CMDLINE_PARSER = yes; then
7029 result=no
7030 else
7031 result=yes
7032 fi
7033 else
7034 result=$wxUSE_CMDLINE_PARSER
7035 fi
7036
7037 { echo "$as_me:$LINENO: result: $result" >&5
7038 echo "${ECHO_T}$result" >&6; }
7039
7040
7041 enablestring=
7042 defaultval=$wxUSE_ALL_FEATURES
7043 if test -z "$defaultval"; then
7044 if test x"$enablestring" = xdisable; then
7045 defaultval=yes
7046 else
7047 defaultval=no
7048 fi
7049 fi
7050
7051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7052 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7053 no_cache=0
7054 # Check whether --enable-datetime was given.
7055 if test "${enable_datetime+set}" = set; then
7056 enableval=$enable_datetime;
7057 if test "$enableval" = yes; then
7058 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7059 else
7060 wx_cv_use_datetime='wxUSE_DATETIME=no'
7061 fi
7062
7063 else
7064
7065 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x ; then
7067 eval "DEFAULT_$LINE"
7068 else
7069 no_cache=1
7070 fi
7071
7072 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7073
7074 fi
7075
7076
7077 eval "$wx_cv_use_datetime"
7078 if test "$no_cache" != 1; then
7079 echo $wx_cv_use_datetime >> ${wx_arg_cache_file}.tmp
7080 fi
7081
7082 if test x"$enablestring" = xdisable; then
7083 if test $wxUSE_DATETIME = yes; then
7084 result=no
7085 else
7086 result=yes
7087 fi
7088 else
7089 result=$wxUSE_DATETIME
7090 fi
7091
7092 { echo "$as_me:$LINENO: result: $result" >&5
7093 echo "${ECHO_T}$result" >&6; }
7094
7095
7096 enablestring=
7097 defaultval=$wxUSE_ALL_FEATURES
7098 if test -z "$defaultval"; then
7099 if test x"$enablestring" = xdisable; then
7100 defaultval=yes
7101 else
7102 defaultval=no
7103 fi
7104 fi
7105
7106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7107 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7108 no_cache=0
7109 # Check whether --enable-debugreport was given.
7110 if test "${enable_debugreport+set}" = set; then
7111 enableval=$enable_debugreport;
7112 if test "$enableval" = yes; then
7113 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7114 else
7115 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7116 fi
7117
7118 else
7119
7120 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x ; then
7122 eval "DEFAULT_$LINE"
7123 else
7124 no_cache=1
7125 fi
7126
7127 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7128
7129 fi
7130
7131
7132 eval "$wx_cv_use_debugreport"
7133 if test "$no_cache" != 1; then
7134 echo $wx_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
7135 fi
7136
7137 if test x"$enablestring" = xdisable; then
7138 if test $wxUSE_DEBUGREPORT = yes; then
7139 result=no
7140 else
7141 result=yes
7142 fi
7143 else
7144 result=$wxUSE_DEBUGREPORT
7145 fi
7146
7147 { echo "$as_me:$LINENO: result: $result" >&5
7148 echo "${ECHO_T}$result" >&6; }
7149
7150
7151 enablestring=
7152 defaultval=$wxUSE_ALL_FEATURES
7153 if test -z "$defaultval"; then
7154 if test x"$enablestring" = xdisable; then
7155 defaultval=yes
7156 else
7157 defaultval=no
7158 fi
7159 fi
7160
7161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7162 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7163 no_cache=0
7164 # Check whether --enable-dialupman was given.
7165 if test "${enable_dialupman+set}" = set; then
7166 enableval=$enable_dialupman;
7167 if test "$enableval" = yes; then
7168 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7169 else
7170 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7171 fi
7172
7173 else
7174
7175 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7176 if test "x$LINE" != x ; then
7177 eval "DEFAULT_$LINE"
7178 else
7179 no_cache=1
7180 fi
7181
7182 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7183
7184 fi
7185
7186
7187 eval "$wx_cv_use_dialupman"
7188 if test "$no_cache" != 1; then
7189 echo $wx_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
7190 fi
7191
7192 if test x"$enablestring" = xdisable; then
7193 if test $wxUSE_DIALUP_MANAGER = yes; then
7194 result=no
7195 else
7196 result=yes
7197 fi
7198 else
7199 result=$wxUSE_DIALUP_MANAGER
7200 fi
7201
7202 { echo "$as_me:$LINENO: result: $result" >&5
7203 echo "${ECHO_T}$result" >&6; }
7204
7205
7206 enablestring=
7207 defaultval=$wxUSE_ALL_FEATURES
7208 if test -z "$defaultval"; then
7209 if test x"$enablestring" = xdisable; then
7210 defaultval=yes
7211 else
7212 defaultval=no
7213 fi
7214 fi
7215
7216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7217 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7218 no_cache=0
7219 # Check whether --enable-dynlib was given.
7220 if test "${enable_dynlib+set}" = set; then
7221 enableval=$enable_dynlib;
7222 if test "$enableval" = yes; then
7223 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7224 else
7225 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7226 fi
7227
7228 else
7229
7230 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x ; then
7232 eval "DEFAULT_$LINE"
7233 else
7234 no_cache=1
7235 fi
7236
7237 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7238
7239 fi
7240
7241
7242 eval "$wx_cv_use_dynlib"
7243 if test "$no_cache" != 1; then
7244 echo $wx_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
7245 fi
7246
7247 if test x"$enablestring" = xdisable; then
7248 if test $wxUSE_DYNLIB_CLASS = yes; then
7249 result=no
7250 else
7251 result=yes
7252 fi
7253 else
7254 result=$wxUSE_DYNLIB_CLASS
7255 fi
7256
7257 { echo "$as_me:$LINENO: result: $result" >&5
7258 echo "${ECHO_T}$result" >&6; }
7259
7260
7261 enablestring=
7262 defaultval=$wxUSE_ALL_FEATURES
7263 if test -z "$defaultval"; then
7264 if test x"$enablestring" = xdisable; then
7265 defaultval=yes
7266 else
7267 defaultval=no
7268 fi
7269 fi
7270
7271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7272 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7273 no_cache=0
7274 # Check whether --enable-dynamicloader was given.
7275 if test "${enable_dynamicloader+set}" = set; then
7276 enableval=$enable_dynamicloader;
7277 if test "$enableval" = yes; then
7278 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7279 else
7280 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7281 fi
7282
7283 else
7284
7285 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7286 if test "x$LINE" != x ; then
7287 eval "DEFAULT_$LINE"
7288 else
7289 no_cache=1
7290 fi
7291
7292 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7293
7294 fi
7295
7296
7297 eval "$wx_cv_use_dynamicloader"
7298 if test "$no_cache" != 1; then
7299 echo $wx_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
7300 fi
7301
7302 if test x"$enablestring" = xdisable; then
7303 if test $wxUSE_DYNAMIC_LOADER = yes; then
7304 result=no
7305 else
7306 result=yes
7307 fi
7308 else
7309 result=$wxUSE_DYNAMIC_LOADER
7310 fi
7311
7312 { echo "$as_me:$LINENO: result: $result" >&5
7313 echo "${ECHO_T}$result" >&6; }
7314
7315
7316 enablestring=
7317 defaultval=$wxUSE_ALL_FEATURES
7318 if test -z "$defaultval"; then
7319 if test x"$enablestring" = xdisable; then
7320 defaultval=yes
7321 else
7322 defaultval=no
7323 fi
7324 fi
7325
7326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7327 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7328 no_cache=0
7329 # Check whether --enable-exceptions was given.
7330 if test "${enable_exceptions+set}" = set; then
7331 enableval=$enable_exceptions;
7332 if test "$enableval" = yes; then
7333 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7334 else
7335 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7336 fi
7337
7338 else
7339
7340 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7341 if test "x$LINE" != x ; then
7342 eval "DEFAULT_$LINE"
7343 else
7344 no_cache=1
7345 fi
7346
7347 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7348
7349 fi
7350
7351
7352 eval "$wx_cv_use_exceptions"
7353 if test "$no_cache" != 1; then
7354 echo $wx_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
7355 fi
7356
7357 if test x"$enablestring" = xdisable; then
7358 if test $wxUSE_EXCEPTIONS = yes; then
7359 result=no
7360 else
7361 result=yes
7362 fi
7363 else
7364 result=$wxUSE_EXCEPTIONS
7365 fi
7366
7367 { echo "$as_me:$LINENO: result: $result" >&5
7368 echo "${ECHO_T}$result" >&6; }
7369
7370
7371 enablestring=
7372 defaultval=$wxUSE_ALL_FEATURES
7373 if test -z "$defaultval"; then
7374 if test x"$enablestring" = xdisable; then
7375 defaultval=yes
7376 else
7377 defaultval=no
7378 fi
7379 fi
7380
7381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7383 no_cache=0
7384 # Check whether --enable-ffile was given.
7385 if test "${enable_ffile+set}" = set; then
7386 enableval=$enable_ffile;
7387 if test "$enableval" = yes; then
7388 wx_cv_use_ffile='wxUSE_FFILE=yes'
7389 else
7390 wx_cv_use_ffile='wxUSE_FFILE=no'
7391 fi
7392
7393 else
7394
7395 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x ; then
7397 eval "DEFAULT_$LINE"
7398 else
7399 no_cache=1
7400 fi
7401
7402 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7403
7404 fi
7405
7406
7407 eval "$wx_cv_use_ffile"
7408 if test "$no_cache" != 1; then
7409 echo $wx_cv_use_ffile >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test x"$enablestring" = xdisable; then
7413 if test $wxUSE_FFILE = yes; then
7414 result=no
7415 else
7416 result=yes
7417 fi
7418 else
7419 result=$wxUSE_FFILE
7420 fi
7421
7422 { echo "$as_me:$LINENO: result: $result" >&5
7423 echo "${ECHO_T}$result" >&6; }
7424
7425
7426 enablestring=
7427 defaultval=$wxUSE_ALL_FEATURES
7428 if test -z "$defaultval"; then
7429 if test x"$enablestring" = xdisable; then
7430 defaultval=yes
7431 else
7432 defaultval=no
7433 fi
7434 fi
7435
7436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7437 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7438 no_cache=0
7439 # Check whether --enable-file was given.
7440 if test "${enable_file+set}" = set; then
7441 enableval=$enable_file;
7442 if test "$enableval" = yes; then
7443 wx_cv_use_file='wxUSE_FILE=yes'
7444 else
7445 wx_cv_use_file='wxUSE_FILE=no'
7446 fi
7447
7448 else
7449
7450 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7451 if test "x$LINE" != x ; then
7452 eval "DEFAULT_$LINE"
7453 else
7454 no_cache=1
7455 fi
7456
7457 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7458
7459 fi
7460
7461
7462 eval "$wx_cv_use_file"
7463 if test "$no_cache" != 1; then
7464 echo $wx_cv_use_file >> ${wx_arg_cache_file}.tmp
7465 fi
7466
7467 if test x"$enablestring" = xdisable; then
7468 if test $wxUSE_FILE = yes; then
7469 result=no
7470 else
7471 result=yes
7472 fi
7473 else
7474 result=$wxUSE_FILE
7475 fi
7476
7477 { echo "$as_me:$LINENO: result: $result" >&5
7478 echo "${ECHO_T}$result" >&6; }
7479
7480
7481 enablestring=
7482 defaultval=$wxUSE_ALL_FEATURES
7483 if test -z "$defaultval"; then
7484 if test x"$enablestring" = xdisable; then
7485 defaultval=yes
7486 else
7487 defaultval=no
7488 fi
7489 fi
7490
7491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7492 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7493 no_cache=0
7494 # Check whether --enable-filesystem was given.
7495 if test "${enable_filesystem+set}" = set; then
7496 enableval=$enable_filesystem;
7497 if test "$enableval" = yes; then
7498 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7499 else
7500 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7501 fi
7502
7503 else
7504
7505 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7506 if test "x$LINE" != x ; then
7507 eval "DEFAULT_$LINE"
7508 else
7509 no_cache=1
7510 fi
7511
7512 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7513
7514 fi
7515
7516
7517 eval "$wx_cv_use_filesystem"
7518 if test "$no_cache" != 1; then
7519 echo $wx_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
7520 fi
7521
7522 if test x"$enablestring" = xdisable; then
7523 if test $wxUSE_FILESYSTEM = yes; then
7524 result=no
7525 else
7526 result=yes
7527 fi
7528 else
7529 result=$wxUSE_FILESYSTEM
7530 fi
7531
7532 { echo "$as_me:$LINENO: result: $result" >&5
7533 echo "${ECHO_T}$result" >&6; }
7534
7535
7536 enablestring=
7537 defaultval=$wxUSE_ALL_FEATURES
7538 if test -z "$defaultval"; then
7539 if test x"$enablestring" = xdisable; then
7540 defaultval=yes
7541 else
7542 defaultval=no
7543 fi
7544 fi
7545
7546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7548 no_cache=0
7549 # Check whether --enable-fontmap was given.
7550 if test "${enable_fontmap+set}" = set; then
7551 enableval=$enable_fontmap;
7552 if test "$enableval" = yes; then
7553 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7554 else
7555 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7556 fi
7557
7558 else
7559
7560 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7568
7569 fi
7570
7571
7572 eval "$wx_cv_use_fontmap"
7573 if test "$no_cache" != 1; then
7574 echo $wx_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
7575 fi
7576
7577 if test x"$enablestring" = xdisable; then
7578 if test $wxUSE_FONTMAP = yes; then
7579 result=no
7580 else
7581 result=yes
7582 fi
7583 else
7584 result=$wxUSE_FONTMAP
7585 fi
7586
7587 { echo "$as_me:$LINENO: result: $result" >&5
7588 echo "${ECHO_T}$result" >&6; }
7589
7590
7591 enablestring=
7592 defaultval=$wxUSE_ALL_FEATURES
7593 if test -z "$defaultval"; then
7594 if test x"$enablestring" = xdisable; then
7595 defaultval=yes
7596 else
7597 defaultval=no
7598 fi
7599 fi
7600
7601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7603 no_cache=0
7604 # Check whether --enable-fs_archive was given.
7605 if test "${enable_fs_archive+set}" = set; then
7606 enableval=$enable_fs_archive;
7607 if test "$enableval" = yes; then
7608 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7609 else
7610 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7611 fi
7612
7613 else
7614
7615 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7616 if test "x$LINE" != x ; then
7617 eval "DEFAULT_$LINE"
7618 else
7619 no_cache=1
7620 fi
7621
7622 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7623
7624 fi
7625
7626
7627 eval "$wx_cv_use_fs_archive"
7628 if test "$no_cache" != 1; then
7629 echo $wx_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
7630 fi
7631
7632 if test x"$enablestring" = xdisable; then
7633 if test $wxUSE_FS_ARCHIVE = yes; then
7634 result=no
7635 else
7636 result=yes
7637 fi
7638 else
7639 result=$wxUSE_FS_ARCHIVE
7640 fi
7641
7642 { echo "$as_me:$LINENO: result: $result" >&5
7643 echo "${ECHO_T}$result" >&6; }
7644
7645
7646 enablestring=
7647 defaultval=$wxUSE_ALL_FEATURES
7648 if test -z "$defaultval"; then
7649 if test x"$enablestring" = xdisable; then
7650 defaultval=yes
7651 else
7652 defaultval=no
7653 fi
7654 fi
7655
7656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7657 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7658 no_cache=0
7659 # Check whether --enable-fs_inet was given.
7660 if test "${enable_fs_inet+set}" = set; then
7661 enableval=$enable_fs_inet;
7662 if test "$enableval" = yes; then
7663 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7664 else
7665 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7666 fi
7667
7668 else
7669
7670 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7671 if test "x$LINE" != x ; then
7672 eval "DEFAULT_$LINE"
7673 else
7674 no_cache=1
7675 fi
7676
7677 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7678
7679 fi
7680
7681
7682 eval "$wx_cv_use_fs_inet"
7683 if test "$no_cache" != 1; then
7684 echo $wx_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
7685 fi
7686
7687 if test x"$enablestring" = xdisable; then
7688 if test $wxUSE_FS_INET = yes; then
7689 result=no
7690 else
7691 result=yes
7692 fi
7693 else
7694 result=$wxUSE_FS_INET
7695 fi
7696
7697 { echo "$as_me:$LINENO: result: $result" >&5
7698 echo "${ECHO_T}$result" >&6; }
7699
7700
7701 enablestring=
7702 defaultval=$wxUSE_ALL_FEATURES
7703 if test -z "$defaultval"; then
7704 if test x"$enablestring" = xdisable; then
7705 defaultval=yes
7706 else
7707 defaultval=no
7708 fi
7709 fi
7710
7711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7712 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7713 no_cache=0
7714 # Check whether --enable-fs_zip was given.
7715 if test "${enable_fs_zip+set}" = set; then
7716 enableval=$enable_fs_zip;
7717 if test "$enableval" = yes; then
7718 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7719 else
7720 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7721 fi
7722
7723 else
7724
7725 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x ; then
7727 eval "DEFAULT_$LINE"
7728 else
7729 no_cache=1
7730 fi
7731
7732 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7733
7734 fi
7735
7736
7737 eval "$wx_cv_use_fs_zip"
7738 if test "$no_cache" != 1; then
7739 echo $wx_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
7740 fi
7741
7742 if test x"$enablestring" = xdisable; then
7743 if test $wxUSE_FS_ZIP = yes; then
7744 result=no
7745 else
7746 result=yes
7747 fi
7748 else
7749 result=$wxUSE_FS_ZIP
7750 fi
7751
7752 { echo "$as_me:$LINENO: result: $result" >&5
7753 echo "${ECHO_T}$result" >&6; }
7754
7755
7756 enablestring=
7757 defaultval=$wxUSE_ALL_FEATURES
7758 if test -z "$defaultval"; then
7759 if test x"$enablestring" = xdisable; then
7760 defaultval=yes
7761 else
7762 defaultval=no
7763 fi
7764 fi
7765
7766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7767 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7768 no_cache=0
7769 # Check whether --enable-geometry was given.
7770 if test "${enable_geometry+set}" = set; then
7771 enableval=$enable_geometry;
7772 if test "$enableval" = yes; then
7773 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7774 else
7775 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7776 fi
7777
7778 else
7779
7780 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x ; then
7782 eval "DEFAULT_$LINE"
7783 else
7784 no_cache=1
7785 fi
7786
7787 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7788
7789 fi
7790
7791
7792 eval "$wx_cv_use_geometry"
7793 if test "$no_cache" != 1; then
7794 echo $wx_cv_use_geometry >> ${wx_arg_cache_file}.tmp
7795 fi
7796
7797 if test x"$enablestring" = xdisable; then
7798 if test $wxUSE_GEOMETRY = yes; then
7799 result=no
7800 else
7801 result=yes
7802 fi
7803 else
7804 result=$wxUSE_GEOMETRY
7805 fi
7806
7807 { echo "$as_me:$LINENO: result: $result" >&5
7808 echo "${ECHO_T}$result" >&6; }
7809
7810
7811 enablestring=
7812 defaultval=$wxUSE_ALL_FEATURES
7813 if test -z "$defaultval"; then
7814 if test x"$enablestring" = xdisable; then
7815 defaultval=yes
7816 else
7817 defaultval=no
7818 fi
7819 fi
7820
7821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7823 no_cache=0
7824 # Check whether --enable-log was given.
7825 if test "${enable_log+set}" = set; then
7826 enableval=$enable_log;
7827 if test "$enableval" = yes; then
7828 wx_cv_use_log='wxUSE_LOG=yes'
7829 else
7830 wx_cv_use_log='wxUSE_LOG=no'
7831 fi
7832
7833 else
7834
7835 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7836 if test "x$LINE" != x ; then
7837 eval "DEFAULT_$LINE"
7838 else
7839 no_cache=1
7840 fi
7841
7842 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7843
7844 fi
7845
7846
7847 eval "$wx_cv_use_log"
7848 if test "$no_cache" != 1; then
7849 echo $wx_cv_use_log >> ${wx_arg_cache_file}.tmp
7850 fi
7851
7852 if test x"$enablestring" = xdisable; then
7853 if test $wxUSE_LOG = yes; then
7854 result=no
7855 else
7856 result=yes
7857 fi
7858 else
7859 result=$wxUSE_LOG
7860 fi
7861
7862 { echo "$as_me:$LINENO: result: $result" >&5
7863 echo "${ECHO_T}$result" >&6; }
7864
7865
7866 enablestring=
7867 defaultval=$wxUSE_ALL_FEATURES
7868 if test -z "$defaultval"; then
7869 if test x"$enablestring" = xdisable; then
7870 defaultval=yes
7871 else
7872 defaultval=no
7873 fi
7874 fi
7875
7876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7878 no_cache=0
7879 # Check whether --enable-longlong was given.
7880 if test "${enable_longlong+set}" = set; then
7881 enableval=$enable_longlong;
7882 if test "$enableval" = yes; then
7883 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7884 else
7885 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7886 fi
7887
7888 else
7889
7890 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7891 if test "x$LINE" != x ; then
7892 eval "DEFAULT_$LINE"
7893 else
7894 no_cache=1
7895 fi
7896
7897 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7898
7899 fi
7900
7901
7902 eval "$wx_cv_use_longlong"
7903 if test "$no_cache" != 1; then
7904 echo $wx_cv_use_longlong >> ${wx_arg_cache_file}.tmp
7905 fi
7906
7907 if test x"$enablestring" = xdisable; then
7908 if test $wxUSE_LONGLONG = yes; then
7909 result=no
7910 else
7911 result=yes
7912 fi
7913 else
7914 result=$wxUSE_LONGLONG
7915 fi
7916
7917 { echo "$as_me:$LINENO: result: $result" >&5
7918 echo "${ECHO_T}$result" >&6; }
7919
7920
7921 enablestring=
7922 defaultval=$wxUSE_ALL_FEATURES
7923 if test -z "$defaultval"; then
7924 if test x"$enablestring" = xdisable; then
7925 defaultval=yes
7926 else
7927 defaultval=no
7928 fi
7929 fi
7930
7931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7933 no_cache=0
7934 # Check whether --enable-mimetype was given.
7935 if test "${enable_mimetype+set}" = set; then
7936 enableval=$enable_mimetype;
7937 if test "$enableval" = yes; then
7938 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7939 else
7940 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7941 fi
7942
7943 else
7944
7945 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x ; then
7947 eval "DEFAULT_$LINE"
7948 else
7949 no_cache=1
7950 fi
7951
7952 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7953
7954 fi
7955
7956
7957 eval "$wx_cv_use_mimetype"
7958 if test "$no_cache" != 1; then
7959 echo $wx_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
7960 fi
7961
7962 if test x"$enablestring" = xdisable; then
7963 if test $wxUSE_MIMETYPE = yes; then
7964 result=no
7965 else
7966 result=yes
7967 fi
7968 else
7969 result=$wxUSE_MIMETYPE
7970 fi
7971
7972 { echo "$as_me:$LINENO: result: $result" >&5
7973 echo "${ECHO_T}$result" >&6; }
7974
7975
7976 enablestring=
7977 defaultval=$wxUSE_ALL_FEATURES
7978 if test -z "$defaultval"; then
7979 if test x"$enablestring" = xdisable; then
7980 defaultval=yes
7981 else
7982 defaultval=no
7983 fi
7984 fi
7985
7986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7987 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7988 no_cache=0
7989 # Check whether --enable-snglinst was given.
7990 if test "${enable_snglinst+set}" = set; then
7991 enableval=$enable_snglinst;
7992 if test "$enableval" = yes; then
7993 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7994 else
7995 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7996 fi
7997
7998 else
7999
8000 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8001 if test "x$LINE" != x ; then
8002 eval "DEFAULT_$LINE"
8003 else
8004 no_cache=1
8005 fi
8006
8007 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8008
8009 fi
8010
8011
8012 eval "$wx_cv_use_snglinst"
8013 if test "$no_cache" != 1; then
8014 echo $wx_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
8015 fi
8016
8017 if test x"$enablestring" = xdisable; then
8018 if test $wxUSE_SNGLINST_CHECKER = yes; then
8019 result=no
8020 else
8021 result=yes
8022 fi
8023 else
8024 result=$wxUSE_SNGLINST_CHECKER
8025 fi
8026
8027 { echo "$as_me:$LINENO: result: $result" >&5
8028 echo "${ECHO_T}$result" >&6; }
8029
8030
8031 enablestring=
8032 defaultval=$wxUSE_ALL_FEATURES
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8035 defaultval=yes
8036 else
8037 defaultval=no
8038 fi
8039 fi
8040
8041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8043 no_cache=0
8044 # Check whether --enable-stdpaths was given.
8045 if test "${enable_stdpaths+set}" = set; then
8046 enableval=$enable_stdpaths;
8047 if test "$enableval" = yes; then
8048 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8049 else
8050 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8051 fi
8052
8053 else
8054
8055 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x ; then
8057 eval "DEFAULT_$LINE"
8058 else
8059 no_cache=1
8060 fi
8061
8062 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8063
8064 fi
8065
8066
8067 eval "$wx_cv_use_stdpaths"
8068 if test "$no_cache" != 1; then
8069 echo $wx_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
8070 fi
8071
8072 if test x"$enablestring" = xdisable; then
8073 if test $wxUSE_STDPATHS = yes; then
8074 result=no
8075 else
8076 result=yes
8077 fi
8078 else
8079 result=$wxUSE_STDPATHS
8080 fi
8081
8082 { echo "$as_me:$LINENO: result: $result" >&5
8083 echo "${ECHO_T}$result" >&6; }
8084
8085
8086 enablestring=
8087 defaultval=$wxUSE_ALL_FEATURES
8088 if test -z "$defaultval"; then
8089 if test x"$enablestring" = xdisable; then
8090 defaultval=yes
8091 else
8092 defaultval=no
8093 fi
8094 fi
8095
8096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8097 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8098 no_cache=0
8099 # Check whether --enable-stopwatch was given.
8100 if test "${enable_stopwatch+set}" = set; then
8101 enableval=$enable_stopwatch;
8102 if test "$enableval" = yes; then
8103 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8104 else
8105 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8106 fi
8107
8108 else
8109
8110 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8111 if test "x$LINE" != x ; then
8112 eval "DEFAULT_$LINE"
8113 else
8114 no_cache=1
8115 fi
8116
8117 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8118
8119 fi
8120
8121
8122 eval "$wx_cv_use_stopwatch"
8123 if test "$no_cache" != 1; then
8124 echo $wx_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
8125 fi
8126
8127 if test x"$enablestring" = xdisable; then
8128 if test $wxUSE_STOPWATCH = yes; then
8129 result=no
8130 else
8131 result=yes
8132 fi
8133 else
8134 result=$wxUSE_STOPWATCH
8135 fi
8136
8137 { echo "$as_me:$LINENO: result: $result" >&5
8138 echo "${ECHO_T}$result" >&6; }
8139
8140
8141 enablestring=
8142 defaultval=$wxUSE_ALL_FEATURES
8143 if test -z "$defaultval"; then
8144 if test x"$enablestring" = xdisable; then
8145 defaultval=yes
8146 else
8147 defaultval=no
8148 fi
8149 fi
8150
8151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8153 no_cache=0
8154 # Check whether --enable-streams was given.
8155 if test "${enable_streams+set}" = set; then
8156 enableval=$enable_streams;
8157 if test "$enableval" = yes; then
8158 wx_cv_use_streams='wxUSE_STREAMS=yes'
8159 else
8160 wx_cv_use_streams='wxUSE_STREAMS=no'
8161 fi
8162
8163 else
8164
8165 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x ; then
8167 eval "DEFAULT_$LINE"
8168 else
8169 no_cache=1
8170 fi
8171
8172 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8173
8174 fi
8175
8176
8177 eval "$wx_cv_use_streams"
8178 if test "$no_cache" != 1; then
8179 echo $wx_cv_use_streams >> ${wx_arg_cache_file}.tmp
8180 fi
8181
8182 if test x"$enablestring" = xdisable; then
8183 if test $wxUSE_STREAMS = yes; then
8184 result=no
8185 else
8186 result=yes
8187 fi
8188 else
8189 result=$wxUSE_STREAMS
8190 fi
8191
8192 { echo "$as_me:$LINENO: result: $result" >&5
8193 echo "${ECHO_T}$result" >&6; }
8194
8195
8196 enablestring=
8197 defaultval=$wxUSE_ALL_FEATURES
8198 if test -z "$defaultval"; then
8199 if test x"$enablestring" = xdisable; then
8200 defaultval=yes
8201 else
8202 defaultval=no
8203 fi
8204 fi
8205
8206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8208 no_cache=0
8209 # Check whether --enable-system_options was given.
8210 if test "${enable_system_options+set}" = set; then
8211 enableval=$enable_system_options;
8212 if test "$enableval" = yes; then
8213 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8214 else
8215 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8216 fi
8217
8218 else
8219
8220 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x ; then
8222 eval "DEFAULT_$LINE"
8223 else
8224 no_cache=1
8225 fi
8226
8227 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8228
8229 fi
8230
8231
8232 eval "$wx_cv_use_system_options"
8233 if test "$no_cache" != 1; then
8234 echo $wx_cv_use_system_options >> ${wx_arg_cache_file}.tmp
8235 fi
8236
8237 if test x"$enablestring" = xdisable; then
8238 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8239 result=no
8240 else
8241 result=yes
8242 fi
8243 else
8244 result=$wxUSE_SYSTEM_OPTIONS
8245 fi
8246
8247 { echo "$as_me:$LINENO: result: $result" >&5
8248 echo "${ECHO_T}$result" >&6; }
8249
8250
8251 enablestring=
8252 defaultval=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x"$enablestring" = xdisable; then
8255 defaultval=yes
8256 else
8257 defaultval=no
8258 fi
8259 fi
8260
8261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8263 no_cache=0
8264 # Check whether --enable-tarstream was given.
8265 if test "${enable_tarstream+set}" = set; then
8266 enableval=$enable_tarstream;
8267 if test "$enableval" = yes; then
8268 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8269 else
8270 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8271 fi
8272
8273 else
8274
8275 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8276 if test "x$LINE" != x ; then
8277 eval "DEFAULT_$LINE"
8278 else
8279 no_cache=1
8280 fi
8281
8282 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8283
8284 fi
8285
8286
8287 eval "$wx_cv_use_tarstream"
8288 if test "$no_cache" != 1; then
8289 echo $wx_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
8290 fi
8291
8292 if test x"$enablestring" = xdisable; then
8293 if test $wxUSE_TARSTREAM = yes; then
8294 result=no
8295 else
8296 result=yes
8297 fi
8298 else
8299 result=$wxUSE_TARSTREAM
8300 fi
8301
8302 { echo "$as_me:$LINENO: result: $result" >&5
8303 echo "${ECHO_T}$result" >&6; }
8304
8305
8306 enablestring=
8307 defaultval=$wxUSE_ALL_FEATURES
8308 if test -z "$defaultval"; then
8309 if test x"$enablestring" = xdisable; then
8310 defaultval=yes
8311 else
8312 defaultval=no
8313 fi
8314 fi
8315
8316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8318 no_cache=0
8319 # Check whether --enable-textbuf was given.
8320 if test "${enable_textbuf+set}" = set; then
8321 enableval=$enable_textbuf;
8322 if test "$enableval" = yes; then
8323 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8324 else
8325 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8326 fi
8327
8328 else
8329
8330 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x ; then
8332 eval "DEFAULT_$LINE"
8333 else
8334 no_cache=1
8335 fi
8336
8337 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8338
8339 fi
8340
8341
8342 eval "$wx_cv_use_textbuf"
8343 if test "$no_cache" != 1; then
8344 echo $wx_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
8345 fi
8346
8347 if test x"$enablestring" = xdisable; then
8348 if test $wxUSE_TEXTBUFFER = yes; then
8349 result=no
8350 else
8351 result=yes
8352 fi
8353 else
8354 result=$wxUSE_TEXTBUFFER
8355 fi
8356
8357 { echo "$as_me:$LINENO: result: $result" >&5
8358 echo "${ECHO_T}$result" >&6; }
8359
8360
8361 enablestring=
8362 defaultval=$wxUSE_ALL_FEATURES
8363 if test -z "$defaultval"; then
8364 if test x"$enablestring" = xdisable; then
8365 defaultval=yes
8366 else
8367 defaultval=no
8368 fi
8369 fi
8370
8371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8372 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8373 no_cache=0
8374 # Check whether --enable-textfile was given.
8375 if test "${enable_textfile+set}" = set; then
8376 enableval=$enable_textfile;
8377 if test "$enableval" = yes; then
8378 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8379 else
8380 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8381 fi
8382
8383 else
8384
8385 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8386 if test "x$LINE" != x ; then
8387 eval "DEFAULT_$LINE"
8388 else
8389 no_cache=1
8390 fi
8391
8392 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8393
8394 fi
8395
8396
8397 eval "$wx_cv_use_textfile"
8398 if test "$no_cache" != 1; then
8399 echo $wx_cv_use_textfile >> ${wx_arg_cache_file}.tmp
8400 fi
8401
8402 if test x"$enablestring" = xdisable; then
8403 if test $wxUSE_TEXTFILE = yes; then
8404 result=no
8405 else
8406 result=yes
8407 fi
8408 else
8409 result=$wxUSE_TEXTFILE
8410 fi
8411
8412 { echo "$as_me:$LINENO: result: $result" >&5
8413 echo "${ECHO_T}$result" >&6; }
8414
8415
8416 enablestring=
8417 defaultval=$wxUSE_ALL_FEATURES
8418 if test -z "$defaultval"; then
8419 if test x"$enablestring" = xdisable; then
8420 defaultval=yes
8421 else
8422 defaultval=no
8423 fi
8424 fi
8425
8426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8427 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8428 no_cache=0
8429 # Check whether --enable-timer was given.
8430 if test "${enable_timer+set}" = set; then
8431 enableval=$enable_timer;
8432 if test "$enableval" = yes; then
8433 wx_cv_use_timer='wxUSE_TIMER=yes'
8434 else
8435 wx_cv_use_timer='wxUSE_TIMER=no'
8436 fi
8437
8438 else
8439
8440 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8441 if test "x$LINE" != x ; then
8442 eval "DEFAULT_$LINE"
8443 else
8444 no_cache=1
8445 fi
8446
8447 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8448
8449 fi
8450
8451
8452 eval "$wx_cv_use_timer"
8453 if test "$no_cache" != 1; then
8454 echo $wx_cv_use_timer >> ${wx_arg_cache_file}.tmp
8455 fi
8456
8457 if test x"$enablestring" = xdisable; then
8458 if test $wxUSE_TIMER = yes; then
8459 result=no
8460 else
8461 result=yes
8462 fi
8463 else
8464 result=$wxUSE_TIMER
8465 fi
8466
8467 { echo "$as_me:$LINENO: result: $result" >&5
8468 echo "${ECHO_T}$result" >&6; }
8469
8470
8471 enablestring=
8472 defaultval=$wxUSE_ALL_FEATURES
8473 if test -z "$defaultval"; then
8474 if test x"$enablestring" = xdisable; then
8475 defaultval=yes
8476 else
8477 defaultval=no
8478 fi
8479 fi
8480
8481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8483 no_cache=0
8484 # Check whether --enable-sound was given.
8485 if test "${enable_sound+set}" = set; then
8486 enableval=$enable_sound;
8487 if test "$enableval" = yes; then
8488 wx_cv_use_sound='wxUSE_SOUND=yes'
8489 else
8490 wx_cv_use_sound='wxUSE_SOUND=no'
8491 fi
8492
8493 else
8494
8495 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8496 if test "x$LINE" != x ; then
8497 eval "DEFAULT_$LINE"
8498 else
8499 no_cache=1
8500 fi
8501
8502 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8503
8504 fi
8505
8506
8507 eval "$wx_cv_use_sound"
8508 if test "$no_cache" != 1; then
8509 echo $wx_cv_use_sound >> ${wx_arg_cache_file}.tmp
8510 fi
8511
8512 if test x"$enablestring" = xdisable; then
8513 if test $wxUSE_SOUND = yes; then
8514 result=no
8515 else
8516 result=yes
8517 fi
8518 else
8519 result=$wxUSE_SOUND
8520 fi
8521
8522 { echo "$as_me:$LINENO: result: $result" >&5
8523 echo "${ECHO_T}$result" >&6; }
8524
8525
8526 enablestring=
8527 defaultval=$wxUSE_ALL_FEATURES
8528 if test -z "$defaultval"; then
8529 if test x"$enablestring" = xdisable; then
8530 defaultval=yes
8531 else
8532 defaultval=no
8533 fi
8534 fi
8535
8536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8537 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8538 no_cache=0
8539 # Check whether --enable-mediactrl was given.
8540 if test "${enable_mediactrl+set}" = set; then
8541 enableval=$enable_mediactrl;
8542 if test "$enableval" = yes; then
8543 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8544 else
8545 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8546 fi
8547
8548 else
8549
8550 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8551 if test "x$LINE" != x ; then
8552 eval "DEFAULT_$LINE"
8553 else
8554 no_cache=1
8555 fi
8556
8557 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8558
8559 fi
8560
8561
8562 eval "$wx_cv_use_mediactrl"
8563 if test "$no_cache" != 1; then
8564 echo $wx_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
8565 fi
8566
8567 if test x"$enablestring" = xdisable; then
8568 if test $wxUSE_MEDIACTRL = yes; then
8569 result=no
8570 else
8571 result=yes
8572 fi
8573 else
8574 result=$wxUSE_MEDIACTRL
8575 fi
8576
8577 { echo "$as_me:$LINENO: result: $result" >&5
8578 echo "${ECHO_T}$result" >&6; }
8579
8580
8581 enablestring=
8582 defaultval=$wxUSE_ALL_FEATURES
8583 if test -z "$defaultval"; then
8584 if test x"$enablestring" = xdisable; then
8585 defaultval=yes
8586 else
8587 defaultval=no
8588 fi
8589 fi
8590
8591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8593 no_cache=0
8594 # Check whether --enable-gstreamer8 was given.
8595 if test "${enable_gstreamer8+set}" = set; then
8596 enableval=$enable_gstreamer8;
8597 if test "$enableval" = yes; then
8598 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8599 else
8600 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8601 fi
8602
8603 else
8604
8605 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8606 if test "x$LINE" != x ; then
8607 eval "DEFAULT_$LINE"
8608 else
8609 no_cache=1
8610 fi
8611
8612 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8613
8614 fi
8615
8616
8617 eval "$wx_cv_use_gstreamer8"
8618 if test "$no_cache" != 1; then
8619 echo $wx_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
8620 fi
8621
8622 if test x"$enablestring" = xdisable; then
8623 if test $wxUSE_GSTREAMER8 = yes; then
8624 result=no
8625 else
8626 result=yes
8627 fi
8628 else
8629 result=$wxUSE_GSTREAMER8
8630 fi
8631
8632 { echo "$as_me:$LINENO: result: $result" >&5
8633 echo "${ECHO_T}$result" >&6; }
8634
8635
8636 enablestring=
8637 defaultval=$wxUSE_ALL_FEATURES
8638 if test -z "$defaultval"; then
8639 if test x"$enablestring" = xdisable; then
8640 defaultval=yes
8641 else
8642 defaultval=no
8643 fi
8644 fi
8645
8646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8648 no_cache=0
8649 # Check whether --enable-printfposparam was given.
8650 if test "${enable_printfposparam+set}" = set; then
8651 enableval=$enable_printfposparam;
8652 if test "$enableval" = yes; then
8653 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8654 else
8655 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8656 fi
8657
8658 else
8659
8660 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 else
8664 no_cache=1
8665 fi
8666
8667 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8668
8669 fi
8670
8671
8672 eval "$wx_cv_use_printfposparam"
8673 if test "$no_cache" != 1; then
8674 echo $wx_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
8675 fi
8676
8677 if test x"$enablestring" = xdisable; then
8678 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8679 result=no
8680 else
8681 result=yes
8682 fi
8683 else
8684 result=$wxUSE_PRINTF_POS_PARAMS
8685 fi
8686
8687 { echo "$as_me:$LINENO: result: $result" >&5
8688 echo "${ECHO_T}$result" >&6; }
8689
8690
8691 enablestring=
8692 defaultval=$wxUSE_ALL_FEATURES
8693 if test -z "$defaultval"; then
8694 if test x"$enablestring" = xdisable; then
8695 defaultval=yes
8696 else
8697 defaultval=no
8698 fi
8699 fi
8700
8701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8702 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8703 no_cache=0
8704 # Check whether --enable-zipstream was given.
8705 if test "${enable_zipstream+set}" = set; then
8706 enableval=$enable_zipstream;
8707 if test "$enableval" = yes; then
8708 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8709 else
8710 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8711 fi
8712
8713 else
8714
8715 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8716 if test "x$LINE" != x ; then
8717 eval "DEFAULT_$LINE"
8718 else
8719 no_cache=1
8720 fi
8721
8722 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8723
8724 fi
8725
8726
8727 eval "$wx_cv_use_zipstream"
8728 if test "$no_cache" != 1; then
8729 echo $wx_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
8730 fi
8731
8732 if test x"$enablestring" = xdisable; then
8733 if test $wxUSE_ZIPSTREAM = yes; then
8734 result=no
8735 else
8736 result=yes
8737 fi
8738 else
8739 result=$wxUSE_ZIPSTREAM
8740 fi
8741
8742 { echo "$as_me:$LINENO: result: $result" >&5
8743 echo "${ECHO_T}$result" >&6; }
8744
8745
8746
8747 enablestring=
8748 defaultval=$wxUSE_ALL_FEATURES
8749 if test -z "$defaultval"; then
8750 if test x"$enablestring" = xdisable; then
8751 defaultval=yes
8752 else
8753 defaultval=no
8754 fi
8755 fi
8756
8757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8759 no_cache=0
8760 # Check whether --enable-url was given.
8761 if test "${enable_url+set}" = set; then
8762 enableval=$enable_url;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_url='wxUSE_URL=yes'
8765 else
8766 wx_cv_use_url='wxUSE_URL=no'
8767 fi
8768
8769 else
8770
8771 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8772 if test "x$LINE" != x ; then
8773 eval "DEFAULT_$LINE"
8774 else
8775 no_cache=1
8776 fi
8777
8778 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8779
8780 fi
8781
8782
8783 eval "$wx_cv_use_url"
8784 if test "$no_cache" != 1; then
8785 echo $wx_cv_use_url >> ${wx_arg_cache_file}.tmp
8786 fi
8787
8788 if test x"$enablestring" = xdisable; then
8789 if test $wxUSE_URL = yes; then
8790 result=no
8791 else
8792 result=yes
8793 fi
8794 else
8795 result=$wxUSE_URL
8796 fi
8797
8798 { echo "$as_me:$LINENO: result: $result" >&5
8799 echo "${ECHO_T}$result" >&6; }
8800
8801
8802 enablestring=
8803 defaultval=$wxUSE_ALL_FEATURES
8804 if test -z "$defaultval"; then
8805 if test x"$enablestring" = xdisable; then
8806 defaultval=yes
8807 else
8808 defaultval=no
8809 fi
8810 fi
8811
8812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8814 no_cache=0
8815 # Check whether --enable-variant was given.
8816 if test "${enable_variant+set}" = set; then
8817 enableval=$enable_variant;
8818 if test "$enableval" = yes; then
8819 wx_cv_use_variant='wxUSE_VARIANT=yes'
8820 else
8821 wx_cv_use_variant='wxUSE_VARIANT=no'
8822 fi
8823
8824 else
8825
8826 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8827 if test "x$LINE" != x ; then
8828 eval "DEFAULT_$LINE"
8829 else
8830 no_cache=1
8831 fi
8832
8833 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8834
8835 fi
8836
8837
8838 eval "$wx_cv_use_variant"
8839 if test "$no_cache" != 1; then
8840 echo $wx_cv_use_variant >> ${wx_arg_cache_file}.tmp
8841 fi
8842
8843 if test x"$enablestring" = xdisable; then
8844 if test $wxUSE_VARIANT = yes; then
8845 result=no
8846 else
8847 result=yes
8848 fi
8849 else
8850 result=$wxUSE_VARIANT
8851 fi
8852
8853 { echo "$as_me:$LINENO: result: $result" >&5
8854 echo "${ECHO_T}$result" >&6; }
8855
8856
8857 enablestring=
8858 defaultval=$wxUSE_ALL_FEATURES
8859 if test -z "$defaultval"; then
8860 if test x"$enablestring" = xdisable; then
8861 defaultval=yes
8862 else
8863 defaultval=no
8864 fi
8865 fi
8866
8867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8869 no_cache=0
8870 # Check whether --enable-protocol was given.
8871 if test "${enable_protocol+set}" = set; then
8872 enableval=$enable_protocol;
8873 if test "$enableval" = yes; then
8874 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8875 else
8876 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8877 fi
8878
8879 else
8880
8881 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8882 if test "x$LINE" != x ; then
8883 eval "DEFAULT_$LINE"
8884 else
8885 no_cache=1
8886 fi
8887
8888 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8889
8890 fi
8891
8892
8893 eval "$wx_cv_use_protocol"
8894 if test "$no_cache" != 1; then
8895 echo $wx_cv_use_protocol >> ${wx_arg_cache_file}.tmp
8896 fi
8897
8898 if test x"$enablestring" = xdisable; then
8899 if test $wxUSE_PROTOCOL = yes; then
8900 result=no
8901 else
8902 result=yes
8903 fi
8904 else
8905 result=$wxUSE_PROTOCOL
8906 fi
8907
8908 { echo "$as_me:$LINENO: result: $result" >&5
8909 echo "${ECHO_T}$result" >&6; }
8910
8911
8912 enablestring=
8913 defaultval=$wxUSE_ALL_FEATURES
8914 if test -z "$defaultval"; then
8915 if test x"$enablestring" = xdisable; then
8916 defaultval=yes
8917 else
8918 defaultval=no
8919 fi
8920 fi
8921
8922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8924 no_cache=0
8925 # Check whether --enable-protocol_http was given.
8926 if test "${enable_protocol_http+set}" = set; then
8927 enableval=$enable_protocol_http;
8928 if test "$enableval" = yes; then
8929 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8930 else
8931 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8932 fi
8933
8934 else
8935
8936 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8937 if test "x$LINE" != x ; then
8938 eval "DEFAULT_$LINE"
8939 else
8940 no_cache=1
8941 fi
8942
8943 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8944
8945 fi
8946
8947
8948 eval "$wx_cv_use_protocol_http"
8949 if test "$no_cache" != 1; then
8950 echo $wx_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
8951 fi
8952
8953 if test x"$enablestring" = xdisable; then
8954 if test $wxUSE_PROTOCOL_HTTP = yes; then
8955 result=no
8956 else
8957 result=yes
8958 fi
8959 else
8960 result=$wxUSE_PROTOCOL_HTTP
8961 fi
8962
8963 { echo "$as_me:$LINENO: result: $result" >&5
8964 echo "${ECHO_T}$result" >&6; }
8965
8966
8967 enablestring=
8968 defaultval=$wxUSE_ALL_FEATURES
8969 if test -z "$defaultval"; then
8970 if test x"$enablestring" = xdisable; then
8971 defaultval=yes
8972 else
8973 defaultval=no
8974 fi
8975 fi
8976
8977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8978 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8979 no_cache=0
8980 # Check whether --enable-protocol_ftp was given.
8981 if test "${enable_protocol_ftp+set}" = set; then
8982 enableval=$enable_protocol_ftp;
8983 if test "$enableval" = yes; then
8984 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8985 else
8986 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8987 fi
8988
8989 else
8990
8991 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x ; then
8993 eval "DEFAULT_$LINE"
8994 else
8995 no_cache=1
8996 fi
8997
8998 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8999
9000 fi
9001
9002
9003 eval "$wx_cv_use_protocol_ftp"
9004 if test "$no_cache" != 1; then
9005 echo $wx_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
9006 fi
9007
9008 if test x"$enablestring" = xdisable; then
9009 if test $wxUSE_PROTOCOL_FTP = yes; then
9010 result=no
9011 else
9012 result=yes
9013 fi
9014 else
9015 result=$wxUSE_PROTOCOL_FTP
9016 fi
9017
9018 { echo "$as_me:$LINENO: result: $result" >&5
9019 echo "${ECHO_T}$result" >&6; }
9020
9021
9022 enablestring=
9023 defaultval=$wxUSE_ALL_FEATURES
9024 if test -z "$defaultval"; then
9025 if test x"$enablestring" = xdisable; then
9026 defaultval=yes
9027 else
9028 defaultval=no
9029 fi
9030 fi
9031
9032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9033 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9034 no_cache=0
9035 # Check whether --enable-protocol_file was given.
9036 if test "${enable_protocol_file+set}" = set; then
9037 enableval=$enable_protocol_file;
9038 if test "$enableval" = yes; then
9039 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9040 else
9041 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9042 fi
9043
9044 else
9045
9046 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x ; then
9048 eval "DEFAULT_$LINE"
9049 else
9050 no_cache=1
9051 fi
9052
9053 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9054
9055 fi
9056
9057
9058 eval "$wx_cv_use_protocol_file"
9059 if test "$no_cache" != 1; then
9060 echo $wx_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
9061 fi
9062
9063 if test x"$enablestring" = xdisable; then
9064 if test $wxUSE_PROTOCOL_FILE = yes; then
9065 result=no
9066 else
9067 result=yes
9068 fi
9069 else
9070 result=$wxUSE_PROTOCOL_FILE
9071 fi
9072
9073 { echo "$as_me:$LINENO: result: $result" >&5
9074 echo "${ECHO_T}$result" >&6; }
9075
9076
9077
9078 enablestring=
9079 defaultval=$wxUSE_ALL_FEATURES
9080 if test -z "$defaultval"; then
9081 if test x"$enablestring" = xdisable; then
9082 defaultval=yes
9083 else
9084 defaultval=no
9085 fi
9086 fi
9087
9088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9090 no_cache=0
9091 # Check whether --enable-threads was given.
9092 if test "${enable_threads+set}" = set; then
9093 enableval=$enable_threads;
9094 if test "$enableval" = yes; then
9095 wx_cv_use_threads='wxUSE_THREADS=yes'
9096 else
9097 wx_cv_use_threads='wxUSE_THREADS=no'
9098 fi
9099
9100 else
9101
9102 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9105 else
9106 no_cache=1
9107 fi
9108
9109 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9110
9111 fi
9112
9113
9114 eval "$wx_cv_use_threads"
9115 if test "$no_cache" != 1; then
9116 echo $wx_cv_use_threads >> ${wx_arg_cache_file}.tmp
9117 fi
9118
9119 if test x"$enablestring" = xdisable; then
9120 if test $wxUSE_THREADS = yes; then
9121 result=no
9122 else
9123 result=yes
9124 fi
9125 else
9126 result=$wxUSE_THREADS
9127 fi
9128
9129 { echo "$as_me:$LINENO: result: $result" >&5
9130 echo "${ECHO_T}$result" >&6; }
9131
9132
9133 if test "$wxUSE_GUI" = "yes"; then
9134
9135
9136
9137 enablestring=
9138 defaultval=$wxUSE_ALL_FEATURES
9139 if test -z "$defaultval"; then
9140 if test x"$enablestring" = xdisable; then
9141 defaultval=yes
9142 else
9143 defaultval=no
9144 fi
9145 fi
9146
9147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9149 no_cache=0
9150 # Check whether --enable-docview was given.
9151 if test "${enable_docview+set}" = set; then
9152 enableval=$enable_docview;
9153 if test "$enableval" = yes; then
9154 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9155 else
9156 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9157 fi
9158
9159 else
9160
9161 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9162 if test "x$LINE" != x ; then
9163 eval "DEFAULT_$LINE"
9164 else
9165 no_cache=1
9166 fi
9167
9168 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9169
9170 fi
9171
9172
9173 eval "$wx_cv_use_docview"
9174 if test "$no_cache" != 1; then
9175 echo $wx_cv_use_docview >> ${wx_arg_cache_file}.tmp
9176 fi
9177
9178 if test x"$enablestring" = xdisable; then
9179 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9180 result=no
9181 else
9182 result=yes
9183 fi
9184 else
9185 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9186 fi
9187
9188 { echo "$as_me:$LINENO: result: $result" >&5
9189 echo "${ECHO_T}$result" >&6; }
9190
9191
9192 enablestring=
9193 defaultval=$wxUSE_ALL_FEATURES
9194 if test -z "$defaultval"; then
9195 if test x"$enablestring" = xdisable; then
9196 defaultval=yes
9197 else
9198 defaultval=no
9199 fi
9200 fi
9201
9202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9204 no_cache=0
9205 # Check whether --enable-help was given.
9206 if test "${enable_help+set}" = set; then
9207 enableval=$enable_help;
9208 if test "$enableval" = yes; then
9209 wx_cv_use_help='wxUSE_HELP=yes'
9210 else
9211 wx_cv_use_help='wxUSE_HELP=no'
9212 fi
9213
9214 else
9215
9216 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9217 if test "x$LINE" != x ; then
9218 eval "DEFAULT_$LINE"
9219 else
9220 no_cache=1
9221 fi
9222
9223 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9224
9225 fi
9226
9227
9228 eval "$wx_cv_use_help"
9229 if test "$no_cache" != 1; then
9230 echo $wx_cv_use_help >> ${wx_arg_cache_file}.tmp
9231 fi
9232
9233 if test x"$enablestring" = xdisable; then
9234 if test $wxUSE_HELP = yes; then
9235 result=no
9236 else
9237 result=yes
9238 fi
9239 else
9240 result=$wxUSE_HELP
9241 fi
9242
9243 { echo "$as_me:$LINENO: result: $result" >&5
9244 echo "${ECHO_T}$result" >&6; }
9245
9246
9247 enablestring=
9248 defaultval=$wxUSE_ALL_FEATURES
9249 if test -z "$defaultval"; then
9250 if test x"$enablestring" = xdisable; then
9251 defaultval=yes
9252 else
9253 defaultval=no
9254 fi
9255 fi
9256
9257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9258 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9259 no_cache=0
9260 # Check whether --enable-mshtmlhelp was given.
9261 if test "${enable_mshtmlhelp+set}" = set; then
9262 enableval=$enable_mshtmlhelp;
9263 if test "$enableval" = yes; then
9264 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9265 else
9266 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9267 fi
9268
9269 else
9270
9271 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9272 if test "x$LINE" != x ; then
9273 eval "DEFAULT_$LINE"
9274 else
9275 no_cache=1
9276 fi
9277
9278 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9279
9280 fi
9281
9282
9283 eval "$wx_cv_use_mshtmlhelp"
9284 if test "$no_cache" != 1; then
9285 echo $wx_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
9286 fi
9287
9288 if test x"$enablestring" = xdisable; then
9289 if test $wxUSE_MS_HTML_HELP = yes; then
9290 result=no
9291 else
9292 result=yes
9293 fi
9294 else
9295 result=$wxUSE_MS_HTML_HELP
9296 fi
9297
9298 { echo "$as_me:$LINENO: result: $result" >&5
9299 echo "${ECHO_T}$result" >&6; }
9300
9301
9302 enablestring=
9303 defaultval=$wxUSE_ALL_FEATURES
9304 if test -z "$defaultval"; then
9305 if test x"$enablestring" = xdisable; then
9306 defaultval=yes
9307 else
9308 defaultval=no
9309 fi
9310 fi
9311
9312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9314 no_cache=0
9315 # Check whether --enable-html was given.
9316 if test "${enable_html+set}" = set; then
9317 enableval=$enable_html;
9318 if test "$enableval" = yes; then
9319 wx_cv_use_html='wxUSE_HTML=yes'
9320 else
9321 wx_cv_use_html='wxUSE_HTML=no'
9322 fi
9323
9324 else
9325
9326 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x ; then
9328 eval "DEFAULT_$LINE"
9329 else
9330 no_cache=1
9331 fi
9332
9333 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9334
9335 fi
9336
9337
9338 eval "$wx_cv_use_html"
9339 if test "$no_cache" != 1; then
9340 echo $wx_cv_use_html >> ${wx_arg_cache_file}.tmp
9341 fi
9342
9343 if test x"$enablestring" = xdisable; then
9344 if test $wxUSE_HTML = yes; then
9345 result=no
9346 else
9347 result=yes
9348 fi
9349 else
9350 result=$wxUSE_HTML
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}-htmlhelp" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9369 no_cache=0
9370 # Check whether --enable-htmlhelp was given.
9371 if test "${enable_htmlhelp+set}" = set; then
9372 enableval=$enable_htmlhelp;
9373 if test "$enableval" = yes; then
9374 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9375 else
9376 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9377 fi
9378
9379 else
9380
9381 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9384 else
9385 no_cache=1
9386 fi
9387
9388 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9389
9390 fi
9391
9392
9393 eval "$wx_cv_use_htmlhelp"
9394 if test "$no_cache" != 1; then
9395 echo $wx_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
9396 fi
9397
9398 if test x"$enablestring" = xdisable; then
9399 if test $wxUSE_WXHTML_HELP = yes; then
9400 result=no
9401 else
9402 result=yes
9403 fi
9404 else
9405 result=$wxUSE_WXHTML_HELP
9406 fi
9407
9408 { echo "$as_me:$LINENO: result: $result" >&5
9409 echo "${ECHO_T}$result" >&6; }
9410
9411
9412 enablestring=
9413 defaultval=$wxUSE_ALL_FEATURES
9414 if test -z "$defaultval"; then
9415 if test x"$enablestring" = xdisable; then
9416 defaultval=yes
9417 else
9418 defaultval=no
9419 fi
9420 fi
9421
9422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9423 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9424 no_cache=0
9425 # Check whether --enable-xrc was given.
9426 if test "${enable_xrc+set}" = set; then
9427 enableval=$enable_xrc;
9428 if test "$enableval" = yes; then
9429 wx_cv_use_xrc='wxUSE_XRC=yes'
9430 else
9431 wx_cv_use_xrc='wxUSE_XRC=no'
9432 fi
9433
9434 else
9435
9436 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9437 if test "x$LINE" != x ; then
9438 eval "DEFAULT_$LINE"
9439 else
9440 no_cache=1
9441 fi
9442
9443 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9444
9445 fi
9446
9447
9448 eval "$wx_cv_use_xrc"
9449 if test "$no_cache" != 1; then
9450 echo $wx_cv_use_xrc >> ${wx_arg_cache_file}.tmp
9451 fi
9452
9453 if test x"$enablestring" = xdisable; then
9454 if test $wxUSE_XRC = yes; then
9455 result=no
9456 else
9457 result=yes
9458 fi
9459 else
9460 result=$wxUSE_XRC
9461 fi
9462
9463 { echo "$as_me:$LINENO: result: $result" >&5
9464 echo "${ECHO_T}$result" >&6; }
9465
9466
9467 enablestring=
9468 defaultval=$wxUSE_ALL_FEATURES
9469 if test -z "$defaultval"; then
9470 if test x"$enablestring" = xdisable; then
9471 defaultval=yes
9472 else
9473 defaultval=no
9474 fi
9475 fi
9476
9477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9478 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9479 no_cache=0
9480 # Check whether --enable-aui was given.
9481 if test "${enable_aui+set}" = set; then
9482 enableval=$enable_aui;
9483 if test "$enableval" = yes; then
9484 wx_cv_use_aui='wxUSE_AUI=yes'
9485 else
9486 wx_cv_use_aui='wxUSE_AUI=no'
9487 fi
9488
9489 else
9490
9491 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9492 if test "x$LINE" != x ; then
9493 eval "DEFAULT_$LINE"
9494 else
9495 no_cache=1
9496 fi
9497
9498 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9499
9500 fi
9501
9502
9503 eval "$wx_cv_use_aui"
9504 if test "$no_cache" != 1; then
9505 echo $wx_cv_use_aui >> ${wx_arg_cache_file}.tmp
9506 fi
9507
9508 if test x"$enablestring" = xdisable; then
9509 if test $wxUSE_AUI = yes; then
9510 result=no
9511 else
9512 result=yes
9513 fi
9514 else
9515 result=$wxUSE_AUI
9516 fi
9517
9518 { echo "$as_me:$LINENO: result: $result" >&5
9519 echo "${ECHO_T}$result" >&6; }
9520
9521
9522 enablestring=
9523 defaultval=$wxUSE_ALL_FEATURES
9524 if test -z "$defaultval"; then
9525 if test x"$enablestring" = xdisable; then
9526 defaultval=yes
9527 else
9528 defaultval=no
9529 fi
9530 fi
9531
9532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9534 no_cache=0
9535 # Check whether --enable-stc was given.
9536 if test "${enable_stc+set}" = set; then
9537 enableval=$enable_stc;
9538 if test "$enableval" = yes; then
9539 wx_cv_use_stc='wxUSE_STC=yes'
9540 else
9541 wx_cv_use_stc='wxUSE_STC=no'
9542 fi
9543
9544 else
9545
9546 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9547 if test "x$LINE" != x ; then
9548 eval "DEFAULT_$LINE"
9549 else
9550 no_cache=1
9551 fi
9552
9553 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9554
9555 fi
9556
9557
9558 eval "$wx_cv_use_stc"
9559 if test "$no_cache" != 1; then
9560 echo $wx_cv_use_stc >> ${wx_arg_cache_file}.tmp
9561 fi
9562
9563 if test x"$enablestring" = xdisable; then
9564 if test $wxUSE_STC = yes; then
9565 result=no
9566 else
9567 result=yes
9568 fi
9569 else
9570 result=$wxUSE_STC
9571 fi
9572
9573 { echo "$as_me:$LINENO: result: $result" >&5
9574 echo "${ECHO_T}$result" >&6; }
9575
9576
9577 enablestring=
9578 defaultval=$wxUSE_ALL_FEATURES
9579 if test -z "$defaultval"; then
9580 if test x"$enablestring" = xdisable; then
9581 defaultval=yes
9582 else
9583 defaultval=no
9584 fi
9585 fi
9586
9587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9588 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9589 no_cache=0
9590 # Check whether --enable-constraints was given.
9591 if test "${enable_constraints+set}" = set; then
9592 enableval=$enable_constraints;
9593 if test "$enableval" = yes; then
9594 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9595 else
9596 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9597 fi
9598
9599 else
9600
9601 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9602 if test "x$LINE" != x ; then
9603 eval "DEFAULT_$LINE"
9604 else
9605 no_cache=1
9606 fi
9607
9608 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9609
9610 fi
9611
9612
9613 eval "$wx_cv_use_constraints"
9614 if test "$no_cache" != 1; then
9615 echo $wx_cv_use_constraints >> ${wx_arg_cache_file}.tmp
9616 fi
9617
9618 if test x"$enablestring" = xdisable; then
9619 if test $wxUSE_CONSTRAINTS = yes; then
9620 result=no
9621 else
9622 result=yes
9623 fi
9624 else
9625 result=$wxUSE_CONSTRAINTS
9626 fi
9627
9628 { echo "$as_me:$LINENO: result: $result" >&5
9629 echo "${ECHO_T}$result" >&6; }
9630
9631
9632 enablestring=
9633 defaultval=$wxUSE_ALL_FEATURES
9634 if test -z "$defaultval"; then
9635 if test x"$enablestring" = xdisable; then
9636 defaultval=yes
9637 else
9638 defaultval=no
9639 fi
9640 fi
9641
9642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9644 no_cache=0
9645 # Check whether --enable-printarch was given.
9646 if test "${enable_printarch+set}" = set; then
9647 enableval=$enable_printarch;
9648 if test "$enableval" = yes; then
9649 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9650 else
9651 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9652 fi
9653
9654 else
9655
9656 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9659 else
9660 no_cache=1
9661 fi
9662
9663 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9664
9665 fi
9666
9667
9668 eval "$wx_cv_use_printarch"
9669 if test "$no_cache" != 1; then
9670 echo $wx_cv_use_printarch >> ${wx_arg_cache_file}.tmp
9671 fi
9672
9673 if test x"$enablestring" = xdisable; then
9674 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9675 result=no
9676 else
9677 result=yes
9678 fi
9679 else
9680 result=$wxUSE_PRINTING_ARCHITECTURE
9681 fi
9682
9683 { echo "$as_me:$LINENO: result: $result" >&5
9684 echo "${ECHO_T}$result" >&6; }
9685
9686
9687 enablestring=
9688 defaultval=$wxUSE_ALL_FEATURES
9689 if test -z "$defaultval"; then
9690 if test x"$enablestring" = xdisable; then
9691 defaultval=yes
9692 else
9693 defaultval=no
9694 fi
9695 fi
9696
9697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9698 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9699 no_cache=0
9700 # Check whether --enable-mdi was given.
9701 if test "${enable_mdi+set}" = set; then
9702 enableval=$enable_mdi;
9703 if test "$enableval" = yes; then
9704 wx_cv_use_mdi='wxUSE_MDI=yes'
9705 else
9706 wx_cv_use_mdi='wxUSE_MDI=no'
9707 fi
9708
9709 else
9710
9711 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9712 if test "x$LINE" != x ; then
9713 eval "DEFAULT_$LINE"
9714 else
9715 no_cache=1
9716 fi
9717
9718 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9719
9720 fi
9721
9722
9723 eval "$wx_cv_use_mdi"
9724 if test "$no_cache" != 1; then
9725 echo $wx_cv_use_mdi >> ${wx_arg_cache_file}.tmp
9726 fi
9727
9728 if test x"$enablestring" = xdisable; then
9729 if test $wxUSE_MDI = yes; then
9730 result=no
9731 else
9732 result=yes
9733 fi
9734 else
9735 result=$wxUSE_MDI
9736 fi
9737
9738 { echo "$as_me:$LINENO: result: $result" >&5
9739 echo "${ECHO_T}$result" >&6; }
9740
9741
9742 enablestring=
9743 defaultval=$wxUSE_ALL_FEATURES
9744 if test -z "$defaultval"; then
9745 if test x"$enablestring" = xdisable; then
9746 defaultval=yes
9747 else
9748 defaultval=no
9749 fi
9750 fi
9751
9752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9753 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9754 no_cache=0
9755 # Check whether --enable-mdidoc was given.
9756 if test "${enable_mdidoc+set}" = set; then
9757 enableval=$enable_mdidoc;
9758 if test "$enableval" = yes; then
9759 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9760 else
9761 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9762 fi
9763
9764 else
9765
9766 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9767 if test "x$LINE" != x ; then
9768 eval "DEFAULT_$LINE"
9769 else
9770 no_cache=1
9771 fi
9772
9773 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9774
9775 fi
9776
9777
9778 eval "$wx_cv_use_mdidoc"
9779 if test "$no_cache" != 1; then
9780 echo $wx_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
9781 fi
9782
9783 if test x"$enablestring" = xdisable; then
9784 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9785 result=no
9786 else
9787 result=yes
9788 fi
9789 else
9790 result=$wxUSE_MDI_ARCHITECTURE
9791 fi
9792
9793 { echo "$as_me:$LINENO: result: $result" >&5
9794 echo "${ECHO_T}$result" >&6; }
9795
9796
9797 enablestring=
9798 defaultval=$wxUSE_ALL_FEATURES
9799 if test -z "$defaultval"; then
9800 if test x"$enablestring" = xdisable; then
9801 defaultval=yes
9802 else
9803 defaultval=no
9804 fi
9805 fi
9806
9807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9808 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9809 no_cache=0
9810 # Check whether --enable-loggui was given.
9811 if test "${enable_loggui+set}" = set; then
9812 enableval=$enable_loggui;
9813 if test "$enableval" = yes; then
9814 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9815 else
9816 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9817 fi
9818
9819 else
9820
9821 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9822 if test "x$LINE" != x ; then
9823 eval "DEFAULT_$LINE"
9824 else
9825 no_cache=1
9826 fi
9827
9828 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9829
9830 fi
9831
9832
9833 eval "$wx_cv_use_loggui"
9834 if test "$no_cache" != 1; then
9835 echo $wx_cv_use_loggui >> ${wx_arg_cache_file}.tmp
9836 fi
9837
9838 if test x"$enablestring" = xdisable; then
9839 if test $wxUSE_LOGGUI = yes; then
9840 result=no
9841 else
9842 result=yes
9843 fi
9844 else
9845 result=$wxUSE_LOGGUI
9846 fi
9847
9848 { echo "$as_me:$LINENO: result: $result" >&5
9849 echo "${ECHO_T}$result" >&6; }
9850
9851
9852 enablestring=
9853 defaultval=$wxUSE_ALL_FEATURES
9854 if test -z "$defaultval"; then
9855 if test x"$enablestring" = xdisable; then
9856 defaultval=yes
9857 else
9858 defaultval=no
9859 fi
9860 fi
9861
9862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9863 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9864 no_cache=0
9865 # Check whether --enable-logwin was given.
9866 if test "${enable_logwin+set}" = set; then
9867 enableval=$enable_logwin;
9868 if test "$enableval" = yes; then
9869 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9870 else
9871 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9872 fi
9873
9874 else
9875
9876 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9877 if test "x$LINE" != x ; then
9878 eval "DEFAULT_$LINE"
9879 else
9880 no_cache=1
9881 fi
9882
9883 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9884
9885 fi
9886
9887
9888 eval "$wx_cv_use_logwin"
9889 if test "$no_cache" != 1; then
9890 echo $wx_cv_use_logwin >> ${wx_arg_cache_file}.tmp
9891 fi
9892
9893 if test x"$enablestring" = xdisable; then
9894 if test $wxUSE_LOGWINDOW = yes; then
9895 result=no
9896 else
9897 result=yes
9898 fi
9899 else
9900 result=$wxUSE_LOGWINDOW
9901 fi
9902
9903 { echo "$as_me:$LINENO: result: $result" >&5
9904 echo "${ECHO_T}$result" >&6; }
9905
9906
9907 enablestring=
9908 defaultval=$wxUSE_ALL_FEATURES
9909 if test -z "$defaultval"; then
9910 if test x"$enablestring" = xdisable; then
9911 defaultval=yes
9912 else
9913 defaultval=no
9914 fi
9915 fi
9916
9917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9918 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9919 no_cache=0
9920 # Check whether --enable-logdialog was given.
9921 if test "${enable_logdialog+set}" = set; then
9922 enableval=$enable_logdialog;
9923 if test "$enableval" = yes; then
9924 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9925 else
9926 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9927 fi
9928
9929 else
9930
9931 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x ; then
9933 eval "DEFAULT_$LINE"
9934 else
9935 no_cache=1
9936 fi
9937
9938 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9939
9940 fi
9941
9942
9943 eval "$wx_cv_use_logdialog"
9944 if test "$no_cache" != 1; then
9945 echo $wx_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
9946 fi
9947
9948 if test x"$enablestring" = xdisable; then
9949 if test $wxUSE_LOGDIALOG = yes; then
9950 result=no
9951 else
9952 result=yes
9953 fi
9954 else
9955 result=$wxUSE_LOGDIALOG
9956 fi
9957
9958 { echo "$as_me:$LINENO: result: $result" >&5
9959 echo "${ECHO_T}$result" >&6; }
9960
9961
9962 enablestring=
9963 defaultval=$wxUSE_ALL_FEATURES
9964 if test -z "$defaultval"; then
9965 if test x"$enablestring" = xdisable; then
9966 defaultval=yes
9967 else
9968 defaultval=no
9969 fi
9970 fi
9971
9972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9973 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9974 no_cache=0
9975 # Check whether --enable-webkit was given.
9976 if test "${enable_webkit+set}" = set; then
9977 enableval=$enable_webkit;
9978 if test "$enableval" = yes; then
9979 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9980 else
9981 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9982 fi
9983
9984 else
9985
9986 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9987 if test "x$LINE" != x ; then
9988 eval "DEFAULT_$LINE"
9989 else
9990 no_cache=1
9991 fi
9992
9993 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9994
9995 fi
9996
9997
9998 eval "$wx_cv_use_webkit"
9999 if test "$no_cache" != 1; then
10000 echo $wx_cv_use_webkit >> ${wx_arg_cache_file}.tmp
10001 fi
10002
10003 if test x"$enablestring" = xdisable; then
10004 if test $wxUSE_WEBKIT = yes; then
10005 result=no
10006 else
10007 result=yes
10008 fi
10009 else
10010 result=$wxUSE_WEBKIT
10011 fi
10012
10013 { echo "$as_me:$LINENO: result: $result" >&5
10014 echo "${ECHO_T}$result" >&6; }
10015
10016
10017 enablestring=
10018 defaultval=$wxUSE_ALL_FEATURES
10019 if test -z "$defaultval"; then
10020 if test x"$enablestring" = xdisable; then
10021 defaultval=yes
10022 else
10023 defaultval=no
10024 fi
10025 fi
10026
10027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10029 no_cache=0
10030 # Check whether --enable-richtext was given.
10031 if test "${enable_richtext+set}" = set; then
10032 enableval=$enable_richtext;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10035 else
10036 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10037 fi
10038
10039 else
10040
10041 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10042 if test "x$LINE" != x ; then
10043 eval "DEFAULT_$LINE"
10044 else
10045 no_cache=1
10046 fi
10047
10048 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10049
10050 fi
10051
10052
10053 eval "$wx_cv_use_richtext"
10054 if test "$no_cache" != 1; then
10055 echo $wx_cv_use_richtext >> ${wx_arg_cache_file}.tmp
10056 fi
10057
10058 if test x"$enablestring" = xdisable; then
10059 if test $wxUSE_RICHTEXT = yes; then
10060 result=no
10061 else
10062 result=yes
10063 fi
10064 else
10065 result=$wxUSE_RICHTEXT
10066 fi
10067
10068 { echo "$as_me:$LINENO: result: $result" >&5
10069 echo "${ECHO_T}$result" >&6; }
10070
10071
10072 enablestring=
10073 defaultval=$wxUSE_ALL_FEATURES
10074 if test -z "$defaultval"; then
10075 if test x"$enablestring" = xdisable; then
10076 defaultval=yes
10077 else
10078 defaultval=no
10079 fi
10080 fi
10081
10082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10083 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10084 no_cache=0
10085 # Check whether --enable-graphics_ctx was given.
10086 if test "${enable_graphics_ctx+set}" = set; then
10087 enableval=$enable_graphics_ctx;
10088 if test "$enableval" = yes; then
10089 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10090 else
10091 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10092 fi
10093
10094 else
10095
10096 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10097 if test "x$LINE" != x ; then
10098 eval "DEFAULT_$LINE"
10099 else
10100 no_cache=1
10101 fi
10102
10103 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10104
10105 fi
10106
10107
10108 eval "$wx_cv_use_graphics_ctx"
10109 if test "$no_cache" != 1; then
10110 echo $wx_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
10111 fi
10112
10113 if test x"$enablestring" = xdisable; then
10114 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10115 result=no
10116 else
10117 result=yes
10118 fi
10119 else
10120 result=$wxUSE_GRAPHICS_CONTEXT
10121 fi
10122
10123 { echo "$as_me:$LINENO: result: $result" >&5
10124 echo "${ECHO_T}$result" >&6; }
10125
10126
10127 enablestring=
10128 defaultval=$wxUSE_ALL_FEATURES
10129 if test -z "$defaultval"; then
10130 if test x"$enablestring" = xdisable; then
10131 defaultval=yes
10132 else
10133 defaultval=no
10134 fi
10135 fi
10136
10137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10138 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10139 no_cache=0
10140 # Check whether --enable-postscript was given.
10141 if test "${enable_postscript+set}" = set; then
10142 enableval=$enable_postscript;
10143 if test "$enableval" = yes; then
10144 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10145 else
10146 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10147 fi
10148
10149 else
10150
10151 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x ; then
10153 eval "DEFAULT_$LINE"
10154 else
10155 no_cache=1
10156 fi
10157
10158 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10159
10160 fi
10161
10162
10163 eval "$wx_cv_use_postscript"
10164 if test "$no_cache" != 1; then
10165 echo $wx_cv_use_postscript >> ${wx_arg_cache_file}.tmp
10166 fi
10167
10168 if test x"$enablestring" = xdisable; then
10169 if test $wxUSE_POSTSCRIPT = yes; then
10170 result=no
10171 else
10172 result=yes
10173 fi
10174 else
10175 result=$wxUSE_POSTSCRIPT
10176 fi
10177
10178 { echo "$as_me:$LINENO: result: $result" >&5
10179 echo "${ECHO_T}$result" >&6; }
10180
10181
10182 enablestring=
10183 defaultval=$wxUSE_ALL_FEATURES
10184 if test -z "$defaultval"; then
10185 if test x"$enablestring" = xdisable; then
10186 defaultval=yes
10187 else
10188 defaultval=no
10189 fi
10190 fi
10191
10192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10194 no_cache=0
10195 # Check whether --enable-svg was given.
10196 if test "${enable_svg+set}" = set; then
10197 enableval=$enable_svg;
10198 if test "$enableval" = yes; then
10199 wx_cv_use_svg='wxUSE_SVG=yes'
10200 else
10201 wx_cv_use_svg='wxUSE_SVG=no'
10202 fi
10203
10204 else
10205
10206 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10207 if test "x$LINE" != x ; then
10208 eval "DEFAULT_$LINE"
10209 else
10210 no_cache=1
10211 fi
10212
10213 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10214
10215 fi
10216
10217
10218 eval "$wx_cv_use_svg"
10219 if test "$no_cache" != 1; then
10220 echo $wx_cv_use_svg >> ${wx_arg_cache_file}.tmp
10221 fi
10222
10223 if test x"$enablestring" = xdisable; then
10224 if test $wxUSE_SVG = yes; then
10225 result=no
10226 else
10227 result=yes
10228 fi
10229 else
10230 result=$wxUSE_SVG
10231 fi
10232
10233 { echo "$as_me:$LINENO: result: $result" >&5
10234 echo "${ECHO_T}$result" >&6; }
10235
10236
10237
10238
10239 enablestring=
10240 defaultval=$wxUSE_ALL_FEATURES
10241 if test -z "$defaultval"; then
10242 if test x"$enablestring" = xdisable; then
10243 defaultval=yes
10244 else
10245 defaultval=no
10246 fi
10247 fi
10248
10249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10251 no_cache=0
10252 # Check whether --enable-clipboard was given.
10253 if test "${enable_clipboard+set}" = set; then
10254 enableval=$enable_clipboard;
10255 if test "$enableval" = yes; then
10256 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10257 else
10258 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10259 fi
10260
10261 else
10262
10263 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10264 if test "x$LINE" != x ; then
10265 eval "DEFAULT_$LINE"
10266 else
10267 no_cache=1
10268 fi
10269
10270 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10271
10272 fi
10273
10274
10275 eval "$wx_cv_use_clipboard"
10276 if test "$no_cache" != 1; then
10277 echo $wx_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
10278 fi
10279
10280 if test x"$enablestring" = xdisable; then
10281 if test $wxUSE_CLIPBOARD = yes; then
10282 result=no
10283 else
10284 result=yes
10285 fi
10286 else
10287 result=$wxUSE_CLIPBOARD
10288 fi
10289
10290 { echo "$as_me:$LINENO: result: $result" >&5
10291 echo "${ECHO_T}$result" >&6; }
10292
10293
10294 enablestring=
10295 defaultval=$wxUSE_ALL_FEATURES
10296 if test -z "$defaultval"; then
10297 if test x"$enablestring" = xdisable; then
10298 defaultval=yes
10299 else
10300 defaultval=no
10301 fi
10302 fi
10303
10304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10305 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10306 no_cache=0
10307 # Check whether --enable-dnd was given.
10308 if test "${enable_dnd+set}" = set; then
10309 enableval=$enable_dnd;
10310 if test "$enableval" = yes; then
10311 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10312 else
10313 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10314 fi
10315
10316 else
10317
10318 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10319 if test "x$LINE" != x ; then
10320 eval "DEFAULT_$LINE"
10321 else
10322 no_cache=1
10323 fi
10324
10325 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10326
10327 fi
10328
10329
10330 eval "$wx_cv_use_dnd"
10331 if test "$no_cache" != 1; then
10332 echo $wx_cv_use_dnd >> ${wx_arg_cache_file}.tmp
10333 fi
10334
10335 if test x"$enablestring" = xdisable; then
10336 if test $wxUSE_DRAG_AND_DROP = yes; then
10337 result=no
10338 else
10339 result=yes
10340 fi
10341 else
10342 result=$wxUSE_DRAG_AND_DROP
10343 fi
10344
10345 { echo "$as_me:$LINENO: result: $result" >&5
10346 echo "${ECHO_T}$result" >&6; }
10347
10348
10349 enablestring=
10350 defaultval=$wxUSE_ALL_FEATURES
10351 if test -z "$defaultval"; then
10352 if test x"$enablestring" = xdisable; then
10353 defaultval=yes
10354 else
10355 defaultval=no
10356 fi
10357 fi
10358
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10361 no_cache=0
10362 # Check whether --enable-metafile was given.
10363 if test "${enable_metafile+set}" = set; then
10364 enableval=$enable_metafile;
10365 if test "$enableval" = yes; then
10366 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10367 else
10368 wx_cv_use_metafile='wxUSE_METAFILE=no'
10369 fi
10370
10371 else
10372
10373 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10374 if test "x$LINE" != x ; then
10375 eval "DEFAULT_$LINE"
10376 else
10377 no_cache=1
10378 fi
10379
10380 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10381
10382 fi
10383
10384
10385 eval "$wx_cv_use_metafile"
10386 if test "$no_cache" != 1; then
10387 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10388 fi
10389
10390 if test x"$enablestring" = xdisable; then
10391 if test $wxUSE_METAFILE = yes; then
10392 result=no
10393 else
10394 result=yes
10395 fi
10396 else
10397 result=$wxUSE_METAFILE
10398 fi
10399
10400 { echo "$as_me:$LINENO: result: $result" >&5
10401 echo "${ECHO_T}$result" >&6; }
10402
10403
10404
10405 DEFAULT_wxUSE_CONTROLS=none
10406
10407 enablestring=disable
10408 defaultval=
10409 if test -z "$defaultval"; then
10410 if test x"$enablestring" = xdisable; then
10411 defaultval=yes
10412 else
10413 defaultval=no
10414 fi
10415 fi
10416
10417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10418 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10419 no_cache=0
10420 # Check whether --enable-controls was given.
10421 if test "${enable_controls+set}" = set; then
10422 enableval=$enable_controls;
10423 if test "$enableval" = yes; then
10424 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10425 else
10426 wx_cv_use_controls='wxUSE_CONTROLS=no'
10427 fi
10428
10429 else
10430
10431 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10432 if test "x$LINE" != x ; then
10433 eval "DEFAULT_$LINE"
10434 else
10435 no_cache=1
10436 fi
10437
10438 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10439
10440 fi
10441
10442
10443 eval "$wx_cv_use_controls"
10444 if test "$no_cache" != 1; then
10445 echo $wx_cv_use_controls >> ${wx_arg_cache_file}.tmp
10446 fi
10447
10448 if test x"$enablestring" = xdisable; then
10449 if test $wxUSE_CONTROLS = yes; then
10450 result=no
10451 else
10452 result=yes
10453 fi
10454 else
10455 result=$wxUSE_CONTROLS
10456 fi
10457
10458 { echo "$as_me:$LINENO: result: $result" >&5
10459 echo "${ECHO_T}$result" >&6; }
10460
10461
10462 if test "$wxUSE_CONTROLS" = "yes"; then
10463 DEFAULT_wxUSE_ACCEL=yes
10464 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10465 DEFAULT_wxUSE_BMPBUTTON=yes
10466 DEFAULT_wxUSE_BUTTON=yes
10467 DEFAULT_wxUSE_CALCTRL=yes
10468 DEFAULT_wxUSE_CARET=yes
10469 DEFAULT_wxUSE_COMBOBOX=yes
10470 DEFAULT_wxUSE_CHECKBOX=yes
10471 DEFAULT_wxUSE_CHECKLISTBOX=yes
10472 DEFAULT_wxUSE_CHOICE=yes
10473 DEFAULT_wxUSE_CHOICEBOOK=yes
10474 DEFAULT_wxUSE_COLLPANE=yes
10475 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10476 DEFAULT_wxUSE_COMBOBOX=yes
10477 DEFAULT_wxUSE_DATEPICKCTRL=yes
10478 DEFAULT_wxUSE_DISPLAY=yes
10479 DEFAULT_wxUSE_DETECT_SM=yes
10480 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10481 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10482 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10483 DEFAULT_wxUSE_GAUGE=yes
10484 DEFAULT_wxUSE_GRID=yes
10485 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10486 DEFAULT_wxUSE_DATAVIEWCTRL=no
10487 DEFAULT_wxUSE_IMAGLIST=yes
10488 DEFAULT_wxUSE_LISTBOOK=yes
10489 DEFAULT_wxUSE_LISTBOX=yes
10490 DEFAULT_wxUSE_LISTCTRL=yes
10491 DEFAULT_wxUSE_NOTEBOOK=yes
10492 DEFAULT_wxUSE_RADIOBOX=yes
10493 DEFAULT_wxUSE_RADIOBTN=yes
10494 DEFAULT_wxUSE_SASH=yes
10495 DEFAULT_wxUSE_SCROLLBAR=yes
10496 DEFAULT_wxUSE_SEARCHCTRL=yes
10497 DEFAULT_wxUSE_SLIDER=yes
10498 DEFAULT_wxUSE_SPINBTN=yes
10499 DEFAULT_wxUSE_SPINCTRL=yes
10500 DEFAULT_wxUSE_SPLITTER=yes
10501 DEFAULT_wxUSE_STATBMP=yes
10502 DEFAULT_wxUSE_STATBOX=yes
10503 DEFAULT_wxUSE_STATLINE=yes
10504 DEFAULT_wxUSE_STATUSBAR=yes
10505 DEFAULT_wxUSE_TAB_DIALOG=yes
10506 DEFAULT_wxUSE_TOGGLEBTN=yes
10507 DEFAULT_wxUSE_TOOLBAR=yes
10508 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10509 DEFAULT_wxUSE_TOOLTIPS=yes
10510 DEFAULT_wxUSE_TREEBOOK=yes
10511 DEFAULT_wxUSE_TOOLBOOK=yes
10512 DEFAULT_wxUSE_TREECTRL=yes
10513 DEFAULT_wxUSE_POPUPWIN=yes
10514 DEFAULT_wxUSE_TIPWINDOW=yes
10515 elif test "$wxUSE_CONTROLS" = "no"; then
10516 DEFAULT_wxUSE_ACCEL=no
10517 DEFAULT_wxUSE_ANIMATIONCTRL=no
10518 DEFAULT_wxUSE_BMPBUTTON=no
10519 DEFAULT_wxUSE_BUTTON=no
10520 DEFAULT_wxUSE_CALCTRL=no
10521 DEFAULT_wxUSE_CARET=no
10522 DEFAULT_wxUSE_COLLPANE=no
10523 DEFAULT_wxUSE_COMBOBOX=no
10524 DEFAULT_wxUSE_CHECKBOX=no
10525 DEFAULT_wxUSE_CHECKLISTBOX=no
10526 DEFAULT_wxUSE_CHOICE=no
10527 DEFAULT_wxUSE_CHOICEBOOK=no
10528 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10529 DEFAULT_wxUSE_COMBOBOX=no
10530 DEFAULT_wxUSE_DATEPICKCTRL=no
10531 DEFAULT_wxUSE_DISPLAY=no
10532 DEFAULT_wxUSE_DETECT_SM=no
10533 DEFAULT_wxUSE_DIRPICKERCTRL=no
10534 DEFAULT_wxUSE_FILEPICKERCTRL=no
10535 DEFAULT_wxUSE_FONTPICKERCTRL=no
10536 DEFAULT_wxUSE_GAUGE=no
10537 DEFAULT_wxUSE_GRID=no
10538 DEFAULT_wxUSE_HYPERLINKCTRL=no
10539 DEFAULT_wxUSE_DATAVIEWCTRL=no
10540 DEFAULT_wxUSE_IMAGLIST=no
10541 DEFAULT_wxUSE_LISTBOOK=no
10542 DEFAULT_wxUSE_LISTBOX=no
10543 DEFAULT_wxUSE_LISTCTRL=no
10544 DEFAULT_wxUSE_NOTEBOOK=no
10545 DEFAULT_wxUSE_RADIOBOX=no
10546 DEFAULT_wxUSE_RADIOBTN=no
10547 DEFAULT_wxUSE_SASH=no
10548 DEFAULT_wxUSE_SCROLLBAR=no
10549 DEFAULT_wxUSE_SEARCHCTRL=no
10550 DEFAULT_wxUSE_SLIDER=no
10551 DEFAULT_wxUSE_SPINBTN=no
10552 DEFAULT_wxUSE_SPINCTRL=no
10553 DEFAULT_wxUSE_SPLITTER=no
10554 DEFAULT_wxUSE_STATBMP=no
10555 DEFAULT_wxUSE_STATBOX=no
10556 DEFAULT_wxUSE_STATLINE=no
10557 DEFAULT_wxUSE_STATUSBAR=no
10558 DEFAULT_wxUSE_TAB_DIALOG=no
10559 DEFAULT_wxUSE_TOGGLEBTN=no
10560 DEFAULT_wxUSE_TOOLBAR=no
10561 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10562 DEFAULT_wxUSE_TOOLTIPS=no
10563 DEFAULT_wxUSE_TREEBOOK=no
10564 DEFAULT_wxUSE_TOOLBOOK=no
10565 DEFAULT_wxUSE_TREECTRL=no
10566 DEFAULT_wxUSE_POPUPWIN=no
10567 DEFAULT_wxUSE_TIPWINDOW=no
10568 fi
10569
10570
10571 enablestring=
10572 defaultval=$wxUSE_ALL_FEATURES
10573 if test -z "$defaultval"; then
10574 if test x"$enablestring" = xdisable; then
10575 defaultval=yes
10576 else
10577 defaultval=no
10578 fi
10579 fi
10580
10581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10582 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10583 no_cache=0
10584 # Check whether --enable-accel was given.
10585 if test "${enable_accel+set}" = set; then
10586 enableval=$enable_accel;
10587 if test "$enableval" = yes; then
10588 wx_cv_use_accel='wxUSE_ACCEL=yes'
10589 else
10590 wx_cv_use_accel='wxUSE_ACCEL=no'
10591 fi
10592
10593 else
10594
10595 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10596 if test "x$LINE" != x ; then
10597 eval "DEFAULT_$LINE"
10598 else
10599 no_cache=1
10600 fi
10601
10602 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10603
10604 fi
10605
10606
10607 eval "$wx_cv_use_accel"
10608 if test "$no_cache" != 1; then
10609 echo $wx_cv_use_accel >> ${wx_arg_cache_file}.tmp
10610 fi
10611
10612 if test x"$enablestring" = xdisable; then
10613 if test $wxUSE_ACCEL = yes; then
10614 result=no
10615 else
10616 result=yes
10617 fi
10618 else
10619 result=$wxUSE_ACCEL
10620 fi
10621
10622 { echo "$as_me:$LINENO: result: $result" >&5
10623 echo "${ECHO_T}$result" >&6; }
10624
10625
10626 enablestring=
10627 defaultval=$wxUSE_ALL_FEATURES
10628 if test -z "$defaultval"; then
10629 if test x"$enablestring" = xdisable; then
10630 defaultval=yes
10631 else
10632 defaultval=no
10633 fi
10634 fi
10635
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10638 no_cache=0
10639 # Check whether --enable-animatectrl was given.
10640 if test "${enable_animatectrl+set}" = set; then
10641 enableval=$enable_animatectrl;
10642 if test "$enableval" = yes; then
10643 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10644 else
10645 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10646 fi
10647
10648 else
10649
10650 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10651 if test "x$LINE" != x ; then
10652 eval "DEFAULT_$LINE"
10653 else
10654 no_cache=1
10655 fi
10656
10657 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10658
10659 fi
10660
10661
10662 eval "$wx_cv_use_animatectrl"
10663 if test "$no_cache" != 1; then
10664 echo $wx_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
10665 fi
10666
10667 if test x"$enablestring" = xdisable; then
10668 if test $wxUSE_ANIMATIONCTRL = yes; then
10669 result=no
10670 else
10671 result=yes
10672 fi
10673 else
10674 result=$wxUSE_ANIMATIONCTRL
10675 fi
10676
10677 { echo "$as_me:$LINENO: result: $result" >&5
10678 echo "${ECHO_T}$result" >&6; }
10679
10680
10681 enablestring=
10682 defaultval=$wxUSE_ALL_FEATURES
10683 if test -z "$defaultval"; then
10684 if test x"$enablestring" = xdisable; then
10685 defaultval=yes
10686 else
10687 defaultval=no
10688 fi
10689 fi
10690
10691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10692 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10693 no_cache=0
10694 # Check whether --enable-button was given.
10695 if test "${enable_button+set}" = set; then
10696 enableval=$enable_button;
10697 if test "$enableval" = yes; then
10698 wx_cv_use_button='wxUSE_BUTTON=yes'
10699 else
10700 wx_cv_use_button='wxUSE_BUTTON=no'
10701 fi
10702
10703 else
10704
10705 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10706 if test "x$LINE" != x ; then
10707 eval "DEFAULT_$LINE"
10708 else
10709 no_cache=1
10710 fi
10711
10712 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10713
10714 fi
10715
10716
10717 eval "$wx_cv_use_button"
10718 if test "$no_cache" != 1; then
10719 echo $wx_cv_use_button >> ${wx_arg_cache_file}.tmp
10720 fi
10721
10722 if test x"$enablestring" = xdisable; then
10723 if test $wxUSE_BUTTON = yes; then
10724 result=no
10725 else
10726 result=yes
10727 fi
10728 else
10729 result=$wxUSE_BUTTON
10730 fi
10731
10732 { echo "$as_me:$LINENO: result: $result" >&5
10733 echo "${ECHO_T}$result" >&6; }
10734
10735
10736 enablestring=
10737 defaultval=$wxUSE_ALL_FEATURES
10738 if test -z "$defaultval"; then
10739 if test x"$enablestring" = xdisable; then
10740 defaultval=yes
10741 else
10742 defaultval=no
10743 fi
10744 fi
10745
10746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10747 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10748 no_cache=0
10749 # Check whether --enable-bmpbutton was given.
10750 if test "${enable_bmpbutton+set}" = set; then
10751 enableval=$enable_bmpbutton;
10752 if test "$enableval" = yes; then
10753 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10754 else
10755 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10756 fi
10757
10758 else
10759
10760 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10761 if test "x$LINE" != x ; then
10762 eval "DEFAULT_$LINE"
10763 else
10764 no_cache=1
10765 fi
10766
10767 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10768
10769 fi
10770
10771
10772 eval "$wx_cv_use_bmpbutton"
10773 if test "$no_cache" != 1; then
10774 echo $wx_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
10775 fi
10776
10777 if test x"$enablestring" = xdisable; then
10778 if test $wxUSE_BMPBUTTON = yes; then
10779 result=no
10780 else
10781 result=yes
10782 fi
10783 else
10784 result=$wxUSE_BMPBUTTON
10785 fi
10786
10787 { echo "$as_me:$LINENO: result: $result" >&5
10788 echo "${ECHO_T}$result" >&6; }
10789
10790
10791 enablestring=
10792 defaultval=$wxUSE_ALL_FEATURES
10793 if test -z "$defaultval"; then
10794 if test x"$enablestring" = xdisable; then
10795 defaultval=yes
10796 else
10797 defaultval=no
10798 fi
10799 fi
10800
10801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10802 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10803 no_cache=0
10804 # Check whether --enable-bmpcombobox was given.
10805 if test "${enable_bmpcombobox+set}" = set; then
10806 enableval=$enable_bmpcombobox;
10807 if test "$enableval" = yes; then
10808 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10809 else
10810 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10811 fi
10812
10813 else
10814
10815 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10816 if test "x$LINE" != x ; then
10817 eval "DEFAULT_$LINE"
10818 else
10819 no_cache=1
10820 fi
10821
10822 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10823
10824 fi
10825
10826
10827 eval "$wx_cv_use_bmpcombobox"
10828 if test "$no_cache" != 1; then
10829 echo $wx_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
10830 fi
10831
10832 if test x"$enablestring" = xdisable; then
10833 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10834 result=no
10835 else
10836 result=yes
10837 fi
10838 else
10839 result=$wxUSE_BITMAPCOMBOBOX
10840 fi
10841
10842 { echo "$as_me:$LINENO: result: $result" >&5
10843 echo "${ECHO_T}$result" >&6; }
10844
10845
10846 enablestring=
10847 defaultval=$wxUSE_ALL_FEATURES
10848 if test -z "$defaultval"; then
10849 if test x"$enablestring" = xdisable; then
10850 defaultval=yes
10851 else
10852 defaultval=no
10853 fi
10854 fi
10855
10856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10858 no_cache=0
10859 # Check whether --enable-calendar was given.
10860 if test "${enable_calendar+set}" = set; then
10861 enableval=$enable_calendar;
10862 if test "$enableval" = yes; then
10863 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10864 else
10865 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10866 fi
10867
10868 else
10869
10870 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10871 if test "x$LINE" != x ; then
10872 eval "DEFAULT_$LINE"
10873 else
10874 no_cache=1
10875 fi
10876
10877 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10878
10879 fi
10880
10881
10882 eval "$wx_cv_use_calendar"
10883 if test "$no_cache" != 1; then
10884 echo $wx_cv_use_calendar >> ${wx_arg_cache_file}.tmp
10885 fi
10886
10887 if test x"$enablestring" = xdisable; then
10888 if test $wxUSE_CALCTRL = yes; then
10889 result=no
10890 else
10891 result=yes
10892 fi
10893 else
10894 result=$wxUSE_CALCTRL
10895 fi
10896
10897 { echo "$as_me:$LINENO: result: $result" >&5
10898 echo "${ECHO_T}$result" >&6; }
10899
10900
10901 enablestring=
10902 defaultval=$wxUSE_ALL_FEATURES
10903 if test -z "$defaultval"; then
10904 if test x"$enablestring" = xdisable; then
10905 defaultval=yes
10906 else
10907 defaultval=no
10908 fi
10909 fi
10910
10911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10912 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10913 no_cache=0
10914 # Check whether --enable-caret was given.
10915 if test "${enable_caret+set}" = set; then
10916 enableval=$enable_caret;
10917 if test "$enableval" = yes; then
10918 wx_cv_use_caret='wxUSE_CARET=yes'
10919 else
10920 wx_cv_use_caret='wxUSE_CARET=no'
10921 fi
10922
10923 else
10924
10925 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10926 if test "x$LINE" != x ; then
10927 eval "DEFAULT_$LINE"
10928 else
10929 no_cache=1
10930 fi
10931
10932 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10933
10934 fi
10935
10936
10937 eval "$wx_cv_use_caret"
10938 if test "$no_cache" != 1; then
10939 echo $wx_cv_use_caret >> ${wx_arg_cache_file}.tmp
10940 fi
10941
10942 if test x"$enablestring" = xdisable; then
10943 if test $wxUSE_CARET = yes; then
10944 result=no
10945 else
10946 result=yes
10947 fi
10948 else
10949 result=$wxUSE_CARET
10950 fi
10951
10952 { echo "$as_me:$LINENO: result: $result" >&5
10953 echo "${ECHO_T}$result" >&6; }
10954
10955
10956 enablestring=
10957 defaultval=$wxUSE_ALL_FEATURES
10958 if test -z "$defaultval"; then
10959 if test x"$enablestring" = xdisable; then
10960 defaultval=yes
10961 else
10962 defaultval=no
10963 fi
10964 fi
10965
10966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10967 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10968 no_cache=0
10969 # Check whether --enable-checkbox was given.
10970 if test "${enable_checkbox+set}" = set; then
10971 enableval=$enable_checkbox;
10972 if test "$enableval" = yes; then
10973 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10974 else
10975 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10976 fi
10977
10978 else
10979
10980 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10981 if test "x$LINE" != x ; then
10982 eval "DEFAULT_$LINE"
10983 else
10984 no_cache=1
10985 fi
10986
10987 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10988
10989 fi
10990
10991
10992 eval "$wx_cv_use_checkbox"
10993 if test "$no_cache" != 1; then
10994 echo $wx_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
10995 fi
10996
10997 if test x"$enablestring" = xdisable; then
10998 if test $wxUSE_CHECKBOX = yes; then
10999 result=no
11000 else
11001 result=yes
11002 fi
11003 else
11004 result=$wxUSE_CHECKBOX
11005 fi
11006
11007 { echo "$as_me:$LINENO: result: $result" >&5
11008 echo "${ECHO_T}$result" >&6; }
11009
11010
11011 enablestring=
11012 defaultval=$wxUSE_ALL_FEATURES
11013 if test -z "$defaultval"; then
11014 if test x"$enablestring" = xdisable; then
11015 defaultval=yes
11016 else
11017 defaultval=no
11018 fi
11019 fi
11020
11021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11022 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11023 no_cache=0
11024 # Check whether --enable-checklst was given.
11025 if test "${enable_checklst+set}" = set; then
11026 enableval=$enable_checklst;
11027 if test "$enableval" = yes; then
11028 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11029 else
11030 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11031 fi
11032
11033 else
11034
11035 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11036 if test "x$LINE" != x ; then
11037 eval "DEFAULT_$LINE"
11038 else
11039 no_cache=1
11040 fi
11041
11042 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11043
11044 fi
11045
11046
11047 eval "$wx_cv_use_checklst"
11048 if test "$no_cache" != 1; then
11049 echo $wx_cv_use_checklst >> ${wx_arg_cache_file}.tmp
11050 fi
11051
11052 if test x"$enablestring" = xdisable; then
11053 if test $wxUSE_CHECKLST = yes; then
11054 result=no
11055 else
11056 result=yes
11057 fi
11058 else
11059 result=$wxUSE_CHECKLST
11060 fi
11061
11062 { echo "$as_me:$LINENO: result: $result" >&5
11063 echo "${ECHO_T}$result" >&6; }
11064
11065
11066 enablestring=
11067 defaultval=$wxUSE_ALL_FEATURES
11068 if test -z "$defaultval"; then
11069 if test x"$enablestring" = xdisable; then
11070 defaultval=yes
11071 else
11072 defaultval=no
11073 fi
11074 fi
11075
11076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11077 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11078 no_cache=0
11079 # Check whether --enable-choice was given.
11080 if test "${enable_choice+set}" = set; then
11081 enableval=$enable_choice;
11082 if test "$enableval" = yes; then
11083 wx_cv_use_choice='wxUSE_CHOICE=yes'
11084 else
11085 wx_cv_use_choice='wxUSE_CHOICE=no'
11086 fi
11087
11088 else
11089
11090 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11091 if test "x$LINE" != x ; then
11092 eval "DEFAULT_$LINE"
11093 else
11094 no_cache=1
11095 fi
11096
11097 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11098
11099 fi
11100
11101
11102 eval "$wx_cv_use_choice"
11103 if test "$no_cache" != 1; then
11104 echo $wx_cv_use_choice >> ${wx_arg_cache_file}.tmp
11105 fi
11106
11107 if test x"$enablestring" = xdisable; then
11108 if test $wxUSE_CHOICE = yes; then
11109 result=no
11110 else
11111 result=yes
11112 fi
11113 else
11114 result=$wxUSE_CHOICE
11115 fi
11116
11117 { echo "$as_me:$LINENO: result: $result" >&5
11118 echo "${ECHO_T}$result" >&6; }
11119
11120
11121 enablestring=
11122 defaultval=$wxUSE_ALL_FEATURES
11123 if test -z "$defaultval"; then
11124 if test x"$enablestring" = xdisable; then
11125 defaultval=yes
11126 else
11127 defaultval=no
11128 fi
11129 fi
11130
11131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11132 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11133 no_cache=0
11134 # Check whether --enable-choicebook was given.
11135 if test "${enable_choicebook+set}" = set; then
11136 enableval=$enable_choicebook;
11137 if test "$enableval" = yes; then
11138 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11139 else
11140 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11141 fi
11142
11143 else
11144
11145 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11146 if test "x$LINE" != x ; then
11147 eval "DEFAULT_$LINE"
11148 else
11149 no_cache=1
11150 fi
11151
11152 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11153
11154 fi
11155
11156
11157 eval "$wx_cv_use_choicebook"
11158 if test "$no_cache" != 1; then
11159 echo $wx_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
11160 fi
11161
11162 if test x"$enablestring" = xdisable; then
11163 if test $wxUSE_CHOICEBOOK = yes; then
11164 result=no
11165 else
11166 result=yes
11167 fi
11168 else
11169 result=$wxUSE_CHOICEBOOK
11170 fi
11171
11172 { echo "$as_me:$LINENO: result: $result" >&5
11173 echo "${ECHO_T}$result" >&6; }
11174
11175
11176 enablestring=
11177 defaultval=$wxUSE_ALL_FEATURES
11178 if test -z "$defaultval"; then
11179 if test x"$enablestring" = xdisable; then
11180 defaultval=yes
11181 else
11182 defaultval=no
11183 fi
11184 fi
11185
11186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11187 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11188 no_cache=0
11189 # Check whether --enable-collpane was given.
11190 if test "${enable_collpane+set}" = set; then
11191 enableval=$enable_collpane;
11192 if test "$enableval" = yes; then
11193 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11194 else
11195 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11196 fi
11197
11198 else
11199
11200 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11201 if test "x$LINE" != x ; then
11202 eval "DEFAULT_$LINE"
11203 else
11204 no_cache=1
11205 fi
11206
11207 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11208
11209 fi
11210
11211
11212 eval "$wx_cv_use_collpane"
11213 if test "$no_cache" != 1; then
11214 echo $wx_cv_use_collpane >> ${wx_arg_cache_file}.tmp
11215 fi
11216
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_COLLPANE = yes; then
11219 result=no
11220 else
11221 result=yes
11222 fi
11223 else
11224 result=$wxUSE_COLLPANE
11225 fi
11226
11227 { echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6; }
11229
11230
11231 enablestring=
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11235 defaultval=yes
11236 else
11237 defaultval=no
11238 fi
11239 fi
11240
11241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11243 no_cache=0
11244 # Check whether --enable-colourpicker was given.
11245 if test "${enable_colourpicker+set}" = set; then
11246 enableval=$enable_colourpicker;
11247 if test "$enableval" = yes; then
11248 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11249 else
11250 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11251 fi
11252
11253 else
11254
11255 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11256 if test "x$LINE" != x ; then
11257 eval "DEFAULT_$LINE"
11258 else
11259 no_cache=1
11260 fi
11261
11262 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11263
11264 fi
11265
11266
11267 eval "$wx_cv_use_colourpicker"
11268 if test "$no_cache" != 1; then
11269 echo $wx_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
11270 fi
11271
11272 if test x"$enablestring" = xdisable; then
11273 if test $wxUSE_COLOURPICKERCTRL = yes; then
11274 result=no
11275 else
11276 result=yes
11277 fi
11278 else
11279 result=$wxUSE_COLOURPICKERCTRL
11280 fi
11281
11282 { echo "$as_me:$LINENO: result: $result" >&5
11283 echo "${ECHO_T}$result" >&6; }
11284
11285
11286 enablestring=
11287 defaultval=$wxUSE_ALL_FEATURES
11288 if test -z "$defaultval"; then
11289 if test x"$enablestring" = xdisable; then
11290 defaultval=yes
11291 else
11292 defaultval=no
11293 fi
11294 fi
11295
11296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11297 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11298 no_cache=0
11299 # Check whether --enable-combobox was given.
11300 if test "${enable_combobox+set}" = set; then
11301 enableval=$enable_combobox;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11304 else
11305 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11306 fi
11307
11308 else
11309
11310 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11311 if test "x$LINE" != x ; then
11312 eval "DEFAULT_$LINE"
11313 else
11314 no_cache=1
11315 fi
11316
11317 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11318
11319 fi
11320
11321
11322 eval "$wx_cv_use_combobox"
11323 if test "$no_cache" != 1; then
11324 echo $wx_cv_use_combobox >> ${wx_arg_cache_file}.tmp
11325 fi
11326
11327 if test x"$enablestring" = xdisable; then
11328 if test $wxUSE_COMBOBOX = yes; then
11329 result=no
11330 else
11331 result=yes
11332 fi
11333 else
11334 result=$wxUSE_COMBOBOX
11335 fi
11336
11337 { echo "$as_me:$LINENO: result: $result" >&5
11338 echo "${ECHO_T}$result" >&6; }
11339
11340
11341 enablestring=
11342 defaultval=$wxUSE_ALL_FEATURES
11343 if test -z "$defaultval"; then
11344 if test x"$enablestring" = xdisable; then
11345 defaultval=yes
11346 else
11347 defaultval=no
11348 fi
11349 fi
11350
11351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11352 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11353 no_cache=0
11354 # Check whether --enable-comboctrl was given.
11355 if test "${enable_comboctrl+set}" = set; then
11356 enableval=$enable_comboctrl;
11357 if test "$enableval" = yes; then
11358 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11359 else
11360 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11361 fi
11362
11363 else
11364
11365 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11366 if test "x$LINE" != x ; then
11367 eval "DEFAULT_$LINE"
11368 else
11369 no_cache=1
11370 fi
11371
11372 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11373
11374 fi
11375
11376
11377 eval "$wx_cv_use_comboctrl"
11378 if test "$no_cache" != 1; then
11379 echo $wx_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
11380 fi
11381
11382 if test x"$enablestring" = xdisable; then
11383 if test $wxUSE_COMBOCTRL = yes; then
11384 result=no
11385 else
11386 result=yes
11387 fi
11388 else
11389 result=$wxUSE_COMBOCTRL
11390 fi
11391
11392 { echo "$as_me:$LINENO: result: $result" >&5
11393 echo "${ECHO_T}$result" >&6; }
11394
11395
11396 enablestring=
11397 defaultval=$wxUSE_ALL_FEATURES
11398 if test -z "$defaultval"; then
11399 if test x"$enablestring" = xdisable; then
11400 defaultval=yes
11401 else
11402 defaultval=no
11403 fi
11404 fi
11405
11406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11408 no_cache=0
11409 # Check whether --enable-datepick was given.
11410 if test "${enable_datepick+set}" = set; then
11411 enableval=$enable_datepick;
11412 if test "$enableval" = yes; then
11413 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11414 else
11415 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11416 fi
11417
11418 else
11419
11420 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11421 if test "x$LINE" != x ; then
11422 eval "DEFAULT_$LINE"
11423 else
11424 no_cache=1
11425 fi
11426
11427 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11428
11429 fi
11430
11431
11432 eval "$wx_cv_use_datepick"
11433 if test "$no_cache" != 1; then
11434 echo $wx_cv_use_datepick >> ${wx_arg_cache_file}.tmp
11435 fi
11436
11437 if test x"$enablestring" = xdisable; then
11438 if test $wxUSE_DATEPICKCTRL = yes; then
11439 result=no
11440 else
11441 result=yes
11442 fi
11443 else
11444 result=$wxUSE_DATEPICKCTRL
11445 fi
11446
11447 { echo "$as_me:$LINENO: result: $result" >&5
11448 echo "${ECHO_T}$result" >&6; }
11449
11450
11451 enablestring=
11452 defaultval=$wxUSE_ALL_FEATURES
11453 if test -z "$defaultval"; then
11454 if test x"$enablestring" = xdisable; then
11455 defaultval=yes
11456 else
11457 defaultval=no
11458 fi
11459 fi
11460
11461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11462 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11463 no_cache=0
11464 # Check whether --enable-dirpicker was given.
11465 if test "${enable_dirpicker+set}" = set; then
11466 enableval=$enable_dirpicker;
11467 if test "$enableval" = yes; then
11468 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11469 else
11470 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11471 fi
11472
11473 else
11474
11475 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11476 if test "x$LINE" != x ; then
11477 eval "DEFAULT_$LINE"
11478 else
11479 no_cache=1
11480 fi
11481
11482 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11483
11484 fi
11485
11486
11487 eval "$wx_cv_use_dirpicker"
11488 if test "$no_cache" != 1; then
11489 echo $wx_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
11490 fi
11491
11492 if test x"$enablestring" = xdisable; then
11493 if test $wxUSE_DIRPICKERCTRL = yes; then
11494 result=no
11495 else
11496 result=yes
11497 fi
11498 else
11499 result=$wxUSE_DIRPICKERCTRL
11500 fi
11501
11502 { echo "$as_me:$LINENO: result: $result" >&5
11503 echo "${ECHO_T}$result" >&6; }
11504
11505
11506 enablestring=
11507 defaultval=$wxUSE_ALL_FEATURES
11508 if test -z "$defaultval"; then
11509 if test x"$enablestring" = xdisable; then
11510 defaultval=yes
11511 else
11512 defaultval=no
11513 fi
11514 fi
11515
11516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11517 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11518 no_cache=0
11519 # Check whether --enable-display was given.
11520 if test "${enable_display+set}" = set; then
11521 enableval=$enable_display;
11522 if test "$enableval" = yes; then
11523 wx_cv_use_display='wxUSE_DISPLAY=yes'
11524 else
11525 wx_cv_use_display='wxUSE_DISPLAY=no'
11526 fi
11527
11528 else
11529
11530 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11531 if test "x$LINE" != x ; then
11532 eval "DEFAULT_$LINE"
11533 else
11534 no_cache=1
11535 fi
11536
11537 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11538
11539 fi
11540
11541
11542 eval "$wx_cv_use_display"
11543 if test "$no_cache" != 1; then
11544 echo $wx_cv_use_display >> ${wx_arg_cache_file}.tmp
11545 fi
11546
11547 if test x"$enablestring" = xdisable; then
11548 if test $wxUSE_DISPLAY = yes; then
11549 result=no
11550 else
11551 result=yes
11552 fi
11553 else
11554 result=$wxUSE_DISPLAY
11555 fi
11556
11557 { echo "$as_me:$LINENO: result: $result" >&5
11558 echo "${ECHO_T}$result" >&6; }
11559
11560
11561 enablestring=
11562 defaultval=$wxUSE_ALL_FEATURES
11563 if test -z "$defaultval"; then
11564 if test x"$enablestring" = xdisable; then
11565 defaultval=yes
11566 else
11567 defaultval=no
11568 fi
11569 fi
11570
11571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11572 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11573 no_cache=0
11574 # Check whether --enable-detect_sm was given.
11575 if test "${enable_detect_sm+set}" = set; then
11576 enableval=$enable_detect_sm;
11577 if test "$enableval" = yes; then
11578 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11579 else
11580 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11581 fi
11582
11583 else
11584
11585 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11586 if test "x$LINE" != x ; then
11587 eval "DEFAULT_$LINE"
11588 else
11589 no_cache=1
11590 fi
11591
11592 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11593
11594 fi
11595
11596
11597 eval "$wx_cv_use_detect_sm"
11598 if test "$no_cache" != 1; then
11599 echo $wx_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
11600 fi
11601
11602 if test x"$enablestring" = xdisable; then
11603 if test $wxUSE_DETECT_SM = yes; then
11604 result=no
11605 else
11606 result=yes
11607 fi
11608 else
11609 result=$wxUSE_DETECT_SM
11610 fi
11611
11612 { echo "$as_me:$LINENO: result: $result" >&5
11613 echo "${ECHO_T}$result" >&6; }
11614
11615
11616 enablestring=
11617 defaultval=$wxUSE_ALL_FEATURES
11618 if test -z "$defaultval"; then
11619 if test x"$enablestring" = xdisable; then
11620 defaultval=yes
11621 else
11622 defaultval=no
11623 fi
11624 fi
11625
11626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11627 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11628 no_cache=0
11629 # Check whether --enable-editablebox was given.
11630 if test "${enable_editablebox+set}" = set; then
11631 enableval=$enable_editablebox;
11632 if test "$enableval" = yes; then
11633 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11634 else
11635 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11636 fi
11637
11638 else
11639
11640 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11641 if test "x$LINE" != x ; then
11642 eval "DEFAULT_$LINE"
11643 else
11644 no_cache=1
11645 fi
11646
11647 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11648
11649 fi
11650
11651
11652 eval "$wx_cv_use_editablebox"
11653 if test "$no_cache" != 1; then
11654 echo $wx_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
11655 fi
11656
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_EDITABLELISTBOX = yes; then
11659 result=no
11660 else
11661 result=yes
11662 fi
11663 else
11664 result=$wxUSE_EDITABLELISTBOX
11665 fi
11666
11667 { echo "$as_me:$LINENO: result: $result" >&5
11668 echo "${ECHO_T}$result" >&6; }
11669
11670
11671 enablestring=
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11675 defaultval=yes
11676 else
11677 defaultval=no
11678 fi
11679 fi
11680
11681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11682 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11683 no_cache=0
11684 # Check whether --enable-filepicker was given.
11685 if test "${enable_filepicker+set}" = set; then
11686 enableval=$enable_filepicker;
11687 if test "$enableval" = yes; then
11688 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11689 else
11690 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11691 fi
11692
11693 else
11694
11695 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11696 if test "x$LINE" != x ; then
11697 eval "DEFAULT_$LINE"
11698 else
11699 no_cache=1
11700 fi
11701
11702 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11703
11704 fi
11705
11706
11707 eval "$wx_cv_use_filepicker"
11708 if test "$no_cache" != 1; then
11709 echo $wx_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
11710 fi
11711
11712 if test x"$enablestring" = xdisable; then
11713 if test $wxUSE_FILEPICKERCTRL = yes; then
11714 result=no
11715 else
11716 result=yes
11717 fi
11718 else
11719 result=$wxUSE_FILEPICKERCTRL
11720 fi
11721
11722 { echo "$as_me:$LINENO: result: $result" >&5
11723 echo "${ECHO_T}$result" >&6; }
11724
11725
11726 enablestring=
11727 defaultval=$wxUSE_ALL_FEATURES
11728 if test -z "$defaultval"; then
11729 if test x"$enablestring" = xdisable; then
11730 defaultval=yes
11731 else
11732 defaultval=no
11733 fi
11734 fi
11735
11736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11737 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11738 no_cache=0
11739 # Check whether --enable-fontpicker was given.
11740 if test "${enable_fontpicker+set}" = set; then
11741 enableval=$enable_fontpicker;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11744 else
11745 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11746 fi
11747
11748 else
11749
11750 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11751 if test "x$LINE" != x ; then
11752 eval "DEFAULT_$LINE"
11753 else
11754 no_cache=1
11755 fi
11756
11757 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11758
11759 fi
11760
11761
11762 eval "$wx_cv_use_fontpicker"
11763 if test "$no_cache" != 1; then
11764 echo $wx_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
11765 fi
11766
11767 if test x"$enablestring" = xdisable; then
11768 if test $wxUSE_FONTPICKERCTRL = yes; then
11769 result=no
11770 else
11771 result=yes
11772 fi
11773 else
11774 result=$wxUSE_FONTPICKERCTRL
11775 fi
11776
11777 { echo "$as_me:$LINENO: result: $result" >&5
11778 echo "${ECHO_T}$result" >&6; }
11779
11780
11781 enablestring=
11782 defaultval=$wxUSE_ALL_FEATURES
11783 if test -z "$defaultval"; then
11784 if test x"$enablestring" = xdisable; then
11785 defaultval=yes
11786 else
11787 defaultval=no
11788 fi
11789 fi
11790
11791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11792 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11793 no_cache=0
11794 # Check whether --enable-gauge was given.
11795 if test "${enable_gauge+set}" = set; then
11796 enableval=$enable_gauge;
11797 if test "$enableval" = yes; then
11798 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11799 else
11800 wx_cv_use_gauge='wxUSE_GAUGE=no'
11801 fi
11802
11803 else
11804
11805 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11806 if test "x$LINE" != x ; then
11807 eval "DEFAULT_$LINE"
11808 else
11809 no_cache=1
11810 fi
11811
11812 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11813
11814 fi
11815
11816
11817 eval "$wx_cv_use_gauge"
11818 if test "$no_cache" != 1; then
11819 echo $wx_cv_use_gauge >> ${wx_arg_cache_file}.tmp
11820 fi
11821
11822 if test x"$enablestring" = xdisable; then
11823 if test $wxUSE_GAUGE = yes; then
11824 result=no
11825 else
11826 result=yes
11827 fi
11828 else
11829 result=$wxUSE_GAUGE
11830 fi
11831
11832 { echo "$as_me:$LINENO: result: $result" >&5
11833 echo "${ECHO_T}$result" >&6; }
11834
11835
11836 enablestring=
11837 defaultval=$wxUSE_ALL_FEATURES
11838 if test -z "$defaultval"; then
11839 if test x"$enablestring" = xdisable; then
11840 defaultval=yes
11841 else
11842 defaultval=no
11843 fi
11844 fi
11845
11846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11847 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11848 no_cache=0
11849 # Check whether --enable-grid was given.
11850 if test "${enable_grid+set}" = set; then
11851 enableval=$enable_grid;
11852 if test "$enableval" = yes; then
11853 wx_cv_use_grid='wxUSE_GRID=yes'
11854 else
11855 wx_cv_use_grid='wxUSE_GRID=no'
11856 fi
11857
11858 else
11859
11860 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11861 if test "x$LINE" != x ; then
11862 eval "DEFAULT_$LINE"
11863 else
11864 no_cache=1
11865 fi
11866
11867 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11868
11869 fi
11870
11871
11872 eval "$wx_cv_use_grid"
11873 if test "$no_cache" != 1; then
11874 echo $wx_cv_use_grid >> ${wx_arg_cache_file}.tmp
11875 fi
11876
11877 if test x"$enablestring" = xdisable; then
11878 if test $wxUSE_GRID = yes; then
11879 result=no
11880 else
11881 result=yes
11882 fi
11883 else
11884 result=$wxUSE_GRID
11885 fi
11886
11887 { echo "$as_me:$LINENO: result: $result" >&5
11888 echo "${ECHO_T}$result" >&6; }
11889
11890
11891 enablestring=
11892 defaultval=$wxUSE_ALL_FEATURES
11893 if test -z "$defaultval"; then
11894 if test x"$enablestring" = xdisable; then
11895 defaultval=yes
11896 else
11897 defaultval=no
11898 fi
11899 fi
11900
11901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11902 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11903 no_cache=0
11904 # Check whether --enable-dataviewctrl was given.
11905 if test "${enable_dataviewctrl+set}" = set; then
11906 enableval=$enable_dataviewctrl;
11907 if test "$enableval" = yes; then
11908 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11909 else
11910 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11911 fi
11912
11913 else
11914
11915 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11916 if test "x$LINE" != x ; then
11917 eval "DEFAULT_$LINE"
11918 else
11919 no_cache=1
11920 fi
11921
11922 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11923
11924 fi
11925
11926
11927 eval "$wx_cv_use_dataviewctrl"
11928 if test "$no_cache" != 1; then
11929 echo $wx_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
11930 fi
11931
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_DATAVIEWCTRL = yes; then
11934 result=no
11935 else
11936 result=yes
11937 fi
11938 else
11939 result=$wxUSE_DATAVIEWCTRL
11940 fi
11941
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11944
11945
11946 enablestring=
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11950 defaultval=yes
11951 else
11952 defaultval=no
11953 fi
11954 fi
11955
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11958 no_cache=0
11959 # Check whether --enable-hyperlink was given.
11960 if test "${enable_hyperlink+set}" = set; then
11961 enableval=$enable_hyperlink;
11962 if test "$enableval" = yes; then
11963 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11964 else
11965 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11966 fi
11967
11968 else
11969
11970 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11971 if test "x$LINE" != x ; then
11972 eval "DEFAULT_$LINE"
11973 else
11974 no_cache=1
11975 fi
11976
11977 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11978
11979 fi
11980
11981
11982 eval "$wx_cv_use_hyperlink"
11983 if test "$no_cache" != 1; then
11984 echo $wx_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
11985 fi
11986
11987 if test x"$enablestring" = xdisable; then
11988 if test $wxUSE_HYPERLINKCTRL = yes; then
11989 result=no
11990 else
11991 result=yes
11992 fi
11993 else
11994 result=$wxUSE_HYPERLINKCTRL
11995 fi
11996
11997 { echo "$as_me:$LINENO: result: $result" >&5
11998 echo "${ECHO_T}$result" >&6; }
11999
12000
12001 enablestring=
12002 defaultval=$wxUSE_ALL_FEATURES
12003 if test -z "$defaultval"; then
12004 if test x"$enablestring" = xdisable; then
12005 defaultval=yes
12006 else
12007 defaultval=no
12008 fi
12009 fi
12010
12011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12012 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12013 no_cache=0
12014 # Check whether --enable-imaglist was given.
12015 if test "${enable_imaglist+set}" = set; then
12016 enableval=$enable_imaglist;
12017 if test "$enableval" = yes; then
12018 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12019 else
12020 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12021 fi
12022
12023 else
12024
12025 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12026 if test "x$LINE" != x ; then
12027 eval "DEFAULT_$LINE"
12028 else
12029 no_cache=1
12030 fi
12031
12032 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12033
12034 fi
12035
12036
12037 eval "$wx_cv_use_imaglist"
12038 if test "$no_cache" != 1; then
12039 echo $wx_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
12040 fi
12041
12042 if test x"$enablestring" = xdisable; then
12043 if test $wxUSE_IMAGLIST = yes; then
12044 result=no
12045 else
12046 result=yes
12047 fi
12048 else
12049 result=$wxUSE_IMAGLIST
12050 fi
12051
12052 { echo "$as_me:$LINENO: result: $result" >&5
12053 echo "${ECHO_T}$result" >&6; }
12054
12055
12056 enablestring=
12057 defaultval=$wxUSE_ALL_FEATURES
12058 if test -z "$defaultval"; then
12059 if test x"$enablestring" = xdisable; then
12060 defaultval=yes
12061 else
12062 defaultval=no
12063 fi
12064 fi
12065
12066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12067 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12068 no_cache=0
12069 # Check whether --enable-listbook was given.
12070 if test "${enable_listbook+set}" = set; then
12071 enableval=$enable_listbook;
12072 if test "$enableval" = yes; then
12073 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12074 else
12075 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12076 fi
12077
12078 else
12079
12080 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12081 if test "x$LINE" != x ; then
12082 eval "DEFAULT_$LINE"
12083 else
12084 no_cache=1
12085 fi
12086
12087 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12088
12089 fi
12090
12091
12092 eval "$wx_cv_use_listbook"
12093 if test "$no_cache" != 1; then
12094 echo $wx_cv_use_listbook >> ${wx_arg_cache_file}.tmp
12095 fi
12096
12097 if test x"$enablestring" = xdisable; then
12098 if test $wxUSE_LISTBOOK = yes; then
12099 result=no
12100 else
12101 result=yes
12102 fi
12103 else
12104 result=$wxUSE_LISTBOOK
12105 fi
12106
12107 { echo "$as_me:$LINENO: result: $result" >&5
12108 echo "${ECHO_T}$result" >&6; }
12109
12110
12111 enablestring=
12112 defaultval=$wxUSE_ALL_FEATURES
12113 if test -z "$defaultval"; then
12114 if test x"$enablestring" = xdisable; then
12115 defaultval=yes
12116 else
12117 defaultval=no
12118 fi
12119 fi
12120
12121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12122 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12123 no_cache=0
12124 # Check whether --enable-listbox was given.
12125 if test "${enable_listbox+set}" = set; then
12126 enableval=$enable_listbox;
12127 if test "$enableval" = yes; then
12128 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12129 else
12130 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12131 fi
12132
12133 else
12134
12135 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12136 if test "x$LINE" != x ; then
12137 eval "DEFAULT_$LINE"
12138 else
12139 no_cache=1
12140 fi
12141
12142 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12143
12144 fi
12145
12146
12147 eval "$wx_cv_use_listbox"
12148 if test "$no_cache" != 1; then
12149 echo $wx_cv_use_listbox >> ${wx_arg_cache_file}.tmp
12150 fi
12151
12152 if test x"$enablestring" = xdisable; then
12153 if test $wxUSE_LISTBOX = yes; then
12154 result=no
12155 else
12156 result=yes
12157 fi
12158 else
12159 result=$wxUSE_LISTBOX
12160 fi
12161
12162 { echo "$as_me:$LINENO: result: $result" >&5
12163 echo "${ECHO_T}$result" >&6; }
12164
12165
12166 enablestring=
12167 defaultval=$wxUSE_ALL_FEATURES
12168 if test -z "$defaultval"; then
12169 if test x"$enablestring" = xdisable; then
12170 defaultval=yes
12171 else
12172 defaultval=no
12173 fi
12174 fi
12175
12176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12177 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12178 no_cache=0
12179 # Check whether --enable-listctrl was given.
12180 if test "${enable_listctrl+set}" = set; then
12181 enableval=$enable_listctrl;
12182 if test "$enableval" = yes; then
12183 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12184 else
12185 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12186 fi
12187
12188 else
12189
12190 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12191 if test "x$LINE" != x ; then
12192 eval "DEFAULT_$LINE"
12193 else
12194 no_cache=1
12195 fi
12196
12197 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12198
12199 fi
12200
12201
12202 eval "$wx_cv_use_listctrl"
12203 if test "$no_cache" != 1; then
12204 echo $wx_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
12205 fi
12206
12207 if test x"$enablestring" = xdisable; then
12208 if test $wxUSE_LISTCTRL = yes; then
12209 result=no
12210 else
12211 result=yes
12212 fi
12213 else
12214 result=$wxUSE_LISTCTRL
12215 fi
12216
12217 { echo "$as_me:$LINENO: result: $result" >&5
12218 echo "${ECHO_T}$result" >&6; }
12219
12220
12221 enablestring=
12222 defaultval=$wxUSE_ALL_FEATURES
12223 if test -z "$defaultval"; then
12224 if test x"$enablestring" = xdisable; then
12225 defaultval=yes
12226 else
12227 defaultval=no
12228 fi
12229 fi
12230
12231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12232 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12233 no_cache=0
12234 # Check whether --enable-notebook was given.
12235 if test "${enable_notebook+set}" = set; then
12236 enableval=$enable_notebook;
12237 if test "$enableval" = yes; then
12238 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12239 else
12240 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12241 fi
12242
12243 else
12244
12245 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12246 if test "x$LINE" != x ; then
12247 eval "DEFAULT_$LINE"
12248 else
12249 no_cache=1
12250 fi
12251
12252 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12253
12254 fi
12255
12256
12257 eval "$wx_cv_use_notebook"
12258 if test "$no_cache" != 1; then
12259 echo $wx_cv_use_notebook >> ${wx_arg_cache_file}.tmp
12260 fi
12261
12262 if test x"$enablestring" = xdisable; then
12263 if test $wxUSE_NOTEBOOK = yes; then
12264 result=no
12265 else
12266 result=yes
12267 fi
12268 else
12269 result=$wxUSE_NOTEBOOK
12270 fi
12271
12272 { echo "$as_me:$LINENO: result: $result" >&5
12273 echo "${ECHO_T}$result" >&6; }
12274
12275
12276 enablestring=
12277 defaultval=$wxUSE_ALL_FEATURES
12278 if test -z "$defaultval"; then
12279 if test x"$enablestring" = xdisable; then
12280 defaultval=yes
12281 else
12282 defaultval=no
12283 fi
12284 fi
12285
12286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12287 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12288 no_cache=0
12289 # Check whether --enable-odcombobox was given.
12290 if test "${enable_odcombobox+set}" = set; then
12291 enableval=$enable_odcombobox;
12292 if test "$enableval" = yes; then
12293 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12294 else
12295 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12296 fi
12297
12298 else
12299
12300 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12301 if test "x$LINE" != x ; then
12302 eval "DEFAULT_$LINE"
12303 else
12304 no_cache=1
12305 fi
12306
12307 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12308
12309 fi
12310
12311
12312 eval "$wx_cv_use_odcombobox"
12313 if test "$no_cache" != 1; then
12314 echo $wx_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
12315 fi
12316
12317 if test x"$enablestring" = xdisable; then
12318 if test $wxUSE_ODCOMBOBOX = yes; then
12319 result=no
12320 else
12321 result=yes
12322 fi
12323 else
12324 result=$wxUSE_ODCOMBOBOX
12325 fi
12326
12327 { echo "$as_me:$LINENO: result: $result" >&5
12328 echo "${ECHO_T}$result" >&6; }
12329
12330
12331 enablestring=
12332 defaultval=$wxUSE_ALL_FEATURES
12333 if test -z "$defaultval"; then
12334 if test x"$enablestring" = xdisable; then
12335 defaultval=yes
12336 else
12337 defaultval=no
12338 fi
12339 fi
12340
12341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12342 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12343 no_cache=0
12344 # Check whether --enable-radiobox was given.
12345 if test "${enable_radiobox+set}" = set; then
12346 enableval=$enable_radiobox;
12347 if test "$enableval" = yes; then
12348 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12349 else
12350 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12351 fi
12352
12353 else
12354
12355 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12356 if test "x$LINE" != x ; then
12357 eval "DEFAULT_$LINE"
12358 else
12359 no_cache=1
12360 fi
12361
12362 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12363
12364 fi
12365
12366
12367 eval "$wx_cv_use_radiobox"
12368 if test "$no_cache" != 1; then
12369 echo $wx_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
12370 fi
12371
12372 if test x"$enablestring" = xdisable; then
12373 if test $wxUSE_RADIOBOX = yes; then
12374 result=no
12375 else
12376 result=yes
12377 fi
12378 else
12379 result=$wxUSE_RADIOBOX
12380 fi
12381
12382 { echo "$as_me:$LINENO: result: $result" >&5
12383 echo "${ECHO_T}$result" >&6; }
12384
12385
12386 enablestring=
12387 defaultval=$wxUSE_ALL_FEATURES
12388 if test -z "$defaultval"; then
12389 if test x"$enablestring" = xdisable; then
12390 defaultval=yes
12391 else
12392 defaultval=no
12393 fi
12394 fi
12395
12396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12397 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12398 no_cache=0
12399 # Check whether --enable-radiobtn was given.
12400 if test "${enable_radiobtn+set}" = set; then
12401 enableval=$enable_radiobtn;
12402 if test "$enableval" = yes; then
12403 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12404 else
12405 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12406 fi
12407
12408 else
12409
12410 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12411 if test "x$LINE" != x ; then
12412 eval "DEFAULT_$LINE"
12413 else
12414 no_cache=1
12415 fi
12416
12417 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12418
12419 fi
12420
12421
12422 eval "$wx_cv_use_radiobtn"
12423 if test "$no_cache" != 1; then
12424 echo $wx_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
12425 fi
12426
12427 if test x"$enablestring" = xdisable; then
12428 if test $wxUSE_RADIOBTN = yes; then
12429 result=no
12430 else
12431 result=yes
12432 fi
12433 else
12434 result=$wxUSE_RADIOBTN
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}-sash" >&5
12452 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12453 no_cache=0
12454 # Check whether --enable-sash was given.
12455 if test "${enable_sash+set}" = set; then
12456 enableval=$enable_sash;
12457 if test "$enableval" = yes; then
12458 wx_cv_use_sash='wxUSE_SASH=yes'
12459 else
12460 wx_cv_use_sash='wxUSE_SASH=no'
12461 fi
12462
12463 else
12464
12465 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12466 if test "x$LINE" != x ; then
12467 eval "DEFAULT_$LINE"
12468 else
12469 no_cache=1
12470 fi
12471
12472 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12473
12474 fi
12475
12476
12477 eval "$wx_cv_use_sash"
12478 if test "$no_cache" != 1; then
12479 echo $wx_cv_use_sash >> ${wx_arg_cache_file}.tmp
12480 fi
12481
12482 if test x"$enablestring" = xdisable; then
12483 if test $wxUSE_SASH = yes; then
12484 result=no
12485 else
12486 result=yes
12487 fi
12488 else
12489 result=$wxUSE_SASH
12490 fi
12491
12492 { echo "$as_me:$LINENO: result: $result" >&5
12493 echo "${ECHO_T}$result" >&6; }
12494
12495
12496 enablestring=
12497 defaultval=$wxUSE_ALL_FEATURES
12498 if test -z "$defaultval"; then
12499 if test x"$enablestring" = xdisable; then
12500 defaultval=yes
12501 else
12502 defaultval=no
12503 fi
12504 fi
12505
12506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12507 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12508 no_cache=0
12509 # Check whether --enable-scrollbar was given.
12510 if test "${enable_scrollbar+set}" = set; then
12511 enableval=$enable_scrollbar;
12512 if test "$enableval" = yes; then
12513 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12514 else
12515 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12516 fi
12517
12518 else
12519
12520 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12521 if test "x$LINE" != x ; then
12522 eval "DEFAULT_$LINE"
12523 else
12524 no_cache=1
12525 fi
12526
12527 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12528
12529 fi
12530
12531
12532 eval "$wx_cv_use_scrollbar"
12533 if test "$no_cache" != 1; then
12534 echo $wx_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
12535 fi
12536
12537 if test x"$enablestring" = xdisable; then
12538 if test $wxUSE_SCROLLBAR = yes; then
12539 result=no
12540 else
12541 result=yes
12542 fi
12543 else
12544 result=$wxUSE_SCROLLBAR
12545 fi
12546
12547 { echo "$as_me:$LINENO: result: $result" >&5
12548 echo "${ECHO_T}$result" >&6; }
12549
12550
12551 enablestring=
12552 defaultval=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x"$enablestring" = xdisable; then
12555 defaultval=yes
12556 else
12557 defaultval=no
12558 fi
12559 fi
12560
12561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12562 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12563 no_cache=0
12564 # Check whether --enable-searchctrl was given.
12565 if test "${enable_searchctrl+set}" = set; then
12566 enableval=$enable_searchctrl;
12567 if test "$enableval" = yes; then
12568 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12569 else
12570 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12571 fi
12572
12573 else
12574
12575 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12576 if test "x$LINE" != x ; then
12577 eval "DEFAULT_$LINE"
12578 else
12579 no_cache=1
12580 fi
12581
12582 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12583
12584 fi
12585
12586
12587 eval "$wx_cv_use_searchctrl"
12588 if test "$no_cache" != 1; then
12589 echo $wx_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
12590 fi
12591
12592 if test x"$enablestring" = xdisable; then
12593 if test $wxUSE_SEARCHCTRL = yes; then
12594 result=no
12595 else
12596 result=yes
12597 fi
12598 else
12599 result=$wxUSE_SEARCHCTRL
12600 fi
12601
12602 { echo "$as_me:$LINENO: result: $result" >&5
12603 echo "${ECHO_T}$result" >&6; }
12604
12605
12606 enablestring=
12607 defaultval=$wxUSE_ALL_FEATURES
12608 if test -z "$defaultval"; then
12609 if test x"$enablestring" = xdisable; then
12610 defaultval=yes
12611 else
12612 defaultval=no
12613 fi
12614 fi
12615
12616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12617 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12618 no_cache=0
12619 # Check whether --enable-slider was given.
12620 if test "${enable_slider+set}" = set; then
12621 enableval=$enable_slider;
12622 if test "$enableval" = yes; then
12623 wx_cv_use_slider='wxUSE_SLIDER=yes'
12624 else
12625 wx_cv_use_slider='wxUSE_SLIDER=no'
12626 fi
12627
12628 else
12629
12630 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12631 if test "x$LINE" != x ; then
12632 eval "DEFAULT_$LINE"
12633 else
12634 no_cache=1
12635 fi
12636
12637 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12638
12639 fi
12640
12641
12642 eval "$wx_cv_use_slider"
12643 if test "$no_cache" != 1; then
12644 echo $wx_cv_use_slider >> ${wx_arg_cache_file}.tmp
12645 fi
12646
12647 if test x"$enablestring" = xdisable; then
12648 if test $wxUSE_SLIDER = yes; then
12649 result=no
12650 else
12651 result=yes
12652 fi
12653 else
12654 result=$wxUSE_SLIDER
12655 fi
12656
12657 { echo "$as_me:$LINENO: result: $result" >&5
12658 echo "${ECHO_T}$result" >&6; }
12659
12660
12661 enablestring=
12662 defaultval=$wxUSE_ALL_FEATURES
12663 if test -z "$defaultval"; then
12664 if test x"$enablestring" = xdisable; then
12665 defaultval=yes
12666 else
12667 defaultval=no
12668 fi
12669 fi
12670
12671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12672 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12673 no_cache=0
12674 # Check whether --enable-spinbtn was given.
12675 if test "${enable_spinbtn+set}" = set; then
12676 enableval=$enable_spinbtn;
12677 if test "$enableval" = yes; then
12678 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12679 else
12680 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12681 fi
12682
12683 else
12684
12685 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12686 if test "x$LINE" != x ; then
12687 eval "DEFAULT_$LINE"
12688 else
12689 no_cache=1
12690 fi
12691
12692 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12693
12694 fi
12695
12696
12697 eval "$wx_cv_use_spinbtn"
12698 if test "$no_cache" != 1; then
12699 echo $wx_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
12700 fi
12701
12702 if test x"$enablestring" = xdisable; then
12703 if test $wxUSE_SPINBTN = yes; then
12704 result=no
12705 else
12706 result=yes
12707 fi
12708 else
12709 result=$wxUSE_SPINBTN
12710 fi
12711
12712 { echo "$as_me:$LINENO: result: $result" >&5
12713 echo "${ECHO_T}$result" >&6; }
12714
12715
12716 enablestring=
12717 defaultval=$wxUSE_ALL_FEATURES
12718 if test -z "$defaultval"; then
12719 if test x"$enablestring" = xdisable; then
12720 defaultval=yes
12721 else
12722 defaultval=no
12723 fi
12724 fi
12725
12726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12727 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12728 no_cache=0
12729 # Check whether --enable-spinctrl was given.
12730 if test "${enable_spinctrl+set}" = set; then
12731 enableval=$enable_spinctrl;
12732 if test "$enableval" = yes; then
12733 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12734 else
12735 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12736 fi
12737
12738 else
12739
12740 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12741 if test "x$LINE" != x ; then
12742 eval "DEFAULT_$LINE"
12743 else
12744 no_cache=1
12745 fi
12746
12747 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12748
12749 fi
12750
12751
12752 eval "$wx_cv_use_spinctrl"
12753 if test "$no_cache" != 1; then
12754 echo $wx_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
12755 fi
12756
12757 if test x"$enablestring" = xdisable; then
12758 if test $wxUSE_SPINCTRL = yes; then
12759 result=no
12760 else
12761 result=yes
12762 fi
12763 else
12764 result=$wxUSE_SPINCTRL
12765 fi
12766
12767 { echo "$as_me:$LINENO: result: $result" >&5
12768 echo "${ECHO_T}$result" >&6; }
12769
12770
12771 enablestring=
12772 defaultval=$wxUSE_ALL_FEATURES
12773 if test -z "$defaultval"; then
12774 if test x"$enablestring" = xdisable; then
12775 defaultval=yes
12776 else
12777 defaultval=no
12778 fi
12779 fi
12780
12781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12782 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12783 no_cache=0
12784 # Check whether --enable-splitter was given.
12785 if test "${enable_splitter+set}" = set; then
12786 enableval=$enable_splitter;
12787 if test "$enableval" = yes; then
12788 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12789 else
12790 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12791 fi
12792
12793 else
12794
12795 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12796 if test "x$LINE" != x ; then
12797 eval "DEFAULT_$LINE"
12798 else
12799 no_cache=1
12800 fi
12801
12802 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12803
12804 fi
12805
12806
12807 eval "$wx_cv_use_splitter"
12808 if test "$no_cache" != 1; then
12809 echo $wx_cv_use_splitter >> ${wx_arg_cache_file}.tmp
12810 fi
12811
12812 if test x"$enablestring" = xdisable; then
12813 if test $wxUSE_SPLITTER = yes; then
12814 result=no
12815 else
12816 result=yes
12817 fi
12818 else
12819 result=$wxUSE_SPLITTER
12820 fi
12821
12822 { echo "$as_me:$LINENO: result: $result" >&5
12823 echo "${ECHO_T}$result" >&6; }
12824
12825
12826 enablestring=
12827 defaultval=$wxUSE_ALL_FEATURES
12828 if test -z "$defaultval"; then
12829 if test x"$enablestring" = xdisable; then
12830 defaultval=yes
12831 else
12832 defaultval=no
12833 fi
12834 fi
12835
12836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12837 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12838 no_cache=0
12839 # Check whether --enable-statbmp was given.
12840 if test "${enable_statbmp+set}" = set; then
12841 enableval=$enable_statbmp;
12842 if test "$enableval" = yes; then
12843 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12844 else
12845 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12846 fi
12847
12848 else
12849
12850 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12851 if test "x$LINE" != x ; then
12852 eval "DEFAULT_$LINE"
12853 else
12854 no_cache=1
12855 fi
12856
12857 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12858
12859 fi
12860
12861
12862 eval "$wx_cv_use_statbmp"
12863 if test "$no_cache" != 1; then
12864 echo $wx_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
12865 fi
12866
12867 if test x"$enablestring" = xdisable; then
12868 if test $wxUSE_STATBMP = yes; then
12869 result=no
12870 else
12871 result=yes
12872 fi
12873 else
12874 result=$wxUSE_STATBMP
12875 fi
12876
12877 { echo "$as_me:$LINENO: result: $result" >&5
12878 echo "${ECHO_T}$result" >&6; }
12879
12880
12881 enablestring=
12882 defaultval=$wxUSE_ALL_FEATURES
12883 if test -z "$defaultval"; then
12884 if test x"$enablestring" = xdisable; then
12885 defaultval=yes
12886 else
12887 defaultval=no
12888 fi
12889 fi
12890
12891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12892 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12893 no_cache=0
12894 # Check whether --enable-statbox was given.
12895 if test "${enable_statbox+set}" = set; then
12896 enableval=$enable_statbox;
12897 if test "$enableval" = yes; then
12898 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12899 else
12900 wx_cv_use_statbox='wxUSE_STATBOX=no'
12901 fi
12902
12903 else
12904
12905 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12906 if test "x$LINE" != x ; then
12907 eval "DEFAULT_$LINE"
12908 else
12909 no_cache=1
12910 fi
12911
12912 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12913
12914 fi
12915
12916
12917 eval "$wx_cv_use_statbox"
12918 if test "$no_cache" != 1; then
12919 echo $wx_cv_use_statbox >> ${wx_arg_cache_file}.tmp
12920 fi
12921
12922 if test x"$enablestring" = xdisable; then
12923 if test $wxUSE_STATBOX = yes; then
12924 result=no
12925 else
12926 result=yes
12927 fi
12928 else
12929 result=$wxUSE_STATBOX
12930 fi
12931
12932 { echo "$as_me:$LINENO: result: $result" >&5
12933 echo "${ECHO_T}$result" >&6; }
12934
12935
12936 enablestring=
12937 defaultval=$wxUSE_ALL_FEATURES
12938 if test -z "$defaultval"; then
12939 if test x"$enablestring" = xdisable; then
12940 defaultval=yes
12941 else
12942 defaultval=no
12943 fi
12944 fi
12945
12946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12947 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12948 no_cache=0
12949 # Check whether --enable-statline was given.
12950 if test "${enable_statline+set}" = set; then
12951 enableval=$enable_statline;
12952 if test "$enableval" = yes; then
12953 wx_cv_use_statline='wxUSE_STATLINE=yes'
12954 else
12955 wx_cv_use_statline='wxUSE_STATLINE=no'
12956 fi
12957
12958 else
12959
12960 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12961 if test "x$LINE" != x ; then
12962 eval "DEFAULT_$LINE"
12963 else
12964 no_cache=1
12965 fi
12966
12967 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12968
12969 fi
12970
12971
12972 eval "$wx_cv_use_statline"
12973 if test "$no_cache" != 1; then
12974 echo $wx_cv_use_statline >> ${wx_arg_cache_file}.tmp
12975 fi
12976
12977 if test x"$enablestring" = xdisable; then
12978 if test $wxUSE_STATLINE = yes; then
12979 result=no
12980 else
12981 result=yes
12982 fi
12983 else
12984 result=$wxUSE_STATLINE
12985 fi
12986
12987 { echo "$as_me:$LINENO: result: $result" >&5
12988 echo "${ECHO_T}$result" >&6; }
12989
12990
12991 enablestring=
12992 defaultval=$wxUSE_ALL_FEATURES
12993 if test -z "$defaultval"; then
12994 if test x"$enablestring" = xdisable; then
12995 defaultval=yes
12996 else
12997 defaultval=no
12998 fi
12999 fi
13000
13001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13002 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13003 no_cache=0
13004 # Check whether --enable-stattext was given.
13005 if test "${enable_stattext+set}" = set; then
13006 enableval=$enable_stattext;
13007 if test "$enableval" = yes; then
13008 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13009 else
13010 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13011 fi
13012
13013 else
13014
13015 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13016 if test "x$LINE" != x ; then
13017 eval "DEFAULT_$LINE"
13018 else
13019 no_cache=1
13020 fi
13021
13022 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13023
13024 fi
13025
13026
13027 eval "$wx_cv_use_stattext"
13028 if test "$no_cache" != 1; then
13029 echo $wx_cv_use_stattext >> ${wx_arg_cache_file}.tmp
13030 fi
13031
13032 if test x"$enablestring" = xdisable; then
13033 if test $wxUSE_STATTEXT = yes; then
13034 result=no
13035 else
13036 result=yes
13037 fi
13038 else
13039 result=$wxUSE_STATTEXT
13040 fi
13041
13042 { echo "$as_me:$LINENO: result: $result" >&5
13043 echo "${ECHO_T}$result" >&6; }
13044
13045
13046 enablestring=
13047 defaultval=$wxUSE_ALL_FEATURES
13048 if test -z "$defaultval"; then
13049 if test x"$enablestring" = xdisable; then
13050 defaultval=yes
13051 else
13052 defaultval=no
13053 fi
13054 fi
13055
13056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13057 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13058 no_cache=0
13059 # Check whether --enable-statusbar was given.
13060 if test "${enable_statusbar+set}" = set; then
13061 enableval=$enable_statusbar;
13062 if test "$enableval" = yes; then
13063 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13064 else
13065 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13066 fi
13067
13068 else
13069
13070 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13071 if test "x$LINE" != x ; then
13072 eval "DEFAULT_$LINE"
13073 else
13074 no_cache=1
13075 fi
13076
13077 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13078
13079 fi
13080
13081
13082 eval "$wx_cv_use_statusbar"
13083 if test "$no_cache" != 1; then
13084 echo $wx_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
13085 fi
13086
13087 if test x"$enablestring" = xdisable; then
13088 if test $wxUSE_STATUSBAR = yes; then
13089 result=no
13090 else
13091 result=yes
13092 fi
13093 else
13094 result=$wxUSE_STATUSBAR
13095 fi
13096
13097 { echo "$as_me:$LINENO: result: $result" >&5
13098 echo "${ECHO_T}$result" >&6; }
13099
13100
13101 enablestring=
13102 defaultval=$wxUSE_ALL_FEATURES
13103 if test -z "$defaultval"; then
13104 if test x"$enablestring" = xdisable; then
13105 defaultval=yes
13106 else
13107 defaultval=no
13108 fi
13109 fi
13110
13111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13112 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13113 no_cache=0
13114 # Check whether --enable-tabdialog was given.
13115 if test "${enable_tabdialog+set}" = set; then
13116 enableval=$enable_tabdialog;
13117 if test "$enableval" = yes; then
13118 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13119 else
13120 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13121 fi
13122
13123 else
13124
13125 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13126 if test "x$LINE" != x ; then
13127 eval "DEFAULT_$LINE"
13128 else
13129 no_cache=1
13130 fi
13131
13132 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13133
13134 fi
13135
13136
13137 eval "$wx_cv_use_tabdialog"
13138 if test "$no_cache" != 1; then
13139 echo $wx_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
13140 fi
13141
13142 if test x"$enablestring" = xdisable; then
13143 if test $wxUSE_TAB_DIALOG = yes; then
13144 result=no
13145 else
13146 result=yes
13147 fi
13148 else
13149 result=$wxUSE_TAB_DIALOG
13150 fi
13151
13152 { echo "$as_me:$LINENO: result: $result" >&5
13153 echo "${ECHO_T}$result" >&6; }
13154
13155
13156 enablestring=
13157 defaultval=$wxUSE_ALL_FEATURES
13158 if test -z "$defaultval"; then
13159 if test x"$enablestring" = xdisable; then
13160 defaultval=yes
13161 else
13162 defaultval=no
13163 fi
13164 fi
13165
13166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13167 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13168 no_cache=0
13169 # Check whether --enable-taskbaricon was given.
13170 if test "${enable_taskbaricon+set}" = set; then
13171 enableval=$enable_taskbaricon;
13172 if test "$enableval" = yes; then
13173 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13174 else
13175 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13176 fi
13177
13178 else
13179
13180 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13181 if test "x$LINE" != x ; then
13182 eval "DEFAULT_$LINE"
13183 else
13184 no_cache=1
13185 fi
13186
13187 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13188
13189 fi
13190
13191
13192 eval "$wx_cv_use_taskbaricon"
13193 if test "$no_cache" != 1; then
13194 echo $wx_cv_use_taskbaricon >> ${wx_arg_cache_file}.tmp
13195 fi
13196
13197 if test x"$enablestring" = xdisable; then
13198 if test $wxUSE_TASKBARICON = yes; then
13199 result=no
13200 else
13201 result=yes
13202 fi
13203 else
13204 result=$wxUSE_TASKBARICON
13205 fi
13206
13207 { echo "$as_me:$LINENO: result: $result" >&5
13208 echo "${ECHO_T}$result" >&6; }
13209
13210
13211 enablestring=
13212 defaultval=$wxUSE_ALL_FEATURES
13213 if test -z "$defaultval"; then
13214 if test x"$enablestring" = xdisable; then
13215 defaultval=yes
13216 else
13217 defaultval=no
13218 fi
13219 fi
13220
13221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13222 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13223 no_cache=0
13224 # Check whether --enable-textctrl was given.
13225 if test "${enable_textctrl+set}" = set; then
13226 enableval=$enable_textctrl;
13227 if test "$enableval" = yes; then
13228 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13229 else
13230 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13231 fi
13232
13233 else
13234
13235 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13236 if test "x$LINE" != x ; then
13237 eval "DEFAULT_$LINE"
13238 else
13239 no_cache=1
13240 fi
13241
13242 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13243
13244 fi
13245
13246
13247 eval "$wx_cv_use_textctrl"
13248 if test "$no_cache" != 1; then
13249 echo $wx_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
13250 fi
13251
13252 if test x"$enablestring" = xdisable; then
13253 if test $wxUSE_TEXTCTRL = yes; then
13254 result=no
13255 else
13256 result=yes
13257 fi
13258 else
13259 result=$wxUSE_TEXTCTRL
13260 fi
13261
13262 { echo "$as_me:$LINENO: result: $result" >&5
13263 echo "${ECHO_T}$result" >&6; }
13264
13265
13266 enablestring=
13267 defaultval=$wxUSE_ALL_FEATURES
13268 if test -z "$defaultval"; then
13269 if test x"$enablestring" = xdisable; then
13270 defaultval=yes
13271 else
13272 defaultval=no
13273 fi
13274 fi
13275
13276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13277 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13278 no_cache=0
13279 # Check whether --enable-togglebtn was given.
13280 if test "${enable_togglebtn+set}" = set; then
13281 enableval=$enable_togglebtn;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13284 else
13285 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13286 fi
13287
13288 else
13289
13290 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13291 if test "x$LINE" != x ; then
13292 eval "DEFAULT_$LINE"
13293 else
13294 no_cache=1
13295 fi
13296
13297 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13298
13299 fi
13300
13301
13302 eval "$wx_cv_use_togglebtn"
13303 if test "$no_cache" != 1; then
13304 echo $wx_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
13305 fi
13306
13307 if test x"$enablestring" = xdisable; then
13308 if test $wxUSE_TOGGLEBTN = yes; then
13309 result=no
13310 else
13311 result=yes
13312 fi
13313 else
13314 result=$wxUSE_TOGGLEBTN
13315 fi
13316
13317 { echo "$as_me:$LINENO: result: $result" >&5
13318 echo "${ECHO_T}$result" >&6; }
13319
13320
13321 enablestring=
13322 defaultval=$wxUSE_ALL_FEATURES
13323 if test -z "$defaultval"; then
13324 if test x"$enablestring" = xdisable; then
13325 defaultval=yes
13326 else
13327 defaultval=no
13328 fi
13329 fi
13330
13331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13332 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13333 no_cache=0
13334 # Check whether --enable-toolbar was given.
13335 if test "${enable_toolbar+set}" = set; then
13336 enableval=$enable_toolbar;
13337 if test "$enableval" = yes; then
13338 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13339 else
13340 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13341 fi
13342
13343 else
13344
13345 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13346 if test "x$LINE" != x ; then
13347 eval "DEFAULT_$LINE"
13348 else
13349 no_cache=1
13350 fi
13351
13352 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13353
13354 fi
13355
13356
13357 eval "$wx_cv_use_toolbar"
13358 if test "$no_cache" != 1; then
13359 echo $wx_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
13360 fi
13361
13362 if test x"$enablestring" = xdisable; then
13363 if test $wxUSE_TOOLBAR = yes; then
13364 result=no
13365 else
13366 result=yes
13367 fi
13368 else
13369 result=$wxUSE_TOOLBAR
13370 fi
13371
13372 { echo "$as_me:$LINENO: result: $result" >&5
13373 echo "${ECHO_T}$result" >&6; }
13374
13375
13376 enablestring=
13377 defaultval=$wxUSE_ALL_FEATURES
13378 if test -z "$defaultval"; then
13379 if test x"$enablestring" = xdisable; then
13380 defaultval=yes
13381 else
13382 defaultval=no
13383 fi
13384 fi
13385
13386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13387 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13388 no_cache=0
13389 # Check whether --enable-tbarnative was given.
13390 if test "${enable_tbarnative+set}" = set; then
13391 enableval=$enable_tbarnative;
13392 if test "$enableval" = yes; then
13393 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13394 else
13395 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13396 fi
13397
13398 else
13399
13400 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13401 if test "x$LINE" != x ; then
13402 eval "DEFAULT_$LINE"
13403 else
13404 no_cache=1
13405 fi
13406
13407 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13408
13409 fi
13410
13411
13412 eval "$wx_cv_use_tbarnative"
13413 if test "$no_cache" != 1; then
13414 echo $wx_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
13415 fi
13416
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13419 result=no
13420 else
13421 result=yes
13422 fi
13423 else
13424 result=$wxUSE_TOOLBAR_NATIVE
13425 fi
13426
13427 { echo "$as_me:$LINENO: result: $result" >&5
13428 echo "${ECHO_T}$result" >&6; }
13429
13430
13431 enablestring=
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13435 defaultval=yes
13436 else
13437 defaultval=no
13438 fi
13439 fi
13440
13441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13442 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13443 no_cache=0
13444 # Check whether --enable-treebook was given.
13445 if test "${enable_treebook+set}" = set; then
13446 enableval=$enable_treebook;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13449 else
13450 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13451 fi
13452
13453 else
13454
13455 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13456 if test "x$LINE" != x ; then
13457 eval "DEFAULT_$LINE"
13458 else
13459 no_cache=1
13460 fi
13461
13462 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13463
13464 fi
13465
13466
13467 eval "$wx_cv_use_treebook"
13468 if test "$no_cache" != 1; then
13469 echo $wx_cv_use_treebook >> ${wx_arg_cache_file}.tmp
13470 fi
13471
13472 if test x"$enablestring" = xdisable; then
13473 if test $wxUSE_TREEBOOK = yes; then
13474 result=no
13475 else
13476 result=yes
13477 fi
13478 else
13479 result=$wxUSE_TREEBOOK
13480 fi
13481
13482 { echo "$as_me:$LINENO: result: $result" >&5
13483 echo "${ECHO_T}$result" >&6; }
13484
13485
13486 enablestring=
13487 defaultval=$wxUSE_ALL_FEATURES
13488 if test -z "$defaultval"; then
13489 if test x"$enablestring" = xdisable; then
13490 defaultval=yes
13491 else
13492 defaultval=no
13493 fi
13494 fi
13495
13496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13497 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13498 no_cache=0
13499 # Check whether --enable-toolbook was given.
13500 if test "${enable_toolbook+set}" = set; then
13501 enableval=$enable_toolbook;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13504 else
13505 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13506 fi
13507
13508 else
13509
13510 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13511 if test "x$LINE" != x ; then
13512 eval "DEFAULT_$LINE"
13513 else
13514 no_cache=1
13515 fi
13516
13517 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13518
13519 fi
13520
13521
13522 eval "$wx_cv_use_toolbook"
13523 if test "$no_cache" != 1; then
13524 echo $wx_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
13525 fi
13526
13527 if test x"$enablestring" = xdisable; then
13528 if test $wxUSE_TOOLBOOK = yes; then
13529 result=no
13530 else
13531 result=yes
13532 fi
13533 else
13534 result=$wxUSE_TOOLBOOK
13535 fi
13536
13537 { echo "$as_me:$LINENO: result: $result" >&5
13538 echo "${ECHO_T}$result" >&6; }
13539
13540
13541 enablestring=
13542 defaultval=$wxUSE_ALL_FEATURES
13543 if test -z "$defaultval"; then
13544 if test x"$enablestring" = xdisable; then
13545 defaultval=yes
13546 else
13547 defaultval=no
13548 fi
13549 fi
13550
13551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13552 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13553 no_cache=0
13554 # Check whether --enable-treectrl was given.
13555 if test "${enable_treectrl+set}" = set; then
13556 enableval=$enable_treectrl;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13559 else
13560 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13561 fi
13562
13563 else
13564
13565 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13566 if test "x$LINE" != x ; then
13567 eval "DEFAULT_$LINE"
13568 else
13569 no_cache=1
13570 fi
13571
13572 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13573
13574 fi
13575
13576
13577 eval "$wx_cv_use_treectrl"
13578 if test "$no_cache" != 1; then
13579 echo $wx_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
13580 fi
13581
13582 if test x"$enablestring" = xdisable; then
13583 if test $wxUSE_TREECTRL = yes; then
13584 result=no
13585 else
13586 result=yes
13587 fi
13588 else
13589 result=$wxUSE_TREECTRL
13590 fi
13591
13592 { echo "$as_me:$LINENO: result: $result" >&5
13593 echo "${ECHO_T}$result" >&6; }
13594
13595
13596 enablestring=
13597 defaultval=$wxUSE_ALL_FEATURES
13598 if test -z "$defaultval"; then
13599 if test x"$enablestring" = xdisable; then
13600 defaultval=yes
13601 else
13602 defaultval=no
13603 fi
13604 fi
13605
13606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13607 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13608 no_cache=0
13609 # Check whether --enable-tipwindow was given.
13610 if test "${enable_tipwindow+set}" = set; then
13611 enableval=$enable_tipwindow;
13612 if test "$enableval" = yes; then
13613 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13614 else
13615 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13616 fi
13617
13618 else
13619
13620 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13621 if test "x$LINE" != x ; then
13622 eval "DEFAULT_$LINE"
13623 else
13624 no_cache=1
13625 fi
13626
13627 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13628
13629 fi
13630
13631
13632 eval "$wx_cv_use_tipwindow"
13633 if test "$no_cache" != 1; then
13634 echo $wx_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
13635 fi
13636
13637 if test x"$enablestring" = xdisable; then
13638 if test $wxUSE_TIPWINDOW = yes; then
13639 result=no
13640 else
13641 result=yes
13642 fi
13643 else
13644 result=$wxUSE_TIPWINDOW
13645 fi
13646
13647 { echo "$as_me:$LINENO: result: $result" >&5
13648 echo "${ECHO_T}$result" >&6; }
13649
13650
13651 enablestring=
13652 defaultval=$wxUSE_ALL_FEATURES
13653 if test -z "$defaultval"; then
13654 if test x"$enablestring" = xdisable; then
13655 defaultval=yes
13656 else
13657 defaultval=no
13658 fi
13659 fi
13660
13661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13662 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13663 no_cache=0
13664 # Check whether --enable-popupwin was given.
13665 if test "${enable_popupwin+set}" = set; then
13666 enableval=$enable_popupwin;
13667 if test "$enableval" = yes; then
13668 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13669 else
13670 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13671 fi
13672
13673 else
13674
13675 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13676 if test "x$LINE" != x ; then
13677 eval "DEFAULT_$LINE"
13678 else
13679 no_cache=1
13680 fi
13681
13682 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13683
13684 fi
13685
13686
13687 eval "$wx_cv_use_popupwin"
13688 if test "$no_cache" != 1; then
13689 echo $wx_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
13690 fi
13691
13692 if test x"$enablestring" = xdisable; then
13693 if test $wxUSE_POPUPWIN = yes; then
13694 result=no
13695 else
13696 result=yes
13697 fi
13698 else
13699 result=$wxUSE_POPUPWIN
13700 fi
13701
13702 { echo "$as_me:$LINENO: result: $result" >&5
13703 echo "${ECHO_T}$result" >&6; }
13704
13705
13706
13707
13708 enablestring=
13709 defaultval=$wxUSE_ALL_FEATURES
13710 if test -z "$defaultval"; then
13711 if test x"$enablestring" = xdisable; then
13712 defaultval=yes
13713 else
13714 defaultval=no
13715 fi
13716 fi
13717
13718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13719 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13720 no_cache=0
13721 # Check whether --enable-commondlg was given.
13722 if test "${enable_commondlg+set}" = set; then
13723 enableval=$enable_commondlg;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13726 else
13727 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13728 fi
13729
13730 else
13731
13732 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13733 if test "x$LINE" != x ; then
13734 eval "DEFAULT_$LINE"
13735 else
13736 no_cache=1
13737 fi
13738
13739 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13740
13741 fi
13742
13743
13744 eval "$wx_cv_use_commondlg"
13745 if test "$no_cache" != 1; then
13746 echo $wx_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
13747 fi
13748
13749 if test x"$enablestring" = xdisable; then
13750 if test $wxUSE_COMMONDLGS = yes; then
13751 result=no
13752 else
13753 result=yes
13754 fi
13755 else
13756 result=$wxUSE_COMMONDLGS
13757 fi
13758
13759 { echo "$as_me:$LINENO: result: $result" >&5
13760 echo "${ECHO_T}$result" >&6; }
13761
13762
13763 enablestring=
13764 defaultval=$wxUSE_ALL_FEATURES
13765 if test -z "$defaultval"; then
13766 if test x"$enablestring" = xdisable; then
13767 defaultval=yes
13768 else
13769 defaultval=no
13770 fi
13771 fi
13772
13773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13774 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13775 no_cache=0
13776 # Check whether --enable-aboutdlg was given.
13777 if test "${enable_aboutdlg+set}" = set; then
13778 enableval=$enable_aboutdlg;
13779 if test "$enableval" = yes; then
13780 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13781 else
13782 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13783 fi
13784
13785 else
13786
13787 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13788 if test "x$LINE" != x ; then
13789 eval "DEFAULT_$LINE"
13790 else
13791 no_cache=1
13792 fi
13793
13794 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13795
13796 fi
13797
13798
13799 eval "$wx_cv_use_aboutdlg"
13800 if test "$no_cache" != 1; then
13801 echo $wx_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
13802 fi
13803
13804 if test x"$enablestring" = xdisable; then
13805 if test $wxUSE_ABOUTDLG = yes; then
13806 result=no
13807 else
13808 result=yes
13809 fi
13810 else
13811 result=$wxUSE_ABOUTDLG
13812 fi
13813
13814 { echo "$as_me:$LINENO: result: $result" >&5
13815 echo "${ECHO_T}$result" >&6; }
13816
13817
13818 enablestring=
13819 defaultval=$wxUSE_ALL_FEATURES
13820 if test -z "$defaultval"; then
13821 if test x"$enablestring" = xdisable; then
13822 defaultval=yes
13823 else
13824 defaultval=no
13825 fi
13826 fi
13827
13828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13829 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13830 no_cache=0
13831 # Check whether --enable-choicedlg was given.
13832 if test "${enable_choicedlg+set}" = set; then
13833 enableval=$enable_choicedlg;
13834 if test "$enableval" = yes; then
13835 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13836 else
13837 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13838 fi
13839
13840 else
13841
13842 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13843 if test "x$LINE" != x ; then
13844 eval "DEFAULT_$LINE"
13845 else
13846 no_cache=1
13847 fi
13848
13849 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13850
13851 fi
13852
13853
13854 eval "$wx_cv_use_choicedlg"
13855 if test "$no_cache" != 1; then
13856 echo $wx_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
13857 fi
13858
13859 if test x"$enablestring" = xdisable; then
13860 if test $wxUSE_CHOICEDLG = yes; then
13861 result=no
13862 else
13863 result=yes
13864 fi
13865 else
13866 result=$wxUSE_CHOICEDLG
13867 fi
13868
13869 { echo "$as_me:$LINENO: result: $result" >&5
13870 echo "${ECHO_T}$result" >&6; }
13871
13872
13873 enablestring=
13874 defaultval=$wxUSE_ALL_FEATURES
13875 if test -z "$defaultval"; then
13876 if test x"$enablestring" = xdisable; then
13877 defaultval=yes
13878 else
13879 defaultval=no
13880 fi
13881 fi
13882
13883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13884 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13885 no_cache=0
13886 # Check whether --enable-coldlg was given.
13887 if test "${enable_coldlg+set}" = set; then
13888 enableval=$enable_coldlg;
13889 if test "$enableval" = yes; then
13890 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13891 else
13892 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13893 fi
13894
13895 else
13896
13897 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13898 if test "x$LINE" != x ; then
13899 eval "DEFAULT_$LINE"
13900 else
13901 no_cache=1
13902 fi
13903
13904 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13905
13906 fi
13907
13908
13909 eval "$wx_cv_use_coldlg"
13910 if test "$no_cache" != 1; then
13911 echo $wx_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
13912 fi
13913
13914 if test x"$enablestring" = xdisable; then
13915 if test $wxUSE_COLOURDLG = yes; then
13916 result=no
13917 else
13918 result=yes
13919 fi
13920 else
13921 result=$wxUSE_COLOURDLG
13922 fi
13923
13924 { echo "$as_me:$LINENO: result: $result" >&5
13925 echo "${ECHO_T}$result" >&6; }
13926
13927
13928 enablestring=
13929 defaultval=$wxUSE_ALL_FEATURES
13930 if test -z "$defaultval"; then
13931 if test x"$enablestring" = xdisable; then
13932 defaultval=yes
13933 else
13934 defaultval=no
13935 fi
13936 fi
13937
13938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13939 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13940 no_cache=0
13941 # Check whether --enable-filedlg was given.
13942 if test "${enable_filedlg+set}" = set; then
13943 enableval=$enable_filedlg;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13946 else
13947 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13948 fi
13949
13950 else
13951
13952 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13953 if test "x$LINE" != x ; then
13954 eval "DEFAULT_$LINE"
13955 else
13956 no_cache=1
13957 fi
13958
13959 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13960
13961 fi
13962
13963
13964 eval "$wx_cv_use_filedlg"
13965 if test "$no_cache" != 1; then
13966 echo $wx_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
13967 fi
13968
13969 if test x"$enablestring" = xdisable; then
13970 if test $wxUSE_FILEDLG = yes; then
13971 result=no
13972 else
13973 result=yes
13974 fi
13975 else
13976 result=$wxUSE_FILEDLG
13977 fi
13978
13979 { echo "$as_me:$LINENO: result: $result" >&5
13980 echo "${ECHO_T}$result" >&6; }
13981
13982
13983 enablestring=
13984 defaultval=$wxUSE_ALL_FEATURES
13985 if test -z "$defaultval"; then
13986 if test x"$enablestring" = xdisable; then
13987 defaultval=yes
13988 else
13989 defaultval=no
13990 fi
13991 fi
13992
13993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13994 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13995 no_cache=0
13996 # Check whether --enable-finddlg was given.
13997 if test "${enable_finddlg+set}" = set; then
13998 enableval=$enable_finddlg;
13999 if test "$enableval" = yes; then
14000 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14001 else
14002 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14003 fi
14004
14005 else
14006
14007 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14008 if test "x$LINE" != x ; then
14009 eval "DEFAULT_$LINE"
14010 else
14011 no_cache=1
14012 fi
14013
14014 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14015
14016 fi
14017
14018
14019 eval "$wx_cv_use_finddlg"
14020 if test "$no_cache" != 1; then
14021 echo $wx_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
14022 fi
14023
14024 if test x"$enablestring" = xdisable; then
14025 if test $wxUSE_FINDREPLDLG = yes; then
14026 result=no
14027 else
14028 result=yes
14029 fi
14030 else
14031 result=$wxUSE_FINDREPLDLG
14032 fi
14033
14034 { echo "$as_me:$LINENO: result: $result" >&5
14035 echo "${ECHO_T}$result" >&6; }
14036
14037
14038 enablestring=
14039 defaultval=$wxUSE_ALL_FEATURES
14040 if test -z "$defaultval"; then
14041 if test x"$enablestring" = xdisable; then
14042 defaultval=yes
14043 else
14044 defaultval=no
14045 fi
14046 fi
14047
14048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14049 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14050 no_cache=0
14051 # Check whether --enable-fontdlg was given.
14052 if test "${enable_fontdlg+set}" = set; then
14053 enableval=$enable_fontdlg;
14054 if test "$enableval" = yes; then
14055 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14056 else
14057 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14058 fi
14059
14060 else
14061
14062 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14063 if test "x$LINE" != x ; then
14064 eval "DEFAULT_$LINE"
14065 else
14066 no_cache=1
14067 fi
14068
14069 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14070
14071 fi
14072
14073
14074 eval "$wx_cv_use_fontdlg"
14075 if test "$no_cache" != 1; then
14076 echo $wx_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
14077 fi
14078
14079 if test x"$enablestring" = xdisable; then
14080 if test $wxUSE_FONTDLG = yes; then
14081 result=no
14082 else
14083 result=yes
14084 fi
14085 else
14086 result=$wxUSE_FONTDLG
14087 fi
14088
14089 { echo "$as_me:$LINENO: result: $result" >&5
14090 echo "${ECHO_T}$result" >&6; }
14091
14092
14093 enablestring=
14094 defaultval=$wxUSE_ALL_FEATURES
14095 if test -z "$defaultval"; then
14096 if test x"$enablestring" = xdisable; then
14097 defaultval=yes
14098 else
14099 defaultval=no
14100 fi
14101 fi
14102
14103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14104 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14105 no_cache=0
14106 # Check whether --enable-dirdlg was given.
14107 if test "${enable_dirdlg+set}" = set; then
14108 enableval=$enable_dirdlg;
14109 if test "$enableval" = yes; then
14110 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14111 else
14112 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14113 fi
14114
14115 else
14116
14117 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14118 if test "x$LINE" != x ; then
14119 eval "DEFAULT_$LINE"
14120 else
14121 no_cache=1
14122 fi
14123
14124 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14125
14126 fi
14127
14128
14129 eval "$wx_cv_use_dirdlg"
14130 if test "$no_cache" != 1; then
14131 echo $wx_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
14132 fi
14133
14134 if test x"$enablestring" = xdisable; then
14135 if test $wxUSE_DIRDLG = yes; then
14136 result=no
14137 else
14138 result=yes
14139 fi
14140 else
14141 result=$wxUSE_DIRDLG
14142 fi
14143
14144 { echo "$as_me:$LINENO: result: $result" >&5
14145 echo "${ECHO_T}$result" >&6; }
14146
14147
14148 enablestring=
14149 defaultval=$wxUSE_ALL_FEATURES
14150 if test -z "$defaultval"; then
14151 if test x"$enablestring" = xdisable; then
14152 defaultval=yes
14153 else
14154 defaultval=no
14155 fi
14156 fi
14157
14158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14159 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14160 no_cache=0
14161 # Check whether --enable-msgdlg was given.
14162 if test "${enable_msgdlg+set}" = set; then
14163 enableval=$enable_msgdlg;
14164 if test "$enableval" = yes; then
14165 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14166 else
14167 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14168 fi
14169
14170 else
14171
14172 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14173 if test "x$LINE" != x ; then
14174 eval "DEFAULT_$LINE"
14175 else
14176 no_cache=1
14177 fi
14178
14179 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14180
14181 fi
14182
14183
14184 eval "$wx_cv_use_msgdlg"
14185 if test "$no_cache" != 1; then
14186 echo $wx_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
14187 fi
14188
14189 if test x"$enablestring" = xdisable; then
14190 if test $wxUSE_MSGDLG = yes; then
14191 result=no
14192 else
14193 result=yes
14194 fi
14195 else
14196 result=$wxUSE_MSGDLG
14197 fi
14198
14199 { echo "$as_me:$LINENO: result: $result" >&5
14200 echo "${ECHO_T}$result" >&6; }
14201
14202
14203 enablestring=
14204 defaultval=$wxUSE_ALL_FEATURES
14205 if test -z "$defaultval"; then
14206 if test x"$enablestring" = xdisable; then
14207 defaultval=yes
14208 else
14209 defaultval=no
14210 fi
14211 fi
14212
14213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14214 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14215 no_cache=0
14216 # Check whether --enable-numberdlg was given.
14217 if test "${enable_numberdlg+set}" = set; then
14218 enableval=$enable_numberdlg;
14219 if test "$enableval" = yes; then
14220 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14221 else
14222 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14223 fi
14224
14225 else
14226
14227 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14228 if test "x$LINE" != x ; then
14229 eval "DEFAULT_$LINE"
14230 else
14231 no_cache=1
14232 fi
14233
14234 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14235
14236 fi
14237
14238
14239 eval "$wx_cv_use_numberdlg"
14240 if test "$no_cache" != 1; then
14241 echo $wx_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
14242 fi
14243
14244 if test x"$enablestring" = xdisable; then
14245 if test $wxUSE_NUMBERDLG = yes; then
14246 result=no
14247 else
14248 result=yes
14249 fi
14250 else
14251 result=$wxUSE_NUMBERDLG
14252 fi
14253
14254 { echo "$as_me:$LINENO: result: $result" >&5
14255 echo "${ECHO_T}$result" >&6; }
14256
14257
14258 enablestring=
14259 defaultval=$wxUSE_ALL_FEATURES
14260 if test -z "$defaultval"; then
14261 if test x"$enablestring" = xdisable; then
14262 defaultval=yes
14263 else
14264 defaultval=no
14265 fi
14266 fi
14267
14268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14269 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14270 no_cache=0
14271 # Check whether --enable-splash was given.
14272 if test "${enable_splash+set}" = set; then
14273 enableval=$enable_splash;
14274 if test "$enableval" = yes; then
14275 wx_cv_use_splash='wxUSE_SPLASH=yes'
14276 else
14277 wx_cv_use_splash='wxUSE_SPLASH=no'
14278 fi
14279
14280 else
14281
14282 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14283 if test "x$LINE" != x ; then
14284 eval "DEFAULT_$LINE"
14285 else
14286 no_cache=1
14287 fi
14288
14289 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14290
14291 fi
14292
14293
14294 eval "$wx_cv_use_splash"
14295 if test "$no_cache" != 1; then
14296 echo $wx_cv_use_splash >> ${wx_arg_cache_file}.tmp
14297 fi
14298
14299 if test x"$enablestring" = xdisable; then
14300 if test $wxUSE_SPLASH = yes; then
14301 result=no
14302 else
14303 result=yes
14304 fi
14305 else
14306 result=$wxUSE_SPLASH
14307 fi
14308
14309 { echo "$as_me:$LINENO: result: $result" >&5
14310 echo "${ECHO_T}$result" >&6; }
14311
14312
14313 enablestring=
14314 defaultval=$wxUSE_ALL_FEATURES
14315 if test -z "$defaultval"; then
14316 if test x"$enablestring" = xdisable; then
14317 defaultval=yes
14318 else
14319 defaultval=no
14320 fi
14321 fi
14322
14323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14324 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14325 no_cache=0
14326 # Check whether --enable-textdlg was given.
14327 if test "${enable_textdlg+set}" = set; then
14328 enableval=$enable_textdlg;
14329 if test "$enableval" = yes; then
14330 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14331 else
14332 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14333 fi
14334
14335 else
14336
14337 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14338 if test "x$LINE" != x ; then
14339 eval "DEFAULT_$LINE"
14340 else
14341 no_cache=1
14342 fi
14343
14344 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14345
14346 fi
14347
14348
14349 eval "$wx_cv_use_textdlg"
14350 if test "$no_cache" != 1; then
14351 echo $wx_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
14352 fi
14353
14354 if test x"$enablestring" = xdisable; then
14355 if test $wxUSE_TEXTDLG = yes; then
14356 result=no
14357 else
14358 result=yes
14359 fi
14360 else
14361 result=$wxUSE_TEXTDLG
14362 fi
14363
14364 { echo "$as_me:$LINENO: result: $result" >&5
14365 echo "${ECHO_T}$result" >&6; }
14366
14367
14368 enablestring=
14369 defaultval=$wxUSE_ALL_FEATURES
14370 if test -z "$defaultval"; then
14371 if test x"$enablestring" = xdisable; then
14372 defaultval=yes
14373 else
14374 defaultval=no
14375 fi
14376 fi
14377
14378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14379 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14380 no_cache=0
14381 # Check whether --enable-tipdlg was given.
14382 if test "${enable_tipdlg+set}" = set; then
14383 enableval=$enable_tipdlg;
14384 if test "$enableval" = yes; then
14385 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14386 else
14387 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14388 fi
14389
14390 else
14391
14392 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14393 if test "x$LINE" != x ; then
14394 eval "DEFAULT_$LINE"
14395 else
14396 no_cache=1
14397 fi
14398
14399 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14400
14401 fi
14402
14403
14404 eval "$wx_cv_use_tipdlg"
14405 if test "$no_cache" != 1; then
14406 echo $wx_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
14407 fi
14408
14409 if test x"$enablestring" = xdisable; then
14410 if test $wxUSE_STARTUP_TIPS = yes; then
14411 result=no
14412 else
14413 result=yes
14414 fi
14415 else
14416 result=$wxUSE_STARTUP_TIPS
14417 fi
14418
14419 { echo "$as_me:$LINENO: result: $result" >&5
14420 echo "${ECHO_T}$result" >&6; }
14421
14422
14423 enablestring=
14424 defaultval=$wxUSE_ALL_FEATURES
14425 if test -z "$defaultval"; then
14426 if test x"$enablestring" = xdisable; then
14427 defaultval=yes
14428 else
14429 defaultval=no
14430 fi
14431 fi
14432
14433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14434 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14435 no_cache=0
14436 # Check whether --enable-progressdlg was given.
14437 if test "${enable_progressdlg+set}" = set; then
14438 enableval=$enable_progressdlg;
14439 if test "$enableval" = yes; then
14440 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14441 else
14442 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14443 fi
14444
14445 else
14446
14447 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14448 if test "x$LINE" != x ; then
14449 eval "DEFAULT_$LINE"
14450 else
14451 no_cache=1
14452 fi
14453
14454 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14455
14456 fi
14457
14458
14459 eval "$wx_cv_use_progressdlg"
14460 if test "$no_cache" != 1; then
14461 echo $wx_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
14462 fi
14463
14464 if test x"$enablestring" = xdisable; then
14465 if test $wxUSE_PROGRESSDLG = yes; then
14466 result=no
14467 else
14468 result=yes
14469 fi
14470 else
14471 result=$wxUSE_PROGRESSDLG
14472 fi
14473
14474 { echo "$as_me:$LINENO: result: $result" >&5
14475 echo "${ECHO_T}$result" >&6; }
14476
14477
14478 enablestring=
14479 defaultval=$wxUSE_ALL_FEATURES
14480 if test -z "$defaultval"; then
14481 if test x"$enablestring" = xdisable; then
14482 defaultval=yes
14483 else
14484 defaultval=no
14485 fi
14486 fi
14487
14488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14489 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14490 no_cache=0
14491 # Check whether --enable-wizarddlg was given.
14492 if test "${enable_wizarddlg+set}" = set; then
14493 enableval=$enable_wizarddlg;
14494 if test "$enableval" = yes; then
14495 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14496 else
14497 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14498 fi
14499
14500 else
14501
14502 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14503 if test "x$LINE" != x ; then
14504 eval "DEFAULT_$LINE"
14505 else
14506 no_cache=1
14507 fi
14508
14509 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14510
14511 fi
14512
14513
14514 eval "$wx_cv_use_wizarddlg"
14515 if test "$no_cache" != 1; then
14516 echo $wx_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
14517 fi
14518
14519 if test x"$enablestring" = xdisable; then
14520 if test $wxUSE_WIZARDDLG = yes; then
14521 result=no
14522 else
14523 result=yes
14524 fi
14525 else
14526 result=$wxUSE_WIZARDDLG
14527 fi
14528
14529 { echo "$as_me:$LINENO: result: $result" >&5
14530 echo "${ECHO_T}$result" >&6; }
14531
14532
14533
14534
14535 enablestring=
14536 defaultval=$wxUSE_ALL_FEATURES
14537 if test -z "$defaultval"; then
14538 if test x"$enablestring" = xdisable; then
14539 defaultval=yes
14540 else
14541 defaultval=no
14542 fi
14543 fi
14544
14545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14546 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14547 no_cache=0
14548 # Check whether --enable-menus was given.
14549 if test "${enable_menus+set}" = set; then
14550 enableval=$enable_menus;
14551 if test "$enableval" = yes; then
14552 wx_cv_use_menus='wxUSE_MENUS=yes'
14553 else
14554 wx_cv_use_menus='wxUSE_MENUS=no'
14555 fi
14556
14557 else
14558
14559 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14560 if test "x$LINE" != x ; then
14561 eval "DEFAULT_$LINE"
14562 else
14563 no_cache=1
14564 fi
14565
14566 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14567
14568 fi
14569
14570
14571 eval "$wx_cv_use_menus"
14572 if test "$no_cache" != 1; then
14573 echo $wx_cv_use_menus >> ${wx_arg_cache_file}.tmp
14574 fi
14575
14576 if test x"$enablestring" = xdisable; then
14577 if test $wxUSE_MENUS = yes; then
14578 result=no
14579 else
14580 result=yes
14581 fi
14582 else
14583 result=$wxUSE_MENUS
14584 fi
14585
14586 { echo "$as_me:$LINENO: result: $result" >&5
14587 echo "${ECHO_T}$result" >&6; }
14588
14589
14590 enablestring=
14591 defaultval=$wxUSE_ALL_FEATURES
14592 if test -z "$defaultval"; then
14593 if test x"$enablestring" = xdisable; then
14594 defaultval=yes
14595 else
14596 defaultval=no
14597 fi
14598 fi
14599
14600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14601 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14602 no_cache=0
14603 # Check whether --enable-miniframe was given.
14604 if test "${enable_miniframe+set}" = set; then
14605 enableval=$enable_miniframe;
14606 if test "$enableval" = yes; then
14607 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14608 else
14609 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14610 fi
14611
14612 else
14613
14614 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14615 if test "x$LINE" != x ; then
14616 eval "DEFAULT_$LINE"
14617 else
14618 no_cache=1
14619 fi
14620
14621 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14622
14623 fi
14624
14625
14626 eval "$wx_cv_use_miniframe"
14627 if test "$no_cache" != 1; then
14628 echo $wx_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
14629 fi
14630
14631 if test x"$enablestring" = xdisable; then
14632 if test $wxUSE_MINIFRAME = yes; then
14633 result=no
14634 else
14635 result=yes
14636 fi
14637 else
14638 result=$wxUSE_MINIFRAME
14639 fi
14640
14641 { echo "$as_me:$LINENO: result: $result" >&5
14642 echo "${ECHO_T}$result" >&6; }
14643
14644
14645 enablestring=
14646 defaultval=$wxUSE_ALL_FEATURES
14647 if test -z "$defaultval"; then
14648 if test x"$enablestring" = xdisable; then
14649 defaultval=yes
14650 else
14651 defaultval=no
14652 fi
14653 fi
14654
14655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14656 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14657 no_cache=0
14658 # Check whether --enable-tooltips was given.
14659 if test "${enable_tooltips+set}" = set; then
14660 enableval=$enable_tooltips;
14661 if test "$enableval" = yes; then
14662 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14663 else
14664 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14665 fi
14666
14667 else
14668
14669 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14670 if test "x$LINE" != x ; then
14671 eval "DEFAULT_$LINE"
14672 else
14673 no_cache=1
14674 fi
14675
14676 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14677
14678 fi
14679
14680
14681 eval "$wx_cv_use_tooltips"
14682 if test "$no_cache" != 1; then
14683 echo $wx_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
14684 fi
14685
14686 if test x"$enablestring" = xdisable; then
14687 if test $wxUSE_TOOLTIPS = yes; then
14688 result=no
14689 else
14690 result=yes
14691 fi
14692 else
14693 result=$wxUSE_TOOLTIPS
14694 fi
14695
14696 { echo "$as_me:$LINENO: result: $result" >&5
14697 echo "${ECHO_T}$result" >&6; }
14698
14699
14700 enablestring=
14701 defaultval=$wxUSE_ALL_FEATURES
14702 if test -z "$defaultval"; then
14703 if test x"$enablestring" = xdisable; then
14704 defaultval=yes
14705 else
14706 defaultval=no
14707 fi
14708 fi
14709
14710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14711 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14712 no_cache=0
14713 # Check whether --enable-splines was given.
14714 if test "${enable_splines+set}" = set; then
14715 enableval=$enable_splines;
14716 if test "$enableval" = yes; then
14717 wx_cv_use_splines='wxUSE_SPLINES=yes'
14718 else
14719 wx_cv_use_splines='wxUSE_SPLINES=no'
14720 fi
14721
14722 else
14723
14724 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14725 if test "x$LINE" != x ; then
14726 eval "DEFAULT_$LINE"
14727 else
14728 no_cache=1
14729 fi
14730
14731 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14732
14733 fi
14734
14735
14736 eval "$wx_cv_use_splines"
14737 if test "$no_cache" != 1; then
14738 echo $wx_cv_use_splines >> ${wx_arg_cache_file}.tmp
14739 fi
14740
14741 if test x"$enablestring" = xdisable; then
14742 if test $wxUSE_SPLINES = yes; then
14743 result=no
14744 else
14745 result=yes
14746 fi
14747 else
14748 result=$wxUSE_SPLINES
14749 fi
14750
14751 { echo "$as_me:$LINENO: result: $result" >&5
14752 echo "${ECHO_T}$result" >&6; }
14753
14754
14755 enablestring=
14756 defaultval=$wxUSE_ALL_FEATURES
14757 if test -z "$defaultval"; then
14758 if test x"$enablestring" = xdisable; then
14759 defaultval=yes
14760 else
14761 defaultval=no
14762 fi
14763 fi
14764
14765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14766 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14767 no_cache=0
14768 # Check whether --enable-mousewheel was given.
14769 if test "${enable_mousewheel+set}" = set; then
14770 enableval=$enable_mousewheel;
14771 if test "$enableval" = yes; then
14772 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14773 else
14774 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14775 fi
14776
14777 else
14778
14779 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14780 if test "x$LINE" != x ; then
14781 eval "DEFAULT_$LINE"
14782 else
14783 no_cache=1
14784 fi
14785
14786 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14787
14788 fi
14789
14790
14791 eval "$wx_cv_use_mousewheel"
14792 if test "$no_cache" != 1; then
14793 echo $wx_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
14794 fi
14795
14796 if test x"$enablestring" = xdisable; then
14797 if test $wxUSE_MOUSEWHEEL = yes; then
14798 result=no
14799 else
14800 result=yes
14801 fi
14802 else
14803 result=$wxUSE_MOUSEWHEEL
14804 fi
14805
14806 { echo "$as_me:$LINENO: result: $result" >&5
14807 echo "${ECHO_T}$result" >&6; }
14808
14809
14810 enablestring=
14811 defaultval=$wxUSE_ALL_FEATURES
14812 if test -z "$defaultval"; then
14813 if test x"$enablestring" = xdisable; then
14814 defaultval=yes
14815 else
14816 defaultval=no
14817 fi
14818 fi
14819
14820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14821 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14822 no_cache=0
14823 # Check whether --enable-validators was given.
14824 if test "${enable_validators+set}" = set; then
14825 enableval=$enable_validators;
14826 if test "$enableval" = yes; then
14827 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14828 else
14829 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14830 fi
14831
14832 else
14833
14834 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14835 if test "x$LINE" != x ; then
14836 eval "DEFAULT_$LINE"
14837 else
14838 no_cache=1
14839 fi
14840
14841 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14842
14843 fi
14844
14845
14846 eval "$wx_cv_use_validators"
14847 if test "$no_cache" != 1; then
14848 echo $wx_cv_use_validators >> ${wx_arg_cache_file}.tmp
14849 fi
14850
14851 if test x"$enablestring" = xdisable; then
14852 if test $wxUSE_VALIDATORS = yes; then
14853 result=no
14854 else
14855 result=yes
14856 fi
14857 else
14858 result=$wxUSE_VALIDATORS
14859 fi
14860
14861 { echo "$as_me:$LINENO: result: $result" >&5
14862 echo "${ECHO_T}$result" >&6; }
14863
14864
14865 enablestring=
14866 defaultval=$wxUSE_ALL_FEATURES
14867 if test -z "$defaultval"; then
14868 if test x"$enablestring" = xdisable; then
14869 defaultval=yes
14870 else
14871 defaultval=no
14872 fi
14873 fi
14874
14875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14876 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14877 no_cache=0
14878 # Check whether --enable-busyinfo was given.
14879 if test "${enable_busyinfo+set}" = set; then
14880 enableval=$enable_busyinfo;
14881 if test "$enableval" = yes; then
14882 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14883 else
14884 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14885 fi
14886
14887 else
14888
14889 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14890 if test "x$LINE" != x ; then
14891 eval "DEFAULT_$LINE"
14892 else
14893 no_cache=1
14894 fi
14895
14896 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14897
14898 fi
14899
14900
14901 eval "$wx_cv_use_busyinfo"
14902 if test "$no_cache" != 1; then
14903 echo $wx_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
14904 fi
14905
14906 if test x"$enablestring" = xdisable; then
14907 if test $wxUSE_BUSYINFO = yes; then
14908 result=no
14909 else
14910 result=yes
14911 fi
14912 else
14913 result=$wxUSE_BUSYINFO
14914 fi
14915
14916 { echo "$as_me:$LINENO: result: $result" >&5
14917 echo "${ECHO_T}$result" >&6; }
14918
14919
14920 enablestring=
14921 defaultval=$wxUSE_ALL_FEATURES
14922 if test -z "$defaultval"; then
14923 if test x"$enablestring" = xdisable; then
14924 defaultval=yes
14925 else
14926 defaultval=no
14927 fi
14928 fi
14929
14930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14931 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14932 no_cache=0
14933 # Check whether --enable-joystick was given.
14934 if test "${enable_joystick+set}" = set; then
14935 enableval=$enable_joystick;
14936 if test "$enableval" = yes; then
14937 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14938 else
14939 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14940 fi
14941
14942 else
14943
14944 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14945 if test "x$LINE" != x ; then
14946 eval "DEFAULT_$LINE"
14947 else
14948 no_cache=1
14949 fi
14950
14951 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14952
14953 fi
14954
14955
14956 eval "$wx_cv_use_joystick"
14957 if test "$no_cache" != 1; then
14958 echo $wx_cv_use_joystick >> ${wx_arg_cache_file}.tmp
14959 fi
14960
14961 if test x"$enablestring" = xdisable; then
14962 if test $wxUSE_JOYSTICK = yes; then
14963 result=no
14964 else
14965 result=yes
14966 fi
14967 else
14968 result=$wxUSE_JOYSTICK
14969 fi
14970
14971 { echo "$as_me:$LINENO: result: $result" >&5
14972 echo "${ECHO_T}$result" >&6; }
14973
14974
14975 enablestring=
14976 defaultval=$wxUSE_ALL_FEATURES
14977 if test -z "$defaultval"; then
14978 if test x"$enablestring" = xdisable; then
14979 defaultval=yes
14980 else
14981 defaultval=no
14982 fi
14983 fi
14984
14985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14986 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14987 no_cache=0
14988 # Check whether --enable-metafile was given.
14989 if test "${enable_metafile+set}" = set; then
14990 enableval=$enable_metafile;
14991 if test "$enableval" = yes; then
14992 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14993 else
14994 wx_cv_use_metafile='wxUSE_METAFILE=no'
14995 fi
14996
14997 else
14998
14999 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15000 if test "x$LINE" != x ; then
15001 eval "DEFAULT_$LINE"
15002 else
15003 no_cache=1
15004 fi
15005
15006 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15007
15008 fi
15009
15010
15011 eval "$wx_cv_use_metafile"
15012 if test "$no_cache" != 1; then
15013 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
15014 fi
15015
15016 if test x"$enablestring" = xdisable; then
15017 if test $wxUSE_METAFILE = yes; then
15018 result=no
15019 else
15020 result=yes
15021 fi
15022 else
15023 result=$wxUSE_METAFILE
15024 fi
15025
15026 { echo "$as_me:$LINENO: result: $result" >&5
15027 echo "${ECHO_T}$result" >&6; }
15028
15029
15030 enablestring=
15031 defaultval=$wxUSE_ALL_FEATURES
15032 if test -z "$defaultval"; then
15033 if test x"$enablestring" = xdisable; then
15034 defaultval=yes
15035 else
15036 defaultval=no
15037 fi
15038 fi
15039
15040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15041 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15042 no_cache=0
15043 # Check whether --enable-dragimage was given.
15044 if test "${enable_dragimage+set}" = set; then
15045 enableval=$enable_dragimage;
15046 if test "$enableval" = yes; then
15047 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15048 else
15049 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15050 fi
15051
15052 else
15053
15054 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15055 if test "x$LINE" != x ; then
15056 eval "DEFAULT_$LINE"
15057 else
15058 no_cache=1
15059 fi
15060
15061 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15062
15063 fi
15064
15065
15066 eval "$wx_cv_use_dragimage"
15067 if test "$no_cache" != 1; then
15068 echo $wx_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
15069 fi
15070
15071 if test x"$enablestring" = xdisable; then
15072 if test $wxUSE_DRAGIMAGE = yes; then
15073 result=no
15074 else
15075 result=yes
15076 fi
15077 else
15078 result=$wxUSE_DRAGIMAGE
15079 fi
15080
15081 { echo "$as_me:$LINENO: result: $result" >&5
15082 echo "${ECHO_T}$result" >&6; }
15083
15084
15085 enablestring=
15086 defaultval=$wxUSE_ALL_FEATURES
15087 if test -z "$defaultval"; then
15088 if test x"$enablestring" = xdisable; then
15089 defaultval=yes
15090 else
15091 defaultval=no
15092 fi
15093 fi
15094
15095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15096 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15097 no_cache=0
15098 # Check whether --enable-accessibility was given.
15099 if test "${enable_accessibility+set}" = set; then
15100 enableval=$enable_accessibility;
15101 if test "$enableval" = yes; then
15102 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15103 else
15104 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15105 fi
15106
15107 else
15108
15109 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15110 if test "x$LINE" != x ; then
15111 eval "DEFAULT_$LINE"
15112 else
15113 no_cache=1
15114 fi
15115
15116 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15117
15118 fi
15119
15120
15121 eval "$wx_cv_use_accessibility"
15122 if test "$no_cache" != 1; then
15123 echo $wx_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
15124 fi
15125
15126 if test x"$enablestring" = xdisable; then
15127 if test $wxUSE_ACCESSIBILITY = yes; then
15128 result=no
15129 else
15130 result=yes
15131 fi
15132 else
15133 result=$wxUSE_ACCESSIBILITY
15134 fi
15135
15136 { echo "$as_me:$LINENO: result: $result" >&5
15137 echo "${ECHO_T}$result" >&6; }
15138
15139
15140 if test "$wxUSE_MSW" = "1"; then
15141
15142 enablestring=
15143 defaultval=$wxUSE_ALL_FEATURES
15144 if test -z "$defaultval"; then
15145 if test x"$enablestring" = xdisable; then
15146 defaultval=yes
15147 else
15148 defaultval=no
15149 fi
15150 fi
15151
15152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15153 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15154 no_cache=0
15155 # Check whether --enable-dccache was given.
15156 if test "${enable_dccache+set}" = set; then
15157 enableval=$enable_dccache;
15158 if test "$enableval" = yes; then
15159 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15160 else
15161 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15162 fi
15163
15164 else
15165
15166 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15167 if test "x$LINE" != x ; then
15168 eval "DEFAULT_$LINE"
15169 else
15170 no_cache=1
15171 fi
15172
15173 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15174
15175 fi
15176
15177
15178 eval "$wx_cv_use_dccache"
15179 if test "$no_cache" != 1; then
15180 echo $wx_cv_use_dccache >> ${wx_arg_cache_file}.tmp
15181 fi
15182
15183 if test x"$enablestring" = xdisable; then
15184 if test $wxUSE_DC_CACHEING = yes; then
15185 result=no
15186 else
15187 result=yes
15188 fi
15189 else
15190 result=$wxUSE_DC_CACHEING
15191 fi
15192
15193 { echo "$as_me:$LINENO: result: $result" >&5
15194 echo "${ECHO_T}$result" >&6; }
15195
15196 fi
15197
15198
15199
15200 enablestring=
15201 defaultval=$wxUSE_ALL_FEATURES
15202 if test -z "$defaultval"; then
15203 if test x"$enablestring" = xdisable; then
15204 defaultval=yes
15205 else
15206 defaultval=no
15207 fi
15208 fi
15209
15210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15211 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15212 no_cache=0
15213 # Check whether --enable-palette was given.
15214 if test "${enable_palette+set}" = set; then
15215 enableval=$enable_palette;
15216 if test "$enableval" = yes; then
15217 wx_cv_use_palette='wxUSE_PALETTE=yes'
15218 else
15219 wx_cv_use_palette='wxUSE_PALETTE=no'
15220 fi
15221
15222 else
15223
15224 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15225 if test "x$LINE" != x ; then
15226 eval "DEFAULT_$LINE"
15227 else
15228 no_cache=1
15229 fi
15230
15231 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15232
15233 fi
15234
15235
15236 eval "$wx_cv_use_palette"
15237 if test "$no_cache" != 1; then
15238 echo $wx_cv_use_palette >> ${wx_arg_cache_file}.tmp
15239 fi
15240
15241 if test x"$enablestring" = xdisable; then
15242 if test $wxUSE_PALETTE = yes; then
15243 result=no
15244 else
15245 result=yes
15246 fi
15247 else
15248 result=$wxUSE_PALETTE
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}-image" >&5
15266 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15267 no_cache=0
15268 # Check whether --enable-image was given.
15269 if test "${enable_image+set}" = set; then
15270 enableval=$enable_image;
15271 if test "$enableval" = yes; then
15272 wx_cv_use_image='wxUSE_IMAGE=yes'
15273 else
15274 wx_cv_use_image='wxUSE_IMAGE=no'
15275 fi
15276
15277 else
15278
15279 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15280 if test "x$LINE" != x ; then
15281 eval "DEFAULT_$LINE"
15282 else
15283 no_cache=1
15284 fi
15285
15286 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15287
15288 fi
15289
15290
15291 eval "$wx_cv_use_image"
15292 if test "$no_cache" != 1; then
15293 echo $wx_cv_use_image >> ${wx_arg_cache_file}.tmp
15294 fi
15295
15296 if test x"$enablestring" = xdisable; then
15297 if test $wxUSE_IMAGE = yes; then
15298 result=no
15299 else
15300 result=yes
15301 fi
15302 else
15303 result=$wxUSE_IMAGE
15304 fi
15305
15306 { echo "$as_me:$LINENO: result: $result" >&5
15307 echo "${ECHO_T}$result" >&6; }
15308
15309
15310 enablestring=
15311 defaultval=$wxUSE_ALL_FEATURES
15312 if test -z "$defaultval"; then
15313 if test x"$enablestring" = xdisable; then
15314 defaultval=yes
15315 else
15316 defaultval=no
15317 fi
15318 fi
15319
15320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15321 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15322 no_cache=0
15323 # Check whether --enable-gif was given.
15324 if test "${enable_gif+set}" = set; then
15325 enableval=$enable_gif;
15326 if test "$enableval" = yes; then
15327 wx_cv_use_gif='wxUSE_GIF=yes'
15328 else
15329 wx_cv_use_gif='wxUSE_GIF=no'
15330 fi
15331
15332 else
15333
15334 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15335 if test "x$LINE" != x ; then
15336 eval "DEFAULT_$LINE"
15337 else
15338 no_cache=1
15339 fi
15340
15341 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15342
15343 fi
15344
15345
15346 eval "$wx_cv_use_gif"
15347 if test "$no_cache" != 1; then
15348 echo $wx_cv_use_gif >> ${wx_arg_cache_file}.tmp
15349 fi
15350
15351 if test x"$enablestring" = xdisable; then
15352 if test $wxUSE_GIF = yes; then
15353 result=no
15354 else
15355 result=yes
15356 fi
15357 else
15358 result=$wxUSE_GIF
15359 fi
15360
15361 { echo "$as_me:$LINENO: result: $result" >&5
15362 echo "${ECHO_T}$result" >&6; }
15363
15364
15365 enablestring=
15366 defaultval=$wxUSE_ALL_FEATURES
15367 if test -z "$defaultval"; then
15368 if test x"$enablestring" = xdisable; then
15369 defaultval=yes
15370 else
15371 defaultval=no
15372 fi
15373 fi
15374
15375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15376 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15377 no_cache=0
15378 # Check whether --enable-pcx was given.
15379 if test "${enable_pcx+set}" = set; then
15380 enableval=$enable_pcx;
15381 if test "$enableval" = yes; then
15382 wx_cv_use_pcx='wxUSE_PCX=yes'
15383 else
15384 wx_cv_use_pcx='wxUSE_PCX=no'
15385 fi
15386
15387 else
15388
15389 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15390 if test "x$LINE" != x ; then
15391 eval "DEFAULT_$LINE"
15392 else
15393 no_cache=1
15394 fi
15395
15396 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15397
15398 fi
15399
15400
15401 eval "$wx_cv_use_pcx"
15402 if test "$no_cache" != 1; then
15403 echo $wx_cv_use_pcx >> ${wx_arg_cache_file}.tmp
15404 fi
15405
15406 if test x"$enablestring" = xdisable; then
15407 if test $wxUSE_PCX = yes; then
15408 result=no
15409 else
15410 result=yes
15411 fi
15412 else
15413 result=$wxUSE_PCX
15414 fi
15415
15416 { echo "$as_me:$LINENO: result: $result" >&5
15417 echo "${ECHO_T}$result" >&6; }
15418
15419
15420 enablestring=
15421 defaultval=$wxUSE_ALL_FEATURES
15422 if test -z "$defaultval"; then
15423 if test x"$enablestring" = xdisable; then
15424 defaultval=yes
15425 else
15426 defaultval=no
15427 fi
15428 fi
15429
15430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15431 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15432 no_cache=0
15433 # Check whether --enable-tga was given.
15434 if test "${enable_tga+set}" = set; then
15435 enableval=$enable_tga;
15436 if test "$enableval" = yes; then
15437 wx_cv_use_tga='wxUSE_TGA=yes'
15438 else
15439 wx_cv_use_tga='wxUSE_TGA=no'
15440 fi
15441
15442 else
15443
15444 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15445 if test "x$LINE" != x ; then
15446 eval "DEFAULT_$LINE"
15447 else
15448 no_cache=1
15449 fi
15450
15451 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15452
15453 fi
15454
15455
15456 eval "$wx_cv_use_tga"
15457 if test "$no_cache" != 1; then
15458 echo $wx_cv_use_tga >> ${wx_arg_cache_file}.tmp
15459 fi
15460
15461 if test x"$enablestring" = xdisable; then
15462 if test $wxUSE_TGA = yes; then
15463 result=no
15464 else
15465 result=yes
15466 fi
15467 else
15468 result=$wxUSE_TGA
15469 fi
15470
15471 { echo "$as_me:$LINENO: result: $result" >&5
15472 echo "${ECHO_T}$result" >&6; }
15473
15474
15475 enablestring=
15476 defaultval=$wxUSE_ALL_FEATURES
15477 if test -z "$defaultval"; then
15478 if test x"$enablestring" = xdisable; then
15479 defaultval=yes
15480 else
15481 defaultval=no
15482 fi
15483 fi
15484
15485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15486 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15487 no_cache=0
15488 # Check whether --enable-iff was given.
15489 if test "${enable_iff+set}" = set; then
15490 enableval=$enable_iff;
15491 if test "$enableval" = yes; then
15492 wx_cv_use_iff='wxUSE_IFF=yes'
15493 else
15494 wx_cv_use_iff='wxUSE_IFF=no'
15495 fi
15496
15497 else
15498
15499 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15500 if test "x$LINE" != x ; then
15501 eval "DEFAULT_$LINE"
15502 else
15503 no_cache=1
15504 fi
15505
15506 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15507
15508 fi
15509
15510
15511 eval "$wx_cv_use_iff"
15512 if test "$no_cache" != 1; then
15513 echo $wx_cv_use_iff >> ${wx_arg_cache_file}.tmp
15514 fi
15515
15516 if test x"$enablestring" = xdisable; then
15517 if test $wxUSE_IFF = yes; then
15518 result=no
15519 else
15520 result=yes
15521 fi
15522 else
15523 result=$wxUSE_IFF
15524 fi
15525
15526 { echo "$as_me:$LINENO: result: $result" >&5
15527 echo "${ECHO_T}$result" >&6; }
15528
15529
15530 enablestring=
15531 defaultval=$wxUSE_ALL_FEATURES
15532 if test -z "$defaultval"; then
15533 if test x"$enablestring" = xdisable; then
15534 defaultval=yes
15535 else
15536 defaultval=no
15537 fi
15538 fi
15539
15540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15541 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15542 no_cache=0
15543 # Check whether --enable-pnm was given.
15544 if test "${enable_pnm+set}" = set; then
15545 enableval=$enable_pnm;
15546 if test "$enableval" = yes; then
15547 wx_cv_use_pnm='wxUSE_PNM=yes'
15548 else
15549 wx_cv_use_pnm='wxUSE_PNM=no'
15550 fi
15551
15552 else
15553
15554 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15555 if test "x$LINE" != x ; then
15556 eval "DEFAULT_$LINE"
15557 else
15558 no_cache=1
15559 fi
15560
15561 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15562
15563 fi
15564
15565
15566 eval "$wx_cv_use_pnm"
15567 if test "$no_cache" != 1; then
15568 echo $wx_cv_use_pnm >> ${wx_arg_cache_file}.tmp
15569 fi
15570
15571 if test x"$enablestring" = xdisable; then
15572 if test $wxUSE_PNM = yes; then
15573 result=no
15574 else
15575 result=yes
15576 fi
15577 else
15578 result=$wxUSE_PNM
15579 fi
15580
15581 { echo "$as_me:$LINENO: result: $result" >&5
15582 echo "${ECHO_T}$result" >&6; }
15583
15584
15585 enablestring=
15586 defaultval=$wxUSE_ALL_FEATURES
15587 if test -z "$defaultval"; then
15588 if test x"$enablestring" = xdisable; then
15589 defaultval=yes
15590 else
15591 defaultval=no
15592 fi
15593 fi
15594
15595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15596 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15597 no_cache=0
15598 # Check whether --enable-xpm was given.
15599 if test "${enable_xpm+set}" = set; then
15600 enableval=$enable_xpm;
15601 if test "$enableval" = yes; then
15602 wx_cv_use_xpm='wxUSE_XPM=yes'
15603 else
15604 wx_cv_use_xpm='wxUSE_XPM=no'
15605 fi
15606
15607 else
15608
15609 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15610 if test "x$LINE" != x ; then
15611 eval "DEFAULT_$LINE"
15612 else
15613 no_cache=1
15614 fi
15615
15616 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15617
15618 fi
15619
15620
15621 eval "$wx_cv_use_xpm"
15622 if test "$no_cache" != 1; then
15623 echo $wx_cv_use_xpm >> ${wx_arg_cache_file}.tmp
15624 fi
15625
15626 if test x"$enablestring" = xdisable; then
15627 if test $wxUSE_XPM = yes; then
15628 result=no
15629 else
15630 result=yes
15631 fi
15632 else
15633 result=$wxUSE_XPM
15634 fi
15635
15636 { echo "$as_me:$LINENO: result: $result" >&5
15637 echo "${ECHO_T}$result" >&6; }
15638
15639
15640 enablestring=
15641 defaultval=$wxUSE_ALL_FEATURES
15642 if test -z "$defaultval"; then
15643 if test x"$enablestring" = xdisable; then
15644 defaultval=yes
15645 else
15646 defaultval=no
15647 fi
15648 fi
15649
15650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15651 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15652 no_cache=0
15653 # Check whether --enable-ico_cur was given.
15654 if test "${enable_ico_cur+set}" = set; then
15655 enableval=$enable_ico_cur;
15656 if test "$enableval" = yes; then
15657 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15658 else
15659 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15660 fi
15661
15662 else
15663
15664 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15665 if test "x$LINE" != x ; then
15666 eval "DEFAULT_$LINE"
15667 else
15668 no_cache=1
15669 fi
15670
15671 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15672
15673 fi
15674
15675
15676 eval "$wx_cv_use_ico_cur"
15677 if test "$no_cache" != 1; then
15678 echo $wx_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
15679 fi
15680
15681 if test x"$enablestring" = xdisable; then
15682 if test $wxUSE_ICO_CUR = yes; then
15683 result=no
15684 else
15685 result=yes
15686 fi
15687 else
15688 result=$wxUSE_ICO_CUR
15689 fi
15690
15691 { echo "$as_me:$LINENO: result: $result" >&5
15692 echo "${ECHO_T}$result" >&6; }
15693
15694
15695 fi
15696
15697
15698 echo "saving argument cache $wx_arg_cache_file"
15699 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15700
15701
15702
15703 { echo "$as_me:$LINENO: checking for toolkit" >&5
15704 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15705
15706 # In Wine, we need to default to MSW, not GTK or MOTIF
15707 if test "$wxUSE_WINE" = "yes"; then
15708 DEFAULT_DEFAULT_wxUSE_GTK=0
15709 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15710 DEFAULT_DEFAULT_wxUSE_MSW=1
15711 wxUSE_SHARED=no
15712 CC=${CC:-winegcc}
15713 CXX=${CXX:-wineg++}
15714 fi
15715
15716
15717 if test "$wxUSE_GUI" = "yes"; then
15718
15719 if test "$USE_BEOS" = 1; then
15720 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15721 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15722 { (exit 1); exit 1; }; }
15723 fi
15724
15725 if test "$TOOLKIT_GIVEN" = 1; then
15726 for toolkit in `echo $ALL_TOOLKITS`; do
15727 var=wxUSE_$toolkit
15728 eval "value=\$${var}"
15729 if test "x$value" = "xno"; then
15730 eval "$var=0"
15731 elif test "x$value" != "x"; then
15732 eval "$var=1"
15733 fi
15734
15735 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15736 eval "wx${toolkit}_VERSION=$value"
15737 fi
15738 done
15739 else
15740 for toolkit in `echo $ALL_TOOLKITS`; do
15741 if test "$has_toolkit_in_cache" != 1; then
15742 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15743 else
15744 var=DEFAULT_wxUSE_$toolkit
15745
15746 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15747 if test "x$version" != "x"; then
15748 eval "wx${toolkit}_VERSION=$version"
15749 fi
15750 fi
15751 eval "wxUSE_$toolkit=\$${var}"
15752 done
15753 fi
15754
15755 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15756 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15757 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15758
15759 case "${host}" in
15760 *-pc-os2_emx | *-pc-os2-emx )
15761 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15762 esac
15763
15764 case "$NUM_TOOLKITS" in
15765 1)
15766 ;;
15767 0)
15768 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15769 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15770 { (exit 1); exit 1; }; }
15771 ;;
15772 *)
15773 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15774 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15775 { (exit 1); exit 1; }; }
15776 esac
15777
15778 # to be removed when --disable-gtk2 isn't needed
15779 if test "x$wxUSE_GTK2" = "xyes"; then
15780 wxGTK_VERSION=2
15781 elif test "x$wxUSE_GTK2" = "xno"; then
15782 wxGTK_VERSION=1
15783 fi
15784
15785 for toolkit in `echo $ALL_TOOLKITS`; do
15786 var=wxUSE_$toolkit
15787 eval "value=\$${var}"
15788 if test "x$value" != x; then
15789 cache_var=CACHE_$toolkit
15790 eval "cache=\$${cache_var}"
15791 if test "$cache" = 1; then
15792 echo "$var=$value" >> ${wx_arg_cache_file}
15793 eval "version=\$wx${toolkit}_VERSION"
15794 if test "x$version" != "x"; then
15795 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15796 fi
15797 fi
15798 if test "$value" = 1; then
15799 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15800 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15801 echo "${ECHO_T}$toolkit_echo" >&6; }
15802 fi
15803 fi
15804 done
15805 else
15806 if test "x$host_alias" != "x"; then
15807 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15808 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15809 else
15810 { echo "$as_me:$LINENO: result: base only" >&5
15811 echo "${ECHO_T}base only" >&6; }
15812 fi
15813 fi
15814
15815
15816 cat >confcache <<\_ACEOF
15817 # This file is a shell script that caches the results of configure
15818 # tests run on this system so they can be shared between configure
15819 # scripts and configure runs, see configure's option --config-cache.
15820 # It is not useful on other systems. If it contains results you don't
15821 # want to keep, you may remove or edit it.
15822 #
15823 # config.status only pays attention to the cache file if you give it
15824 # the --recheck option to rerun configure.
15825 #
15826 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15827 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15828 # following values.
15829
15830 _ACEOF
15831
15832 # The following way of writing the cache mishandles newlines in values,
15833 # but we know of no workaround that is simple, portable, and efficient.
15834 # So, we kill variables containing newlines.
15835 # Ultrix sh set writes to stderr and can't be redirected directly,
15836 # and sets the high bit in the cache file unless we assign to the vars.
15837 (
15838 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15839 eval ac_val=\$$ac_var
15840 case $ac_val in #(
15841 *${as_nl}*)
15842 case $ac_var in #(
15843 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15844 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15845 esac
15846 case $ac_var in #(
15847 _ | IFS | as_nl) ;; #(
15848 *) $as_unset $ac_var ;;
15849 esac ;;
15850 esac
15851 done
15852
15853 (set) 2>&1 |
15854 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15855 *${as_nl}ac_space=\ *)
15856 # `set' does not quote correctly, so add quotes (double-quote
15857 # substitution turns \\\\ into \\, and sed turns \\ into \).
15858 sed -n \
15859 "s/'/'\\\\''/g;
15860 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15861 ;; #(
15862 *)
15863 # `set' quotes correctly as required by POSIX, so do not add quotes.
15864 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15865 ;;
15866 esac |
15867 sort
15868 ) |
15869 sed '
15870 /^ac_cv_env_/b end
15871 t clear
15872 :clear
15873 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15874 t end
15875 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15876 :end' >>confcache
15877 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15878 if test -w "$cache_file"; then
15879 test "x$cache_file" != "x/dev/null" &&
15880 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15881 echo "$as_me: updating cache $cache_file" >&6;}
15882 cat confcache >$cache_file
15883 else
15884 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15885 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15886 fi
15887 fi
15888 rm -f confcache
15889
15890 CFLAGS=${CFLAGS:=}
15891
15892
15893
15894 ac_ext=c
15895 ac_cpp='$CPP $CPPFLAGS'
15896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15899 if test -n "$ac_tool_prefix"; then
15900 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15901 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15904 if test "${ac_cv_prog_CC+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 else
15907 if test -n "$CC"; then
15908 ac_cv_prog_CC="$CC" # Let the user override the test.
15909 else
15910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15911 for as_dir in $PATH
15912 do
15913 IFS=$as_save_IFS
15914 test -z "$as_dir" && as_dir=.
15915 for ac_exec_ext in '' $ac_executable_extensions; do
15916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15917 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15919 break 2
15920 fi
15921 done
15922 done
15923 IFS=$as_save_IFS
15924
15925 fi
15926 fi
15927 CC=$ac_cv_prog_CC
15928 if test -n "$CC"; then
15929 { echo "$as_me:$LINENO: result: $CC" >&5
15930 echo "${ECHO_T}$CC" >&6; }
15931 else
15932 { echo "$as_me:$LINENO: result: no" >&5
15933 echo "${ECHO_T}no" >&6; }
15934 fi
15935
15936
15937 fi
15938 if test -z "$ac_cv_prog_CC"; then
15939 ac_ct_CC=$CC
15940 # Extract the first word of "gcc", so it can be a program name with args.
15941 set dummy gcc; ac_word=$2
15942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15944 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15945 echo $ECHO_N "(cached) $ECHO_C" >&6
15946 else
15947 if test -n "$ac_ct_CC"; then
15948 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15949 else
15950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15951 for as_dir in $PATH
15952 do
15953 IFS=$as_save_IFS
15954 test -z "$as_dir" && as_dir=.
15955 for ac_exec_ext in '' $ac_executable_extensions; do
15956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15957 ac_cv_prog_ac_ct_CC="gcc"
15958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15959 break 2
15960 fi
15961 done
15962 done
15963 IFS=$as_save_IFS
15964
15965 fi
15966 fi
15967 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15968 if test -n "$ac_ct_CC"; then
15969 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15970 echo "${ECHO_T}$ac_ct_CC" >&6; }
15971 else
15972 { echo "$as_me:$LINENO: result: no" >&5
15973 echo "${ECHO_T}no" >&6; }
15974 fi
15975
15976 if test "x$ac_ct_CC" = x; then
15977 CC=""
15978 else
15979 case $cross_compiling:$ac_tool_warned in
15980 yes:)
15981 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15982 whose name does not start with the host triplet. If you think this
15983 configuration is useful to you, please write to autoconf@gnu.org." >&5
15984 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15985 whose name does not start with the host triplet. If you think this
15986 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15987 ac_tool_warned=yes ;;
15988 esac
15989 CC=$ac_ct_CC
15990 fi
15991 else
15992 CC="$ac_cv_prog_CC"
15993 fi
15994
15995 if test -z "$CC"; then
15996 if test -n "$ac_tool_prefix"; then
15997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15998 set dummy ${ac_tool_prefix}cc; ac_word=$2
15999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16001 if test "${ac_cv_prog_CC+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16003 else
16004 if test -n "$CC"; then
16005 ac_cv_prog_CC="$CC" # Let the user override the test.
16006 else
16007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16008 for as_dir in $PATH
16009 do
16010 IFS=$as_save_IFS
16011 test -z "$as_dir" && as_dir=.
16012 for ac_exec_ext in '' $ac_executable_extensions; do
16013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16014 ac_cv_prog_CC="${ac_tool_prefix}cc"
16015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16016 break 2
16017 fi
16018 done
16019 done
16020 IFS=$as_save_IFS
16021
16022 fi
16023 fi
16024 CC=$ac_cv_prog_CC
16025 if test -n "$CC"; then
16026 { echo "$as_me:$LINENO: result: $CC" >&5
16027 echo "${ECHO_T}$CC" >&6; }
16028 else
16029 { echo "$as_me:$LINENO: result: no" >&5
16030 echo "${ECHO_T}no" >&6; }
16031 fi
16032
16033
16034 fi
16035 fi
16036 if test -z "$CC"; then
16037 # Extract the first word of "cc", so it can be a program name with args.
16038 set dummy cc; ac_word=$2
16039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16041 if test "${ac_cv_prog_CC+set}" = set; then
16042 echo $ECHO_N "(cached) $ECHO_C" >&6
16043 else
16044 if test -n "$CC"; then
16045 ac_cv_prog_CC="$CC" # Let the user override the test.
16046 else
16047 ac_prog_rejected=no
16048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16049 for as_dir in $PATH
16050 do
16051 IFS=$as_save_IFS
16052 test -z "$as_dir" && as_dir=.
16053 for ac_exec_ext in '' $ac_executable_extensions; do
16054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16055 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16056 ac_prog_rejected=yes
16057 continue
16058 fi
16059 ac_cv_prog_CC="cc"
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 if test $ac_prog_rejected = yes; then
16068 # We found a bogon in the path, so make sure we never use it.
16069 set dummy $ac_cv_prog_CC
16070 shift
16071 if test $# != 0; then
16072 # We chose a different compiler from the bogus one.
16073 # However, it has the same basename, so the bogon will be chosen
16074 # first if we set CC to just the basename; use the full file name.
16075 shift
16076 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16077 fi
16078 fi
16079 fi
16080 fi
16081 CC=$ac_cv_prog_CC
16082 if test -n "$CC"; then
16083 { echo "$as_me:$LINENO: result: $CC" >&5
16084 echo "${ECHO_T}$CC" >&6; }
16085 else
16086 { echo "$as_me:$LINENO: result: no" >&5
16087 echo "${ECHO_T}no" >&6; }
16088 fi
16089
16090
16091 fi
16092 if test -z "$CC"; then
16093 if test -n "$ac_tool_prefix"; then
16094 for ac_prog in cl.exe
16095 do
16096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16097 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16100 if test "${ac_cv_prog_CC+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 else
16103 if test -n "$CC"; then
16104 ac_cv_prog_CC="$CC" # Let the user override the test.
16105 else
16106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16107 for as_dir in $PATH
16108 do
16109 IFS=$as_save_IFS
16110 test -z "$as_dir" && as_dir=.
16111 for ac_exec_ext in '' $ac_executable_extensions; do
16112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16113 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16115 break 2
16116 fi
16117 done
16118 done
16119 IFS=$as_save_IFS
16120
16121 fi
16122 fi
16123 CC=$ac_cv_prog_CC
16124 if test -n "$CC"; then
16125 { echo "$as_me:$LINENO: result: $CC" >&5
16126 echo "${ECHO_T}$CC" >&6; }
16127 else
16128 { echo "$as_me:$LINENO: result: no" >&5
16129 echo "${ECHO_T}no" >&6; }
16130 fi
16131
16132
16133 test -n "$CC" && break
16134 done
16135 fi
16136 if test -z "$CC"; then
16137 ac_ct_CC=$CC
16138 for ac_prog in cl.exe
16139 do
16140 # Extract the first word of "$ac_prog", so it can be a program name with args.
16141 set dummy $ac_prog; ac_word=$2
16142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16144 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16145 echo $ECHO_N "(cached) $ECHO_C" >&6
16146 else
16147 if test -n "$ac_ct_CC"; then
16148 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16149 else
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 ac_cv_prog_ac_ct_CC="$ac_prog"
16158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16159 break 2
16160 fi
16161 done
16162 done
16163 IFS=$as_save_IFS
16164
16165 fi
16166 fi
16167 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16168 if test -n "$ac_ct_CC"; then
16169 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16170 echo "${ECHO_T}$ac_ct_CC" >&6; }
16171 else
16172 { echo "$as_me:$LINENO: result: no" >&5
16173 echo "${ECHO_T}no" >&6; }
16174 fi
16175
16176
16177 test -n "$ac_ct_CC" && break
16178 done
16179
16180 if test "x$ac_ct_CC" = x; then
16181 CC=""
16182 else
16183 case $cross_compiling:$ac_tool_warned in
16184 yes:)
16185 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16186 whose name does not start with the host triplet. If you think this
16187 configuration is useful to you, please write to autoconf@gnu.org." >&5
16188 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16189 whose name does not start with the host triplet. If you think this
16190 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16191 ac_tool_warned=yes ;;
16192 esac
16193 CC=$ac_ct_CC
16194 fi
16195 fi
16196
16197 fi
16198
16199
16200 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16201 See \`config.log' for more details." >&5
16202 echo "$as_me: error: no acceptable C compiler found in \$PATH
16203 See \`config.log' for more details." >&2;}
16204 { (exit 1); exit 1; }; }
16205
16206 # Provide some information about the compiler.
16207 echo "$as_me:$LINENO: checking for C compiler version" >&5
16208 ac_compiler=`set X $ac_compile; echo $2`
16209 { (ac_try="$ac_compiler --version >&5"
16210 case "(($ac_try" in
16211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16212 *) ac_try_echo=$ac_try;;
16213 esac
16214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16215 (eval "$ac_compiler --version >&5") 2>&5
16216 ac_status=$?
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }
16219 { (ac_try="$ac_compiler -v >&5"
16220 case "(($ac_try" in
16221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16222 *) ac_try_echo=$ac_try;;
16223 esac
16224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16225 (eval "$ac_compiler -v >&5") 2>&5
16226 ac_status=$?
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }
16229 { (ac_try="$ac_compiler -V >&5"
16230 case "(($ac_try" in
16231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16232 *) ac_try_echo=$ac_try;;
16233 esac
16234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16235 (eval "$ac_compiler -V >&5") 2>&5
16236 ac_status=$?
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }
16239
16240 cat >conftest.$ac_ext <<_ACEOF
16241 /* confdefs.h. */
16242 _ACEOF
16243 cat confdefs.h >>conftest.$ac_ext
16244 cat >>conftest.$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16246
16247 int
16248 main ()
16249 {
16250
16251 ;
16252 return 0;
16253 }
16254 _ACEOF
16255 ac_clean_files_save=$ac_clean_files
16256 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16257 # Try to create an executable without -o first, disregard a.out.
16258 # It will help us diagnose broken compilers, and finding out an intuition
16259 # of exeext.
16260 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16261 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16262 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16263 #
16264 # List of possible output files, starting from the most likely.
16265 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16266 # only as a last resort. b.out is created by i960 compilers.
16267 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16268 #
16269 # The IRIX 6 linker writes into existing files which may not be
16270 # executable, retaining their permissions. Remove them first so a
16271 # subsequent execution test works.
16272 ac_rmfiles=
16273 for ac_file in $ac_files
16274 do
16275 case $ac_file in
16276 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16277 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16278 esac
16279 done
16280 rm -f $ac_rmfiles
16281
16282 if { (ac_try="$ac_link_default"
16283 case "(($ac_try" in
16284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16285 *) ac_try_echo=$ac_try;;
16286 esac
16287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16288 (eval "$ac_link_default") 2>&5
16289 ac_status=$?
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; then
16292 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16293 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16294 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16295 # so that the user can short-circuit this test for compilers unknown to
16296 # Autoconf.
16297 for ac_file in $ac_files ''
16298 do
16299 test -f "$ac_file" || continue
16300 case $ac_file in
16301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16302 ;;
16303 [ab].out )
16304 # We found the default executable, but exeext='' is most
16305 # certainly right.
16306 break;;
16307 *.* )
16308 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16309 then :; else
16310 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16311 fi
16312 # We set ac_cv_exeext here because the later test for it is not
16313 # safe: cross compilers may not add the suffix if given an `-o'
16314 # argument, so we may need to know it at that point already.
16315 # Even if this section looks crufty: it has the advantage of
16316 # actually working.
16317 break;;
16318 * )
16319 break;;
16320 esac
16321 done
16322 test "$ac_cv_exeext" = no && ac_cv_exeext=
16323
16324 else
16325 ac_file=''
16326 fi
16327
16328 { echo "$as_me:$LINENO: result: $ac_file" >&5
16329 echo "${ECHO_T}$ac_file" >&6; }
16330 if test -z "$ac_file"; then
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16333
16334 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16335 See \`config.log' for more details." >&5
16336 echo "$as_me: error: C compiler cannot create executables
16337 See \`config.log' for more details." >&2;}
16338 { (exit 77); exit 77; }; }
16339 fi
16340
16341 ac_exeext=$ac_cv_exeext
16342
16343 # Check that the compiler produces executables we can run. If not, either
16344 # the compiler is broken, or we cross compile.
16345 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16346 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16347 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16348 # If not cross compiling, check that we can run a simple program.
16349 if test "$cross_compiling" != yes; then
16350 if { ac_try='./$ac_file'
16351 { (case "(($ac_try" in
16352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16353 *) ac_try_echo=$ac_try;;
16354 esac
16355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16356 (eval "$ac_try") 2>&5
16357 ac_status=$?
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16360 cross_compiling=no
16361 else
16362 if test "$cross_compiling" = maybe; then
16363 cross_compiling=yes
16364 else
16365 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16366 If you meant to cross compile, use \`--host'.
16367 See \`config.log' for more details." >&5
16368 echo "$as_me: error: cannot run C compiled programs.
16369 If you meant to cross compile, use \`--host'.
16370 See \`config.log' for more details." >&2;}
16371 { (exit 1); exit 1; }; }
16372 fi
16373 fi
16374 fi
16375 { echo "$as_me:$LINENO: result: yes" >&5
16376 echo "${ECHO_T}yes" >&6; }
16377
16378 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16379 ac_clean_files=$ac_clean_files_save
16380 # Check that the compiler produces executables we can run. If not, either
16381 # the compiler is broken, or we cross compile.
16382 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16383 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16384 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16385 echo "${ECHO_T}$cross_compiling" >&6; }
16386
16387 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16388 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16389 if { (ac_try="$ac_link"
16390 case "(($ac_try" in
16391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16392 *) ac_try_echo=$ac_try;;
16393 esac
16394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16395 (eval "$ac_link") 2>&5
16396 ac_status=$?
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; then
16399 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16400 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16401 # work properly (i.e., refer to `conftest.exe'), while it won't with
16402 # `rm'.
16403 for ac_file in conftest.exe conftest conftest.*; do
16404 test -f "$ac_file" || continue
16405 case $ac_file in
16406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16407 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16408 break;;
16409 * ) break;;
16410 esac
16411 done
16412 else
16413 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16414 See \`config.log' for more details." >&5
16415 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16416 See \`config.log' for more details." >&2;}
16417 { (exit 1); exit 1; }; }
16418 fi
16419
16420 rm -f conftest$ac_cv_exeext
16421 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16422 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16423
16424 rm -f conftest.$ac_ext
16425 EXEEXT=$ac_cv_exeext
16426 ac_exeext=$EXEEXT
16427 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16428 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16429 if test "${ac_cv_objext+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16431 else
16432 cat >conftest.$ac_ext <<_ACEOF
16433 /* confdefs.h. */
16434 _ACEOF
16435 cat confdefs.h >>conftest.$ac_ext
16436 cat >>conftest.$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16438
16439 int
16440 main ()
16441 {
16442
16443 ;
16444 return 0;
16445 }
16446 _ACEOF
16447 rm -f conftest.o conftest.obj
16448 if { (ac_try="$ac_compile"
16449 case "(($ac_try" in
16450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16451 *) ac_try_echo=$ac_try;;
16452 esac
16453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16454 (eval "$ac_compile") 2>&5
16455 ac_status=$?
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; then
16458 for ac_file in conftest.o conftest.obj conftest.*; do
16459 test -f "$ac_file" || continue;
16460 case $ac_file in
16461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16462 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16463 break;;
16464 esac
16465 done
16466 else
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16469
16470 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16471 See \`config.log' for more details." >&5
16472 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16473 See \`config.log' for more details." >&2;}
16474 { (exit 1); exit 1; }; }
16475 fi
16476
16477 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16478 fi
16479 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16480 echo "${ECHO_T}$ac_cv_objext" >&6; }
16481 OBJEXT=$ac_cv_objext
16482 ac_objext=$OBJEXT
16483 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16484 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16485 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16486 echo $ECHO_N "(cached) $ECHO_C" >&6
16487 else
16488 cat >conftest.$ac_ext <<_ACEOF
16489 /* confdefs.h. */
16490 _ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494
16495 int
16496 main ()
16497 {
16498 #ifndef __GNUC__
16499 choke me
16500 #endif
16501
16502 ;
16503 return 0;
16504 }
16505 _ACEOF
16506 rm -f conftest.$ac_objext
16507 if { (ac_try="$ac_compile"
16508 case "(($ac_try" in
16509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16510 *) ac_try_echo=$ac_try;;
16511 esac
16512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16513 (eval "$ac_compile") 2>conftest.er1
16514 ac_status=$?
16515 grep -v '^ *+' conftest.er1 >conftest.err
16516 rm -f conftest.er1
16517 cat conftest.err >&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); } && {
16520 test -z "$ac_c_werror_flag" ||
16521 test ! -s conftest.err
16522 } && test -s conftest.$ac_objext; then
16523 ac_compiler_gnu=yes
16524 else
16525 echo "$as_me: failed program was:" >&5
16526 sed 's/^/| /' conftest.$ac_ext >&5
16527
16528 ac_compiler_gnu=no
16529 fi
16530
16531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16532 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16533
16534 fi
16535 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16536 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16537 GCC=`test $ac_compiler_gnu = yes && echo yes`
16538 ac_test_CFLAGS=${CFLAGS+set}
16539 ac_save_CFLAGS=$CFLAGS
16540 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16541 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16542 if test "${ac_cv_prog_cc_g+set}" = set; then
16543 echo $ECHO_N "(cached) $ECHO_C" >&6
16544 else
16545 ac_save_c_werror_flag=$ac_c_werror_flag
16546 ac_c_werror_flag=yes
16547 ac_cv_prog_cc_g=no
16548 CFLAGS="-g"
16549 cat >conftest.$ac_ext <<_ACEOF
16550 /* confdefs.h. */
16551 _ACEOF
16552 cat confdefs.h >>conftest.$ac_ext
16553 cat >>conftest.$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16555
16556 int
16557 main ()
16558 {
16559
16560 ;
16561 return 0;
16562 }
16563 _ACEOF
16564 rm -f conftest.$ac_objext
16565 if { (ac_try="$ac_compile"
16566 case "(($ac_try" in
16567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16568 *) ac_try_echo=$ac_try;;
16569 esac
16570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16571 (eval "$ac_compile") 2>conftest.er1
16572 ac_status=$?
16573 grep -v '^ *+' conftest.er1 >conftest.err
16574 rm -f conftest.er1
16575 cat conftest.err >&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); } && {
16578 test -z "$ac_c_werror_flag" ||
16579 test ! -s conftest.err
16580 } && test -s conftest.$ac_objext; then
16581 ac_cv_prog_cc_g=yes
16582 else
16583 echo "$as_me: failed program was:" >&5
16584 sed 's/^/| /' conftest.$ac_ext >&5
16585
16586 CFLAGS=""
16587 cat >conftest.$ac_ext <<_ACEOF
16588 /* confdefs.h. */
16589 _ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593
16594 int
16595 main ()
16596 {
16597
16598 ;
16599 return 0;
16600 }
16601 _ACEOF
16602 rm -f conftest.$ac_objext
16603 if { (ac_try="$ac_compile"
16604 case "(($ac_try" in
16605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16606 *) ac_try_echo=$ac_try;;
16607 esac
16608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16609 (eval "$ac_compile") 2>conftest.er1
16610 ac_status=$?
16611 grep -v '^ *+' conftest.er1 >conftest.err
16612 rm -f conftest.er1
16613 cat conftest.err >&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } && {
16616 test -z "$ac_c_werror_flag" ||
16617 test ! -s conftest.err
16618 } && test -s conftest.$ac_objext; then
16619 :
16620 else
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.$ac_ext >&5
16623
16624 ac_c_werror_flag=$ac_save_c_werror_flag
16625 CFLAGS="-g"
16626 cat >conftest.$ac_ext <<_ACEOF
16627 /* confdefs.h. */
16628 _ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632
16633 int
16634 main ()
16635 {
16636
16637 ;
16638 return 0;
16639 }
16640 _ACEOF
16641 rm -f conftest.$ac_objext
16642 if { (ac_try="$ac_compile"
16643 case "(($ac_try" in
16644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16645 *) ac_try_echo=$ac_try;;
16646 esac
16647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16648 (eval "$ac_compile") 2>conftest.er1
16649 ac_status=$?
16650 grep -v '^ *+' conftest.er1 >conftest.err
16651 rm -f conftest.er1
16652 cat conftest.err >&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } && {
16655 test -z "$ac_c_werror_flag" ||
16656 test ! -s conftest.err
16657 } && test -s conftest.$ac_objext; then
16658 ac_cv_prog_cc_g=yes
16659 else
16660 echo "$as_me: failed program was:" >&5
16661 sed 's/^/| /' conftest.$ac_ext >&5
16662
16663
16664 fi
16665
16666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16667 fi
16668
16669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16670 fi
16671
16672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16673 ac_c_werror_flag=$ac_save_c_werror_flag
16674 fi
16675 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16676 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16677 if test "$ac_test_CFLAGS" = set; then
16678 CFLAGS=$ac_save_CFLAGS
16679 elif test $ac_cv_prog_cc_g = yes; then
16680 if test "$GCC" = yes; then
16681 CFLAGS="-g -O2"
16682 else
16683 CFLAGS="-g"
16684 fi
16685 else
16686 if test "$GCC" = yes; then
16687 CFLAGS="-O2"
16688 else
16689 CFLAGS=
16690 fi
16691 fi
16692 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16693 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16694 if test "${ac_cv_prog_cc_c89+set}" = set; then
16695 echo $ECHO_N "(cached) $ECHO_C" >&6
16696 else
16697 ac_cv_prog_cc_c89=no
16698 ac_save_CC=$CC
16699 cat >conftest.$ac_ext <<_ACEOF
16700 /* confdefs.h. */
16701 _ACEOF
16702 cat confdefs.h >>conftest.$ac_ext
16703 cat >>conftest.$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 #include <stdarg.h>
16706 #include <stdio.h>
16707 #include <sys/types.h>
16708 #include <sys/stat.h>
16709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16710 struct buf { int x; };
16711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16712 static char *e (p, i)
16713 char **p;
16714 int i;
16715 {
16716 return p[i];
16717 }
16718 static char *f (char * (*g) (char **, int), char **p, ...)
16719 {
16720 char *s;
16721 va_list v;
16722 va_start (v,p);
16723 s = g (p, va_arg (v,int));
16724 va_end (v);
16725 return s;
16726 }
16727
16728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16729 function prototypes and stuff, but not '\xHH' hex character constants.
16730 These don't provoke an error unfortunately, instead are silently treated
16731 as 'x'. The following induces an error, until -std is added to get
16732 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16733 array size at least. It's necessary to write '\x00'==0 to get something
16734 that's true only with -std. */
16735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16736
16737 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16738 inside strings and character constants. */
16739 #define FOO(x) 'x'
16740 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16741
16742 int test (int i, double x);
16743 struct s1 {int (*f) (int a);};
16744 struct s2 {int (*f) (double a);};
16745 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16746 int argc;
16747 char **argv;
16748 int
16749 main ()
16750 {
16751 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16752 ;
16753 return 0;
16754 }
16755 _ACEOF
16756 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16757 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16758 do
16759 CC="$ac_save_CC $ac_arg"
16760 rm -f conftest.$ac_objext
16761 if { (ac_try="$ac_compile"
16762 case "(($ac_try" in
16763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16764 *) ac_try_echo=$ac_try;;
16765 esac
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_compile") 2>conftest.er1
16768 ac_status=$?
16769 grep -v '^ *+' conftest.er1 >conftest.err
16770 rm -f conftest.er1
16771 cat conftest.err >&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } && {
16774 test -z "$ac_c_werror_flag" ||
16775 test ! -s conftest.err
16776 } && test -s conftest.$ac_objext; then
16777 ac_cv_prog_cc_c89=$ac_arg
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16781
16782
16783 fi
16784
16785 rm -f core conftest.err conftest.$ac_objext
16786 test "x$ac_cv_prog_cc_c89" != "xno" && break
16787 done
16788 rm -f conftest.$ac_ext
16789 CC=$ac_save_CC
16790
16791 fi
16792 # AC_CACHE_VAL
16793 case "x$ac_cv_prog_cc_c89" in
16794 x)
16795 { echo "$as_me:$LINENO: result: none needed" >&5
16796 echo "${ECHO_T}none needed" >&6; } ;;
16797 xno)
16798 { echo "$as_me:$LINENO: result: unsupported" >&5
16799 echo "${ECHO_T}unsupported" >&6; } ;;
16800 *)
16801 CC="$CC $ac_cv_prog_cc_c89"
16802 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16803 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16804 esac
16805
16806
16807 ac_ext=c
16808 ac_cpp='$CPP $CPPFLAGS'
16809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16812
16813
16814
16815
16816 ac_ext=c
16817 ac_cpp='$CPP $CPPFLAGS'
16818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16821
16822 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16823 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16824 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 else
16827 cat >conftest.$ac_ext <<_ACEOF
16828 /* confdefs.h. */
16829 _ACEOF
16830 cat confdefs.h >>conftest.$ac_ext
16831 cat >>conftest.$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16833
16834 int
16835 main ()
16836 {
16837
16838 #ifndef __INTEL_COMPILER
16839 choke me
16840 #endif
16841
16842 ;
16843 return 0;
16844 }
16845 _ACEOF
16846 rm -f conftest.$ac_objext
16847 if { (ac_try="$ac_compile"
16848 case "(($ac_try" in
16849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16851 esac
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_compile") 2>conftest.er1
16854 ac_status=$?
16855 grep -v '^ *+' conftest.er1 >conftest.err
16856 rm -f conftest.er1
16857 cat conftest.err >&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); } && {
16860 test -z "$ac_c_werror_flag" ||
16861 test ! -s conftest.err
16862 } && test -s conftest.$ac_objext; then
16863 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16864 else
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16867
16868 bakefile_cv_c_compiler___INTEL_COMPILER=no
16869
16870 fi
16871
16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873
16874
16875 fi
16876 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16877 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16878 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16879 :; INTELCC=yes
16880 else
16881 :;
16882 fi
16883 ac_ext=c
16884 ac_cpp='$CPP $CPPFLAGS'
16885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16888
16889
16890
16891
16892 if test "x$GCC" != "xyes"; then
16893 if test "xCC" = "xC"; then
16894 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16895 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16896 if test "${bakefile_cv_c_exto+set}" = set; then
16897 echo $ECHO_N "(cached) $ECHO_C" >&6
16898 else
16899 cat >conftest.$ac_ext <<_ACEOF
16900 /* confdefs.h. */
16901 _ACEOF
16902 cat confdefs.h >>conftest.$ac_ext
16903 cat >>conftest.$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16905
16906 int
16907 main ()
16908 {
16909
16910 ;
16911 return 0;
16912 }
16913 _ACEOF
16914 rm -f conftest.$ac_objext conftest.$ac_ext.o
16915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16916 (eval $ac_compile) 2>&5
16917 ac_status=$?
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; then
16920 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16921 case $ac_file in
16922 conftest.$ac_ext.o)
16923 bakefile_cv_c_exto="-ext o"
16924 ;;
16925 *)
16926 ;;
16927 esac
16928 done
16929 else
16930 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16931 See \`config.log' for more details." >&5
16932 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16933 See \`config.log' for more details." >&2;}
16934 { (exit 1); exit 1; }; }
16935
16936 fi
16937
16938 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16939
16940 fi
16941 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16942 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16943 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16944 if test "c" = "c"; then
16945 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16946 fi
16947 if test "c" = "cxx"; then
16948 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16949 fi
16950 fi
16951
16952 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16953 unset ac_cv_prog_cc_g
16954 ac_test_CFLAGS=${CFLAGS+set}
16955 ac_save_CFLAGS=$CFLAGS
16956 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16957 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16958 if test "${ac_cv_prog_cc_g+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16960 else
16961 ac_save_c_werror_flag=$ac_c_werror_flag
16962 ac_c_werror_flag=yes
16963 ac_cv_prog_cc_g=no
16964 CFLAGS="-g"
16965 cat >conftest.$ac_ext <<_ACEOF
16966 /* confdefs.h. */
16967 _ACEOF
16968 cat confdefs.h >>conftest.$ac_ext
16969 cat >>conftest.$ac_ext <<_ACEOF
16970 /* end confdefs.h. */
16971
16972 int
16973 main ()
16974 {
16975
16976 ;
16977 return 0;
16978 }
16979 _ACEOF
16980 rm -f conftest.$ac_objext
16981 if { (ac_try="$ac_compile"
16982 case "(($ac_try" in
16983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16985 esac
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_compile") 2>conftest.er1
16988 ac_status=$?
16989 grep -v '^ *+' conftest.er1 >conftest.err
16990 rm -f conftest.er1
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_c_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest.$ac_objext; then
16997 ac_cv_prog_cc_g=yes
16998 else
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17001
17002 CFLAGS=""
17003 cat >conftest.$ac_ext <<_ACEOF
17004 /* confdefs.h. */
17005 _ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009
17010 int
17011 main ()
17012 {
17013
17014 ;
17015 return 0;
17016 }
17017 _ACEOF
17018 rm -f conftest.$ac_objext
17019 if { (ac_try="$ac_compile"
17020 case "(($ac_try" in
17021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17022 *) ac_try_echo=$ac_try;;
17023 esac
17024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17025 (eval "$ac_compile") 2>conftest.er1
17026 ac_status=$?
17027 grep -v '^ *+' conftest.er1 >conftest.err
17028 rm -f conftest.er1
17029 cat conftest.err >&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } && {
17032 test -z "$ac_c_werror_flag" ||
17033 test ! -s conftest.err
17034 } && test -s conftest.$ac_objext; then
17035 :
17036 else
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17039
17040 ac_c_werror_flag=$ac_save_c_werror_flag
17041 CFLAGS="-g"
17042 cat >conftest.$ac_ext <<_ACEOF
17043 /* confdefs.h. */
17044 _ACEOF
17045 cat confdefs.h >>conftest.$ac_ext
17046 cat >>conftest.$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048
17049 int
17050 main ()
17051 {
17052
17053 ;
17054 return 0;
17055 }
17056 _ACEOF
17057 rm -f conftest.$ac_objext
17058 if { (ac_try="$ac_compile"
17059 case "(($ac_try" in
17060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17061 *) ac_try_echo=$ac_try;;
17062 esac
17063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17064 (eval "$ac_compile") 2>conftest.er1
17065 ac_status=$?
17066 grep -v '^ *+' conftest.er1 >conftest.err
17067 rm -f conftest.er1
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } && {
17071 test -z "$ac_c_werror_flag" ||
17072 test ! -s conftest.err
17073 } && test -s conftest.$ac_objext; then
17074 ac_cv_prog_cc_g=yes
17075 else
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17078
17079
17080 fi
17081
17082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17083 fi
17084
17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17086 fi
17087
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17089 ac_c_werror_flag=$ac_save_c_werror_flag
17090 fi
17091 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17092 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17093 if test "$ac_test_CFLAGS" = set; then
17094 CFLAGS=$ac_save_CFLAGS
17095 elif test $ac_cv_prog_cc_g = yes; then
17096 if test "$GCC" = yes; then
17097 CFLAGS="-g -O2"
17098 else
17099 CFLAGS="-g"
17100 fi
17101 else
17102 if test "$GCC" = yes; then
17103 CFLAGS="-O2"
17104 else
17105 CFLAGS=
17106 fi
17107 fi
17108 fi
17109 fi
17110
17111 case `uname -s` in
17112 AIX*)
17113
17114
17115 ac_ext=c
17116 ac_cpp='$CPP $CPPFLAGS'
17117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17120
17121 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17122 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17123 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17124 echo $ECHO_N "(cached) $ECHO_C" >&6
17125 else
17126 cat >conftest.$ac_ext <<_ACEOF
17127 /* confdefs.h. */
17128 _ACEOF
17129 cat confdefs.h >>conftest.$ac_ext
17130 cat >>conftest.$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17132
17133 int
17134 main ()
17135 {
17136
17137 #ifndef __xlC__
17138 choke me
17139 #endif
17140
17141 ;
17142 return 0;
17143 }
17144 _ACEOF
17145 rm -f conftest.$ac_objext
17146 if { (ac_try="$ac_compile"
17147 case "(($ac_try" in
17148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17149 *) ac_try_echo=$ac_try;;
17150 esac
17151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17152 (eval "$ac_compile") 2>conftest.er1
17153 ac_status=$?
17154 grep -v '^ *+' conftest.er1 >conftest.err
17155 rm -f conftest.er1
17156 cat conftest.err >&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } && {
17159 test -z "$ac_c_werror_flag" ||
17160 test ! -s conftest.err
17161 } && test -s conftest.$ac_objext; then
17162 bakefile_cv_c_compiler___xlC__=yes
17163 else
17164 echo "$as_me: failed program was:" >&5
17165 sed 's/^/| /' conftest.$ac_ext >&5
17166
17167 bakefile_cv_c_compiler___xlC__=no
17168
17169 fi
17170
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172
17173
17174 fi
17175 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17176 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17177 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17178 :; XLCC=yes
17179 else
17180 :;
17181 fi
17182 ac_ext=c
17183 ac_cpp='$CPP $CPPFLAGS'
17184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17187
17188
17189
17190 ;;
17191
17192 Darwin)
17193
17194
17195 ac_ext=c
17196 ac_cpp='$CPP $CPPFLAGS'
17197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17200
17201 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17202 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17203 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h. */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212
17213 int
17214 main ()
17215 {
17216
17217 #ifndef __MWERKS__
17218 choke me
17219 #endif
17220
17221 ;
17222 return 0;
17223 }
17224 _ACEOF
17225 rm -f conftest.$ac_objext
17226 if { (ac_try="$ac_compile"
17227 case "(($ac_try" in
17228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17230 esac
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_compile") 2>conftest.er1
17233 ac_status=$?
17234 grep -v '^ *+' conftest.er1 >conftest.err
17235 rm -f conftest.er1
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } && {
17239 test -z "$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17241 } && test -s conftest.$ac_objext; then
17242 bakefile_cv_c_compiler___MWERKS__=yes
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 bakefile_cv_c_compiler___MWERKS__=no
17248
17249 fi
17250
17251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17252
17253
17254 fi
17255 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17256 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17257 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17258 :; MWCC=yes
17259 else
17260 :;
17261 fi
17262 ac_ext=c
17263 ac_cpp='$CPP $CPPFLAGS'
17264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17267
17268
17269
17270
17271
17272 ac_ext=c
17273 ac_cpp='$CPP $CPPFLAGS'
17274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17277
17278 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17279 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17280 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 else
17283 cat >conftest.$ac_ext <<_ACEOF
17284 /* confdefs.h. */
17285 _ACEOF
17286 cat confdefs.h >>conftest.$ac_ext
17287 cat >>conftest.$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17289
17290 int
17291 main ()
17292 {
17293
17294 #ifndef __xlC__
17295 choke me
17296 #endif
17297
17298 ;
17299 return 0;
17300 }
17301 _ACEOF
17302 rm -f conftest.$ac_objext
17303 if { (ac_try="$ac_compile"
17304 case "(($ac_try" in
17305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17306 *) ac_try_echo=$ac_try;;
17307 esac
17308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17309 (eval "$ac_compile") 2>conftest.er1
17310 ac_status=$?
17311 grep -v '^ *+' conftest.er1 >conftest.err
17312 rm -f conftest.er1
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } && {
17316 test -z "$ac_c_werror_flag" ||
17317 test ! -s conftest.err
17318 } && test -s conftest.$ac_objext; then
17319 bakefile_cv_c_compiler___xlC__=yes
17320 else
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.$ac_ext >&5
17323
17324 bakefile_cv_c_compiler___xlC__=no
17325
17326 fi
17327
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17329
17330
17331 fi
17332 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17333 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17334 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17335 :; XLCC=yes
17336 else
17337 :;
17338 fi
17339 ac_ext=c
17340 ac_cpp='$CPP $CPPFLAGS'
17341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17344
17345
17346
17347 ;;
17348
17349 IRIX*)
17350
17351
17352 ac_ext=c
17353 ac_cpp='$CPP $CPPFLAGS'
17354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17357
17358 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17359 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17360 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 else
17363 cat >conftest.$ac_ext <<_ACEOF
17364 /* confdefs.h. */
17365 _ACEOF
17366 cat confdefs.h >>conftest.$ac_ext
17367 cat >>conftest.$ac_ext <<_ACEOF
17368 /* end confdefs.h. */
17369
17370 int
17371 main ()
17372 {
17373
17374 #ifndef _SGI_COMPILER_VERSION
17375 choke me
17376 #endif
17377
17378 ;
17379 return 0;
17380 }
17381 _ACEOF
17382 rm -f conftest.$ac_objext
17383 if { (ac_try="$ac_compile"
17384 case "(($ac_try" in
17385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17386 *) ac_try_echo=$ac_try;;
17387 esac
17388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17389 (eval "$ac_compile") 2>conftest.er1
17390 ac_status=$?
17391 grep -v '^ *+' conftest.er1 >conftest.err
17392 rm -f conftest.er1
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } && {
17396 test -z "$ac_c_werror_flag" ||
17397 test ! -s conftest.err
17398 } && test -s conftest.$ac_objext; then
17399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17400 else
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.$ac_ext >&5
17403
17404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17405
17406 fi
17407
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17409
17410
17411 fi
17412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17413 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17414 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17415 :; SGICC=yes
17416 else
17417 :;
17418 fi
17419 ac_ext=c
17420 ac_cpp='$CPP $CPPFLAGS'
17421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17424
17425
17426
17427 ;;
17428
17429 Linux*)
17430
17431
17432 ac_ext=c
17433 ac_cpp='$CPP $CPPFLAGS'
17434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17437
17438 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17439 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17440 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17442 else
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449
17450 int
17451 main ()
17452 {
17453
17454 #ifndef __SUNPRO_C
17455 choke me
17456 #endif
17457
17458 ;
17459 return 0;
17460 }
17461 _ACEOF
17462 rm -f conftest.$ac_objext
17463 if { (ac_try="$ac_compile"
17464 case "(($ac_try" in
17465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17466 *) ac_try_echo=$ac_try;;
17467 esac
17468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17469 (eval "$ac_compile") 2>conftest.er1
17470 ac_status=$?
17471 grep -v '^ *+' conftest.er1 >conftest.err
17472 rm -f conftest.er1
17473 cat conftest.err >&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } && {
17476 test -z "$ac_c_werror_flag" ||
17477 test ! -s conftest.err
17478 } && test -s conftest.$ac_objext; then
17479 bakefile_cv_c_compiler___SUNPRO_C=yes
17480 else
17481 echo "$as_me: failed program was:" >&5
17482 sed 's/^/| /' conftest.$ac_ext >&5
17483
17484 bakefile_cv_c_compiler___SUNPRO_C=no
17485
17486 fi
17487
17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17489
17490
17491 fi
17492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17493 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17494 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17495 :; SUNCC=yes
17496 else
17497 :;
17498 fi
17499 ac_ext=c
17500 ac_cpp='$CPP $CPPFLAGS'
17501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17504
17505
17506
17507 ;;
17508
17509 HP-UX*)
17510
17511
17512 ac_ext=c
17513 ac_cpp='$CPP $CPPFLAGS'
17514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17517
17518 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17519 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17520 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17521 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 else
17523 cat >conftest.$ac_ext <<_ACEOF
17524 /* confdefs.h. */
17525 _ACEOF
17526 cat confdefs.h >>conftest.$ac_ext
17527 cat >>conftest.$ac_ext <<_ACEOF
17528 /* end confdefs.h. */
17529
17530 int
17531 main ()
17532 {
17533
17534 #ifndef __HP_cc
17535 choke me
17536 #endif
17537
17538 ;
17539 return 0;
17540 }
17541 _ACEOF
17542 rm -f conftest.$ac_objext
17543 if { (ac_try="$ac_compile"
17544 case "(($ac_try" in
17545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17546 *) ac_try_echo=$ac_try;;
17547 esac
17548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17549 (eval "$ac_compile") 2>conftest.er1
17550 ac_status=$?
17551 grep -v '^ *+' conftest.er1 >conftest.err
17552 rm -f conftest.er1
17553 cat conftest.err >&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } && {
17556 test -z "$ac_c_werror_flag" ||
17557 test ! -s conftest.err
17558 } && test -s conftest.$ac_objext; then
17559 bakefile_cv_c_compiler___HP_cc=yes
17560 else
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.$ac_ext >&5
17563
17564 bakefile_cv_c_compiler___HP_cc=no
17565
17566 fi
17567
17568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17569
17570
17571 fi
17572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17573 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17574 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17575 :; HPCC=yes
17576 else
17577 :;
17578 fi
17579 ac_ext=c
17580 ac_cpp='$CPP $CPPFLAGS'
17581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17584
17585
17586
17587 ;;
17588
17589 OSF1)
17590
17591
17592 ac_ext=c
17593 ac_cpp='$CPP $CPPFLAGS'
17594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17597
17598 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17599 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17600 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 else
17603 cat >conftest.$ac_ext <<_ACEOF
17604 /* confdefs.h. */
17605 _ACEOF
17606 cat confdefs.h >>conftest.$ac_ext
17607 cat >>conftest.$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609
17610 int
17611 main ()
17612 {
17613
17614 #ifndef __DECC
17615 choke me
17616 #endif
17617
17618 ;
17619 return 0;
17620 }
17621 _ACEOF
17622 rm -f conftest.$ac_objext
17623 if { (ac_try="$ac_compile"
17624 case "(($ac_try" in
17625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17626 *) ac_try_echo=$ac_try;;
17627 esac
17628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17629 (eval "$ac_compile") 2>conftest.er1
17630 ac_status=$?
17631 grep -v '^ *+' conftest.er1 >conftest.err
17632 rm -f conftest.er1
17633 cat conftest.err >&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); } && {
17636 test -z "$ac_c_werror_flag" ||
17637 test ! -s conftest.err
17638 } && test -s conftest.$ac_objext; then
17639 bakefile_cv_c_compiler___DECC=yes
17640 else
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17643
17644 bakefile_cv_c_compiler___DECC=no
17645
17646 fi
17647
17648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17649
17650
17651 fi
17652 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17653 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17654 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17655 :; COMPAQCC=yes
17656 else
17657 :;
17658 fi
17659 ac_ext=c
17660 ac_cpp='$CPP $CPPFLAGS'
17661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17664
17665
17666
17667 ;;
17668
17669 SunOS)
17670
17671
17672 ac_ext=c
17673 ac_cpp='$CPP $CPPFLAGS'
17674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17677
17678 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17679 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17680 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17682 else
17683 cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h. */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689
17690 int
17691 main ()
17692 {
17693
17694 #ifndef __SUNPRO_C
17695 choke me
17696 #endif
17697
17698 ;
17699 return 0;
17700 }
17701 _ACEOF
17702 rm -f conftest.$ac_objext
17703 if { (ac_try="$ac_compile"
17704 case "(($ac_try" in
17705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17706 *) ac_try_echo=$ac_try;;
17707 esac
17708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17709 (eval "$ac_compile") 2>conftest.er1
17710 ac_status=$?
17711 grep -v '^ *+' conftest.er1 >conftest.err
17712 rm -f conftest.er1
17713 cat conftest.err >&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } && {
17716 test -z "$ac_c_werror_flag" ||
17717 test ! -s conftest.err
17718 } && test -s conftest.$ac_objext; then
17719 bakefile_cv_c_compiler___SUNPRO_C=yes
17720 else
17721 echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.$ac_ext >&5
17723
17724 bakefile_cv_c_compiler___SUNPRO_C=no
17725
17726 fi
17727
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17729
17730
17731 fi
17732 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17733 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17734 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17735 :; SUNCC=yes
17736 else
17737 :;
17738 fi
17739 ac_ext=c
17740 ac_cpp='$CPP $CPPFLAGS'
17741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17744
17745
17746
17747 ;;
17748 esac
17749 fi
17750
17751
17752
17753 ac_ext=c
17754 ac_cpp='$CPP $CPPFLAGS'
17755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17758 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17759 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17760 # On Suns, sometimes $CPP names a directory.
17761 if test -n "$CPP" && test -d "$CPP"; then
17762 CPP=
17763 fi
17764 if test -z "$CPP"; then
17765 if test "${ac_cv_prog_CPP+set}" = set; then
17766 echo $ECHO_N "(cached) $ECHO_C" >&6
17767 else
17768 # Double quotes because CPP needs to be expanded
17769 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17770 do
17771 ac_preproc_ok=false
17772 for ac_c_preproc_warn_flag in '' yes
17773 do
17774 # Use a header file that comes with gcc, so configuring glibc
17775 # with a fresh cross-compiler works.
17776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17777 # <limits.h> exists even on freestanding compilers.
17778 # On the NeXT, cc -E runs the code through the compiler's parser,
17779 # not just through cpp. "Syntax error" is here to catch this case.
17780 cat >conftest.$ac_ext <<_ACEOF
17781 /* confdefs.h. */
17782 _ACEOF
17783 cat confdefs.h >>conftest.$ac_ext
17784 cat >>conftest.$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17786 #ifdef __STDC__
17787 # include <limits.h>
17788 #else
17789 # include <assert.h>
17790 #endif
17791 Syntax error
17792 _ACEOF
17793 if { (ac_try="$ac_cpp conftest.$ac_ext"
17794 case "(($ac_try" in
17795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;;
17797 esac
17798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17800 ac_status=$?
17801 grep -v '^ *+' conftest.er1 >conftest.err
17802 rm -f conftest.er1
17803 cat conftest.err >&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } >/dev/null && {
17806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17807 test ! -s conftest.err
17808 }; then
17809 :
17810 else
17811 echo "$as_me: failed program was:" >&5
17812 sed 's/^/| /' conftest.$ac_ext >&5
17813
17814 # Broken: fails on valid input.
17815 continue
17816 fi
17817
17818 rm -f conftest.err conftest.$ac_ext
17819
17820 # OK, works on sane cases. Now check whether nonexistent headers
17821 # can be detected and how.
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 #include <ac_nonexistent.h>
17829 _ACEOF
17830 if { (ac_try="$ac_cpp conftest.$ac_ext"
17831 case "(($ac_try" in
17832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17833 *) ac_try_echo=$ac_try;;
17834 esac
17835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17837 ac_status=$?
17838 grep -v '^ *+' conftest.er1 >conftest.err
17839 rm -f conftest.er1
17840 cat conftest.err >&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } >/dev/null && {
17843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17844 test ! -s conftest.err
17845 }; then
17846 # Broken: success on invalid input.
17847 continue
17848 else
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.$ac_ext >&5
17851
17852 # Passes both tests.
17853 ac_preproc_ok=:
17854 break
17855 fi
17856
17857 rm -f conftest.err conftest.$ac_ext
17858
17859 done
17860 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17861 rm -f conftest.err conftest.$ac_ext
17862 if $ac_preproc_ok; then
17863 break
17864 fi
17865
17866 done
17867 ac_cv_prog_CPP=$CPP
17868
17869 fi
17870 CPP=$ac_cv_prog_CPP
17871 else
17872 ac_cv_prog_CPP=$CPP
17873 fi
17874 { echo "$as_me:$LINENO: result: $CPP" >&5
17875 echo "${ECHO_T}$CPP" >&6; }
17876 ac_preproc_ok=false
17877 for ac_c_preproc_warn_flag in '' yes
17878 do
17879 # Use a header file that comes with gcc, so configuring glibc
17880 # with a fresh cross-compiler works.
17881 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17882 # <limits.h> exists even on freestanding compilers.
17883 # On the NeXT, cc -E runs the code through the compiler's parser,
17884 # not just through cpp. "Syntax error" is here to catch this case.
17885 cat >conftest.$ac_ext <<_ACEOF
17886 /* confdefs.h. */
17887 _ACEOF
17888 cat confdefs.h >>conftest.$ac_ext
17889 cat >>conftest.$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17891 #ifdef __STDC__
17892 # include <limits.h>
17893 #else
17894 # include <assert.h>
17895 #endif
17896 Syntax error
17897 _ACEOF
17898 if { (ac_try="$ac_cpp conftest.$ac_ext"
17899 case "(($ac_try" in
17900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17901 *) ac_try_echo=$ac_try;;
17902 esac
17903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17905 ac_status=$?
17906 grep -v '^ *+' conftest.er1 >conftest.err
17907 rm -f conftest.er1
17908 cat conftest.err >&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } >/dev/null && {
17911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17912 test ! -s conftest.err
17913 }; then
17914 :
17915 else
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17918
17919 # Broken: fails on valid input.
17920 continue
17921 fi
17922
17923 rm -f conftest.err conftest.$ac_ext
17924
17925 # OK, works on sane cases. Now check whether nonexistent headers
17926 # can be detected and how.
17927 cat >conftest.$ac_ext <<_ACEOF
17928 /* confdefs.h. */
17929 _ACEOF
17930 cat confdefs.h >>conftest.$ac_ext
17931 cat >>conftest.$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 #include <ac_nonexistent.h>
17934 _ACEOF
17935 if { (ac_try="$ac_cpp conftest.$ac_ext"
17936 case "(($ac_try" in
17937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17938 *) ac_try_echo=$ac_try;;
17939 esac
17940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17942 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } >/dev/null && {
17948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17949 test ! -s conftest.err
17950 }; then
17951 # Broken: success on invalid input.
17952 continue
17953 else
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.$ac_ext >&5
17956
17957 # Passes both tests.
17958 ac_preproc_ok=:
17959 break
17960 fi
17961
17962 rm -f conftest.err conftest.$ac_ext
17963
17964 done
17965 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17966 rm -f conftest.err conftest.$ac_ext
17967 if $ac_preproc_ok; then
17968 :
17969 else
17970 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17971 See \`config.log' for more details." >&5
17972 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17973 See \`config.log' for more details." >&2;}
17974 { (exit 1); exit 1; }; }
17975 fi
17976
17977 ac_ext=c
17978 ac_cpp='$CPP $CPPFLAGS'
17979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17982
17983
17984 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17985 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17986 if test "${ac_cv_path_GREP+set}" = set; then
17987 echo $ECHO_N "(cached) $ECHO_C" >&6
17988 else
17989 # Extract the first word of "grep ggrep" to use in msg output
17990 if test -z "$GREP"; then
17991 set dummy grep ggrep; ac_prog_name=$2
17992 if test "${ac_cv_path_GREP+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 else
17995 ac_path_GREP_found=false
17996 # Loop through the user's path and test for each of PROGNAME-LIST
17997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17998 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17999 do
18000 IFS=$as_save_IFS
18001 test -z "$as_dir" && as_dir=.
18002 for ac_prog in grep ggrep; do
18003 for ac_exec_ext in '' $ac_executable_extensions; do
18004 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18005 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18006 # Check for GNU ac_path_GREP and select it if it is found.
18007 # Check for GNU $ac_path_GREP
18008 case `"$ac_path_GREP" --version 2>&1` in
18009 *GNU*)
18010 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18011 *)
18012 ac_count=0
18013 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18014 while :
18015 do
18016 cat "conftest.in" "conftest.in" >"conftest.tmp"
18017 mv "conftest.tmp" "conftest.in"
18018 cp "conftest.in" "conftest.nl"
18019 echo 'GREP' >> "conftest.nl"
18020 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18021 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18022 ac_count=`expr $ac_count + 1`
18023 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18024 # Best one so far, save it but keep looking for a better one
18025 ac_cv_path_GREP="$ac_path_GREP"
18026 ac_path_GREP_max=$ac_count
18027 fi
18028 # 10*(2^10) chars as input seems more than enough
18029 test $ac_count -gt 10 && break
18030 done
18031 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18032 esac
18033
18034
18035 $ac_path_GREP_found && break 3
18036 done
18037 done
18038
18039 done
18040 IFS=$as_save_IFS
18041
18042
18043 fi
18044
18045 GREP="$ac_cv_path_GREP"
18046 if test -z "$GREP"; then
18047 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18048 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18049 { (exit 1); exit 1; }; }
18050 fi
18051
18052 else
18053 ac_cv_path_GREP=$GREP
18054 fi
18055
18056
18057 fi
18058 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18059 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18060 GREP="$ac_cv_path_GREP"
18061
18062
18063 { echo "$as_me:$LINENO: checking for egrep" >&5
18064 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18065 if test "${ac_cv_path_EGREP+set}" = set; then
18066 echo $ECHO_N "(cached) $ECHO_C" >&6
18067 else
18068 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18069 then ac_cv_path_EGREP="$GREP -E"
18070 else
18071 # Extract the first word of "egrep" to use in msg output
18072 if test -z "$EGREP"; then
18073 set dummy egrep; ac_prog_name=$2
18074 if test "${ac_cv_path_EGREP+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18076 else
18077 ac_path_EGREP_found=false
18078 # Loop through the user's path and test for each of PROGNAME-LIST
18079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18080 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18081 do
18082 IFS=$as_save_IFS
18083 test -z "$as_dir" && as_dir=.
18084 for ac_prog in egrep; do
18085 for ac_exec_ext in '' $ac_executable_extensions; do
18086 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18087 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18088 # Check for GNU ac_path_EGREP and select it if it is found.
18089 # Check for GNU $ac_path_EGREP
18090 case `"$ac_path_EGREP" --version 2>&1` in
18091 *GNU*)
18092 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18093 *)
18094 ac_count=0
18095 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18096 while :
18097 do
18098 cat "conftest.in" "conftest.in" >"conftest.tmp"
18099 mv "conftest.tmp" "conftest.in"
18100 cp "conftest.in" "conftest.nl"
18101 echo 'EGREP' >> "conftest.nl"
18102 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18103 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18104 ac_count=`expr $ac_count + 1`
18105 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18106 # Best one so far, save it but keep looking for a better one
18107 ac_cv_path_EGREP="$ac_path_EGREP"
18108 ac_path_EGREP_max=$ac_count
18109 fi
18110 # 10*(2^10) chars as input seems more than enough
18111 test $ac_count -gt 10 && break
18112 done
18113 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18114 esac
18115
18116
18117 $ac_path_EGREP_found && break 3
18118 done
18119 done
18120
18121 done
18122 IFS=$as_save_IFS
18123
18124
18125 fi
18126
18127 EGREP="$ac_cv_path_EGREP"
18128 if test -z "$EGREP"; then
18129 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18130 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18131 { (exit 1); exit 1; }; }
18132 fi
18133
18134 else
18135 ac_cv_path_EGREP=$EGREP
18136 fi
18137
18138
18139 fi
18140 fi
18141 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18142 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18143 EGREP="$ac_cv_path_EGREP"
18144
18145
18146 if test $ac_cv_c_compiler_gnu = yes; then
18147 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18148 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18149 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18150 echo $ECHO_N "(cached) $ECHO_C" >&6
18151 else
18152 ac_pattern="Autoconf.*'x'"
18153 cat >conftest.$ac_ext <<_ACEOF
18154 /* confdefs.h. */
18155 _ACEOF
18156 cat confdefs.h >>conftest.$ac_ext
18157 cat >>conftest.$ac_ext <<_ACEOF
18158 /* end confdefs.h. */
18159 #include <sgtty.h>
18160 Autoconf TIOCGETP
18161 _ACEOF
18162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18163 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18164 ac_cv_prog_gcc_traditional=yes
18165 else
18166 ac_cv_prog_gcc_traditional=no
18167 fi
18168 rm -f conftest*
18169
18170
18171 if test $ac_cv_prog_gcc_traditional = no; then
18172 cat >conftest.$ac_ext <<_ACEOF
18173 /* confdefs.h. */
18174 _ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 #include <termio.h>
18179 Autoconf TCGETA
18180 _ACEOF
18181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18182 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18183 ac_cv_prog_gcc_traditional=yes
18184 fi
18185 rm -f conftest*
18186
18187 fi
18188 fi
18189 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18190 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18191 if test $ac_cv_prog_gcc_traditional = yes; then
18192 CC="$CC -traditional"
18193 fi
18194 fi
18195
18196
18197 CXXFLAGS=${CXXFLAGS:=}
18198
18199
18200
18201 ac_ext=cpp
18202 ac_cpp='$CXXCPP $CPPFLAGS'
18203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18206 if test -z "$CXX"; then
18207 if test -n "$CCC"; then
18208 CXX=$CCC
18209 else
18210 if test -n "$ac_tool_prefix"; then
18211 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18212 do
18213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18214 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18217 if test "${ac_cv_prog_CXX+set}" = set; then
18218 echo $ECHO_N "(cached) $ECHO_C" >&6
18219 else
18220 if test -n "$CXX"; then
18221 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18222 else
18223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18224 for as_dir in $PATH
18225 do
18226 IFS=$as_save_IFS
18227 test -z "$as_dir" && as_dir=.
18228 for ac_exec_ext in '' $ac_executable_extensions; do
18229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18230 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18232 break 2
18233 fi
18234 done
18235 done
18236 IFS=$as_save_IFS
18237
18238 fi
18239 fi
18240 CXX=$ac_cv_prog_CXX
18241 if test -n "$CXX"; then
18242 { echo "$as_me:$LINENO: result: $CXX" >&5
18243 echo "${ECHO_T}$CXX" >&6; }
18244 else
18245 { echo "$as_me:$LINENO: result: no" >&5
18246 echo "${ECHO_T}no" >&6; }
18247 fi
18248
18249
18250 test -n "$CXX" && break
18251 done
18252 fi
18253 if test -z "$CXX"; then
18254 ac_ct_CXX=$CXX
18255 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18256 do
18257 # Extract the first word of "$ac_prog", so it can be a program name with args.
18258 set dummy $ac_prog; ac_word=$2
18259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18261 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18263 else
18264 if test -n "$ac_ct_CXX"; then
18265 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18266 else
18267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18268 for as_dir in $PATH
18269 do
18270 IFS=$as_save_IFS
18271 test -z "$as_dir" && as_dir=.
18272 for ac_exec_ext in '' $ac_executable_extensions; do
18273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18274 ac_cv_prog_ac_ct_CXX="$ac_prog"
18275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18276 break 2
18277 fi
18278 done
18279 done
18280 IFS=$as_save_IFS
18281
18282 fi
18283 fi
18284 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18285 if test -n "$ac_ct_CXX"; then
18286 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18287 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18288 else
18289 { echo "$as_me:$LINENO: result: no" >&5
18290 echo "${ECHO_T}no" >&6; }
18291 fi
18292
18293
18294 test -n "$ac_ct_CXX" && break
18295 done
18296
18297 if test "x$ac_ct_CXX" = x; then
18298 CXX="g++"
18299 else
18300 case $cross_compiling:$ac_tool_warned in
18301 yes:)
18302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18303 whose name does not start with the host triplet. If you think this
18304 configuration is useful to you, please write to autoconf@gnu.org." >&5
18305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18306 whose name does not start with the host triplet. If you think this
18307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18308 ac_tool_warned=yes ;;
18309 esac
18310 CXX=$ac_ct_CXX
18311 fi
18312 fi
18313
18314 fi
18315 fi
18316 # Provide some information about the compiler.
18317 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18318 ac_compiler=`set X $ac_compile; echo $2`
18319 { (ac_try="$ac_compiler --version >&5"
18320 case "(($ac_try" in
18321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18322 *) ac_try_echo=$ac_try;;
18323 esac
18324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18325 (eval "$ac_compiler --version >&5") 2>&5
18326 ac_status=$?
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }
18329 { (ac_try="$ac_compiler -v >&5"
18330 case "(($ac_try" in
18331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18332 *) ac_try_echo=$ac_try;;
18333 esac
18334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18335 (eval "$ac_compiler -v >&5") 2>&5
18336 ac_status=$?
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }
18339 { (ac_try="$ac_compiler -V >&5"
18340 case "(($ac_try" in
18341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18342 *) ac_try_echo=$ac_try;;
18343 esac
18344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18345 (eval "$ac_compiler -V >&5") 2>&5
18346 ac_status=$?
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }
18349
18350 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18351 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18352 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18353 echo $ECHO_N "(cached) $ECHO_C" >&6
18354 else
18355 cat >conftest.$ac_ext <<_ACEOF
18356 /* confdefs.h. */
18357 _ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361
18362 int
18363 main ()
18364 {
18365 #ifndef __GNUC__
18366 choke me
18367 #endif
18368
18369 ;
18370 return 0;
18371 }
18372 _ACEOF
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18378 esac
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18381 ac_status=$?
18382 grep -v '^ *+' conftest.er1 >conftest.err
18383 rm -f conftest.er1
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_cxx_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_compiler_gnu=yes
18391 else
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18394
18395 ac_compiler_gnu=no
18396 fi
18397
18398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18399 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18400
18401 fi
18402 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18403 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18404 GXX=`test $ac_compiler_gnu = yes && echo yes`
18405 ac_test_CXXFLAGS=${CXXFLAGS+set}
18406 ac_save_CXXFLAGS=$CXXFLAGS
18407 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18408 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18409 if test "${ac_cv_prog_cxx_g+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 else
18412 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18413 ac_cxx_werror_flag=yes
18414 ac_cv_prog_cxx_g=no
18415 CXXFLAGS="-g"
18416 cat >conftest.$ac_ext <<_ACEOF
18417 /* confdefs.h. */
18418 _ACEOF
18419 cat confdefs.h >>conftest.$ac_ext
18420 cat >>conftest.$ac_ext <<_ACEOF
18421 /* end confdefs.h. */
18422
18423 int
18424 main ()
18425 {
18426
18427 ;
18428 return 0;
18429 }
18430 _ACEOF
18431 rm -f conftest.$ac_objext
18432 if { (ac_try="$ac_compile"
18433 case "(($ac_try" in
18434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18435 *) ac_try_echo=$ac_try;;
18436 esac
18437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18438 (eval "$ac_compile") 2>conftest.er1
18439 ac_status=$?
18440 grep -v '^ *+' conftest.er1 >conftest.err
18441 rm -f conftest.er1
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } && {
18445 test -z "$ac_cxx_werror_flag" ||
18446 test ! -s conftest.err
18447 } && test -s conftest.$ac_objext; then
18448 ac_cv_prog_cxx_g=yes
18449 else
18450 echo "$as_me: failed program was:" >&5
18451 sed 's/^/| /' conftest.$ac_ext >&5
18452
18453 CXXFLAGS=""
18454 cat >conftest.$ac_ext <<_ACEOF
18455 /* confdefs.h. */
18456 _ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460
18461 int
18462 main ()
18463 {
18464
18465 ;
18466 return 0;
18467 }
18468 _ACEOF
18469 rm -f conftest.$ac_objext
18470 if { (ac_try="$ac_compile"
18471 case "(($ac_try" in
18472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18473 *) ac_try_echo=$ac_try;;
18474 esac
18475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18476 (eval "$ac_compile") 2>conftest.er1
18477 ac_status=$?
18478 grep -v '^ *+' conftest.er1 >conftest.err
18479 rm -f conftest.er1
18480 cat conftest.err >&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); } && {
18483 test -z "$ac_cxx_werror_flag" ||
18484 test ! -s conftest.err
18485 } && test -s conftest.$ac_objext; then
18486 :
18487 else
18488 echo "$as_me: failed program was:" >&5
18489 sed 's/^/| /' conftest.$ac_ext >&5
18490
18491 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18492 CXXFLAGS="-g"
18493 cat >conftest.$ac_ext <<_ACEOF
18494 /* confdefs.h. */
18495 _ACEOF
18496 cat confdefs.h >>conftest.$ac_ext
18497 cat >>conftest.$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18499
18500 int
18501 main ()
18502 {
18503
18504 ;
18505 return 0;
18506 }
18507 _ACEOF
18508 rm -f conftest.$ac_objext
18509 if { (ac_try="$ac_compile"
18510 case "(($ac_try" in
18511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18512 *) ac_try_echo=$ac_try;;
18513 esac
18514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18515 (eval "$ac_compile") 2>conftest.er1
18516 ac_status=$?
18517 grep -v '^ *+' conftest.er1 >conftest.err
18518 rm -f conftest.er1
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } && {
18522 test -z "$ac_cxx_werror_flag" ||
18523 test ! -s conftest.err
18524 } && test -s conftest.$ac_objext; then
18525 ac_cv_prog_cxx_g=yes
18526 else
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.$ac_ext >&5
18529
18530
18531 fi
18532
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 fi
18535
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 fi
18538
18539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18540 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18541 fi
18542 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18543 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18544 if test "$ac_test_CXXFLAGS" = set; then
18545 CXXFLAGS=$ac_save_CXXFLAGS
18546 elif test $ac_cv_prog_cxx_g = yes; then
18547 if test "$GXX" = yes; then
18548 CXXFLAGS="-g -O2"
18549 else
18550 CXXFLAGS="-g"
18551 fi
18552 else
18553 if test "$GXX" = yes; then
18554 CXXFLAGS="-O2"
18555 else
18556 CXXFLAGS=
18557 fi
18558 fi
18559 ac_ext=c
18560 ac_cpp='$CPP $CPPFLAGS'
18561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18564
18565
18566
18567
18568 ac_ext=cpp
18569 ac_cpp='$CXXCPP $CPPFLAGS'
18570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18573
18574 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18575 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18576 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18577 echo $ECHO_N "(cached) $ECHO_C" >&6
18578 else
18579 cat >conftest.$ac_ext <<_ACEOF
18580 /* confdefs.h. */
18581 _ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18585
18586 int
18587 main ()
18588 {
18589
18590 #ifndef __INTEL_COMPILER
18591 choke me
18592 #endif
18593
18594 ;
18595 return 0;
18596 }
18597 _ACEOF
18598 rm -f conftest.$ac_objext
18599 if { (ac_try="$ac_compile"
18600 case "(($ac_try" in
18601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18602 *) ac_try_echo=$ac_try;;
18603 esac
18604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18605 (eval "$ac_compile") 2>conftest.er1
18606 ac_status=$?
18607 grep -v '^ *+' conftest.er1 >conftest.err
18608 rm -f conftest.er1
18609 cat conftest.err >&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } && {
18612 test -z "$ac_cxx_werror_flag" ||
18613 test ! -s conftest.err
18614 } && test -s conftest.$ac_objext; then
18615 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18616 else
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18619
18620 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18621
18622 fi
18623
18624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18625
18626
18627 fi
18628 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18629 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18630 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18631 :; INTELCXX=yes
18632 else
18633 :;
18634 fi
18635 ac_ext=c
18636 ac_cpp='$CPP $CPPFLAGS'
18637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18640
18641
18642
18643
18644 if test "x$GCXX" != "xyes"; then
18645 if test "xCXX" = "xC"; then
18646 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18647 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18648 if test "${bakefile_cv_c_exto+set}" = set; then
18649 echo $ECHO_N "(cached) $ECHO_C" >&6
18650 else
18651 cat >conftest.$ac_ext <<_ACEOF
18652 /* confdefs.h. */
18653 _ACEOF
18654 cat confdefs.h >>conftest.$ac_ext
18655 cat >>conftest.$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657
18658 int
18659 main ()
18660 {
18661
18662 ;
18663 return 0;
18664 }
18665 _ACEOF
18666 rm -f conftest.$ac_objext conftest.$ac_ext.o
18667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18668 (eval $ac_compile) 2>&5
18669 ac_status=$?
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; then
18672 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18673 case $ac_file in
18674 conftest.$ac_ext.o)
18675 bakefile_cv_c_exto="-ext o"
18676 ;;
18677 *)
18678 ;;
18679 esac
18680 done
18681 else
18682 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18683 See \`config.log' for more details." >&5
18684 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18685 See \`config.log' for more details." >&2;}
18686 { (exit 1); exit 1; }; }
18687
18688 fi
18689
18690 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18691
18692 fi
18693 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18694 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18695 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18696 if test "c" = "c"; then
18697 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18698 fi
18699 if test "c" = "cxx"; then
18700 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18701 fi
18702 fi
18703
18704 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18705 unset ac_cv_prog_cc_g
18706 ac_test_CFLAGS=${CFLAGS+set}
18707 ac_save_CFLAGS=$CFLAGS
18708 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18709 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18710 if test "${ac_cv_prog_cc_g+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18712 else
18713 ac_save_c_werror_flag=$ac_c_werror_flag
18714 ac_c_werror_flag=yes
18715 ac_cv_prog_cc_g=no
18716 CFLAGS="-g"
18717 cat >conftest.$ac_ext <<_ACEOF
18718 /* confdefs.h. */
18719 _ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723
18724 int
18725 main ()
18726 {
18727
18728 ;
18729 return 0;
18730 }
18731 _ACEOF
18732 rm -f conftest.$ac_objext
18733 if { (ac_try="$ac_compile"
18734 case "(($ac_try" in
18735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18736 *) ac_try_echo=$ac_try;;
18737 esac
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_compile") 2>conftest.er1
18740 ac_status=$?
18741 grep -v '^ *+' conftest.er1 >conftest.err
18742 rm -f conftest.er1
18743 cat conftest.err >&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } && {
18746 test -z "$ac_c_werror_flag" ||
18747 test ! -s conftest.err
18748 } && test -s conftest.$ac_objext; then
18749 ac_cv_prog_cc_g=yes
18750 else
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18753
18754 CFLAGS=""
18755 cat >conftest.$ac_ext <<_ACEOF
18756 /* confdefs.h. */
18757 _ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761
18762 int
18763 main ()
18764 {
18765
18766 ;
18767 return 0;
18768 }
18769 _ACEOF
18770 rm -f conftest.$ac_objext
18771 if { (ac_try="$ac_compile"
18772 case "(($ac_try" in
18773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18774 *) ac_try_echo=$ac_try;;
18775 esac
18776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18777 (eval "$ac_compile") 2>conftest.er1
18778 ac_status=$?
18779 grep -v '^ *+' conftest.er1 >conftest.err
18780 rm -f conftest.er1
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } && {
18784 test -z "$ac_c_werror_flag" ||
18785 test ! -s conftest.err
18786 } && test -s conftest.$ac_objext; then
18787 :
18788 else
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18791
18792 ac_c_werror_flag=$ac_save_c_werror_flag
18793 CFLAGS="-g"
18794 cat >conftest.$ac_ext <<_ACEOF
18795 /* confdefs.h. */
18796 _ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18800
18801 int
18802 main ()
18803 {
18804
18805 ;
18806 return 0;
18807 }
18808 _ACEOF
18809 rm -f conftest.$ac_objext
18810 if { (ac_try="$ac_compile"
18811 case "(($ac_try" in
18812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18813 *) ac_try_echo=$ac_try;;
18814 esac
18815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18816 (eval "$ac_compile") 2>conftest.er1
18817 ac_status=$?
18818 grep -v '^ *+' conftest.er1 >conftest.err
18819 rm -f conftest.er1
18820 cat conftest.err >&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } && {
18823 test -z "$ac_c_werror_flag" ||
18824 test ! -s conftest.err
18825 } && test -s conftest.$ac_objext; then
18826 ac_cv_prog_cc_g=yes
18827 else
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18830
18831
18832 fi
18833
18834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18835 fi
18836
18837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18838 fi
18839
18840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18841 ac_c_werror_flag=$ac_save_c_werror_flag
18842 fi
18843 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18844 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18845 if test "$ac_test_CFLAGS" = set; then
18846 CFLAGS=$ac_save_CFLAGS
18847 elif test $ac_cv_prog_cc_g = yes; then
18848 if test "$GCC" = yes; then
18849 CFLAGS="-g -O2"
18850 else
18851 CFLAGS="-g"
18852 fi
18853 else
18854 if test "$GCC" = yes; then
18855 CFLAGS="-O2"
18856 else
18857 CFLAGS=
18858 fi
18859 fi
18860 fi
18861 fi
18862
18863 case `uname -s` in
18864 AIX*)
18865
18866
18867 ac_ext=cpp
18868 ac_cpp='$CXXCPP $CPPFLAGS'
18869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18872
18873 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18874 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18875 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18876 echo $ECHO_N "(cached) $ECHO_C" >&6
18877 else
18878 cat >conftest.$ac_ext <<_ACEOF
18879 /* confdefs.h. */
18880 _ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18884
18885 int
18886 main ()
18887 {
18888
18889 #ifndef __xlC__
18890 choke me
18891 #endif
18892
18893 ;
18894 return 0;
18895 }
18896 _ACEOF
18897 rm -f conftest.$ac_objext
18898 if { (ac_try="$ac_compile"
18899 case "(($ac_try" in
18900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18901 *) ac_try_echo=$ac_try;;
18902 esac
18903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_compile") 2>conftest.er1
18905 ac_status=$?
18906 grep -v '^ *+' conftest.er1 >conftest.err
18907 rm -f conftest.er1
18908 cat conftest.err >&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } && {
18911 test -z "$ac_cxx_werror_flag" ||
18912 test ! -s conftest.err
18913 } && test -s conftest.$ac_objext; then
18914 bakefile_cv_cxx_compiler___xlC__=yes
18915 else
18916 echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.$ac_ext >&5
18918
18919 bakefile_cv_cxx_compiler___xlC__=no
18920
18921 fi
18922
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18924
18925
18926 fi
18927 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18928 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18929 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18930 :; XLCXX=yes
18931 else
18932 :;
18933 fi
18934 ac_ext=c
18935 ac_cpp='$CPP $CPPFLAGS'
18936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18939
18940
18941
18942 ;;
18943
18944 Darwin)
18945
18946
18947 ac_ext=cpp
18948 ac_cpp='$CXXCPP $CPPFLAGS'
18949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18952
18953 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18954 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18955 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 else
18958 cat >conftest.$ac_ext <<_ACEOF
18959 /* confdefs.h. */
18960 _ACEOF
18961 cat confdefs.h >>conftest.$ac_ext
18962 cat >>conftest.$ac_ext <<_ACEOF
18963 /* end confdefs.h. */
18964
18965 int
18966 main ()
18967 {
18968
18969 #ifndef __MWERKS__
18970 choke me
18971 #endif
18972
18973 ;
18974 return 0;
18975 }
18976 _ACEOF
18977 rm -f conftest.$ac_objext
18978 if { (ac_try="$ac_compile"
18979 case "(($ac_try" in
18980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18981 *) ac_try_echo=$ac_try;;
18982 esac
18983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_compile") 2>conftest.er1
18985 ac_status=$?
18986 grep -v '^ *+' conftest.er1 >conftest.err
18987 rm -f conftest.er1
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } && {
18991 test -z "$ac_cxx_werror_flag" ||
18992 test ! -s conftest.err
18993 } && test -s conftest.$ac_objext; then
18994 bakefile_cv_cxx_compiler___MWERKS__=yes
18995 else
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.$ac_ext >&5
18998
18999 bakefile_cv_cxx_compiler___MWERKS__=no
19000
19001 fi
19002
19003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19004
19005
19006 fi
19007 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19008 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19009 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19010 :; MWCXX=yes
19011 else
19012 :;
19013 fi
19014 ac_ext=c
19015 ac_cpp='$CPP $CPPFLAGS'
19016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19019
19020
19021
19022
19023
19024 ac_ext=cpp
19025 ac_cpp='$CXXCPP $CPPFLAGS'
19026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19029
19030 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19031 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19032 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 else
19035 cat >conftest.$ac_ext <<_ACEOF
19036 /* confdefs.h. */
19037 _ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041
19042 int
19043 main ()
19044 {
19045
19046 #ifndef __xlC__
19047 choke me
19048 #endif
19049
19050 ;
19051 return 0;
19052 }
19053 _ACEOF
19054 rm -f conftest.$ac_objext
19055 if { (ac_try="$ac_compile"
19056 case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19059 esac
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_compile") 2>conftest.er1
19062 ac_status=$?
19063 grep -v '^ *+' conftest.er1 >conftest.err
19064 rm -f conftest.er1
19065 cat conftest.err >&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } && {
19068 test -z "$ac_cxx_werror_flag" ||
19069 test ! -s conftest.err
19070 } && test -s conftest.$ac_objext; then
19071 bakefile_cv_cxx_compiler___xlC__=yes
19072 else
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19075
19076 bakefile_cv_cxx_compiler___xlC__=no
19077
19078 fi
19079
19080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081
19082
19083 fi
19084 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19085 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19086 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19087 :; XLCXX=yes
19088 else
19089 :;
19090 fi
19091 ac_ext=c
19092 ac_cpp='$CPP $CPPFLAGS'
19093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19096
19097
19098
19099 ;;
19100
19101 IRIX*)
19102
19103
19104 ac_ext=cpp
19105 ac_cpp='$CXXCPP $CPPFLAGS'
19106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19109
19110 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19111 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19112 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19113 echo $ECHO_N "(cached) $ECHO_C" >&6
19114 else
19115 cat >conftest.$ac_ext <<_ACEOF
19116 /* confdefs.h. */
19117 _ACEOF
19118 cat confdefs.h >>conftest.$ac_ext
19119 cat >>conftest.$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19121
19122 int
19123 main ()
19124 {
19125
19126 #ifndef _SGI_COMPILER_VERSION
19127 choke me
19128 #endif
19129
19130 ;
19131 return 0;
19132 }
19133 _ACEOF
19134 rm -f conftest.$ac_objext
19135 if { (ac_try="$ac_compile"
19136 case "(($ac_try" in
19137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19138 *) ac_try_echo=$ac_try;;
19139 esac
19140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19141 (eval "$ac_compile") 2>conftest.er1
19142 ac_status=$?
19143 grep -v '^ *+' conftest.er1 >conftest.err
19144 rm -f conftest.er1
19145 cat conftest.err >&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } && {
19148 test -z "$ac_cxx_werror_flag" ||
19149 test ! -s conftest.err
19150 } && test -s conftest.$ac_objext; then
19151 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19152 else
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19155
19156 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19157
19158 fi
19159
19160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19161
19162
19163 fi
19164 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19165 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19166 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19167 :; SGICXX=yes
19168 else
19169 :;
19170 fi
19171 ac_ext=c
19172 ac_cpp='$CPP $CPPFLAGS'
19173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19176
19177
19178
19179 ;;
19180
19181 Linux*)
19182
19183
19184 ac_ext=cpp
19185 ac_cpp='$CXXCPP $CPPFLAGS'
19186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19189
19190 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19191 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19192 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19193 echo $ECHO_N "(cached) $ECHO_C" >&6
19194 else
19195 cat >conftest.$ac_ext <<_ACEOF
19196 /* confdefs.h. */
19197 _ACEOF
19198 cat confdefs.h >>conftest.$ac_ext
19199 cat >>conftest.$ac_ext <<_ACEOF
19200 /* end confdefs.h. */
19201
19202 int
19203 main ()
19204 {
19205
19206 #ifndef __SUNPRO_CC
19207 choke me
19208 #endif
19209
19210 ;
19211 return 0;
19212 }
19213 _ACEOF
19214 rm -f conftest.$ac_objext
19215 if { (ac_try="$ac_compile"
19216 case "(($ac_try" in
19217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19218 *) ac_try_echo=$ac_try;;
19219 esac
19220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19221 (eval "$ac_compile") 2>conftest.er1
19222 ac_status=$?
19223 grep -v '^ *+' conftest.er1 >conftest.err
19224 rm -f conftest.er1
19225 cat conftest.err >&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } && {
19228 test -z "$ac_cxx_werror_flag" ||
19229 test ! -s conftest.err
19230 } && test -s conftest.$ac_objext; then
19231 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19232 else
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19235
19236 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19237
19238 fi
19239
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19241
19242
19243 fi
19244 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19245 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19246 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19247 :; SUNCXX=yes
19248 else
19249 :;
19250 fi
19251 ac_ext=c
19252 ac_cpp='$CPP $CPPFLAGS'
19253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19256
19257
19258
19259 ;;
19260
19261 HP-UX*)
19262
19263
19264 ac_ext=cpp
19265 ac_cpp='$CXXCPP $CPPFLAGS'
19266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19269
19270 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19271 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19272 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19273 echo $ECHO_N "(cached) $ECHO_C" >&6
19274 else
19275 cat >conftest.$ac_ext <<_ACEOF
19276 /* confdefs.h. */
19277 _ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19281
19282 int
19283 main ()
19284 {
19285
19286 #ifndef __HP_aCC
19287 choke me
19288 #endif
19289
19290 ;
19291 return 0;
19292 }
19293 _ACEOF
19294 rm -f conftest.$ac_objext
19295 if { (ac_try="$ac_compile"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19299 esac
19300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_compile") 2>conftest.er1
19302 ac_status=$?
19303 grep -v '^ *+' conftest.er1 >conftest.err
19304 rm -f conftest.er1
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } && {
19308 test -z "$ac_cxx_werror_flag" ||
19309 test ! -s conftest.err
19310 } && test -s conftest.$ac_objext; then
19311 bakefile_cv_cxx_compiler___HP_aCC=yes
19312 else
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19315
19316 bakefile_cv_cxx_compiler___HP_aCC=no
19317
19318 fi
19319
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19321
19322
19323 fi
19324 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19325 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19326 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19327 :; HPCXX=yes
19328 else
19329 :;
19330 fi
19331 ac_ext=c
19332 ac_cpp='$CPP $CPPFLAGS'
19333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19336
19337
19338
19339 ;;
19340
19341 OSF1)
19342
19343
19344 ac_ext=cpp
19345 ac_cpp='$CXXCPP $CPPFLAGS'
19346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19349
19350 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19351 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19352 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19353 echo $ECHO_N "(cached) $ECHO_C" >&6
19354 else
19355 cat >conftest.$ac_ext <<_ACEOF
19356 /* confdefs.h. */
19357 _ACEOF
19358 cat confdefs.h >>conftest.$ac_ext
19359 cat >>conftest.$ac_ext <<_ACEOF
19360 /* end confdefs.h. */
19361
19362 int
19363 main ()
19364 {
19365
19366 #ifndef __DECCXX
19367 choke me
19368 #endif
19369
19370 ;
19371 return 0;
19372 }
19373 _ACEOF
19374 rm -f conftest.$ac_objext
19375 if { (ac_try="$ac_compile"
19376 case "(($ac_try" in
19377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19378 *) ac_try_echo=$ac_try;;
19379 esac
19380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19381 (eval "$ac_compile") 2>conftest.er1
19382 ac_status=$?
19383 grep -v '^ *+' conftest.er1 >conftest.err
19384 rm -f conftest.er1
19385 cat conftest.err >&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } && {
19388 test -z "$ac_cxx_werror_flag" ||
19389 test ! -s conftest.err
19390 } && test -s conftest.$ac_objext; then
19391 bakefile_cv_cxx_compiler___DECCXX=yes
19392 else
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19395
19396 bakefile_cv_cxx_compiler___DECCXX=no
19397
19398 fi
19399
19400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19401
19402
19403 fi
19404 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19405 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19406 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19407 :; COMPAQCXX=yes
19408 else
19409 :;
19410 fi
19411 ac_ext=c
19412 ac_cpp='$CPP $CPPFLAGS'
19413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19416
19417
19418
19419 ;;
19420
19421 SunOS)
19422
19423
19424 ac_ext=cpp
19425 ac_cpp='$CXXCPP $CPPFLAGS'
19426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19429
19430 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19431 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19432 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 else
19435 cat >conftest.$ac_ext <<_ACEOF
19436 /* confdefs.h. */
19437 _ACEOF
19438 cat confdefs.h >>conftest.$ac_ext
19439 cat >>conftest.$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441
19442 int
19443 main ()
19444 {
19445
19446 #ifndef __SUNPRO_CC
19447 choke me
19448 #endif
19449
19450 ;
19451 return 0;
19452 }
19453 _ACEOF
19454 rm -f conftest.$ac_objext
19455 if { (ac_try="$ac_compile"
19456 case "(($ac_try" in
19457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19458 *) ac_try_echo=$ac_try;;
19459 esac
19460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19461 (eval "$ac_compile") 2>conftest.er1
19462 ac_status=$?
19463 grep -v '^ *+' conftest.er1 >conftest.err
19464 rm -f conftest.er1
19465 cat conftest.err >&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); } && {
19468 test -z "$ac_cxx_werror_flag" ||
19469 test ! -s conftest.err
19470 } && test -s conftest.$ac_objext; then
19471 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19472 else
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19475
19476 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19477
19478 fi
19479
19480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19481
19482
19483 fi
19484 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19485 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19486 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19487 :; SUNCXX=yes
19488 else
19489 :;
19490 fi
19491 ac_ext=c
19492 ac_cpp='$CPP $CPPFLAGS'
19493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19496
19497
19498
19499 ;;
19500 esac
19501 fi
19502
19503
19504
19505 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19506 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19507 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19508 { (exit 1); exit 1; }; }
19509 fi
19510
19511 if test -n "$ac_tool_prefix"; then
19512 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19513 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19516 if test "${ac_cv_prog_RANLIB+set}" = set; then
19517 echo $ECHO_N "(cached) $ECHO_C" >&6
19518 else
19519 if test -n "$RANLIB"; then
19520 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19521 else
19522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19523 for as_dir in $PATH
19524 do
19525 IFS=$as_save_IFS
19526 test -z "$as_dir" && as_dir=.
19527 for ac_exec_ext in '' $ac_executable_extensions; do
19528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19529 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19531 break 2
19532 fi
19533 done
19534 done
19535 IFS=$as_save_IFS
19536
19537 fi
19538 fi
19539 RANLIB=$ac_cv_prog_RANLIB
19540 if test -n "$RANLIB"; then
19541 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19542 echo "${ECHO_T}$RANLIB" >&6; }
19543 else
19544 { echo "$as_me:$LINENO: result: no" >&5
19545 echo "${ECHO_T}no" >&6; }
19546 fi
19547
19548
19549 fi
19550 if test -z "$ac_cv_prog_RANLIB"; then
19551 ac_ct_RANLIB=$RANLIB
19552 # Extract the first word of "ranlib", so it can be a program name with args.
19553 set dummy ranlib; ac_word=$2
19554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19556 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19558 else
19559 if test -n "$ac_ct_RANLIB"; then
19560 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19561 else
19562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19563 for as_dir in $PATH
19564 do
19565 IFS=$as_save_IFS
19566 test -z "$as_dir" && as_dir=.
19567 for ac_exec_ext in '' $ac_executable_extensions; do
19568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19569 ac_cv_prog_ac_ct_RANLIB="ranlib"
19570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19571 break 2
19572 fi
19573 done
19574 done
19575 IFS=$as_save_IFS
19576
19577 fi
19578 fi
19579 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19580 if test -n "$ac_ct_RANLIB"; then
19581 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19582 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19583 else
19584 { echo "$as_me:$LINENO: result: no" >&5
19585 echo "${ECHO_T}no" >&6; }
19586 fi
19587
19588 if test "x$ac_ct_RANLIB" = x; then
19589 RANLIB=":"
19590 else
19591 case $cross_compiling:$ac_tool_warned in
19592 yes:)
19593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19594 whose name does not start with the host triplet. If you think this
19595 configuration is useful to you, please write to autoconf@gnu.org." >&5
19596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19597 whose name does not start with the host triplet. If you think this
19598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19599 ac_tool_warned=yes ;;
19600 esac
19601 RANLIB=$ac_ct_RANLIB
19602 fi
19603 else
19604 RANLIB="$ac_cv_prog_RANLIB"
19605 fi
19606
19607
19608 if test "x$SUNCXX" != xyes; then
19609 if test -n "$ac_tool_prefix"; then
19610 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19611 set dummy ${ac_tool_prefix}ar; ac_word=$2
19612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19614 if test "${ac_cv_prog_AR+set}" = set; then
19615 echo $ECHO_N "(cached) $ECHO_C" >&6
19616 else
19617 if test -n "$AR"; then
19618 ac_cv_prog_AR="$AR" # Let the user override the test.
19619 else
19620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19621 for as_dir in $PATH
19622 do
19623 IFS=$as_save_IFS
19624 test -z "$as_dir" && as_dir=.
19625 for ac_exec_ext in '' $ac_executable_extensions; do
19626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19627 ac_cv_prog_AR="${ac_tool_prefix}ar"
19628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19629 break 2
19630 fi
19631 done
19632 done
19633 IFS=$as_save_IFS
19634
19635 fi
19636 fi
19637 AR=$ac_cv_prog_AR
19638 if test -n "$AR"; then
19639 { echo "$as_me:$LINENO: result: $AR" >&5
19640 echo "${ECHO_T}$AR" >&6; }
19641 else
19642 { echo "$as_me:$LINENO: result: no" >&5
19643 echo "${ECHO_T}no" >&6; }
19644 fi
19645
19646
19647 fi
19648 if test -z "$ac_cv_prog_AR"; then
19649 ac_ct_AR=$AR
19650 # Extract the first word of "ar", so it can be a program name with args.
19651 set dummy ar; ac_word=$2
19652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19654 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19655 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 else
19657 if test -n "$ac_ct_AR"; then
19658 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19659 else
19660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19661 for as_dir in $PATH
19662 do
19663 IFS=$as_save_IFS
19664 test -z "$as_dir" && as_dir=.
19665 for ac_exec_ext in '' $ac_executable_extensions; do
19666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19667 ac_cv_prog_ac_ct_AR="ar"
19668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19669 break 2
19670 fi
19671 done
19672 done
19673 IFS=$as_save_IFS
19674
19675 fi
19676 fi
19677 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19678 if test -n "$ac_ct_AR"; then
19679 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19680 echo "${ECHO_T}$ac_ct_AR" >&6; }
19681 else
19682 { echo "$as_me:$LINENO: result: no" >&5
19683 echo "${ECHO_T}no" >&6; }
19684 fi
19685
19686 if test "x$ac_ct_AR" = x; then
19687 AR=""
19688 else
19689 case $cross_compiling:$ac_tool_warned in
19690 yes:)
19691 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19692 whose name does not start with the host triplet. If you think this
19693 configuration is useful to you, please write to autoconf@gnu.org." >&5
19694 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19695 whose name does not start with the host triplet. If you think this
19696 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19697 ac_tool_warned=yes ;;
19698 esac
19699 AR=$ac_ct_AR
19700 fi
19701 else
19702 AR="$ac_cv_prog_AR"
19703 fi
19704
19705 if test "x$AR" = "x" ; then
19706 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19707 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19708 { (exit 1); exit 1; }; }
19709 fi
19710 fi
19711
19712 # Find a good install program. We prefer a C program (faster),
19713 # so one script is as good as another. But avoid the broken or
19714 # incompatible versions:
19715 # SysV /etc/install, /usr/sbin/install
19716 # SunOS /usr/etc/install
19717 # IRIX /sbin/install
19718 # AIX /bin/install
19719 # AmigaOS /C/install, which installs bootblocks on floppy discs
19720 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19721 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19722 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19723 # OS/2's system install, which has a completely different semantic
19724 # ./install, which can be erroneously created by make from ./install.sh.
19725 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19726 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19727 if test -z "$INSTALL"; then
19728 if test "${ac_cv_path_install+set}" = set; then
19729 echo $ECHO_N "(cached) $ECHO_C" >&6
19730 else
19731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19732 for as_dir in $PATH
19733 do
19734 IFS=$as_save_IFS
19735 test -z "$as_dir" && as_dir=.
19736 # Account for people who put trailing slashes in PATH elements.
19737 case $as_dir/ in
19738 ./ | .// | /cC/* | \
19739 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19740 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19741 /usr/ucb/* ) ;;
19742 *)
19743 # OSF1 and SCO ODT 3.0 have their own names for install.
19744 # Don't use installbsd from OSF since it installs stuff as root
19745 # by default.
19746 for ac_prog in ginstall scoinst install; do
19747 for ac_exec_ext in '' $ac_executable_extensions; do
19748 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19749 if test $ac_prog = install &&
19750 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19751 # AIX install. It has an incompatible calling convention.
19752 :
19753 elif test $ac_prog = install &&
19754 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19755 # program-specific install script used by HP pwplus--don't use.
19756 :
19757 else
19758 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19759 break 3
19760 fi
19761 fi
19762 done
19763 done
19764 ;;
19765 esac
19766 done
19767 IFS=$as_save_IFS
19768
19769
19770 fi
19771 if test "${ac_cv_path_install+set}" = set; then
19772 INSTALL=$ac_cv_path_install
19773 else
19774 # As a last resort, use the slow shell script. Don't cache a
19775 # value for INSTALL within a source directory, because that will
19776 # break other packages using the cache if that directory is
19777 # removed, or if the value is a relative name.
19778 INSTALL=$ac_install_sh
19779 fi
19780 fi
19781 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19782 echo "${ECHO_T}$INSTALL" >&6; }
19783
19784 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19785 # It thinks the first close brace ends the variable substitution.
19786 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19787
19788 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19789
19790 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19791
19792
19793 case ${INSTALL} in
19794 /* ) # Absolute
19795 ;;
19796 ?:* ) # Drive letter, considered as absolute.
19797 ;;
19798 *)
19799 INSTALL=`pwd`/${INSTALL} ;;
19800 esac
19801
19802
19803 case "${host}" in
19804
19805 *-*-darwin* )
19806 INSTALL_PROGRAM="cp -fp"
19807 INSTALL_DATA="cp -fp"
19808 ;;
19809 *)
19810 ;;
19811 esac
19812
19813 if test -n "$ac_tool_prefix"; then
19814 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19815 set dummy ${ac_tool_prefix}strip; ac_word=$2
19816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19818 if test "${ac_cv_prog_STRIP+set}" = set; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 else
19821 if test -n "$STRIP"; then
19822 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19823 else
19824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19825 for as_dir in $PATH
19826 do
19827 IFS=$as_save_IFS
19828 test -z "$as_dir" && as_dir=.
19829 for ac_exec_ext in '' $ac_executable_extensions; do
19830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19831 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19833 break 2
19834 fi
19835 done
19836 done
19837 IFS=$as_save_IFS
19838
19839 fi
19840 fi
19841 STRIP=$ac_cv_prog_STRIP
19842 if test -n "$STRIP"; then
19843 { echo "$as_me:$LINENO: result: $STRIP" >&5
19844 echo "${ECHO_T}$STRIP" >&6; }
19845 else
19846 { echo "$as_me:$LINENO: result: no" >&5
19847 echo "${ECHO_T}no" >&6; }
19848 fi
19849
19850
19851 fi
19852 if test -z "$ac_cv_prog_STRIP"; then
19853 ac_ct_STRIP=$STRIP
19854 # Extract the first word of "strip", so it can be a program name with args.
19855 set dummy strip; ac_word=$2
19856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19858 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19859 echo $ECHO_N "(cached) $ECHO_C" >&6
19860 else
19861 if test -n "$ac_ct_STRIP"; then
19862 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19863 else
19864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19865 for as_dir in $PATH
19866 do
19867 IFS=$as_save_IFS
19868 test -z "$as_dir" && as_dir=.
19869 for ac_exec_ext in '' $ac_executable_extensions; do
19870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19871 ac_cv_prog_ac_ct_STRIP="strip"
19872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19873 break 2
19874 fi
19875 done
19876 done
19877 IFS=$as_save_IFS
19878
19879 fi
19880 fi
19881 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19882 if test -n "$ac_ct_STRIP"; then
19883 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19884 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19885 else
19886 { echo "$as_me:$LINENO: result: no" >&5
19887 echo "${ECHO_T}no" >&6; }
19888 fi
19889
19890 if test "x$ac_ct_STRIP" = x; then
19891 STRIP="true"
19892 else
19893 case $cross_compiling:$ac_tool_warned in
19894 yes:)
19895 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19896 whose name does not start with the host triplet. If you think this
19897 configuration is useful to you, please write to autoconf@gnu.org." >&5
19898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19899 whose name does not start with the host triplet. If you think this
19900 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19901 ac_tool_warned=yes ;;
19902 esac
19903 STRIP=$ac_ct_STRIP
19904 fi
19905 else
19906 STRIP="$ac_cv_prog_STRIP"
19907 fi
19908
19909
19910 if test "$wxUSE_WINE" = "yes"; then
19911 if test -n "$ac_tool_prefix"; then
19912 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19913 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19916 if test "${ac_cv_prog_WINDRES+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19918 else
19919 if test -n "$WINDRES"; then
19920 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19921 else
19922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19923 for as_dir in $PATH
19924 do
19925 IFS=$as_save_IFS
19926 test -z "$as_dir" && as_dir=.
19927 for ac_exec_ext in '' $ac_executable_extensions; do
19928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19929 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19931 break 2
19932 fi
19933 done
19934 done
19935 IFS=$as_save_IFS
19936
19937 fi
19938 fi
19939 WINDRES=$ac_cv_prog_WINDRES
19940 if test -n "$WINDRES"; then
19941 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19942 echo "${ECHO_T}$WINDRES" >&6; }
19943 else
19944 { echo "$as_me:$LINENO: result: no" >&5
19945 echo "${ECHO_T}no" >&6; }
19946 fi
19947
19948
19949 fi
19950 if test -z "$ac_cv_prog_WINDRES"; then
19951 ac_ct_WINDRES=$WINDRES
19952 # Extract the first word of "wrc", so it can be a program name with args.
19953 set dummy wrc; ac_word=$2
19954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19956 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 else
19959 if test -n "$ac_ct_WINDRES"; then
19960 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19961 else
19962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19963 for as_dir in $PATH
19964 do
19965 IFS=$as_save_IFS
19966 test -z "$as_dir" && as_dir=.
19967 for ac_exec_ext in '' $ac_executable_extensions; do
19968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19969 ac_cv_prog_ac_ct_WINDRES="wrc"
19970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19971 break 2
19972 fi
19973 done
19974 done
19975 IFS=$as_save_IFS
19976
19977 fi
19978 fi
19979 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19980 if test -n "$ac_ct_WINDRES"; then
19981 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19982 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19983 else
19984 { echo "$as_me:$LINENO: result: no" >&5
19985 echo "${ECHO_T}no" >&6; }
19986 fi
19987
19988 if test "x$ac_ct_WINDRES" = x; then
19989 WINDRES=""
19990 else
19991 case $cross_compiling:$ac_tool_warned in
19992 yes:)
19993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19994 whose name does not start with the host triplet. If you think this
19995 configuration is useful to you, please write to autoconf@gnu.org." >&5
19996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19997 whose name does not start with the host triplet. If you think this
19998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19999 ac_tool_warned=yes ;;
20000 esac
20001 WINDRES=$ac_ct_WINDRES
20002 fi
20003 else
20004 WINDRES="$ac_cv_prog_WINDRES"
20005 fi
20006
20007 RESCOMP="$WINDRES"
20008 else
20009 case "${host}" in
20010 *-*-cygwin* | *-*-mingw32* )
20011 if test -n "$ac_tool_prefix"; then
20012 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20013 set dummy ${ac_tool_prefix}windres; ac_word=$2
20014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20016 if test "${ac_cv_prog_WINDRES+set}" = set; then
20017 echo $ECHO_N "(cached) $ECHO_C" >&6
20018 else
20019 if test -n "$WINDRES"; then
20020 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20021 else
20022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20023 for as_dir in $PATH
20024 do
20025 IFS=$as_save_IFS
20026 test -z "$as_dir" && as_dir=.
20027 for ac_exec_ext in '' $ac_executable_extensions; do
20028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20029 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20031 break 2
20032 fi
20033 done
20034 done
20035 IFS=$as_save_IFS
20036
20037 fi
20038 fi
20039 WINDRES=$ac_cv_prog_WINDRES
20040 if test -n "$WINDRES"; then
20041 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20042 echo "${ECHO_T}$WINDRES" >&6; }
20043 else
20044 { echo "$as_me:$LINENO: result: no" >&5
20045 echo "${ECHO_T}no" >&6; }
20046 fi
20047
20048
20049 fi
20050 if test -z "$ac_cv_prog_WINDRES"; then
20051 ac_ct_WINDRES=$WINDRES
20052 # Extract the first word of "windres", so it can be a program name with args.
20053 set dummy windres; ac_word=$2
20054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20056 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20058 else
20059 if test -n "$ac_ct_WINDRES"; then
20060 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20061 else
20062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20063 for as_dir in $PATH
20064 do
20065 IFS=$as_save_IFS
20066 test -z "$as_dir" && as_dir=.
20067 for ac_exec_ext in '' $ac_executable_extensions; do
20068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20069 ac_cv_prog_ac_ct_WINDRES="windres"
20070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20071 break 2
20072 fi
20073 done
20074 done
20075 IFS=$as_save_IFS
20076
20077 fi
20078 fi
20079 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20080 if test -n "$ac_ct_WINDRES"; then
20081 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20082 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20083 else
20084 { echo "$as_me:$LINENO: result: no" >&5
20085 echo "${ECHO_T}no" >&6; }
20086 fi
20087
20088 if test "x$ac_ct_WINDRES" = x; then
20089 WINDRES=""
20090 else
20091 case $cross_compiling:$ac_tool_warned in
20092 yes:)
20093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20094 whose name does not start with the host triplet. If you think this
20095 configuration is useful to you, please write to autoconf@gnu.org." >&5
20096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20097 whose name does not start with the host triplet. If you think this
20098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20099 ac_tool_warned=yes ;;
20100 esac
20101 WINDRES=$ac_ct_WINDRES
20102 fi
20103 else
20104 WINDRES="$ac_cv_prog_WINDRES"
20105 fi
20106
20107 RESCOMP="$WINDRES"
20108 if test -n "$ac_tool_prefix"; then
20109 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20110 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20113 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20114 echo $ECHO_N "(cached) $ECHO_C" >&6
20115 else
20116 if test -n "$DLLTOOL"; then
20117 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20118 else
20119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20120 for as_dir in $PATH
20121 do
20122 IFS=$as_save_IFS
20123 test -z "$as_dir" && as_dir=.
20124 for ac_exec_ext in '' $ac_executable_extensions; do
20125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20126 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20128 break 2
20129 fi
20130 done
20131 done
20132 IFS=$as_save_IFS
20133
20134 fi
20135 fi
20136 DLLTOOL=$ac_cv_prog_DLLTOOL
20137 if test -n "$DLLTOOL"; then
20138 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20139 echo "${ECHO_T}$DLLTOOL" >&6; }
20140 else
20141 { echo "$as_me:$LINENO: result: no" >&5
20142 echo "${ECHO_T}no" >&6; }
20143 fi
20144
20145
20146 fi
20147 if test -z "$ac_cv_prog_DLLTOOL"; then
20148 ac_ct_DLLTOOL=$DLLTOOL
20149 # Extract the first word of "dlltool", so it can be a program name with args.
20150 set dummy dlltool; ac_word=$2
20151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20153 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20155 else
20156 if test -n "$ac_ct_DLLTOOL"; then
20157 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20158 else
20159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20160 for as_dir in $PATH
20161 do
20162 IFS=$as_save_IFS
20163 test -z "$as_dir" && as_dir=.
20164 for ac_exec_ext in '' $ac_executable_extensions; do
20165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20166 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20168 break 2
20169 fi
20170 done
20171 done
20172 IFS=$as_save_IFS
20173
20174 fi
20175 fi
20176 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20177 if test -n "$ac_ct_DLLTOOL"; then
20178 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20179 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20180 else
20181 { echo "$as_me:$LINENO: result: no" >&5
20182 echo "${ECHO_T}no" >&6; }
20183 fi
20184
20185 if test "x$ac_ct_DLLTOOL" = x; then
20186 DLLTOOL=""
20187 else
20188 case $cross_compiling:$ac_tool_warned in
20189 yes:)
20190 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20191 whose name does not start with the host triplet. If you think this
20192 configuration is useful to you, please write to autoconf@gnu.org." >&5
20193 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20194 whose name does not start with the host triplet. If you think this
20195 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20196 ac_tool_warned=yes ;;
20197 esac
20198 DLLTOOL=$ac_ct_DLLTOOL
20199 fi
20200 else
20201 DLLTOOL="$ac_cv_prog_DLLTOOL"
20202 fi
20203
20204 ;;
20205 esac
20206 fi
20207
20208 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20209 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20210 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20211 echo $ECHO_N "(cached) $ECHO_C" >&6
20212 else
20213
20214 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20215 $EGREP -s GNU > /dev/null); then
20216 wx_cv_prog_makeisgnu="yes"
20217 else
20218 wx_cv_prog_makeisgnu="no"
20219 fi
20220
20221 fi
20222 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20223 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20224
20225 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20226 IF_GNU_MAKE=""
20227 else
20228 IF_GNU_MAKE="#"
20229 fi
20230
20231
20232
20233 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20234 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20235 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20236 if test "${wx_cv_prog_makevpath+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 else
20239
20240 cat - << EOF > confMake
20241 check : file
20242 cp \$? \$@
20243 cp \$? final_file
20244 EOF
20245
20246 if test ! -d sub ; then
20247 mkdir sub
20248 fi
20249 echo dummy > sub/file
20250 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20251 RESULT=$?
20252 rm -f sub/file check final_file confMake
20253 rmdir sub
20254 if test "$RESULT" = 0; then
20255 wx_cv_prog_makevpath="yes"
20256 else
20257 wx_cv_prog_makevpath="no"
20258 fi
20259
20260 fi
20261 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20262 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20263
20264 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20265 { { echo "$as_me:$LINENO: error:
20266 You need a make-utility that is able to use the variable
20267 VPATH correctly.
20268 If your version of make does not support VPATH correctly,
20269 please install GNU-make (possibly as gmake), and start
20270 configure with the following command:
20271 export MAKE=gmake; ./configure for sh-type shells
20272 setenv MAKE gmake; ./configure for csh-type shells
20273 Also please do remember to use gmake in this case every time
20274 you are trying to compile.
20275 " >&5
20276 echo "$as_me: error:
20277 You need a make-utility that is able to use the variable
20278 VPATH correctly.
20279 If your version of make does not support VPATH correctly,
20280 please install GNU-make (possibly as gmake), and start
20281 configure with the following command:
20282 export MAKE=gmake; ./configure for sh-type shells
20283 setenv MAKE gmake; ./configure for csh-type shells
20284 Also please do remember to use gmake in this case every time
20285 you are trying to compile.
20286 " >&2;}
20287 { (exit 1); exit 1; }; }
20288 fi fi
20289 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20290 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20291 LN_S=$as_ln_s
20292 if test "$LN_S" = "ln -s"; then
20293 { echo "$as_me:$LINENO: result: yes" >&5
20294 echo "${ECHO_T}yes" >&6; }
20295 else
20296 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20297 echo "${ECHO_T}no, using $LN_S" >&6; }
20298 fi
20299
20300
20301
20302
20303 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20304 CXXFLAGS="-qunique $CXXFLAGS"
20305 fi
20306
20307 case "${host}" in
20308 powerpc-*-darwin* )
20309 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20310 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20311 cat >conftest.$ac_ext <<_ACEOF
20312 /* confdefs.h. */
20313 _ACEOF
20314 cat confdefs.h >>conftest.$ac_ext
20315 cat >>conftest.$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20317
20318 int
20319 main ()
20320 {
20321 #ifndef __POWERPC__
20322 choke me for lack of PowerPC
20323 #endif
20324
20325 ;
20326 return 0;
20327 }
20328 _ACEOF
20329 rm -f conftest.$ac_objext
20330 if { (ac_try="$ac_compile"
20331 case "(($ac_try" in
20332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20333 *) ac_try_echo=$ac_try;;
20334 esac
20335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20336 (eval "$ac_compile") 2>conftest.er1
20337 ac_status=$?
20338 grep -v '^ *+' conftest.er1 >conftest.err
20339 rm -f conftest.er1
20340 cat conftest.err >&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } && {
20343 test -z "$ac_c_werror_flag" ||
20344 test ! -s conftest.err
20345 } && test -s conftest.$ac_objext; then
20346 { echo "$as_me:$LINENO: result: yes" >&5
20347 echo "${ECHO_T}yes" >&6; }
20348 else
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.$ac_ext >&5
20351
20352 { echo "$as_me:$LINENO: result: no" >&5
20353 echo "${ECHO_T}no" >&6; }
20354 cat >>confdefs.h <<\_ACEOF
20355 #define __POWERPC__ 1
20356 _ACEOF
20357
20358
20359 fi
20360
20361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20362 ;;
20363 esac
20364
20365 case "${host}" in
20366 *-*-darwin* )
20367 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20368 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20369 cat >conftest.$ac_ext <<_ACEOF
20370 /* confdefs.h. */
20371 _ACEOF
20372 cat confdefs.h >>conftest.$ac_ext
20373 cat >>conftest.$ac_ext <<_ACEOF
20374 /* end confdefs.h. */
20375 #include <CoreFoundation/CFBase.h>
20376
20377 int
20378 main ()
20379 {
20380
20381 ;
20382 return 0;
20383 }
20384 _ACEOF
20385 rm -f conftest.$ac_objext
20386 if { (ac_try="$ac_compile"
20387 case "(($ac_try" in
20388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20389 *) ac_try_echo=$ac_try;;
20390 esac
20391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20392 (eval "$ac_compile") 2>conftest.er1
20393 ac_status=$?
20394 grep -v '^ *+' conftest.er1 >conftest.err
20395 rm -f conftest.er1
20396 cat conftest.err >&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } && {
20399 test -z "$ac_c_werror_flag" ||
20400 test ! -s conftest.err
20401 } && test -s conftest.$ac_objext; then
20402 { echo "$as_me:$LINENO: result: yes" >&5
20403 echo "${ECHO_T}yes" >&6; }
20404 else
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.$ac_ext >&5
20407
20408 { echo "$as_me:$LINENO: result: no" >&5
20409 echo "${ECHO_T}no" >&6; }
20410 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20411 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20412 cat >conftest.$ac_ext <<_ACEOF
20413 /* confdefs.h. */
20414 _ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 #define __CF_USE_FRAMEWORK_INCLUDES__
20419 #include <CoreFoundation/CFBase.h>
20420
20421 int
20422 main ()
20423 {
20424
20425 ;
20426 return 0;
20427 }
20428 _ACEOF
20429 rm -f conftest.$ac_objext
20430 if { (ac_try="$ac_compile"
20431 case "(($ac_try" in
20432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20433 *) ac_try_echo=$ac_try;;
20434 esac
20435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20436 (eval "$ac_compile") 2>conftest.er1
20437 ac_status=$?
20438 grep -v '^ *+' conftest.er1 >conftest.err
20439 rm -f conftest.er1
20440 cat conftest.err >&5
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); } && {
20443 test -z "$ac_c_werror_flag" ||
20444 test ! -s conftest.err
20445 } && test -s conftest.$ac_objext; then
20446 { echo "$as_me:$LINENO: result: yes" >&5
20447 echo "${ECHO_T}yes" >&6; }
20448 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20449 else
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.$ac_ext >&5
20452
20453 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20454 See \`config.log' for more details." >&5
20455 echo "$as_me: error: no. CoreFoundation not available.
20456 See \`config.log' for more details." >&2;}
20457 { (exit 1); exit 1; }; }
20458
20459 fi
20460
20461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20462
20463
20464 fi
20465
20466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20467 ;;
20468 esac
20469
20470 wants_win32=0
20471 doesnt_want_win32=0
20472 case "${host}" in
20473 *-*-cygwin*)
20474 if test "$wxUSE_MSW" = 1 ; then
20475 wants_win32=1
20476 else
20477 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20478 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20479 if test "${wx_cv_nocygwin+set}" = set; then
20480 echo $ECHO_N "(cached) $ECHO_C" >&6
20481 else
20482
20483 cat >conftest.$ac_ext <<_ACEOF
20484 /* confdefs.h. */
20485 _ACEOF
20486 cat confdefs.h >>conftest.$ac_ext
20487 cat >>conftest.$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20489
20490 int
20491 main ()
20492 {
20493
20494 #ifdef __MINGW32__
20495 choke me
20496 #endif
20497
20498 ;
20499 return 0;
20500 }
20501 _ACEOF
20502 rm -f conftest.$ac_objext
20503 if { (ac_try="$ac_compile"
20504 case "(($ac_try" in
20505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20506 *) ac_try_echo=$ac_try;;
20507 esac
20508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20509 (eval "$ac_compile") 2>conftest.er1
20510 ac_status=$?
20511 grep -v '^ *+' conftest.er1 >conftest.err
20512 rm -f conftest.er1
20513 cat conftest.err >&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); } && {
20516 test -z "$ac_c_werror_flag" ||
20517 test ! -s conftest.err
20518 } && test -s conftest.$ac_objext; then
20519 wx_cv_nocygwin=no
20520 else
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20523
20524 wx_cv_nocygwin=yes
20525
20526 fi
20527
20528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20529
20530
20531 fi
20532 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20533 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20534
20535 if test "$wx_cv_nocygwin" = "yes"; then
20536 wants_win32=1
20537 else
20538 doesnt_want_win32=1
20539 fi
20540 fi
20541 if test "$wants_win32" = 1 ; then
20542 BAKEFILE_FORCE_PLATFORM=win32
20543 fi
20544 ;;
20545 *-*-mingw*)
20546 wants_win32=1
20547 ;;
20548 esac
20549
20550 if test "$wxUSE_WINE" = "yes"; then
20551 wants_win32=1
20552 LDFLAGS_GUI="-mwindows"
20553 fi
20554
20555 if test "$wants_win32" = 1 ; then
20556 USE_UNIX=0
20557 USE_WIN32=1
20558 cat >>confdefs.h <<\_ACEOF
20559 #define __WIN32__ 1
20560 _ACEOF
20561
20562 cat >>confdefs.h <<\_ACEOF
20563 #define __WIN95__ 1
20564 _ACEOF
20565
20566 cat >>confdefs.h <<\_ACEOF
20567 #define __WINDOWS__ 1
20568 _ACEOF
20569
20570 cat >>confdefs.h <<\_ACEOF
20571 #define __GNUWIN32__ 1
20572 _ACEOF
20573
20574 cat >>confdefs.h <<\_ACEOF
20575 #define STRICT 1
20576 _ACEOF
20577
20578 fi
20579 if test "$doesnt_want_win32" = 1 ; then
20580 USE_UNIX=1
20581 USE_WIN32=0
20582 fi
20583
20584 if test "$USE_UNIX" = 1 ; then
20585 wxUSE_UNIX=yes
20586 cat >>confdefs.h <<\_ACEOF
20587 #define __UNIX__ 1
20588 _ACEOF
20589
20590 fi
20591
20592 case "${host}" in
20593 *-pc-os2_emx | *-pc-os2-emx )
20594 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20595 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20596 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20597 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20598 echo $ECHO_N "(cached) $ECHO_C" >&6
20599 else
20600 ac_check_lib_save_LIBS=$LIBS
20601 LIBS="-lcExt $LIBS"
20602 cat >conftest.$ac_ext <<_ACEOF
20603 /* confdefs.h. */
20604 _ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608
20609 /* Override any GCC internal prototype to avoid an error.
20610 Use char because int might match the return type of a GCC
20611 builtin and then its argument prototype would still apply. */
20612 #ifdef __cplusplus
20613 extern "C"
20614 #endif
20615 char drand48 ();
20616 int
20617 main ()
20618 {
20619 return drand48 ();
20620 ;
20621 return 0;
20622 }
20623 _ACEOF
20624 rm -f conftest.$ac_objext conftest$ac_exeext
20625 if { (ac_try="$ac_link"
20626 case "(($ac_try" in
20627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20628 *) ac_try_echo=$ac_try;;
20629 esac
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_link") 2>conftest.er1
20632 ac_status=$?
20633 grep -v '^ *+' conftest.er1 >conftest.err
20634 rm -f conftest.er1
20635 cat conftest.err >&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } && {
20638 test -z "$ac_c_werror_flag" ||
20639 test ! -s conftest.err
20640 } && test -s conftest$ac_exeext &&
20641 $as_test_x conftest$ac_exeext; then
20642 ac_cv_lib_cExt_drand48=yes
20643 else
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20646
20647 ac_cv_lib_cExt_drand48=no
20648 fi
20649
20650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20651 conftest$ac_exeext conftest.$ac_ext
20652 LIBS=$ac_check_lib_save_LIBS
20653 fi
20654 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20655 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20656 if test $ac_cv_lib_cExt_drand48 = yes; then
20657 LIBS="$LIBS -lcExt"
20658 fi
20659
20660 else
20661 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20662 fi
20663 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20664 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20665 if test "${wx_cv_gccversion+set}" = set; then
20666 echo $ECHO_N "(cached) $ECHO_C" >&6
20667 else
20668
20669 if test "$cross_compiling" = yes; then
20670 wx_cv_gccversion="EMX2"
20671
20672 else
20673 cat >conftest.$ac_ext <<_ACEOF
20674 /* confdefs.h. */
20675 _ACEOF
20676 cat confdefs.h >>conftest.$ac_ext
20677 cat >>conftest.$ac_ext <<_ACEOF
20678 /* end confdefs.h. */
20679
20680 #include <stdio.h>
20681
20682 int main()
20683 {
20684 FILE *f=fopen("conftestval", "w");
20685 if (!f) exit(1);
20686 fprintf(f,
20687 #if (__GNUC__ < 3)
20688 "EMX2"
20689 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20690 "EMX3"
20691 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20692 "Innotek5"
20693 #else
20694 "Innotek6"
20695 #endif
20696 );
20697 exit(0);
20698 }
20699
20700 _ACEOF
20701 rm -f conftest$ac_exeext
20702 if { (ac_try="$ac_link"
20703 case "(($ac_try" in
20704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20705 *) ac_try_echo=$ac_try;;
20706 esac
20707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20708 (eval "$ac_link") 2>&5
20709 ac_status=$?
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20712 { (case "(($ac_try" in
20713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20715 esac
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_try") 2>&5
20718 ac_status=$?
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20721 wx_cv_gccversion=`cat conftestval`
20722 else
20723 echo "$as_me: program exited with status $ac_status" >&5
20724 echo "$as_me: failed program was:" >&5
20725 sed 's/^/| /' conftest.$ac_ext >&5
20726
20727 ( exit $ac_status )
20728 wx_cv_gccversion="EMX2"
20729 fi
20730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20731 fi
20732
20733
20734
20735 fi
20736 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20737 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20738 if test "$wx_cv_gccversion" = "EMX2"; then
20739 LIBS="$LIBS -lstdcpp"
20740 LDFLAGS="$LDFLAGS -Zsysv-signals"
20741 else
20742 if test "$wx_cv_gccversion" = "EMX3"; then
20743 LIBS="$LIBS -lstdcxx -lgcc"
20744 LDFLAGS="$LDFLAGS -Zsysv-signals"
20745 else
20746 LIBS="$LIBS -lstdc++"
20747 fi
20748 fi
20749 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20750 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20751 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20752 wxUSE_OMF=yes
20753 enable_omf=yes
20754 fi
20755 ;;
20756 *)
20757
20758 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20759 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20760 if test "${ac_cv_string_strcasecmp+set}" = set; then
20761 echo $ECHO_N "(cached) $ECHO_C" >&6
20762 else
20763
20764 cat >conftest.$ac_ext <<_ACEOF
20765 /* confdefs.h. */
20766 _ACEOF
20767 cat confdefs.h >>conftest.$ac_ext
20768 cat >>conftest.$ac_ext <<_ACEOF
20769 /* end confdefs.h. */
20770
20771 #include <string.h>
20772
20773 int
20774 main ()
20775 {
20776
20777 strcasecmp("foo", "bar");
20778
20779 ;
20780 return 0;
20781 }
20782 _ACEOF
20783 rm -f conftest.$ac_objext conftest$ac_exeext
20784 if { (ac_try="$ac_link"
20785 case "(($ac_try" in
20786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20787 *) ac_try_echo=$ac_try;;
20788 esac
20789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20790 (eval "$ac_link") 2>conftest.er1
20791 ac_status=$?
20792 grep -v '^ *+' conftest.er1 >conftest.err
20793 rm -f conftest.er1
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } && {
20797 test -z "$ac_c_werror_flag" ||
20798 test ! -s conftest.err
20799 } && test -s conftest$ac_exeext &&
20800 $as_test_x conftest$ac_exeext; then
20801 ac_cv_string_strcasecmp=yes
20802 else
20803 echo "$as_me: failed program was:" >&5
20804 sed 's/^/| /' conftest.$ac_ext >&5
20805
20806 ac_cv_string_strcasecmp=no
20807
20808 fi
20809
20810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20811 conftest$ac_exeext conftest.$ac_ext
20812
20813 fi
20814 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20815 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20816
20817 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20818 cat >>confdefs.h <<\_ACEOF
20819 #define HAVE_STRCASECMP_IN_STRING_H 1
20820 _ACEOF
20821
20822 else
20823 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20824 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20825 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20826 echo $ECHO_N "(cached) $ECHO_C" >&6
20827 else
20828
20829 cat >conftest.$ac_ext <<_ACEOF
20830 /* confdefs.h. */
20831 _ACEOF
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h. */
20835
20836 #include <strings.h>
20837
20838 int
20839 main ()
20840 {
20841
20842 strcasecmp("foo", "bar");
20843
20844 ;
20845 return 0;
20846 }
20847 _ACEOF
20848 rm -f conftest.$ac_objext conftest$ac_exeext
20849 if { (ac_try="$ac_link"
20850 case "(($ac_try" in
20851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20852 *) ac_try_echo=$ac_try;;
20853 esac
20854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20855 (eval "$ac_link") 2>conftest.er1
20856 ac_status=$?
20857 grep -v '^ *+' conftest.er1 >conftest.err
20858 rm -f conftest.er1
20859 cat conftest.err >&5
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); } && {
20862 test -z "$ac_c_werror_flag" ||
20863 test ! -s conftest.err
20864 } && test -s conftest$ac_exeext &&
20865 $as_test_x conftest$ac_exeext; then
20866 ac_cv_strings_strcasecmp=yes
20867 else
20868 echo "$as_me: failed program was:" >&5
20869 sed 's/^/| /' conftest.$ac_ext >&5
20870
20871 ac_cv_strings_strcasecmp=no
20872
20873 fi
20874
20875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20876 conftest$ac_exeext conftest.$ac_ext
20877
20878 fi
20879 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20880 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20881
20882 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20883 cat >>confdefs.h <<\_ACEOF
20884 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20885 _ACEOF
20886
20887 else
20888 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20889 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20890 { (exit 1); exit 1; }; }
20891 fi
20892 fi
20893
20894 ;;
20895 esac
20896
20897
20898 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20899 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20900 if test "${ac_cv_header_stdc+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20902 else
20903 cat >conftest.$ac_ext <<_ACEOF
20904 /* confdefs.h. */
20905 _ACEOF
20906 cat confdefs.h >>conftest.$ac_ext
20907 cat >>conftest.$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909 #include <stdlib.h>
20910 #include <stdarg.h>
20911 #include <string.h>
20912 #include <float.h>
20913
20914 int
20915 main ()
20916 {
20917
20918 ;
20919 return 0;
20920 }
20921 _ACEOF
20922 rm -f conftest.$ac_objext
20923 if { (ac_try="$ac_compile"
20924 case "(($ac_try" in
20925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20926 *) ac_try_echo=$ac_try;;
20927 esac
20928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20929 (eval "$ac_compile") 2>conftest.er1
20930 ac_status=$?
20931 grep -v '^ *+' conftest.er1 >conftest.err
20932 rm -f conftest.er1
20933 cat conftest.err >&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); } && {
20936 test -z "$ac_c_werror_flag" ||
20937 test ! -s conftest.err
20938 } && test -s conftest.$ac_objext; then
20939 ac_cv_header_stdc=yes
20940 else
20941 echo "$as_me: failed program was:" >&5
20942 sed 's/^/| /' conftest.$ac_ext >&5
20943
20944 ac_cv_header_stdc=no
20945 fi
20946
20947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20948
20949 if test $ac_cv_header_stdc = yes; then
20950 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20951 cat >conftest.$ac_ext <<_ACEOF
20952 /* confdefs.h. */
20953 _ACEOF
20954 cat confdefs.h >>conftest.$ac_ext
20955 cat >>conftest.$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 #include <string.h>
20958
20959 _ACEOF
20960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20961 $EGREP "memchr" >/dev/null 2>&1; then
20962 :
20963 else
20964 ac_cv_header_stdc=no
20965 fi
20966 rm -f conftest*
20967
20968 fi
20969
20970 if test $ac_cv_header_stdc = yes; then
20971 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20972 cat >conftest.$ac_ext <<_ACEOF
20973 /* confdefs.h. */
20974 _ACEOF
20975 cat confdefs.h >>conftest.$ac_ext
20976 cat >>conftest.$ac_ext <<_ACEOF
20977 /* end confdefs.h. */
20978 #include <stdlib.h>
20979
20980 _ACEOF
20981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20982 $EGREP "free" >/dev/null 2>&1; then
20983 :
20984 else
20985 ac_cv_header_stdc=no
20986 fi
20987 rm -f conftest*
20988
20989 fi
20990
20991 if test $ac_cv_header_stdc = yes; then
20992 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20993 if test "$cross_compiling" = yes; then
20994 :
20995 else
20996 cat >conftest.$ac_ext <<_ACEOF
20997 /* confdefs.h. */
20998 _ACEOF
20999 cat confdefs.h >>conftest.$ac_ext
21000 cat >>conftest.$ac_ext <<_ACEOF
21001 /* end confdefs.h. */
21002 #include <ctype.h>
21003 #include <stdlib.h>
21004 #if ((' ' & 0x0FF) == 0x020)
21005 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21006 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21007 #else
21008 # define ISLOWER(c) \
21009 (('a' <= (c) && (c) <= 'i') \
21010 || ('j' <= (c) && (c) <= 'r') \
21011 || ('s' <= (c) && (c) <= 'z'))
21012 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21013 #endif
21014
21015 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21016 int
21017 main ()
21018 {
21019 int i;
21020 for (i = 0; i < 256; i++)
21021 if (XOR (islower (i), ISLOWER (i))
21022 || toupper (i) != TOUPPER (i))
21023 return 2;
21024 return 0;
21025 }
21026 _ACEOF
21027 rm -f conftest$ac_exeext
21028 if { (ac_try="$ac_link"
21029 case "(($ac_try" in
21030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21031 *) ac_try_echo=$ac_try;;
21032 esac
21033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21034 (eval "$ac_link") 2>&5
21035 ac_status=$?
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21038 { (case "(($ac_try" in
21039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21040 *) ac_try_echo=$ac_try;;
21041 esac
21042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21043 (eval "$ac_try") 2>&5
21044 ac_status=$?
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); }; }; then
21047 :
21048 else
21049 echo "$as_me: program exited with status $ac_status" >&5
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21052
21053 ( exit $ac_status )
21054 ac_cv_header_stdc=no
21055 fi
21056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21057 fi
21058
21059
21060 fi
21061 fi
21062 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21063 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21064 if test $ac_cv_header_stdc = yes; then
21065
21066 cat >>confdefs.h <<\_ACEOF
21067 #define STDC_HEADERS 1
21068 _ACEOF
21069
21070 fi
21071
21072 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21083 inttypes.h stdint.h unistd.h
21084 do
21085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21089 echo $ECHO_N "(cached) $ECHO_C" >&6
21090 else
21091 cat >conftest.$ac_ext <<_ACEOF
21092 /* confdefs.h. */
21093 _ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 $ac_includes_default
21098
21099 #include <$ac_header>
21100 _ACEOF
21101 rm -f conftest.$ac_objext
21102 if { (ac_try="$ac_compile"
21103 case "(($ac_try" in
21104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;;
21106 esac
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_compile") 2>conftest.er1
21109 ac_status=$?
21110 grep -v '^ *+' conftest.er1 >conftest.err
21111 rm -f conftest.er1
21112 cat conftest.err >&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } && {
21115 test -z "$ac_c_werror_flag" ||
21116 test ! -s conftest.err
21117 } && test -s conftest.$ac_objext; then
21118 eval "$as_ac_Header=yes"
21119 else
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.$ac_ext >&5
21122
21123 eval "$as_ac_Header=no"
21124 fi
21125
21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21127 fi
21128 ac_res=`eval echo '${'$as_ac_Header'}'`
21129 { echo "$as_me:$LINENO: result: $ac_res" >&5
21130 echo "${ECHO_T}$ac_res" >&6; }
21131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21132 cat >>confdefs.h <<_ACEOF
21133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21134 _ACEOF
21135
21136 fi
21137
21138 done
21139
21140
21141
21142
21143
21144
21145
21146
21147 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21148 do
21149 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21150 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 else
21155 cat >conftest.$ac_ext <<_ACEOF
21156 /* confdefs.h. */
21157 _ACEOF
21158 cat confdefs.h >>conftest.$ac_ext
21159 cat >>conftest.$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21162
21163 #include <$ac_header>
21164 _ACEOF
21165 rm -f conftest.$ac_objext
21166 if { (ac_try="$ac_compile"
21167 case "(($ac_try" in
21168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21169 *) ac_try_echo=$ac_try;;
21170 esac
21171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21172 (eval "$ac_compile") 2>conftest.er1
21173 ac_status=$?
21174 grep -v '^ *+' conftest.er1 >conftest.err
21175 rm -f conftest.er1
21176 cat conftest.err >&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); } && {
21179 test -z "$ac_c_werror_flag" ||
21180 test ! -s conftest.err
21181 } && test -s conftest.$ac_objext; then
21182 eval "$as_ac_Header=yes"
21183 else
21184 echo "$as_me: failed program was:" >&5
21185 sed 's/^/| /' conftest.$ac_ext >&5
21186
21187 eval "$as_ac_Header=no"
21188 fi
21189
21190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21191 fi
21192 ac_res=`eval echo '${'$as_ac_Header'}'`
21193 { echo "$as_me:$LINENO: result: $ac_res" >&5
21194 echo "${ECHO_T}$ac_res" >&6; }
21195 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21196 cat >>confdefs.h <<_ACEOF
21197 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21198 _ACEOF
21199
21200 fi
21201
21202 done
21203
21204
21205 if test "$ac_cv_header_wchar_h" != "yes"; then
21206
21207 for ac_header in wcstr.h
21208 do
21209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21213 echo $ECHO_N "(cached) $ECHO_C" >&6
21214 else
21215 cat >conftest.$ac_ext <<_ACEOF
21216 /* confdefs.h. */
21217 _ACEOF
21218 cat confdefs.h >>conftest.$ac_ext
21219 cat >>conftest.$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21221 $ac_includes_default
21222
21223 #include <$ac_header>
21224 _ACEOF
21225 rm -f conftest.$ac_objext
21226 if { (ac_try="$ac_compile"
21227 case "(($ac_try" in
21228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21230 esac
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_compile") 2>conftest.er1
21233 ac_status=$?
21234 grep -v '^ *+' conftest.er1 >conftest.err
21235 rm -f conftest.er1
21236 cat conftest.err >&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } && {
21239 test -z "$ac_c_werror_flag" ||
21240 test ! -s conftest.err
21241 } && test -s conftest.$ac_objext; then
21242 eval "$as_ac_Header=yes"
21243 else
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21246
21247 eval "$as_ac_Header=no"
21248 fi
21249
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251 fi
21252 ac_res=`eval echo '${'$as_ac_Header'}'`
21253 { echo "$as_me:$LINENO: result: $ac_res" >&5
21254 echo "${ECHO_T}$ac_res" >&6; }
21255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21256 cat >>confdefs.h <<_ACEOF
21257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21258 _ACEOF
21259
21260 fi
21261
21262 done
21263
21264 fi
21265
21266 case "${host}" in
21267 *-pc-os2_emx | *-pc-os2-emx )
21268 if test $ac_cv_header_langinfo_h = "yes" \
21269 -a \( "$wx_cv_gccversion" = "EMX2" \
21270 -o "$wx_cv_gccversion" = "EMX3" \
21271 -o "$wx_cv_gccversion" = "Innotek5" \); then
21272 LIBS="$LIBS -lintl"
21273 fi
21274 ;;
21275 esac
21276
21277 if test "$USE_UNIX" = 1 ; then
21278
21279 for ac_header in sys/select.h
21280 do
21281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21285 echo $ECHO_N "(cached) $ECHO_C" >&6
21286 else
21287 cat >conftest.$ac_ext <<_ACEOF
21288 /* confdefs.h. */
21289 _ACEOF
21290 cat confdefs.h >>conftest.$ac_ext
21291 cat >>conftest.$ac_ext <<_ACEOF
21292 /* end confdefs.h. */
21293 $ac_includes_default
21294
21295 #include <$ac_header>
21296 _ACEOF
21297 rm -f conftest.$ac_objext
21298 if { (ac_try="$ac_compile"
21299 case "(($ac_try" in
21300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21301 *) ac_try_echo=$ac_try;;
21302 esac
21303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21304 (eval "$ac_compile") 2>conftest.er1
21305 ac_status=$?
21306 grep -v '^ *+' conftest.er1 >conftest.err
21307 rm -f conftest.er1
21308 cat conftest.err >&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } && {
21311 test -z "$ac_c_werror_flag" ||
21312 test ! -s conftest.err
21313 } && test -s conftest.$ac_objext; then
21314 eval "$as_ac_Header=yes"
21315 else
21316 echo "$as_me: failed program was:" >&5
21317 sed 's/^/| /' conftest.$ac_ext >&5
21318
21319 eval "$as_ac_Header=no"
21320 fi
21321
21322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21323 fi
21324 ac_res=`eval echo '${'$as_ac_Header'}'`
21325 { echo "$as_me:$LINENO: result: $ac_res" >&5
21326 echo "${ECHO_T}$ac_res" >&6; }
21327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21328 cat >>confdefs.h <<_ACEOF
21329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21330 _ACEOF
21331
21332 fi
21333
21334 done
21335
21336 fi
21337
21338
21339 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21340 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21341 if test "${ac_cv_c_const+set}" = set; then
21342 echo $ECHO_N "(cached) $ECHO_C" >&6
21343 else
21344 cat >conftest.$ac_ext <<_ACEOF
21345 /* confdefs.h. */
21346 _ACEOF
21347 cat confdefs.h >>conftest.$ac_ext
21348 cat >>conftest.$ac_ext <<_ACEOF
21349 /* end confdefs.h. */
21350
21351 int
21352 main ()
21353 {
21354 /* FIXME: Include the comments suggested by Paul. */
21355 #ifndef __cplusplus
21356 /* Ultrix mips cc rejects this. */
21357 typedef int charset[2];
21358 const charset cs;
21359 /* SunOS 4.1.1 cc rejects this. */
21360 char const *const *pcpcc;
21361 char **ppc;
21362 /* NEC SVR4.0.2 mips cc rejects this. */
21363 struct point {int x, y;};
21364 static struct point const zero = {0,0};
21365 /* AIX XL C 1.02.0.0 rejects this.
21366 It does not let you subtract one const X* pointer from another in
21367 an arm of an if-expression whose if-part is not a constant
21368 expression */
21369 const char *g = "string";
21370 pcpcc = &g + (g ? g-g : 0);
21371 /* HPUX 7.0 cc rejects these. */
21372 ++pcpcc;
21373 ppc = (char**) pcpcc;
21374 pcpcc = (char const *const *) ppc;
21375 { /* SCO 3.2v4 cc rejects this. */
21376 char *t;
21377 char const *s = 0 ? (char *) 0 : (char const *) 0;
21378
21379 *t++ = 0;
21380 if (s) return 0;
21381 }
21382 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21383 int x[] = {25, 17};
21384 const int *foo = &x[0];
21385 ++foo;
21386 }
21387 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21388 typedef const int *iptr;
21389 iptr p = 0;
21390 ++p;
21391 }
21392 { /* AIX XL C 1.02.0.0 rejects this saying
21393 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21394 struct s { int j; const int *ap[3]; };
21395 struct s *b; b->j = 5;
21396 }
21397 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21398 const int foo = 10;
21399 if (!foo) return 0;
21400 }
21401 return !cs[0] && !zero.x;
21402 #endif
21403
21404 ;
21405 return 0;
21406 }
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21416 ac_status=$?
21417 grep -v '^ *+' conftest.er1 >conftest.err
21418 rm -f conftest.er1
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.$ac_objext; then
21425 ac_cv_c_const=yes
21426 else
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.$ac_ext >&5
21429
21430 ac_cv_c_const=no
21431 fi
21432
21433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21434 fi
21435 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21436 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21437 if test $ac_cv_c_const = no; then
21438
21439 cat >>confdefs.h <<\_ACEOF
21440 #define const
21441 _ACEOF
21442
21443 fi
21444
21445 { echo "$as_me:$LINENO: checking for inline" >&5
21446 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21447 if test "${ac_cv_c_inline+set}" = set; then
21448 echo $ECHO_N "(cached) $ECHO_C" >&6
21449 else
21450 ac_cv_c_inline=no
21451 for ac_kw in inline __inline__ __inline; do
21452 cat >conftest.$ac_ext <<_ACEOF
21453 /* confdefs.h. */
21454 _ACEOF
21455 cat confdefs.h >>conftest.$ac_ext
21456 cat >>conftest.$ac_ext <<_ACEOF
21457 /* end confdefs.h. */
21458 #ifndef __cplusplus
21459 typedef int foo_t;
21460 static $ac_kw foo_t static_foo () {return 0; }
21461 $ac_kw foo_t foo () {return 0; }
21462 #endif
21463
21464 _ACEOF
21465 rm -f conftest.$ac_objext
21466 if { (ac_try="$ac_compile"
21467 case "(($ac_try" in
21468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21469 *) ac_try_echo=$ac_try;;
21470 esac
21471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21472 (eval "$ac_compile") 2>conftest.er1
21473 ac_status=$?
21474 grep -v '^ *+' conftest.er1 >conftest.err
21475 rm -f conftest.er1
21476 cat conftest.err >&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); } && {
21479 test -z "$ac_c_werror_flag" ||
21480 test ! -s conftest.err
21481 } && test -s conftest.$ac_objext; then
21482 ac_cv_c_inline=$ac_kw
21483 else
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21486
21487
21488 fi
21489
21490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21491 test "$ac_cv_c_inline" != no && break
21492 done
21493
21494 fi
21495 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21496 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21497
21498
21499 case $ac_cv_c_inline in
21500 inline | yes) ;;
21501 *)
21502 case $ac_cv_c_inline in
21503 no) ac_val=;;
21504 *) ac_val=$ac_cv_c_inline;;
21505 esac
21506 cat >>confdefs.h <<_ACEOF
21507 #ifndef __cplusplus
21508 #define inline $ac_val
21509 #endif
21510 _ACEOF
21511 ;;
21512 esac
21513
21514
21515 { echo "$as_me:$LINENO: checking for short" >&5
21516 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21517 if test "${ac_cv_type_short+set}" = set; then
21518 echo $ECHO_N "(cached) $ECHO_C" >&6
21519 else
21520 cat >conftest.$ac_ext <<_ACEOF
21521 /* confdefs.h. */
21522 _ACEOF
21523 cat confdefs.h >>conftest.$ac_ext
21524 cat >>conftest.$ac_ext <<_ACEOF
21525 /* end confdefs.h. */
21526 $ac_includes_default
21527 typedef short ac__type_new_;
21528 int
21529 main ()
21530 {
21531 if ((ac__type_new_ *) 0)
21532 return 0;
21533 if (sizeof (ac__type_new_))
21534 return 0;
21535 ;
21536 return 0;
21537 }
21538 _ACEOF
21539 rm -f conftest.$ac_objext
21540 if { (ac_try="$ac_compile"
21541 case "(($ac_try" in
21542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21543 *) ac_try_echo=$ac_try;;
21544 esac
21545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21546 (eval "$ac_compile") 2>conftest.er1
21547 ac_status=$?
21548 grep -v '^ *+' conftest.er1 >conftest.err
21549 rm -f conftest.er1
21550 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } && {
21553 test -z "$ac_c_werror_flag" ||
21554 test ! -s conftest.err
21555 } && test -s conftest.$ac_objext; then
21556 ac_cv_type_short=yes
21557 else
21558 echo "$as_me: failed program was:" >&5
21559 sed 's/^/| /' conftest.$ac_ext >&5
21560
21561 ac_cv_type_short=no
21562 fi
21563
21564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21565 fi
21566 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21567 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21568
21569 # The cast to long int works around a bug in the HP C Compiler
21570 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21571 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21572 # This bug is HP SR number 8606223364.
21573 { echo "$as_me:$LINENO: checking size of short" >&5
21574 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21575 if test "${ac_cv_sizeof_short+set}" = set; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21577 else
21578 if test "$cross_compiling" = yes; then
21579 # Depending upon the size, compute the lo and hi bounds.
21580 cat >conftest.$ac_ext <<_ACEOF
21581 /* confdefs.h. */
21582 _ACEOF
21583 cat confdefs.h >>conftest.$ac_ext
21584 cat >>conftest.$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21586 $ac_includes_default
21587 typedef short ac__type_sizeof_;
21588 int
21589 main ()
21590 {
21591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21592 test_array [0] = 0
21593
21594 ;
21595 return 0;
21596 }
21597 _ACEOF
21598 rm -f conftest.$ac_objext
21599 if { (ac_try="$ac_compile"
21600 case "(($ac_try" in
21601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21602 *) ac_try_echo=$ac_try;;
21603 esac
21604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21605 (eval "$ac_compile") 2>conftest.er1
21606 ac_status=$?
21607 grep -v '^ *+' conftest.er1 >conftest.err
21608 rm -f conftest.er1
21609 cat conftest.err >&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); } && {
21612 test -z "$ac_c_werror_flag" ||
21613 test ! -s conftest.err
21614 } && test -s conftest.$ac_objext; then
21615 ac_lo=0 ac_mid=0
21616 while :; do
21617 cat >conftest.$ac_ext <<_ACEOF
21618 /* confdefs.h. */
21619 _ACEOF
21620 cat confdefs.h >>conftest.$ac_ext
21621 cat >>conftest.$ac_ext <<_ACEOF
21622 /* end confdefs.h. */
21623 $ac_includes_default
21624 typedef short ac__type_sizeof_;
21625 int
21626 main ()
21627 {
21628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21629 test_array [0] = 0
21630
21631 ;
21632 return 0;
21633 }
21634 _ACEOF
21635 rm -f conftest.$ac_objext
21636 if { (ac_try="$ac_compile"
21637 case "(($ac_try" in
21638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21639 *) ac_try_echo=$ac_try;;
21640 esac
21641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21642 (eval "$ac_compile") 2>conftest.er1
21643 ac_status=$?
21644 grep -v '^ *+' conftest.er1 >conftest.err
21645 rm -f conftest.er1
21646 cat conftest.err >&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } && {
21649 test -z "$ac_c_werror_flag" ||
21650 test ! -s conftest.err
21651 } && test -s conftest.$ac_objext; then
21652 ac_hi=$ac_mid; break
21653 else
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.$ac_ext >&5
21656
21657 ac_lo=`expr $ac_mid + 1`
21658 if test $ac_lo -le $ac_mid; then
21659 ac_lo= ac_hi=
21660 break
21661 fi
21662 ac_mid=`expr 2 '*' $ac_mid + 1`
21663 fi
21664
21665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21666 done
21667 else
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.$ac_ext >&5
21670
21671 cat >conftest.$ac_ext <<_ACEOF
21672 /* confdefs.h. */
21673 _ACEOF
21674 cat confdefs.h >>conftest.$ac_ext
21675 cat >>conftest.$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 $ac_includes_default
21678 typedef short ac__type_sizeof_;
21679 int
21680 main ()
21681 {
21682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21683 test_array [0] = 0
21684
21685 ;
21686 return 0;
21687 }
21688 _ACEOF
21689 rm -f conftest.$ac_objext
21690 if { (ac_try="$ac_compile"
21691 case "(($ac_try" in
21692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21693 *) ac_try_echo=$ac_try;;
21694 esac
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_compile") 2>conftest.er1
21697 ac_status=$?
21698 grep -v '^ *+' conftest.er1 >conftest.err
21699 rm -f conftest.er1
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } && {
21703 test -z "$ac_c_werror_flag" ||
21704 test ! -s conftest.err
21705 } && test -s conftest.$ac_objext; then
21706 ac_hi=-1 ac_mid=-1
21707 while :; do
21708 cat >conftest.$ac_ext <<_ACEOF
21709 /* confdefs.h. */
21710 _ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef short ac__type_sizeof_;
21716 int
21717 main ()
21718 {
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21720 test_array [0] = 0
21721
21722 ;
21723 return 0;
21724 }
21725 _ACEOF
21726 rm -f conftest.$ac_objext
21727 if { (ac_try="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21730 *) ac_try_echo=$ac_try;;
21731 esac
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21734 ac_status=$?
21735 grep -v '^ *+' conftest.er1 >conftest.err
21736 rm -f conftest.er1
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.$ac_objext; then
21743 ac_lo=$ac_mid; break
21744 else
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.$ac_ext >&5
21747
21748 ac_hi=`expr '(' $ac_mid ')' - 1`
21749 if test $ac_mid -le $ac_hi; then
21750 ac_lo= ac_hi=
21751 break
21752 fi
21753 ac_mid=`expr 2 '*' $ac_mid`
21754 fi
21755
21756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21757 done
21758 else
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.$ac_ext >&5
21761
21762 ac_lo= ac_hi=
21763 fi
21764
21765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21766 fi
21767
21768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21769 # Binary search between lo and hi bounds.
21770 while test "x$ac_lo" != "x$ac_hi"; do
21771 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21772 cat >conftest.$ac_ext <<_ACEOF
21773 /* confdefs.h. */
21774 _ACEOF
21775 cat confdefs.h >>conftest.$ac_ext
21776 cat >>conftest.$ac_ext <<_ACEOF
21777 /* end confdefs.h. */
21778 $ac_includes_default
21779 typedef short ac__type_sizeof_;
21780 int
21781 main ()
21782 {
21783 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21784 test_array [0] = 0
21785
21786 ;
21787 return 0;
21788 }
21789 _ACEOF
21790 rm -f conftest.$ac_objext
21791 if { (ac_try="$ac_compile"
21792 case "(($ac_try" in
21793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21794 *) ac_try_echo=$ac_try;;
21795 esac
21796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21797 (eval "$ac_compile") 2>conftest.er1
21798 ac_status=$?
21799 grep -v '^ *+' conftest.er1 >conftest.err
21800 rm -f conftest.er1
21801 cat conftest.err >&5
21802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803 (exit $ac_status); } && {
21804 test -z "$ac_c_werror_flag" ||
21805 test ! -s conftest.err
21806 } && test -s conftest.$ac_objext; then
21807 ac_hi=$ac_mid
21808 else
21809 echo "$as_me: failed program was:" >&5
21810 sed 's/^/| /' conftest.$ac_ext >&5
21811
21812 ac_lo=`expr '(' $ac_mid ')' + 1`
21813 fi
21814
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816 done
21817 case $ac_lo in
21818 ?*) ac_cv_sizeof_short=$ac_lo;;
21819 '') if test "$ac_cv_type_short" = yes; then
21820 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21821 See \`config.log' for more details." >&5
21822 echo "$as_me: error: cannot compute sizeof (short)
21823 See \`config.log' for more details." >&2;}
21824 { (exit 77); exit 77; }; }
21825 else
21826 ac_cv_sizeof_short=0
21827 fi ;;
21828 esac
21829 else
21830 cat >conftest.$ac_ext <<_ACEOF
21831 /* confdefs.h. */
21832 _ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836 $ac_includes_default
21837 typedef short ac__type_sizeof_;
21838 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21839 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21840 #include <stdio.h>
21841 #include <stdlib.h>
21842 int
21843 main ()
21844 {
21845
21846 FILE *f = fopen ("conftest.val", "w");
21847 if (! f)
21848 return 1;
21849 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21850 {
21851 long int i = longval ();
21852 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21853 return 1;
21854 fprintf (f, "%ld\n", i);
21855 }
21856 else
21857 {
21858 unsigned long int i = ulongval ();
21859 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21860 return 1;
21861 fprintf (f, "%lu\n", i);
21862 }
21863 return ferror (f) || fclose (f) != 0;
21864
21865 ;
21866 return 0;
21867 }
21868 _ACEOF
21869 rm -f conftest$ac_exeext
21870 if { (ac_try="$ac_link"
21871 case "(($ac_try" in
21872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21873 *) ac_try_echo=$ac_try;;
21874 esac
21875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21876 (eval "$ac_link") 2>&5
21877 ac_status=$?
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21880 { (case "(($ac_try" in
21881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21882 *) ac_try_echo=$ac_try;;
21883 esac
21884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21885 (eval "$ac_try") 2>&5
21886 ac_status=$?
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); }; }; then
21889 ac_cv_sizeof_short=`cat conftest.val`
21890 else
21891 echo "$as_me: program exited with status $ac_status" >&5
21892 echo "$as_me: failed program was:" >&5
21893 sed 's/^/| /' conftest.$ac_ext >&5
21894
21895 ( exit $ac_status )
21896 if test "$ac_cv_type_short" = yes; then
21897 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21898 See \`config.log' for more details." >&5
21899 echo "$as_me: error: cannot compute sizeof (short)
21900 See \`config.log' for more details." >&2;}
21901 { (exit 77); exit 77; }; }
21902 else
21903 ac_cv_sizeof_short=0
21904 fi
21905 fi
21906 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21907 fi
21908 rm -f conftest.val
21909 fi
21910 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21911 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21912
21913
21914
21915 cat >>confdefs.h <<_ACEOF
21916 #define SIZEOF_SHORT $ac_cv_sizeof_short
21917 _ACEOF
21918
21919
21920 { echo "$as_me:$LINENO: checking for void *" >&5
21921 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21922 if test "${ac_cv_type_void_p+set}" = set; then
21923 echo $ECHO_N "(cached) $ECHO_C" >&6
21924 else
21925 cat >conftest.$ac_ext <<_ACEOF
21926 /* confdefs.h. */
21927 _ACEOF
21928 cat confdefs.h >>conftest.$ac_ext
21929 cat >>conftest.$ac_ext <<_ACEOF
21930 /* end confdefs.h. */
21931 $ac_includes_default
21932 typedef void * ac__type_new_;
21933 int
21934 main ()
21935 {
21936 if ((ac__type_new_ *) 0)
21937 return 0;
21938 if (sizeof (ac__type_new_))
21939 return 0;
21940 ;
21941 return 0;
21942 }
21943 _ACEOF
21944 rm -f conftest.$ac_objext
21945 if { (ac_try="$ac_compile"
21946 case "(($ac_try" in
21947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21948 *) ac_try_echo=$ac_try;;
21949 esac
21950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21951 (eval "$ac_compile") 2>conftest.er1
21952 ac_status=$?
21953 grep -v '^ *+' conftest.er1 >conftest.err
21954 rm -f conftest.er1
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } && {
21958 test -z "$ac_c_werror_flag" ||
21959 test ! -s conftest.err
21960 } && test -s conftest.$ac_objext; then
21961 ac_cv_type_void_p=yes
21962 else
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.$ac_ext >&5
21965
21966 ac_cv_type_void_p=no
21967 fi
21968
21969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21970 fi
21971 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21972 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21973
21974 # The cast to long int works around a bug in the HP C Compiler
21975 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21976 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21977 # This bug is HP SR number 8606223364.
21978 { echo "$as_me:$LINENO: checking size of void *" >&5
21979 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21980 if test "${ac_cv_sizeof_void_p+set}" = set; then
21981 echo $ECHO_N "(cached) $ECHO_C" >&6
21982 else
21983 if test "$cross_compiling" = yes; then
21984 # Depending upon the size, compute the lo and hi bounds.
21985 cat >conftest.$ac_ext <<_ACEOF
21986 /* confdefs.h. */
21987 _ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 typedef void * ac__type_sizeof_;
21993 int
21994 main ()
21995 {
21996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21997 test_array [0] = 0
21998
21999 ;
22000 return 0;
22001 }
22002 _ACEOF
22003 rm -f conftest.$ac_objext
22004 if { (ac_try="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22008 esac
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22011 ac_status=$?
22012 grep -v '^ *+' conftest.er1 >conftest.err
22013 rm -f conftest.er1
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && {
22017 test -z "$ac_c_werror_flag" ||
22018 test ! -s conftest.err
22019 } && test -s conftest.$ac_objext; then
22020 ac_lo=0 ac_mid=0
22021 while :; do
22022 cat >conftest.$ac_ext <<_ACEOF
22023 /* confdefs.h. */
22024 _ACEOF
22025 cat confdefs.h >>conftest.$ac_ext
22026 cat >>conftest.$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22028 $ac_includes_default
22029 typedef void * ac__type_sizeof_;
22030 int
22031 main ()
22032 {
22033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22034 test_array [0] = 0
22035
22036 ;
22037 return 0;
22038 }
22039 _ACEOF
22040 rm -f conftest.$ac_objext
22041 if { (ac_try="$ac_compile"
22042 case "(($ac_try" in
22043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22044 *) ac_try_echo=$ac_try;;
22045 esac
22046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22047 (eval "$ac_compile") 2>conftest.er1
22048 ac_status=$?
22049 grep -v '^ *+' conftest.er1 >conftest.err
22050 rm -f conftest.er1
22051 cat conftest.err >&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); } && {
22054 test -z "$ac_c_werror_flag" ||
22055 test ! -s conftest.err
22056 } && test -s conftest.$ac_objext; then
22057 ac_hi=$ac_mid; break
22058 else
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22061
22062 ac_lo=`expr $ac_mid + 1`
22063 if test $ac_lo -le $ac_mid; then
22064 ac_lo= ac_hi=
22065 break
22066 fi
22067 ac_mid=`expr 2 '*' $ac_mid + 1`
22068 fi
22069
22070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22071 done
22072 else
22073 echo "$as_me: failed program was:" >&5
22074 sed 's/^/| /' conftest.$ac_ext >&5
22075
22076 cat >conftest.$ac_ext <<_ACEOF
22077 /* confdefs.h. */
22078 _ACEOF
22079 cat confdefs.h >>conftest.$ac_ext
22080 cat >>conftest.$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 $ac_includes_default
22083 typedef void * ac__type_sizeof_;
22084 int
22085 main ()
22086 {
22087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22088 test_array [0] = 0
22089
22090 ;
22091 return 0;
22092 }
22093 _ACEOF
22094 rm -f conftest.$ac_objext
22095 if { (ac_try="$ac_compile"
22096 case "(($ac_try" in
22097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22099 esac
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_compile") 2>conftest.er1
22102 ac_status=$?
22103 grep -v '^ *+' conftest.er1 >conftest.err
22104 rm -f conftest.er1
22105 cat conftest.err >&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } && {
22108 test -z "$ac_c_werror_flag" ||
22109 test ! -s conftest.err
22110 } && test -s conftest.$ac_objext; then
22111 ac_hi=-1 ac_mid=-1
22112 while :; do
22113 cat >conftest.$ac_ext <<_ACEOF
22114 /* confdefs.h. */
22115 _ACEOF
22116 cat confdefs.h >>conftest.$ac_ext
22117 cat >>conftest.$ac_ext <<_ACEOF
22118 /* end confdefs.h. */
22119 $ac_includes_default
22120 typedef void * ac__type_sizeof_;
22121 int
22122 main ()
22123 {
22124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22125 test_array [0] = 0
22126
22127 ;
22128 return 0;
22129 }
22130 _ACEOF
22131 rm -f conftest.$ac_objext
22132 if { (ac_try="$ac_compile"
22133 case "(($ac_try" in
22134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22135 *) ac_try_echo=$ac_try;;
22136 esac
22137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22138 (eval "$ac_compile") 2>conftest.er1
22139 ac_status=$?
22140 grep -v '^ *+' conftest.er1 >conftest.err
22141 rm -f conftest.er1
22142 cat conftest.err >&5
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); } && {
22145 test -z "$ac_c_werror_flag" ||
22146 test ! -s conftest.err
22147 } && test -s conftest.$ac_objext; then
22148 ac_lo=$ac_mid; break
22149 else
22150 echo "$as_me: failed program was:" >&5
22151 sed 's/^/| /' conftest.$ac_ext >&5
22152
22153 ac_hi=`expr '(' $ac_mid ')' - 1`
22154 if test $ac_mid -le $ac_hi; then
22155 ac_lo= ac_hi=
22156 break
22157 fi
22158 ac_mid=`expr 2 '*' $ac_mid`
22159 fi
22160
22161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22162 done
22163 else
22164 echo "$as_me: failed program was:" >&5
22165 sed 's/^/| /' conftest.$ac_ext >&5
22166
22167 ac_lo= ac_hi=
22168 fi
22169
22170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22171 fi
22172
22173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22174 # Binary search between lo and hi bounds.
22175 while test "x$ac_lo" != "x$ac_hi"; do
22176 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22177 cat >conftest.$ac_ext <<_ACEOF
22178 /* confdefs.h. */
22179 _ACEOF
22180 cat confdefs.h >>conftest.$ac_ext
22181 cat >>conftest.$ac_ext <<_ACEOF
22182 /* end confdefs.h. */
22183 $ac_includes_default
22184 typedef void * ac__type_sizeof_;
22185 int
22186 main ()
22187 {
22188 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22189 test_array [0] = 0
22190
22191 ;
22192 return 0;
22193 }
22194 _ACEOF
22195 rm -f conftest.$ac_objext
22196 if { (ac_try="$ac_compile"
22197 case "(($ac_try" in
22198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22199 *) ac_try_echo=$ac_try;;
22200 esac
22201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22202 (eval "$ac_compile") 2>conftest.er1
22203 ac_status=$?
22204 grep -v '^ *+' conftest.er1 >conftest.err
22205 rm -f conftest.er1
22206 cat conftest.err >&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); } && {
22209 test -z "$ac_c_werror_flag" ||
22210 test ! -s conftest.err
22211 } && test -s conftest.$ac_objext; then
22212 ac_hi=$ac_mid
22213 else
22214 echo "$as_me: failed program was:" >&5
22215 sed 's/^/| /' conftest.$ac_ext >&5
22216
22217 ac_lo=`expr '(' $ac_mid ')' + 1`
22218 fi
22219
22220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22221 done
22222 case $ac_lo in
22223 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22224 '') if test "$ac_cv_type_void_p" = yes; then
22225 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22226 See \`config.log' for more details." >&5
22227 echo "$as_me: error: cannot compute sizeof (void *)
22228 See \`config.log' for more details." >&2;}
22229 { (exit 77); exit 77; }; }
22230 else
22231 ac_cv_sizeof_void_p=0
22232 fi ;;
22233 esac
22234 else
22235 cat >conftest.$ac_ext <<_ACEOF
22236 /* confdefs.h. */
22237 _ACEOF
22238 cat confdefs.h >>conftest.$ac_ext
22239 cat >>conftest.$ac_ext <<_ACEOF
22240 /* end confdefs.h. */
22241 $ac_includes_default
22242 typedef void * ac__type_sizeof_;
22243 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22244 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22245 #include <stdio.h>
22246 #include <stdlib.h>
22247 int
22248 main ()
22249 {
22250
22251 FILE *f = fopen ("conftest.val", "w");
22252 if (! f)
22253 return 1;
22254 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22255 {
22256 long int i = longval ();
22257 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22258 return 1;
22259 fprintf (f, "%ld\n", i);
22260 }
22261 else
22262 {
22263 unsigned long int i = ulongval ();
22264 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22265 return 1;
22266 fprintf (f, "%lu\n", i);
22267 }
22268 return ferror (f) || fclose (f) != 0;
22269
22270 ;
22271 return 0;
22272 }
22273 _ACEOF
22274 rm -f conftest$ac_exeext
22275 if { (ac_try="$ac_link"
22276 case "(($ac_try" in
22277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22278 *) ac_try_echo=$ac_try;;
22279 esac
22280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22281 (eval "$ac_link") 2>&5
22282 ac_status=$?
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22285 { (case "(($ac_try" in
22286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22287 *) ac_try_echo=$ac_try;;
22288 esac
22289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22290 (eval "$ac_try") 2>&5
22291 ac_status=$?
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; }; then
22294 ac_cv_sizeof_void_p=`cat conftest.val`
22295 else
22296 echo "$as_me: program exited with status $ac_status" >&5
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22299
22300 ( exit $ac_status )
22301 if test "$ac_cv_type_void_p" = yes; then
22302 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22303 See \`config.log' for more details." >&5
22304 echo "$as_me: error: cannot compute sizeof (void *)
22305 See \`config.log' for more details." >&2;}
22306 { (exit 77); exit 77; }; }
22307 else
22308 ac_cv_sizeof_void_p=0
22309 fi
22310 fi
22311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22312 fi
22313 rm -f conftest.val
22314 fi
22315 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22316 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22317
22318
22319
22320 cat >>confdefs.h <<_ACEOF
22321 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22322 _ACEOF
22323
22324
22325 { echo "$as_me:$LINENO: checking for int" >&5
22326 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22327 if test "${ac_cv_type_int+set}" = set; then
22328 echo $ECHO_N "(cached) $ECHO_C" >&6
22329 else
22330 cat >conftest.$ac_ext <<_ACEOF
22331 /* confdefs.h. */
22332 _ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 $ac_includes_default
22337 typedef int ac__type_new_;
22338 int
22339 main ()
22340 {
22341 if ((ac__type_new_ *) 0)
22342 return 0;
22343 if (sizeof (ac__type_new_))
22344 return 0;
22345 ;
22346 return 0;
22347 }
22348 _ACEOF
22349 rm -f conftest.$ac_objext
22350 if { (ac_try="$ac_compile"
22351 case "(($ac_try" in
22352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22353 *) ac_try_echo=$ac_try;;
22354 esac
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_compile") 2>conftest.er1
22357 ac_status=$?
22358 grep -v '^ *+' conftest.er1 >conftest.err
22359 rm -f conftest.er1
22360 cat conftest.err >&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && {
22363 test -z "$ac_c_werror_flag" ||
22364 test ! -s conftest.err
22365 } && test -s conftest.$ac_objext; then
22366 ac_cv_type_int=yes
22367 else
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.$ac_ext >&5
22370
22371 ac_cv_type_int=no
22372 fi
22373
22374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22375 fi
22376 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22377 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22378
22379 # The cast to long int works around a bug in the HP C Compiler
22380 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22381 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22382 # This bug is HP SR number 8606223364.
22383 { echo "$as_me:$LINENO: checking size of int" >&5
22384 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22385 if test "${ac_cv_sizeof_int+set}" = set; then
22386 echo $ECHO_N "(cached) $ECHO_C" >&6
22387 else
22388 if test "$cross_compiling" = yes; then
22389 # Depending upon the size, compute the lo and hi bounds.
22390 cat >conftest.$ac_ext <<_ACEOF
22391 /* confdefs.h. */
22392 _ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22396 $ac_includes_default
22397 typedef int ac__type_sizeof_;
22398 int
22399 main ()
22400 {
22401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22402 test_array [0] = 0
22403
22404 ;
22405 return 0;
22406 }
22407 _ACEOF
22408 rm -f conftest.$ac_objext
22409 if { (ac_try="$ac_compile"
22410 case "(($ac_try" in
22411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22413 esac
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_compile") 2>conftest.er1
22416 ac_status=$?
22417 grep -v '^ *+' conftest.er1 >conftest.err
22418 rm -f conftest.er1
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && {
22422 test -z "$ac_c_werror_flag" ||
22423 test ! -s conftest.err
22424 } && test -s conftest.$ac_objext; then
22425 ac_lo=0 ac_mid=0
22426 while :; do
22427 cat >conftest.$ac_ext <<_ACEOF
22428 /* confdefs.h. */
22429 _ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 $ac_includes_default
22434 typedef int ac__type_sizeof_;
22435 int
22436 main ()
22437 {
22438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22439 test_array [0] = 0
22440
22441 ;
22442 return 0;
22443 }
22444 _ACEOF
22445 rm -f conftest.$ac_objext
22446 if { (ac_try="$ac_compile"
22447 case "(($ac_try" in
22448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22449 *) ac_try_echo=$ac_try;;
22450 esac
22451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22452 (eval "$ac_compile") 2>conftest.er1
22453 ac_status=$?
22454 grep -v '^ *+' conftest.er1 >conftest.err
22455 rm -f conftest.er1
22456 cat conftest.err >&5
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); } && {
22459 test -z "$ac_c_werror_flag" ||
22460 test ! -s conftest.err
22461 } && test -s conftest.$ac_objext; then
22462 ac_hi=$ac_mid; break
22463 else
22464 echo "$as_me: failed program was:" >&5
22465 sed 's/^/| /' conftest.$ac_ext >&5
22466
22467 ac_lo=`expr $ac_mid + 1`
22468 if test $ac_lo -le $ac_mid; then
22469 ac_lo= ac_hi=
22470 break
22471 fi
22472 ac_mid=`expr 2 '*' $ac_mid + 1`
22473 fi
22474
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 done
22477 else
22478 echo "$as_me: failed program was:" >&5
22479 sed 's/^/| /' conftest.$ac_ext >&5
22480
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef int ac__type_sizeof_;
22489 int
22490 main ()
22491 {
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22493 test_array [0] = 0
22494
22495 ;
22496 return 0;
22497 }
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22504 esac
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22507 ac_status=$?
22508 grep -v '^ *+' conftest.er1 >conftest.err
22509 rm -f conftest.er1
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.$ac_objext; then
22516 ac_hi=-1 ac_mid=-1
22517 while :; do
22518 cat >conftest.$ac_ext <<_ACEOF
22519 /* confdefs.h. */
22520 _ACEOF
22521 cat confdefs.h >>conftest.$ac_ext
22522 cat >>conftest.$ac_ext <<_ACEOF
22523 /* end confdefs.h. */
22524 $ac_includes_default
22525 typedef int ac__type_sizeof_;
22526 int
22527 main ()
22528 {
22529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22530 test_array [0] = 0
22531
22532 ;
22533 return 0;
22534 }
22535 _ACEOF
22536 rm -f conftest.$ac_objext
22537 if { (ac_try="$ac_compile"
22538 case "(($ac_try" in
22539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22540 *) ac_try_echo=$ac_try;;
22541 esac
22542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22543 (eval "$ac_compile") 2>conftest.er1
22544 ac_status=$?
22545 grep -v '^ *+' conftest.er1 >conftest.err
22546 rm -f conftest.er1
22547 cat conftest.err >&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); } && {
22550 test -z "$ac_c_werror_flag" ||
22551 test ! -s conftest.err
22552 } && test -s conftest.$ac_objext; then
22553 ac_lo=$ac_mid; break
22554 else
22555 echo "$as_me: failed program was:" >&5
22556 sed 's/^/| /' conftest.$ac_ext >&5
22557
22558 ac_hi=`expr '(' $ac_mid ')' - 1`
22559 if test $ac_mid -le $ac_hi; then
22560 ac_lo= ac_hi=
22561 break
22562 fi
22563 ac_mid=`expr 2 '*' $ac_mid`
22564 fi
22565
22566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22567 done
22568 else
22569 echo "$as_me: failed program was:" >&5
22570 sed 's/^/| /' conftest.$ac_ext >&5
22571
22572 ac_lo= ac_hi=
22573 fi
22574
22575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22576 fi
22577
22578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22579 # Binary search between lo and hi bounds.
22580 while test "x$ac_lo" != "x$ac_hi"; do
22581 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22582 cat >conftest.$ac_ext <<_ACEOF
22583 /* confdefs.h. */
22584 _ACEOF
22585 cat confdefs.h >>conftest.$ac_ext
22586 cat >>conftest.$ac_ext <<_ACEOF
22587 /* end confdefs.h. */
22588 $ac_includes_default
22589 typedef int ac__type_sizeof_;
22590 int
22591 main ()
22592 {
22593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22594 test_array [0] = 0
22595
22596 ;
22597 return 0;
22598 }
22599 _ACEOF
22600 rm -f conftest.$ac_objext
22601 if { (ac_try="$ac_compile"
22602 case "(($ac_try" in
22603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22604 *) ac_try_echo=$ac_try;;
22605 esac
22606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22607 (eval "$ac_compile") 2>conftest.er1
22608 ac_status=$?
22609 grep -v '^ *+' conftest.er1 >conftest.err
22610 rm -f conftest.er1
22611 cat conftest.err >&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); } && {
22614 test -z "$ac_c_werror_flag" ||
22615 test ! -s conftest.err
22616 } && test -s conftest.$ac_objext; then
22617 ac_hi=$ac_mid
22618 else
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.$ac_ext >&5
22621
22622 ac_lo=`expr '(' $ac_mid ')' + 1`
22623 fi
22624
22625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22626 done
22627 case $ac_lo in
22628 ?*) ac_cv_sizeof_int=$ac_lo;;
22629 '') if test "$ac_cv_type_int" = yes; then
22630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22631 See \`config.log' for more details." >&5
22632 echo "$as_me: error: cannot compute sizeof (int)
22633 See \`config.log' for more details." >&2;}
22634 { (exit 77); exit 77; }; }
22635 else
22636 ac_cv_sizeof_int=0
22637 fi ;;
22638 esac
22639 else
22640 cat >conftest.$ac_ext <<_ACEOF
22641 /* confdefs.h. */
22642 _ACEOF
22643 cat confdefs.h >>conftest.$ac_ext
22644 cat >>conftest.$ac_ext <<_ACEOF
22645 /* end confdefs.h. */
22646 $ac_includes_default
22647 typedef int ac__type_sizeof_;
22648 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22649 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22650 #include <stdio.h>
22651 #include <stdlib.h>
22652 int
22653 main ()
22654 {
22655
22656 FILE *f = fopen ("conftest.val", "w");
22657 if (! f)
22658 return 1;
22659 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22660 {
22661 long int i = longval ();
22662 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22663 return 1;
22664 fprintf (f, "%ld\n", i);
22665 }
22666 else
22667 {
22668 unsigned long int i = ulongval ();
22669 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22670 return 1;
22671 fprintf (f, "%lu\n", i);
22672 }
22673 return ferror (f) || fclose (f) != 0;
22674
22675 ;
22676 return 0;
22677 }
22678 _ACEOF
22679 rm -f conftest$ac_exeext
22680 if { (ac_try="$ac_link"
22681 case "(($ac_try" in
22682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22683 *) ac_try_echo=$ac_try;;
22684 esac
22685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22686 (eval "$ac_link") 2>&5
22687 ac_status=$?
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22690 { (case "(($ac_try" in
22691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22692 *) ac_try_echo=$ac_try;;
22693 esac
22694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22695 (eval "$ac_try") 2>&5
22696 ac_status=$?
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); }; }; then
22699 ac_cv_sizeof_int=`cat conftest.val`
22700 else
22701 echo "$as_me: program exited with status $ac_status" >&5
22702 echo "$as_me: failed program was:" >&5
22703 sed 's/^/| /' conftest.$ac_ext >&5
22704
22705 ( exit $ac_status )
22706 if test "$ac_cv_type_int" = yes; then
22707 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22708 See \`config.log' for more details." >&5
22709 echo "$as_me: error: cannot compute sizeof (int)
22710 See \`config.log' for more details." >&2;}
22711 { (exit 77); exit 77; }; }
22712 else
22713 ac_cv_sizeof_int=0
22714 fi
22715 fi
22716 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22717 fi
22718 rm -f conftest.val
22719 fi
22720 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22721 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22722
22723
22724
22725 cat >>confdefs.h <<_ACEOF
22726 #define SIZEOF_INT $ac_cv_sizeof_int
22727 _ACEOF
22728
22729
22730 { echo "$as_me:$LINENO: checking for long" >&5
22731 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22732 if test "${ac_cv_type_long+set}" = set; then
22733 echo $ECHO_N "(cached) $ECHO_C" >&6
22734 else
22735 cat >conftest.$ac_ext <<_ACEOF
22736 /* confdefs.h. */
22737 _ACEOF
22738 cat confdefs.h >>conftest.$ac_ext
22739 cat >>conftest.$ac_ext <<_ACEOF
22740 /* end confdefs.h. */
22741 $ac_includes_default
22742 typedef long ac__type_new_;
22743 int
22744 main ()
22745 {
22746 if ((ac__type_new_ *) 0)
22747 return 0;
22748 if (sizeof (ac__type_new_))
22749 return 0;
22750 ;
22751 return 0;
22752 }
22753 _ACEOF
22754 rm -f conftest.$ac_objext
22755 if { (ac_try="$ac_compile"
22756 case "(($ac_try" in
22757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22758 *) ac_try_echo=$ac_try;;
22759 esac
22760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22761 (eval "$ac_compile") 2>conftest.er1
22762 ac_status=$?
22763 grep -v '^ *+' conftest.er1 >conftest.err
22764 rm -f conftest.er1
22765 cat conftest.err >&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); } && {
22768 test -z "$ac_c_werror_flag" ||
22769 test ! -s conftest.err
22770 } && test -s conftest.$ac_objext; then
22771 ac_cv_type_long=yes
22772 else
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22775
22776 ac_cv_type_long=no
22777 fi
22778
22779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22780 fi
22781 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22782 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22783
22784 # The cast to long int works around a bug in the HP C Compiler
22785 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22786 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22787 # This bug is HP SR number 8606223364.
22788 { echo "$as_me:$LINENO: checking size of long" >&5
22789 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22790 if test "${ac_cv_sizeof_long+set}" = set; then
22791 echo $ECHO_N "(cached) $ECHO_C" >&6
22792 else
22793 if test "$cross_compiling" = yes; then
22794 # Depending upon the size, compute the lo and hi bounds.
22795 cat >conftest.$ac_ext <<_ACEOF
22796 /* confdefs.h. */
22797 _ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801 $ac_includes_default
22802 typedef long ac__type_sizeof_;
22803 int
22804 main ()
22805 {
22806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22807 test_array [0] = 0
22808
22809 ;
22810 return 0;
22811 }
22812 _ACEOF
22813 rm -f conftest.$ac_objext
22814 if { (ac_try="$ac_compile"
22815 case "(($ac_try" in
22816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22817 *) ac_try_echo=$ac_try;;
22818 esac
22819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22820 (eval "$ac_compile") 2>conftest.er1
22821 ac_status=$?
22822 grep -v '^ *+' conftest.er1 >conftest.err
22823 rm -f conftest.er1
22824 cat conftest.err >&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); } && {
22827 test -z "$ac_c_werror_flag" ||
22828 test ! -s conftest.err
22829 } && test -s conftest.$ac_objext; then
22830 ac_lo=0 ac_mid=0
22831 while :; do
22832 cat >conftest.$ac_ext <<_ACEOF
22833 /* confdefs.h. */
22834 _ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 $ac_includes_default
22839 typedef long ac__type_sizeof_;
22840 int
22841 main ()
22842 {
22843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22844 test_array [0] = 0
22845
22846 ;
22847 return 0;
22848 }
22849 _ACEOF
22850 rm -f conftest.$ac_objext
22851 if { (ac_try="$ac_compile"
22852 case "(($ac_try" in
22853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22854 *) ac_try_echo=$ac_try;;
22855 esac
22856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22857 (eval "$ac_compile") 2>conftest.er1
22858 ac_status=$?
22859 grep -v '^ *+' conftest.er1 >conftest.err
22860 rm -f conftest.er1
22861 cat conftest.err >&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } && {
22864 test -z "$ac_c_werror_flag" ||
22865 test ! -s conftest.err
22866 } && test -s conftest.$ac_objext; then
22867 ac_hi=$ac_mid; break
22868 else
22869 echo "$as_me: failed program was:" >&5
22870 sed 's/^/| /' conftest.$ac_ext >&5
22871
22872 ac_lo=`expr $ac_mid + 1`
22873 if test $ac_lo -le $ac_mid; then
22874 ac_lo= ac_hi=
22875 break
22876 fi
22877 ac_mid=`expr 2 '*' $ac_mid + 1`
22878 fi
22879
22880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22881 done
22882 else
22883 echo "$as_me: failed program was:" >&5
22884 sed 's/^/| /' conftest.$ac_ext >&5
22885
22886 cat >conftest.$ac_ext <<_ACEOF
22887 /* confdefs.h. */
22888 _ACEOF
22889 cat confdefs.h >>conftest.$ac_ext
22890 cat >>conftest.$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22892 $ac_includes_default
22893 typedef long ac__type_sizeof_;
22894 int
22895 main ()
22896 {
22897 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22898 test_array [0] = 0
22899
22900 ;
22901 return 0;
22902 }
22903 _ACEOF
22904 rm -f conftest.$ac_objext
22905 if { (ac_try="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22909 esac
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22912 ac_status=$?
22913 grep -v '^ *+' conftest.er1 >conftest.err
22914 rm -f conftest.er1
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } && {
22918 test -z "$ac_c_werror_flag" ||
22919 test ! -s conftest.err
22920 } && test -s conftest.$ac_objext; then
22921 ac_hi=-1 ac_mid=-1
22922 while :; do
22923 cat >conftest.$ac_ext <<_ACEOF
22924 /* confdefs.h. */
22925 _ACEOF
22926 cat confdefs.h >>conftest.$ac_ext
22927 cat >>conftest.$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22929 $ac_includes_default
22930 typedef long ac__type_sizeof_;
22931 int
22932 main ()
22933 {
22934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22935 test_array [0] = 0
22936
22937 ;
22938 return 0;
22939 }
22940 _ACEOF
22941 rm -f conftest.$ac_objext
22942 if { (ac_try="$ac_compile"
22943 case "(($ac_try" in
22944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22945 *) ac_try_echo=$ac_try;;
22946 esac
22947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22948 (eval "$ac_compile") 2>conftest.er1
22949 ac_status=$?
22950 grep -v '^ *+' conftest.er1 >conftest.err
22951 rm -f conftest.er1
22952 cat conftest.err >&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); } && {
22955 test -z "$ac_c_werror_flag" ||
22956 test ! -s conftest.err
22957 } && test -s conftest.$ac_objext; then
22958 ac_lo=$ac_mid; break
22959 else
22960 echo "$as_me: failed program was:" >&5
22961 sed 's/^/| /' conftest.$ac_ext >&5
22962
22963 ac_hi=`expr '(' $ac_mid ')' - 1`
22964 if test $ac_mid -le $ac_hi; then
22965 ac_lo= ac_hi=
22966 break
22967 fi
22968 ac_mid=`expr 2 '*' $ac_mid`
22969 fi
22970
22971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22972 done
22973 else
22974 echo "$as_me: failed program was:" >&5
22975 sed 's/^/| /' conftest.$ac_ext >&5
22976
22977 ac_lo= ac_hi=
22978 fi
22979
22980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22981 fi
22982
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22984 # Binary search between lo and hi bounds.
22985 while test "x$ac_lo" != "x$ac_hi"; do
22986 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22987 cat >conftest.$ac_ext <<_ACEOF
22988 /* confdefs.h. */
22989 _ACEOF
22990 cat confdefs.h >>conftest.$ac_ext
22991 cat >>conftest.$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 $ac_includes_default
22994 typedef long ac__type_sizeof_;
22995 int
22996 main ()
22997 {
22998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22999 test_array [0] = 0
23000
23001 ;
23002 return 0;
23003 }
23004 _ACEOF
23005 rm -f conftest.$ac_objext
23006 if { (ac_try="$ac_compile"
23007 case "(($ac_try" in
23008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23009 *) ac_try_echo=$ac_try;;
23010 esac
23011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23012 (eval "$ac_compile") 2>conftest.er1
23013 ac_status=$?
23014 grep -v '^ *+' conftest.er1 >conftest.err
23015 rm -f conftest.er1
23016 cat conftest.err >&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); } && {
23019 test -z "$ac_c_werror_flag" ||
23020 test ! -s conftest.err
23021 } && test -s conftest.$ac_objext; then
23022 ac_hi=$ac_mid
23023 else
23024 echo "$as_me: failed program was:" >&5
23025 sed 's/^/| /' conftest.$ac_ext >&5
23026
23027 ac_lo=`expr '(' $ac_mid ')' + 1`
23028 fi
23029
23030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23031 done
23032 case $ac_lo in
23033 ?*) ac_cv_sizeof_long=$ac_lo;;
23034 '') if test "$ac_cv_type_long" = yes; then
23035 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23036 See \`config.log' for more details." >&5
23037 echo "$as_me: error: cannot compute sizeof (long)
23038 See \`config.log' for more details." >&2;}
23039 { (exit 77); exit 77; }; }
23040 else
23041 ac_cv_sizeof_long=0
23042 fi ;;
23043 esac
23044 else
23045 cat >conftest.$ac_ext <<_ACEOF
23046 /* confdefs.h. */
23047 _ACEOF
23048 cat confdefs.h >>conftest.$ac_ext
23049 cat >>conftest.$ac_ext <<_ACEOF
23050 /* end confdefs.h. */
23051 $ac_includes_default
23052 typedef long ac__type_sizeof_;
23053 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23054 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23055 #include <stdio.h>
23056 #include <stdlib.h>
23057 int
23058 main ()
23059 {
23060
23061 FILE *f = fopen ("conftest.val", "w");
23062 if (! f)
23063 return 1;
23064 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23065 {
23066 long int i = longval ();
23067 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23068 return 1;
23069 fprintf (f, "%ld\n", i);
23070 }
23071 else
23072 {
23073 unsigned long int i = ulongval ();
23074 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23075 return 1;
23076 fprintf (f, "%lu\n", i);
23077 }
23078 return ferror (f) || fclose (f) != 0;
23079
23080 ;
23081 return 0;
23082 }
23083 _ACEOF
23084 rm -f conftest$ac_exeext
23085 if { (ac_try="$ac_link"
23086 case "(($ac_try" in
23087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23088 *) ac_try_echo=$ac_try;;
23089 esac
23090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23091 (eval "$ac_link") 2>&5
23092 ac_status=$?
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23095 { (case "(($ac_try" in
23096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23097 *) ac_try_echo=$ac_try;;
23098 esac
23099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23100 (eval "$ac_try") 2>&5
23101 ac_status=$?
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); }; }; then
23104 ac_cv_sizeof_long=`cat conftest.val`
23105 else
23106 echo "$as_me: program exited with status $ac_status" >&5
23107 echo "$as_me: failed program was:" >&5
23108 sed 's/^/| /' conftest.$ac_ext >&5
23109
23110 ( exit $ac_status )
23111 if test "$ac_cv_type_long" = yes; then
23112 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23113 See \`config.log' for more details." >&5
23114 echo "$as_me: error: cannot compute sizeof (long)
23115 See \`config.log' for more details." >&2;}
23116 { (exit 77); exit 77; }; }
23117 else
23118 ac_cv_sizeof_long=0
23119 fi
23120 fi
23121 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23122 fi
23123 rm -f conftest.val
23124 fi
23125 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23126 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23127
23128
23129
23130 cat >>confdefs.h <<_ACEOF
23131 #define SIZEOF_LONG $ac_cv_sizeof_long
23132 _ACEOF
23133
23134
23135 { echo "$as_me:$LINENO: checking for size_t" >&5
23136 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23137 if test "${ac_cv_type_size_t+set}" = set; then
23138 echo $ECHO_N "(cached) $ECHO_C" >&6
23139 else
23140 cat >conftest.$ac_ext <<_ACEOF
23141 /* confdefs.h. */
23142 _ACEOF
23143 cat confdefs.h >>conftest.$ac_ext
23144 cat >>conftest.$ac_ext <<_ACEOF
23145 /* end confdefs.h. */
23146 $ac_includes_default
23147 typedef size_t ac__type_new_;
23148 int
23149 main ()
23150 {
23151 if ((ac__type_new_ *) 0)
23152 return 0;
23153 if (sizeof (ac__type_new_))
23154 return 0;
23155 ;
23156 return 0;
23157 }
23158 _ACEOF
23159 rm -f conftest.$ac_objext
23160 if { (ac_try="$ac_compile"
23161 case "(($ac_try" in
23162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23163 *) ac_try_echo=$ac_try;;
23164 esac
23165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23166 (eval "$ac_compile") 2>conftest.er1
23167 ac_status=$?
23168 grep -v '^ *+' conftest.er1 >conftest.err
23169 rm -f conftest.er1
23170 cat conftest.err >&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } && {
23173 test -z "$ac_c_werror_flag" ||
23174 test ! -s conftest.err
23175 } && test -s conftest.$ac_objext; then
23176 ac_cv_type_size_t=yes
23177 else
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.$ac_ext >&5
23180
23181 ac_cv_type_size_t=no
23182 fi
23183
23184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23185 fi
23186 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23187 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23188
23189 # The cast to long int works around a bug in the HP C Compiler
23190 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23191 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23192 # This bug is HP SR number 8606223364.
23193 { echo "$as_me:$LINENO: checking size of size_t" >&5
23194 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23195 if test "${ac_cv_sizeof_size_t+set}" = set; then
23196 echo $ECHO_N "(cached) $ECHO_C" >&6
23197 else
23198 if test "$cross_compiling" = yes; then
23199 # Depending upon the size, compute the lo and hi bounds.
23200 cat >conftest.$ac_ext <<_ACEOF
23201 /* confdefs.h. */
23202 _ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 $ac_includes_default
23207 typedef size_t ac__type_sizeof_;
23208 int
23209 main ()
23210 {
23211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23212 test_array [0] = 0
23213
23214 ;
23215 return 0;
23216 }
23217 _ACEOF
23218 rm -f conftest.$ac_objext
23219 if { (ac_try="$ac_compile"
23220 case "(($ac_try" in
23221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23222 *) ac_try_echo=$ac_try;;
23223 esac
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_compile") 2>conftest.er1
23226 ac_status=$?
23227 grep -v '^ *+' conftest.er1 >conftest.err
23228 rm -f conftest.er1
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } && {
23232 test -z "$ac_c_werror_flag" ||
23233 test ! -s conftest.err
23234 } && test -s conftest.$ac_objext; then
23235 ac_lo=0 ac_mid=0
23236 while :; do
23237 cat >conftest.$ac_ext <<_ACEOF
23238 /* confdefs.h. */
23239 _ACEOF
23240 cat confdefs.h >>conftest.$ac_ext
23241 cat >>conftest.$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243 $ac_includes_default
23244 typedef size_t ac__type_sizeof_;
23245 int
23246 main ()
23247 {
23248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23249 test_array [0] = 0
23250
23251 ;
23252 return 0;
23253 }
23254 _ACEOF
23255 rm -f conftest.$ac_objext
23256 if { (ac_try="$ac_compile"
23257 case "(($ac_try" in
23258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23259 *) ac_try_echo=$ac_try;;
23260 esac
23261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23262 (eval "$ac_compile") 2>conftest.er1
23263 ac_status=$?
23264 grep -v '^ *+' conftest.er1 >conftest.err
23265 rm -f conftest.er1
23266 cat conftest.err >&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } && {
23269 test -z "$ac_c_werror_flag" ||
23270 test ! -s conftest.err
23271 } && test -s conftest.$ac_objext; then
23272 ac_hi=$ac_mid; break
23273 else
23274 echo "$as_me: failed program was:" >&5
23275 sed 's/^/| /' conftest.$ac_ext >&5
23276
23277 ac_lo=`expr $ac_mid + 1`
23278 if test $ac_lo -le $ac_mid; then
23279 ac_lo= ac_hi=
23280 break
23281 fi
23282 ac_mid=`expr 2 '*' $ac_mid + 1`
23283 fi
23284
23285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23286 done
23287 else
23288 echo "$as_me: failed program was:" >&5
23289 sed 's/^/| /' conftest.$ac_ext >&5
23290
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 $ac_includes_default
23298 typedef size_t ac__type_sizeof_;
23299 int
23300 main ()
23301 {
23302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23303 test_array [0] = 0
23304
23305 ;
23306 return 0;
23307 }
23308 _ACEOF
23309 rm -f conftest.$ac_objext
23310 if { (ac_try="$ac_compile"
23311 case "(($ac_try" in
23312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23313 *) ac_try_echo=$ac_try;;
23314 esac
23315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23316 (eval "$ac_compile") 2>conftest.er1
23317 ac_status=$?
23318 grep -v '^ *+' conftest.er1 >conftest.err
23319 rm -f conftest.er1
23320 cat conftest.err >&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && {
23323 test -z "$ac_c_werror_flag" ||
23324 test ! -s conftest.err
23325 } && test -s conftest.$ac_objext; then
23326 ac_hi=-1 ac_mid=-1
23327 while :; do
23328 cat >conftest.$ac_ext <<_ACEOF
23329 /* confdefs.h. */
23330 _ACEOF
23331 cat confdefs.h >>conftest.$ac_ext
23332 cat >>conftest.$ac_ext <<_ACEOF
23333 /* end confdefs.h. */
23334 $ac_includes_default
23335 typedef size_t ac__type_sizeof_;
23336 int
23337 main ()
23338 {
23339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23340 test_array [0] = 0
23341
23342 ;
23343 return 0;
23344 }
23345 _ACEOF
23346 rm -f conftest.$ac_objext
23347 if { (ac_try="$ac_compile"
23348 case "(($ac_try" in
23349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23350 *) ac_try_echo=$ac_try;;
23351 esac
23352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23353 (eval "$ac_compile") 2>conftest.er1
23354 ac_status=$?
23355 grep -v '^ *+' conftest.er1 >conftest.err
23356 rm -f conftest.er1
23357 cat conftest.err >&5
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); } && {
23360 test -z "$ac_c_werror_flag" ||
23361 test ! -s conftest.err
23362 } && test -s conftest.$ac_objext; then
23363 ac_lo=$ac_mid; break
23364 else
23365 echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.$ac_ext >&5
23367
23368 ac_hi=`expr '(' $ac_mid ')' - 1`
23369 if test $ac_mid -le $ac_hi; then
23370 ac_lo= ac_hi=
23371 break
23372 fi
23373 ac_mid=`expr 2 '*' $ac_mid`
23374 fi
23375
23376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23377 done
23378 else
23379 echo "$as_me: failed program was:" >&5
23380 sed 's/^/| /' conftest.$ac_ext >&5
23381
23382 ac_lo= ac_hi=
23383 fi
23384
23385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23386 fi
23387
23388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23389 # Binary search between lo and hi bounds.
23390 while test "x$ac_lo" != "x$ac_hi"; do
23391 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23392 cat >conftest.$ac_ext <<_ACEOF
23393 /* confdefs.h. */
23394 _ACEOF
23395 cat confdefs.h >>conftest.$ac_ext
23396 cat >>conftest.$ac_ext <<_ACEOF
23397 /* end confdefs.h. */
23398 $ac_includes_default
23399 typedef size_t ac__type_sizeof_;
23400 int
23401 main ()
23402 {
23403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23404 test_array [0] = 0
23405
23406 ;
23407 return 0;
23408 }
23409 _ACEOF
23410 rm -f conftest.$ac_objext
23411 if { (ac_try="$ac_compile"
23412 case "(($ac_try" in
23413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23414 *) ac_try_echo=$ac_try;;
23415 esac
23416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23417 (eval "$ac_compile") 2>conftest.er1
23418 ac_status=$?
23419 grep -v '^ *+' conftest.er1 >conftest.err
23420 rm -f conftest.er1
23421 cat conftest.err >&5
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); } && {
23424 test -z "$ac_c_werror_flag" ||
23425 test ! -s conftest.err
23426 } && test -s conftest.$ac_objext; then
23427 ac_hi=$ac_mid
23428 else
23429 echo "$as_me: failed program was:" >&5
23430 sed 's/^/| /' conftest.$ac_ext >&5
23431
23432 ac_lo=`expr '(' $ac_mid ')' + 1`
23433 fi
23434
23435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23436 done
23437 case $ac_lo in
23438 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23439 '') if test "$ac_cv_type_size_t" = yes; then
23440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23441 See \`config.log' for more details." >&5
23442 echo "$as_me: error: cannot compute sizeof (size_t)
23443 See \`config.log' for more details." >&2;}
23444 { (exit 77); exit 77; }; }
23445 else
23446 ac_cv_sizeof_size_t=0
23447 fi ;;
23448 esac
23449 else
23450 cat >conftest.$ac_ext <<_ACEOF
23451 /* confdefs.h. */
23452 _ACEOF
23453 cat confdefs.h >>conftest.$ac_ext
23454 cat >>conftest.$ac_ext <<_ACEOF
23455 /* end confdefs.h. */
23456 $ac_includes_default
23457 typedef size_t ac__type_sizeof_;
23458 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23459 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23460 #include <stdio.h>
23461 #include <stdlib.h>
23462 int
23463 main ()
23464 {
23465
23466 FILE *f = fopen ("conftest.val", "w");
23467 if (! f)
23468 return 1;
23469 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23470 {
23471 long int i = longval ();
23472 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23473 return 1;
23474 fprintf (f, "%ld\n", i);
23475 }
23476 else
23477 {
23478 unsigned long int i = ulongval ();
23479 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23480 return 1;
23481 fprintf (f, "%lu\n", i);
23482 }
23483 return ferror (f) || fclose (f) != 0;
23484
23485 ;
23486 return 0;
23487 }
23488 _ACEOF
23489 rm -f conftest$ac_exeext
23490 if { (ac_try="$ac_link"
23491 case "(($ac_try" in
23492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23493 *) ac_try_echo=$ac_try;;
23494 esac
23495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23496 (eval "$ac_link") 2>&5
23497 ac_status=$?
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23500 { (case "(($ac_try" in
23501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23502 *) ac_try_echo=$ac_try;;
23503 esac
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_try") 2>&5
23506 ac_status=$?
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; }; then
23509 ac_cv_sizeof_size_t=`cat conftest.val`
23510 else
23511 echo "$as_me: program exited with status $ac_status" >&5
23512 echo "$as_me: failed program was:" >&5
23513 sed 's/^/| /' conftest.$ac_ext >&5
23514
23515 ( exit $ac_status )
23516 if test "$ac_cv_type_size_t" = yes; then
23517 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23518 See \`config.log' for more details." >&5
23519 echo "$as_me: error: cannot compute sizeof (size_t)
23520 See \`config.log' for more details." >&2;}
23521 { (exit 77); exit 77; }; }
23522 else
23523 ac_cv_sizeof_size_t=0
23524 fi
23525 fi
23526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23527 fi
23528 rm -f conftest.val
23529 fi
23530 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23531 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23532
23533
23534
23535 cat >>confdefs.h <<_ACEOF
23536 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23537 _ACEOF
23538
23539
23540
23541 case "${host}" in
23542 arm-*-linux* )
23543 { echo "$as_me:$LINENO: checking for long long" >&5
23544 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23545 if test "${ac_cv_type_long_long+set}" = set; then
23546 echo $ECHO_N "(cached) $ECHO_C" >&6
23547 else
23548 cat >conftest.$ac_ext <<_ACEOF
23549 /* confdefs.h. */
23550 _ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554 $ac_includes_default
23555 typedef long long ac__type_new_;
23556 int
23557 main ()
23558 {
23559 if ((ac__type_new_ *) 0)
23560 return 0;
23561 if (sizeof (ac__type_new_))
23562 return 0;
23563 ;
23564 return 0;
23565 }
23566 _ACEOF
23567 rm -f conftest.$ac_objext
23568 if { (ac_try="$ac_compile"
23569 case "(($ac_try" in
23570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23571 *) ac_try_echo=$ac_try;;
23572 esac
23573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23574 (eval "$ac_compile") 2>conftest.er1
23575 ac_status=$?
23576 grep -v '^ *+' conftest.er1 >conftest.err
23577 rm -f conftest.er1
23578 cat conftest.err >&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); } && {
23581 test -z "$ac_c_werror_flag" ||
23582 test ! -s conftest.err
23583 } && test -s conftest.$ac_objext; then
23584 ac_cv_type_long_long=yes
23585 else
23586 echo "$as_me: failed program was:" >&5
23587 sed 's/^/| /' conftest.$ac_ext >&5
23588
23589 ac_cv_type_long_long=no
23590 fi
23591
23592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23593 fi
23594 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23595 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23596
23597 # The cast to long int works around a bug in the HP C Compiler
23598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23600 # This bug is HP SR number 8606223364.
23601 { echo "$as_me:$LINENO: checking size of long long" >&5
23602 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23603 if test "${ac_cv_sizeof_long_long+set}" = set; then
23604 echo $ECHO_N "(cached) $ECHO_C" >&6
23605 else
23606 if test "$cross_compiling" = yes; then
23607 # Depending upon the size, compute the lo and hi bounds.
23608 cat >conftest.$ac_ext <<_ACEOF
23609 /* confdefs.h. */
23610 _ACEOF
23611 cat confdefs.h >>conftest.$ac_ext
23612 cat >>conftest.$ac_ext <<_ACEOF
23613 /* end confdefs.h. */
23614 $ac_includes_default
23615 typedef long long ac__type_sizeof_;
23616 int
23617 main ()
23618 {
23619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23620 test_array [0] = 0
23621
23622 ;
23623 return 0;
23624 }
23625 _ACEOF
23626 rm -f conftest.$ac_objext
23627 if { (ac_try="$ac_compile"
23628 case "(($ac_try" in
23629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23630 *) ac_try_echo=$ac_try;;
23631 esac
23632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23633 (eval "$ac_compile") 2>conftest.er1
23634 ac_status=$?
23635 grep -v '^ *+' conftest.er1 >conftest.err
23636 rm -f conftest.er1
23637 cat conftest.err >&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } && {
23640 test -z "$ac_c_werror_flag" ||
23641 test ! -s conftest.err
23642 } && test -s conftest.$ac_objext; then
23643 ac_lo=0 ac_mid=0
23644 while :; do
23645 cat >conftest.$ac_ext <<_ACEOF
23646 /* confdefs.h. */
23647 _ACEOF
23648 cat confdefs.h >>conftest.$ac_ext
23649 cat >>conftest.$ac_ext <<_ACEOF
23650 /* end confdefs.h. */
23651 $ac_includes_default
23652 typedef long long ac__type_sizeof_;
23653 int
23654 main ()
23655 {
23656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23657 test_array [0] = 0
23658
23659 ;
23660 return 0;
23661 }
23662 _ACEOF
23663 rm -f conftest.$ac_objext
23664 if { (ac_try="$ac_compile"
23665 case "(($ac_try" in
23666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23667 *) ac_try_echo=$ac_try;;
23668 esac
23669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23670 (eval "$ac_compile") 2>conftest.er1
23671 ac_status=$?
23672 grep -v '^ *+' conftest.er1 >conftest.err
23673 rm -f conftest.er1
23674 cat conftest.err >&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } && {
23677 test -z "$ac_c_werror_flag" ||
23678 test ! -s conftest.err
23679 } && test -s conftest.$ac_objext; then
23680 ac_hi=$ac_mid; break
23681 else
23682 echo "$as_me: failed program was:" >&5
23683 sed 's/^/| /' conftest.$ac_ext >&5
23684
23685 ac_lo=`expr $ac_mid + 1`
23686 if test $ac_lo -le $ac_mid; then
23687 ac_lo= ac_hi=
23688 break
23689 fi
23690 ac_mid=`expr 2 '*' $ac_mid + 1`
23691 fi
23692
23693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23694 done
23695 else
23696 echo "$as_me: failed program was:" >&5
23697 sed 's/^/| /' conftest.$ac_ext >&5
23698
23699 cat >conftest.$ac_ext <<_ACEOF
23700 /* confdefs.h. */
23701 _ACEOF
23702 cat confdefs.h >>conftest.$ac_ext
23703 cat >>conftest.$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 $ac_includes_default
23706 typedef long long ac__type_sizeof_;
23707 int
23708 main ()
23709 {
23710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23711 test_array [0] = 0
23712
23713 ;
23714 return 0;
23715 }
23716 _ACEOF
23717 rm -f conftest.$ac_objext
23718 if { (ac_try="$ac_compile"
23719 case "(($ac_try" in
23720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23721 *) ac_try_echo=$ac_try;;
23722 esac
23723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23724 (eval "$ac_compile") 2>conftest.er1
23725 ac_status=$?
23726 grep -v '^ *+' conftest.er1 >conftest.err
23727 rm -f conftest.er1
23728 cat conftest.err >&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } && {
23731 test -z "$ac_c_werror_flag" ||
23732 test ! -s conftest.err
23733 } && test -s conftest.$ac_objext; then
23734 ac_hi=-1 ac_mid=-1
23735 while :; do
23736 cat >conftest.$ac_ext <<_ACEOF
23737 /* confdefs.h. */
23738 _ACEOF
23739 cat confdefs.h >>conftest.$ac_ext
23740 cat >>conftest.$ac_ext <<_ACEOF
23741 /* end confdefs.h. */
23742 $ac_includes_default
23743 typedef long long ac__type_sizeof_;
23744 int
23745 main ()
23746 {
23747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23748 test_array [0] = 0
23749
23750 ;
23751 return 0;
23752 }
23753 _ACEOF
23754 rm -f conftest.$ac_objext
23755 if { (ac_try="$ac_compile"
23756 case "(($ac_try" in
23757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23758 *) ac_try_echo=$ac_try;;
23759 esac
23760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23761 (eval "$ac_compile") 2>conftest.er1
23762 ac_status=$?
23763 grep -v '^ *+' conftest.er1 >conftest.err
23764 rm -f conftest.er1
23765 cat conftest.err >&5
23766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23767 (exit $ac_status); } && {
23768 test -z "$ac_c_werror_flag" ||
23769 test ! -s conftest.err
23770 } && test -s conftest.$ac_objext; then
23771 ac_lo=$ac_mid; break
23772 else
23773 echo "$as_me: failed program was:" >&5
23774 sed 's/^/| /' conftest.$ac_ext >&5
23775
23776 ac_hi=`expr '(' $ac_mid ')' - 1`
23777 if test $ac_mid -le $ac_hi; then
23778 ac_lo= ac_hi=
23779 break
23780 fi
23781 ac_mid=`expr 2 '*' $ac_mid`
23782 fi
23783
23784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23785 done
23786 else
23787 echo "$as_me: failed program was:" >&5
23788 sed 's/^/| /' conftest.$ac_ext >&5
23789
23790 ac_lo= ac_hi=
23791 fi
23792
23793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23794 fi
23795
23796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797 # Binary search between lo and hi bounds.
23798 while test "x$ac_lo" != "x$ac_hi"; do
23799 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23800 cat >conftest.$ac_ext <<_ACEOF
23801 /* confdefs.h. */
23802 _ACEOF
23803 cat confdefs.h >>conftest.$ac_ext
23804 cat >>conftest.$ac_ext <<_ACEOF
23805 /* end confdefs.h. */
23806 $ac_includes_default
23807 typedef long long ac__type_sizeof_;
23808 int
23809 main ()
23810 {
23811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23812 test_array [0] = 0
23813
23814 ;
23815 return 0;
23816 }
23817 _ACEOF
23818 rm -f conftest.$ac_objext
23819 if { (ac_try="$ac_compile"
23820 case "(($ac_try" in
23821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23822 *) ac_try_echo=$ac_try;;
23823 esac
23824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23825 (eval "$ac_compile") 2>conftest.er1
23826 ac_status=$?
23827 grep -v '^ *+' conftest.er1 >conftest.err
23828 rm -f conftest.er1
23829 cat conftest.err >&5
23830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23831 (exit $ac_status); } && {
23832 test -z "$ac_c_werror_flag" ||
23833 test ! -s conftest.err
23834 } && test -s conftest.$ac_objext; then
23835 ac_hi=$ac_mid
23836 else
23837 echo "$as_me: failed program was:" >&5
23838 sed 's/^/| /' conftest.$ac_ext >&5
23839
23840 ac_lo=`expr '(' $ac_mid ')' + 1`
23841 fi
23842
23843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23844 done
23845 case $ac_lo in
23846 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23847 '') if test "$ac_cv_type_long_long" = yes; then
23848 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23849 See \`config.log' for more details." >&5
23850 echo "$as_me: error: cannot compute sizeof (long long)
23851 See \`config.log' for more details." >&2;}
23852 { (exit 77); exit 77; }; }
23853 else
23854 ac_cv_sizeof_long_long=0
23855 fi ;;
23856 esac
23857 else
23858 cat >conftest.$ac_ext <<_ACEOF
23859 /* confdefs.h. */
23860 _ACEOF
23861 cat confdefs.h >>conftest.$ac_ext
23862 cat >>conftest.$ac_ext <<_ACEOF
23863 /* end confdefs.h. */
23864 $ac_includes_default
23865 typedef long long ac__type_sizeof_;
23866 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23867 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23868 #include <stdio.h>
23869 #include <stdlib.h>
23870 int
23871 main ()
23872 {
23873
23874 FILE *f = fopen ("conftest.val", "w");
23875 if (! f)
23876 return 1;
23877 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23878 {
23879 long int i = longval ();
23880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23881 return 1;
23882 fprintf (f, "%ld\n", i);
23883 }
23884 else
23885 {
23886 unsigned long int i = ulongval ();
23887 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23888 return 1;
23889 fprintf (f, "%lu\n", i);
23890 }
23891 return ferror (f) || fclose (f) != 0;
23892
23893 ;
23894 return 0;
23895 }
23896 _ACEOF
23897 rm -f conftest$ac_exeext
23898 if { (ac_try="$ac_link"
23899 case "(($ac_try" in
23900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23901 *) ac_try_echo=$ac_try;;
23902 esac
23903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23904 (eval "$ac_link") 2>&5
23905 ac_status=$?
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23908 { (case "(($ac_try" in
23909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23910 *) ac_try_echo=$ac_try;;
23911 esac
23912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23913 (eval "$ac_try") 2>&5
23914 ac_status=$?
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; }; then
23917 ac_cv_sizeof_long_long=`cat conftest.val`
23918 else
23919 echo "$as_me: program exited with status $ac_status" >&5
23920 echo "$as_me: failed program was:" >&5
23921 sed 's/^/| /' conftest.$ac_ext >&5
23922
23923 ( exit $ac_status )
23924 if test "$ac_cv_type_long_long" = yes; then
23925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23926 See \`config.log' for more details." >&5
23927 echo "$as_me: error: cannot compute sizeof (long long)
23928 See \`config.log' for more details." >&2;}
23929 { (exit 77); exit 77; }; }
23930 else
23931 ac_cv_sizeof_long_long=0
23932 fi
23933 fi
23934 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23935 fi
23936 rm -f conftest.val
23937 fi
23938 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23939 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23940
23941
23942
23943 cat >>confdefs.h <<_ACEOF
23944 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23945 _ACEOF
23946
23947
23948 ;;
23949 *-hp-hpux* )
23950 { echo "$as_me:$LINENO: checking for long long" >&5
23951 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23952 if test "${ac_cv_type_long_long+set}" = set; then
23953 echo $ECHO_N "(cached) $ECHO_C" >&6
23954 else
23955 cat >conftest.$ac_ext <<_ACEOF
23956 /* confdefs.h. */
23957 _ACEOF
23958 cat confdefs.h >>conftest.$ac_ext
23959 cat >>conftest.$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23961 $ac_includes_default
23962 typedef long long ac__type_new_;
23963 int
23964 main ()
23965 {
23966 if ((ac__type_new_ *) 0)
23967 return 0;
23968 if (sizeof (ac__type_new_))
23969 return 0;
23970 ;
23971 return 0;
23972 }
23973 _ACEOF
23974 rm -f conftest.$ac_objext
23975 if { (ac_try="$ac_compile"
23976 case "(($ac_try" in
23977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23978 *) ac_try_echo=$ac_try;;
23979 esac
23980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23981 (eval "$ac_compile") 2>conftest.er1
23982 ac_status=$?
23983 grep -v '^ *+' conftest.er1 >conftest.err
23984 rm -f conftest.er1
23985 cat conftest.err >&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); } && {
23988 test -z "$ac_c_werror_flag" ||
23989 test ! -s conftest.err
23990 } && test -s conftest.$ac_objext; then
23991 ac_cv_type_long_long=yes
23992 else
23993 echo "$as_me: failed program was:" >&5
23994 sed 's/^/| /' conftest.$ac_ext >&5
23995
23996 ac_cv_type_long_long=no
23997 fi
23998
23999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24000 fi
24001 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24002 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24003
24004 # The cast to long int works around a bug in the HP C Compiler
24005 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24006 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24007 # This bug is HP SR number 8606223364.
24008 { echo "$as_me:$LINENO: checking size of long long" >&5
24009 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24010 if test "${ac_cv_sizeof_long_long+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 else
24013 if test "$cross_compiling" = yes; then
24014 # Depending upon the size, compute the lo and hi bounds.
24015 cat >conftest.$ac_ext <<_ACEOF
24016 /* confdefs.h. */
24017 _ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 $ac_includes_default
24022 typedef long long ac__type_sizeof_;
24023 int
24024 main ()
24025 {
24026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24027 test_array [0] = 0
24028
24029 ;
24030 return 0;
24031 }
24032 _ACEOF
24033 rm -f conftest.$ac_objext
24034 if { (ac_try="$ac_compile"
24035 case "(($ac_try" in
24036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24037 *) ac_try_echo=$ac_try;;
24038 esac
24039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24040 (eval "$ac_compile") 2>conftest.er1
24041 ac_status=$?
24042 grep -v '^ *+' conftest.er1 >conftest.err
24043 rm -f conftest.er1
24044 cat conftest.err >&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); } && {
24047 test -z "$ac_c_werror_flag" ||
24048 test ! -s conftest.err
24049 } && test -s conftest.$ac_objext; then
24050 ac_lo=0 ac_mid=0
24051 while :; do
24052 cat >conftest.$ac_ext <<_ACEOF
24053 /* confdefs.h. */
24054 _ACEOF
24055 cat confdefs.h >>conftest.$ac_ext
24056 cat >>conftest.$ac_ext <<_ACEOF
24057 /* end confdefs.h. */
24058 $ac_includes_default
24059 typedef long long ac__type_sizeof_;
24060 int
24061 main ()
24062 {
24063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24064 test_array [0] = 0
24065
24066 ;
24067 return 0;
24068 }
24069 _ACEOF
24070 rm -f conftest.$ac_objext
24071 if { (ac_try="$ac_compile"
24072 case "(($ac_try" in
24073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24074 *) ac_try_echo=$ac_try;;
24075 esac
24076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24077 (eval "$ac_compile") 2>conftest.er1
24078 ac_status=$?
24079 grep -v '^ *+' conftest.er1 >conftest.err
24080 rm -f conftest.er1
24081 cat conftest.err >&5
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); } && {
24084 test -z "$ac_c_werror_flag" ||
24085 test ! -s conftest.err
24086 } && test -s conftest.$ac_objext; then
24087 ac_hi=$ac_mid; break
24088 else
24089 echo "$as_me: failed program was:" >&5
24090 sed 's/^/| /' conftest.$ac_ext >&5
24091
24092 ac_lo=`expr $ac_mid + 1`
24093 if test $ac_lo -le $ac_mid; then
24094 ac_lo= ac_hi=
24095 break
24096 fi
24097 ac_mid=`expr 2 '*' $ac_mid + 1`
24098 fi
24099
24100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24101 done
24102 else
24103 echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.$ac_ext >&5
24105
24106 cat >conftest.$ac_ext <<_ACEOF
24107 /* confdefs.h. */
24108 _ACEOF
24109 cat confdefs.h >>conftest.$ac_ext
24110 cat >>conftest.$ac_ext <<_ACEOF
24111 /* end confdefs.h. */
24112 $ac_includes_default
24113 typedef long long ac__type_sizeof_;
24114 int
24115 main ()
24116 {
24117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24118 test_array [0] = 0
24119
24120 ;
24121 return 0;
24122 }
24123 _ACEOF
24124 rm -f conftest.$ac_objext
24125 if { (ac_try="$ac_compile"
24126 case "(($ac_try" in
24127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24128 *) ac_try_echo=$ac_try;;
24129 esac
24130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24131 (eval "$ac_compile") 2>conftest.er1
24132 ac_status=$?
24133 grep -v '^ *+' conftest.er1 >conftest.err
24134 rm -f conftest.er1
24135 cat conftest.err >&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } && {
24138 test -z "$ac_c_werror_flag" ||
24139 test ! -s conftest.err
24140 } && test -s conftest.$ac_objext; then
24141 ac_hi=-1 ac_mid=-1
24142 while :; do
24143 cat >conftest.$ac_ext <<_ACEOF
24144 /* confdefs.h. */
24145 _ACEOF
24146 cat confdefs.h >>conftest.$ac_ext
24147 cat >>conftest.$ac_ext <<_ACEOF
24148 /* end confdefs.h. */
24149 $ac_includes_default
24150 typedef long long ac__type_sizeof_;
24151 int
24152 main ()
24153 {
24154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24155 test_array [0] = 0
24156
24157 ;
24158 return 0;
24159 }
24160 _ACEOF
24161 rm -f conftest.$ac_objext
24162 if { (ac_try="$ac_compile"
24163 case "(($ac_try" in
24164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24165 *) ac_try_echo=$ac_try;;
24166 esac
24167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24168 (eval "$ac_compile") 2>conftest.er1
24169 ac_status=$?
24170 grep -v '^ *+' conftest.er1 >conftest.err
24171 rm -f conftest.er1
24172 cat conftest.err >&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } && {
24175 test -z "$ac_c_werror_flag" ||
24176 test ! -s conftest.err
24177 } && test -s conftest.$ac_objext; then
24178 ac_lo=$ac_mid; break
24179 else
24180 echo "$as_me: failed program was:" >&5
24181 sed 's/^/| /' conftest.$ac_ext >&5
24182
24183 ac_hi=`expr '(' $ac_mid ')' - 1`
24184 if test $ac_mid -le $ac_hi; then
24185 ac_lo= ac_hi=
24186 break
24187 fi
24188 ac_mid=`expr 2 '*' $ac_mid`
24189 fi
24190
24191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24192 done
24193 else
24194 echo "$as_me: failed program was:" >&5
24195 sed 's/^/| /' conftest.$ac_ext >&5
24196
24197 ac_lo= ac_hi=
24198 fi
24199
24200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24201 fi
24202
24203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24204 # Binary search between lo and hi bounds.
24205 while test "x$ac_lo" != "x$ac_hi"; do
24206 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24207 cat >conftest.$ac_ext <<_ACEOF
24208 /* confdefs.h. */
24209 _ACEOF
24210 cat confdefs.h >>conftest.$ac_ext
24211 cat >>conftest.$ac_ext <<_ACEOF
24212 /* end confdefs.h. */
24213 $ac_includes_default
24214 typedef long long ac__type_sizeof_;
24215 int
24216 main ()
24217 {
24218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24219 test_array [0] = 0
24220
24221 ;
24222 return 0;
24223 }
24224 _ACEOF
24225 rm -f conftest.$ac_objext
24226 if { (ac_try="$ac_compile"
24227 case "(($ac_try" in
24228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24229 *) ac_try_echo=$ac_try;;
24230 esac
24231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24232 (eval "$ac_compile") 2>conftest.er1
24233 ac_status=$?
24234 grep -v '^ *+' conftest.er1 >conftest.err
24235 rm -f conftest.er1
24236 cat conftest.err >&5
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); } && {
24239 test -z "$ac_c_werror_flag" ||
24240 test ! -s conftest.err
24241 } && test -s conftest.$ac_objext; then
24242 ac_hi=$ac_mid
24243 else
24244 echo "$as_me: failed program was:" >&5
24245 sed 's/^/| /' conftest.$ac_ext >&5
24246
24247 ac_lo=`expr '(' $ac_mid ')' + 1`
24248 fi
24249
24250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24251 done
24252 case $ac_lo in
24253 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24254 '') if test "$ac_cv_type_long_long" = yes; then
24255 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24256 See \`config.log' for more details." >&5
24257 echo "$as_me: error: cannot compute sizeof (long long)
24258 See \`config.log' for more details." >&2;}
24259 { (exit 77); exit 77; }; }
24260 else
24261 ac_cv_sizeof_long_long=0
24262 fi ;;
24263 esac
24264 else
24265 cat >conftest.$ac_ext <<_ACEOF
24266 /* confdefs.h. */
24267 _ACEOF
24268 cat confdefs.h >>conftest.$ac_ext
24269 cat >>conftest.$ac_ext <<_ACEOF
24270 /* end confdefs.h. */
24271 $ac_includes_default
24272 typedef long long ac__type_sizeof_;
24273 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24274 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24275 #include <stdio.h>
24276 #include <stdlib.h>
24277 int
24278 main ()
24279 {
24280
24281 FILE *f = fopen ("conftest.val", "w");
24282 if (! f)
24283 return 1;
24284 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24285 {
24286 long int i = longval ();
24287 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24288 return 1;
24289 fprintf (f, "%ld\n", i);
24290 }
24291 else
24292 {
24293 unsigned long int i = ulongval ();
24294 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24295 return 1;
24296 fprintf (f, "%lu\n", i);
24297 }
24298 return ferror (f) || fclose (f) != 0;
24299
24300 ;
24301 return 0;
24302 }
24303 _ACEOF
24304 rm -f conftest$ac_exeext
24305 if { (ac_try="$ac_link"
24306 case "(($ac_try" in
24307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24308 *) ac_try_echo=$ac_try;;
24309 esac
24310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24311 (eval "$ac_link") 2>&5
24312 ac_status=$?
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24315 { (case "(($ac_try" in
24316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24317 *) ac_try_echo=$ac_try;;
24318 esac
24319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24320 (eval "$ac_try") 2>&5
24321 ac_status=$?
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); }; }; then
24324 ac_cv_sizeof_long_long=`cat conftest.val`
24325 else
24326 echo "$as_me: program exited with status $ac_status" >&5
24327 echo "$as_me: failed program was:" >&5
24328 sed 's/^/| /' conftest.$ac_ext >&5
24329
24330 ( exit $ac_status )
24331 if test "$ac_cv_type_long_long" = yes; then
24332 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24333 See \`config.log' for more details." >&5
24334 echo "$as_me: error: cannot compute sizeof (long long)
24335 See \`config.log' for more details." >&2;}
24336 { (exit 77); exit 77; }; }
24337 else
24338 ac_cv_sizeof_long_long=0
24339 fi
24340 fi
24341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24342 fi
24343 rm -f conftest.val
24344 fi
24345 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24346 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24347
24348
24349
24350 cat >>confdefs.h <<_ACEOF
24351 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24352 _ACEOF
24353
24354
24355 if test "$ac_cv_sizeof_long_long" != "0"; then
24356 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24357 fi
24358 ;;
24359 * )
24360 { echo "$as_me:$LINENO: checking for long long" >&5
24361 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24362 if test "${ac_cv_type_long_long+set}" = set; then
24363 echo $ECHO_N "(cached) $ECHO_C" >&6
24364 else
24365 cat >conftest.$ac_ext <<_ACEOF
24366 /* confdefs.h. */
24367 _ACEOF
24368 cat confdefs.h >>conftest.$ac_ext
24369 cat >>conftest.$ac_ext <<_ACEOF
24370 /* end confdefs.h. */
24371 $ac_includes_default
24372 typedef long long ac__type_new_;
24373 int
24374 main ()
24375 {
24376 if ((ac__type_new_ *) 0)
24377 return 0;
24378 if (sizeof (ac__type_new_))
24379 return 0;
24380 ;
24381 return 0;
24382 }
24383 _ACEOF
24384 rm -f conftest.$ac_objext
24385 if { (ac_try="$ac_compile"
24386 case "(($ac_try" in
24387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24388 *) ac_try_echo=$ac_try;;
24389 esac
24390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24391 (eval "$ac_compile") 2>conftest.er1
24392 ac_status=$?
24393 grep -v '^ *+' conftest.er1 >conftest.err
24394 rm -f conftest.er1
24395 cat conftest.err >&5
24396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397 (exit $ac_status); } && {
24398 test -z "$ac_c_werror_flag" ||
24399 test ! -s conftest.err
24400 } && test -s conftest.$ac_objext; then
24401 ac_cv_type_long_long=yes
24402 else
24403 echo "$as_me: failed program was:" >&5
24404 sed 's/^/| /' conftest.$ac_ext >&5
24405
24406 ac_cv_type_long_long=no
24407 fi
24408
24409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24410 fi
24411 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24412 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24413
24414 # The cast to long int works around a bug in the HP C Compiler
24415 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24416 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24417 # This bug is HP SR number 8606223364.
24418 { echo "$as_me:$LINENO: checking size of long long" >&5
24419 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24420 if test "${ac_cv_sizeof_long_long+set}" = set; then
24421 echo $ECHO_N "(cached) $ECHO_C" >&6
24422 else
24423 if test "$cross_compiling" = yes; then
24424 # Depending upon the size, compute the lo and hi bounds.
24425 cat >conftest.$ac_ext <<_ACEOF
24426 /* confdefs.h. */
24427 _ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24431 $ac_includes_default
24432 typedef long long ac__type_sizeof_;
24433 int
24434 main ()
24435 {
24436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24437 test_array [0] = 0
24438
24439 ;
24440 return 0;
24441 }
24442 _ACEOF
24443 rm -f conftest.$ac_objext
24444 if { (ac_try="$ac_compile"
24445 case "(($ac_try" in
24446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24447 *) ac_try_echo=$ac_try;;
24448 esac
24449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24450 (eval "$ac_compile") 2>conftest.er1
24451 ac_status=$?
24452 grep -v '^ *+' conftest.er1 >conftest.err
24453 rm -f conftest.er1
24454 cat conftest.err >&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } && {
24457 test -z "$ac_c_werror_flag" ||
24458 test ! -s conftest.err
24459 } && test -s conftest.$ac_objext; then
24460 ac_lo=0 ac_mid=0
24461 while :; do
24462 cat >conftest.$ac_ext <<_ACEOF
24463 /* confdefs.h. */
24464 _ACEOF
24465 cat confdefs.h >>conftest.$ac_ext
24466 cat >>conftest.$ac_ext <<_ACEOF
24467 /* end confdefs.h. */
24468 $ac_includes_default
24469 typedef long long ac__type_sizeof_;
24470 int
24471 main ()
24472 {
24473 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24474 test_array [0] = 0
24475
24476 ;
24477 return 0;
24478 }
24479 _ACEOF
24480 rm -f conftest.$ac_objext
24481 if { (ac_try="$ac_compile"
24482 case "(($ac_try" in
24483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24484 *) ac_try_echo=$ac_try;;
24485 esac
24486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24487 (eval "$ac_compile") 2>conftest.er1
24488 ac_status=$?
24489 grep -v '^ *+' conftest.er1 >conftest.err
24490 rm -f conftest.er1
24491 cat conftest.err >&5
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); } && {
24494 test -z "$ac_c_werror_flag" ||
24495 test ! -s conftest.err
24496 } && test -s conftest.$ac_objext; then
24497 ac_hi=$ac_mid; break
24498 else
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.$ac_ext >&5
24501
24502 ac_lo=`expr $ac_mid + 1`
24503 if test $ac_lo -le $ac_mid; then
24504 ac_lo= ac_hi=
24505 break
24506 fi
24507 ac_mid=`expr 2 '*' $ac_mid + 1`
24508 fi
24509
24510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24511 done
24512 else
24513 echo "$as_me: failed program was:" >&5
24514 sed 's/^/| /' conftest.$ac_ext >&5
24515
24516 cat >conftest.$ac_ext <<_ACEOF
24517 /* confdefs.h. */
24518 _ACEOF
24519 cat confdefs.h >>conftest.$ac_ext
24520 cat >>conftest.$ac_ext <<_ACEOF
24521 /* end confdefs.h. */
24522 $ac_includes_default
24523 typedef long long ac__type_sizeof_;
24524 int
24525 main ()
24526 {
24527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24528 test_array [0] = 0
24529
24530 ;
24531 return 0;
24532 }
24533 _ACEOF
24534 rm -f conftest.$ac_objext
24535 if { (ac_try="$ac_compile"
24536 case "(($ac_try" in
24537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24538 *) ac_try_echo=$ac_try;;
24539 esac
24540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24541 (eval "$ac_compile") 2>conftest.er1
24542 ac_status=$?
24543 grep -v '^ *+' conftest.er1 >conftest.err
24544 rm -f conftest.er1
24545 cat conftest.err >&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); } && {
24548 test -z "$ac_c_werror_flag" ||
24549 test ! -s conftest.err
24550 } && test -s conftest.$ac_objext; then
24551 ac_hi=-1 ac_mid=-1
24552 while :; do
24553 cat >conftest.$ac_ext <<_ACEOF
24554 /* confdefs.h. */
24555 _ACEOF
24556 cat confdefs.h >>conftest.$ac_ext
24557 cat >>conftest.$ac_ext <<_ACEOF
24558 /* end confdefs.h. */
24559 $ac_includes_default
24560 typedef long long ac__type_sizeof_;
24561 int
24562 main ()
24563 {
24564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24565 test_array [0] = 0
24566
24567 ;
24568 return 0;
24569 }
24570 _ACEOF
24571 rm -f conftest.$ac_objext
24572 if { (ac_try="$ac_compile"
24573 case "(($ac_try" in
24574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24575 *) ac_try_echo=$ac_try;;
24576 esac
24577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24578 (eval "$ac_compile") 2>conftest.er1
24579 ac_status=$?
24580 grep -v '^ *+' conftest.er1 >conftest.err
24581 rm -f conftest.er1
24582 cat conftest.err >&5
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); } && {
24585 test -z "$ac_c_werror_flag" ||
24586 test ! -s conftest.err
24587 } && test -s conftest.$ac_objext; then
24588 ac_lo=$ac_mid; break
24589 else
24590 echo "$as_me: failed program was:" >&5
24591 sed 's/^/| /' conftest.$ac_ext >&5
24592
24593 ac_hi=`expr '(' $ac_mid ')' - 1`
24594 if test $ac_mid -le $ac_hi; then
24595 ac_lo= ac_hi=
24596 break
24597 fi
24598 ac_mid=`expr 2 '*' $ac_mid`
24599 fi
24600
24601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24602 done
24603 else
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24606
24607 ac_lo= ac_hi=
24608 fi
24609
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611 fi
24612
24613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24614 # Binary search between lo and hi bounds.
24615 while test "x$ac_lo" != "x$ac_hi"; do
24616 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24617 cat >conftest.$ac_ext <<_ACEOF
24618 /* confdefs.h. */
24619 _ACEOF
24620 cat confdefs.h >>conftest.$ac_ext
24621 cat >>conftest.$ac_ext <<_ACEOF
24622 /* end confdefs.h. */
24623 $ac_includes_default
24624 typedef long long ac__type_sizeof_;
24625 int
24626 main ()
24627 {
24628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24629 test_array [0] = 0
24630
24631 ;
24632 return 0;
24633 }
24634 _ACEOF
24635 rm -f conftest.$ac_objext
24636 if { (ac_try="$ac_compile"
24637 case "(($ac_try" in
24638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24639 *) ac_try_echo=$ac_try;;
24640 esac
24641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24642 (eval "$ac_compile") 2>conftest.er1
24643 ac_status=$?
24644 grep -v '^ *+' conftest.er1 >conftest.err
24645 rm -f conftest.er1
24646 cat conftest.err >&5
24647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648 (exit $ac_status); } && {
24649 test -z "$ac_c_werror_flag" ||
24650 test ! -s conftest.err
24651 } && test -s conftest.$ac_objext; then
24652 ac_hi=$ac_mid
24653 else
24654 echo "$as_me: failed program was:" >&5
24655 sed 's/^/| /' conftest.$ac_ext >&5
24656
24657 ac_lo=`expr '(' $ac_mid ')' + 1`
24658 fi
24659
24660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24661 done
24662 case $ac_lo in
24663 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24664 '') if test "$ac_cv_type_long_long" = yes; then
24665 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24666 See \`config.log' for more details." >&5
24667 echo "$as_me: error: cannot compute sizeof (long long)
24668 See \`config.log' for more details." >&2;}
24669 { (exit 77); exit 77; }; }
24670 else
24671 ac_cv_sizeof_long_long=0
24672 fi ;;
24673 esac
24674 else
24675 cat >conftest.$ac_ext <<_ACEOF
24676 /* confdefs.h. */
24677 _ACEOF
24678 cat confdefs.h >>conftest.$ac_ext
24679 cat >>conftest.$ac_ext <<_ACEOF
24680 /* end confdefs.h. */
24681 $ac_includes_default
24682 typedef long long ac__type_sizeof_;
24683 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24684 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24685 #include <stdio.h>
24686 #include <stdlib.h>
24687 int
24688 main ()
24689 {
24690
24691 FILE *f = fopen ("conftest.val", "w");
24692 if (! f)
24693 return 1;
24694 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24695 {
24696 long int i = longval ();
24697 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24698 return 1;
24699 fprintf (f, "%ld\n", i);
24700 }
24701 else
24702 {
24703 unsigned long int i = ulongval ();
24704 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24705 return 1;
24706 fprintf (f, "%lu\n", i);
24707 }
24708 return ferror (f) || fclose (f) != 0;
24709
24710 ;
24711 return 0;
24712 }
24713 _ACEOF
24714 rm -f conftest$ac_exeext
24715 if { (ac_try="$ac_link"
24716 case "(($ac_try" in
24717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24718 *) ac_try_echo=$ac_try;;
24719 esac
24720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24721 (eval "$ac_link") 2>&5
24722 ac_status=$?
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24725 { (case "(($ac_try" in
24726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24727 *) ac_try_echo=$ac_try;;
24728 esac
24729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24730 (eval "$ac_try") 2>&5
24731 ac_status=$?
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); }; }; then
24734 ac_cv_sizeof_long_long=`cat conftest.val`
24735 else
24736 echo "$as_me: program exited with status $ac_status" >&5
24737 echo "$as_me: failed program was:" >&5
24738 sed 's/^/| /' conftest.$ac_ext >&5
24739
24740 ( exit $ac_status )
24741 if test "$ac_cv_type_long_long" = yes; then
24742 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24743 See \`config.log' for more details." >&5
24744 echo "$as_me: error: cannot compute sizeof (long long)
24745 See \`config.log' for more details." >&2;}
24746 { (exit 77); exit 77; }; }
24747 else
24748 ac_cv_sizeof_long_long=0
24749 fi
24750 fi
24751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24752 fi
24753 rm -f conftest.val
24754 fi
24755 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24756 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24757
24758
24759
24760 cat >>confdefs.h <<_ACEOF
24761 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24762 _ACEOF
24763
24764
24765 esac
24766
24767 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24768 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24769 if test "${ac_cv_type_wchar_t+set}" = set; then
24770 echo $ECHO_N "(cached) $ECHO_C" >&6
24771 else
24772 cat >conftest.$ac_ext <<_ACEOF
24773 /* confdefs.h. */
24774 _ACEOF
24775 cat confdefs.h >>conftest.$ac_ext
24776 cat >>conftest.$ac_ext <<_ACEOF
24777 /* end confdefs.h. */
24778
24779 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24780 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24781 # error "fake wchar_t"
24782 #endif
24783 #ifdef HAVE_WCHAR_H
24784 # ifdef __CYGWIN__
24785 # include <stddef.h>
24786 # endif
24787 # include <wchar.h>
24788 #endif
24789 #ifdef HAVE_STDLIB_H
24790 # include <stdlib.h>
24791 #endif
24792 #include <stdio.h>
24793
24794
24795
24796 typedef wchar_t ac__type_new_;
24797 int
24798 main ()
24799 {
24800 if ((ac__type_new_ *) 0)
24801 return 0;
24802 if (sizeof (ac__type_new_))
24803 return 0;
24804 ;
24805 return 0;
24806 }
24807 _ACEOF
24808 rm -f conftest.$ac_objext
24809 if { (ac_try="$ac_compile"
24810 case "(($ac_try" in
24811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24812 *) ac_try_echo=$ac_try;;
24813 esac
24814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24815 (eval "$ac_compile") 2>conftest.er1
24816 ac_status=$?
24817 grep -v '^ *+' conftest.er1 >conftest.err
24818 rm -f conftest.er1
24819 cat conftest.err >&5
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); } && {
24822 test -z "$ac_c_werror_flag" ||
24823 test ! -s conftest.err
24824 } && test -s conftest.$ac_objext; then
24825 ac_cv_type_wchar_t=yes
24826 else
24827 echo "$as_me: failed program was:" >&5
24828 sed 's/^/| /' conftest.$ac_ext >&5
24829
24830 ac_cv_type_wchar_t=no
24831 fi
24832
24833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24834 fi
24835 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24836 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24837
24838 # The cast to long int works around a bug in the HP C Compiler
24839 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24840 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24841 # This bug is HP SR number 8606223364.
24842 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24843 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24844 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24846 else
24847 if test "$cross_compiling" = yes; then
24848 # Depending upon the size, compute the lo and hi bounds.
24849 cat >conftest.$ac_ext <<_ACEOF
24850 /* confdefs.h. */
24851 _ACEOF
24852 cat confdefs.h >>conftest.$ac_ext
24853 cat >>conftest.$ac_ext <<_ACEOF
24854 /* end confdefs.h. */
24855
24856 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24857 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24858 # error "fake wchar_t"
24859 #endif
24860 #ifdef HAVE_WCHAR_H
24861 # ifdef __CYGWIN__
24862 # include <stddef.h>
24863 # endif
24864 # include <wchar.h>
24865 #endif
24866 #ifdef HAVE_STDLIB_H
24867 # include <stdlib.h>
24868 #endif
24869 #include <stdio.h>
24870
24871
24872
24873 typedef wchar_t ac__type_sizeof_;
24874 int
24875 main ()
24876 {
24877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24878 test_array [0] = 0
24879
24880 ;
24881 return 0;
24882 }
24883 _ACEOF
24884 rm -f conftest.$ac_objext
24885 if { (ac_try="$ac_compile"
24886 case "(($ac_try" in
24887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24888 *) ac_try_echo=$ac_try;;
24889 esac
24890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24891 (eval "$ac_compile") 2>conftest.er1
24892 ac_status=$?
24893 grep -v '^ *+' conftest.er1 >conftest.err
24894 rm -f conftest.er1
24895 cat conftest.err >&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } && {
24898 test -z "$ac_c_werror_flag" ||
24899 test ! -s conftest.err
24900 } && test -s conftest.$ac_objext; then
24901 ac_lo=0 ac_mid=0
24902 while :; do
24903 cat >conftest.$ac_ext <<_ACEOF
24904 /* confdefs.h. */
24905 _ACEOF
24906 cat confdefs.h >>conftest.$ac_ext
24907 cat >>conftest.$ac_ext <<_ACEOF
24908 /* end confdefs.h. */
24909
24910 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24911 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24912 # error "fake wchar_t"
24913 #endif
24914 #ifdef HAVE_WCHAR_H
24915 # ifdef __CYGWIN__
24916 # include <stddef.h>
24917 # endif
24918 # include <wchar.h>
24919 #endif
24920 #ifdef HAVE_STDLIB_H
24921 # include <stdlib.h>
24922 #endif
24923 #include <stdio.h>
24924
24925
24926
24927 typedef wchar_t ac__type_sizeof_;
24928 int
24929 main ()
24930 {
24931 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24932 test_array [0] = 0
24933
24934 ;
24935 return 0;
24936 }
24937 _ACEOF
24938 rm -f conftest.$ac_objext
24939 if { (ac_try="$ac_compile"
24940 case "(($ac_try" in
24941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24942 *) ac_try_echo=$ac_try;;
24943 esac
24944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24945 (eval "$ac_compile") 2>conftest.er1
24946 ac_status=$?
24947 grep -v '^ *+' conftest.er1 >conftest.err
24948 rm -f conftest.er1
24949 cat conftest.err >&5
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); } && {
24952 test -z "$ac_c_werror_flag" ||
24953 test ! -s conftest.err
24954 } && test -s conftest.$ac_objext; then
24955 ac_hi=$ac_mid; break
24956 else
24957 echo "$as_me: failed program was:" >&5
24958 sed 's/^/| /' conftest.$ac_ext >&5
24959
24960 ac_lo=`expr $ac_mid + 1`
24961 if test $ac_lo -le $ac_mid; then
24962 ac_lo= ac_hi=
24963 break
24964 fi
24965 ac_mid=`expr 2 '*' $ac_mid + 1`
24966 fi
24967
24968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24969 done
24970 else
24971 echo "$as_me: failed program was:" >&5
24972 sed 's/^/| /' conftest.$ac_ext >&5
24973
24974 cat >conftest.$ac_ext <<_ACEOF
24975 /* confdefs.h. */
24976 _ACEOF
24977 cat confdefs.h >>conftest.$ac_ext
24978 cat >>conftest.$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24980
24981 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24982 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24983 # error "fake wchar_t"
24984 #endif
24985 #ifdef HAVE_WCHAR_H
24986 # ifdef __CYGWIN__
24987 # include <stddef.h>
24988 # endif
24989 # include <wchar.h>
24990 #endif
24991 #ifdef HAVE_STDLIB_H
24992 # include <stdlib.h>
24993 #endif
24994 #include <stdio.h>
24995
24996
24997
24998 typedef wchar_t ac__type_sizeof_;
24999 int
25000 main ()
25001 {
25002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25003 test_array [0] = 0
25004
25005 ;
25006 return 0;
25007 }
25008 _ACEOF
25009 rm -f conftest.$ac_objext
25010 if { (ac_try="$ac_compile"
25011 case "(($ac_try" in
25012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25013 *) ac_try_echo=$ac_try;;
25014 esac
25015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25016 (eval "$ac_compile") 2>conftest.er1
25017 ac_status=$?
25018 grep -v '^ *+' conftest.er1 >conftest.err
25019 rm -f conftest.er1
25020 cat conftest.err >&5
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); } && {
25023 test -z "$ac_c_werror_flag" ||
25024 test ! -s conftest.err
25025 } && test -s conftest.$ac_objext; then
25026 ac_hi=-1 ac_mid=-1
25027 while :; do
25028 cat >conftest.$ac_ext <<_ACEOF
25029 /* confdefs.h. */
25030 _ACEOF
25031 cat confdefs.h >>conftest.$ac_ext
25032 cat >>conftest.$ac_ext <<_ACEOF
25033 /* end confdefs.h. */
25034
25035 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25036 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25037 # error "fake wchar_t"
25038 #endif
25039 #ifdef HAVE_WCHAR_H
25040 # ifdef __CYGWIN__
25041 # include <stddef.h>
25042 # endif
25043 # include <wchar.h>
25044 #endif
25045 #ifdef HAVE_STDLIB_H
25046 # include <stdlib.h>
25047 #endif
25048 #include <stdio.h>
25049
25050
25051
25052 typedef wchar_t ac__type_sizeof_;
25053 int
25054 main ()
25055 {
25056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25057 test_array [0] = 0
25058
25059 ;
25060 return 0;
25061 }
25062 _ACEOF
25063 rm -f conftest.$ac_objext
25064 if { (ac_try="$ac_compile"
25065 case "(($ac_try" in
25066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25067 *) ac_try_echo=$ac_try;;
25068 esac
25069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25070 (eval "$ac_compile") 2>conftest.er1
25071 ac_status=$?
25072 grep -v '^ *+' conftest.er1 >conftest.err
25073 rm -f conftest.er1
25074 cat conftest.err >&5
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); } && {
25077 test -z "$ac_c_werror_flag" ||
25078 test ! -s conftest.err
25079 } && test -s conftest.$ac_objext; then
25080 ac_lo=$ac_mid; break
25081 else
25082 echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.$ac_ext >&5
25084
25085 ac_hi=`expr '(' $ac_mid ')' - 1`
25086 if test $ac_mid -le $ac_hi; then
25087 ac_lo= ac_hi=
25088 break
25089 fi
25090 ac_mid=`expr 2 '*' $ac_mid`
25091 fi
25092
25093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25094 done
25095 else
25096 echo "$as_me: failed program was:" >&5
25097 sed 's/^/| /' conftest.$ac_ext >&5
25098
25099 ac_lo= ac_hi=
25100 fi
25101
25102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25103 fi
25104
25105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25106 # Binary search between lo and hi bounds.
25107 while test "x$ac_lo" != "x$ac_hi"; do
25108 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25109 cat >conftest.$ac_ext <<_ACEOF
25110 /* confdefs.h. */
25111 _ACEOF
25112 cat confdefs.h >>conftest.$ac_ext
25113 cat >>conftest.$ac_ext <<_ACEOF
25114 /* end confdefs.h. */
25115
25116 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25117 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25118 # error "fake wchar_t"
25119 #endif
25120 #ifdef HAVE_WCHAR_H
25121 # ifdef __CYGWIN__
25122 # include <stddef.h>
25123 # endif
25124 # include <wchar.h>
25125 #endif
25126 #ifdef HAVE_STDLIB_H
25127 # include <stdlib.h>
25128 #endif
25129 #include <stdio.h>
25130
25131
25132
25133 typedef wchar_t ac__type_sizeof_;
25134 int
25135 main ()
25136 {
25137 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25138 test_array [0] = 0
25139
25140 ;
25141 return 0;
25142 }
25143 _ACEOF
25144 rm -f conftest.$ac_objext
25145 if { (ac_try="$ac_compile"
25146 case "(($ac_try" in
25147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25148 *) ac_try_echo=$ac_try;;
25149 esac
25150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25151 (eval "$ac_compile") 2>conftest.er1
25152 ac_status=$?
25153 grep -v '^ *+' conftest.er1 >conftest.err
25154 rm -f conftest.er1
25155 cat conftest.err >&5
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); } && {
25158 test -z "$ac_c_werror_flag" ||
25159 test ! -s conftest.err
25160 } && test -s conftest.$ac_objext; then
25161 ac_hi=$ac_mid
25162 else
25163 echo "$as_me: failed program was:" >&5
25164 sed 's/^/| /' conftest.$ac_ext >&5
25165
25166 ac_lo=`expr '(' $ac_mid ')' + 1`
25167 fi
25168
25169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25170 done
25171 case $ac_lo in
25172 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25173 '') if test "$ac_cv_type_wchar_t" = yes; then
25174 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25175 See \`config.log' for more details." >&5
25176 echo "$as_me: error: cannot compute sizeof (wchar_t)
25177 See \`config.log' for more details." >&2;}
25178 { (exit 77); exit 77; }; }
25179 else
25180 ac_cv_sizeof_wchar_t=0
25181 fi ;;
25182 esac
25183 else
25184 cat >conftest.$ac_ext <<_ACEOF
25185 /* confdefs.h. */
25186 _ACEOF
25187 cat confdefs.h >>conftest.$ac_ext
25188 cat >>conftest.$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25190
25191 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25192 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25193 # error "fake wchar_t"
25194 #endif
25195 #ifdef HAVE_WCHAR_H
25196 # ifdef __CYGWIN__
25197 # include <stddef.h>
25198 # endif
25199 # include <wchar.h>
25200 #endif
25201 #ifdef HAVE_STDLIB_H
25202 # include <stdlib.h>
25203 #endif
25204 #include <stdio.h>
25205
25206
25207
25208 typedef wchar_t ac__type_sizeof_;
25209 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25210 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25211 #include <stdio.h>
25212 #include <stdlib.h>
25213 int
25214 main ()
25215 {
25216
25217 FILE *f = fopen ("conftest.val", "w");
25218 if (! f)
25219 return 1;
25220 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25221 {
25222 long int i = longval ();
25223 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25224 return 1;
25225 fprintf (f, "%ld\n", i);
25226 }
25227 else
25228 {
25229 unsigned long int i = ulongval ();
25230 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25231 return 1;
25232 fprintf (f, "%lu\n", i);
25233 }
25234 return ferror (f) || fclose (f) != 0;
25235
25236 ;
25237 return 0;
25238 }
25239 _ACEOF
25240 rm -f conftest$ac_exeext
25241 if { (ac_try="$ac_link"
25242 case "(($ac_try" in
25243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25244 *) ac_try_echo=$ac_try;;
25245 esac
25246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25247 (eval "$ac_link") 2>&5
25248 ac_status=$?
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25251 { (case "(($ac_try" in
25252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25253 *) ac_try_echo=$ac_try;;
25254 esac
25255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256 (eval "$ac_try") 2>&5
25257 ac_status=$?
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); }; }; then
25260 ac_cv_sizeof_wchar_t=`cat conftest.val`
25261 else
25262 echo "$as_me: program exited with status $ac_status" >&5
25263 echo "$as_me: failed program was:" >&5
25264 sed 's/^/| /' conftest.$ac_ext >&5
25265
25266 ( exit $ac_status )
25267 if test "$ac_cv_type_wchar_t" = yes; then
25268 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25269 See \`config.log' for more details." >&5
25270 echo "$as_me: error: cannot compute sizeof (wchar_t)
25271 See \`config.log' for more details." >&2;}
25272 { (exit 77); exit 77; }; }
25273 else
25274 ac_cv_sizeof_wchar_t=0
25275 fi
25276 fi
25277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25278 fi
25279 rm -f conftest.val
25280 fi
25281 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25282 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25283
25284
25285
25286 cat >>confdefs.h <<_ACEOF
25287 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25288 _ACEOF
25289
25290
25291 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25292 wxUSE_WCHAR_T=yes
25293 else
25294 wxUSE_WCHAR_T=no
25295 fi
25296
25297 { echo "$as_me:$LINENO: checking for va_copy" >&5
25298 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25299 if test "${wx_cv_func_va_copy+set}" = set; then
25300 echo $ECHO_N "(cached) $ECHO_C" >&6
25301 else
25302
25303 ac_ext=cpp
25304 ac_cpp='$CXXCPP $CPPFLAGS'
25305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25308
25309 cat >conftest.$ac_ext <<_ACEOF
25310
25311 #include <stdarg.h>
25312 void foo(char *f, ...)
25313 {
25314 va_list ap1, ap2;
25315 va_start(ap1, f);
25316 va_copy(ap2, ap1);
25317 va_end(ap2);
25318 va_end(ap1);
25319 }
25320 int main()
25321 {
25322 foo("hi", 17);
25323 return 0;
25324 }
25325 _ACEOF
25326 rm -f conftest.$ac_objext conftest$ac_exeext
25327 if { (ac_try="$ac_link"
25328 case "(($ac_try" in
25329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25330 *) ac_try_echo=$ac_try;;
25331 esac
25332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25333 (eval "$ac_link") 2>conftest.er1
25334 ac_status=$?
25335 grep -v '^ *+' conftest.er1 >conftest.err
25336 rm -f conftest.er1
25337 cat conftest.err >&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); } && {
25340 test -z "$ac_cxx_werror_flag" ||
25341 test ! -s conftest.err
25342 } && test -s conftest$ac_exeext &&
25343 $as_test_x conftest$ac_exeext; then
25344 wx_cv_func_va_copy=yes
25345 else
25346 echo "$as_me: failed program was:" >&5
25347 sed 's/^/| /' conftest.$ac_ext >&5
25348
25349 wx_cv_func_va_copy=no
25350
25351 fi
25352
25353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25354 conftest$ac_exeext conftest.$ac_ext
25355 ac_ext=c
25356 ac_cpp='$CPP $CPPFLAGS'
25357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25360
25361
25362
25363 fi
25364 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25365 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25366
25367 if test $wx_cv_func_va_copy = "yes"; then
25368 cat >>confdefs.h <<\_ACEOF
25369 #define HAVE_VA_COPY 1
25370 _ACEOF
25371
25372 else
25373 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25374 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25375 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25376 echo $ECHO_N "(cached) $ECHO_C" >&6
25377 else
25378
25379 if test "$cross_compiling" = yes; then
25380 wx_cv_type_va_list_lvalue=yes
25381
25382 else
25383 cat >conftest.$ac_ext <<_ACEOF
25384
25385 #include <stdarg.h>
25386 int foo(char *f, ...)
25387 {
25388 va_list ap1, ap2;
25389 va_start(ap1, f);
25390 ap2 = ap1;
25391 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25392 return 1;
25393 va_end(ap2);
25394 va_end(ap1);
25395 return 0;
25396 }
25397 int main()
25398 {
25399 return foo("hi", 17);
25400 }
25401 _ACEOF
25402 rm -f conftest$ac_exeext
25403 if { (ac_try="$ac_link"
25404 case "(($ac_try" in
25405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25406 *) ac_try_echo=$ac_try;;
25407 esac
25408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25409 (eval "$ac_link") 2>&5
25410 ac_status=$?
25411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25413 { (case "(($ac_try" in
25414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25415 *) ac_try_echo=$ac_try;;
25416 esac
25417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25418 (eval "$ac_try") 2>&5
25419 ac_status=$?
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; }; then
25422 wx_cv_type_va_list_lvalue=yes
25423 else
25424 echo "$as_me: program exited with status $ac_status" >&5
25425 echo "$as_me: failed program was:" >&5
25426 sed 's/^/| /' conftest.$ac_ext >&5
25427
25428 ( exit $ac_status )
25429 wx_cv_type_va_list_lvalue=no
25430 fi
25431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25432 fi
25433
25434
25435
25436
25437 fi
25438 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25439 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25440
25441 if test $wx_cv_type_va_list_lvalue != "yes"; then
25442 cat >>confdefs.h <<\_ACEOF
25443 #define VA_LIST_IS_ARRAY 1
25444 _ACEOF
25445
25446 fi
25447 fi
25448
25449 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25450
25451 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25452 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25453 if test "${wx_cv_have_variadic_macros+set}" = set; then
25454 echo $ECHO_N "(cached) $ECHO_C" >&6
25455 else
25456
25457 ac_ext=cpp
25458 ac_cpp='$CXXCPP $CPPFLAGS'
25459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25462
25463 cat >conftest.$ac_ext <<_ACEOF
25464 /* confdefs.h. */
25465 _ACEOF
25466 cat confdefs.h >>conftest.$ac_ext
25467 cat >>conftest.$ac_ext <<_ACEOF
25468 /* end confdefs.h. */
25469
25470 #include <stdio.h>
25471 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25472
25473 int
25474 main ()
25475 {
25476
25477 test("%s %d %p", "test", 1, 0);
25478
25479
25480 ;
25481 return 0;
25482 }
25483 _ACEOF
25484 rm -f conftest.$ac_objext
25485 if { (ac_try="$ac_compile"
25486 case "(($ac_try" in
25487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25488 *) ac_try_echo=$ac_try;;
25489 esac
25490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25491 (eval "$ac_compile") 2>conftest.er1
25492 ac_status=$?
25493 grep -v '^ *+' conftest.er1 >conftest.err
25494 rm -f conftest.er1
25495 cat conftest.err >&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } && {
25498 test -z "$ac_cxx_werror_flag" ||
25499 test ! -s conftest.err
25500 } && test -s conftest.$ac_objext; then
25501 wx_cv_have_variadic_macros=yes
25502 else
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25505
25506 wx_cv_have_variadic_macros=no
25507
25508 fi
25509
25510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25511 ac_ext=c
25512 ac_cpp='$CPP $CPPFLAGS'
25513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25516
25517
25518
25519 fi
25520 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25521 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25522
25523 if test $wx_cv_have_variadic_macros = "yes"; then
25524 cat >>confdefs.h <<\_ACEOF
25525 #define HAVE_VARIADIC_MACROS 1
25526 _ACEOF
25527
25528 fi
25529
25530 fi
25531 # Check whether --enable-largefile was given.
25532 if test "${enable_largefile+set}" = set; then
25533 enableval=$enable_largefile;
25534 fi
25535
25536 if test "$enable_largefile" != no; then
25537 wx_largefile=no
25538
25539 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25540 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25541 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25542 echo $ECHO_N "(cached) $ECHO_C" >&6
25543 else
25544
25545 cat >conftest.$ac_ext <<_ACEOF
25546 /* confdefs.h. */
25547 _ACEOF
25548 cat confdefs.h >>conftest.$ac_ext
25549 cat >>conftest.$ac_ext <<_ACEOF
25550 /* end confdefs.h. */
25551 #define _FILE_OFFSET_BITS 64
25552 #include <sys/types.h>
25553 int
25554 main ()
25555 {
25556 typedef struct {
25557 unsigned int field: sizeof(off_t) == 8;
25558 } wxlf;
25559
25560 ;
25561 return 0;
25562 }
25563 _ACEOF
25564 rm -f conftest.$ac_objext
25565 if { (ac_try="$ac_compile"
25566 case "(($ac_try" in
25567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25568 *) ac_try_echo=$ac_try;;
25569 esac
25570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25571 (eval "$ac_compile") 2>conftest.er1
25572 ac_status=$?
25573 grep -v '^ *+' conftest.er1 >conftest.err
25574 rm -f conftest.er1
25575 cat conftest.err >&5
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); } && {
25578 test -z "$ac_c_werror_flag" ||
25579 test ! -s conftest.err
25580 } && test -s conftest.$ac_objext; then
25581 ac_cv_sys_file_offset_bits=64
25582 else
25583 echo "$as_me: failed program was:" >&5
25584 sed 's/^/| /' conftest.$ac_ext >&5
25585
25586 ac_cv_sys_file_offset_bits=no
25587 fi
25588
25589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25590
25591
25592 fi
25593 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25594 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25595
25596 if test "$ac_cv_sys_file_offset_bits" != no; then
25597 wx_largefile=yes
25598 cat >>confdefs.h <<_ACEOF
25599 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25600 _ACEOF
25601
25602 fi
25603
25604 if test "x$wx_largefile" != "xyes"; then
25605
25606 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25607 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25608 if test "${ac_cv_sys_large_files+set}" = set; then
25609 echo $ECHO_N "(cached) $ECHO_C" >&6
25610 else
25611
25612 cat >conftest.$ac_ext <<_ACEOF
25613 /* confdefs.h. */
25614 _ACEOF
25615 cat confdefs.h >>conftest.$ac_ext
25616 cat >>conftest.$ac_ext <<_ACEOF
25617 /* end confdefs.h. */
25618 #define _LARGE_FILES 1
25619 #include <sys/types.h>
25620 int
25621 main ()
25622 {
25623 typedef struct {
25624 unsigned int field: sizeof(off_t) == 8;
25625 } wxlf;
25626
25627 ;
25628 return 0;
25629 }
25630 _ACEOF
25631 rm -f conftest.$ac_objext
25632 if { (ac_try="$ac_compile"
25633 case "(($ac_try" in
25634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25635 *) ac_try_echo=$ac_try;;
25636 esac
25637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25638 (eval "$ac_compile") 2>conftest.er1
25639 ac_status=$?
25640 grep -v '^ *+' conftest.er1 >conftest.err
25641 rm -f conftest.er1
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } && {
25645 test -z "$ac_c_werror_flag" ||
25646 test ! -s conftest.err
25647 } && test -s conftest.$ac_objext; then
25648 ac_cv_sys_large_files=1
25649 else
25650 echo "$as_me: failed program was:" >&5
25651 sed 's/^/| /' conftest.$ac_ext >&5
25652
25653 ac_cv_sys_large_files=no
25654 fi
25655
25656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25657
25658
25659 fi
25660 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25661 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25662
25663 if test "$ac_cv_sys_large_files" != no; then
25664 wx_largefile=yes
25665 cat >>confdefs.h <<_ACEOF
25666 #define _LARGE_FILES $ac_cv_sys_large_files
25667 _ACEOF
25668
25669 fi
25670
25671 fi
25672
25673 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25674 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25675 if test "x$wx_largefile" = "xyes"; then
25676 cat >>confdefs.h <<\_ACEOF
25677 #define HAVE_LARGEFILE_SUPPORT 1
25678 _ACEOF
25679
25680 fi
25681 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25682 echo "${ECHO_T}$wx_largefile" >&6; }
25683 fi
25684
25685
25686 if test "x$wx_largefile" = "xyes"; then
25687 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25688 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25689
25690 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25691 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25692 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25693 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25695 else
25696
25697 ac_ext=cpp
25698 ac_cpp='$CXXCPP $CPPFLAGS'
25699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25702
25703 cat >conftest.$ac_ext <<_ACEOF
25704 /* confdefs.h. */
25705 _ACEOF
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25709
25710 int
25711 main ()
25712 {
25713
25714 #ifndef __STDC_EXT__
25715 choke me
25716 #endif
25717
25718 ;
25719 return 0;
25720 }
25721 _ACEOF
25722 rm -f conftest.$ac_objext
25723 if { (ac_try="$ac_compile"
25724 case "(($ac_try" in
25725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25726 *) ac_try_echo=$ac_try;;
25727 esac
25728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25729 (eval "$ac_compile") 2>conftest.er1
25730 ac_status=$?
25731 grep -v '^ *+' conftest.er1 >conftest.err
25732 rm -f conftest.er1
25733 cat conftest.err >&5
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); } && {
25736 test -z "$ac_cxx_werror_flag" ||
25737 test ! -s conftest.err
25738 } && test -s conftest.$ac_objext; then
25739 wx_cv_STDC_EXT_required=no
25740 else
25741 echo "$as_me: failed program was:" >&5
25742 sed 's/^/| /' conftest.$ac_ext >&5
25743
25744 wx_cv_STDC_EXT_required=yes
25745
25746 fi
25747
25748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25749 ac_ext=c
25750 ac_cpp='$CPP $CPPFLAGS'
25751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25754
25755
25756
25757 fi
25758 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25759 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25760 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25761 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25762 fi
25763 fi
25764 else
25765 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25766 fi
25767 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25768 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25769 if test "${ac_cv_sys_largefile_source+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25771 else
25772 while :; do
25773 cat >conftest.$ac_ext <<_ACEOF
25774 /* confdefs.h. */
25775 _ACEOF
25776 cat confdefs.h >>conftest.$ac_ext
25777 cat >>conftest.$ac_ext <<_ACEOF
25778 /* end confdefs.h. */
25779 #include <sys/types.h> /* for off_t */
25780 #include <stdio.h>
25781 int
25782 main ()
25783 {
25784 int (*fp) (FILE *, off_t, int) = fseeko;
25785 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25786 ;
25787 return 0;
25788 }
25789 _ACEOF
25790 rm -f conftest.$ac_objext conftest$ac_exeext
25791 if { (ac_try="$ac_link"
25792 case "(($ac_try" in
25793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25794 *) ac_try_echo=$ac_try;;
25795 esac
25796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25797 (eval "$ac_link") 2>conftest.er1
25798 ac_status=$?
25799 grep -v '^ *+' conftest.er1 >conftest.err
25800 rm -f conftest.er1
25801 cat conftest.err >&5
25802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25803 (exit $ac_status); } && {
25804 test -z "$ac_c_werror_flag" ||
25805 test ! -s conftest.err
25806 } && test -s conftest$ac_exeext &&
25807 $as_test_x conftest$ac_exeext; then
25808 ac_cv_sys_largefile_source=no; break
25809 else
25810 echo "$as_me: failed program was:" >&5
25811 sed 's/^/| /' conftest.$ac_ext >&5
25812
25813
25814 fi
25815
25816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25817 conftest$ac_exeext conftest.$ac_ext
25818 cat >conftest.$ac_ext <<_ACEOF
25819 /* confdefs.h. */
25820 _ACEOF
25821 cat confdefs.h >>conftest.$ac_ext
25822 cat >>conftest.$ac_ext <<_ACEOF
25823 /* end confdefs.h. */
25824 #define _LARGEFILE_SOURCE 1
25825 #include <sys/types.h> /* for off_t */
25826 #include <stdio.h>
25827 int
25828 main ()
25829 {
25830 int (*fp) (FILE *, off_t, int) = fseeko;
25831 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25832 ;
25833 return 0;
25834 }
25835 _ACEOF
25836 rm -f conftest.$ac_objext conftest$ac_exeext
25837 if { (ac_try="$ac_link"
25838 case "(($ac_try" in
25839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25840 *) ac_try_echo=$ac_try;;
25841 esac
25842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25843 (eval "$ac_link") 2>conftest.er1
25844 ac_status=$?
25845 grep -v '^ *+' conftest.er1 >conftest.err
25846 rm -f conftest.er1
25847 cat conftest.err >&5
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); } && {
25850 test -z "$ac_c_werror_flag" ||
25851 test ! -s conftest.err
25852 } && test -s conftest$ac_exeext &&
25853 $as_test_x conftest$ac_exeext; then
25854 ac_cv_sys_largefile_source=1; break
25855 else
25856 echo "$as_me: failed program was:" >&5
25857 sed 's/^/| /' conftest.$ac_ext >&5
25858
25859
25860 fi
25861
25862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25863 conftest$ac_exeext conftest.$ac_ext
25864 ac_cv_sys_largefile_source=unknown
25865 break
25866 done
25867 fi
25868 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25869 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25870 case $ac_cv_sys_largefile_source in #(
25871 no | unknown) ;;
25872 *)
25873 cat >>confdefs.h <<_ACEOF
25874 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25875 _ACEOF
25876 ;;
25877 esac
25878 rm -f conftest*
25879
25880 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25881 # in glibc 2.1.3, but that breaks too many other things.
25882 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25883 if test $ac_cv_sys_largefile_source != unknown; then
25884
25885 cat >>confdefs.h <<\_ACEOF
25886 #define HAVE_FSEEKO 1
25887 _ACEOF
25888
25889 fi
25890
25891 if test "$ac_cv_sys_largefile_source" != no; then
25892 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25893 fi
25894 fi
25895
25896 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25897 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25898 if test "${ac_cv_c_bigendian+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25900 else
25901 ac_cv_c_bigendian=unknown
25902 # See if sys/param.h defines the BYTE_ORDER macro.
25903 cat >conftest.$ac_ext <<_ACEOF
25904 /* confdefs.h. */
25905 _ACEOF
25906 cat confdefs.h >>conftest.$ac_ext
25907 cat >>conftest.$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 #include <sys/types.h>
25910 #include <sys/param.h>
25911 int
25912 main ()
25913 {
25914
25915 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25916 bogus endian macros
25917 #endif
25918 ;
25919 return 0;
25920 }
25921 _ACEOF
25922 rm -f conftest.$ac_objext
25923 if { (ac_try="$ac_compile"
25924 case "(($ac_try" in
25925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25926 *) ac_try_echo=$ac_try;;
25927 esac
25928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25929 (eval "$ac_compile") 2>conftest.er1
25930 ac_status=$?
25931 grep -v '^ *+' conftest.er1 >conftest.err
25932 rm -f conftest.er1
25933 cat conftest.err >&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); } && {
25936 test -z "$ac_c_werror_flag" ||
25937 test ! -s conftest.err
25938 } && test -s conftest.$ac_objext; then
25939 # It does; now see whether it defined to BIG_ENDIAN or not.
25940 cat >conftest.$ac_ext <<_ACEOF
25941 /* confdefs.h. */
25942 _ACEOF
25943 cat confdefs.h >>conftest.$ac_ext
25944 cat >>conftest.$ac_ext <<_ACEOF
25945 /* end confdefs.h. */
25946 #include <sys/types.h>
25947 #include <sys/param.h>
25948 int
25949 main ()
25950 {
25951
25952 #if BYTE_ORDER != BIG_ENDIAN
25953 not big endian
25954 #endif
25955 ;
25956 return 0;
25957 }
25958 _ACEOF
25959 rm -f conftest.$ac_objext
25960 if { (ac_try="$ac_compile"
25961 case "(($ac_try" in
25962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25963 *) ac_try_echo=$ac_try;;
25964 esac
25965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25966 (eval "$ac_compile") 2>conftest.er1
25967 ac_status=$?
25968 grep -v '^ *+' conftest.er1 >conftest.err
25969 rm -f conftest.er1
25970 cat conftest.err >&5
25971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25972 (exit $ac_status); } && {
25973 test -z "$ac_c_werror_flag" ||
25974 test ! -s conftest.err
25975 } && test -s conftest.$ac_objext; then
25976 ac_cv_c_bigendian=yes
25977 else
25978 echo "$as_me: failed program was:" >&5
25979 sed 's/^/| /' conftest.$ac_ext >&5
25980
25981 ac_cv_c_bigendian=no
25982 fi
25983
25984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25985 else
25986 echo "$as_me: failed program was:" >&5
25987 sed 's/^/| /' conftest.$ac_ext >&5
25988
25989
25990 fi
25991
25992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25993 if test $ac_cv_c_bigendian = unknown; then
25994 if test "$cross_compiling" = yes; then
25995 ac_cv_c_bigendian=unknown
25996 else
25997 cat >conftest.$ac_ext <<_ACEOF
25998 /* confdefs.h. */
25999 _ACEOF
26000 cat confdefs.h >>conftest.$ac_ext
26001 cat >>conftest.$ac_ext <<_ACEOF
26002 /* end confdefs.h. */
26003 main () {
26004 /* Are we little or big endian? From Harbison&Steele. */
26005 union
26006 {
26007 long l;
26008 char c[sizeof (long)];
26009 } u;
26010 u.l = 1;
26011 exit (u.c[sizeof (long) - 1] == 1);
26012 }
26013 _ACEOF
26014 rm -f conftest$ac_exeext
26015 if { (ac_try="$ac_link"
26016 case "(($ac_try" in
26017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26018 *) ac_try_echo=$ac_try;;
26019 esac
26020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26021 (eval "$ac_link") 2>&5
26022 ac_status=$?
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26025 { (case "(($ac_try" in
26026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26027 *) ac_try_echo=$ac_try;;
26028 esac
26029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26030 (eval "$ac_try") 2>&5
26031 ac_status=$?
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); }; }; then
26034 ac_cv_c_bigendian=no
26035 else
26036 echo "$as_me: program exited with status $ac_status" >&5
26037 echo "$as_me: failed program was:" >&5
26038 sed 's/^/| /' conftest.$ac_ext >&5
26039
26040 ( exit $ac_status )
26041 ac_cv_c_bigendian=yes
26042 fi
26043 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26044 fi
26045
26046
26047 fi
26048 fi
26049 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26050 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26051 if test $ac_cv_c_bigendian = unknown; then
26052 { 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
26053 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;}
26054 fi
26055 if test $ac_cv_c_bigendian = yes; then
26056 cat >>confdefs.h <<\_ACEOF
26057 #define WORDS_BIGENDIAN 1
26058 _ACEOF
26059
26060 fi
26061
26062
26063
26064
26065 ac_ext=cpp
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26070
26071
26072
26073 for ac_header in iostream
26074 do
26075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26076 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26080 else
26081 cat >conftest.$ac_ext <<_ACEOF
26082 /* confdefs.h. */
26083 _ACEOF
26084 cat confdefs.h >>conftest.$ac_ext
26085 cat >>conftest.$ac_ext <<_ACEOF
26086 /* end confdefs.h. */
26087
26088
26089 #include <$ac_header>
26090 _ACEOF
26091 rm -f conftest.$ac_objext
26092 if { (ac_try="$ac_compile"
26093 case "(($ac_try" in
26094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26095 *) ac_try_echo=$ac_try;;
26096 esac
26097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26098 (eval "$ac_compile") 2>conftest.er1
26099 ac_status=$?
26100 grep -v '^ *+' conftest.er1 >conftest.err
26101 rm -f conftest.er1
26102 cat conftest.err >&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); } && {
26105 test -z "$ac_cxx_werror_flag" ||
26106 test ! -s conftest.err
26107 } && test -s conftest.$ac_objext; then
26108 eval "$as_ac_Header=yes"
26109 else
26110 echo "$as_me: failed program was:" >&5
26111 sed 's/^/| /' conftest.$ac_ext >&5
26112
26113 eval "$as_ac_Header=no"
26114 fi
26115
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26117 fi
26118 ac_res=`eval echo '${'$as_ac_Header'}'`
26119 { echo "$as_me:$LINENO: result: $ac_res" >&5
26120 echo "${ECHO_T}$ac_res" >&6; }
26121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26122 cat >>confdefs.h <<_ACEOF
26123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26124 _ACEOF
26125
26126 fi
26127
26128 done
26129
26130
26131 if test "$ac_cv_header_iostream" = "yes" ; then
26132 :
26133 else
26134 cat >>confdefs.h <<\_ACEOF
26135 #define wxUSE_IOSTREAMH 1
26136 _ACEOF
26137
26138 fi
26139
26140 ac_ext=c
26141 ac_cpp='$CPP $CPPFLAGS'
26142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26145
26146
26147
26148
26149 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26150 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26151 if test "${wx_cv_cpp_bool+set}" = set; then
26152 echo $ECHO_N "(cached) $ECHO_C" >&6
26153 else
26154
26155
26156 ac_ext=cpp
26157 ac_cpp='$CXXCPP $CPPFLAGS'
26158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26161
26162
26163 cat >conftest.$ac_ext <<_ACEOF
26164 /* confdefs.h. */
26165 _ACEOF
26166 cat confdefs.h >>conftest.$ac_ext
26167 cat >>conftest.$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26169
26170
26171 int
26172 main ()
26173 {
26174
26175 bool b = true;
26176
26177 return 0;
26178
26179 ;
26180 return 0;
26181 }
26182 _ACEOF
26183 rm -f conftest.$ac_objext
26184 if { (ac_try="$ac_compile"
26185 case "(($ac_try" in
26186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26187 *) ac_try_echo=$ac_try;;
26188 esac
26189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26190 (eval "$ac_compile") 2>conftest.er1
26191 ac_status=$?
26192 grep -v '^ *+' conftest.er1 >conftest.err
26193 rm -f conftest.er1
26194 cat conftest.err >&5
26195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26196 (exit $ac_status); } && {
26197 test -z "$ac_cxx_werror_flag" ||
26198 test ! -s conftest.err
26199 } && test -s conftest.$ac_objext; then
26200
26201 wx_cv_cpp_bool=yes
26202
26203 else
26204 echo "$as_me: failed program was:" >&5
26205 sed 's/^/| /' conftest.$ac_ext >&5
26206
26207
26208 wx_cv_cpp_bool=no
26209
26210
26211 fi
26212
26213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26214
26215 ac_ext=c
26216 ac_cpp='$CPP $CPPFLAGS'
26217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26220
26221
26222 fi
26223 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26224 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26225
26226 if test "$wx_cv_cpp_bool" = "yes"; then
26227 cat >>confdefs.h <<\_ACEOF
26228 #define HAVE_BOOL 1
26229 _ACEOF
26230
26231 fi
26232
26233
26234
26235 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26236 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26237 if test "${wx_cv_explicit+set}" = set; then
26238 echo $ECHO_N "(cached) $ECHO_C" >&6
26239 else
26240
26241
26242 ac_ext=cpp
26243 ac_cpp='$CXXCPP $CPPFLAGS'
26244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26247
26248
26249 cat >conftest.$ac_ext <<_ACEOF
26250 /* confdefs.h. */
26251 _ACEOF
26252 cat confdefs.h >>conftest.$ac_ext
26253 cat >>conftest.$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255
26256 class Foo { public: explicit Foo(int) {} };
26257
26258 int
26259 main ()
26260 {
26261
26262 return 0;
26263
26264 ;
26265 return 0;
26266 }
26267 _ACEOF
26268 rm -f conftest.$ac_objext
26269 if { (ac_try="$ac_compile"
26270 case "(($ac_try" in
26271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26272 *) ac_try_echo=$ac_try;;
26273 esac
26274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26275 (eval "$ac_compile") 2>conftest.er1
26276 ac_status=$?
26277 grep -v '^ *+' conftest.er1 >conftest.err
26278 rm -f conftest.er1
26279 cat conftest.err >&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } && {
26282 test -z "$ac_cxx_werror_flag" ||
26283 test ! -s conftest.err
26284 } && test -s conftest.$ac_objext; then
26285
26286 cat >conftest.$ac_ext <<_ACEOF
26287 /* confdefs.h. */
26288 _ACEOF
26289 cat confdefs.h >>conftest.$ac_ext
26290 cat >>conftest.$ac_ext <<_ACEOF
26291 /* end confdefs.h. */
26292
26293 class Foo { public: explicit Foo(int) {} };
26294 static void TakeFoo(const Foo& foo) { }
26295
26296 int
26297 main ()
26298 {
26299
26300 TakeFoo(17);
26301 return 0;
26302
26303 ;
26304 return 0;
26305 }
26306 _ACEOF
26307 rm -f conftest.$ac_objext
26308 if { (ac_try="$ac_compile"
26309 case "(($ac_try" in
26310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26311 *) ac_try_echo=$ac_try;;
26312 esac
26313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26314 (eval "$ac_compile") 2>conftest.er1
26315 ac_status=$?
26316 grep -v '^ *+' conftest.er1 >conftest.err
26317 rm -f conftest.er1
26318 cat conftest.err >&5
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); } && {
26321 test -z "$ac_cxx_werror_flag" ||
26322 test ! -s conftest.err
26323 } && test -s conftest.$ac_objext; then
26324 wx_cv_explicit=no
26325 else
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.$ac_ext >&5
26328
26329 wx_cv_explicit=yes
26330
26331 fi
26332
26333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26334
26335 else
26336 echo "$as_me: failed program was:" >&5
26337 sed 's/^/| /' conftest.$ac_ext >&5
26338
26339 wx_cv_explicit=no
26340
26341 fi
26342
26343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26344
26345 ac_ext=c
26346 ac_cpp='$CPP $CPPFLAGS'
26347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26350
26351
26352 fi
26353 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26354 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26355
26356 if test "$wx_cv_explicit" = "yes"; then
26357 cat >>confdefs.h <<\_ACEOF
26358 #define HAVE_EXPLICIT 1
26359 _ACEOF
26360
26361 fi
26362
26363
26364 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26365 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26366 if test "${ac_cv_cxx_const_cast+set}" = set; then
26367 echo $ECHO_N "(cached) $ECHO_C" >&6
26368 else
26369
26370 ac_ext=cpp
26371 ac_cpp='$CXXCPP $CPPFLAGS'
26372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26375
26376 cat >conftest.$ac_ext <<_ACEOF
26377 /* confdefs.h. */
26378 _ACEOF
26379 cat confdefs.h >>conftest.$ac_ext
26380 cat >>conftest.$ac_ext <<_ACEOF
26381 /* end confdefs.h. */
26382
26383 int
26384 main ()
26385 {
26386 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26387 ;
26388 return 0;
26389 }
26390 _ACEOF
26391 rm -f conftest.$ac_objext
26392 if { (ac_try="$ac_compile"
26393 case "(($ac_try" in
26394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26395 *) ac_try_echo=$ac_try;;
26396 esac
26397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26398 (eval "$ac_compile") 2>conftest.er1
26399 ac_status=$?
26400 grep -v '^ *+' conftest.er1 >conftest.err
26401 rm -f conftest.er1
26402 cat conftest.err >&5
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); } && {
26405 test -z "$ac_cxx_werror_flag" ||
26406 test ! -s conftest.err
26407 } && test -s conftest.$ac_objext; then
26408 ac_cv_cxx_const_cast=yes
26409 else
26410 echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26412
26413 ac_cv_cxx_const_cast=no
26414 fi
26415
26416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26417 ac_ext=c
26418 ac_cpp='$CPP $CPPFLAGS'
26419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26422
26423
26424 fi
26425 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26426 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26427 if test "$ac_cv_cxx_const_cast" = yes; then
26428
26429 cat >>confdefs.h <<\_ACEOF
26430 #define HAVE_CONST_CAST
26431 _ACEOF
26432
26433 fi
26434
26435 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26436 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26437 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26439 else
26440
26441 ac_ext=cpp
26442 ac_cpp='$CXXCPP $CPPFLAGS'
26443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26446
26447 cat >conftest.$ac_ext <<_ACEOF
26448 /* confdefs.h. */
26449 _ACEOF
26450 cat confdefs.h >>conftest.$ac_ext
26451 cat >>conftest.$ac_ext <<_ACEOF
26452 /* end confdefs.h. */
26453 #include <typeinfo>
26454 class Base { public : Base () {} virtual void f () = 0;};
26455 class Derived : public Base { public : Derived () {} virtual void f () {} };
26456 class Unrelated { public : Unrelated () {} };
26457 int g (Unrelated&) { return 0; }
26458 int
26459 main ()
26460 {
26461
26462 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26463 ;
26464 return 0;
26465 }
26466 _ACEOF
26467 rm -f conftest.$ac_objext
26468 if { (ac_try="$ac_compile"
26469 case "(($ac_try" in
26470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26471 *) ac_try_echo=$ac_try;;
26472 esac
26473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26474 (eval "$ac_compile") 2>conftest.er1
26475 ac_status=$?
26476 grep -v '^ *+' conftest.er1 >conftest.err
26477 rm -f conftest.er1
26478 cat conftest.err >&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); } && {
26481 test -z "$ac_cxx_werror_flag" ||
26482 test ! -s conftest.err
26483 } && test -s conftest.$ac_objext; then
26484 ac_cv_cxx_reinterpret_cast=yes
26485 else
26486 echo "$as_me: failed program was:" >&5
26487 sed 's/^/| /' conftest.$ac_ext >&5
26488
26489 ac_cv_cxx_reinterpret_cast=no
26490 fi
26491
26492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26493 ac_ext=c
26494 ac_cpp='$CPP $CPPFLAGS'
26495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26498
26499
26500 fi
26501 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26502 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26503 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26504
26505 cat >>confdefs.h <<\_ACEOF
26506 #define HAVE_REINTERPRET_CAST
26507 _ACEOF
26508
26509 fi
26510
26511 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26512 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26513 if test "${ac_cv_cxx_static_cast+set}" = set; then
26514 echo $ECHO_N "(cached) $ECHO_C" >&6
26515 else
26516
26517 ac_ext=cpp
26518 ac_cpp='$CXXCPP $CPPFLAGS'
26519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26522
26523 cat >conftest.$ac_ext <<_ACEOF
26524 /* confdefs.h. */
26525 _ACEOF
26526 cat confdefs.h >>conftest.$ac_ext
26527 cat >>conftest.$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26529 #include <typeinfo>
26530 class Base { public : Base () {} virtual void f () = 0; };
26531 class Derived : public Base { public : Derived () {} virtual void f () {} };
26532 int g (Derived&) { return 0; }
26533 int
26534 main ()
26535 {
26536
26537 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26538 ;
26539 return 0;
26540 }
26541 _ACEOF
26542 rm -f conftest.$ac_objext
26543 if { (ac_try="$ac_compile"
26544 case "(($ac_try" in
26545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26546 *) ac_try_echo=$ac_try;;
26547 esac
26548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26549 (eval "$ac_compile") 2>conftest.er1
26550 ac_status=$?
26551 grep -v '^ *+' conftest.er1 >conftest.err
26552 rm -f conftest.er1
26553 cat conftest.err >&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); } && {
26556 test -z "$ac_cxx_werror_flag" ||
26557 test ! -s conftest.err
26558 } && test -s conftest.$ac_objext; then
26559 ac_cv_cxx_static_cast=yes
26560 else
26561 echo "$as_me: failed program was:" >&5
26562 sed 's/^/| /' conftest.$ac_ext >&5
26563
26564 ac_cv_cxx_static_cast=no
26565 fi
26566
26567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26568 ac_ext=c
26569 ac_cpp='$CPP $CPPFLAGS'
26570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26573
26574
26575 fi
26576 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26577 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26578 if test "$ac_cv_cxx_static_cast" = yes; then
26579
26580 cat >>confdefs.h <<\_ACEOF
26581 #define HAVE_STATIC_CAST
26582 _ACEOF
26583
26584 fi
26585
26586
26587 if test "x$SUNCXX" = xyes; then
26588 CXXFLAGS="-features=tmplife $CXXFLAGS"
26589 fi
26590
26591 if test "x$SUNCC" = xyes; then
26592 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26593 fi
26594
26595 if test "x$SGICC" = "xyes"; then
26596 CFLAGS="-woff 3970 $CFLAGS"
26597 fi
26598 if test "x$SGICXX" = "xyes"; then
26599 CXXFLAGS="-woff 3970 $CXXFLAGS"
26600 fi
26601
26602 if test "x$HPCC" = "xyes"; then
26603 CFLAGS="+W 2011,2450 $CFLAGS"
26604 fi
26605 if test "x$HPCXX" = "xyes"; then
26606 CXXFLAGS="+W 2340 $CXXFLAGS"
26607 fi
26608
26609 if test "x$COMPAQCXX" = "xyes"; then
26610 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26611 fi
26612
26613 ac_ext=cpp
26614 ac_cpp='$CXXCPP $CPPFLAGS'
26615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26618
26619
26620 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26621 if test "$wxUSE_UNICODE" = "yes"; then
26622 std_string="std::wstring"
26623 char_type="wchar_t"
26624 else
26625 std_string="std::string"
26626 char_type="char"
26627 fi
26628
26629 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26630 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26631 if test "${wx_cv_class_stdstring+set}" = set; then
26632 echo $ECHO_N "(cached) $ECHO_C" >&6
26633 else
26634
26635 cat >conftest.$ac_ext <<_ACEOF
26636 /* confdefs.h. */
26637 _ACEOF
26638 cat confdefs.h >>conftest.$ac_ext
26639 cat >>conftest.$ac_ext <<_ACEOF
26640 /* end confdefs.h. */
26641 #include <string>
26642 int
26643 main ()
26644 {
26645 $std_string foo;
26646 ;
26647 return 0;
26648 }
26649 _ACEOF
26650 rm -f conftest.$ac_objext
26651 if { (ac_try="$ac_compile"
26652 case "(($ac_try" in
26653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26654 *) ac_try_echo=$ac_try;;
26655 esac
26656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26657 (eval "$ac_compile") 2>conftest.er1
26658 ac_status=$?
26659 grep -v '^ *+' conftest.er1 >conftest.err
26660 rm -f conftest.er1
26661 cat conftest.err >&5
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); } && {
26664 test -z "$ac_cxx_werror_flag" ||
26665 test ! -s conftest.err
26666 } && test -s conftest.$ac_objext; then
26667 wx_cv_class_stdstring=yes
26668 else
26669 echo "$as_me: failed program was:" >&5
26670 sed 's/^/| /' conftest.$ac_ext >&5
26671
26672 wx_cv_class_stdstring=no
26673
26674 fi
26675
26676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26677
26678
26679 fi
26680 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26681 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26682
26683 if test "$wx_cv_class_stdstring" = yes; then
26684 if test "$wxUSE_UNICODE" = "yes"; then
26685 cat >>confdefs.h <<\_ACEOF
26686 #define HAVE_STD_WSTRING 1
26687 _ACEOF
26688
26689 fi
26690 else
26691 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26692 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26693 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26694 echo $ECHO_N "(cached) $ECHO_C" >&6
26695 else
26696
26697 cat >conftest.$ac_ext <<_ACEOF
26698 /* confdefs.h. */
26699 _ACEOF
26700 cat confdefs.h >>conftest.$ac_ext
26701 cat >>conftest.$ac_ext <<_ACEOF
26702 /* end confdefs.h. */
26703
26704 #ifdef HAVE_WCHAR_H
26705 # ifdef __CYGWIN__
26706 # include <stddef.h>
26707 # endif
26708 # include <wchar.h>
26709 #endif
26710 #ifdef HAVE_STDLIB_H
26711 # include <stdlib.h>
26712 #endif
26713 #include <stdio.h>
26714 #include <string>
26715
26716 int
26717 main ()
26718 {
26719 std::basic_string<$char_type> foo;
26720 const $char_type* dummy = foo.c_str();
26721 ;
26722 return 0;
26723 }
26724 _ACEOF
26725 rm -f conftest.$ac_objext
26726 if { (ac_try="$ac_compile"
26727 case "(($ac_try" in
26728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26729 *) ac_try_echo=$ac_try;;
26730 esac
26731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26732 (eval "$ac_compile") 2>conftest.er1
26733 ac_status=$?
26734 grep -v '^ *+' conftest.er1 >conftest.err
26735 rm -f conftest.er1
26736 cat conftest.err >&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } && {
26739 test -z "$ac_cxx_werror_flag" ||
26740 test ! -s conftest.err
26741 } && test -s conftest.$ac_objext; then
26742 wx_cv_class_stdbasicstring=yes
26743 else
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26746
26747 wx_cv_class_stdbasicstring=no
26748
26749 fi
26750
26751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26752
26753
26754 fi
26755 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26756 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26757
26758 if test "$wx_cv_class_stdbasicstring" != yes; then
26759 if test "$wxUSE_STL" = "yes"; then
26760 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26761 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26762 { (exit 1); exit 1; }; }
26763 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26764 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26765 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26766 { (exit 1); exit 1; }; }
26767 else
26768 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26769 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26770 wxUSE_STD_STRING=no
26771 fi
26772 fi
26773 fi
26774 fi
26775
26776 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26777 { echo "$as_me:$LINENO: checking for std::istream" >&5
26778 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26779 if test "${ac_cv_type_std__istream+set}" = set; then
26780 echo $ECHO_N "(cached) $ECHO_C" >&6
26781 else
26782 cat >conftest.$ac_ext <<_ACEOF
26783 /* confdefs.h. */
26784 _ACEOF
26785 cat confdefs.h >>conftest.$ac_ext
26786 cat >>conftest.$ac_ext <<_ACEOF
26787 /* end confdefs.h. */
26788 #include <iostream>
26789
26790 typedef std::istream ac__type_new_;
26791 int
26792 main ()
26793 {
26794 if ((ac__type_new_ *) 0)
26795 return 0;
26796 if (sizeof (ac__type_new_))
26797 return 0;
26798 ;
26799 return 0;
26800 }
26801 _ACEOF
26802 rm -f conftest.$ac_objext
26803 if { (ac_try="$ac_compile"
26804 case "(($ac_try" in
26805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26806 *) ac_try_echo=$ac_try;;
26807 esac
26808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26809 (eval "$ac_compile") 2>conftest.er1
26810 ac_status=$?
26811 grep -v '^ *+' conftest.er1 >conftest.err
26812 rm -f conftest.er1
26813 cat conftest.err >&5
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); } && {
26816 test -z "$ac_cxx_werror_flag" ||
26817 test ! -s conftest.err
26818 } && test -s conftest.$ac_objext; then
26819 ac_cv_type_std__istream=yes
26820 else
26821 echo "$as_me: failed program was:" >&5
26822 sed 's/^/| /' conftest.$ac_ext >&5
26823
26824 ac_cv_type_std__istream=no
26825 fi
26826
26827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26828 fi
26829 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26830 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26831 if test $ac_cv_type_std__istream = yes; then
26832
26833 cat >>confdefs.h <<_ACEOF
26834 #define HAVE_STD__ISTREAM 1
26835 _ACEOF
26836
26837
26838 else
26839 wxUSE_STD_IOSTREAM=no
26840 fi
26841 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26842 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26843 if test "${ac_cv_type_std__ostream+set}" = set; then
26844 echo $ECHO_N "(cached) $ECHO_C" >&6
26845 else
26846 cat >conftest.$ac_ext <<_ACEOF
26847 /* confdefs.h. */
26848 _ACEOF
26849 cat confdefs.h >>conftest.$ac_ext
26850 cat >>conftest.$ac_ext <<_ACEOF
26851 /* end confdefs.h. */
26852 #include <iostream>
26853
26854 typedef std::ostream ac__type_new_;
26855 int
26856 main ()
26857 {
26858 if ((ac__type_new_ *) 0)
26859 return 0;
26860 if (sizeof (ac__type_new_))
26861 return 0;
26862 ;
26863 return 0;
26864 }
26865 _ACEOF
26866 rm -f conftest.$ac_objext
26867 if { (ac_try="$ac_compile"
26868 case "(($ac_try" in
26869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26870 *) ac_try_echo=$ac_try;;
26871 esac
26872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26873 (eval "$ac_compile") 2>conftest.er1
26874 ac_status=$?
26875 grep -v '^ *+' conftest.er1 >conftest.err
26876 rm -f conftest.er1
26877 cat conftest.err >&5
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); } && {
26880 test -z "$ac_cxx_werror_flag" ||
26881 test ! -s conftest.err
26882 } && test -s conftest.$ac_objext; then
26883 ac_cv_type_std__ostream=yes
26884 else
26885 echo "$as_me: failed program was:" >&5
26886 sed 's/^/| /' conftest.$ac_ext >&5
26887
26888 ac_cv_type_std__ostream=no
26889 fi
26890
26891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26892 fi
26893 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26894 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26895 if test $ac_cv_type_std__ostream = yes; then
26896
26897 cat >>confdefs.h <<_ACEOF
26898 #define HAVE_STD__OSTREAM 1
26899 _ACEOF
26900
26901
26902 else
26903 wxUSE_STD_IOSTREAM=no
26904 fi
26905
26906
26907 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26908 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26909 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26910 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26911 { (exit 1); exit 1; }; }
26912 else
26913 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26914 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26915 fi
26916 fi
26917 fi
26918
26919 if test "$wxUSE_STL" = "yes"; then
26920 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26921 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26922 if test "${wx_cv_lib_stl+set}" = set; then
26923 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 else
26925 cat >conftest.$ac_ext <<_ACEOF
26926 /* confdefs.h. */
26927 _ACEOF
26928 cat confdefs.h >>conftest.$ac_ext
26929 cat >>conftest.$ac_ext <<_ACEOF
26930 /* end confdefs.h. */
26931 #include <string>
26932 #include <functional>
26933 #include <algorithm>
26934 #include <vector>
26935 #include <list>
26936 int
26937 main ()
26938 {
26939 std::vector<int> moo;
26940 std::list<int> foo;
26941 std::vector<int>::iterator it =
26942 std::find_if(moo.begin(), moo.end(),
26943 std::bind2nd(std::less<int>(), 3));
26944 ;
26945 return 0;
26946 }
26947 _ACEOF
26948 rm -f conftest.$ac_objext
26949 if { (ac_try="$ac_compile"
26950 case "(($ac_try" in
26951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26952 *) ac_try_echo=$ac_try;;
26953 esac
26954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26955 (eval "$ac_compile") 2>conftest.er1
26956 ac_status=$?
26957 grep -v '^ *+' conftest.er1 >conftest.err
26958 rm -f conftest.er1
26959 cat conftest.err >&5
26960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26961 (exit $ac_status); } && {
26962 test -z "$ac_cxx_werror_flag" ||
26963 test ! -s conftest.err
26964 } && test -s conftest.$ac_objext; then
26965 wx_cv_lib_stl=yes
26966 else
26967 echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.$ac_ext >&5
26969
26970 wx_cv_lib_stl=no
26971
26972 fi
26973
26974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26975
26976 fi
26977 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26978 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26979
26980 if test "$wx_cv_lib_stl" != yes; then
26981 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26982 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26983 { (exit 1); exit 1; }; }
26984 fi
26985
26986 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26987 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26988 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26989 echo $ECHO_N "(cached) $ECHO_C" >&6
26990 else
26991 cat >conftest.$ac_ext <<_ACEOF
26992 /* confdefs.h. */
26993 _ACEOF
26994 cat confdefs.h >>conftest.$ac_ext
26995 cat >>conftest.$ac_ext <<_ACEOF
26996 /* end confdefs.h. */
26997 #include <string>
26998 int
26999 main ()
27000 {
27001 std::string foo, bar;
27002 foo.compare(bar);
27003 foo.compare(1, 1, bar);
27004 foo.compare(1, 1, bar, 1, 1);
27005 foo.compare("");
27006 foo.compare(1, 1, "");
27007 foo.compare(1, 1, "", 2);
27008 ;
27009 return 0;
27010 }
27011 _ACEOF
27012 rm -f conftest.$ac_objext
27013 if { (ac_try="$ac_compile"
27014 case "(($ac_try" in
27015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27016 *) ac_try_echo=$ac_try;;
27017 esac
27018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27019 (eval "$ac_compile") 2>conftest.er1
27020 ac_status=$?
27021 grep -v '^ *+' conftest.er1 >conftest.err
27022 rm -f conftest.er1
27023 cat conftest.err >&5
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); } && {
27026 test -z "$ac_cxx_werror_flag" ||
27027 test ! -s conftest.err
27028 } && test -s conftest.$ac_objext; then
27029 wx_cv_func_stdstring_compare=yes
27030 else
27031 echo "$as_me: failed program was:" >&5
27032 sed 's/^/| /' conftest.$ac_ext >&5
27033
27034 wx_cv_func_stdstring_compare=no
27035
27036 fi
27037
27038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27039
27040 fi
27041 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27042 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27043
27044 if test "$wx_cv_func_stdstring_compare" = yes; then
27045 cat >>confdefs.h <<\_ACEOF
27046 #define HAVE_STD_STRING_COMPARE 1
27047 _ACEOF
27048
27049 fi
27050
27051 { echo "$as_me:$LINENO: checking for hash_map" >&5
27052 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27053 if test "${ac_cv_header_hash_map+set}" = set; then
27054 echo $ECHO_N "(cached) $ECHO_C" >&6
27055 else
27056 cat >conftest.$ac_ext <<_ACEOF
27057 /* confdefs.h. */
27058 _ACEOF
27059 cat confdefs.h >>conftest.$ac_ext
27060 cat >>conftest.$ac_ext <<_ACEOF
27061 /* end confdefs.h. */
27062
27063
27064
27065 #include <hash_map>
27066 _ACEOF
27067 rm -f conftest.$ac_objext
27068 if { (ac_try="$ac_compile"
27069 case "(($ac_try" in
27070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27071 *) ac_try_echo=$ac_try;;
27072 esac
27073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27074 (eval "$ac_compile") 2>conftest.er1
27075 ac_status=$?
27076 grep -v '^ *+' conftest.er1 >conftest.err
27077 rm -f conftest.er1
27078 cat conftest.err >&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } && {
27081 test -z "$ac_cxx_werror_flag" ||
27082 test ! -s conftest.err
27083 } && test -s conftest.$ac_objext; then
27084 ac_cv_header_hash_map=yes
27085 else
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.$ac_ext >&5
27088
27089 ac_cv_header_hash_map=no
27090 fi
27091
27092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27093 fi
27094 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27095 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27096 if test $ac_cv_header_hash_map = yes; then
27097 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27098 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27099 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27100 echo $ECHO_N "(cached) $ECHO_C" >&6
27101 else
27102 cat >conftest.$ac_ext <<_ACEOF
27103 /* confdefs.h. */
27104 _ACEOF
27105 cat confdefs.h >>conftest.$ac_ext
27106 cat >>conftest.$ac_ext <<_ACEOF
27107 /* end confdefs.h. */
27108 #include <hash_map>
27109 #include <hash_set>
27110 int
27111 main ()
27112 {
27113 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27114 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27115 ;
27116 return 0;
27117 }
27118 _ACEOF
27119 rm -f conftest.$ac_objext
27120 if { (ac_try="$ac_compile"
27121 case "(($ac_try" in
27122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27123 *) ac_try_echo=$ac_try;;
27124 esac
27125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27126 (eval "$ac_compile") 2>conftest.er1
27127 ac_status=$?
27128 grep -v '^ *+' conftest.er1 >conftest.err
27129 rm -f conftest.er1
27130 cat conftest.err >&5
27131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27132 (exit $ac_status); } && {
27133 test -z "$ac_cxx_werror_flag" ||
27134 test ! -s conftest.err
27135 } && test -s conftest.$ac_objext; then
27136 wx_cv_class_stdhashmapset=yes
27137 else
27138 echo "$as_me: failed program was:" >&5
27139 sed 's/^/| /' conftest.$ac_ext >&5
27140
27141 wx_cv_class_stdhashmapset=no
27142 fi
27143
27144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27145
27146
27147 fi
27148 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27149 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27150 fi
27151
27152
27153
27154 if test "$wx_cv_class_stdhashmapset" = yes; then
27155 cat >>confdefs.h <<\_ACEOF
27156 #define HAVE_HASH_MAP 1
27157 _ACEOF
27158
27159 cat >>confdefs.h <<\_ACEOF
27160 #define HAVE_STD_HASH_MAP 1
27161 _ACEOF
27162
27163 fi
27164
27165 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27166 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27167 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27168 echo $ECHO_N "(cached) $ECHO_C" >&6
27169 else
27170 cat >conftest.$ac_ext <<_ACEOF
27171 /* confdefs.h. */
27172 _ACEOF
27173 cat confdefs.h >>conftest.$ac_ext
27174 cat >>conftest.$ac_ext <<_ACEOF
27175 /* end confdefs.h. */
27176
27177
27178
27179 #include <ext/hash_map>
27180 _ACEOF
27181 rm -f conftest.$ac_objext
27182 if { (ac_try="$ac_compile"
27183 case "(($ac_try" in
27184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27185 *) ac_try_echo=$ac_try;;
27186 esac
27187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27188 (eval "$ac_compile") 2>conftest.er1
27189 ac_status=$?
27190 grep -v '^ *+' conftest.er1 >conftest.err
27191 rm -f conftest.er1
27192 cat conftest.err >&5
27193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27194 (exit $ac_status); } && {
27195 test -z "$ac_cxx_werror_flag" ||
27196 test ! -s conftest.err
27197 } && test -s conftest.$ac_objext; then
27198 ac_cv_header_ext_hash_map=yes
27199 else
27200 echo "$as_me: failed program was:" >&5
27201 sed 's/^/| /' conftest.$ac_ext >&5
27202
27203 ac_cv_header_ext_hash_map=no
27204 fi
27205
27206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27207 fi
27208 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27209 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27210 if test $ac_cv_header_ext_hash_map = yes; then
27211 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27212 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27213 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27214 echo $ECHO_N "(cached) $ECHO_C" >&6
27215 else
27216 cat >conftest.$ac_ext <<_ACEOF
27217 /* confdefs.h. */
27218 _ACEOF
27219 cat confdefs.h >>conftest.$ac_ext
27220 cat >>conftest.$ac_ext <<_ACEOF
27221 /* end confdefs.h. */
27222 #include <ext/hash_map>
27223 #include <ext/hash_set>
27224 int
27225 main ()
27226 {
27227 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27228 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27229 ;
27230 return 0;
27231 }
27232 _ACEOF
27233 rm -f conftest.$ac_objext
27234 if { (ac_try="$ac_compile"
27235 case "(($ac_try" in
27236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27237 *) ac_try_echo=$ac_try;;
27238 esac
27239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27240 (eval "$ac_compile") 2>conftest.er1
27241 ac_status=$?
27242 grep -v '^ *+' conftest.er1 >conftest.err
27243 rm -f conftest.er1
27244 cat conftest.err >&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } && {
27247 test -z "$ac_cxx_werror_flag" ||
27248 test ! -s conftest.err
27249 } && test -s conftest.$ac_objext; then
27250 wx_cv_class_gnuhashmapset=yes
27251 else
27252 echo "$as_me: failed program was:" >&5
27253 sed 's/^/| /' conftest.$ac_ext >&5
27254
27255 wx_cv_class_gnuhashmapset=no
27256 fi
27257
27258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27259
27260
27261 fi
27262 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27263 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27264 fi
27265
27266
27267
27268 if test "$wx_cv_class_gnuhashmapset" = yes; then
27269 cat >>confdefs.h <<\_ACEOF
27270 #define HAVE_EXT_HASH_MAP 1
27271 _ACEOF
27272
27273 cat >>confdefs.h <<\_ACEOF
27274 #define HAVE_GNU_CXX_HASH_MAP 1
27275 _ACEOF
27276
27277 fi
27278 fi
27279
27280 ac_ext=c
27281 ac_cpp='$CPP $CPPFLAGS'
27282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27285
27286
27287
27288 SEARCH_INCLUDE="\
27289 /usr/local/include \
27290 \
27291 /usr/Motif-2.1/include \
27292 /usr/Motif-1.2/include \
27293 /usr/include/Motif1.2 \
27294 \
27295 /usr/dt/include \
27296 /usr/openwin/include \
27297 \
27298 /usr/include/Xm \
27299 \
27300 /usr/X11R6/include \
27301 /usr/X11R6.4/include \
27302 /usr/X11R5/include \
27303 /usr/X11R4/include \
27304 \
27305 /usr/include/X11R6 \
27306 /usr/include/X11R5 \
27307 /usr/include/X11R4 \
27308 \
27309 /usr/local/X11R6/include \
27310 /usr/local/X11R5/include \
27311 /usr/local/X11R4/include \
27312 \
27313 /usr/local/include/X11R6 \
27314 /usr/local/include/X11R5 \
27315 /usr/local/include/X11R4 \
27316 \
27317 /usr/X11/include \
27318 /usr/include/X11 \
27319 /usr/local/X11/include \
27320 /usr/local/include/X11 \
27321 \
27322 /usr/XFree86/include/X11 \
27323 /usr/pkg/include \
27324 \
27325 /usr/openwin/share/include"
27326
27327 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27328 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27329
27330 case "${host}" in
27331 *-*-irix6* )
27332 if test "${wx_cv_std_libpath+set}" = set; then
27333 echo $ECHO_N "(cached) $ECHO_C" >&6
27334 else
27335
27336 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27337 for e in a so sl dylib dll.a; do
27338 libc="$d/libc.$e"
27339 if test -f $libc; then
27340 save_LIBS="$LIBS"
27341 LIBS="$libc"
27342 cat >conftest.$ac_ext <<_ACEOF
27343 int main() { return 0; }
27344 _ACEOF
27345 rm -f conftest.$ac_objext conftest$ac_exeext
27346 if { (ac_try="$ac_link"
27347 case "(($ac_try" in
27348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27349 *) ac_try_echo=$ac_try;;
27350 esac
27351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27352 (eval "$ac_link") 2>conftest.er1
27353 ac_status=$?
27354 grep -v '^ *+' conftest.er1 >conftest.err
27355 rm -f conftest.er1
27356 cat conftest.err >&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } && {
27359 test -z "$ac_c_werror_flag" ||
27360 test ! -s conftest.err
27361 } && test -s conftest$ac_exeext &&
27362 $as_test_x conftest$ac_exeext; then
27363 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27364 else
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27367
27368
27369 fi
27370
27371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27372 conftest$ac_exeext conftest.$ac_ext
27373 LIBS="$save_LIBS"
27374 if test "x$wx_cv_std_libpath" != "x"; then
27375 break 2
27376 fi
27377 fi
27378 done
27379 done
27380 if test "x$wx_cv_std_libpath" = "x"; then
27381 wx_cv_std_libpath="lib"
27382 fi
27383
27384
27385 fi
27386
27387 ;;
27388
27389 *-*-solaris2* )
27390 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27391 wx_cv_std_libpath="lib/64"
27392 else
27393 wx_cv_std_libpath="lib"
27394 fi
27395 ;;
27396
27397 *-*-linux* )
27398 if test "$ac_cv_sizeof_void_p" = 8 -a \
27399 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27400 wx_cv_std_libpath="lib64"
27401 else
27402 wx_cv_std_libpath="lib"
27403 fi
27404 ;;
27405
27406 *)
27407 wx_cv_std_libpath="lib";
27408 ;;
27409 esac
27410
27411 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27412 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27413
27414 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27415
27416 if test "$build" != "$host" -a "$GCC" = yes; then
27417 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27418 cross_root=`dirname $cross_root`
27419 cross_root=`dirname $cross_root`
27420
27421 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27422 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27423 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27424
27425 if test -z "$PKG_CONFIG_PATH"; then
27426 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27427 export PKG_CONFIG_PATH
27428 fi
27429
27430 if test -z "$x_includes" -o "$x_includes" = NONE; then
27431
27432 ac_find_includes=
27433 for ac_dir in $SEARCH_INCLUDE /usr/include;
27434 do
27435 if test -f "$ac_dir/X11/Intrinsic.h"; then
27436 ac_find_includes=$ac_dir
27437 break
27438 fi
27439 done
27440
27441 x_includes=$ac_find_includes
27442 fi
27443 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27444
27445 ac_find_libraries=
27446 for ac_dir in $SEARCH_LIB;
27447 do
27448 for ac_extension in a so sl dylib dll.a; do
27449 if test -f "$ac_dir/libXt.$ac_extension"; then
27450 ac_find_libraries=$ac_dir
27451 break 2
27452 fi
27453 done
27454 done
27455
27456 x_libraries=$ac_find_libraries
27457 fi
27458 fi
27459 fi
27460
27461
27462 cat >confcache <<\_ACEOF
27463 # This file is a shell script that caches the results of configure
27464 # tests run on this system so they can be shared between configure
27465 # scripts and configure runs, see configure's option --config-cache.
27466 # It is not useful on other systems. If it contains results you don't
27467 # want to keep, you may remove or edit it.
27468 #
27469 # config.status only pays attention to the cache file if you give it
27470 # the --recheck option to rerun configure.
27471 #
27472 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27474 # following values.
27475
27476 _ACEOF
27477
27478 # The following way of writing the cache mishandles newlines in values,
27479 # but we know of no workaround that is simple, portable, and efficient.
27480 # So, we kill variables containing newlines.
27481 # Ultrix sh set writes to stderr and can't be redirected directly,
27482 # and sets the high bit in the cache file unless we assign to the vars.
27483 (
27484 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27485 eval ac_val=\$$ac_var
27486 case $ac_val in #(
27487 *${as_nl}*)
27488 case $ac_var in #(
27489 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27490 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27491 esac
27492 case $ac_var in #(
27493 _ | IFS | as_nl) ;; #(
27494 *) $as_unset $ac_var ;;
27495 esac ;;
27496 esac
27497 done
27498
27499 (set) 2>&1 |
27500 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27501 *${as_nl}ac_space=\ *)
27502 # `set' does not quote correctly, so add quotes (double-quote
27503 # substitution turns \\\\ into \\, and sed turns \\ into \).
27504 sed -n \
27505 "s/'/'\\\\''/g;
27506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27507 ;; #(
27508 *)
27509 # `set' quotes correctly as required by POSIX, so do not add quotes.
27510 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27511 ;;
27512 esac |
27513 sort
27514 ) |
27515 sed '
27516 /^ac_cv_env_/b end
27517 t clear
27518 :clear
27519 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27520 t end
27521 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27522 :end' >>confcache
27523 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27524 if test -w "$cache_file"; then
27525 test "x$cache_file" != "x/dev/null" &&
27526 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27527 echo "$as_me: updating cache $cache_file" >&6;}
27528 cat confcache >$cache_file
27529 else
27530 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27531 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27532 fi
27533 fi
27534 rm -f confcache
27535
27536 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27537 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27538 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27539 if test "${wx_cv_lib_glibc21+set}" = set; then
27540 echo $ECHO_N "(cached) $ECHO_C" >&6
27541 else
27542
27543 cat >conftest.$ac_ext <<_ACEOF
27544 /* confdefs.h. */
27545 _ACEOF
27546 cat confdefs.h >>conftest.$ac_ext
27547 cat >>conftest.$ac_ext <<_ACEOF
27548 /* end confdefs.h. */
27549 #include <features.h>
27550 int
27551 main ()
27552 {
27553
27554 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27555 not glibc 2.1
27556 #endif
27557
27558 ;
27559 return 0;
27560 }
27561 _ACEOF
27562 rm -f conftest.$ac_objext
27563 if { (ac_try="$ac_compile"
27564 case "(($ac_try" in
27565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27566 *) ac_try_echo=$ac_try;;
27567 esac
27568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27569 (eval "$ac_compile") 2>conftest.er1
27570 ac_status=$?
27571 grep -v '^ *+' conftest.er1 >conftest.err
27572 rm -f conftest.er1
27573 cat conftest.err >&5
27574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575 (exit $ac_status); } && {
27576 test -z "$ac_c_werror_flag" ||
27577 test ! -s conftest.err
27578 } && test -s conftest.$ac_objext; then
27579
27580 wx_cv_lib_glibc21=yes
27581
27582 else
27583 echo "$as_me: failed program was:" >&5
27584 sed 's/^/| /' conftest.$ac_ext >&5
27585
27586
27587 wx_cv_lib_glibc21=no
27588
27589
27590 fi
27591
27592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27593
27594 fi
27595 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27596 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27597 if test "$wx_cv_lib_glibc21" = "yes"; then
27598 cat >>confdefs.h <<\_ACEOF
27599 #define wxHAVE_GLIBC2 1
27600 _ACEOF
27601
27602 fi
27603 fi
27604
27605 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27606 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27607 cat >>confdefs.h <<\_ACEOF
27608 #define _GNU_SOURCE 1
27609 _ACEOF
27610
27611 fi
27612 fi
27613
27614 have_cos=0
27615 have_floor=0
27616
27617 for ac_func in cos
27618 do
27619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27620 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27622 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27623 echo $ECHO_N "(cached) $ECHO_C" >&6
27624 else
27625 cat >conftest.$ac_ext <<_ACEOF
27626 /* confdefs.h. */
27627 _ACEOF
27628 cat confdefs.h >>conftest.$ac_ext
27629 cat >>conftest.$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27633 #define $ac_func innocuous_$ac_func
27634
27635 /* System header to define __stub macros and hopefully few prototypes,
27636 which can conflict with char $ac_func (); below.
27637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27638 <limits.h> exists even on freestanding compilers. */
27639
27640 #ifdef __STDC__
27641 # include <limits.h>
27642 #else
27643 # include <assert.h>
27644 #endif
27645
27646 #undef $ac_func
27647
27648 /* Override any GCC internal prototype to avoid an error.
27649 Use char because int might match the return type of a GCC
27650 builtin and then its argument prototype would still apply. */
27651 #ifdef __cplusplus
27652 extern "C"
27653 #endif
27654 char $ac_func ();
27655 /* The GNU C library defines this for functions which it implements
27656 to always fail with ENOSYS. Some functions are actually named
27657 something starting with __ and the normal name is an alias. */
27658 #if defined __stub_$ac_func || defined __stub___$ac_func
27659 choke me
27660 #endif
27661
27662 int
27663 main ()
27664 {
27665 return $ac_func ();
27666 ;
27667 return 0;
27668 }
27669 _ACEOF
27670 rm -f conftest.$ac_objext conftest$ac_exeext
27671 if { (ac_try="$ac_link"
27672 case "(($ac_try" in
27673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27674 *) ac_try_echo=$ac_try;;
27675 esac
27676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27677 (eval "$ac_link") 2>conftest.er1
27678 ac_status=$?
27679 grep -v '^ *+' conftest.er1 >conftest.err
27680 rm -f conftest.er1
27681 cat conftest.err >&5
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); } && {
27684 test -z "$ac_c_werror_flag" ||
27685 test ! -s conftest.err
27686 } && test -s conftest$ac_exeext &&
27687 $as_test_x conftest$ac_exeext; then
27688 eval "$as_ac_var=yes"
27689 else
27690 echo "$as_me: failed program was:" >&5
27691 sed 's/^/| /' conftest.$ac_ext >&5
27692
27693 eval "$as_ac_var=no"
27694 fi
27695
27696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27697 conftest$ac_exeext conftest.$ac_ext
27698 fi
27699 ac_res=`eval echo '${'$as_ac_var'}'`
27700 { echo "$as_me:$LINENO: result: $ac_res" >&5
27701 echo "${ECHO_T}$ac_res" >&6; }
27702 if test `eval echo '${'$as_ac_var'}'` = yes; then
27703 cat >>confdefs.h <<_ACEOF
27704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27705 _ACEOF
27706 have_cos=1
27707 fi
27708 done
27709
27710
27711 for ac_func in floor
27712 do
27713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27714 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27716 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27717 echo $ECHO_N "(cached) $ECHO_C" >&6
27718 else
27719 cat >conftest.$ac_ext <<_ACEOF
27720 /* confdefs.h. */
27721 _ACEOF
27722 cat confdefs.h >>conftest.$ac_ext
27723 cat >>conftest.$ac_ext <<_ACEOF
27724 /* end confdefs.h. */
27725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27727 #define $ac_func innocuous_$ac_func
27728
27729 /* System header to define __stub macros and hopefully few prototypes,
27730 which can conflict with char $ac_func (); below.
27731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27732 <limits.h> exists even on freestanding compilers. */
27733
27734 #ifdef __STDC__
27735 # include <limits.h>
27736 #else
27737 # include <assert.h>
27738 #endif
27739
27740 #undef $ac_func
27741
27742 /* Override any GCC internal prototype to avoid an error.
27743 Use char because int might match the return type of a GCC
27744 builtin and then its argument prototype would still apply. */
27745 #ifdef __cplusplus
27746 extern "C"
27747 #endif
27748 char $ac_func ();
27749 /* The GNU C library defines this for functions which it implements
27750 to always fail with ENOSYS. Some functions are actually named
27751 something starting with __ and the normal name is an alias. */
27752 #if defined __stub_$ac_func || defined __stub___$ac_func
27753 choke me
27754 #endif
27755
27756 int
27757 main ()
27758 {
27759 return $ac_func ();
27760 ;
27761 return 0;
27762 }
27763 _ACEOF
27764 rm -f conftest.$ac_objext conftest$ac_exeext
27765 if { (ac_try="$ac_link"
27766 case "(($ac_try" in
27767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27768 *) ac_try_echo=$ac_try;;
27769 esac
27770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27771 (eval "$ac_link") 2>conftest.er1
27772 ac_status=$?
27773 grep -v '^ *+' conftest.er1 >conftest.err
27774 rm -f conftest.er1
27775 cat conftest.err >&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); } && {
27778 test -z "$ac_c_werror_flag" ||
27779 test ! -s conftest.err
27780 } && test -s conftest$ac_exeext &&
27781 $as_test_x conftest$ac_exeext; then
27782 eval "$as_ac_var=yes"
27783 else
27784 echo "$as_me: failed program was:" >&5
27785 sed 's/^/| /' conftest.$ac_ext >&5
27786
27787 eval "$as_ac_var=no"
27788 fi
27789
27790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27791 conftest$ac_exeext conftest.$ac_ext
27792 fi
27793 ac_res=`eval echo '${'$as_ac_var'}'`
27794 { echo "$as_me:$LINENO: result: $ac_res" >&5
27795 echo "${ECHO_T}$ac_res" >&6; }
27796 if test `eval echo '${'$as_ac_var'}'` = yes; then
27797 cat >>confdefs.h <<_ACEOF
27798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27799 _ACEOF
27800 have_floor=1
27801 fi
27802 done
27803
27804 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27805 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27806 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27807 { echo "$as_me:$LINENO: result: yes" >&5
27808 echo "${ECHO_T}yes" >&6; }
27809 else
27810 { echo "$as_me:$LINENO: result: no" >&5
27811 echo "${ECHO_T}no" >&6; }
27812 LIBS="$LIBS -lm"
27813 # use different functions to avoid configure caching
27814 have_sin=0
27815 have_ceil=0
27816
27817 for ac_func in sin
27818 do
27819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27820 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27822 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27823 echo $ECHO_N "(cached) $ECHO_C" >&6
27824 else
27825 cat >conftest.$ac_ext <<_ACEOF
27826 /* confdefs.h. */
27827 _ACEOF
27828 cat confdefs.h >>conftest.$ac_ext
27829 cat >>conftest.$ac_ext <<_ACEOF
27830 /* end confdefs.h. */
27831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27833 #define $ac_func innocuous_$ac_func
27834
27835 /* System header to define __stub macros and hopefully few prototypes,
27836 which can conflict with char $ac_func (); below.
27837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27838 <limits.h> exists even on freestanding compilers. */
27839
27840 #ifdef __STDC__
27841 # include <limits.h>
27842 #else
27843 # include <assert.h>
27844 #endif
27845
27846 #undef $ac_func
27847
27848 /* Override any GCC internal prototype to avoid an error.
27849 Use char because int might match the return type of a GCC
27850 builtin and then its argument prototype would still apply. */
27851 #ifdef __cplusplus
27852 extern "C"
27853 #endif
27854 char $ac_func ();
27855 /* The GNU C library defines this for functions which it implements
27856 to always fail with ENOSYS. Some functions are actually named
27857 something starting with __ and the normal name is an alias. */
27858 #if defined __stub_$ac_func || defined __stub___$ac_func
27859 choke me
27860 #endif
27861
27862 int
27863 main ()
27864 {
27865 return $ac_func ();
27866 ;
27867 return 0;
27868 }
27869 _ACEOF
27870 rm -f conftest.$ac_objext conftest$ac_exeext
27871 if { (ac_try="$ac_link"
27872 case "(($ac_try" in
27873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27874 *) ac_try_echo=$ac_try;;
27875 esac
27876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27877 (eval "$ac_link") 2>conftest.er1
27878 ac_status=$?
27879 grep -v '^ *+' conftest.er1 >conftest.err
27880 rm -f conftest.er1
27881 cat conftest.err >&5
27882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883 (exit $ac_status); } && {
27884 test -z "$ac_c_werror_flag" ||
27885 test ! -s conftest.err
27886 } && test -s conftest$ac_exeext &&
27887 $as_test_x conftest$ac_exeext; then
27888 eval "$as_ac_var=yes"
27889 else
27890 echo "$as_me: failed program was:" >&5
27891 sed 's/^/| /' conftest.$ac_ext >&5
27892
27893 eval "$as_ac_var=no"
27894 fi
27895
27896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27897 conftest$ac_exeext conftest.$ac_ext
27898 fi
27899 ac_res=`eval echo '${'$as_ac_var'}'`
27900 { echo "$as_me:$LINENO: result: $ac_res" >&5
27901 echo "${ECHO_T}$ac_res" >&6; }
27902 if test `eval echo '${'$as_ac_var'}'` = yes; then
27903 cat >>confdefs.h <<_ACEOF
27904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27905 _ACEOF
27906 have_sin=1
27907 fi
27908 done
27909
27910
27911 for ac_func in ceil
27912 do
27913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27914 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27917 echo $ECHO_N "(cached) $ECHO_C" >&6
27918 else
27919 cat >conftest.$ac_ext <<_ACEOF
27920 /* confdefs.h. */
27921 _ACEOF
27922 cat confdefs.h >>conftest.$ac_ext
27923 cat >>conftest.$ac_ext <<_ACEOF
27924 /* end confdefs.h. */
27925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27927 #define $ac_func innocuous_$ac_func
27928
27929 /* System header to define __stub macros and hopefully few prototypes,
27930 which can conflict with char $ac_func (); below.
27931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27932 <limits.h> exists even on freestanding compilers. */
27933
27934 #ifdef __STDC__
27935 # include <limits.h>
27936 #else
27937 # include <assert.h>
27938 #endif
27939
27940 #undef $ac_func
27941
27942 /* Override any GCC internal prototype to avoid an error.
27943 Use char because int might match the return type of a GCC
27944 builtin and then its argument prototype would still apply. */
27945 #ifdef __cplusplus
27946 extern "C"
27947 #endif
27948 char $ac_func ();
27949 /* The GNU C library defines this for functions which it implements
27950 to always fail with ENOSYS. Some functions are actually named
27951 something starting with __ and the normal name is an alias. */
27952 #if defined __stub_$ac_func || defined __stub___$ac_func
27953 choke me
27954 #endif
27955
27956 int
27957 main ()
27958 {
27959 return $ac_func ();
27960 ;
27961 return 0;
27962 }
27963 _ACEOF
27964 rm -f conftest.$ac_objext conftest$ac_exeext
27965 if { (ac_try="$ac_link"
27966 case "(($ac_try" in
27967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27968 *) ac_try_echo=$ac_try;;
27969 esac
27970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27971 (eval "$ac_link") 2>conftest.er1
27972 ac_status=$?
27973 grep -v '^ *+' conftest.er1 >conftest.err
27974 rm -f conftest.er1
27975 cat conftest.err >&5
27976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27977 (exit $ac_status); } && {
27978 test -z "$ac_c_werror_flag" ||
27979 test ! -s conftest.err
27980 } && test -s conftest$ac_exeext &&
27981 $as_test_x conftest$ac_exeext; then
27982 eval "$as_ac_var=yes"
27983 else
27984 echo "$as_me: failed program was:" >&5
27985 sed 's/^/| /' conftest.$ac_ext >&5
27986
27987 eval "$as_ac_var=no"
27988 fi
27989
27990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27991 conftest$ac_exeext conftest.$ac_ext
27992 fi
27993 ac_res=`eval echo '${'$as_ac_var'}'`
27994 { echo "$as_me:$LINENO: result: $ac_res" >&5
27995 echo "${ECHO_T}$ac_res" >&6; }
27996 if test `eval echo '${'$as_ac_var'}'` = yes; then
27997 cat >>confdefs.h <<_ACEOF
27998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27999 _ACEOF
28000 have_ceil=1
28001 fi
28002 done
28003
28004 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28005 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28006 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28007 { echo "$as_me:$LINENO: result: yes" >&5
28008 echo "${ECHO_T}yes" >&6; }
28009 else
28010 { echo "$as_me:$LINENO: result: no" >&5
28011 echo "${ECHO_T}no" >&6; }
28012 # not sure we should warn the user, crash, etc.
28013 fi
28014 fi
28015
28016 ac_ext=cpp
28017 ac_cpp='$CXXCPP $CPPFLAGS'
28018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28021
28022 if test "wxUSE_UNICODE" = "yes"; then
28023
28024 for wx_func in wcstoull
28025 do
28026 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28027 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28028 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28029 echo $ECHO_N "(cached) $ECHO_C" >&6
28030 else
28031
28032 cat >conftest.$ac_ext <<_ACEOF
28033
28034 /* confdefs.h. */
28035 _ACEOF
28036 cat confdefs.h >>conftest.$ac_ext
28037 cat >>conftest.$ac_ext <<_ACEOF
28038 /* end confdefs.h. */
28039
28040
28041 $ac_includes_default
28042
28043 int
28044 main ()
28045 {
28046
28047 #ifndef $wx_func
28048 &$wx_func;
28049 #endif
28050
28051
28052 ;
28053 return 0;
28054 }
28055
28056 _ACEOF
28057 rm -f conftest.$ac_objext conftest$ac_exeext
28058 if { (ac_try="$ac_link"
28059 case "(($ac_try" in
28060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28061 *) ac_try_echo=$ac_try;;
28062 esac
28063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28064 (eval "$ac_link") 2>conftest.er1
28065 ac_status=$?
28066 grep -v '^ *+' conftest.er1 >conftest.err
28067 rm -f conftest.er1
28068 cat conftest.err >&5
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); } && {
28071 test -z "$ac_cxx_werror_flag" ||
28072 test ! -s conftest.err
28073 } && test -s conftest$ac_exeext &&
28074 $as_test_x conftest$ac_exeext; then
28075 eval wx_cv_func_$wx_func=yes
28076 else
28077 echo "$as_me: failed program was:" >&5
28078 sed 's/^/| /' conftest.$ac_ext >&5
28079
28080 eval wx_cv_func_$wx_func=no
28081 fi
28082
28083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28084 conftest$ac_exeext conftest.$ac_ext
28085
28086 fi
28087 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28088 { echo "$as_me:$LINENO: result: $ac_res" >&5
28089 echo "${ECHO_T}$ac_res" >&6; }
28090
28091 if eval test \$wx_cv_func_$wx_func = yes
28092 then
28093 cat >>confdefs.h <<_ACEOF
28094 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28095 _ACEOF
28096
28097
28098 else
28099 :
28100
28101 fi
28102 done
28103
28104 else
28105
28106 for wx_func in strtoull
28107 do
28108 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28109 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28110 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28111 echo $ECHO_N "(cached) $ECHO_C" >&6
28112 else
28113
28114 cat >conftest.$ac_ext <<_ACEOF
28115
28116 /* confdefs.h. */
28117 _ACEOF
28118 cat confdefs.h >>conftest.$ac_ext
28119 cat >>conftest.$ac_ext <<_ACEOF
28120 /* end confdefs.h. */
28121
28122
28123 $ac_includes_default
28124
28125 int
28126 main ()
28127 {
28128
28129 #ifndef $wx_func
28130 &$wx_func;
28131 #endif
28132
28133
28134 ;
28135 return 0;
28136 }
28137
28138 _ACEOF
28139 rm -f conftest.$ac_objext conftest$ac_exeext
28140 if { (ac_try="$ac_link"
28141 case "(($ac_try" in
28142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28143 *) ac_try_echo=$ac_try;;
28144 esac
28145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28146 (eval "$ac_link") 2>conftest.er1
28147 ac_status=$?
28148 grep -v '^ *+' conftest.er1 >conftest.err
28149 rm -f conftest.er1
28150 cat conftest.err >&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); } && {
28153 test -z "$ac_cxx_werror_flag" ||
28154 test ! -s conftest.err
28155 } && test -s conftest$ac_exeext &&
28156 $as_test_x conftest$ac_exeext; then
28157 eval wx_cv_func_$wx_func=yes
28158 else
28159 echo "$as_me: failed program was:" >&5
28160 sed 's/^/| /' conftest.$ac_ext >&5
28161
28162 eval wx_cv_func_$wx_func=no
28163 fi
28164
28165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28166 conftest$ac_exeext conftest.$ac_ext
28167
28168 fi
28169 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28170 { echo "$as_me:$LINENO: result: $ac_res" >&5
28171 echo "${ECHO_T}$ac_res" >&6; }
28172
28173 if eval test \$wx_cv_func_$wx_func = yes
28174 then
28175 cat >>confdefs.h <<_ACEOF
28176 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28177 _ACEOF
28178
28179
28180 else
28181 :
28182
28183 fi
28184 done
28185
28186 fi
28187 ac_ext=c
28188 ac_cpp='$CPP $CPPFLAGS'
28189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28192
28193
28194
28195
28196 if test "$wxUSE_REGEX" != "no"; then
28197 cat >>confdefs.h <<\_ACEOF
28198 #define wxUSE_REGEX 1
28199 _ACEOF
28200
28201
28202 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28203 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28204 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28205 wxUSE_REGEX=builtin
28206 fi
28207
28208 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28209 { echo "$as_me:$LINENO: checking for regex.h" >&5
28210 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28211 if test "${ac_cv_header_regex_h+set}" = set; then
28212 echo $ECHO_N "(cached) $ECHO_C" >&6
28213 else
28214 cat >conftest.$ac_ext <<_ACEOF
28215 /* confdefs.h. */
28216 _ACEOF
28217 cat confdefs.h >>conftest.$ac_ext
28218 cat >>conftest.$ac_ext <<_ACEOF
28219 /* end confdefs.h. */
28220
28221
28222 #include <regex.h>
28223 _ACEOF
28224 rm -f conftest.$ac_objext
28225 if { (ac_try="$ac_compile"
28226 case "(($ac_try" in
28227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28228 *) ac_try_echo=$ac_try;;
28229 esac
28230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28231 (eval "$ac_compile") 2>conftest.er1
28232 ac_status=$?
28233 grep -v '^ *+' conftest.er1 >conftest.err
28234 rm -f conftest.er1
28235 cat conftest.err >&5
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); } && {
28238 test -z "$ac_c_werror_flag" ||
28239 test ! -s conftest.err
28240 } && test -s conftest.$ac_objext; then
28241 ac_cv_header_regex_h=yes
28242 else
28243 echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.$ac_ext >&5
28245
28246 ac_cv_header_regex_h=no
28247 fi
28248
28249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28250 fi
28251 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28252 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28253 if test $ac_cv_header_regex_h = yes; then
28254
28255
28256 for ac_func in regcomp re_search
28257 do
28258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28259 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28261 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28262 echo $ECHO_N "(cached) $ECHO_C" >&6
28263 else
28264 cat >conftest.$ac_ext <<_ACEOF
28265 /* confdefs.h. */
28266 _ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28272 #define $ac_func innocuous_$ac_func
28273
28274 /* System header to define __stub macros and hopefully few prototypes,
28275 which can conflict with char $ac_func (); below.
28276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28277 <limits.h> exists even on freestanding compilers. */
28278
28279 #ifdef __STDC__
28280 # include <limits.h>
28281 #else
28282 # include <assert.h>
28283 #endif
28284
28285 #undef $ac_func
28286
28287 /* Override any GCC internal prototype to avoid an error.
28288 Use char because int might match the return type of a GCC
28289 builtin and then its argument prototype would still apply. */
28290 #ifdef __cplusplus
28291 extern "C"
28292 #endif
28293 char $ac_func ();
28294 /* The GNU C library defines this for functions which it implements
28295 to always fail with ENOSYS. Some functions are actually named
28296 something starting with __ and the normal name is an alias. */
28297 #if defined __stub_$ac_func || defined __stub___$ac_func
28298 choke me
28299 #endif
28300
28301 int
28302 main ()
28303 {
28304 return $ac_func ();
28305 ;
28306 return 0;
28307 }
28308 _ACEOF
28309 rm -f conftest.$ac_objext conftest$ac_exeext
28310 if { (ac_try="$ac_link"
28311 case "(($ac_try" in
28312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28313 *) ac_try_echo=$ac_try;;
28314 esac
28315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28316 (eval "$ac_link") 2>conftest.er1
28317 ac_status=$?
28318 grep -v '^ *+' conftest.er1 >conftest.err
28319 rm -f conftest.er1
28320 cat conftest.err >&5
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); } && {
28323 test -z "$ac_c_werror_flag" ||
28324 test ! -s conftest.err
28325 } && test -s conftest$ac_exeext &&
28326 $as_test_x conftest$ac_exeext; then
28327 eval "$as_ac_var=yes"
28328 else
28329 echo "$as_me: failed program was:" >&5
28330 sed 's/^/| /' conftest.$ac_ext >&5
28331
28332 eval "$as_ac_var=no"
28333 fi
28334
28335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28336 conftest$ac_exeext conftest.$ac_ext
28337 fi
28338 ac_res=`eval echo '${'$as_ac_var'}'`
28339 { echo "$as_me:$LINENO: result: $ac_res" >&5
28340 echo "${ECHO_T}$ac_res" >&6; }
28341 if test `eval echo '${'$as_ac_var'}'` = yes; then
28342 cat >>confdefs.h <<_ACEOF
28343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28344 _ACEOF
28345
28346 fi
28347 done
28348
28349 fi
28350
28351
28352
28353 if test "x$ac_cv_func_regcomp" != "xyes"; then
28354 if test "$wxUSE_REGEX" = "sys" ; then
28355 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28356 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28357 { (exit 1); exit 1; }; }
28358 else
28359 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28360 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28361 wxUSE_REGEX=builtin
28362 fi
28363 else
28364 wxUSE_REGEX=sys
28365 cat >>confdefs.h <<\_ACEOF
28366 #define WX_NO_REGEX_ADVANCED 1
28367 _ACEOF
28368
28369 fi
28370 fi
28371 fi
28372
28373
28374 ZLIB_LINK=
28375 if test "$wxUSE_ZLIB" != "no" ; then
28376 cat >>confdefs.h <<\_ACEOF
28377 #define wxUSE_ZLIB 1
28378 _ACEOF
28379
28380
28381 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28382 if test "$USE_DARWIN" = 1; then
28383 system_zlib_h_ok="yes"
28384 else
28385 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28386 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28387 if test "${ac_cv_header_zlib_h+set}" = set; then
28388 echo $ECHO_N "(cached) $ECHO_C" >&6
28389 else
28390 if test "$cross_compiling" = yes; then
28391 unset ac_cv_header_zlib_h
28392
28393 else
28394 cat >conftest.$ac_ext <<_ACEOF
28395 /* confdefs.h. */
28396 _ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28400
28401 #include <zlib.h>
28402 #include <stdio.h>
28403
28404 int main()
28405 {
28406 FILE *f=fopen("conftestval", "w");
28407 if (!f) exit(1);
28408 fprintf(f, "%s",
28409 ZLIB_VERSION[0] == '1' &&
28410 (ZLIB_VERSION[2] > '1' ||
28411 (ZLIB_VERSION[2] == '1' &&
28412 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28413 exit(0);
28414 }
28415
28416 _ACEOF
28417 rm -f conftest$ac_exeext
28418 if { (ac_try="$ac_link"
28419 case "(($ac_try" in
28420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28421 *) ac_try_echo=$ac_try;;
28422 esac
28423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28424 (eval "$ac_link") 2>&5
28425 ac_status=$?
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28428 { (case "(($ac_try" in
28429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28430 *) ac_try_echo=$ac_try;;
28431 esac
28432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28433 (eval "$ac_try") 2>&5
28434 ac_status=$?
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); }; }; then
28437 ac_cv_header_zlib_h=`cat conftestval`
28438 else
28439 echo "$as_me: program exited with status $ac_status" >&5
28440 echo "$as_me: failed program was:" >&5
28441 sed 's/^/| /' conftest.$ac_ext >&5
28442
28443 ( exit $ac_status )
28444 ac_cv_header_zlib_h=no
28445 fi
28446 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28447 fi
28448
28449
28450
28451 fi
28452 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28453 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28454 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28455 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28456 if test "${ac_cv_header_zlib_h+set}" = set; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 else
28459 cat >conftest.$ac_ext <<_ACEOF
28460 /* confdefs.h. */
28461 _ACEOF
28462 cat confdefs.h >>conftest.$ac_ext
28463 cat >>conftest.$ac_ext <<_ACEOF
28464 /* end confdefs.h. */
28465
28466
28467 #include <zlib.h>
28468 _ACEOF
28469 rm -f conftest.$ac_objext
28470 if { (ac_try="$ac_compile"
28471 case "(($ac_try" in
28472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28473 *) ac_try_echo=$ac_try;;
28474 esac
28475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28476 (eval "$ac_compile") 2>conftest.er1
28477 ac_status=$?
28478 grep -v '^ *+' conftest.er1 >conftest.err
28479 rm -f conftest.er1
28480 cat conftest.err >&5
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); } && {
28483 test -z "$ac_c_werror_flag" ||
28484 test ! -s conftest.err
28485 } && test -s conftest.$ac_objext; then
28486 ac_cv_header_zlib_h=yes
28487 else
28488 echo "$as_me: failed program was:" >&5
28489 sed 's/^/| /' conftest.$ac_ext >&5
28490
28491 ac_cv_header_zlib_h=no
28492 fi
28493
28494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28495 fi
28496 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28497 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28498
28499
28500
28501 system_zlib_h_ok=$ac_cv_header_zlib_h
28502 fi
28503
28504 if test "$system_zlib_h_ok" = "yes"; then
28505 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28506 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28507 if test "${ac_cv_lib_z_deflate+set}" = set; then
28508 echo $ECHO_N "(cached) $ECHO_C" >&6
28509 else
28510 ac_check_lib_save_LIBS=$LIBS
28511 LIBS="-lz $LIBS"
28512 cat >conftest.$ac_ext <<_ACEOF
28513 /* confdefs.h. */
28514 _ACEOF
28515 cat confdefs.h >>conftest.$ac_ext
28516 cat >>conftest.$ac_ext <<_ACEOF
28517 /* end confdefs.h. */
28518
28519 /* Override any GCC internal prototype to avoid an error.
28520 Use char because int might match the return type of a GCC
28521 builtin and then its argument prototype would still apply. */
28522 #ifdef __cplusplus
28523 extern "C"
28524 #endif
28525 char deflate ();
28526 int
28527 main ()
28528 {
28529 return deflate ();
28530 ;
28531 return 0;
28532 }
28533 _ACEOF
28534 rm -f conftest.$ac_objext conftest$ac_exeext
28535 if { (ac_try="$ac_link"
28536 case "(($ac_try" in
28537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28538 *) ac_try_echo=$ac_try;;
28539 esac
28540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28541 (eval "$ac_link") 2>conftest.er1
28542 ac_status=$?
28543 grep -v '^ *+' conftest.er1 >conftest.err
28544 rm -f conftest.er1
28545 cat conftest.err >&5
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); } && {
28548 test -z "$ac_c_werror_flag" ||
28549 test ! -s conftest.err
28550 } && test -s conftest$ac_exeext &&
28551 $as_test_x conftest$ac_exeext; then
28552 ac_cv_lib_z_deflate=yes
28553 else
28554 echo "$as_me: failed program was:" >&5
28555 sed 's/^/| /' conftest.$ac_ext >&5
28556
28557 ac_cv_lib_z_deflate=no
28558 fi
28559
28560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28561 conftest$ac_exeext conftest.$ac_ext
28562 LIBS=$ac_check_lib_save_LIBS
28563 fi
28564 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28565 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28566 if test $ac_cv_lib_z_deflate = yes; then
28567 ZLIB_LINK=" -lz"
28568 fi
28569
28570 fi
28571
28572 if test "x$ZLIB_LINK" = "x" ; then
28573 if test "$wxUSE_ZLIB" = "sys" ; then
28574 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28575 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28576 { (exit 1); exit 1; }; }
28577 else
28578 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28579 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28580 wxUSE_ZLIB=builtin
28581 fi
28582 else
28583 wxUSE_ZLIB=sys
28584 fi
28585 fi
28586 fi
28587
28588
28589 PNG_LINK=
28590 if test "$wxUSE_LIBPNG" != "no" ; then
28591 cat >>confdefs.h <<\_ACEOF
28592 #define wxUSE_LIBPNG 1
28593 _ACEOF
28594
28595
28596 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28597 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28598 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28599 wxUSE_LIBPNG=sys
28600 fi
28601
28602 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28603 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28604 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28605 wxUSE_LIBPNG=builtin
28606 fi
28607
28608 if test "$wxUSE_MGL" != 1 ; then
28609 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28610 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28611 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28612 if test "${ac_cv_header_png_h+set}" = set; then
28613 echo $ECHO_N "(cached) $ECHO_C" >&6
28614 else
28615 if test "$cross_compiling" = yes; then
28616 unset ac_cv_header_png_h
28617
28618 else
28619 cat >conftest.$ac_ext <<_ACEOF
28620 /* confdefs.h. */
28621 _ACEOF
28622 cat confdefs.h >>conftest.$ac_ext
28623 cat >>conftest.$ac_ext <<_ACEOF
28624 /* end confdefs.h. */
28625
28626 #include <png.h>
28627 #include <stdio.h>
28628
28629 int main()
28630 {
28631 FILE *f=fopen("conftestval", "w");
28632 if (!f) exit(1);
28633 fprintf(f, "%s",
28634 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28635 exit(0);
28636 }
28637
28638 _ACEOF
28639 rm -f conftest$ac_exeext
28640 if { (ac_try="$ac_link"
28641 case "(($ac_try" in
28642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28643 *) ac_try_echo=$ac_try;;
28644 esac
28645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28646 (eval "$ac_link") 2>&5
28647 ac_status=$?
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28650 { (case "(($ac_try" in
28651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28652 *) ac_try_echo=$ac_try;;
28653 esac
28654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28655 (eval "$ac_try") 2>&5
28656 ac_status=$?
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); }; }; then
28659 ac_cv_header_png_h=`cat conftestval`
28660 else
28661 echo "$as_me: program exited with status $ac_status" >&5
28662 echo "$as_me: failed program was:" >&5
28663 sed 's/^/| /' conftest.$ac_ext >&5
28664
28665 ( exit $ac_status )
28666 ac_cv_header_png_h=no
28667 fi
28668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28669 fi
28670
28671
28672
28673 fi
28674 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28675 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28676 { echo "$as_me:$LINENO: checking for png.h" >&5
28677 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28678 if test "${ac_cv_header_png_h+set}" = set; then
28679 echo $ECHO_N "(cached) $ECHO_C" >&6
28680 else
28681 cat >conftest.$ac_ext <<_ACEOF
28682 /* confdefs.h. */
28683 _ACEOF
28684 cat confdefs.h >>conftest.$ac_ext
28685 cat >>conftest.$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28687
28688
28689 #include <png.h>
28690 _ACEOF
28691 rm -f conftest.$ac_objext
28692 if { (ac_try="$ac_compile"
28693 case "(($ac_try" in
28694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28695 *) ac_try_echo=$ac_try;;
28696 esac
28697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28698 (eval "$ac_compile") 2>conftest.er1
28699 ac_status=$?
28700 grep -v '^ *+' conftest.er1 >conftest.err
28701 rm -f conftest.er1
28702 cat conftest.err >&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); } && {
28705 test -z "$ac_c_werror_flag" ||
28706 test ! -s conftest.err
28707 } && test -s conftest.$ac_objext; then
28708 ac_cv_header_png_h=yes
28709 else
28710 echo "$as_me: failed program was:" >&5
28711 sed 's/^/| /' conftest.$ac_ext >&5
28712
28713 ac_cv_header_png_h=no
28714 fi
28715
28716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28717 fi
28718 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28719 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28720
28721
28722
28723 if test "$ac_cv_header_png_h" = "yes"; then
28724 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28725 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28726 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28727 echo $ECHO_N "(cached) $ECHO_C" >&6
28728 else
28729 ac_check_lib_save_LIBS=$LIBS
28730 LIBS="-lpng -lz -lm $LIBS"
28731 cat >conftest.$ac_ext <<_ACEOF
28732 /* confdefs.h. */
28733 _ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28737
28738 /* Override any GCC internal prototype to avoid an error.
28739 Use char because int might match the return type of a GCC
28740 builtin and then its argument prototype would still apply. */
28741 #ifdef __cplusplus
28742 extern "C"
28743 #endif
28744 char png_check_sig ();
28745 int
28746 main ()
28747 {
28748 return png_check_sig ();
28749 ;
28750 return 0;
28751 }
28752 _ACEOF
28753 rm -f conftest.$ac_objext conftest$ac_exeext
28754 if { (ac_try="$ac_link"
28755 case "(($ac_try" in
28756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28757 *) ac_try_echo=$ac_try;;
28758 esac
28759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28760 (eval "$ac_link") 2>conftest.er1
28761 ac_status=$?
28762 grep -v '^ *+' conftest.er1 >conftest.err
28763 rm -f conftest.er1
28764 cat conftest.err >&5
28765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28766 (exit $ac_status); } && {
28767 test -z "$ac_c_werror_flag" ||
28768 test ! -s conftest.err
28769 } && test -s conftest$ac_exeext &&
28770 $as_test_x conftest$ac_exeext; then
28771 ac_cv_lib_png_png_check_sig=yes
28772 else
28773 echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.$ac_ext >&5
28775
28776 ac_cv_lib_png_png_check_sig=no
28777 fi
28778
28779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28780 conftest$ac_exeext conftest.$ac_ext
28781 LIBS=$ac_check_lib_save_LIBS
28782 fi
28783 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28784 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28785 if test $ac_cv_lib_png_png_check_sig = yes; then
28786 PNG_LINK=" -lpng -lz"
28787 fi
28788
28789 fi
28790
28791 if test "x$PNG_LINK" = "x" ; then
28792 if test "$wxUSE_LIBPNG" = "sys" ; then
28793 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28794 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28795 { (exit 1); exit 1; }; }
28796 else
28797 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28798 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28799 wxUSE_LIBPNG=builtin
28800 fi
28801 else
28802 wxUSE_LIBPNG=sys
28803 fi
28804 fi
28805 fi
28806
28807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28808 fi
28809
28810
28811 JPEG_LINK=
28812 if test "$wxUSE_LIBJPEG" != "no" ; then
28813 cat >>confdefs.h <<\_ACEOF
28814 #define wxUSE_LIBJPEG 1
28815 _ACEOF
28816
28817
28818 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28819 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28820 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28821 wxUSE_LIBJPEG=sys
28822 fi
28823
28824 if test "$wxUSE_MGL" != 1 ; then
28825 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28826 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28827 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28828 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28829 echo $ECHO_N "(cached) $ECHO_C" >&6
28830 else
28831 cat >conftest.$ac_ext <<_ACEOF
28832 /* confdefs.h. */
28833 _ACEOF
28834 cat confdefs.h >>conftest.$ac_ext
28835 cat >>conftest.$ac_ext <<_ACEOF
28836 /* end confdefs.h. */
28837
28838 #undef HAVE_STDLIB_H
28839 #include <stdio.h>
28840 #include <jpeglib.h>
28841
28842 int
28843 main ()
28844 {
28845
28846
28847 ;
28848 return 0;
28849 }
28850 _ACEOF
28851 rm -f conftest.$ac_objext
28852 if { (ac_try="$ac_compile"
28853 case "(($ac_try" in
28854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28855 *) ac_try_echo=$ac_try;;
28856 esac
28857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28858 (eval "$ac_compile") 2>conftest.er1
28859 ac_status=$?
28860 grep -v '^ *+' conftest.er1 >conftest.err
28861 rm -f conftest.er1
28862 cat conftest.err >&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } && {
28865 test -z "$ac_c_werror_flag" ||
28866 test ! -s conftest.err
28867 } && test -s conftest.$ac_objext; then
28868 ac_cv_header_jpeglib_h=yes
28869 else
28870 echo "$as_me: failed program was:" >&5
28871 sed 's/^/| /' conftest.$ac_ext >&5
28872
28873 ac_cv_header_jpeglib_h=no
28874
28875 fi
28876
28877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28878
28879 fi
28880
28881 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28882 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28883
28884 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28885 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28886 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28887 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28888 echo $ECHO_N "(cached) $ECHO_C" >&6
28889 else
28890 ac_check_lib_save_LIBS=$LIBS
28891 LIBS="-ljpeg $LIBS"
28892 cat >conftest.$ac_ext <<_ACEOF
28893 /* confdefs.h. */
28894 _ACEOF
28895 cat confdefs.h >>conftest.$ac_ext
28896 cat >>conftest.$ac_ext <<_ACEOF
28897 /* end confdefs.h. */
28898
28899 /* Override any GCC internal prototype to avoid an error.
28900 Use char because int might match the return type of a GCC
28901 builtin and then its argument prototype would still apply. */
28902 #ifdef __cplusplus
28903 extern "C"
28904 #endif
28905 char jpeg_read_header ();
28906 int
28907 main ()
28908 {
28909 return jpeg_read_header ();
28910 ;
28911 return 0;
28912 }
28913 _ACEOF
28914 rm -f conftest.$ac_objext conftest$ac_exeext
28915 if { (ac_try="$ac_link"
28916 case "(($ac_try" in
28917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28918 *) ac_try_echo=$ac_try;;
28919 esac
28920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28921 (eval "$ac_link") 2>conftest.er1
28922 ac_status=$?
28923 grep -v '^ *+' conftest.er1 >conftest.err
28924 rm -f conftest.er1
28925 cat conftest.err >&5
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); } && {
28928 test -z "$ac_c_werror_flag" ||
28929 test ! -s conftest.err
28930 } && test -s conftest$ac_exeext &&
28931 $as_test_x conftest$ac_exeext; then
28932 ac_cv_lib_jpeg_jpeg_read_header=yes
28933 else
28934 echo "$as_me: failed program was:" >&5
28935 sed 's/^/| /' conftest.$ac_ext >&5
28936
28937 ac_cv_lib_jpeg_jpeg_read_header=no
28938 fi
28939
28940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28941 conftest$ac_exeext conftest.$ac_ext
28942 LIBS=$ac_check_lib_save_LIBS
28943 fi
28944 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28945 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28946 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28947 JPEG_LINK=" -ljpeg"
28948 fi
28949
28950 fi
28951
28952 if test "x$JPEG_LINK" = "x" ; then
28953 if test "$wxUSE_LIBJPEG" = "sys" ; then
28954 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28955 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28956 { (exit 1); exit 1; }; }
28957 else
28958 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28959 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28960 wxUSE_LIBJPEG=builtin
28961 fi
28962 else
28963 wxUSE_LIBJPEG=sys
28964
28965 if test "$wxUSE_MSW" = 1; then
28966 { echo "$as_me:$LINENO: checking for boolean" >&5
28967 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28968 if test "${ac_cv_type_boolean+set}" = set; then
28969 echo $ECHO_N "(cached) $ECHO_C" >&6
28970 else
28971 cat >conftest.$ac_ext <<_ACEOF
28972 /* confdefs.h. */
28973 _ACEOF
28974 cat confdefs.h >>conftest.$ac_ext
28975 cat >>conftest.$ac_ext <<_ACEOF
28976 /* end confdefs.h. */
28977 #include <windows.h>
28978
28979 typedef boolean ac__type_new_;
28980 int
28981 main ()
28982 {
28983 if ((ac__type_new_ *) 0)
28984 return 0;
28985 if (sizeof (ac__type_new_))
28986 return 0;
28987 ;
28988 return 0;
28989 }
28990 _ACEOF
28991 rm -f conftest.$ac_objext
28992 if { (ac_try="$ac_compile"
28993 case "(($ac_try" in
28994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28995 *) ac_try_echo=$ac_try;;
28996 esac
28997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28998 (eval "$ac_compile") 2>conftest.er1
28999 ac_status=$?
29000 grep -v '^ *+' conftest.er1 >conftest.err
29001 rm -f conftest.er1
29002 cat conftest.err >&5
29003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29004 (exit $ac_status); } && {
29005 test -z "$ac_c_werror_flag" ||
29006 test ! -s conftest.err
29007 } && test -s conftest.$ac_objext; then
29008 ac_cv_type_boolean=yes
29009 else
29010 echo "$as_me: failed program was:" >&5
29011 sed 's/^/| /' conftest.$ac_ext >&5
29012
29013 ac_cv_type_boolean=no
29014 fi
29015
29016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29017 fi
29018 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29019 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29020 if test $ac_cv_type_boolean = yes; then
29021
29022 cat >>confdefs.h <<_ACEOF
29023 #define HAVE_BOOLEAN 1
29024 _ACEOF
29025
29026
29027 { echo "$as_me:$LINENO: checking for boolean" >&5
29028 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29029 if test "${ac_cv_type_boolean+set}" = set; then
29030 echo $ECHO_N "(cached) $ECHO_C" >&6
29031 else
29032 cat >conftest.$ac_ext <<_ACEOF
29033 /* confdefs.h. */
29034 _ACEOF
29035 cat confdefs.h >>conftest.$ac_ext
29036 cat >>conftest.$ac_ext <<_ACEOF
29037 /* end confdefs.h. */
29038
29039 #undef HAVE_BOOLEAN
29040 #include <stdio.h>
29041 #include <jpeglib.h>
29042
29043
29044 typedef boolean ac__type_new_;
29045 int
29046 main ()
29047 {
29048 if ((ac__type_new_ *) 0)
29049 return 0;
29050 if (sizeof (ac__type_new_))
29051 return 0;
29052 ;
29053 return 0;
29054 }
29055 _ACEOF
29056 rm -f conftest.$ac_objext
29057 if { (ac_try="$ac_compile"
29058 case "(($ac_try" in
29059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29060 *) ac_try_echo=$ac_try;;
29061 esac
29062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29063 (eval "$ac_compile") 2>conftest.er1
29064 ac_status=$?
29065 grep -v '^ *+' conftest.er1 >conftest.err
29066 rm -f conftest.er1
29067 cat conftest.err >&5
29068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069 (exit $ac_status); } && {
29070 test -z "$ac_c_werror_flag" ||
29071 test ! -s conftest.err
29072 } && test -s conftest.$ac_objext; then
29073 ac_cv_type_boolean=yes
29074 else
29075 echo "$as_me: failed program was:" >&5
29076 sed 's/^/| /' conftest.$ac_ext >&5
29077
29078 ac_cv_type_boolean=no
29079 fi
29080
29081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29082 fi
29083 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29084 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29085
29086 # The cast to long int works around a bug in the HP C Compiler
29087 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29088 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29089 # This bug is HP SR number 8606223364.
29090 { echo "$as_me:$LINENO: checking size of boolean" >&5
29091 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29092 if test "${ac_cv_sizeof_boolean+set}" = set; then
29093 echo $ECHO_N "(cached) $ECHO_C" >&6
29094 else
29095 if test "$cross_compiling" = yes; then
29096 # Depending upon the size, compute the lo and hi bounds.
29097 cat >conftest.$ac_ext <<_ACEOF
29098 /* confdefs.h. */
29099 _ACEOF
29100 cat confdefs.h >>conftest.$ac_ext
29101 cat >>conftest.$ac_ext <<_ACEOF
29102 /* end confdefs.h. */
29103
29104 #undef HAVE_BOOLEAN
29105 #include <stdio.h>
29106 #include <jpeglib.h>
29107
29108
29109 typedef boolean ac__type_sizeof_;
29110 int
29111 main ()
29112 {
29113 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29114 test_array [0] = 0
29115
29116 ;
29117 return 0;
29118 }
29119 _ACEOF
29120 rm -f conftest.$ac_objext
29121 if { (ac_try="$ac_compile"
29122 case "(($ac_try" in
29123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29124 *) ac_try_echo=$ac_try;;
29125 esac
29126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29127 (eval "$ac_compile") 2>conftest.er1
29128 ac_status=$?
29129 grep -v '^ *+' conftest.er1 >conftest.err
29130 rm -f conftest.er1
29131 cat conftest.err >&5
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); } && {
29134 test -z "$ac_c_werror_flag" ||
29135 test ! -s conftest.err
29136 } && test -s conftest.$ac_objext; then
29137 ac_lo=0 ac_mid=0
29138 while :; do
29139 cat >conftest.$ac_ext <<_ACEOF
29140 /* confdefs.h. */
29141 _ACEOF
29142 cat confdefs.h >>conftest.$ac_ext
29143 cat >>conftest.$ac_ext <<_ACEOF
29144 /* end confdefs.h. */
29145
29146 #undef HAVE_BOOLEAN
29147 #include <stdio.h>
29148 #include <jpeglib.h>
29149
29150
29151 typedef boolean ac__type_sizeof_;
29152 int
29153 main ()
29154 {
29155 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29156 test_array [0] = 0
29157
29158 ;
29159 return 0;
29160 }
29161 _ACEOF
29162 rm -f conftest.$ac_objext
29163 if { (ac_try="$ac_compile"
29164 case "(($ac_try" in
29165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29166 *) ac_try_echo=$ac_try;;
29167 esac
29168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29169 (eval "$ac_compile") 2>conftest.er1
29170 ac_status=$?
29171 grep -v '^ *+' conftest.er1 >conftest.err
29172 rm -f conftest.er1
29173 cat conftest.err >&5
29174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29175 (exit $ac_status); } && {
29176 test -z "$ac_c_werror_flag" ||
29177 test ! -s conftest.err
29178 } && test -s conftest.$ac_objext; then
29179 ac_hi=$ac_mid; break
29180 else
29181 echo "$as_me: failed program was:" >&5
29182 sed 's/^/| /' conftest.$ac_ext >&5
29183
29184 ac_lo=`expr $ac_mid + 1`
29185 if test $ac_lo -le $ac_mid; then
29186 ac_lo= ac_hi=
29187 break
29188 fi
29189 ac_mid=`expr 2 '*' $ac_mid + 1`
29190 fi
29191
29192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29193 done
29194 else
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.$ac_ext >&5
29197
29198 cat >conftest.$ac_ext <<_ACEOF
29199 /* confdefs.h. */
29200 _ACEOF
29201 cat confdefs.h >>conftest.$ac_ext
29202 cat >>conftest.$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29204
29205 #undef HAVE_BOOLEAN
29206 #include <stdio.h>
29207 #include <jpeglib.h>
29208
29209
29210 typedef boolean ac__type_sizeof_;
29211 int
29212 main ()
29213 {
29214 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29215 test_array [0] = 0
29216
29217 ;
29218 return 0;
29219 }
29220 _ACEOF
29221 rm -f conftest.$ac_objext
29222 if { (ac_try="$ac_compile"
29223 case "(($ac_try" in
29224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29225 *) ac_try_echo=$ac_try;;
29226 esac
29227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29228 (eval "$ac_compile") 2>conftest.er1
29229 ac_status=$?
29230 grep -v '^ *+' conftest.er1 >conftest.err
29231 rm -f conftest.er1
29232 cat conftest.err >&5
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); } && {
29235 test -z "$ac_c_werror_flag" ||
29236 test ! -s conftest.err
29237 } && test -s conftest.$ac_objext; then
29238 ac_hi=-1 ac_mid=-1
29239 while :; do
29240 cat >conftest.$ac_ext <<_ACEOF
29241 /* confdefs.h. */
29242 _ACEOF
29243 cat confdefs.h >>conftest.$ac_ext
29244 cat >>conftest.$ac_ext <<_ACEOF
29245 /* end confdefs.h. */
29246
29247 #undef HAVE_BOOLEAN
29248 #include <stdio.h>
29249 #include <jpeglib.h>
29250
29251
29252 typedef boolean ac__type_sizeof_;
29253 int
29254 main ()
29255 {
29256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29257 test_array [0] = 0
29258
29259 ;
29260 return 0;
29261 }
29262 _ACEOF
29263 rm -f conftest.$ac_objext
29264 if { (ac_try="$ac_compile"
29265 case "(($ac_try" in
29266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29267 *) ac_try_echo=$ac_try;;
29268 esac
29269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29270 (eval "$ac_compile") 2>conftest.er1
29271 ac_status=$?
29272 grep -v '^ *+' conftest.er1 >conftest.err
29273 rm -f conftest.er1
29274 cat conftest.err >&5
29275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29276 (exit $ac_status); } && {
29277 test -z "$ac_c_werror_flag" ||
29278 test ! -s conftest.err
29279 } && test -s conftest.$ac_objext; then
29280 ac_lo=$ac_mid; break
29281 else
29282 echo "$as_me: failed program was:" >&5
29283 sed 's/^/| /' conftest.$ac_ext >&5
29284
29285 ac_hi=`expr '(' $ac_mid ')' - 1`
29286 if test $ac_mid -le $ac_hi; then
29287 ac_lo= ac_hi=
29288 break
29289 fi
29290 ac_mid=`expr 2 '*' $ac_mid`
29291 fi
29292
29293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29294 done
29295 else
29296 echo "$as_me: failed program was:" >&5
29297 sed 's/^/| /' conftest.$ac_ext >&5
29298
29299 ac_lo= ac_hi=
29300 fi
29301
29302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29303 fi
29304
29305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29306 # Binary search between lo and hi bounds.
29307 while test "x$ac_lo" != "x$ac_hi"; do
29308 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29309 cat >conftest.$ac_ext <<_ACEOF
29310 /* confdefs.h. */
29311 _ACEOF
29312 cat confdefs.h >>conftest.$ac_ext
29313 cat >>conftest.$ac_ext <<_ACEOF
29314 /* end confdefs.h. */
29315
29316 #undef HAVE_BOOLEAN
29317 #include <stdio.h>
29318 #include <jpeglib.h>
29319
29320
29321 typedef boolean ac__type_sizeof_;
29322 int
29323 main ()
29324 {
29325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29326 test_array [0] = 0
29327
29328 ;
29329 return 0;
29330 }
29331 _ACEOF
29332 rm -f conftest.$ac_objext
29333 if { (ac_try="$ac_compile"
29334 case "(($ac_try" in
29335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29336 *) ac_try_echo=$ac_try;;
29337 esac
29338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29339 (eval "$ac_compile") 2>conftest.er1
29340 ac_status=$?
29341 grep -v '^ *+' conftest.er1 >conftest.err
29342 rm -f conftest.er1
29343 cat conftest.err >&5
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); } && {
29346 test -z "$ac_c_werror_flag" ||
29347 test ! -s conftest.err
29348 } && test -s conftest.$ac_objext; then
29349 ac_hi=$ac_mid
29350 else
29351 echo "$as_me: failed program was:" >&5
29352 sed 's/^/| /' conftest.$ac_ext >&5
29353
29354 ac_lo=`expr '(' $ac_mid ')' + 1`
29355 fi
29356
29357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29358 done
29359 case $ac_lo in
29360 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29361 '') if test "$ac_cv_type_boolean" = yes; then
29362 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29363 See \`config.log' for more details." >&5
29364 echo "$as_me: error: cannot compute sizeof (boolean)
29365 See \`config.log' for more details." >&2;}
29366 { (exit 77); exit 77; }; }
29367 else
29368 ac_cv_sizeof_boolean=0
29369 fi ;;
29370 esac
29371 else
29372 cat >conftest.$ac_ext <<_ACEOF
29373 /* confdefs.h. */
29374 _ACEOF
29375 cat confdefs.h >>conftest.$ac_ext
29376 cat >>conftest.$ac_ext <<_ACEOF
29377 /* end confdefs.h. */
29378
29379 #undef HAVE_BOOLEAN
29380 #include <stdio.h>
29381 #include <jpeglib.h>
29382
29383
29384 typedef boolean ac__type_sizeof_;
29385 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29386 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29387 #include <stdio.h>
29388 #include <stdlib.h>
29389 int
29390 main ()
29391 {
29392
29393 FILE *f = fopen ("conftest.val", "w");
29394 if (! f)
29395 return 1;
29396 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29397 {
29398 long int i = longval ();
29399 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29400 return 1;
29401 fprintf (f, "%ld\n", i);
29402 }
29403 else
29404 {
29405 unsigned long int i = ulongval ();
29406 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29407 return 1;
29408 fprintf (f, "%lu\n", i);
29409 }
29410 return ferror (f) || fclose (f) != 0;
29411
29412 ;
29413 return 0;
29414 }
29415 _ACEOF
29416 rm -f conftest$ac_exeext
29417 if { (ac_try="$ac_link"
29418 case "(($ac_try" in
29419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29420 *) ac_try_echo=$ac_try;;
29421 esac
29422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29423 (eval "$ac_link") 2>&5
29424 ac_status=$?
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29427 { (case "(($ac_try" in
29428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29429 *) ac_try_echo=$ac_try;;
29430 esac
29431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29432 (eval "$ac_try") 2>&5
29433 ac_status=$?
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; }; then
29436 ac_cv_sizeof_boolean=`cat conftest.val`
29437 else
29438 echo "$as_me: program exited with status $ac_status" >&5
29439 echo "$as_me: failed program was:" >&5
29440 sed 's/^/| /' conftest.$ac_ext >&5
29441
29442 ( exit $ac_status )
29443 if test "$ac_cv_type_boolean" = yes; then
29444 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29445 See \`config.log' for more details." >&5
29446 echo "$as_me: error: cannot compute sizeof (boolean)
29447 See \`config.log' for more details." >&2;}
29448 { (exit 77); exit 77; }; }
29449 else
29450 ac_cv_sizeof_boolean=0
29451 fi
29452 fi
29453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29454 fi
29455 rm -f conftest.val
29456 fi
29457 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29458 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29459
29460
29461
29462 cat >>confdefs.h <<_ACEOF
29463 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29464 _ACEOF
29465
29466
29467 cat >>confdefs.h <<_ACEOF
29468 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29469 _ACEOF
29470
29471
29472 fi
29473
29474 fi
29475 fi
29476 fi
29477 fi
29478 fi
29479
29480
29481 TIFF_LINK=
29482 TIFF_PREREQ_LINKS=-lm
29483 if test "$wxUSE_LIBTIFF" != "no" ; then
29484 cat >>confdefs.h <<\_ACEOF
29485 #define wxUSE_LIBTIFF 1
29486 _ACEOF
29487
29488
29489 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29490 if test "$wxUSE_LIBJPEG" = "sys"; then
29491 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29492 fi
29493 if test "$wxUSE_ZLIB" = "sys"; then
29494 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29495 fi
29496 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29497 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29498 if test "${ac_cv_header_tiffio_h+set}" = set; then
29499 echo $ECHO_N "(cached) $ECHO_C" >&6
29500 else
29501 cat >conftest.$ac_ext <<_ACEOF
29502 /* confdefs.h. */
29503 _ACEOF
29504 cat confdefs.h >>conftest.$ac_ext
29505 cat >>conftest.$ac_ext <<_ACEOF
29506 /* end confdefs.h. */
29507
29508
29509
29510 #include <tiffio.h>
29511 _ACEOF
29512 rm -f conftest.$ac_objext
29513 if { (ac_try="$ac_compile"
29514 case "(($ac_try" in
29515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29516 *) ac_try_echo=$ac_try;;
29517 esac
29518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29519 (eval "$ac_compile") 2>conftest.er1
29520 ac_status=$?
29521 grep -v '^ *+' conftest.er1 >conftest.err
29522 rm -f conftest.er1
29523 cat conftest.err >&5
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); } && {
29526 test -z "$ac_c_werror_flag" ||
29527 test ! -s conftest.err
29528 } && test -s conftest.$ac_objext; then
29529 ac_cv_header_tiffio_h=yes
29530 else
29531 echo "$as_me: failed program was:" >&5
29532 sed 's/^/| /' conftest.$ac_ext >&5
29533
29534 ac_cv_header_tiffio_h=no
29535 fi
29536
29537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29538 fi
29539 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29540 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29541 if test $ac_cv_header_tiffio_h = yes; then
29542
29543 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29544 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29545 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29546 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 else
29548 ac_check_lib_save_LIBS=$LIBS
29549 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29550 cat >conftest.$ac_ext <<_ACEOF
29551 /* confdefs.h. */
29552 _ACEOF
29553 cat confdefs.h >>conftest.$ac_ext
29554 cat >>conftest.$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29556
29557 /* Override any GCC internal prototype to avoid an error.
29558 Use char because int might match the return type of a GCC
29559 builtin and then its argument prototype would still apply. */
29560 #ifdef __cplusplus
29561 extern "C"
29562 #endif
29563 char TIFFError ();
29564 int
29565 main ()
29566 {
29567 return TIFFError ();
29568 ;
29569 return 0;
29570 }
29571 _ACEOF
29572 rm -f conftest.$ac_objext conftest$ac_exeext
29573 if { (ac_try="$ac_link"
29574 case "(($ac_try" in
29575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29576 *) ac_try_echo=$ac_try;;
29577 esac
29578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29579 (eval "$ac_link") 2>conftest.er1
29580 ac_status=$?
29581 grep -v '^ *+' conftest.er1 >conftest.err
29582 rm -f conftest.er1
29583 cat conftest.err >&5
29584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585 (exit $ac_status); } && {
29586 test -z "$ac_c_werror_flag" ||
29587 test ! -s conftest.err
29588 } && test -s conftest$ac_exeext &&
29589 $as_test_x conftest$ac_exeext; then
29590 ac_cv_lib_tiff_TIFFError=yes
29591 else
29592 echo "$as_me: failed program was:" >&5
29593 sed 's/^/| /' conftest.$ac_ext >&5
29594
29595 ac_cv_lib_tiff_TIFFError=no
29596 fi
29597
29598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29599 conftest$ac_exeext conftest.$ac_ext
29600 LIBS=$ac_check_lib_save_LIBS
29601 fi
29602 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29603 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29604 if test $ac_cv_lib_tiff_TIFFError = yes; then
29605 TIFF_LINK=" -ltiff"
29606 fi
29607
29608
29609 fi
29610
29611
29612
29613 if test "x$TIFF_LINK" = "x" ; then
29614 if test "$wxUSE_LIBTIFF" = "sys" ; then
29615 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29616 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29617 { (exit 1); exit 1; }; }
29618 else
29619 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29620 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29621 wxUSE_LIBTIFF=builtin
29622 fi
29623 else
29624 wxUSE_LIBTIFF=sys
29625 fi
29626 fi
29627 fi
29628
29629
29630 if test "$wxUSE_WCHAR_T" != "yes"; then
29631 if test "$wxUSE_EXPAT" != "no"; then
29632 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29633 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29634 wxUSE_EXPAT=no
29635 fi
29636 if test "$wxUSE_XML" != "no"; then
29637 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29638 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29639 wxUSE_XML=no
29640 fi
29641 fi
29642
29643 if test "$wxUSE_EXPAT" != "no"; then
29644 wxUSE_XML=yes
29645 cat >>confdefs.h <<\_ACEOF
29646 #define wxUSE_EXPAT 1
29647 _ACEOF
29648
29649 cat >>confdefs.h <<\_ACEOF
29650 #define wxUSE_XML 1
29651 _ACEOF
29652
29653
29654 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29655 { echo "$as_me:$LINENO: checking for expat.h" >&5
29656 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29657 if test "${ac_cv_header_expat_h+set}" = set; then
29658 echo $ECHO_N "(cached) $ECHO_C" >&6
29659 else
29660 cat >conftest.$ac_ext <<_ACEOF
29661 /* confdefs.h. */
29662 _ACEOF
29663 cat confdefs.h >>conftest.$ac_ext
29664 cat >>conftest.$ac_ext <<_ACEOF
29665 /* end confdefs.h. */
29666
29667
29668 #include <expat.h>
29669 _ACEOF
29670 rm -f conftest.$ac_objext
29671 if { (ac_try="$ac_compile"
29672 case "(($ac_try" in
29673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29674 *) ac_try_echo=$ac_try;;
29675 esac
29676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29677 (eval "$ac_compile") 2>conftest.er1
29678 ac_status=$?
29679 grep -v '^ *+' conftest.er1 >conftest.err
29680 rm -f conftest.er1
29681 cat conftest.err >&5
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); } && {
29684 test -z "$ac_c_werror_flag" ||
29685 test ! -s conftest.err
29686 } && test -s conftest.$ac_objext; then
29687 ac_cv_header_expat_h=yes
29688 else
29689 echo "$as_me: failed program was:" >&5
29690 sed 's/^/| /' conftest.$ac_ext >&5
29691
29692 ac_cv_header_expat_h=no
29693 fi
29694
29695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29696 fi
29697 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29698 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29699 if test $ac_cv_header_expat_h = yes; then
29700 found_expat_h=1
29701 fi
29702
29703
29704 if test "x$found_expat_h" = "x1"; then
29705 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29706 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29707 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29708 echo $ECHO_N "(cached) $ECHO_C" >&6
29709 else
29710
29711 ac_ext=cpp
29712 ac_cpp='$CXXCPP $CPPFLAGS'
29713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29716
29717 cat >conftest.$ac_ext <<_ACEOF
29718 /* confdefs.h. */
29719 _ACEOF
29720 cat confdefs.h >>conftest.$ac_ext
29721 cat >>conftest.$ac_ext <<_ACEOF
29722 /* end confdefs.h. */
29723 #include <expat.h>
29724 int
29725 main ()
29726 {
29727
29728 ;
29729 return 0;
29730 }
29731 _ACEOF
29732 rm -f conftest.$ac_objext
29733 if { (ac_try="$ac_compile"
29734 case "(($ac_try" in
29735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29736 *) ac_try_echo=$ac_try;;
29737 esac
29738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29739 (eval "$ac_compile") 2>conftest.er1
29740 ac_status=$?
29741 grep -v '^ *+' conftest.er1 >conftest.err
29742 rm -f conftest.er1
29743 cat conftest.err >&5
29744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29745 (exit $ac_status); } && {
29746 test -z "$ac_cxx_werror_flag" ||
29747 test ! -s conftest.err
29748 } && test -s conftest.$ac_objext; then
29749 wx_cv_expat_is_not_broken=yes
29750 else
29751 echo "$as_me: failed program was:" >&5
29752 sed 's/^/| /' conftest.$ac_ext >&5
29753
29754 wx_cv_expat_is_not_broken=no
29755
29756 fi
29757
29758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29759 ac_ext=c
29760 ac_cpp='$CPP $CPPFLAGS'
29761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29764
29765
29766
29767 fi
29768 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29769 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29770 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29771 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29772 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29773 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29774 echo $ECHO_N "(cached) $ECHO_C" >&6
29775 else
29776 ac_check_lib_save_LIBS=$LIBS
29777 LIBS="-lexpat $LIBS"
29778 cat >conftest.$ac_ext <<_ACEOF
29779 /* confdefs.h. */
29780 _ACEOF
29781 cat confdefs.h >>conftest.$ac_ext
29782 cat >>conftest.$ac_ext <<_ACEOF
29783 /* end confdefs.h. */
29784
29785 /* Override any GCC internal prototype to avoid an error.
29786 Use char because int might match the return type of a GCC
29787 builtin and then its argument prototype would still apply. */
29788 #ifdef __cplusplus
29789 extern "C"
29790 #endif
29791 char XML_ParserCreate ();
29792 int
29793 main ()
29794 {
29795 return XML_ParserCreate ();
29796 ;
29797 return 0;
29798 }
29799 _ACEOF
29800 rm -f conftest.$ac_objext conftest$ac_exeext
29801 if { (ac_try="$ac_link"
29802 case "(($ac_try" in
29803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29804 *) ac_try_echo=$ac_try;;
29805 esac
29806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29807 (eval "$ac_link") 2>conftest.er1
29808 ac_status=$?
29809 grep -v '^ *+' conftest.er1 >conftest.err
29810 rm -f conftest.er1
29811 cat conftest.err >&5
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); } && {
29814 test -z "$ac_c_werror_flag" ||
29815 test ! -s conftest.err
29816 } && test -s conftest$ac_exeext &&
29817 $as_test_x conftest$ac_exeext; then
29818 ac_cv_lib_expat_XML_ParserCreate=yes
29819 else
29820 echo "$as_me: failed program was:" >&5
29821 sed 's/^/| /' conftest.$ac_ext >&5
29822
29823 ac_cv_lib_expat_XML_ParserCreate=no
29824 fi
29825
29826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29827 conftest$ac_exeext conftest.$ac_ext
29828 LIBS=$ac_check_lib_save_LIBS
29829 fi
29830 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29831 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29832 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29833 EXPAT_LINK=" -lexpat"
29834 fi
29835
29836 fi
29837 fi
29838 if test "x$EXPAT_LINK" = "x" ; then
29839 if test "$wxUSE_EXPAT" = "sys" ; then
29840 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29841 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29842 { (exit 1); exit 1; }; }
29843 else
29844 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29845 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29846 wxUSE_EXPAT=builtin
29847 fi
29848 else
29849 wxUSE_EXPAT=sys
29850 fi
29851 fi
29852 if test "$wxUSE_EXPAT" = "builtin" ; then
29853 subdirs="$subdirs src/expat"
29854
29855 fi
29856 fi
29857
29858
29859
29860 if test "$wxUSE_LIBMSPACK" != "no"; then
29861 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29862 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29863 if test "${ac_cv_header_mspack_h+set}" = set; then
29864 echo $ECHO_N "(cached) $ECHO_C" >&6
29865 else
29866 cat >conftest.$ac_ext <<_ACEOF
29867 /* confdefs.h. */
29868 _ACEOF
29869 cat confdefs.h >>conftest.$ac_ext
29870 cat >>conftest.$ac_ext <<_ACEOF
29871 /* end confdefs.h. */
29872
29873
29874 #include <mspack.h>
29875 _ACEOF
29876 rm -f conftest.$ac_objext
29877 if { (ac_try="$ac_compile"
29878 case "(($ac_try" in
29879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29880 *) ac_try_echo=$ac_try;;
29881 esac
29882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29883 (eval "$ac_compile") 2>conftest.er1
29884 ac_status=$?
29885 grep -v '^ *+' conftest.er1 >conftest.err
29886 rm -f conftest.er1
29887 cat conftest.err >&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); } && {
29890 test -z "$ac_c_werror_flag" ||
29891 test ! -s conftest.err
29892 } && test -s conftest.$ac_objext; then
29893 ac_cv_header_mspack_h=yes
29894 else
29895 echo "$as_me: failed program was:" >&5
29896 sed 's/^/| /' conftest.$ac_ext >&5
29897
29898 ac_cv_header_mspack_h=no
29899 fi
29900
29901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29902 fi
29903 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29904 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29905 if test $ac_cv_header_mspack_h = yes; then
29906 found_mspack_h=1
29907 fi
29908
29909
29910 if test "x$found_mspack_h" = "x1"; then
29911 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29912 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29913 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29914 echo $ECHO_N "(cached) $ECHO_C" >&6
29915 else
29916 ac_check_lib_save_LIBS=$LIBS
29917 LIBS="-lmspack $LIBS"
29918 cat >conftest.$ac_ext <<_ACEOF
29919 /* confdefs.h. */
29920 _ACEOF
29921 cat confdefs.h >>conftest.$ac_ext
29922 cat >>conftest.$ac_ext <<_ACEOF
29923 /* end confdefs.h. */
29924
29925 /* Override any GCC internal prototype to avoid an error.
29926 Use char because int might match the return type of a GCC
29927 builtin and then its argument prototype would still apply. */
29928 #ifdef __cplusplus
29929 extern "C"
29930 #endif
29931 char mspack_create_chm_decompressor ();
29932 int
29933 main ()
29934 {
29935 return mspack_create_chm_decompressor ();
29936 ;
29937 return 0;
29938 }
29939 _ACEOF
29940 rm -f conftest.$ac_objext conftest$ac_exeext
29941 if { (ac_try="$ac_link"
29942 case "(($ac_try" in
29943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29944 *) ac_try_echo=$ac_try;;
29945 esac
29946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29947 (eval "$ac_link") 2>conftest.er1
29948 ac_status=$?
29949 grep -v '^ *+' conftest.er1 >conftest.err
29950 rm -f conftest.er1
29951 cat conftest.err >&5
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); } && {
29954 test -z "$ac_c_werror_flag" ||
29955 test ! -s conftest.err
29956 } && test -s conftest$ac_exeext &&
29957 $as_test_x conftest$ac_exeext; then
29958 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29959 else
29960 echo "$as_me: failed program was:" >&5
29961 sed 's/^/| /' conftest.$ac_ext >&5
29962
29963 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29964 fi
29965
29966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29967 conftest$ac_exeext conftest.$ac_ext
29968 LIBS=$ac_check_lib_save_LIBS
29969 fi
29970 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29971 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29972 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29973 MSPACK_LINK=" -lmspack"
29974 fi
29975
29976 fi
29977 if test "x$MSPACK_LINK" = "x" ; then
29978 wxUSE_LIBMSPACK=no
29979 fi
29980 fi
29981
29982 if test "$wxUSE_LIBMSPACK" != "no"; then
29983 cat >>confdefs.h <<\_ACEOF
29984 #define wxUSE_LIBMSPACK 1
29985 _ACEOF
29986
29987 fi
29988
29989
29990
29991 AFMINSTALL=
29992 WIN32INSTALL=
29993
29994 TOOLKIT=
29995 TOOLKIT_INCLUDE=
29996 WIDGET_SET=
29997
29998 if test "$USE_WIN32" = 1 ; then
29999 { echo "$as_me:$LINENO: checking for w32api.h" >&5
30000 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
30001 if test "${ac_cv_header_w32api_h+set}" = set; then
30002 echo $ECHO_N "(cached) $ECHO_C" >&6
30003 else
30004 cat >conftest.$ac_ext <<_ACEOF
30005 /* confdefs.h. */
30006 _ACEOF
30007 cat confdefs.h >>conftest.$ac_ext
30008 cat >>conftest.$ac_ext <<_ACEOF
30009 /* end confdefs.h. */
30010
30011
30012 #include <w32api.h>
30013 _ACEOF
30014 rm -f conftest.$ac_objext
30015 if { (ac_try="$ac_compile"
30016 case "(($ac_try" in
30017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30018 *) ac_try_echo=$ac_try;;
30019 esac
30020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30021 (eval "$ac_compile") 2>conftest.er1
30022 ac_status=$?
30023 grep -v '^ *+' conftest.er1 >conftest.err
30024 rm -f conftest.er1
30025 cat conftest.err >&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); } && {
30028 test -z "$ac_c_werror_flag" ||
30029 test ! -s conftest.err
30030 } && test -s conftest.$ac_objext; then
30031 ac_cv_header_w32api_h=yes
30032 else
30033 echo "$as_me: failed program was:" >&5
30034 sed 's/^/| /' conftest.$ac_ext >&5
30035
30036 ac_cv_header_w32api_h=no
30037 fi
30038
30039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30040 fi
30041 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
30042 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
30043
30044
30045 { echo "$as_me:$LINENO: checking for windows.h" >&5
30046 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30047 if test "${ac_cv_header_windows_h+set}" = set; then
30048 echo $ECHO_N "(cached) $ECHO_C" >&6
30049 else
30050 cat >conftest.$ac_ext <<_ACEOF
30051 /* confdefs.h. */
30052 _ACEOF
30053 cat confdefs.h >>conftest.$ac_ext
30054 cat >>conftest.$ac_ext <<_ACEOF
30055 /* end confdefs.h. */
30056
30057
30058 #include <windows.h>
30059 _ACEOF
30060 rm -f conftest.$ac_objext
30061 if { (ac_try="$ac_compile"
30062 case "(($ac_try" in
30063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30064 *) ac_try_echo=$ac_try;;
30065 esac
30066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30067 (eval "$ac_compile") 2>conftest.er1
30068 ac_status=$?
30069 grep -v '^ *+' conftest.er1 >conftest.err
30070 rm -f conftest.er1
30071 cat conftest.err >&5
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); } && {
30074 test -z "$ac_c_werror_flag" ||
30075 test ! -s conftest.err
30076 } && test -s conftest.$ac_objext; then
30077 ac_cv_header_windows_h=yes
30078 else
30079 echo "$as_me: failed program was:" >&5
30080 sed 's/^/| /' conftest.$ac_ext >&5
30081
30082 ac_cv_header_windows_h=no
30083 fi
30084
30085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30086 fi
30087 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30088 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30089 if test $ac_cv_header_windows_h = yes; then
30090 :
30091 else
30092
30093 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30094 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30095 { (exit 1); exit 1; }; }
30096
30097 fi
30098
30099
30100
30101 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30102
30103 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30104 LIBS="$LIBS -loleacc"
30105 fi
30106
30107 case "${host}" in
30108 *-*-cygwin* )
30109 LIBS="$LIBS -lkernel32 -luser32"
30110 esac
30111
30112 if test "$wxUSE_ODBC" = "sys" ; then
30113 wxUSE_ODBC = "yes"
30114 fi
30115 if test "$wxUSE_ODBC" = "yes" ; then
30116 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30117 cat >>confdefs.h <<\_ACEOF
30118 #define wxUSE_ODBC 1
30119 _ACEOF
30120
30121 fi
30122
30123 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30124 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30125
30126 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30127
30128 WIN32INSTALL=win32install
30129
30130 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30131 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30132 if test "${ac_cv_header_pbt_h+set}" = set; then
30133 echo $ECHO_N "(cached) $ECHO_C" >&6
30134 else
30135 cat >conftest.$ac_ext <<_ACEOF
30136 /* confdefs.h. */
30137 _ACEOF
30138 cat confdefs.h >>conftest.$ac_ext
30139 cat >>conftest.$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30141
30142
30143 #include <pbt.h>
30144 _ACEOF
30145 rm -f conftest.$ac_objext
30146 if { (ac_try="$ac_compile"
30147 case "(($ac_try" in
30148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30149 *) ac_try_echo=$ac_try;;
30150 esac
30151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30152 (eval "$ac_compile") 2>conftest.er1
30153 ac_status=$?
30154 grep -v '^ *+' conftest.er1 >conftest.err
30155 rm -f conftest.er1
30156 cat conftest.err >&5
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); } && {
30159 test -z "$ac_c_werror_flag" ||
30160 test ! -s conftest.err
30161 } && test -s conftest.$ac_objext; then
30162 ac_cv_header_pbt_h=yes
30163 else
30164 echo "$as_me: failed program was:" >&5
30165 sed 's/^/| /' conftest.$ac_ext >&5
30166
30167 ac_cv_header_pbt_h=no
30168 fi
30169
30170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30171 fi
30172 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30173 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30174 if test $ac_cv_header_pbt_h = yes; then
30175 :
30176 else
30177 cat >>confdefs.h <<\_ACEOF
30178 #define NEED_PBT_H 1
30179 _ACEOF
30180
30181 fi
30182
30183
30184 fi
30185
30186 if test "$wxUSE_GUI" = "yes"; then
30187 USE_GUI=1
30188
30189 GUI_TK_LIBRARY=
30190
30191 WXGTK12=
30192 WXGTK127=
30193 WXGTK20=
30194 WXGPE=
30195
30196 if test "$wxUSE_COCOA" = 1 ; then
30197 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30198 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30199 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30200 wxUSE_PRINTING_ARCHITECTURE=no
30201 fi
30202 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30203 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30204 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30205 wxUSE_DRAG_AND_DROP=no
30206 fi
30207 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30208 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30209 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30210 wxUSE_DRAGIMAGE=no
30211 fi
30212 fi
30213
30214 if test "$wxUSE_MSW" = 1 ; then
30215 TOOLKIT=MSW
30216 GUIDIST=MSW_DIST
30217
30218 case "${host}" in
30219 *-*-mingw32* )
30220 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30221 esac
30222 fi
30223
30224 if test "$wxUSE_GTK" = 1; then
30225 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30226 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30227
30228 gtk_version_cached=1
30229 if test "${wx_cv_lib_gtk+set}" = set; then
30230 echo $ECHO_N "(cached) $ECHO_C" >&6
30231 else
30232
30233 gtk_version_cached=0
30234 { echo "$as_me:$LINENO: result: " >&5
30235 echo "${ECHO_T}" >&6; }
30236
30237 GTK_MODULES=
30238 if test "$wxUSE_THREADS" = "yes"; then
30239 GTK_MODULES=gthread
30240 fi
30241
30242 wx_cv_lib_gtk=
30243 if test "x$wxGTK_VERSION" != "x1"
30244 then
30245 case "${host}" in
30246 *-*-solaris2* )
30247 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30248 enable_gtktest=no
30249 fi
30250 esac
30251
30252 # Check whether --enable-gtktest was given.
30253 if test "${enable_gtktest+set}" = set; then
30254 enableval=$enable_gtktest;
30255 else
30256 enable_gtktest=yes
30257 fi
30258
30259
30260 pkg_config_args=gtk+-2.0
30261 for module in . $GTK_MODULES
30262 do
30263 case "$module" in
30264 gthread)
30265 pkg_config_args="$pkg_config_args gthread-2.0"
30266 ;;
30267 esac
30268 done
30269
30270 no_gtk=""
30271
30272 # Extract the first word of "pkg-config", so it can be a program name with args.
30273 set dummy pkg-config; ac_word=$2
30274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30276 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30277 echo $ECHO_N "(cached) $ECHO_C" >&6
30278 else
30279 case $PKG_CONFIG in
30280 [\\/]* | ?:[\\/]*)
30281 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30282 ;;
30283 *)
30284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30285 for as_dir in $PATH
30286 do
30287 IFS=$as_save_IFS
30288 test -z "$as_dir" && as_dir=.
30289 for ac_exec_ext in '' $ac_executable_extensions; do
30290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30291 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30293 break 2
30294 fi
30295 done
30296 done
30297 IFS=$as_save_IFS
30298
30299 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30300 ;;
30301 esac
30302 fi
30303 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30304 if test -n "$PKG_CONFIG"; then
30305 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30306 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30307 else
30308 { echo "$as_me:$LINENO: result: no" >&5
30309 echo "${ECHO_T}no" >&6; }
30310 fi
30311
30312
30313
30314 if test x$PKG_CONFIG != xno ; then
30315 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30316 :
30317 else
30318 echo "*** pkg-config too old; version 0.7 or better required."
30319 no_gtk=yes
30320 PKG_CONFIG=no
30321 fi
30322 else
30323 no_gtk=yes
30324 fi
30325
30326 min_gtk_version=2.0.0
30327 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30328 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30329
30330 if test x$PKG_CONFIG != xno ; then
30331 ## don't try to run the test against uninstalled libtool libs
30332 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30333 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30334 enable_gtktest=no
30335 fi
30336
30337 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30338 :
30339 else
30340 no_gtk=yes
30341 fi
30342 fi
30343
30344 if test x"$no_gtk" = x ; then
30345 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30346 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30347 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30348 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30349 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30350 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30351 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30352 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30353 if test "x$enable_gtktest" = "xyes" ; then
30354 ac_save_CFLAGS="$CFLAGS"
30355 ac_save_LIBS="$LIBS"
30356 CFLAGS="$CFLAGS $GTK_CFLAGS"
30357 LIBS="$GTK_LIBS $LIBS"
30358 rm -f conf.gtktest
30359 if test "$cross_compiling" = yes; then
30360 echo $ac_n "cross compiling; assumed OK... $ac_c"
30361 else
30362 cat >conftest.$ac_ext <<_ACEOF
30363 /* confdefs.h. */
30364 _ACEOF
30365 cat confdefs.h >>conftest.$ac_ext
30366 cat >>conftest.$ac_ext <<_ACEOF
30367 /* end confdefs.h. */
30368
30369 #include <gtk/gtk.h>
30370 #include <stdio.h>
30371 #include <stdlib.h>
30372
30373 int
30374 main ()
30375 {
30376 int major, minor, micro;
30377 char *tmp_version;
30378
30379 system ("touch conf.gtktest");
30380
30381 /* HP/UX 9 (%@#!) writes to sscanf strings */
30382 tmp_version = g_strdup("$min_gtk_version");
30383 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30384 printf("%s, bad version string\n", "$min_gtk_version");
30385 exit(1);
30386 }
30387
30388 if ((gtk_major_version != $gtk_config_major_version) ||
30389 (gtk_minor_version != $gtk_config_minor_version) ||
30390 (gtk_micro_version != $gtk_config_micro_version))
30391 {
30392 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30393 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30394 gtk_major_version, gtk_minor_version, gtk_micro_version);
30395 printf ("*** was found! If pkg-config was correct, then it is best\n");
30396 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30397 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30398 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30399 printf("*** required on your system.\n");
30400 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30401 printf("*** to point to the correct configuration files\n");
30402 }
30403 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30404 (gtk_minor_version != GTK_MINOR_VERSION) ||
30405 (gtk_micro_version != GTK_MICRO_VERSION))
30406 {
30407 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30408 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30409 printf("*** library (version %d.%d.%d)\n",
30410 gtk_major_version, gtk_minor_version, gtk_micro_version);
30411 }
30412 else
30413 {
30414 if ((gtk_major_version > major) ||
30415 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30416 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30417 {
30418 return 0;
30419 }
30420 else
30421 {
30422 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30423 gtk_major_version, gtk_minor_version, gtk_micro_version);
30424 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30425 major, minor, micro);
30426 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30427 printf("***\n");
30428 printf("*** If you have already installed a sufficiently new version, this error\n");
30429 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30430 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30431 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30432 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30433 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30434 printf("*** so that the correct libraries are found at run-time))\n");
30435 }
30436 }
30437 return 1;
30438 }
30439
30440 _ACEOF
30441 rm -f conftest$ac_exeext
30442 if { (ac_try="$ac_link"
30443 case "(($ac_try" in
30444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30445 *) ac_try_echo=$ac_try;;
30446 esac
30447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30448 (eval "$ac_link") 2>&5
30449 ac_status=$?
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30452 { (case "(($ac_try" in
30453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30454 *) ac_try_echo=$ac_try;;
30455 esac
30456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30457 (eval "$ac_try") 2>&5
30458 ac_status=$?
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); }; }; then
30461 :
30462 else
30463 echo "$as_me: program exited with status $ac_status" >&5
30464 echo "$as_me: failed program was:" >&5
30465 sed 's/^/| /' conftest.$ac_ext >&5
30466
30467 ( exit $ac_status )
30468 no_gtk=yes
30469 fi
30470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30471 fi
30472
30473
30474 CFLAGS="$ac_save_CFLAGS"
30475 LIBS="$ac_save_LIBS"
30476 fi
30477 fi
30478 if test "x$no_gtk" = x ; then
30479 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30480 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30481 wx_cv_lib_gtk=2.0
30482 else
30483 { echo "$as_me:$LINENO: result: no" >&5
30484 echo "${ECHO_T}no" >&6; }
30485 if test "$PKG_CONFIG" = "no" ; then
30486 echo "*** A new enough version of pkg-config was not found."
30487 echo "*** See http://pkgconfig.sourceforge.net"
30488 else
30489 if test -f conf.gtktest ; then
30490 :
30491 else
30492 echo "*** Could not run GTK+ test program, checking why..."
30493 ac_save_CFLAGS="$CFLAGS"
30494 ac_save_LIBS="$LIBS"
30495 CFLAGS="$CFLAGS $GTK_CFLAGS"
30496 LIBS="$LIBS $GTK_LIBS"
30497 cat >conftest.$ac_ext <<_ACEOF
30498 /* confdefs.h. */
30499 _ACEOF
30500 cat confdefs.h >>conftest.$ac_ext
30501 cat >>conftest.$ac_ext <<_ACEOF
30502 /* end confdefs.h. */
30503
30504 #include <gtk/gtk.h>
30505 #include <stdio.h>
30506
30507 int
30508 main ()
30509 {
30510 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30511 ;
30512 return 0;
30513 }
30514 _ACEOF
30515 rm -f conftest.$ac_objext conftest$ac_exeext
30516 if { (ac_try="$ac_link"
30517 case "(($ac_try" in
30518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30519 *) ac_try_echo=$ac_try;;
30520 esac
30521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30522 (eval "$ac_link") 2>conftest.er1
30523 ac_status=$?
30524 grep -v '^ *+' conftest.er1 >conftest.err
30525 rm -f conftest.er1
30526 cat conftest.err >&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); } && {
30529 test -z "$ac_c_werror_flag" ||
30530 test ! -s conftest.err
30531 } && test -s conftest$ac_exeext &&
30532 $as_test_x conftest$ac_exeext; then
30533 echo "*** The test program compiled, but did not run. This usually means"
30534 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30535 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30536 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30537 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30538 echo "*** is required on your system"
30539 echo "***"
30540 echo "*** If you have an old version installed, it is best to remove it, although"
30541 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30542 else
30543 echo "$as_me: failed program was:" >&5
30544 sed 's/^/| /' conftest.$ac_ext >&5
30545
30546 echo "*** The test program failed to compile or link. See the file config.log for the"
30547 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30548 fi
30549
30550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30551 conftest$ac_exeext conftest.$ac_ext
30552 CFLAGS="$ac_save_CFLAGS"
30553 LIBS="$ac_save_LIBS"
30554 fi
30555 fi
30556 GTK_CFLAGS=""
30557 GTK_LIBS=""
30558 :
30559 fi
30560
30561
30562 rm -f conf.gtktest
30563
30564
30565 case "${host}" in
30566 *-*-solaris2* )
30567 if test "$wxUSE_SHARED" != "yes"; then
30568 GTK_LIBS="$GTK_LIBS -lX11"
30569 fi
30570 esac
30571 fi
30572
30573 if test -z "$wx_cv_lib_gtk"; then
30574 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30575
30576 # Check whether --with-gtk-prefix was given.
30577 if test "${with_gtk_prefix+set}" = set; then
30578 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30579 else
30580 gtk_config_prefix=""
30581 fi
30582
30583
30584 # Check whether --with-gtk-exec-prefix was given.
30585 if test "${with_gtk_exec_prefix+set}" = set; then
30586 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30587 else
30588 gtk_config_exec_prefix=""
30589 fi
30590
30591 # Check whether --enable-gtktest was given.
30592 if test "${enable_gtktest+set}" = set; then
30593 enableval=$enable_gtktest;
30594 else
30595 enable_gtktest=yes
30596 fi
30597
30598
30599 for module in . $GTK_MODULES
30600 do
30601 case "$module" in
30602 gthread)
30603 gtk_config_args="$gtk_config_args gthread"
30604 ;;
30605 esac
30606 done
30607
30608 if test x$gtk_config_exec_prefix != x ; then
30609 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30610 if test x${GTK_CONFIG+set} != xset ; then
30611 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30612 fi
30613 fi
30614 if test x$gtk_config_prefix != x ; then
30615 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30616 if test x${GTK_CONFIG+set} != xset ; then
30617 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30618 fi
30619 fi
30620
30621 # Extract the first word of "gtk-config", so it can be a program name with args.
30622 set dummy gtk-config; ac_word=$2
30623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30625 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30627 else
30628 case $GTK_CONFIG in
30629 [\\/]* | ?:[\\/]*)
30630 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30631 ;;
30632 *)
30633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30634 for as_dir in $PATH
30635 do
30636 IFS=$as_save_IFS
30637 test -z "$as_dir" && as_dir=.
30638 for ac_exec_ext in '' $ac_executable_extensions; do
30639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30640 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30642 break 2
30643 fi
30644 done
30645 done
30646 IFS=$as_save_IFS
30647
30648 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30649 ;;
30650 esac
30651 fi
30652 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30653 if test -n "$GTK_CONFIG"; then
30654 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30655 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30656 else
30657 { echo "$as_me:$LINENO: result: no" >&5
30658 echo "${ECHO_T}no" >&6; }
30659 fi
30660
30661
30662 min_gtk_version=1.2.7
30663 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30664 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30665 no_gtk=""
30666 if test "$GTK_CONFIG" = "no" ; then
30667 no_gtk=yes
30668 else
30669 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30670 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30671 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30673 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30675 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30677 if test "x$enable_gtktest" = "xyes" ; then
30678 ac_save_CFLAGS="$CFLAGS"
30679 ac_save_LIBS="$LIBS"
30680 CFLAGS="$CFLAGS $GTK_CFLAGS"
30681 LIBS="$GTK_LIBS $LIBS"
30682 rm -f conf.gtktest
30683 if test "$cross_compiling" = yes; then
30684 echo $ac_n "cross compiling; assumed OK... $ac_c"
30685 else
30686 cat >conftest.$ac_ext <<_ACEOF
30687 /* confdefs.h. */
30688 _ACEOF
30689 cat confdefs.h >>conftest.$ac_ext
30690 cat >>conftest.$ac_ext <<_ACEOF
30691 /* end confdefs.h. */
30692
30693 #include <gtk/gtk.h>
30694 #include <stdio.h>
30695 #include <stdlib.h>
30696
30697 int
30698 main ()
30699 {
30700 int major, minor, micro;
30701 char *tmp_version;
30702
30703 system ("touch conf.gtktest");
30704
30705 /* HP/UX 9 (%@#!) writes to sscanf strings */
30706 tmp_version = g_strdup("$min_gtk_version");
30707 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30708 printf("%s, bad version string\n", "$min_gtk_version");
30709 exit(1);
30710 }
30711
30712 if ((gtk_major_version != $gtk_config_major_version) ||
30713 (gtk_minor_version != $gtk_config_minor_version) ||
30714 (gtk_micro_version != $gtk_config_micro_version))
30715 {
30716 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30717 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30718 gtk_major_version, gtk_minor_version, gtk_micro_version);
30719 printf ("*** was found! If gtk-config was correct, then it is best\n");
30720 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30721 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30722 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30723 printf("*** required on your system.\n");
30724 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30725 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30726 printf("*** before re-running configure\n");
30727 }
30728 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30729 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30730 (gtk_minor_version != GTK_MINOR_VERSION) ||
30731 (gtk_micro_version != GTK_MICRO_VERSION))
30732 {
30733 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30734 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30735 printf("*** library (version %d.%d.%d)\n",
30736 gtk_major_version, gtk_minor_version, gtk_micro_version);
30737 }
30738 #endif /* defined (GTK_MAJOR_VERSION) ... */
30739 else
30740 {
30741 if ((gtk_major_version > major) ||
30742 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30743 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30744 {
30745 return 0;
30746 }
30747 else
30748 {
30749 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30750 gtk_major_version, gtk_minor_version, gtk_micro_version);
30751 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30752 major, minor, micro);
30753 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30754 printf("***\n");
30755 printf("*** If you have already installed a sufficiently new version, this error\n");
30756 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30757 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30758 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30759 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30760 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30761 printf("*** so that the correct libraries are found at run-time))\n");
30762 }
30763 }
30764 return 1;
30765 }
30766
30767 _ACEOF
30768 rm -f conftest$ac_exeext
30769 if { (ac_try="$ac_link"
30770 case "(($ac_try" in
30771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30772 *) ac_try_echo=$ac_try;;
30773 esac
30774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30775 (eval "$ac_link") 2>&5
30776 ac_status=$?
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30779 { (case "(($ac_try" in
30780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30781 *) ac_try_echo=$ac_try;;
30782 esac
30783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30784 (eval "$ac_try") 2>&5
30785 ac_status=$?
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); }; }; then
30788 :
30789 else
30790 echo "$as_me: program exited with status $ac_status" >&5
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.$ac_ext >&5
30793
30794 ( exit $ac_status )
30795 no_gtk=yes
30796 fi
30797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30798 fi
30799
30800
30801 CFLAGS="$ac_save_CFLAGS"
30802 LIBS="$ac_save_LIBS"
30803 fi
30804 fi
30805 if test "x$no_gtk" = x ; then
30806 { echo "$as_me:$LINENO: result: yes" >&5
30807 echo "${ECHO_T}yes" >&6; }
30808 wx_cv_lib_gtk=1.2.7
30809 else
30810 { echo "$as_me:$LINENO: result: no" >&5
30811 echo "${ECHO_T}no" >&6; }
30812 if test "$GTK_CONFIG" = "no" ; then
30813 echo "*** The gtk-config script installed by GTK could not be found"
30814 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30815 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30816 echo "*** full path to gtk-config."
30817 else
30818 if test -f conf.gtktest ; then
30819 :
30820 else
30821 echo "*** Could not run GTK test program, checking why..."
30822 CFLAGS="$CFLAGS $GTK_CFLAGS"
30823 LIBS="$LIBS $GTK_LIBS"
30824 cat >conftest.$ac_ext <<_ACEOF
30825 /* confdefs.h. */
30826 _ACEOF
30827 cat confdefs.h >>conftest.$ac_ext
30828 cat >>conftest.$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30830
30831 #include <gtk/gtk.h>
30832 #include <stdio.h>
30833
30834 int
30835 main ()
30836 {
30837 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30838 ;
30839 return 0;
30840 }
30841 _ACEOF
30842 rm -f conftest.$ac_objext conftest$ac_exeext
30843 if { (ac_try="$ac_link"
30844 case "(($ac_try" in
30845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30846 *) ac_try_echo=$ac_try;;
30847 esac
30848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30849 (eval "$ac_link") 2>conftest.er1
30850 ac_status=$?
30851 grep -v '^ *+' conftest.er1 >conftest.err
30852 rm -f conftest.er1
30853 cat conftest.err >&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } && {
30856 test -z "$ac_c_werror_flag" ||
30857 test ! -s conftest.err
30858 } && test -s conftest$ac_exeext &&
30859 $as_test_x conftest$ac_exeext; then
30860 echo "*** The test program compiled, but did not run. This usually means"
30861 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30862 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30863 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30864 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30865 echo "*** is required on your system"
30866 echo "***"
30867 echo "*** If you have an old version installed, it is best to remove it, although"
30868 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30869 echo "***"
30870 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30871 echo "*** came with the system with the command"
30872 echo "***"
30873 echo "*** rpm --erase --nodeps gtk gtk-devel"
30874 else
30875 echo "$as_me: failed program was:" >&5
30876 sed 's/^/| /' conftest.$ac_ext >&5
30877
30878 echo "*** The test program failed to compile or link. See the file config.log for the"
30879 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30880 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30881 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30882 fi
30883
30884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30885 conftest$ac_exeext conftest.$ac_ext
30886 CFLAGS="$ac_save_CFLAGS"
30887 LIBS="$ac_save_LIBS"
30888 fi
30889 fi
30890 GTK_CFLAGS=""
30891 GTK_LIBS=""
30892 :
30893 fi
30894
30895
30896 rm -f conf.gtktest
30897
30898
30899 if test -z "$wx_cv_lib_gtk"; then
30900
30901 # Check whether --with-gtk-prefix was given.
30902 if test "${with_gtk_prefix+set}" = set; then
30903 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30904 else
30905 gtk_config_prefix=""
30906 fi
30907
30908
30909 # Check whether --with-gtk-exec-prefix was given.
30910 if test "${with_gtk_exec_prefix+set}" = set; then
30911 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30912 else
30913 gtk_config_exec_prefix=""
30914 fi
30915
30916 # Check whether --enable-gtktest was given.
30917 if test "${enable_gtktest+set}" = set; then
30918 enableval=$enable_gtktest;
30919 else
30920 enable_gtktest=yes
30921 fi
30922
30923
30924 for module in . $GTK_MODULES
30925 do
30926 case "$module" in
30927 gthread)
30928 gtk_config_args="$gtk_config_args gthread"
30929 ;;
30930 esac
30931 done
30932
30933 if test x$gtk_config_exec_prefix != x ; then
30934 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30935 if test x${GTK_CONFIG+set} != xset ; then
30936 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30937 fi
30938 fi
30939 if test x$gtk_config_prefix != x ; then
30940 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30941 if test x${GTK_CONFIG+set} != xset ; then
30942 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30943 fi
30944 fi
30945
30946 # Extract the first word of "gtk-config", so it can be a program name with args.
30947 set dummy gtk-config; ac_word=$2
30948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30950 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30951 echo $ECHO_N "(cached) $ECHO_C" >&6
30952 else
30953 case $GTK_CONFIG in
30954 [\\/]* | ?:[\\/]*)
30955 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30956 ;;
30957 *)
30958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30959 for as_dir in $PATH
30960 do
30961 IFS=$as_save_IFS
30962 test -z "$as_dir" && as_dir=.
30963 for ac_exec_ext in '' $ac_executable_extensions; do
30964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30965 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30967 break 2
30968 fi
30969 done
30970 done
30971 IFS=$as_save_IFS
30972
30973 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30974 ;;
30975 esac
30976 fi
30977 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30978 if test -n "$GTK_CONFIG"; then
30979 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30980 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30981 else
30982 { echo "$as_me:$LINENO: result: no" >&5
30983 echo "${ECHO_T}no" >&6; }
30984 fi
30985
30986
30987 min_gtk_version=1.2.3
30988 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30989 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30990 no_gtk=""
30991 if test "$GTK_CONFIG" = "no" ; then
30992 no_gtk=yes
30993 else
30994 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30995 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30996 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30997 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30998 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30999 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31000 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31001 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31002 if test "x$enable_gtktest" = "xyes" ; then
31003 ac_save_CFLAGS="$CFLAGS"
31004 ac_save_LIBS="$LIBS"
31005 CFLAGS="$CFLAGS $GTK_CFLAGS"
31006 LIBS="$GTK_LIBS $LIBS"
31007 rm -f conf.gtktest
31008 if test "$cross_compiling" = yes; then
31009 echo $ac_n "cross compiling; assumed OK... $ac_c"
31010 else
31011 cat >conftest.$ac_ext <<_ACEOF
31012 /* confdefs.h. */
31013 _ACEOF
31014 cat confdefs.h >>conftest.$ac_ext
31015 cat >>conftest.$ac_ext <<_ACEOF
31016 /* end confdefs.h. */
31017
31018 #include <gtk/gtk.h>
31019 #include <stdio.h>
31020 #include <stdlib.h>
31021
31022 int
31023 main ()
31024 {
31025 int major, minor, micro;
31026 char *tmp_version;
31027
31028 system ("touch conf.gtktest");
31029
31030 /* HP/UX 9 (%@#!) writes to sscanf strings */
31031 tmp_version = g_strdup("$min_gtk_version");
31032 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31033 printf("%s, bad version string\n", "$min_gtk_version");
31034 exit(1);
31035 }
31036
31037 if ((gtk_major_version != $gtk_config_major_version) ||
31038 (gtk_minor_version != $gtk_config_minor_version) ||
31039 (gtk_micro_version != $gtk_config_micro_version))
31040 {
31041 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31042 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31043 gtk_major_version, gtk_minor_version, gtk_micro_version);
31044 printf ("*** was found! If gtk-config was correct, then it is best\n");
31045 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31046 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31047 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31048 printf("*** required on your system.\n");
31049 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31050 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31051 printf("*** before re-running configure\n");
31052 }
31053 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31054 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31055 (gtk_minor_version != GTK_MINOR_VERSION) ||
31056 (gtk_micro_version != GTK_MICRO_VERSION))
31057 {
31058 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31059 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31060 printf("*** library (version %d.%d.%d)\n",
31061 gtk_major_version, gtk_minor_version, gtk_micro_version);
31062 }
31063 #endif /* defined (GTK_MAJOR_VERSION) ... */
31064 else
31065 {
31066 if ((gtk_major_version > major) ||
31067 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31068 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31069 {
31070 return 0;
31071 }
31072 else
31073 {
31074 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31075 gtk_major_version, gtk_minor_version, gtk_micro_version);
31076 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31077 major, minor, micro);
31078 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31079 printf("***\n");
31080 printf("*** If you have already installed a sufficiently new version, this error\n");
31081 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31082 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31083 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31084 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31085 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31086 printf("*** so that the correct libraries are found at run-time))\n");
31087 }
31088 }
31089 return 1;
31090 }
31091
31092 _ACEOF
31093 rm -f conftest$ac_exeext
31094 if { (ac_try="$ac_link"
31095 case "(($ac_try" in
31096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31097 *) ac_try_echo=$ac_try;;
31098 esac
31099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31100 (eval "$ac_link") 2>&5
31101 ac_status=$?
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31104 { (case "(($ac_try" in
31105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31106 *) ac_try_echo=$ac_try;;
31107 esac
31108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31109 (eval "$ac_try") 2>&5
31110 ac_status=$?
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); }; }; then
31113 :
31114 else
31115 echo "$as_me: program exited with status $ac_status" >&5
31116 echo "$as_me: failed program was:" >&5
31117 sed 's/^/| /' conftest.$ac_ext >&5
31118
31119 ( exit $ac_status )
31120 no_gtk=yes
31121 fi
31122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31123 fi
31124
31125
31126 CFLAGS="$ac_save_CFLAGS"
31127 LIBS="$ac_save_LIBS"
31128 fi
31129 fi
31130 if test "x$no_gtk" = x ; then
31131 { echo "$as_me:$LINENO: result: yes" >&5
31132 echo "${ECHO_T}yes" >&6; }
31133 wx_cv_lib_gtk=1.2.3
31134 else
31135 { echo "$as_me:$LINENO: result: no" >&5
31136 echo "${ECHO_T}no" >&6; }
31137 if test "$GTK_CONFIG" = "no" ; then
31138 echo "*** The gtk-config script installed by GTK could not be found"
31139 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31140 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31141 echo "*** full path to gtk-config."
31142 else
31143 if test -f conf.gtktest ; then
31144 :
31145 else
31146 echo "*** Could not run GTK test program, checking why..."
31147 CFLAGS="$CFLAGS $GTK_CFLAGS"
31148 LIBS="$LIBS $GTK_LIBS"
31149 cat >conftest.$ac_ext <<_ACEOF
31150 /* confdefs.h. */
31151 _ACEOF
31152 cat confdefs.h >>conftest.$ac_ext
31153 cat >>conftest.$ac_ext <<_ACEOF
31154 /* end confdefs.h. */
31155
31156 #include <gtk/gtk.h>
31157 #include <stdio.h>
31158
31159 int
31160 main ()
31161 {
31162 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31163 ;
31164 return 0;
31165 }
31166 _ACEOF
31167 rm -f conftest.$ac_objext conftest$ac_exeext
31168 if { (ac_try="$ac_link"
31169 case "(($ac_try" in
31170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31171 *) ac_try_echo=$ac_try;;
31172 esac
31173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31174 (eval "$ac_link") 2>conftest.er1
31175 ac_status=$?
31176 grep -v '^ *+' conftest.er1 >conftest.err
31177 rm -f conftest.er1
31178 cat conftest.err >&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); } && {
31181 test -z "$ac_c_werror_flag" ||
31182 test ! -s conftest.err
31183 } && test -s conftest$ac_exeext &&
31184 $as_test_x conftest$ac_exeext; then
31185 echo "*** The test program compiled, but did not run. This usually means"
31186 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31187 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31188 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31189 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31190 echo "*** is required on your system"
31191 echo "***"
31192 echo "*** If you have an old version installed, it is best to remove it, although"
31193 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31194 echo "***"
31195 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31196 echo "*** came with the system with the command"
31197 echo "***"
31198 echo "*** rpm --erase --nodeps gtk gtk-devel"
31199 else
31200 echo "$as_me: failed program was:" >&5
31201 sed 's/^/| /' conftest.$ac_ext >&5
31202
31203 echo "*** The test program failed to compile or link. See the file config.log for the"
31204 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31205 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31206 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31207 fi
31208
31209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31210 conftest$ac_exeext conftest.$ac_ext
31211 CFLAGS="$ac_save_CFLAGS"
31212 LIBS="$ac_save_LIBS"
31213 fi
31214 fi
31215 GTK_CFLAGS=""
31216 GTK_LIBS=""
31217 :
31218 fi
31219
31220
31221 rm -f conf.gtktest
31222
31223 fi
31224 fi
31225 fi
31226
31227 if test -z "$wx_cv_lib_gtk"; then
31228 wx_cv_lib_gtk=none
31229 else
31230 wx_cv_cflags_gtk=$GTK_CFLAGS
31231 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31232 fi
31233
31234
31235 fi
31236
31237
31238 if test "$gtk_version_cached" = 1; then
31239 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31240 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31241 fi
31242
31243 case "$wx_cv_lib_gtk" in
31244 2.0) WXGTK20=1
31245 TOOLKIT_VERSION=2
31246 ;;
31247 1.2.7) WXGTK127=1
31248 WXGTK12=1
31249 ;;
31250 1.2.3) WXGTK12=1
31251 ;;
31252 *) { { echo "$as_me:$LINENO: error:
31253 The development files for GTK+ were not found. For GTK+ 2, please
31254 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31255 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31256 and that the version is 1.2.3 or above. Also check that the
31257 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31258 --libs' are in the LD_LIBRARY_PATH or equivalent.
31259 " >&5
31260 echo "$as_me: error:
31261 The development files for GTK+ were not found. For GTK+ 2, please
31262 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31263 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31264 and that the version is 1.2.3 or above. Also check that the
31265 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31266 --libs' are in the LD_LIBRARY_PATH or equivalent.
31267 " >&2;}
31268 { (exit 1); exit 1; }; }
31269 ;;
31270 esac
31271
31272 if test "$WXGTK20" = 1; then
31273 save_CFLAGS="$CFLAGS"
31274 save_LIBS="$LIBS"
31275 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31276 LIBS="$LIBS $wx_cv_libs_gtk"
31277
31278 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31279 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31280 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31281 echo $ECHO_N "(cached) $ECHO_C" >&6
31282 else
31283 cat >conftest.$ac_ext <<_ACEOF
31284 /* confdefs.h. */
31285 _ACEOF
31286 cat confdefs.h >>conftest.$ac_ext
31287 cat >>conftest.$ac_ext <<_ACEOF
31288 /* end confdefs.h. */
31289 #include <gtk/gtk.h>
31290
31291 int
31292 main ()
31293 {
31294 #ifndef gtk_icon_size_lookup
31295 (void) gtk_icon_size_lookup;
31296 #endif
31297
31298 ;
31299 return 0;
31300 }
31301 _ACEOF
31302 rm -f conftest.$ac_objext
31303 if { (ac_try="$ac_compile"
31304 case "(($ac_try" in
31305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31306 *) ac_try_echo=$ac_try;;
31307 esac
31308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31309 (eval "$ac_compile") 2>conftest.er1
31310 ac_status=$?
31311 grep -v '^ *+' conftest.er1 >conftest.err
31312 rm -f conftest.er1
31313 cat conftest.err >&5
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); } && {
31316 test -z "$ac_c_werror_flag" ||
31317 test ! -s conftest.err
31318 } && test -s conftest.$ac_objext; then
31319 ac_cv_have_decl_gtk_icon_size_lookup=yes
31320 else
31321 echo "$as_me: failed program was:" >&5
31322 sed 's/^/| /' conftest.$ac_ext >&5
31323
31324 ac_cv_have_decl_gtk_icon_size_lookup=no
31325 fi
31326
31327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31328 fi
31329 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31330 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31331 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31332
31333 cat >>confdefs.h <<_ACEOF
31334 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31335 _ACEOF
31336
31337
31338 else
31339 cat >>confdefs.h <<_ACEOF
31340 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31341 _ACEOF
31342
31343 cat >>confdefs.h <<\_ACEOF
31344 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31345 _ACEOF
31346
31347 fi
31348
31349
31350
31351
31352 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31353 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31354 cat >conftest.$ac_ext <<_ACEOF
31355 /* confdefs.h. */
31356 _ACEOF
31357 cat confdefs.h >>conftest.$ac_ext
31358 cat >>conftest.$ac_ext <<_ACEOF
31359 /* end confdefs.h. */
31360
31361 #include <gtk/gtk.h>
31362
31363 int
31364 main ()
31365 {
31366
31367 #if !GTK_CHECK_VERSION(2,10,0)
31368 Not GTK+ 2.10
31369 #endif
31370
31371 ;
31372 return 0;
31373 }
31374 _ACEOF
31375 rm -f conftest.$ac_objext
31376 if { (ac_try="$ac_compile"
31377 case "(($ac_try" in
31378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31379 *) ac_try_echo=$ac_try;;
31380 esac
31381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31382 (eval "$ac_compile") 2>conftest.er1
31383 ac_status=$?
31384 grep -v '^ *+' conftest.er1 >conftest.err
31385 rm -f conftest.er1
31386 cat conftest.err >&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } && {
31389 test -z "$ac_c_werror_flag" ||
31390 test ! -s conftest.err
31391 } && test -s conftest.$ac_objext; then
31392
31393 cat >>confdefs.h <<\_ACEOF
31394 #define __WXGTK210__ 1
31395 _ACEOF
31396
31397 cat >>confdefs.h <<\_ACEOF
31398 #define __WXGTK26__ 1
31399 _ACEOF
31400
31401 cat >>confdefs.h <<\_ACEOF
31402 #define __WXGTK24__ 1
31403 _ACEOF
31404
31405 { echo "$as_me:$LINENO: result: yes" >&5
31406 echo "${ECHO_T}yes" >&6; }
31407 ac_wxgtk210=1
31408
31409 else
31410 echo "$as_me: failed program was:" >&5
31411 sed 's/^/| /' conftest.$ac_ext >&5
31412
31413
31414 { echo "$as_me:$LINENO: result: no" >&5
31415 echo "${ECHO_T}no" >&6; }
31416 ac_wxgtk210=0
31417
31418 fi
31419
31420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31421
31422 if test "$ac_wxgtk210" = 0; then
31423 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31424 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31425 cat >conftest.$ac_ext <<_ACEOF
31426 /* confdefs.h. */
31427 _ACEOF
31428 cat confdefs.h >>conftest.$ac_ext
31429 cat >>conftest.$ac_ext <<_ACEOF
31430 /* end confdefs.h. */
31431
31432 #include <gtk/gtk.h>
31433
31434 int
31435 main ()
31436 {
31437
31438 #if !GTK_CHECK_VERSION(2,6,0)
31439 Not GTK+ 2.6
31440 #endif
31441
31442 ;
31443 return 0;
31444 }
31445 _ACEOF
31446 rm -f conftest.$ac_objext
31447 if { (ac_try="$ac_compile"
31448 case "(($ac_try" in
31449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31450 *) ac_try_echo=$ac_try;;
31451 esac
31452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31453 (eval "$ac_compile") 2>conftest.er1
31454 ac_status=$?
31455 grep -v '^ *+' conftest.er1 >conftest.err
31456 rm -f conftest.er1
31457 cat conftest.err >&5
31458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31459 (exit $ac_status); } && {
31460 test -z "$ac_c_werror_flag" ||
31461 test ! -s conftest.err
31462 } && test -s conftest.$ac_objext; then
31463
31464 cat >>confdefs.h <<\_ACEOF
31465 #define __WXGTK26__ 1
31466 _ACEOF
31467
31468 cat >>confdefs.h <<\_ACEOF
31469 #define __WXGTK24__ 1
31470 _ACEOF
31471
31472 { echo "$as_me:$LINENO: result: yes" >&5
31473 echo "${ECHO_T}yes" >&6; }
31474 ac_wxgtk26=1
31475
31476 else
31477 echo "$as_me: failed program was:" >&5
31478 sed 's/^/| /' conftest.$ac_ext >&5
31479
31480
31481 { echo "$as_me:$LINENO: result: no" >&5
31482 echo "${ECHO_T}no" >&6; }
31483 ac_wxgtk26=0
31484
31485 fi
31486
31487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31488 fi
31489
31490 if test "$ac_wxgtk26" = 0; then
31491 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31492 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31493 cat >conftest.$ac_ext <<_ACEOF
31494 /* confdefs.h. */
31495 _ACEOF
31496 cat confdefs.h >>conftest.$ac_ext
31497 cat >>conftest.$ac_ext <<_ACEOF
31498 /* end confdefs.h. */
31499
31500 #include <gtk/gtk.h>
31501
31502 int
31503 main ()
31504 {
31505
31506 #if !GTK_CHECK_VERSION(2,4,0)
31507 Not GTK+ 2.4
31508 #endif
31509
31510 ;
31511 return 0;
31512 }
31513 _ACEOF
31514 rm -f conftest.$ac_objext
31515 if { (ac_try="$ac_compile"
31516 case "(($ac_try" in
31517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31518 *) ac_try_echo=$ac_try;;
31519 esac
31520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31521 (eval "$ac_compile") 2>conftest.er1
31522 ac_status=$?
31523 grep -v '^ *+' conftest.er1 >conftest.err
31524 rm -f conftest.er1
31525 cat conftest.err >&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); } && {
31528 test -z "$ac_c_werror_flag" ||
31529 test ! -s conftest.err
31530 } && test -s conftest.$ac_objext; then
31531
31532 cat >>confdefs.h <<\_ACEOF
31533 #define __WXGTK24__ 1
31534 _ACEOF
31535
31536 { echo "$as_me:$LINENO: result: yes" >&5
31537 echo "${ECHO_T}yes" >&6; }
31538
31539 else
31540 echo "$as_me: failed program was:" >&5
31541 sed 's/^/| /' conftest.$ac_ext >&5
31542
31543
31544 { echo "$as_me:$LINENO: result: no" >&5
31545 echo "${ECHO_T}no" >&6; }
31546
31547 fi
31548
31549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31550 fi
31551
31552 CFLAGS="$save_CFLAGS"
31553 LIBS="$save_LIBS"
31554 else
31555 if test "$wxUSE_UNICODE" = "yes"; then
31556 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31557 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31558 wxUSE_UNICODE=no
31559 fi
31560
31561 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31562 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31563 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31564 echo $ECHO_N "(cached) $ECHO_C" >&6
31565 else
31566 ac_check_lib_save_LIBS=$LIBS
31567 LIBS="-lgdk $LIBS"
31568 cat >conftest.$ac_ext <<_ACEOF
31569 /* confdefs.h. */
31570 _ACEOF
31571 cat confdefs.h >>conftest.$ac_ext
31572 cat >>conftest.$ac_ext <<_ACEOF
31573 /* end confdefs.h. */
31574
31575 /* Override any GCC internal prototype to avoid an error.
31576 Use char because int might match the return type of a GCC
31577 builtin and then its argument prototype would still apply. */
31578 #ifdef __cplusplus
31579 extern "C"
31580 #endif
31581 char gdk_im_open ();
31582 int
31583 main ()
31584 {
31585 return gdk_im_open ();
31586 ;
31587 return 0;
31588 }
31589 _ACEOF
31590 rm -f conftest.$ac_objext conftest$ac_exeext
31591 if { (ac_try="$ac_link"
31592 case "(($ac_try" in
31593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31594 *) ac_try_echo=$ac_try;;
31595 esac
31596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31597 (eval "$ac_link") 2>conftest.er1
31598 ac_status=$?
31599 grep -v '^ *+' conftest.er1 >conftest.err
31600 rm -f conftest.er1
31601 cat conftest.err >&5
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); } && {
31604 test -z "$ac_c_werror_flag" ||
31605 test ! -s conftest.err
31606 } && test -s conftest$ac_exeext &&
31607 $as_test_x conftest$ac_exeext; then
31608 ac_cv_lib_gdk_gdk_im_open=yes
31609 else
31610 echo "$as_me: failed program was:" >&5
31611 sed 's/^/| /' conftest.$ac_ext >&5
31612
31613 ac_cv_lib_gdk_gdk_im_open=no
31614 fi
31615
31616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31617 conftest$ac_exeext conftest.$ac_ext
31618 LIBS=$ac_check_lib_save_LIBS
31619 fi
31620 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31621 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31622 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31623 cat >>confdefs.h <<\_ACEOF
31624 #define HAVE_XIM 1
31625 _ACEOF
31626
31627 fi
31628
31629
31630 if test "$USE_DARWIN" != 1; then
31631
31632 for ac_func in poll
31633 do
31634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31638 echo $ECHO_N "(cached) $ECHO_C" >&6
31639 else
31640 cat >conftest.$ac_ext <<_ACEOF
31641 /* confdefs.h. */
31642 _ACEOF
31643 cat confdefs.h >>conftest.$ac_ext
31644 cat >>conftest.$ac_ext <<_ACEOF
31645 /* end confdefs.h. */
31646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31648 #define $ac_func innocuous_$ac_func
31649
31650 /* System header to define __stub macros and hopefully few prototypes,
31651 which can conflict with char $ac_func (); below.
31652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31653 <limits.h> exists even on freestanding compilers. */
31654
31655 #ifdef __STDC__
31656 # include <limits.h>
31657 #else
31658 # include <assert.h>
31659 #endif
31660
31661 #undef $ac_func
31662
31663 /* Override any GCC internal prototype to avoid an error.
31664 Use char because int might match the return type of a GCC
31665 builtin and then its argument prototype would still apply. */
31666 #ifdef __cplusplus
31667 extern "C"
31668 #endif
31669 char $ac_func ();
31670 /* The GNU C library defines this for functions which it implements
31671 to always fail with ENOSYS. Some functions are actually named
31672 something starting with __ and the normal name is an alias. */
31673 #if defined __stub_$ac_func || defined __stub___$ac_func
31674 choke me
31675 #endif
31676
31677 int
31678 main ()
31679 {
31680 return $ac_func ();
31681 ;
31682 return 0;
31683 }
31684 _ACEOF
31685 rm -f conftest.$ac_objext conftest$ac_exeext
31686 if { (ac_try="$ac_link"
31687 case "(($ac_try" in
31688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31689 *) ac_try_echo=$ac_try;;
31690 esac
31691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31692 (eval "$ac_link") 2>conftest.er1
31693 ac_status=$?
31694 grep -v '^ *+' conftest.er1 >conftest.err
31695 rm -f conftest.er1
31696 cat conftest.err >&5
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); } && {
31699 test -z "$ac_c_werror_flag" ||
31700 test ! -s conftest.err
31701 } && test -s conftest$ac_exeext &&
31702 $as_test_x conftest$ac_exeext; then
31703 eval "$as_ac_var=yes"
31704 else
31705 echo "$as_me: failed program was:" >&5
31706 sed 's/^/| /' conftest.$ac_ext >&5
31707
31708 eval "$as_ac_var=no"
31709 fi
31710
31711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31712 conftest$ac_exeext conftest.$ac_ext
31713 fi
31714 ac_res=`eval echo '${'$as_ac_var'}'`
31715 { echo "$as_me:$LINENO: result: $ac_res" >&5
31716 echo "${ECHO_T}$ac_res" >&6; }
31717 if test `eval echo '${'$as_ac_var'}'` = yes; then
31718 cat >>confdefs.h <<_ACEOF
31719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31720 _ACEOF
31721
31722 fi
31723 done
31724
31725 fi
31726 fi
31727
31728 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31729 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31730
31731 AFMINSTALL=afminstall
31732 TOOLKIT=GTK
31733 GUIDIST=GTK_DIST
31734
31735 if test "$wxUSE_GPE" = "yes"; then
31736 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31737 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31738
31739 ac_find_libraries=
31740 for ac_dir in $SEARCH_LIB;
31741 do
31742 for ac_extension in a so sl dylib dll.a; do
31743 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31744 ac_find_libraries=$ac_dir
31745 break 2
31746 fi
31747 done
31748 done
31749
31750 if test "$ac_find_libraries" != "" ; then
31751
31752 if test "$ac_find_libraries" = "default location"; then
31753 ac_path_to_link=""
31754 else
31755 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31756 result=$?
31757 if test $result = 0; then
31758 ac_path_to_link=""
31759 else
31760 ac_path_to_link=" -L$ac_find_libraries"
31761 fi
31762 fi
31763
31764 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31765 WXGPE=1
31766 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31767 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31768 else
31769 { echo "$as_me:$LINENO: result: not found" >&5
31770 echo "${ECHO_T}not found" >&6; }
31771 fi
31772
31773 fi
31774 fi
31775
31776 if test "$wxUSE_MGL" = 1; then
31777 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31778 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31779 if test "x$MGL_ROOT" = x ; then
31780 { echo "$as_me:$LINENO: result: not found" >&5
31781 echo "${ECHO_T}not found" >&6; }
31782 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31783 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31784 { (exit 1); exit 1; }; }
31785 else
31786 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31787 echo "${ECHO_T}$MGL_ROOT" >&6; }
31788 fi
31789
31790 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31791 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31792 case "${host}" in
31793 *-*-linux* )
31794 if test "x$wxUSE_SHARED" = xyes ; then
31795 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31796 else
31797 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31798 fi
31799 ;;
31800 *-pc-msdosdjgpp )
31801 mgl_os_candidates="dos32/dj2"
31802 ;;
31803 *)
31804 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31805 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31806 { (exit 1); exit 1; }; }
31807 esac
31808
31809 mgl_lib_type=""
31810 mgl_os=""
31811
31812 for mgl_os_i in $mgl_os_candidates ; do
31813 if test "x$mgl_os" = x ; then
31814 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31815 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31816 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31817 mgl_lib_type=debug
31818 mgl_os=$mgl_os_i
31819 fi
31820 fi
31821 if test "x$mgl_lib_type" = x ; then
31822 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31823 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31824 mgl_lib_type=release
31825 mgl_os=$mgl_os_i
31826 fi
31827 fi
31828 fi
31829 done
31830
31831 if test "x$mgl_os" = x ; then
31832 { echo "$as_me:$LINENO: result: not found" >&5
31833 echo "${ECHO_T}not found" >&6; }
31834 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31835 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31836 { (exit 1); exit 1; }; }
31837 fi
31838 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31839 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31840
31841 wxUSE_UNIVERSAL="yes"
31842
31843 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31844 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31845
31846 AFMINSTALL=afminstall
31847 TOOLKIT=MGL
31848 GUIDIST=MGL_DIST
31849 fi
31850
31851 if test "$wxUSE_DFB" = 1; then
31852
31853
31854 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31855 if test -n "$ac_tool_prefix"; then
31856 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31857 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31860 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31861 echo $ECHO_N "(cached) $ECHO_C" >&6
31862 else
31863 case $PKG_CONFIG in
31864 [\\/]* | ?:[\\/]*)
31865 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31866 ;;
31867 *)
31868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31869 for as_dir in $PATH
31870 do
31871 IFS=$as_save_IFS
31872 test -z "$as_dir" && as_dir=.
31873 for ac_exec_ext in '' $ac_executable_extensions; do
31874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31875 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31877 break 2
31878 fi
31879 done
31880 done
31881 IFS=$as_save_IFS
31882
31883 ;;
31884 esac
31885 fi
31886 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31887 if test -n "$PKG_CONFIG"; then
31888 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31889 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31890 else
31891 { echo "$as_me:$LINENO: result: no" >&5
31892 echo "${ECHO_T}no" >&6; }
31893 fi
31894
31895
31896 fi
31897 if test -z "$ac_cv_path_PKG_CONFIG"; then
31898 ac_pt_PKG_CONFIG=$PKG_CONFIG
31899 # Extract the first word of "pkg-config", so it can be a program name with args.
31900 set dummy pkg-config; ac_word=$2
31901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31903 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31904 echo $ECHO_N "(cached) $ECHO_C" >&6
31905 else
31906 case $ac_pt_PKG_CONFIG in
31907 [\\/]* | ?:[\\/]*)
31908 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31909 ;;
31910 *)
31911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31912 for as_dir in $PATH
31913 do
31914 IFS=$as_save_IFS
31915 test -z "$as_dir" && as_dir=.
31916 for ac_exec_ext in '' $ac_executable_extensions; do
31917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31918 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31920 break 2
31921 fi
31922 done
31923 done
31924 IFS=$as_save_IFS
31925
31926 ;;
31927 esac
31928 fi
31929 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31930 if test -n "$ac_pt_PKG_CONFIG"; then
31931 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31932 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31933 else
31934 { echo "$as_me:$LINENO: result: no" >&5
31935 echo "${ECHO_T}no" >&6; }
31936 fi
31937
31938 if test "x$ac_pt_PKG_CONFIG" = x; then
31939 PKG_CONFIG=""
31940 else
31941 case $cross_compiling:$ac_tool_warned in
31942 yes:)
31943 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31944 whose name does not start with the host triplet. If you think this
31945 configuration is useful to you, please write to autoconf@gnu.org." >&5
31946 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31947 whose name does not start with the host triplet. If you think this
31948 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31949 ac_tool_warned=yes ;;
31950 esac
31951 PKG_CONFIG=$ac_pt_PKG_CONFIG
31952 fi
31953 else
31954 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31955 fi
31956
31957 fi
31958 if test -n "$PKG_CONFIG"; then
31959 _pkg_min_version=0.9.0
31960 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31961 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31962 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31963 { echo "$as_me:$LINENO: result: yes" >&5
31964 echo "${ECHO_T}yes" >&6; }
31965 else
31966 { echo "$as_me:$LINENO: result: no" >&5
31967 echo "${ECHO_T}no" >&6; }
31968 PKG_CONFIG=""
31969 fi
31970
31971 fi
31972
31973
31974 pkg_failed=no
31975 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31976 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31977
31978 if test -n "$PKG_CONFIG"; then
31979 if test -n "$DIRECTFB_CFLAGS"; then
31980 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31981 else
31982 if test -n "$PKG_CONFIG" && \
31983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31984 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31985 ac_status=$?
31986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987 (exit $ac_status); }; then
31988 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31989 else
31990 pkg_failed=yes
31991 fi
31992 fi
31993 else
31994 pkg_failed=untried
31995 fi
31996 if test -n "$PKG_CONFIG"; then
31997 if test -n "$DIRECTFB_LIBS"; then
31998 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31999 else
32000 if test -n "$PKG_CONFIG" && \
32001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32002 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32003 ac_status=$?
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); }; then
32006 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32007 else
32008 pkg_failed=yes
32009 fi
32010 fi
32011 else
32012 pkg_failed=untried
32013 fi
32014
32015
32016
32017 if test $pkg_failed = yes; then
32018
32019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32020 _pkg_short_errors_supported=yes
32021 else
32022 _pkg_short_errors_supported=no
32023 fi
32024 if test $_pkg_short_errors_supported = yes; then
32025 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32026 else
32027 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32028 fi
32029 # Put the nasty error message in config.log where it belongs
32030 echo "$DIRECTFB_PKG_ERRORS" >&5
32031
32032
32033 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32034 echo "$as_me: error: DirectFB not found." >&2;}
32035 { (exit 1); exit 1; }; }
32036
32037
32038 elif test $pkg_failed = untried; then
32039
32040 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32041 echo "$as_me: error: DirectFB not found." >&2;}
32042 { (exit 1); exit 1; }; }
32043
32044
32045 else
32046 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32047 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32048 { echo "$as_me:$LINENO: result: yes" >&5
32049 echo "${ECHO_T}yes" >&6; }
32050
32051 wxUSE_UNIVERSAL="yes"
32052 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32053 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32054 TOOLKIT=DFB
32055 GUIDIST=DFB_DIST
32056
32057 fi
32058 fi
32059
32060 if test "$wxUSE_MICROWIN" = 1; then
32061 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32062 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32063 if test "x$MICROWINDOWS" = x ; then
32064 { echo "$as_me:$LINENO: result: not found" >&5
32065 echo "${ECHO_T}not found" >&6; }
32066 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32067 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32068 { (exit 1); exit 1; }; }
32069 else
32070 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32071 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32072 fi
32073
32074 if test -f $MICROWINDOWS/lib/libmwin.a; then
32075 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32076 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32077 else
32078 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32079 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32080 { (exit 1); exit 1; }; }
32081 fi
32082
32083 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32084 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32085
32086 wxUSE_UNIVERSAL="yes"
32087
32088 AFMINSTALL=afminstall
32089 TOOLKIT=MICROWIN
32090 GUIDIST=MICROWIN_DIST
32091
32092 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32093 fi
32094
32095 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32096 { echo "$as_me:$LINENO: checking for X" >&5
32097 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32098
32099
32100 # Check whether --with-x was given.
32101 if test "${with_x+set}" = set; then
32102 withval=$with_x;
32103 fi
32104
32105 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32106 if test "x$with_x" = xno; then
32107 # The user explicitly disabled X.
32108 have_x=disabled
32109 else
32110 case $x_includes,$x_libraries in #(
32111 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32112 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32113 { (exit 1); exit 1; }; };; #(
32114 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32115 echo $ECHO_N "(cached) $ECHO_C" >&6
32116 else
32117 # One or both of the vars are not set, and there is no cached value.
32118 ac_x_includes=no ac_x_libraries=no
32119 rm -f -r conftest.dir
32120 if mkdir conftest.dir; then
32121 cd conftest.dir
32122 cat >Imakefile <<'_ACEOF'
32123 incroot:
32124 @echo incroot='${INCROOT}'
32125 usrlibdir:
32126 @echo usrlibdir='${USRLIBDIR}'
32127 libdir:
32128 @echo libdir='${LIBDIR}'
32129 _ACEOF
32130 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32131 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32132 for ac_var in incroot usrlibdir libdir; do
32133 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32134 done
32135 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32136 for ac_extension in a so sl; do
32137 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32138 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32139 ac_im_usrlibdir=$ac_im_libdir; break
32140 fi
32141 done
32142 # Screen out bogus values from the imake configuration. They are
32143 # bogus both because they are the default anyway, and because
32144 # using them would break gcc on systems where it needs fixed includes.
32145 case $ac_im_incroot in
32146 /usr/include) ac_x_includes= ;;
32147 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32148 esac
32149 case $ac_im_usrlibdir in
32150 /usr/lib | /lib) ;;
32151 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32152 esac
32153 fi
32154 cd ..
32155 rm -f -r conftest.dir
32156 fi
32157
32158 # Standard set of common directories for X headers.
32159 # Check X11 before X11Rn because it is often a symlink to the current release.
32160 ac_x_header_dirs='
32161 /usr/X11/include
32162 /usr/X11R6/include
32163 /usr/X11R5/include
32164 /usr/X11R4/include
32165
32166 /usr/include/X11
32167 /usr/include/X11R6
32168 /usr/include/X11R5
32169 /usr/include/X11R4
32170
32171 /usr/local/X11/include
32172 /usr/local/X11R6/include
32173 /usr/local/X11R5/include
32174 /usr/local/X11R4/include
32175
32176 /usr/local/include/X11
32177 /usr/local/include/X11R6
32178 /usr/local/include/X11R5
32179 /usr/local/include/X11R4
32180
32181 /usr/X386/include
32182 /usr/x386/include
32183 /usr/XFree86/include/X11
32184
32185 /usr/include
32186 /usr/local/include
32187 /usr/unsupported/include
32188 /usr/athena/include
32189 /usr/local/x11r5/include
32190 /usr/lpp/Xamples/include
32191
32192 /usr/openwin/include
32193 /usr/openwin/share/include'
32194
32195 if test "$ac_x_includes" = no; then
32196 # Guess where to find include files, by looking for Xlib.h.
32197 # First, try using that file with no special directory specified.
32198 cat >conftest.$ac_ext <<_ACEOF
32199 /* confdefs.h. */
32200 _ACEOF
32201 cat confdefs.h >>conftest.$ac_ext
32202 cat >>conftest.$ac_ext <<_ACEOF
32203 /* end confdefs.h. */
32204 #include <X11/Xlib.h>
32205 _ACEOF
32206 if { (ac_try="$ac_cpp conftest.$ac_ext"
32207 case "(($ac_try" in
32208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32209 *) ac_try_echo=$ac_try;;
32210 esac
32211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32212 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32213 ac_status=$?
32214 grep -v '^ *+' conftest.er1 >conftest.err
32215 rm -f conftest.er1
32216 cat conftest.err >&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } >/dev/null && {
32219 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32220 test ! -s conftest.err
32221 }; then
32222 # We can compile using X headers with no special include directory.
32223 ac_x_includes=
32224 else
32225 echo "$as_me: failed program was:" >&5
32226 sed 's/^/| /' conftest.$ac_ext >&5
32227
32228 for ac_dir in $ac_x_header_dirs; do
32229 if test -r "$ac_dir/X11/Xlib.h"; then
32230 ac_x_includes=$ac_dir
32231 break
32232 fi
32233 done
32234 fi
32235
32236 rm -f conftest.err conftest.$ac_ext
32237 fi # $ac_x_includes = no
32238
32239 if test "$ac_x_libraries" = no; then
32240 # Check for the libraries.
32241 # See if we find them without any special options.
32242 # Don't add to $LIBS permanently.
32243 ac_save_LIBS=$LIBS
32244 LIBS="-lX11 $LIBS"
32245 cat >conftest.$ac_ext <<_ACEOF
32246 /* confdefs.h. */
32247 _ACEOF
32248 cat confdefs.h >>conftest.$ac_ext
32249 cat >>conftest.$ac_ext <<_ACEOF
32250 /* end confdefs.h. */
32251 #include <X11/Xlib.h>
32252 int
32253 main ()
32254 {
32255 XrmInitialize ()
32256 ;
32257 return 0;
32258 }
32259 _ACEOF
32260 rm -f conftest.$ac_objext conftest$ac_exeext
32261 if { (ac_try="$ac_link"
32262 case "(($ac_try" in
32263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32264 *) ac_try_echo=$ac_try;;
32265 esac
32266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32267 (eval "$ac_link") 2>conftest.er1
32268 ac_status=$?
32269 grep -v '^ *+' conftest.er1 >conftest.err
32270 rm -f conftest.er1
32271 cat conftest.err >&5
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); } && {
32274 test -z "$ac_c_werror_flag" ||
32275 test ! -s conftest.err
32276 } && test -s conftest$ac_exeext &&
32277 $as_test_x conftest$ac_exeext; then
32278 LIBS=$ac_save_LIBS
32279 # We can link X programs with no special library path.
32280 ac_x_libraries=
32281 else
32282 echo "$as_me: failed program was:" >&5
32283 sed 's/^/| /' conftest.$ac_ext >&5
32284
32285 LIBS=$ac_save_LIBS
32286 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32287 do
32288 # Don't even attempt the hair of trying to link an X program!
32289 for ac_extension in a so sl; do
32290 if test -r "$ac_dir/libX11.$ac_extension"; then
32291 ac_x_libraries=$ac_dir
32292 break 2
32293 fi
32294 done
32295 done
32296 fi
32297
32298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32299 conftest$ac_exeext conftest.$ac_ext
32300 fi # $ac_x_libraries = no
32301
32302 case $ac_x_includes,$ac_x_libraries in #(
32303 no,* | *,no | *\'*)
32304 # Didn't find X, or a directory has "'" in its name.
32305 ac_cv_have_x="have_x=no";; #(
32306 *)
32307 # Record where we found X for the cache.
32308 ac_cv_have_x="have_x=yes\
32309 ac_x_includes='$ac_x_includes'\
32310 ac_x_libraries='$ac_x_libraries'"
32311 esac
32312 fi
32313 ;; #(
32314 *) have_x=yes;;
32315 esac
32316 eval "$ac_cv_have_x"
32317 fi # $with_x != no
32318
32319 if test "$have_x" != yes; then
32320 { echo "$as_me:$LINENO: result: $have_x" >&5
32321 echo "${ECHO_T}$have_x" >&6; }
32322 no_x=yes
32323 else
32324 # If each of the values was on the command line, it overrides each guess.
32325 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32326 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32327 # Update the cache value to reflect the command line values.
32328 ac_cv_have_x="have_x=yes\
32329 ac_x_includes='$x_includes'\
32330 ac_x_libraries='$x_libraries'"
32331 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32332 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32333 fi
32334
32335 if test "$no_x" = yes; then
32336 # Not all programs may use this symbol, but it does not hurt to define it.
32337
32338 cat >>confdefs.h <<\_ACEOF
32339 #define X_DISPLAY_MISSING 1
32340 _ACEOF
32341
32342 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32343 else
32344 if test -n "$x_includes"; then
32345 X_CFLAGS="$X_CFLAGS -I$x_includes"
32346 fi
32347
32348 # It would also be nice to do this for all -L options, not just this one.
32349 if test -n "$x_libraries"; then
32350 X_LIBS="$X_LIBS -L$x_libraries"
32351 # For Solaris; some versions of Sun CC require a space after -R and
32352 # others require no space. Words are not sufficient . . . .
32353 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32354 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32355 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32356 ac_xsave_c_werror_flag=$ac_c_werror_flag
32357 ac_c_werror_flag=yes
32358 cat >conftest.$ac_ext <<_ACEOF
32359 /* confdefs.h. */
32360 _ACEOF
32361 cat confdefs.h >>conftest.$ac_ext
32362 cat >>conftest.$ac_ext <<_ACEOF
32363 /* end confdefs.h. */
32364
32365 int
32366 main ()
32367 {
32368
32369 ;
32370 return 0;
32371 }
32372 _ACEOF
32373 rm -f conftest.$ac_objext conftest$ac_exeext
32374 if { (ac_try="$ac_link"
32375 case "(($ac_try" in
32376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32377 *) ac_try_echo=$ac_try;;
32378 esac
32379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32380 (eval "$ac_link") 2>conftest.er1
32381 ac_status=$?
32382 grep -v '^ *+' conftest.er1 >conftest.err
32383 rm -f conftest.er1
32384 cat conftest.err >&5
32385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32386 (exit $ac_status); } && {
32387 test -z "$ac_c_werror_flag" ||
32388 test ! -s conftest.err
32389 } && test -s conftest$ac_exeext &&
32390 $as_test_x conftest$ac_exeext; then
32391 { echo "$as_me:$LINENO: result: no" >&5
32392 echo "${ECHO_T}no" >&6; }
32393 X_LIBS="$X_LIBS -R$x_libraries"
32394 else
32395 echo "$as_me: failed program was:" >&5
32396 sed 's/^/| /' conftest.$ac_ext >&5
32397
32398 LIBS="$ac_xsave_LIBS -R $x_libraries"
32399 cat >conftest.$ac_ext <<_ACEOF
32400 /* confdefs.h. */
32401 _ACEOF
32402 cat confdefs.h >>conftest.$ac_ext
32403 cat >>conftest.$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32405
32406 int
32407 main ()
32408 {
32409
32410 ;
32411 return 0;
32412 }
32413 _ACEOF
32414 rm -f conftest.$ac_objext conftest$ac_exeext
32415 if { (ac_try="$ac_link"
32416 case "(($ac_try" in
32417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32418 *) ac_try_echo=$ac_try;;
32419 esac
32420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32421 (eval "$ac_link") 2>conftest.er1
32422 ac_status=$?
32423 grep -v '^ *+' conftest.er1 >conftest.err
32424 rm -f conftest.er1
32425 cat conftest.err >&5
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); } && {
32428 test -z "$ac_c_werror_flag" ||
32429 test ! -s conftest.err
32430 } && test -s conftest$ac_exeext &&
32431 $as_test_x conftest$ac_exeext; then
32432 { echo "$as_me:$LINENO: result: yes" >&5
32433 echo "${ECHO_T}yes" >&6; }
32434 X_LIBS="$X_LIBS -R $x_libraries"
32435 else
32436 echo "$as_me: failed program was:" >&5
32437 sed 's/^/| /' conftest.$ac_ext >&5
32438
32439 { echo "$as_me:$LINENO: result: neither works" >&5
32440 echo "${ECHO_T}neither works" >&6; }
32441 fi
32442
32443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32444 conftest$ac_exeext conftest.$ac_ext
32445 fi
32446
32447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32448 conftest$ac_exeext conftest.$ac_ext
32449 ac_c_werror_flag=$ac_xsave_c_werror_flag
32450 LIBS=$ac_xsave_LIBS
32451 fi
32452
32453 # Check for system-dependent libraries X programs must link with.
32454 # Do this before checking for the system-independent R6 libraries
32455 # (-lICE), since we may need -lsocket or whatever for X linking.
32456
32457 if test "$ISC" = yes; then
32458 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32459 else
32460 # Martyn Johnson says this is needed for Ultrix, if the X
32461 # libraries were built with DECnet support. And Karl Berry says
32462 # the Alpha needs dnet_stub (dnet does not exist).
32463 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32464 cat >conftest.$ac_ext <<_ACEOF
32465 /* confdefs.h. */
32466 _ACEOF
32467 cat confdefs.h >>conftest.$ac_ext
32468 cat >>conftest.$ac_ext <<_ACEOF
32469 /* end confdefs.h. */
32470
32471 /* Override any GCC internal prototype to avoid an error.
32472 Use char because int might match the return type of a GCC
32473 builtin and then its argument prototype would still apply. */
32474 #ifdef __cplusplus
32475 extern "C"
32476 #endif
32477 char XOpenDisplay ();
32478 int
32479 main ()
32480 {
32481 return XOpenDisplay ();
32482 ;
32483 return 0;
32484 }
32485 _ACEOF
32486 rm -f conftest.$ac_objext conftest$ac_exeext
32487 if { (ac_try="$ac_link"
32488 case "(($ac_try" in
32489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32490 *) ac_try_echo=$ac_try;;
32491 esac
32492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32493 (eval "$ac_link") 2>conftest.er1
32494 ac_status=$?
32495 grep -v '^ *+' conftest.er1 >conftest.err
32496 rm -f conftest.er1
32497 cat conftest.err >&5
32498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 (exit $ac_status); } && {
32500 test -z "$ac_c_werror_flag" ||
32501 test ! -s conftest.err
32502 } && test -s conftest$ac_exeext &&
32503 $as_test_x conftest$ac_exeext; then
32504 :
32505 else
32506 echo "$as_me: failed program was:" >&5
32507 sed 's/^/| /' conftest.$ac_ext >&5
32508
32509 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32510 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32511 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32512 echo $ECHO_N "(cached) $ECHO_C" >&6
32513 else
32514 ac_check_lib_save_LIBS=$LIBS
32515 LIBS="-ldnet $LIBS"
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h. */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522
32523 /* Override any GCC internal prototype to avoid an error.
32524 Use char because int might match the return type of a GCC
32525 builtin and then its argument prototype would still apply. */
32526 #ifdef __cplusplus
32527 extern "C"
32528 #endif
32529 char dnet_ntoa ();
32530 int
32531 main ()
32532 {
32533 return dnet_ntoa ();
32534 ;
32535 return 0;
32536 }
32537 _ACEOF
32538 rm -f conftest.$ac_objext conftest$ac_exeext
32539 if { (ac_try="$ac_link"
32540 case "(($ac_try" in
32541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32542 *) ac_try_echo=$ac_try;;
32543 esac
32544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32545 (eval "$ac_link") 2>conftest.er1
32546 ac_status=$?
32547 grep -v '^ *+' conftest.er1 >conftest.err
32548 rm -f conftest.er1
32549 cat conftest.err >&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); } && {
32552 test -z "$ac_c_werror_flag" ||
32553 test ! -s conftest.err
32554 } && test -s conftest$ac_exeext &&
32555 $as_test_x conftest$ac_exeext; then
32556 ac_cv_lib_dnet_dnet_ntoa=yes
32557 else
32558 echo "$as_me: failed program was:" >&5
32559 sed 's/^/| /' conftest.$ac_ext >&5
32560
32561 ac_cv_lib_dnet_dnet_ntoa=no
32562 fi
32563
32564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32565 conftest$ac_exeext conftest.$ac_ext
32566 LIBS=$ac_check_lib_save_LIBS
32567 fi
32568 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32569 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32570 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32571 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32572 fi
32573
32574 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32575 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32576 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32577 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32578 echo $ECHO_N "(cached) $ECHO_C" >&6
32579 else
32580 ac_check_lib_save_LIBS=$LIBS
32581 LIBS="-ldnet_stub $LIBS"
32582 cat >conftest.$ac_ext <<_ACEOF
32583 /* confdefs.h. */
32584 _ACEOF
32585 cat confdefs.h >>conftest.$ac_ext
32586 cat >>conftest.$ac_ext <<_ACEOF
32587 /* end confdefs.h. */
32588
32589 /* Override any GCC internal prototype to avoid an error.
32590 Use char because int might match the return type of a GCC
32591 builtin and then its argument prototype would still apply. */
32592 #ifdef __cplusplus
32593 extern "C"
32594 #endif
32595 char dnet_ntoa ();
32596 int
32597 main ()
32598 {
32599 return dnet_ntoa ();
32600 ;
32601 return 0;
32602 }
32603 _ACEOF
32604 rm -f conftest.$ac_objext conftest$ac_exeext
32605 if { (ac_try="$ac_link"
32606 case "(($ac_try" in
32607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32608 *) ac_try_echo=$ac_try;;
32609 esac
32610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32611 (eval "$ac_link") 2>conftest.er1
32612 ac_status=$?
32613 grep -v '^ *+' conftest.er1 >conftest.err
32614 rm -f conftest.er1
32615 cat conftest.err >&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); } && {
32618 test -z "$ac_c_werror_flag" ||
32619 test ! -s conftest.err
32620 } && test -s conftest$ac_exeext &&
32621 $as_test_x conftest$ac_exeext; then
32622 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32623 else
32624 echo "$as_me: failed program was:" >&5
32625 sed 's/^/| /' conftest.$ac_ext >&5
32626
32627 ac_cv_lib_dnet_stub_dnet_ntoa=no
32628 fi
32629
32630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32631 conftest$ac_exeext conftest.$ac_ext
32632 LIBS=$ac_check_lib_save_LIBS
32633 fi
32634 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32635 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32636 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32637 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32638 fi
32639
32640 fi
32641 fi
32642
32643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32644 conftest$ac_exeext conftest.$ac_ext
32645 LIBS="$ac_xsave_LIBS"
32646
32647 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32648 # to get the SysV transport functions.
32649 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32650 # needs -lnsl.
32651 # The nsl library prevents programs from opening the X display
32652 # on Irix 5.2, according to T.E. Dickey.
32653 # The functions gethostbyname, getservbyname, and inet_addr are
32654 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32655 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32656 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32657 if test "${ac_cv_func_gethostbyname+set}" = set; then
32658 echo $ECHO_N "(cached) $ECHO_C" >&6
32659 else
32660 cat >conftest.$ac_ext <<_ACEOF
32661 /* confdefs.h. */
32662 _ACEOF
32663 cat confdefs.h >>conftest.$ac_ext
32664 cat >>conftest.$ac_ext <<_ACEOF
32665 /* end confdefs.h. */
32666 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32668 #define gethostbyname innocuous_gethostbyname
32669
32670 /* System header to define __stub macros and hopefully few prototypes,
32671 which can conflict with char gethostbyname (); below.
32672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32673 <limits.h> exists even on freestanding compilers. */
32674
32675 #ifdef __STDC__
32676 # include <limits.h>
32677 #else
32678 # include <assert.h>
32679 #endif
32680
32681 #undef gethostbyname
32682
32683 /* Override any GCC internal prototype to avoid an error.
32684 Use char because int might match the return type of a GCC
32685 builtin and then its argument prototype would still apply. */
32686 #ifdef __cplusplus
32687 extern "C"
32688 #endif
32689 char gethostbyname ();
32690 /* The GNU C library defines this for functions which it implements
32691 to always fail with ENOSYS. Some functions are actually named
32692 something starting with __ and the normal name is an alias. */
32693 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32694 choke me
32695 #endif
32696
32697 int
32698 main ()
32699 {
32700 return gethostbyname ();
32701 ;
32702 return 0;
32703 }
32704 _ACEOF
32705 rm -f conftest.$ac_objext conftest$ac_exeext
32706 if { (ac_try="$ac_link"
32707 case "(($ac_try" in
32708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32709 *) ac_try_echo=$ac_try;;
32710 esac
32711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32712 (eval "$ac_link") 2>conftest.er1
32713 ac_status=$?
32714 grep -v '^ *+' conftest.er1 >conftest.err
32715 rm -f conftest.er1
32716 cat conftest.err >&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); } && {
32719 test -z "$ac_c_werror_flag" ||
32720 test ! -s conftest.err
32721 } && test -s conftest$ac_exeext &&
32722 $as_test_x conftest$ac_exeext; then
32723 ac_cv_func_gethostbyname=yes
32724 else
32725 echo "$as_me: failed program was:" >&5
32726 sed 's/^/| /' conftest.$ac_ext >&5
32727
32728 ac_cv_func_gethostbyname=no
32729 fi
32730
32731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32732 conftest$ac_exeext conftest.$ac_ext
32733 fi
32734 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32735 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32736
32737 if test $ac_cv_func_gethostbyname = no; then
32738 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32739 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32740 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32741 echo $ECHO_N "(cached) $ECHO_C" >&6
32742 else
32743 ac_check_lib_save_LIBS=$LIBS
32744 LIBS="-lnsl $LIBS"
32745 cat >conftest.$ac_ext <<_ACEOF
32746 /* confdefs.h. */
32747 _ACEOF
32748 cat confdefs.h >>conftest.$ac_ext
32749 cat >>conftest.$ac_ext <<_ACEOF
32750 /* end confdefs.h. */
32751
32752 /* Override any GCC internal prototype to avoid an error.
32753 Use char because int might match the return type of a GCC
32754 builtin and then its argument prototype would still apply. */
32755 #ifdef __cplusplus
32756 extern "C"
32757 #endif
32758 char gethostbyname ();
32759 int
32760 main ()
32761 {
32762 return gethostbyname ();
32763 ;
32764 return 0;
32765 }
32766 _ACEOF
32767 rm -f conftest.$ac_objext conftest$ac_exeext
32768 if { (ac_try="$ac_link"
32769 case "(($ac_try" in
32770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32771 *) ac_try_echo=$ac_try;;
32772 esac
32773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32774 (eval "$ac_link") 2>conftest.er1
32775 ac_status=$?
32776 grep -v '^ *+' conftest.er1 >conftest.err
32777 rm -f conftest.er1
32778 cat conftest.err >&5
32779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32780 (exit $ac_status); } && {
32781 test -z "$ac_c_werror_flag" ||
32782 test ! -s conftest.err
32783 } && test -s conftest$ac_exeext &&
32784 $as_test_x conftest$ac_exeext; then
32785 ac_cv_lib_nsl_gethostbyname=yes
32786 else
32787 echo "$as_me: failed program was:" >&5
32788 sed 's/^/| /' conftest.$ac_ext >&5
32789
32790 ac_cv_lib_nsl_gethostbyname=no
32791 fi
32792
32793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32794 conftest$ac_exeext conftest.$ac_ext
32795 LIBS=$ac_check_lib_save_LIBS
32796 fi
32797 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32798 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32799 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32800 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32801 fi
32802
32803 if test $ac_cv_lib_nsl_gethostbyname = no; then
32804 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32805 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32806 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32807 echo $ECHO_N "(cached) $ECHO_C" >&6
32808 else
32809 ac_check_lib_save_LIBS=$LIBS
32810 LIBS="-lbsd $LIBS"
32811 cat >conftest.$ac_ext <<_ACEOF
32812 /* confdefs.h. */
32813 _ACEOF
32814 cat confdefs.h >>conftest.$ac_ext
32815 cat >>conftest.$ac_ext <<_ACEOF
32816 /* end confdefs.h. */
32817
32818 /* Override any GCC internal prototype to avoid an error.
32819 Use char because int might match the return type of a GCC
32820 builtin and then its argument prototype would still apply. */
32821 #ifdef __cplusplus
32822 extern "C"
32823 #endif
32824 char gethostbyname ();
32825 int
32826 main ()
32827 {
32828 return gethostbyname ();
32829 ;
32830 return 0;
32831 }
32832 _ACEOF
32833 rm -f conftest.$ac_objext conftest$ac_exeext
32834 if { (ac_try="$ac_link"
32835 case "(($ac_try" in
32836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32837 *) ac_try_echo=$ac_try;;
32838 esac
32839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32840 (eval "$ac_link") 2>conftest.er1
32841 ac_status=$?
32842 grep -v '^ *+' conftest.er1 >conftest.err
32843 rm -f conftest.er1
32844 cat conftest.err >&5
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); } && {
32847 test -z "$ac_c_werror_flag" ||
32848 test ! -s conftest.err
32849 } && test -s conftest$ac_exeext &&
32850 $as_test_x conftest$ac_exeext; then
32851 ac_cv_lib_bsd_gethostbyname=yes
32852 else
32853 echo "$as_me: failed program was:" >&5
32854 sed 's/^/| /' conftest.$ac_ext >&5
32855
32856 ac_cv_lib_bsd_gethostbyname=no
32857 fi
32858
32859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32860 conftest$ac_exeext conftest.$ac_ext
32861 LIBS=$ac_check_lib_save_LIBS
32862 fi
32863 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32864 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32865 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32866 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32867 fi
32868
32869 fi
32870 fi
32871
32872 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32873 # socket/setsockopt and other routines are undefined under SCO ODT
32874 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32875 # on later versions), says Simon Leinen: it contains gethostby*
32876 # variants that don't use the name server (or something). -lsocket
32877 # must be given before -lnsl if both are needed. We assume that
32878 # if connect needs -lnsl, so does gethostbyname.
32879 { echo "$as_me:$LINENO: checking for connect" >&5
32880 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32881 if test "${ac_cv_func_connect+set}" = set; then
32882 echo $ECHO_N "(cached) $ECHO_C" >&6
32883 else
32884 cat >conftest.$ac_ext <<_ACEOF
32885 /* confdefs.h. */
32886 _ACEOF
32887 cat confdefs.h >>conftest.$ac_ext
32888 cat >>conftest.$ac_ext <<_ACEOF
32889 /* end confdefs.h. */
32890 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32892 #define connect innocuous_connect
32893
32894 /* System header to define __stub macros and hopefully few prototypes,
32895 which can conflict with char connect (); below.
32896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32897 <limits.h> exists even on freestanding compilers. */
32898
32899 #ifdef __STDC__
32900 # include <limits.h>
32901 #else
32902 # include <assert.h>
32903 #endif
32904
32905 #undef connect
32906
32907 /* Override any GCC internal prototype to avoid an error.
32908 Use char because int might match the return type of a GCC
32909 builtin and then its argument prototype would still apply. */
32910 #ifdef __cplusplus
32911 extern "C"
32912 #endif
32913 char connect ();
32914 /* The GNU C library defines this for functions which it implements
32915 to always fail with ENOSYS. Some functions are actually named
32916 something starting with __ and the normal name is an alias. */
32917 #if defined __stub_connect || defined __stub___connect
32918 choke me
32919 #endif
32920
32921 int
32922 main ()
32923 {
32924 return connect ();
32925 ;
32926 return 0;
32927 }
32928 _ACEOF
32929 rm -f conftest.$ac_objext conftest$ac_exeext
32930 if { (ac_try="$ac_link"
32931 case "(($ac_try" in
32932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32933 *) ac_try_echo=$ac_try;;
32934 esac
32935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32936 (eval "$ac_link") 2>conftest.er1
32937 ac_status=$?
32938 grep -v '^ *+' conftest.er1 >conftest.err
32939 rm -f conftest.er1
32940 cat conftest.err >&5
32941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942 (exit $ac_status); } && {
32943 test -z "$ac_c_werror_flag" ||
32944 test ! -s conftest.err
32945 } && test -s conftest$ac_exeext &&
32946 $as_test_x conftest$ac_exeext; then
32947 ac_cv_func_connect=yes
32948 else
32949 echo "$as_me: failed program was:" >&5
32950 sed 's/^/| /' conftest.$ac_ext >&5
32951
32952 ac_cv_func_connect=no
32953 fi
32954
32955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32956 conftest$ac_exeext conftest.$ac_ext
32957 fi
32958 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32959 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32960
32961 if test $ac_cv_func_connect = no; then
32962 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32963 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32964 if test "${ac_cv_lib_socket_connect+set}" = set; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32966 else
32967 ac_check_lib_save_LIBS=$LIBS
32968 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32969 cat >conftest.$ac_ext <<_ACEOF
32970 /* confdefs.h. */
32971 _ACEOF
32972 cat confdefs.h >>conftest.$ac_ext
32973 cat >>conftest.$ac_ext <<_ACEOF
32974 /* end confdefs.h. */
32975
32976 /* Override any GCC internal prototype to avoid an error.
32977 Use char because int might match the return type of a GCC
32978 builtin and then its argument prototype would still apply. */
32979 #ifdef __cplusplus
32980 extern "C"
32981 #endif
32982 char connect ();
32983 int
32984 main ()
32985 {
32986 return connect ();
32987 ;
32988 return 0;
32989 }
32990 _ACEOF
32991 rm -f conftest.$ac_objext conftest$ac_exeext
32992 if { (ac_try="$ac_link"
32993 case "(($ac_try" in
32994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32995 *) ac_try_echo=$ac_try;;
32996 esac
32997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32998 (eval "$ac_link") 2>conftest.er1
32999 ac_status=$?
33000 grep -v '^ *+' conftest.er1 >conftest.err
33001 rm -f conftest.er1
33002 cat conftest.err >&5
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); } && {
33005 test -z "$ac_c_werror_flag" ||
33006 test ! -s conftest.err
33007 } && test -s conftest$ac_exeext &&
33008 $as_test_x conftest$ac_exeext; then
33009 ac_cv_lib_socket_connect=yes
33010 else
33011 echo "$as_me: failed program was:" >&5
33012 sed 's/^/| /' conftest.$ac_ext >&5
33013
33014 ac_cv_lib_socket_connect=no
33015 fi
33016
33017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33018 conftest$ac_exeext conftest.$ac_ext
33019 LIBS=$ac_check_lib_save_LIBS
33020 fi
33021 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33022 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33023 if test $ac_cv_lib_socket_connect = yes; then
33024 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33025 fi
33026
33027 fi
33028
33029 # Guillermo Gomez says -lposix is necessary on A/UX.
33030 { echo "$as_me:$LINENO: checking for remove" >&5
33031 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33032 if test "${ac_cv_func_remove+set}" = set; then
33033 echo $ECHO_N "(cached) $ECHO_C" >&6
33034 else
33035 cat >conftest.$ac_ext <<_ACEOF
33036 /* confdefs.h. */
33037 _ACEOF
33038 cat confdefs.h >>conftest.$ac_ext
33039 cat >>conftest.$ac_ext <<_ACEOF
33040 /* end confdefs.h. */
33041 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33043 #define remove innocuous_remove
33044
33045 /* System header to define __stub macros and hopefully few prototypes,
33046 which can conflict with char remove (); below.
33047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33048 <limits.h> exists even on freestanding compilers. */
33049
33050 #ifdef __STDC__
33051 # include <limits.h>
33052 #else
33053 # include <assert.h>
33054 #endif
33055
33056 #undef remove
33057
33058 /* Override any GCC internal prototype to avoid an error.
33059 Use char because int might match the return type of a GCC
33060 builtin and then its argument prototype would still apply. */
33061 #ifdef __cplusplus
33062 extern "C"
33063 #endif
33064 char remove ();
33065 /* The GNU C library defines this for functions which it implements
33066 to always fail with ENOSYS. Some functions are actually named
33067 something starting with __ and the normal name is an alias. */
33068 #if defined __stub_remove || defined __stub___remove
33069 choke me
33070 #endif
33071
33072 int
33073 main ()
33074 {
33075 return remove ();
33076 ;
33077 return 0;
33078 }
33079 _ACEOF
33080 rm -f conftest.$ac_objext conftest$ac_exeext
33081 if { (ac_try="$ac_link"
33082 case "(($ac_try" in
33083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33084 *) ac_try_echo=$ac_try;;
33085 esac
33086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33087 (eval "$ac_link") 2>conftest.er1
33088 ac_status=$?
33089 grep -v '^ *+' conftest.er1 >conftest.err
33090 rm -f conftest.er1
33091 cat conftest.err >&5
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); } && {
33094 test -z "$ac_c_werror_flag" ||
33095 test ! -s conftest.err
33096 } && test -s conftest$ac_exeext &&
33097 $as_test_x conftest$ac_exeext; then
33098 ac_cv_func_remove=yes
33099 else
33100 echo "$as_me: failed program was:" >&5
33101 sed 's/^/| /' conftest.$ac_ext >&5
33102
33103 ac_cv_func_remove=no
33104 fi
33105
33106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33107 conftest$ac_exeext conftest.$ac_ext
33108 fi
33109 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33110 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33111
33112 if test $ac_cv_func_remove = no; then
33113 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33114 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33115 if test "${ac_cv_lib_posix_remove+set}" = set; then
33116 echo $ECHO_N "(cached) $ECHO_C" >&6
33117 else
33118 ac_check_lib_save_LIBS=$LIBS
33119 LIBS="-lposix $LIBS"
33120 cat >conftest.$ac_ext <<_ACEOF
33121 /* confdefs.h. */
33122 _ACEOF
33123 cat confdefs.h >>conftest.$ac_ext
33124 cat >>conftest.$ac_ext <<_ACEOF
33125 /* end confdefs.h. */
33126
33127 /* Override any GCC internal prototype to avoid an error.
33128 Use char because int might match the return type of a GCC
33129 builtin and then its argument prototype would still apply. */
33130 #ifdef __cplusplus
33131 extern "C"
33132 #endif
33133 char remove ();
33134 int
33135 main ()
33136 {
33137 return remove ();
33138 ;
33139 return 0;
33140 }
33141 _ACEOF
33142 rm -f conftest.$ac_objext conftest$ac_exeext
33143 if { (ac_try="$ac_link"
33144 case "(($ac_try" in
33145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33146 *) ac_try_echo=$ac_try;;
33147 esac
33148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33149 (eval "$ac_link") 2>conftest.er1
33150 ac_status=$?
33151 grep -v '^ *+' conftest.er1 >conftest.err
33152 rm -f conftest.er1
33153 cat conftest.err >&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); } && {
33156 test -z "$ac_c_werror_flag" ||
33157 test ! -s conftest.err
33158 } && test -s conftest$ac_exeext &&
33159 $as_test_x conftest$ac_exeext; then
33160 ac_cv_lib_posix_remove=yes
33161 else
33162 echo "$as_me: failed program was:" >&5
33163 sed 's/^/| /' conftest.$ac_ext >&5
33164
33165 ac_cv_lib_posix_remove=no
33166 fi
33167
33168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33169 conftest$ac_exeext conftest.$ac_ext
33170 LIBS=$ac_check_lib_save_LIBS
33171 fi
33172 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33173 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33174 if test $ac_cv_lib_posix_remove = yes; then
33175 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33176 fi
33177
33178 fi
33179
33180 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33181 { echo "$as_me:$LINENO: checking for shmat" >&5
33182 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33183 if test "${ac_cv_func_shmat+set}" = set; then
33184 echo $ECHO_N "(cached) $ECHO_C" >&6
33185 else
33186 cat >conftest.$ac_ext <<_ACEOF
33187 /* confdefs.h. */
33188 _ACEOF
33189 cat confdefs.h >>conftest.$ac_ext
33190 cat >>conftest.$ac_ext <<_ACEOF
33191 /* end confdefs.h. */
33192 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33194 #define shmat innocuous_shmat
33195
33196 /* System header to define __stub macros and hopefully few prototypes,
33197 which can conflict with char shmat (); below.
33198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33199 <limits.h> exists even on freestanding compilers. */
33200
33201 #ifdef __STDC__
33202 # include <limits.h>
33203 #else
33204 # include <assert.h>
33205 #endif
33206
33207 #undef shmat
33208
33209 /* Override any GCC internal prototype to avoid an error.
33210 Use char because int might match the return type of a GCC
33211 builtin and then its argument prototype would still apply. */
33212 #ifdef __cplusplus
33213 extern "C"
33214 #endif
33215 char shmat ();
33216 /* The GNU C library defines this for functions which it implements
33217 to always fail with ENOSYS. Some functions are actually named
33218 something starting with __ and the normal name is an alias. */
33219 #if defined __stub_shmat || defined __stub___shmat
33220 choke me
33221 #endif
33222
33223 int
33224 main ()
33225 {
33226 return shmat ();
33227 ;
33228 return 0;
33229 }
33230 _ACEOF
33231 rm -f conftest.$ac_objext conftest$ac_exeext
33232 if { (ac_try="$ac_link"
33233 case "(($ac_try" in
33234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33235 *) ac_try_echo=$ac_try;;
33236 esac
33237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33238 (eval "$ac_link") 2>conftest.er1
33239 ac_status=$?
33240 grep -v '^ *+' conftest.er1 >conftest.err
33241 rm -f conftest.er1
33242 cat conftest.err >&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); } && {
33245 test -z "$ac_c_werror_flag" ||
33246 test ! -s conftest.err
33247 } && test -s conftest$ac_exeext &&
33248 $as_test_x conftest$ac_exeext; then
33249 ac_cv_func_shmat=yes
33250 else
33251 echo "$as_me: failed program was:" >&5
33252 sed 's/^/| /' conftest.$ac_ext >&5
33253
33254 ac_cv_func_shmat=no
33255 fi
33256
33257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33258 conftest$ac_exeext conftest.$ac_ext
33259 fi
33260 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33261 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33262
33263 if test $ac_cv_func_shmat = no; then
33264 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33265 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33266 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33267 echo $ECHO_N "(cached) $ECHO_C" >&6
33268 else
33269 ac_check_lib_save_LIBS=$LIBS
33270 LIBS="-lipc $LIBS"
33271 cat >conftest.$ac_ext <<_ACEOF
33272 /* confdefs.h. */
33273 _ACEOF
33274 cat confdefs.h >>conftest.$ac_ext
33275 cat >>conftest.$ac_ext <<_ACEOF
33276 /* end confdefs.h. */
33277
33278 /* Override any GCC internal prototype to avoid an error.
33279 Use char because int might match the return type of a GCC
33280 builtin and then its argument prototype would still apply. */
33281 #ifdef __cplusplus
33282 extern "C"
33283 #endif
33284 char shmat ();
33285 int
33286 main ()
33287 {
33288 return shmat ();
33289 ;
33290 return 0;
33291 }
33292 _ACEOF
33293 rm -f conftest.$ac_objext conftest$ac_exeext
33294 if { (ac_try="$ac_link"
33295 case "(($ac_try" in
33296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33297 *) ac_try_echo=$ac_try;;
33298 esac
33299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33300 (eval "$ac_link") 2>conftest.er1
33301 ac_status=$?
33302 grep -v '^ *+' conftest.er1 >conftest.err
33303 rm -f conftest.er1
33304 cat conftest.err >&5
33305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33306 (exit $ac_status); } && {
33307 test -z "$ac_c_werror_flag" ||
33308 test ! -s conftest.err
33309 } && test -s conftest$ac_exeext &&
33310 $as_test_x conftest$ac_exeext; then
33311 ac_cv_lib_ipc_shmat=yes
33312 else
33313 echo "$as_me: failed program was:" >&5
33314 sed 's/^/| /' conftest.$ac_ext >&5
33315
33316 ac_cv_lib_ipc_shmat=no
33317 fi
33318
33319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33320 conftest$ac_exeext conftest.$ac_ext
33321 LIBS=$ac_check_lib_save_LIBS
33322 fi
33323 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33324 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33325 if test $ac_cv_lib_ipc_shmat = yes; then
33326 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33327 fi
33328
33329 fi
33330 fi
33331
33332 # Check for libraries that X11R6 Xt/Xaw programs need.
33333 ac_save_LDFLAGS=$LDFLAGS
33334 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33335 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33336 # check for ICE first), but we must link in the order -lSM -lICE or
33337 # we get undefined symbols. So assume we have SM if we have ICE.
33338 # These have to be linked with before -lX11, unlike the other
33339 # libraries we check for below, so use a different variable.
33340 # John Interrante, Karl Berry
33341 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33342 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33343 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33344 echo $ECHO_N "(cached) $ECHO_C" >&6
33345 else
33346 ac_check_lib_save_LIBS=$LIBS
33347 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33348 cat >conftest.$ac_ext <<_ACEOF
33349 /* confdefs.h. */
33350 _ACEOF
33351 cat confdefs.h >>conftest.$ac_ext
33352 cat >>conftest.$ac_ext <<_ACEOF
33353 /* end confdefs.h. */
33354
33355 /* Override any GCC internal prototype to avoid an error.
33356 Use char because int might match the return type of a GCC
33357 builtin and then its argument prototype would still apply. */
33358 #ifdef __cplusplus
33359 extern "C"
33360 #endif
33361 char IceConnectionNumber ();
33362 int
33363 main ()
33364 {
33365 return IceConnectionNumber ();
33366 ;
33367 return 0;
33368 }
33369 _ACEOF
33370 rm -f conftest.$ac_objext conftest$ac_exeext
33371 if { (ac_try="$ac_link"
33372 case "(($ac_try" in
33373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33374 *) ac_try_echo=$ac_try;;
33375 esac
33376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33377 (eval "$ac_link") 2>conftest.er1
33378 ac_status=$?
33379 grep -v '^ *+' conftest.er1 >conftest.err
33380 rm -f conftest.er1
33381 cat conftest.err >&5
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); } && {
33384 test -z "$ac_c_werror_flag" ||
33385 test ! -s conftest.err
33386 } && test -s conftest$ac_exeext &&
33387 $as_test_x conftest$ac_exeext; then
33388 ac_cv_lib_ICE_IceConnectionNumber=yes
33389 else
33390 echo "$as_me: failed program was:" >&5
33391 sed 's/^/| /' conftest.$ac_ext >&5
33392
33393 ac_cv_lib_ICE_IceConnectionNumber=no
33394 fi
33395
33396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33397 conftest$ac_exeext conftest.$ac_ext
33398 LIBS=$ac_check_lib_save_LIBS
33399 fi
33400 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33401 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33402 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33403 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33404 fi
33405
33406 LDFLAGS=$ac_save_LDFLAGS
33407
33408 fi
33409
33410
33411 if test "$no_x" = "yes"; then
33412 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33413 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33414 { (exit 1); exit 1; }; }
33415 fi
33416
33417 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33418 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33419 AFMINSTALL=afminstall
33420 COMPILED_X_PROGRAM=0
33421
33422 fi
33423
33424 if test "$wxUSE_X11" = 1; then
33425 if test "$wxUSE_NANOX" = "yes"; then
33426 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33427 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33428 if test "x$MICROWIN" = x ; then
33429 { echo "$as_me:$LINENO: result: not found" >&5
33430 echo "${ECHO_T}not found" >&6; }
33431 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33432 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33433 { (exit 1); exit 1; }; }
33434 else
33435 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33436 echo "${ECHO_T}$MICROWIN" >&6; }
33437 cat >>confdefs.h <<\_ACEOF
33438 #define wxUSE_NANOX 1
33439 _ACEOF
33440
33441 fi
33442 fi
33443
33444 if test "$wxUSE_UNICODE" = "yes"; then
33445
33446
33447 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33448 if test -n "$ac_tool_prefix"; then
33449 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33450 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33453 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33454 echo $ECHO_N "(cached) $ECHO_C" >&6
33455 else
33456 case $PKG_CONFIG in
33457 [\\/]* | ?:[\\/]*)
33458 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33459 ;;
33460 *)
33461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33462 for as_dir in $PATH
33463 do
33464 IFS=$as_save_IFS
33465 test -z "$as_dir" && as_dir=.
33466 for ac_exec_ext in '' $ac_executable_extensions; do
33467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33468 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33470 break 2
33471 fi
33472 done
33473 done
33474 IFS=$as_save_IFS
33475
33476 ;;
33477 esac
33478 fi
33479 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33480 if test -n "$PKG_CONFIG"; then
33481 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33482 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33483 else
33484 { echo "$as_me:$LINENO: result: no" >&5
33485 echo "${ECHO_T}no" >&6; }
33486 fi
33487
33488
33489 fi
33490 if test -z "$ac_cv_path_PKG_CONFIG"; then
33491 ac_pt_PKG_CONFIG=$PKG_CONFIG
33492 # Extract the first word of "pkg-config", so it can be a program name with args.
33493 set dummy pkg-config; ac_word=$2
33494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33496 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33497 echo $ECHO_N "(cached) $ECHO_C" >&6
33498 else
33499 case $ac_pt_PKG_CONFIG in
33500 [\\/]* | ?:[\\/]*)
33501 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33502 ;;
33503 *)
33504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33505 for as_dir in $PATH
33506 do
33507 IFS=$as_save_IFS
33508 test -z "$as_dir" && as_dir=.
33509 for ac_exec_ext in '' $ac_executable_extensions; do
33510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33511 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33513 break 2
33514 fi
33515 done
33516 done
33517 IFS=$as_save_IFS
33518
33519 ;;
33520 esac
33521 fi
33522 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33523 if test -n "$ac_pt_PKG_CONFIG"; then
33524 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33525 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33526 else
33527 { echo "$as_me:$LINENO: result: no" >&5
33528 echo "${ECHO_T}no" >&6; }
33529 fi
33530
33531 if test "x$ac_pt_PKG_CONFIG" = x; then
33532 PKG_CONFIG=""
33533 else
33534 case $cross_compiling:$ac_tool_warned in
33535 yes:)
33536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33537 whose name does not start with the host triplet. If you think this
33538 configuration is useful to you, please write to autoconf@gnu.org." >&5
33539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33540 whose name does not start with the host triplet. If you think this
33541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33542 ac_tool_warned=yes ;;
33543 esac
33544 PKG_CONFIG=$ac_pt_PKG_CONFIG
33545 fi
33546 else
33547 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33548 fi
33549
33550 fi
33551 if test -n "$PKG_CONFIG"; then
33552 _pkg_min_version=0.9.0
33553 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33554 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33555 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33556 { echo "$as_me:$LINENO: result: yes" >&5
33557 echo "${ECHO_T}yes" >&6; }
33558 else
33559 { echo "$as_me:$LINENO: result: no" >&5
33560 echo "${ECHO_T}no" >&6; }
33561 PKG_CONFIG=""
33562 fi
33563
33564 fi
33565
33566
33567 pkg_failed=no
33568 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33569 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33570
33571 if test -n "$PKG_CONFIG"; then
33572 if test -n "$PANGOX_CFLAGS"; then
33573 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33574 else
33575 if test -n "$PKG_CONFIG" && \
33576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33577 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33578 ac_status=$?
33579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580 (exit $ac_status); }; then
33581 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33582 else
33583 pkg_failed=yes
33584 fi
33585 fi
33586 else
33587 pkg_failed=untried
33588 fi
33589 if test -n "$PKG_CONFIG"; then
33590 if test -n "$PANGOX_LIBS"; then
33591 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33592 else
33593 if test -n "$PKG_CONFIG" && \
33594 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33595 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33596 ac_status=$?
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); }; then
33599 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33600 else
33601 pkg_failed=yes
33602 fi
33603 fi
33604 else
33605 pkg_failed=untried
33606 fi
33607
33608
33609
33610 if test $pkg_failed = yes; then
33611
33612 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33613 _pkg_short_errors_supported=yes
33614 else
33615 _pkg_short_errors_supported=no
33616 fi
33617 if test $_pkg_short_errors_supported = yes; then
33618 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33619 else
33620 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33621 fi
33622 # Put the nasty error message in config.log where it belongs
33623 echo "$PANGOX_PKG_ERRORS" >&5
33624
33625
33626 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33627 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33628 { (exit 1); exit 1; }; }
33629
33630
33631 elif test $pkg_failed = untried; then
33632
33633 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33634 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33635 { (exit 1); exit 1; }; }
33636
33637
33638 else
33639 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33640 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33641 { echo "$as_me:$LINENO: result: yes" >&5
33642 echo "${ECHO_T}yes" >&6; }
33643
33644 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33645 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33646 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33647
33648 fi
33649
33650 pkg_failed=no
33651 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33652 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33653
33654 if test -n "$PKG_CONFIG"; then
33655 if test -n "$PANGOFT2_CFLAGS"; then
33656 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33657 else
33658 if test -n "$PKG_CONFIG" && \
33659 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33660 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33661 ac_status=$?
33662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663 (exit $ac_status); }; then
33664 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33665 else
33666 pkg_failed=yes
33667 fi
33668 fi
33669 else
33670 pkg_failed=untried
33671 fi
33672 if test -n "$PKG_CONFIG"; then
33673 if test -n "$PANGOFT2_LIBS"; then
33674 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33675 else
33676 if test -n "$PKG_CONFIG" && \
33677 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33678 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33679 ac_status=$?
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); }; then
33682 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33683 else
33684 pkg_failed=yes
33685 fi
33686 fi
33687 else
33688 pkg_failed=untried
33689 fi
33690
33691
33692
33693 if test $pkg_failed = yes; then
33694
33695 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33696 _pkg_short_errors_supported=yes
33697 else
33698 _pkg_short_errors_supported=no
33699 fi
33700 if test $_pkg_short_errors_supported = yes; then
33701 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33702 else
33703 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33704 fi
33705 # Put the nasty error message in config.log where it belongs
33706 echo "$PANGOFT2_PKG_ERRORS" >&5
33707
33708
33709 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33710 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33711 wxUSE_PRINTING_ARCHITECTURE="no"
33712
33713
33714 elif test $pkg_failed = untried; then
33715
33716 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33717 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33718 wxUSE_PRINTING_ARCHITECTURE="no"
33719
33720
33721 else
33722 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33723 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33724 { echo "$as_me:$LINENO: result: yes" >&5
33725 echo "${ECHO_T}yes" >&6; }
33726
33727 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33728 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33729 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33730
33731 fi
33732
33733 pkg_failed=no
33734 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33735 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33736
33737 if test -n "$PKG_CONFIG"; then
33738 if test -n "$PANGOXFT_CFLAGS"; then
33739 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33740 else
33741 if test -n "$PKG_CONFIG" && \
33742 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33743 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33744 ac_status=$?
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); }; then
33747 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33748 else
33749 pkg_failed=yes
33750 fi
33751 fi
33752 else
33753 pkg_failed=untried
33754 fi
33755 if test -n "$PKG_CONFIG"; then
33756 if test -n "$PANGOXFT_LIBS"; then
33757 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33758 else
33759 if test -n "$PKG_CONFIG" && \
33760 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33761 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33762 ac_status=$?
33763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33764 (exit $ac_status); }; then
33765 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33766 else
33767 pkg_failed=yes
33768 fi
33769 fi
33770 else
33771 pkg_failed=untried
33772 fi
33773
33774
33775
33776 if test $pkg_failed = yes; then
33777
33778 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33779 _pkg_short_errors_supported=yes
33780 else
33781 _pkg_short_errors_supported=no
33782 fi
33783 if test $_pkg_short_errors_supported = yes; then
33784 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33785 else
33786 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33787 fi
33788 # Put the nasty error message in config.log where it belongs
33789 echo "$PANGOXFT_PKG_ERRORS" >&5
33790
33791
33792 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33793 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33794
33795
33796 elif test $pkg_failed = untried; then
33797
33798 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33799 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33800
33801
33802 else
33803 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33804 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33805 { echo "$as_me:$LINENO: result: yes" >&5
33806 echo "${ECHO_T}yes" >&6; }
33807
33808 cat >>confdefs.h <<\_ACEOF
33809 #define HAVE_PANGO_XFT 1
33810 _ACEOF
33811
33812 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33813 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33814 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33815
33816 fi
33817 save_LIBS="$LIBS"
33818 LIBS="$LIBS $PANGOX_LIBS"
33819
33820 for ac_func in pango_font_family_is_monospace
33821 do
33822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33823 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33825 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33826 echo $ECHO_N "(cached) $ECHO_C" >&6
33827 else
33828 cat >conftest.$ac_ext <<_ACEOF
33829 /* confdefs.h. */
33830 _ACEOF
33831 cat confdefs.h >>conftest.$ac_ext
33832 cat >>conftest.$ac_ext <<_ACEOF
33833 /* end confdefs.h. */
33834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33836 #define $ac_func innocuous_$ac_func
33837
33838 /* System header to define __stub macros and hopefully few prototypes,
33839 which can conflict with char $ac_func (); below.
33840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33841 <limits.h> exists even on freestanding compilers. */
33842
33843 #ifdef __STDC__
33844 # include <limits.h>
33845 #else
33846 # include <assert.h>
33847 #endif
33848
33849 #undef $ac_func
33850
33851 /* Override any GCC internal prototype to avoid an error.
33852 Use char because int might match the return type of a GCC
33853 builtin and then its argument prototype would still apply. */
33854 #ifdef __cplusplus
33855 extern "C"
33856 #endif
33857 char $ac_func ();
33858 /* The GNU C library defines this for functions which it implements
33859 to always fail with ENOSYS. Some functions are actually named
33860 something starting with __ and the normal name is an alias. */
33861 #if defined __stub_$ac_func || defined __stub___$ac_func
33862 choke me
33863 #endif
33864
33865 int
33866 main ()
33867 {
33868 return $ac_func ();
33869 ;
33870 return 0;
33871 }
33872 _ACEOF
33873 rm -f conftest.$ac_objext conftest$ac_exeext
33874 if { (ac_try="$ac_link"
33875 case "(($ac_try" in
33876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33877 *) ac_try_echo=$ac_try;;
33878 esac
33879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33880 (eval "$ac_link") 2>conftest.er1
33881 ac_status=$?
33882 grep -v '^ *+' conftest.er1 >conftest.err
33883 rm -f conftest.er1
33884 cat conftest.err >&5
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); } && {
33887 test -z "$ac_c_werror_flag" ||
33888 test ! -s conftest.err
33889 } && test -s conftest$ac_exeext &&
33890 $as_test_x conftest$ac_exeext; then
33891 eval "$as_ac_var=yes"
33892 else
33893 echo "$as_me: failed program was:" >&5
33894 sed 's/^/| /' conftest.$ac_ext >&5
33895
33896 eval "$as_ac_var=no"
33897 fi
33898
33899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33900 conftest$ac_exeext conftest.$ac_ext
33901 fi
33902 ac_res=`eval echo '${'$as_ac_var'}'`
33903 { echo "$as_me:$LINENO: result: $ac_res" >&5
33904 echo "${ECHO_T}$ac_res" >&6; }
33905 if test `eval echo '${'$as_ac_var'}'` = yes; then
33906 cat >>confdefs.h <<_ACEOF
33907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33908 _ACEOF
33909
33910 fi
33911 done
33912
33913 LIBS="$save_LIBS"
33914 fi
33915
33916 wxUSE_UNIVERSAL="yes"
33917
33918 if test "$wxUSE_NANOX" = "yes"; then
33919 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33920 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"
33921 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33922 else
33923 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33924 fi
33925
33926 TOOLKIT=X11
33927 GUIDIST=X11_DIST
33928 fi
33929
33930 if test "$wxUSE_MOTIF" = 1; then
33931 if test "$wxUSE_UNICODE" = "yes"; then
33932 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33933 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33934 { (exit 1); exit 1; }; }
33935 fi
33936
33937 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33938 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33939
33940 ac_find_includes=
33941 for ac_dir in $SEARCH_INCLUDE /usr/include;
33942 do
33943 if test -f "$ac_dir/Xm/Xm.h"; then
33944 ac_find_includes=$ac_dir
33945 break
33946 fi
33947 done
33948
33949 if test "$ac_find_includes" != "" ; then
33950 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33951 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33952
33953 if test "x$ac_find_includes" = "x/usr/include"; then
33954 ac_path_to_include=""
33955 else
33956 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33957 result=$?
33958 if test $result = 0; then
33959 ac_path_to_include=""
33960 else
33961 ac_path_to_include=" -I$ac_find_includes"
33962 fi
33963 fi
33964
33965 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33966 else
33967 save_CFLAGS=$CFLAGS
33968 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33969
33970 cat >conftest.$ac_ext <<_ACEOF
33971 /* confdefs.h. */
33972 _ACEOF
33973 cat confdefs.h >>conftest.$ac_ext
33974 cat >>conftest.$ac_ext <<_ACEOF
33975 /* end confdefs.h. */
33976
33977 #include <Xm/Xm.h>
33978
33979 int
33980 main ()
33981 {
33982
33983 int version;
33984 version = xmUseVersion;
33985
33986 ;
33987 return 0;
33988 }
33989 _ACEOF
33990 rm -f conftest.$ac_objext
33991 if { (ac_try="$ac_compile"
33992 case "(($ac_try" in
33993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33994 *) ac_try_echo=$ac_try;;
33995 esac
33996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33997 (eval "$ac_compile") 2>conftest.er1
33998 ac_status=$?
33999 grep -v '^ *+' conftest.er1 >conftest.err
34000 rm -f conftest.er1
34001 cat conftest.err >&5
34002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003 (exit $ac_status); } && {
34004 test -z "$ac_c_werror_flag" ||
34005 test ! -s conftest.err
34006 } && test -s conftest.$ac_objext; then
34007
34008 { echo "$as_me:$LINENO: result: found in default search path" >&5
34009 echo "${ECHO_T}found in default search path" >&6; }
34010 COMPILED_X_PROGRAM=1
34011
34012 else
34013 echo "$as_me: failed program was:" >&5
34014 sed 's/^/| /' conftest.$ac_ext >&5
34015
34016
34017 { echo "$as_me:$LINENO: result: no" >&5
34018 echo "${ECHO_T}no" >&6; }
34019 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34020 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34021 { (exit 1); exit 1; }; }
34022
34023
34024 fi
34025
34026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34027
34028 CFLAGS=$save_CFLAGS
34029 fi
34030
34031
34032 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34033 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34034
34035 ac_find_libraries=
34036 for ac_dir in $SEARCH_LIB;
34037 do
34038 for ac_extension in a so sl dylib dll.a; do
34039 if test -f "$ac_dir/libXm.$ac_extension"; then
34040 ac_find_libraries=$ac_dir
34041 break 2
34042 fi
34043 done
34044 done
34045
34046
34047 if test "x$ac_find_libraries" != "x" ; then
34048 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34049 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34050
34051
34052 if test "$ac_find_libraries" = "default location"; then
34053 ac_path_to_link=""
34054 else
34055 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34056 result=$?
34057 if test $result = 0; then
34058 ac_path_to_link=""
34059 else
34060 ac_path_to_link=" -L$ac_find_libraries"
34061 fi
34062 fi
34063
34064 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34065 else
34066 save_CFLAGS=$CFLAGS
34067 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34068 save_LIBS="$LIBS"
34069 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34070
34071 cat >conftest.$ac_ext <<_ACEOF
34072 /* confdefs.h. */
34073 _ACEOF
34074 cat confdefs.h >>conftest.$ac_ext
34075 cat >>conftest.$ac_ext <<_ACEOF
34076 /* end confdefs.h. */
34077
34078 #include <Xm/Xm.h>
34079
34080 int
34081 main ()
34082 {
34083
34084 int version;
34085 version = xmUseVersion;
34086
34087 ;
34088 return 0;
34089 }
34090 _ACEOF
34091 rm -f conftest.$ac_objext conftest$ac_exeext
34092 if { (ac_try="$ac_link"
34093 case "(($ac_try" in
34094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34095 *) ac_try_echo=$ac_try;;
34096 esac
34097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34098 (eval "$ac_link") 2>conftest.er1
34099 ac_status=$?
34100 grep -v '^ *+' conftest.er1 >conftest.err
34101 rm -f conftest.er1
34102 cat conftest.err >&5
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); } && {
34105 test -z "$ac_c_werror_flag" ||
34106 test ! -s conftest.err
34107 } && test -s conftest$ac_exeext &&
34108 $as_test_x conftest$ac_exeext; then
34109
34110 { echo "$as_me:$LINENO: result: found in default search path" >&5
34111 echo "${ECHO_T}found in default search path" >&6; }
34112 COMPILED_X_PROGRAM=1
34113
34114 else
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.$ac_ext >&5
34117
34118
34119 { echo "$as_me:$LINENO: result: no" >&5
34120 echo "${ECHO_T}no" >&6; }
34121 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34122 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34123 { (exit 1); exit 1; }; }
34124
34125
34126 fi
34127
34128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34129 conftest$ac_exeext conftest.$ac_ext
34130
34131 CFLAGS=$save_CFLAGS
34132 LIBS="$save_LIBS"
34133 fi
34134
34135 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34136 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34137 libp_link=""
34138 libsm_ice_link=""
34139 libs_found=0
34140 for libp in "" " -lXp"; do
34141 if test "$libs_found" = "0"; then
34142 for libsm_ice in "" " -lSM -lICE"; do
34143 if test "$libs_found" = "0"; then
34144 save_LIBS="$LIBS"
34145 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34146 save_CFLAGS=$CFLAGS
34147 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34148
34149 cat >conftest.$ac_ext <<_ACEOF
34150 /* confdefs.h. */
34151 _ACEOF
34152 cat confdefs.h >>conftest.$ac_ext
34153 cat >>conftest.$ac_ext <<_ACEOF
34154 /* end confdefs.h. */
34155
34156 #include <Xm/Xm.h>
34157 #include <Xm/List.h>
34158
34159 int
34160 main ()
34161 {
34162
34163 XmString string = NULL;
34164 Widget w = NULL;
34165 int position = 0;
34166 XmListAddItem(w, string, position);
34167
34168 ;
34169 return 0;
34170 }
34171 _ACEOF
34172 rm -f conftest.$ac_objext conftest$ac_exeext
34173 if { (ac_try="$ac_link"
34174 case "(($ac_try" in
34175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34176 *) ac_try_echo=$ac_try;;
34177 esac
34178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34179 (eval "$ac_link") 2>conftest.er1
34180 ac_status=$?
34181 grep -v '^ *+' conftest.er1 >conftest.err
34182 rm -f conftest.er1
34183 cat conftest.err >&5
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); } && {
34186 test -z "$ac_c_werror_flag" ||
34187 test ! -s conftest.err
34188 } && test -s conftest$ac_exeext &&
34189 $as_test_x conftest$ac_exeext; then
34190
34191 libp_link="$libp"
34192 libsm_ice_link="$libsm_ice"
34193 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34194 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34195 libs_found=1
34196
34197 else
34198 echo "$as_me: failed program was:" >&5
34199 sed 's/^/| /' conftest.$ac_ext >&5
34200
34201
34202
34203 fi
34204
34205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34206 conftest$ac_exeext conftest.$ac_ext
34207
34208 LIBS="$save_LIBS"
34209 CFLAGS=$save_CFLAGS
34210 fi
34211 done
34212 fi
34213 done
34214
34215 if test "$libs_found" = "0"; then
34216 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34217 echo "${ECHO_T}can't find the right libraries" >&6; }
34218 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34219 echo "$as_me: error: can't link a simple motif program" >&2;}
34220 { (exit 1); exit 1; }; }
34221 fi
34222
34223 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34224 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34225 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34226 echo $ECHO_N "(cached) $ECHO_C" >&6
34227 else
34228 ac_check_lib_save_LIBS=$LIBS
34229 LIBS="-lSgm $LIBS"
34230 cat >conftest.$ac_ext <<_ACEOF
34231 /* confdefs.h. */
34232 _ACEOF
34233 cat confdefs.h >>conftest.$ac_ext
34234 cat >>conftest.$ac_ext <<_ACEOF
34235 /* end confdefs.h. */
34236
34237 /* Override any GCC internal prototype to avoid an error.
34238 Use char because int might match the return type of a GCC
34239 builtin and then its argument prototype would still apply. */
34240 #ifdef __cplusplus
34241 extern "C"
34242 #endif
34243 char SgCreateList ();
34244 int
34245 main ()
34246 {
34247 return SgCreateList ();
34248 ;
34249 return 0;
34250 }
34251 _ACEOF
34252 rm -f conftest.$ac_objext conftest$ac_exeext
34253 if { (ac_try="$ac_link"
34254 case "(($ac_try" in
34255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34256 *) ac_try_echo=$ac_try;;
34257 esac
34258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34259 (eval "$ac_link") 2>conftest.er1
34260 ac_status=$?
34261 grep -v '^ *+' conftest.er1 >conftest.err
34262 rm -f conftest.er1
34263 cat conftest.err >&5
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); } && {
34266 test -z "$ac_c_werror_flag" ||
34267 test ! -s conftest.err
34268 } && test -s conftest$ac_exeext &&
34269 $as_test_x conftest$ac_exeext; then
34270 ac_cv_lib_Sgm_SgCreateList=yes
34271 else
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34274
34275 ac_cv_lib_Sgm_SgCreateList=no
34276 fi
34277
34278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34279 conftest$ac_exeext conftest.$ac_ext
34280 LIBS=$ac_check_lib_save_LIBS
34281 fi
34282 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34283 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34284 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34285 libsgm_link=" -lSgm"
34286 fi
34287
34288
34289 save_CFLAGS=$CFLAGS
34290 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34291
34292 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34293 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34294 if test "${wx_cv_lib_motif2+set}" = set; then
34295 echo $ECHO_N "(cached) $ECHO_C" >&6
34296 else
34297 cat >conftest.$ac_ext <<_ACEOF
34298 /* confdefs.h. */
34299 _ACEOF
34300 cat confdefs.h >>conftest.$ac_ext
34301 cat >>conftest.$ac_ext <<_ACEOF
34302 /* end confdefs.h. */
34303
34304 #include <Xm/Xm.h>
34305
34306 int
34307 main ()
34308 {
34309
34310 #if XmVersion < 2000
34311 Not Motif 2
34312 #endif
34313
34314 ;
34315 return 0;
34316 }
34317 _ACEOF
34318 rm -f conftest.$ac_objext
34319 if { (ac_try="$ac_compile"
34320 case "(($ac_try" in
34321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34322 *) ac_try_echo=$ac_try;;
34323 esac
34324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34325 (eval "$ac_compile") 2>conftest.er1
34326 ac_status=$?
34327 grep -v '^ *+' conftest.er1 >conftest.err
34328 rm -f conftest.er1
34329 cat conftest.err >&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); } && {
34332 test -z "$ac_c_werror_flag" ||
34333 test ! -s conftest.err
34334 } && test -s conftest.$ac_objext; then
34335 wx_cv_lib_motif2="yes"
34336 else
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.$ac_ext >&5
34339
34340 wx_cv_lib_motif2="no"
34341 fi
34342
34343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34344 fi
34345 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34346 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34347 if test "$wx_cv_lib_motif2" = "yes"; then
34348 cat >>confdefs.h <<\_ACEOF
34349 #define __WXMOTIF20__ 1
34350 _ACEOF
34351
34352 else
34353 cat >>confdefs.h <<\_ACEOF
34354 #define __WXMOTIF20__ 0
34355 _ACEOF
34356
34357 fi
34358
34359 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34360 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34361 if test "${wx_cv_lib_lesstif+set}" = set; then
34362 echo $ECHO_N "(cached) $ECHO_C" >&6
34363 else
34364 cat >conftest.$ac_ext <<_ACEOF
34365 /* confdefs.h. */
34366 _ACEOF
34367 cat confdefs.h >>conftest.$ac_ext
34368 cat >>conftest.$ac_ext <<_ACEOF
34369 /* end confdefs.h. */
34370
34371 #include <Xm/Xm.h>
34372
34373 int
34374 main ()
34375 {
34376
34377 #if !defined(LesstifVersion) || LesstifVersion <= 0
34378 Not Lesstif
34379 #endif
34380
34381 ;
34382 return 0;
34383 }
34384 _ACEOF
34385 rm -f conftest.$ac_objext
34386 if { (ac_try="$ac_compile"
34387 case "(($ac_try" in
34388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34389 *) ac_try_echo=$ac_try;;
34390 esac
34391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34392 (eval "$ac_compile") 2>conftest.er1
34393 ac_status=$?
34394 grep -v '^ *+' conftest.er1 >conftest.err
34395 rm -f conftest.er1
34396 cat conftest.err >&5
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); } && {
34399 test -z "$ac_c_werror_flag" ||
34400 test ! -s conftest.err
34401 } && test -s conftest.$ac_objext; then
34402 wx_cv_lib_lesstif="yes"
34403 else
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.$ac_ext >&5
34406
34407 wx_cv_lib_lesstif="no"
34408 fi
34409
34410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34411
34412 fi
34413 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34414 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34415 if test "$wx_cv_lib_lesstif" = "yes"; then
34416 cat >>confdefs.h <<\_ACEOF
34417 #define __WXLESSTIF__ 1
34418 _ACEOF
34419
34420 else
34421 cat >>confdefs.h <<\_ACEOF
34422 #define __WXLESSTIF__ 0
34423 _ACEOF
34424
34425 fi
34426
34427 CFLAGS=$save_CFLAGS
34428
34429 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34430 TOOLKIT=MOTIF
34431 GUIDIST=MOTIF_DIST
34432 fi
34433
34434 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34435 if test "$wxUSE_LIBXPM" = "sys"; then
34436 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34437 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34438
34439 ac_find_libraries=
34440 for ac_dir in $SEARCH_LIB;
34441 do
34442 for ac_extension in a so sl dylib dll.a; do
34443 if test -f "$ac_dir/libXpm.$ac_extension"; then
34444 ac_find_libraries=$ac_dir
34445 break 2
34446 fi
34447 done
34448 done
34449
34450 if test "$ac_find_libraries" != "" ; then
34451
34452 if test "$ac_find_libraries" = "default location"; then
34453 ac_path_to_link=""
34454 else
34455 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34456 result=$?
34457 if test $result = 0; then
34458 ac_path_to_link=""
34459 else
34460 ac_path_to_link=" -L$ac_find_libraries"
34461 fi
34462 fi
34463
34464 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34465 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34466 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34467
34468 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34469 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34470 if test "${wx_cv_x11_xpm_h+set}" = set; then
34471 echo $ECHO_N "(cached) $ECHO_C" >&6
34472 else
34473
34474 save_CFLAGS=$CFLAGS
34475 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34476
34477 cat >conftest.$ac_ext <<_ACEOF
34478 /* confdefs.h. */
34479 _ACEOF
34480 cat confdefs.h >>conftest.$ac_ext
34481 cat >>conftest.$ac_ext <<_ACEOF
34482 /* end confdefs.h. */
34483
34484 #include <X11/xpm.h>
34485
34486 int
34487 main ()
34488 {
34489
34490 int version;
34491 version = XpmLibraryVersion();
34492
34493 ;
34494 return 0;
34495 }
34496 _ACEOF
34497 rm -f conftest.$ac_objext
34498 if { (ac_try="$ac_compile"
34499 case "(($ac_try" in
34500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34501 *) ac_try_echo=$ac_try;;
34502 esac
34503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34504 (eval "$ac_compile") 2>conftest.er1
34505 ac_status=$?
34506 grep -v '^ *+' conftest.er1 >conftest.err
34507 rm -f conftest.er1
34508 cat conftest.err >&5
34509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510 (exit $ac_status); } && {
34511 test -z "$ac_c_werror_flag" ||
34512 test ! -s conftest.err
34513 } && test -s conftest.$ac_objext; then
34514 wx_cv_x11_xpm_h=yes
34515 else
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.$ac_ext >&5
34518
34519 wx_cv_x11_xpm_h=no
34520
34521 fi
34522
34523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34524
34525 CFLAGS=$save_CFLAGS
34526
34527
34528 fi
34529 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34530 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34531
34532 if test $wx_cv_x11_xpm_h = "yes"; then
34533 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34534 cat >>confdefs.h <<\_ACEOF
34535 #define wxHAVE_LIB_XPM 1
34536 _ACEOF
34537
34538 else
34539 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34540 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34541 fi
34542 fi
34543
34544 fi
34545
34546 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34547 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34548 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34549 echo $ECHO_N "(cached) $ECHO_C" >&6
34550 else
34551 ac_check_lib_save_LIBS=$LIBS
34552 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34553 cat >conftest.$ac_ext <<_ACEOF
34554 /* confdefs.h. */
34555 _ACEOF
34556 cat confdefs.h >>conftest.$ac_ext
34557 cat >>conftest.$ac_ext <<_ACEOF
34558 /* end confdefs.h. */
34559
34560 /* Override any GCC internal prototype to avoid an error.
34561 Use char because int might match the return type of a GCC
34562 builtin and then its argument prototype would still apply. */
34563 #ifdef __cplusplus
34564 extern "C"
34565 #endif
34566 char XShapeQueryExtension ();
34567 int
34568 main ()
34569 {
34570 return XShapeQueryExtension ();
34571 ;
34572 return 0;
34573 }
34574 _ACEOF
34575 rm -f conftest.$ac_objext conftest$ac_exeext
34576 if { (ac_try="$ac_link"
34577 case "(($ac_try" in
34578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34579 *) ac_try_echo=$ac_try;;
34580 esac
34581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34582 (eval "$ac_link") 2>conftest.er1
34583 ac_status=$?
34584 grep -v '^ *+' conftest.er1 >conftest.err
34585 rm -f conftest.er1
34586 cat conftest.err >&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); } && {
34589 test -z "$ac_c_werror_flag" ||
34590 test ! -s conftest.err
34591 } && test -s conftest$ac_exeext &&
34592 $as_test_x conftest$ac_exeext; then
34593 ac_cv_lib_Xext_XShapeQueryExtension=yes
34594 else
34595 echo "$as_me: failed program was:" >&5
34596 sed 's/^/| /' conftest.$ac_ext >&5
34597
34598 ac_cv_lib_Xext_XShapeQueryExtension=no
34599 fi
34600
34601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34602 conftest$ac_exeext conftest.$ac_ext
34603 LIBS=$ac_check_lib_save_LIBS
34604 fi
34605 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34606 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34607 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34608
34609 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34610 wxHAVE_XEXT_LIB=1
34611
34612 fi
34613
34614
34615 if test "$wxHAVE_XEXT_LIB" = 1; then
34616 save_CFLAGS="$CFLAGS"
34617 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34618
34619 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34620 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34621 cat >conftest.$ac_ext <<_ACEOF
34622 /* confdefs.h. */
34623 _ACEOF
34624 cat confdefs.h >>conftest.$ac_ext
34625 cat >>conftest.$ac_ext <<_ACEOF
34626 /* end confdefs.h. */
34627
34628 #include <X11/Xlib.h>
34629 #include <X11/extensions/shape.h>
34630
34631 int
34632 main ()
34633 {
34634
34635 int dummy1, dummy2;
34636 XShapeQueryExtension((Display*)NULL,
34637 (int*)NULL, (int*)NULL);
34638
34639 ;
34640 return 0;
34641 }
34642 _ACEOF
34643 rm -f conftest.$ac_objext
34644 if { (ac_try="$ac_compile"
34645 case "(($ac_try" in
34646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34647 *) ac_try_echo=$ac_try;;
34648 esac
34649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34650 (eval "$ac_compile") 2>conftest.er1
34651 ac_status=$?
34652 grep -v '^ *+' conftest.er1 >conftest.err
34653 rm -f conftest.er1
34654 cat conftest.err >&5
34655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34656 (exit $ac_status); } && {
34657 test -z "$ac_c_werror_flag" ||
34658 test ! -s conftest.err
34659 } && test -s conftest.$ac_objext; then
34660
34661 cat >>confdefs.h <<\_ACEOF
34662 #define HAVE_XSHAPE 1
34663 _ACEOF
34664
34665 { echo "$as_me:$LINENO: result: found" >&5
34666 echo "${ECHO_T}found" >&6; }
34667
34668 else
34669 echo "$as_me: failed program was:" >&5
34670 sed 's/^/| /' conftest.$ac_ext >&5
34671
34672
34673 { echo "$as_me:$LINENO: result: not found" >&5
34674 echo "${ECHO_T}not found" >&6; }
34675
34676 fi
34677
34678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34679 CFLAGS="$save_CFLAGS"
34680
34681 fi
34682 fi
34683
34684 if test "$wxUSE_MAC" = 1; then
34685 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34686 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34687 if test "$GCC" = yes; then
34688 { echo "$as_me:$LINENO: result: gcc" >&5
34689 echo "${ECHO_T}gcc" >&6; }
34690 CPPFLAGS_PASCAL="-fpascal-strings"
34691 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34692 { echo "$as_me:$LINENO: result: xlc" >&5
34693 echo "${ECHO_T}xlc" >&6; }
34694 CPPFLAGS_PASCAL="-qmacpstr"
34695 else
34696 { echo "$as_me:$LINENO: result: none" >&5
34697 echo "${ECHO_T}none" >&6; }
34698 fi
34699
34700 if test "x$wxUSE_UNIX" = "xyes"; then
34701 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34702 else
34703 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34704 fi
34705
34706 TOOLKIT=MAC
34707 GUIDIST=MACX_DIST
34708 WXBASEPORT="_carbon"
34709 fi
34710
34711 if test "$wxUSE_COCOA" = 1; then
34712 TOOLKIT=COCOA
34713 GUIDIST=COCOA_DIST
34714 fi
34715
34716 if test "$wxUSE_PM" = 1; then
34717 TOOLKIT=PM
34718 GUIDIST=PM_DIST
34719 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34720 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34721 if test "${wx_cv_spbcdata+set}" = set; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 else
34724
34725 cat >conftest.$ac_ext <<_ACEOF
34726 /* confdefs.h. */
34727 _ACEOF
34728 cat confdefs.h >>conftest.$ac_ext
34729 cat >>conftest.$ac_ext <<_ACEOF
34730 /* end confdefs.h. */
34731
34732 #define INCL_PM
34733 #include <os2.h>
34734
34735 int
34736 main ()
34737 {
34738
34739 SPBCDATA test;
34740
34741 ;
34742 return 0;
34743 }
34744 _ACEOF
34745 rm -f conftest.$ac_objext
34746 if { (ac_try="$ac_compile"
34747 case "(($ac_try" in
34748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34749 *) ac_try_echo=$ac_try;;
34750 esac
34751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34752 (eval "$ac_compile") 2>conftest.er1
34753 ac_status=$?
34754 grep -v '^ *+' conftest.er1 >conftest.err
34755 rm -f conftest.er1
34756 cat conftest.err >&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); } && {
34759 test -z "$ac_c_werror_flag" ||
34760 test ! -s conftest.err
34761 } && test -s conftest.$ac_objext; then
34762 wx_cv_spbcdata=yes
34763 else
34764 echo "$as_me: failed program was:" >&5
34765 sed 's/^/| /' conftest.$ac_ext >&5
34766
34767 wx_cv_spbcdata=no
34768
34769 fi
34770
34771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34772
34773
34774 fi
34775 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34776 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34777
34778 if test $wx_cv_spbcdata = "yes"; then
34779 cat >>confdefs.h <<\_ACEOF
34780 #define HAVE_SPBCDATA 1
34781 _ACEOF
34782
34783 fi
34784 fi
34785
34786 if test "$TOOLKIT" = "PM" ; then
34787 TOOLKIT_DIR="os2"
34788 else
34789 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34790 fi
34791
34792 if test "$wxUSE_UNIVERSAL" = "yes"; then
34793 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34794 WIDGET_SET=univ
34795 fi
34796
34797 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34798 DISTDIR="wx\$(TOOLKIT)"
34799 else
34800 USE_GUI=0
34801
34802 TOOLKIT_DIR="base"
34803
34804 if test "$USE_WIN32" = 1 ; then
34805 TOOLKIT="MSW"
34806 fi
34807
34808 GUIDIST="BASE_DIST"
34809 DISTDIR="wxBase"
34810 fi
34811
34812
34813
34814 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34815 if test "$TOOLKIT" = "DFB" ; then
34816 wxUSE_UNICODE_UTF8=yes
34817 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34818 wxUSE_UNICODE_UTF8=yes
34819 elif test "$USE_OS2" = "1" ; then
34820 wxUSE_UNICODE_UTF8=yes
34821 else
34822 wxUSE_UNICODE_UTF8=no
34823 fi
34824 fi
34825
34826
34827 if test "$wxUSE_GUI" = "yes"; then
34828 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34829
34830 for ac_header in X11/Xlib.h
34831 do
34832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34833 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34835 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34836 echo $ECHO_N "(cached) $ECHO_C" >&6
34837 else
34838 cat >conftest.$ac_ext <<_ACEOF
34839 /* confdefs.h. */
34840 _ACEOF
34841 cat confdefs.h >>conftest.$ac_ext
34842 cat >>conftest.$ac_ext <<_ACEOF
34843 /* end confdefs.h. */
34844
34845
34846 #include <$ac_header>
34847 _ACEOF
34848 rm -f conftest.$ac_objext
34849 if { (ac_try="$ac_compile"
34850 case "(($ac_try" in
34851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34852 *) ac_try_echo=$ac_try;;
34853 esac
34854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34855 (eval "$ac_compile") 2>conftest.er1
34856 ac_status=$?
34857 grep -v '^ *+' conftest.er1 >conftest.err
34858 rm -f conftest.er1
34859 cat conftest.err >&5
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); } && {
34862 test -z "$ac_c_werror_flag" ||
34863 test ! -s conftest.err
34864 } && test -s conftest.$ac_objext; then
34865 eval "$as_ac_Header=yes"
34866 else
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.$ac_ext >&5
34869
34870 eval "$as_ac_Header=no"
34871 fi
34872
34873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34874 fi
34875 ac_res=`eval echo '${'$as_ac_Header'}'`
34876 { echo "$as_me:$LINENO: result: $ac_res" >&5
34877 echo "${ECHO_T}$ac_res" >&6; }
34878 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34879 cat >>confdefs.h <<_ACEOF
34880 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34881 _ACEOF
34882
34883 fi
34884
34885 done
34886
34887
34888 for ac_header in X11/XKBlib.h
34889 do
34890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34891 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34894 echo $ECHO_N "(cached) $ECHO_C" >&6
34895 else
34896 cat >conftest.$ac_ext <<_ACEOF
34897 /* confdefs.h. */
34898 _ACEOF
34899 cat confdefs.h >>conftest.$ac_ext
34900 cat >>conftest.$ac_ext <<_ACEOF
34901 /* end confdefs.h. */
34902
34903 #if HAVE_X11_XLIB_H
34904 #include <X11/Xlib.h>
34905 #endif
34906
34907
34908 #include <$ac_header>
34909 _ACEOF
34910 rm -f conftest.$ac_objext
34911 if { (ac_try="$ac_compile"
34912 case "(($ac_try" in
34913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34914 *) ac_try_echo=$ac_try;;
34915 esac
34916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34917 (eval "$ac_compile") 2>conftest.er1
34918 ac_status=$?
34919 grep -v '^ *+' conftest.er1 >conftest.err
34920 rm -f conftest.er1
34921 cat conftest.err >&5
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); } && {
34924 test -z "$ac_c_werror_flag" ||
34925 test ! -s conftest.err
34926 } && test -s conftest.$ac_objext; then
34927 eval "$as_ac_Header=yes"
34928 else
34929 echo "$as_me: failed program was:" >&5
34930 sed 's/^/| /' conftest.$ac_ext >&5
34931
34932 eval "$as_ac_Header=no"
34933 fi
34934
34935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34936 fi
34937 ac_res=`eval echo '${'$as_ac_Header'}'`
34938 { echo "$as_me:$LINENO: result: $ac_res" >&5
34939 echo "${ECHO_T}$ac_res" >&6; }
34940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34941 cat >>confdefs.h <<_ACEOF
34942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34943 _ACEOF
34944
34945 fi
34946
34947 done
34948
34949 fi
34950 fi
34951
34952
34953
34954 IODBC_C_SRC=""
34955
34956
34957 if test "$TOOLKIT" != "MSW" ; then
34958
34959 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34960
34961 { echo "$as_me:$LINENO: checking for sql.h" >&5
34962 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34963 if test "${ac_cv_header_sql_h+set}" = set; then
34964 echo $ECHO_N "(cached) $ECHO_C" >&6
34965 else
34966 cat >conftest.$ac_ext <<_ACEOF
34967 /* confdefs.h. */
34968 _ACEOF
34969 cat confdefs.h >>conftest.$ac_ext
34970 cat >>conftest.$ac_ext <<_ACEOF
34971 /* end confdefs.h. */
34972
34973
34974 #include <sql.h>
34975 _ACEOF
34976 rm -f conftest.$ac_objext
34977 if { (ac_try="$ac_compile"
34978 case "(($ac_try" in
34979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34980 *) ac_try_echo=$ac_try;;
34981 esac
34982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34983 (eval "$ac_compile") 2>conftest.er1
34984 ac_status=$?
34985 grep -v '^ *+' conftest.er1 >conftest.err
34986 rm -f conftest.er1
34987 cat conftest.err >&5
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); } && {
34990 test -z "$ac_c_werror_flag" ||
34991 test ! -s conftest.err
34992 } && test -s conftest.$ac_objext; then
34993 ac_cv_header_sql_h=yes
34994 else
34995 echo "$as_me: failed program was:" >&5
34996 sed 's/^/| /' conftest.$ac_ext >&5
34997
34998 ac_cv_header_sql_h=no
34999 fi
35000
35001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35002 fi
35003 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35004 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35005 if test $ac_cv_header_sql_h = yes; then
35006 found_sql_h=1
35007 fi
35008
35009
35010 if test "x$found_sql_h" = "x1" ; then
35011 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35012 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35013 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35014 echo $ECHO_N "(cached) $ECHO_C" >&6
35015 else
35016 ac_check_lib_save_LIBS=$LIBS
35017 LIBS="-liodbc $LIBS"
35018 cat >conftest.$ac_ext <<_ACEOF
35019 /* confdefs.h. */
35020 _ACEOF
35021 cat confdefs.h >>conftest.$ac_ext
35022 cat >>conftest.$ac_ext <<_ACEOF
35023 /* end confdefs.h. */
35024
35025 /* Override any GCC internal prototype to avoid an error.
35026 Use char because int might match the return type of a GCC
35027 builtin and then its argument prototype would still apply. */
35028 #ifdef __cplusplus
35029 extern "C"
35030 #endif
35031 char SQLAllocEnv ();
35032 int
35033 main ()
35034 {
35035 return SQLAllocEnv ();
35036 ;
35037 return 0;
35038 }
35039 _ACEOF
35040 rm -f conftest.$ac_objext conftest$ac_exeext
35041 if { (ac_try="$ac_link"
35042 case "(($ac_try" in
35043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35044 *) ac_try_echo=$ac_try;;
35045 esac
35046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35047 (eval "$ac_link") 2>conftest.er1
35048 ac_status=$?
35049 grep -v '^ *+' conftest.er1 >conftest.err
35050 rm -f conftest.er1
35051 cat conftest.err >&5
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); } && {
35054 test -z "$ac_c_werror_flag" ||
35055 test ! -s conftest.err
35056 } && test -s conftest$ac_exeext &&
35057 $as_test_x conftest$ac_exeext; then
35058 ac_cv_lib_iodbc_SQLAllocEnv=yes
35059 else
35060 echo "$as_me: failed program was:" >&5
35061 sed 's/^/| /' conftest.$ac_ext >&5
35062
35063 ac_cv_lib_iodbc_SQLAllocEnv=no
35064 fi
35065
35066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35067 conftest$ac_exeext conftest.$ac_ext
35068 LIBS=$ac_check_lib_save_LIBS
35069 fi
35070 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35071 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35072 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35073 ODBC_LINK=" -liodbc"
35074 else
35075
35076 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35077 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35078 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35079 echo $ECHO_N "(cached) $ECHO_C" >&6
35080 else
35081 ac_check_lib_save_LIBS=$LIBS
35082 LIBS="-lunixodbc $LIBS"
35083 cat >conftest.$ac_ext <<_ACEOF
35084 /* confdefs.h. */
35085 _ACEOF
35086 cat confdefs.h >>conftest.$ac_ext
35087 cat >>conftest.$ac_ext <<_ACEOF
35088 /* end confdefs.h. */
35089
35090 /* Override any GCC internal prototype to avoid an error.
35091 Use char because int might match the return type of a GCC
35092 builtin and then its argument prototype would still apply. */
35093 #ifdef __cplusplus
35094 extern "C"
35095 #endif
35096 char SQLAllocEnv ();
35097 int
35098 main ()
35099 {
35100 return SQLAllocEnv ();
35101 ;
35102 return 0;
35103 }
35104 _ACEOF
35105 rm -f conftest.$ac_objext conftest$ac_exeext
35106 if { (ac_try="$ac_link"
35107 case "(($ac_try" in
35108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35109 *) ac_try_echo=$ac_try;;
35110 esac
35111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35112 (eval "$ac_link") 2>conftest.er1
35113 ac_status=$?
35114 grep -v '^ *+' conftest.er1 >conftest.err
35115 rm -f conftest.er1
35116 cat conftest.err >&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } && {
35119 test -z "$ac_c_werror_flag" ||
35120 test ! -s conftest.err
35121 } && test -s conftest$ac_exeext &&
35122 $as_test_x conftest$ac_exeext; then
35123 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35124 else
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35127
35128 ac_cv_lib_unixodbc_SQLAllocEnv=no
35129 fi
35130
35131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35132 conftest$ac_exeext conftest.$ac_ext
35133 LIBS=$ac_check_lib_save_LIBS
35134 fi
35135 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35136 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35137 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35138 ODBC_LINK=" -lunixodbc"
35139 else
35140
35141 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35142 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35143 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35145 else
35146 ac_check_lib_save_LIBS=$LIBS
35147 LIBS="-lodbc $LIBS"
35148 cat >conftest.$ac_ext <<_ACEOF
35149 /* confdefs.h. */
35150 _ACEOF
35151 cat confdefs.h >>conftest.$ac_ext
35152 cat >>conftest.$ac_ext <<_ACEOF
35153 /* end confdefs.h. */
35154
35155 /* Override any GCC internal prototype to avoid an error.
35156 Use char because int might match the return type of a GCC
35157 builtin and then its argument prototype would still apply. */
35158 #ifdef __cplusplus
35159 extern "C"
35160 #endif
35161 char SQLAllocEnv ();
35162 int
35163 main ()
35164 {
35165 return SQLAllocEnv ();
35166 ;
35167 return 0;
35168 }
35169 _ACEOF
35170 rm -f conftest.$ac_objext conftest$ac_exeext
35171 if { (ac_try="$ac_link"
35172 case "(($ac_try" in
35173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35174 *) ac_try_echo=$ac_try;;
35175 esac
35176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35177 (eval "$ac_link") 2>conftest.er1
35178 ac_status=$?
35179 grep -v '^ *+' conftest.er1 >conftest.err
35180 rm -f conftest.er1
35181 cat conftest.err >&5
35182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35183 (exit $ac_status); } && {
35184 test -z "$ac_c_werror_flag" ||
35185 test ! -s conftest.err
35186 } && test -s conftest$ac_exeext &&
35187 $as_test_x conftest$ac_exeext; then
35188 ac_cv_lib_odbc_SQLAllocEnv=yes
35189 else
35190 echo "$as_me: failed program was:" >&5
35191 sed 's/^/| /' conftest.$ac_ext >&5
35192
35193 ac_cv_lib_odbc_SQLAllocEnv=no
35194 fi
35195
35196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35197 conftest$ac_exeext conftest.$ac_ext
35198 LIBS=$ac_check_lib_save_LIBS
35199 fi
35200 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35201 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35202 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35203 ODBC_LINK=" -lodbc"
35204 fi
35205
35206
35207 fi
35208
35209
35210 fi
35211
35212 fi
35213 if test "x$ODBC_LINK" = "x" ; then
35214 if test "$wxUSE_ODBC" = "sys" ; then
35215 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35216 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35217 { (exit 1); exit 1; }; }
35218 else
35219 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35220 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35221 wxUSE_ODBC=builtin
35222 fi
35223 else
35224 wxUSE_ODBC=sys
35225 fi
35226 fi
35227
35228 if test "$wxUSE_ODBC" = "builtin" ; then
35229 cat >>confdefs.h <<\_ACEOF
35230 #define wxUSE_BUILTIN_IODBC 1
35231 _ACEOF
35232
35233 fi
35234 fi
35235
35236 if test "$wxUSE_ODBC" != "no" ; then
35237 cat >>confdefs.h <<\_ACEOF
35238 #define wxUSE_ODBC 1
35239 _ACEOF
35240
35241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35242
35243 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35244 fi
35245
35246
35247 if test "$wxUSE_DISPLAY" = "yes"; then
35248 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35249 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35250 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35251
35252 ac_find_libraries=
35253 for ac_dir in $SEARCH_LIB;
35254 do
35255 for ac_extension in a so sl dylib dll.a; do
35256 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35257 ac_find_libraries=$ac_dir
35258 break 2
35259 fi
35260 done
35261 done
35262
35263 if test "$ac_find_libraries" != "" ; then
35264
35265 if test "$ac_find_libraries" = "default location"; then
35266 ac_path_to_link=""
35267 else
35268 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35269 result=$?
35270 if test $result = 0; then
35271 ac_path_to_link=""
35272 else
35273 ac_path_to_link=" -L$ac_find_libraries"
35274 fi
35275 fi
35276
35277 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35278 LDFLAGS="$LDFLAGS $ac_path_to_link"
35279 fi
35280 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35281 { echo "$as_me:$LINENO: result: yes" >&5
35282 echo "${ECHO_T}yes" >&6; }
35283
35284 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35285 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35286
35287 ac_find_libraries=
35288 for ac_dir in $SEARCH_LIB;
35289 do
35290 for ac_extension in a so sl dylib dll.a; do
35291 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35292 ac_find_libraries=$ac_dir
35293 break 2
35294 fi
35295 done
35296 done
35297
35298 if test "$ac_find_libraries" != "" ; then
35299 { echo "$as_me:$LINENO: result: yes" >&5
35300 echo "${ECHO_T}yes" >&6; }
35301
35302 for ac_header in X11/extensions/xf86vmode.h
35303 do
35304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35305 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35308 echo $ECHO_N "(cached) $ECHO_C" >&6
35309 else
35310 cat >conftest.$ac_ext <<_ACEOF
35311 /* confdefs.h. */
35312 _ACEOF
35313 cat confdefs.h >>conftest.$ac_ext
35314 cat >>conftest.$ac_ext <<_ACEOF
35315 /* end confdefs.h. */
35316
35317 #if HAVE_X11_XLIB_H
35318 #include <X11/Xlib.h>
35319 #endif
35320
35321
35322 #include <$ac_header>
35323 _ACEOF
35324 rm -f conftest.$ac_objext
35325 if { (ac_try="$ac_compile"
35326 case "(($ac_try" in
35327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35328 *) ac_try_echo=$ac_try;;
35329 esac
35330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35331 (eval "$ac_compile") 2>conftest.er1
35332 ac_status=$?
35333 grep -v '^ *+' conftest.er1 >conftest.err
35334 rm -f conftest.er1
35335 cat conftest.err >&5
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); } && {
35338 test -z "$ac_c_werror_flag" ||
35339 test ! -s conftest.err
35340 } && test -s conftest.$ac_objext; then
35341 eval "$as_ac_Header=yes"
35342 else
35343 echo "$as_me: failed program was:" >&5
35344 sed 's/^/| /' conftest.$ac_ext >&5
35345
35346 eval "$as_ac_Header=no"
35347 fi
35348
35349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35350 fi
35351 ac_res=`eval echo '${'$as_ac_Header'}'`
35352 { echo "$as_me:$LINENO: result: $ac_res" >&5
35353 echo "${ECHO_T}$ac_res" >&6; }
35354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35355 cat >>confdefs.h <<_ACEOF
35356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35357 _ACEOF
35358
35359 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35360
35361 fi
35362
35363 done
35364
35365 else
35366 { echo "$as_me:$LINENO: result: no" >&5
35367 echo "${ECHO_T}no" >&6; }
35368 fi
35369
35370 else
35371 { echo "$as_me:$LINENO: result: no" >&5
35372 echo "${ECHO_T}no" >&6; }
35373 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35374 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35375 wxUSE_DISPLAY="no"
35376 fi
35377 elif test "$wxUSE_MSW" = 1; then
35378 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35379 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35380 if test "${ac_cv_header_ddraw_h+set}" = set; then
35381 echo $ECHO_N "(cached) $ECHO_C" >&6
35382 else
35383 cat >conftest.$ac_ext <<_ACEOF
35384 /* confdefs.h. */
35385 _ACEOF
35386 cat confdefs.h >>conftest.$ac_ext
35387 cat >>conftest.$ac_ext <<_ACEOF
35388 /* end confdefs.h. */
35389 #include <windows.h>
35390
35391 #include <ddraw.h>
35392 _ACEOF
35393 rm -f conftest.$ac_objext
35394 if { (ac_try="$ac_compile"
35395 case "(($ac_try" in
35396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35397 *) ac_try_echo=$ac_try;;
35398 esac
35399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35400 (eval "$ac_compile") 2>conftest.er1
35401 ac_status=$?
35402 grep -v '^ *+' conftest.er1 >conftest.err
35403 rm -f conftest.er1
35404 cat conftest.err >&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); } && {
35407 test -z "$ac_c_werror_flag" ||
35408 test ! -s conftest.err
35409 } && test -s conftest.$ac_objext; then
35410 ac_cv_header_ddraw_h=yes
35411 else
35412 echo "$as_me: failed program was:" >&5
35413 sed 's/^/| /' conftest.$ac_ext >&5
35414
35415 ac_cv_header_ddraw_h=no
35416 fi
35417
35418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35419 fi
35420 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35421 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35422
35423
35424 fi
35425 fi
35426
35427 if test "$wxUSE_DETECT_SM" = "yes"; then
35428 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35429 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35430 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35431
35432 ac_find_libraries=
35433 for ac_dir in $SEARCH_LIB;
35434 do
35435 for ac_extension in a so sl dylib dll.a; do
35436 if test -f "$ac_dir/libSM.$ac_extension"; then
35437 ac_find_libraries=$ac_dir
35438 break 2
35439 fi
35440 done
35441 done
35442
35443 if test "$ac_find_libraries" != "" ; then
35444
35445 if test "$ac_find_libraries" = "default location"; then
35446 ac_path_to_link=""
35447 else
35448 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35449 result=$?
35450 if test $result = 0; then
35451 ac_path_to_link=""
35452 else
35453 ac_path_to_link=" -L$ac_find_libraries"
35454 fi
35455 fi
35456
35457 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35458 LDFLAGS="$LDFLAGS $ac_path_to_link"
35459 fi
35460 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35461 { echo "$as_me:$LINENO: result: yes" >&5
35462 echo "${ECHO_T}yes" >&6; }
35463 else
35464 { echo "$as_me:$LINENO: result: no" >&5
35465 echo "${ECHO_T}no" >&6; }
35466 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35467 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35468 wxUSE_DETECT_SM="no"
35469 fi
35470 else
35471 wxUSE_DETECT_SM="no"
35472 fi
35473 fi
35474
35475
35476
35477 USE_OPENGL=0
35478 if test "$wxUSE_OPENGL" = "yes"; then
35479 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35480 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35481 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35482 wxUSE_OPENGL="no"
35483 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35484 OPENGL_LIBS="-framework OpenGL -framework AGL"
35485 elif test "$wxUSE_MSW" = 1; then
35486 OPENGL_LIBS="-lopengl32 -lglu32"
35487 else
35488 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35489 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35490
35491 ac_find_includes=
35492 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35493 do
35494 if test -f "$ac_dir/GL/gl.h"; then
35495 ac_find_includes=$ac_dir
35496 break
35497 fi
35498 done
35499
35500 if test "$ac_find_includes" != "" ; then
35501 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35502 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35503
35504 if test "x$ac_find_includes" = "x/usr/include"; then
35505 ac_path_to_include=""
35506 else
35507 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35508 result=$?
35509 if test $result = 0; then
35510 ac_path_to_include=""
35511 else
35512 ac_path_to_include=" -I$ac_find_includes"
35513 fi
35514 fi
35515
35516 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35517 else
35518 { echo "$as_me:$LINENO: result: not found" >&5
35519 echo "${ECHO_T}not found" >&6; }
35520 fi
35521
35522 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35523 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35524 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35525 echo $ECHO_N "(cached) $ECHO_C" >&6
35526 else
35527 cat >conftest.$ac_ext <<_ACEOF
35528 /* confdefs.h. */
35529 _ACEOF
35530 cat confdefs.h >>conftest.$ac_ext
35531 cat >>conftest.$ac_ext <<_ACEOF
35532 /* end confdefs.h. */
35533
35534
35535 #include <GL/gl.h>
35536 _ACEOF
35537 rm -f conftest.$ac_objext
35538 if { (ac_try="$ac_compile"
35539 case "(($ac_try" in
35540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35541 *) ac_try_echo=$ac_try;;
35542 esac
35543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35544 (eval "$ac_compile") 2>conftest.er1
35545 ac_status=$?
35546 grep -v '^ *+' conftest.er1 >conftest.err
35547 rm -f conftest.er1
35548 cat conftest.err >&5
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); } && {
35551 test -z "$ac_c_werror_flag" ||
35552 test ! -s conftest.err
35553 } && test -s conftest.$ac_objext; then
35554 ac_cv_header_GL_gl_h=yes
35555 else
35556 echo "$as_me: failed program was:" >&5
35557 sed 's/^/| /' conftest.$ac_ext >&5
35558
35559 ac_cv_header_GL_gl_h=no
35560 fi
35561
35562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35563 fi
35564 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35565 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35566 if test $ac_cv_header_GL_gl_h = yes; then
35567
35568 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35569 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35570 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35571 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35572 echo $ECHO_N "(cached) $ECHO_C" >&6
35573 fi
35574 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35575 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35576 else
35577 # Is the header compilable?
35578 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35579 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35580 cat >conftest.$ac_ext <<_ACEOF
35581 /* confdefs.h. */
35582 _ACEOF
35583 cat confdefs.h >>conftest.$ac_ext
35584 cat >>conftest.$ac_ext <<_ACEOF
35585 /* end confdefs.h. */
35586 $ac_includes_default
35587 #include <GL/glu.h>
35588 _ACEOF
35589 rm -f conftest.$ac_objext
35590 if { (ac_try="$ac_compile"
35591 case "(($ac_try" in
35592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35593 *) ac_try_echo=$ac_try;;
35594 esac
35595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35596 (eval "$ac_compile") 2>conftest.er1
35597 ac_status=$?
35598 grep -v '^ *+' conftest.er1 >conftest.err
35599 rm -f conftest.er1
35600 cat conftest.err >&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); } && {
35603 test -z "$ac_c_werror_flag" ||
35604 test ! -s conftest.err
35605 } && test -s conftest.$ac_objext; then
35606 ac_header_compiler=yes
35607 else
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.$ac_ext >&5
35610
35611 ac_header_compiler=no
35612 fi
35613
35614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35615 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35616 echo "${ECHO_T}$ac_header_compiler" >&6; }
35617
35618 # Is the header present?
35619 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35620 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35621 cat >conftest.$ac_ext <<_ACEOF
35622 /* confdefs.h. */
35623 _ACEOF
35624 cat confdefs.h >>conftest.$ac_ext
35625 cat >>conftest.$ac_ext <<_ACEOF
35626 /* end confdefs.h. */
35627 #include <GL/glu.h>
35628 _ACEOF
35629 if { (ac_try="$ac_cpp conftest.$ac_ext"
35630 case "(($ac_try" in
35631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35632 *) ac_try_echo=$ac_try;;
35633 esac
35634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35636 ac_status=$?
35637 grep -v '^ *+' conftest.er1 >conftest.err
35638 rm -f conftest.er1
35639 cat conftest.err >&5
35640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35641 (exit $ac_status); } >/dev/null && {
35642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35643 test ! -s conftest.err
35644 }; then
35645 ac_header_preproc=yes
35646 else
35647 echo "$as_me: failed program was:" >&5
35648 sed 's/^/| /' conftest.$ac_ext >&5
35649
35650 ac_header_preproc=no
35651 fi
35652
35653 rm -f conftest.err conftest.$ac_ext
35654 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35655 echo "${ECHO_T}$ac_header_preproc" >&6; }
35656
35657 # So? What about this header?
35658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35659 yes:no: )
35660 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35661 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35662 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35663 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35664 ac_header_preproc=yes
35665 ;;
35666 no:yes:* )
35667 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35668 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35669 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35670 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35671 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35672 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35673 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35674 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35675 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35676 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35677 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35678 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35679 ( cat <<\_ASBOX
35680 ## ----------------------------------------- ##
35681 ## Report this to wx-dev@lists.wxwidgets.org ##
35682 ## ----------------------------------------- ##
35683 _ASBOX
35684 ) | sed "s/^/$as_me: WARNING: /" >&2
35685 ;;
35686 esac
35687 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35688 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35689 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35690 echo $ECHO_N "(cached) $ECHO_C" >&6
35691 else
35692 ac_cv_header_GL_glu_h=$ac_header_preproc
35693 fi
35694 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35695 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35696
35697 fi
35698 if test $ac_cv_header_GL_glu_h = yes; then
35699
35700 found_gl=0
35701
35702 { echo "$as_me:$LINENO: checking for -lGL" >&5
35703 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35704
35705 ac_find_libraries=
35706 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35707 do
35708 for ac_extension in a so sl dylib dll.a; do
35709 if test -f "$ac_dir/libGL.$ac_extension"; then
35710 ac_find_libraries=$ac_dir
35711 break 2
35712 fi
35713 done
35714 done
35715
35716 if test "$ac_find_libraries" != "" ; then
35717 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35718 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35719
35720
35721 if test "$ac_find_libraries" = "default location"; then
35722 ac_path_to_link=""
35723 else
35724 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35725 result=$?
35726 if test $result = 0; then
35727 ac_path_to_link=""
35728 else
35729 ac_path_to_link=" -L$ac_find_libraries"
35730 fi
35731 fi
35732
35733 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35734 LDFLAGS_GL="$ac_path_to_link"
35735 fi
35736
35737 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35738 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35739
35740 ac_find_libraries=
35741 for ac_dir in $SEARCH_LIB;
35742 do
35743 for ac_extension in a so sl dylib dll.a; do
35744 if test -f "$ac_dir/libGLU.$ac_extension"; then
35745 ac_find_libraries=$ac_dir
35746 break 2
35747 fi
35748 done
35749 done
35750
35751 if test "$ac_find_libraries" != "" ; then
35752
35753 if test "$ac_find_libraries" = "default location"; then
35754 ac_path_to_link=""
35755 else
35756 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35757 result=$?
35758 if test $result = 0; then
35759 ac_path_to_link=""
35760 else
35761 ac_path_to_link=" -L$ac_find_libraries"
35762 fi
35763 fi
35764
35765 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35766 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35767 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35768 fi
35769
35770 found_gl=1
35771 OPENGL_LIBS="-lGL -lGLU"
35772 { echo "$as_me:$LINENO: result: yes" >&5
35773 echo "${ECHO_T}yes" >&6; }
35774 else
35775 { echo "$as_me:$LINENO: result: no" >&5
35776 echo "${ECHO_T}no" >&6; }
35777 fi
35778 else
35779 { echo "$as_me:$LINENO: result: no" >&5
35780 echo "${ECHO_T}no" >&6; }
35781 fi
35782
35783 if test "$found_gl" != 1; then
35784 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35785 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35786
35787 ac_find_libraries=
35788 for ac_dir in $SEARCH_LIB;
35789 do
35790 for ac_extension in a so sl dylib dll.a; do
35791 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35792 ac_find_libraries=$ac_dir
35793 break 2
35794 fi
35795 done
35796 done
35797
35798 if test "$ac_find_libraries" != "" ; then
35799
35800 if test "$ac_find_libraries" = "default location"; then
35801 ac_path_to_link=""
35802 else
35803 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35804 result=$?
35805 if test $result = 0; then
35806 ac_path_to_link=""
35807 else
35808 ac_path_to_link=" -L$ac_find_libraries"
35809 fi
35810 fi
35811
35812 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35813 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35814 { echo "$as_me:$LINENO: result: yes" >&5
35815 echo "${ECHO_T}yes" >&6; }
35816 else
35817 { echo "$as_me:$LINENO: result: no" >&5
35818 echo "${ECHO_T}no" >&6; }
35819 fi
35820 fi
35821
35822 fi
35823
35824
35825
35826 fi
35827
35828
35829
35830 if test "x$OPENGL_LIBS" = "x"; then
35831 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35832 echo "$as_me: error: OpenGL libraries not available" >&2;}
35833 { (exit 1); exit 1; }; }
35834 fi
35835 fi
35836
35837 if test "$wxUSE_OPENGL" = "yes"; then
35838 USE_OPENGL=1
35839 cat >>confdefs.h <<\_ACEOF
35840 #define wxUSE_OPENGL 1
35841 _ACEOF
35842
35843 cat >>confdefs.h <<\_ACEOF
35844 #define wxUSE_GLCANVAS 1
35845 _ACEOF
35846
35847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35848 fi
35849 fi
35850
35851
35852 if test -n "$TOOLKIT" ; then
35853 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35854 fi
35855
35856
35857
35858 if test "$wxUSE_SHARED" = "yes"; then
35859 case "${host}" in
35860 *-pc-msdosdjgpp )
35861 wxUSE_SHARED=no
35862 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35863 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35864 ;;
35865 esac
35866 fi
35867
35868 if test "$wxUSE_SHARED" = "yes"; then
35869
35870
35871 case "${host}" in
35872 *-*-cygwin* | *-*-mingw* )
35873 wx_cv_version_script=no
35874 ;;
35875
35876 *)
35877 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35878 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35879 if test "${wx_cv_version_script+set}" = set; then
35880 echo $ECHO_N "(cached) $ECHO_C" >&6
35881 else
35882
35883 echo "VER_1 { *; };" >conftest.sym
35884 echo "int main() { return 0; }" >conftest.cpp
35885
35886 if { ac_try='
35887 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35888 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35890 (eval $ac_try) 2>&5
35891 ac_status=$?
35892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35893 (exit $ac_status); }; } ; then
35894 if test -s conftest.stderr ; then
35895 wx_cv_version_script=no
35896 else
35897 wx_cv_version_script=yes
35898 fi
35899 else
35900 wx_cv_version_script=no
35901 fi
35902
35903 if test $wx_cv_version_script = yes
35904 then
35905 echo "struct B { virtual ~B() { } }; \
35906 struct D : public B { }; \
35907 void F() { D d; }" > conftest.cpp
35908
35909 if { ac_try='
35910 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35911 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35913 (eval $ac_try) 2>&5
35914 ac_status=$?
35915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); }; } &&
35917 { ac_try='
35918 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35919 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35921 (eval $ac_try) 2>&5
35922 ac_status=$?
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); }; }
35925 then
35926 if { ac_try='
35927 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35928 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35930 (eval $ac_try) 2>&5
35931 ac_status=$?
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; }
35934 then
35935 wx_cv_version_script=yes
35936 else
35937 wx_cv_version_script=no
35938 fi
35939 fi
35940 fi
35941
35942 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35943 rm -f conftest1.output conftest2.output conftest3.output
35944
35945 fi
35946 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35947 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35948
35949 if test $wx_cv_version_script = yes ; then
35950 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35951 fi
35952 ;;
35953 esac
35954
35955
35956 if test "$wxUSE_VISIBILITY" != "no"; then
35957
35958
35959 if test -n "$GCC"; then
35960 CFLAGS_VISIBILITY="-fvisibility=hidden"
35961 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35962 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35963 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35964 if test "${wx_cv_cc_visibility+set}" = set; then
35965 echo $ECHO_N "(cached) $ECHO_C" >&6
35966 else
35967
35968 wx_save_CXXFLAGS="$CXXFLAGS"
35969 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35970 ac_ext=cpp
35971 ac_cpp='$CXXCPP $CPPFLAGS'
35972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35975
35976 cat >conftest.$ac_ext <<_ACEOF
35977 /* confdefs.h. */
35978 _ACEOF
35979 cat confdefs.h >>conftest.$ac_ext
35980 cat >>conftest.$ac_ext <<_ACEOF
35981 /* end confdefs.h. */
35982
35983 /* we need gcc >= 4.0, older versions with visibility support
35984 didn't have class visibility: */
35985 #if defined(__GNUC__) && __GNUC__ < 4
35986 error this gcc is too old;
35987 #endif
35988
35989 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35990 extern __attribute__((__visibility__("default"))) int exportedvar;
35991 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35992 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35993 class __attribute__((__visibility__("default"))) Foo {
35994 Foo() {}
35995 };
35996
35997 int
35998 main ()
35999 {
36000
36001 ;
36002 return 0;
36003 }
36004 _ACEOF
36005 rm -f conftest.$ac_objext
36006 if { (ac_try="$ac_compile"
36007 case "(($ac_try" in
36008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36009 *) ac_try_echo=$ac_try;;
36010 esac
36011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36012 (eval "$ac_compile") 2>conftest.er1
36013 ac_status=$?
36014 grep -v '^ *+' conftest.er1 >conftest.err
36015 rm -f conftest.er1
36016 cat conftest.err >&5
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); } && {
36019 test -z "$ac_cxx_werror_flag" ||
36020 test ! -s conftest.err
36021 } && test -s conftest.$ac_objext; then
36022 wx_cv_cc_visibility=yes
36023 else
36024 echo "$as_me: failed program was:" >&5
36025 sed 's/^/| /' conftest.$ac_ext >&5
36026
36027 wx_cv_cc_visibility=no
36028 fi
36029
36030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36031 ac_ext=c
36032 ac_cpp='$CPP $CPPFLAGS'
36033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36036
36037 CXXFLAGS="$wx_save_CXXFLAGS"
36038 fi
36039
36040 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36041 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36042 if test $wx_cv_cc_visibility = yes; then
36043 cat >>confdefs.h <<\_ACEOF
36044 #define HAVE_VISIBILITY 1
36045 _ACEOF
36046
36047 else
36048 CFLAGS_VISIBILITY=""
36049 CXXFLAGS_VISIBILITY=""
36050 fi
36051
36052
36053 fi
36054
36055 fi
36056
36057 if test "x$SUNCXX" = xyes; then
36058 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36059 WXCONFIG_RPATH="-R\$libdir"
36060 else
36061 case "${host}" in
36062 *-*-linux* | *-*-gnu* )
36063 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36064 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36065 ;;
36066
36067 *-*-solaris2* )
36068
36069 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36070
36071 saveLdflags="$LDFLAGS"
36072 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36073 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36074 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36075 cat >conftest.$ac_ext <<_ACEOF
36076 /* confdefs.h. */
36077 _ACEOF
36078 cat confdefs.h >>conftest.$ac_ext
36079 cat >>conftest.$ac_ext <<_ACEOF
36080 /* end confdefs.h. */
36081
36082 int
36083 main ()
36084 {
36085
36086 ;
36087 return 0;
36088 }
36089 _ACEOF
36090 rm -f conftest.$ac_objext conftest$ac_exeext
36091 if { (ac_try="$ac_link"
36092 case "(($ac_try" in
36093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36094 *) ac_try_echo=$ac_try;;
36095 esac
36096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36097 (eval "$ac_link") 2>conftest.er1
36098 ac_status=$?
36099 grep -v '^ *+' conftest.er1 >conftest.err
36100 rm -f conftest.er1
36101 cat conftest.err >&5
36102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103 (exit $ac_status); } && {
36104 test -z "$ac_c_werror_flag" ||
36105 test ! -s conftest.err
36106 } && test -s conftest$ac_exeext &&
36107 $as_test_x conftest$ac_exeext; then
36108
36109 { echo "$as_me:$LINENO: result: yes" >&5
36110 echo "${ECHO_T}yes" >&6; }
36111 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36112 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36113
36114 else
36115 echo "$as_me: failed program was:" >&5
36116 sed 's/^/| /' conftest.$ac_ext >&5
36117
36118
36119 { echo "$as_me:$LINENO: result: no" >&5
36120 echo "${ECHO_T}no" >&6; }
36121 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36122 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36123 LDFLAGS="$saveLdflags -Wl,-R,/"
36124 cat >conftest.$ac_ext <<_ACEOF
36125 /* confdefs.h. */
36126 _ACEOF
36127 cat confdefs.h >>conftest.$ac_ext
36128 cat >>conftest.$ac_ext <<_ACEOF
36129 /* end confdefs.h. */
36130
36131 int
36132 main ()
36133 {
36134
36135 ;
36136 return 0;
36137 }
36138 _ACEOF
36139 rm -f conftest.$ac_objext conftest$ac_exeext
36140 if { (ac_try="$ac_link"
36141 case "(($ac_try" in
36142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36143 *) ac_try_echo=$ac_try;;
36144 esac
36145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36146 (eval "$ac_link") 2>conftest.er1
36147 ac_status=$?
36148 grep -v '^ *+' conftest.er1 >conftest.err
36149 rm -f conftest.er1
36150 cat conftest.err >&5
36151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36152 (exit $ac_status); } && {
36153 test -z "$ac_c_werror_flag" ||
36154 test ! -s conftest.err
36155 } && test -s conftest$ac_exeext &&
36156 $as_test_x conftest$ac_exeext; then
36157
36158 { echo "$as_me:$LINENO: result: yes" >&5
36159 echo "${ECHO_T}yes" >&6; }
36160 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36161 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36162
36163 else
36164 echo "$as_me: failed program was:" >&5
36165 sed 's/^/| /' conftest.$ac_ext >&5
36166
36167
36168 { echo "$as_me:$LINENO: result: no" >&5
36169 echo "${ECHO_T}no" >&6; }
36170
36171 fi
36172
36173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36174 conftest$ac_exeext conftest.$ac_ext
36175
36176 fi
36177
36178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36179 conftest$ac_exeext conftest.$ac_ext
36180 LDFLAGS="$saveLdflags"
36181 ;;
36182
36183 *-*-darwin* )
36184 install_name_tool=`which install_name_tool`
36185 if test "$install_name_tool" -a -x "$install_name_tool"; then
36186 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36187 cat <<EOF >change-install-names
36188 #!/bin/sh
36189 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36190 inst_cmd="install_name_tool "
36191 for i in \${libnames} ; do
36192 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36193 done
36194 \${inst_cmd} \${3}
36195 EOF
36196 chmod +x change-install-names
36197 fi
36198 ;;
36199
36200 *-*-cygwin* | *-*-mingw32* )
36201 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36202 ;;
36203
36204 *-*-hpux* )
36205 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36206 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36207 ;;
36208
36209 esac
36210 fi
36211
36212 if test $wxUSE_RPATH = "no"; then
36213 SAMPLES_RPATH_FLAG=''
36214 SAMPLES_RPATH_POSTLINK=''
36215 WXCONFIG_RPATH=''
36216 fi
36217
36218 SHARED=1
36219
36220 else
36221
36222 config_linkage_component="-static"
36223 SHARED=0
36224
36225 fi
36226
36227
36228 UNICODE=0
36229 lib_unicode_suffix=
36230 WX_CHARTYPE="ansi"
36231 if test "$wxUSE_UNICODE" = "yes"; then
36232 lib_unicode_suffix=u
36233 WX_CHARTYPE="unicode"
36234 UNICODE=1
36235 fi
36236
36237 lib_debug_suffix=
36238 WX_DEBUGTYPE="release"
36239 DEBUG_FLAG=0
36240 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36241 lib_debug_suffix=d
36242 WX_DEBUGTYPE="debug"
36243 DEBUG_FLAG=1
36244 fi
36245
36246 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36247 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36248
36249 DEBUG_INFO=0
36250 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36251 DEBUG_INFO=1
36252 fi
36253
36254 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36255
36256 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36257
36258 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36259
36260 if test "$cross_compiling" = "yes"; then
36261 HOST_SUFFIX="-$host_alias"
36262 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36263 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36264 fi
36265
36266 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36267 if test "${TOOLKIT_DIR}" = "os2"; then
36268 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36269 else
36270 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36271 fi
36272
36273
36274
36275 if test "$wxUSE_COCOA" = 1; then
36276
36277 ac_ext=c
36278 ac_cpp='$CPP $CPPFLAGS'
36279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36282
36283 ac_ext=m
36284
36285 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36286 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36287 cat >conftest.$ac_ext <<_ACEOF
36288 /* confdefs.h. */
36289 _ACEOF
36290 cat confdefs.h >>conftest.$ac_ext
36291 cat >>conftest.$ac_ext <<_ACEOF
36292 /* end confdefs.h. */
36293 #include <AppKit/NSEvent.h>
36294 #include <CoreFoundation/CoreFoundation.h>
36295
36296 int
36297 main ()
36298 {
36299
36300 ;
36301 return 0;
36302 }
36303 _ACEOF
36304 rm -f conftest.$ac_objext
36305 if { (ac_try="$ac_compile"
36306 case "(($ac_try" in
36307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36308 *) ac_try_echo=$ac_try;;
36309 esac
36310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36311 (eval "$ac_compile") 2>conftest.er1
36312 ac_status=$?
36313 grep -v '^ *+' conftest.er1 >conftest.err
36314 rm -f conftest.er1
36315 cat conftest.err >&5
36316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36317 (exit $ac_status); } && {
36318 test -z "$ac_c_werror_flag" ||
36319 test ! -s conftest.err
36320 } && test -s conftest.$ac_objext; then
36321 { echo "$as_me:$LINENO: result: no" >&5
36322 echo "${ECHO_T}no" >&6; }
36323 else
36324 echo "$as_me: failed program was:" >&5
36325 sed 's/^/| /' conftest.$ac_ext >&5
36326
36327 { echo "$as_me:$LINENO: result: yes" >&5
36328 echo "${ECHO_T}yes" >&6; }
36329 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36330 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36331 cat >conftest.$ac_ext <<_ACEOF
36332 /* confdefs.h. */
36333 _ACEOF
36334 cat confdefs.h >>conftest.$ac_ext
36335 cat >>conftest.$ac_ext <<_ACEOF
36336 /* end confdefs.h. */
36337 #define __Point__ 1
36338 #include <AppKit/NSEvent.h>
36339 #include <CoreFoundation/CoreFoundation.h>
36340
36341 int
36342 main ()
36343 {
36344
36345 ;
36346 return 0;
36347 }
36348 _ACEOF
36349 rm -f conftest.$ac_objext
36350 if { (ac_try="$ac_compile"
36351 case "(($ac_try" in
36352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36353 *) ac_try_echo=$ac_try;;
36354 esac
36355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36356 (eval "$ac_compile") 2>conftest.er1
36357 ac_status=$?
36358 grep -v '^ *+' conftest.er1 >conftest.err
36359 rm -f conftest.er1
36360 cat conftest.err >&5
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); } && {
36363 test -z "$ac_c_werror_flag" ||
36364 test ! -s conftest.err
36365 } && test -s conftest.$ac_objext; then
36366 { echo "$as_me:$LINENO: result: yes" >&5
36367 echo "${ECHO_T}yes" >&6; }
36368 cat >>confdefs.h <<\_ACEOF
36369 #define __Point__ 1
36370 _ACEOF
36371
36372
36373 else
36374 echo "$as_me: failed program was:" >&5
36375 sed 's/^/| /' conftest.$ac_ext >&5
36376
36377 { { echo "$as_me:$LINENO: error: no
36378 See \`config.log' for more details." >&5
36379 echo "$as_me: error: no
36380 See \`config.log' for more details." >&2;}
36381 { (exit 1); exit 1; }; }
36382
36383 fi
36384
36385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36386
36387 fi
36388
36389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36390 ac_ext=c
36391 ac_cpp='$CPP $CPPFLAGS'
36392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36395
36396 fi
36397
36398 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36399 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36400 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36401
36402 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36403
36404 # Extract the first word of "Rez", so it can be a program name with args.
36405 set dummy Rez; ac_word=$2
36406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36408 if test "${ac_cv_prog_REZ+set}" = set; then
36409 echo $ECHO_N "(cached) $ECHO_C" >&6
36410 else
36411 if test -n "$REZ"; then
36412 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36413 else
36414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36415 for as_dir in $PATH
36416 do
36417 IFS=$as_save_IFS
36418 test -z "$as_dir" && as_dir=.
36419 for ac_exec_ext in '' $ac_executable_extensions; do
36420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36421 ac_cv_prog_REZ="Rez"
36422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36423 break 2
36424 fi
36425 done
36426 done
36427 IFS=$as_save_IFS
36428
36429 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36430 fi
36431 fi
36432 REZ=$ac_cv_prog_REZ
36433 if test -n "$REZ"; then
36434 { echo "$as_me:$LINENO: result: $REZ" >&5
36435 echo "${ECHO_T}$REZ" >&6; }
36436 else
36437 { echo "$as_me:$LINENO: result: no" >&5
36438 echo "${ECHO_T}no" >&6; }
36439 fi
36440
36441
36442 # Extract the first word of "DeRez", so it can be a program name with args.
36443 set dummy DeRez; ac_word=$2
36444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36446 if test "${ac_cv_prog_DEREZ+set}" = set; then
36447 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 else
36449 if test -n "$DEREZ"; then
36450 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36451 else
36452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36453 for as_dir in $PATH
36454 do
36455 IFS=$as_save_IFS
36456 test -z "$as_dir" && as_dir=.
36457 for ac_exec_ext in '' $ac_executable_extensions; do
36458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36459 ac_cv_prog_DEREZ="DeRez"
36460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36461 break 2
36462 fi
36463 done
36464 done
36465 IFS=$as_save_IFS
36466
36467 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36468 fi
36469 fi
36470 DEREZ=$ac_cv_prog_DEREZ
36471 if test -n "$DEREZ"; then
36472 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36473 echo "${ECHO_T}$DEREZ" >&6; }
36474 else
36475 { echo "$as_me:$LINENO: result: no" >&5
36476 echo "${ECHO_T}no" >&6; }
36477 fi
36478
36479
36480 # Extract the first word of "SetFile", so it can be a program name with args.
36481 set dummy SetFile; ac_word=$2
36482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36484 if test "${ac_cv_prog_SETFILE+set}" = set; then
36485 echo $ECHO_N "(cached) $ECHO_C" >&6
36486 else
36487 if test -n "$SETFILE"; then
36488 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36489 else
36490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36491 for as_dir in $PATH
36492 do
36493 IFS=$as_save_IFS
36494 test -z "$as_dir" && as_dir=.
36495 for ac_exec_ext in '' $ac_executable_extensions; do
36496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36497 ac_cv_prog_SETFILE="SetFile"
36498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36499 break 2
36500 fi
36501 done
36502 done
36503 IFS=$as_save_IFS
36504
36505 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36506 fi
36507 fi
36508 SETFILE=$ac_cv_prog_SETFILE
36509 if test -n "$SETFILE"; then
36510 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36511 echo "${ECHO_T}$SETFILE" >&6; }
36512 else
36513 { echo "$as_me:$LINENO: result: no" >&5
36514 echo "${ECHO_T}no" >&6; }
36515 fi
36516
36517
36518
36519 MACSETFILE="\$(SETFILE)"
36520
36521 if test "$wxUSE_MAC" = 1; then
36522 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36523 RESCOMP="$REZ"
36524 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36525 else
36526 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36527 RESCOMP="echo -n \| $REZ"
36528 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36529 fi
36530
36531 else
36532 MACSETFILE="@true"
36533
36534 if test "$wxUSE_PM" = 1; then
36535 RESCOMP="emxbind"
36536 WXCONFIG_RESFLAGS="-ep"
36537
36538 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36539 else
36540 POSTLINK_COMMAND="@true"
36541 fi
36542
36543 fi
36544
36545
36546
36547 { echo "$as_me:$LINENO: checking for mode_t" >&5
36548 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36549 if test "${ac_cv_type_mode_t+set}" = set; then
36550 echo $ECHO_N "(cached) $ECHO_C" >&6
36551 else
36552 cat >conftest.$ac_ext <<_ACEOF
36553 /* confdefs.h. */
36554 _ACEOF
36555 cat confdefs.h >>conftest.$ac_ext
36556 cat >>conftest.$ac_ext <<_ACEOF
36557 /* end confdefs.h. */
36558 $ac_includes_default
36559 typedef mode_t ac__type_new_;
36560 int
36561 main ()
36562 {
36563 if ((ac__type_new_ *) 0)
36564 return 0;
36565 if (sizeof (ac__type_new_))
36566 return 0;
36567 ;
36568 return 0;
36569 }
36570 _ACEOF
36571 rm -f conftest.$ac_objext
36572 if { (ac_try="$ac_compile"
36573 case "(($ac_try" in
36574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36575 *) ac_try_echo=$ac_try;;
36576 esac
36577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36578 (eval "$ac_compile") 2>conftest.er1
36579 ac_status=$?
36580 grep -v '^ *+' conftest.er1 >conftest.err
36581 rm -f conftest.er1
36582 cat conftest.err >&5
36583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36584 (exit $ac_status); } && {
36585 test -z "$ac_c_werror_flag" ||
36586 test ! -s conftest.err
36587 } && test -s conftest.$ac_objext; then
36588 ac_cv_type_mode_t=yes
36589 else
36590 echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.$ac_ext >&5
36592
36593 ac_cv_type_mode_t=no
36594 fi
36595
36596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36597 fi
36598 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36599 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36600 if test $ac_cv_type_mode_t = yes; then
36601 :
36602 else
36603
36604 cat >>confdefs.h <<_ACEOF
36605 #define mode_t int
36606 _ACEOF
36607
36608 fi
36609
36610 { echo "$as_me:$LINENO: checking for off_t" >&5
36611 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36612 if test "${ac_cv_type_off_t+set}" = set; then
36613 echo $ECHO_N "(cached) $ECHO_C" >&6
36614 else
36615 cat >conftest.$ac_ext <<_ACEOF
36616 /* confdefs.h. */
36617 _ACEOF
36618 cat confdefs.h >>conftest.$ac_ext
36619 cat >>conftest.$ac_ext <<_ACEOF
36620 /* end confdefs.h. */
36621 $ac_includes_default
36622 typedef off_t ac__type_new_;
36623 int
36624 main ()
36625 {
36626 if ((ac__type_new_ *) 0)
36627 return 0;
36628 if (sizeof (ac__type_new_))
36629 return 0;
36630 ;
36631 return 0;
36632 }
36633 _ACEOF
36634 rm -f conftest.$ac_objext
36635 if { (ac_try="$ac_compile"
36636 case "(($ac_try" in
36637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36638 *) ac_try_echo=$ac_try;;
36639 esac
36640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36641 (eval "$ac_compile") 2>conftest.er1
36642 ac_status=$?
36643 grep -v '^ *+' conftest.er1 >conftest.err
36644 rm -f conftest.er1
36645 cat conftest.err >&5
36646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36647 (exit $ac_status); } && {
36648 test -z "$ac_c_werror_flag" ||
36649 test ! -s conftest.err
36650 } && test -s conftest.$ac_objext; then
36651 ac_cv_type_off_t=yes
36652 else
36653 echo "$as_me: failed program was:" >&5
36654 sed 's/^/| /' conftest.$ac_ext >&5
36655
36656 ac_cv_type_off_t=no
36657 fi
36658
36659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36660 fi
36661 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36662 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36663 if test $ac_cv_type_off_t = yes; then
36664 :
36665 else
36666
36667 cat >>confdefs.h <<_ACEOF
36668 #define off_t long int
36669 _ACEOF
36670
36671 fi
36672
36673 { echo "$as_me:$LINENO: checking for pid_t" >&5
36674 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36675 if test "${ac_cv_type_pid_t+set}" = set; then
36676 echo $ECHO_N "(cached) $ECHO_C" >&6
36677 else
36678 cat >conftest.$ac_ext <<_ACEOF
36679 /* confdefs.h. */
36680 _ACEOF
36681 cat confdefs.h >>conftest.$ac_ext
36682 cat >>conftest.$ac_ext <<_ACEOF
36683 /* end confdefs.h. */
36684 $ac_includes_default
36685 typedef pid_t ac__type_new_;
36686 int
36687 main ()
36688 {
36689 if ((ac__type_new_ *) 0)
36690 return 0;
36691 if (sizeof (ac__type_new_))
36692 return 0;
36693 ;
36694 return 0;
36695 }
36696 _ACEOF
36697 rm -f conftest.$ac_objext
36698 if { (ac_try="$ac_compile"
36699 case "(($ac_try" in
36700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36701 *) ac_try_echo=$ac_try;;
36702 esac
36703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36704 (eval "$ac_compile") 2>conftest.er1
36705 ac_status=$?
36706 grep -v '^ *+' conftest.er1 >conftest.err
36707 rm -f conftest.er1
36708 cat conftest.err >&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); } && {
36711 test -z "$ac_c_werror_flag" ||
36712 test ! -s conftest.err
36713 } && test -s conftest.$ac_objext; then
36714 ac_cv_type_pid_t=yes
36715 else
36716 echo "$as_me: failed program was:" >&5
36717 sed 's/^/| /' conftest.$ac_ext >&5
36718
36719 ac_cv_type_pid_t=no
36720 fi
36721
36722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36723 fi
36724 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36725 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36726 if test $ac_cv_type_pid_t = yes; then
36727 :
36728 else
36729
36730 cat >>confdefs.h <<_ACEOF
36731 #define pid_t int
36732 _ACEOF
36733
36734 fi
36735
36736 { echo "$as_me:$LINENO: checking for size_t" >&5
36737 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36738 if test "${ac_cv_type_size_t+set}" = set; then
36739 echo $ECHO_N "(cached) $ECHO_C" >&6
36740 else
36741 cat >conftest.$ac_ext <<_ACEOF
36742 /* confdefs.h. */
36743 _ACEOF
36744 cat confdefs.h >>conftest.$ac_ext
36745 cat >>conftest.$ac_ext <<_ACEOF
36746 /* end confdefs.h. */
36747 $ac_includes_default
36748 typedef size_t ac__type_new_;
36749 int
36750 main ()
36751 {
36752 if ((ac__type_new_ *) 0)
36753 return 0;
36754 if (sizeof (ac__type_new_))
36755 return 0;
36756 ;
36757 return 0;
36758 }
36759 _ACEOF
36760 rm -f conftest.$ac_objext
36761 if { (ac_try="$ac_compile"
36762 case "(($ac_try" in
36763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36764 *) ac_try_echo=$ac_try;;
36765 esac
36766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36767 (eval "$ac_compile") 2>conftest.er1
36768 ac_status=$?
36769 grep -v '^ *+' conftest.er1 >conftest.err
36770 rm -f conftest.er1
36771 cat conftest.err >&5
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); } && {
36774 test -z "$ac_c_werror_flag" ||
36775 test ! -s conftest.err
36776 } && test -s conftest.$ac_objext; then
36777 ac_cv_type_size_t=yes
36778 else
36779 echo "$as_me: failed program was:" >&5
36780 sed 's/^/| /' conftest.$ac_ext >&5
36781
36782 ac_cv_type_size_t=no
36783 fi
36784
36785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36786 fi
36787 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36788 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36789 if test $ac_cv_type_size_t = yes; then
36790 :
36791 else
36792
36793 cat >>confdefs.h <<_ACEOF
36794 #define size_t unsigned int
36795 _ACEOF
36796
36797 fi
36798
36799 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36800 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36801 if test "${ac_cv_type_uid_t+set}" = set; then
36802 echo $ECHO_N "(cached) $ECHO_C" >&6
36803 else
36804 cat >conftest.$ac_ext <<_ACEOF
36805 /* confdefs.h. */
36806 _ACEOF
36807 cat confdefs.h >>conftest.$ac_ext
36808 cat >>conftest.$ac_ext <<_ACEOF
36809 /* end confdefs.h. */
36810 #include <sys/types.h>
36811
36812 _ACEOF
36813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36814 $EGREP "uid_t" >/dev/null 2>&1; then
36815 ac_cv_type_uid_t=yes
36816 else
36817 ac_cv_type_uid_t=no
36818 fi
36819 rm -f conftest*
36820
36821 fi
36822 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36823 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36824 if test $ac_cv_type_uid_t = no; then
36825
36826 cat >>confdefs.h <<\_ACEOF
36827 #define uid_t int
36828 _ACEOF
36829
36830
36831 cat >>confdefs.h <<\_ACEOF
36832 #define gid_t int
36833 _ACEOF
36834
36835 fi
36836
36837
36838 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36839 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36840 if test "${ac_cv_type_ssize_t+set}" = set; then
36841 echo $ECHO_N "(cached) $ECHO_C" >&6
36842 else
36843 cat >conftest.$ac_ext <<_ACEOF
36844 /* confdefs.h. */
36845 _ACEOF
36846 cat confdefs.h >>conftest.$ac_ext
36847 cat >>conftest.$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36849 $ac_includes_default
36850 typedef ssize_t ac__type_new_;
36851 int
36852 main ()
36853 {
36854 if ((ac__type_new_ *) 0)
36855 return 0;
36856 if (sizeof (ac__type_new_))
36857 return 0;
36858 ;
36859 return 0;
36860 }
36861 _ACEOF
36862 rm -f conftest.$ac_objext
36863 if { (ac_try="$ac_compile"
36864 case "(($ac_try" in
36865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36866 *) ac_try_echo=$ac_try;;
36867 esac
36868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36869 (eval "$ac_compile") 2>conftest.er1
36870 ac_status=$?
36871 grep -v '^ *+' conftest.er1 >conftest.err
36872 rm -f conftest.er1
36873 cat conftest.err >&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } && {
36876 test -z "$ac_c_werror_flag" ||
36877 test ! -s conftest.err
36878 } && test -s conftest.$ac_objext; then
36879 ac_cv_type_ssize_t=yes
36880 else
36881 echo "$as_me: failed program was:" >&5
36882 sed 's/^/| /' conftest.$ac_ext >&5
36883
36884 ac_cv_type_ssize_t=no
36885 fi
36886
36887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36888 fi
36889 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36890 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36891 if test $ac_cv_type_ssize_t = yes; then
36892
36893 cat >>confdefs.h <<_ACEOF
36894 #define HAVE_SSIZE_T 1
36895 _ACEOF
36896
36897
36898 fi
36899
36900
36901 ac_ext=cpp
36902 ac_cpp='$CXXCPP $CPPFLAGS'
36903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36906 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36907 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36908 if test "${wx_cv_size_t_is_uint+set}" = set; then
36909 echo $ECHO_N "(cached) $ECHO_C" >&6
36910 else
36911
36912 cat >conftest.$ac_ext <<_ACEOF
36913 /* confdefs.h. */
36914 _ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36918 #include <stddef.h>
36919 int
36920 main ()
36921 {
36922
36923 return 0; }
36924
36925 struct Foo { void foo(size_t); void foo(unsigned int); };
36926
36927 int bar() {
36928
36929 ;
36930 return 0;
36931 }
36932 _ACEOF
36933 rm -f conftest.$ac_objext
36934 if { (ac_try="$ac_compile"
36935 case "(($ac_try" in
36936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36937 *) ac_try_echo=$ac_try;;
36938 esac
36939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36940 (eval "$ac_compile") 2>conftest.er1
36941 ac_status=$?
36942 grep -v '^ *+' conftest.er1 >conftest.err
36943 rm -f conftest.er1
36944 cat conftest.err >&5
36945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946 (exit $ac_status); } && {
36947 test -z "$ac_cxx_werror_flag" ||
36948 test ! -s conftest.err
36949 } && test -s conftest.$ac_objext; then
36950 wx_cv_size_t_is_uint=no
36951 else
36952 echo "$as_me: failed program was:" >&5
36953 sed 's/^/| /' conftest.$ac_ext >&5
36954
36955 wx_cv_size_t_is_uint=yes
36956
36957 fi
36958
36959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36960
36961
36962 fi
36963 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36964 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36965
36966 if test "$wx_cv_size_t_is_uint" = "yes"; then
36967 cat >>confdefs.h <<\_ACEOF
36968 #define wxSIZE_T_IS_UINT 1
36969 _ACEOF
36970
36971 else
36972 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36973 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36974 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36975 echo $ECHO_N "(cached) $ECHO_C" >&6
36976 else
36977 cat >conftest.$ac_ext <<_ACEOF
36978 /* confdefs.h. */
36979 _ACEOF
36980 cat confdefs.h >>conftest.$ac_ext
36981 cat >>conftest.$ac_ext <<_ACEOF
36982 /* end confdefs.h. */
36983 #include <stddef.h>
36984 int
36985 main ()
36986 {
36987
36988 return 0; }
36989
36990 struct Foo { void foo(size_t); void foo(unsigned long); };
36991
36992 int bar() {
36993
36994 ;
36995 return 0;
36996 }
36997 _ACEOF
36998 rm -f conftest.$ac_objext
36999 if { (ac_try="$ac_compile"
37000 case "(($ac_try" in
37001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37002 *) ac_try_echo=$ac_try;;
37003 esac
37004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37005 (eval "$ac_compile") 2>conftest.er1
37006 ac_status=$?
37007 grep -v '^ *+' conftest.er1 >conftest.err
37008 rm -f conftest.er1
37009 cat conftest.err >&5
37010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37011 (exit $ac_status); } && {
37012 test -z "$ac_cxx_werror_flag" ||
37013 test ! -s conftest.err
37014 } && test -s conftest.$ac_objext; then
37015 wx_cv_size_t_is_ulong=no
37016 else
37017 echo "$as_me: failed program was:" >&5
37018 sed 's/^/| /' conftest.$ac_ext >&5
37019
37020 wx_cv_size_t_is_ulong=yes
37021
37022 fi
37023
37024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37025
37026 fi
37027 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37028 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37029
37030 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37031 cat >>confdefs.h <<\_ACEOF
37032 #define wxSIZE_T_IS_ULONG 1
37033 _ACEOF
37034
37035 fi
37036 fi
37037
37038 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37039 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37040 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37041 echo $ECHO_N "(cached) $ECHO_C" >&6
37042 else
37043 cat >conftest.$ac_ext <<_ACEOF
37044 /* confdefs.h. */
37045 _ACEOF
37046 cat confdefs.h >>conftest.$ac_ext
37047 cat >>conftest.$ac_ext <<_ACEOF
37048 /* end confdefs.h. */
37049 #include <wchar.h>
37050 int
37051 main ()
37052 {
37053
37054 return 0; }
37055
37056 struct Foo { void foo(wchar_t);
37057 void foo(unsigned short);
37058 void foo(unsigned int);
37059 void foo(unsigned long); };
37060
37061 int bar() {
37062
37063 ;
37064 return 0;
37065 }
37066 _ACEOF
37067 rm -f conftest.$ac_objext
37068 if { (ac_try="$ac_compile"
37069 case "(($ac_try" in
37070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37071 *) ac_try_echo=$ac_try;;
37072 esac
37073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37074 (eval "$ac_compile") 2>conftest.er1
37075 ac_status=$?
37076 grep -v '^ *+' conftest.er1 >conftest.err
37077 rm -f conftest.er1
37078 cat conftest.err >&5
37079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080 (exit $ac_status); } && {
37081 test -z "$ac_cxx_werror_flag" ||
37082 test ! -s conftest.err
37083 } && test -s conftest.$ac_objext; then
37084 wx_cv_wchar_t_is_separate_type=yes
37085 else
37086 echo "$as_me: failed program was:" >&5
37087 sed 's/^/| /' conftest.$ac_ext >&5
37088
37089 wx_cv_wchar_t_is_separate_type=no
37090
37091 fi
37092
37093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37094
37095 fi
37096 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37097 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37098
37099 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37100 cat >>confdefs.h <<\_ACEOF
37101 #define wxWCHAR_T_IS_REAL_TYPE 1
37102 _ACEOF
37103
37104 else
37105 cat >>confdefs.h <<\_ACEOF
37106 #define wxWCHAR_T_IS_REAL_TYPE 0
37107 _ACEOF
37108
37109 fi
37110
37111 ac_ext=c
37112 ac_cpp='$CPP $CPPFLAGS'
37113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37116
37117
37118 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37119 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37120 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37121 echo $ECHO_N "(cached) $ECHO_C" >&6
37122 else
37123
37124 cat >conftest.$ac_ext <<_ACEOF
37125 /* confdefs.h. */
37126 _ACEOF
37127 cat confdefs.h >>conftest.$ac_ext
37128 cat >>conftest.$ac_ext <<_ACEOF
37129 /* end confdefs.h. */
37130 #include <pwd.h>
37131 int
37132 main ()
37133 {
37134
37135 char *p;
37136 struct passwd *pw;
37137 p = pw->pw_gecos;
37138
37139 ;
37140 return 0;
37141 }
37142 _ACEOF
37143 rm -f conftest.$ac_objext
37144 if { (ac_try="$ac_compile"
37145 case "(($ac_try" in
37146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37147 *) ac_try_echo=$ac_try;;
37148 esac
37149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37150 (eval "$ac_compile") 2>conftest.er1
37151 ac_status=$?
37152 grep -v '^ *+' conftest.er1 >conftest.err
37153 rm -f conftest.er1
37154 cat conftest.err >&5
37155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156 (exit $ac_status); } && {
37157 test -z "$ac_c_werror_flag" ||
37158 test ! -s conftest.err
37159 } && test -s conftest.$ac_objext; then
37160
37161 wx_cv_struct_pw_gecos=yes
37162
37163 else
37164 echo "$as_me: failed program was:" >&5
37165 sed 's/^/| /' conftest.$ac_ext >&5
37166
37167
37168 wx_cv_struct_pw_gecos=no
37169
37170
37171 fi
37172
37173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37174
37175
37176 fi
37177 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37178 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37179
37180 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37181 cat >>confdefs.h <<\_ACEOF
37182 #define HAVE_PW_GECOS 1
37183 _ACEOF
37184
37185 fi
37186
37187
37188 if test "$wxUSE_WCHAR_T" = "yes"; then
37189 cat >>confdefs.h <<\_ACEOF
37190 #define wxUSE_WCHAR_T 1
37191 _ACEOF
37192
37193
37194 WCSLEN_FOUND=0
37195 WCHAR_LINK=
37196
37197 for ac_func in wcslen
37198 do
37199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37200 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37202 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37203 echo $ECHO_N "(cached) $ECHO_C" >&6
37204 else
37205 cat >conftest.$ac_ext <<_ACEOF
37206 /* confdefs.h. */
37207 _ACEOF
37208 cat confdefs.h >>conftest.$ac_ext
37209 cat >>conftest.$ac_ext <<_ACEOF
37210 /* end confdefs.h. */
37211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37213 #define $ac_func innocuous_$ac_func
37214
37215 /* System header to define __stub macros and hopefully few prototypes,
37216 which can conflict with char $ac_func (); below.
37217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37218 <limits.h> exists even on freestanding compilers. */
37219
37220 #ifdef __STDC__
37221 # include <limits.h>
37222 #else
37223 # include <assert.h>
37224 #endif
37225
37226 #undef $ac_func
37227
37228 /* Override any GCC internal prototype to avoid an error.
37229 Use char because int might match the return type of a GCC
37230 builtin and then its argument prototype would still apply. */
37231 #ifdef __cplusplus
37232 extern "C"
37233 #endif
37234 char $ac_func ();
37235 /* The GNU C library defines this for functions which it implements
37236 to always fail with ENOSYS. Some functions are actually named
37237 something starting with __ and the normal name is an alias. */
37238 #if defined __stub_$ac_func || defined __stub___$ac_func
37239 choke me
37240 #endif
37241
37242 int
37243 main ()
37244 {
37245 return $ac_func ();
37246 ;
37247 return 0;
37248 }
37249 _ACEOF
37250 rm -f conftest.$ac_objext conftest$ac_exeext
37251 if { (ac_try="$ac_link"
37252 case "(($ac_try" in
37253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37254 *) ac_try_echo=$ac_try;;
37255 esac
37256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37257 (eval "$ac_link") 2>conftest.er1
37258 ac_status=$?
37259 grep -v '^ *+' conftest.er1 >conftest.err
37260 rm -f conftest.er1
37261 cat conftest.err >&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); } && {
37264 test -z "$ac_c_werror_flag" ||
37265 test ! -s conftest.err
37266 } && test -s conftest$ac_exeext &&
37267 $as_test_x conftest$ac_exeext; then
37268 eval "$as_ac_var=yes"
37269 else
37270 echo "$as_me: failed program was:" >&5
37271 sed 's/^/| /' conftest.$ac_ext >&5
37272
37273 eval "$as_ac_var=no"
37274 fi
37275
37276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37277 conftest$ac_exeext conftest.$ac_ext
37278 fi
37279 ac_res=`eval echo '${'$as_ac_var'}'`
37280 { echo "$as_me:$LINENO: result: $ac_res" >&5
37281 echo "${ECHO_T}$ac_res" >&6; }
37282 if test `eval echo '${'$as_ac_var'}'` = yes; then
37283 cat >>confdefs.h <<_ACEOF
37284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37285 _ACEOF
37286 WCSLEN_FOUND=1
37287 fi
37288 done
37289
37290
37291 if test "$WCSLEN_FOUND" = 0; then
37292 if test "$TOOLKIT" = "MSW"; then
37293 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37294 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37295 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37296 echo $ECHO_N "(cached) $ECHO_C" >&6
37297 else
37298 ac_check_lib_save_LIBS=$LIBS
37299 LIBS="-lmsvcrt $LIBS"
37300 cat >conftest.$ac_ext <<_ACEOF
37301 /* confdefs.h. */
37302 _ACEOF
37303 cat confdefs.h >>conftest.$ac_ext
37304 cat >>conftest.$ac_ext <<_ACEOF
37305 /* end confdefs.h. */
37306
37307 /* Override any GCC internal prototype to avoid an error.
37308 Use char because int might match the return type of a GCC
37309 builtin and then its argument prototype would still apply. */
37310 #ifdef __cplusplus
37311 extern "C"
37312 #endif
37313 char wcslen ();
37314 int
37315 main ()
37316 {
37317 return wcslen ();
37318 ;
37319 return 0;
37320 }
37321 _ACEOF
37322 rm -f conftest.$ac_objext conftest$ac_exeext
37323 if { (ac_try="$ac_link"
37324 case "(($ac_try" in
37325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37326 *) ac_try_echo=$ac_try;;
37327 esac
37328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37329 (eval "$ac_link") 2>conftest.er1
37330 ac_status=$?
37331 grep -v '^ *+' conftest.er1 >conftest.err
37332 rm -f conftest.er1
37333 cat conftest.err >&5
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); } && {
37336 test -z "$ac_c_werror_flag" ||
37337 test ! -s conftest.err
37338 } && test -s conftest$ac_exeext &&
37339 $as_test_x conftest$ac_exeext; then
37340 ac_cv_lib_msvcrt_wcslen=yes
37341 else
37342 echo "$as_me: failed program was:" >&5
37343 sed 's/^/| /' conftest.$ac_ext >&5
37344
37345 ac_cv_lib_msvcrt_wcslen=no
37346 fi
37347
37348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37349 conftest$ac_exeext conftest.$ac_ext
37350 LIBS=$ac_check_lib_save_LIBS
37351 fi
37352 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37353 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37354 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37355 WCHAR_OK=1
37356 fi
37357
37358 else
37359 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37360 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37361 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37362 echo $ECHO_N "(cached) $ECHO_C" >&6
37363 else
37364 ac_check_lib_save_LIBS=$LIBS
37365 LIBS="-lw $LIBS"
37366 cat >conftest.$ac_ext <<_ACEOF
37367 /* confdefs.h. */
37368 _ACEOF
37369 cat confdefs.h >>conftest.$ac_ext
37370 cat >>conftest.$ac_ext <<_ACEOF
37371 /* end confdefs.h. */
37372
37373 /* Override any GCC internal prototype to avoid an error.
37374 Use char because int might match the return type of a GCC
37375 builtin and then its argument prototype would still apply. */
37376 #ifdef __cplusplus
37377 extern "C"
37378 #endif
37379 char wcslen ();
37380 int
37381 main ()
37382 {
37383 return wcslen ();
37384 ;
37385 return 0;
37386 }
37387 _ACEOF
37388 rm -f conftest.$ac_objext conftest$ac_exeext
37389 if { (ac_try="$ac_link"
37390 case "(($ac_try" in
37391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37392 *) ac_try_echo=$ac_try;;
37393 esac
37394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37395 (eval "$ac_link") 2>conftest.er1
37396 ac_status=$?
37397 grep -v '^ *+' conftest.er1 >conftest.err
37398 rm -f conftest.er1
37399 cat conftest.err >&5
37400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37401 (exit $ac_status); } && {
37402 test -z "$ac_c_werror_flag" ||
37403 test ! -s conftest.err
37404 } && test -s conftest$ac_exeext &&
37405 $as_test_x conftest$ac_exeext; then
37406 ac_cv_lib_w_wcslen=yes
37407 else
37408 echo "$as_me: failed program was:" >&5
37409 sed 's/^/| /' conftest.$ac_ext >&5
37410
37411 ac_cv_lib_w_wcslen=no
37412 fi
37413
37414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37415 conftest$ac_exeext conftest.$ac_ext
37416 LIBS=$ac_check_lib_save_LIBS
37417 fi
37418 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37419 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37420 if test $ac_cv_lib_w_wcslen = yes; then
37421
37422 WCHAR_LINK=" -lw"
37423 WCSLEN_FOUND=1
37424
37425 fi
37426
37427 fi
37428 fi
37429
37430 if test "$WCSLEN_FOUND" = 1; then
37431 cat >>confdefs.h <<\_ACEOF
37432 #define HAVE_WCSLEN 1
37433 _ACEOF
37434
37435 fi
37436
37437
37438 for ac_func in wcsdup
37439 do
37440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37441 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37443 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37444 echo $ECHO_N "(cached) $ECHO_C" >&6
37445 else
37446 cat >conftest.$ac_ext <<_ACEOF
37447 /* confdefs.h. */
37448 _ACEOF
37449 cat confdefs.h >>conftest.$ac_ext
37450 cat >>conftest.$ac_ext <<_ACEOF
37451 /* end confdefs.h. */
37452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37454 #define $ac_func innocuous_$ac_func
37455
37456 /* System header to define __stub macros and hopefully few prototypes,
37457 which can conflict with char $ac_func (); below.
37458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37459 <limits.h> exists even on freestanding compilers. */
37460
37461 #ifdef __STDC__
37462 # include <limits.h>
37463 #else
37464 # include <assert.h>
37465 #endif
37466
37467 #undef $ac_func
37468
37469 /* Override any GCC internal prototype to avoid an error.
37470 Use char because int might match the return type of a GCC
37471 builtin and then its argument prototype would still apply. */
37472 #ifdef __cplusplus
37473 extern "C"
37474 #endif
37475 char $ac_func ();
37476 /* The GNU C library defines this for functions which it implements
37477 to always fail with ENOSYS. Some functions are actually named
37478 something starting with __ and the normal name is an alias. */
37479 #if defined __stub_$ac_func || defined __stub___$ac_func
37480 choke me
37481 #endif
37482
37483 int
37484 main ()
37485 {
37486 return $ac_func ();
37487 ;
37488 return 0;
37489 }
37490 _ACEOF
37491 rm -f conftest.$ac_objext conftest$ac_exeext
37492 if { (ac_try="$ac_link"
37493 case "(($ac_try" in
37494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37495 *) ac_try_echo=$ac_try;;
37496 esac
37497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37498 (eval "$ac_link") 2>conftest.er1
37499 ac_status=$?
37500 grep -v '^ *+' conftest.er1 >conftest.err
37501 rm -f conftest.er1
37502 cat conftest.err >&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); } && {
37505 test -z "$ac_c_werror_flag" ||
37506 test ! -s conftest.err
37507 } && test -s conftest$ac_exeext &&
37508 $as_test_x conftest$ac_exeext; then
37509 eval "$as_ac_var=yes"
37510 else
37511 echo "$as_me: failed program was:" >&5
37512 sed 's/^/| /' conftest.$ac_ext >&5
37513
37514 eval "$as_ac_var=no"
37515 fi
37516
37517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37518 conftest$ac_exeext conftest.$ac_ext
37519 fi
37520 ac_res=`eval echo '${'$as_ac_var'}'`
37521 { echo "$as_me:$LINENO: result: $ac_res" >&5
37522 echo "${ECHO_T}$ac_res" >&6; }
37523 if test `eval echo '${'$as_ac_var'}'` = yes; then
37524 cat >>confdefs.h <<_ACEOF
37525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37526 _ACEOF
37527
37528 fi
37529 done
37530
37531
37532 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37533 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37534 fi
37535
37536 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37537 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37538 if test "${ac_cv_type_mbstate_t+set}" = set; then
37539 echo $ECHO_N "(cached) $ECHO_C" >&6
37540 else
37541 cat >conftest.$ac_ext <<_ACEOF
37542 /* confdefs.h. */
37543 _ACEOF
37544 cat confdefs.h >>conftest.$ac_ext
37545 cat >>conftest.$ac_ext <<_ACEOF
37546 /* end confdefs.h. */
37547 #include <wchar.h>
37548
37549 typedef mbstate_t ac__type_new_;
37550 int
37551 main ()
37552 {
37553 if ((ac__type_new_ *) 0)
37554 return 0;
37555 if (sizeof (ac__type_new_))
37556 return 0;
37557 ;
37558 return 0;
37559 }
37560 _ACEOF
37561 rm -f conftest.$ac_objext
37562 if { (ac_try="$ac_compile"
37563 case "(($ac_try" in
37564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37565 *) ac_try_echo=$ac_try;;
37566 esac
37567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37568 (eval "$ac_compile") 2>conftest.er1
37569 ac_status=$?
37570 grep -v '^ *+' conftest.er1 >conftest.err
37571 rm -f conftest.er1
37572 cat conftest.err >&5
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); } && {
37575 test -z "$ac_c_werror_flag" ||
37576 test ! -s conftest.err
37577 } && test -s conftest.$ac_objext; then
37578 ac_cv_type_mbstate_t=yes
37579 else
37580 echo "$as_me: failed program was:" >&5
37581 sed 's/^/| /' conftest.$ac_ext >&5
37582
37583 ac_cv_type_mbstate_t=no
37584 fi
37585
37586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37587 fi
37588 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37589 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37590 if test $ac_cv_type_mbstate_t = yes; then
37591
37592 cat >>confdefs.h <<_ACEOF
37593 #define HAVE_MBSTATE_T 1
37594 _ACEOF
37595
37596
37597 for ac_func in wcsrtombs
37598 do
37599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37603 echo $ECHO_N "(cached) $ECHO_C" >&6
37604 else
37605 cat >conftest.$ac_ext <<_ACEOF
37606 /* confdefs.h. */
37607 _ACEOF
37608 cat confdefs.h >>conftest.$ac_ext
37609 cat >>conftest.$ac_ext <<_ACEOF
37610 /* end confdefs.h. */
37611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37613 #define $ac_func innocuous_$ac_func
37614
37615 /* System header to define __stub macros and hopefully few prototypes,
37616 which can conflict with char $ac_func (); below.
37617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37618 <limits.h> exists even on freestanding compilers. */
37619
37620 #ifdef __STDC__
37621 # include <limits.h>
37622 #else
37623 # include <assert.h>
37624 #endif
37625
37626 #undef $ac_func
37627
37628 /* Override any GCC internal prototype to avoid an error.
37629 Use char because int might match the return type of a GCC
37630 builtin and then its argument prototype would still apply. */
37631 #ifdef __cplusplus
37632 extern "C"
37633 #endif
37634 char $ac_func ();
37635 /* The GNU C library defines this for functions which it implements
37636 to always fail with ENOSYS. Some functions are actually named
37637 something starting with __ and the normal name is an alias. */
37638 #if defined __stub_$ac_func || defined __stub___$ac_func
37639 choke me
37640 #endif
37641
37642 int
37643 main ()
37644 {
37645 return $ac_func ();
37646 ;
37647 return 0;
37648 }
37649 _ACEOF
37650 rm -f conftest.$ac_objext conftest$ac_exeext
37651 if { (ac_try="$ac_link"
37652 case "(($ac_try" in
37653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37654 *) ac_try_echo=$ac_try;;
37655 esac
37656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37657 (eval "$ac_link") 2>conftest.er1
37658 ac_status=$?
37659 grep -v '^ *+' conftest.er1 >conftest.err
37660 rm -f conftest.er1
37661 cat conftest.err >&5
37662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37663 (exit $ac_status); } && {
37664 test -z "$ac_c_werror_flag" ||
37665 test ! -s conftest.err
37666 } && test -s conftest$ac_exeext &&
37667 $as_test_x conftest$ac_exeext; then
37668 eval "$as_ac_var=yes"
37669 else
37670 echo "$as_me: failed program was:" >&5
37671 sed 's/^/| /' conftest.$ac_ext >&5
37672
37673 eval "$as_ac_var=no"
37674 fi
37675
37676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37677 conftest$ac_exeext conftest.$ac_ext
37678 fi
37679 ac_res=`eval echo '${'$as_ac_var'}'`
37680 { echo "$as_me:$LINENO: result: $ac_res" >&5
37681 echo "${ECHO_T}$ac_res" >&6; }
37682 if test `eval echo '${'$as_ac_var'}'` = yes; then
37683 cat >>confdefs.h <<_ACEOF
37684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37685 _ACEOF
37686
37687 fi
37688 done
37689
37690 fi
37691
37692 else
37693 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37694 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37695 fi
37696
37697
37698
37699 for ac_func in snprintf vsnprintf
37700 do
37701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37704 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37705 echo $ECHO_N "(cached) $ECHO_C" >&6
37706 else
37707 cat >conftest.$ac_ext <<_ACEOF
37708 /* confdefs.h. */
37709 _ACEOF
37710 cat confdefs.h >>conftest.$ac_ext
37711 cat >>conftest.$ac_ext <<_ACEOF
37712 /* end confdefs.h. */
37713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37715 #define $ac_func innocuous_$ac_func
37716
37717 /* System header to define __stub macros and hopefully few prototypes,
37718 which can conflict with char $ac_func (); below.
37719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37720 <limits.h> exists even on freestanding compilers. */
37721
37722 #ifdef __STDC__
37723 # include <limits.h>
37724 #else
37725 # include <assert.h>
37726 #endif
37727
37728 #undef $ac_func
37729
37730 /* Override any GCC internal prototype to avoid an error.
37731 Use char because int might match the return type of a GCC
37732 builtin and then its argument prototype would still apply. */
37733 #ifdef __cplusplus
37734 extern "C"
37735 #endif
37736 char $ac_func ();
37737 /* The GNU C library defines this for functions which it implements
37738 to always fail with ENOSYS. Some functions are actually named
37739 something starting with __ and the normal name is an alias. */
37740 #if defined __stub_$ac_func || defined __stub___$ac_func
37741 choke me
37742 #endif
37743
37744 int
37745 main ()
37746 {
37747 return $ac_func ();
37748 ;
37749 return 0;
37750 }
37751 _ACEOF
37752 rm -f conftest.$ac_objext conftest$ac_exeext
37753 if { (ac_try="$ac_link"
37754 case "(($ac_try" in
37755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37756 *) ac_try_echo=$ac_try;;
37757 esac
37758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37759 (eval "$ac_link") 2>conftest.er1
37760 ac_status=$?
37761 grep -v '^ *+' conftest.er1 >conftest.err
37762 rm -f conftest.er1
37763 cat conftest.err >&5
37764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765 (exit $ac_status); } && {
37766 test -z "$ac_c_werror_flag" ||
37767 test ! -s conftest.err
37768 } && test -s conftest$ac_exeext &&
37769 $as_test_x conftest$ac_exeext; then
37770 eval "$as_ac_var=yes"
37771 else
37772 echo "$as_me: failed program was:" >&5
37773 sed 's/^/| /' conftest.$ac_ext >&5
37774
37775 eval "$as_ac_var=no"
37776 fi
37777
37778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37779 conftest$ac_exeext conftest.$ac_ext
37780 fi
37781 ac_res=`eval echo '${'$as_ac_var'}'`
37782 { echo "$as_me:$LINENO: result: $ac_res" >&5
37783 echo "${ECHO_T}$ac_res" >&6; }
37784 if test `eval echo '${'$as_ac_var'}'` = yes; then
37785 cat >>confdefs.h <<_ACEOF
37786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37787 _ACEOF
37788
37789 fi
37790 done
37791
37792
37793 if test "$ac_cv_func_vsnprintf" = "yes"; then
37794 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37795 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37796 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37797 echo $ECHO_N "(cached) $ECHO_C" >&6
37798 else
37799
37800 cat >conftest.$ac_ext <<_ACEOF
37801 /* confdefs.h. */
37802 _ACEOF
37803 cat confdefs.h >>conftest.$ac_ext
37804 cat >>conftest.$ac_ext <<_ACEOF
37805 /* end confdefs.h. */
37806
37807 #include <stdio.h>
37808 #include <stdarg.h>
37809 #ifdef __MSL__
37810 #if __MSL__ >= 0x6000
37811 namespace std {}
37812 using namespace std;
37813 #endif
37814 #endif
37815
37816 int
37817 main ()
37818 {
37819
37820 char *buf;
37821 va_list ap;
37822 vsnprintf(buf, 10u, "%s", ap);
37823
37824 ;
37825 return 0;
37826 }
37827 _ACEOF
37828 rm -f conftest.$ac_objext
37829 if { (ac_try="$ac_compile"
37830 case "(($ac_try" in
37831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37832 *) ac_try_echo=$ac_try;;
37833 esac
37834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37835 (eval "$ac_compile") 2>conftest.er1
37836 ac_status=$?
37837 grep -v '^ *+' conftest.er1 >conftest.err
37838 rm -f conftest.er1
37839 cat conftest.err >&5
37840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37841 (exit $ac_status); } && {
37842 test -z "$ac_c_werror_flag" ||
37843 test ! -s conftest.err
37844 } && test -s conftest.$ac_objext; then
37845 wx_cv_func_vsnprintf_decl=yes
37846 else
37847 echo "$as_me: failed program was:" >&5
37848 sed 's/^/| /' conftest.$ac_ext >&5
37849
37850 wx_cv_func_vsnprintf_decl=no
37851
37852 fi
37853
37854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37855
37856
37857 fi
37858 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37859 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37860
37861 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37862 cat >>confdefs.h <<\_ACEOF
37863 #define HAVE_VSNPRINTF_DECL 1
37864 _ACEOF
37865
37866
37867 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37868 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37869 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37870 echo $ECHO_N "(cached) $ECHO_C" >&6
37871 else
37872
37873 cat >conftest.$ac_ext <<_ACEOF
37874 /* confdefs.h. */
37875 _ACEOF
37876 cat confdefs.h >>conftest.$ac_ext
37877 cat >>conftest.$ac_ext <<_ACEOF
37878 /* end confdefs.h. */
37879
37880 #include <stdio.h>
37881 #include <stdarg.h>
37882 #ifdef __MSL__
37883 #if __MSL__ >= 0x6000
37884 namespace std {}
37885 using namespace std;
37886 #endif
37887 #endif
37888
37889 int
37890 main ()
37891 {
37892
37893 char *buf;
37894 va_list ap;
37895 const char *fmt = "%s";
37896 vsnprintf(buf, 10u, fmt, ap);
37897
37898 ;
37899 return 0;
37900 }
37901 _ACEOF
37902 rm -f conftest.$ac_objext
37903 if { (ac_try="$ac_compile"
37904 case "(($ac_try" in
37905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37906 *) ac_try_echo=$ac_try;;
37907 esac
37908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37909 (eval "$ac_compile") 2>conftest.er1
37910 ac_status=$?
37911 grep -v '^ *+' conftest.er1 >conftest.err
37912 rm -f conftest.er1
37913 cat conftest.err >&5
37914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37915 (exit $ac_status); } && {
37916 test -z "$ac_c_werror_flag" ||
37917 test ! -s conftest.err
37918 } && test -s conftest.$ac_objext; then
37919 wx_cv_func_broken_vsnprintf_decl=no
37920 else
37921 echo "$as_me: failed program was:" >&5
37922 sed 's/^/| /' conftest.$ac_ext >&5
37923
37924 wx_cv_func_broken_vsnprintf_decl=yes
37925
37926 fi
37927
37928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37929
37930
37931 fi
37932 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37933 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37934
37935 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37936 cat >>confdefs.h <<\_ACEOF
37937 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37938 _ACEOF
37939
37940 fi
37941 fi
37942 fi
37943
37944 if test "$ac_cv_func_snprintf" = "yes"; then
37945 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37946 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37947 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37948 echo $ECHO_N "(cached) $ECHO_C" >&6
37949 else
37950
37951 cat >conftest.$ac_ext <<_ACEOF
37952 /* confdefs.h. */
37953 _ACEOF
37954 cat confdefs.h >>conftest.$ac_ext
37955 cat >>conftest.$ac_ext <<_ACEOF
37956 /* end confdefs.h. */
37957
37958 #include <stdio.h>
37959 #include <stdarg.h>
37960 #ifdef __MSL__
37961 #if __MSL__ >= 0x6000
37962 namespace std {}
37963 using namespace std;
37964 #endif
37965 #endif
37966
37967 int
37968 main ()
37969 {
37970
37971 char *buf;
37972 snprintf(buf, 10u, "%s", "wx");
37973
37974 ;
37975 return 0;
37976 }
37977 _ACEOF
37978 rm -f conftest.$ac_objext
37979 if { (ac_try="$ac_compile"
37980 case "(($ac_try" in
37981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37982 *) ac_try_echo=$ac_try;;
37983 esac
37984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37985 (eval "$ac_compile") 2>conftest.er1
37986 ac_status=$?
37987 grep -v '^ *+' conftest.er1 >conftest.err
37988 rm -f conftest.er1
37989 cat conftest.err >&5
37990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37991 (exit $ac_status); } && {
37992 test -z "$ac_c_werror_flag" ||
37993 test ! -s conftest.err
37994 } && test -s conftest.$ac_objext; then
37995 wx_cv_func_snprintf_decl=yes
37996 else
37997 echo "$as_me: failed program was:" >&5
37998 sed 's/^/| /' conftest.$ac_ext >&5
37999
38000 wx_cv_func_snprintf_decl=no
38001
38002 fi
38003
38004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38005
38006
38007 fi
38008 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38009 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38010
38011 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38012 cat >>confdefs.h <<\_ACEOF
38013 #define HAVE_SNPRINTF_DECL 1
38014 _ACEOF
38015
38016
38017 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38018 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38019 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38020 echo $ECHO_N "(cached) $ECHO_C" >&6
38021 else
38022
38023 cat >conftest.$ac_ext <<_ACEOF
38024 /* confdefs.h. */
38025 _ACEOF
38026 cat confdefs.h >>conftest.$ac_ext
38027 cat >>conftest.$ac_ext <<_ACEOF
38028 /* end confdefs.h. */
38029
38030 #include <stdio.h>
38031 #include <stdarg.h>
38032 #ifdef __MSL__
38033 #if __MSL__ >= 0x6000
38034 namespace std {}
38035 using namespace std;
38036 #endif
38037 #endif
38038
38039 int
38040 main ()
38041 {
38042
38043 char *buf;
38044 const char *fmt = "%s";
38045 snprintf(buf, 10u, fmt, "wx");
38046
38047 ;
38048 return 0;
38049 }
38050 _ACEOF
38051 rm -f conftest.$ac_objext
38052 if { (ac_try="$ac_compile"
38053 case "(($ac_try" in
38054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38055 *) ac_try_echo=$ac_try;;
38056 esac
38057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38058 (eval "$ac_compile") 2>conftest.er1
38059 ac_status=$?
38060 grep -v '^ *+' conftest.er1 >conftest.err
38061 rm -f conftest.er1
38062 cat conftest.err >&5
38063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064 (exit $ac_status); } && {
38065 test -z "$ac_c_werror_flag" ||
38066 test ! -s conftest.err
38067 } && test -s conftest.$ac_objext; then
38068 wx_cv_func_broken_snprintf_decl=no
38069 else
38070 echo "$as_me: failed program was:" >&5
38071 sed 's/^/| /' conftest.$ac_ext >&5
38072
38073 wx_cv_func_broken_snprintf_decl=yes
38074
38075 fi
38076
38077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38078
38079
38080 fi
38081 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38082 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38083
38084 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38085 cat >>confdefs.h <<\_ACEOF
38086 #define HAVE_BROKEN_SNPRINTF_DECL 1
38087 _ACEOF
38088
38089 fi
38090 fi
38091
38092 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38093
38094 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38095 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38096 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38097 echo $ECHO_N "(cached) $ECHO_C" >&6
38098 else
38099
38100 if test "$cross_compiling" = yes; then
38101
38102 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38103 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38104 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38105 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38106 wx_cv_func_snprintf_pos_params=no
38107
38108
38109 else
38110 cat >conftest.$ac_ext <<_ACEOF
38111 /* confdefs.h. */
38112 _ACEOF
38113 cat confdefs.h >>conftest.$ac_ext
38114 cat >>conftest.$ac_ext <<_ACEOF
38115 /* end confdefs.h. */
38116
38117 #include <stdio.h>
38118
38119 int main (void)
38120 {
38121 char buffer[128];
38122 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38123 if (strcmp ("2 3 1", buffer) == 0)
38124 exit (0);
38125 exit (1);
38126 }
38127
38128 _ACEOF
38129 rm -f conftest$ac_exeext
38130 if { (ac_try="$ac_link"
38131 case "(($ac_try" in
38132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38133 *) ac_try_echo=$ac_try;;
38134 esac
38135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38136 (eval "$ac_link") 2>&5
38137 ac_status=$?
38138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38140 { (case "(($ac_try" in
38141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38142 *) ac_try_echo=$ac_try;;
38143 esac
38144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38145 (eval "$ac_try") 2>&5
38146 ac_status=$?
38147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38148 (exit $ac_status); }; }; then
38149 wx_cv_func_snprintf_pos_params=no
38150 else
38151 echo "$as_me: program exited with status $ac_status" >&5
38152 echo "$as_me: failed program was:" >&5
38153 sed 's/^/| /' conftest.$ac_ext >&5
38154
38155 ( exit $ac_status )
38156 wx_cv_func_snprintf_pos_params=yes
38157 fi
38158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38159 fi
38160
38161
38162
38163
38164 fi
38165 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38166 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38167
38168 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38169 cat >>confdefs.h <<\_ACEOF
38170 #define HAVE_UNIX98_PRINTF 1
38171 _ACEOF
38172
38173 fi
38174 fi
38175 fi
38176
38177 if test "$wxUSE_UNICODE" = yes; then
38178
38179
38180 for ac_func in swprintf
38181 do
38182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38183 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38185 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38186 echo $ECHO_N "(cached) $ECHO_C" >&6
38187 else
38188 cat >conftest.$ac_ext <<_ACEOF
38189 /* confdefs.h. */
38190 _ACEOF
38191 cat confdefs.h >>conftest.$ac_ext
38192 cat >>conftest.$ac_ext <<_ACEOF
38193 /* end confdefs.h. */
38194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38196 #define $ac_func innocuous_$ac_func
38197
38198 /* System header to define __stub macros and hopefully few prototypes,
38199 which can conflict with char $ac_func (); below.
38200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38201 <limits.h> exists even on freestanding compilers. */
38202
38203 #ifdef __STDC__
38204 # include <limits.h>
38205 #else
38206 # include <assert.h>
38207 #endif
38208
38209 #undef $ac_func
38210
38211 /* Override any GCC internal prototype to avoid an error.
38212 Use char because int might match the return type of a GCC
38213 builtin and then its argument prototype would still apply. */
38214 #ifdef __cplusplus
38215 extern "C"
38216 #endif
38217 char $ac_func ();
38218 /* The GNU C library defines this for functions which it implements
38219 to always fail with ENOSYS. Some functions are actually named
38220 something starting with __ and the normal name is an alias. */
38221 #if defined __stub_$ac_func || defined __stub___$ac_func
38222 choke me
38223 #endif
38224
38225 int
38226 main ()
38227 {
38228 return $ac_func ();
38229 ;
38230 return 0;
38231 }
38232 _ACEOF
38233 rm -f conftest.$ac_objext conftest$ac_exeext
38234 if { (ac_try="$ac_link"
38235 case "(($ac_try" in
38236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38237 *) ac_try_echo=$ac_try;;
38238 esac
38239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38240 (eval "$ac_link") 2>conftest.er1
38241 ac_status=$?
38242 grep -v '^ *+' conftest.er1 >conftest.err
38243 rm -f conftest.er1
38244 cat conftest.err >&5
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); } && {
38247 test -z "$ac_c_werror_flag" ||
38248 test ! -s conftest.err
38249 } && test -s conftest$ac_exeext &&
38250 $as_test_x conftest$ac_exeext; then
38251 eval "$as_ac_var=yes"
38252 else
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.$ac_ext >&5
38255
38256 eval "$as_ac_var=no"
38257 fi
38258
38259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38260 conftest$ac_exeext conftest.$ac_ext
38261 fi
38262 ac_res=`eval echo '${'$as_ac_var'}'`
38263 { echo "$as_me:$LINENO: result: $ac_res" >&5
38264 echo "${ECHO_T}$ac_res" >&6; }
38265 if test `eval echo '${'$as_ac_var'}'` = yes; then
38266 cat >>confdefs.h <<_ACEOF
38267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38268 _ACEOF
38269
38270 fi
38271 done
38272
38273
38274 if test "$ac_cv_func_swprintf" = "yes"; then
38275 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38276 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38277 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38278 echo $ECHO_N "(cached) $ECHO_C" >&6
38279 else
38280
38281 cat >conftest.$ac_ext <<_ACEOF
38282 /* confdefs.h. */
38283 _ACEOF
38284 cat confdefs.h >>conftest.$ac_ext
38285 cat >>conftest.$ac_ext <<_ACEOF
38286 /* end confdefs.h. */
38287
38288 #include <stdio.h>
38289 #include <stdarg.h>
38290 #include <wchar.h>
38291
38292 int
38293 main ()
38294 {
38295
38296 wchar_t *buf;
38297 const wchar_t *fmt = L"test";
38298 swprintf(buf, 10u, fmt);
38299
38300 ;
38301 return 0;
38302 }
38303 _ACEOF
38304 rm -f conftest.$ac_objext
38305 if { (ac_try="$ac_compile"
38306 case "(($ac_try" in
38307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38308 *) ac_try_echo=$ac_try;;
38309 esac
38310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38311 (eval "$ac_compile") 2>conftest.er1
38312 ac_status=$?
38313 grep -v '^ *+' conftest.er1 >conftest.err
38314 rm -f conftest.er1
38315 cat conftest.err >&5
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); } && {
38318 test -z "$ac_c_werror_flag" ||
38319 test ! -s conftest.err
38320 } && test -s conftest.$ac_objext; then
38321 wx_cv_func_broken_swprintf_decl=no
38322 else
38323 echo "$as_me: failed program was:" >&5
38324 sed 's/^/| /' conftest.$ac_ext >&5
38325
38326 wx_cv_func_broken_swprintf_decl=yes
38327
38328 fi
38329
38330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38331
38332
38333 fi
38334 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38335 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38336
38337 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38338 cat >>confdefs.h <<\_ACEOF
38339 #define HAVE_BROKEN_SWPRINTF_DECL 1
38340 _ACEOF
38341
38342 fi
38343 fi
38344
38345 wchar_headers="#include <stdio.h>
38346 #include <wchar.h>"
38347 case "${host}" in
38348 *-*-solaris2* )
38349 { echo "$as_me:$LINENO: checking for widec.h" >&5
38350 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38351 if test "${ac_cv_header_widec_h+set}" = set; then
38352 echo $ECHO_N "(cached) $ECHO_C" >&6
38353 else
38354 cat >conftest.$ac_ext <<_ACEOF
38355 /* confdefs.h. */
38356 _ACEOF
38357 cat confdefs.h >>conftest.$ac_ext
38358 cat >>conftest.$ac_ext <<_ACEOF
38359 /* end confdefs.h. */
38360 $ac_includes_default
38361
38362 #include <widec.h>
38363 _ACEOF
38364 rm -f conftest.$ac_objext
38365 if { (ac_try="$ac_compile"
38366 case "(($ac_try" in
38367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38368 *) ac_try_echo=$ac_try;;
38369 esac
38370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38371 (eval "$ac_compile") 2>conftest.er1
38372 ac_status=$?
38373 grep -v '^ *+' conftest.er1 >conftest.err
38374 rm -f conftest.er1
38375 cat conftest.err >&5
38376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38377 (exit $ac_status); } && {
38378 test -z "$ac_c_werror_flag" ||
38379 test ! -s conftest.err
38380 } && test -s conftest.$ac_objext; then
38381 ac_cv_header_widec_h=yes
38382 else
38383 echo "$as_me: failed program was:" >&5
38384 sed 's/^/| /' conftest.$ac_ext >&5
38385
38386 ac_cv_header_widec_h=no
38387 fi
38388
38389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38390 fi
38391 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38392 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38393
38394
38395 if test "$ac_cv_header_widec_h" = "yes"; then
38396 wchar_headers="$wchar_headers
38397 #include <widec.h>"
38398 fi
38399 esac
38400
38401
38402 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38403 do
38404 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38405 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38406 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38407 echo $ECHO_N "(cached) $ECHO_C" >&6
38408 else
38409
38410 cat >conftest.$ac_ext <<_ACEOF
38411
38412 /* confdefs.h. */
38413 _ACEOF
38414 cat confdefs.h >>conftest.$ac_ext
38415 cat >>conftest.$ac_ext <<_ACEOF
38416 /* end confdefs.h. */
38417
38418 $wchar_headers
38419 $ac_includes_default
38420
38421 int
38422 main ()
38423 {
38424
38425 #ifndef $wx_func
38426 &$wx_func;
38427 #endif
38428
38429
38430 ;
38431 return 0;
38432 }
38433
38434 _ACEOF
38435 rm -f conftest.$ac_objext conftest$ac_exeext
38436 if { (ac_try="$ac_link"
38437 case "(($ac_try" in
38438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38439 *) ac_try_echo=$ac_try;;
38440 esac
38441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38442 (eval "$ac_link") 2>conftest.er1
38443 ac_status=$?
38444 grep -v '^ *+' conftest.er1 >conftest.err
38445 rm -f conftest.er1
38446 cat conftest.err >&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); } && {
38449 test -z "$ac_c_werror_flag" ||
38450 test ! -s conftest.err
38451 } && test -s conftest$ac_exeext &&
38452 $as_test_x conftest$ac_exeext; then
38453 eval wx_cv_func_$wx_func=yes
38454 else
38455 echo "$as_me: failed program was:" >&5
38456 sed 's/^/| /' conftest.$ac_ext >&5
38457
38458 eval wx_cv_func_$wx_func=no
38459 fi
38460
38461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38462 conftest$ac_exeext conftest.$ac_ext
38463
38464 fi
38465 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38466 { echo "$as_me:$LINENO: result: $ac_res" >&5
38467 echo "${ECHO_T}$ac_res" >&6; }
38468
38469 if eval test \$wx_cv_func_$wx_func = yes
38470 then
38471 cat >>confdefs.h <<_ACEOF
38472 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38473 _ACEOF
38474
38475
38476 else
38477 :
38478
38479 fi
38480 done
38481
38482
38483 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38484 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38485 cat >conftest.$ac_ext <<_ACEOF
38486 /* confdefs.h. */
38487 _ACEOF
38488 cat confdefs.h >>conftest.$ac_ext
38489 cat >>conftest.$ac_ext <<_ACEOF
38490 /* end confdefs.h. */
38491 #include <wchar.h>
38492 int
38493 main ()
38494 {
38495 &_vsnwprintf;
38496 ;
38497 return 0;
38498 }
38499 _ACEOF
38500 rm -f conftest.$ac_objext
38501 if { (ac_try="$ac_compile"
38502 case "(($ac_try" in
38503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38504 *) ac_try_echo=$ac_try;;
38505 esac
38506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38507 (eval "$ac_compile") 2>conftest.er1
38508 ac_status=$?
38509 grep -v '^ *+' conftest.er1 >conftest.err
38510 rm -f conftest.er1
38511 cat conftest.err >&5
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); } && {
38514 test -z "$ac_c_werror_flag" ||
38515 test ! -s conftest.err
38516 } && test -s conftest.$ac_objext; then
38517 { echo "$as_me:$LINENO: result: yes" >&5
38518 echo "${ECHO_T}yes" >&6; }
38519 cat >>confdefs.h <<\_ACEOF
38520 #define HAVE__VSNWPRINTF 1
38521 _ACEOF
38522
38523 else
38524 echo "$as_me: failed program was:" >&5
38525 sed 's/^/| /' conftest.$ac_ext >&5
38526
38527 { echo "$as_me:$LINENO: result: no" >&5
38528 echo "${ECHO_T}no" >&6; }
38529 fi
38530
38531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38532 fi
38533
38534 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38535
38536 for wx_func in fnmatch
38537 do
38538 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38539 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38540 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38541 echo $ECHO_N "(cached) $ECHO_C" >&6
38542 else
38543
38544 cat >conftest.$ac_ext <<_ACEOF
38545
38546 /* confdefs.h. */
38547 _ACEOF
38548 cat confdefs.h >>conftest.$ac_ext
38549 cat >>conftest.$ac_ext <<_ACEOF
38550 /* end confdefs.h. */
38551
38552 #include <fnmatch.h>
38553 $ac_includes_default
38554
38555 int
38556 main ()
38557 {
38558
38559 #ifndef $wx_func
38560 &$wx_func;
38561 #endif
38562
38563
38564 ;
38565 return 0;
38566 }
38567
38568 _ACEOF
38569 rm -f conftest.$ac_objext conftest$ac_exeext
38570 if { (ac_try="$ac_link"
38571 case "(($ac_try" in
38572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38573 *) ac_try_echo=$ac_try;;
38574 esac
38575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38576 (eval "$ac_link") 2>conftest.er1
38577 ac_status=$?
38578 grep -v '^ *+' conftest.er1 >conftest.err
38579 rm -f conftest.er1
38580 cat conftest.err >&5
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); } && {
38583 test -z "$ac_c_werror_flag" ||
38584 test ! -s conftest.err
38585 } && test -s conftest$ac_exeext &&
38586 $as_test_x conftest$ac_exeext; then
38587 eval wx_cv_func_$wx_func=yes
38588 else
38589 echo "$as_me: failed program was:" >&5
38590 sed 's/^/| /' conftest.$ac_ext >&5
38591
38592 eval wx_cv_func_$wx_func=no
38593 fi
38594
38595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38596 conftest$ac_exeext conftest.$ac_ext
38597
38598 fi
38599 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38600 { echo "$as_me:$LINENO: result: $ac_res" >&5
38601 echo "${ECHO_T}$ac_res" >&6; }
38602
38603 if eval test \$wx_cv_func_$wx_func = yes
38604 then
38605 cat >>confdefs.h <<_ACEOF
38606 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38607 _ACEOF
38608
38609
38610 else
38611 :
38612
38613 fi
38614 done
38615
38616 fi
38617
38618 if test "$wxUSE_FILE" = "yes"; then
38619
38620 for wx_func in fsync
38621 do
38622 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38623 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38624 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38625 echo $ECHO_N "(cached) $ECHO_C" >&6
38626 else
38627
38628 cat >conftest.$ac_ext <<_ACEOF
38629
38630 /* confdefs.h. */
38631 _ACEOF
38632 cat confdefs.h >>conftest.$ac_ext
38633 cat >>conftest.$ac_ext <<_ACEOF
38634 /* end confdefs.h. */
38635
38636
38637 $ac_includes_default
38638
38639 int
38640 main ()
38641 {
38642
38643 #ifndef $wx_func
38644 &$wx_func;
38645 #endif
38646
38647
38648 ;
38649 return 0;
38650 }
38651
38652 _ACEOF
38653 rm -f conftest.$ac_objext conftest$ac_exeext
38654 if { (ac_try="$ac_link"
38655 case "(($ac_try" in
38656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38657 *) ac_try_echo=$ac_try;;
38658 esac
38659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38660 (eval "$ac_link") 2>conftest.er1
38661 ac_status=$?
38662 grep -v '^ *+' conftest.er1 >conftest.err
38663 rm -f conftest.er1
38664 cat conftest.err >&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); } && {
38667 test -z "$ac_c_werror_flag" ||
38668 test ! -s conftest.err
38669 } && test -s conftest$ac_exeext &&
38670 $as_test_x conftest$ac_exeext; then
38671 eval wx_cv_func_$wx_func=yes
38672 else
38673 echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.$ac_ext >&5
38675
38676 eval wx_cv_func_$wx_func=no
38677 fi
38678
38679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38680 conftest$ac_exeext conftest.$ac_ext
38681
38682 fi
38683 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38684 { echo "$as_me:$LINENO: result: $ac_res" >&5
38685 echo "${ECHO_T}$ac_res" >&6; }
38686
38687 if eval test \$wx_cv_func_$wx_func = yes
38688 then
38689 cat >>confdefs.h <<_ACEOF
38690 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38691 _ACEOF
38692
38693
38694 else
38695 :
38696
38697 fi
38698 done
38699
38700 fi
38701
38702 ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707
38708
38709 for wx_func in round
38710 do
38711 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38712 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38713 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38714 echo $ECHO_N "(cached) $ECHO_C" >&6
38715 else
38716
38717 cat >conftest.$ac_ext <<_ACEOF
38718
38719 /* confdefs.h. */
38720 _ACEOF
38721 cat confdefs.h >>conftest.$ac_ext
38722 cat >>conftest.$ac_ext <<_ACEOF
38723 /* end confdefs.h. */
38724
38725 #include <math.h>
38726 $ac_includes_default
38727
38728 int
38729 main ()
38730 {
38731
38732 #ifndef $wx_func
38733 &$wx_func;
38734 #endif
38735
38736
38737 ;
38738 return 0;
38739 }
38740
38741 _ACEOF
38742 rm -f conftest.$ac_objext conftest$ac_exeext
38743 if { (ac_try="$ac_link"
38744 case "(($ac_try" in
38745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38746 *) ac_try_echo=$ac_try;;
38747 esac
38748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38749 (eval "$ac_link") 2>conftest.er1
38750 ac_status=$?
38751 grep -v '^ *+' conftest.er1 >conftest.err
38752 rm -f conftest.er1
38753 cat conftest.err >&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); } && {
38756 test -z "$ac_cxx_werror_flag" ||
38757 test ! -s conftest.err
38758 } && test -s conftest$ac_exeext &&
38759 $as_test_x conftest$ac_exeext; then
38760 eval wx_cv_func_$wx_func=yes
38761 else
38762 echo "$as_me: failed program was:" >&5
38763 sed 's/^/| /' conftest.$ac_ext >&5
38764
38765 eval wx_cv_func_$wx_func=no
38766 fi
38767
38768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38769 conftest$ac_exeext conftest.$ac_ext
38770
38771 fi
38772 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38773 { echo "$as_me:$LINENO: result: $ac_res" >&5
38774 echo "${ECHO_T}$ac_res" >&6; }
38775
38776 if eval test \$wx_cv_func_$wx_func = yes
38777 then
38778 cat >>confdefs.h <<_ACEOF
38779 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38780 _ACEOF
38781
38782
38783 else
38784 :
38785
38786 fi
38787 done
38788
38789 ac_ext=c
38790 ac_cpp='$CPP $CPPFLAGS'
38791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38794
38795
38796 if test "$TOOLKIT" != "MSW"; then
38797
38798
38799
38800
38801
38802 # Check whether --with-libiconv-prefix was given.
38803 if test "${with_libiconv_prefix+set}" = set; then
38804 withval=$with_libiconv_prefix;
38805 for dir in `echo "$withval" | tr : ' '`; do
38806 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38807 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38808 done
38809
38810 fi
38811
38812
38813 { echo "$as_me:$LINENO: checking for iconv" >&5
38814 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38815 if test "${am_cv_func_iconv+set}" = set; then
38816 echo $ECHO_N "(cached) $ECHO_C" >&6
38817 else
38818
38819 am_cv_func_iconv="no, consider installing GNU libiconv"
38820 am_cv_lib_iconv=no
38821 cat >conftest.$ac_ext <<_ACEOF
38822 /* confdefs.h. */
38823 _ACEOF
38824 cat confdefs.h >>conftest.$ac_ext
38825 cat >>conftest.$ac_ext <<_ACEOF
38826 /* end confdefs.h. */
38827 #include <stdlib.h>
38828 #include <iconv.h>
38829 int
38830 main ()
38831 {
38832 iconv_t cd = iconv_open("","");
38833 iconv(cd,NULL,NULL,NULL,NULL);
38834 iconv_close(cd);
38835 ;
38836 return 0;
38837 }
38838 _ACEOF
38839 rm -f conftest.$ac_objext conftest$ac_exeext
38840 if { (ac_try="$ac_link"
38841 case "(($ac_try" in
38842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38843 *) ac_try_echo=$ac_try;;
38844 esac
38845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38846 (eval "$ac_link") 2>conftest.er1
38847 ac_status=$?
38848 grep -v '^ *+' conftest.er1 >conftest.err
38849 rm -f conftest.er1
38850 cat conftest.err >&5
38851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38852 (exit $ac_status); } && {
38853 test -z "$ac_c_werror_flag" ||
38854 test ! -s conftest.err
38855 } && test -s conftest$ac_exeext &&
38856 $as_test_x conftest$ac_exeext; then
38857 am_cv_func_iconv=yes
38858 else
38859 echo "$as_me: failed program was:" >&5
38860 sed 's/^/| /' conftest.$ac_ext >&5
38861
38862
38863 fi
38864
38865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38866 conftest$ac_exeext conftest.$ac_ext
38867 if test "$am_cv_func_iconv" != yes; then
38868 am_save_LIBS="$LIBS"
38869 LIBS="$LIBS -liconv"
38870 cat >conftest.$ac_ext <<_ACEOF
38871 /* confdefs.h. */
38872 _ACEOF
38873 cat confdefs.h >>conftest.$ac_ext
38874 cat >>conftest.$ac_ext <<_ACEOF
38875 /* end confdefs.h. */
38876 #include <stdlib.h>
38877 #include <iconv.h>
38878 int
38879 main ()
38880 {
38881 iconv_t cd = iconv_open("","");
38882 iconv(cd,NULL,NULL,NULL,NULL);
38883 iconv_close(cd);
38884 ;
38885 return 0;
38886 }
38887 _ACEOF
38888 rm -f conftest.$ac_objext conftest$ac_exeext
38889 if { (ac_try="$ac_link"
38890 case "(($ac_try" in
38891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38892 *) ac_try_echo=$ac_try;;
38893 esac
38894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38895 (eval "$ac_link") 2>conftest.er1
38896 ac_status=$?
38897 grep -v '^ *+' conftest.er1 >conftest.err
38898 rm -f conftest.er1
38899 cat conftest.err >&5
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); } && {
38902 test -z "$ac_c_werror_flag" ||
38903 test ! -s conftest.err
38904 } && test -s conftest$ac_exeext &&
38905 $as_test_x conftest$ac_exeext; then
38906 am_cv_lib_iconv=yes
38907 am_cv_func_iconv=yes
38908 else
38909 echo "$as_me: failed program was:" >&5
38910 sed 's/^/| /' conftest.$ac_ext >&5
38911
38912
38913 fi
38914
38915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38916 conftest$ac_exeext conftest.$ac_ext
38917 LIBS="$am_save_LIBS"
38918 fi
38919
38920 fi
38921 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38922 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38923 if test "$am_cv_func_iconv" = yes; then
38924
38925 cat >>confdefs.h <<\_ACEOF
38926 #define HAVE_ICONV 1
38927 _ACEOF
38928
38929 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38930 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38931 if test "${wx_cv_func_iconv_const+set}" = set; then
38932 echo $ECHO_N "(cached) $ECHO_C" >&6
38933 else
38934 cat >conftest.$ac_ext <<_ACEOF
38935 /* confdefs.h. */
38936 _ACEOF
38937 cat confdefs.h >>conftest.$ac_ext
38938 cat >>conftest.$ac_ext <<_ACEOF
38939 /* end confdefs.h. */
38940
38941 #include <stdlib.h>
38942 #include <iconv.h>
38943 extern
38944 #ifdef __cplusplus
38945 "C"
38946 #endif
38947 #if defined(__STDC__) || defined(__cplusplus)
38948 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38949 #else
38950 size_t iconv();
38951 #endif
38952
38953 int
38954 main ()
38955 {
38956
38957 ;
38958 return 0;
38959 }
38960 _ACEOF
38961 rm -f conftest.$ac_objext
38962 if { (ac_try="$ac_compile"
38963 case "(($ac_try" in
38964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38965 *) ac_try_echo=$ac_try;;
38966 esac
38967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38968 (eval "$ac_compile") 2>conftest.er1
38969 ac_status=$?
38970 grep -v '^ *+' conftest.er1 >conftest.err
38971 rm -f conftest.er1
38972 cat conftest.err >&5
38973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38974 (exit $ac_status); } && {
38975 test -z "$ac_c_werror_flag" ||
38976 test ! -s conftest.err
38977 } && test -s conftest.$ac_objext; then
38978 wx_cv_func_iconv_const="no"
38979 else
38980 echo "$as_me: failed program was:" >&5
38981 sed 's/^/| /' conftest.$ac_ext >&5
38982
38983 wx_cv_func_iconv_const="yes"
38984
38985 fi
38986
38987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38988
38989 fi
38990 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38991 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38992
38993 iconv_const=
38994 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38995 iconv_const="const"
38996 fi
38997
38998
38999 cat >>confdefs.h <<_ACEOF
39000 #define ICONV_CONST $iconv_const
39001 _ACEOF
39002
39003 fi
39004 LIBICONV=
39005 if test "$am_cv_lib_iconv" = yes; then
39006 LIBICONV="-liconv"
39007 fi
39008
39009
39010 LIBS="$LIBICONV $LIBS"
39011
39012 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39013
39014 for ac_func in sigaction
39015 do
39016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39017 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39019 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39020 echo $ECHO_N "(cached) $ECHO_C" >&6
39021 else
39022 cat >conftest.$ac_ext <<_ACEOF
39023 /* confdefs.h. */
39024 _ACEOF
39025 cat confdefs.h >>conftest.$ac_ext
39026 cat >>conftest.$ac_ext <<_ACEOF
39027 /* end confdefs.h. */
39028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39030 #define $ac_func innocuous_$ac_func
39031
39032 /* System header to define __stub macros and hopefully few prototypes,
39033 which can conflict with char $ac_func (); below.
39034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39035 <limits.h> exists even on freestanding compilers. */
39036
39037 #ifdef __STDC__
39038 # include <limits.h>
39039 #else
39040 # include <assert.h>
39041 #endif
39042
39043 #undef $ac_func
39044
39045 /* Override any GCC internal prototype to avoid an error.
39046 Use char because int might match the return type of a GCC
39047 builtin and then its argument prototype would still apply. */
39048 #ifdef __cplusplus
39049 extern "C"
39050 #endif
39051 char $ac_func ();
39052 /* The GNU C library defines this for functions which it implements
39053 to always fail with ENOSYS. Some functions are actually named
39054 something starting with __ and the normal name is an alias. */
39055 #if defined __stub_$ac_func || defined __stub___$ac_func
39056 choke me
39057 #endif
39058
39059 int
39060 main ()
39061 {
39062 return $ac_func ();
39063 ;
39064 return 0;
39065 }
39066 _ACEOF
39067 rm -f conftest.$ac_objext conftest$ac_exeext
39068 if { (ac_try="$ac_link"
39069 case "(($ac_try" in
39070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39071 *) ac_try_echo=$ac_try;;
39072 esac
39073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39074 (eval "$ac_link") 2>conftest.er1
39075 ac_status=$?
39076 grep -v '^ *+' conftest.er1 >conftest.err
39077 rm -f conftest.er1
39078 cat conftest.err >&5
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); } && {
39081 test -z "$ac_c_werror_flag" ||
39082 test ! -s conftest.err
39083 } && test -s conftest$ac_exeext &&
39084 $as_test_x conftest$ac_exeext; then
39085 eval "$as_ac_var=yes"
39086 else
39087 echo "$as_me: failed program was:" >&5
39088 sed 's/^/| /' conftest.$ac_ext >&5
39089
39090 eval "$as_ac_var=no"
39091 fi
39092
39093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39094 conftest$ac_exeext conftest.$ac_ext
39095 fi
39096 ac_res=`eval echo '${'$as_ac_var'}'`
39097 { echo "$as_me:$LINENO: result: $ac_res" >&5
39098 echo "${ECHO_T}$ac_res" >&6; }
39099 if test `eval echo '${'$as_ac_var'}'` = yes; then
39100 cat >>confdefs.h <<_ACEOF
39101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39102 _ACEOF
39103
39104 fi
39105 done
39106
39107
39108 if test "$ac_cv_func_sigaction" = "no"; then
39109 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39110 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39111 wxUSE_ON_FATAL_EXCEPTION=no
39112 fi
39113
39114 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39115 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39116 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39117 if test "${wx_cv_type_sa_handler+set}" = set; then
39118 echo $ECHO_N "(cached) $ECHO_C" >&6
39119 else
39120
39121 ac_ext=cpp
39122 ac_cpp='$CXXCPP $CPPFLAGS'
39123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39126
39127 cat >conftest.$ac_ext <<_ACEOF
39128 /* confdefs.h. */
39129 _ACEOF
39130 cat confdefs.h >>conftest.$ac_ext
39131 cat >>conftest.$ac_ext <<_ACEOF
39132 /* end confdefs.h. */
39133 #include <signal.h>
39134 int
39135 main ()
39136 {
39137
39138 extern void testSigHandler(int);
39139
39140 struct sigaction sa;
39141 sa.sa_handler = testSigHandler;
39142
39143 ;
39144 return 0;
39145 }
39146 _ACEOF
39147 rm -f conftest.$ac_objext
39148 if { (ac_try="$ac_compile"
39149 case "(($ac_try" in
39150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39151 *) ac_try_echo=$ac_try;;
39152 esac
39153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39154 (eval "$ac_compile") 2>conftest.er1
39155 ac_status=$?
39156 grep -v '^ *+' conftest.er1 >conftest.err
39157 rm -f conftest.er1
39158 cat conftest.err >&5
39159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39160 (exit $ac_status); } && {
39161 test -z "$ac_cxx_werror_flag" ||
39162 test ! -s conftest.err
39163 } && test -s conftest.$ac_objext; then
39164
39165 wx_cv_type_sa_handler=int
39166
39167 else
39168 echo "$as_me: failed program was:" >&5
39169 sed 's/^/| /' conftest.$ac_ext >&5
39170
39171
39172 wx_cv_type_sa_handler=void
39173
39174 fi
39175
39176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39177 ac_ext=c
39178 ac_cpp='$CPP $CPPFLAGS'
39179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39182
39183
39184 fi
39185 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39186 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39187
39188 cat >>confdefs.h <<_ACEOF
39189 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39190 _ACEOF
39191
39192 fi
39193 fi
39194
39195 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39196 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39197 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39198 if test "${wx_cv_func_backtrace+set}" = set; then
39199 echo $ECHO_N "(cached) $ECHO_C" >&6
39200 else
39201
39202 ac_ext=cpp
39203 ac_cpp='$CXXCPP $CPPFLAGS'
39204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39207
39208 cat >conftest.$ac_ext <<_ACEOF
39209 /* confdefs.h. */
39210 _ACEOF
39211 cat confdefs.h >>conftest.$ac_ext
39212 cat >>conftest.$ac_ext <<_ACEOF
39213 /* end confdefs.h. */
39214 #include <execinfo.h>
39215 int
39216 main ()
39217 {
39218
39219 void *trace[1];
39220 char **messages;
39221
39222 backtrace(trace, 1);
39223 messages = backtrace_symbols(trace, 1);
39224
39225 ;
39226 return 0;
39227 }
39228 _ACEOF
39229 rm -f conftest.$ac_objext
39230 if { (ac_try="$ac_compile"
39231 case "(($ac_try" in
39232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39233 *) ac_try_echo=$ac_try;;
39234 esac
39235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39236 (eval "$ac_compile") 2>conftest.er1
39237 ac_status=$?
39238 grep -v '^ *+' conftest.er1 >conftest.err
39239 rm -f conftest.er1
39240 cat conftest.err >&5
39241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39242 (exit $ac_status); } && {
39243 test -z "$ac_cxx_werror_flag" ||
39244 test ! -s conftest.err
39245 } && test -s conftest.$ac_objext; then
39246 wx_cv_func_backtrace=yes
39247 else
39248 echo "$as_me: failed program was:" >&5
39249 sed 's/^/| /' conftest.$ac_ext >&5
39250
39251 wx_cv_func_backtrace=no
39252
39253 fi
39254
39255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39256 ac_ext=c
39257 ac_cpp='$CPP $CPPFLAGS'
39258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39261
39262
39263
39264 fi
39265 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39266 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39267
39268
39269 if test "$wx_cv_func_backtrace" = "no"; then
39270 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39271 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39272 wxUSE_STACKWALKER=no
39273 else
39274 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39275 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39276 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39277 echo $ECHO_N "(cached) $ECHO_C" >&6
39278 else
39279
39280 ac_ext=cpp
39281 ac_cpp='$CXXCPP $CPPFLAGS'
39282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39285
39286 cat >conftest.$ac_ext <<_ACEOF
39287 /* confdefs.h. */
39288 _ACEOF
39289 cat confdefs.h >>conftest.$ac_ext
39290 cat >>conftest.$ac_ext <<_ACEOF
39291 /* end confdefs.h. */
39292 #include <cxxabi.h>
39293 int
39294 main ()
39295 {
39296
39297 int rc;
39298 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39299
39300 ;
39301 return 0;
39302 }
39303 _ACEOF
39304 rm -f conftest.$ac_objext conftest$ac_exeext
39305 if { (ac_try="$ac_link"
39306 case "(($ac_try" in
39307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39308 *) ac_try_echo=$ac_try;;
39309 esac
39310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39311 (eval "$ac_link") 2>conftest.er1
39312 ac_status=$?
39313 grep -v '^ *+' conftest.er1 >conftest.err
39314 rm -f conftest.er1
39315 cat conftest.err >&5
39316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39317 (exit $ac_status); } && {
39318 test -z "$ac_cxx_werror_flag" ||
39319 test ! -s conftest.err
39320 } && test -s conftest$ac_exeext &&
39321 $as_test_x conftest$ac_exeext; then
39322 wx_cv_func_cxa_demangle=yes
39323 else
39324 echo "$as_me: failed program was:" >&5
39325 sed 's/^/| /' conftest.$ac_ext >&5
39326
39327 wx_cv_func_cxa_demangle=no
39328
39329 fi
39330
39331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39332 conftest$ac_exeext conftest.$ac_ext
39333 ac_ext=c
39334 ac_cpp='$CPP $CPPFLAGS'
39335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39338
39339
39340
39341 fi
39342 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39343 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39344
39345 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39346 cat >>confdefs.h <<\_ACEOF
39347 #define HAVE_CXA_DEMANGLE 1
39348 _ACEOF
39349
39350 fi
39351 fi
39352 fi
39353
39354 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39355 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39356 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39357 wxUSE_STACKWALKER=no
39358 fi
39359
39360
39361
39362
39363 for ac_func in mkstemp mktemp
39364 do
39365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39369 echo $ECHO_N "(cached) $ECHO_C" >&6
39370 else
39371 cat >conftest.$ac_ext <<_ACEOF
39372 /* confdefs.h. */
39373 _ACEOF
39374 cat confdefs.h >>conftest.$ac_ext
39375 cat >>conftest.$ac_ext <<_ACEOF
39376 /* end confdefs.h. */
39377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39379 #define $ac_func innocuous_$ac_func
39380
39381 /* System header to define __stub macros and hopefully few prototypes,
39382 which can conflict with char $ac_func (); below.
39383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39384 <limits.h> exists even on freestanding compilers. */
39385
39386 #ifdef __STDC__
39387 # include <limits.h>
39388 #else
39389 # include <assert.h>
39390 #endif
39391
39392 #undef $ac_func
39393
39394 /* Override any GCC internal prototype to avoid an error.
39395 Use char because int might match the return type of a GCC
39396 builtin and then its argument prototype would still apply. */
39397 #ifdef __cplusplus
39398 extern "C"
39399 #endif
39400 char $ac_func ();
39401 /* The GNU C library defines this for functions which it implements
39402 to always fail with ENOSYS. Some functions are actually named
39403 something starting with __ and the normal name is an alias. */
39404 #if defined __stub_$ac_func || defined __stub___$ac_func
39405 choke me
39406 #endif
39407
39408 int
39409 main ()
39410 {
39411 return $ac_func ();
39412 ;
39413 return 0;
39414 }
39415 _ACEOF
39416 rm -f conftest.$ac_objext conftest$ac_exeext
39417 if { (ac_try="$ac_link"
39418 case "(($ac_try" in
39419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39420 *) ac_try_echo=$ac_try;;
39421 esac
39422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39423 (eval "$ac_link") 2>conftest.er1
39424 ac_status=$?
39425 grep -v '^ *+' conftest.er1 >conftest.err
39426 rm -f conftest.er1
39427 cat conftest.err >&5
39428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39429 (exit $ac_status); } && {
39430 test -z "$ac_c_werror_flag" ||
39431 test ! -s conftest.err
39432 } && test -s conftest$ac_exeext &&
39433 $as_test_x conftest$ac_exeext; then
39434 eval "$as_ac_var=yes"
39435 else
39436 echo "$as_me: failed program was:" >&5
39437 sed 's/^/| /' conftest.$ac_ext >&5
39438
39439 eval "$as_ac_var=no"
39440 fi
39441
39442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39443 conftest$ac_exeext conftest.$ac_ext
39444 fi
39445 ac_res=`eval echo '${'$as_ac_var'}'`
39446 { echo "$as_me:$LINENO: result: $ac_res" >&5
39447 echo "${ECHO_T}$ac_res" >&6; }
39448 if test `eval echo '${'$as_ac_var'}'` = yes; then
39449 cat >>confdefs.h <<_ACEOF
39450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39451 _ACEOF
39452 break
39453 fi
39454 done
39455
39456
39457 { echo "$as_me:$LINENO: checking for statfs" >&5
39458 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39459 if test "${wx_cv_func_statfs+set}" = set; then
39460 echo $ECHO_N "(cached) $ECHO_C" >&6
39461 else
39462 cat >conftest.$ac_ext <<_ACEOF
39463 /* confdefs.h. */
39464 _ACEOF
39465 cat confdefs.h >>conftest.$ac_ext
39466 cat >>conftest.$ac_ext <<_ACEOF
39467 /* end confdefs.h. */
39468
39469 #if defined(__BSD__)
39470 #include <sys/param.h>
39471 #include <sys/mount.h>
39472 #else
39473 #include <sys/vfs.h>
39474 #endif
39475
39476 int
39477 main ()
39478 {
39479
39480 long l;
39481 struct statfs fs;
39482 statfs("/", &fs);
39483 l = fs.f_bsize;
39484 l += fs.f_blocks;
39485 l += fs.f_bavail;
39486
39487 ;
39488 return 0;
39489 }
39490 _ACEOF
39491 rm -f conftest.$ac_objext
39492 if { (ac_try="$ac_compile"
39493 case "(($ac_try" in
39494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39495 *) ac_try_echo=$ac_try;;
39496 esac
39497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39498 (eval "$ac_compile") 2>conftest.er1
39499 ac_status=$?
39500 grep -v '^ *+' conftest.er1 >conftest.err
39501 rm -f conftest.er1
39502 cat conftest.err >&5
39503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39504 (exit $ac_status); } && {
39505 test -z "$ac_c_werror_flag" ||
39506 test ! -s conftest.err
39507 } && test -s conftest.$ac_objext; then
39508 wx_cv_func_statfs=yes
39509 else
39510 echo "$as_me: failed program was:" >&5
39511 sed 's/^/| /' conftest.$ac_ext >&5
39512
39513 wx_cv_func_statfs=no
39514
39515 fi
39516
39517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39518
39519 fi
39520 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39521 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39522
39523 if test "$wx_cv_func_statfs" = "yes"; then
39524 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39525 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39526 if test "${wx_cv_func_statfs_decl+set}" = set; then
39527 echo $ECHO_N "(cached) $ECHO_C" >&6
39528 else
39529 ac_ext=cpp
39530 ac_cpp='$CXXCPP $CPPFLAGS'
39531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39534
39535 cat >conftest.$ac_ext <<_ACEOF
39536 /* confdefs.h. */
39537 _ACEOF
39538 cat confdefs.h >>conftest.$ac_ext
39539 cat >>conftest.$ac_ext <<_ACEOF
39540 /* end confdefs.h. */
39541
39542 #if defined(__BSD__)
39543 #include <sys/param.h>
39544 #include <sys/mount.h>
39545 #else
39546 #include <sys/vfs.h>
39547 #endif
39548
39549 int
39550 main ()
39551 {
39552
39553 struct statfs fs;
39554 statfs("", &fs);
39555
39556 ;
39557 return 0;
39558 }
39559 _ACEOF
39560 rm -f conftest.$ac_objext
39561 if { (ac_try="$ac_compile"
39562 case "(($ac_try" in
39563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39564 *) ac_try_echo=$ac_try;;
39565 esac
39566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39567 (eval "$ac_compile") 2>conftest.er1
39568 ac_status=$?
39569 grep -v '^ *+' conftest.er1 >conftest.err
39570 rm -f conftest.er1
39571 cat conftest.err >&5
39572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39573 (exit $ac_status); } && {
39574 test -z "$ac_cxx_werror_flag" ||
39575 test ! -s conftest.err
39576 } && test -s conftest.$ac_objext; then
39577 wx_cv_func_statfs_decl=yes
39578 else
39579 echo "$as_me: failed program was:" >&5
39580 sed 's/^/| /' conftest.$ac_ext >&5
39581
39582 wx_cv_func_statfs_decl=no
39583
39584 fi
39585
39586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39587 ac_ext=c
39588 ac_cpp='$CPP $CPPFLAGS'
39589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39592
39593
39594 fi
39595 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39596 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39597
39598 if test "$wx_cv_func_statfs_decl" = "yes"; then
39599 cat >>confdefs.h <<\_ACEOF
39600 #define HAVE_STATFS_DECL 1
39601 _ACEOF
39602
39603 fi
39604
39605 wx_cv_type_statvfs_t="struct statfs"
39606 cat >>confdefs.h <<\_ACEOF
39607 #define HAVE_STATFS 1
39608 _ACEOF
39609
39610 else
39611 { echo "$as_me:$LINENO: checking for statvfs" >&5
39612 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39613 if test "${wx_cv_func_statvfs+set}" = set; then
39614 echo $ECHO_N "(cached) $ECHO_C" >&6
39615 else
39616 cat >conftest.$ac_ext <<_ACEOF
39617 /* confdefs.h. */
39618 _ACEOF
39619 cat confdefs.h >>conftest.$ac_ext
39620 cat >>conftest.$ac_ext <<_ACEOF
39621 /* end confdefs.h. */
39622
39623 #include <stddef.h>
39624 #include <sys/statvfs.h>
39625
39626 int
39627 main ()
39628 {
39629
39630 statvfs("/", NULL);
39631
39632 ;
39633 return 0;
39634 }
39635 _ACEOF
39636 rm -f conftest.$ac_objext
39637 if { (ac_try="$ac_compile"
39638 case "(($ac_try" in
39639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39640 *) ac_try_echo=$ac_try;;
39641 esac
39642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39643 (eval "$ac_compile") 2>conftest.er1
39644 ac_status=$?
39645 grep -v '^ *+' conftest.er1 >conftest.err
39646 rm -f conftest.er1
39647 cat conftest.err >&5
39648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39649 (exit $ac_status); } && {
39650 test -z "$ac_c_werror_flag" ||
39651 test ! -s conftest.err
39652 } && test -s conftest.$ac_objext; then
39653 wx_cv_func_statvfs=yes
39654 else
39655 echo "$as_me: failed program was:" >&5
39656 sed 's/^/| /' conftest.$ac_ext >&5
39657
39658 wx_cv_func_statvfs=no
39659
39660 fi
39661
39662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39663
39664 fi
39665 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39666 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39667
39668 if test "$wx_cv_func_statvfs" = "yes"; then
39669 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39670 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39671 if test "${wx_cv_type_statvfs_t+set}" = set; then
39672 echo $ECHO_N "(cached) $ECHO_C" >&6
39673 else
39674 ac_ext=cpp
39675 ac_cpp='$CXXCPP $CPPFLAGS'
39676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39679
39680 cat >conftest.$ac_ext <<_ACEOF
39681 /* confdefs.h. */
39682 _ACEOF
39683 cat confdefs.h >>conftest.$ac_ext
39684 cat >>conftest.$ac_ext <<_ACEOF
39685 /* end confdefs.h. */
39686
39687 #include <sys/statvfs.h>
39688
39689 int
39690 main ()
39691 {
39692
39693 long l;
39694 statvfs_t fs;
39695 statvfs("/", &fs);
39696 l = fs.f_bsize;
39697 l += fs.f_blocks;
39698 l += fs.f_bavail;
39699
39700 ;
39701 return 0;
39702 }
39703 _ACEOF
39704 rm -f conftest.$ac_objext
39705 if { (ac_try="$ac_compile"
39706 case "(($ac_try" in
39707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39708 *) ac_try_echo=$ac_try;;
39709 esac
39710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39711 (eval "$ac_compile") 2>conftest.er1
39712 ac_status=$?
39713 grep -v '^ *+' conftest.er1 >conftest.err
39714 rm -f conftest.er1
39715 cat conftest.err >&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } && {
39718 test -z "$ac_cxx_werror_flag" ||
39719 test ! -s conftest.err
39720 } && test -s conftest.$ac_objext; then
39721 wx_cv_type_statvfs_t=statvfs_t
39722 else
39723 echo "$as_me: failed program was:" >&5
39724 sed 's/^/| /' conftest.$ac_ext >&5
39725
39726
39727 cat >conftest.$ac_ext <<_ACEOF
39728 /* confdefs.h. */
39729 _ACEOF
39730 cat confdefs.h >>conftest.$ac_ext
39731 cat >>conftest.$ac_ext <<_ACEOF
39732 /* end confdefs.h. */
39733
39734 #include <sys/statvfs.h>
39735
39736 int
39737 main ()
39738 {
39739
39740 long l;
39741 struct statvfs fs;
39742 statvfs("/", &fs);
39743 l = fs.f_bsize;
39744 l += fs.f_blocks;
39745 l += fs.f_bavail;
39746
39747 ;
39748 return 0;
39749 }
39750 _ACEOF
39751 rm -f conftest.$ac_objext
39752 if { (ac_try="$ac_compile"
39753 case "(($ac_try" in
39754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39755 *) ac_try_echo=$ac_try;;
39756 esac
39757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39758 (eval "$ac_compile") 2>conftest.er1
39759 ac_status=$?
39760 grep -v '^ *+' conftest.er1 >conftest.err
39761 rm -f conftest.er1
39762 cat conftest.err >&5
39763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39764 (exit $ac_status); } && {
39765 test -z "$ac_cxx_werror_flag" ||
39766 test ! -s conftest.err
39767 } && test -s conftest.$ac_objext; then
39768 wx_cv_type_statvfs_t="struct statvfs"
39769 else
39770 echo "$as_me: failed program was:" >&5
39771 sed 's/^/| /' conftest.$ac_ext >&5
39772
39773 wx_cv_type_statvfs_t="unknown"
39774
39775 fi
39776
39777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39778
39779
39780 fi
39781
39782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39783 ac_ext=c
39784 ac_cpp='$CPP $CPPFLAGS'
39785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39788
39789
39790 fi
39791 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39792 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39793
39794 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39795 cat >>confdefs.h <<\_ACEOF
39796 #define HAVE_STATVFS 1
39797 _ACEOF
39798
39799 fi
39800 else
39801 wx_cv_type_statvfs_t="unknown"
39802 fi
39803 fi
39804
39805 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39806 cat >>confdefs.h <<_ACEOF
39807 #define WX_STATFS_T $wx_cv_type_statvfs_t
39808 _ACEOF
39809
39810 else
39811 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39812 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39813 fi
39814
39815 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39816
39817
39818 for ac_func in fcntl flock
39819 do
39820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39821 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39824 echo $ECHO_N "(cached) $ECHO_C" >&6
39825 else
39826 cat >conftest.$ac_ext <<_ACEOF
39827 /* confdefs.h. */
39828 _ACEOF
39829 cat confdefs.h >>conftest.$ac_ext
39830 cat >>conftest.$ac_ext <<_ACEOF
39831 /* end confdefs.h. */
39832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39834 #define $ac_func innocuous_$ac_func
39835
39836 /* System header to define __stub macros and hopefully few prototypes,
39837 which can conflict with char $ac_func (); below.
39838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39839 <limits.h> exists even on freestanding compilers. */
39840
39841 #ifdef __STDC__
39842 # include <limits.h>
39843 #else
39844 # include <assert.h>
39845 #endif
39846
39847 #undef $ac_func
39848
39849 /* Override any GCC internal prototype to avoid an error.
39850 Use char because int might match the return type of a GCC
39851 builtin and then its argument prototype would still apply. */
39852 #ifdef __cplusplus
39853 extern "C"
39854 #endif
39855 char $ac_func ();
39856 /* The GNU C library defines this for functions which it implements
39857 to always fail with ENOSYS. Some functions are actually named
39858 something starting with __ and the normal name is an alias. */
39859 #if defined __stub_$ac_func || defined __stub___$ac_func
39860 choke me
39861 #endif
39862
39863 int
39864 main ()
39865 {
39866 return $ac_func ();
39867 ;
39868 return 0;
39869 }
39870 _ACEOF
39871 rm -f conftest.$ac_objext conftest$ac_exeext
39872 if { (ac_try="$ac_link"
39873 case "(($ac_try" in
39874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39875 *) ac_try_echo=$ac_try;;
39876 esac
39877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39878 (eval "$ac_link") 2>conftest.er1
39879 ac_status=$?
39880 grep -v '^ *+' conftest.er1 >conftest.err
39881 rm -f conftest.er1
39882 cat conftest.err >&5
39883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39884 (exit $ac_status); } && {
39885 test -z "$ac_c_werror_flag" ||
39886 test ! -s conftest.err
39887 } && test -s conftest$ac_exeext &&
39888 $as_test_x conftest$ac_exeext; then
39889 eval "$as_ac_var=yes"
39890 else
39891 echo "$as_me: failed program was:" >&5
39892 sed 's/^/| /' conftest.$ac_ext >&5
39893
39894 eval "$as_ac_var=no"
39895 fi
39896
39897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39898 conftest$ac_exeext conftest.$ac_ext
39899 fi
39900 ac_res=`eval echo '${'$as_ac_var'}'`
39901 { echo "$as_me:$LINENO: result: $ac_res" >&5
39902 echo "${ECHO_T}$ac_res" >&6; }
39903 if test `eval echo '${'$as_ac_var'}'` = yes; then
39904 cat >>confdefs.h <<_ACEOF
39905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39906 _ACEOF
39907 break
39908 fi
39909 done
39910
39911
39912 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39913 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39914 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39915 wxUSE_SNGLINST_CHECKER=no
39916 fi
39917 fi
39918
39919
39920 for ac_func in timegm
39921 do
39922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39926 echo $ECHO_N "(cached) $ECHO_C" >&6
39927 else
39928 cat >conftest.$ac_ext <<_ACEOF
39929 /* confdefs.h. */
39930 _ACEOF
39931 cat confdefs.h >>conftest.$ac_ext
39932 cat >>conftest.$ac_ext <<_ACEOF
39933 /* end confdefs.h. */
39934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39936 #define $ac_func innocuous_$ac_func
39937
39938 /* System header to define __stub macros and hopefully few prototypes,
39939 which can conflict with char $ac_func (); below.
39940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39941 <limits.h> exists even on freestanding compilers. */
39942
39943 #ifdef __STDC__
39944 # include <limits.h>
39945 #else
39946 # include <assert.h>
39947 #endif
39948
39949 #undef $ac_func
39950
39951 /* Override any GCC internal prototype to avoid an error.
39952 Use char because int might match the return type of a GCC
39953 builtin and then its argument prototype would still apply. */
39954 #ifdef __cplusplus
39955 extern "C"
39956 #endif
39957 char $ac_func ();
39958 /* The GNU C library defines this for functions which it implements
39959 to always fail with ENOSYS. Some functions are actually named
39960 something starting with __ and the normal name is an alias. */
39961 #if defined __stub_$ac_func || defined __stub___$ac_func
39962 choke me
39963 #endif
39964
39965 int
39966 main ()
39967 {
39968 return $ac_func ();
39969 ;
39970 return 0;
39971 }
39972 _ACEOF
39973 rm -f conftest.$ac_objext conftest$ac_exeext
39974 if { (ac_try="$ac_link"
39975 case "(($ac_try" in
39976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39977 *) ac_try_echo=$ac_try;;
39978 esac
39979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39980 (eval "$ac_link") 2>conftest.er1
39981 ac_status=$?
39982 grep -v '^ *+' conftest.er1 >conftest.err
39983 rm -f conftest.er1
39984 cat conftest.err >&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } && {
39987 test -z "$ac_c_werror_flag" ||
39988 test ! -s conftest.err
39989 } && test -s conftest$ac_exeext &&
39990 $as_test_x conftest$ac_exeext; then
39991 eval "$as_ac_var=yes"
39992 else
39993 echo "$as_me: failed program was:" >&5
39994 sed 's/^/| /' conftest.$ac_ext >&5
39995
39996 eval "$as_ac_var=no"
39997 fi
39998
39999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40000 conftest$ac_exeext conftest.$ac_ext
40001 fi
40002 ac_res=`eval echo '${'$as_ac_var'}'`
40003 { echo "$as_me:$LINENO: result: $ac_res" >&5
40004 echo "${ECHO_T}$ac_res" >&6; }
40005 if test `eval echo '${'$as_ac_var'}'` = yes; then
40006 cat >>confdefs.h <<_ACEOF
40007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40008 _ACEOF
40009
40010 fi
40011 done
40012
40013
40014
40015
40016 for ac_func in setenv putenv
40017 do
40018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40019 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40021 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40022 echo $ECHO_N "(cached) $ECHO_C" >&6
40023 else
40024 cat >conftest.$ac_ext <<_ACEOF
40025 /* confdefs.h. */
40026 _ACEOF
40027 cat confdefs.h >>conftest.$ac_ext
40028 cat >>conftest.$ac_ext <<_ACEOF
40029 /* end confdefs.h. */
40030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40032 #define $ac_func innocuous_$ac_func
40033
40034 /* System header to define __stub macros and hopefully few prototypes,
40035 which can conflict with char $ac_func (); below.
40036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40037 <limits.h> exists even on freestanding compilers. */
40038
40039 #ifdef __STDC__
40040 # include <limits.h>
40041 #else
40042 # include <assert.h>
40043 #endif
40044
40045 #undef $ac_func
40046
40047 /* Override any GCC internal prototype to avoid an error.
40048 Use char because int might match the return type of a GCC
40049 builtin and then its argument prototype would still apply. */
40050 #ifdef __cplusplus
40051 extern "C"
40052 #endif
40053 char $ac_func ();
40054 /* The GNU C library defines this for functions which it implements
40055 to always fail with ENOSYS. Some functions are actually named
40056 something starting with __ and the normal name is an alias. */
40057 #if defined __stub_$ac_func || defined __stub___$ac_func
40058 choke me
40059 #endif
40060
40061 int
40062 main ()
40063 {
40064 return $ac_func ();
40065 ;
40066 return 0;
40067 }
40068 _ACEOF
40069 rm -f conftest.$ac_objext conftest$ac_exeext
40070 if { (ac_try="$ac_link"
40071 case "(($ac_try" in
40072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40073 *) ac_try_echo=$ac_try;;
40074 esac
40075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40076 (eval "$ac_link") 2>conftest.er1
40077 ac_status=$?
40078 grep -v '^ *+' conftest.er1 >conftest.err
40079 rm -f conftest.er1
40080 cat conftest.err >&5
40081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40082 (exit $ac_status); } && {
40083 test -z "$ac_c_werror_flag" ||
40084 test ! -s conftest.err
40085 } && test -s conftest$ac_exeext &&
40086 $as_test_x conftest$ac_exeext; then
40087 eval "$as_ac_var=yes"
40088 else
40089 echo "$as_me: failed program was:" >&5
40090 sed 's/^/| /' conftest.$ac_ext >&5
40091
40092 eval "$as_ac_var=no"
40093 fi
40094
40095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40096 conftest$ac_exeext conftest.$ac_ext
40097 fi
40098 ac_res=`eval echo '${'$as_ac_var'}'`
40099 { echo "$as_me:$LINENO: result: $ac_res" >&5
40100 echo "${ECHO_T}$ac_res" >&6; }
40101 if test `eval echo '${'$as_ac_var'}'` = yes; then
40102 cat >>confdefs.h <<_ACEOF
40103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40104 _ACEOF
40105 break
40106 fi
40107 done
40108
40109
40110 HAVE_SOME_SLEEP_FUNC=0
40111 if test "$USE_BEOS" = 1; then
40112 cat >>confdefs.h <<\_ACEOF
40113 #define HAVE_SLEEP 1
40114 _ACEOF
40115
40116 HAVE_SOME_SLEEP_FUNC=1
40117 fi
40118
40119 if test "$USE_DARWIN" = 1; then
40120 cat >>confdefs.h <<\_ACEOF
40121 #define HAVE_USLEEP 1
40122 _ACEOF
40123
40124 HAVE_SOME_SLEEP_FUNC=1
40125 fi
40126
40127 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40128 POSIX4_LINK=
40129
40130 for ac_func in nanosleep
40131 do
40132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40136 echo $ECHO_N "(cached) $ECHO_C" >&6
40137 else
40138 cat >conftest.$ac_ext <<_ACEOF
40139 /* confdefs.h. */
40140 _ACEOF
40141 cat confdefs.h >>conftest.$ac_ext
40142 cat >>conftest.$ac_ext <<_ACEOF
40143 /* end confdefs.h. */
40144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40146 #define $ac_func innocuous_$ac_func
40147
40148 /* System header to define __stub macros and hopefully few prototypes,
40149 which can conflict with char $ac_func (); below.
40150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40151 <limits.h> exists even on freestanding compilers. */
40152
40153 #ifdef __STDC__
40154 # include <limits.h>
40155 #else
40156 # include <assert.h>
40157 #endif
40158
40159 #undef $ac_func
40160
40161 /* Override any GCC internal prototype to avoid an error.
40162 Use char because int might match the return type of a GCC
40163 builtin and then its argument prototype would still apply. */
40164 #ifdef __cplusplus
40165 extern "C"
40166 #endif
40167 char $ac_func ();
40168 /* The GNU C library defines this for functions which it implements
40169 to always fail with ENOSYS. Some functions are actually named
40170 something starting with __ and the normal name is an alias. */
40171 #if defined __stub_$ac_func || defined __stub___$ac_func
40172 choke me
40173 #endif
40174
40175 int
40176 main ()
40177 {
40178 return $ac_func ();
40179 ;
40180 return 0;
40181 }
40182 _ACEOF
40183 rm -f conftest.$ac_objext conftest$ac_exeext
40184 if { (ac_try="$ac_link"
40185 case "(($ac_try" in
40186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40187 *) ac_try_echo=$ac_try;;
40188 esac
40189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40190 (eval "$ac_link") 2>conftest.er1
40191 ac_status=$?
40192 grep -v '^ *+' conftest.er1 >conftest.err
40193 rm -f conftest.er1
40194 cat conftest.err >&5
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); } && {
40197 test -z "$ac_c_werror_flag" ||
40198 test ! -s conftest.err
40199 } && test -s conftest$ac_exeext &&
40200 $as_test_x conftest$ac_exeext; then
40201 eval "$as_ac_var=yes"
40202 else
40203 echo "$as_me: failed program was:" >&5
40204 sed 's/^/| /' conftest.$ac_ext >&5
40205
40206 eval "$as_ac_var=no"
40207 fi
40208
40209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40210 conftest$ac_exeext conftest.$ac_ext
40211 fi
40212 ac_res=`eval echo '${'$as_ac_var'}'`
40213 { echo "$as_me:$LINENO: result: $ac_res" >&5
40214 echo "${ECHO_T}$ac_res" >&6; }
40215 if test `eval echo '${'$as_ac_var'}'` = yes; then
40216 cat >>confdefs.h <<_ACEOF
40217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40218 _ACEOF
40219 cat >>confdefs.h <<\_ACEOF
40220 #define HAVE_NANOSLEEP 1
40221 _ACEOF
40222
40223 else
40224
40225 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40226 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40227 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40228 echo $ECHO_N "(cached) $ECHO_C" >&6
40229 else
40230 ac_check_lib_save_LIBS=$LIBS
40231 LIBS="-lposix4 $LIBS"
40232 cat >conftest.$ac_ext <<_ACEOF
40233 /* confdefs.h. */
40234 _ACEOF
40235 cat confdefs.h >>conftest.$ac_ext
40236 cat >>conftest.$ac_ext <<_ACEOF
40237 /* end confdefs.h. */
40238
40239 /* Override any GCC internal prototype to avoid an error.
40240 Use char because int might match the return type of a GCC
40241 builtin and then its argument prototype would still apply. */
40242 #ifdef __cplusplus
40243 extern "C"
40244 #endif
40245 char nanosleep ();
40246 int
40247 main ()
40248 {
40249 return nanosleep ();
40250 ;
40251 return 0;
40252 }
40253 _ACEOF
40254 rm -f conftest.$ac_objext conftest$ac_exeext
40255 if { (ac_try="$ac_link"
40256 case "(($ac_try" in
40257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40258 *) ac_try_echo=$ac_try;;
40259 esac
40260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40261 (eval "$ac_link") 2>conftest.er1
40262 ac_status=$?
40263 grep -v '^ *+' conftest.er1 >conftest.err
40264 rm -f conftest.er1
40265 cat conftest.err >&5
40266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40267 (exit $ac_status); } && {
40268 test -z "$ac_c_werror_flag" ||
40269 test ! -s conftest.err
40270 } && test -s conftest$ac_exeext &&
40271 $as_test_x conftest$ac_exeext; then
40272 ac_cv_lib_posix4_nanosleep=yes
40273 else
40274 echo "$as_me: failed program was:" >&5
40275 sed 's/^/| /' conftest.$ac_ext >&5
40276
40277 ac_cv_lib_posix4_nanosleep=no
40278 fi
40279
40280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40281 conftest$ac_exeext conftest.$ac_ext
40282 LIBS=$ac_check_lib_save_LIBS
40283 fi
40284 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40285 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40286 if test $ac_cv_lib_posix4_nanosleep = yes; then
40287
40288 cat >>confdefs.h <<\_ACEOF
40289 #define HAVE_NANOSLEEP 1
40290 _ACEOF
40291
40292 POSIX4_LINK=" -lposix4"
40293
40294 else
40295
40296
40297 for wx_func in usleep
40298 do
40299 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40300 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40301 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40302 echo $ECHO_N "(cached) $ECHO_C" >&6
40303 else
40304
40305 cat >conftest.$ac_ext <<_ACEOF
40306
40307 /* confdefs.h. */
40308 _ACEOF
40309 cat confdefs.h >>conftest.$ac_ext
40310 cat >>conftest.$ac_ext <<_ACEOF
40311 /* end confdefs.h. */
40312
40313
40314 $ac_includes_default
40315
40316 int
40317 main ()
40318 {
40319
40320 #ifndef $wx_func
40321 &$wx_func;
40322 #endif
40323
40324
40325 ;
40326 return 0;
40327 }
40328
40329 _ACEOF
40330 rm -f conftest.$ac_objext conftest$ac_exeext
40331 if { (ac_try="$ac_link"
40332 case "(($ac_try" in
40333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40334 *) ac_try_echo=$ac_try;;
40335 esac
40336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40337 (eval "$ac_link") 2>conftest.er1
40338 ac_status=$?
40339 grep -v '^ *+' conftest.er1 >conftest.err
40340 rm -f conftest.er1
40341 cat conftest.err >&5
40342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343 (exit $ac_status); } && {
40344 test -z "$ac_c_werror_flag" ||
40345 test ! -s conftest.err
40346 } && test -s conftest$ac_exeext &&
40347 $as_test_x conftest$ac_exeext; then
40348 eval wx_cv_func_$wx_func=yes
40349 else
40350 echo "$as_me: failed program was:" >&5
40351 sed 's/^/| /' conftest.$ac_ext >&5
40352
40353 eval wx_cv_func_$wx_func=no
40354 fi
40355
40356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40357 conftest$ac_exeext conftest.$ac_ext
40358
40359 fi
40360 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40361 { echo "$as_me:$LINENO: result: $ac_res" >&5
40362 echo "${ECHO_T}$ac_res" >&6; }
40363
40364 if eval test \$wx_cv_func_$wx_func = yes
40365 then
40366 cat >>confdefs.h <<_ACEOF
40367 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40368 _ACEOF
40369
40370
40371 else
40372 :
40373 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40374 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40375
40376 fi
40377 done
40378
40379
40380
40381 fi
40382
40383
40384
40385 fi
40386 done
40387
40388 fi
40389
40390
40391 for wx_func in uname
40392 do
40393 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40394 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40395 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40396 echo $ECHO_N "(cached) $ECHO_C" >&6
40397 else
40398
40399 cat >conftest.$ac_ext <<_ACEOF
40400
40401 /* confdefs.h. */
40402 _ACEOF
40403 cat confdefs.h >>conftest.$ac_ext
40404 cat >>conftest.$ac_ext <<_ACEOF
40405 /* end confdefs.h. */
40406
40407 #include <sys/utsname.h>
40408 $ac_includes_default
40409
40410 int
40411 main ()
40412 {
40413
40414 #ifndef $wx_func
40415 &$wx_func;
40416 #endif
40417
40418
40419 ;
40420 return 0;
40421 }
40422
40423 _ACEOF
40424 rm -f conftest.$ac_objext conftest$ac_exeext
40425 if { (ac_try="$ac_link"
40426 case "(($ac_try" in
40427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40428 *) ac_try_echo=$ac_try;;
40429 esac
40430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40431 (eval "$ac_link") 2>conftest.er1
40432 ac_status=$?
40433 grep -v '^ *+' conftest.er1 >conftest.err
40434 rm -f conftest.er1
40435 cat conftest.err >&5
40436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40437 (exit $ac_status); } && {
40438 test -z "$ac_c_werror_flag" ||
40439 test ! -s conftest.err
40440 } && test -s conftest$ac_exeext &&
40441 $as_test_x conftest$ac_exeext; then
40442 eval wx_cv_func_$wx_func=yes
40443 else
40444 echo "$as_me: failed program was:" >&5
40445 sed 's/^/| /' conftest.$ac_ext >&5
40446
40447 eval wx_cv_func_$wx_func=no
40448 fi
40449
40450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40451 conftest$ac_exeext conftest.$ac_ext
40452
40453 fi
40454 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40455 { echo "$as_me:$LINENO: result: $ac_res" >&5
40456 echo "${ECHO_T}$ac_res" >&6; }
40457
40458 if eval test \$wx_cv_func_$wx_func = yes
40459 then
40460 cat >>confdefs.h <<_ACEOF
40461 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40462 _ACEOF
40463
40464
40465 else
40466 :
40467
40468 fi
40469 done
40470
40471 if test "$wx_cv_func_uname" != yes; then
40472
40473 for wx_func in gethostname
40474 do
40475 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40476 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40477 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40478 echo $ECHO_N "(cached) $ECHO_C" >&6
40479 else
40480
40481 cat >conftest.$ac_ext <<_ACEOF
40482
40483 /* confdefs.h. */
40484 _ACEOF
40485 cat confdefs.h >>conftest.$ac_ext
40486 cat >>conftest.$ac_ext <<_ACEOF
40487 /* end confdefs.h. */
40488
40489
40490 $ac_includes_default
40491
40492 int
40493 main ()
40494 {
40495
40496 #ifndef $wx_func
40497 &$wx_func;
40498 #endif
40499
40500
40501 ;
40502 return 0;
40503 }
40504
40505 _ACEOF
40506 rm -f conftest.$ac_objext conftest$ac_exeext
40507 if { (ac_try="$ac_link"
40508 case "(($ac_try" in
40509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40510 *) ac_try_echo=$ac_try;;
40511 esac
40512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40513 (eval "$ac_link") 2>conftest.er1
40514 ac_status=$?
40515 grep -v '^ *+' conftest.er1 >conftest.err
40516 rm -f conftest.er1
40517 cat conftest.err >&5
40518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40519 (exit $ac_status); } && {
40520 test -z "$ac_c_werror_flag" ||
40521 test ! -s conftest.err
40522 } && test -s conftest$ac_exeext &&
40523 $as_test_x conftest$ac_exeext; then
40524 eval wx_cv_func_$wx_func=yes
40525 else
40526 echo "$as_me: failed program was:" >&5
40527 sed 's/^/| /' conftest.$ac_ext >&5
40528
40529 eval wx_cv_func_$wx_func=no
40530 fi
40531
40532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40533 conftest$ac_exeext conftest.$ac_ext
40534
40535 fi
40536 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40537 { echo "$as_me:$LINENO: result: $ac_res" >&5
40538 echo "${ECHO_T}$ac_res" >&6; }
40539
40540 if eval test \$wx_cv_func_$wx_func = yes
40541 then
40542 cat >>confdefs.h <<_ACEOF
40543 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40544 _ACEOF
40545
40546
40547 else
40548 :
40549
40550 fi
40551 done
40552
40553 fi
40554
40555
40556 for wx_func in strtok_r
40557 do
40558 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40559 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40560 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40561 echo $ECHO_N "(cached) $ECHO_C" >&6
40562 else
40563
40564 cat >conftest.$ac_ext <<_ACEOF
40565
40566 /* confdefs.h. */
40567 _ACEOF
40568 cat confdefs.h >>conftest.$ac_ext
40569 cat >>conftest.$ac_ext <<_ACEOF
40570 /* end confdefs.h. */
40571
40572 #define _REENTRANT
40573 $ac_includes_default
40574
40575 int
40576 main ()
40577 {
40578
40579 #ifndef $wx_func
40580 &$wx_func;
40581 #endif
40582
40583
40584 ;
40585 return 0;
40586 }
40587
40588 _ACEOF
40589 rm -f conftest.$ac_objext conftest$ac_exeext
40590 if { (ac_try="$ac_link"
40591 case "(($ac_try" in
40592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40593 *) ac_try_echo=$ac_try;;
40594 esac
40595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40596 (eval "$ac_link") 2>conftest.er1
40597 ac_status=$?
40598 grep -v '^ *+' conftest.er1 >conftest.err
40599 rm -f conftest.er1
40600 cat conftest.err >&5
40601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40602 (exit $ac_status); } && {
40603 test -z "$ac_c_werror_flag" ||
40604 test ! -s conftest.err
40605 } && test -s conftest$ac_exeext &&
40606 $as_test_x conftest$ac_exeext; then
40607 eval wx_cv_func_$wx_func=yes
40608 else
40609 echo "$as_me: failed program was:" >&5
40610 sed 's/^/| /' conftest.$ac_ext >&5
40611
40612 eval wx_cv_func_$wx_func=no
40613 fi
40614
40615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40616 conftest$ac_exeext conftest.$ac_ext
40617
40618 fi
40619 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40620 { echo "$as_me:$LINENO: result: $ac_res" >&5
40621 echo "${ECHO_T}$ac_res" >&6; }
40622
40623 if eval test \$wx_cv_func_$wx_func = yes
40624 then
40625 cat >>confdefs.h <<_ACEOF
40626 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40627 _ACEOF
40628
40629
40630 else
40631 :
40632
40633 fi
40634 done
40635
40636
40637 INET_LINK=
40638
40639 for ac_func in inet_addr
40640 do
40641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40645 echo $ECHO_N "(cached) $ECHO_C" >&6
40646 else
40647 cat >conftest.$ac_ext <<_ACEOF
40648 /* confdefs.h. */
40649 _ACEOF
40650 cat confdefs.h >>conftest.$ac_ext
40651 cat >>conftest.$ac_ext <<_ACEOF
40652 /* end confdefs.h. */
40653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40655 #define $ac_func innocuous_$ac_func
40656
40657 /* System header to define __stub macros and hopefully few prototypes,
40658 which can conflict with char $ac_func (); below.
40659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40660 <limits.h> exists even on freestanding compilers. */
40661
40662 #ifdef __STDC__
40663 # include <limits.h>
40664 #else
40665 # include <assert.h>
40666 #endif
40667
40668 #undef $ac_func
40669
40670 /* Override any GCC internal prototype to avoid an error.
40671 Use char because int might match the return type of a GCC
40672 builtin and then its argument prototype would still apply. */
40673 #ifdef __cplusplus
40674 extern "C"
40675 #endif
40676 char $ac_func ();
40677 /* The GNU C library defines this for functions which it implements
40678 to always fail with ENOSYS. Some functions are actually named
40679 something starting with __ and the normal name is an alias. */
40680 #if defined __stub_$ac_func || defined __stub___$ac_func
40681 choke me
40682 #endif
40683
40684 int
40685 main ()
40686 {
40687 return $ac_func ();
40688 ;
40689 return 0;
40690 }
40691 _ACEOF
40692 rm -f conftest.$ac_objext conftest$ac_exeext
40693 if { (ac_try="$ac_link"
40694 case "(($ac_try" in
40695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40696 *) ac_try_echo=$ac_try;;
40697 esac
40698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40699 (eval "$ac_link") 2>conftest.er1
40700 ac_status=$?
40701 grep -v '^ *+' conftest.er1 >conftest.err
40702 rm -f conftest.er1
40703 cat conftest.err >&5
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); } && {
40706 test -z "$ac_c_werror_flag" ||
40707 test ! -s conftest.err
40708 } && test -s conftest$ac_exeext &&
40709 $as_test_x conftest$ac_exeext; then
40710 eval "$as_ac_var=yes"
40711 else
40712 echo "$as_me: failed program was:" >&5
40713 sed 's/^/| /' conftest.$ac_ext >&5
40714
40715 eval "$as_ac_var=no"
40716 fi
40717
40718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40719 conftest$ac_exeext conftest.$ac_ext
40720 fi
40721 ac_res=`eval echo '${'$as_ac_var'}'`
40722 { echo "$as_me:$LINENO: result: $ac_res" >&5
40723 echo "${ECHO_T}$ac_res" >&6; }
40724 if test `eval echo '${'$as_ac_var'}'` = yes; then
40725 cat >>confdefs.h <<_ACEOF
40726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40727 _ACEOF
40728 cat >>confdefs.h <<\_ACEOF
40729 #define HAVE_INET_ADDR 1
40730 _ACEOF
40731
40732 else
40733
40734 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40735 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40736 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40737 echo $ECHO_N "(cached) $ECHO_C" >&6
40738 else
40739 ac_check_lib_save_LIBS=$LIBS
40740 LIBS="-lnsl $LIBS"
40741 cat >conftest.$ac_ext <<_ACEOF
40742 /* confdefs.h. */
40743 _ACEOF
40744 cat confdefs.h >>conftest.$ac_ext
40745 cat >>conftest.$ac_ext <<_ACEOF
40746 /* end confdefs.h. */
40747
40748 /* Override any GCC internal prototype to avoid an error.
40749 Use char because int might match the return type of a GCC
40750 builtin and then its argument prototype would still apply. */
40751 #ifdef __cplusplus
40752 extern "C"
40753 #endif
40754 char inet_addr ();
40755 int
40756 main ()
40757 {
40758 return inet_addr ();
40759 ;
40760 return 0;
40761 }
40762 _ACEOF
40763 rm -f conftest.$ac_objext conftest$ac_exeext
40764 if { (ac_try="$ac_link"
40765 case "(($ac_try" in
40766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40767 *) ac_try_echo=$ac_try;;
40768 esac
40769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40770 (eval "$ac_link") 2>conftest.er1
40771 ac_status=$?
40772 grep -v '^ *+' conftest.er1 >conftest.err
40773 rm -f conftest.er1
40774 cat conftest.err >&5
40775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40776 (exit $ac_status); } && {
40777 test -z "$ac_c_werror_flag" ||
40778 test ! -s conftest.err
40779 } && test -s conftest$ac_exeext &&
40780 $as_test_x conftest$ac_exeext; then
40781 ac_cv_lib_nsl_inet_addr=yes
40782 else
40783 echo "$as_me: failed program was:" >&5
40784 sed 's/^/| /' conftest.$ac_ext >&5
40785
40786 ac_cv_lib_nsl_inet_addr=no
40787 fi
40788
40789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40790 conftest$ac_exeext conftest.$ac_ext
40791 LIBS=$ac_check_lib_save_LIBS
40792 fi
40793 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40794 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40795 if test $ac_cv_lib_nsl_inet_addr = yes; then
40796 INET_LINK="nsl"
40797 else
40798
40799 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40800 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40801 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40802 echo $ECHO_N "(cached) $ECHO_C" >&6
40803 else
40804 ac_check_lib_save_LIBS=$LIBS
40805 LIBS="-lresolv $LIBS"
40806 cat >conftest.$ac_ext <<_ACEOF
40807 /* confdefs.h. */
40808 _ACEOF
40809 cat confdefs.h >>conftest.$ac_ext
40810 cat >>conftest.$ac_ext <<_ACEOF
40811 /* end confdefs.h. */
40812
40813 /* Override any GCC internal prototype to avoid an error.
40814 Use char because int might match the return type of a GCC
40815 builtin and then its argument prototype would still apply. */
40816 #ifdef __cplusplus
40817 extern "C"
40818 #endif
40819 char inet_addr ();
40820 int
40821 main ()
40822 {
40823 return inet_addr ();
40824 ;
40825 return 0;
40826 }
40827 _ACEOF
40828 rm -f conftest.$ac_objext conftest$ac_exeext
40829 if { (ac_try="$ac_link"
40830 case "(($ac_try" in
40831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40832 *) ac_try_echo=$ac_try;;
40833 esac
40834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40835 (eval "$ac_link") 2>conftest.er1
40836 ac_status=$?
40837 grep -v '^ *+' conftest.er1 >conftest.err
40838 rm -f conftest.er1
40839 cat conftest.err >&5
40840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40841 (exit $ac_status); } && {
40842 test -z "$ac_c_werror_flag" ||
40843 test ! -s conftest.err
40844 } && test -s conftest$ac_exeext &&
40845 $as_test_x conftest$ac_exeext; then
40846 ac_cv_lib_resolv_inet_addr=yes
40847 else
40848 echo "$as_me: failed program was:" >&5
40849 sed 's/^/| /' conftest.$ac_ext >&5
40850
40851 ac_cv_lib_resolv_inet_addr=no
40852 fi
40853
40854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40855 conftest$ac_exeext conftest.$ac_ext
40856 LIBS=$ac_check_lib_save_LIBS
40857 fi
40858 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40859 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40860 if test $ac_cv_lib_resolv_inet_addr = yes; then
40861 INET_LINK="resolv"
40862 else
40863
40864 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40865 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40866 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40867 echo $ECHO_N "(cached) $ECHO_C" >&6
40868 else
40869 ac_check_lib_save_LIBS=$LIBS
40870 LIBS="-lsocket $LIBS"
40871 cat >conftest.$ac_ext <<_ACEOF
40872 /* confdefs.h. */
40873 _ACEOF
40874 cat confdefs.h >>conftest.$ac_ext
40875 cat >>conftest.$ac_ext <<_ACEOF
40876 /* end confdefs.h. */
40877
40878 /* Override any GCC internal prototype to avoid an error.
40879 Use char because int might match the return type of a GCC
40880 builtin and then its argument prototype would still apply. */
40881 #ifdef __cplusplus
40882 extern "C"
40883 #endif
40884 char inet_addr ();
40885 int
40886 main ()
40887 {
40888 return inet_addr ();
40889 ;
40890 return 0;
40891 }
40892 _ACEOF
40893 rm -f conftest.$ac_objext conftest$ac_exeext
40894 if { (ac_try="$ac_link"
40895 case "(($ac_try" in
40896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40897 *) ac_try_echo=$ac_try;;
40898 esac
40899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40900 (eval "$ac_link") 2>conftest.er1
40901 ac_status=$?
40902 grep -v '^ *+' conftest.er1 >conftest.err
40903 rm -f conftest.er1
40904 cat conftest.err >&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); } && {
40907 test -z "$ac_c_werror_flag" ||
40908 test ! -s conftest.err
40909 } && test -s conftest$ac_exeext &&
40910 $as_test_x conftest$ac_exeext; then
40911 ac_cv_lib_socket_inet_addr=yes
40912 else
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.$ac_ext >&5
40915
40916 ac_cv_lib_socket_inet_addr=no
40917 fi
40918
40919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40920 conftest$ac_exeext conftest.$ac_ext
40921 LIBS=$ac_check_lib_save_LIBS
40922 fi
40923 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40924 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40925 if test $ac_cv_lib_socket_inet_addr = yes; then
40926 INET_LINK="socket"
40927
40928 fi
40929
40930
40931
40932 fi
40933
40934
40935
40936 fi
40937
40938
40939
40940 fi
40941 done
40942
40943
40944
40945 for ac_func in inet_aton
40946 do
40947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40948 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40950 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40951 echo $ECHO_N "(cached) $ECHO_C" >&6
40952 else
40953 cat >conftest.$ac_ext <<_ACEOF
40954 /* confdefs.h. */
40955 _ACEOF
40956 cat confdefs.h >>conftest.$ac_ext
40957 cat >>conftest.$ac_ext <<_ACEOF
40958 /* end confdefs.h. */
40959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40961 #define $ac_func innocuous_$ac_func
40962
40963 /* System header to define __stub macros and hopefully few prototypes,
40964 which can conflict with char $ac_func (); below.
40965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40966 <limits.h> exists even on freestanding compilers. */
40967
40968 #ifdef __STDC__
40969 # include <limits.h>
40970 #else
40971 # include <assert.h>
40972 #endif
40973
40974 #undef $ac_func
40975
40976 /* Override any GCC internal prototype to avoid an error.
40977 Use char because int might match the return type of a GCC
40978 builtin and then its argument prototype would still apply. */
40979 #ifdef __cplusplus
40980 extern "C"
40981 #endif
40982 char $ac_func ();
40983 /* The GNU C library defines this for functions which it implements
40984 to always fail with ENOSYS. Some functions are actually named
40985 something starting with __ and the normal name is an alias. */
40986 #if defined __stub_$ac_func || defined __stub___$ac_func
40987 choke me
40988 #endif
40989
40990 int
40991 main ()
40992 {
40993 return $ac_func ();
40994 ;
40995 return 0;
40996 }
40997 _ACEOF
40998 rm -f conftest.$ac_objext conftest$ac_exeext
40999 if { (ac_try="$ac_link"
41000 case "(($ac_try" in
41001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41002 *) ac_try_echo=$ac_try;;
41003 esac
41004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41005 (eval "$ac_link") 2>conftest.er1
41006 ac_status=$?
41007 grep -v '^ *+' conftest.er1 >conftest.err
41008 rm -f conftest.er1
41009 cat conftest.err >&5
41010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011 (exit $ac_status); } && {
41012 test -z "$ac_c_werror_flag" ||
41013 test ! -s conftest.err
41014 } && test -s conftest$ac_exeext &&
41015 $as_test_x conftest$ac_exeext; then
41016 eval "$as_ac_var=yes"
41017 else
41018 echo "$as_me: failed program was:" >&5
41019 sed 's/^/| /' conftest.$ac_ext >&5
41020
41021 eval "$as_ac_var=no"
41022 fi
41023
41024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41025 conftest$ac_exeext conftest.$ac_ext
41026 fi
41027 ac_res=`eval echo '${'$as_ac_var'}'`
41028 { echo "$as_me:$LINENO: result: $ac_res" >&5
41029 echo "${ECHO_T}$ac_res" >&6; }
41030 if test `eval echo '${'$as_ac_var'}'` = yes; then
41031 cat >>confdefs.h <<_ACEOF
41032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41033 _ACEOF
41034 cat >>confdefs.h <<\_ACEOF
41035 #define HAVE_INET_ATON 1
41036 _ACEOF
41037
41038 else
41039
41040 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41041 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41042 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41043 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41044 echo $ECHO_N "(cached) $ECHO_C" >&6
41045 else
41046 ac_check_lib_save_LIBS=$LIBS
41047 LIBS="-l$INET_LINK $LIBS"
41048 cat >conftest.$ac_ext <<_ACEOF
41049 /* confdefs.h. */
41050 _ACEOF
41051 cat confdefs.h >>conftest.$ac_ext
41052 cat >>conftest.$ac_ext <<_ACEOF
41053 /* end confdefs.h. */
41054
41055 /* Override any GCC internal prototype to avoid an error.
41056 Use char because int might match the return type of a GCC
41057 builtin and then its argument prototype would still apply. */
41058 #ifdef __cplusplus
41059 extern "C"
41060 #endif
41061 char inet_aton ();
41062 int
41063 main ()
41064 {
41065 return inet_aton ();
41066 ;
41067 return 0;
41068 }
41069 _ACEOF
41070 rm -f conftest.$ac_objext conftest$ac_exeext
41071 if { (ac_try="$ac_link"
41072 case "(($ac_try" in
41073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41074 *) ac_try_echo=$ac_try;;
41075 esac
41076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41077 (eval "$ac_link") 2>conftest.er1
41078 ac_status=$?
41079 grep -v '^ *+' conftest.er1 >conftest.err
41080 rm -f conftest.er1
41081 cat conftest.err >&5
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); } && {
41084 test -z "$ac_c_werror_flag" ||
41085 test ! -s conftest.err
41086 } && test -s conftest$ac_exeext &&
41087 $as_test_x conftest$ac_exeext; then
41088 eval "$as_ac_Lib=yes"
41089 else
41090 echo "$as_me: failed program was:" >&5
41091 sed 's/^/| /' conftest.$ac_ext >&5
41092
41093 eval "$as_ac_Lib=no"
41094 fi
41095
41096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41097 conftest$ac_exeext conftest.$ac_ext
41098 LIBS=$ac_check_lib_save_LIBS
41099 fi
41100 ac_res=`eval echo '${'$as_ac_Lib'}'`
41101 { echo "$as_me:$LINENO: result: $ac_res" >&5
41102 echo "${ECHO_T}$ac_res" >&6; }
41103 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41104 cat >>confdefs.h <<\_ACEOF
41105 #define HAVE_INET_ATON 1
41106 _ACEOF
41107
41108 fi
41109
41110
41111 fi
41112 done
41113
41114
41115 if test "x$INET_LINK" != "x"; then
41116 cat >>confdefs.h <<\_ACEOF
41117 #define HAVE_INET_ADDR 1
41118 _ACEOF
41119
41120 INET_LINK=" -l$INET_LINK"
41121 fi
41122
41123
41124 for wx_func in fdopen
41125 do
41126 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41127 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41128 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41129 echo $ECHO_N "(cached) $ECHO_C" >&6
41130 else
41131
41132 cat >conftest.$ac_ext <<_ACEOF
41133
41134 /* confdefs.h. */
41135 _ACEOF
41136 cat confdefs.h >>conftest.$ac_ext
41137 cat >>conftest.$ac_ext <<_ACEOF
41138 /* end confdefs.h. */
41139
41140
41141 $ac_includes_default
41142
41143 int
41144 main ()
41145 {
41146
41147 #ifndef $wx_func
41148 &$wx_func;
41149 #endif
41150
41151
41152 ;
41153 return 0;
41154 }
41155
41156 _ACEOF
41157 rm -f conftest.$ac_objext conftest$ac_exeext
41158 if { (ac_try="$ac_link"
41159 case "(($ac_try" in
41160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41161 *) ac_try_echo=$ac_try;;
41162 esac
41163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41164 (eval "$ac_link") 2>conftest.er1
41165 ac_status=$?
41166 grep -v '^ *+' conftest.er1 >conftest.err
41167 rm -f conftest.er1
41168 cat conftest.err >&5
41169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41170 (exit $ac_status); } && {
41171 test -z "$ac_c_werror_flag" ||
41172 test ! -s conftest.err
41173 } && test -s conftest$ac_exeext &&
41174 $as_test_x conftest$ac_exeext; then
41175 eval wx_cv_func_$wx_func=yes
41176 else
41177 echo "$as_me: failed program was:" >&5
41178 sed 's/^/| /' conftest.$ac_ext >&5
41179
41180 eval wx_cv_func_$wx_func=no
41181 fi
41182
41183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41184 conftest$ac_exeext conftest.$ac_ext
41185
41186 fi
41187 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41188 { echo "$as_me:$LINENO: result: $ac_res" >&5
41189 echo "${ECHO_T}$ac_res" >&6; }
41190
41191 if eval test \$wx_cv_func_$wx_func = yes
41192 then
41193 cat >>confdefs.h <<_ACEOF
41194 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41195 _ACEOF
41196
41197
41198 else
41199 :
41200
41201 fi
41202 done
41203
41204
41205 fi
41206
41207
41208
41209 cat >confcache <<\_ACEOF
41210 # This file is a shell script that caches the results of configure
41211 # tests run on this system so they can be shared between configure
41212 # scripts and configure runs, see configure's option --config-cache.
41213 # It is not useful on other systems. If it contains results you don't
41214 # want to keep, you may remove or edit it.
41215 #
41216 # config.status only pays attention to the cache file if you give it
41217 # the --recheck option to rerun configure.
41218 #
41219 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41220 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41221 # following values.
41222
41223 _ACEOF
41224
41225 # The following way of writing the cache mishandles newlines in values,
41226 # but we know of no workaround that is simple, portable, and efficient.
41227 # So, we kill variables containing newlines.
41228 # Ultrix sh set writes to stderr and can't be redirected directly,
41229 # and sets the high bit in the cache file unless we assign to the vars.
41230 (
41231 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41232 eval ac_val=\$$ac_var
41233 case $ac_val in #(
41234 *${as_nl}*)
41235 case $ac_var in #(
41236 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41237 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41238 esac
41239 case $ac_var in #(
41240 _ | IFS | as_nl) ;; #(
41241 *) $as_unset $ac_var ;;
41242 esac ;;
41243 esac
41244 done
41245
41246 (set) 2>&1 |
41247 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41248 *${as_nl}ac_space=\ *)
41249 # `set' does not quote correctly, so add quotes (double-quote
41250 # substitution turns \\\\ into \\, and sed turns \\ into \).
41251 sed -n \
41252 "s/'/'\\\\''/g;
41253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41254 ;; #(
41255 *)
41256 # `set' quotes correctly as required by POSIX, so do not add quotes.
41257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41258 ;;
41259 esac |
41260 sort
41261 ) |
41262 sed '
41263 /^ac_cv_env_/b end
41264 t clear
41265 :clear
41266 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41267 t end
41268 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41269 :end' >>confcache
41270 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41271 if test -w "$cache_file"; then
41272 test "x$cache_file" != "x/dev/null" &&
41273 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41274 echo "$as_me: updating cache $cache_file" >&6;}
41275 cat confcache >$cache_file
41276 else
41277 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41278 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41279 fi
41280 fi
41281 rm -f confcache
41282
41283
41284 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41285
41286
41287 THREADS_LINK=
41288 THREADS_CFLAGS=
41289
41290 if test "$wxUSE_THREADS" = "yes" ; then
41291 if test "$USE_BEOS" = 1; then
41292 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41293 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41294 wxUSE_THREADS="no"
41295 fi
41296 fi
41297
41298 if test "$wxUSE_THREADS" = "yes" ; then
41299
41300
41301 THREAD_OPTS="-pthread"
41302 if test "x$SUNCXX" = xyes; then
41303 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41304 fi
41305
41306 case "${host}" in
41307 *-*-solaris2* | *-*-sunos4* )
41308 if test "x$GCC" = "xyes"; then
41309 THREAD_OPTS="-pthreads $THREAD_OPTS"
41310 fi
41311 ;;
41312 *-*-freebsd*)
41313 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41314 ;;
41315 *-*-darwin* | *-*-cygwin* )
41316 THREAD_OPTS=""
41317 ;;
41318 *-*-aix*)
41319 THREAD_OPTS="pthreads"
41320 ;;
41321 *-hp-hpux* )
41322 if test "x$GCC" = "xyes"; then
41323 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41324 THREAD_OPTS=""
41325 else
41326 THREAD_OPTS="-mt"
41327 fi
41328 ;;
41329
41330 *-*-irix* )
41331 if test "x$GCC" = "xyes"; then
41332 THREAD_OPTS=""
41333 fi
41334 ;;
41335
41336 *-*-*UnixWare*)
41337 if test "x$GCC" != "xyes"; then
41338 THREAD_OPTS="-Ethread"
41339 fi
41340 ;;
41341 esac
41342
41343 THREAD_OPTS="$THREAD_OPTS pthread none"
41344
41345 THREADS_OK=no
41346 for flag in $THREAD_OPTS; do
41347 case $flag in
41348 none)
41349 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41350 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41351 ;;
41352
41353 -*)
41354 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41355 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41356 THREADS_CFLAGS="$flag"
41357 ;;
41358
41359 *)
41360 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41361 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41362 THREADS_LINK="-l$flag"
41363 ;;
41364 esac
41365
41366 save_LIBS="$LIBS"
41367 save_CFLAGS="$CFLAGS"
41368 LIBS="$THREADS_LINK $LIBS"
41369 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41370
41371 cat >conftest.$ac_ext <<_ACEOF
41372 /* confdefs.h. */
41373 _ACEOF
41374 cat confdefs.h >>conftest.$ac_ext
41375 cat >>conftest.$ac_ext <<_ACEOF
41376 /* end confdefs.h. */
41377 #include <pthread.h>
41378 int
41379 main ()
41380 {
41381 pthread_create(0,0,0,0);
41382 ;
41383 return 0;
41384 }
41385 _ACEOF
41386 rm -f conftest.$ac_objext conftest$ac_exeext
41387 if { (ac_try="$ac_link"
41388 case "(($ac_try" in
41389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41390 *) ac_try_echo=$ac_try;;
41391 esac
41392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41393 (eval "$ac_link") 2>conftest.er1
41394 ac_status=$?
41395 grep -v '^ *+' conftest.er1 >conftest.err
41396 rm -f conftest.er1
41397 cat conftest.err >&5
41398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41399 (exit $ac_status); } && {
41400 test -z "$ac_c_werror_flag" ||
41401 test ! -s conftest.err
41402 } && test -s conftest$ac_exeext &&
41403 $as_test_x conftest$ac_exeext; then
41404 THREADS_OK=yes
41405 else
41406 echo "$as_me: failed program was:" >&5
41407 sed 's/^/| /' conftest.$ac_ext >&5
41408
41409
41410 fi
41411
41412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41413 conftest$ac_exeext conftest.$ac_ext
41414
41415 LIBS="$save_LIBS"
41416 CFLAGS="$save_CFLAGS"
41417
41418 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41419 echo "${ECHO_T}$THREADS_OK" >&6; }
41420 if test "x$THREADS_OK" = "xyes"; then
41421 break;
41422 fi
41423
41424 THREADS_LINK=""
41425 THREADS_CFLAGS=""
41426 done
41427
41428 if test "x$THREADS_OK" != "xyes"; then
41429 wxUSE_THREADS=no
41430 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41431 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41432 else
41433 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41434 LIBS="$THREADS_LINK $LIBS"
41435
41436 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41437 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41438 flag=no
41439 case "${host}" in
41440 *-aix*)
41441 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41442 flag="-D_THREAD_SAFE"
41443 ;;
41444 *-freebsd*)
41445 flag="-D_THREAD_SAFE"
41446 ;;
41447 *-hp-hpux* )
41448 flag="-D_REENTRANT"
41449 if test "x$GCC" != "xyes"; then
41450 flag="$flag -D_RWSTD_MULTI_THREAD"
41451 fi
41452 ;;
41453 *solaris* | alpha*-osf*)
41454 flag="-D_REENTRANT"
41455 ;;
41456 esac
41457 { echo "$as_me:$LINENO: result: ${flag}" >&5
41458 echo "${ECHO_T}${flag}" >&6; }
41459 if test "x$flag" != xno; then
41460 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41461 fi
41462
41463 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41464 fi
41465 fi
41466
41467 if test "$wxUSE_THREADS" = "yes" ; then
41468
41469 for ac_func in thr_setconcurrency
41470 do
41471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41472 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41474 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41475 echo $ECHO_N "(cached) $ECHO_C" >&6
41476 else
41477 cat >conftest.$ac_ext <<_ACEOF
41478 /* confdefs.h. */
41479 _ACEOF
41480 cat confdefs.h >>conftest.$ac_ext
41481 cat >>conftest.$ac_ext <<_ACEOF
41482 /* end confdefs.h. */
41483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41485 #define $ac_func innocuous_$ac_func
41486
41487 /* System header to define __stub macros and hopefully few prototypes,
41488 which can conflict with char $ac_func (); below.
41489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41490 <limits.h> exists even on freestanding compilers. */
41491
41492 #ifdef __STDC__
41493 # include <limits.h>
41494 #else
41495 # include <assert.h>
41496 #endif
41497
41498 #undef $ac_func
41499
41500 /* Override any GCC internal prototype to avoid an error.
41501 Use char because int might match the return type of a GCC
41502 builtin and then its argument prototype would still apply. */
41503 #ifdef __cplusplus
41504 extern "C"
41505 #endif
41506 char $ac_func ();
41507 /* The GNU C library defines this for functions which it implements
41508 to always fail with ENOSYS. Some functions are actually named
41509 something starting with __ and the normal name is an alias. */
41510 #if defined __stub_$ac_func || defined __stub___$ac_func
41511 choke me
41512 #endif
41513
41514 int
41515 main ()
41516 {
41517 return $ac_func ();
41518 ;
41519 return 0;
41520 }
41521 _ACEOF
41522 rm -f conftest.$ac_objext conftest$ac_exeext
41523 if { (ac_try="$ac_link"
41524 case "(($ac_try" in
41525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41526 *) ac_try_echo=$ac_try;;
41527 esac
41528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41529 (eval "$ac_link") 2>conftest.er1
41530 ac_status=$?
41531 grep -v '^ *+' conftest.er1 >conftest.err
41532 rm -f conftest.er1
41533 cat conftest.err >&5
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); } && {
41536 test -z "$ac_c_werror_flag" ||
41537 test ! -s conftest.err
41538 } && test -s conftest$ac_exeext &&
41539 $as_test_x conftest$ac_exeext; then
41540 eval "$as_ac_var=yes"
41541 else
41542 echo "$as_me: failed program was:" >&5
41543 sed 's/^/| /' conftest.$ac_ext >&5
41544
41545 eval "$as_ac_var=no"
41546 fi
41547
41548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41549 conftest$ac_exeext conftest.$ac_ext
41550 fi
41551 ac_res=`eval echo '${'$as_ac_var'}'`
41552 { echo "$as_me:$LINENO: result: $ac_res" >&5
41553 echo "${ECHO_T}$ac_res" >&6; }
41554 if test `eval echo '${'$as_ac_var'}'` = yes; then
41555 cat >>confdefs.h <<_ACEOF
41556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41557 _ACEOF
41558
41559 fi
41560 done
41561
41562
41563 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41564 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41565 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41566 echo $ECHO_N "(cached) $ECHO_C" >&6
41567 else
41568
41569 ac_ext=cpp
41570 ac_cpp='$CXXCPP $CPPFLAGS'
41571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41574
41575 cat >conftest.$ac_ext <<_ACEOF
41576 /* confdefs.h. */
41577 _ACEOF
41578 cat confdefs.h >>conftest.$ac_ext
41579 cat >>conftest.$ac_ext <<_ACEOF
41580 /* end confdefs.h. */
41581 #include <pthread.h>
41582 void ThreadCleanupFunc(void *p);
41583
41584 int
41585 main ()
41586 {
41587
41588 void *p;
41589 pthread_cleanup_push(ThreadCleanupFunc, p);
41590 pthread_cleanup_pop(0);
41591
41592 ;
41593 return 0;
41594 }
41595 _ACEOF
41596 rm -f conftest.$ac_objext
41597 if { (ac_try="$ac_compile"
41598 case "(($ac_try" in
41599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41600 *) ac_try_echo=$ac_try;;
41601 esac
41602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41603 (eval "$ac_compile") 2>conftest.er1
41604 ac_status=$?
41605 grep -v '^ *+' conftest.er1 >conftest.err
41606 rm -f conftest.er1
41607 cat conftest.err >&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); } && {
41610 test -z "$ac_cxx_werror_flag" ||
41611 test ! -s conftest.err
41612 } && test -s conftest.$ac_objext; then
41613
41614 wx_cv_func_pthread_cleanup=yes
41615
41616 else
41617 echo "$as_me: failed program was:" >&5
41618 sed 's/^/| /' conftest.$ac_ext >&5
41619
41620
41621 wx_cv_func_pthread_cleanup=no
41622
41623
41624 fi
41625
41626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41627 ac_ext=c
41628 ac_cpp='$CPP $CPPFLAGS'
41629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41632
41633
41634 fi
41635 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41636 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41637 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41638 cat >>confdefs.h <<\_ACEOF
41639 #define wxHAVE_PTHREAD_CLEANUP 1
41640 _ACEOF
41641
41642 fi
41643
41644
41645 for ac_header in sched.h
41646 do
41647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41651 echo $ECHO_N "(cached) $ECHO_C" >&6
41652 else
41653 cat >conftest.$ac_ext <<_ACEOF
41654 /* confdefs.h. */
41655 _ACEOF
41656 cat confdefs.h >>conftest.$ac_ext
41657 cat >>conftest.$ac_ext <<_ACEOF
41658 /* end confdefs.h. */
41659 $ac_includes_default
41660
41661 #include <$ac_header>
41662 _ACEOF
41663 rm -f conftest.$ac_objext
41664 if { (ac_try="$ac_compile"
41665 case "(($ac_try" in
41666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41667 *) ac_try_echo=$ac_try;;
41668 esac
41669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41670 (eval "$ac_compile") 2>conftest.er1
41671 ac_status=$?
41672 grep -v '^ *+' conftest.er1 >conftest.err
41673 rm -f conftest.er1
41674 cat conftest.err >&5
41675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41676 (exit $ac_status); } && {
41677 test -z "$ac_c_werror_flag" ||
41678 test ! -s conftest.err
41679 } && test -s conftest.$ac_objext; then
41680 eval "$as_ac_Header=yes"
41681 else
41682 echo "$as_me: failed program was:" >&5
41683 sed 's/^/| /' conftest.$ac_ext >&5
41684
41685 eval "$as_ac_Header=no"
41686 fi
41687
41688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41689 fi
41690 ac_res=`eval echo '${'$as_ac_Header'}'`
41691 { echo "$as_me:$LINENO: result: $ac_res" >&5
41692 echo "${ECHO_T}$ac_res" >&6; }
41693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41694 cat >>confdefs.h <<_ACEOF
41695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41696 _ACEOF
41697
41698 fi
41699
41700 done
41701
41702 if test "$ac_cv_header_sched_h" = "yes"; then
41703 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41704 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41705 if test "${ac_cv_func_sched_yield+set}" = set; then
41706 echo $ECHO_N "(cached) $ECHO_C" >&6
41707 else
41708 cat >conftest.$ac_ext <<_ACEOF
41709 /* confdefs.h. */
41710 _ACEOF
41711 cat confdefs.h >>conftest.$ac_ext
41712 cat >>conftest.$ac_ext <<_ACEOF
41713 /* end confdefs.h. */
41714 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41716 #define sched_yield innocuous_sched_yield
41717
41718 /* System header to define __stub macros and hopefully few prototypes,
41719 which can conflict with char sched_yield (); below.
41720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41721 <limits.h> exists even on freestanding compilers. */
41722
41723 #ifdef __STDC__
41724 # include <limits.h>
41725 #else
41726 # include <assert.h>
41727 #endif
41728
41729 #undef sched_yield
41730
41731 /* Override any GCC internal prototype to avoid an error.
41732 Use char because int might match the return type of a GCC
41733 builtin and then its argument prototype would still apply. */
41734 #ifdef __cplusplus
41735 extern "C"
41736 #endif
41737 char sched_yield ();
41738 /* The GNU C library defines this for functions which it implements
41739 to always fail with ENOSYS. Some functions are actually named
41740 something starting with __ and the normal name is an alias. */
41741 #if defined __stub_sched_yield || defined __stub___sched_yield
41742 choke me
41743 #endif
41744
41745 int
41746 main ()
41747 {
41748 return sched_yield ();
41749 ;
41750 return 0;
41751 }
41752 _ACEOF
41753 rm -f conftest.$ac_objext conftest$ac_exeext
41754 if { (ac_try="$ac_link"
41755 case "(($ac_try" in
41756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41757 *) ac_try_echo=$ac_try;;
41758 esac
41759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41760 (eval "$ac_link") 2>conftest.er1
41761 ac_status=$?
41762 grep -v '^ *+' conftest.er1 >conftest.err
41763 rm -f conftest.er1
41764 cat conftest.err >&5
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); } && {
41767 test -z "$ac_c_werror_flag" ||
41768 test ! -s conftest.err
41769 } && test -s conftest$ac_exeext &&
41770 $as_test_x conftest$ac_exeext; then
41771 ac_cv_func_sched_yield=yes
41772 else
41773 echo "$as_me: failed program was:" >&5
41774 sed 's/^/| /' conftest.$ac_ext >&5
41775
41776 ac_cv_func_sched_yield=no
41777 fi
41778
41779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41780 conftest$ac_exeext conftest.$ac_ext
41781 fi
41782 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41783 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41784 if test $ac_cv_func_sched_yield = yes; then
41785 cat >>confdefs.h <<\_ACEOF
41786 #define HAVE_SCHED_YIELD 1
41787 _ACEOF
41788
41789 else
41790
41791 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41792 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41793 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41794 echo $ECHO_N "(cached) $ECHO_C" >&6
41795 else
41796 ac_check_lib_save_LIBS=$LIBS
41797 LIBS="-lposix4 $LIBS"
41798 cat >conftest.$ac_ext <<_ACEOF
41799 /* confdefs.h. */
41800 _ACEOF
41801 cat confdefs.h >>conftest.$ac_ext
41802 cat >>conftest.$ac_ext <<_ACEOF
41803 /* end confdefs.h. */
41804
41805 /* Override any GCC internal prototype to avoid an error.
41806 Use char because int might match the return type of a GCC
41807 builtin and then its argument prototype would still apply. */
41808 #ifdef __cplusplus
41809 extern "C"
41810 #endif
41811 char sched_yield ();
41812 int
41813 main ()
41814 {
41815 return sched_yield ();
41816 ;
41817 return 0;
41818 }
41819 _ACEOF
41820 rm -f conftest.$ac_objext conftest$ac_exeext
41821 if { (ac_try="$ac_link"
41822 case "(($ac_try" in
41823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41824 *) ac_try_echo=$ac_try;;
41825 esac
41826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41827 (eval "$ac_link") 2>conftest.er1
41828 ac_status=$?
41829 grep -v '^ *+' conftest.er1 >conftest.err
41830 rm -f conftest.er1
41831 cat conftest.err >&5
41832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41833 (exit $ac_status); } && {
41834 test -z "$ac_c_werror_flag" ||
41835 test ! -s conftest.err
41836 } && test -s conftest$ac_exeext &&
41837 $as_test_x conftest$ac_exeext; then
41838 ac_cv_lib_posix4_sched_yield=yes
41839 else
41840 echo "$as_me: failed program was:" >&5
41841 sed 's/^/| /' conftest.$ac_ext >&5
41842
41843 ac_cv_lib_posix4_sched_yield=no
41844 fi
41845
41846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41847 conftest$ac_exeext conftest.$ac_ext
41848 LIBS=$ac_check_lib_save_LIBS
41849 fi
41850 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41851 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41852 if test $ac_cv_lib_posix4_sched_yield = yes; then
41853 cat >>confdefs.h <<\_ACEOF
41854 #define HAVE_SCHED_YIELD 1
41855 _ACEOF
41856 POSIX4_LINK=" -lposix4"
41857 else
41858 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41859 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41860
41861 fi
41862
41863
41864
41865 fi
41866
41867 fi
41868
41869 HAVE_PRIOR_FUNCS=0
41870 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41871 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41872 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41873 echo $ECHO_N "(cached) $ECHO_C" >&6
41874 else
41875 cat >conftest.$ac_ext <<_ACEOF
41876 /* confdefs.h. */
41877 _ACEOF
41878 cat confdefs.h >>conftest.$ac_ext
41879 cat >>conftest.$ac_ext <<_ACEOF
41880 /* end confdefs.h. */
41881 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41883 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41884
41885 /* System header to define __stub macros and hopefully few prototypes,
41886 which can conflict with char pthread_attr_getschedpolicy (); below.
41887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41888 <limits.h> exists even on freestanding compilers. */
41889
41890 #ifdef __STDC__
41891 # include <limits.h>
41892 #else
41893 # include <assert.h>
41894 #endif
41895
41896 #undef pthread_attr_getschedpolicy
41897
41898 /* Override any GCC internal prototype to avoid an error.
41899 Use char because int might match the return type of a GCC
41900 builtin and then its argument prototype would still apply. */
41901 #ifdef __cplusplus
41902 extern "C"
41903 #endif
41904 char pthread_attr_getschedpolicy ();
41905 /* The GNU C library defines this for functions which it implements
41906 to always fail with ENOSYS. Some functions are actually named
41907 something starting with __ and the normal name is an alias. */
41908 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41909 choke me
41910 #endif
41911
41912 int
41913 main ()
41914 {
41915 return pthread_attr_getschedpolicy ();
41916 ;
41917 return 0;
41918 }
41919 _ACEOF
41920 rm -f conftest.$ac_objext conftest$ac_exeext
41921 if { (ac_try="$ac_link"
41922 case "(($ac_try" in
41923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41924 *) ac_try_echo=$ac_try;;
41925 esac
41926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41927 (eval "$ac_link") 2>conftest.er1
41928 ac_status=$?
41929 grep -v '^ *+' conftest.er1 >conftest.err
41930 rm -f conftest.er1
41931 cat conftest.err >&5
41932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41933 (exit $ac_status); } && {
41934 test -z "$ac_c_werror_flag" ||
41935 test ! -s conftest.err
41936 } && test -s conftest$ac_exeext &&
41937 $as_test_x conftest$ac_exeext; then
41938 ac_cv_func_pthread_attr_getschedpolicy=yes
41939 else
41940 echo "$as_me: failed program was:" >&5
41941 sed 's/^/| /' conftest.$ac_ext >&5
41942
41943 ac_cv_func_pthread_attr_getschedpolicy=no
41944 fi
41945
41946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41947 conftest$ac_exeext conftest.$ac_ext
41948 fi
41949 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41950 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41951 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41952 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41953 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41954 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41955 echo $ECHO_N "(cached) $ECHO_C" >&6
41956 else
41957 cat >conftest.$ac_ext <<_ACEOF
41958 /* confdefs.h. */
41959 _ACEOF
41960 cat confdefs.h >>conftest.$ac_ext
41961 cat >>conftest.$ac_ext <<_ACEOF
41962 /* end confdefs.h. */
41963 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41965 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41966
41967 /* System header to define __stub macros and hopefully few prototypes,
41968 which can conflict with char pthread_attr_setschedparam (); below.
41969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41970 <limits.h> exists even on freestanding compilers. */
41971
41972 #ifdef __STDC__
41973 # include <limits.h>
41974 #else
41975 # include <assert.h>
41976 #endif
41977
41978 #undef pthread_attr_setschedparam
41979
41980 /* Override any GCC internal prototype to avoid an error.
41981 Use char because int might match the return type of a GCC
41982 builtin and then its argument prototype would still apply. */
41983 #ifdef __cplusplus
41984 extern "C"
41985 #endif
41986 char pthread_attr_setschedparam ();
41987 /* The GNU C library defines this for functions which it implements
41988 to always fail with ENOSYS. Some functions are actually named
41989 something starting with __ and the normal name is an alias. */
41990 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41991 choke me
41992 #endif
41993
41994 int
41995 main ()
41996 {
41997 return pthread_attr_setschedparam ();
41998 ;
41999 return 0;
42000 }
42001 _ACEOF
42002 rm -f conftest.$ac_objext conftest$ac_exeext
42003 if { (ac_try="$ac_link"
42004 case "(($ac_try" in
42005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42006 *) ac_try_echo=$ac_try;;
42007 esac
42008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42009 (eval "$ac_link") 2>conftest.er1
42010 ac_status=$?
42011 grep -v '^ *+' conftest.er1 >conftest.err
42012 rm -f conftest.er1
42013 cat conftest.err >&5
42014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42015 (exit $ac_status); } && {
42016 test -z "$ac_c_werror_flag" ||
42017 test ! -s conftest.err
42018 } && test -s conftest$ac_exeext &&
42019 $as_test_x conftest$ac_exeext; then
42020 ac_cv_func_pthread_attr_setschedparam=yes
42021 else
42022 echo "$as_me: failed program was:" >&5
42023 sed 's/^/| /' conftest.$ac_ext >&5
42024
42025 ac_cv_func_pthread_attr_setschedparam=no
42026 fi
42027
42028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42029 conftest$ac_exeext conftest.$ac_ext
42030 fi
42031 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42032 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42033 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42034 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42035 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42036 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42037 echo $ECHO_N "(cached) $ECHO_C" >&6
42038 else
42039 cat >conftest.$ac_ext <<_ACEOF
42040 /* confdefs.h. */
42041 _ACEOF
42042 cat confdefs.h >>conftest.$ac_ext
42043 cat >>conftest.$ac_ext <<_ACEOF
42044 /* end confdefs.h. */
42045 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42047 #define sched_get_priority_max innocuous_sched_get_priority_max
42048
42049 /* System header to define __stub macros and hopefully few prototypes,
42050 which can conflict with char sched_get_priority_max (); below.
42051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42052 <limits.h> exists even on freestanding compilers. */
42053
42054 #ifdef __STDC__
42055 # include <limits.h>
42056 #else
42057 # include <assert.h>
42058 #endif
42059
42060 #undef sched_get_priority_max
42061
42062 /* Override any GCC internal prototype to avoid an error.
42063 Use char because int might match the return type of a GCC
42064 builtin and then its argument prototype would still apply. */
42065 #ifdef __cplusplus
42066 extern "C"
42067 #endif
42068 char sched_get_priority_max ();
42069 /* The GNU C library defines this for functions which it implements
42070 to always fail with ENOSYS. Some functions are actually named
42071 something starting with __ and the normal name is an alias. */
42072 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42073 choke me
42074 #endif
42075
42076 int
42077 main ()
42078 {
42079 return sched_get_priority_max ();
42080 ;
42081 return 0;
42082 }
42083 _ACEOF
42084 rm -f conftest.$ac_objext conftest$ac_exeext
42085 if { (ac_try="$ac_link"
42086 case "(($ac_try" in
42087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42088 *) ac_try_echo=$ac_try;;
42089 esac
42090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42091 (eval "$ac_link") 2>conftest.er1
42092 ac_status=$?
42093 grep -v '^ *+' conftest.er1 >conftest.err
42094 rm -f conftest.er1
42095 cat conftest.err >&5
42096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42097 (exit $ac_status); } && {
42098 test -z "$ac_c_werror_flag" ||
42099 test ! -s conftest.err
42100 } && test -s conftest$ac_exeext &&
42101 $as_test_x conftest$ac_exeext; then
42102 ac_cv_func_sched_get_priority_max=yes
42103 else
42104 echo "$as_me: failed program was:" >&5
42105 sed 's/^/| /' conftest.$ac_ext >&5
42106
42107 ac_cv_func_sched_get_priority_max=no
42108 fi
42109
42110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42111 conftest$ac_exeext conftest.$ac_ext
42112 fi
42113 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42114 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42115 if test $ac_cv_func_sched_get_priority_max = yes; then
42116 HAVE_PRIOR_FUNCS=1
42117 else
42118 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42119 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42120 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42121 echo $ECHO_N "(cached) $ECHO_C" >&6
42122 else
42123 ac_check_lib_save_LIBS=$LIBS
42124 LIBS="-lposix4 $LIBS"
42125 cat >conftest.$ac_ext <<_ACEOF
42126 /* confdefs.h. */
42127 _ACEOF
42128 cat confdefs.h >>conftest.$ac_ext
42129 cat >>conftest.$ac_ext <<_ACEOF
42130 /* end confdefs.h. */
42131
42132 /* Override any GCC internal prototype to avoid an error.
42133 Use char because int might match the return type of a GCC
42134 builtin and then its argument prototype would still apply. */
42135 #ifdef __cplusplus
42136 extern "C"
42137 #endif
42138 char sched_get_priority_max ();
42139 int
42140 main ()
42141 {
42142 return sched_get_priority_max ();
42143 ;
42144 return 0;
42145 }
42146 _ACEOF
42147 rm -f conftest.$ac_objext conftest$ac_exeext
42148 if { (ac_try="$ac_link"
42149 case "(($ac_try" in
42150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42151 *) ac_try_echo=$ac_try;;
42152 esac
42153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42154 (eval "$ac_link") 2>conftest.er1
42155 ac_status=$?
42156 grep -v '^ *+' conftest.er1 >conftest.err
42157 rm -f conftest.er1
42158 cat conftest.err >&5
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); } && {
42161 test -z "$ac_c_werror_flag" ||
42162 test ! -s conftest.err
42163 } && test -s conftest$ac_exeext &&
42164 $as_test_x conftest$ac_exeext; then
42165 ac_cv_lib_posix4_sched_get_priority_max=yes
42166 else
42167 echo "$as_me: failed program was:" >&5
42168 sed 's/^/| /' conftest.$ac_ext >&5
42169
42170 ac_cv_lib_posix4_sched_get_priority_max=no
42171 fi
42172
42173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42174 conftest$ac_exeext conftest.$ac_ext
42175 LIBS=$ac_check_lib_save_LIBS
42176 fi
42177 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42178 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42179 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42180
42181 HAVE_PRIOR_FUNCS=1
42182 POSIX4_LINK=" -lposix4"
42183
42184 fi
42185
42186
42187 fi
42188
42189
42190 fi
42191
42192
42193 fi
42194
42195
42196 if test "$HAVE_PRIOR_FUNCS" = 1; then
42197 cat >>confdefs.h <<\_ACEOF
42198 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42199 _ACEOF
42200
42201 else
42202 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42203 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42204 fi
42205
42206 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42207 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42208 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42209 echo $ECHO_N "(cached) $ECHO_C" >&6
42210 else
42211 cat >conftest.$ac_ext <<_ACEOF
42212 /* confdefs.h. */
42213 _ACEOF
42214 cat confdefs.h >>conftest.$ac_ext
42215 cat >>conftest.$ac_ext <<_ACEOF
42216 /* end confdefs.h. */
42217 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42219 #define pthread_cancel innocuous_pthread_cancel
42220
42221 /* System header to define __stub macros and hopefully few prototypes,
42222 which can conflict with char pthread_cancel (); below.
42223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42224 <limits.h> exists even on freestanding compilers. */
42225
42226 #ifdef __STDC__
42227 # include <limits.h>
42228 #else
42229 # include <assert.h>
42230 #endif
42231
42232 #undef pthread_cancel
42233
42234 /* Override any GCC internal prototype to avoid an error.
42235 Use char because int might match the return type of a GCC
42236 builtin and then its argument prototype would still apply. */
42237 #ifdef __cplusplus
42238 extern "C"
42239 #endif
42240 char pthread_cancel ();
42241 /* The GNU C library defines this for functions which it implements
42242 to always fail with ENOSYS. Some functions are actually named
42243 something starting with __ and the normal name is an alias. */
42244 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42245 choke me
42246 #endif
42247
42248 int
42249 main ()
42250 {
42251 return pthread_cancel ();
42252 ;
42253 return 0;
42254 }
42255 _ACEOF
42256 rm -f conftest.$ac_objext conftest$ac_exeext
42257 if { (ac_try="$ac_link"
42258 case "(($ac_try" in
42259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42260 *) ac_try_echo=$ac_try;;
42261 esac
42262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42263 (eval "$ac_link") 2>conftest.er1
42264 ac_status=$?
42265 grep -v '^ *+' conftest.er1 >conftest.err
42266 rm -f conftest.er1
42267 cat conftest.err >&5
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); } && {
42270 test -z "$ac_c_werror_flag" ||
42271 test ! -s conftest.err
42272 } && test -s conftest$ac_exeext &&
42273 $as_test_x conftest$ac_exeext; then
42274 ac_cv_func_pthread_cancel=yes
42275 else
42276 echo "$as_me: failed program was:" >&5
42277 sed 's/^/| /' conftest.$ac_ext >&5
42278
42279 ac_cv_func_pthread_cancel=no
42280 fi
42281
42282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42283 conftest$ac_exeext conftest.$ac_ext
42284 fi
42285 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42286 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42287 if test $ac_cv_func_pthread_cancel = yes; then
42288 cat >>confdefs.h <<\_ACEOF
42289 #define HAVE_PTHREAD_CANCEL 1
42290 _ACEOF
42291
42292 else
42293 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42294 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42295 fi
42296
42297
42298 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42299 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42300 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42301 echo $ECHO_N "(cached) $ECHO_C" >&6
42302 else
42303 cat >conftest.$ac_ext <<_ACEOF
42304 /* confdefs.h. */
42305 _ACEOF
42306 cat confdefs.h >>conftest.$ac_ext
42307 cat >>conftest.$ac_ext <<_ACEOF
42308 /* end confdefs.h. */
42309 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42311 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42312
42313 /* System header to define __stub macros and hopefully few prototypes,
42314 which can conflict with char pthread_mutex_timedlock (); below.
42315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42316 <limits.h> exists even on freestanding compilers. */
42317
42318 #ifdef __STDC__
42319 # include <limits.h>
42320 #else
42321 # include <assert.h>
42322 #endif
42323
42324 #undef pthread_mutex_timedlock
42325
42326 /* Override any GCC internal prototype to avoid an error.
42327 Use char because int might match the return type of a GCC
42328 builtin and then its argument prototype would still apply. */
42329 #ifdef __cplusplus
42330 extern "C"
42331 #endif
42332 char pthread_mutex_timedlock ();
42333 /* The GNU C library defines this for functions which it implements
42334 to always fail with ENOSYS. Some functions are actually named
42335 something starting with __ and the normal name is an alias. */
42336 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42337 choke me
42338 #endif
42339
42340 int
42341 main ()
42342 {
42343 return pthread_mutex_timedlock ();
42344 ;
42345 return 0;
42346 }
42347 _ACEOF
42348 rm -f conftest.$ac_objext conftest$ac_exeext
42349 if { (ac_try="$ac_link"
42350 case "(($ac_try" in
42351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42352 *) ac_try_echo=$ac_try;;
42353 esac
42354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42355 (eval "$ac_link") 2>conftest.er1
42356 ac_status=$?
42357 grep -v '^ *+' conftest.er1 >conftest.err
42358 rm -f conftest.er1
42359 cat conftest.err >&5
42360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42361 (exit $ac_status); } && {
42362 test -z "$ac_c_werror_flag" ||
42363 test ! -s conftest.err
42364 } && test -s conftest$ac_exeext &&
42365 $as_test_x conftest$ac_exeext; then
42366 ac_cv_func_pthread_mutex_timedlock=yes
42367 else
42368 echo "$as_me: failed program was:" >&5
42369 sed 's/^/| /' conftest.$ac_ext >&5
42370
42371 ac_cv_func_pthread_mutex_timedlock=no
42372 fi
42373
42374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42375 conftest$ac_exeext conftest.$ac_ext
42376 fi
42377 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42378 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42379 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42380 cat >>confdefs.h <<\_ACEOF
42381 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42382 _ACEOF
42383
42384 else
42385 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42386 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42387 fi
42388
42389
42390 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42391 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42392 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42393 echo $ECHO_N "(cached) $ECHO_C" >&6
42394 else
42395 cat >conftest.$ac_ext <<_ACEOF
42396 /* confdefs.h. */
42397 _ACEOF
42398 cat confdefs.h >>conftest.$ac_ext
42399 cat >>conftest.$ac_ext <<_ACEOF
42400 /* end confdefs.h. */
42401 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42403 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42404
42405 /* System header to define __stub macros and hopefully few prototypes,
42406 which can conflict with char pthread_attr_setstacksize (); below.
42407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42408 <limits.h> exists even on freestanding compilers. */
42409
42410 #ifdef __STDC__
42411 # include <limits.h>
42412 #else
42413 # include <assert.h>
42414 #endif
42415
42416 #undef pthread_attr_setstacksize
42417
42418 /* Override any GCC internal prototype to avoid an error.
42419 Use char because int might match the return type of a GCC
42420 builtin and then its argument prototype would still apply. */
42421 #ifdef __cplusplus
42422 extern "C"
42423 #endif
42424 char pthread_attr_setstacksize ();
42425 /* The GNU C library defines this for functions which it implements
42426 to always fail with ENOSYS. Some functions are actually named
42427 something starting with __ and the normal name is an alias. */
42428 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42429 choke me
42430 #endif
42431
42432 int
42433 main ()
42434 {
42435 return pthread_attr_setstacksize ();
42436 ;
42437 return 0;
42438 }
42439 _ACEOF
42440 rm -f conftest.$ac_objext conftest$ac_exeext
42441 if { (ac_try="$ac_link"
42442 case "(($ac_try" in
42443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42444 *) ac_try_echo=$ac_try;;
42445 esac
42446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42447 (eval "$ac_link") 2>conftest.er1
42448 ac_status=$?
42449 grep -v '^ *+' conftest.er1 >conftest.err
42450 rm -f conftest.er1
42451 cat conftest.err >&5
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); } && {
42454 test -z "$ac_c_werror_flag" ||
42455 test ! -s conftest.err
42456 } && test -s conftest$ac_exeext &&
42457 $as_test_x conftest$ac_exeext; then
42458 ac_cv_func_pthread_attr_setstacksize=yes
42459 else
42460 echo "$as_me: failed program was:" >&5
42461 sed 's/^/| /' conftest.$ac_ext >&5
42462
42463 ac_cv_func_pthread_attr_setstacksize=no
42464 fi
42465
42466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42467 conftest$ac_exeext conftest.$ac_ext
42468 fi
42469 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42470 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42471 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42472 cat >>confdefs.h <<\_ACEOF
42473 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42474 _ACEOF
42475
42476 fi
42477
42478
42479
42480 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42481 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42482 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42483 echo $ECHO_N "(cached) $ECHO_C" >&6
42484 else
42485
42486 cat >conftest.$ac_ext <<_ACEOF
42487 /* confdefs.h. */
42488 _ACEOF
42489 cat confdefs.h >>conftest.$ac_ext
42490 cat >>conftest.$ac_ext <<_ACEOF
42491 /* end confdefs.h. */
42492 #include <pthread.h>
42493 int
42494 main ()
42495 {
42496
42497 pthread_mutexattr_t attr;
42498 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42499
42500 ;
42501 return 0;
42502 }
42503 _ACEOF
42504 rm -f conftest.$ac_objext
42505 if { (ac_try="$ac_compile"
42506 case "(($ac_try" in
42507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42508 *) ac_try_echo=$ac_try;;
42509 esac
42510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42511 (eval "$ac_compile") 2>conftest.er1
42512 ac_status=$?
42513 grep -v '^ *+' conftest.er1 >conftest.err
42514 rm -f conftest.er1
42515 cat conftest.err >&5
42516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42517 (exit $ac_status); } && {
42518 test -z "$ac_c_werror_flag" ||
42519 test ! -s conftest.err
42520 } && test -s conftest.$ac_objext; then
42521 wx_cv_type_pthread_mutexattr_t=yes
42522 else
42523 echo "$as_me: failed program was:" >&5
42524 sed 's/^/| /' conftest.$ac_ext >&5
42525
42526 wx_cv_type_pthread_mutexattr_t=no
42527
42528 fi
42529
42530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42531
42532 fi
42533 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42534 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42535
42536 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42537 cat >>confdefs.h <<\_ACEOF
42538 #define HAVE_PTHREAD_MUTEXATTR_T 1
42539 _ACEOF
42540
42541
42542 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42543 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42544 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42545 echo $ECHO_N "(cached) $ECHO_C" >&6
42546 else
42547
42548 cat >conftest.$ac_ext <<_ACEOF
42549 /* confdefs.h. */
42550 _ACEOF
42551 cat confdefs.h >>conftest.$ac_ext
42552 cat >>conftest.$ac_ext <<_ACEOF
42553 /* end confdefs.h. */
42554 #include <pthread.h>
42555 int
42556 main ()
42557 {
42558
42559 pthread_mutexattr_t attr;
42560 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42561
42562 ;
42563 return 0;
42564 }
42565 _ACEOF
42566 rm -f conftest.$ac_objext
42567 if { (ac_try="$ac_compile"
42568 case "(($ac_try" in
42569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42570 *) ac_try_echo=$ac_try;;
42571 esac
42572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42573 (eval "$ac_compile") 2>conftest.er1
42574 ac_status=$?
42575 grep -v '^ *+' conftest.er1 >conftest.err
42576 rm -f conftest.er1
42577 cat conftest.err >&5
42578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42579 (exit $ac_status); } && {
42580 test -z "$ac_c_werror_flag" ||
42581 test ! -s conftest.err
42582 } && test -s conftest.$ac_objext; then
42583 wx_cv_func_pthread_mutexattr_settype_decl=yes
42584 else
42585 echo "$as_me: failed program was:" >&5
42586 sed 's/^/| /' conftest.$ac_ext >&5
42587
42588 wx_cv_func_pthread_mutexattr_settype_decl=no
42589
42590 fi
42591
42592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42593
42594 fi
42595 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42596 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42597 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42598 cat >>confdefs.h <<\_ACEOF
42599 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42600 _ACEOF
42601
42602 fi
42603 else
42604 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42605 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42606 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42607 echo $ECHO_N "(cached) $ECHO_C" >&6
42608 else
42609
42610 cat >conftest.$ac_ext <<_ACEOF
42611 /* confdefs.h. */
42612 _ACEOF
42613 cat confdefs.h >>conftest.$ac_ext
42614 cat >>conftest.$ac_ext <<_ACEOF
42615 /* end confdefs.h. */
42616 #include <pthread.h>
42617 int
42618 main ()
42619 {
42620
42621 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42622
42623 ;
42624 return 0;
42625 }
42626 _ACEOF
42627 rm -f conftest.$ac_objext
42628 if { (ac_try="$ac_compile"
42629 case "(($ac_try" in
42630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42631 *) ac_try_echo=$ac_try;;
42632 esac
42633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42634 (eval "$ac_compile") 2>conftest.er1
42635 ac_status=$?
42636 grep -v '^ *+' conftest.er1 >conftest.err
42637 rm -f conftest.er1
42638 cat conftest.err >&5
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); } && {
42641 test -z "$ac_c_werror_flag" ||
42642 test ! -s conftest.err
42643 } && test -s conftest.$ac_objext; then
42644
42645 wx_cv_type_pthread_rec_mutex_init=yes
42646
42647 else
42648 echo "$as_me: failed program was:" >&5
42649 sed 's/^/| /' conftest.$ac_ext >&5
42650
42651
42652 wx_cv_type_pthread_rec_mutex_init=no
42653
42654
42655 fi
42656
42657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42658
42659 fi
42660 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42661 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42662 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42663 cat >>confdefs.h <<\_ACEOF
42664 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42665 _ACEOF
42666
42667 else
42668 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42669 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42670 fi
42671 fi
42672 fi
42673
42674 else
42675 if test "$wxUSE_THREADS" = "yes" ; then
42676 case "${host}" in
42677 *-*-mingw32* )
42678 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42679 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42680 if test "${wx_cv_cflags_mthread+set}" = set; then
42681 echo $ECHO_N "(cached) $ECHO_C" >&6
42682 else
42683
42684 CFLAGS_OLD="$CFLAGS"
42685 CFLAGS="-mthreads $CFLAGS"
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
42693 int
42694 main ()
42695 {
42696
42697 ;
42698 return 0;
42699 }
42700 _ACEOF
42701 rm -f conftest.$ac_objext
42702 if { (ac_try="$ac_compile"
42703 case "(($ac_try" in
42704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42705 *) ac_try_echo=$ac_try;;
42706 esac
42707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42708 (eval "$ac_compile") 2>conftest.er1
42709 ac_status=$?
42710 grep -v '^ *+' conftest.er1 >conftest.err
42711 rm -f conftest.er1
42712 cat conftest.err >&5
42713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42714 (exit $ac_status); } && {
42715 test -z "$ac_c_werror_flag" ||
42716 test ! -s conftest.err
42717 } && test -s conftest.$ac_objext; then
42718 wx_cv_cflags_mthread=yes
42719 else
42720 echo "$as_me: failed program was:" >&5
42721 sed 's/^/| /' conftest.$ac_ext >&5
42722
42723 wx_cv_cflags_mthread=no
42724
42725 fi
42726
42727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42728
42729
42730 fi
42731 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42732 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42733
42734 if test "$wx_cv_cflags_mthread" = "yes"; then
42735 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42736 LDFLAGS="$LDFLAGS -mthreads"
42737 else
42738 CFLAGS="$CFLAGS_OLD"
42739 fi
42740 ;;
42741 *-pc-os2*emx )
42742 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42743 LDFLAGS="$LDFLAGS -Zmt"
42744 ;;
42745 esac
42746 fi
42747 fi
42748
42749 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42750 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42751 if test "${ac_cv_func_localtime_r+set}" = set; then
42752 echo $ECHO_N "(cached) $ECHO_C" >&6
42753 else
42754 cat >conftest.$ac_ext <<_ACEOF
42755 /* confdefs.h. */
42756 _ACEOF
42757 cat confdefs.h >>conftest.$ac_ext
42758 cat >>conftest.$ac_ext <<_ACEOF
42759 /* end confdefs.h. */
42760 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42762 #define localtime_r innocuous_localtime_r
42763
42764 /* System header to define __stub macros and hopefully few prototypes,
42765 which can conflict with char localtime_r (); below.
42766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42767 <limits.h> exists even on freestanding compilers. */
42768
42769 #ifdef __STDC__
42770 # include <limits.h>
42771 #else
42772 # include <assert.h>
42773 #endif
42774
42775 #undef localtime_r
42776
42777 /* Override any GCC internal prototype to avoid an error.
42778 Use char because int might match the return type of a GCC
42779 builtin and then its argument prototype would still apply. */
42780 #ifdef __cplusplus
42781 extern "C"
42782 #endif
42783 char localtime_r ();
42784 /* The GNU C library defines this for functions which it implements
42785 to always fail with ENOSYS. Some functions are actually named
42786 something starting with __ and the normal name is an alias. */
42787 #if defined __stub_localtime_r || defined __stub___localtime_r
42788 choke me
42789 #endif
42790
42791 int
42792 main ()
42793 {
42794 return localtime_r ();
42795 ;
42796 return 0;
42797 }
42798 _ACEOF
42799 rm -f conftest.$ac_objext conftest$ac_exeext
42800 if { (ac_try="$ac_link"
42801 case "(($ac_try" in
42802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42803 *) ac_try_echo=$ac_try;;
42804 esac
42805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42806 (eval "$ac_link") 2>conftest.er1
42807 ac_status=$?
42808 grep -v '^ *+' conftest.er1 >conftest.err
42809 rm -f conftest.er1
42810 cat conftest.err >&5
42811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42812 (exit $ac_status); } && {
42813 test -z "$ac_c_werror_flag" ||
42814 test ! -s conftest.err
42815 } && test -s conftest$ac_exeext &&
42816 $as_test_x conftest$ac_exeext; then
42817 ac_cv_func_localtime_r=yes
42818 else
42819 echo "$as_me: failed program was:" >&5
42820 sed 's/^/| /' conftest.$ac_ext >&5
42821
42822 ac_cv_func_localtime_r=no
42823 fi
42824
42825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42826 conftest$ac_exeext conftest.$ac_ext
42827 fi
42828 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42829 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42830 if test $ac_cv_func_localtime_r = yes; then
42831 cat >>confdefs.h <<\_ACEOF
42832 #define HAVE_LOCALTIME_R 1
42833 _ACEOF
42834
42835 fi
42836
42837 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42838 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42839 if test "${ac_cv_func_gmtime_r+set}" = set; then
42840 echo $ECHO_N "(cached) $ECHO_C" >&6
42841 else
42842 cat >conftest.$ac_ext <<_ACEOF
42843 /* confdefs.h. */
42844 _ACEOF
42845 cat confdefs.h >>conftest.$ac_ext
42846 cat >>conftest.$ac_ext <<_ACEOF
42847 /* end confdefs.h. */
42848 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42850 #define gmtime_r innocuous_gmtime_r
42851
42852 /* System header to define __stub macros and hopefully few prototypes,
42853 which can conflict with char gmtime_r (); below.
42854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42855 <limits.h> exists even on freestanding compilers. */
42856
42857 #ifdef __STDC__
42858 # include <limits.h>
42859 #else
42860 # include <assert.h>
42861 #endif
42862
42863 #undef gmtime_r
42864
42865 /* Override any GCC internal prototype to avoid an error.
42866 Use char because int might match the return type of a GCC
42867 builtin and then its argument prototype would still apply. */
42868 #ifdef __cplusplus
42869 extern "C"
42870 #endif
42871 char gmtime_r ();
42872 /* The GNU C library defines this for functions which it implements
42873 to always fail with ENOSYS. Some functions are actually named
42874 something starting with __ and the normal name is an alias. */
42875 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42876 choke me
42877 #endif
42878
42879 int
42880 main ()
42881 {
42882 return gmtime_r ();
42883 ;
42884 return 0;
42885 }
42886 _ACEOF
42887 rm -f conftest.$ac_objext conftest$ac_exeext
42888 if { (ac_try="$ac_link"
42889 case "(($ac_try" in
42890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42891 *) ac_try_echo=$ac_try;;
42892 esac
42893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42894 (eval "$ac_link") 2>conftest.er1
42895 ac_status=$?
42896 grep -v '^ *+' conftest.er1 >conftest.err
42897 rm -f conftest.er1
42898 cat conftest.err >&5
42899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42900 (exit $ac_status); } && {
42901 test -z "$ac_c_werror_flag" ||
42902 test ! -s conftest.err
42903 } && test -s conftest$ac_exeext &&
42904 $as_test_x conftest$ac_exeext; then
42905 ac_cv_func_gmtime_r=yes
42906 else
42907 echo "$as_me: failed program was:" >&5
42908 sed 's/^/| /' conftest.$ac_ext >&5
42909
42910 ac_cv_func_gmtime_r=no
42911 fi
42912
42913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42914 conftest$ac_exeext conftest.$ac_ext
42915 fi
42916 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42917 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42918 if test $ac_cv_func_gmtime_r = yes; then
42919 cat >>confdefs.h <<\_ACEOF
42920 #define HAVE_GMTIME_R 1
42921 _ACEOF
42922
42923 fi
42924
42925 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42926 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42927 if test "${ac_cv_func_readdir_r+set}" = set; then
42928 echo $ECHO_N "(cached) $ECHO_C" >&6
42929 else
42930 cat >conftest.$ac_ext <<_ACEOF
42931 /* confdefs.h. */
42932 _ACEOF
42933 cat confdefs.h >>conftest.$ac_ext
42934 cat >>conftest.$ac_ext <<_ACEOF
42935 /* end confdefs.h. */
42936 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42938 #define readdir_r innocuous_readdir_r
42939
42940 /* System header to define __stub macros and hopefully few prototypes,
42941 which can conflict with char readdir_r (); below.
42942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42943 <limits.h> exists even on freestanding compilers. */
42944
42945 #ifdef __STDC__
42946 # include <limits.h>
42947 #else
42948 # include <assert.h>
42949 #endif
42950
42951 #undef readdir_r
42952
42953 /* Override any GCC internal prototype to avoid an error.
42954 Use char because int might match the return type of a GCC
42955 builtin and then its argument prototype would still apply. */
42956 #ifdef __cplusplus
42957 extern "C"
42958 #endif
42959 char readdir_r ();
42960 /* The GNU C library defines this for functions which it implements
42961 to always fail with ENOSYS. Some functions are actually named
42962 something starting with __ and the normal name is an alias. */
42963 #if defined __stub_readdir_r || defined __stub___readdir_r
42964 choke me
42965 #endif
42966
42967 int
42968 main ()
42969 {
42970 return readdir_r ();
42971 ;
42972 return 0;
42973 }
42974 _ACEOF
42975 rm -f conftest.$ac_objext conftest$ac_exeext
42976 if { (ac_try="$ac_link"
42977 case "(($ac_try" in
42978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42979 *) ac_try_echo=$ac_try;;
42980 esac
42981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42982 (eval "$ac_link") 2>conftest.er1
42983 ac_status=$?
42984 grep -v '^ *+' conftest.er1 >conftest.err
42985 rm -f conftest.er1
42986 cat conftest.err >&5
42987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42988 (exit $ac_status); } && {
42989 test -z "$ac_c_werror_flag" ||
42990 test ! -s conftest.err
42991 } && test -s conftest$ac_exeext &&
42992 $as_test_x conftest$ac_exeext; then
42993 ac_cv_func_readdir_r=yes
42994 else
42995 echo "$as_me: failed program was:" >&5
42996 sed 's/^/| /' conftest.$ac_ext >&5
42997
42998 ac_cv_func_readdir_r=no
42999 fi
43000
43001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43002 conftest$ac_exeext conftest.$ac_ext
43003 fi
43004 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43005 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43006 if test $ac_cv_func_readdir_r = yes; then
43007 cat >>confdefs.h <<\_ACEOF
43008 #define HAVE_READDIR_R 1
43009 _ACEOF
43010
43011 fi
43012
43013
43014
43015
43016 ac_ext=c
43017 ac_cpp='$CPP $CPPFLAGS'
43018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43021
43022 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43023 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43024
43025 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43026 echo $ECHO_N "(cached) $ECHO_C" >&6
43027 else
43028
43029
43030 ################################################################
43031
43032 ac_cv_func_which_gethostbyname_r=unknown
43033
43034 #
43035 # ONE ARGUMENT (sanity check)
43036 #
43037
43038 # This should fail, as there is no variant of gethostbyname_r() that takes
43039 # a single argument. If it actually compiles, then we can assume that
43040 # netdb.h is not declaring the function, and the compiler is thereby
43041 # assuming an implicit prototype. In which case, we're out of luck.
43042 #
43043 cat >conftest.$ac_ext <<_ACEOF
43044 /* confdefs.h. */
43045 _ACEOF
43046 cat confdefs.h >>conftest.$ac_ext
43047 cat >>conftest.$ac_ext <<_ACEOF
43048 /* end confdefs.h. */
43049 #include <netdb.h>
43050 int
43051 main ()
43052 {
43053
43054 char *name = "www.gnu.org";
43055 (void)gethostbyname_r(name) /* ; */
43056
43057 ;
43058 return 0;
43059 }
43060 _ACEOF
43061 rm -f conftest.$ac_objext
43062 if { (ac_try="$ac_compile"
43063 case "(($ac_try" in
43064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43065 *) ac_try_echo=$ac_try;;
43066 esac
43067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43068 (eval "$ac_compile") 2>conftest.er1
43069 ac_status=$?
43070 grep -v '^ *+' conftest.er1 >conftest.err
43071 rm -f conftest.er1
43072 cat conftest.err >&5
43073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43074 (exit $ac_status); } && {
43075 test -z "$ac_c_werror_flag" ||
43076 test ! -s conftest.err
43077 } && test -s conftest.$ac_objext; then
43078 ac_cv_func_which_gethostbyname_r=no
43079 else
43080 echo "$as_me: failed program was:" >&5
43081 sed 's/^/| /' conftest.$ac_ext >&5
43082
43083
43084 fi
43085
43086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43087
43088 #
43089 # SIX ARGUMENTS
43090 # (e.g. Linux)
43091 #
43092
43093 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43094
43095 cat >conftest.$ac_ext <<_ACEOF
43096 /* confdefs.h. */
43097 _ACEOF
43098 cat confdefs.h >>conftest.$ac_ext
43099 cat >>conftest.$ac_ext <<_ACEOF
43100 /* end confdefs.h. */
43101 #include <netdb.h>
43102 int
43103 main ()
43104 {
43105
43106 char *name = "www.gnu.org";
43107 struct hostent ret, *retp;
43108 char buf[1024];
43109 int buflen = 1024;
43110 int my_h_errno;
43111 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43112
43113 ;
43114 return 0;
43115 }
43116 _ACEOF
43117 rm -f conftest.$ac_objext
43118 if { (ac_try="$ac_compile"
43119 case "(($ac_try" in
43120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43121 *) ac_try_echo=$ac_try;;
43122 esac
43123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43124 (eval "$ac_compile") 2>conftest.er1
43125 ac_status=$?
43126 grep -v '^ *+' conftest.er1 >conftest.err
43127 rm -f conftest.er1
43128 cat conftest.err >&5
43129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43130 (exit $ac_status); } && {
43131 test -z "$ac_c_werror_flag" ||
43132 test ! -s conftest.err
43133 } && test -s conftest.$ac_objext; then
43134 ac_cv_func_which_gethostbyname_r=six
43135 else
43136 echo "$as_me: failed program was:" >&5
43137 sed 's/^/| /' conftest.$ac_ext >&5
43138
43139
43140 fi
43141
43142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43143
43144 fi
43145
43146 #
43147 # FIVE ARGUMENTS
43148 # (e.g. Solaris)
43149 #
43150
43151 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43152
43153 cat >conftest.$ac_ext <<_ACEOF
43154 /* confdefs.h. */
43155 _ACEOF
43156 cat confdefs.h >>conftest.$ac_ext
43157 cat >>conftest.$ac_ext <<_ACEOF
43158 /* end confdefs.h. */
43159 #include <netdb.h>
43160 int
43161 main ()
43162 {
43163
43164 char *name = "www.gnu.org";
43165 struct hostent ret;
43166 char buf[1024];
43167 int buflen = 1024;
43168 int my_h_errno;
43169 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43170
43171 ;
43172 return 0;
43173 }
43174 _ACEOF
43175 rm -f conftest.$ac_objext
43176 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
43192 ac_cv_func_which_gethostbyname_r=five
43193 else
43194 echo "$as_me: failed program was:" >&5
43195 sed 's/^/| /' conftest.$ac_ext >&5
43196
43197
43198 fi
43199
43200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43201
43202 fi
43203
43204 #
43205 # THREE ARGUMENTS
43206 # (e.g. AIX, HP-UX, Tru64)
43207 #
43208
43209 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43210
43211 cat >conftest.$ac_ext <<_ACEOF
43212 /* confdefs.h. */
43213 _ACEOF
43214 cat confdefs.h >>conftest.$ac_ext
43215 cat >>conftest.$ac_ext <<_ACEOF
43216 /* end confdefs.h. */
43217 #include <netdb.h>
43218 int
43219 main ()
43220 {
43221
43222 char *name = "www.gnu.org";
43223 struct hostent ret;
43224 struct hostent_data data;
43225 (void)gethostbyname_r(name, &ret, &data) /* ; */
43226
43227 ;
43228 return 0;
43229 }
43230 _ACEOF
43231 rm -f conftest.$ac_objext
43232 if { (ac_try="$ac_compile"
43233 case "(($ac_try" in
43234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43235 *) ac_try_echo=$ac_try;;
43236 esac
43237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43238 (eval "$ac_compile") 2>conftest.er1
43239 ac_status=$?
43240 grep -v '^ *+' conftest.er1 >conftest.err
43241 rm -f conftest.er1
43242 cat conftest.err >&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); } && {
43245 test -z "$ac_c_werror_flag" ||
43246 test ! -s conftest.err
43247 } && test -s conftest.$ac_objext; then
43248 ac_cv_func_which_gethostbyname_r=three
43249 else
43250 echo "$as_me: failed program was:" >&5
43251 sed 's/^/| /' conftest.$ac_ext >&5
43252
43253
43254 fi
43255
43256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43257
43258 fi
43259
43260 ################################################################
43261
43262
43263 fi
43264
43265 case "$ac_cv_func_which_gethostbyname_r" in
43266 three)
43267 { echo "$as_me:$LINENO: result: three" >&5
43268 echo "${ECHO_T}three" >&6; }
43269 cat >>confdefs.h <<\_ACEOF
43270 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43271 _ACEOF
43272
43273 ;;
43274
43275 five)
43276 { echo "$as_me:$LINENO: result: five" >&5
43277 echo "${ECHO_T}five" >&6; }
43278 cat >>confdefs.h <<\_ACEOF
43279 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43280 _ACEOF
43281
43282 ;;
43283
43284 six)
43285 { echo "$as_me:$LINENO: result: six" >&5
43286 echo "${ECHO_T}six" >&6; }
43287 cat >>confdefs.h <<\_ACEOF
43288 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43289 _ACEOF
43290
43291 ;;
43292
43293 no)
43294 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43295 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43296 ;;
43297
43298 unknown)
43299 { echo "$as_me:$LINENO: result: can't tell" >&5
43300 echo "${ECHO_T}can't tell" >&6; }
43301 ;;
43302
43303 *)
43304 { { echo "$as_me:$LINENO: error: internal error" >&5
43305 echo "$as_me: error: internal error" >&2;}
43306 { (exit 1); exit 1; }; }
43307 ;;
43308 esac
43309
43310 ac_ext=c
43311 ac_cpp='$CPP $CPPFLAGS'
43312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43315
43316
43317
43318 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43319 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43320 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43321 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43322 if test "${ac_cv_func_gethostbyname+set}" = set; then
43323 echo $ECHO_N "(cached) $ECHO_C" >&6
43324 else
43325 cat >conftest.$ac_ext <<_ACEOF
43326 /* confdefs.h. */
43327 _ACEOF
43328 cat confdefs.h >>conftest.$ac_ext
43329 cat >>conftest.$ac_ext <<_ACEOF
43330 /* end confdefs.h. */
43331 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43333 #define gethostbyname innocuous_gethostbyname
43334
43335 /* System header to define __stub macros and hopefully few prototypes,
43336 which can conflict with char gethostbyname (); below.
43337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43338 <limits.h> exists even on freestanding compilers. */
43339
43340 #ifdef __STDC__
43341 # include <limits.h>
43342 #else
43343 # include <assert.h>
43344 #endif
43345
43346 #undef gethostbyname
43347
43348 /* Override any GCC internal prototype to avoid an error.
43349 Use char because int might match the return type of a GCC
43350 builtin and then its argument prototype would still apply. */
43351 #ifdef __cplusplus
43352 extern "C"
43353 #endif
43354 char gethostbyname ();
43355 /* The GNU C library defines this for functions which it implements
43356 to always fail with ENOSYS. Some functions are actually named
43357 something starting with __ and the normal name is an alias. */
43358 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43359 choke me
43360 #endif
43361
43362 int
43363 main ()
43364 {
43365 return gethostbyname ();
43366 ;
43367 return 0;
43368 }
43369 _ACEOF
43370 rm -f conftest.$ac_objext conftest$ac_exeext
43371 if { (ac_try="$ac_link"
43372 case "(($ac_try" in
43373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43374 *) ac_try_echo=$ac_try;;
43375 esac
43376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43377 (eval "$ac_link") 2>conftest.er1
43378 ac_status=$?
43379 grep -v '^ *+' conftest.er1 >conftest.err
43380 rm -f conftest.er1
43381 cat conftest.err >&5
43382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43383 (exit $ac_status); } && {
43384 test -z "$ac_c_werror_flag" ||
43385 test ! -s conftest.err
43386 } && test -s conftest$ac_exeext &&
43387 $as_test_x conftest$ac_exeext; then
43388 ac_cv_func_gethostbyname=yes
43389 else
43390 echo "$as_me: failed program was:" >&5
43391 sed 's/^/| /' conftest.$ac_ext >&5
43392
43393 ac_cv_func_gethostbyname=no
43394 fi
43395
43396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43397 conftest$ac_exeext conftest.$ac_ext
43398 fi
43399 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43400 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43401 if test $ac_cv_func_gethostbyname = yes; then
43402 cat >>confdefs.h <<\_ACEOF
43403 #define HAVE_GETHOSTBYNAME 1
43404 _ACEOF
43405
43406 fi
43407
43408 fi
43409
43410 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43411 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43412 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43413 echo $ECHO_N "(cached) $ECHO_C" >&6
43414 else
43415
43416 ac_ext=cpp
43417 ac_cpp='$CXXCPP $CPPFLAGS'
43418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43421
43422
43423 cat >conftest.$ac_ext <<_ACEOF
43424 /* confdefs.h. */
43425 _ACEOF
43426 cat confdefs.h >>conftest.$ac_ext
43427 cat >>conftest.$ac_ext <<_ACEOF
43428 /* end confdefs.h. */
43429 #include <netdb.h>
43430 int
43431 main ()
43432 {
43433
43434 char *name;
43435 char *proto;
43436 struct servent *se, *res;
43437 char buffer[2048];
43438 int buflen = 2048;
43439 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43440
43441 ;
43442 return 0;
43443 }
43444 _ACEOF
43445 rm -f conftest.$ac_objext
43446 if { (ac_try="$ac_compile"
43447 case "(($ac_try" in
43448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43449 *) ac_try_echo=$ac_try;;
43450 esac
43451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43452 (eval "$ac_compile") 2>conftest.er1
43453 ac_status=$?
43454 grep -v '^ *+' conftest.er1 >conftest.err
43455 rm -f conftest.er1
43456 cat conftest.err >&5
43457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43458 (exit $ac_status); } && {
43459 test -z "$ac_cxx_werror_flag" ||
43460 test ! -s conftest.err
43461 } && test -s conftest.$ac_objext; then
43462 ac_cv_func_which_getservbyname_r=six
43463 else
43464 echo "$as_me: failed program was:" >&5
43465 sed 's/^/| /' conftest.$ac_ext >&5
43466
43467
43468 cat >conftest.$ac_ext <<_ACEOF
43469 /* confdefs.h. */
43470 _ACEOF
43471 cat confdefs.h >>conftest.$ac_ext
43472 cat >>conftest.$ac_ext <<_ACEOF
43473 /* end confdefs.h. */
43474 #include <netdb.h>
43475 int
43476 main ()
43477 {
43478
43479 char *name;
43480 char *proto;
43481 struct servent *se;
43482 char buffer[2048];
43483 int buflen = 2048;
43484 (void) getservbyname_r(name, proto, se, buffer, buflen)
43485
43486 ;
43487 return 0;
43488 }
43489 _ACEOF
43490 rm -f conftest.$ac_objext
43491 if { (ac_try="$ac_compile"
43492 case "(($ac_try" in
43493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43494 *) ac_try_echo=$ac_try;;
43495 esac
43496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43497 (eval "$ac_compile") 2>conftest.er1
43498 ac_status=$?
43499 grep -v '^ *+' conftest.er1 >conftest.err
43500 rm -f conftest.er1
43501 cat conftest.err >&5
43502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43503 (exit $ac_status); } && {
43504 test -z "$ac_cxx_werror_flag" ||
43505 test ! -s conftest.err
43506 } && test -s conftest.$ac_objext; then
43507 ac_cv_func_which_getservbyname_r=five
43508 else
43509 echo "$as_me: failed program was:" >&5
43510 sed 's/^/| /' conftest.$ac_ext >&5
43511
43512
43513 cat >conftest.$ac_ext <<_ACEOF
43514 /* confdefs.h. */
43515 _ACEOF
43516 cat confdefs.h >>conftest.$ac_ext
43517 cat >>conftest.$ac_ext <<_ACEOF
43518 /* end confdefs.h. */
43519 #include <netdb.h>
43520 int
43521 main ()
43522 {
43523
43524 char *name;
43525 char *proto;
43526 struct servent *se;
43527 struct servent_data data;
43528 (void) getservbyname_r(name, proto, se, &data);
43529
43530 ;
43531 return 0;
43532 }
43533 _ACEOF
43534 rm -f conftest.$ac_objext
43535 if { (ac_try="$ac_compile"
43536 case "(($ac_try" in
43537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43538 *) ac_try_echo=$ac_try;;
43539 esac
43540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43541 (eval "$ac_compile") 2>conftest.er1
43542 ac_status=$?
43543 grep -v '^ *+' conftest.er1 >conftest.err
43544 rm -f conftest.er1
43545 cat conftest.err >&5
43546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43547 (exit $ac_status); } && {
43548 test -z "$ac_cxx_werror_flag" ||
43549 test ! -s conftest.err
43550 } && test -s conftest.$ac_objext; then
43551 ac_cv_func_which_getservbyname_r=four
43552 else
43553 echo "$as_me: failed program was:" >&5
43554 sed 's/^/| /' conftest.$ac_ext >&5
43555
43556 ac_cv_func_which_getservbyname_r=no
43557
43558 fi
43559
43560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43561
43562
43563 fi
43564
43565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43566
43567
43568 fi
43569
43570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43571 ac_ext=c
43572 ac_cpp='$CPP $CPPFLAGS'
43573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43576
43577
43578
43579 fi
43580 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43581 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43582
43583 if test $ac_cv_func_which_getservbyname_r = six; then
43584 cat >>confdefs.h <<\_ACEOF
43585 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43586 _ACEOF
43587
43588 elif test $ac_cv_func_which_getservbyname_r = five; then
43589 cat >>confdefs.h <<\_ACEOF
43590 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43591 _ACEOF
43592
43593 elif test $ac_cv_func_which_getservbyname_r = four; then
43594 cat >>confdefs.h <<\_ACEOF
43595 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43596 _ACEOF
43597
43598 fi
43599
43600
43601 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43602 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43603
43604 for ac_func in getservbyname
43605 do
43606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43607 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43609 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43610 echo $ECHO_N "(cached) $ECHO_C" >&6
43611 else
43612 cat >conftest.$ac_ext <<_ACEOF
43613 /* confdefs.h. */
43614 _ACEOF
43615 cat confdefs.h >>conftest.$ac_ext
43616 cat >>conftest.$ac_ext <<_ACEOF
43617 /* end confdefs.h. */
43618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43620 #define $ac_func innocuous_$ac_func
43621
43622 /* System header to define __stub macros and hopefully few prototypes,
43623 which can conflict with char $ac_func (); below.
43624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43625 <limits.h> exists even on freestanding compilers. */
43626
43627 #ifdef __STDC__
43628 # include <limits.h>
43629 #else
43630 # include <assert.h>
43631 #endif
43632
43633 #undef $ac_func
43634
43635 /* Override any GCC internal prototype to avoid an error.
43636 Use char because int might match the return type of a GCC
43637 builtin and then its argument prototype would still apply. */
43638 #ifdef __cplusplus
43639 extern "C"
43640 #endif
43641 char $ac_func ();
43642 /* The GNU C library defines this for functions which it implements
43643 to always fail with ENOSYS. Some functions are actually named
43644 something starting with __ and the normal name is an alias. */
43645 #if defined __stub_$ac_func || defined __stub___$ac_func
43646 choke me
43647 #endif
43648
43649 int
43650 main ()
43651 {
43652 return $ac_func ();
43653 ;
43654 return 0;
43655 }
43656 _ACEOF
43657 rm -f conftest.$ac_objext conftest$ac_exeext
43658 if { (ac_try="$ac_link"
43659 case "(($ac_try" in
43660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43661 *) ac_try_echo=$ac_try;;
43662 esac
43663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43664 (eval "$ac_link") 2>conftest.er1
43665 ac_status=$?
43666 grep -v '^ *+' conftest.er1 >conftest.err
43667 rm -f conftest.er1
43668 cat conftest.err >&5
43669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43670 (exit $ac_status); } && {
43671 test -z "$ac_c_werror_flag" ||
43672 test ! -s conftest.err
43673 } && test -s conftest$ac_exeext &&
43674 $as_test_x conftest$ac_exeext; then
43675 eval "$as_ac_var=yes"
43676 else
43677 echo "$as_me: failed program was:" >&5
43678 sed 's/^/| /' conftest.$ac_ext >&5
43679
43680 eval "$as_ac_var=no"
43681 fi
43682
43683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43684 conftest$ac_exeext conftest.$ac_ext
43685 fi
43686 ac_res=`eval echo '${'$as_ac_var'}'`
43687 { echo "$as_me:$LINENO: result: $ac_res" >&5
43688 echo "${ECHO_T}$ac_res" >&6; }
43689 if test `eval echo '${'$as_ac_var'}'` = yes; then
43690 cat >>confdefs.h <<_ACEOF
43691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43692 _ACEOF
43693 cat >>confdefs.h <<\_ACEOF
43694 #define HAVE_GETSERVBYNAME 1
43695 _ACEOF
43696
43697 fi
43698 done
43699
43700 fi
43701
43702 if test "$wxUSE_THREADS" = "yes"; then
43703 cat >>confdefs.h <<\_ACEOF
43704 #define wxUSE_THREADS 1
43705 _ACEOF
43706
43707
43708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43709 else
43710 if test "$wx_cv_func_strtok_r" = "yes"; then
43711 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43712 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43713 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43714 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43715 { echo "$as_me:$LINENO: result: yes" >&5
43716 echo "${ECHO_T}yes" >&6; }
43717 else
43718 { echo "$as_me:$LINENO: result: no" >&5
43719 echo "${ECHO_T}no" >&6; }
43720 fi
43721 fi
43722 fi
43723
43724 if test "$WXGTK20" = 1 ; then
43725 cat >>confdefs.h <<_ACEOF
43726 #define __WXGTK20__ $WXGTK20
43727 _ACEOF
43728
43729 WXGTK12=1
43730 fi
43731
43732 if test "$WXGTK12" = 1 ; then
43733 cat >>confdefs.h <<_ACEOF
43734 #define __WXGTK12__ $WXGTK12
43735 _ACEOF
43736
43737 fi
43738
43739 if test "$WXGTK127" = 1 ; then
43740 cat >>confdefs.h <<_ACEOF
43741 #define __WXGTK127__ $WXGTK127
43742 _ACEOF
43743
43744 fi
43745
43746 if test "$WXGPE" = 1 ; then
43747 cat >>confdefs.h <<_ACEOF
43748 #define __WXGPE__ $WXGPE
43749 _ACEOF
43750
43751 fi
43752
43753 DEBUG_CFLAGS=
43754 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43755 DEBUG_CFLAGS="-g"
43756 wxUSE_OPTIMISE=no
43757 fi
43758
43759 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43760 wxUSE_DEBUG_INFO=yes
43761 if test "$GCC" = yes; then
43762 DEBUG_CFLAGS="-ggdb"
43763 fi
43764 fi
43765
43766 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43767 cat >>confdefs.h <<\_ACEOF
43768 #define WXDEBUG 1
43769 _ACEOF
43770
43771 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43772 else
43773 if test "$wxUSE_GTK" = 1 ; then
43774 if test "x$wxGTK_VERSION" = "x1" ; then
43775 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43776 fi
43777 fi
43778 fi
43779
43780 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43781 cat >>confdefs.h <<\_ACEOF
43782 #define wxUSE_MEMORY_TRACING 1
43783 _ACEOF
43784
43785 cat >>confdefs.h <<\_ACEOF
43786 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43787 _ACEOF
43788
43789 cat >>confdefs.h <<\_ACEOF
43790 #define wxUSE_DEBUG_NEW_ALWAYS 1
43791 _ACEOF
43792
43793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43794 fi
43795
43796 if test "$wxUSE_DMALLOC" = "yes" ; then
43797 DMALLOC_LIBS="-ldmallocthcxx"
43798 fi
43799
43800 PROFILE_FLAGS=
43801 if test "$wxUSE_PROFILE" = "yes" ; then
43802 PROFILE_FLAGS=" -pg"
43803 fi
43804
43805 if test "$GCC" = "yes" ; then
43806 if test "$wxUSE_NO_RTTI" = "yes" ; then
43807 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43808 fi
43809 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43810 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43811 fi
43812 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43813 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43814 fi
43815
43816 case "${host}" in
43817 powerpc*-*-aix* )
43818 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43819 ;;
43820 *-hppa* )
43821 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43822 ;;
43823 esac
43824 fi
43825
43826 OPTIMISE_CFLAGS=
43827 if test "$wxUSE_OPTIMISE" = "no" ; then
43828 if test "$GCC" = yes ; then
43829 OPTIMISE_CFLAGS="-O0"
43830 fi
43831 else
43832 if test "$GCC" = yes ; then
43833 case "${host}" in
43834 *-pc-os2_emx | *-pc-os2-emx )
43835 OPTIMISE_CFLAGS="-O2"
43836 ;;
43837 *)
43838 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43839 ;;
43840 esac
43841 else
43842 OPTIMISE_CFLAGS="-O"
43843 fi
43844 fi
43845
43846
43847 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43848 cat >>confdefs.h <<\_ACEOF
43849 #define WXWIN_COMPATIBILITY_2_6 1
43850 _ACEOF
43851
43852
43853 WXWIN_COMPATIBILITY_2_8="yes"
43854 fi
43855
43856 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43857 cat >>confdefs.h <<\_ACEOF
43858 #define WXWIN_COMPATIBILITY_2_8 1
43859 _ACEOF
43860
43861 fi
43862
43863
43864 if test "$wxUSE_GUI" = "yes"; then
43865 cat >>confdefs.h <<\_ACEOF
43866 #define wxUSE_GUI 1
43867 _ACEOF
43868
43869
43870 fi
43871
43872
43873 if test "$wxUSE_UNIX" = "yes"; then
43874 cat >>confdefs.h <<\_ACEOF
43875 #define wxUSE_UNIX 1
43876 _ACEOF
43877
43878 fi
43879
43880
43881 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43882
43883 HAVE_DL_FUNCS=0
43884 HAVE_SHL_FUNCS=0
43885 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43886 if test "$USE_DARWIN" = 1; then
43887 HAVE_DL_FUNCS=1
43888 elif test "$USE_DOS" = 1; then
43889 HAVE_DL_FUNCS=0
43890 else
43891
43892 for ac_func in dlopen
43893 do
43894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43895 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43897 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43898 echo $ECHO_N "(cached) $ECHO_C" >&6
43899 else
43900 cat >conftest.$ac_ext <<_ACEOF
43901 /* confdefs.h. */
43902 _ACEOF
43903 cat confdefs.h >>conftest.$ac_ext
43904 cat >>conftest.$ac_ext <<_ACEOF
43905 /* end confdefs.h. */
43906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43908 #define $ac_func innocuous_$ac_func
43909
43910 /* System header to define __stub macros and hopefully few prototypes,
43911 which can conflict with char $ac_func (); below.
43912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43913 <limits.h> exists even on freestanding compilers. */
43914
43915 #ifdef __STDC__
43916 # include <limits.h>
43917 #else
43918 # include <assert.h>
43919 #endif
43920
43921 #undef $ac_func
43922
43923 /* Override any GCC internal prototype to avoid an error.
43924 Use char because int might match the return type of a GCC
43925 builtin and then its argument prototype would still apply. */
43926 #ifdef __cplusplus
43927 extern "C"
43928 #endif
43929 char $ac_func ();
43930 /* The GNU C library defines this for functions which it implements
43931 to always fail with ENOSYS. Some functions are actually named
43932 something starting with __ and the normal name is an alias. */
43933 #if defined __stub_$ac_func || defined __stub___$ac_func
43934 choke me
43935 #endif
43936
43937 int
43938 main ()
43939 {
43940 return $ac_func ();
43941 ;
43942 return 0;
43943 }
43944 _ACEOF
43945 rm -f conftest.$ac_objext conftest$ac_exeext
43946 if { (ac_try="$ac_link"
43947 case "(($ac_try" in
43948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43949 *) ac_try_echo=$ac_try;;
43950 esac
43951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43952 (eval "$ac_link") 2>conftest.er1
43953 ac_status=$?
43954 grep -v '^ *+' conftest.er1 >conftest.err
43955 rm -f conftest.er1
43956 cat conftest.err >&5
43957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43958 (exit $ac_status); } && {
43959 test -z "$ac_c_werror_flag" ||
43960 test ! -s conftest.err
43961 } && test -s conftest$ac_exeext &&
43962 $as_test_x conftest$ac_exeext; then
43963 eval "$as_ac_var=yes"
43964 else
43965 echo "$as_me: failed program was:" >&5
43966 sed 's/^/| /' conftest.$ac_ext >&5
43967
43968 eval "$as_ac_var=no"
43969 fi
43970
43971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43972 conftest$ac_exeext conftest.$ac_ext
43973 fi
43974 ac_res=`eval echo '${'$as_ac_var'}'`
43975 { echo "$as_me:$LINENO: result: $ac_res" >&5
43976 echo "${ECHO_T}$ac_res" >&6; }
43977 if test `eval echo '${'$as_ac_var'}'` = yes; then
43978 cat >>confdefs.h <<_ACEOF
43979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43980 _ACEOF
43981
43982 cat >>confdefs.h <<\_ACEOF
43983 #define HAVE_DLOPEN 1
43984 _ACEOF
43985
43986 HAVE_DL_FUNCS=1
43987
43988 else
43989
43990 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43991 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43992 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43993 echo $ECHO_N "(cached) $ECHO_C" >&6
43994 else
43995 ac_check_lib_save_LIBS=$LIBS
43996 LIBS="-ldl $LIBS"
43997 cat >conftest.$ac_ext <<_ACEOF
43998 /* confdefs.h. */
43999 _ACEOF
44000 cat confdefs.h >>conftest.$ac_ext
44001 cat >>conftest.$ac_ext <<_ACEOF
44002 /* end confdefs.h. */
44003
44004 /* Override any GCC internal prototype to avoid an error.
44005 Use char because int might match the return type of a GCC
44006 builtin and then its argument prototype would still apply. */
44007 #ifdef __cplusplus
44008 extern "C"
44009 #endif
44010 char dlopen ();
44011 int
44012 main ()
44013 {
44014 return dlopen ();
44015 ;
44016 return 0;
44017 }
44018 _ACEOF
44019 rm -f conftest.$ac_objext conftest$ac_exeext
44020 if { (ac_try="$ac_link"
44021 case "(($ac_try" in
44022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44023 *) ac_try_echo=$ac_try;;
44024 esac
44025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44026 (eval "$ac_link") 2>conftest.er1
44027 ac_status=$?
44028 grep -v '^ *+' conftest.er1 >conftest.err
44029 rm -f conftest.er1
44030 cat conftest.err >&5
44031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44032 (exit $ac_status); } && {
44033 test -z "$ac_c_werror_flag" ||
44034 test ! -s conftest.err
44035 } && test -s conftest$ac_exeext &&
44036 $as_test_x conftest$ac_exeext; then
44037 ac_cv_lib_dl_dlopen=yes
44038 else
44039 echo "$as_me: failed program was:" >&5
44040 sed 's/^/| /' conftest.$ac_ext >&5
44041
44042 ac_cv_lib_dl_dlopen=no
44043 fi
44044
44045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44046 conftest$ac_exeext conftest.$ac_ext
44047 LIBS=$ac_check_lib_save_LIBS
44048 fi
44049 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44050 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44051 if test $ac_cv_lib_dl_dlopen = yes; then
44052
44053 cat >>confdefs.h <<\_ACEOF
44054 #define HAVE_DLOPEN 1
44055 _ACEOF
44056
44057 HAVE_DL_FUNCS=1
44058 DL_LINK=" -ldl$DL_LINK"
44059
44060 else
44061
44062
44063 for ac_func in shl_load
44064 do
44065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44069 echo $ECHO_N "(cached) $ECHO_C" >&6
44070 else
44071 cat >conftest.$ac_ext <<_ACEOF
44072 /* confdefs.h. */
44073 _ACEOF
44074 cat confdefs.h >>conftest.$ac_ext
44075 cat >>conftest.$ac_ext <<_ACEOF
44076 /* end confdefs.h. */
44077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44079 #define $ac_func innocuous_$ac_func
44080
44081 /* System header to define __stub macros and hopefully few prototypes,
44082 which can conflict with char $ac_func (); below.
44083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44084 <limits.h> exists even on freestanding compilers. */
44085
44086 #ifdef __STDC__
44087 # include <limits.h>
44088 #else
44089 # include <assert.h>
44090 #endif
44091
44092 #undef $ac_func
44093
44094 /* Override any GCC internal prototype to avoid an error.
44095 Use char because int might match the return type of a GCC
44096 builtin and then its argument prototype would still apply. */
44097 #ifdef __cplusplus
44098 extern "C"
44099 #endif
44100 char $ac_func ();
44101 /* The GNU C library defines this for functions which it implements
44102 to always fail with ENOSYS. Some functions are actually named
44103 something starting with __ and the normal name is an alias. */
44104 #if defined __stub_$ac_func || defined __stub___$ac_func
44105 choke me
44106 #endif
44107
44108 int
44109 main ()
44110 {
44111 return $ac_func ();
44112 ;
44113 return 0;
44114 }
44115 _ACEOF
44116 rm -f conftest.$ac_objext conftest$ac_exeext
44117 if { (ac_try="$ac_link"
44118 case "(($ac_try" in
44119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44120 *) ac_try_echo=$ac_try;;
44121 esac
44122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44123 (eval "$ac_link") 2>conftest.er1
44124 ac_status=$?
44125 grep -v '^ *+' conftest.er1 >conftest.err
44126 rm -f conftest.er1
44127 cat conftest.err >&5
44128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44129 (exit $ac_status); } && {
44130 test -z "$ac_c_werror_flag" ||
44131 test ! -s conftest.err
44132 } && test -s conftest$ac_exeext &&
44133 $as_test_x conftest$ac_exeext; then
44134 eval "$as_ac_var=yes"
44135 else
44136 echo "$as_me: failed program was:" >&5
44137 sed 's/^/| /' conftest.$ac_ext >&5
44138
44139 eval "$as_ac_var=no"
44140 fi
44141
44142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44143 conftest$ac_exeext conftest.$ac_ext
44144 fi
44145 ac_res=`eval echo '${'$as_ac_var'}'`
44146 { echo "$as_me:$LINENO: result: $ac_res" >&5
44147 echo "${ECHO_T}$ac_res" >&6; }
44148 if test `eval echo '${'$as_ac_var'}'` = yes; then
44149 cat >>confdefs.h <<_ACEOF
44150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44151 _ACEOF
44152
44153 cat >>confdefs.h <<\_ACEOF
44154 #define HAVE_SHL_LOAD 1
44155 _ACEOF
44156
44157 HAVE_SHL_FUNCS=1
44158
44159 else
44160
44161 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44162 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44163 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44164 echo $ECHO_N "(cached) $ECHO_C" >&6
44165 else
44166 ac_check_lib_save_LIBS=$LIBS
44167 LIBS="-lshl_load $LIBS"
44168 cat >conftest.$ac_ext <<_ACEOF
44169 /* confdefs.h. */
44170 _ACEOF
44171 cat confdefs.h >>conftest.$ac_ext
44172 cat >>conftest.$ac_ext <<_ACEOF
44173 /* end confdefs.h. */
44174
44175 /* Override any GCC internal prototype to avoid an error.
44176 Use char because int might match the return type of a GCC
44177 builtin and then its argument prototype would still apply. */
44178 #ifdef __cplusplus
44179 extern "C"
44180 #endif
44181 char dld ();
44182 int
44183 main ()
44184 {
44185 return dld ();
44186 ;
44187 return 0;
44188 }
44189 _ACEOF
44190 rm -f conftest.$ac_objext conftest$ac_exeext
44191 if { (ac_try="$ac_link"
44192 case "(($ac_try" in
44193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44194 *) ac_try_echo=$ac_try;;
44195 esac
44196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44197 (eval "$ac_link") 2>conftest.er1
44198 ac_status=$?
44199 grep -v '^ *+' conftest.er1 >conftest.err
44200 rm -f conftest.er1
44201 cat conftest.err >&5
44202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44203 (exit $ac_status); } && {
44204 test -z "$ac_c_werror_flag" ||
44205 test ! -s conftest.err
44206 } && test -s conftest$ac_exeext &&
44207 $as_test_x conftest$ac_exeext; then
44208 ac_cv_lib_shl_load_dld=yes
44209 else
44210 echo "$as_me: failed program was:" >&5
44211 sed 's/^/| /' conftest.$ac_ext >&5
44212
44213 ac_cv_lib_shl_load_dld=no
44214 fi
44215
44216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44217 conftest$ac_exeext conftest.$ac_ext
44218 LIBS=$ac_check_lib_save_LIBS
44219 fi
44220 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44221 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44222 if test $ac_cv_lib_shl_load_dld = yes; then
44223
44224 HAVE_SHL_FUNCS=1
44225 DL_LINK=" -ldld$DL_LINK"
44226
44227 fi
44228
44229
44230 fi
44231 done
44232
44233
44234 fi
44235
44236
44237 fi
44238 done
44239
44240
44241 if test "$HAVE_DL_FUNCS" = 1; then
44242
44243 for ac_func in dlerror
44244 do
44245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44246 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44248 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44249 echo $ECHO_N "(cached) $ECHO_C" >&6
44250 else
44251 cat >conftest.$ac_ext <<_ACEOF
44252 /* confdefs.h. */
44253 _ACEOF
44254 cat confdefs.h >>conftest.$ac_ext
44255 cat >>conftest.$ac_ext <<_ACEOF
44256 /* end confdefs.h. */
44257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44259 #define $ac_func innocuous_$ac_func
44260
44261 /* System header to define __stub macros and hopefully few prototypes,
44262 which can conflict with char $ac_func (); below.
44263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44264 <limits.h> exists even on freestanding compilers. */
44265
44266 #ifdef __STDC__
44267 # include <limits.h>
44268 #else
44269 # include <assert.h>
44270 #endif
44271
44272 #undef $ac_func
44273
44274 /* Override any GCC internal prototype to avoid an error.
44275 Use char because int might match the return type of a GCC
44276 builtin and then its argument prototype would still apply. */
44277 #ifdef __cplusplus
44278 extern "C"
44279 #endif
44280 char $ac_func ();
44281 /* The GNU C library defines this for functions which it implements
44282 to always fail with ENOSYS. Some functions are actually named
44283 something starting with __ and the normal name is an alias. */
44284 #if defined __stub_$ac_func || defined __stub___$ac_func
44285 choke me
44286 #endif
44287
44288 int
44289 main ()
44290 {
44291 return $ac_func ();
44292 ;
44293 return 0;
44294 }
44295 _ACEOF
44296 rm -f conftest.$ac_objext conftest$ac_exeext
44297 if { (ac_try="$ac_link"
44298 case "(($ac_try" in
44299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44300 *) ac_try_echo=$ac_try;;
44301 esac
44302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44303 (eval "$ac_link") 2>conftest.er1
44304 ac_status=$?
44305 grep -v '^ *+' conftest.er1 >conftest.err
44306 rm -f conftest.er1
44307 cat conftest.err >&5
44308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44309 (exit $ac_status); } && {
44310 test -z "$ac_c_werror_flag" ||
44311 test ! -s conftest.err
44312 } && test -s conftest$ac_exeext &&
44313 $as_test_x conftest$ac_exeext; then
44314 eval "$as_ac_var=yes"
44315 else
44316 echo "$as_me: failed program was:" >&5
44317 sed 's/^/| /' conftest.$ac_ext >&5
44318
44319 eval "$as_ac_var=no"
44320 fi
44321
44322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44323 conftest$ac_exeext conftest.$ac_ext
44324 fi
44325 ac_res=`eval echo '${'$as_ac_var'}'`
44326 { echo "$as_me:$LINENO: result: $ac_res" >&5
44327 echo "${ECHO_T}$ac_res" >&6; }
44328 if test `eval echo '${'$as_ac_var'}'` = yes; then
44329 cat >>confdefs.h <<_ACEOF
44330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44331 _ACEOF
44332 cat >>confdefs.h <<\_ACEOF
44333 #define HAVE_DLERROR 1
44334 _ACEOF
44335
44336 else
44337
44338 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44339 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44340 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44341 echo $ECHO_N "(cached) $ECHO_C" >&6
44342 else
44343 ac_check_lib_save_LIBS=$LIBS
44344 LIBS="-ldl $LIBS"
44345 cat >conftest.$ac_ext <<_ACEOF
44346 /* confdefs.h. */
44347 _ACEOF
44348 cat confdefs.h >>conftest.$ac_ext
44349 cat >>conftest.$ac_ext <<_ACEOF
44350 /* end confdefs.h. */
44351
44352 /* Override any GCC internal prototype to avoid an error.
44353 Use char because int might match the return type of a GCC
44354 builtin and then its argument prototype would still apply. */
44355 #ifdef __cplusplus
44356 extern "C"
44357 #endif
44358 char dlerror ();
44359 int
44360 main ()
44361 {
44362 return dlerror ();
44363 ;
44364 return 0;
44365 }
44366 _ACEOF
44367 rm -f conftest.$ac_objext conftest$ac_exeext
44368 if { (ac_try="$ac_link"
44369 case "(($ac_try" in
44370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44371 *) ac_try_echo=$ac_try;;
44372 esac
44373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44374 (eval "$ac_link") 2>conftest.er1
44375 ac_status=$?
44376 grep -v '^ *+' conftest.er1 >conftest.err
44377 rm -f conftest.er1
44378 cat conftest.err >&5
44379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44380 (exit $ac_status); } && {
44381 test -z "$ac_c_werror_flag" ||
44382 test ! -s conftest.err
44383 } && test -s conftest$ac_exeext &&
44384 $as_test_x conftest$ac_exeext; then
44385 ac_cv_lib_dl_dlerror=yes
44386 else
44387 echo "$as_me: failed program was:" >&5
44388 sed 's/^/| /' conftest.$ac_ext >&5
44389
44390 ac_cv_lib_dl_dlerror=no
44391 fi
44392
44393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44394 conftest$ac_exeext conftest.$ac_ext
44395 LIBS=$ac_check_lib_save_LIBS
44396 fi
44397 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44398 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44399 if test $ac_cv_lib_dl_dlerror = yes; then
44400 cat >>confdefs.h <<\_ACEOF
44401 #define HAVE_DLERROR 1
44402 _ACEOF
44403
44404 fi
44405
44406
44407
44408 fi
44409 done
44410
44411 fi
44412 fi
44413
44414 if test "$HAVE_DL_FUNCS" = 0; then
44415 if test "$HAVE_SHL_FUNCS" = 0; then
44416 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44417 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44418 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44419 wxUSE_DYNAMIC_LOADER=no
44420 wxUSE_DYNLIB_CLASS=no
44421 else
44422 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44423 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44424 fi
44425 fi
44426 fi
44427 fi
44428 fi
44429
44430 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44431 cat >>confdefs.h <<\_ACEOF
44432 #define wxUSE_DYNAMIC_LOADER 1
44433 _ACEOF
44434
44435 fi
44436 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_DYNLIB_CLASS 1
44439 _ACEOF
44440
44441 fi
44442
44443
44444
44445 if test "$wxUSE_PLUGINS" = "yes" ; then
44446 if test "$wxUSE_SHARED" = "no" ; then
44447 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44448 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44449 wxUSE_PLUGINS=no
44450 fi
44451 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44452 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44453 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44454 wxUSE_PLUGINS=no
44455 fi
44456 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44457 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44458 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44459 wxUSE_PLUGINS=no
44460 fi
44461 if test "$wxUSE_PLUGINS" = "yes" ; then
44462 cat >>confdefs.h <<\_ACEOF
44463 #define wxUSE_PLUGINS 1
44464 _ACEOF
44465
44466 fi
44467 fi
44468
44469
44470 if test "$wxUSE_STL" = "yes"; then
44471 cat >>confdefs.h <<\_ACEOF
44472 #define wxUSE_STL 1
44473 _ACEOF
44474
44475 fi
44476
44477 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44478 cat >>confdefs.h <<\_ACEOF
44479 #define wxUSE_EXTENDED_RTTI 1
44480 _ACEOF
44481
44482 fi
44483
44484 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44485 cat >>confdefs.h <<\_ACEOF
44486 #define wxUSE_APPLE_IEEE 1
44487 _ACEOF
44488
44489 fi
44490
44491 if test "$wxUSE_TIMER" = "yes"; then
44492 cat >>confdefs.h <<\_ACEOF
44493 #define wxUSE_TIMER 1
44494 _ACEOF
44495
44496 fi
44497
44498 if test "$USE_UNIX" = "1" ; then
44499 if test "$wxUSE_MGL" != 1; then
44500 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44501 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44502 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44503 echo $ECHO_N "(cached) $ECHO_C" >&6
44504 else
44505
44506 cat >conftest.$ac_ext <<_ACEOF
44507 /* confdefs.h. */
44508 _ACEOF
44509 cat confdefs.h >>conftest.$ac_ext
44510 cat >>conftest.$ac_ext <<_ACEOF
44511 /* end confdefs.h. */
44512
44513 #include <sys/ioctl.h>
44514 #include <sys/soundcard.h>
44515
44516 int
44517 main ()
44518 {
44519
44520 ioctl(0, SNDCTL_DSP_SPEED, 0);
44521
44522 ;
44523 return 0;
44524 }
44525 _ACEOF
44526 rm -f conftest.$ac_objext conftest$ac_exeext
44527 if { (ac_try="$ac_link"
44528 case "(($ac_try" in
44529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44530 *) ac_try_echo=$ac_try;;
44531 esac
44532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44533 (eval "$ac_link") 2>conftest.er1
44534 ac_status=$?
44535 grep -v '^ *+' conftest.er1 >conftest.err
44536 rm -f conftest.er1
44537 cat conftest.err >&5
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); } && {
44540 test -z "$ac_c_werror_flag" ||
44541 test ! -s conftest.err
44542 } && test -s conftest$ac_exeext &&
44543 $as_test_x conftest$ac_exeext; then
44544 ac_cv_header_sys_soundcard=yes
44545 else
44546 echo "$as_me: failed program was:" >&5
44547 sed 's/^/| /' conftest.$ac_ext >&5
44548
44549
44550 saveLibs="$LIBS"
44551 LIBS="$saveLibs -lossaudio"
44552 cat >conftest.$ac_ext <<_ACEOF
44553 /* confdefs.h. */
44554 _ACEOF
44555 cat confdefs.h >>conftest.$ac_ext
44556 cat >>conftest.$ac_ext <<_ACEOF
44557 /* end confdefs.h. */
44558
44559 #include <sys/ioctl.h>
44560 #include <sys/soundcard.h>
44561
44562 int
44563 main ()
44564 {
44565
44566 ioctl(0, SNDCTL_DSP_SPEED, 0);
44567
44568 ;
44569 return 0;
44570 }
44571 _ACEOF
44572 rm -f conftest.$ac_objext conftest$ac_exeext
44573 if { (ac_try="$ac_link"
44574 case "(($ac_try" in
44575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44576 *) ac_try_echo=$ac_try;;
44577 esac
44578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44579 (eval "$ac_link") 2>conftest.er1
44580 ac_status=$?
44581 grep -v '^ *+' conftest.er1 >conftest.err
44582 rm -f conftest.er1
44583 cat conftest.err >&5
44584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44585 (exit $ac_status); } && {
44586 test -z "$ac_c_werror_flag" ||
44587 test ! -s conftest.err
44588 } && test -s conftest$ac_exeext &&
44589 $as_test_x conftest$ac_exeext; then
44590 ac_cv_header_sys_soundcard=yes
44591 else
44592 echo "$as_me: failed program was:" >&5
44593 sed 's/^/| /' conftest.$ac_ext >&5
44594
44595
44596 LIBS="$saveLibs"
44597 ac_cv_header_sys_soundcard=no
44598
44599
44600 fi
44601
44602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44603 conftest$ac_exeext conftest.$ac_ext
44604
44605
44606 fi
44607
44608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44609 conftest$ac_exeext conftest.$ac_ext
44610
44611 fi
44612 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44613 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44614 fi
44615
44616 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44617 cat >>confdefs.h <<\_ACEOF
44618 #define HAVE_SYS_SOUNDCARD_H 1
44619 _ACEOF
44620
44621 fi
44622 fi
44623
44624 WITH_PLUGIN_SDL=0
44625 if test "$wxUSE_SOUND" = "yes"; then
44626 if test "$USE_UNIX" = "1" ; then
44627 if test "$wxUSE_LIBSDL" != "no"; then
44628
44629 # Check whether --with-sdl-prefix was given.
44630 if test "${with_sdl_prefix+set}" = set; then
44631 withval=$with_sdl_prefix; sdl_prefix="$withval"
44632 else
44633 sdl_prefix=""
44634 fi
44635
44636
44637 # Check whether --with-sdl-exec-prefix was given.
44638 if test "${with_sdl_exec_prefix+set}" = set; then
44639 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44640 else
44641 sdl_exec_prefix=""
44642 fi
44643
44644 # Check whether --enable-sdltest was given.
44645 if test "${enable_sdltest+set}" = set; then
44646 enableval=$enable_sdltest;
44647 else
44648 enable_sdltest=yes
44649 fi
44650
44651
44652 if test x$sdl_exec_prefix != x ; then
44653 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44654 if test x${SDL_CONFIG+set} != xset ; then
44655 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44656 fi
44657 fi
44658 if test x$sdl_prefix != x ; then
44659 sdl_args="$sdl_args --prefix=$sdl_prefix"
44660 if test x${SDL_CONFIG+set} != xset ; then
44661 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44662 fi
44663 fi
44664
44665 if test "x$prefix" != xNONE; then
44666 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44667 fi
44668 # Extract the first word of "sdl-config", so it can be a program name with args.
44669 set dummy sdl-config; ac_word=$2
44670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44672 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44673 echo $ECHO_N "(cached) $ECHO_C" >&6
44674 else
44675 case $SDL_CONFIG in
44676 [\\/]* | ?:[\\/]*)
44677 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44678 ;;
44679 *)
44680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44681 for as_dir in $PATH
44682 do
44683 IFS=$as_save_IFS
44684 test -z "$as_dir" && as_dir=.
44685 for ac_exec_ext in '' $ac_executable_extensions; do
44686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44687 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44689 break 2
44690 fi
44691 done
44692 done
44693 IFS=$as_save_IFS
44694
44695 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44696 ;;
44697 esac
44698 fi
44699 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44700 if test -n "$SDL_CONFIG"; then
44701 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44702 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44703 else
44704 { echo "$as_me:$LINENO: result: no" >&5
44705 echo "${ECHO_T}no" >&6; }
44706 fi
44707
44708
44709 min_sdl_version=1.2.0
44710 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44711 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44712 no_sdl=""
44713 if test "$SDL_CONFIG" = "no" ; then
44714 no_sdl=yes
44715 else
44716 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44717 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44718
44719 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44721 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44722 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44723 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44724 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44725 if test "x$enable_sdltest" = "xyes" ; then
44726 ac_save_CFLAGS="$CFLAGS"
44727 ac_save_CXXFLAGS="$CXXFLAGS"
44728 ac_save_LIBS="$LIBS"
44729 CFLAGS="$CFLAGS $SDL_CFLAGS"
44730 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44731 LIBS="$LIBS $SDL_LIBS"
44732 rm -f conf.sdltest
44733 if test "$cross_compiling" = yes; then
44734 echo $ac_n "cross compiling; assumed OK... $ac_c"
44735 else
44736 cat >conftest.$ac_ext <<_ACEOF
44737 /* confdefs.h. */
44738 _ACEOF
44739 cat confdefs.h >>conftest.$ac_ext
44740 cat >>conftest.$ac_ext <<_ACEOF
44741 /* end confdefs.h. */
44742
44743 #include <stdio.h>
44744 #include <stdlib.h>
44745 #include <string.h>
44746 #include "SDL.h"
44747
44748 char*
44749 my_strdup (char *str)
44750 {
44751 char *new_str;
44752
44753 if (str)
44754 {
44755 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44756 strcpy (new_str, str);
44757 }
44758 else
44759 new_str = NULL;
44760
44761 return new_str;
44762 }
44763
44764 int main (int argc, char *argv[])
44765 {
44766 int major, minor, micro;
44767 char *tmp_version;
44768
44769 /* This hangs on some systems (?)
44770 system ("touch conf.sdltest");
44771 */
44772 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44773
44774 /* HP/UX 9 (%@#!) writes to sscanf strings */
44775 tmp_version = my_strdup("$min_sdl_version");
44776 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44777 printf("%s, bad version string\n", "$min_sdl_version");
44778 exit(1);
44779 }
44780
44781 if (($sdl_major_version > major) ||
44782 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44783 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44784 {
44785 return 0;
44786 }
44787 else
44788 {
44789 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44790 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44791 printf("*** best to upgrade to the required version.\n");
44792 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44793 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44794 printf("*** config.cache before re-running configure\n");
44795 return 1;
44796 }
44797 }
44798
44799
44800 _ACEOF
44801 rm -f conftest$ac_exeext
44802 if { (ac_try="$ac_link"
44803 case "(($ac_try" in
44804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44805 *) ac_try_echo=$ac_try;;
44806 esac
44807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44808 (eval "$ac_link") 2>&5
44809 ac_status=$?
44810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44812 { (case "(($ac_try" in
44813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44814 *) ac_try_echo=$ac_try;;
44815 esac
44816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44817 (eval "$ac_try") 2>&5
44818 ac_status=$?
44819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44820 (exit $ac_status); }; }; then
44821 :
44822 else
44823 echo "$as_me: program exited with status $ac_status" >&5
44824 echo "$as_me: failed program was:" >&5
44825 sed 's/^/| /' conftest.$ac_ext >&5
44826
44827 ( exit $ac_status )
44828 no_sdl=yes
44829 fi
44830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44831 fi
44832
44833
44834 CFLAGS="$ac_save_CFLAGS"
44835 CXXFLAGS="$ac_save_CXXFLAGS"
44836 LIBS="$ac_save_LIBS"
44837 fi
44838 fi
44839 if test "x$no_sdl" = x ; then
44840 { echo "$as_me:$LINENO: result: yes" >&5
44841 echo "${ECHO_T}yes" >&6; }
44842
44843 EXTRALIBS_SDL="$SDL_LIBS"
44844 CFLAGS="$SDL_CFLAGS $CFLAGS"
44845 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_LIBSDL 1
44848 _ACEOF
44849
44850
44851 else
44852 { echo "$as_me:$LINENO: result: no" >&5
44853 echo "${ECHO_T}no" >&6; }
44854 if test "$SDL_CONFIG" = "no" ; then
44855 echo "*** The sdl-config script installed by SDL could not be found"
44856 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44857 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44858 echo "*** full path to sdl-config."
44859 else
44860 if test -f conf.sdltest ; then
44861 :
44862 else
44863 echo "*** Could not run SDL test program, checking why..."
44864 CFLAGS="$CFLAGS $SDL_CFLAGS"
44865 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44866 LIBS="$LIBS $SDL_LIBS"
44867 cat >conftest.$ac_ext <<_ACEOF
44868 /* confdefs.h. */
44869 _ACEOF
44870 cat confdefs.h >>conftest.$ac_ext
44871 cat >>conftest.$ac_ext <<_ACEOF
44872 /* end confdefs.h. */
44873
44874 #include <stdio.h>
44875 #include "SDL.h"
44876
44877 int main(int argc, char *argv[])
44878 { return 0; }
44879 #undef main
44880 #define main K_and_R_C_main
44881
44882 int
44883 main ()
44884 {
44885 return 0;
44886 ;
44887 return 0;
44888 }
44889 _ACEOF
44890 rm -f conftest.$ac_objext conftest$ac_exeext
44891 if { (ac_try="$ac_link"
44892 case "(($ac_try" in
44893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44894 *) ac_try_echo=$ac_try;;
44895 esac
44896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44897 (eval "$ac_link") 2>conftest.er1
44898 ac_status=$?
44899 grep -v '^ *+' conftest.er1 >conftest.err
44900 rm -f conftest.er1
44901 cat conftest.err >&5
44902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44903 (exit $ac_status); } && {
44904 test -z "$ac_c_werror_flag" ||
44905 test ! -s conftest.err
44906 } && test -s conftest$ac_exeext &&
44907 $as_test_x conftest$ac_exeext; then
44908 echo "*** The test program compiled, but did not run. This usually means"
44909 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44910 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44911 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44912 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44913 echo "*** is required on your system"
44914 echo "***"
44915 echo "*** If you have an old version installed, it is best to remove it, although"
44916 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44917 else
44918 echo "$as_me: failed program was:" >&5
44919 sed 's/^/| /' conftest.$ac_ext >&5
44920
44921 echo "*** The test program failed to compile or link. See the file config.log for the"
44922 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44923 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44924 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44925 fi
44926
44927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44928 conftest$ac_exeext conftest.$ac_ext
44929 CFLAGS="$ac_save_CFLAGS"
44930 CXXFLAGS="$ac_save_CXXFLAGS"
44931 LIBS="$ac_save_LIBS"
44932 fi
44933 fi
44934 SDL_CFLAGS=""
44935 SDL_LIBS=""
44936 wxUSE_LIBSDL="no"
44937 fi
44938
44939
44940 rm -f conf.sdltest
44941
44942 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44943 WITH_PLUGIN_SDL=1
44944 fi
44945 fi
44946 else
44947 if test "$wxUSE_MGL" = 1; then
44948 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44949 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44950 wxUSE_SOUND="no"
44951 fi
44952 fi
44953 fi
44954
44955 if test "$wxUSE_SOUND" = "yes"; then
44956 cat >>confdefs.h <<\_ACEOF
44957 #define wxUSE_SOUND 1
44958 _ACEOF
44959
44960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44961 fi
44962
44963 if test "$WXGTK20" = 1; then
44964
44965
44966 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44967 if test -n "$ac_tool_prefix"; then
44968 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44969 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44972 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44973 echo $ECHO_N "(cached) $ECHO_C" >&6
44974 else
44975 case $PKG_CONFIG in
44976 [\\/]* | ?:[\\/]*)
44977 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44978 ;;
44979 *)
44980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44981 for as_dir in $PATH
44982 do
44983 IFS=$as_save_IFS
44984 test -z "$as_dir" && as_dir=.
44985 for ac_exec_ext in '' $ac_executable_extensions; do
44986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44987 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44989 break 2
44990 fi
44991 done
44992 done
44993 IFS=$as_save_IFS
44994
44995 ;;
44996 esac
44997 fi
44998 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44999 if test -n "$PKG_CONFIG"; then
45000 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45001 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45002 else
45003 { echo "$as_me:$LINENO: result: no" >&5
45004 echo "${ECHO_T}no" >&6; }
45005 fi
45006
45007
45008 fi
45009 if test -z "$ac_cv_path_PKG_CONFIG"; then
45010 ac_pt_PKG_CONFIG=$PKG_CONFIG
45011 # Extract the first word of "pkg-config", so it can be a program name with args.
45012 set dummy pkg-config; ac_word=$2
45013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45015 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45016 echo $ECHO_N "(cached) $ECHO_C" >&6
45017 else
45018 case $ac_pt_PKG_CONFIG in
45019 [\\/]* | ?:[\\/]*)
45020 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45021 ;;
45022 *)
45023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45024 for as_dir in $PATH
45025 do
45026 IFS=$as_save_IFS
45027 test -z "$as_dir" && as_dir=.
45028 for ac_exec_ext in '' $ac_executable_extensions; do
45029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45030 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45032 break 2
45033 fi
45034 done
45035 done
45036 IFS=$as_save_IFS
45037
45038 ;;
45039 esac
45040 fi
45041 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45042 if test -n "$ac_pt_PKG_CONFIG"; then
45043 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45044 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45045 else
45046 { echo "$as_me:$LINENO: result: no" >&5
45047 echo "${ECHO_T}no" >&6; }
45048 fi
45049
45050 if test "x$ac_pt_PKG_CONFIG" = x; then
45051 PKG_CONFIG=""
45052 else
45053 case $cross_compiling:$ac_tool_warned in
45054 yes:)
45055 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45056 whose name does not start with the host triplet. If you think this
45057 configuration is useful to you, please write to autoconf@gnu.org." >&5
45058 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45059 whose name does not start with the host triplet. If you think this
45060 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45061 ac_tool_warned=yes ;;
45062 esac
45063 PKG_CONFIG=$ac_pt_PKG_CONFIG
45064 fi
45065 else
45066 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45067 fi
45068
45069 fi
45070 if test -n "$PKG_CONFIG"; then
45071 _pkg_min_version=0.9.0
45072 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45073 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45074 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45075 { echo "$as_me:$LINENO: result: yes" >&5
45076 echo "${ECHO_T}yes" >&6; }
45077 else
45078 { echo "$as_me:$LINENO: result: no" >&5
45079 echo "${ECHO_T}no" >&6; }
45080 PKG_CONFIG=""
45081 fi
45082
45083 fi
45084
45085 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45086 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45087
45088
45089 pkg_failed=no
45090 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45091 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45092
45093 if test -n "$PKG_CONFIG"; then
45094 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45095 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45096 else
45097 if test -n "$PKG_CONFIG" && \
45098 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45099 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45100 ac_status=$?
45101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45102 (exit $ac_status); }; then
45103 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45104 else
45105 pkg_failed=yes
45106 fi
45107 fi
45108 else
45109 pkg_failed=untried
45110 fi
45111 if test -n "$PKG_CONFIG"; then
45112 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45113 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45114 else
45115 if test -n "$PKG_CONFIG" && \
45116 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45117 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45118 ac_status=$?
45119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45120 (exit $ac_status); }; then
45121 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45122 else
45123 pkg_failed=yes
45124 fi
45125 fi
45126 else
45127 pkg_failed=untried
45128 fi
45129
45130
45131
45132 if test $pkg_failed = yes; then
45133
45134 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45135 _pkg_short_errors_supported=yes
45136 else
45137 _pkg_short_errors_supported=no
45138 fi
45139 if test $_pkg_short_errors_supported = yes; then
45140 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45141 else
45142 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45143 fi
45144 # Put the nasty error message in config.log where it belongs
45145 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45146
45147
45148 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45149 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45150 wxUSE_LIBGNOMEPRINT="no"
45151
45152
45153 elif test $pkg_failed = untried; then
45154
45155 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45156 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45157 wxUSE_LIBGNOMEPRINT="no"
45158
45159
45160 else
45161 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45162 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45163 { echo "$as_me:$LINENO: result: yes" >&5
45164 echo "${ECHO_T}yes" >&6; }
45165
45166 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45167 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_LIBGNOMEPRINT 1
45170 _ACEOF
45171
45172
45173 fi
45174 fi
45175 fi
45176
45177 if test "$wxUSE_MIMETYPE" = "yes" ; then
45178 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45179
45180
45181 pkg_failed=no
45182 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45183 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45184
45185 if test -n "$PKG_CONFIG"; then
45186 if test -n "$GNOMEVFS_CFLAGS"; then
45187 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45188 else
45189 if test -n "$PKG_CONFIG" && \
45190 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45191 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45192 ac_status=$?
45193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45194 (exit $ac_status); }; then
45195 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45196 else
45197 pkg_failed=yes
45198 fi
45199 fi
45200 else
45201 pkg_failed=untried
45202 fi
45203 if test -n "$PKG_CONFIG"; then
45204 if test -n "$GNOMEVFS_LIBS"; then
45205 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45206 else
45207 if test -n "$PKG_CONFIG" && \
45208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45209 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45210 ac_status=$?
45211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45212 (exit $ac_status); }; then
45213 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45214 else
45215 pkg_failed=yes
45216 fi
45217 fi
45218 else
45219 pkg_failed=untried
45220 fi
45221
45222
45223
45224 if test $pkg_failed = yes; then
45225
45226 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45227 _pkg_short_errors_supported=yes
45228 else
45229 _pkg_short_errors_supported=no
45230 fi
45231 if test $_pkg_short_errors_supported = yes; then
45232 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45233 else
45234 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45235 fi
45236 # Put the nasty error message in config.log where it belongs
45237 echo "$GNOMEVFS_PKG_ERRORS" >&5
45238
45239
45240 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45241 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45242 wxUSE_LIBGNOMEVFS="no"
45243
45244
45245 elif test $pkg_failed = untried; then
45246
45247 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45248 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45249 wxUSE_LIBGNOMEVFS="no"
45250
45251
45252 else
45253 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45254 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45255 { echo "$as_me:$LINENO: result: yes" >&5
45256 echo "${ECHO_T}yes" >&6; }
45257
45258 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45259 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45260 cat >>confdefs.h <<\_ACEOF
45261 #define wxUSE_LIBGNOMEVFS 1
45262 _ACEOF
45263
45264
45265 fi
45266 fi
45267 fi
45268
45269 if test "$wxUSE_LIBHILDON" = "yes" ; then
45270
45271 pkg_failed=no
45272 { echo "$as_me:$LINENO: checking for HILDON" >&5
45273 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45274
45275 if test -n "$PKG_CONFIG"; then
45276 if test -n "$HILDON_CFLAGS"; then
45277 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45278 else
45279 if test -n "$PKG_CONFIG" && \
45280 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45281 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45282 ac_status=$?
45283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45284 (exit $ac_status); }; then
45285 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45286 else
45287 pkg_failed=yes
45288 fi
45289 fi
45290 else
45291 pkg_failed=untried
45292 fi
45293 if test -n "$PKG_CONFIG"; then
45294 if test -n "$HILDON_LIBS"; then
45295 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45296 else
45297 if test -n "$PKG_CONFIG" && \
45298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45299 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45300 ac_status=$?
45301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45302 (exit $ac_status); }; then
45303 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45304 else
45305 pkg_failed=yes
45306 fi
45307 fi
45308 else
45309 pkg_failed=untried
45310 fi
45311
45312
45313
45314 if test $pkg_failed = yes; then
45315
45316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45317 _pkg_short_errors_supported=yes
45318 else
45319 _pkg_short_errors_supported=no
45320 fi
45321 if test $_pkg_short_errors_supported = yes; then
45322 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45323 else
45324 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45325 fi
45326 # Put the nasty error message in config.log where it belongs
45327 echo "$HILDON_PKG_ERRORS" >&5
45328
45329
45330 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45331 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45332 wxUSE_LIBHILDON="no"
45333
45334
45335 elif test $pkg_failed = untried; then
45336
45337 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45338 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45339 wxUSE_LIBHILDON="no"
45340
45341
45342 else
45343 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45344 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45345 { echo "$as_me:$LINENO: result: yes" >&5
45346 echo "${ECHO_T}yes" >&6; }
45347
45348 EXTRALIBS_HILDON="$HILDON_LIBS"
45349 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45350 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45351 cat >>confdefs.h <<\_ACEOF
45352 #define wxUSE_LIBHILDON 1
45353 _ACEOF
45354
45355
45356 fi
45357 fi
45358 fi
45359
45360 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_CMDLINE_PARSER 1
45363 _ACEOF
45364
45365 fi
45366
45367 if test "$wxUSE_STOPWATCH" = "yes"; then
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_STOPWATCH 1
45370 _ACEOF
45371
45372 fi
45373
45374 if test "$wxUSE_DATETIME" = "yes"; then
45375 cat >>confdefs.h <<\_ACEOF
45376 #define wxUSE_DATETIME 1
45377 _ACEOF
45378
45379 fi
45380
45381 if test "$wxUSE_FILE" = "yes"; then
45382 cat >>confdefs.h <<\_ACEOF
45383 #define wxUSE_FILE 1
45384 _ACEOF
45385
45386 fi
45387
45388 if test "$wxUSE_FFILE" = "yes"; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_FFILE 1
45391 _ACEOF
45392
45393 fi
45394
45395 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45396 if test "$wxUSE_STREAMS" != yes; then
45397 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45398 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45399 wxUSE_ARCHIVE_STREAMS=no
45400 else
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_ARCHIVE_STREAMS 1
45403 _ACEOF
45404
45405 fi
45406 fi
45407
45408 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45409 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45410 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45411 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45412 elif test "$wxUSE_ZLIB" = "no"; then
45413 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45414 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45415 else
45416 cat >>confdefs.h <<\_ACEOF
45417 #define wxUSE_ZIPSTREAM 1
45418 _ACEOF
45419
45420 fi
45421 fi
45422
45423 if test "$wxUSE_TARSTREAM" = "yes"; then
45424 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45425 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45426 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45427 else
45428 cat >>confdefs.h <<\_ACEOF
45429 #define wxUSE_TARSTREAM 1
45430 _ACEOF
45431
45432 fi
45433 fi
45434
45435 if test "$wxUSE_FILESYSTEM" = "yes"; then
45436 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45437 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45438 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45439 wxUSE_FILESYSTEM=no
45440 else
45441 cat >>confdefs.h <<\_ACEOF
45442 #define wxUSE_FILESYSTEM 1
45443 _ACEOF
45444
45445 fi
45446 fi
45447
45448 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45449 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45450 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45451 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45452 else
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_FS_ARCHIVE 1
45455 _ACEOF
45456
45457 fi
45458 fi
45459
45460 if test "$wxUSE_FS_ZIP" = "yes"; then
45461 if test "$wxUSE_FS_ARCHIVE" != yes; then
45462 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45463 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45464 else
45465 cat >>confdefs.h <<\_ACEOF
45466 #define wxUSE_FS_ZIP 1
45467 _ACEOF
45468
45469 fi
45470 fi
45471
45472 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45473 if test "$USE_UNIX" != 1; then
45474 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45475 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45476 wxUSE_ON_FATAL_EXCEPTION=no
45477 else
45478 cat >>confdefs.h <<\_ACEOF
45479 #define wxUSE_ON_FATAL_EXCEPTION 1
45480 _ACEOF
45481
45482 fi
45483 fi
45484
45485 if test "$wxUSE_STACKWALKER" = "yes"; then
45486 cat >>confdefs.h <<\_ACEOF
45487 #define wxUSE_STACKWALKER 1
45488 _ACEOF
45489
45490 fi
45491
45492 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45493 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45494 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45495 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45496 wxUSE_DEBUGREPORT=no
45497 else
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_DEBUGREPORT 1
45500 _ACEOF
45501
45502 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45504 fi
45505 fi
45506 fi
45507
45508 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_SNGLINST_CHECKER 1
45511 _ACEOF
45512
45513 fi
45514
45515 if test "$wxUSE_BUSYINFO" = "yes"; then
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_BUSYINFO 1
45518 _ACEOF
45519
45520 fi
45521
45522 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_STD_IOSTREAM 1
45525 _ACEOF
45526
45527 fi
45528
45529 if test "$wxUSE_STD_STRING" = "yes"; then
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_STD_STRING 1
45532 _ACEOF
45533
45534 fi
45535
45536 if test "$wxUSE_STDPATHS" = "yes"; then
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_STDPATHS 1
45539 _ACEOF
45540
45541 fi
45542
45543 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_TEXTBUFFER 1
45546 _ACEOF
45547
45548 fi
45549
45550 if test "$wxUSE_TEXTFILE" = "yes"; then
45551 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45552 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45553 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45554 else
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_TEXTFILE 1
45557 _ACEOF
45558
45559 fi
45560 fi
45561
45562 if test "$wxUSE_CONFIG" = "yes" ; then
45563 if test "$wxUSE_TEXTFILE" != "yes"; then
45564 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45565 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45566 else
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_CONFIG 1
45569 _ACEOF
45570
45571 cat >>confdefs.h <<\_ACEOF
45572 #define wxUSE_CONFIG_NATIVE 1
45573 _ACEOF
45574
45575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45576 fi
45577 fi
45578
45579 if test "$wxUSE_INTL" = "yes" ; then
45580 if test "$wxUSE_FILE" != "yes"; then
45581 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45582 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45583 else
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_INTL 1
45586 _ACEOF
45587
45588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45589 GUIDIST="$GUIDIST INTL_DIST"
45590 fi
45591 fi
45592
45593 if test "$wxUSE_LOG" = "yes"; then
45594 cat >>confdefs.h <<\_ACEOF
45595 #define wxUSE_LOG 1
45596 _ACEOF
45597
45598
45599 if test "$wxUSE_LOGGUI" = "yes"; then
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_LOGGUI 1
45602 _ACEOF
45603
45604 fi
45605
45606 if test "$wxUSE_LOGWINDOW" = "yes"; then
45607 cat >>confdefs.h <<\_ACEOF
45608 #define wxUSE_LOGWINDOW 1
45609 _ACEOF
45610
45611 fi
45612
45613 if test "$wxUSE_LOGDIALOG" = "yes"; then
45614 cat >>confdefs.h <<\_ACEOF
45615 #define wxUSE_LOG_DIALOG 1
45616 _ACEOF
45617
45618 fi
45619
45620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45621 fi
45622
45623 if test "$wxUSE_LONGLONG" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_LONGLONG 1
45626 _ACEOF
45627
45628 fi
45629
45630 if test "$wxUSE_GEOMETRY" = "yes"; then
45631 cat >>confdefs.h <<\_ACEOF
45632 #define wxUSE_GEOMETRY 1
45633 _ACEOF
45634
45635 fi
45636
45637 if test "$wxUSE_BASE64" = "yes"; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_BASE64 1
45640 _ACEOF
45641
45642 fi
45643
45644 if test "$wxUSE_STREAMS" = "yes" ; then
45645 cat >>confdefs.h <<\_ACEOF
45646 #define wxUSE_STREAMS 1
45647 _ACEOF
45648
45649 fi
45650
45651 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_PRINTF_POS_PARAMS 1
45654 _ACEOF
45655
45656 fi
45657
45658 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_OBJC_UNIQUIFYING 1
45661 _ACEOF
45662
45663 fi
45664
45665
45666 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45667 cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_CONSOLE_EVENTLOOP 1
45669 _ACEOF
45670
45671
45672 if test "$wxUSE_UNIX" = "yes"; then
45673 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_SELECT_DISPATCHER 1
45676 _ACEOF
45677
45678 fi
45679
45680 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45681
45682 for ac_header in sys/epoll.h
45683 do
45684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45689 echo $ECHO_N "(cached) $ECHO_C" >&6
45690 fi
45691 ac_res=`eval echo '${'$as_ac_Header'}'`
45692 { echo "$as_me:$LINENO: result: $ac_res" >&5
45693 echo "${ECHO_T}$ac_res" >&6; }
45694 else
45695 # Is the header compilable?
45696 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45697 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45698 cat >conftest.$ac_ext <<_ACEOF
45699 /* confdefs.h. */
45700 _ACEOF
45701 cat confdefs.h >>conftest.$ac_ext
45702 cat >>conftest.$ac_ext <<_ACEOF
45703 /* end confdefs.h. */
45704 $ac_includes_default
45705 #include <$ac_header>
45706 _ACEOF
45707 rm -f conftest.$ac_objext
45708 if { (ac_try="$ac_compile"
45709 case "(($ac_try" in
45710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45711 *) ac_try_echo=$ac_try;;
45712 esac
45713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45714 (eval "$ac_compile") 2>conftest.er1
45715 ac_status=$?
45716 grep -v '^ *+' conftest.er1 >conftest.err
45717 rm -f conftest.er1
45718 cat conftest.err >&5
45719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45720 (exit $ac_status); } && {
45721 test -z "$ac_c_werror_flag" ||
45722 test ! -s conftest.err
45723 } && test -s conftest.$ac_objext; then
45724 ac_header_compiler=yes
45725 else
45726 echo "$as_me: failed program was:" >&5
45727 sed 's/^/| /' conftest.$ac_ext >&5
45728
45729 ac_header_compiler=no
45730 fi
45731
45732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45733 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45734 echo "${ECHO_T}$ac_header_compiler" >&6; }
45735
45736 # Is the header present?
45737 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45739 cat >conftest.$ac_ext <<_ACEOF
45740 /* confdefs.h. */
45741 _ACEOF
45742 cat confdefs.h >>conftest.$ac_ext
45743 cat >>conftest.$ac_ext <<_ACEOF
45744 /* end confdefs.h. */
45745 #include <$ac_header>
45746 _ACEOF
45747 if { (ac_try="$ac_cpp conftest.$ac_ext"
45748 case "(($ac_try" in
45749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45750 *) ac_try_echo=$ac_try;;
45751 esac
45752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45754 ac_status=$?
45755 grep -v '^ *+' conftest.er1 >conftest.err
45756 rm -f conftest.er1
45757 cat conftest.err >&5
45758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45759 (exit $ac_status); } >/dev/null && {
45760 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45761 test ! -s conftest.err
45762 }; then
45763 ac_header_preproc=yes
45764 else
45765 echo "$as_me: failed program was:" >&5
45766 sed 's/^/| /' conftest.$ac_ext >&5
45767
45768 ac_header_preproc=no
45769 fi
45770
45771 rm -f conftest.err conftest.$ac_ext
45772 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45773 echo "${ECHO_T}$ac_header_preproc" >&6; }
45774
45775 # So? What about this header?
45776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45777 yes:no: )
45778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45781 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45782 ac_header_preproc=yes
45783 ;;
45784 no:yes:* )
45785 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45787 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45789 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45790 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45791 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45792 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45795 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45796 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45797 ( cat <<\_ASBOX
45798 ## ----------------------------------------- ##
45799 ## Report this to wx-dev@lists.wxwidgets.org ##
45800 ## ----------------------------------------- ##
45801 _ASBOX
45802 ) | sed "s/^/$as_me: WARNING: /" >&2
45803 ;;
45804 esac
45805 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45808 echo $ECHO_N "(cached) $ECHO_C" >&6
45809 else
45810 eval "$as_ac_Header=\$ac_header_preproc"
45811 fi
45812 ac_res=`eval echo '${'$as_ac_Header'}'`
45813 { echo "$as_me:$LINENO: result: $ac_res" >&5
45814 echo "${ECHO_T}$ac_res" >&6; }
45815
45816 fi
45817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45818 cat >>confdefs.h <<_ACEOF
45819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45820 _ACEOF
45821
45822 fi
45823
45824 done
45825
45826 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45827 cat >>confdefs.h <<\_ACEOF
45828 #define wxUSE_EPOLL_DISPATCHER 1
45829 _ACEOF
45830
45831 else
45832 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45833 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45834 fi
45835 fi
45836 fi
45837 fi
45838
45839
45840
45841
45842 for ac_func in gettimeofday ftime
45843 do
45844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45845 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45847 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45848 echo $ECHO_N "(cached) $ECHO_C" >&6
45849 else
45850 cat >conftest.$ac_ext <<_ACEOF
45851 /* confdefs.h. */
45852 _ACEOF
45853 cat confdefs.h >>conftest.$ac_ext
45854 cat >>conftest.$ac_ext <<_ACEOF
45855 /* end confdefs.h. */
45856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45858 #define $ac_func innocuous_$ac_func
45859
45860 /* System header to define __stub macros and hopefully few prototypes,
45861 which can conflict with char $ac_func (); below.
45862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45863 <limits.h> exists even on freestanding compilers. */
45864
45865 #ifdef __STDC__
45866 # include <limits.h>
45867 #else
45868 # include <assert.h>
45869 #endif
45870
45871 #undef $ac_func
45872
45873 /* Override any GCC internal prototype to avoid an error.
45874 Use char because int might match the return type of a GCC
45875 builtin and then its argument prototype would still apply. */
45876 #ifdef __cplusplus
45877 extern "C"
45878 #endif
45879 char $ac_func ();
45880 /* The GNU C library defines this for functions which it implements
45881 to always fail with ENOSYS. Some functions are actually named
45882 something starting with __ and the normal name is an alias. */
45883 #if defined __stub_$ac_func || defined __stub___$ac_func
45884 choke me
45885 #endif
45886
45887 int
45888 main ()
45889 {
45890 return $ac_func ();
45891 ;
45892 return 0;
45893 }
45894 _ACEOF
45895 rm -f conftest.$ac_objext conftest$ac_exeext
45896 if { (ac_try="$ac_link"
45897 case "(($ac_try" in
45898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45899 *) ac_try_echo=$ac_try;;
45900 esac
45901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45902 (eval "$ac_link") 2>conftest.er1
45903 ac_status=$?
45904 grep -v '^ *+' conftest.er1 >conftest.err
45905 rm -f conftest.er1
45906 cat conftest.err >&5
45907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45908 (exit $ac_status); } && {
45909 test -z "$ac_c_werror_flag" ||
45910 test ! -s conftest.err
45911 } && test -s conftest$ac_exeext &&
45912 $as_test_x conftest$ac_exeext; then
45913 eval "$as_ac_var=yes"
45914 else
45915 echo "$as_me: failed program was:" >&5
45916 sed 's/^/| /' conftest.$ac_ext >&5
45917
45918 eval "$as_ac_var=no"
45919 fi
45920
45921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45922 conftest$ac_exeext conftest.$ac_ext
45923 fi
45924 ac_res=`eval echo '${'$as_ac_var'}'`
45925 { echo "$as_me:$LINENO: result: $ac_res" >&5
45926 echo "${ECHO_T}$ac_res" >&6; }
45927 if test `eval echo '${'$as_ac_var'}'` = yes; then
45928 cat >>confdefs.h <<_ACEOF
45929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45930 _ACEOF
45931 break
45932 fi
45933 done
45934
45935
45936 if test "$ac_cv_func_gettimeofday" = "yes"; then
45937 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45938 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45939 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45940 echo $ECHO_N "(cached) $ECHO_C" >&6
45941 else
45942
45943 cat >conftest.$ac_ext <<_ACEOF
45944 /* confdefs.h. */
45945 _ACEOF
45946 cat confdefs.h >>conftest.$ac_ext
45947 cat >>conftest.$ac_ext <<_ACEOF
45948 /* end confdefs.h. */
45949
45950 #include <sys/time.h>
45951 #include <unistd.h>
45952
45953 int
45954 main ()
45955 {
45956
45957 struct timeval tv;
45958 gettimeofday(&tv, NULL);
45959
45960 ;
45961 return 0;
45962 }
45963 _ACEOF
45964 rm -f conftest.$ac_objext
45965 if { (ac_try="$ac_compile"
45966 case "(($ac_try" in
45967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45968 *) ac_try_echo=$ac_try;;
45969 esac
45970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45971 (eval "$ac_compile") 2>conftest.er1
45972 ac_status=$?
45973 grep -v '^ *+' conftest.er1 >conftest.err
45974 rm -f conftest.er1
45975 cat conftest.err >&5
45976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45977 (exit $ac_status); } && {
45978 test -z "$ac_c_werror_flag" ||
45979 test ! -s conftest.err
45980 } && test -s conftest.$ac_objext; then
45981 wx_cv_func_gettimeofday_has_2_args=yes
45982 else
45983 echo "$as_me: failed program was:" >&5
45984 sed 's/^/| /' conftest.$ac_ext >&5
45985
45986 cat >conftest.$ac_ext <<_ACEOF
45987 /* confdefs.h. */
45988 _ACEOF
45989 cat confdefs.h >>conftest.$ac_ext
45990 cat >>conftest.$ac_ext <<_ACEOF
45991 /* end confdefs.h. */
45992
45993 #include <sys/time.h>
45994 #include <unistd.h>
45995
45996 int
45997 main ()
45998 {
45999
46000 struct timeval tv;
46001 gettimeofday(&tv);
46002
46003 ;
46004 return 0;
46005 }
46006 _ACEOF
46007 rm -f conftest.$ac_objext
46008 if { (ac_try="$ac_compile"
46009 case "(($ac_try" in
46010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46011 *) ac_try_echo=$ac_try;;
46012 esac
46013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46014 (eval "$ac_compile") 2>conftest.er1
46015 ac_status=$?
46016 grep -v '^ *+' conftest.er1 >conftest.err
46017 rm -f conftest.er1
46018 cat conftest.err >&5
46019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46020 (exit $ac_status); } && {
46021 test -z "$ac_c_werror_flag" ||
46022 test ! -s conftest.err
46023 } && test -s conftest.$ac_objext; then
46024 wx_cv_func_gettimeofday_has_2_args=no
46025 else
46026 echo "$as_me: failed program was:" >&5
46027 sed 's/^/| /' conftest.$ac_ext >&5
46028
46029
46030 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46031 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46032 wx_cv_func_gettimeofday_has_2_args=unknown
46033
46034
46035 fi
46036
46037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46038
46039 fi
46040
46041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46042
46043 fi
46044 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46045 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46046
46047 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46048 cat >>confdefs.h <<\_ACEOF
46049 #define WX_GETTIMEOFDAY_NO_TZ 1
46050 _ACEOF
46051
46052 fi
46053 fi
46054
46055 if test "$wxUSE_DATETIME" = "yes"; then
46056 { echo "$as_me:$LINENO: checking for strptime" >&5
46057 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46058 if test "${ac_cv_func_strptime+set}" = set; then
46059 echo $ECHO_N "(cached) $ECHO_C" >&6
46060 else
46061 cat >conftest.$ac_ext <<_ACEOF
46062 /* confdefs.h. */
46063 _ACEOF
46064 cat confdefs.h >>conftest.$ac_ext
46065 cat >>conftest.$ac_ext <<_ACEOF
46066 /* end confdefs.h. */
46067 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46069 #define strptime innocuous_strptime
46070
46071 /* System header to define __stub macros and hopefully few prototypes,
46072 which can conflict with char strptime (); below.
46073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46074 <limits.h> exists even on freestanding compilers. */
46075
46076 #ifdef __STDC__
46077 # include <limits.h>
46078 #else
46079 # include <assert.h>
46080 #endif
46081
46082 #undef strptime
46083
46084 /* Override any GCC internal prototype to avoid an error.
46085 Use char because int might match the return type of a GCC
46086 builtin and then its argument prototype would still apply. */
46087 #ifdef __cplusplus
46088 extern "C"
46089 #endif
46090 char strptime ();
46091 /* The GNU C library defines this for functions which it implements
46092 to always fail with ENOSYS. Some functions are actually named
46093 something starting with __ and the normal name is an alias. */
46094 #if defined __stub_strptime || defined __stub___strptime
46095 choke me
46096 #endif
46097
46098 int
46099 main ()
46100 {
46101 return strptime ();
46102 ;
46103 return 0;
46104 }
46105 _ACEOF
46106 rm -f conftest.$ac_objext conftest$ac_exeext
46107 if { (ac_try="$ac_link"
46108 case "(($ac_try" in
46109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46110 *) ac_try_echo=$ac_try;;
46111 esac
46112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46113 (eval "$ac_link") 2>conftest.er1
46114 ac_status=$?
46115 grep -v '^ *+' conftest.er1 >conftest.err
46116 rm -f conftest.er1
46117 cat conftest.err >&5
46118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46119 (exit $ac_status); } && {
46120 test -z "$ac_c_werror_flag" ||
46121 test ! -s conftest.err
46122 } && test -s conftest$ac_exeext &&
46123 $as_test_x conftest$ac_exeext; then
46124 ac_cv_func_strptime=yes
46125 else
46126 echo "$as_me: failed program was:" >&5
46127 sed 's/^/| /' conftest.$ac_ext >&5
46128
46129 ac_cv_func_strptime=no
46130 fi
46131
46132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46133 conftest$ac_exeext conftest.$ac_ext
46134 fi
46135 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46136 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46137
46138 if test "$ac_cv_func_strptime" = "yes"; then
46139 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46140 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46141 if test "${wx_cv_func_strptime_decl+set}" = set; then
46142 echo $ECHO_N "(cached) $ECHO_C" >&6
46143 else
46144
46145 ac_ext=cpp
46146 ac_cpp='$CXXCPP $CPPFLAGS'
46147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46150
46151 cat >conftest.$ac_ext <<_ACEOF
46152 /* confdefs.h. */
46153 _ACEOF
46154 cat confdefs.h >>conftest.$ac_ext
46155 cat >>conftest.$ac_ext <<_ACEOF
46156 /* end confdefs.h. */
46157
46158 #include <time.h>
46159
46160 int
46161 main ()
46162 {
46163
46164 struct tm t;
46165 strptime("foo", "bar", &t);
46166
46167 ;
46168 return 0;
46169 }
46170 _ACEOF
46171 rm -f conftest.$ac_objext
46172 if { (ac_try="$ac_compile"
46173 case "(($ac_try" in
46174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46175 *) ac_try_echo=$ac_try;;
46176 esac
46177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46178 (eval "$ac_compile") 2>conftest.er1
46179 ac_status=$?
46180 grep -v '^ *+' conftest.er1 >conftest.err
46181 rm -f conftest.er1
46182 cat conftest.err >&5
46183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46184 (exit $ac_status); } && {
46185 test -z "$ac_cxx_werror_flag" ||
46186 test ! -s conftest.err
46187 } && test -s conftest.$ac_objext; then
46188 wx_cv_func_strptime_decl=yes
46189 else
46190 echo "$as_me: failed program was:" >&5
46191 sed 's/^/| /' conftest.$ac_ext >&5
46192
46193 wx_cv_func_strptime_decl=no
46194
46195 fi
46196
46197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46198 ac_ext=c
46199 ac_cpp='$CPP $CPPFLAGS'
46200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46203
46204
46205
46206 fi
46207 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46208 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46209 fi
46210 if test "$wx_cv_func_strptime_decl" = "yes"; then
46211 cat >>confdefs.h <<\_ACEOF
46212 #define HAVE_STRPTIME_DECL 1
46213 _ACEOF
46214
46215 else
46216 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46217 fi
46218 if test "$ac_cv_func_strptime" = "yes"; then
46219 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46220 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46221 if test "${wx_cv_func_strptime_ok+set}" = set; then
46222 echo $ECHO_N "(cached) $ECHO_C" >&6
46223 else
46224 if test "$cross_compiling" = yes; then
46225 wx_cv_func_strptime_ok=no
46226
46227 else
46228 cat >conftest.$ac_ext <<_ACEOF
46229
46230 #include <stdlib.h>
46231 #include <time.h>
46232 #include "confdefs.h"
46233
46234 $wx_strptime_decl
46235
46236 int main()
46237 {
46238 struct tm t;
46239 return !!strptime("", "%x", &t);
46240 }
46241
46242 _ACEOF
46243 rm -f conftest$ac_exeext
46244 if { (ac_try="$ac_link"
46245 case "(($ac_try" in
46246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46247 *) ac_try_echo=$ac_try;;
46248 esac
46249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46250 (eval "$ac_link") 2>&5
46251 ac_status=$?
46252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46253 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46254 { (case "(($ac_try" in
46255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46256 *) ac_try_echo=$ac_try;;
46257 esac
46258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46259 (eval "$ac_try") 2>&5
46260 ac_status=$?
46261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46262 (exit $ac_status); }; }; then
46263 wx_cv_func_strptime_ok=yes
46264 else
46265 echo "$as_me: program exited with status $ac_status" >&5
46266 echo "$as_me: failed program was:" >&5
46267 sed 's/^/| /' conftest.$ac_ext >&5
46268
46269 ( exit $ac_status )
46270 wx_cv_func_strptime_ok=no
46271 fi
46272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46273 fi
46274
46275
46276
46277 fi
46278 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46279 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46280
46281 if test "$wx_cv_func_strptime_ok" = "yes"; then
46282 cat >>confdefs.h <<\_ACEOF
46283 #define HAVE_STRPTIME 1
46284 _ACEOF
46285
46286 fi
46287 fi
46288
46289 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46290 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46291 if test "${wx_cv_var_timezone+set}" = set; then
46292 echo $ECHO_N "(cached) $ECHO_C" >&6
46293 else
46294
46295 ac_ext=cpp
46296 ac_cpp='$CXXCPP $CPPFLAGS'
46297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46300
46301 cat >conftest.$ac_ext <<_ACEOF
46302 /* confdefs.h. */
46303 _ACEOF
46304 cat confdefs.h >>conftest.$ac_ext
46305 cat >>conftest.$ac_ext <<_ACEOF
46306 /* end confdefs.h. */
46307
46308 #include <time.h>
46309
46310 int
46311 main ()
46312 {
46313
46314 int tz;
46315 tz = timezone;
46316
46317 ;
46318 return 0;
46319 }
46320 _ACEOF
46321 rm -f conftest.$ac_objext
46322 if { (ac_try="$ac_compile"
46323 case "(($ac_try" in
46324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46325 *) ac_try_echo=$ac_try;;
46326 esac
46327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46328 (eval "$ac_compile") 2>conftest.er1
46329 ac_status=$?
46330 grep -v '^ *+' conftest.er1 >conftest.err
46331 rm -f conftest.er1
46332 cat conftest.err >&5
46333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46334 (exit $ac_status); } && {
46335 test -z "$ac_cxx_werror_flag" ||
46336 test ! -s conftest.err
46337 } && test -s conftest.$ac_objext; then
46338
46339 wx_cv_var_timezone=timezone
46340
46341 else
46342 echo "$as_me: failed program was:" >&5
46343 sed 's/^/| /' conftest.$ac_ext >&5
46344
46345
46346 cat >conftest.$ac_ext <<_ACEOF
46347 /* confdefs.h. */
46348 _ACEOF
46349 cat confdefs.h >>conftest.$ac_ext
46350 cat >>conftest.$ac_ext <<_ACEOF
46351 /* end confdefs.h. */
46352
46353 #include <time.h>
46354
46355 int
46356 main ()
46357 {
46358
46359 int tz;
46360 tz = _timezone;
46361
46362 ;
46363 return 0;
46364 }
46365 _ACEOF
46366 rm -f conftest.$ac_objext
46367 if { (ac_try="$ac_compile"
46368 case "(($ac_try" in
46369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46370 *) ac_try_echo=$ac_try;;
46371 esac
46372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46373 (eval "$ac_compile") 2>conftest.er1
46374 ac_status=$?
46375 grep -v '^ *+' conftest.er1 >conftest.err
46376 rm -f conftest.er1
46377 cat conftest.err >&5
46378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46379 (exit $ac_status); } && {
46380 test -z "$ac_cxx_werror_flag" ||
46381 test ! -s conftest.err
46382 } && test -s conftest.$ac_objext; then
46383
46384 wx_cv_var_timezone=_timezone
46385
46386 else
46387 echo "$as_me: failed program was:" >&5
46388 sed 's/^/| /' conftest.$ac_ext >&5
46389
46390
46391 cat >conftest.$ac_ext <<_ACEOF
46392 /* confdefs.h. */
46393 _ACEOF
46394 cat confdefs.h >>conftest.$ac_ext
46395 cat >>conftest.$ac_ext <<_ACEOF
46396 /* end confdefs.h. */
46397
46398 #include <time.h>
46399
46400 int
46401 main ()
46402 {
46403
46404 int tz;
46405 tz = __timezone;
46406
46407 ;
46408 return 0;
46409 }
46410 _ACEOF
46411 rm -f conftest.$ac_objext
46412 if { (ac_try="$ac_compile"
46413 case "(($ac_try" in
46414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46415 *) ac_try_echo=$ac_try;;
46416 esac
46417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46418 (eval "$ac_compile") 2>conftest.er1
46419 ac_status=$?
46420 grep -v '^ *+' conftest.er1 >conftest.err
46421 rm -f conftest.er1
46422 cat conftest.err >&5
46423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46424 (exit $ac_status); } && {
46425 test -z "$ac_cxx_werror_flag" ||
46426 test ! -s conftest.err
46427 } && test -s conftest.$ac_objext; then
46428
46429 wx_cv_var_timezone=__timezone
46430
46431 else
46432 echo "$as_me: failed program was:" >&5
46433 sed 's/^/| /' conftest.$ac_ext >&5
46434
46435
46436 if test "$USE_DOS" = 0 ; then
46437 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46438 echo "$as_me: WARNING: no timezone variable" >&2;}
46439 fi
46440
46441
46442 fi
46443
46444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46445
46446
46447 fi
46448
46449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46450
46451
46452 fi
46453
46454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46455 ac_ext=c
46456 ac_cpp='$CPP $CPPFLAGS'
46457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46460
46461
46462
46463 fi
46464 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46465 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46466
46467 if test "x$wx_cv_var_timezone" != x ; then
46468 cat >>confdefs.h <<_ACEOF
46469 #define WX_TIMEZONE $wx_cv_var_timezone
46470 _ACEOF
46471
46472 fi
46473
46474
46475 for ac_func in localtime
46476 do
46477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46478 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46481 echo $ECHO_N "(cached) $ECHO_C" >&6
46482 else
46483 cat >conftest.$ac_ext <<_ACEOF
46484 /* confdefs.h. */
46485 _ACEOF
46486 cat confdefs.h >>conftest.$ac_ext
46487 cat >>conftest.$ac_ext <<_ACEOF
46488 /* end confdefs.h. */
46489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46491 #define $ac_func innocuous_$ac_func
46492
46493 /* System header to define __stub macros and hopefully few prototypes,
46494 which can conflict with char $ac_func (); below.
46495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46496 <limits.h> exists even on freestanding compilers. */
46497
46498 #ifdef __STDC__
46499 # include <limits.h>
46500 #else
46501 # include <assert.h>
46502 #endif
46503
46504 #undef $ac_func
46505
46506 /* Override any GCC internal prototype to avoid an error.
46507 Use char because int might match the return type of a GCC
46508 builtin and then its argument prototype would still apply. */
46509 #ifdef __cplusplus
46510 extern "C"
46511 #endif
46512 char $ac_func ();
46513 /* The GNU C library defines this for functions which it implements
46514 to always fail with ENOSYS. Some functions are actually named
46515 something starting with __ and the normal name is an alias. */
46516 #if defined __stub_$ac_func || defined __stub___$ac_func
46517 choke me
46518 #endif
46519
46520 int
46521 main ()
46522 {
46523 return $ac_func ();
46524 ;
46525 return 0;
46526 }
46527 _ACEOF
46528 rm -f conftest.$ac_objext conftest$ac_exeext
46529 if { (ac_try="$ac_link"
46530 case "(($ac_try" in
46531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46532 *) ac_try_echo=$ac_try;;
46533 esac
46534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46535 (eval "$ac_link") 2>conftest.er1
46536 ac_status=$?
46537 grep -v '^ *+' conftest.er1 >conftest.err
46538 rm -f conftest.er1
46539 cat conftest.err >&5
46540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46541 (exit $ac_status); } && {
46542 test -z "$ac_c_werror_flag" ||
46543 test ! -s conftest.err
46544 } && test -s conftest$ac_exeext &&
46545 $as_test_x conftest$ac_exeext; then
46546 eval "$as_ac_var=yes"
46547 else
46548 echo "$as_me: failed program was:" >&5
46549 sed 's/^/| /' conftest.$ac_ext >&5
46550
46551 eval "$as_ac_var=no"
46552 fi
46553
46554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46555 conftest$ac_exeext conftest.$ac_ext
46556 fi
46557 ac_res=`eval echo '${'$as_ac_var'}'`
46558 { echo "$as_me:$LINENO: result: $ac_res" >&5
46559 echo "${ECHO_T}$ac_res" >&6; }
46560 if test `eval echo '${'$as_ac_var'}'` = yes; then
46561 cat >>confdefs.h <<_ACEOF
46562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46563 _ACEOF
46564
46565 fi
46566 done
46567
46568
46569 if test "$ac_cv_func_localtime" = "yes"; then
46570 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46571 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46572 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46573 echo $ECHO_N "(cached) $ECHO_C" >&6
46574 else
46575
46576 cat >conftest.$ac_ext <<_ACEOF
46577 /* confdefs.h. */
46578 _ACEOF
46579 cat confdefs.h >>conftest.$ac_ext
46580 cat >>conftest.$ac_ext <<_ACEOF
46581 /* end confdefs.h. */
46582
46583 #include <time.h>
46584
46585 int
46586 main ()
46587 {
46588
46589 struct tm tm;
46590 tm.tm_gmtoff++;
46591
46592 ;
46593 return 0;
46594 }
46595 _ACEOF
46596 rm -f conftest.$ac_objext
46597 if { (ac_try="$ac_compile"
46598 case "(($ac_try" in
46599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46600 *) ac_try_echo=$ac_try;;
46601 esac
46602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46603 (eval "$ac_compile") 2>conftest.er1
46604 ac_status=$?
46605 grep -v '^ *+' conftest.er1 >conftest.err
46606 rm -f conftest.er1
46607 cat conftest.err >&5
46608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46609 (exit $ac_status); } && {
46610 test -z "$ac_c_werror_flag" ||
46611 test ! -s conftest.err
46612 } && test -s conftest.$ac_objext; then
46613
46614 wx_cv_struct_tm_has_gmtoff=yes
46615
46616 else
46617 echo "$as_me: failed program was:" >&5
46618 sed 's/^/| /' conftest.$ac_ext >&5
46619
46620 wx_cv_struct_tm_has_gmtoff=no
46621
46622 fi
46623
46624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46625
46626 fi
46627 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46628 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46629 fi
46630
46631 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46632 cat >>confdefs.h <<\_ACEOF
46633 #define WX_GMTOFF_IN_TM 1
46634 _ACEOF
46635
46636 fi
46637
46638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46639 fi
46640
46641
46642 if test "$wxUSE_SOCKETS" = "yes"; then
46643 if test "$wxUSE_MGL" = "1"; then
46644 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46645 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46646 wxUSE_SOCKETS="no"
46647 fi
46648 fi
46649
46650 if test "$wxUSE_SOCKETS" = "yes"; then
46651 if test "$TOOLKIT" != "MSW"; then
46652 { echo "$as_me:$LINENO: checking for socket" >&5
46653 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46654 if test "${ac_cv_func_socket+set}" = set; then
46655 echo $ECHO_N "(cached) $ECHO_C" >&6
46656 else
46657 cat >conftest.$ac_ext <<_ACEOF
46658 /* confdefs.h. */
46659 _ACEOF
46660 cat confdefs.h >>conftest.$ac_ext
46661 cat >>conftest.$ac_ext <<_ACEOF
46662 /* end confdefs.h. */
46663 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46665 #define socket innocuous_socket
46666
46667 /* System header to define __stub macros and hopefully few prototypes,
46668 which can conflict with char socket (); below.
46669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46670 <limits.h> exists even on freestanding compilers. */
46671
46672 #ifdef __STDC__
46673 # include <limits.h>
46674 #else
46675 # include <assert.h>
46676 #endif
46677
46678 #undef socket
46679
46680 /* Override any GCC internal prototype to avoid an error.
46681 Use char because int might match the return type of a GCC
46682 builtin and then its argument prototype would still apply. */
46683 #ifdef __cplusplus
46684 extern "C"
46685 #endif
46686 char socket ();
46687 /* The GNU C library defines this for functions which it implements
46688 to always fail with ENOSYS. Some functions are actually named
46689 something starting with __ and the normal name is an alias. */
46690 #if defined __stub_socket || defined __stub___socket
46691 choke me
46692 #endif
46693
46694 int
46695 main ()
46696 {
46697 return socket ();
46698 ;
46699 return 0;
46700 }
46701 _ACEOF
46702 rm -f conftest.$ac_objext conftest$ac_exeext
46703 if { (ac_try="$ac_link"
46704 case "(($ac_try" in
46705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46706 *) ac_try_echo=$ac_try;;
46707 esac
46708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46709 (eval "$ac_link") 2>conftest.er1
46710 ac_status=$?
46711 grep -v '^ *+' conftest.er1 >conftest.err
46712 rm -f conftest.er1
46713 cat conftest.err >&5
46714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46715 (exit $ac_status); } && {
46716 test -z "$ac_c_werror_flag" ||
46717 test ! -s conftest.err
46718 } && test -s conftest$ac_exeext &&
46719 $as_test_x conftest$ac_exeext; then
46720 ac_cv_func_socket=yes
46721 else
46722 echo "$as_me: failed program was:" >&5
46723 sed 's/^/| /' conftest.$ac_ext >&5
46724
46725 ac_cv_func_socket=no
46726 fi
46727
46728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46729 conftest$ac_exeext conftest.$ac_ext
46730 fi
46731 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46732 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46733 if test $ac_cv_func_socket = yes; then
46734 :
46735 else
46736
46737 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46738 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46739 if test "${ac_cv_lib_socket_socket+set}" = set; then
46740 echo $ECHO_N "(cached) $ECHO_C" >&6
46741 else
46742 ac_check_lib_save_LIBS=$LIBS
46743 LIBS="-lsocket $LIBS"
46744 cat >conftest.$ac_ext <<_ACEOF
46745 /* confdefs.h. */
46746 _ACEOF
46747 cat confdefs.h >>conftest.$ac_ext
46748 cat >>conftest.$ac_ext <<_ACEOF
46749 /* end confdefs.h. */
46750
46751 /* Override any GCC internal prototype to avoid an error.
46752 Use char because int might match the return type of a GCC
46753 builtin and then its argument prototype would still apply. */
46754 #ifdef __cplusplus
46755 extern "C"
46756 #endif
46757 char socket ();
46758 int
46759 main ()
46760 {
46761 return socket ();
46762 ;
46763 return 0;
46764 }
46765 _ACEOF
46766 rm -f conftest.$ac_objext conftest$ac_exeext
46767 if { (ac_try="$ac_link"
46768 case "(($ac_try" in
46769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46770 *) ac_try_echo=$ac_try;;
46771 esac
46772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46773 (eval "$ac_link") 2>conftest.er1
46774 ac_status=$?
46775 grep -v '^ *+' conftest.er1 >conftest.err
46776 rm -f conftest.er1
46777 cat conftest.err >&5
46778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46779 (exit $ac_status); } && {
46780 test -z "$ac_c_werror_flag" ||
46781 test ! -s conftest.err
46782 } && test -s conftest$ac_exeext &&
46783 $as_test_x conftest$ac_exeext; then
46784 ac_cv_lib_socket_socket=yes
46785 else
46786 echo "$as_me: failed program was:" >&5
46787 sed 's/^/| /' conftest.$ac_ext >&5
46788
46789 ac_cv_lib_socket_socket=no
46790 fi
46791
46792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46793 conftest$ac_exeext conftest.$ac_ext
46794 LIBS=$ac_check_lib_save_LIBS
46795 fi
46796 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46797 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46798 if test $ac_cv_lib_socket_socket = yes; then
46799 if test "$INET_LINK" != " -lsocket"; then
46800 INET_LINK="$INET_LINK -lsocket"
46801 fi
46802 else
46803
46804 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46805 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46806 wxUSE_SOCKETS=no
46807
46808
46809 fi
46810
46811
46812
46813 fi
46814
46815 fi
46816 fi
46817
46818 if test "$wxUSE_SOCKETS" = "yes" ; then
46819 if test "$TOOLKIT" != "MSW"; then
46820 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46821 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46822 if test "${wx_cv_type_getsockname3+set}" = set; then
46823 echo $ECHO_N "(cached) $ECHO_C" >&6
46824 else
46825
46826 ac_ext=cpp
46827 ac_cpp='$CXXCPP $CPPFLAGS'
46828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46831
46832 cat >conftest.$ac_ext <<_ACEOF
46833 /* confdefs.h. */
46834 _ACEOF
46835 cat confdefs.h >>conftest.$ac_ext
46836 cat >>conftest.$ac_ext <<_ACEOF
46837 /* end confdefs.h. */
46838
46839 #include <sys/types.h>
46840 #include <sys/socket.h>
46841
46842 int
46843 main ()
46844 {
46845
46846 socklen_t len;
46847 getsockname(0, 0, &len);
46848
46849 ;
46850 return 0;
46851 }
46852 _ACEOF
46853 rm -f conftest.$ac_objext
46854 if { (ac_try="$ac_compile"
46855 case "(($ac_try" in
46856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46857 *) ac_try_echo=$ac_try;;
46858 esac
46859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46860 (eval "$ac_compile") 2>conftest.er1
46861 ac_status=$?
46862 grep -v '^ *+' conftest.er1 >conftest.err
46863 rm -f conftest.er1
46864 cat conftest.err >&5
46865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46866 (exit $ac_status); } && {
46867 test -z "$ac_cxx_werror_flag" ||
46868 test ! -s conftest.err
46869 } && test -s conftest.$ac_objext; then
46870 wx_cv_type_getsockname3=socklen_t
46871 else
46872 echo "$as_me: failed program was:" >&5
46873 sed 's/^/| /' conftest.$ac_ext >&5
46874
46875
46876 CFLAGS_OLD="$CFLAGS"
46877 if test "$GCC" = yes ; then
46878 CFLAGS="-Werror $CFLAGS"
46879 fi
46880
46881 cat >conftest.$ac_ext <<_ACEOF
46882 /* confdefs.h. */
46883 _ACEOF
46884 cat confdefs.h >>conftest.$ac_ext
46885 cat >>conftest.$ac_ext <<_ACEOF
46886 /* end confdefs.h. */
46887
46888 #include <sys/types.h>
46889 #include <sys/socket.h>
46890
46891 int
46892 main ()
46893 {
46894
46895 size_t len;
46896 getsockname(0, 0, &len);
46897
46898 ;
46899 return 0;
46900 }
46901 _ACEOF
46902 rm -f conftest.$ac_objext
46903 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
46917 test ! -s conftest.err
46918 } && test -s conftest.$ac_objext; then
46919 wx_cv_type_getsockname3=size_t
46920 else
46921 echo "$as_me: failed program was:" >&5
46922 sed 's/^/| /' conftest.$ac_ext >&5
46923
46924 cat >conftest.$ac_ext <<_ACEOF
46925 /* confdefs.h. */
46926 _ACEOF
46927 cat confdefs.h >>conftest.$ac_ext
46928 cat >>conftest.$ac_ext <<_ACEOF
46929 /* end confdefs.h. */
46930
46931 #include <sys/types.h>
46932 #include <sys/socket.h>
46933
46934 int
46935 main ()
46936 {
46937
46938 int len;
46939 getsockname(0, 0, &len);
46940
46941 ;
46942 return 0;
46943 }
46944 _ACEOF
46945 rm -f conftest.$ac_objext
46946 if { (ac_try="$ac_compile"
46947 case "(($ac_try" in
46948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46949 *) ac_try_echo=$ac_try;;
46950 esac
46951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46952 (eval "$ac_compile") 2>conftest.er1
46953 ac_status=$?
46954 grep -v '^ *+' conftest.er1 >conftest.err
46955 rm -f conftest.er1
46956 cat conftest.err >&5
46957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46958 (exit $ac_status); } && {
46959 test -z "$ac_cxx_werror_flag" ||
46960 test ! -s conftest.err
46961 } && test -s conftest.$ac_objext; then
46962 wx_cv_type_getsockname3=int
46963 else
46964 echo "$as_me: failed program was:" >&5
46965 sed 's/^/| /' conftest.$ac_ext >&5
46966
46967 wx_cv_type_getsockname3=unknown
46968
46969 fi
46970
46971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46972
46973 fi
46974
46975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46976
46977 CFLAGS="$CFLAGS_OLD"
46978
46979
46980 fi
46981
46982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46983 ac_ext=c
46984 ac_cpp='$CPP $CPPFLAGS'
46985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46988
46989
46990 fi
46991 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46992 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46993
46994 if test "$wx_cv_type_getsockname3" = "unknown"; then
46995 wxUSE_SOCKETS=no
46996 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46997 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46998 else
46999 cat >>confdefs.h <<_ACEOF
47000 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47001 _ACEOF
47002
47003 fi
47004 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47005 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47006 if test "${wx_cv_type_getsockopt5+set}" = set; then
47007 echo $ECHO_N "(cached) $ECHO_C" >&6
47008 else
47009
47010 ac_ext=cpp
47011 ac_cpp='$CXXCPP $CPPFLAGS'
47012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47015
47016 cat >conftest.$ac_ext <<_ACEOF
47017 /* confdefs.h. */
47018 _ACEOF
47019 cat confdefs.h >>conftest.$ac_ext
47020 cat >>conftest.$ac_ext <<_ACEOF
47021 /* end confdefs.h. */
47022
47023 #include <sys/types.h>
47024 #include <sys/socket.h>
47025
47026 int
47027 main ()
47028 {
47029
47030 socklen_t len;
47031 getsockopt(0, 0, 0, 0, &len);
47032
47033 ;
47034 return 0;
47035 }
47036 _ACEOF
47037 rm -f conftest.$ac_objext
47038 if { (ac_try="$ac_compile"
47039 case "(($ac_try" in
47040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47041 *) ac_try_echo=$ac_try;;
47042 esac
47043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47044 (eval "$ac_compile") 2>conftest.er1
47045 ac_status=$?
47046 grep -v '^ *+' conftest.er1 >conftest.err
47047 rm -f conftest.er1
47048 cat conftest.err >&5
47049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47050 (exit $ac_status); } && {
47051 test -z "$ac_cxx_werror_flag" ||
47052 test ! -s conftest.err
47053 } && test -s conftest.$ac_objext; then
47054 wx_cv_type_getsockopt5=socklen_t
47055 else
47056 echo "$as_me: failed program was:" >&5
47057 sed 's/^/| /' conftest.$ac_ext >&5
47058
47059
47060 cat >conftest.$ac_ext <<_ACEOF
47061 /* confdefs.h. */
47062 _ACEOF
47063 cat confdefs.h >>conftest.$ac_ext
47064 cat >>conftest.$ac_ext <<_ACEOF
47065 /* end confdefs.h. */
47066
47067 #include <sys/types.h>
47068 #include <sys/socket.h>
47069
47070 int
47071 main ()
47072 {
47073
47074 size_t len;
47075 getsockopt(0, 0, 0, 0, &len);
47076
47077 ;
47078 return 0;
47079 }
47080 _ACEOF
47081 rm -f conftest.$ac_objext
47082 if { (ac_try="$ac_compile"
47083 case "(($ac_try" in
47084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47085 *) ac_try_echo=$ac_try;;
47086 esac
47087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47088 (eval "$ac_compile") 2>conftest.er1
47089 ac_status=$?
47090 grep -v '^ *+' conftest.er1 >conftest.err
47091 rm -f conftest.er1
47092 cat conftest.err >&5
47093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47094 (exit $ac_status); } && {
47095 test -z "$ac_cxx_werror_flag" ||
47096 test ! -s conftest.err
47097 } && test -s conftest.$ac_objext; then
47098 wx_cv_type_getsockopt5=size_t
47099 else
47100 echo "$as_me: failed program was:" >&5
47101 sed 's/^/| /' conftest.$ac_ext >&5
47102
47103 cat >conftest.$ac_ext <<_ACEOF
47104 /* confdefs.h. */
47105 _ACEOF
47106 cat confdefs.h >>conftest.$ac_ext
47107 cat >>conftest.$ac_ext <<_ACEOF
47108 /* end confdefs.h. */
47109
47110 #include <sys/types.h>
47111 #include <sys/socket.h>
47112
47113 int
47114 main ()
47115 {
47116
47117 int len;
47118 getsockopt(0, 0, 0, 0, &len);
47119
47120 ;
47121 return 0;
47122 }
47123 _ACEOF
47124 rm -f conftest.$ac_objext
47125 if { (ac_try="$ac_compile"
47126 case "(($ac_try" in
47127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47128 *) ac_try_echo=$ac_try;;
47129 esac
47130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47131 (eval "$ac_compile") 2>conftest.er1
47132 ac_status=$?
47133 grep -v '^ *+' conftest.er1 >conftest.err
47134 rm -f conftest.er1
47135 cat conftest.err >&5
47136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47137 (exit $ac_status); } && {
47138 test -z "$ac_cxx_werror_flag" ||
47139 test ! -s conftest.err
47140 } && test -s conftest.$ac_objext; then
47141 wx_cv_type_getsockopt5=int
47142 else
47143 echo "$as_me: failed program was:" >&5
47144 sed 's/^/| /' conftest.$ac_ext >&5
47145
47146 wx_cv_type_getsockopt5=unknown
47147
47148 fi
47149
47150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47151
47152 fi
47153
47154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47155
47156
47157 fi
47158
47159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47160 ac_ext=c
47161 ac_cpp='$CPP $CPPFLAGS'
47162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47165
47166
47167 fi
47168 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47169 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47170
47171 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47172 wxUSE_SOCKETS=no
47173 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47174 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47175 else
47176 cat >>confdefs.h <<_ACEOF
47177 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47178 _ACEOF
47179
47180 fi
47181 fi
47182 fi
47183
47184 if test "$wxUSE_SOCKETS" = "yes" ; then
47185 cat >>confdefs.h <<\_ACEOF
47186 #define wxUSE_SOCKETS 1
47187 _ACEOF
47188
47189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47190 fi
47191
47192 if test "$wxUSE_PROTOCOL" = "yes"; then
47193 if test "$wxUSE_SOCKETS" != "yes"; then
47194 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47195 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47196 wxUSE_PROTOCOL=no
47197 fi
47198 fi
47199
47200 if test "$wxUSE_PROTOCOL" = "yes"; then
47201 cat >>confdefs.h <<\_ACEOF
47202 #define wxUSE_PROTOCOL 1
47203 _ACEOF
47204
47205
47206 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47207 cat >>confdefs.h <<\_ACEOF
47208 #define wxUSE_PROTOCOL_HTTP 1
47209 _ACEOF
47210
47211 fi
47212 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47213 cat >>confdefs.h <<\_ACEOF
47214 #define wxUSE_PROTOCOL_FTP 1
47215 _ACEOF
47216
47217 fi
47218 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47219 cat >>confdefs.h <<\_ACEOF
47220 #define wxUSE_PROTOCOL_FILE 1
47221 _ACEOF
47222
47223 fi
47224 else
47225 if test "$wxUSE_FS_INET" = "yes"; then
47226 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47227 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47228 wxUSE_FS_INET="no"
47229 fi
47230 fi
47231
47232 if test "$wxUSE_URL" = "yes"; then
47233 if test "$wxUSE_PROTOCOL" != "yes"; then
47234 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47235 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47236 wxUSE_URL=no
47237 fi
47238 if test "$wxUSE_URL" = "yes"; then
47239 cat >>confdefs.h <<\_ACEOF
47240 #define wxUSE_URL 1
47241 _ACEOF
47242
47243 fi
47244 fi
47245
47246 if test "$wxUSE_VARIANT" = "yes"; then
47247 cat >>confdefs.h <<\_ACEOF
47248 #define wxUSE_VARIANT 1
47249 _ACEOF
47250
47251 fi
47252
47253 if test "$wxUSE_FS_INET" = "yes"; then
47254 cat >>confdefs.h <<\_ACEOF
47255 #define wxUSE_FS_INET 1
47256 _ACEOF
47257
47258 fi
47259
47260
47261 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47262 wxUSE_JOYSTICK=no
47263
47264 if test "$TOOLKIT" = "MSW"; then
47265 wxUSE_JOYSTICK=yes
47266
47267 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47268 if test "$USE_DARWIN" = 1; then
47269 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47270 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47271 ac_ext=cpp
47272 ac_cpp='$CXXCPP $CPPFLAGS'
47273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47276
47277 cat >conftest.$ac_ext <<_ACEOF
47278 /* confdefs.h. */
47279 _ACEOF
47280 cat confdefs.h >>conftest.$ac_ext
47281 cat >>conftest.$ac_ext <<_ACEOF
47282 /* end confdefs.h. */
47283 #include <IOKit/hid/IOHIDLib.h>
47284 int
47285 main ()
47286 {
47287 IOHIDQueueInterface *qi = NULL;
47288 IOHIDCallbackFunction cb = NULL;
47289 qi->setEventCallout(NULL, cb, NULL, NULL);
47290 ;
47291 return 0;
47292 }
47293 _ACEOF
47294 rm -f conftest.$ac_objext
47295 if { (ac_try="$ac_compile"
47296 case "(($ac_try" in
47297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47298 *) ac_try_echo=$ac_try;;
47299 esac
47300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47301 (eval "$ac_compile") 2>conftest.er1
47302 ac_status=$?
47303 grep -v '^ *+' conftest.er1 >conftest.err
47304 rm -f conftest.er1
47305 cat conftest.err >&5
47306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47307 (exit $ac_status); } && {
47308 test -z "$ac_cxx_werror_flag" ||
47309 test ! -s conftest.err
47310 } && test -s conftest.$ac_objext; then
47311 wxUSE_JOYSTICK=yes
47312
47313 else
47314 echo "$as_me: failed program was:" >&5
47315 sed 's/^/| /' conftest.$ac_ext >&5
47316
47317
47318 fi
47319
47320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47321 ac_ext=c
47322 ac_cpp='$CPP $CPPFLAGS'
47323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47326
47327 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47328 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47329 fi
47330
47331 else
47332 if test "$wxUSE_MGL" != "1"; then
47333
47334 for ac_header in linux/joystick.h
47335 do
47336 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47337 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47340 echo $ECHO_N "(cached) $ECHO_C" >&6
47341 else
47342 cat >conftest.$ac_ext <<_ACEOF
47343 /* confdefs.h. */
47344 _ACEOF
47345 cat confdefs.h >>conftest.$ac_ext
47346 cat >>conftest.$ac_ext <<_ACEOF
47347 /* end confdefs.h. */
47348 $ac_includes_default
47349
47350 #include <$ac_header>
47351 _ACEOF
47352 rm -f conftest.$ac_objext
47353 if { (ac_try="$ac_compile"
47354 case "(($ac_try" in
47355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47356 *) ac_try_echo=$ac_try;;
47357 esac
47358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47359 (eval "$ac_compile") 2>conftest.er1
47360 ac_status=$?
47361 grep -v '^ *+' conftest.er1 >conftest.err
47362 rm -f conftest.er1
47363 cat conftest.err >&5
47364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47365 (exit $ac_status); } && {
47366 test -z "$ac_c_werror_flag" ||
47367 test ! -s conftest.err
47368 } && test -s conftest.$ac_objext; then
47369 eval "$as_ac_Header=yes"
47370 else
47371 echo "$as_me: failed program was:" >&5
47372 sed 's/^/| /' conftest.$ac_ext >&5
47373
47374 eval "$as_ac_Header=no"
47375 fi
47376
47377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47378 fi
47379 ac_res=`eval echo '${'$as_ac_Header'}'`
47380 { echo "$as_me:$LINENO: result: $ac_res" >&5
47381 echo "${ECHO_T}$ac_res" >&6; }
47382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47383 cat >>confdefs.h <<_ACEOF
47384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47385 _ACEOF
47386 wxUSE_JOYSTICK=yes
47387 fi
47388
47389 done
47390
47391 fi
47392 fi
47393
47394 if test "$wxUSE_JOYSTICK" = "yes"; then
47395 cat >>confdefs.h <<\_ACEOF
47396 #define wxUSE_JOYSTICK 1
47397 _ACEOF
47398
47399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47400 else
47401 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47402 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47403 fi
47404 fi
47405
47406
47407
47408 if test "$wxUSE_FONTMAP" = "yes" ; then
47409 cat >>confdefs.h <<\_ACEOF
47410 #define wxUSE_FONTMAP 1
47411 _ACEOF
47412
47413 fi
47414
47415 if test "$wxUSE_UNICODE" = "yes" ; then
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_UNICODE 1
47418 _ACEOF
47419
47420
47421 if test "$USE_WIN32" != 1; then
47422 wxUSE_UNICODE_MSLU=no
47423 fi
47424
47425 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47426 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47427 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47428 if test "${ac_cv_lib_unicows_main+set}" = set; then
47429 echo $ECHO_N "(cached) $ECHO_C" >&6
47430 else
47431 ac_check_lib_save_LIBS=$LIBS
47432 LIBS="-lunicows $LIBS"
47433 cat >conftest.$ac_ext <<_ACEOF
47434 /* confdefs.h. */
47435 _ACEOF
47436 cat confdefs.h >>conftest.$ac_ext
47437 cat >>conftest.$ac_ext <<_ACEOF
47438 /* end confdefs.h. */
47439
47440
47441 int
47442 main ()
47443 {
47444 return main ();
47445 ;
47446 return 0;
47447 }
47448 _ACEOF
47449 rm -f conftest.$ac_objext conftest$ac_exeext
47450 if { (ac_try="$ac_link"
47451 case "(($ac_try" in
47452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47453 *) ac_try_echo=$ac_try;;
47454 esac
47455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47456 (eval "$ac_link") 2>conftest.er1
47457 ac_status=$?
47458 grep -v '^ *+' conftest.er1 >conftest.err
47459 rm -f conftest.er1
47460 cat conftest.err >&5
47461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47462 (exit $ac_status); } && {
47463 test -z "$ac_c_werror_flag" ||
47464 test ! -s conftest.err
47465 } && test -s conftest$ac_exeext &&
47466 $as_test_x conftest$ac_exeext; then
47467 ac_cv_lib_unicows_main=yes
47468 else
47469 echo "$as_me: failed program was:" >&5
47470 sed 's/^/| /' conftest.$ac_ext >&5
47471
47472 ac_cv_lib_unicows_main=no
47473 fi
47474
47475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47476 conftest$ac_exeext conftest.$ac_ext
47477 LIBS=$ac_check_lib_save_LIBS
47478 fi
47479 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47480 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47481 if test $ac_cv_lib_unicows_main = yes; then
47482
47483 cat >>confdefs.h <<\_ACEOF
47484 #define wxUSE_UNICODE_MSLU 1
47485 _ACEOF
47486
47487
47488 else
47489
47490 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47491 Applications will only run on Windows NT/2000/XP!" >&5
47492 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47493 Applications will only run on Windows NT/2000/XP!" >&2;}
47494 wxUSE_UNICODE_MSLU=no
47495
47496 fi
47497
47498 fi
47499 fi
47500
47501 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47502 cat >>confdefs.h <<\_ACEOF
47503 #define wxUSE_UNICODE_UTF8 1
47504 _ACEOF
47505
47506
47507 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47508 cat >>confdefs.h <<\_ACEOF
47509 #define wxUSE_UTF8_LOCALE_ONLY 1
47510 _ACEOF
47511
47512 fi
47513 fi
47514
47515 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47516 cat >>confdefs.h <<\_ACEOF
47517 #define wxUSE_EXPERIMENTAL_PRINTF 1
47518 _ACEOF
47519
47520 fi
47521
47522
47523 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47524 cat >>confdefs.h <<\_ACEOF
47525 #define wxUSE_CONSTRAINTS 1
47526 _ACEOF
47527
47528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47529 fi
47530
47531 if test "$wxUSE_MDI" = "yes"; then
47532 cat >>confdefs.h <<\_ACEOF
47533 #define wxUSE_MDI 1
47534 _ACEOF
47535
47536
47537 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47538 cat >>confdefs.h <<\_ACEOF
47539 #define wxUSE_MDI_ARCHITECTURE 1
47540 _ACEOF
47541
47542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47543 fi
47544 fi
47545
47546 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47547 cat >>confdefs.h <<\_ACEOF
47548 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47549 _ACEOF
47550
47551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47552 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47554 fi
47555 fi
47556
47557 if test "$wxUSE_HELP" = "yes"; then
47558 cat >>confdefs.h <<\_ACEOF
47559 #define wxUSE_HELP 1
47560 _ACEOF
47561
47562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47563
47564 if test "$wxUSE_MSW" = 1; then
47565 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47566 cat >>confdefs.h <<\_ACEOF
47567 #define wxUSE_MS_HTML_HELP 1
47568 _ACEOF
47569
47570 fi
47571 fi
47572
47573 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47574 if test "$wxUSE_HTML" = "yes"; then
47575 cat >>confdefs.h <<\_ACEOF
47576 #define wxUSE_WXHTML_HELP 1
47577 _ACEOF
47578
47579 else
47580 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47581 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47582 wxUSE_WXHTML_HELP=no
47583 fi
47584 fi
47585 fi
47586
47587 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47588 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47589 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47590 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47591 else
47592 cat >>confdefs.h <<\_ACEOF
47593 #define wxUSE_PRINTING_ARCHITECTURE 1
47594 _ACEOF
47595
47596 fi
47597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47598 fi
47599
47600 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47601 cat >>confdefs.h <<\_ACEOF
47602 #define wxUSE_POSTSCRIPT 1
47603 _ACEOF
47604
47605 fi
47606
47607 cat >>confdefs.h <<\_ACEOF
47608 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47609 _ACEOF
47610
47611
47612 cat >>confdefs.h <<\_ACEOF
47613 #define wxUSE_NORMALIZED_PS_FONTS 1
47614 _ACEOF
47615
47616
47617 if test "$wxUSE_SVG" = "yes"; then
47618 cat >>confdefs.h <<\_ACEOF
47619 #define wxUSE_SVG 1
47620 _ACEOF
47621
47622 fi
47623
47624
47625 if test "$wxUSE_METAFILE" = "yes"; then
47626 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47627 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47628 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47629 wxUSE_METAFILE=no
47630 fi
47631 fi
47632
47633
47634 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47635 -o "$wxUSE_CLIPBOARD" = "yes" \
47636 -o "$wxUSE_OLE" = "yes" \
47637 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47638 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47639 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47640 if test "${ac_cv_header_ole2_h+set}" = set; then
47641 echo $ECHO_N "(cached) $ECHO_C" >&6
47642 else
47643 cat >conftest.$ac_ext <<_ACEOF
47644 /* confdefs.h. */
47645 _ACEOF
47646 cat confdefs.h >>conftest.$ac_ext
47647 cat >>conftest.$ac_ext <<_ACEOF
47648 /* end confdefs.h. */
47649
47650
47651 #include <ole2.h>
47652 _ACEOF
47653 rm -f conftest.$ac_objext
47654 if { (ac_try="$ac_compile"
47655 case "(($ac_try" in
47656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47657 *) ac_try_echo=$ac_try;;
47658 esac
47659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47660 (eval "$ac_compile") 2>conftest.er1
47661 ac_status=$?
47662 grep -v '^ *+' conftest.er1 >conftest.err
47663 rm -f conftest.er1
47664 cat conftest.err >&5
47665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47666 (exit $ac_status); } && {
47667 test -z "$ac_c_werror_flag" ||
47668 test ! -s conftest.err
47669 } && test -s conftest.$ac_objext; then
47670 ac_cv_header_ole2_h=yes
47671 else
47672 echo "$as_me: failed program was:" >&5
47673 sed 's/^/| /' conftest.$ac_ext >&5
47674
47675 ac_cv_header_ole2_h=no
47676 fi
47677
47678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47679 fi
47680 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47681 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47682
47683
47684
47685 if test "$ac_cv_header_ole2_h" = "yes" ; then
47686 if test "$GCC" = yes ; then
47687 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47688 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47689 cat >conftest.$ac_ext <<_ACEOF
47690 /* confdefs.h. */
47691 _ACEOF
47692 cat confdefs.h >>conftest.$ac_ext
47693 cat >>conftest.$ac_ext <<_ACEOF
47694 /* end confdefs.h. */
47695 #include <windows.h>
47696 #include <ole2.h>
47697 int
47698 main ()
47699 {
47700
47701 ;
47702 return 0;
47703 }
47704 _ACEOF
47705 rm -f conftest.$ac_objext
47706 if { (ac_try="$ac_compile"
47707 case "(($ac_try" in
47708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47709 *) ac_try_echo=$ac_try;;
47710 esac
47711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47712 (eval "$ac_compile") 2>conftest.er1
47713 ac_status=$?
47714 grep -v '^ *+' conftest.er1 >conftest.err
47715 rm -f conftest.er1
47716 cat conftest.err >&5
47717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47718 (exit $ac_status); } && {
47719 test -z "$ac_c_werror_flag" ||
47720 test ! -s conftest.err
47721 } && test -s conftest.$ac_objext; then
47722 { echo "$as_me:$LINENO: result: no" >&5
47723 echo "${ECHO_T}no" >&6; }
47724 else
47725 echo "$as_me: failed program was:" >&5
47726 sed 's/^/| /' conftest.$ac_ext >&5
47727
47728 { echo "$as_me:$LINENO: result: yes" >&5
47729 echo "${ECHO_T}yes" >&6; }
47730 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47731 fi
47732
47733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47734 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47735 if test "$wxUSE_OLE" = "yes" ; then
47736 cat >>confdefs.h <<\_ACEOF
47737 #define wxUSE_OLE 1
47738 _ACEOF
47739
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_OLE_AUTOMATION 1
47742 _ACEOF
47743
47744 cat >>confdefs.h <<\_ACEOF
47745 #define wxUSE_ACTIVEX 1
47746 _ACEOF
47747
47748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47749 fi
47750 fi
47751
47752 if test "$wxUSE_DATAOBJ" = "yes" ; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_DATAOBJ 1
47755 _ACEOF
47756
47757 fi
47758 else
47759 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47760 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47761
47762 wxUSE_CLIPBOARD=no
47763 wxUSE_DRAG_AND_DROP=no
47764 wxUSE_DATAOBJ=no
47765 wxUSE_OLE=no
47766 fi
47767
47768 if test "$wxUSE_METAFILE" = "yes"; then
47769 cat >>confdefs.h <<\_ACEOF
47770 #define wxUSE_METAFILE 1
47771 _ACEOF
47772
47773
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_ENH_METAFILE 1
47776 _ACEOF
47777
47778 fi
47779 fi
47780
47781 if test "$wxUSE_IPC" = "yes"; then
47782 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47783 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47784 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47785 wxUSE_IPC=no
47786 fi
47787
47788 if test "$wxUSE_IPC" = "yes"; then
47789 cat >>confdefs.h <<\_ACEOF
47790 #define wxUSE_IPC 1
47791 _ACEOF
47792
47793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47794 fi
47795 fi
47796
47797 if test "$wxUSE_DATAOBJ" = "yes"; then
47798 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47799 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47800 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47801 wxUSE_DATAOBJ=no
47802 else
47803 cat >>confdefs.h <<\_ACEOF
47804 #define wxUSE_DATAOBJ 1
47805 _ACEOF
47806
47807 fi
47808 else
47809 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47810 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47811 wxUSE_CLIPBOARD=no
47812 wxUSE_DRAG_AND_DROP=no
47813 fi
47814
47815 if test "$wxUSE_CLIPBOARD" = "yes"; then
47816 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47817 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47818 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47819 wxUSE_CLIPBOARD=no
47820 fi
47821
47822 if test "$wxUSE_CLIPBOARD" = "yes"; then
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_CLIPBOARD 1
47825 _ACEOF
47826
47827 fi
47828 fi
47829
47830 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47831 if test "$wxUSE_GTK" = 1; then
47832 if test "$WXGTK12" != 1; then
47833 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47834 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47835 wxUSE_DRAG_AND_DROP=no
47836 fi
47837 fi
47838
47839 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47840 "$wxUSE_DFB" = 1; then
47841 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47842 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47843 wxUSE_DRAG_AND_DROP=no
47844 fi
47845
47846 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47847 cat >>confdefs.h <<\_ACEOF
47848 #define wxUSE_DRAG_AND_DROP 1
47849 _ACEOF
47850
47851 fi
47852
47853 fi
47854
47855 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47857 fi
47858
47859 if test "$wxUSE_SPLINES" = "yes" ; then
47860 cat >>confdefs.h <<\_ACEOF
47861 #define wxUSE_SPLINES 1
47862 _ACEOF
47863
47864 fi
47865
47866 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_MOUSEWHEEL 1
47869 _ACEOF
47870
47871 fi
47872
47873
47874 USES_CONTROLS=0
47875 if test "$wxUSE_CONTROLS" = "yes"; then
47876 USES_CONTROLS=1
47877 fi
47878
47879 if test "$wxUSE_ACCEL" = "yes"; then
47880 cat >>confdefs.h <<\_ACEOF
47881 #define wxUSE_ACCEL 1
47882 _ACEOF
47883
47884 USES_CONTROLS=1
47885 fi
47886
47887 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47888 cat >>confdefs.h <<\_ACEOF
47889 #define wxUSE_ANIMATIONCTRL 1
47890 _ACEOF
47891
47892 USES_CONTROLS=1
47893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47894 fi
47895
47896 if test "$wxUSE_BUTTON" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_BUTTON 1
47899 _ACEOF
47900
47901 USES_CONTROLS=1
47902 fi
47903
47904 if test "$wxUSE_BMPBUTTON" = "yes"; then
47905 cat >>confdefs.h <<\_ACEOF
47906 #define wxUSE_BMPBUTTON 1
47907 _ACEOF
47908
47909 USES_CONTROLS=1
47910 fi
47911
47912 if test "$wxUSE_CALCTRL" = "yes"; then
47913 cat >>confdefs.h <<\_ACEOF
47914 #define wxUSE_CALENDARCTRL 1
47915 _ACEOF
47916
47917 USES_CONTROLS=1
47918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47919 fi
47920
47921 if test "$wxUSE_CARET" = "yes"; then
47922 cat >>confdefs.h <<\_ACEOF
47923 #define wxUSE_CARET 1
47924 _ACEOF
47925
47926 USES_CONTROLS=1
47927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47928 fi
47929
47930 if test "$wxUSE_COLLPANE" = "yes"; then
47931 cat >>confdefs.h <<\_ACEOF
47932 #define wxUSE_COLLPANE 1
47933 _ACEOF
47934
47935 USES_CONTROLS=1
47936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47937 fi
47938
47939 if test "$wxUSE_COMBOBOX" = "yes"; then
47940 cat >>confdefs.h <<\_ACEOF
47941 #define wxUSE_COMBOBOX 1
47942 _ACEOF
47943
47944 USES_CONTROLS=1
47945 fi
47946
47947 if test "$wxUSE_COMBOCTRL" = "yes"; then
47948 cat >>confdefs.h <<\_ACEOF
47949 #define wxUSE_COMBOCTRL 1
47950 _ACEOF
47951
47952 USES_CONTROLS=1
47953 fi
47954
47955 if test "$wxUSE_CHOICE" = "yes"; then
47956 cat >>confdefs.h <<\_ACEOF
47957 #define wxUSE_CHOICE 1
47958 _ACEOF
47959
47960 USES_CONTROLS=1
47961 fi
47962
47963 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47964 cat >>confdefs.h <<\_ACEOF
47965 #define wxUSE_CHOICEBOOK 1
47966 _ACEOF
47967
47968 USES_CONTROLS=1
47969 fi
47970
47971 if test "$wxUSE_CHECKBOX" = "yes"; then
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_CHECKBOX 1
47974 _ACEOF
47975
47976 USES_CONTROLS=1
47977 fi
47978
47979 if test "$wxUSE_CHECKLST" = "yes"; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_CHECKLISTBOX 1
47982 _ACEOF
47983
47984 USES_CONTROLS=1
47985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47986 fi
47987
47988 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47989 cat >>confdefs.h <<\_ACEOF
47990 #define wxUSE_COLOURPICKERCTRL 1
47991 _ACEOF
47992
47993 USES_CONTROLS=1
47994 fi
47995
47996 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47997 cat >>confdefs.h <<\_ACEOF
47998 #define wxUSE_DATEPICKCTRL 1
47999 _ACEOF
48000
48001 USES_CONTROLS=1
48002 fi
48003
48004 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_DIRPICKERCTRL 1
48007 _ACEOF
48008
48009 USES_CONTROLS=1
48010 fi
48011
48012 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_FILEPICKERCTRL 1
48015 _ACEOF
48016
48017 USES_CONTROLS=1
48018 fi
48019
48020 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48021 cat >>confdefs.h <<\_ACEOF
48022 #define wxUSE_FONTPICKERCTRL 1
48023 _ACEOF
48024
48025 USES_CONTROLS=1
48026 fi
48027
48028 if test "$wxUSE_DISPLAY" = "yes"; then
48029 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48030 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48031 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48032 wxUSE_DISPLAY=no
48033 else
48034 cat >>confdefs.h <<\_ACEOF
48035 #define wxUSE_DISPLAY 1
48036 _ACEOF
48037
48038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
48039 fi
48040 fi
48041
48042 if test "$wxUSE_DETECT_SM" = "yes"; then
48043 cat >>confdefs.h <<\_ACEOF
48044 #define wxUSE_DETECT_SM 1
48045 _ACEOF
48046
48047 fi
48048
48049 if test "$wxUSE_GAUGE" = "yes"; then
48050 cat >>confdefs.h <<\_ACEOF
48051 #define wxUSE_GAUGE 1
48052 _ACEOF
48053
48054 USES_CONTROLS=1
48055 fi
48056
48057 if test "$wxUSE_GRID" = "yes"; then
48058 cat >>confdefs.h <<\_ACEOF
48059 #define wxUSE_GRID 1
48060 _ACEOF
48061
48062 USES_CONTROLS=1
48063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48064 fi
48065
48066 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48067 cat >>confdefs.h <<\_ACEOF
48068 #define wxUSE_HYPERLINKCTRL 1
48069 _ACEOF
48070
48071 USES_CONTROLS=1
48072 fi
48073
48074 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48075 cat >>confdefs.h <<\_ACEOF
48076 #define wxUSE_BITMAPCOMBOBOX 1
48077 _ACEOF
48078
48079 USES_CONTROLS=1
48080 fi
48081
48082 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48083 cat >>confdefs.h <<\_ACEOF
48084 #define wxUSE_DATAVIEWCTRL 1
48085 _ACEOF
48086
48087 USES_CONTROLS=1
48088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48089 fi
48090
48091 if test "$wxUSE_IMAGLIST" = "yes"; then
48092 cat >>confdefs.h <<\_ACEOF
48093 #define wxUSE_IMAGLIST 1
48094 _ACEOF
48095
48096 fi
48097
48098 if test "$wxUSE_LISTBOOK" = "yes"; then
48099 cat >>confdefs.h <<\_ACEOF
48100 #define wxUSE_LISTBOOK 1
48101 _ACEOF
48102
48103 USES_CONTROLS=1
48104 fi
48105
48106 if test "$wxUSE_LISTBOX" = "yes"; then
48107 cat >>confdefs.h <<\_ACEOF
48108 #define wxUSE_LISTBOX 1
48109 _ACEOF
48110
48111 USES_CONTROLS=1
48112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48113 fi
48114
48115 if test "$wxUSE_LISTCTRL" = "yes"; then
48116 if test "$wxUSE_IMAGLIST" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_LISTCTRL 1
48119 _ACEOF
48120
48121 USES_CONTROLS=1
48122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48123 else
48124 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48125 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48126 fi
48127 fi
48128
48129 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48130 cat >>confdefs.h <<\_ACEOF
48131 #define wxUSE_EDITABLELISTBOX 1
48132 _ACEOF
48133
48134 USES_CONTROLS=1
48135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48136 fi
48137
48138 if test "$wxUSE_NOTEBOOK" = "yes"; then
48139 cat >>confdefs.h <<\_ACEOF
48140 #define wxUSE_NOTEBOOK 1
48141 _ACEOF
48142
48143 USES_CONTROLS=1
48144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48145 fi
48146
48147 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48148 cat >>confdefs.h <<\_ACEOF
48149 #define wxUSE_ODCOMBOBOX 1
48150 _ACEOF
48151
48152 USES_CONTROLS=1
48153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48154 fi
48155
48156
48157 if test "$wxUSE_RADIOBOX" = "yes"; then
48158 cat >>confdefs.h <<\_ACEOF
48159 #define wxUSE_RADIOBOX 1
48160 _ACEOF
48161
48162 USES_CONTROLS=1
48163 fi
48164
48165 if test "$wxUSE_RADIOBTN" = "yes"; then
48166 cat >>confdefs.h <<\_ACEOF
48167 #define wxUSE_RADIOBTN 1
48168 _ACEOF
48169
48170 USES_CONTROLS=1
48171 fi
48172
48173 if test "$wxUSE_SASH" = "yes"; then
48174 cat >>confdefs.h <<\_ACEOF
48175 #define wxUSE_SASH 1
48176 _ACEOF
48177
48178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48179 fi
48180
48181 if test "$wxUSE_SCROLLBAR" = "yes"; then
48182 cat >>confdefs.h <<\_ACEOF
48183 #define wxUSE_SCROLLBAR 1
48184 _ACEOF
48185
48186 USES_CONTROLS=1
48187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48188 fi
48189
48190 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48191 cat >>confdefs.h <<\_ACEOF
48192 #define wxUSE_SEARCHCTRL 1
48193 _ACEOF
48194
48195 USES_CONTROLS=1
48196 fi
48197
48198 if test "$wxUSE_SLIDER" = "yes"; then
48199 cat >>confdefs.h <<\_ACEOF
48200 #define wxUSE_SLIDER 1
48201 _ACEOF
48202
48203 USES_CONTROLS=1
48204 fi
48205
48206 if test "$wxUSE_SPINBTN" = "yes"; then
48207 cat >>confdefs.h <<\_ACEOF
48208 #define wxUSE_SPINBTN 1
48209 _ACEOF
48210
48211 USES_CONTROLS=1
48212 fi
48213
48214 if test "$wxUSE_SPINCTRL" = "yes"; then
48215 cat >>confdefs.h <<\_ACEOF
48216 #define wxUSE_SPINCTRL 1
48217 _ACEOF
48218
48219 USES_CONTROLS=1
48220 fi
48221
48222 if test "$wxUSE_SPLITTER" = "yes"; then
48223 cat >>confdefs.h <<\_ACEOF
48224 #define wxUSE_SPLITTER 1
48225 _ACEOF
48226
48227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48228 fi
48229
48230 if test "$wxUSE_STATBMP" = "yes"; then
48231 cat >>confdefs.h <<\_ACEOF
48232 #define wxUSE_STATBMP 1
48233 _ACEOF
48234
48235 USES_CONTROLS=1
48236 fi
48237
48238 if test "$wxUSE_STATBOX" = "yes"; then
48239 cat >>confdefs.h <<\_ACEOF
48240 #define wxUSE_STATBOX 1
48241 _ACEOF
48242
48243 USES_CONTROLS=1
48244 fi
48245
48246 if test "$wxUSE_STATTEXT" = "yes"; then
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_STATTEXT 1
48249 _ACEOF
48250
48251 USES_CONTROLS=1
48252 fi
48253
48254 if test "$wxUSE_STATLINE" = "yes"; then
48255 cat >>confdefs.h <<\_ACEOF
48256 #define wxUSE_STATLINE 1
48257 _ACEOF
48258
48259 USES_CONTROLS=1
48260 fi
48261
48262 if test "$wxUSE_STATUSBAR" = "yes"; then
48263 cat >>confdefs.h <<\_ACEOF
48264 #define wxUSE_NATIVE_STATUSBAR 1
48265 _ACEOF
48266
48267 cat >>confdefs.h <<\_ACEOF
48268 #define wxUSE_STATUSBAR 1
48269 _ACEOF
48270
48271 USES_CONTROLS=1
48272
48273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48274 fi
48275
48276 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48277 cat >>confdefs.h <<\_ACEOF
48278 #define wxUSE_TAB_DIALOG 1
48279 _ACEOF
48280
48281 fi
48282
48283 if test "$wxUSE_TEXTCTRL" = "yes"; then
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_TEXTCTRL 1
48286 _ACEOF
48287
48288 USES_CONTROLS=1
48289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48290 fi
48291
48292 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48293 if test "$wxUSE_COCOA" = 1 ; then
48294 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48295 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48296 wxUSE_TOGGLEBTN=no
48297 fi
48298
48299 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48300 cat >>confdefs.h <<\_ACEOF
48301 #define wxUSE_TOGGLEBTN 1
48302 _ACEOF
48303
48304 USES_CONTROLS=1
48305 fi
48306 fi
48307
48308 if test "$wxUSE_TOOLBAR" = "yes"; then
48309 cat >>confdefs.h <<\_ACEOF
48310 #define wxUSE_TOOLBAR 1
48311 _ACEOF
48312
48313 USES_CONTROLS=1
48314
48315 if test "$wxUSE_UNIVERSAL" = "yes"; then
48316 wxUSE_TOOLBAR_NATIVE="no"
48317 else
48318 wxUSE_TOOLBAR_NATIVE="yes"
48319 cat >>confdefs.h <<\_ACEOF
48320 #define wxUSE_TOOLBAR_NATIVE 1
48321 _ACEOF
48322
48323 fi
48324
48325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48326 fi
48327
48328 if test "$wxUSE_TOOLTIPS" = "yes"; then
48329 if test "$wxUSE_MOTIF" = 1; then
48330 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48331 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48332 else
48333 if test "$wxUSE_UNIVERSAL" = "yes"; then
48334 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48335 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48336 else
48337 cat >>confdefs.h <<\_ACEOF
48338 #define wxUSE_TOOLTIPS 1
48339 _ACEOF
48340
48341 fi
48342 fi
48343 fi
48344
48345 if test "$wxUSE_TREEBOOK" = "yes"; then
48346 cat >>confdefs.h <<\_ACEOF
48347 #define wxUSE_TREEBOOK 1
48348 _ACEOF
48349
48350 USES_CONTROLS=1
48351 fi
48352
48353 if test "$wxUSE_TOOLBOOK" = "yes"; then
48354 cat >>confdefs.h <<\_ACEOF
48355 #define wxUSE_TOOLBOOK 1
48356 _ACEOF
48357
48358 USES_CONTROLS=1
48359 fi
48360
48361 if test "$wxUSE_TREECTRL" = "yes"; then
48362 if test "$wxUSE_IMAGLIST" = "yes"; then
48363 cat >>confdefs.h <<\_ACEOF
48364 #define wxUSE_TREECTRL 1
48365 _ACEOF
48366
48367 USES_CONTROLS=1
48368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48369 else
48370 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48371 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48372 fi
48373 fi
48374
48375 if test "$wxUSE_POPUPWIN" = "yes"; then
48376 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48377 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48378 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48379 else
48380 if test "$wxUSE_PM" = 1; then
48381 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48382 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48383 else
48384 cat >>confdefs.h <<\_ACEOF
48385 #define wxUSE_POPUPWIN 1
48386 _ACEOF
48387
48388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48389
48390 USES_CONTROLS=1
48391 fi
48392 fi
48393 fi
48394
48395 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48396 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48397 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48398 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48399 else
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_DIALUP_MANAGER 1
48402 _ACEOF
48403
48404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48405 fi
48406 fi
48407
48408 if test "$wxUSE_TIPWINDOW" = "yes"; then
48409 if test "$wxUSE_PM" = 1; then
48410 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48411 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48412 else
48413 cat >>confdefs.h <<\_ACEOF
48414 #define wxUSE_TIPWINDOW 1
48415 _ACEOF
48416
48417 fi
48418 fi
48419
48420 if test "$USES_CONTROLS" = 1; then
48421 cat >>confdefs.h <<\_ACEOF
48422 #define wxUSE_CONTROLS 1
48423 _ACEOF
48424
48425 fi
48426
48427
48428 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48429 cat >>confdefs.h <<\_ACEOF
48430 #define wxUSE_ACCESSIBILITY 1
48431 _ACEOF
48432
48433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48434 fi
48435
48436 if test "$wxUSE_DC_CACHEING" = "yes"; then
48437 cat >>confdefs.h <<\_ACEOF
48438 #define wxUSE_DC_CACHEING 1
48439 _ACEOF
48440
48441 fi
48442
48443 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48444 cat >>confdefs.h <<\_ACEOF
48445 #define wxUSE_DRAGIMAGE 1
48446 _ACEOF
48447
48448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48449 fi
48450
48451 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48452 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48453 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48454 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48455 else
48456 cat >>confdefs.h <<\_ACEOF
48457 #define wxUSE_EXCEPTIONS 1
48458 _ACEOF
48459
48460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48461 fi
48462 fi
48463
48464 USE_HTML=0
48465 if test "$wxUSE_HTML" = "yes"; then
48466 cat >>confdefs.h <<\_ACEOF
48467 #define wxUSE_HTML 1
48468 _ACEOF
48469
48470 USE_HTML=1
48471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48472 if test "$wxUSE_MAC" = 1; then
48473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48474 fi
48475 fi
48476 if test "$wxUSE_WEBKIT" = "yes"; then
48477 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48478 old_CPPFLAGS="$CPPFLAGS"
48479 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48480 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48481 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48482 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48483 echo $ECHO_N "(cached) $ECHO_C" >&6
48484 else
48485 cat >conftest.$ac_ext <<_ACEOF
48486 /* confdefs.h. */
48487 _ACEOF
48488 cat confdefs.h >>conftest.$ac_ext
48489 cat >>conftest.$ac_ext <<_ACEOF
48490 /* end confdefs.h. */
48491
48492 #include <Carbon/Carbon.h>
48493 #include <WebKit/WebKit.h>
48494
48495
48496 #include <WebKit/HIWebView.h>
48497 _ACEOF
48498 rm -f conftest.$ac_objext
48499 if { (ac_try="$ac_compile"
48500 case "(($ac_try" in
48501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48502 *) ac_try_echo=$ac_try;;
48503 esac
48504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48505 (eval "$ac_compile") 2>conftest.er1
48506 ac_status=$?
48507 grep -v '^ *+' conftest.er1 >conftest.err
48508 rm -f conftest.er1
48509 cat conftest.err >&5
48510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48511 (exit $ac_status); } && {
48512 test -z "$ac_c_werror_flag" ||
48513 test ! -s conftest.err
48514 } && test -s conftest.$ac_objext; then
48515 ac_cv_header_WebKit_HIWebView_h=yes
48516 else
48517 echo "$as_me: failed program was:" >&5
48518 sed 's/^/| /' conftest.$ac_ext >&5
48519
48520 ac_cv_header_WebKit_HIWebView_h=no
48521 fi
48522
48523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48524 fi
48525 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48526 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48527 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48528
48529 cat >>confdefs.h <<\_ACEOF
48530 #define wxUSE_WEBKIT 1
48531 _ACEOF
48532
48533 WEBKIT_LINK="-framework WebKit"
48534
48535 else
48536
48537 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48538 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48539 wxUSE_WEBKIT=no
48540
48541 fi
48542
48543
48544 CPPFLAGS="$old_CPPFLAGS"
48545 elif test "$wxUSE_COCOA" = 1; then
48546 cat >>confdefs.h <<\_ACEOF
48547 #define wxUSE_WEBKIT 1
48548 _ACEOF
48549
48550 else
48551 wxUSE_WEBKIT=no
48552 fi
48553 fi
48554
48555 USE_XRC=0
48556 if test "$wxUSE_XRC" = "yes"; then
48557 if test "$wxUSE_XML" != "yes"; then
48558 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48559 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48560 wxUSE_XRC=no
48561 else
48562 cat >>confdefs.h <<\_ACEOF
48563 #define wxUSE_XRC 1
48564 _ACEOF
48565
48566 USE_XRC=1
48567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48568 fi
48569 fi
48570
48571 USE_AUI=0
48572 if test "$wxUSE_AUI" = "yes"; then
48573 cat >>confdefs.h <<\_ACEOF
48574 #define wxUSE_AUI 1
48575 _ACEOF
48576
48577 USE_AUI=1
48578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48579 fi
48580
48581 USE_STC=0
48582 if test "$wxUSE_STC" = "yes"; then
48583 cat >>confdefs.h <<\_ACEOF
48584 #define wxUSE_STC 1
48585 _ACEOF
48586
48587 USE_STC=1
48588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48589 fi
48590
48591 if test "$wxUSE_MENUS" = "yes"; then
48592 cat >>confdefs.h <<\_ACEOF
48593 #define wxUSE_MENUS 1
48594 _ACEOF
48595
48596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48597 fi
48598
48599 if test "$wxUSE_METAFILE" = "yes"; then
48600 cat >>confdefs.h <<\_ACEOF
48601 #define wxUSE_METAFILE 1
48602 _ACEOF
48603
48604 fi
48605
48606 if test "$wxUSE_MIMETYPE" = "yes"; then
48607 cat >>confdefs.h <<\_ACEOF
48608 #define wxUSE_MIMETYPE 1
48609 _ACEOF
48610
48611 fi
48612
48613 if test "$wxUSE_MINIFRAME" = "yes"; then
48614 cat >>confdefs.h <<\_ACEOF
48615 #define wxUSE_MINIFRAME 1
48616 _ACEOF
48617
48618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48619 fi
48620
48621 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48622 cat >>confdefs.h <<\_ACEOF
48623 #define wxUSE_SYSTEM_OPTIONS 1
48624 _ACEOF
48625
48626 fi
48627
48628 if test "$wxUSE_TASKBARICON" = "yes"; then
48629 cat >>confdefs.h <<\_ACEOF
48630 #define wxUSE_TASKBARICON 1
48631 _ACEOF
48632
48633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48634 fi
48635
48636
48637 if test "$wxUSE_VALIDATORS" = "yes"; then
48638 cat >>confdefs.h <<\_ACEOF
48639 #define wxUSE_VALIDATORS 1
48640 _ACEOF
48641
48642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48643 fi
48644
48645 if test "$wxUSE_PALETTE" = "yes" ; then
48646 if test "$wxUSE_DFB" = 1; then
48647 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48648 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48649 wxUSE_PALETTE=no
48650 else
48651 cat >>confdefs.h <<\_ACEOF
48652 #define wxUSE_PALETTE 1
48653 _ACEOF
48654
48655 fi
48656 fi
48657
48658 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48659 LIBS=" -lunicows $LIBS"
48660 fi
48661
48662 USE_RICHTEXT=0
48663 if test "$wxUSE_RICHTEXT" = "yes"; then
48664 cat >>confdefs.h <<\_ACEOF
48665 #define wxUSE_RICHTEXT 1
48666 _ACEOF
48667
48668 USE_RICHTEXT=1
48669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48670 fi
48671
48672
48673 if test "$wxUSE_IMAGE" = "yes" ; then
48674 cat >>confdefs.h <<\_ACEOF
48675 #define wxUSE_IMAGE 1
48676 _ACEOF
48677
48678
48679 if test "$wxUSE_GIF" = "yes" ; then
48680 cat >>confdefs.h <<\_ACEOF
48681 #define wxUSE_GIF 1
48682 _ACEOF
48683
48684 fi
48685
48686 if test "$wxUSE_PCX" = "yes" ; then
48687 cat >>confdefs.h <<\_ACEOF
48688 #define wxUSE_PCX 1
48689 _ACEOF
48690
48691 fi
48692
48693 if test "$wxUSE_TGA" = "yes" ; then
48694 cat >>confdefs.h <<\_ACEOF
48695 #define wxUSE_TGA 1
48696 _ACEOF
48697
48698 fi
48699
48700 if test "$wxUSE_IFF" = "yes" ; then
48701 cat >>confdefs.h <<\_ACEOF
48702 #define wxUSE_IFF 1
48703 _ACEOF
48704
48705 fi
48706
48707 if test "$wxUSE_PNM" = "yes" ; then
48708 cat >>confdefs.h <<\_ACEOF
48709 #define wxUSE_PNM 1
48710 _ACEOF
48711
48712 fi
48713
48714 if test "$wxUSE_XPM" = "yes" ; then
48715 cat >>confdefs.h <<\_ACEOF
48716 #define wxUSE_XPM 1
48717 _ACEOF
48718
48719 fi
48720
48721 if test "$wxUSE_ICO_CUR" = "yes" ; then
48722 cat >>confdefs.h <<\_ACEOF
48723 #define wxUSE_ICO_CUR 1
48724 _ACEOF
48725
48726 fi
48727 fi
48728
48729
48730 if test "$wxUSE_ABOUTDLG" = "yes"; then
48731 cat >>confdefs.h <<\_ACEOF
48732 #define wxUSE_ABOUTDLG 1
48733 _ACEOF
48734
48735 fi
48736
48737 if test "$wxUSE_CHOICEDLG" = "yes"; then
48738 cat >>confdefs.h <<\_ACEOF
48739 #define wxUSE_CHOICEDLG 1
48740 _ACEOF
48741
48742 fi
48743
48744 if test "$wxUSE_COLOURDLG" = "yes"; then
48745 cat >>confdefs.h <<\_ACEOF
48746 #define wxUSE_COLOURDLG 1
48747 _ACEOF
48748
48749 fi
48750
48751 if test "$wxUSE_FILEDLG" = "yes"; then
48752 cat >>confdefs.h <<\_ACEOF
48753 #define wxUSE_FILEDLG 1
48754 _ACEOF
48755
48756 fi
48757
48758 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48759 cat >>confdefs.h <<\_ACEOF
48760 #define wxUSE_FINDREPLDLG 1
48761 _ACEOF
48762
48763 fi
48764
48765 if test "$wxUSE_FONTDLG" = "yes"; then
48766 cat >>confdefs.h <<\_ACEOF
48767 #define wxUSE_FONTDLG 1
48768 _ACEOF
48769
48770 fi
48771
48772 if test "$wxUSE_DIRDLG" = "yes"; then
48773 if test "$wxUSE_TREECTRL" != "yes"; then
48774 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48775 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48776 else
48777 cat >>confdefs.h <<\_ACEOF
48778 #define wxUSE_DIRDLG 1
48779 _ACEOF
48780
48781 fi
48782 fi
48783
48784 if test "$wxUSE_MSGDLG" = "yes"; then
48785 cat >>confdefs.h <<\_ACEOF
48786 #define wxUSE_MSGDLG 1
48787 _ACEOF
48788
48789 fi
48790
48791 if test "$wxUSE_NUMBERDLG" = "yes"; then
48792 cat >>confdefs.h <<\_ACEOF
48793 #define wxUSE_NUMBERDLG 1
48794 _ACEOF
48795
48796 fi
48797
48798 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48799 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48800 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48801 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48802 else
48803 cat >>confdefs.h <<\_ACEOF
48804 #define wxUSE_PROGRESSDLG 1
48805 _ACEOF
48806
48807 fi
48808 fi
48809
48810 if test "$wxUSE_SPLASH" = "yes"; then
48811 cat >>confdefs.h <<\_ACEOF
48812 #define wxUSE_SPLASH 1
48813 _ACEOF
48814
48815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48816 fi
48817
48818 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48819 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48820 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48821 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48822 else
48823 cat >>confdefs.h <<\_ACEOF
48824 #define wxUSE_STARTUP_TIPS 1
48825 _ACEOF
48826
48827 fi
48828 fi
48829
48830 if test "$wxUSE_TEXTDLG" = "yes"; then
48831 cat >>confdefs.h <<\_ACEOF
48832 #define wxUSE_TEXTDLG 1
48833 _ACEOF
48834
48835 fi
48836
48837 if test "$wxUSE_WIZARDDLG" = "yes"; then
48838 cat >>confdefs.h <<\_ACEOF
48839 #define wxUSE_WIZARDDLG 1
48840 _ACEOF
48841
48842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48843 fi
48844
48845
48846 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48847 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48848 cat >>confdefs.h <<\_ACEOF
48849 #define wxUSE_GRAPHICS_CONTEXT 1
48850 _ACEOF
48851
48852 elif test "$wxUSE_GTK" != 1; then
48853 cat >>confdefs.h <<\_ACEOF
48854 #define wxUSE_GRAPHICS_CONTEXT 1
48855 _ACEOF
48856
48857 else
48858
48859 pkg_failed=no
48860 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48861 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48862
48863 if test -n "$PKG_CONFIG"; then
48864 if test -n "$CAIRO_CFLAGS"; then
48865 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48866 else
48867 if test -n "$PKG_CONFIG" && \
48868 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48869 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48870 ac_status=$?
48871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48872 (exit $ac_status); }; then
48873 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48874 else
48875 pkg_failed=yes
48876 fi
48877 fi
48878 else
48879 pkg_failed=untried
48880 fi
48881 if test -n "$PKG_CONFIG"; then
48882 if test -n "$CAIRO_LIBS"; then
48883 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48884 else
48885 if test -n "$PKG_CONFIG" && \
48886 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48887 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48888 ac_status=$?
48889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48890 (exit $ac_status); }; then
48891 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48892 else
48893 pkg_failed=yes
48894 fi
48895 fi
48896 else
48897 pkg_failed=untried
48898 fi
48899
48900
48901
48902 if test $pkg_failed = yes; then
48903
48904 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48905 _pkg_short_errors_supported=yes
48906 else
48907 _pkg_short_errors_supported=no
48908 fi
48909 if test $_pkg_short_errors_supported = yes; then
48910 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48911 else
48912 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48913 fi
48914 # Put the nasty error message in config.log where it belongs
48915 echo "$CAIRO_PKG_ERRORS" >&5
48916
48917 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48918 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48919
48920 elif test $pkg_failed = untried; then
48921 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48922 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48923
48924 else
48925 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48926 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48927 { echo "$as_me:$LINENO: result: yes" >&5
48928 echo "${ECHO_T}yes" >&6; }
48929 cat >>confdefs.h <<\_ACEOF
48930 #define wxUSE_GRAPHICS_CONTEXT 1
48931 _ACEOF
48932
48933 fi
48934 fi
48935 fi
48936
48937
48938 USE_MEDIA=0
48939
48940 if test "$wxUSE_MEDIACTRL" = "yes"; then
48941 USE_MEDIA=1
48942
48943 if test "$wxUSE_GTK" = 1; then
48944 wxUSE_GSTREAMER="no"
48945
48946 GST_VERSION_MAJOR=0
48947 GST_VERSION_MINOR=10
48948 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48949
48950 if test "$wxUSE_GSTREAMER8" = "no"; then
48951
48952 pkg_failed=no
48953 { echo "$as_me:$LINENO: checking for GST" >&5
48954 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48955
48956 if test -n "$PKG_CONFIG"; then
48957 if test -n "$GST_CFLAGS"; then
48958 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48959 else
48960 if test -n "$PKG_CONFIG" && \
48961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48962 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48963 ac_status=$?
48964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965 (exit $ac_status); }; then
48966 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48967 else
48968 pkg_failed=yes
48969 fi
48970 fi
48971 else
48972 pkg_failed=untried
48973 fi
48974 if test -n "$PKG_CONFIG"; then
48975 if test -n "$GST_LIBS"; then
48976 pkg_cv_GST_LIBS="$GST_LIBS"
48977 else
48978 if test -n "$PKG_CONFIG" && \
48979 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48980 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48981 ac_status=$?
48982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48983 (exit $ac_status); }; then
48984 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48985 else
48986 pkg_failed=yes
48987 fi
48988 fi
48989 else
48990 pkg_failed=untried
48991 fi
48992
48993
48994
48995 if test $pkg_failed = yes; then
48996
48997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48998 _pkg_short_errors_supported=yes
48999 else
49000 _pkg_short_errors_supported=no
49001 fi
49002 if test $_pkg_short_errors_supported = yes; then
49003 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49004 else
49005 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49006 fi
49007 # Put the nasty error message in config.log where it belongs
49008 echo "$GST_PKG_ERRORS" >&5
49009
49010
49011 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49012 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49013 GST_VERSION_MINOR=8
49014
49015
49016 elif test $pkg_failed = untried; then
49017
49018 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49019 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49020 GST_VERSION_MINOR=8
49021
49022
49023 else
49024 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49025 GST_LIBS=$pkg_cv_GST_LIBS
49026 { echo "$as_me:$LINENO: result: yes" >&5
49027 echo "${ECHO_T}yes" >&6; }
49028
49029 wxUSE_GSTREAMER="yes"
49030 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49031
49032 fi
49033 else
49034 GST_VERSION_MINOR=8
49035 fi
49036
49037 if test $GST_VERSION_MINOR = "8"; then
49038 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49039
49040 pkg_failed=no
49041 { echo "$as_me:$LINENO: checking for GST" >&5
49042 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49043
49044 if test -n "$PKG_CONFIG"; then
49045 if test -n "$GST_CFLAGS"; then
49046 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49047 else
49048 if test -n "$PKG_CONFIG" && \
49049 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49050 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49051 ac_status=$?
49052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49053 (exit $ac_status); }; then
49054 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49055 else
49056 pkg_failed=yes
49057 fi
49058 fi
49059 else
49060 pkg_failed=untried
49061 fi
49062 if test -n "$PKG_CONFIG"; then
49063 if test -n "$GST_LIBS"; then
49064 pkg_cv_GST_LIBS="$GST_LIBS"
49065 else
49066 if test -n "$PKG_CONFIG" && \
49067 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49068 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49069 ac_status=$?
49070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49071 (exit $ac_status); }; then
49072 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49073 else
49074 pkg_failed=yes
49075 fi
49076 fi
49077 else
49078 pkg_failed=untried
49079 fi
49080
49081
49082
49083 if test $pkg_failed = yes; then
49084
49085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49086 _pkg_short_errors_supported=yes
49087 else
49088 _pkg_short_errors_supported=no
49089 fi
49090 if test $_pkg_short_errors_supported = yes; then
49091 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49092 else
49093 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49094 fi
49095 # Put the nasty error message in config.log where it belongs
49096 echo "$GST_PKG_ERRORS" >&5
49097
49098
49099 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49100 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49101
49102 elif test $pkg_failed = untried; then
49103
49104 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49105 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49106
49107 else
49108 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49109 GST_LIBS=$pkg_cv_GST_LIBS
49110 { echo "$as_me:$LINENO: result: yes" >&5
49111 echo "${ECHO_T}yes" >&6; }
49112 wxUSE_GSTREAMER="yes"
49113 fi
49114 fi
49115
49116
49117 if test "$wxUSE_GSTREAMER" = "yes"; then
49118 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49119 LIBS="$GST_LIBS $LIBS"
49120
49121 cat >>confdefs.h <<\_ACEOF
49122 #define wxUSE_GSTREAMER 1
49123 _ACEOF
49124
49125 else
49126 USE_MEDIA=0
49127 fi
49128 fi
49129
49130 if test $USE_MEDIA = 1; then
49131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49132 cat >>confdefs.h <<\_ACEOF
49133 #define wxUSE_MEDIACTRL 1
49134 _ACEOF
49135
49136 fi
49137 fi
49138
49139
49140 if test "$cross_compiling" = "yes"; then
49141 OSINFO="\"$host\""
49142 else
49143 OSINFO=`uname -s -r -m`
49144 OSINFO="\"$OSINFO\""
49145 fi
49146
49147 cat >>confdefs.h <<_ACEOF
49148 #define WXWIN_OS_DESCRIPTION $OSINFO
49149 _ACEOF
49150
49151
49152
49153 if test "x$prefix" != "xNONE"; then
49154 wxPREFIX=$prefix
49155 else
49156 wxPREFIX=$ac_default_prefix
49157 fi
49158
49159 cat >>confdefs.h <<_ACEOF
49160 #define wxINSTALL_PREFIX "$wxPREFIX"
49161 _ACEOF
49162
49163
49164
49165
49166 STD_BASE_LIBS="base"
49167 STD_GUI_LIBS=""
49168 BUILT_WX_LIBS="base"
49169 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49170
49171 if test "$wxUSE_SOCKETS" = "yes" ; then
49172 STD_BASE_LIBS="net $STD_BASE_LIBS"
49173 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49174 fi
49175 if test "$wxUSE_ODBC" != "no" ; then
49176 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49177 fi
49178 if test "$wxUSE_XML" = "yes" ; then
49179 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49180 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49181 fi
49182
49183 if test "$wxUSE_GUI" = "yes"; then
49184 STD_GUI_LIBS="adv core"
49185 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49186
49187 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49188 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49189 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49190 fi
49191 if test "$wxUSE_ODBC" != "no" ; then
49192 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49193 fi
49194 if test "$wxUSE_HTML" = "yes" ; then
49195 STD_GUI_LIBS="html $STD_GUI_LIBS"
49196 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49197 fi
49198 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49199 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49200 fi
49201 if test "$wxUSE_OPENGL" = "yes" ; then
49202 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49203 fi
49204 if test "$wxUSE_AUI" = "yes" ; then
49205 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49206 fi
49207 if test "$wxUSE_STC" = "yes" ; then
49208 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49209 fi
49210 if test "$wxUSE_XRC" = "yes" ; then
49211 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49212 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49213 fi
49214 fi
49215
49216
49217
49218
49219
49220
49221
49222
49223 if test "$wxUSE_MAC" = 1 ; then
49224 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49225 if test "$USE_DARWIN" = 1; then
49226 LDFLAGS="$LDFLAGS -framework QuickTime"
49227 else
49228 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49229 fi
49230 fi
49231 if test "$USE_DARWIN" = 1; then
49232 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49233 else
49234 LDFLAGS="$LDFLAGS -lCarbonLib"
49235 fi
49236 fi
49237 if test "$wxUSE_COCOA" = 1 ; then
49238 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49239 if test "$wxUSE_MEDIACTRL" = "yes"; then
49240 LDFLAGS="$LDFLAGS -framework QuickTime"
49241 fi
49242 fi
49243 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49244 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49245 fi
49246
49247 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49248
49249 if test "$wxUSE_GUI" = "yes"; then
49250
49251
49252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49253 dynamic erase event exec font image minimal mobile \
49254 mobile/wxedit mobile/styles propsize render \
49255 rotate shaped svg taborder vscroll widgets"
49256
49257 if test "$wxUSE_MONOLITHIC" != "yes"; then
49258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49259 fi
49260 if test "$TOOLKIT" = "MSW"; then
49261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49262 if test "$wxUSE_UNIVERSAL" != "yes"; then
49263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49264 fi
49265 fi
49266 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49268 fi
49269 else
49270 SAMPLES_SUBDIRS="console"
49271 fi
49272
49273
49274 if test "x$INTELCC" = "xyes" ; then
49275 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49276 elif test "$GCC" = yes ; then
49277 CWARNINGS="-Wall -Wundef"
49278 fi
49279
49280 if test "x$INTELCXX" = "xyes" ; then
49281 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49282 elif test "$GXX" = yes ; then
49283 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49284 fi
49285
49286
49287 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49288 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49289
49290
49291 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49292 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49293 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49294 $CPPFLAGS `
49295
49296 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49297 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49298 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49299
49300 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49301
49302
49303 if test "x$MWCC" = "xyes"; then
49304
49305 CC="$CC -cwd source -I-"
49306 CXX="$CXX -cwd source -I-"
49307 fi
49308
49309
49310 LIBS=`echo $LIBS`
49311 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49312 EXTRALIBS_XML="$EXPAT_LINK"
49313 EXTRALIBS_HTML="$MSPACK_LINK"
49314 EXTRALIBS_ODBC="$ODBC_LINK"
49315 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49316 if test "$wxUSE_GUI" = "yes"; then
49317 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49318 fi
49319 if test "$wxUSE_OPENGL" = "yes"; then
49320 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49321 fi
49322
49323 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49324
49325 WXCONFIG_LIBS="$LIBS"
49326
49327 if test "$wxUSE_REGEX" = "builtin" ; then
49328 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49329 fi
49330 if test "$wxUSE_EXPAT" = "builtin" ; then
49331 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49332 fi
49333 if test "$wxUSE_ODBC" = "builtin" ; then
49334 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49335 fi
49336 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49337 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49338 fi
49339 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49340 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49341 fi
49342 if test "$wxUSE_LIBPNG" = "builtin" ; then
49343 wxconfig_3rdparty="png $wxconfig_3rdparty"
49344 fi
49345 if test "$wxUSE_ZLIB" = "builtin" ; then
49346 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49347 fi
49348
49349 for i in $wxconfig_3rdparty ; do
49350 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49351 done
49352
49353
49354 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49355 WXUNIV=1
49356
49357 case "$wxUNIV_THEMES" in
49358 ''|all)
49359 cat >>confdefs.h <<\_ACEOF
49360 #define wxUSE_ALL_THEMES 1
49361 _ACEOF
49362
49363 ;;
49364
49365 *)
49366 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49367 cat >>confdefs.h <<_ACEOF
49368 #define wxUSE_THEME_$t 1
49369 _ACEOF
49370
49371 done
49372 esac
49373 else
49374 WXUNIV=0
49375 fi
49376
49377
49378
49379
49380
49381
49382
49383
49384
49385 if test $wxUSE_MONOLITHIC = "yes" ; then
49386 MONOLITHIC=1
49387 else
49388 MONOLITHIC=0
49389 fi
49390
49391 if test $wxUSE_PLUGINS = "yes" ; then
49392 USE_PLUGINS=1
49393 else
49394 USE_PLUGINS=0
49395 fi
49396
49397 if test $wxUSE_ODBC != "no" ; then
49398 USE_ODBC=1
49399 else
49400 USE_ODBC=0
49401 fi
49402
49403 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49404 USE_QA=1
49405 else
49406 USE_QA=0
49407 fi
49408
49409 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49410 OFFICIAL_BUILD=1
49411 else
49412 OFFICIAL_BUILD=0
49413 fi
49414
49415
49416
49417
49418
49419
49420
49421
49422
49423
49424
49425
49426
49427
49428
49429
49430
49431
49432
49433
49434
49435
49436
49437
49438
49439
49440 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49441
49442
49443
49444
49445
49446
49447
49448
49449 case "$TOOLKIT" in
49450 GTK)
49451 TOOLKIT_DESC="GTK+"
49452 if test "$WXGTK20" = 1; then
49453 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49454 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49455 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49456 fi
49457 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49458 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49459 fi
49460 if test "$wxUSE_LIBHILDON" = "yes"; then
49461 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49462 fi
49463
49464 if test "$TOOLKIT_EXTRA" != ""; then
49465 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49466 fi
49467 fi
49468 ;;
49469
49470 ?*)
49471 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49472 ;;
49473
49474 *)
49475 TOOLKIT_DESC="base only"
49476 ;;
49477 esac
49478
49479 if test "$wxUSE_WINE" = "yes"; then
49480 BAKEFILE_FORCE_PLATFORM=win32
49481 fi
49482
49483 if test "$wxUSE_MAC" = 1 ; then
49484 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49485 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49486 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49487 else
49488 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49489 fi
49490 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49491 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49492 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49493 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49494 bk_use_pch=no
49495 fi
49496 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49497 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49498 fi
49499
49500 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49501 then
49502 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49503 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49504 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49505 echo $ECHO_N "(cached) $ECHO_C" >&6
49506 else
49507
49508 echo '#include <stdio.h>
49509 const wchar_t test_var[] = L"awidetest";' > conftest.h
49510
49511 echo '#include "conftest.h"
49512 int main()
49513 {
49514 printf("%ls", test_var);
49515 return 0;
49516 }' > conftest.cpp
49517
49518 wx_cv_gcc_pch_bug="pch not supported"
49519
49520 if $CXX conftest.h >/dev/null 2>&1
49521 then
49522 wx_cv_gcc_pch_bug=
49523
49524 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49525 then
49526 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49527 grep awidetest >/dev/null
49528 then
49529 wx_cv_gcc_pch_bug=no
49530 else
49531 wx_cv_gcc_pch_bug=yes
49532 fi
49533 fi
49534 fi
49535
49536 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49537
49538 fi
49539 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49540 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49541
49542 if test "$wx_cv_gcc_pch_bug" = yes; then
49543 bk_use_pch=no
49544 fi
49545 fi
49546
49547
49548
49549
49550 if test "x$BAKEFILE_HOST" = "x"; then
49551 if test "x${host}" = "x" ; then
49552 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49553 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49554 { (exit 1); exit 1; }; }
49555 fi
49556
49557 BAKEFILE_HOST="${host}"
49558 fi
49559
49560 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49561
49562 if test -n "$ac_tool_prefix"; then
49563 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49564 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49567 if test "${ac_cv_prog_RANLIB+set}" = set; then
49568 echo $ECHO_N "(cached) $ECHO_C" >&6
49569 else
49570 if test -n "$RANLIB"; then
49571 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49572 else
49573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49574 for as_dir in $PATH
49575 do
49576 IFS=$as_save_IFS
49577 test -z "$as_dir" && as_dir=.
49578 for ac_exec_ext in '' $ac_executable_extensions; do
49579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49580 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49582 break 2
49583 fi
49584 done
49585 done
49586 IFS=$as_save_IFS
49587
49588 fi
49589 fi
49590 RANLIB=$ac_cv_prog_RANLIB
49591 if test -n "$RANLIB"; then
49592 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49593 echo "${ECHO_T}$RANLIB" >&6; }
49594 else
49595 { echo "$as_me:$LINENO: result: no" >&5
49596 echo "${ECHO_T}no" >&6; }
49597 fi
49598
49599
49600 fi
49601 if test -z "$ac_cv_prog_RANLIB"; then
49602 ac_ct_RANLIB=$RANLIB
49603 # Extract the first word of "ranlib", so it can be a program name with args.
49604 set dummy ranlib; ac_word=$2
49605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49607 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49608 echo $ECHO_N "(cached) $ECHO_C" >&6
49609 else
49610 if test -n "$ac_ct_RANLIB"; then
49611 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49612 else
49613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49614 for as_dir in $PATH
49615 do
49616 IFS=$as_save_IFS
49617 test -z "$as_dir" && as_dir=.
49618 for ac_exec_ext in '' $ac_executable_extensions; do
49619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49620 ac_cv_prog_ac_ct_RANLIB="ranlib"
49621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49622 break 2
49623 fi
49624 done
49625 done
49626 IFS=$as_save_IFS
49627
49628 fi
49629 fi
49630 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49631 if test -n "$ac_ct_RANLIB"; then
49632 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49633 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49634 else
49635 { echo "$as_me:$LINENO: result: no" >&5
49636 echo "${ECHO_T}no" >&6; }
49637 fi
49638
49639 if test "x$ac_ct_RANLIB" = x; then
49640 RANLIB=":"
49641 else
49642 case $cross_compiling:$ac_tool_warned in
49643 yes:)
49644 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49645 whose name does not start with the host triplet. If you think this
49646 configuration is useful to you, please write to autoconf@gnu.org." >&5
49647 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49648 whose name does not start with the host triplet. If you think this
49649 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49650 ac_tool_warned=yes ;;
49651 esac
49652 RANLIB=$ac_ct_RANLIB
49653 fi
49654 else
49655 RANLIB="$ac_cv_prog_RANLIB"
49656 fi
49657
49658 # Find a good install program. We prefer a C program (faster),
49659 # so one script is as good as another. But avoid the broken or
49660 # incompatible versions:
49661 # SysV /etc/install, /usr/sbin/install
49662 # SunOS /usr/etc/install
49663 # IRIX /sbin/install
49664 # AIX /bin/install
49665 # AmigaOS /C/install, which installs bootblocks on floppy discs
49666 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49667 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49668 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49669 # OS/2's system install, which has a completely different semantic
49670 # ./install, which can be erroneously created by make from ./install.sh.
49671 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49672 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49673 if test -z "$INSTALL"; then
49674 if test "${ac_cv_path_install+set}" = set; then
49675 echo $ECHO_N "(cached) $ECHO_C" >&6
49676 else
49677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49678 for as_dir in $PATH
49679 do
49680 IFS=$as_save_IFS
49681 test -z "$as_dir" && as_dir=.
49682 # Account for people who put trailing slashes in PATH elements.
49683 case $as_dir/ in
49684 ./ | .// | /cC/* | \
49685 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49686 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49687 /usr/ucb/* ) ;;
49688 *)
49689 # OSF1 and SCO ODT 3.0 have their own names for install.
49690 # Don't use installbsd from OSF since it installs stuff as root
49691 # by default.
49692 for ac_prog in ginstall scoinst install; do
49693 for ac_exec_ext in '' $ac_executable_extensions; do
49694 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49695 if test $ac_prog = install &&
49696 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49697 # AIX install. It has an incompatible calling convention.
49698 :
49699 elif test $ac_prog = install &&
49700 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49701 # program-specific install script used by HP pwplus--don't use.
49702 :
49703 else
49704 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49705 break 3
49706 fi
49707 fi
49708 done
49709 done
49710 ;;
49711 esac
49712 done
49713 IFS=$as_save_IFS
49714
49715
49716 fi
49717 if test "${ac_cv_path_install+set}" = set; then
49718 INSTALL=$ac_cv_path_install
49719 else
49720 # As a last resort, use the slow shell script. Don't cache a
49721 # value for INSTALL within a source directory, because that will
49722 # break other packages using the cache if that directory is
49723 # removed, or if the value is a relative name.
49724 INSTALL=$ac_install_sh
49725 fi
49726 fi
49727 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49728 echo "${ECHO_T}$INSTALL" >&6; }
49729
49730 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49731 # It thinks the first close brace ends the variable substitution.
49732 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49733
49734 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49735
49736 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49737
49738 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49739 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49740 LN_S=$as_ln_s
49741 if test "$LN_S" = "ln -s"; then
49742 { echo "$as_me:$LINENO: result: yes" >&5
49743 echo "${ECHO_T}yes" >&6; }
49744 else
49745 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49746 echo "${ECHO_T}no, using $LN_S" >&6; }
49747 fi
49748
49749
49750 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49751 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49752 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49753 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49754 echo $ECHO_N "(cached) $ECHO_C" >&6
49755 else
49756 cat >conftest.make <<\_ACEOF
49757 SHELL = /bin/sh
49758 all:
49759 @echo '@@@%%%=$(MAKE)=@@@%%%'
49760 _ACEOF
49761 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49762 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49763 *@@@%%%=?*=@@@%%%*)
49764 eval ac_cv_prog_make_${ac_make}_set=yes;;
49765 *)
49766 eval ac_cv_prog_make_${ac_make}_set=no;;
49767 esac
49768 rm -f conftest.make
49769 fi
49770 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49771 { echo "$as_me:$LINENO: result: yes" >&5
49772 echo "${ECHO_T}yes" >&6; }
49773 SET_MAKE=
49774 else
49775 { echo "$as_me:$LINENO: result: no" >&5
49776 echo "${ECHO_T}no" >&6; }
49777 SET_MAKE="MAKE=${MAKE-make}"
49778 fi
49779
49780
49781
49782 if test "x$SUNCXX" = "xyes"; then
49783 AR=$CXX
49784 AROPTIONS="-xar -o"
49785
49786 elif test "x$SGICC" = "xyes"; then
49787 AR=$CXX
49788 AROPTIONS="-ar -o"
49789
49790 else
49791 if test -n "$ac_tool_prefix"; then
49792 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49793 set dummy ${ac_tool_prefix}ar; ac_word=$2
49794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49796 if test "${ac_cv_prog_AR+set}" = set; then
49797 echo $ECHO_N "(cached) $ECHO_C" >&6
49798 else
49799 if test -n "$AR"; then
49800 ac_cv_prog_AR="$AR" # Let the user override the test.
49801 else
49802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49803 for as_dir in $PATH
49804 do
49805 IFS=$as_save_IFS
49806 test -z "$as_dir" && as_dir=.
49807 for ac_exec_ext in '' $ac_executable_extensions; do
49808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49809 ac_cv_prog_AR="${ac_tool_prefix}ar"
49810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49811 break 2
49812 fi
49813 done
49814 done
49815 IFS=$as_save_IFS
49816
49817 fi
49818 fi
49819 AR=$ac_cv_prog_AR
49820 if test -n "$AR"; then
49821 { echo "$as_me:$LINENO: result: $AR" >&5
49822 echo "${ECHO_T}$AR" >&6; }
49823 else
49824 { echo "$as_me:$LINENO: result: no" >&5
49825 echo "${ECHO_T}no" >&6; }
49826 fi
49827
49828
49829 fi
49830 if test -z "$ac_cv_prog_AR"; then
49831 ac_ct_AR=$AR
49832 # Extract the first word of "ar", so it can be a program name with args.
49833 set dummy ar; ac_word=$2
49834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49836 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49837 echo $ECHO_N "(cached) $ECHO_C" >&6
49838 else
49839 if test -n "$ac_ct_AR"; then
49840 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49841 else
49842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49843 for as_dir in $PATH
49844 do
49845 IFS=$as_save_IFS
49846 test -z "$as_dir" && as_dir=.
49847 for ac_exec_ext in '' $ac_executable_extensions; do
49848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49849 ac_cv_prog_ac_ct_AR="ar"
49850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49851 break 2
49852 fi
49853 done
49854 done
49855 IFS=$as_save_IFS
49856
49857 fi
49858 fi
49859 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49860 if test -n "$ac_ct_AR"; then
49861 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49862 echo "${ECHO_T}$ac_ct_AR" >&6; }
49863 else
49864 { echo "$as_me:$LINENO: result: no" >&5
49865 echo "${ECHO_T}no" >&6; }
49866 fi
49867
49868 if test "x$ac_ct_AR" = x; then
49869 AR="ar"
49870 else
49871 case $cross_compiling:$ac_tool_warned in
49872 yes:)
49873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49874 whose name does not start with the host triplet. If you think this
49875 configuration is useful to you, please write to autoconf@gnu.org." >&5
49876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49877 whose name does not start with the host triplet. If you think this
49878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49879 ac_tool_warned=yes ;;
49880 esac
49881 AR=$ac_ct_AR
49882 fi
49883 else
49884 AR="$ac_cv_prog_AR"
49885 fi
49886
49887 AROPTIONS=rcu
49888 fi
49889
49890
49891 if test -n "$ac_tool_prefix"; then
49892 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49893 set dummy ${ac_tool_prefix}strip; ac_word=$2
49894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49896 if test "${ac_cv_prog_STRIP+set}" = set; then
49897 echo $ECHO_N "(cached) $ECHO_C" >&6
49898 else
49899 if test -n "$STRIP"; then
49900 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49901 else
49902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49903 for as_dir in $PATH
49904 do
49905 IFS=$as_save_IFS
49906 test -z "$as_dir" && as_dir=.
49907 for ac_exec_ext in '' $ac_executable_extensions; do
49908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49909 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49911 break 2
49912 fi
49913 done
49914 done
49915 IFS=$as_save_IFS
49916
49917 fi
49918 fi
49919 STRIP=$ac_cv_prog_STRIP
49920 if test -n "$STRIP"; then
49921 { echo "$as_me:$LINENO: result: $STRIP" >&5
49922 echo "${ECHO_T}$STRIP" >&6; }
49923 else
49924 { echo "$as_me:$LINENO: result: no" >&5
49925 echo "${ECHO_T}no" >&6; }
49926 fi
49927
49928
49929 fi
49930 if test -z "$ac_cv_prog_STRIP"; then
49931 ac_ct_STRIP=$STRIP
49932 # Extract the first word of "strip", so it can be a program name with args.
49933 set dummy strip; ac_word=$2
49934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49936 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49937 echo $ECHO_N "(cached) $ECHO_C" >&6
49938 else
49939 if test -n "$ac_ct_STRIP"; then
49940 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49941 else
49942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49943 for as_dir in $PATH
49944 do
49945 IFS=$as_save_IFS
49946 test -z "$as_dir" && as_dir=.
49947 for ac_exec_ext in '' $ac_executable_extensions; do
49948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49949 ac_cv_prog_ac_ct_STRIP="strip"
49950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49951 break 2
49952 fi
49953 done
49954 done
49955 IFS=$as_save_IFS
49956
49957 fi
49958 fi
49959 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49960 if test -n "$ac_ct_STRIP"; then
49961 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49962 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49963 else
49964 { echo "$as_me:$LINENO: result: no" >&5
49965 echo "${ECHO_T}no" >&6; }
49966 fi
49967
49968 if test "x$ac_ct_STRIP" = x; then
49969 STRIP=":"
49970 else
49971 case $cross_compiling:$ac_tool_warned in
49972 yes:)
49973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49974 whose name does not start with the host triplet. If you think this
49975 configuration is useful to you, please write to autoconf@gnu.org." >&5
49976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49977 whose name does not start with the host triplet. If you think this
49978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49979 ac_tool_warned=yes ;;
49980 esac
49981 STRIP=$ac_ct_STRIP
49982 fi
49983 else
49984 STRIP="$ac_cv_prog_STRIP"
49985 fi
49986
49987 if test -n "$ac_tool_prefix"; then
49988 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49989 set dummy ${ac_tool_prefix}nm; ac_word=$2
49990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49992 if test "${ac_cv_prog_NM+set}" = set; then
49993 echo $ECHO_N "(cached) $ECHO_C" >&6
49994 else
49995 if test -n "$NM"; then
49996 ac_cv_prog_NM="$NM" # Let the user override the test.
49997 else
49998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49999 for as_dir in $PATH
50000 do
50001 IFS=$as_save_IFS
50002 test -z "$as_dir" && as_dir=.
50003 for ac_exec_ext in '' $ac_executable_extensions; do
50004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50005 ac_cv_prog_NM="${ac_tool_prefix}nm"
50006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50007 break 2
50008 fi
50009 done
50010 done
50011 IFS=$as_save_IFS
50012
50013 fi
50014 fi
50015 NM=$ac_cv_prog_NM
50016 if test -n "$NM"; then
50017 { echo "$as_me:$LINENO: result: $NM" >&5
50018 echo "${ECHO_T}$NM" >&6; }
50019 else
50020 { echo "$as_me:$LINENO: result: no" >&5
50021 echo "${ECHO_T}no" >&6; }
50022 fi
50023
50024
50025 fi
50026 if test -z "$ac_cv_prog_NM"; then
50027 ac_ct_NM=$NM
50028 # Extract the first word of "nm", so it can be a program name with args.
50029 set dummy nm; ac_word=$2
50030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50032 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50033 echo $ECHO_N "(cached) $ECHO_C" >&6
50034 else
50035 if test -n "$ac_ct_NM"; then
50036 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50037 else
50038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50039 for as_dir in $PATH
50040 do
50041 IFS=$as_save_IFS
50042 test -z "$as_dir" && as_dir=.
50043 for ac_exec_ext in '' $ac_executable_extensions; do
50044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50045 ac_cv_prog_ac_ct_NM="nm"
50046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50047 break 2
50048 fi
50049 done
50050 done
50051 IFS=$as_save_IFS
50052
50053 fi
50054 fi
50055 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50056 if test -n "$ac_ct_NM"; then
50057 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50058 echo "${ECHO_T}$ac_ct_NM" >&6; }
50059 else
50060 { echo "$as_me:$LINENO: result: no" >&5
50061 echo "${ECHO_T}no" >&6; }
50062 fi
50063
50064 if test "x$ac_ct_NM" = x; then
50065 NM=":"
50066 else
50067 case $cross_compiling:$ac_tool_warned in
50068 yes:)
50069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50070 whose name does not start with the host triplet. If you think this
50071 configuration is useful to you, please write to autoconf@gnu.org." >&5
50072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50073 whose name does not start with the host triplet. If you think this
50074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50075 ac_tool_warned=yes ;;
50076 esac
50077 NM=$ac_ct_NM
50078 fi
50079 else
50080 NM="$ac_cv_prog_NM"
50081 fi
50082
50083
50084 case ${BAKEFILE_HOST} in
50085 *-hp-hpux* )
50086 INSTALL_DIR="mkdir -p"
50087 ;;
50088 * )
50089 INSTALL_DIR='$(INSTALL) -d'
50090 ;;
50091 esac
50092
50093
50094 LDFLAGS_GUI=
50095 case ${BAKEFILE_HOST} in
50096 *-*-cygwin* | *-*-mingw32* )
50097 LDFLAGS_GUI="-mwindows"
50098 esac
50099
50100
50101 fi
50102
50103 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50104 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50105 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50106 echo $ECHO_N "(cached) $ECHO_C" >&6
50107 else
50108
50109 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50110 egrep -s GNU > /dev/null); then
50111 bakefile_cv_prog_makeisgnu="yes"
50112 else
50113 bakefile_cv_prog_makeisgnu="no"
50114 fi
50115
50116 fi
50117 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50118 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50119
50120 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50121 IF_GNU_MAKE=""
50122 else
50123 IF_GNU_MAKE="#"
50124 fi
50125
50126
50127
50128 PLATFORM_UNIX=0
50129 PLATFORM_WIN32=0
50130 PLATFORM_MSDOS=0
50131 PLATFORM_MAC=0
50132 PLATFORM_MACOS=0
50133 PLATFORM_MACOSX=0
50134 PLATFORM_OS2=0
50135 PLATFORM_BEOS=0
50136
50137 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50138 case "${BAKEFILE_HOST}" in
50139 *-*-mingw32* )
50140 PLATFORM_WIN32=1
50141 ;;
50142 *-pc-msdosdjgpp )
50143 PLATFORM_MSDOS=1
50144 ;;
50145 *-pc-os2_emx | *-pc-os2-emx )
50146 PLATFORM_OS2=1
50147 ;;
50148 *-*-darwin* )
50149 PLATFORM_MAC=1
50150 PLATFORM_MACOSX=1
50151 ;;
50152 *-*-beos* )
50153 PLATFORM_BEOS=1
50154 ;;
50155 powerpc-apple-macos* )
50156 PLATFORM_MAC=1
50157 PLATFORM_MACOS=1
50158 ;;
50159 * )
50160 PLATFORM_UNIX=1
50161 ;;
50162 esac
50163 else
50164 case "$BAKEFILE_FORCE_PLATFORM" in
50165 win32 )
50166 PLATFORM_WIN32=1
50167 ;;
50168 msdos )
50169 PLATFORM_MSDOS=1
50170 ;;
50171 os2 )
50172 PLATFORM_OS2=1
50173 ;;
50174 darwin )
50175 PLATFORM_MAC=1
50176 PLATFORM_MACOSX=1
50177 ;;
50178 unix )
50179 PLATFORM_UNIX=1
50180 ;;
50181 beos )
50182 PLATFORM_BEOS=1
50183 ;;
50184 * )
50185 ;;
50186 esac
50187 fi
50188
50189
50190
50191
50192
50193
50194
50195
50196
50197
50198
50199 # Check whether --enable-omf was given.
50200 if test "${enable_omf+set}" = set; then
50201 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50202 fi
50203
50204
50205 case "${BAKEFILE_HOST}" in
50206 *-*-darwin* )
50207 if test "x$GCC" = "xyes"; then
50208 CFLAGS="$CFLAGS -fno-common"
50209 CXXFLAGS="$CXXFLAGS -fno-common"
50210 fi
50211 if test "x$XLCC" = "xyes"; then
50212 CFLAGS="$CFLAGS -qnocommon"
50213 CXXFLAGS="$CXXFLAGS -qnocommon"
50214 fi
50215 ;;
50216
50217 *-pc-os2_emx | *-pc-os2-emx )
50218 if test "x$bk_os2_use_omf" = "xyes" ; then
50219 AR=emxomfar
50220 RANLIB=:
50221 LDFLAGS="-Zomf $LDFLAGS"
50222 CFLAGS="-Zomf $CFLAGS"
50223 CXXFLAGS="-Zomf $CXXFLAGS"
50224 OS2_LIBEXT="lib"
50225 else
50226 OS2_LIBEXT="a"
50227 fi
50228 ;;
50229
50230 i*86-*-beos* )
50231 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50232 ;;
50233 esac
50234
50235
50236 SO_SUFFIX="so"
50237 SO_SUFFIX_MODULE="so"
50238 EXEEXT=""
50239 LIBPREFIX="lib"
50240 LIBEXT=".a"
50241 DLLPREFIX="lib"
50242 DLLPREFIX_MODULE=""
50243 DLLIMP_SUFFIX=""
50244 dlldir="$libdir"
50245
50246 case "${BAKEFILE_HOST}" in
50247 *-hp-hpux* )
50248 SO_SUFFIX="sl"
50249 SO_SUFFIX_MODULE="sl"
50250 ;;
50251 *-*-aix* )
50252 SO_SUFFIX="a"
50253 SO_SUFFIX_MODULE="a"
50254 ;;
50255 *-*-cygwin* )
50256 SO_SUFFIX="dll"
50257 SO_SUFFIX_MODULE="dll"
50258 DLLIMP_SUFFIX="dll.a"
50259 EXEEXT=".exe"
50260 DLLPREFIX="cyg"
50261 dlldir="$bindir"
50262 ;;
50263 *-*-mingw32* )
50264 SO_SUFFIX="dll"
50265 SO_SUFFIX_MODULE="dll"
50266 DLLIMP_SUFFIX="dll.a"
50267 EXEEXT=".exe"
50268 DLLPREFIX=""
50269 dlldir="$bindir"
50270 ;;
50271 *-pc-msdosdjgpp )
50272 EXEEXT=".exe"
50273 DLLPREFIX=""
50274 dlldir="$bindir"
50275 ;;
50276 *-pc-os2_emx | *-pc-os2-emx )
50277 SO_SUFFIX="dll"
50278 SO_SUFFIX_MODULE="dll"
50279 DLLIMP_SUFFIX=$OS2_LIBEXT
50280 EXEEXT=".exe"
50281 DLLPREFIX=""
50282 LIBPREFIX=""
50283 LIBEXT=".$OS2_LIBEXT"
50284 dlldir="$bindir"
50285 ;;
50286 *-*-darwin* )
50287 SO_SUFFIX="dylib"
50288 SO_SUFFIX_MODULE="bundle"
50289 ;;
50290 esac
50291
50292 if test "x$DLLIMP_SUFFIX" = "x" ; then
50293 DLLIMP_SUFFIX="$SO_SUFFIX"
50294 fi
50295
50296
50297
50298
50299
50300
50301
50302
50303
50304
50305
50306
50307 PIC_FLAG=""
50308 if test "x$GCC" = "xyes"; then
50309 PIC_FLAG="-fPIC"
50310 fi
50311
50312 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50313 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50314 WINDOWS_IMPLIB=0
50315
50316 case "${BAKEFILE_HOST}" in
50317 *-hp-hpux* )
50318 if test "x$GCC" != "xyes"; then
50319 LDFLAGS="$LDFLAGS -L/usr/lib"
50320
50321 SHARED_LD_CC="${CC} -b -o"
50322 SHARED_LD_CXX="${CXX} -b -o"
50323 PIC_FLAG="+Z"
50324 fi
50325 ;;
50326
50327 *-*-linux* )
50328 if test "$INTELCC" = "yes"; then
50329 PIC_FLAG="-KPIC"
50330 elif test "x$SUNCXX" = "xyes"; then
50331 SHARED_LD_CC="${CC} -G -o"
50332 SHARED_LD_CXX="${CXX} -G -o"
50333 PIC_FLAG="-KPIC"
50334 fi
50335 ;;
50336
50337 *-*-solaris2* )
50338 if test "x$SUNCXX" = xyes ; then
50339 SHARED_LD_CC="${CC} -G -o"
50340 SHARED_LD_CXX="${CXX} -G -o"
50341 PIC_FLAG="-KPIC"
50342 fi
50343 ;;
50344
50345 *-*-darwin* )
50346
50347 D='$'
50348 cat <<EOF >shared-ld-sh
50349 #!/bin/sh
50350 #-----------------------------------------------------------------------------
50351 #-- Name: distrib/mac/shared-ld-sh
50352 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50353 #-- Author: Gilles Depeyrot
50354 #-- Copyright: (c) 2002 Gilles Depeyrot
50355 #-- Licence: any use permitted
50356 #-----------------------------------------------------------------------------
50357
50358 verbose=0
50359 args=""
50360 objects=""
50361 linking_flag="-dynamiclib"
50362 ldargs="-r -keep_private_externs -nostdlib"
50363
50364 while test ${D}# -gt 0; do
50365 case ${D}1 in
50366
50367 -v)
50368 verbose=1
50369 ;;
50370
50371 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50372 # collect these options and values
50373 args="${D}{args} ${D}1 ${D}2"
50374 shift
50375 ;;
50376
50377 -s|-Wl,*)
50378 # collect these load args
50379 ldargs="${D}{ldargs} ${D}1"
50380 ;;
50381
50382 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50383 # collect these options
50384 args="${D}{args} ${D}1"
50385 ;;
50386
50387 -dynamiclib|-bundle)
50388 linking_flag="${D}1"
50389 ;;
50390
50391 -*)
50392 echo "shared-ld: unhandled option '${D}1'"
50393 exit 1
50394 ;;
50395
50396 *.o | *.a | *.dylib)
50397 # collect object files
50398 objects="${D}{objects} ${D}1"
50399 ;;
50400
50401 *)
50402 echo "shared-ld: unhandled argument '${D}1'"
50403 exit 1
50404 ;;
50405
50406 esac
50407 shift
50408 done
50409
50410 status=0
50411
50412 #
50413 # Link one module containing all the others
50414 #
50415 if test ${D}{verbose} = 1; then
50416 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50417 fi
50418 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50419 status=${D}?
50420
50421 #
50422 # Link the shared library from the single module created, but only if the
50423 # previous command didn't fail:
50424 #
50425 if test ${D}{status} = 0; then
50426 if test ${D}{verbose} = 1; then
50427 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50428 fi
50429 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50430 status=${D}?
50431 fi
50432
50433 #
50434 # Remove intermediate module
50435 #
50436 rm -f master.${D}${D}.o
50437
50438 exit ${D}status
50439 EOF
50440
50441 chmod +x shared-ld-sh
50442
50443 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50444 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50445
50446
50447 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50448 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50449 if test "${bakefile_cv_gcc31+set}" = set; then
50450 echo $ECHO_N "(cached) $ECHO_C" >&6
50451 else
50452
50453 cat >conftest.$ac_ext <<_ACEOF
50454 /* confdefs.h. */
50455 _ACEOF
50456 cat confdefs.h >>conftest.$ac_ext
50457 cat >>conftest.$ac_ext <<_ACEOF
50458 /* end confdefs.h. */
50459
50460 int
50461 main ()
50462 {
50463
50464 #if (__GNUC__ < 3) || \
50465 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50466 This is old gcc
50467 #endif
50468
50469 ;
50470 return 0;
50471 }
50472 _ACEOF
50473 rm -f conftest.$ac_objext
50474 if { (ac_try="$ac_compile"
50475 case "(($ac_try" in
50476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50477 *) ac_try_echo=$ac_try;;
50478 esac
50479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50480 (eval "$ac_compile") 2>conftest.er1
50481 ac_status=$?
50482 grep -v '^ *+' conftest.er1 >conftest.err
50483 rm -f conftest.er1
50484 cat conftest.err >&5
50485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50486 (exit $ac_status); } && {
50487 test -z "$ac_c_werror_flag" ||
50488 test ! -s conftest.err
50489 } && test -s conftest.$ac_objext; then
50490
50491 bakefile_cv_gcc31=yes
50492
50493 else
50494 echo "$as_me: failed program was:" >&5
50495 sed 's/^/| /' conftest.$ac_ext >&5
50496
50497
50498 bakefile_cv_gcc31=no
50499
50500
50501 fi
50502
50503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50504
50505 fi
50506 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50507 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50508 if test "$bakefile_cv_gcc31" = "no"; then
50509 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50510 SHARED_LD_CXX="$SHARED_LD_CC"
50511 else
50512 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50513 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50514 fi
50515
50516 if test "x$GCC" == "xyes"; then
50517 PIC_FLAG="-dynamic -fPIC"
50518 fi
50519 if test "x$XLCC" = "xyes"; then
50520 PIC_FLAG="-dynamic -DPIC"
50521 fi
50522 ;;
50523
50524 *-*-aix* )
50525 if test "x$GCC" = "xyes"; then
50526 PIC_FLAG=""
50527
50528 case "${BAKEFILE_HOST}" in
50529 *-*-aix5* )
50530 LD_EXPFULL="-Wl,-bexpfull"
50531 ;;
50532 esac
50533
50534 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50535 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50536 else
50537 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50538 set dummy makeC++SharedLib; ac_word=$2
50539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50541 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50542 echo $ECHO_N "(cached) $ECHO_C" >&6
50543 else
50544 if test -n "$AIX_CXX_LD"; then
50545 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50546 else
50547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50548 for as_dir in $PATH
50549 do
50550 IFS=$as_save_IFS
50551 test -z "$as_dir" && as_dir=.
50552 for ac_exec_ext in '' $ac_executable_extensions; do
50553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50554 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50556 break 2
50557 fi
50558 done
50559 done
50560 IFS=$as_save_IFS
50561
50562 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50563 fi
50564 fi
50565 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50566 if test -n "$AIX_CXX_LD"; then
50567 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50568 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50569 else
50570 { echo "$as_me:$LINENO: result: no" >&5
50571 echo "${ECHO_T}no" >&6; }
50572 fi
50573
50574
50575 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50576 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50577 fi
50578 ;;
50579
50580 *-*-beos* )
50581 SHARED_LD_CC="${LD} -nostart -o"
50582 SHARED_LD_CXX="${LD} -nostart -o"
50583 ;;
50584
50585 *-*-irix* )
50586 if test "x$GCC" != "xyes"; then
50587 PIC_FLAG="-KPIC"
50588 fi
50589 ;;
50590
50591 *-*-cygwin* | *-*-mingw32* )
50592 PIC_FLAG=""
50593 SHARED_LD_CC="\$(CC) -shared -o"
50594 SHARED_LD_CXX="\$(CXX) -shared -o"
50595 WINDOWS_IMPLIB=1
50596 ;;
50597
50598 *-pc-os2_emx | *-pc-os2-emx )
50599 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50600 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50601 PIC_FLAG=""
50602
50603 D='$'
50604 cat <<EOF >dllar.sh
50605 #!/bin/sh
50606 #
50607 # dllar - a tool to build both a .dll and an .a file
50608 # from a set of object (.o) files for EMX/OS2.
50609 #
50610 # Written by Andrew Zabolotny, bit@freya.etu.ru
50611 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50612 #
50613 # This script will accept a set of files on the command line.
50614 # All the public symbols from the .o files will be exported into
50615 # a .DEF file, then linker will be run (through gcc) against them to
50616 # build a shared library consisting of all given .o files. All libraries
50617 # (.a) will be first decompressed into component .o files then act as
50618 # described above. You can optionally give a description (-d "description")
50619 # which will be put into .DLL. To see the list of accepted options (as well
50620 # as command-line format) simply run this program without options. The .DLL
50621 # is built to be imported by name (there is no guarantee that new versions
50622 # of the library you build will have same ordinals for same symbols).
50623 #
50624 # dllar is free software; you can redistribute it and/or modify
50625 # it under the terms of the GNU General Public License as published by
50626 # the Free Software Foundation; either version 2, or (at your option)
50627 # any later version.
50628 #
50629 # dllar is distributed in the hope that it will be useful,
50630 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50631 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50632 # GNU General Public License for more details.
50633 #
50634 # You should have received a copy of the GNU General Public License
50635 # along with dllar; see the file COPYING. If not, write to the Free
50636 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50637 # 02111-1307, USA.
50638
50639 # To successfuly run this program you will need:
50640 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50641 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50642 # - gcc
50643 # (used to build the .dll)
50644 # - emxexp
50645 # (used to create .def file from .o files)
50646 # - emximp
50647 # (used to create .a file from .def file)
50648 # - GNU text utilites (cat, sort, uniq)
50649 # used to process emxexp output
50650 # - GNU file utilities (mv, rm)
50651 # - GNU sed
50652 # - lxlite (optional, see flag below)
50653 # (used for general .dll cleanup)
50654 #
50655
50656 flag_USE_LXLITE=1;
50657
50658 #
50659 # helper functions
50660 # basnam, variant of basename, which does _not_ remove the path, _iff_
50661 # second argument (suffix to remove) is given
50662 basnam(){
50663 case ${D}# in
50664 1)
50665 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50666 ;;
50667 2)
50668 echo ${D}1 | sed 's/'${D}2'${D}//'
50669 ;;
50670 *)
50671 echo "error in basnam ${D}*"
50672 exit 8
50673 ;;
50674 esac
50675 }
50676
50677 # Cleanup temporary files and output
50678 CleanUp() {
50679 cd ${D}curDir
50680 for i in ${D}inputFiles ; do
50681 case ${D}i in
50682 *!)
50683 rm -rf \`basnam ${D}i !\`
50684 ;;
50685 *)
50686 ;;
50687 esac
50688 done
50689
50690 # Kill result in case of failure as there is just to many stupid make/nmake
50691 # things out there which doesn't do this.
50692 if [ ${D}# -eq 0 ]; then
50693 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50694 fi
50695 }
50696
50697 # Print usage and exit script with rc=1.
50698 PrintHelp() {
50699 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50700 echo ' [-name-mangler-script script.sh]'
50701 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50702 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50703 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50704 echo ' [*.o] [*.a]'
50705 echo '*> "output_file" should have no extension.'
50706 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50707 echo ' The import library name is derived from this and is set to "name".a,'
50708 echo ' unless overridden by -import'
50709 echo '*> "importlib_name" should have no extension.'
50710 echo ' If it has the .o, or .a extension, it is automatically removed.'
50711 echo ' This name is used as the import library name and may be longer and'
50712 echo ' more descriptive than the DLL name which has to follow the old '
50713 echo ' 8.3 convention of FAT.'
50714 echo '*> "script.sh may be given to override the output_file name by a'
50715 echo ' different name. It is mainly useful if the regular make process'
50716 echo ' of some package does not take into account OS/2 restriction of'
50717 echo ' DLL name lengths. It takes the importlib name as input and is'
50718 echo ' supposed to procude a shorter name as output. The script should'
50719 echo ' expect to get importlib_name without extension and should produce'
50720 echo ' a (max.) 8 letter name without extension.'
50721 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50722 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50723 echo ' These flags will be put at the start of GCC command line.'
50724 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50725 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50726 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50727 echo ' If the last character of a symbol is "*", all symbols beginning'
50728 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50729 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50730 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50731 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50732 echo ' C runtime DLLs.'
50733 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50734 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50735 echo ' unchanged to GCC at the end of command line.'
50736 echo '*> If you create a DLL from a library and you do not specify -o,'
50737 echo ' the basename for DLL and import library will be set to library name,'
50738 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50739 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50740 echo ' library will be renamed into gcc_s.a.'
50741 echo '--------'
50742 echo 'Example:'
50743 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50744 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50745 CleanUp
50746 exit 1
50747 }
50748
50749 # Execute a command.
50750 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50751 # @Uses Whatever CleanUp() uses.
50752 doCommand() {
50753 echo "${D}*"
50754 eval ${D}*
50755 rcCmd=${D}?
50756
50757 if [ ${D}rcCmd -ne 0 ]; then
50758 echo "command failed, exit code="${D}rcCmd
50759 CleanUp
50760 exit ${D}rcCmd
50761 fi
50762 }
50763
50764 # main routine
50765 # setup globals
50766 cmdLine=${D}*
50767 outFile=""
50768 outimpFile=""
50769 inputFiles=""
50770 renameScript=""
50771 description=""
50772 CC=gcc.exe
50773 CFLAGS="-s -Zcrtdll"
50774 EXTRA_CFLAGS=""
50775 EXPORT_BY_ORDINALS=0
50776 exclude_symbols=""
50777 library_flags=""
50778 curDir=\`pwd\`
50779 curDirS=curDir
50780 case ${D}curDirS in
50781 */)
50782 ;;
50783 *)
50784 curDirS=${D}{curDirS}"/"
50785 ;;
50786 esac
50787 # Parse commandline
50788 libsToLink=0
50789 omfLinking=0
50790 while [ ${D}1 ]; do
50791 case ${D}1 in
50792 -ord*)
50793 EXPORT_BY_ORDINALS=1;
50794 ;;
50795 -o*)
50796 shift
50797 outFile=${D}1
50798 ;;
50799 -i*)
50800 shift
50801 outimpFile=${D}1
50802 ;;
50803 -name-mangler-script)
50804 shift
50805 renameScript=${D}1
50806 ;;
50807 -d*)
50808 shift
50809 description=${D}1
50810 ;;
50811 -f*)
50812 shift
50813 CFLAGS=${D}1
50814 ;;
50815 -c*)
50816 shift
50817 CC=${D}1
50818 ;;
50819 -h*)
50820 PrintHelp
50821 ;;
50822 -ex*)
50823 shift
50824 exclude_symbols=${D}{exclude_symbols}${D}1" "
50825 ;;
50826 -libf*)
50827 shift
50828 library_flags=${D}{library_flags}${D}1" "
50829 ;;
50830 -nocrt*)
50831 CFLAGS="-s"
50832 ;;
50833 -nolxl*)
50834 flag_USE_LXLITE=0
50835 ;;
50836 -* | /*)
50837 case ${D}1 in
50838 -L* | -l*)
50839 libsToLink=1
50840 ;;
50841 -Zomf)
50842 omfLinking=1
50843 ;;
50844 *)
50845 ;;
50846 esac
50847 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50848 ;;
50849 *.dll)
50850 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50851 if [ ${D}omfLinking -eq 1 ]; then
50852 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50853 else
50854 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50855 fi
50856 ;;
50857 *)
50858 found=0;
50859 if [ ${D}libsToLink -ne 0 ]; then
50860 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50861 else
50862 for file in ${D}1 ; do
50863 if [ -f ${D}file ]; then
50864 inputFiles="${D}{inputFiles} ${D}file"
50865 found=1
50866 fi
50867 done
50868 if [ ${D}found -eq 0 ]; then
50869 echo "ERROR: No file(s) found: "${D}1
50870 exit 8
50871 fi
50872 fi
50873 ;;
50874 esac
50875 shift
50876 done # iterate cmdline words
50877
50878 #
50879 if [ -z "${D}inputFiles" ]; then
50880 echo "dllar: no input files"
50881 PrintHelp
50882 fi
50883
50884 # Now extract all .o files from .a files
50885 newInputFiles=""
50886 for file in ${D}inputFiles ; do
50887 case ${D}file in
50888 *.a | *.lib)
50889 case ${D}file in
50890 *.a)
50891 suffix=".a"
50892 AR="ar"
50893 ;;
50894 *.lib)
50895 suffix=".lib"
50896 AR="emxomfar"
50897 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50898 ;;
50899 *)
50900 ;;
50901 esac
50902 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50903 mkdir ${D}dirname
50904 if [ ${D}? -ne 0 ]; then
50905 echo "Failed to create subdirectory ./${D}dirname"
50906 CleanUp
50907 exit 8;
50908 fi
50909 # Append '!' to indicate archive
50910 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50911 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50912 cd ${D}curDir
50913 found=0;
50914 for subfile in ${D}dirname/*.o* ; do
50915 if [ -f ${D}subfile ]; then
50916 found=1
50917 if [ -s ${D}subfile ]; then
50918 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50919 newInputFiles="${D}newInputFiles ${D}subfile"
50920 fi
50921 fi
50922 done
50923 if [ ${D}found -eq 0 ]; then
50924 echo "WARNING: there are no files in archive \\'${D}file\\'"
50925 fi
50926 ;;
50927 *)
50928 newInputFiles="${D}{newInputFiles} ${D}file"
50929 ;;
50930 esac
50931 done
50932 inputFiles="${D}newInputFiles"
50933
50934 # Output filename(s).
50935 do_backup=0;
50936 if [ -z ${D}outFile ]; then
50937 do_backup=1;
50938 set outFile ${D}inputFiles; outFile=${D}2
50939 fi
50940
50941 # If it is an archive, remove the '!' and the '_%' suffixes
50942 case ${D}outFile in
50943 *_%!)
50944 outFile=\`basnam ${D}outFile _%!\`
50945 ;;
50946 *)
50947 ;;
50948 esac
50949 case ${D}outFile in
50950 *.dll)
50951 outFile=\`basnam ${D}outFile .dll\`
50952 ;;
50953 *.DLL)
50954 outFile=\`basnam ${D}outFile .DLL\`
50955 ;;
50956 *.o)
50957 outFile=\`basnam ${D}outFile .o\`
50958 ;;
50959 *.obj)
50960 outFile=\`basnam ${D}outFile .obj\`
50961 ;;
50962 *.a)
50963 outFile=\`basnam ${D}outFile .a\`
50964 ;;
50965 *.lib)
50966 outFile=\`basnam ${D}outFile .lib\`
50967 ;;
50968 *)
50969 ;;
50970 esac
50971 case ${D}outimpFile in
50972 *.a)
50973 outimpFile=\`basnam ${D}outimpFile .a\`
50974 ;;
50975 *.lib)
50976 outimpFile=\`basnam ${D}outimpFile .lib\`
50977 ;;
50978 *)
50979 ;;
50980 esac
50981 if [ -z ${D}outimpFile ]; then
50982 outimpFile=${D}outFile
50983 fi
50984 defFile="${D}{outFile}.def"
50985 arcFile="${D}{outimpFile}.a"
50986 arcFile2="${D}{outimpFile}.lib"
50987
50988 #create ${D}dllFile as something matching 8.3 restrictions,
50989 if [ -z ${D}renameScript ] ; then
50990 dllFile="${D}outFile"
50991 else
50992 dllFile=\`${D}renameScript ${D}outimpFile\`
50993 fi
50994
50995 if [ ${D}do_backup -ne 0 ] ; then
50996 if [ -f ${D}arcFile ] ; then
50997 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50998 fi
50999 if [ -f ${D}arcFile2 ] ; then
51000 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51001 fi
51002 fi
51003
51004 # Extract public symbols from all the object files.
51005 tmpdefFile=${D}{defFile}_%
51006 rm -f ${D}tmpdefFile
51007 for file in ${D}inputFiles ; do
51008 case ${D}file in
51009 *!)
51010 ;;
51011 *)
51012 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51013 ;;
51014 esac
51015 done
51016
51017 # Create the def file.
51018 rm -f ${D}defFile
51019 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51020 dllFile="${D}{dllFile}.dll"
51021 if [ ! -z ${D}description ]; then
51022 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51023 fi
51024 echo "EXPORTS" >> ${D}defFile
51025
51026 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51027 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51028
51029 # Checks if the export is ok or not.
51030 for word in ${D}exclude_symbols; do
51031 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51032 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51033 done
51034
51035
51036 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51037 sed "=" < ${D}tmpdefFile | \\
51038 sed '
51039 N
51040 : loop
51041 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51042 t loop
51043 ' > ${D}{tmpdefFile}%
51044 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51045 else
51046 rm -f ${D}{tmpdefFile}%
51047 fi
51048 cat ${D}tmpdefFile >> ${D}defFile
51049 rm -f ${D}tmpdefFile
51050
51051 # Do linking, create implib, and apply lxlite.
51052 gccCmdl="";
51053 for file in ${D}inputFiles ; do
51054 case ${D}file in
51055 *!)
51056 ;;
51057 *)
51058 gccCmdl="${D}gccCmdl ${D}file"
51059 ;;
51060 esac
51061 done
51062 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51063 touch "${D}{outFile}.dll"
51064
51065 doCommand "emximp -o ${D}arcFile ${D}defFile"
51066 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51067 add_flags="";
51068 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51069 add_flags="-ynd"
51070 fi
51071 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51072 fi
51073 doCommand "emxomf -s -l ${D}arcFile"
51074
51075 # Successful exit.
51076 CleanUp 1
51077 exit 0
51078 EOF
51079
51080 chmod +x dllar.sh
51081 ;;
51082
51083 powerpc-apple-macos* | \
51084 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51085 *-*-mirbsd* | \
51086 *-*-sunos4* | \
51087 *-*-osf* | \
51088 *-*-dgux5* | \
51089 *-*-sysv5* | \
51090 *-pc-msdosdjgpp )
51091 ;;
51092
51093 *)
51094 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51095 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51096 { (exit 1); exit 1; }; }
51097 esac
51098
51099 if test "x$PIC_FLAG" != "x" ; then
51100 PIC_FLAG="$PIC_FLAG -DPIC"
51101 fi
51102
51103 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51104 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51105 fi
51106 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51107 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51108 fi
51109
51110
51111
51112
51113
51114
51115
51116
51117
51118 USE_SOVERSION=0
51119 USE_SOVERLINUX=0
51120 USE_SOVERSOLARIS=0
51121 USE_SOVERCYGWIN=0
51122 USE_SOSYMLINKS=0
51123 USE_MACVERSION=0
51124 SONAME_FLAG=
51125
51126 case "${BAKEFILE_HOST}" in
51127 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51128 if test "x$SUNCXX" = "xyes"; then
51129 SONAME_FLAG="-h "
51130 else
51131 SONAME_FLAG="-Wl,-soname,"
51132 fi
51133 USE_SOVERSION=1
51134 USE_SOVERLINUX=1
51135 USE_SOSYMLINKS=1
51136 ;;
51137
51138 *-*-solaris2* )
51139 SONAME_FLAG="-h "
51140 USE_SOVERSION=1
51141 USE_SOVERSOLARIS=1
51142 USE_SOSYMLINKS=1
51143 ;;
51144
51145 *-*-darwin* )
51146 USE_MACVERSION=1
51147 USE_SOVERSION=1
51148 USE_SOSYMLINKS=1
51149 ;;
51150
51151 *-*-cygwin* )
51152 USE_SOVERSION=1
51153 USE_SOVERCYGWIN=1
51154 ;;
51155 esac
51156
51157
51158
51159
51160
51161
51162
51163
51164
51165
51166 # Check whether --enable-dependency-tracking was given.
51167 if test "${enable_dependency_tracking+set}" = set; then
51168 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51169 fi
51170
51171
51172 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51173 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51174
51175 BK_DEPS=""
51176 if test "x$bk_use_trackdeps" = "xno" ; then
51177 DEPS_TRACKING=0
51178 { echo "$as_me:$LINENO: result: disabled" >&5
51179 echo "${ECHO_T}disabled" >&6; }
51180 else
51181 DEPS_TRACKING=1
51182
51183 if test "x$GCC" = "xyes"; then
51184 DEPSMODE=gcc
51185 case "${BAKEFILE_HOST}" in
51186 *-*-darwin* )
51187 DEPSFLAG="-no-cpp-precomp -MMD"
51188 ;;
51189 * )
51190 DEPSFLAG="-MMD"
51191 ;;
51192 esac
51193 { echo "$as_me:$LINENO: result: gcc" >&5
51194 echo "${ECHO_T}gcc" >&6; }
51195 elif test "x$MWCC" = "xyes"; then
51196 DEPSMODE=mwcc
51197 DEPSFLAG="-MM"
51198 { echo "$as_me:$LINENO: result: mwcc" >&5
51199 echo "${ECHO_T}mwcc" >&6; }
51200 elif test "x$SUNCC" = "xyes"; then
51201 DEPSMODE=unixcc
51202 DEPSFLAG="-xM1"
51203 { echo "$as_me:$LINENO: result: Sun cc" >&5
51204 echo "${ECHO_T}Sun cc" >&6; }
51205 elif test "x$SGICC" = "xyes"; then
51206 DEPSMODE=unixcc
51207 DEPSFLAG="-M"
51208 { echo "$as_me:$LINENO: result: SGI cc" >&5
51209 echo "${ECHO_T}SGI cc" >&6; }
51210 elif test "x$HPCC" = "xyes"; then
51211 DEPSMODE=unixcc
51212 DEPSFLAG="+make"
51213 { echo "$as_me:$LINENO: result: HP cc" >&5
51214 echo "${ECHO_T}HP cc" >&6; }
51215 elif test "x$COMPAQCC" = "xyes"; then
51216 DEPSMODE=gcc
51217 DEPSFLAG="-MD"
51218 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51219 echo "${ECHO_T}Compaq cc" >&6; }
51220 else
51221 DEPS_TRACKING=0
51222 { echo "$as_me:$LINENO: result: none" >&5
51223 echo "${ECHO_T}none" >&6; }
51224 fi
51225
51226 if test $DEPS_TRACKING = 1 ; then
51227
51228 D='$'
51229 cat <<EOF >bk-deps
51230 #!/bin/sh
51231
51232 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51233 # script. It is used to track C/C++ files dependencies in portable way.
51234 #
51235 # Permission is given to use this file in any way.
51236
51237 DEPSMODE=${DEPSMODE}
51238 DEPSDIR=.deps
51239 DEPSFLAG="${DEPSFLAG}"
51240
51241 mkdir -p ${D}DEPSDIR
51242
51243 if test ${D}DEPSMODE = gcc ; then
51244 ${D}* ${D}{DEPSFLAG}
51245 status=${D}?
51246 if test ${D}{status} != 0 ; then
51247 exit ${D}{status}
51248 fi
51249 # move created file to the location we want it in:
51250 while test ${D}# -gt 0; do
51251 case "${D}1" in
51252 -o )
51253 shift
51254 objfile=${D}1
51255 ;;
51256 -* )
51257 ;;
51258 * )
51259 srcfile=${D}1
51260 ;;
51261 esac
51262 shift
51263 done
51264 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51265 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51266 if test -f ${D}depfile ; then
51267 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51268 rm -f ${D}depfile
51269 else
51270 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51271 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51272 if test ! -f ${D}depfile ; then
51273 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51274 depfile="${D}objfile.d"
51275 fi
51276 if test -f ${D}depfile ; then
51277 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51278 rm -f ${D}depfile
51279 fi
51280 fi
51281 exit 0
51282 elif test ${D}DEPSMODE = mwcc ; then
51283 ${D}* || exit ${D}?
51284 # Run mwcc again with -MM and redirect into the dep file we want
51285 # NOTE: We can't use shift here because we need ${D}* to be valid
51286 prevarg=
51287 for arg in ${D}* ; do
51288 if test "${D}prevarg" = "-o"; then
51289 objfile=${D}arg
51290 else
51291 case "${D}arg" in
51292 -* )
51293 ;;
51294 * )
51295 srcfile=${D}arg
51296 ;;
51297 esac
51298 fi
51299 prevarg="${D}arg"
51300 done
51301 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51302 exit 0
51303 elif test ${D}DEPSMODE = unixcc; then
51304 ${D}* || exit ${D}?
51305 # Run compiler again with deps flag and redirect into the dep file.
51306 # It doesn't work if the '-o FILE' option is used, but without it the
51307 # dependency file will contain the wrong name for the object. So it is
51308 # removed from the command line, and the dep file is fixed with sed.
51309 cmd=""
51310 while test ${D}# -gt 0; do
51311 case "${D}1" in
51312 -o )
51313 shift
51314 objfile=${D}1
51315 ;;
51316 * )
51317 eval arg${D}#=\\${D}1
51318 cmd="${D}cmd \\${D}arg${D}#"
51319 ;;
51320 esac
51321 shift
51322 done
51323 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51324 exit 0
51325 else
51326 ${D}*
51327 exit ${D}?
51328 fi
51329 EOF
51330
51331 chmod +x bk-deps
51332 BK_DEPS="`pwd`/bk-deps"
51333 fi
51334 fi
51335
51336
51337
51338
51339
51340 case ${BAKEFILE_HOST} in
51341 *-*-cygwin* | *-*-mingw32* )
51342 if test -n "$ac_tool_prefix"; then
51343 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51344 set dummy ${ac_tool_prefix}windres; ac_word=$2
51345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51347 if test "${ac_cv_prog_WINDRES+set}" = set; then
51348 echo $ECHO_N "(cached) $ECHO_C" >&6
51349 else
51350 if test -n "$WINDRES"; then
51351 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51352 else
51353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51354 for as_dir in $PATH
51355 do
51356 IFS=$as_save_IFS
51357 test -z "$as_dir" && as_dir=.
51358 for ac_exec_ext in '' $ac_executable_extensions; do
51359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51360 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51362 break 2
51363 fi
51364 done
51365 done
51366 IFS=$as_save_IFS
51367
51368 fi
51369 fi
51370 WINDRES=$ac_cv_prog_WINDRES
51371 if test -n "$WINDRES"; then
51372 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51373 echo "${ECHO_T}$WINDRES" >&6; }
51374 else
51375 { echo "$as_me:$LINENO: result: no" >&5
51376 echo "${ECHO_T}no" >&6; }
51377 fi
51378
51379
51380 fi
51381 if test -z "$ac_cv_prog_WINDRES"; then
51382 ac_ct_WINDRES=$WINDRES
51383 # Extract the first word of "windres", so it can be a program name with args.
51384 set dummy windres; ac_word=$2
51385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51387 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51388 echo $ECHO_N "(cached) $ECHO_C" >&6
51389 else
51390 if test -n "$ac_ct_WINDRES"; then
51391 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51392 else
51393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51394 for as_dir in $PATH
51395 do
51396 IFS=$as_save_IFS
51397 test -z "$as_dir" && as_dir=.
51398 for ac_exec_ext in '' $ac_executable_extensions; do
51399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51400 ac_cv_prog_ac_ct_WINDRES="windres"
51401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51402 break 2
51403 fi
51404 done
51405 done
51406 IFS=$as_save_IFS
51407
51408 fi
51409 fi
51410 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51411 if test -n "$ac_ct_WINDRES"; then
51412 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51413 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51414 else
51415 { echo "$as_me:$LINENO: result: no" >&5
51416 echo "${ECHO_T}no" >&6; }
51417 fi
51418
51419 if test "x$ac_ct_WINDRES" = x; then
51420 WINDRES=""
51421 else
51422 case $cross_compiling:$ac_tool_warned in
51423 yes:)
51424 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51425 whose name does not start with the host triplet. If you think this
51426 configuration is useful to you, please write to autoconf@gnu.org." >&5
51427 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51428 whose name does not start with the host triplet. If you think this
51429 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51430 ac_tool_warned=yes ;;
51431 esac
51432 WINDRES=$ac_ct_WINDRES
51433 fi
51434 else
51435 WINDRES="$ac_cv_prog_WINDRES"
51436 fi
51437
51438 ;;
51439
51440 *-*-darwin* | powerpc-apple-macos* )
51441 # Extract the first word of "Rez", so it can be a program name with args.
51442 set dummy Rez; ac_word=$2
51443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51445 if test "${ac_cv_prog_REZ+set}" = set; then
51446 echo $ECHO_N "(cached) $ECHO_C" >&6
51447 else
51448 if test -n "$REZ"; then
51449 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51450 else
51451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51452 for as_dir in $PATH
51453 do
51454 IFS=$as_save_IFS
51455 test -z "$as_dir" && as_dir=.
51456 for ac_exec_ext in '' $ac_executable_extensions; do
51457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51458 ac_cv_prog_REZ="Rez"
51459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51460 break 2
51461 fi
51462 done
51463 done
51464 IFS=$as_save_IFS
51465
51466 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51467 fi
51468 fi
51469 REZ=$ac_cv_prog_REZ
51470 if test -n "$REZ"; then
51471 { echo "$as_me:$LINENO: result: $REZ" >&5
51472 echo "${ECHO_T}$REZ" >&6; }
51473 else
51474 { echo "$as_me:$LINENO: result: no" >&5
51475 echo "${ECHO_T}no" >&6; }
51476 fi
51477
51478
51479 # Extract the first word of "SetFile", so it can be a program name with args.
51480 set dummy SetFile; ac_word=$2
51481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51483 if test "${ac_cv_prog_SETFILE+set}" = set; then
51484 echo $ECHO_N "(cached) $ECHO_C" >&6
51485 else
51486 if test -n "$SETFILE"; then
51487 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51488 else
51489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51490 for as_dir in $PATH
51491 do
51492 IFS=$as_save_IFS
51493 test -z "$as_dir" && as_dir=.
51494 for ac_exec_ext in '' $ac_executable_extensions; do
51495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51496 ac_cv_prog_SETFILE="SetFile"
51497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51498 break 2
51499 fi
51500 done
51501 done
51502 IFS=$as_save_IFS
51503
51504 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51505 fi
51506 fi
51507 SETFILE=$ac_cv_prog_SETFILE
51508 if test -n "$SETFILE"; then
51509 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51510 echo "${ECHO_T}$SETFILE" >&6; }
51511 else
51512 { echo "$as_me:$LINENO: result: no" >&5
51513 echo "${ECHO_T}no" >&6; }
51514 fi
51515
51516
51517 ;;
51518 esac
51519
51520
51521
51522
51523
51524
51525 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51526
51527
51528 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51529
51530
51531
51532 # Check whether --enable-precomp-headers was given.
51533 if test "${enable_precomp_headers+set}" = set; then
51534 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51535 fi
51536
51537
51538 GCC_PCH=0
51539 ICC_PCH=0
51540 USE_PCH=0
51541 BK_MAKE_PCH=""
51542
51543 case ${BAKEFILE_HOST} in
51544 *-*-cygwin* )
51545 bk_use_pch="no"
51546 ;;
51547 esac
51548
51549 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51550 if test "x$GCC" = "xyes"; then
51551 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51552 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51553 cat >conftest.$ac_ext <<_ACEOF
51554 /* confdefs.h. */
51555 _ACEOF
51556 cat confdefs.h >>conftest.$ac_ext
51557 cat >>conftest.$ac_ext <<_ACEOF
51558 /* end confdefs.h. */
51559
51560 int
51561 main ()
51562 {
51563
51564 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51565 There is no PCH support
51566 #endif
51567 #if (__GNUC__ < 3)
51568 There is no PCH support
51569 #endif
51570 #if (__GNUC__ == 3) && \
51571 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51572 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51573 ( defined(__INTEL_COMPILER) )
51574 There is no PCH support
51575 #endif
51576
51577 ;
51578 return 0;
51579 }
51580 _ACEOF
51581 rm -f conftest.$ac_objext
51582 if { (ac_try="$ac_compile"
51583 case "(($ac_try" in
51584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51585 *) ac_try_echo=$ac_try;;
51586 esac
51587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51588 (eval "$ac_compile") 2>conftest.er1
51589 ac_status=$?
51590 grep -v '^ *+' conftest.er1 >conftest.err
51591 rm -f conftest.er1
51592 cat conftest.err >&5
51593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51594 (exit $ac_status); } && {
51595 test -z "$ac_c_werror_flag" ||
51596 test ! -s conftest.err
51597 } && test -s conftest.$ac_objext; then
51598
51599 { echo "$as_me:$LINENO: result: yes" >&5
51600 echo "${ECHO_T}yes" >&6; }
51601 GCC_PCH=1
51602
51603 else
51604 echo "$as_me: failed program was:" >&5
51605 sed 's/^/| /' conftest.$ac_ext >&5
51606
51607
51608 cat >conftest.$ac_ext <<_ACEOF
51609 /* confdefs.h. */
51610 _ACEOF
51611 cat confdefs.h >>conftest.$ac_ext
51612 cat >>conftest.$ac_ext <<_ACEOF
51613 /* end confdefs.h. */
51614
51615 int
51616 main ()
51617 {
51618
51619 #if !defined(__INTEL_COMPILER) || \
51620 (__INTEL_COMPILER < 800)
51621 There is no PCH support
51622 #endif
51623
51624 ;
51625 return 0;
51626 }
51627 _ACEOF
51628 rm -f conftest.$ac_objext
51629 if { (ac_try="$ac_compile"
51630 case "(($ac_try" in
51631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51632 *) ac_try_echo=$ac_try;;
51633 esac
51634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51635 (eval "$ac_compile") 2>conftest.er1
51636 ac_status=$?
51637 grep -v '^ *+' conftest.er1 >conftest.err
51638 rm -f conftest.er1
51639 cat conftest.err >&5
51640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51641 (exit $ac_status); } && {
51642 test -z "$ac_c_werror_flag" ||
51643 test ! -s conftest.err
51644 } && test -s conftest.$ac_objext; then
51645
51646 { echo "$as_me:$LINENO: result: yes" >&5
51647 echo "${ECHO_T}yes" >&6; }
51648 ICC_PCH=1
51649
51650 else
51651 echo "$as_me: failed program was:" >&5
51652 sed 's/^/| /' conftest.$ac_ext >&5
51653
51654
51655 { echo "$as_me:$LINENO: result: no" >&5
51656 echo "${ECHO_T}no" >&6; }
51657
51658 fi
51659
51660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51661
51662 fi
51663
51664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51665 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51666 USE_PCH=1
51667
51668 D='$'
51669 cat <<EOF >bk-make-pch
51670 #!/bin/sh
51671
51672 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51673 # script. It is used to generated precompiled headers.
51674 #
51675 # Permission is given to use this file in any way.
51676
51677 outfile="${D}{1}"
51678 header="${D}{2}"
51679 shift
51680 shift
51681
51682 compiler=""
51683 headerfile=""
51684
51685 while test ${D}{#} -gt 0; do
51686 add_to_cmdline=1
51687 case "${D}{1}" in
51688 -I* )
51689 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51690 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51691 headerfile="${D}{incdir}/${D}{header}"
51692 fi
51693 ;;
51694 -use-pch|-use_pch )
51695 shift
51696 add_to_cmdline=0
51697 ;;
51698 esac
51699 if test ${D}add_to_cmdline = 1 ; then
51700 compiler="${D}{compiler} ${D}{1}"
51701 fi
51702 shift
51703 done
51704
51705 if test "x${D}{headerfile}" = "x" ; then
51706 echo "error: can't find header ${D}{header} in include paths" >&2
51707 else
51708 if test -f ${D}{outfile} ; then
51709 rm -f ${D}{outfile}
51710 else
51711 mkdir -p \`dirname ${D}{outfile}\`
51712 fi
51713 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51714 mkdir -p .deps
51715 if test "x${GCC_PCH}" = "x1" ; then
51716 # can do this because gcc is >= 3.4:
51717 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51718 elif test "x${ICC_PCH}" = "x1" ; then
51719 filename=pch_gen-${D}${D}
51720 file=${D}{filename}.c
51721 dfile=${D}{filename}.d
51722 cat > ${D}file <<EOT
51723 #include "${D}header"
51724 EOT
51725 # using -MF icc complains about differing command lines in creation/use
51726 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51727 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51728 rm -f ${D}file ${D}dfile ${D}{filename}.o
51729 fi
51730 exit ${D}{?}
51731 fi
51732 EOF
51733
51734 chmod +x bk-make-pch
51735 BK_MAKE_PCH="`pwd`/bk-make-pch"
51736 fi
51737 fi
51738 fi
51739
51740
51741
51742
51743
51744 COND_BUILD_DEBUG="#"
51745 if test "x$BUILD" = "xdebug" ; then
51746 COND_BUILD_DEBUG=""
51747 fi
51748
51749 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51750 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51751 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51752 fi
51753
51754 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51755 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51756 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51757 fi
51758
51759 COND_BUILD_DEBUG_UNICODE_0="#"
51760 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51761 COND_BUILD_DEBUG_UNICODE_0=""
51762 fi
51763
51764 COND_BUILD_DEBUG_UNICODE_1="#"
51765 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51766 COND_BUILD_DEBUG_UNICODE_1=""
51767 fi
51768
51769 COND_BUILD_RELEASE="#"
51770 if test "x$BUILD" = "xrelease" ; then
51771 COND_BUILD_RELEASE=""
51772 fi
51773
51774 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51775 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51776 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51777 fi
51778
51779 COND_BUILD_RELEASE_UNICODE_0="#"
51780 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51781 COND_BUILD_RELEASE_UNICODE_0=""
51782 fi
51783
51784 COND_BUILD_RELEASE_UNICODE_1="#"
51785 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51786 COND_BUILD_RELEASE_UNICODE_1=""
51787 fi
51788
51789 COND_DEBUG_FLAG_1="#"
51790 if test "x$DEBUG_FLAG" = "x1" ; then
51791 COND_DEBUG_FLAG_1=""
51792 fi
51793
51794 COND_DEBUG_INFO_0="#"
51795 if test "x$DEBUG_INFO" = "x0" ; then
51796 COND_DEBUG_INFO_0=""
51797 fi
51798
51799 COND_DEBUG_INFO_1="#"
51800 if test "x$DEBUG_INFO" = "x1" ; then
51801 COND_DEBUG_INFO_1=""
51802 fi
51803
51804 COND_DEPS_TRACKING_0="#"
51805 if test "x$DEPS_TRACKING" = "x0" ; then
51806 COND_DEPS_TRACKING_0=""
51807 fi
51808
51809 COND_DEPS_TRACKING_1="#"
51810 if test "x$DEPS_TRACKING" = "x1" ; then
51811 COND_DEPS_TRACKING_1=""
51812 fi
51813
51814 COND_GCC_PCH_1="#"
51815 if test "x$GCC_PCH" = "x1" ; then
51816 COND_GCC_PCH_1=""
51817 fi
51818
51819 COND_ICC_PCH_1="#"
51820 if test "x$ICC_PCH" = "x1" ; then
51821 COND_ICC_PCH_1=""
51822 fi
51823
51824 COND_MONOLITHIC_0="#"
51825 if test "x$MONOLITHIC" = "x0" ; then
51826 COND_MONOLITHIC_0=""
51827 fi
51828
51829 COND_MONOLITHIC_0_SHARED_0="#"
51830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51831 COND_MONOLITHIC_0_SHARED_0=""
51832 fi
51833
51834 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51836 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51837 fi
51838
51839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51842 fi
51843
51844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51847 fi
51848
51849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51852 fi
51853
51854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51856 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51857 fi
51858
51859 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51862 fi
51863
51864 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51866 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51867 fi
51868
51869 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51871 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51872 fi
51873
51874 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51876 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51877 fi
51878
51879 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51881 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51882 fi
51883
51884 COND_MONOLITHIC_0_SHARED_1="#"
51885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51886 COND_MONOLITHIC_0_SHARED_1=""
51887 fi
51888
51889 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51891 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51892 fi
51893
51894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51896 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51897 fi
51898
51899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51902 fi
51903
51904 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51906 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51907 fi
51908
51909 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51911 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51912 fi
51913
51914 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51916 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51917 fi
51918
51919 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51921 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51922 fi
51923
51924 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51926 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51927 fi
51928
51929 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51931 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51932 fi
51933
51934 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51936 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51937 fi
51938
51939 COND_MONOLITHIC_0_USE_AUI_1="#"
51940 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51941 COND_MONOLITHIC_0_USE_AUI_1=""
51942 fi
51943
51944 COND_MONOLITHIC_0_USE_GUI_1="#"
51945 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51946 COND_MONOLITHIC_0_USE_GUI_1=""
51947 fi
51948
51949 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51950 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51951 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51952 fi
51953
51954 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51955 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51956 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51957 fi
51958
51959 COND_MONOLITHIC_0_USE_HTML_1="#"
51960 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51961 COND_MONOLITHIC_0_USE_HTML_1=""
51962 fi
51963
51964 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51965 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51966 COND_MONOLITHIC_0_USE_MEDIA_1=""
51967 fi
51968
51969 COND_MONOLITHIC_0_USE_ODBC_1="#"
51970 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51971 COND_MONOLITHIC_0_USE_ODBC_1=""
51972 fi
51973
51974 COND_MONOLITHIC_0_USE_QA_1="#"
51975 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51976 COND_MONOLITHIC_0_USE_QA_1=""
51977 fi
51978
51979 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51980 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51981 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51982 fi
51983
51984 COND_MONOLITHIC_0_USE_STC_1="#"
51985 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51986 COND_MONOLITHIC_0_USE_STC_1=""
51987 fi
51988
51989 COND_MONOLITHIC_0_USE_XRC_1="#"
51990 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51991 COND_MONOLITHIC_0_USE_XRC_1=""
51992 fi
51993
51994 COND_MONOLITHIC_1="#"
51995 if test "x$MONOLITHIC" = "x1" ; then
51996 COND_MONOLITHIC_1=""
51997 fi
51998
51999 COND_MONOLITHIC_1_SHARED_0="#"
52000 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52001 COND_MONOLITHIC_1_SHARED_0=""
52002 fi
52003
52004 COND_MONOLITHIC_1_SHARED_1="#"
52005 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52006 COND_MONOLITHIC_1_SHARED_1=""
52007 fi
52008
52009 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52010 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52011 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52012 fi
52013
52014 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52015 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52016 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52017 fi
52018
52019 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52020 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52021 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52022 fi
52023
52024 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52025 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52026 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52027 fi
52028
52029 COND_PLATFORM_MACOSX_1="#"
52030 if test "x$PLATFORM_MACOSX" = "x1" ; then
52031 COND_PLATFORM_MACOSX_1=""
52032 fi
52033
52034 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52035 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52036 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52037 fi
52038
52039 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52040 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52041 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52042 fi
52043
52044 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52045 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52046 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52047 fi
52048
52049 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52050 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52051 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52052 fi
52053
52054 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52055 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52056 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52057 fi
52058
52059 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52060 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52061 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52062 fi
52063
52064 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52065 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52066 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52067 fi
52068
52069 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52070 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52071 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52072 fi
52073
52074 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52075 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52076 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52077 fi
52078
52079 COND_PLATFORM_MACOS_1="#"
52080 if test "x$PLATFORM_MACOS" = "x1" ; then
52081 COND_PLATFORM_MACOS_1=""
52082 fi
52083
52084 COND_PLATFORM_MAC_1="#"
52085 if test "x$PLATFORM_MAC" = "x1" ; then
52086 COND_PLATFORM_MAC_1=""
52087 fi
52088
52089 COND_PLATFORM_MSDOS_0="#"
52090 if test "x$PLATFORM_MSDOS" = "x0" ; then
52091 COND_PLATFORM_MSDOS_0=""
52092 fi
52093
52094 COND_PLATFORM_MSDOS_1="#"
52095 if test "x$PLATFORM_MSDOS" = "x1" ; then
52096 COND_PLATFORM_MSDOS_1=""
52097 fi
52098
52099 COND_PLATFORM_OS2_1="#"
52100 if test "x$PLATFORM_OS2" = "x1" ; then
52101 COND_PLATFORM_OS2_1=""
52102 fi
52103
52104 COND_PLATFORM_UNIX_0="#"
52105 if test "x$PLATFORM_UNIX" = "x0" ; then
52106 COND_PLATFORM_UNIX_0=""
52107 fi
52108
52109 COND_PLATFORM_UNIX_1="#"
52110 if test "x$PLATFORM_UNIX" = "x1" ; then
52111 COND_PLATFORM_UNIX_1=""
52112 fi
52113
52114 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52115 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52116 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52117 fi
52118
52119 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52120 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52121 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52122 fi
52123
52124 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52125 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52126 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52127 fi
52128
52129 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52130 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52131 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52132 fi
52133
52134 COND_PLATFORM_WIN32_0="#"
52135 if test "x$PLATFORM_WIN32" = "x0" ; then
52136 COND_PLATFORM_WIN32_0=""
52137 fi
52138
52139 COND_PLATFORM_WIN32_1="#"
52140 if test "x$PLATFORM_WIN32" = "x1" ; then
52141 COND_PLATFORM_WIN32_1=""
52142 fi
52143
52144 COND_SHARED_0="#"
52145 if test "x$SHARED" = "x0" ; then
52146 COND_SHARED_0=""
52147 fi
52148
52149 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52150 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52151 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52152 fi
52153
52154 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52155 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52156 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52157 fi
52158
52159 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52160 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52161 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52162 fi
52163
52164 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52165 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52166 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52167 fi
52168
52169 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52170 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52171 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52172 fi
52173
52174 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52175 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52176 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52177 fi
52178
52179 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52180 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52181 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52182 fi
52183
52184 COND_SHARED_0_USE_STC_1="#"
52185 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52186 COND_SHARED_0_USE_STC_1=""
52187 fi
52188
52189 COND_SHARED_0_USE_XRC_1="#"
52190 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52191 COND_SHARED_0_USE_XRC_1=""
52192 fi
52193
52194 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52195 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52196 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52197 fi
52198
52199 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52200 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52201 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52202 fi
52203
52204 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52205 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52206 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52207 fi
52208
52209 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52210 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52211 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52212 fi
52213
52214 COND_SHARED_1="#"
52215 if test "x$SHARED" = "x1" ; then
52216 COND_SHARED_1=""
52217 fi
52218
52219 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52220 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52221 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52222 fi
52223
52224 COND_SHARED_1_USE_XRC_1="#"
52225 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52226 COND_SHARED_1_USE_XRC_1=""
52227 fi
52228
52229 COND_TOOLKIT_="#"
52230 if test "x$TOOLKIT" = "x" ; then
52231 COND_TOOLKIT_=""
52232 fi
52233
52234 COND_TOOLKIT_COCOA="#"
52235 if test "x$TOOLKIT" = "xCOCOA" ; then
52236 COND_TOOLKIT_COCOA=""
52237 fi
52238
52239 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52240 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52241 COND_TOOLKIT_COCOA_USE_GUI_1=""
52242 fi
52243
52244 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52245 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52246 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52247 fi
52248
52249 COND_TOOLKIT_DFB="#"
52250 if test "x$TOOLKIT" = "xDFB" ; then
52251 COND_TOOLKIT_DFB=""
52252 fi
52253
52254 COND_TOOLKIT_DFB_USE_GUI_1="#"
52255 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52256 COND_TOOLKIT_DFB_USE_GUI_1=""
52257 fi
52258
52259 COND_TOOLKIT_GTK="#"
52260 if test "x$TOOLKIT" = "xGTK" ; then
52261 COND_TOOLKIT_GTK=""
52262 fi
52263
52264 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52265 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52266 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52267 fi
52268
52269 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52270 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52271 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52272 fi
52273
52274 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52275 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52276 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52277 fi
52278
52279 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52280 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52281 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52282 fi
52283
52284 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52285 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52286 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52287 fi
52288
52289 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52290 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52291 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52292 fi
52293
52294 COND_TOOLKIT_GTK_USE_GUI_1="#"
52295 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52296 COND_TOOLKIT_GTK_USE_GUI_1=""
52297 fi
52298
52299 COND_TOOLKIT_MAC="#"
52300 if test "x$TOOLKIT" = "xMAC" ; then
52301 COND_TOOLKIT_MAC=""
52302 fi
52303
52304 COND_TOOLKIT_MAC_USE_GUI_1="#"
52305 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52306 COND_TOOLKIT_MAC_USE_GUI_1=""
52307 fi
52308
52309 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52310 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52311 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52312 fi
52313
52314 COND_TOOLKIT_MGL="#"
52315 if test "x$TOOLKIT" = "xMGL" ; then
52316 COND_TOOLKIT_MGL=""
52317 fi
52318
52319 COND_TOOLKIT_MGL_USE_GUI_1="#"
52320 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52321 COND_TOOLKIT_MGL_USE_GUI_1=""
52322 fi
52323
52324 COND_TOOLKIT_MOTIF="#"
52325 if test "x$TOOLKIT" = "xMOTIF" ; then
52326 COND_TOOLKIT_MOTIF=""
52327 fi
52328
52329 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52330 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52331 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52332 fi
52333
52334 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52335 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52336 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52337 fi
52338
52339 COND_TOOLKIT_MSW="#"
52340 if test "x$TOOLKIT" = "xMSW" ; then
52341 COND_TOOLKIT_MSW=""
52342 fi
52343
52344 COND_TOOLKIT_MSW_USE_GUI_1="#"
52345 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52346 COND_TOOLKIT_MSW_USE_GUI_1=""
52347 fi
52348
52349 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52350 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52351 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52352 fi
52353
52354 COND_TOOLKIT_MSW_WXUNIV_0="#"
52355 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52356 COND_TOOLKIT_MSW_WXUNIV_0=""
52357 fi
52358
52359 COND_TOOLKIT_PM="#"
52360 if test "x$TOOLKIT" = "xPM" ; then
52361 COND_TOOLKIT_PM=""
52362 fi
52363
52364 COND_TOOLKIT_PM_USE_GUI_1="#"
52365 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52366 COND_TOOLKIT_PM_USE_GUI_1=""
52367 fi
52368
52369 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52370 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52371 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52372 fi
52373
52374 COND_TOOLKIT_WINCE="#"
52375 if test "x$TOOLKIT" = "xWINCE" ; then
52376 COND_TOOLKIT_WINCE=""
52377 fi
52378
52379 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52380 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52381 COND_TOOLKIT_WINCE_USE_GUI_1=""
52382 fi
52383
52384 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52385 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52386 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52387 fi
52388
52389 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52390 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52391 COND_TOOLKIT_WINCE_WXUNIV_0=""
52392 fi
52393
52394 COND_TOOLKIT_X11="#"
52395 if test "x$TOOLKIT" = "xX11" ; then
52396 COND_TOOLKIT_X11=""
52397 fi
52398
52399 COND_TOOLKIT_X11_USE_GUI_1="#"
52400 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52401 COND_TOOLKIT_X11_USE_GUI_1=""
52402 fi
52403
52404 COND_UNICODE_1="#"
52405 if test "x$UNICODE" = "x1" ; then
52406 COND_UNICODE_1=""
52407 fi
52408
52409 COND_USE_EXCEPTIONS_0="#"
52410 if test "x$USE_EXCEPTIONS" = "x0" ; then
52411 COND_USE_EXCEPTIONS_0=""
52412 fi
52413
52414 COND_USE_EXCEPTIONS_1="#"
52415 if test "x$USE_EXCEPTIONS" = "x1" ; then
52416 COND_USE_EXCEPTIONS_1=""
52417 fi
52418
52419 COND_USE_GUI_0="#"
52420 if test "x$USE_GUI" = "x0" ; then
52421 COND_USE_GUI_0=""
52422 fi
52423
52424 COND_USE_GUI_1="#"
52425 if test "x$USE_GUI" = "x1" ; then
52426 COND_USE_GUI_1=""
52427 fi
52428
52429 COND_USE_GUI_1_USE_OPENGL_1="#"
52430 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52431 COND_USE_GUI_1_USE_OPENGL_1=""
52432 fi
52433
52434 COND_USE_GUI_1_WXUNIV_0="#"
52435 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52436 COND_USE_GUI_1_WXUNIV_0=""
52437 fi
52438
52439 COND_USE_GUI_1_WXUNIV_1="#"
52440 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52441 COND_USE_GUI_1_WXUNIV_1=""
52442 fi
52443
52444 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52445 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52446 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52447 fi
52448
52449 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52450 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52451 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52452 fi
52453
52454 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52455 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52456 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52457 fi
52458
52459 COND_USE_ODBC_1="#"
52460 if test "x$USE_ODBC" = "x1" ; then
52461 COND_USE_ODBC_1=""
52462 fi
52463
52464 COND_USE_OPENGL_1="#"
52465 if test "x$USE_OPENGL" = "x1" ; then
52466 COND_USE_OPENGL_1=""
52467 fi
52468
52469 COND_USE_PCH_1="#"
52470 if test "x$USE_PCH" = "x1" ; then
52471 COND_USE_PCH_1=""
52472 fi
52473
52474 COND_USE_PLUGINS_0="#"
52475 if test "x$USE_PLUGINS" = "x0" ; then
52476 COND_USE_PLUGINS_0=""
52477 fi
52478
52479 COND_USE_RTTI_0="#"
52480 if test "x$USE_RTTI" = "x0" ; then
52481 COND_USE_RTTI_0=""
52482 fi
52483
52484 COND_USE_RTTI_1="#"
52485 if test "x$USE_RTTI" = "x1" ; then
52486 COND_USE_RTTI_1=""
52487 fi
52488
52489 COND_USE_SOSYMLINKS_1="#"
52490 if test "x$USE_SOSYMLINKS" = "x1" ; then
52491 COND_USE_SOSYMLINKS_1=""
52492 fi
52493
52494 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52495 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52496 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52497 fi
52498
52499 COND_USE_SOVERLINUX_1="#"
52500 if test "x$USE_SOVERLINUX" = "x1" ; then
52501 COND_USE_SOVERLINUX_1=""
52502 fi
52503
52504 COND_USE_SOVERSION_0="#"
52505 if test "x$USE_SOVERSION" = "x0" ; then
52506 COND_USE_SOVERSION_0=""
52507 fi
52508
52509 COND_USE_SOVERSOLARIS_1="#"
52510 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52511 COND_USE_SOVERSOLARIS_1=""
52512 fi
52513
52514 COND_USE_STC_1="#"
52515 if test "x$USE_STC" = "x1" ; then
52516 COND_USE_STC_1=""
52517 fi
52518
52519 COND_USE_THREADS_0="#"
52520 if test "x$USE_THREADS" = "x0" ; then
52521 COND_USE_THREADS_0=""
52522 fi
52523
52524 COND_USE_THREADS_1="#"
52525 if test "x$USE_THREADS" = "x1" ; then
52526 COND_USE_THREADS_1=""
52527 fi
52528
52529 COND_USE_XRC_1="#"
52530 if test "x$USE_XRC" = "x1" ; then
52531 COND_USE_XRC_1=""
52532 fi
52533
52534 COND_WINDOWS_IMPLIB_1="#"
52535 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52536 COND_WINDOWS_IMPLIB_1=""
52537 fi
52538
52539 COND_WITH_PLUGIN_SDL_1="#"
52540 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52541 COND_WITH_PLUGIN_SDL_1=""
52542 fi
52543
52544 COND_WXUNIV_0="#"
52545 if test "x$WXUNIV" = "x0" ; then
52546 COND_WXUNIV_0=""
52547 fi
52548
52549 COND_WXUNIV_1="#"
52550 if test "x$WXUNIV" = "x1" ; then
52551 COND_WXUNIV_1=""
52552 fi
52553
52554 COND_WXUSE_EXPAT_BUILTIN="#"
52555 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52556 COND_WXUSE_EXPAT_BUILTIN=""
52557 fi
52558
52559 COND_WXUSE_LIBJPEG_BUILTIN="#"
52560 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52561 COND_WXUSE_LIBJPEG_BUILTIN=""
52562 fi
52563
52564 COND_WXUSE_LIBPNG_BUILTIN="#"
52565 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52566 COND_WXUSE_LIBPNG_BUILTIN=""
52567 fi
52568
52569 COND_WXUSE_LIBTIFF_BUILTIN="#"
52570 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52571 COND_WXUSE_LIBTIFF_BUILTIN=""
52572 fi
52573
52574 COND_WXUSE_ODBC_BUILTIN="#"
52575 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52576 COND_WXUSE_ODBC_BUILTIN=""
52577 fi
52578
52579 COND_WXUSE_REGEX_BUILTIN="#"
52580 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52581 COND_WXUSE_REGEX_BUILTIN=""
52582 fi
52583
52584 COND_WXUSE_ZLIB_BUILTIN="#"
52585 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52586 COND_WXUSE_ZLIB_BUILTIN=""
52587 fi
52588
52589
52590
52591 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52592 { { 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
52593 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;}
52594 { (exit 1); exit 1; }; }
52595 fi
52596
52597 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52598 { { 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
52599 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;}
52600 { (exit 1); exit 1; }; }
52601 fi
52602
52603
52604 if test $GCC_PCH = 1
52605 then
52606 if test "$wx_cv_gcc_pch_bug" = yes; then
52607 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52608 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52609 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52610 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52611 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52612 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52613 fi
52614
52615 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52616 fi
52617
52618
52619 if test "$wxUSE_MAC" = 1 ; then
52620 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52621 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52622 mv temp bk-deps
52623 chmod +x bk-deps
52624 fi
52625 fi
52626
52627 if test "$wxUSE_SHARED" = "yes"; then
52628
52629 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52630 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52631
52632 case "${host}" in
52633 *-pc-os2_emx | *-pc-os2-emx )
52634 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52635 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52636 cp -p ${srcdir}/src/os2/dllnames.sh .
52637 cp -p ${srcdir}/src/os2/dllar.sh .
52638 ;;
52639 esac
52640 else
52641
52642 EXE_LINKER="$CXX -o"
52643
52644 fi
52645 if test "$wxUSE_OMF" = "yes"; then
52646 case "${host}" in
52647 *-pc-os2_emx | *-pc-os2-emx )
52648 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52649 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52650 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52651 ;;
52652 esac
52653 fi
52654
52655 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52656
52657
52658 case "${host}" in
52659 *-*-solaris2* )
52660 if "$GCC" = yes; then
52661 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52662 LIBS=`echo $LIBS | sed 's/-mt//'`
52663 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52664 fi
52665 ;;
52666
52667 *-*-linux* )
52668 if test "x$SUNCXX" = xyes; then
52669 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52670 LIBS=`echo $LIBS | sed 's/-pthread//'`
52671 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52672 fi
52673 ;;
52674 esac
52675
52676 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52677 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52678
52679 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52680
52681
52682
52683
52684
52685
52686
52687
52688
52689
52690
52691
52692
52693
52694
52695
52696
52697
52698
52699
52700
52701
52702
52703
52704
52705
52706
52707
52708
52709
52710
52711
52712
52713
52714
52715
52716
52717
52718
52719
52720
52721
52722
52723
52724
52725
52726
52727
52728
52729
52730
52731
52732
52733
52734
52735
52736
52737
52738
52739
52740
52741 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52742 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52743 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52744 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52745 echo $ECHO_N "(cached) $ECHO_C" >&6
52746 else
52747 cat >conftest.make <<\_ACEOF
52748 SHELL = /bin/sh
52749 all:
52750 @echo '@@@%%%=$(MAKE)=@@@%%%'
52751 _ACEOF
52752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52753 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52754 *@@@%%%=?*=@@@%%%*)
52755 eval ac_cv_prog_make_${ac_make}_set=yes;;
52756 *)
52757 eval ac_cv_prog_make_${ac_make}_set=no;;
52758 esac
52759 rm -f conftest.make
52760 fi
52761 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52762 { echo "$as_me:$LINENO: result: yes" >&5
52763 echo "${ECHO_T}yes" >&6; }
52764 SET_MAKE=
52765 else
52766 { echo "$as_me:$LINENO: result: no" >&5
52767 echo "${ECHO_T}no" >&6; }
52768 SET_MAKE="MAKE=${MAKE-make}"
52769 fi
52770
52771
52772
52773 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52774
52775
52776 if test "$USE_WIN32" = 1; then
52777 ac_config_commands="$ac_config_commands
52778 rcdefs.h
52779 "
52780
52781 fi
52782
52783 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52784
52785
52786 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52787
52788
52789 if test "$wx_cv_version_script" = "yes"; then
52790 ac_config_files="$ac_config_files version-script"
52791
52792 fi
52793 ac_config_files="$ac_config_files Makefile"
52794
52795
52796 ac_config_commands="$ac_config_commands wx-config"
52797
52798
52799
52800 if test "$wxWITH_SUBDIRS" != "no"; then
52801 if test "$wxUSE_GUI" = "yes"; then
52802 SUBDIRS="samples demos utils"
52803 else SUBDIRS="samples utils"
52804 fi
52805
52806
52807
52808 # Check whether --with-cppunit-prefix was given.
52809 if test "${with_cppunit_prefix+set}" = set; then
52810 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52811 else
52812 cppunit_config_prefix=""
52813 fi
52814
52815
52816 # Check whether --with-cppunit-exec-prefix was given.
52817 if test "${with_cppunit_exec_prefix+set}" = set; then
52818 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52819 else
52820 cppunit_config_exec_prefix=""
52821 fi
52822
52823
52824 if test x$cppunit_config_exec_prefix != x ; then
52825 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52826 if test x${CPPUNIT_CONFIG+set} != xset ; then
52827 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52828 fi
52829 fi
52830 if test x$cppunit_config_prefix != x ; then
52831 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52832 if test x${CPPUNIT_CONFIG+set} != xset ; then
52833 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52834 fi
52835 fi
52836
52837 # Extract the first word of "cppunit-config", so it can be a program name with args.
52838 set dummy cppunit-config; ac_word=$2
52839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52841 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52842 echo $ECHO_N "(cached) $ECHO_C" >&6
52843 else
52844 case $CPPUNIT_CONFIG in
52845 [\\/]* | ?:[\\/]*)
52846 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52847 ;;
52848 *)
52849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52850 for as_dir in $PATH
52851 do
52852 IFS=$as_save_IFS
52853 test -z "$as_dir" && as_dir=.
52854 for ac_exec_ext in '' $ac_executable_extensions; do
52855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52856 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52858 break 2
52859 fi
52860 done
52861 done
52862 IFS=$as_save_IFS
52863
52864 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52865 ;;
52866 esac
52867 fi
52868 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52869 if test -n "$CPPUNIT_CONFIG"; then
52870 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52871 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52872 else
52873 { echo "$as_me:$LINENO: result: no" >&5
52874 echo "${ECHO_T}no" >&6; }
52875 fi
52876
52877
52878 cppunit_version_min=1.8.0
52879
52880 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52881 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52882 no_cppunit=""
52883 if test "$CPPUNIT_CONFIG" = "no" ; then
52884 { echo "$as_me:$LINENO: result: no" >&5
52885 echo "${ECHO_T}no" >&6; }
52886 no_cppunit=yes
52887 else
52888 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52889 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52890 cppunit_version=`$CPPUNIT_CONFIG --version`
52891
52892 cppunit_major_version=`echo $cppunit_version | \
52893 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52894 cppunit_minor_version=`echo $cppunit_version | \
52895 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52896 cppunit_micro_version=`echo $cppunit_version | \
52897 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52898
52899 cppunit_major_min=`echo $cppunit_version_min | \
52900 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52901 cppunit_minor_min=`echo $cppunit_version_min | \
52902 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52903 cppunit_micro_min=`echo $cppunit_version_min | \
52904 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52905
52906 cppunit_version_proper=`expr \
52907 $cppunit_major_version \> $cppunit_major_min \| \
52908 $cppunit_major_version \= $cppunit_major_min \& \
52909 $cppunit_minor_version \> $cppunit_minor_min \| \
52910 $cppunit_major_version \= $cppunit_major_min \& \
52911 $cppunit_minor_version \= $cppunit_minor_min \& \
52912 $cppunit_micro_version \>= $cppunit_micro_min `
52913
52914 if test "$cppunit_version_proper" = "1" ; then
52915 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52916 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52917 else
52918 { echo "$as_me:$LINENO: result: no" >&5
52919 echo "${ECHO_T}no" >&6; }
52920 no_cppunit=yes
52921 fi
52922 fi
52923
52924 if test "x$no_cppunit" = x ; then
52925 SUBDIRS="$SUBDIRS tests"
52926 else
52927 CPPUNIT_CFLAGS=""
52928 CPPUNIT_LIBS=""
52929 :
52930 fi
52931
52932
52933
52934
52935
52936 for subdir in `echo $SUBDIRS`; do
52937 if test -d ${srcdir}/${subdir} ; then
52938 if test "$wxUSE_GUI" = "yes"; then
52939 if test ${subdir} = "samples"; then
52940 makefiles="samples/Makefile.in $makefiles"
52941 for sample in `echo $SAMPLES_SUBDIRS`; do
52942 if test -d $srcdir/samples/$sample; then
52943 makefiles="samples/$sample/Makefile.in $makefiles"
52944 fi
52945 done
52946 else
52947 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52948 eval "disabled=\$$disabled_var"
52949 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52950 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52951 fi
52952 else if test ${subdir} = "samples"; then
52953 makefiles="samples/Makefile.in samples/console/Makefile.in"
52954 elif test ${subdir} = "utils"; then
52955 makefiles=""
52956 for util in HelpGen tex2rtf ; do
52957 if test -d $srcdir/utils/$util ; then
52958 makefiles="utils/$util/Makefile.in \
52959 utils/$util/src/Makefile.in \
52960 $makefiles"
52961 fi
52962 done
52963 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52964 fi
52965 fi
52966
52967 for mkin in $makefiles ; do
52968 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52969 ac_config_files="$ac_config_files $mk"
52970
52971 done
52972 fi
52973 done
52974 fi
52975 cat >confcache <<\_ACEOF
52976 # This file is a shell script that caches the results of configure
52977 # tests run on this system so they can be shared between configure
52978 # scripts and configure runs, see configure's option --config-cache.
52979 # It is not useful on other systems. If it contains results you don't
52980 # want to keep, you may remove or edit it.
52981 #
52982 # config.status only pays attention to the cache file if you give it
52983 # the --recheck option to rerun configure.
52984 #
52985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52987 # following values.
52988
52989 _ACEOF
52990
52991 # The following way of writing the cache mishandles newlines in values,
52992 # but we know of no workaround that is simple, portable, and efficient.
52993 # So, we kill variables containing newlines.
52994 # Ultrix sh set writes to stderr and can't be redirected directly,
52995 # and sets the high bit in the cache file unless we assign to the vars.
52996 (
52997 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52998 eval ac_val=\$$ac_var
52999 case $ac_val in #(
53000 *${as_nl}*)
53001 case $ac_var in #(
53002 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53003 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53004 esac
53005 case $ac_var in #(
53006 _ | IFS | as_nl) ;; #(
53007 *) $as_unset $ac_var ;;
53008 esac ;;
53009 esac
53010 done
53011
53012 (set) 2>&1 |
53013 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53014 *${as_nl}ac_space=\ *)
53015 # `set' does not quote correctly, so add quotes (double-quote
53016 # substitution turns \\\\ into \\, and sed turns \\ into \).
53017 sed -n \
53018 "s/'/'\\\\''/g;
53019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53020 ;; #(
53021 *)
53022 # `set' quotes correctly as required by POSIX, so do not add quotes.
53023 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53024 ;;
53025 esac |
53026 sort
53027 ) |
53028 sed '
53029 /^ac_cv_env_/b end
53030 t clear
53031 :clear
53032 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53033 t end
53034 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53035 :end' >>confcache
53036 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53037 if test -w "$cache_file"; then
53038 test "x$cache_file" != "x/dev/null" &&
53039 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53040 echo "$as_me: updating cache $cache_file" >&6;}
53041 cat confcache >$cache_file
53042 else
53043 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53044 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53045 fi
53046 fi
53047 rm -f confcache
53048
53049 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53050 # Let make expand exec_prefix.
53051 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53052
53053 DEFS=-DHAVE_CONFIG_H
53054
53055 ac_libobjs=
53056 ac_ltlibobjs=
53057 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53058 # 1. Remove the extension, and $U if already installed.
53059 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53060 ac_i=`echo "$ac_i" | sed "$ac_script"`
53061 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53062 # will be set to the directory where LIBOBJS objects are built.
53063 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53064 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53065 done
53066 LIBOBJS=$ac_libobjs
53067
53068 LTLIBOBJS=$ac_ltlibobjs
53069
53070
53071
53072 : ${CONFIG_STATUS=./config.status}
53073 ac_clean_files_save=$ac_clean_files
53074 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53075 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53076 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53077 cat >$CONFIG_STATUS <<_ACEOF
53078 #! $SHELL
53079 # Generated by $as_me.
53080 # Run this file to recreate the current configuration.
53081 # Compiler output produced by configure, useful for debugging
53082 # configure, is in config.log if it exists.
53083
53084 debug=false
53085 ac_cs_recheck=false
53086 ac_cs_silent=false
53087 SHELL=\${CONFIG_SHELL-$SHELL}
53088 _ACEOF
53089
53090 cat >>$CONFIG_STATUS <<\_ACEOF
53091 ## --------------------- ##
53092 ## M4sh Initialization. ##
53093 ## --------------------- ##
53094
53095 # Be more Bourne compatible
53096 DUALCASE=1; export DUALCASE # for MKS sh
53097 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53098 emulate sh
53099 NULLCMD=:
53100 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53101 # is contrary to our usage. Disable this feature.
53102 alias -g '${1+"$@"}'='"$@"'
53103 setopt NO_GLOB_SUBST
53104 else
53105 case `(set -o) 2>/dev/null` in
53106 *posix*) set -o posix ;;
53107 esac
53108
53109 fi
53110
53111
53112
53113
53114 # PATH needs CR
53115 # Avoid depending upon Character Ranges.
53116 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53117 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53118 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53119 as_cr_digits='0123456789'
53120 as_cr_alnum=$as_cr_Letters$as_cr_digits
53121
53122 # The user is always right.
53123 if test "${PATH_SEPARATOR+set}" != set; then
53124 echo "#! /bin/sh" >conf$$.sh
53125 echo "exit 0" >>conf$$.sh
53126 chmod +x conf$$.sh
53127 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53128 PATH_SEPARATOR=';'
53129 else
53130 PATH_SEPARATOR=:
53131 fi
53132 rm -f conf$$.sh
53133 fi
53134
53135 # Support unset when possible.
53136 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53137 as_unset=unset
53138 else
53139 as_unset=false
53140 fi
53141
53142
53143 # IFS
53144 # We need space, tab and new line, in precisely that order. Quoting is
53145 # there to prevent editors from complaining about space-tab.
53146 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53147 # splitting by setting IFS to empty value.)
53148 as_nl='
53149 '
53150 IFS=" "" $as_nl"
53151
53152 # Find who we are. Look in the path if we contain no directory separator.
53153 case $0 in
53154 *[\\/]* ) as_myself=$0 ;;
53155 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53156 for as_dir in $PATH
53157 do
53158 IFS=$as_save_IFS
53159 test -z "$as_dir" && as_dir=.
53160 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53161 done
53162 IFS=$as_save_IFS
53163
53164 ;;
53165 esac
53166 # We did not find ourselves, most probably we were run as `sh COMMAND'
53167 # in which case we are not to be found in the path.
53168 if test "x$as_myself" = x; then
53169 as_myself=$0
53170 fi
53171 if test ! -f "$as_myself"; then
53172 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53173 { (exit 1); exit 1; }
53174 fi
53175
53176 # Work around bugs in pre-3.0 UWIN ksh.
53177 for as_var in ENV MAIL MAILPATH
53178 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53179 done
53180 PS1='$ '
53181 PS2='> '
53182 PS4='+ '
53183
53184 # NLS nuisances.
53185 for as_var in \
53186 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53187 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53188 LC_TELEPHONE LC_TIME
53189 do
53190 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53191 eval $as_var=C; export $as_var
53192 else
53193 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53194 fi
53195 done
53196
53197 # Required to use basename.
53198 if expr a : '\(a\)' >/dev/null 2>&1 &&
53199 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53200 as_expr=expr
53201 else
53202 as_expr=false
53203 fi
53204
53205 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53206 as_basename=basename
53207 else
53208 as_basename=false
53209 fi
53210
53211
53212 # Name of the executable.
53213 as_me=`$as_basename -- "$0" ||
53214 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53215 X"$0" : 'X\(//\)$' \| \
53216 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53217 echo X/"$0" |
53218 sed '/^.*\/\([^/][^/]*\)\/*$/{
53219 s//\1/
53220 q
53221 }
53222 /^X\/\(\/\/\)$/{
53223 s//\1/
53224 q
53225 }
53226 /^X\/\(\/\).*/{
53227 s//\1/
53228 q
53229 }
53230 s/.*/./; q'`
53231
53232 # CDPATH.
53233 $as_unset CDPATH
53234
53235
53236
53237 as_lineno_1=$LINENO
53238 as_lineno_2=$LINENO
53239 test "x$as_lineno_1" != "x$as_lineno_2" &&
53240 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53241
53242 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53243 # uniformly replaced by the line number. The first 'sed' inserts a
53244 # line-number line after each line using $LINENO; the second 'sed'
53245 # does the real work. The second script uses 'N' to pair each
53246 # line-number line with the line containing $LINENO, and appends
53247 # trailing '-' during substitution so that $LINENO is not a special
53248 # case at line end.
53249 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53250 # scripts with optimization help from Paolo Bonzini. Blame Lee
53251 # E. McMahon (1931-1989) for sed's syntax. :-)
53252 sed -n '
53253 p
53254 /[$]LINENO/=
53255 ' <$as_myself |
53256 sed '
53257 s/[$]LINENO.*/&-/
53258 t lineno
53259 b
53260 :lineno
53261 N
53262 :loop
53263 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53264 t loop
53265 s/-\n.*//
53266 ' >$as_me.lineno &&
53267 chmod +x "$as_me.lineno" ||
53268 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53269 { (exit 1); exit 1; }; }
53270
53271 # Don't try to exec as it changes $[0], causing all sort of problems
53272 # (the dirname of $[0] is not the place where we might find the
53273 # original and so on. Autoconf is especially sensitive to this).
53274 . "./$as_me.lineno"
53275 # Exit status is that of the last command.
53276 exit
53277 }
53278
53279
53280 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53281 as_dirname=dirname
53282 else
53283 as_dirname=false
53284 fi
53285
53286 ECHO_C= ECHO_N= ECHO_T=
53287 case `echo -n x` in
53288 -n*)
53289 case `echo 'x\c'` in
53290 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53291 *) ECHO_C='\c';;
53292 esac;;
53293 *)
53294 ECHO_N='-n';;
53295 esac
53296
53297 if expr a : '\(a\)' >/dev/null 2>&1 &&
53298 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53299 as_expr=expr
53300 else
53301 as_expr=false
53302 fi
53303
53304 rm -f conf$$ conf$$.exe conf$$.file
53305 if test -d conf$$.dir; then
53306 rm -f conf$$.dir/conf$$.file
53307 else
53308 rm -f conf$$.dir
53309 mkdir conf$$.dir
53310 fi
53311 echo >conf$$.file
53312 if ln -s conf$$.file conf$$ 2>/dev/null; then
53313 as_ln_s='ln -s'
53314 # ... but there are two gotchas:
53315 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53316 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53317 # In both cases, we have to default to `cp -p'.
53318 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53319 as_ln_s='cp -p'
53320 elif ln conf$$.file conf$$ 2>/dev/null; then
53321 as_ln_s=ln
53322 else
53323 as_ln_s='cp -p'
53324 fi
53325 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53326 rmdir conf$$.dir 2>/dev/null
53327
53328 if mkdir -p . 2>/dev/null; then
53329 as_mkdir_p=:
53330 else
53331 test -d ./-p && rmdir ./-p
53332 as_mkdir_p=false
53333 fi
53334
53335 if test -x / >/dev/null 2>&1; then
53336 as_test_x='test -x'
53337 else
53338 if ls -dL / >/dev/null 2>&1; then
53339 as_ls_L_option=L
53340 else
53341 as_ls_L_option=
53342 fi
53343 as_test_x='
53344 eval sh -c '\''
53345 if test -d "$1"; then
53346 test -d "$1/.";
53347 else
53348 case $1 in
53349 -*)set "./$1";;
53350 esac;
53351 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53352 ???[sx]*):;;*)false;;esac;fi
53353 '\'' sh
53354 '
53355 fi
53356 as_executable_p=$as_test_x
53357
53358 # Sed expression to map a string onto a valid CPP name.
53359 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53360
53361 # Sed expression to map a string onto a valid variable name.
53362 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53363
53364
53365 exec 6>&1
53366
53367 # Save the log message, to keep $[0] and so on meaningful, and to
53368 # report actual input values of CONFIG_FILES etc. instead of their
53369 # values after options handling.
53370 ac_log="
53371 This file was extended by wxWidgets $as_me 2.9.0, which was
53372 generated by GNU Autoconf 2.61. Invocation command line was
53373
53374 CONFIG_FILES = $CONFIG_FILES
53375 CONFIG_HEADERS = $CONFIG_HEADERS
53376 CONFIG_LINKS = $CONFIG_LINKS
53377 CONFIG_COMMANDS = $CONFIG_COMMANDS
53378 $ $0 $@
53379
53380 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53381 "
53382
53383 _ACEOF
53384
53385 cat >>$CONFIG_STATUS <<_ACEOF
53386 # Files that config.status was made for.
53387 config_files="$ac_config_files"
53388 config_headers="$ac_config_headers"
53389 config_commands="$ac_config_commands"
53390
53391 _ACEOF
53392
53393 cat >>$CONFIG_STATUS <<\_ACEOF
53394 ac_cs_usage="\
53395 \`$as_me' instantiates files from templates according to the
53396 current configuration.
53397
53398 Usage: $0 [OPTIONS] [FILE]...
53399
53400 -h, --help print this help, then exit
53401 -V, --version print version number and configuration settings, then exit
53402 -q, --quiet do not print progress messages
53403 -d, --debug don't remove temporary files
53404 --recheck update $as_me by reconfiguring in the same conditions
53405 --file=FILE[:TEMPLATE]
53406 instantiate the configuration file FILE
53407 --header=FILE[:TEMPLATE]
53408 instantiate the configuration header FILE
53409
53410 Configuration files:
53411 $config_files
53412
53413 Configuration headers:
53414 $config_headers
53415
53416 Configuration commands:
53417 $config_commands
53418
53419 Report bugs to <bug-autoconf@gnu.org>."
53420
53421 _ACEOF
53422 cat >>$CONFIG_STATUS <<_ACEOF
53423 ac_cs_version="\\
53424 wxWidgets config.status 2.9.0
53425 configured by $0, generated by GNU Autoconf 2.61,
53426 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53427
53428 Copyright (C) 2006 Free Software Foundation, Inc.
53429 This config.status script is free software; the Free Software Foundation
53430 gives unlimited permission to copy, distribute and modify it."
53431
53432 ac_pwd='$ac_pwd'
53433 srcdir='$srcdir'
53434 INSTALL='$INSTALL'
53435 _ACEOF
53436
53437 cat >>$CONFIG_STATUS <<\_ACEOF
53438 # If no file are specified by the user, then we need to provide default
53439 # value. By we need to know if files were specified by the user.
53440 ac_need_defaults=:
53441 while test $# != 0
53442 do
53443 case $1 in
53444 --*=*)
53445 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53446 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53447 ac_shift=:
53448 ;;
53449 *)
53450 ac_option=$1
53451 ac_optarg=$2
53452 ac_shift=shift
53453 ;;
53454 esac
53455
53456 case $ac_option in
53457 # Handling of the options.
53458 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53459 ac_cs_recheck=: ;;
53460 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53461 echo "$ac_cs_version"; exit ;;
53462 --debug | --debu | --deb | --de | --d | -d )
53463 debug=: ;;
53464 --file | --fil | --fi | --f )
53465 $ac_shift
53466 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53467 ac_need_defaults=false;;
53468 --header | --heade | --head | --hea )
53469 $ac_shift
53470 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53471 ac_need_defaults=false;;
53472 --he | --h)
53473 # Conflict between --help and --header
53474 { echo "$as_me: error: ambiguous option: $1
53475 Try \`$0 --help' for more information." >&2
53476 { (exit 1); exit 1; }; };;
53477 --help | --hel | -h )
53478 echo "$ac_cs_usage"; exit ;;
53479 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53480 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53481 ac_cs_silent=: ;;
53482
53483 # This is an error.
53484 -*) { echo "$as_me: error: unrecognized option: $1
53485 Try \`$0 --help' for more information." >&2
53486 { (exit 1); exit 1; }; } ;;
53487
53488 *) ac_config_targets="$ac_config_targets $1"
53489 ac_need_defaults=false ;;
53490
53491 esac
53492 shift
53493 done
53494
53495 ac_configure_extra_args=
53496
53497 if $ac_cs_silent; then
53498 exec 6>/dev/null
53499 ac_configure_extra_args="$ac_configure_extra_args --silent"
53500 fi
53501
53502 _ACEOF
53503 cat >>$CONFIG_STATUS <<_ACEOF
53504 if \$ac_cs_recheck; then
53505 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53506 CONFIG_SHELL=$SHELL
53507 export CONFIG_SHELL
53508 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53509 fi
53510
53511 _ACEOF
53512 cat >>$CONFIG_STATUS <<\_ACEOF
53513 exec 5>>config.log
53514 {
53515 echo
53516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53517 ## Running $as_me. ##
53518 _ASBOX
53519 echo "$ac_log"
53520 } >&5
53521
53522 _ACEOF
53523 cat >>$CONFIG_STATUS <<_ACEOF
53524 #
53525 # INIT-COMMANDS
53526 #
53527
53528 CPP="$CPP"
53529 infile="$srcdir/include/wx/msw/genrcdefs.h"
53530 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53531
53532
53533 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53534 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53535 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53536 LN_S="${LN_S}"
53537
53538
53539 _ACEOF
53540
53541 cat >>$CONFIG_STATUS <<\_ACEOF
53542
53543 # Handling of arguments.
53544 for ac_config_target in $ac_config_targets
53545 do
53546 case $ac_config_target in
53547 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53548 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53549 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53550 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53551 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53552 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53553 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53554 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53555
53556 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53557 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53558 { (exit 1); exit 1; }; };;
53559 esac
53560 done
53561
53562
53563 # If the user did not use the arguments to specify the items to instantiate,
53564 # then the envvar interface is used. Set only those that are not.
53565 # We use the long form for the default assignment because of an extremely
53566 # bizarre bug on SunOS 4.1.3.
53567 if $ac_need_defaults; then
53568 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53569 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53570 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53571 fi
53572
53573 # Have a temporary directory for convenience. Make it in the build tree
53574 # simply because there is no reason against having it here, and in addition,
53575 # creating and moving files from /tmp can sometimes cause problems.
53576 # Hook for its removal unless debugging.
53577 # Note that there is a small window in which the directory will not be cleaned:
53578 # after its creation but before its name has been assigned to `$tmp'.
53579 $debug ||
53580 {
53581 tmp=
53582 trap 'exit_status=$?
53583 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53584 ' 0
53585 trap '{ (exit 1); exit 1; }' 1 2 13 15
53586 }
53587 # Create a (secure) tmp directory for tmp files.
53588
53589 {
53590 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53591 test -n "$tmp" && test -d "$tmp"
53592 } ||
53593 {
53594 tmp=./conf$$-$RANDOM
53595 (umask 077 && mkdir "$tmp")
53596 } ||
53597 {
53598 echo "$me: cannot create a temporary directory in ." >&2
53599 { (exit 1); exit 1; }
53600 }
53601
53602 #
53603 # Set up the sed scripts for CONFIG_FILES section.
53604 #
53605
53606 # No need to generate the scripts if there are no CONFIG_FILES.
53607 # This happens for instance when ./config.status config.h
53608 if test -n "$CONFIG_FILES"; then
53609
53610 _ACEOF
53611
53612
53613
53614 ac_delim='%!_!# '
53615 for ac_last_try in false false false false false :; do
53616 cat >conf$$subs.sed <<_ACEOF
53617 SHELL!$SHELL$ac_delim
53618 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53619 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53620 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53621 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53622 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53623 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53624 exec_prefix!$exec_prefix$ac_delim
53625 prefix!$prefix$ac_delim
53626 program_transform_name!$program_transform_name$ac_delim
53627 bindir!$bindir$ac_delim
53628 sbindir!$sbindir$ac_delim
53629 libexecdir!$libexecdir$ac_delim
53630 datarootdir!$datarootdir$ac_delim
53631 datadir!$datadir$ac_delim
53632 sysconfdir!$sysconfdir$ac_delim
53633 sharedstatedir!$sharedstatedir$ac_delim
53634 localstatedir!$localstatedir$ac_delim
53635 includedir!$includedir$ac_delim
53636 oldincludedir!$oldincludedir$ac_delim
53637 docdir!$docdir$ac_delim
53638 infodir!$infodir$ac_delim
53639 htmldir!$htmldir$ac_delim
53640 dvidir!$dvidir$ac_delim
53641 pdfdir!$pdfdir$ac_delim
53642 psdir!$psdir$ac_delim
53643 libdir!$libdir$ac_delim
53644 localedir!$localedir$ac_delim
53645 mandir!$mandir$ac_delim
53646 DEFS!$DEFS$ac_delim
53647 ECHO_C!$ECHO_C$ac_delim
53648 ECHO_N!$ECHO_N$ac_delim
53649 ECHO_T!$ECHO_T$ac_delim
53650 LIBS!$LIBS$ac_delim
53651 build_alias!$build_alias$ac_delim
53652 host_alias!$host_alias$ac_delim
53653 target_alias!$target_alias$ac_delim
53654 build!$build$ac_delim
53655 build_cpu!$build_cpu$ac_delim
53656 build_vendor!$build_vendor$ac_delim
53657 build_os!$build_os$ac_delim
53658 host!$host$ac_delim
53659 host_cpu!$host_cpu$ac_delim
53660 host_vendor!$host_vendor$ac_delim
53661 host_os!$host_os$ac_delim
53662 target!$target$ac_delim
53663 target_cpu!$target_cpu$ac_delim
53664 target_vendor!$target_vendor$ac_delim
53665 target_os!$target_os$ac_delim
53666 wx_top_builddir!$wx_top_builddir$ac_delim
53667 CC!$CC$ac_delim
53668 CFLAGS!$CFLAGS$ac_delim
53669 LDFLAGS!$LDFLAGS$ac_delim
53670 CPPFLAGS!$CPPFLAGS$ac_delim
53671 ac_ct_CC!$ac_ct_CC$ac_delim
53672 EXEEXT!$EXEEXT$ac_delim
53673 OBJEXT!$OBJEXT$ac_delim
53674 CPP!$CPP$ac_delim
53675 GREP!$GREP$ac_delim
53676 EGREP!$EGREP$ac_delim
53677 CXX!$CXX$ac_delim
53678 CXXFLAGS!$CXXFLAGS$ac_delim
53679 ac_ct_CXX!$ac_ct_CXX$ac_delim
53680 RANLIB!$RANLIB$ac_delim
53681 AR!$AR$ac_delim
53682 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53683 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53684 INSTALL_DATA!$INSTALL_DATA$ac_delim
53685 STRIP!$STRIP$ac_delim
53686 WINDRES!$WINDRES$ac_delim
53687 DLLTOOL!$DLLTOOL$ac_delim
53688 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53689 LN_S!$LN_S$ac_delim
53690 subdirs!$subdirs$ac_delim
53691 PKG_CONFIG!$PKG_CONFIG$ac_delim
53692 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53693 GTK_LIBS!$GTK_LIBS$ac_delim
53694 GTK_CONFIG!$GTK_CONFIG$ac_delim
53695 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53696 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53697 XMKMF!$XMKMF$ac_delim
53698 X_CFLAGS!$X_CFLAGS$ac_delim
53699 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53700 X_LIBS!$X_LIBS$ac_delim
53701 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53702 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53703 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53704 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53705 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53706 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53707 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53708 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53709 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53710 REZ!$REZ$ac_delim
53711 DEREZ!$DEREZ$ac_delim
53712 SETFILE!$SETFILE$ac_delim
53713 LIBICONV!$LIBICONV$ac_delim
53714 _ACEOF
53715
53716 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53717 break
53718 elif $ac_last_try; then
53719 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53720 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53721 { (exit 1); exit 1; }; }
53722 else
53723 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53724 fi
53725 done
53726
53727 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53728 if test -n "$ac_eof"; then
53729 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53730 ac_eof=`expr $ac_eof + 1`
53731 fi
53732
53733 cat >>$CONFIG_STATUS <<_ACEOF
53734 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53735 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53736 _ACEOF
53737 sed '
53738 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53739 s/^/s,@/; s/!/@,|#_!!_#|/
53740 :n
53741 t n
53742 s/'"$ac_delim"'$/,g/; t
53743 s/$/\\/; p
53744 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53745 ' >>$CONFIG_STATUS <conf$$subs.sed
53746 rm -f conf$$subs.sed
53747 cat >>$CONFIG_STATUS <<_ACEOF
53748 CEOF$ac_eof
53749 _ACEOF
53750
53751
53752 ac_delim='%!_!# '
53753 for ac_last_try in false false false false false :; do
53754 cat >conf$$subs.sed <<_ACEOF
53755 SDL_CONFIG!$SDL_CONFIG$ac_delim
53756 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53757 SDL_LIBS!$SDL_LIBS$ac_delim
53758 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53759 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53760 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53761 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53762 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53763 HILDON_LIBS!$HILDON_LIBS$ac_delim
53764 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53765 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53766 GST_CFLAGS!$GST_CFLAGS$ac_delim
53767 GST_LIBS!$GST_LIBS$ac_delim
53768 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53769 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53770 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53771 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53772 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53773 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53774 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53775 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53776 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53777 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53778 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53779 VENDOR!$VENDOR$ac_delim
53780 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53781 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53782 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53783 WXUNIV!$WXUNIV$ac_delim
53784 MONOLITHIC!$MONOLITHIC$ac_delim
53785 USE_PLUGINS!$USE_PLUGINS$ac_delim
53786 CXXWARNINGS!$CXXWARNINGS$ac_delim
53787 EXTRALIBS!$EXTRALIBS$ac_delim
53788 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53789 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53790 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53791 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53792 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53793 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53794 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53795 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53796 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53797 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53798 UNICODE!$UNICODE$ac_delim
53799 BUILD!$BUILD$ac_delim
53800 DEBUG_INFO!$DEBUG_INFO$ac_delim
53801 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53802 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53803 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53804 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53805 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53806 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53807 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53808 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53809 SET_MAKE!$SET_MAKE$ac_delim
53810 MAKE_SET!$MAKE_SET$ac_delim
53811 AROPTIONS!$AROPTIONS$ac_delim
53812 NM!$NM$ac_delim
53813 INSTALL_DIR!$INSTALL_DIR$ac_delim
53814 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53815 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53816 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53817 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53818 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53819 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53820 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53821 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53822 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53823 SO_SUFFIX!$SO_SUFFIX$ac_delim
53824 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53825 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53826 LIBPREFIX!$LIBPREFIX$ac_delim
53827 LIBEXT!$LIBEXT$ac_delim
53828 DLLPREFIX!$DLLPREFIX$ac_delim
53829 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53830 dlldir!$dlldir$ac_delim
53831 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53832 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53833 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53834 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53835 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53836 PIC_FLAG!$PIC_FLAG$ac_delim
53837 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53838 USE_SOVERSION!$USE_SOVERSION$ac_delim
53839 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53840 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53841 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53842 USE_MACVERSION!$USE_MACVERSION$ac_delim
53843 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53844 SONAME_FLAG!$SONAME_FLAG$ac_delim
53845 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53846 BK_DEPS!$BK_DEPS$ac_delim
53847 GCC_PCH!$GCC_PCH$ac_delim
53848 ICC_PCH!$ICC_PCH$ac_delim
53849 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53850 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53851 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53852 _ACEOF
53853
53854 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53855 break
53856 elif $ac_last_try; then
53857 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53858 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53859 { (exit 1); exit 1; }; }
53860 else
53861 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53862 fi
53863 done
53864
53865 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53866 if test -n "$ac_eof"; then
53867 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53868 ac_eof=`expr $ac_eof + 1`
53869 fi
53870
53871 cat >>$CONFIG_STATUS <<_ACEOF
53872 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53873 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53874 _ACEOF
53875 sed '
53876 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53877 s/^/s,@/; s/!/@,|#_!!_#|/
53878 :n
53879 t n
53880 s/'"$ac_delim"'$/,g/; t
53881 s/$/\\/; p
53882 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53883 ' >>$CONFIG_STATUS <conf$$subs.sed
53884 rm -f conf$$subs.sed
53885 cat >>$CONFIG_STATUS <<_ACEOF
53886 CEOF$ac_eof
53887 _ACEOF
53888
53889
53890 ac_delim='%!_!# '
53891 for ac_last_try in false false false false false :; do
53892 cat >conf$$subs.sed <<_ACEOF
53893 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53894 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53895 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53896 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53897 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53898 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53899 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53900 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53901 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53902 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53903 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53904 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53905 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53906 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53907 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53908 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53909 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53910 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53911 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53912 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53913 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53915 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53916 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53917 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53918 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53919 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53920 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53921 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53922 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53923 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53924 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53925 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53926 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53927 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53928 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53929 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53930 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53931 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53932 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53933 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53934 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53935 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53936 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53937 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53938 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53939 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53940 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53941 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53942 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53943 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53944 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53945 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53946 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53947 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53948 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53949 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53950 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53951 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53952 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53953 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53954 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53955 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53956 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53957 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53958 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53959 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53960 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53961 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53962 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53963 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53964 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53965 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53966 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53967 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53968 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53969 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53970 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53971 COND_SHARED_0!$COND_SHARED_0$ac_delim
53972 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53973 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53974 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53975 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53976 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53977 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53978 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53979 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53980 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53981 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53982 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53983 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53984 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53985 COND_SHARED_1!$COND_SHARED_1$ac_delim
53986 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53987 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53988 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53989 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53990 _ACEOF
53991
53992 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53993 break
53994 elif $ac_last_try; then
53995 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53996 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53997 { (exit 1); exit 1; }; }
53998 else
53999 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54000 fi
54001 done
54002
54003 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54004 if test -n "$ac_eof"; then
54005 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54006 ac_eof=`expr $ac_eof + 1`
54007 fi
54008
54009 cat >>$CONFIG_STATUS <<_ACEOF
54010 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54011 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54012 _ACEOF
54013 sed '
54014 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54015 s/^/s,@/; s/!/@,|#_!!_#|/
54016 :n
54017 t n
54018 s/'"$ac_delim"'$/,g/; t
54019 s/$/\\/; p
54020 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54021 ' >>$CONFIG_STATUS <conf$$subs.sed
54022 rm -f conf$$subs.sed
54023 cat >>$CONFIG_STATUS <<_ACEOF
54024 CEOF$ac_eof
54025 _ACEOF
54026
54027
54028 ac_delim='%!_!# '
54029 for ac_last_try in false false false false false :; do
54030 cat >conf$$subs.sed <<_ACEOF
54031 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54032 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54033 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54034 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54035 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54036 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54037 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54038 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54039 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54040 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54041 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54042 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54043 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54044 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54045 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54046 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54047 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54048 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54049 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54050 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54051 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54052 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54053 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54054 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54055 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54056 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54057 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54058 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54059 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54060 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54061 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54062 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54063 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54064 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54065 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54066 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54067 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54068 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54069 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54070 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54071 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54072 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54073 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54074 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54075 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54076 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54077 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54078 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54079 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54080 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54081 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54082 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54083 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54084 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54085 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54086 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54087 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54088 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54089 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54090 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54091 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54092 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54093 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54094 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54095 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54096 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54097 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54098 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54099 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54100 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54101 SHARED!$SHARED$ac_delim
54102 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54103 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54104 USE_GUI!$USE_GUI$ac_delim
54105 AFMINSTALL!$AFMINSTALL$ac_delim
54106 WIN32INSTALL!$WIN32INSTALL$ac_delim
54107 TOOLKIT!$TOOLKIT$ac_delim
54108 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54109 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54110 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54111 cross_compiling!$cross_compiling$ac_delim
54112 WIDGET_SET!$WIDGET_SET$ac_delim
54113 WX_RELEASE!$WX_RELEASE$ac_delim
54114 WX_VERSION!$WX_VERSION$ac_delim
54115 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54116 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54117 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54118 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54119 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54120 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54121 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54122 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54123 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54124 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54125 EXE_LINKER!$EXE_LINKER$ac_delim
54126 GUIDIST!$GUIDIST$ac_delim
54127 DISTDIR!$DISTDIR$ac_delim
54128 _ACEOF
54129
54130 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54131 break
54132 elif $ac_last_try; then
54133 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54134 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54135 { (exit 1); exit 1; }; }
54136 else
54137 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54138 fi
54139 done
54140
54141 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54142 if test -n "$ac_eof"; then
54143 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54144 ac_eof=`expr $ac_eof + 1`
54145 fi
54146
54147 cat >>$CONFIG_STATUS <<_ACEOF
54148 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54149 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54150 _ACEOF
54151 sed '
54152 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54153 s/^/s,@/; s/!/@,|#_!!_#|/
54154 :n
54155 t n
54156 s/'"$ac_delim"'$/,g/; t
54157 s/$/\\/; p
54158 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54159 ' >>$CONFIG_STATUS <conf$$subs.sed
54160 rm -f conf$$subs.sed
54161 cat >>$CONFIG_STATUS <<_ACEOF
54162 CEOF$ac_eof
54163 _ACEOF
54164
54165
54166 ac_delim='%!_!# '
54167 for ac_last_try in false false false false false :; do
54168 cat >conf$$subs.sed <<_ACEOF
54169 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54170 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54171 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54172 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54173 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54174 RESCOMP!$RESCOMP$ac_delim
54175 RESFLAGS!$RESFLAGS$ac_delim
54176 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54177 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54178 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54179 LIBWXMACRES!$LIBWXMACRES$ac_delim
54180 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54181 MACSETFILE!$MACSETFILE$ac_delim
54182 GCC!$GCC$ac_delim
54183 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54184 LIBOBJS!$LIBOBJS$ac_delim
54185 LTLIBOBJS!$LTLIBOBJS$ac_delim
54186 _ACEOF
54187
54188 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54189 break
54190 elif $ac_last_try; then
54191 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54192 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54193 { (exit 1); exit 1; }; }
54194 else
54195 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54196 fi
54197 done
54198
54199 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54200 if test -n "$ac_eof"; then
54201 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54202 ac_eof=`expr $ac_eof + 1`
54203 fi
54204
54205 cat >>$CONFIG_STATUS <<_ACEOF
54206 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54207 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54208 _ACEOF
54209 sed '
54210 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54211 s/^/s,@/; s/!/@,|#_!!_#|/
54212 :n
54213 t n
54214 s/'"$ac_delim"'$/,g/; t
54215 s/$/\\/; p
54216 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54217 ' >>$CONFIG_STATUS <conf$$subs.sed
54218 rm -f conf$$subs.sed
54219 cat >>$CONFIG_STATUS <<_ACEOF
54220 :end
54221 s/|#_!!_#|//g
54222 CEOF$ac_eof
54223 _ACEOF
54224
54225
54226 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54227 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54228 # trailing colons and then remove the whole line if VPATH becomes empty
54229 # (actually we leave an empty line to preserve line numbers).
54230 if test "x$srcdir" = x.; then
54231 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54232 s/:*\$(srcdir):*/:/
54233 s/:*\${srcdir}:*/:/
54234 s/:*@srcdir@:*/:/
54235 s/^\([^=]*=[ ]*\):*/\1/
54236 s/:*$//
54237 s/^[^=]*=[ ]*$//
54238 }'
54239 fi
54240
54241 cat >>$CONFIG_STATUS <<\_ACEOF
54242 fi # test -n "$CONFIG_FILES"
54243
54244
54245 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54246 do
54247 case $ac_tag in
54248 :[FHLC]) ac_mode=$ac_tag; continue;;
54249 esac
54250 case $ac_mode$ac_tag in
54251 :[FHL]*:*);;
54252 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54253 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54254 { (exit 1); exit 1; }; };;
54255 :[FH]-) ac_tag=-:-;;
54256 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54257 esac
54258 ac_save_IFS=$IFS
54259 IFS=:
54260 set x $ac_tag
54261 IFS=$ac_save_IFS
54262 shift
54263 ac_file=$1
54264 shift
54265
54266 case $ac_mode in
54267 :L) ac_source=$1;;
54268 :[FH])
54269 ac_file_inputs=
54270 for ac_f
54271 do
54272 case $ac_f in
54273 -) ac_f="$tmp/stdin";;
54274 *) # Look for the file first in the build tree, then in the source tree
54275 # (if the path is not absolute). The absolute path cannot be DOS-style,
54276 # because $ac_f cannot contain `:'.
54277 test -f "$ac_f" ||
54278 case $ac_f in
54279 [\\/$]*) false;;
54280 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54281 esac ||
54282 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54283 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54284 { (exit 1); exit 1; }; };;
54285 esac
54286 ac_file_inputs="$ac_file_inputs $ac_f"
54287 done
54288
54289 # Let's still pretend it is `configure' which instantiates (i.e., don't
54290 # use $as_me), people would be surprised to read:
54291 # /* config.h. Generated by config.status. */
54292 configure_input="Generated from "`IFS=:
54293 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54294 if test x"$ac_file" != x-; then
54295 configure_input="$ac_file. $configure_input"
54296 { echo "$as_me:$LINENO: creating $ac_file" >&5
54297 echo "$as_me: creating $ac_file" >&6;}
54298 fi
54299
54300 case $ac_tag in
54301 *:-:* | *:-) cat >"$tmp/stdin";;
54302 esac
54303 ;;
54304 esac
54305
54306 ac_dir=`$as_dirname -- "$ac_file" ||
54307 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54308 X"$ac_file" : 'X\(//\)[^/]' \| \
54309 X"$ac_file" : 'X\(//\)$' \| \
54310 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54311 echo X"$ac_file" |
54312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54313 s//\1/
54314 q
54315 }
54316 /^X\(\/\/\)[^/].*/{
54317 s//\1/
54318 q
54319 }
54320 /^X\(\/\/\)$/{
54321 s//\1/
54322 q
54323 }
54324 /^X\(\/\).*/{
54325 s//\1/
54326 q
54327 }
54328 s/.*/./; q'`
54329 { as_dir="$ac_dir"
54330 case $as_dir in #(
54331 -*) as_dir=./$as_dir;;
54332 esac
54333 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54334 as_dirs=
54335 while :; do
54336 case $as_dir in #(
54337 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54338 *) as_qdir=$as_dir;;
54339 esac
54340 as_dirs="'$as_qdir' $as_dirs"
54341 as_dir=`$as_dirname -- "$as_dir" ||
54342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54343 X"$as_dir" : 'X\(//\)[^/]' \| \
54344 X"$as_dir" : 'X\(//\)$' \| \
54345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54346 echo X"$as_dir" |
54347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54348 s//\1/
54349 q
54350 }
54351 /^X\(\/\/\)[^/].*/{
54352 s//\1/
54353 q
54354 }
54355 /^X\(\/\/\)$/{
54356 s//\1/
54357 q
54358 }
54359 /^X\(\/\).*/{
54360 s//\1/
54361 q
54362 }
54363 s/.*/./; q'`
54364 test -d "$as_dir" && break
54365 done
54366 test -z "$as_dirs" || eval "mkdir $as_dirs"
54367 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54368 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54369 { (exit 1); exit 1; }; }; }
54370 ac_builddir=.
54371
54372 case "$ac_dir" in
54373 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54374 *)
54375 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54376 # A ".." for each directory in $ac_dir_suffix.
54377 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54378 case $ac_top_builddir_sub in
54379 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54380 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54381 esac ;;
54382 esac
54383 ac_abs_top_builddir=$ac_pwd
54384 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54385 # for backward compatibility:
54386 ac_top_builddir=$ac_top_build_prefix
54387
54388 case $srcdir in
54389 .) # We are building in place.
54390 ac_srcdir=.
54391 ac_top_srcdir=$ac_top_builddir_sub
54392 ac_abs_top_srcdir=$ac_pwd ;;
54393 [\\/]* | ?:[\\/]* ) # Absolute name.
54394 ac_srcdir=$srcdir$ac_dir_suffix;
54395 ac_top_srcdir=$srcdir
54396 ac_abs_top_srcdir=$srcdir ;;
54397 *) # Relative name.
54398 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54399 ac_top_srcdir=$ac_top_build_prefix$srcdir
54400 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54401 esac
54402 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54403
54404
54405 case $ac_mode in
54406 :F)
54407 #
54408 # CONFIG_FILE
54409 #
54410
54411 case $INSTALL in
54412 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54413 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54414 esac
54415 _ACEOF
54416
54417 cat >>$CONFIG_STATUS <<\_ACEOF
54418 # If the template does not know about datarootdir, expand it.
54419 # FIXME: This hack should be removed a few years after 2.60.
54420 ac_datarootdir_hack=; ac_datarootdir_seen=
54421
54422 case `sed -n '/datarootdir/ {
54423 p
54424 q
54425 }
54426 /@datadir@/p
54427 /@docdir@/p
54428 /@infodir@/p
54429 /@localedir@/p
54430 /@mandir@/p
54431 ' $ac_file_inputs` in
54432 *datarootdir*) ac_datarootdir_seen=yes;;
54433 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54434 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54435 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54436 _ACEOF
54437 cat >>$CONFIG_STATUS <<_ACEOF
54438 ac_datarootdir_hack='
54439 s&@datadir@&$datadir&g
54440 s&@docdir@&$docdir&g
54441 s&@infodir@&$infodir&g
54442 s&@localedir@&$localedir&g
54443 s&@mandir@&$mandir&g
54444 s&\\\${datarootdir}&$datarootdir&g' ;;
54445 esac
54446 _ACEOF
54447
54448 # Neutralize VPATH when `$srcdir' = `.'.
54449 # Shell code in configure.ac might set extrasub.
54450 # FIXME: do we really want to maintain this feature?
54451 cat >>$CONFIG_STATUS <<_ACEOF
54452 sed "$ac_vpsub
54453 $extrasub
54454 _ACEOF
54455 cat >>$CONFIG_STATUS <<\_ACEOF
54456 :t
54457 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54458 s&@configure_input@&$configure_input&;t t
54459 s&@top_builddir@&$ac_top_builddir_sub&;t t
54460 s&@srcdir@&$ac_srcdir&;t t
54461 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54462 s&@top_srcdir@&$ac_top_srcdir&;t t
54463 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54464 s&@builddir@&$ac_builddir&;t t
54465 s&@abs_builddir@&$ac_abs_builddir&;t t
54466 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54467 s&@INSTALL@&$ac_INSTALL&;t t
54468 $ac_datarootdir_hack
54469 " $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
54470
54471 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54472 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54473 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54474 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54475 which seems to be undefined. Please make sure it is defined." >&5
54476 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54477 which seems to be undefined. Please make sure it is defined." >&2;}
54478
54479 rm -f "$tmp/stdin"
54480 case $ac_file in
54481 -) cat "$tmp/out"; rm -f "$tmp/out";;
54482 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54483 esac
54484 ;;
54485 :H)
54486 #
54487 # CONFIG_HEADER
54488 #
54489 _ACEOF
54490
54491 # Transform confdefs.h into a sed script `conftest.defines', that
54492 # substitutes the proper values into config.h.in to produce config.h.
54493 rm -f conftest.defines conftest.tail
54494 # First, append a space to every undef/define line, to ease matching.
54495 echo 's/$/ /' >conftest.defines
54496 # Then, protect against being on the right side of a sed subst, or in
54497 # an unquoted here document, in config.status. If some macros were
54498 # called several times there might be several #defines for the same
54499 # symbol, which is useless. But do not sort them, since the last
54500 # AC_DEFINE must be honored.
54501 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54502 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54503 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54504 # PARAMS is the parameter list in the macro definition--in most cases, it's
54505 # just an empty string.
54506 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54507 ac_dB='\\)[ (].*,\\1define\\2'
54508 ac_dC=' '
54509 ac_dD=' ,'
54510
54511 uniq confdefs.h |
54512 sed -n '
54513 t rset
54514 :rset
54515 s/^[ ]*#[ ]*define[ ][ ]*//
54516 t ok
54517 d
54518 :ok
54519 s/[\\&,]/\\&/g
54520 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54521 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54522 ' >>conftest.defines
54523
54524 # Remove the space that was appended to ease matching.
54525 # Then replace #undef with comments. This is necessary, for
54526 # example, in the case of _POSIX_SOURCE, which is predefined and required
54527 # on some systems where configure will not decide to define it.
54528 # (The regexp can be short, since the line contains either #define or #undef.)
54529 echo 's/ $//
54530 s,^[ #]*u.*,/* & */,' >>conftest.defines
54531
54532 # Break up conftest.defines:
54533 ac_max_sed_lines=50
54534
54535 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54536 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54537 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54538 # et cetera.
54539 ac_in='$ac_file_inputs'
54540 ac_out='"$tmp/out1"'
54541 ac_nxt='"$tmp/out2"'
54542
54543 while :
54544 do
54545 # Write a here document:
54546 cat >>$CONFIG_STATUS <<_ACEOF
54547 # First, check the format of the line:
54548 cat >"\$tmp/defines.sed" <<\\CEOF
54549 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54550 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54551 b
54552 :def
54553 _ACEOF
54554 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54555 echo 'CEOF
54556 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54557 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54558 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54559 grep . conftest.tail >/dev/null || break
54560 rm -f conftest.defines
54561 mv conftest.tail conftest.defines
54562 done
54563 rm -f conftest.defines conftest.tail
54564
54565 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54566 cat >>$CONFIG_STATUS <<\_ACEOF
54567 if test x"$ac_file" != x-; then
54568 echo "/* $configure_input */" >"$tmp/config.h"
54569 cat "$ac_result" >>"$tmp/config.h"
54570 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54571 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54572 echo "$as_me: $ac_file is unchanged" >&6;}
54573 else
54574 rm -f $ac_file
54575 mv "$tmp/config.h" $ac_file
54576 fi
54577 else
54578 echo "/* $configure_input */"
54579 cat "$ac_result"
54580 fi
54581 rm -f "$tmp/out12"
54582 ;;
54583
54584 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54585 echo "$as_me: executing $ac_file commands" >&6;}
54586 ;;
54587 esac
54588
54589
54590 case $ac_file$ac_mode in
54591 "rcdefs.h":C)
54592 mkdir -p $outdir &&
54593 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54594 ;;
54595 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54596 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54597 "wx-config":C) rm -f wx-config
54598 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54599 ;;
54600
54601 esac
54602 done # for ac_tag
54603
54604
54605 { (exit 0); exit 0; }
54606 _ACEOF
54607 chmod +x $CONFIG_STATUS
54608 ac_clean_files=$ac_clean_files_save
54609
54610
54611 # configure is writing to config.log, and then calls config.status.
54612 # config.status does its own redirection, appending to config.log.
54613 # Unfortunately, on DOS this fails, as config.log is still kept open
54614 # by configure, so config.status won't be able to write to it; its
54615 # output is simply discarded. So we exec the FD to /dev/null,
54616 # effectively closing config.log, so it can be properly (re)opened and
54617 # appended to by config.status. When coming back to configure, we
54618 # need to make the FD available again.
54619 if test "$no_create" != yes; then
54620 ac_cs_success=:
54621 ac_config_status_args=
54622 test "$silent" = yes &&
54623 ac_config_status_args="$ac_config_status_args --quiet"
54624 exec 5>/dev/null
54625 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54626 exec 5>>config.log
54627 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54628 # would make configure fail if this is the last instruction.
54629 $ac_cs_success || { (exit 1); exit 1; }
54630 fi
54631
54632 #
54633 # CONFIG_SUBDIRS section.
54634 #
54635 if test "$no_recursion" != yes; then
54636
54637 # Remove --cache-file and --srcdir arguments so they do not pile up.
54638 ac_sub_configure_args=
54639 ac_prev=
54640 eval "set x $ac_configure_args"
54641 shift
54642 for ac_arg
54643 do
54644 if test -n "$ac_prev"; then
54645 ac_prev=
54646 continue
54647 fi
54648 case $ac_arg in
54649 -cache-file | --cache-file | --cache-fil | --cache-fi \
54650 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54651 ac_prev=cache_file ;;
54652 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54653 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54654 | --c=*)
54655 ;;
54656 --config-cache | -C)
54657 ;;
54658 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54659 ac_prev=srcdir ;;
54660 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54661 ;;
54662 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54663 ac_prev=prefix ;;
54664 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54665 ;;
54666 *)
54667 case $ac_arg in
54668 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54669 esac
54670 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54671 esac
54672 done
54673
54674 # Always prepend --prefix to ensure using the same prefix
54675 # in subdir configurations.
54676 ac_arg="--prefix=$prefix"
54677 case $ac_arg in
54678 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54679 esac
54680 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54681
54682 # Pass --silent
54683 if test "$silent" = yes; then
54684 ac_sub_configure_args="--silent $ac_sub_configure_args"
54685 fi
54686
54687 ac_popdir=`pwd`
54688 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54689
54690 # Do not complain, so a configure script can configure whichever
54691 # parts of a large source tree are present.
54692 test -d "$srcdir/$ac_dir" || continue
54693
54694 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54695 echo "$as_me:$LINENO: $ac_msg" >&5
54696 echo "$ac_msg" >&6
54697 { as_dir="$ac_dir"
54698 case $as_dir in #(
54699 -*) as_dir=./$as_dir;;
54700 esac
54701 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54702 as_dirs=
54703 while :; do
54704 case $as_dir in #(
54705 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54706 *) as_qdir=$as_dir;;
54707 esac
54708 as_dirs="'$as_qdir' $as_dirs"
54709 as_dir=`$as_dirname -- "$as_dir" ||
54710 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54711 X"$as_dir" : 'X\(//\)[^/]' \| \
54712 X"$as_dir" : 'X\(//\)$' \| \
54713 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54714 echo X"$as_dir" |
54715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54716 s//\1/
54717 q
54718 }
54719 /^X\(\/\/\)[^/].*/{
54720 s//\1/
54721 q
54722 }
54723 /^X\(\/\/\)$/{
54724 s//\1/
54725 q
54726 }
54727 /^X\(\/\).*/{
54728 s//\1/
54729 q
54730 }
54731 s/.*/./; q'`
54732 test -d "$as_dir" && break
54733 done
54734 test -z "$as_dirs" || eval "mkdir $as_dirs"
54735 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54736 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54737 { (exit 1); exit 1; }; }; }
54738 ac_builddir=.
54739
54740 case "$ac_dir" in
54741 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54742 *)
54743 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54744 # A ".." for each directory in $ac_dir_suffix.
54745 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54746 case $ac_top_builddir_sub in
54747 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54748 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54749 esac ;;
54750 esac
54751 ac_abs_top_builddir=$ac_pwd
54752 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54753 # for backward compatibility:
54754 ac_top_builddir=$ac_top_build_prefix
54755
54756 case $srcdir in
54757 .) # We are building in place.
54758 ac_srcdir=.
54759 ac_top_srcdir=$ac_top_builddir_sub
54760 ac_abs_top_srcdir=$ac_pwd ;;
54761 [\\/]* | ?:[\\/]* ) # Absolute name.
54762 ac_srcdir=$srcdir$ac_dir_suffix;
54763 ac_top_srcdir=$srcdir
54764 ac_abs_top_srcdir=$srcdir ;;
54765 *) # Relative name.
54766 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54767 ac_top_srcdir=$ac_top_build_prefix$srcdir
54768 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54769 esac
54770 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54771
54772
54773 cd "$ac_dir"
54774
54775 # Check for guested configure; otherwise get Cygnus style configure.
54776 if test -f "$ac_srcdir/configure.gnu"; then
54777 ac_sub_configure=$ac_srcdir/configure.gnu
54778 elif test -f "$ac_srcdir/configure"; then
54779 ac_sub_configure=$ac_srcdir/configure
54780 elif test -f "$ac_srcdir/configure.in"; then
54781 # This should be Cygnus configure.
54782 ac_sub_configure=$ac_aux_dir/configure
54783 else
54784 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54785 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54786 ac_sub_configure=
54787 fi
54788
54789 # The recursion is here.
54790 if test -n "$ac_sub_configure"; then
54791 # Make the cache file name correct relative to the subdirectory.
54792 case $cache_file in
54793 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54794 *) # Relative name.
54795 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54796 esac
54797
54798 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54799 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54800 # The eval makes quoting arguments work.
54801 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54802 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54803 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54804 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54805 { (exit 1); exit 1; }; }
54806 fi
54807
54808 cd "$ac_popdir"
54809 done
54810 fi
54811
54812
54813 echo
54814 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54815 echo ""
54816 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54817 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54818
54819 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54820 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54821 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54822 if test "$wxUSE_UNICODE" = "yes"; then
54823 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54824 echo " (using UTF-8)"
54825 else
54826 echo " (using wchar_t)"
54827 fi
54828 else
54829 echo
54830 fi
54831
54832 echo " What level of wxWidgets compatibility should be enabled?"
54833 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54834 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54835
54836 echo " Which libraries should wxWidgets use?"
54837 echo " jpeg ${wxUSE_LIBJPEG-none}"
54838 echo " png ${wxUSE_LIBPNG-none}"
54839 echo " regex ${wxUSE_REGEX}"
54840 echo " tiff ${wxUSE_LIBTIFF-none}"
54841 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54842 echo " xpm ${wxUSE_LIBXPM-none}"
54843 fi
54844 echo " zlib ${wxUSE_ZLIB}"
54845 echo " odbc ${wxUSE_ODBC}"
54846 echo " expat ${wxUSE_EXPAT}"
54847 echo " libmspack ${wxUSE_LIBMSPACK}"
54848 echo " sdl ${wxUSE_LIBSDL}"
54849
54850 echo ""
54851