]> git.saurik.com Git - wxWidgets.git/blob - configure
build fixes for MSVC
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 48740 2007-09-17 09:24:42Z JS .
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 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_ODBC
727 wxUSE_LIBJPEG
728 wxUSE_LIBPNG
729 wxUSE_LIBTIFF
730 VENDOR
731 OFFICIAL_BUILD
732 WX_FLAVOUR
733 WX_LIB_FLAVOUR
734 WXUNIV
735 MONOLITHIC
736 USE_PLUGINS
737 CXXWARNINGS
738 EXTRALIBS
739 EXTRALIBS_XML
740 EXTRALIBS_HTML
741 EXTRALIBS_ODBC
742 EXTRALIBS_GUI
743 EXTRALIBS_OPENGL
744 EXTRALIBS_SDL
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 GCC_PCH
810 ICC_PCH
811 BK_MAKE_PCH
812 COND_BUILD_DEBUG
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
821 COND_DEBUG_FLAG_1
822 COND_DEBUG_INFO_0
823 COND_DEBUG_INFO_1
824 COND_DEPS_TRACKING_0
825 COND_DEPS_TRACKING_1
826 COND_GCC_PCH_1
827 COND_ICC_PCH_1
828 COND_MONOLITHIC_0
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
836 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_1
841 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
847 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
848 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
850 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
851 COND_MONOLITHIC_0_USE_AUI_1
852 COND_MONOLITHIC_0_USE_GUI_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_HTML_1
856 COND_MONOLITHIC_0_USE_MEDIA_1
857 COND_MONOLITHIC_0_USE_ODBC_1
858 COND_MONOLITHIC_0_USE_QA_1
859 COND_MONOLITHIC_0_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_USE_STC_1
861 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1
863 COND_MONOLITHIC_1_SHARED_0
864 COND_MONOLITHIC_1_SHARED_1
865 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
866 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
869 COND_PLATFORM_MACOSX_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_
871 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
872 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
876 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
877 COND_PLATFORM_MACOSX_1_USE_GUI_1
878 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
879 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MAC_1
881 COND_PLATFORM_MSDOS_0
882 COND_PLATFORM_MSDOS_1
883 COND_PLATFORM_OS2_1
884 COND_PLATFORM_UNIX_0
885 COND_PLATFORM_UNIX_1
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
887 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_GUI_1
889 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
890 COND_PLATFORM_WIN32_0
891 COND_PLATFORM_WIN32_1
892 COND_SHARED_0
893 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
895 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
896 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
899 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
900 COND_SHARED_0_USE_STC_1
901 COND_SHARED_0_USE_XRC_1
902 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
903 COND_SHARED_0_WXUSE_ODBC_BUILTIN
904 COND_SHARED_0_WXUSE_REGEX_BUILTIN
905 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1
907 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
908 COND_SHARED_1_USE_XRC_1
909 COND_TOOLKIT_
910 COND_TOOLKIT_COCOA
911 COND_TOOLKIT_COCOA_USE_GUI_1
912 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB
914 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC
924 COND_TOOLKIT_MAC_USE_GUI_1
925 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL
927 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF
929 COND_TOOLKIT_MOTIF_USE_GUI_1
930 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW
932 COND_TOOLKIT_MSW_USE_GUI_1
933 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM
936 COND_TOOLKIT_PM_USE_GUI_1
937 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE
939 COND_TOOLKIT_WINCE_USE_GUI_1
940 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11
943 COND_TOOLKIT_X11_USE_GUI_1
944 COND_UNICODE_1
945 COND_USE_EXCEPTIONS_0
946 COND_USE_EXCEPTIONS_1
947 COND_USE_GUI_0
948 COND_USE_GUI_1
949 COND_USE_GUI_1_USE_OPENGL_1
950 COND_USE_GUI_1_WXUNIV_0
951 COND_USE_GUI_1_WXUNIV_1
952 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
954 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
955 COND_USE_ODBC_1
956 COND_USE_OPENGL_1
957 COND_USE_PCH_1
958 COND_USE_PLUGINS_0
959 COND_USE_RTTI_0
960 COND_USE_RTTI_1
961 COND_USE_SOSYMLINKS_1
962 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
963 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSION_0
965 COND_USE_SOVERSOLARIS_1
966 COND_USE_STC_1
967 COND_USE_THREADS_0
968 COND_USE_THREADS_1
969 COND_USE_XRC_1
970 COND_WINDOWS_IMPLIB_1
971 COND_WITH_PLUGIN_SDL_1
972 COND_WXUNIV_0
973 COND_WXUNIV_1
974 COND_WXUSE_EXPAT_BUILTIN
975 COND_WXUSE_LIBJPEG_BUILTIN
976 COND_WXUSE_LIBPNG_BUILTIN
977 COND_WXUSE_LIBTIFF_BUILTIN
978 COND_WXUSE_ODBC_BUILTIN
979 COND_WXUSE_REGEX_BUILTIN
980 COND_WXUSE_ZLIB_BUILTIN
981 DEREZ
982 SHARED
983 WX_LIBRARY_BASENAME_NOGUI
984 WX_LIBRARY_BASENAME_GUI
985 USE_GUI
986 AFMINSTALL
987 WIN32INSTALL
988 TOOLKIT
989 TOOLKIT_DIR
990 TOOLCHAIN_NAME
991 TOOLCHAIN_FULLNAME
992 cross_compiling
993 WIDGET_SET
994 WX_RELEASE
995 WX_VERSION
996 WX_SUBVERSION
997 WX_CHARTYPE
998 WX_DEBUGTYPE
999 WXCONFIG_CPPFLAGS
1000 WXCONFIG_CFLAGS
1001 WXCONFIG_CXXFLAGS
1002 WXCONFIG_LIBS
1003 WXCONFIG_RPATH
1004 WXCONFIG_LDFLAGS_GUI
1005 WXCONFIG_RESFLAGS
1006 EXE_LINKER
1007 GUIDIST
1008 DISTDIR
1009 SAMPLES_SUBDIRS
1010 LDFLAGS_GL
1011 OPENGL_LIBS
1012 DMALLOC_LIBS
1013 WX_VERSION_TAG
1014 RESCOMP
1015 RESFLAGS
1016 RESPROGRAMOBJ
1017 WX_RESOURCES_MACOSX_ASCII
1018 WX_RESOURCES_MACOSX_DATA
1019 LIBWXMACRES
1020 POSTLINK_COMMAND
1021 MACSETFILE
1022 GCC
1023 DLLTOOL
1024 CPPUNIT_CONFIG
1025 LIBOBJS
1026 LTLIBOBJS'
1027 ac_subst_files=''
1028 ac_precious_vars='build_alias
1029 host_alias
1030 target_alias
1031 CC
1032 CFLAGS
1033 LDFLAGS
1034 LIBS
1035 CPPFLAGS
1036 CPP
1037 CXX
1038 CXXFLAGS
1039 CCC
1040 PKG_CONFIG
1041 DIRECTFB_CFLAGS
1042 DIRECTFB_LIBS
1043 XMKMF
1044 PANGOX_CFLAGS
1045 PANGOX_LIBS
1046 PANGOFT2_CFLAGS
1047 PANGOFT2_LIBS
1048 PANGOXFT_CFLAGS
1049 PANGOXFT_LIBS
1050 GTKPRINT_CFLAGS
1051 GTKPRINT_LIBS
1052 LIBGNOMEPRINTUI_CFLAGS
1053 LIBGNOMEPRINTUI_LIBS
1054 GNOMEVFS_CFLAGS
1055 GNOMEVFS_LIBS
1056 HILDON_CFLAGS
1057 HILDON_LIBS
1058 CAIRO_CFLAGS
1059 CAIRO_LIBS
1060 GST_CFLAGS
1061 GST_LIBS'
1062 ac_subdirs_all='src/tiff
1063 src/expat'
1064
1065 # Initialize some variables set by options.
1066 ac_init_help=
1067 ac_init_version=false
1068 # The variables have the same names as the options, with
1069 # dashes changed to underlines.
1070 cache_file=/dev/null
1071 exec_prefix=NONE
1072 no_create=
1073 no_recursion=
1074 prefix=NONE
1075 program_prefix=NONE
1076 program_suffix=NONE
1077 program_transform_name=s,x,x,
1078 silent=
1079 site=
1080 srcdir=
1081 verbose=
1082 x_includes=NONE
1083 x_libraries=NONE
1084
1085 # Installation directory options.
1086 # These are left unexpanded so users can "make install exec_prefix=/foo"
1087 # and all the variables that are supposed to be based on exec_prefix
1088 # by default will actually change.
1089 # Use braces instead of parens because sh, perl, etc. also accept them.
1090 # (The list follows the same order as the GNU Coding Standards.)
1091 bindir='${exec_prefix}/bin'
1092 sbindir='${exec_prefix}/sbin'
1093 libexecdir='${exec_prefix}/libexec'
1094 datarootdir='${prefix}/share'
1095 datadir='${datarootdir}'
1096 sysconfdir='${prefix}/etc'
1097 sharedstatedir='${prefix}/com'
1098 localstatedir='${prefix}/var'
1099 includedir='${prefix}/include'
1100 oldincludedir='/usr/include'
1101 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1102 infodir='${datarootdir}/info'
1103 htmldir='${docdir}'
1104 dvidir='${docdir}'
1105 pdfdir='${docdir}'
1106 psdir='${docdir}'
1107 libdir='${exec_prefix}/lib'
1108 localedir='${datarootdir}/locale'
1109 mandir='${datarootdir}/man'
1110
1111 ac_prev=
1112 ac_dashdash=
1113 for ac_option
1114 do
1115 # If the previous option needs an argument, assign it.
1116 if test -n "$ac_prev"; then
1117 eval $ac_prev=\$ac_option
1118 ac_prev=
1119 continue
1120 fi
1121
1122 case $ac_option in
1123 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1124 *) ac_optarg=yes ;;
1125 esac
1126
1127 # Accept the important Cygnus configure options, so we can diagnose typos.
1128
1129 case $ac_dashdash$ac_option in
1130 --)
1131 ac_dashdash=yes ;;
1132
1133 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1134 ac_prev=bindir ;;
1135 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1136 bindir=$ac_optarg ;;
1137
1138 -build | --build | --buil | --bui | --bu)
1139 ac_prev=build_alias ;;
1140 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1141 build_alias=$ac_optarg ;;
1142
1143 -cache-file | --cache-file | --cache-fil | --cache-fi \
1144 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1145 ac_prev=cache_file ;;
1146 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1147 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1148 cache_file=$ac_optarg ;;
1149
1150 --config-cache | -C)
1151 cache_file=config.cache ;;
1152
1153 -datadir | --datadir | --datadi | --datad)
1154 ac_prev=datadir ;;
1155 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1156 datadir=$ac_optarg ;;
1157
1158 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1159 | --dataroo | --dataro | --datar)
1160 ac_prev=datarootdir ;;
1161 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1162 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1163 datarootdir=$ac_optarg ;;
1164
1165 -disable-* | --disable-*)
1166 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1169 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1170 { (exit 1); exit 1; }; }
1171 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1172 eval enable_$ac_feature=no ;;
1173
1174 -docdir | --docdir | --docdi | --doc | --do)
1175 ac_prev=docdir ;;
1176 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1177 docdir=$ac_optarg ;;
1178
1179 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1180 ac_prev=dvidir ;;
1181 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1182 dvidir=$ac_optarg ;;
1183
1184 -enable-* | --enable-*)
1185 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1188 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1189 { (exit 1); exit 1; }; }
1190 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1191 eval enable_$ac_feature=\$ac_optarg ;;
1192
1193 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1194 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1195 | --exec | --exe | --ex)
1196 ac_prev=exec_prefix ;;
1197 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1198 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1199 | --exec=* | --exe=* | --ex=*)
1200 exec_prefix=$ac_optarg ;;
1201
1202 -gas | --gas | --ga | --g)
1203 # Obsolete; use --with-gas.
1204 with_gas=yes ;;
1205
1206 -help | --help | --hel | --he | -h)
1207 ac_init_help=long ;;
1208 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1209 ac_init_help=recursive ;;
1210 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1211 ac_init_help=short ;;
1212
1213 -host | --host | --hos | --ho)
1214 ac_prev=host_alias ;;
1215 -host=* | --host=* | --hos=* | --ho=*)
1216 host_alias=$ac_optarg ;;
1217
1218 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1219 ac_prev=htmldir ;;
1220 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1221 | --ht=*)
1222 htmldir=$ac_optarg ;;
1223
1224 -includedir | --includedir | --includedi | --included | --include \
1225 | --includ | --inclu | --incl | --inc)
1226 ac_prev=includedir ;;
1227 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1228 | --includ=* | --inclu=* | --incl=* | --inc=*)
1229 includedir=$ac_optarg ;;
1230
1231 -infodir | --infodir | --infodi | --infod | --info | --inf)
1232 ac_prev=infodir ;;
1233 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1234 infodir=$ac_optarg ;;
1235
1236 -libdir | --libdir | --libdi | --libd)
1237 ac_prev=libdir ;;
1238 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1239 libdir=$ac_optarg ;;
1240
1241 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1242 | --libexe | --libex | --libe)
1243 ac_prev=libexecdir ;;
1244 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1245 | --libexe=* | --libex=* | --libe=*)
1246 libexecdir=$ac_optarg ;;
1247
1248 -localedir | --localedir | --localedi | --localed | --locale)
1249 ac_prev=localedir ;;
1250 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1251 localedir=$ac_optarg ;;
1252
1253 -localstatedir | --localstatedir | --localstatedi | --localstated \
1254 | --localstate | --localstat | --localsta | --localst | --locals)
1255 ac_prev=localstatedir ;;
1256 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1257 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1258 localstatedir=$ac_optarg ;;
1259
1260 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1261 ac_prev=mandir ;;
1262 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1263 mandir=$ac_optarg ;;
1264
1265 -nfp | --nfp | --nf)
1266 # Obsolete; use --without-fp.
1267 with_fp=no ;;
1268
1269 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1270 | --no-cr | --no-c | -n)
1271 no_create=yes ;;
1272
1273 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1274 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1275 no_recursion=yes ;;
1276
1277 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1278 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1279 | --oldin | --oldi | --old | --ol | --o)
1280 ac_prev=oldincludedir ;;
1281 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1282 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1283 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1284 oldincludedir=$ac_optarg ;;
1285
1286 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1287 ac_prev=prefix ;;
1288 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1289 prefix=$ac_optarg ;;
1290
1291 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1292 | --program-pre | --program-pr | --program-p)
1293 ac_prev=program_prefix ;;
1294 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1295 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1296 program_prefix=$ac_optarg ;;
1297
1298 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1299 | --program-suf | --program-su | --program-s)
1300 ac_prev=program_suffix ;;
1301 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1302 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1303 program_suffix=$ac_optarg ;;
1304
1305 -program-transform-name | --program-transform-name \
1306 | --program-transform-nam | --program-transform-na \
1307 | --program-transform-n | --program-transform- \
1308 | --program-transform | --program-transfor \
1309 | --program-transfo | --program-transf \
1310 | --program-trans | --program-tran \
1311 | --progr-tra | --program-tr | --program-t)
1312 ac_prev=program_transform_name ;;
1313 -program-transform-name=* | --program-transform-name=* \
1314 | --program-transform-nam=* | --program-transform-na=* \
1315 | --program-transform-n=* | --program-transform-=* \
1316 | --program-transform=* | --program-transfor=* \
1317 | --program-transfo=* | --program-transf=* \
1318 | --program-trans=* | --program-tran=* \
1319 | --progr-tra=* | --program-tr=* | --program-t=*)
1320 program_transform_name=$ac_optarg ;;
1321
1322 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1323 ac_prev=pdfdir ;;
1324 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1325 pdfdir=$ac_optarg ;;
1326
1327 -psdir | --psdir | --psdi | --psd | --ps)
1328 ac_prev=psdir ;;
1329 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1330 psdir=$ac_optarg ;;
1331
1332 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1333 | -silent | --silent | --silen | --sile | --sil)
1334 silent=yes ;;
1335
1336 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1337 ac_prev=sbindir ;;
1338 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1339 | --sbi=* | --sb=*)
1340 sbindir=$ac_optarg ;;
1341
1342 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1343 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1344 | --sharedst | --shareds | --shared | --share | --shar \
1345 | --sha | --sh)
1346 ac_prev=sharedstatedir ;;
1347 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1348 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1349 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1350 | --sha=* | --sh=*)
1351 sharedstatedir=$ac_optarg ;;
1352
1353 -site | --site | --sit)
1354 ac_prev=site ;;
1355 -site=* | --site=* | --sit=*)
1356 site=$ac_optarg ;;
1357
1358 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1359 ac_prev=srcdir ;;
1360 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1361 srcdir=$ac_optarg ;;
1362
1363 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1364 | --syscon | --sysco | --sysc | --sys | --sy)
1365 ac_prev=sysconfdir ;;
1366 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1367 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1368 sysconfdir=$ac_optarg ;;
1369
1370 -target | --target | --targe | --targ | --tar | --ta | --t)
1371 ac_prev=target_alias ;;
1372 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1373 target_alias=$ac_optarg ;;
1374
1375 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1376 verbose=yes ;;
1377
1378 -version | --version | --versio | --versi | --vers | -V)
1379 ac_init_version=: ;;
1380
1381 -with-* | --with-*)
1382 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1383 # Reject names that are not valid shell variable names.
1384 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1385 { echo "$as_me: error: invalid package name: $ac_package" >&2
1386 { (exit 1); exit 1; }; }
1387 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1388 eval with_$ac_package=\$ac_optarg ;;
1389
1390 -without-* | --without-*)
1391 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1392 # Reject names that are not valid shell variable names.
1393 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1394 { echo "$as_me: error: invalid package name: $ac_package" >&2
1395 { (exit 1); exit 1; }; }
1396 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1397 eval with_$ac_package=no ;;
1398
1399 --x)
1400 # Obsolete; use --with-x.
1401 with_x=yes ;;
1402
1403 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1404 | --x-incl | --x-inc | --x-in | --x-i)
1405 ac_prev=x_includes ;;
1406 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1407 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1408 x_includes=$ac_optarg ;;
1409
1410 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1411 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1412 ac_prev=x_libraries ;;
1413 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1414 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1415 x_libraries=$ac_optarg ;;
1416
1417 -*) { echo "$as_me: error: unrecognized option: $ac_option
1418 Try \`$0 --help' for more information." >&2
1419 { (exit 1); exit 1; }; }
1420 ;;
1421
1422 *=*)
1423 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1424 # Reject names that are not valid shell variable names.
1425 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1426 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1427 { (exit 1); exit 1; }; }
1428 eval $ac_envvar=\$ac_optarg
1429 export $ac_envvar ;;
1430
1431 *)
1432 # FIXME: should be removed in autoconf 3.0.
1433 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1434 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1435 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1436 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1437 ;;
1438
1439 esac
1440 done
1441
1442 if test -n "$ac_prev"; then
1443 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1444 { echo "$as_me: error: missing argument to $ac_option" >&2
1445 { (exit 1); exit 1; }; }
1446 fi
1447
1448 # Be sure to have absolute directory names.
1449 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1450 datadir sysconfdir sharedstatedir localstatedir includedir \
1451 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1452 libdir localedir mandir
1453 do
1454 eval ac_val=\$$ac_var
1455 case $ac_val in
1456 [\\/$]* | ?:[\\/]* ) continue;;
1457 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1458 esac
1459 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1460 { (exit 1); exit 1; }; }
1461 done
1462
1463 # There might be people who depend on the old broken behavior: `$host'
1464 # used to hold the argument of --host etc.
1465 # FIXME: To remove some day.
1466 build=$build_alias
1467 host=$host_alias
1468 target=$target_alias
1469
1470 # FIXME: To remove some day.
1471 if test "x$host_alias" != x; then
1472 if test "x$build_alias" = x; then
1473 cross_compiling=maybe
1474 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1475 If a cross compiler is detected then cross compile mode will be used." >&2
1476 elif test "x$build_alias" != "x$host_alias"; then
1477 cross_compiling=yes
1478 fi
1479 fi
1480
1481 ac_tool_prefix=
1482 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1483
1484 test "$silent" = yes && exec 6>/dev/null
1485
1486
1487 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1488 ac_ls_di=`ls -di .` &&
1489 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1490 { echo "$as_me: error: Working directory cannot be determined" >&2
1491 { (exit 1); exit 1; }; }
1492 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1493 { echo "$as_me: error: pwd does not report name of working directory" >&2
1494 { (exit 1); exit 1; }; }
1495
1496
1497 # Find the source files, if location was not specified.
1498 if test -z "$srcdir"; then
1499 ac_srcdir_defaulted=yes
1500 # Try the directory containing this script, then the parent directory.
1501 ac_confdir=`$as_dirname -- "$0" ||
1502 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1503 X"$0" : 'X\(//\)[^/]' \| \
1504 X"$0" : 'X\(//\)$' \| \
1505 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1506 echo X"$0" |
1507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1508 s//\1/
1509 q
1510 }
1511 /^X\(\/\/\)[^/].*/{
1512 s//\1/
1513 q
1514 }
1515 /^X\(\/\/\)$/{
1516 s//\1/
1517 q
1518 }
1519 /^X\(\/\).*/{
1520 s//\1/
1521 q
1522 }
1523 s/.*/./; q'`
1524 srcdir=$ac_confdir
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 srcdir=..
1527 fi
1528 else
1529 ac_srcdir_defaulted=no
1530 fi
1531 if test ! -r "$srcdir/$ac_unique_file"; then
1532 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1533 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1534 { (exit 1); exit 1; }; }
1535 fi
1536 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1537 ac_abs_confdir=`(
1538 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1539 { (exit 1); exit 1; }; }
1540 pwd)`
1541 # When building in place, set srcdir=.
1542 if test "$ac_abs_confdir" = "$ac_pwd"; then
1543 srcdir=.
1544 fi
1545 # Remove unnecessary trailing slashes from srcdir.
1546 # Double slashes in file names in object file debugging info
1547 # mess up M-x gdb in Emacs.
1548 case $srcdir in
1549 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1550 esac
1551 for ac_var in $ac_precious_vars; do
1552 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1553 eval ac_env_${ac_var}_value=\$${ac_var}
1554 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1555 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1556 done
1557
1558 #
1559 # Report the --help message.
1560 #
1561 if test "$ac_init_help" = "long"; then
1562 # Omit some internal or obsolete options to make the list less imposing.
1563 # This message is too long to be a string in the A/UX 3.1 sh.
1564 cat <<_ACEOF
1565 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1566
1567 Usage: $0 [OPTION]... [VAR=VALUE]...
1568
1569 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1570 VAR=VALUE. See below for descriptions of some of the useful variables.
1571
1572 Defaults for the options are specified in brackets.
1573
1574 Configuration:
1575 -h, --help display this help and exit
1576 --help=short display options specific to this package
1577 --help=recursive display the short help of all the included packages
1578 -V, --version display version information and exit
1579 -q, --quiet, --silent do not print \`checking...' messages
1580 --cache-file=FILE cache test results in FILE [disabled]
1581 -C, --config-cache alias for \`--cache-file=config.cache'
1582 -n, --no-create do not create output files
1583 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1584
1585 Installation directories:
1586 --prefix=PREFIX install architecture-independent files in PREFIX
1587 [$ac_default_prefix]
1588 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1589 [PREFIX]
1590
1591 By default, \`make install' will install all the files in
1592 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1593 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1594 for instance \`--prefix=\$HOME'.
1595
1596 For better control, use the options below.
1597
1598 Fine tuning of the installation directories:
1599 --bindir=DIR user executables [EPREFIX/bin]
1600 --sbindir=DIR system admin executables [EPREFIX/sbin]
1601 --libexecdir=DIR program executables [EPREFIX/libexec]
1602 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1603 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1604 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1605 --libdir=DIR object code libraries [EPREFIX/lib]
1606 --includedir=DIR C header files [PREFIX/include]
1607 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1608 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1609 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1610 --infodir=DIR info documentation [DATAROOTDIR/info]
1611 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1612 --mandir=DIR man documentation [DATAROOTDIR/man]
1613 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1614 --htmldir=DIR html documentation [DOCDIR]
1615 --dvidir=DIR dvi documentation [DOCDIR]
1616 --pdfdir=DIR pdf documentation [DOCDIR]
1617 --psdir=DIR ps documentation [DOCDIR]
1618 _ACEOF
1619
1620 cat <<\_ACEOF
1621
1622 X features:
1623 --x-includes=DIR X include files are in DIR
1624 --x-libraries=DIR X library files are in DIR
1625
1626 System types:
1627 --build=BUILD configure for building on BUILD [guessed]
1628 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1629 --target=TARGET configure for building compilers for TARGET [HOST]
1630 _ACEOF
1631 fi
1632
1633 if test -n "$ac_init_help"; then
1634 case $ac_init_help in
1635 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1636 esac
1637 cat <<\_ACEOF
1638
1639 Optional Features:
1640 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1641 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1642 --disable-gui don't build GUI parts of the library
1643 --enable-monolithic build wxWidgets as single library
1644 --enable-plugins build parts of wxWidgets as loadable components
1645 --enable-official_build official build of wxWidgets (win32 DLL only)
1646 --enable-vendor=VENDOR vendor name (win32 DLL only)
1647 --disable-all-features disable all optional features to build minimal library
1648 --enable-universal use wxWidgets GUI controls instead of native ones
1649 --enable-nanox use NanoX
1650 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1651 --enable-gpe use GNOME PDA Environment features if possible
1652 --disable-shared create static library instead of shared
1653 --disable-optimise create optimised code
1654 --enable-debug same as debug_flag and debug_info
1655 --enable-stl use STL for containers
1656 --enable-std_iostreams use standard C++ stream classes
1657 --enable-std_string use standard C++ string classes
1658 --disable-unicode compile without Unicode support
1659 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1660 --enable-utf8 use UTF-8 representation for strings (Unix only)
1661 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1662 --enable-extended_rtti use extended RTTI (XTI)
1663 --enable-omf use OMF object format
1664 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1665 --enable-debug_info create code with debugging information
1666 --enable-debug_gdb create code with extra GDB debugging information
1667 --enable-debug_cntxt use wxDebugContext
1668 --enable-mem_tracing create code with memory tracing
1669 --enable-profile create code with profiling information
1670 --enable-no_rtti create code without RTTI information
1671 --enable-no_exceptions create code without C++ exceptions handling
1672 --enable-permissive compile code disregarding strict ANSI
1673 --enable-no_deps create code without dependency information
1674 --disable-vararg_macros don't use vararg macros, even if they are supported
1675 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1676 --enable-compat26 enable wxWidgets 2.6 compatibility
1677 --disable-compat28 disable wxWidgets 2.8 compatibility
1678 --disable-rpath disable use of rpath for uninstalled builds
1679 --enable-objc_uniquifying enable Objective-C class name uniquifying
1680 --disable-visibility disable use of ELF symbols visibility even if supported
1681 --enable-intl use internationalization system
1682 --enable-config use wxConfig (and derived) classes
1683 --enable-protocols use wxProtocol and derived classes
1684 --enable-ftp use wxFTP (requires wxProtocol
1685 --enable-http use wxHTTP (requires wxProtocol
1686 --enable-fileproto use wxFileProto class (requires wxProtocol
1687 --enable-sockets use socket/network classes
1688 --enable-ole use OLE classes (Win32 only)
1689 --enable-dataobj use data object classes
1690 --enable-ipc use interprocess communication (wxSocket etc.)
1691 --enable-baseevtloop use event loop in console programs too
1692 --enable-epollloop use wxEpollDispatcher class (Linux only)
1693 --enable-selectloop use wxSelectDispatcher class
1694 --enable-apple_ieee use the Apple IEEE codec
1695 --enable-arcstream use wxArchive streams
1696 --enable-base64 use base64 encoding/decoding functions
1697 --enable-backtrace use wxStackWalker class for getting backtraces
1698 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1699 --enable-cmdline use wxCmdLineParser class
1700 --enable-datetime use wxDateTime class
1701 --enable-debugreport use wxDebugReport class
1702 --enable-dialupman use dialup network classes
1703 --enable-dynlib use wxLibrary class for DLL loading
1704 --enable-dynamicloader use (new) wxDynamicLibrary class
1705 --enable-exceptions build exception-safe library
1706 --enable-ffile use wxFFile class
1707 --enable-file use wxFile class
1708 --enable-filesystem use virtual file systems classes
1709 --enable-fontenum use wxFontEnumerator class
1710 --enable-fontmap use font encodings conversion classes
1711 --enable-fs_archive use virtual archive filesystems
1712 --enable-fs_inet use virtual HTTP/FTP filesystems
1713 --enable-fs_zip now replaced by fs_archive
1714 --enable-geometry use geometry class
1715 --enable-log use logging system
1716 --enable-longlong use wxLongLong class
1717 --enable-mimetype use wxMimeTypesManager
1718 --enable-snglinst use wxSingleInstanceChecker class
1719 --enable-stdpaths use wxStandardPaths class
1720 --enable-stopwatch use wxStopWatch class
1721 --enable-streams use wxStream etc classes
1722 --enable-sysoptions use wxSystemOptions
1723 --enable-tarstream use wxTar streams
1724 --enable-textbuf use wxTextBuffer class
1725 --enable-textfile use wxTextFile class
1726 --enable-timer use wxTimer class
1727 --enable-sound use wxSound class
1728 --enable-mediactrl use wxMediaCtrl class
1729 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1730 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1731 --enable-zipstream use wxZip streams
1732 --enable-url use wxURL class
1733 --enable-variant use wxVariant class
1734 --enable-protocol use wxProtocol class
1735 --enable-protocol-http HTTP support in wxProtocol
1736 --enable-protocol-ftp FTP support in wxProtocol
1737 --enable-protocol-file FILE support in wxProtocol
1738 --enable-threads use threads
1739 --enable-iniconf use wxIniConfig (Win32 only)
1740 --enable-regkey use wxRegKey class (Win32 only)
1741 --enable-docview use document view architecture
1742 --enable-help use help subsystem
1743 --enable-mshtmlhelp use MS HTML Help (win32)
1744 --enable-html use wxHTML sub-library
1745 --enable-htmlhelp use wxHTML-based help
1746 --enable-xrc use XRC resources sub-library
1747 --enable-aui use AUI docking library
1748 --enable-stc use wxStyledTextCtrl library
1749 --enable-constraints use layout-constraints system
1750 --enable-printarch use printing architecture
1751 --enable-mdi use multiple document interface architecture
1752 --enable-mdidoc use docview architecture with MDI
1753 --enable-loggui use standard GUI logger
1754 --enable-logwin use wxLogWindow
1755 --enable-logdialog use wxLogDialog
1756 --enable-webkit use wxWebKitCtrl (Mac)
1757 --enable-richtext use wxRichTextCtrl
1758 --enable-graphics_ctx use graphics context 2D drawing API
1759 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1760 --enable-svg use wxSVGFileDC device context
1761 --enable-clipboard use wxClipboard class
1762 --enable-dnd use Drag'n'Drop classes
1763 --enable-metafile use win32 metafiles
1764 --disable-controls disable compilation of all standard controls
1765 --enable-accel use accelerators
1766 --enable-animatectrl use wxAnimationCtrl class
1767 --enable-button use wxButton class
1768 --enable-bmpbutton use wxBitmapButton class
1769 --enable-bmpcombobox use wxBitmapComboBox class
1770 --enable-calendar use wxCalendarCtrl class
1771 --enable-caret use wxCaret class
1772 --enable-checkbox use wxCheckBox class
1773 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1774 --enable-choice use wxChoice class
1775 --enable-choicebook use wxChoicebook class
1776 --enable-collpane use wxCollapsiblePane class
1777 --enable-colourpicker use wxColourPickerCtrl class
1778 --enable-combobox use wxComboBox class
1779 --enable-comboctrl use wxComboCtrl class
1780 --enable-datepick use wxDatePickerCtrl class
1781 --enable-dirpicker use wxDirPickerCtrl class
1782 --enable-display use wxDisplay class
1783 --enable-detect_sm use code to detect X11 session manager
1784 --enable-editablebox use wxEditableListBox class
1785 --enable-filepicker use wxFilePickerCtrl class
1786 --enable-filectrl use wxFileCtrl class
1787 --enable-fontpicker use wxFontPickerCtrl class
1788 --enable-gauge use wxGauge class
1789 --enable-grid use wxGrid class
1790 --enable-dataviewctrl use wxDataViewCtrl class
1791 --enable-hyperlink use wxHyperlinkCtrl class
1792 --enable-imaglist use wxImageList class
1793 --enable-listbook use wxListbook class
1794 --enable-listbox use wxListBox class
1795 --enable-listctrl use wxListCtrl class
1796 --enable-notebook use wxNotebook class
1797 --enable-odcombobox use wxOwnerDrawnComboBox class
1798 --enable-radiobox use wxRadioBox class
1799 --enable-radiobtn use wxRadioButton class
1800 --enable-sash use wxSashWindow class
1801 --enable-scrollbar use wxScrollBar class and scrollable windows
1802 --enable-searchctrl use wxSearchCtrl class
1803 --enable-slider use wxSlider class
1804 --enable-spinbtn use wxSpinButton class
1805 --enable-spinctrl use wxSpinCtrl class
1806 --enable-splitter use wxSplitterWindow class
1807 --enable-statbmp use wxStaticBitmap class
1808 --enable-statbox use wxStaticBox class
1809 --enable-statline use wxStaticLine class
1810 --enable-stattext use wxStaticText class
1811 --enable-statusbar use wxStatusBar class
1812 --enable-tabdialog use wxTabControl class
1813 --enable-taskbaricon use wxTaskBarIcon class
1814 --enable-textctrl use wxTextCtrl class
1815 --enable-togglebtn use wxToggleButton class
1816 --enable-toolbar use wxToolBar class
1817 --enable-tbarnative use native wxToolBar class
1818 --enable-treebook use wxTreebook class
1819 --enable-toolbook use wxToolbook class
1820 --enable-treectrl use wxTreeCtrl class
1821 --enable-tipwindow use wxTipWindow class
1822 --enable-popupwin use wxPopUpWindow class
1823 --enable-commondlg use all common dialogs
1824 --enable-aboutdlg use wxAboutBox
1825 --enable-choicedlg use wxChoiceDialog
1826 --enable-coldlg use wxColourDialog
1827 --enable-filedlg use wxFileDialog
1828 --enable-finddlg use wxFindReplaceDialog
1829 --enable-fontdlg use wxFontDialog
1830 --enable-dirdlg use wxDirDialog
1831 --enable-msgdlg use wxMessageDialog
1832 --enable-numberdlg use wxNumberEntryDialog
1833 --enable-splash use wxSplashScreen
1834 --enable-textdlg use wxTextDialog
1835 --enable-tipdlg use startup tips
1836 --enable-progressdlg use wxProgressDialog
1837 --enable-wizarddlg use wxWizard
1838 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1839 --enable-miniframe use wxMiniFrame class
1840 --enable-tooltips use wxToolTip class
1841 --enable-splines use spline drawing code
1842 --enable-mousewheel use mousewheel
1843 --enable-validators use wxValidator and derived classes
1844 --enable-busyinfo use wxBusyInfo
1845 --enable-joystick use wxJoystick
1846 --enable-metafiles use wxMetaFile (Win32 only)
1847 --enable-dragimage use wxDragImage
1848 --enable-accessibility enable accessibility support
1849 --enable-palette use wxPalette class
1850 --enable-image use wxImage class
1851 --enable-gif use gif images (GIF file format)
1852 --enable-pcx use pcx images (PCX file format)
1853 --enable-tga use tga images (TGA file format)
1854 --enable-iff use iff images (IFF file format)
1855 --enable-pnm use pnm images (PNM file format)
1856 --enable-xpm use xpm images (XPM file format)
1857 --enable-icocur use Windows ICO and CUR formats
1858 --enable-dccache cache temporary wxDC objects (Win32 only)
1859 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1860 --enable-ownerdrawn use owner drawn controls (Win32 only)
1861 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1862 --enable-wxdib use wxDIB class (Win32 only)
1863 --disable-largefile omit support for large files
1864 --disable-gtktest do not try to compile and run a test GTK+ program
1865 --disable-gtktest Do not try to compile and run a test GTK program
1866 --disable-sdltest Do not try to compile and run a test SDL program
1867 --enable-omf use OMF object format (OS/2)
1868 --disable-dependency-tracking
1869 don't use dependency tracking even if the compiler
1870 can
1871 --disable-precomp-headers
1872 don't use precompiled headers even if compiler can
1873
1874 Optional Packages:
1875 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1876 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1877 --without-subdirs don't generate makefiles for samples/demos/...
1878 --with-flavour=NAME specify a name to identify this build
1879 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1880 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1881 --with-motif use Motif/Lesstif
1882 --with-mac use Mac OS X
1883 --with-cocoa use Cocoa
1884 --with-wine use Wine
1885 --with-msw use MS-Windows
1886 --with-pm use OS/2 Presentation Manager
1887 --with-mgl use SciTech MGL
1888 --with-directfb use DirectFB
1889 --with-microwin use MicroWindows
1890 --with-x11 use X11
1891 --with-libpng use libpng (PNG image format)
1892 --with-libjpeg use libjpeg (JPEG file format)
1893 --with-libtiff use libtiff (TIFF file format)
1894 --with-libxpm use libxpm (XPM file format)
1895 --with-libmspack use libmspack (CHM help files loading)
1896 --without-gtkprint don't use GTK printing support
1897 --without-gnomeprint don't use GNOME printing libraries
1898 --with-gnomevfs use GNOME VFS for associating MIME types
1899 --with-hildon use Hildon framework for Nokia 770
1900 --with-opengl use OpenGL (or Mesa)
1901 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1902 --with-sdl use SDL for audio on Unix
1903 --with-regex enable support for wxRegEx class
1904 --with-zlib use zlib for LZW compression
1905 --with-odbc use the IODBC and wxODBC classes
1906 --with-expat enable XML support using expat parser
1907 --with-macosx-sdk=PATH use an OS X SDK at PATH
1908 --with-macosx-version-min=VER build binaries which require at least this OS X version
1909 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1910 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1911 --with-x use the X Window System
1912 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1913 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1914 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1915 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1916 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1917
1918 Some influential environment variables:
1919 CC C compiler command
1920 CFLAGS C compiler flags
1921 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1922 nonstandard directory <lib dir>
1923 LIBS libraries to pass to the linker, e.g. -l<library>
1924 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1925 you have headers in a nonstandard directory <include dir>
1926 CPP C preprocessor
1927 CXX C++ compiler command
1928 CXXFLAGS C++ compiler flags
1929 PKG_CONFIG path to pkg-config utility
1930 DIRECTFB_CFLAGS
1931 C compiler flags for DIRECTFB, overriding pkg-config
1932 DIRECTFB_LIBS
1933 linker flags for DIRECTFB, overriding pkg-config
1934 XMKMF Path to xmkmf, Makefile generator for X Window System
1935 PANGOX_CFLAGS
1936 C compiler flags for PANGOX, overriding pkg-config
1937 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1938 PANGOFT2_CFLAGS
1939 C compiler flags for PANGOFT2, overriding pkg-config
1940 PANGOFT2_LIBS
1941 linker flags for PANGOFT2, overriding pkg-config
1942 PANGOXFT_CFLAGS
1943 C compiler flags for PANGOXFT, overriding pkg-config
1944 PANGOXFT_LIBS
1945 linker flags for PANGOXFT, overriding pkg-config
1946 GTKPRINT_CFLAGS
1947 C compiler flags for GTKPRINT, overriding pkg-config
1948 GTKPRINT_LIBS
1949 linker flags for GTKPRINT, overriding pkg-config
1950 LIBGNOMEPRINTUI_CFLAGS
1951 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1952 LIBGNOMEPRINTUI_LIBS
1953 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1954 GNOMEVFS_CFLAGS
1955 C compiler flags for GNOMEVFS, overriding pkg-config
1956 GNOMEVFS_LIBS
1957 linker flags for GNOMEVFS, overriding pkg-config
1958 HILDON_CFLAGS
1959 C compiler flags for HILDON, overriding pkg-config
1960 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1961 CAIRO_CFLAGS
1962 C compiler flags for CAIRO, overriding pkg-config
1963 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1964 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1965 GST_LIBS linker flags for GST, overriding pkg-config
1966
1967 Use these variables to override the choices made by `configure' or to help
1968 it to find libraries and programs with nonstandard names/locations.
1969
1970 Report bugs to <wx-dev@lists.wxwidgets.org>.
1971 _ACEOF
1972 ac_status=$?
1973 fi
1974
1975 if test "$ac_init_help" = "recursive"; then
1976 # If there are subdirs, report their specific --help.
1977 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1978 test -d "$ac_dir" || continue
1979 ac_builddir=.
1980
1981 case "$ac_dir" in
1982 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1983 *)
1984 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1985 # A ".." for each directory in $ac_dir_suffix.
1986 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1987 case $ac_top_builddir_sub in
1988 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1989 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1990 esac ;;
1991 esac
1992 ac_abs_top_builddir=$ac_pwd
1993 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1994 # for backward compatibility:
1995 ac_top_builddir=$ac_top_build_prefix
1996
1997 case $srcdir in
1998 .) # We are building in place.
1999 ac_srcdir=.
2000 ac_top_srcdir=$ac_top_builddir_sub
2001 ac_abs_top_srcdir=$ac_pwd ;;
2002 [\\/]* | ?:[\\/]* ) # Absolute name.
2003 ac_srcdir=$srcdir$ac_dir_suffix;
2004 ac_top_srcdir=$srcdir
2005 ac_abs_top_srcdir=$srcdir ;;
2006 *) # Relative name.
2007 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2008 ac_top_srcdir=$ac_top_build_prefix$srcdir
2009 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2010 esac
2011 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2012
2013 cd "$ac_dir" || { ac_status=$?; continue; }
2014 # Check for guested configure.
2015 if test -f "$ac_srcdir/configure.gnu"; then
2016 echo &&
2017 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2018 elif test -f "$ac_srcdir/configure"; then
2019 echo &&
2020 $SHELL "$ac_srcdir/configure" --help=recursive
2021 else
2022 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2023 fi || ac_status=$?
2024 cd "$ac_pwd" || { ac_status=$?; break; }
2025 done
2026 fi
2027
2028 test -n "$ac_init_help" && exit $ac_status
2029 if $ac_init_version; then
2030 cat <<\_ACEOF
2031 wxWidgets configure 2.9.0
2032 generated by GNU Autoconf 2.61
2033
2034 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2035 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2036 This configure script is free software; the Free Software Foundation
2037 gives unlimited permission to copy, distribute and modify it.
2038 _ACEOF
2039 exit
2040 fi
2041 cat >config.log <<_ACEOF
2042 This file contains any messages produced by compilers while
2043 running configure, to aid debugging if configure makes a mistake.
2044
2045 It was created by wxWidgets $as_me 2.9.0, which was
2046 generated by GNU Autoconf 2.61. Invocation command line was
2047
2048 $ $0 $@
2049
2050 _ACEOF
2051 exec 5>>config.log
2052 {
2053 cat <<_ASUNAME
2054 ## --------- ##
2055 ## Platform. ##
2056 ## --------- ##
2057
2058 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2059 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2060 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2061 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2062 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2063
2064 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2065 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2066
2067 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2068 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2069 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2070 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2071 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2072 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2073 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2074
2075 _ASUNAME
2076
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 for as_dir in $PATH
2079 do
2080 IFS=$as_save_IFS
2081 test -z "$as_dir" && as_dir=.
2082 echo "PATH: $as_dir"
2083 done
2084 IFS=$as_save_IFS
2085
2086 } >&5
2087
2088 cat >&5 <<_ACEOF
2089
2090
2091 ## ----------- ##
2092 ## Core tests. ##
2093 ## ----------- ##
2094
2095 _ACEOF
2096
2097
2098 # Keep a trace of the command line.
2099 # Strip out --no-create and --no-recursion so they do not pile up.
2100 # Strip out --silent because we don't want to record it for future runs.
2101 # Also quote any args containing shell meta-characters.
2102 # Make two passes to allow for proper duplicate-argument suppression.
2103 ac_configure_args=
2104 ac_configure_args0=
2105 ac_configure_args1=
2106 ac_must_keep_next=false
2107 for ac_pass in 1 2
2108 do
2109 for ac_arg
2110 do
2111 case $ac_arg in
2112 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2114 | -silent | --silent | --silen | --sile | --sil)
2115 continue ;;
2116 *\'*)
2117 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2118 esac
2119 case $ac_pass in
2120 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2121 2)
2122 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2123 if test $ac_must_keep_next = true; then
2124 ac_must_keep_next=false # Got value, back to normal.
2125 else
2126 case $ac_arg in
2127 *=* | --config-cache | -C | -disable-* | --disable-* \
2128 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2129 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2130 | -with-* | --with-* | -without-* | --without-* | --x)
2131 case "$ac_configure_args0 " in
2132 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2133 esac
2134 ;;
2135 -* ) ac_must_keep_next=true ;;
2136 esac
2137 fi
2138 ac_configure_args="$ac_configure_args '$ac_arg'"
2139 ;;
2140 esac
2141 done
2142 done
2143 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2144 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2145
2146 # When interrupted or exit'd, cleanup temporary files, and complete
2147 # config.log. We remove comments because anyway the quotes in there
2148 # would cause problems or look ugly.
2149 # WARNING: Use '\'' to represent an apostrophe within the trap.
2150 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2151 trap 'exit_status=$?
2152 # Save into config.log some information that might help in debugging.
2153 {
2154 echo
2155
2156 cat <<\_ASBOX
2157 ## ---------------- ##
2158 ## Cache variables. ##
2159 ## ---------------- ##
2160 _ASBOX
2161 echo
2162 # The following way of writing the cache mishandles newlines in values,
2163 (
2164 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2165 eval ac_val=\$$ac_var
2166 case $ac_val in #(
2167 *${as_nl}*)
2168 case $ac_var in #(
2169 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2170 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2171 esac
2172 case $ac_var in #(
2173 _ | IFS | as_nl) ;; #(
2174 *) $as_unset $ac_var ;;
2175 esac ;;
2176 esac
2177 done
2178 (set) 2>&1 |
2179 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2180 *${as_nl}ac_space=\ *)
2181 sed -n \
2182 "s/'\''/'\''\\\\'\'''\''/g;
2183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2184 ;; #(
2185 *)
2186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2187 ;;
2188 esac |
2189 sort
2190 )
2191 echo
2192
2193 cat <<\_ASBOX
2194 ## ----------------- ##
2195 ## Output variables. ##
2196 ## ----------------- ##
2197 _ASBOX
2198 echo
2199 for ac_var in $ac_subst_vars
2200 do
2201 eval ac_val=\$$ac_var
2202 case $ac_val in
2203 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2204 esac
2205 echo "$ac_var='\''$ac_val'\''"
2206 done | sort
2207 echo
2208
2209 if test -n "$ac_subst_files"; then
2210 cat <<\_ASBOX
2211 ## ------------------- ##
2212 ## File substitutions. ##
2213 ## ------------------- ##
2214 _ASBOX
2215 echo
2216 for ac_var in $ac_subst_files
2217 do
2218 eval ac_val=\$$ac_var
2219 case $ac_val in
2220 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221 esac
2222 echo "$ac_var='\''$ac_val'\''"
2223 done | sort
2224 echo
2225 fi
2226
2227 if test -s confdefs.h; then
2228 cat <<\_ASBOX
2229 ## ----------- ##
2230 ## confdefs.h. ##
2231 ## ----------- ##
2232 _ASBOX
2233 echo
2234 cat confdefs.h
2235 echo
2236 fi
2237 test "$ac_signal" != 0 &&
2238 echo "$as_me: caught signal $ac_signal"
2239 echo "$as_me: exit $exit_status"
2240 } >&5
2241 rm -f core *.core core.conftest.* &&
2242 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2243 exit $exit_status
2244 ' 0
2245 for ac_signal in 1 2 13 15; do
2246 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2247 done
2248 ac_signal=0
2249
2250 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2251 rm -f -r conftest* confdefs.h
2252
2253 # Predefined preprocessor variables.
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_NAME "$PACKAGE_NAME"
2257 _ACEOF
2258
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2262 _ACEOF
2263
2264
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2267 _ACEOF
2268
2269
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_STRING "$PACKAGE_STRING"
2272 _ACEOF
2273
2274
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2277 _ACEOF
2278
2279
2280 # Let the site file select an alternate cache file if it wants to.
2281 # Prefer explicitly selected file to automatically selected ones.
2282 if test -n "$CONFIG_SITE"; then
2283 set x "$CONFIG_SITE"
2284 elif test "x$prefix" != xNONE; then
2285 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2286 else
2287 set x "$ac_default_prefix/share/config.site" \
2288 "$ac_default_prefix/etc/config.site"
2289 fi
2290 shift
2291 for ac_site_file
2292 do
2293 if test -r "$ac_site_file"; then
2294 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2295 echo "$as_me: loading site script $ac_site_file" >&6;}
2296 sed 's/^/| /' "$ac_site_file" >&5
2297 . "$ac_site_file"
2298 fi
2299 done
2300
2301 if test -r "$cache_file"; then
2302 # Some versions of bash will fail to source /dev/null (special
2303 # files actually), so we avoid doing that.
2304 if test -f "$cache_file"; then
2305 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2306 echo "$as_me: loading cache $cache_file" >&6;}
2307 case $cache_file in
2308 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2309 *) . "./$cache_file";;
2310 esac
2311 fi
2312 else
2313 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2314 echo "$as_me: creating cache $cache_file" >&6;}
2315 >$cache_file
2316 fi
2317
2318 # Check that the precious variables saved in the cache have kept the same
2319 # value.
2320 ac_cache_corrupted=false
2321 for ac_var in $ac_precious_vars; do
2322 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2323 eval ac_new_set=\$ac_env_${ac_var}_set
2324 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2325 eval ac_new_val=\$ac_env_${ac_var}_value
2326 case $ac_old_set,$ac_new_set in
2327 set,)
2328 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2329 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2330 ac_cache_corrupted=: ;;
2331 ,set)
2332 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2333 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2334 ac_cache_corrupted=: ;;
2335 ,);;
2336 *)
2337 if test "x$ac_old_val" != "x$ac_new_val"; then
2338 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2339 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2340 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2341 echo "$as_me: former value: $ac_old_val" >&2;}
2342 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2343 echo "$as_me: current value: $ac_new_val" >&2;}
2344 ac_cache_corrupted=:
2345 fi;;
2346 esac
2347 # Pass precious variables to config.status.
2348 if test "$ac_new_set" = set; then
2349 case $ac_new_val in
2350 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2351 *) ac_arg=$ac_var=$ac_new_val ;;
2352 esac
2353 case " $ac_configure_args " in
2354 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2355 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2356 esac
2357 fi
2358 done
2359 if $ac_cache_corrupted; then
2360 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2361 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2362 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2363 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2364 { (exit 1); exit 1; }; }
2365 fi
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391 ac_ext=c
2392 ac_cpp='$CPP $CPPFLAGS'
2393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2396
2397
2398
2399
2400
2401 ac_aux_dir=
2402 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2403 if test -f "$ac_dir/install-sh"; then
2404 ac_aux_dir=$ac_dir
2405 ac_install_sh="$ac_aux_dir/install-sh -c"
2406 break
2407 elif test -f "$ac_dir/install.sh"; then
2408 ac_aux_dir=$ac_dir
2409 ac_install_sh="$ac_aux_dir/install.sh -c"
2410 break
2411 elif test -f "$ac_dir/shtool"; then
2412 ac_aux_dir=$ac_dir
2413 ac_install_sh="$ac_aux_dir/shtool install -c"
2414 break
2415 fi
2416 done
2417 if test -z "$ac_aux_dir"; then
2418 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2419 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2420 { (exit 1); exit 1; }; }
2421 fi
2422
2423 # These three variables are undocumented and unsupported,
2424 # and are intended to be withdrawn in a future Autoconf release.
2425 # They can cause serious problems if a builder's source tree is in a directory
2426 # whose full name contains unusual characters.
2427 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2428 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2429 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2430
2431
2432 # Make sure we can run config.sub.
2433 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2434 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2435 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2436 { (exit 1); exit 1; }; }
2437
2438 { echo "$as_me:$LINENO: checking build system type" >&5
2439 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2440 if test "${ac_cv_build+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 else
2443 ac_build_alias=$build_alias
2444 test "x$ac_build_alias" = x &&
2445 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2446 test "x$ac_build_alias" = x &&
2447 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2448 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2449 { (exit 1); exit 1; }; }
2450 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2451 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2452 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2453 { (exit 1); exit 1; }; }
2454
2455 fi
2456 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2457 echo "${ECHO_T}$ac_cv_build" >&6; }
2458 case $ac_cv_build in
2459 *-*-*) ;;
2460 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2461 echo "$as_me: error: invalid value of canonical build" >&2;}
2462 { (exit 1); exit 1; }; };;
2463 esac
2464 build=$ac_cv_build
2465 ac_save_IFS=$IFS; IFS='-'
2466 set x $ac_cv_build
2467 shift
2468 build_cpu=$1
2469 build_vendor=$2
2470 shift; shift
2471 # Remember, the first character of IFS is used to create $*,
2472 # except with old shells:
2473 build_os=$*
2474 IFS=$ac_save_IFS
2475 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2476
2477
2478 { echo "$as_me:$LINENO: checking host system type" >&5
2479 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2480 if test "${ac_cv_host+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 else
2483 if test "x$host_alias" = x; then
2484 ac_cv_host=$ac_cv_build
2485 else
2486 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2487 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2488 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2489 { (exit 1); exit 1; }; }
2490 fi
2491
2492 fi
2493 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2494 echo "${ECHO_T}$ac_cv_host" >&6; }
2495 case $ac_cv_host in
2496 *-*-*) ;;
2497 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2498 echo "$as_me: error: invalid value of canonical host" >&2;}
2499 { (exit 1); exit 1; }; };;
2500 esac
2501 host=$ac_cv_host
2502 ac_save_IFS=$IFS; IFS='-'
2503 set x $ac_cv_host
2504 shift
2505 host_cpu=$1
2506 host_vendor=$2
2507 shift; shift
2508 # Remember, the first character of IFS is used to create $*,
2509 # except with old shells:
2510 host_os=$*
2511 IFS=$ac_save_IFS
2512 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2513
2514
2515 { echo "$as_me:$LINENO: checking target system type" >&5
2516 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2517 if test "${ac_cv_target+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 else
2520 if test "x$target_alias" = x; then
2521 ac_cv_target=$ac_cv_host
2522 else
2523 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2524 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2525 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2526 { (exit 1); exit 1; }; }
2527 fi
2528
2529 fi
2530 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2531 echo "${ECHO_T}$ac_cv_target" >&6; }
2532 case $ac_cv_target in
2533 *-*-*) ;;
2534 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2535 echo "$as_me: error: invalid value of canonical target" >&2;}
2536 { (exit 1); exit 1; }; };;
2537 esac
2538 target=$ac_cv_target
2539 ac_save_IFS=$IFS; IFS='-'
2540 set x $ac_cv_target
2541 shift
2542 target_cpu=$1
2543 target_vendor=$2
2544 shift; shift
2545 # Remember, the first character of IFS is used to create $*,
2546 # except with old shells:
2547 target_os=$*
2548 IFS=$ac_save_IFS
2549 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2550
2551
2552 # The aliases save the names the user supplied, while $host etc.
2553 # will get canonicalized.
2554 test -n "$target_alias" &&
2555 test "$program_prefix$program_suffix$program_transform_name" = \
2556 NONENONEs,x,x, &&
2557 program_prefix=${target_alias}-
2558
2559
2560
2561 wx_major_version_number=2
2562 wx_minor_version_number=9
2563 wx_release_number=0
2564 wx_subrelease_number=0
2565
2566 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2567 WX_VERSION=$WX_RELEASE.$wx_release_number
2568 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2569
2570 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2571
2572
2573 wx_top_builddir="`pwd`"
2574
2575
2576
2577
2578 USE_UNIX=1
2579 USE_OS2=0
2580 USE_WIN32=0
2581 USE_DOS=0
2582 USE_BEOS=0
2583 USE_MAC=0
2584
2585 USE_AIX=
2586 USE_BSD= USE_DARWIN= USE_FREEBSD=
2587 USE_GNU= USE_HPUX=
2588 USE_LINUX=
2589 USE_NETBSD=
2590 USE_OPENBSD=
2591 USE_OSF= USE_SGI=
2592 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2593 USE_ULTRIX=
2594 USE_UNIXWARE=
2595
2596 USE_ALPHA=
2597
2598 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2599
2600 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2601
2602 DEFAULT_wxUSE_COCOA=0
2603 DEFAULT_wxUSE_GTK=0
2604 DEFAULT_wxUSE_MAC=0
2605 DEFAULT_wxUSE_MGL=0
2606 DEFAULT_wxUSE_MICROWIN=0
2607 DEFAULT_wxUSE_MOTIF=0
2608 DEFAULT_wxUSE_MSW=0
2609 DEFAULT_wxUSE_PM=0
2610 DEFAULT_wxUSE_X11=0
2611 DEFAULT_wxUSE_DFB=0
2612
2613 DEFAULT_DEFAULT_wxUSE_COCOA=0
2614 DEFAULT_DEFAULT_wxUSE_GTK=0
2615 DEFAULT_DEFAULT_wxUSE_MAC=0
2616 DEFAULT_DEFAULT_wxUSE_MGL=0
2617 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2618 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2619 DEFAULT_DEFAULT_wxUSE_MSW=0
2620 DEFAULT_DEFAULT_wxUSE_PM=0
2621 DEFAULT_DEFAULT_wxUSE_X11=0
2622 DEFAULT_DEFAULT_wxUSE_DFB=0
2623
2624 PROGRAM_EXT=
2625 SO_SUFFIX=so
2626 SAMPLES_RPATH_FLAG=
2627 SAMPLES_RPATH_POSTLINK=
2628
2629 DEFAULT_STD_FLAG=yes
2630
2631 case "${host}" in
2632 *-hp-hpux* )
2633 USE_HPUX=1
2634 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2635 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2636 SO_SUFFIX=sl
2637 cat >>confdefs.h <<\_ACEOF
2638 #define __HPUX__ 1
2639 _ACEOF
2640
2641
2642 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2643 ;;
2644 *-*-linux* )
2645 USE_LINUX=1
2646 cat >>confdefs.h <<\_ACEOF
2647 #define __LINUX__ 1
2648 _ACEOF
2649
2650 TMP=`uname -m`
2651 if test "x$TMP" = "xalpha"; then
2652 USE_ALPHA=1
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __ALPHA__ 1
2655 _ACEOF
2656
2657 fi
2658 DEFAULT_DEFAULT_wxUSE_GTK=1
2659 ;;
2660 *-*-gnu* | *-*-k*bsd*-gnu )
2661 USE_GNU=1
2662 TMP=`uname -m`
2663 if test "x$TMP" = "xalpha"; then
2664 USE_ALPHA=1
2665 cat >>confdefs.h <<\_ACEOF
2666 #define __ALPHA__ 1
2667 _ACEOF
2668
2669 fi
2670 DEFAULT_DEFAULT_wxUSE_GTK=1
2671 ;;
2672 *-*-irix5* | *-*-irix6* )
2673 USE_SGI=1
2674 USE_SVR4=1
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SGI__ 1
2677 _ACEOF
2678
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __SVR4__ 1
2681 _ACEOF
2682
2683 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2684 ;;
2685 *-*-solaris2* )
2686 USE_SUN=1
2687 USE_SOLARIS=1
2688 USE_SVR4=1
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __SUN__ 1
2691 _ACEOF
2692
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SOLARIS__ 1
2695 _ACEOF
2696
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SVR4__ 1
2699 _ACEOF
2700
2701 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2702 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2703 ;;
2704 *-*-sunos4* )
2705 USE_SUN=1
2706 USE_SUNOS=1
2707 USE_BSD=1
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __SUN__ 1
2710 _ACEOF
2711
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __SUNOS__ 1
2714 _ACEOF
2715
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __BSD__ 1
2718 _ACEOF
2719
2720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2721 ;;
2722 *-*-freebsd*)
2723 USE_BSD=1
2724 USE_FREEBSD=1
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __FREEBSD__ 1
2727 _ACEOF
2728
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __BSD__ 1
2731 _ACEOF
2732
2733 DEFAULT_DEFAULT_wxUSE_GTK=1
2734 ;;
2735 *-*-openbsd*|*-*-mirbsd*)
2736 USE_BSD=1
2737 USE_OPENBSD=1
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __OPENBSD__ 1
2740 _ACEOF
2741
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __BSD__ 1
2744 _ACEOF
2745
2746 DEFAULT_DEFAULT_wxUSE_GTK=1
2747 ;;
2748 *-*-netbsd*)
2749 USE_BSD=1
2750 USE_NETBSD=1
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __NETBSD__ 1
2753 _ACEOF
2754
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __BSD__ 1
2757 _ACEOF
2758
2759 DEFAULT_DEFAULT_wxUSE_GTK=1
2760 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2761
2762 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2763 ;;
2764 *-*-osf* )
2765 USE_ALPHA=1
2766 USE_OSF=1
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __ALPHA__ 1
2769 _ACEOF
2770
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __OSF__ 1
2773 _ACEOF
2774
2775 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2776 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2777 ;;
2778 *-*-dgux5* )
2779 USE_ALPHA=1
2780 USE_SVR4=1
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __ALPHA__ 1
2783 _ACEOF
2784
2785 cat >>confdefs.h <<\_ACEOF
2786 #define __SVR4__ 1
2787 _ACEOF
2788
2789 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2790 ;;
2791 *-*-sysv5* )
2792 USE_SYSV=1
2793 USE_SVR4=1
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __SYSV__ 1
2796 _ACEOF
2797
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __SVR4__ 1
2800 _ACEOF
2801
2802 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2803 ;;
2804 *-*-aix* )
2805 USE_AIX=1
2806 USE_SYSV=1
2807 USE_SVR4=1
2808 SO_SUFFIX=a
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __AIX__ 1
2811 _ACEOF
2812
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __SYSV__ 1
2815 _ACEOF
2816
2817 cat >>confdefs.h <<\_ACEOF
2818 #define __SVR4__ 1
2819 _ACEOF
2820
2821 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2822 ;;
2823
2824 *-*-*UnixWare*)
2825 USE_SYSV=1
2826 USE_SVR4=1
2827 USE_UNIXWARE=1
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __UNIXWARE__ 1
2830 _ACEOF
2831
2832 ;;
2833
2834 *-*-cygwin* | *-*-mingw32* )
2835 SO_SUFFIX=dll
2836 PROGRAM_EXT=".exe"
2837 DEFAULT_DEFAULT_wxUSE_MSW=1
2838 ;;
2839
2840 *-pc-msdosdjgpp )
2841 USE_UNIX=0
2842 USE_DOS=1
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __DOS__ 1
2845 _ACEOF
2846
2847 PROGRAM_EXT=".exe"
2848 DEFAULT_DEFAULT_wxUSE_MGL=1
2849 ;;
2850
2851 *-pc-os2_emx | *-pc-os2-emx )
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __EMX__ 1
2854 _ACEOF
2855
2856 USE_OS2=1
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __OS2__ 1
2859 _ACEOF
2860
2861 PROGRAM_EXT=".exe"
2862 DEFAULT_DEFAULT_wxUSE_PM=1
2863 CXX=gcc
2864 LDFLAGS="$LDFLAGS -Zcrtdll"
2865 ac_executable_extensions=".exe"
2866 export ac_executable_extensions
2867 ac_save_IFS="$IFS"
2868 IFS='\\'
2869 ac_TEMP_PATH=
2870 for ac_dir in $PATH; do
2871 IFS=$ac_save_IFS
2872 if test -z "$ac_TEMP_PATH"; then
2873 ac_TEMP_PATH="$ac_dir"
2874 else
2875 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2876 fi
2877 done
2878 export PATH="$ac_TEMP_PATH"
2879 unset ac_TEMP_PATH
2880 DEFAULT_STD_FLAG=no
2881 ;;
2882
2883 *-*-darwin* )
2884 USE_BSD=1
2885 USE_DARWIN=1
2886 SO_SUFFIX=dylib
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __BSD__ 1
2889 _ACEOF
2890
2891 cat >>confdefs.h <<\_ACEOF
2892 #define __DARWIN__ 1
2893 _ACEOF
2894
2895 cat >>confdefs.h <<\_ACEOF
2896 #define TARGET_CARBON 1
2897 _ACEOF
2898
2899 DEFAULT_DEFAULT_wxUSE_MAC=1
2900 DEFAULT_STD_FLAG=no
2901 ;;
2902 powerpc-apple-macos* )
2903 USE_UNIX=0
2904 ac_cv_c_bigendian=yes
2905 SO_SUFFIX=shlib
2906 DEFAULT_DEFAULT_wxUSE_MAC=1
2907 DEFAULT_STD_FLAG=no
2908 ;;
2909
2910 *-*-beos* )
2911 USE_BEOS=1
2912 cat >>confdefs.h <<\_ACEOF
2913 #define __BEOS__ 1
2914 _ACEOF
2915
2916 ;;
2917
2918 *)
2919 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2920 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2921 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2922 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2923
2924 DEFAULT_DEFAULT_wxUSE_X11=1
2925 DEFAULT_wxUSE_SHARED=no
2926 esac
2927
2928
2929
2930
2931 wx_arg_cache_file="configarg.cache"
2932 echo "loading argument cache $wx_arg_cache_file"
2933 rm -f ${wx_arg_cache_file}.tmp
2934 touch ${wx_arg_cache_file}.tmp
2935 touch ${wx_arg_cache_file}
2936
2937
2938 DEFAULT_wxUSE_ALL_FEATURES=yes
2939
2940 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2941 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2942
2943 DEFAULT_wxUSE_DMALLOC=no
2944 DEFAULT_wxUSE_LIBGNOMEVFS=no
2945 DEFAULT_wxUSE_LIBHILDON=no
2946 DEFAULT_wxUSE_LIBMSPACK=no
2947 DEFAULT_wxUSE_LIBSDL=no
2948 DEFAULT_wxUSE_ODBC=no
2949 DEFAULT_wxUSE_OPENGL=no
2950
2951 DEFAULT_wxUSE_ACCESSIBILITY=no
2952 DEFAULT_wxUSE_DATAVIEWCTRL=no
2953 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2954 DEFAULT_wxUSE_MEDIACTRL=no
2955 DEFAULT_wxUSE_TAB_DIALOG=no
2956
2957 DEFAULT_wxUSE_UNICODE_UTF8=auto
2958 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2959
2960 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2961
2962 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2963
2964 DEFAULT_wxUSE_GTK2=yes
2965
2966 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2967
2968
2969 for toolkit in `echo $ALL_TOOLKITS`; do
2970 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2971 if test "x$LINE" != "x" ; then
2972 has_toolkit_in_cache=1
2973 eval "DEFAULT_$LINE"
2974 eval "CACHE_$toolkit=1"
2975
2976 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2977 if test "x$LINE" != "x" ; then
2978 eval "DEFAULT_$LINE"
2979 fi
2980 fi
2981 done
2982
2983
2984
2985
2986
2987 enablestring=disable
2988 defaultval=
2989 if test -z "$defaultval"; then
2990 if test x"$enablestring" = xdisable; then
2991 defaultval=yes
2992 else
2993 defaultval=no
2994 fi
2995 fi
2996
2997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2998 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2999 # Check whether --enable-gui was given.
3000 if test "${enable_gui+set}" = set; then
3001 enableval=$enable_gui;
3002 if test "$enableval" = yes; then
3003 wx_cv_use_gui='wxUSE_GUI=yes'
3004 else
3005 wx_cv_use_gui='wxUSE_GUI=no'
3006 fi
3007 cache=yes
3008
3009 else
3010
3011 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3012 if test "x$LINE" != x ; then
3013 eval "DEFAULT_$LINE"
3014 cache=yes
3015 else
3016 cache=no
3017 fi
3018
3019 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3020
3021 fi
3022
3023
3024 eval "$wx_cv_use_gui"
3025 if test "x$cache" = xyes; then
3026 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3027 fi
3028
3029 if test x"$enablestring" = xdisable; then
3030 if test $wxUSE_GUI = yes; then
3031 result=no
3032 else
3033 result=yes
3034 fi
3035 else
3036 result=$wxUSE_GUI
3037 fi
3038
3039 { echo "$as_me:$LINENO: result: $result" >&5
3040 echo "${ECHO_T}$result" >&6; }
3041
3042
3043 enablestring=
3044 defaultval=
3045 if test -z "$defaultval"; then
3046 if test x"$enablestring" = xdisable; then
3047 defaultval=yes
3048 else
3049 defaultval=no
3050 fi
3051 fi
3052
3053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3054 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3055 # Check whether --enable-monolithic was given.
3056 if test "${enable_monolithic+set}" = set; then
3057 enableval=$enable_monolithic;
3058 if test "$enableval" = yes; then
3059 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3060 else
3061 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3062 fi
3063 cache=yes
3064
3065 else
3066
3067 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3068 if test "x$LINE" != x ; then
3069 eval "DEFAULT_$LINE"
3070 cache=yes
3071 else
3072 cache=no
3073 fi
3074
3075 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3076
3077 fi
3078
3079
3080 eval "$wx_cv_use_monolithic"
3081 if test "x$cache" = xyes; then
3082 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3083 fi
3084
3085 if test x"$enablestring" = xdisable; then
3086 if test $wxUSE_MONOLITHIC = yes; then
3087 result=no
3088 else
3089 result=yes
3090 fi
3091 else
3092 result=$wxUSE_MONOLITHIC
3093 fi
3094
3095 { echo "$as_me:$LINENO: result: $result" >&5
3096 echo "${ECHO_T}$result" >&6; }
3097
3098
3099 enablestring=
3100 defaultval=
3101 if test -z "$defaultval"; then
3102 if test x"$enablestring" = xdisable; then
3103 defaultval=yes
3104 else
3105 defaultval=no
3106 fi
3107 fi
3108
3109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3110 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3111 # Check whether --enable-plugins was given.
3112 if test "${enable_plugins+set}" = set; then
3113 enableval=$enable_plugins;
3114 if test "$enableval" = yes; then
3115 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3116 else
3117 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3118 fi
3119 cache=yes
3120
3121 else
3122
3123 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3124 if test "x$LINE" != x ; then
3125 eval "DEFAULT_$LINE"
3126 cache=yes
3127 else
3128 cache=no
3129 fi
3130
3131 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3132
3133 fi
3134
3135
3136 eval "$wx_cv_use_plugins"
3137 if test "x$cache" = xyes; then
3138 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3139 fi
3140
3141 if test x"$enablestring" = xdisable; then
3142 if test $wxUSE_PLUGINS = yes; then
3143 result=no
3144 else
3145 result=yes
3146 fi
3147 else
3148 result=$wxUSE_PLUGINS
3149 fi
3150
3151 { echo "$as_me:$LINENO: result: $result" >&5
3152 echo "${ECHO_T}$result" >&6; }
3153
3154
3155 withstring=without
3156 defaultval=$wxUSE_ALL_FEATURES
3157 if test -z "$defaultval"; then
3158 if test x"$withstring" = xwithout; then
3159 defaultval=yes
3160 else
3161 defaultval=no
3162 fi
3163 fi
3164 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3165 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3166
3167 # Check whether --with-subdirs was given.
3168 if test "${with_subdirs+set}" = set; then
3169 withval=$with_subdirs;
3170 if test "$withval" = yes; then
3171 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3172 else
3173 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3174 fi
3175 cache=yes
3176
3177 else
3178
3179 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3180 if test "x$LINE" != x ; then
3181 eval "DEFAULT_$LINE"
3182 cache=yes
3183 else
3184 cache=no
3185 fi
3186
3187 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3188
3189 fi
3190
3191
3192 eval "$wx_cv_use_subdirs"
3193 if test "x$cache" = xyes; then
3194 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3195 fi
3196
3197 if test x"$withstring" = xwithout; then
3198 if test $wxWITH_SUBDIRS = yes; then
3199 result=no
3200 else
3201 result=yes
3202 fi
3203 else
3204 result=$wxWITH_SUBDIRS
3205 fi
3206
3207 { echo "$as_me:$LINENO: result: $result" >&5
3208 echo "${ECHO_T}$result" >&6; }
3209
3210
3211 # Check whether --with-flavour was given.
3212 if test "${with_flavour+set}" = set; then
3213 withval=$with_flavour; WX_FLAVOUR="$withval"
3214 fi
3215
3216
3217 enablestring=
3218 defaultval=
3219 if test -z "$defaultval"; then
3220 if test x"$enablestring" = xdisable; then
3221 defaultval=yes
3222 else
3223 defaultval=no
3224 fi
3225 fi
3226
3227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3228 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3229 # Check whether --enable-official_build was given.
3230 if test "${enable_official_build+set}" = set; then
3231 enableval=$enable_official_build;
3232 if test "$enableval" = yes; then
3233 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3234 else
3235 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3236 fi
3237 cache=yes
3238
3239 else
3240
3241 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x ; then
3243 eval "DEFAULT_$LINE"
3244 cache=yes
3245 else
3246 cache=no
3247 fi
3248
3249 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3250
3251 fi
3252
3253
3254 eval "$wx_cv_use_official_build"
3255 if test "x$cache" = xyes; then
3256 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3257 fi
3258
3259 if test x"$enablestring" = xdisable; then
3260 if test $wxUSE_OFFICIAL_BUILD = yes; then
3261 result=no
3262 else
3263 result=yes
3264 fi
3265 else
3266 result=$wxUSE_OFFICIAL_BUILD
3267 fi
3268
3269 { echo "$as_me:$LINENO: result: $result" >&5
3270 echo "${ECHO_T}$result" >&6; }
3271
3272 # Check whether --enable-vendor was given.
3273 if test "${enable_vendor+set}" = set; then
3274 enableval=$enable_vendor; VENDOR="$enableval"
3275 fi
3276
3277 if test "x$VENDOR" = "x"; then
3278 VENDOR="custom"
3279 fi
3280
3281
3282 enablestring=disable
3283 defaultval=
3284 if test -z "$defaultval"; then
3285 if test x"$enablestring" = xdisable; then
3286 defaultval=yes
3287 else
3288 defaultval=no
3289 fi
3290 fi
3291
3292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3293 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3294 # Check whether --enable-all-features was given.
3295 if test "${enable_all_features+set}" = set; then
3296 enableval=$enable_all_features;
3297 if test "$enableval" = yes; then
3298 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3299 else
3300 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3301 fi
3302 cache=yes
3303
3304 else
3305
3306 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x ; then
3308 eval "DEFAULT_$LINE"
3309 cache=yes
3310 else
3311 cache=no
3312 fi
3313
3314 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3315
3316 fi
3317
3318
3319 eval "$wx_cv_use_all_features"
3320 if test "x$cache" = xyes; then
3321 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3322 fi
3323
3324 if test x"$enablestring" = xdisable; then
3325 if test $wxUSE_ALL_FEATURES = yes; then
3326 result=no
3327 else
3328 result=yes
3329 fi
3330 else
3331 result=$wxUSE_ALL_FEATURES
3332 fi
3333
3334 { echo "$as_me:$LINENO: result: $result" >&5
3335 echo "${ECHO_T}$result" >&6; }
3336
3337
3338
3339 if test "$wxUSE_GUI" = "yes"; then
3340
3341
3342 enablestring=
3343 defaultval=
3344 if test -z "$defaultval"; then
3345 if test x"$enablestring" = xdisable; then
3346 defaultval=yes
3347 else
3348 defaultval=no
3349 fi
3350 fi
3351
3352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3353 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3354 # Check whether --enable-universal was given.
3355 if test "${enable_universal+set}" = set; then
3356 enableval=$enable_universal;
3357 if test "$enableval" = yes; then
3358 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3359 else
3360 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3361 fi
3362 cache=yes
3363
3364 else
3365
3366 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x ; then
3368 eval "DEFAULT_$LINE"
3369 cache=yes
3370 else
3371 cache=no
3372 fi
3373
3374 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3375
3376 fi
3377
3378
3379 eval "$wx_cv_use_universal"
3380 if test "x$cache" = xyes; then
3381 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3382 fi
3383
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_UNIVERSAL = yes; then
3386 result=no
3387 else
3388 result=yes
3389 fi
3390 else
3391 result=$wxUSE_UNIVERSAL
3392 fi
3393
3394 { echo "$as_me:$LINENO: result: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3396
3397 if test "$wxUSE_UNIVERSAL" = "yes"; then
3398
3399 # Check whether --with-themes was given.
3400 if test "${with_themes+set}" = set; then
3401 withval=$with_themes; wxUNIV_THEMES="$withval"
3402 fi
3403
3404 fi
3405
3406
3407 # Check whether --with-gtk was given.
3408 if test "${with_gtk+set}" = set; then
3409 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-motif was given.
3414 if test "${with_motif+set}" = set; then
3415 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-mac was given.
3420 if test "${with_mac+set}" = set; then
3421 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3422 fi
3423
3424
3425 # Check whether --with-cocoa was given.
3426 if test "${with_cocoa+set}" = set; then
3427 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-wine was given.
3432 if test "${with_wine+set}" = set; then
3433 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3434 fi
3435
3436
3437 # Check whether --with-msw was given.
3438 if test "${with_msw+set}" = set; then
3439 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 # Check whether --with-pm was given.
3444 if test "${with_pm+set}" = set; then
3445 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3446 fi
3447
3448
3449 # Check whether --with-mgl was given.
3450 if test "${with_mgl+set}" = set; then
3451 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3452 fi
3453
3454
3455 # Check whether --with-directfb was given.
3456 if test "${with_directfb+set}" = set; then
3457 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3458 fi
3459
3460
3461 # Check whether --with-microwin was given.
3462 if test "${with_microwin+set}" = set; then
3463 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3464 fi
3465
3466
3467 # Check whether --with-x11 was given.
3468 if test "${with_x11+set}" = set; then
3469 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3470 fi
3471
3472
3473 enablestring=
3474 defaultval=
3475 if test -z "$defaultval"; then
3476 if test x"$enablestring" = xdisable; then
3477 defaultval=yes
3478 else
3479 defaultval=no
3480 fi
3481 fi
3482
3483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3484 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3485 # Check whether --enable-nanox was given.
3486 if test "${enable_nanox+set}" = set; then
3487 enableval=$enable_nanox;
3488 if test "$enableval" = yes; then
3489 wx_cv_use_nanox='wxUSE_NANOX=yes'
3490 else
3491 wx_cv_use_nanox='wxUSE_NANOX=no'
3492 fi
3493 cache=yes
3494
3495 else
3496
3497 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x ; then
3499 eval "DEFAULT_$LINE"
3500 cache=yes
3501 else
3502 cache=no
3503 fi
3504
3505 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3506
3507 fi
3508
3509
3510 eval "$wx_cv_use_nanox"
3511 if test "x$cache" = xyes; then
3512 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3513 fi
3514
3515 if test x"$enablestring" = xdisable; then
3516 if test $wxUSE_NANOX = yes; then
3517 result=no
3518 else
3519 result=yes
3520 fi
3521 else
3522 result=$wxUSE_NANOX
3523 fi
3524
3525 { echo "$as_me:$LINENO: result: $result" >&5
3526 echo "${ECHO_T}$result" >&6; }
3527
3528
3529 # Check whether --enable-gtk2 was given.
3530 if test "${enable_gtk2+set}" = set; then
3531 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3532 fi
3533
3534
3535 enablestring=
3536 defaultval=
3537 if test -z "$defaultval"; then
3538 if test x"$enablestring" = xdisable; then
3539 defaultval=yes
3540 else
3541 defaultval=no
3542 fi
3543 fi
3544
3545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3546 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3547 # Check whether --enable-gpe was given.
3548 if test "${enable_gpe+set}" = set; then
3549 enableval=$enable_gpe;
3550 if test "$enableval" = yes; then
3551 wx_cv_use_gpe='wxUSE_GPE=yes'
3552 else
3553 wx_cv_use_gpe='wxUSE_GPE=no'
3554 fi
3555 cache=yes
3556
3557 else
3558
3559 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3560 if test "x$LINE" != x ; then
3561 eval "DEFAULT_$LINE"
3562 cache=yes
3563 else
3564 cache=no
3565 fi
3566
3567 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3568
3569 fi
3570
3571
3572 eval "$wx_cv_use_gpe"
3573 if test "x$cache" = xyes; then
3574 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3575 fi
3576
3577 if test x"$enablestring" = xdisable; then
3578 if test $wxUSE_GPE = yes; then
3579 result=no
3580 else
3581 result=yes
3582 fi
3583 else
3584 result=$wxUSE_GPE
3585 fi
3586
3587 { echo "$as_me:$LINENO: result: $result" >&5
3588 echo "${ECHO_T}$result" >&6; }
3589
3590
3591
3592
3593 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3594 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3595
3596 # Check whether --with-libpng was given.
3597 if test "${with_libpng+set}" = set; then
3598 withval=$with_libpng;
3599 if test "$withval" = yes; then
3600 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3601 elif test "$withval" = no; then
3602 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3603 elif test "$withval" = sys; then
3604 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3605 elif test "$withval" = builtin; then
3606 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3607 else
3608 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3609 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3610 { (exit 1); exit 1; }; }
3611 fi
3612 cache=yes
3613
3614 else
3615
3616 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3617 if test "x$LINE" != x ; then
3618 eval "DEFAULT_$LINE"
3619 cache=yes
3620 else
3621 cache=no
3622 fi
3623
3624 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3625
3626 fi
3627
3628
3629 eval "$wx_cv_use_libpng"
3630 if test "x$cache" = xyes; then
3631 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3632 fi
3633
3634 if test "$wxUSE_LIBPNG" = yes; then
3635 { echo "$as_me:$LINENO: result: yes" >&5
3636 echo "${ECHO_T}yes" >&6; }
3637 elif test "$wxUSE_LIBPNG" = no; then
3638 { echo "$as_me:$LINENO: result: no" >&5
3639 echo "${ECHO_T}no" >&6; }
3640 elif test "$wxUSE_LIBPNG" = sys; then
3641 { echo "$as_me:$LINENO: result: system version" >&5
3642 echo "${ECHO_T}system version" >&6; }
3643 elif test "$wxUSE_LIBPNG" = builtin; then
3644 { echo "$as_me:$LINENO: result: builtin version" >&5
3645 echo "${ECHO_T}builtin version" >&6; }
3646 else
3647 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3648 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3649 { (exit 1); exit 1; }; }
3650 fi
3651
3652
3653 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3654 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3655
3656 # Check whether --with-libjpeg was given.
3657 if test "${with_libjpeg+set}" = set; then
3658 withval=$with_libjpeg;
3659 if test "$withval" = yes; then
3660 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3661 elif test "$withval" = no; then
3662 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3663 elif test "$withval" = sys; then
3664 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3665 elif test "$withval" = builtin; then
3666 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3667 else
3668 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3669 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3670 { (exit 1); exit 1; }; }
3671 fi
3672 cache=yes
3673
3674 else
3675
3676 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3677 if test "x$LINE" != x ; then
3678 eval "DEFAULT_$LINE"
3679 cache=yes
3680 else
3681 cache=no
3682 fi
3683
3684 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3685
3686 fi
3687
3688
3689 eval "$wx_cv_use_libjpeg"
3690 if test "x$cache" = xyes; then
3691 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3692 fi
3693
3694 if test "$wxUSE_LIBJPEG" = yes; then
3695 { echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6; }
3697 elif test "$wxUSE_LIBJPEG" = no; then
3698 { echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6; }
3700 elif test "$wxUSE_LIBJPEG" = sys; then
3701 { echo "$as_me:$LINENO: result: system version" >&5
3702 echo "${ECHO_T}system version" >&6; }
3703 elif test "$wxUSE_LIBJPEG" = builtin; then
3704 { echo "$as_me:$LINENO: result: builtin version" >&5
3705 echo "${ECHO_T}builtin version" >&6; }
3706 else
3707 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3708 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3710 fi
3711
3712
3713 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3714 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3715
3716 # Check whether --with-libtiff was given.
3717 if test "${with_libtiff+set}" = set; then
3718 withval=$with_libtiff;
3719 if test "$withval" = yes; then
3720 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3721 elif test "$withval" = no; then
3722 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3723 elif test "$withval" = sys; then
3724 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3725 elif test "$withval" = builtin; then
3726 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3727 else
3728 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3729 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3730 { (exit 1); exit 1; }; }
3731 fi
3732 cache=yes
3733
3734 else
3735
3736 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x ; then
3738 eval "DEFAULT_$LINE"
3739 cache=yes
3740 else
3741 cache=no
3742 fi
3743
3744 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3745
3746 fi
3747
3748
3749 eval "$wx_cv_use_libtiff"
3750 if test "x$cache" = xyes; then
3751 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3752 fi
3753
3754 if test "$wxUSE_LIBTIFF" = yes; then
3755 { echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6; }
3757 elif test "$wxUSE_LIBTIFF" = no; then
3758 { echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6; }
3760 elif test "$wxUSE_LIBTIFF" = sys; then
3761 { echo "$as_me:$LINENO: result: system version" >&5
3762 echo "${ECHO_T}system version" >&6; }
3763 elif test "$wxUSE_LIBTIFF" = builtin; then
3764 { echo "$as_me:$LINENO: result: builtin version" >&5
3765 echo "${ECHO_T}builtin version" >&6; }
3766 else
3767 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3768 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3769 { (exit 1); exit 1; }; }
3770 fi
3771
3772
3773 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3774 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3775
3776 # Check whether --with-libxpm was given.
3777 if test "${with_libxpm+set}" = set; then
3778 withval=$with_libxpm;
3779 if test "$withval" = yes; then
3780 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3781 elif test "$withval" = no; then
3782 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3783 elif test "$withval" = sys; then
3784 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3785 elif test "$withval" = builtin; then
3786 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3787 else
3788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3789 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3790 { (exit 1); exit 1; }; }
3791 fi
3792 cache=yes
3793
3794 else
3795
3796 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3797 if test "x$LINE" != x ; then
3798 eval "DEFAULT_$LINE"
3799 cache=yes
3800 else
3801 cache=no
3802 fi
3803
3804 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3805
3806 fi
3807
3808
3809 eval "$wx_cv_use_libxpm"
3810 if test "x$cache" = xyes; then
3811 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3812 fi
3813
3814 if test "$wxUSE_LIBXPM" = yes; then
3815 { echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6; }
3817 elif test "$wxUSE_LIBXPM" = no; then
3818 { echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6; }
3820 elif test "$wxUSE_LIBXPM" = sys; then
3821 { echo "$as_me:$LINENO: result: system version" >&5
3822 echo "${ECHO_T}system version" >&6; }
3823 elif test "$wxUSE_LIBXPM" = builtin; then
3824 { echo "$as_me:$LINENO: result: builtin version" >&5
3825 echo "${ECHO_T}builtin version" >&6; }
3826 else
3827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3828 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3829 { (exit 1); exit 1; }; }
3830 fi
3831
3832
3833 withstring=
3834 defaultval=$wxUSE_ALL_FEATURES
3835 if test -z "$defaultval"; then
3836 if test x"$withstring" = xwithout; then
3837 defaultval=yes
3838 else
3839 defaultval=no
3840 fi
3841 fi
3842 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3843 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3844
3845 # Check whether --with-libmspack was given.
3846 if test "${with_libmspack+set}" = set; then
3847 withval=$with_libmspack;
3848 if test "$withval" = yes; then
3849 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3850 else
3851 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3852 fi
3853 cache=yes
3854
3855 else
3856
3857 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x ; then
3859 eval "DEFAULT_$LINE"
3860 cache=yes
3861 else
3862 cache=no
3863 fi
3864
3865 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3866
3867 fi
3868
3869
3870 eval "$wx_cv_use_libmspack"
3871 if test "x$cache" = xyes; then
3872 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3873 fi
3874
3875 if test x"$withstring" = xwithout; then
3876 if test $wxUSE_LIBMSPACK = yes; then
3877 result=no
3878 else
3879 result=yes
3880 fi
3881 else
3882 result=$wxUSE_LIBMSPACK
3883 fi
3884
3885 { echo "$as_me:$LINENO: result: $result" >&5
3886 echo "${ECHO_T}$result" >&6; }
3887
3888
3889 withstring=without
3890 defaultval=$wxUSE_ALL_FEATURES
3891 if test -z "$defaultval"; then
3892 if test x"$withstring" = xwithout; then
3893 defaultval=yes
3894 else
3895 defaultval=no
3896 fi
3897 fi
3898 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3899 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3900
3901 # Check whether --with-gtkprint was given.
3902 if test "${with_gtkprint+set}" = set; then
3903 withval=$with_gtkprint;
3904 if test "$withval" = yes; then
3905 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3906 else
3907 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3908 fi
3909 cache=yes
3910
3911 else
3912
3913 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x ; then
3915 eval "DEFAULT_$LINE"
3916 cache=yes
3917 else
3918 cache=no
3919 fi
3920
3921 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3922
3923 fi
3924
3925
3926 eval "$wx_cv_use_gtkprint"
3927 if test "x$cache" = xyes; then
3928 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3929 fi
3930
3931 if test x"$withstring" = xwithout; then
3932 if test $wxUSE_GTKPRINT = yes; then
3933 result=no
3934 else
3935 result=yes
3936 fi
3937 else
3938 result=$wxUSE_GTKPRINT
3939 fi
3940
3941 { echo "$as_me:$LINENO: result: $result" >&5
3942 echo "${ECHO_T}$result" >&6; }
3943
3944
3945 withstring=without
3946 defaultval=$wxUSE_ALL_FEATURES
3947 if test -z "$defaultval"; then
3948 if test x"$withstring" = xwithout; then
3949 defaultval=yes
3950 else
3951 defaultval=no
3952 fi
3953 fi
3954 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3955 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3956
3957 # Check whether --with-gnomeprint was given.
3958 if test "${with_gnomeprint+set}" = set; then
3959 withval=$with_gnomeprint;
3960 if test "$withval" = yes; then
3961 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3962 else
3963 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3964 fi
3965 cache=yes
3966
3967 else
3968
3969 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3970 if test "x$LINE" != x ; then
3971 eval "DEFAULT_$LINE"
3972 cache=yes
3973 else
3974 cache=no
3975 fi
3976
3977 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3978
3979 fi
3980
3981
3982 eval "$wx_cv_use_gnomeprint"
3983 if test "x$cache" = xyes; then
3984 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3985 fi
3986
3987 if test x"$withstring" = xwithout; then
3988 if test $wxUSE_LIBGNOMEPRINT = yes; then
3989 result=no
3990 else
3991 result=yes
3992 fi
3993 else
3994 result=$wxUSE_LIBGNOMEPRINT
3995 fi
3996
3997 { echo "$as_me:$LINENO: result: $result" >&5
3998 echo "${ECHO_T}$result" >&6; }
3999
4000
4001 withstring=
4002 defaultval=$wxUSE_ALL_FEATURES
4003 if test -z "$defaultval"; then
4004 if test x"$withstring" = xwithout; then
4005 defaultval=yes
4006 else
4007 defaultval=no
4008 fi
4009 fi
4010 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4011 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4012
4013 # Check whether --with-gnomevfs was given.
4014 if test "${with_gnomevfs+set}" = set; then
4015 withval=$with_gnomevfs;
4016 if test "$withval" = yes; then
4017 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4018 else
4019 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4020 fi
4021 cache=yes
4022
4023 else
4024
4025 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x ; then
4027 eval "DEFAULT_$LINE"
4028 cache=yes
4029 else
4030 cache=no
4031 fi
4032
4033 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4034
4035 fi
4036
4037
4038 eval "$wx_cv_use_gnomevfs"
4039 if test "x$cache" = xyes; then
4040 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test x"$withstring" = xwithout; then
4044 if test $wxUSE_LIBGNOMEVFS = yes; then
4045 result=no
4046 else
4047 result=yes
4048 fi
4049 else
4050 result=$wxUSE_LIBGNOMEVFS
4051 fi
4052
4053 { echo "$as_me:$LINENO: result: $result" >&5
4054 echo "${ECHO_T}$result" >&6; }
4055
4056
4057 withstring=
4058 defaultval=$wxUSE_ALL_FEATURES
4059 if test -z "$defaultval"; then
4060 if test x"$withstring" = xwithout; then
4061 defaultval=yes
4062 else
4063 defaultval=no
4064 fi
4065 fi
4066 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4067 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4068
4069 # Check whether --with-hildon was given.
4070 if test "${with_hildon+set}" = set; then
4071 withval=$with_hildon;
4072 if test "$withval" = yes; then
4073 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4074 else
4075 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4076 fi
4077 cache=yes
4078
4079 else
4080
4081 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4082 if test "x$LINE" != x ; then
4083 eval "DEFAULT_$LINE"
4084 cache=yes
4085 else
4086 cache=no
4087 fi
4088
4089 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4090
4091 fi
4092
4093
4094 eval "$wx_cv_use_hildon"
4095 if test "x$cache" = xyes; then
4096 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4097 fi
4098
4099 if test x"$withstring" = xwithout; then
4100 if test $wxUSE_LIBHILDON = yes; then
4101 result=no
4102 else
4103 result=yes
4104 fi
4105 else
4106 result=$wxUSE_LIBHILDON
4107 fi
4108
4109 { echo "$as_me:$LINENO: result: $result" >&5
4110 echo "${ECHO_T}$result" >&6; }
4111
4112
4113 withstring=
4114 defaultval=$wxUSE_ALL_FEATURES
4115 if test -z "$defaultval"; then
4116 if test x"$withstring" = xwithout; then
4117 defaultval=yes
4118 else
4119 defaultval=no
4120 fi
4121 fi
4122 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4123 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4124
4125 # Check whether --with-opengl was given.
4126 if test "${with_opengl+set}" = set; then
4127 withval=$with_opengl;
4128 if test "$withval" = yes; then
4129 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4130 else
4131 wx_cv_use_opengl='wxUSE_OPENGL=no'
4132 fi
4133 cache=yes
4134
4135 else
4136
4137 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x ; then
4139 eval "DEFAULT_$LINE"
4140 cache=yes
4141 else
4142 cache=no
4143 fi
4144
4145 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4146
4147 fi
4148
4149
4150 eval "$wx_cv_use_opengl"
4151 if test "x$cache" = xyes; then
4152 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4153 fi
4154
4155 if test x"$withstring" = xwithout; then
4156 if test $wxUSE_OPENGL = yes; then
4157 result=no
4158 else
4159 result=yes
4160 fi
4161 else
4162 result=$wxUSE_OPENGL
4163 fi
4164
4165 { echo "$as_me:$LINENO: result: $result" >&5
4166 echo "${ECHO_T}$result" >&6; }
4167
4168
4169 fi
4170
4171
4172 withstring=
4173 defaultval=$wxUSE_ALL_FEATURES
4174 if test -z "$defaultval"; then
4175 if test x"$withstring" = xwithout; then
4176 defaultval=yes
4177 else
4178 defaultval=no
4179 fi
4180 fi
4181 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4182 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4183
4184 # Check whether --with-dmalloc was given.
4185 if test "${with_dmalloc+set}" = set; then
4186 withval=$with_dmalloc;
4187 if test "$withval" = yes; then
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4189 else
4190 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4191 fi
4192 cache=yes
4193
4194 else
4195
4196 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x ; then
4198 eval "DEFAULT_$LINE"
4199 cache=yes
4200 else
4201 cache=no
4202 fi
4203
4204 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4205
4206 fi
4207
4208
4209 eval "$wx_cv_use_dmalloc"
4210 if test "x$cache" = xyes; then
4211 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4212 fi
4213
4214 if test x"$withstring" = xwithout; then
4215 if test $wxUSE_DMALLOC = yes; then
4216 result=no
4217 else
4218 result=yes
4219 fi
4220 else
4221 result=$wxUSE_DMALLOC
4222 fi
4223
4224 { echo "$as_me:$LINENO: result: $result" >&5
4225 echo "${ECHO_T}$result" >&6; }
4226
4227
4228 withstring=
4229 defaultval=$wxUSE_ALL_FEATURES
4230 if test -z "$defaultval"; then
4231 if test x"$withstring" = xwithout; then
4232 defaultval=yes
4233 else
4234 defaultval=no
4235 fi
4236 fi
4237 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4238 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4239
4240 # Check whether --with-sdl was given.
4241 if test "${with_sdl+set}" = set; then
4242 withval=$with_sdl;
4243 if test "$withval" = yes; then
4244 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4245 else
4246 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4247 fi
4248 cache=yes
4249
4250 else
4251
4252 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x ; then
4254 eval "DEFAULT_$LINE"
4255 cache=yes
4256 else
4257 cache=no
4258 fi
4259
4260 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4261
4262 fi
4263
4264
4265 eval "$wx_cv_use_sdl"
4266 if test "x$cache" = xyes; then
4267 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4268 fi
4269
4270 if test x"$withstring" = xwithout; then
4271 if test $wxUSE_LIBSDL = yes; then
4272 result=no
4273 else
4274 result=yes
4275 fi
4276 else
4277 result=$wxUSE_LIBSDL
4278 fi
4279
4280 { echo "$as_me:$LINENO: result: $result" >&5
4281 echo "${ECHO_T}$result" >&6; }
4282
4283
4284 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4285 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4286
4287 # Check whether --with-regex was given.
4288 if test "${with_regex+set}" = set; then
4289 withval=$with_regex;
4290 if test "$withval" = yes; then
4291 wx_cv_use_regex='wxUSE_REGEX=yes'
4292 elif test "$withval" = no; then
4293 wx_cv_use_regex='wxUSE_REGEX=no'
4294 elif test "$withval" = sys; then
4295 wx_cv_use_regex='wxUSE_REGEX=sys'
4296 elif test "$withval" = builtin; then
4297 wx_cv_use_regex='wxUSE_REGEX=builtin'
4298 else
4299 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4300 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4301 { (exit 1); exit 1; }; }
4302 fi
4303 cache=yes
4304
4305 else
4306
4307 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x ; then
4309 eval "DEFAULT_$LINE"
4310 cache=yes
4311 else
4312 cache=no
4313 fi
4314
4315 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4316
4317 fi
4318
4319
4320 eval "$wx_cv_use_regex"
4321 if test "x$cache" = xyes; then
4322 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4323 fi
4324
4325 if test "$wxUSE_REGEX" = yes; then
4326 { echo "$as_me:$LINENO: result: yes" >&5
4327 echo "${ECHO_T}yes" >&6; }
4328 elif test "$wxUSE_REGEX" = no; then
4329 { echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6; }
4331 elif test "$wxUSE_REGEX" = sys; then
4332 { echo "$as_me:$LINENO: result: system version" >&5
4333 echo "${ECHO_T}system version" >&6; }
4334 elif test "$wxUSE_REGEX" = builtin; then
4335 { echo "$as_me:$LINENO: result: builtin version" >&5
4336 echo "${ECHO_T}builtin version" >&6; }
4337 else
4338 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4339 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4340 { (exit 1); exit 1; }; }
4341 fi
4342
4343
4344 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4345 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4346
4347 # Check whether --with-zlib was given.
4348 if test "${with_zlib+set}" = set; then
4349 withval=$with_zlib;
4350 if test "$withval" = yes; then
4351 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4352 elif test "$withval" = no; then
4353 wx_cv_use_zlib='wxUSE_ZLIB=no'
4354 elif test "$withval" = sys; then
4355 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4356 elif test "$withval" = builtin; then
4357 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4358 else
4359 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4360 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4361 { (exit 1); exit 1; }; }
4362 fi
4363 cache=yes
4364
4365 else
4366
4367 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x ; then
4369 eval "DEFAULT_$LINE"
4370 cache=yes
4371 else
4372 cache=no
4373 fi
4374
4375 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4376
4377 fi
4378
4379
4380 eval "$wx_cv_use_zlib"
4381 if test "x$cache" = xyes; then
4382 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4383 fi
4384
4385 if test "$wxUSE_ZLIB" = yes; then
4386 { echo "$as_me:$LINENO: result: yes" >&5
4387 echo "${ECHO_T}yes" >&6; }
4388 elif test "$wxUSE_ZLIB" = no; then
4389 { echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6; }
4391 elif test "$wxUSE_ZLIB" = sys; then
4392 { echo "$as_me:$LINENO: result: system version" >&5
4393 echo "${ECHO_T}system version" >&6; }
4394 elif test "$wxUSE_ZLIB" = builtin; then
4395 { echo "$as_me:$LINENO: result: builtin version" >&5
4396 echo "${ECHO_T}builtin version" >&6; }
4397 else
4398 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4399 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4400 { (exit 1); exit 1; }; }
4401 fi
4402
4403
4404 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4405 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4406
4407 # Check whether --with-odbc was given.
4408 if test "${with_odbc+set}" = set; then
4409 withval=$with_odbc;
4410 if test "$withval" = yes; then
4411 wx_cv_use_odbc='wxUSE_ODBC=yes'
4412 elif test "$withval" = no; then
4413 wx_cv_use_odbc='wxUSE_ODBC=no'
4414 elif test "$withval" = sys; then
4415 wx_cv_use_odbc='wxUSE_ODBC=sys'
4416 elif test "$withval" = builtin; then
4417 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4418 else
4419 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4420 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4421 { (exit 1); exit 1; }; }
4422 fi
4423 cache=yes
4424
4425 else
4426
4427 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x ; then
4429 eval "DEFAULT_$LINE"
4430 cache=yes
4431 else
4432 cache=no
4433 fi
4434
4435 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4436
4437 fi
4438
4439
4440 eval "$wx_cv_use_odbc"
4441 if test "x$cache" = xyes; then
4442 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4443 fi
4444
4445 if test "$wxUSE_ODBC" = yes; then
4446 { echo "$as_me:$LINENO: result: yes" >&5
4447 echo "${ECHO_T}yes" >&6; }
4448 elif test "$wxUSE_ODBC" = no; then
4449 { echo "$as_me:$LINENO: result: no" >&5
4450 echo "${ECHO_T}no" >&6; }
4451 elif test "$wxUSE_ODBC" = sys; then
4452 { echo "$as_me:$LINENO: result: system version" >&5
4453 echo "${ECHO_T}system version" >&6; }
4454 elif test "$wxUSE_ODBC" = builtin; then
4455 { echo "$as_me:$LINENO: result: builtin version" >&5
4456 echo "${ECHO_T}builtin version" >&6; }
4457 else
4458 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4459 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4460 { (exit 1); exit 1; }; }
4461 fi
4462
4463
4464 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4465 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4466
4467 # Check whether --with-expat was given.
4468 if test "${with_expat+set}" = set; then
4469 withval=$with_expat;
4470 if test "$withval" = yes; then
4471 wx_cv_use_expat='wxUSE_EXPAT=yes'
4472 elif test "$withval" = no; then
4473 wx_cv_use_expat='wxUSE_EXPAT=no'
4474 elif test "$withval" = sys; then
4475 wx_cv_use_expat='wxUSE_EXPAT=sys'
4476 elif test "$withval" = builtin; then
4477 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4478 else
4479 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4480 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4481 { (exit 1); exit 1; }; }
4482 fi
4483 cache=yes
4484
4485 else
4486
4487 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x ; then
4489 eval "DEFAULT_$LINE"
4490 cache=yes
4491 else
4492 cache=no
4493 fi
4494
4495 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4496
4497 fi
4498
4499
4500 eval "$wx_cv_use_expat"
4501 if test "x$cache" = xyes; then
4502 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4503 fi
4504
4505 if test "$wxUSE_EXPAT" = yes; then
4506 { echo "$as_me:$LINENO: result: yes" >&5
4507 echo "${ECHO_T}yes" >&6; }
4508 elif test "$wxUSE_EXPAT" = no; then
4509 { echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6; }
4511 elif test "$wxUSE_EXPAT" = sys; then
4512 { echo "$as_me:$LINENO: result: system version" >&5
4513 echo "${ECHO_T}system version" >&6; }
4514 elif test "$wxUSE_EXPAT" = builtin; then
4515 { echo "$as_me:$LINENO: result: builtin version" >&5
4516 echo "${ECHO_T}builtin version" >&6; }
4517 else
4518 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4519 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4520 { (exit 1); exit 1; }; }
4521 fi
4522
4523
4524 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4525 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4526
4527 # Check whether --with-macosx-sdk was given.
4528 if test "${with_macosx_sdk+set}" = set; then
4529 withval=$with_macosx_sdk;
4530 wxUSE_MACOSX_SDK=$withval
4531 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4532 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4533
4534 else
4535
4536 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4537 # will override --enable-universal_binary's automatic SDK usage.
4538 wxUSE_MACOSX_SDK=
4539 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4540 if test "x$LINE" != x ; then
4541 eval "$LINE"
4542 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4543 fi
4544
4545 fi
4546
4547 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4548 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4549
4550 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4551 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4552
4553 # Check whether --with-macosx-version-min was given.
4554 if test "${with_macosx_version_min+set}" = set; then
4555 withval=$with_macosx_version_min;
4556 wxUSE_MACOSX_VERSION_MIN=$withval
4557 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4558 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4559
4560 else
4561
4562 # default "yes" because when not using an SDK it means the same as no
4563 # but when using an SDK it means to use the SDK version
4564 wxUSE_MACOSX_VERSION_MIN=yes
4565 # See if there is a value in the cache
4566 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4567 if test "x$LINE" != x ; then
4568 eval "$LINE"
4569 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4570 fi
4571
4572 fi
4573
4574 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4575 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4576
4577
4578
4579 enablestring=disable
4580 defaultval=
4581 if test -z "$defaultval"; then
4582 if test x"$enablestring" = xdisable; then
4583 defaultval=yes
4584 else
4585 defaultval=no
4586 fi
4587 fi
4588
4589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4591 # Check whether --enable-shared was given.
4592 if test "${enable_shared+set}" = set; then
4593 enableval=$enable_shared;
4594 if test "$enableval" = yes; then
4595 wx_cv_use_shared='wxUSE_SHARED=yes'
4596 else
4597 wx_cv_use_shared='wxUSE_SHARED=no'
4598 fi
4599 cache=yes
4600
4601 else
4602
4603 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x ; then
4605 eval "DEFAULT_$LINE"
4606 cache=yes
4607 else
4608 cache=no
4609 fi
4610
4611 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4612
4613 fi
4614
4615
4616 eval "$wx_cv_use_shared"
4617 if test "x$cache" = xyes; then
4618 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4619 fi
4620
4621 if test x"$enablestring" = xdisable; then
4622 if test $wxUSE_SHARED = yes; then
4623 result=no
4624 else
4625 result=yes
4626 fi
4627 else
4628 result=$wxUSE_SHARED
4629 fi
4630
4631 { echo "$as_me:$LINENO: result: $result" >&5
4632 echo "${ECHO_T}$result" >&6; }
4633
4634
4635 enablestring=disable
4636 defaultval=
4637 if test -z "$defaultval"; then
4638 if test x"$enablestring" = xdisable; then
4639 defaultval=yes
4640 else
4641 defaultval=no
4642 fi
4643 fi
4644
4645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4646 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4647 # Check whether --enable-optimise was given.
4648 if test "${enable_optimise+set}" = set; then
4649 enableval=$enable_optimise;
4650 if test "$enableval" = yes; then
4651 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4652 else
4653 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4654 fi
4655 cache=yes
4656
4657 else
4658
4659 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x ; then
4661 eval "DEFAULT_$LINE"
4662 cache=yes
4663 else
4664 cache=no
4665 fi
4666
4667 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4668
4669 fi
4670
4671
4672 eval "$wx_cv_use_optimise"
4673 if test "x$cache" = xyes; then
4674 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4675 fi
4676
4677 if test x"$enablestring" = xdisable; then
4678 if test $wxUSE_OPTIMISE = yes; then
4679 result=no
4680 else
4681 result=yes
4682 fi
4683 else
4684 result=$wxUSE_OPTIMISE
4685 fi
4686
4687 { echo "$as_me:$LINENO: result: $result" >&5
4688 echo "${ECHO_T}$result" >&6; }
4689
4690
4691 enablestring=
4692 defaultval=
4693 if test -z "$defaultval"; then
4694 if test x"$enablestring" = xdisable; then
4695 defaultval=yes
4696 else
4697 defaultval=no
4698 fi
4699 fi
4700
4701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4703 # Check whether --enable-debug was given.
4704 if test "${enable_debug+set}" = set; then
4705 enableval=$enable_debug;
4706 if test "$enableval" = yes; then
4707 wx_cv_use_debug='wxUSE_DEBUG=yes'
4708 else
4709 wx_cv_use_debug='wxUSE_DEBUG=no'
4710 fi
4711 cache=yes
4712
4713 else
4714
4715 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4716 if test "x$LINE" != x ; then
4717 eval "DEFAULT_$LINE"
4718 cache=yes
4719 else
4720 cache=no
4721 fi
4722
4723 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4724
4725 fi
4726
4727
4728 eval "$wx_cv_use_debug"
4729 if test "x$cache" = xyes; then
4730 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4731 fi
4732
4733 if test x"$enablestring" = xdisable; then
4734 if test $wxUSE_DEBUG = yes; then
4735 result=no
4736 else
4737 result=yes
4738 fi
4739 else
4740 result=$wxUSE_DEBUG
4741 fi
4742
4743 { echo "$as_me:$LINENO: result: $result" >&5
4744 echo "${ECHO_T}$result" >&6; }
4745
4746
4747 enablestring=
4748 defaultval=
4749 if test -z "$defaultval"; then
4750 if test x"$enablestring" = xdisable; then
4751 defaultval=yes
4752 else
4753 defaultval=no
4754 fi
4755 fi
4756
4757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4758 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4759 # Check whether --enable-stl was given.
4760 if test "${enable_stl+set}" = set; then
4761 enableval=$enable_stl;
4762 if test "$enableval" = yes; then
4763 wx_cv_use_stl='wxUSE_STL=yes'
4764 else
4765 wx_cv_use_stl='wxUSE_STL=no'
4766 fi
4767 cache=yes
4768
4769 else
4770
4771 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4772 if test "x$LINE" != x ; then
4773 eval "DEFAULT_$LINE"
4774 cache=yes
4775 else
4776 cache=no
4777 fi
4778
4779 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4780
4781 fi
4782
4783
4784 eval "$wx_cv_use_stl"
4785 if test "x$cache" = xyes; then
4786 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4787 fi
4788
4789 if test x"$enablestring" = xdisable; then
4790 if test $wxUSE_STL = yes; then
4791 result=no
4792 else
4793 result=yes
4794 fi
4795 else
4796 result=$wxUSE_STL
4797 fi
4798
4799 { echo "$as_me:$LINENO: result: $result" >&5
4800 echo "${ECHO_T}$result" >&6; }
4801
4802
4803 enablestring=
4804 defaultval=
4805 if test -z "$defaultval"; then
4806 if test x"$enablestring" = xdisable; then
4807 defaultval=yes
4808 else
4809 defaultval=no
4810 fi
4811 fi
4812
4813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4814 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4815 # Check whether --enable-std_iostreams was given.
4816 if test "${enable_std_iostreams+set}" = set; then
4817 enableval=$enable_std_iostreams;
4818 if test "$enableval" = yes; then
4819 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4820 else
4821 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4822 fi
4823 cache=yes
4824
4825 else
4826
4827 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4828 if test "x$LINE" != x ; then
4829 eval "DEFAULT_$LINE"
4830 cache=yes
4831 else
4832 cache=no
4833 fi
4834
4835 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4836
4837 fi
4838
4839
4840 eval "$wx_cv_use_std_iostreams"
4841 if test "x$cache" = xyes; then
4842 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4843 fi
4844
4845 if test x"$enablestring" = xdisable; then
4846 if test $wxUSE_STD_IOSTREAM = yes; then
4847 result=no
4848 else
4849 result=yes
4850 fi
4851 else
4852 result=$wxUSE_STD_IOSTREAM
4853 fi
4854
4855 { echo "$as_me:$LINENO: result: $result" >&5
4856 echo "${ECHO_T}$result" >&6; }
4857
4858
4859 enablestring=
4860 defaultval=
4861 if test -z "$defaultval"; then
4862 if test x"$enablestring" = xdisable; then
4863 defaultval=yes
4864 else
4865 defaultval=no
4866 fi
4867 fi
4868
4869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4870 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4871 # Check whether --enable-std_string was given.
4872 if test "${enable_std_string+set}" = set; then
4873 enableval=$enable_std_string;
4874 if test "$enableval" = yes; then
4875 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4876 else
4877 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4878 fi
4879 cache=yes
4880
4881 else
4882
4883 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4884 if test "x$LINE" != x ; then
4885 eval "DEFAULT_$LINE"
4886 cache=yes
4887 else
4888 cache=no
4889 fi
4890
4891 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4892
4893 fi
4894
4895
4896 eval "$wx_cv_use_std_string"
4897 if test "x$cache" = xyes; then
4898 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4899 fi
4900
4901 if test x"$enablestring" = xdisable; then
4902 if test $wxUSE_STD_STRING = yes; then
4903 result=no
4904 else
4905 result=yes
4906 fi
4907 else
4908 result=$wxUSE_STD_STRING
4909 fi
4910
4911 { echo "$as_me:$LINENO: result: $result" >&5
4912 echo "${ECHO_T}$result" >&6; }
4913
4914
4915 enablestring=disable
4916 defaultval=
4917 if test -z "$defaultval"; then
4918 if test x"$enablestring" = xdisable; then
4919 defaultval=yes
4920 else
4921 defaultval=no
4922 fi
4923 fi
4924
4925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4927 # Check whether --enable-unicode was given.
4928 if test "${enable_unicode+set}" = set; then
4929 enableval=$enable_unicode;
4930 if test "$enableval" = yes; then
4931 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4932 else
4933 wx_cv_use_unicode='wxUSE_UNICODE=no'
4934 fi
4935 cache=yes
4936
4937 else
4938
4939 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x ; then
4941 eval "DEFAULT_$LINE"
4942 cache=yes
4943 else
4944 cache=no
4945 fi
4946
4947 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4948
4949 fi
4950
4951
4952 eval "$wx_cv_use_unicode"
4953 if test "x$cache" = xyes; then
4954 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4955 fi
4956
4957 if test x"$enablestring" = xdisable; then
4958 if test $wxUSE_UNICODE = yes; then
4959 result=no
4960 else
4961 result=yes
4962 fi
4963 else
4964 result=$wxUSE_UNICODE
4965 fi
4966
4967 { echo "$as_me:$LINENO: result: $result" >&5
4968 echo "${ECHO_T}$result" >&6; }
4969
4970
4971 enablestring=
4972 defaultval=
4973 if test -z "$defaultval"; then
4974 if test x"$enablestring" = xdisable; then
4975 defaultval=yes
4976 else
4977 defaultval=no
4978 fi
4979 fi
4980
4981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4983 # Check whether --enable-mslu was given.
4984 if test "${enable_mslu+set}" = set; then
4985 enableval=$enable_mslu;
4986 if test "$enableval" = yes; then
4987 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4988 else
4989 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4990 fi
4991 cache=yes
4992
4993 else
4994
4995 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x ; then
4997 eval "DEFAULT_$LINE"
4998 cache=yes
4999 else
5000 cache=no
5001 fi
5002
5003 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5004
5005 fi
5006
5007
5008 eval "$wx_cv_use_mslu"
5009 if test "x$cache" = xyes; then
5010 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
5011 fi
5012
5013 if test x"$enablestring" = xdisable; then
5014 if test $wxUSE_UNICODE_MSLU = yes; then
5015 result=no
5016 else
5017 result=yes
5018 fi
5019 else
5020 result=$wxUSE_UNICODE_MSLU
5021 fi
5022
5023 { echo "$as_me:$LINENO: result: $result" >&5
5024 echo "${ECHO_T}$result" >&6; }
5025
5026
5027 enablestring=
5028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5030 # Check whether --enable-utf8 was given.
5031 if test "${enable_utf8+set}" = set; then
5032 enableval=$enable_utf8;
5033 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5034 cache=yes
5035
5036 else
5037
5038 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
5039 if test "x$LINE" != x ; then
5040 eval "DEFAULT_$LINE"
5041 cache=yes
5042 else
5043 cache=no
5044 fi
5045
5046 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5047
5048 fi
5049
5050
5051 eval "$wx_cv_use_utf8"
5052 if test "x$cache" = xyes; then
5053 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
5054 fi
5055
5056 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5057 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5058
5059
5060 enablestring=
5061 defaultval=
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5064 defaultval=yes
5065 else
5066 defaultval=no
5067 fi
5068 fi
5069
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5072 # Check whether --enable-utf8only was given.
5073 if test "${enable_utf8only+set}" = set; then
5074 enableval=$enable_utf8only;
5075 if test "$enableval" = yes; then
5076 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5077 else
5078 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5079 fi
5080 cache=yes
5081
5082 else
5083
5084 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x ; then
5086 eval "DEFAULT_$LINE"
5087 cache=yes
5088 else
5089 cache=no
5090 fi
5091
5092 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5093
5094 fi
5095
5096
5097 eval "$wx_cv_use_utf8only"
5098 if test "x$cache" = xyes; then
5099 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5100 fi
5101
5102 if test x"$enablestring" = xdisable; then
5103 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5104 result=no
5105 else
5106 result=yes
5107 fi
5108 else
5109 result=$wxUSE_UNICODE_UTF8_LOCALE
5110 fi
5111
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5114
5115
5116 enablestring=
5117 defaultval=
5118 if test -z "$defaultval"; then
5119 if test x"$enablestring" = xdisable; then
5120 defaultval=yes
5121 else
5122 defaultval=no
5123 fi
5124 fi
5125
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5128 # Check whether --enable-extended_rtti was given.
5129 if test "${enable_extended_rtti+set}" = set; then
5130 enableval=$enable_extended_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5133 else
5134 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5135 fi
5136 cache=yes
5137
5138 else
5139
5140 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5141 if test "x$LINE" != x ; then
5142 eval "DEFAULT_$LINE"
5143 cache=yes
5144 else
5145 cache=no
5146 fi
5147
5148 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5149
5150 fi
5151
5152
5153 eval "$wx_cv_use_extended_rtti"
5154 if test "x$cache" = xyes; then
5155 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5156 fi
5157
5158 if test x"$enablestring" = xdisable; then
5159 if test $wxUSE_EXTENDED_RTTI = yes; then
5160 result=no
5161 else
5162 result=yes
5163 fi
5164 else
5165 result=$wxUSE_EXTENDED_RTTI
5166 fi
5167
5168 { echo "$as_me:$LINENO: result: $result" >&5
5169 echo "${ECHO_T}$result" >&6; }
5170
5171 if test "$USE_OS2" = "1"; then
5172 DEFAULT_wxUSE_OMF=no
5173
5174 enablestring=
5175 defaultval=
5176 if test -z "$defaultval"; then
5177 if test x"$enablestring" = xdisable; then
5178 defaultval=yes
5179 else
5180 defaultval=no
5181 fi
5182 fi
5183
5184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5186 # Check whether --enable-omf was given.
5187 if test "${enable_omf+set}" = set; then
5188 enableval=$enable_omf;
5189 if test "$enableval" = yes; then
5190 wx_cv_use_omf='wxUSE_OMF=yes'
5191 else
5192 wx_cv_use_omf='wxUSE_OMF=no'
5193 fi
5194 cache=yes
5195
5196 else
5197
5198 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x ; then
5200 eval "DEFAULT_$LINE"
5201 cache=yes
5202 else
5203 cache=no
5204 fi
5205
5206 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5207
5208 fi
5209
5210
5211 eval "$wx_cv_use_omf"
5212 if test "x$cache" = xyes; then
5213 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5214 fi
5215
5216 if test x"$enablestring" = xdisable; then
5217 if test $wxUSE_OMF = yes; then
5218 result=no
5219 else
5220 result=yes
5221 fi
5222 else
5223 result=$wxUSE_OMF
5224 fi
5225
5226 { echo "$as_me:$LINENO: result: $result" >&5
5227 echo "${ECHO_T}$result" >&6; }
5228
5229 fi
5230
5231 if test "$wxUSE_DEBUG" = "yes"; then
5232 DEFAULT_wxUSE_DEBUG_FLAG=yes
5233 DEFAULT_wxUSE_DEBUG_INFO=yes
5234 BUILD=debug
5235 elif test "$wxUSE_DEBUG" = "no"; then
5236 DEFAULT_wxUSE_DEBUG_FLAG=no
5237 DEFAULT_wxUSE_DEBUG_INFO=no
5238 BUILD=release
5239 fi
5240
5241
5242 enablestring=
5243 defaultval=
5244 if test -z "$defaultval"; then
5245 if test x"$enablestring" = xdisable; then
5246 defaultval=yes
5247 else
5248 defaultval=no
5249 fi
5250 fi
5251
5252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5254 # Check whether --enable-debug_flag was given.
5255 if test "${enable_debug_flag+set}" = set; then
5256 enableval=$enable_debug_flag;
5257 if test "$enableval" = yes; then
5258 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5259 else
5260 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5261 fi
5262 cache=yes
5263
5264 else
5265
5266 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5267 if test "x$LINE" != x ; then
5268 eval "DEFAULT_$LINE"
5269 cache=yes
5270 else
5271 cache=no
5272 fi
5273
5274 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5275
5276 fi
5277
5278
5279 eval "$wx_cv_use_debug_flag"
5280 if test "x$cache" = xyes; then
5281 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5282 fi
5283
5284 if test x"$enablestring" = xdisable; then
5285 if test $wxUSE_DEBUG_FLAG = yes; then
5286 result=no
5287 else
5288 result=yes
5289 fi
5290 else
5291 result=$wxUSE_DEBUG_FLAG
5292 fi
5293
5294 { echo "$as_me:$LINENO: result: $result" >&5
5295 echo "${ECHO_T}$result" >&6; }
5296
5297
5298 enablestring=
5299 defaultval=
5300 if test -z "$defaultval"; then
5301 if test x"$enablestring" = xdisable; then
5302 defaultval=yes
5303 else
5304 defaultval=no
5305 fi
5306 fi
5307
5308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5309 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5310 # Check whether --enable-debug_info was given.
5311 if test "${enable_debug_info+set}" = set; then
5312 enableval=$enable_debug_info;
5313 if test "$enableval" = yes; then
5314 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5315 else
5316 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5317 fi
5318 cache=yes
5319
5320 else
5321
5322 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5323 if test "x$LINE" != x ; then
5324 eval "DEFAULT_$LINE"
5325 cache=yes
5326 else
5327 cache=no
5328 fi
5329
5330 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5331
5332 fi
5333
5334
5335 eval "$wx_cv_use_debug_info"
5336 if test "x$cache" = xyes; then
5337 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5338 fi
5339
5340 if test x"$enablestring" = xdisable; then
5341 if test $wxUSE_DEBUG_INFO = yes; then
5342 result=no
5343 else
5344 result=yes
5345 fi
5346 else
5347 result=$wxUSE_DEBUG_INFO
5348 fi
5349
5350 { echo "$as_me:$LINENO: result: $result" >&5
5351 echo "${ECHO_T}$result" >&6; }
5352
5353
5354 enablestring=
5355 defaultval=
5356 if test -z "$defaultval"; then
5357 if test x"$enablestring" = xdisable; then
5358 defaultval=yes
5359 else
5360 defaultval=no
5361 fi
5362 fi
5363
5364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5366 # Check whether --enable-debug_gdb was given.
5367 if test "${enable_debug_gdb+set}" = set; then
5368 enableval=$enable_debug_gdb;
5369 if test "$enableval" = yes; then
5370 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5371 else
5372 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5373 fi
5374 cache=yes
5375
5376 else
5377
5378 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5379 if test "x$LINE" != x ; then
5380 eval "DEFAULT_$LINE"
5381 cache=yes
5382 else
5383 cache=no
5384 fi
5385
5386 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5387
5388 fi
5389
5390
5391 eval "$wx_cv_use_debug_gdb"
5392 if test "x$cache" = xyes; then
5393 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5394 fi
5395
5396 if test x"$enablestring" = xdisable; then
5397 if test $wxUSE_DEBUG_GDB = yes; then
5398 result=no
5399 else
5400 result=yes
5401 fi
5402 else
5403 result=$wxUSE_DEBUG_GDB
5404 fi
5405
5406 { echo "$as_me:$LINENO: result: $result" >&5
5407 echo "${ECHO_T}$result" >&6; }
5408
5409
5410 enablestring=
5411 defaultval=
5412 if test -z "$defaultval"; then
5413 if test x"$enablestring" = xdisable; then
5414 defaultval=yes
5415 else
5416 defaultval=no
5417 fi
5418 fi
5419
5420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5422 # Check whether --enable-debug_cntxt was given.
5423 if test "${enable_debug_cntxt+set}" = set; then
5424 enableval=$enable_debug_cntxt;
5425 if test "$enableval" = yes; then
5426 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5427 else
5428 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5429 fi
5430 cache=yes
5431
5432 else
5433
5434 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5437 cache=yes
5438 else
5439 cache=no
5440 fi
5441
5442 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5443
5444 fi
5445
5446
5447 eval "$wx_cv_use_debug_cntxt"
5448 if test "x$cache" = xyes; then
5449 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5450 fi
5451
5452 if test x"$enablestring" = xdisable; then
5453 if test $wxUSE_DEBUG_CONTEXT = yes; then
5454 result=no
5455 else
5456 result=yes
5457 fi
5458 else
5459 result=$wxUSE_DEBUG_CONTEXT
5460 fi
5461
5462 { echo "$as_me:$LINENO: result: $result" >&5
5463 echo "${ECHO_T}$result" >&6; }
5464
5465
5466 enablestring=
5467 defaultval=
5468 if test -z "$defaultval"; then
5469 if test x"$enablestring" = xdisable; then
5470 defaultval=yes
5471 else
5472 defaultval=no
5473 fi
5474 fi
5475
5476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5478 # Check whether --enable-mem_tracing was given.
5479 if test "${enable_mem_tracing+set}" = set; then
5480 enableval=$enable_mem_tracing;
5481 if test "$enableval" = yes; then
5482 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5483 else
5484 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5485 fi
5486 cache=yes
5487
5488 else
5489
5490 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x ; then
5492 eval "DEFAULT_$LINE"
5493 cache=yes
5494 else
5495 cache=no
5496 fi
5497
5498 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5499
5500 fi
5501
5502
5503 eval "$wx_cv_use_mem_tracing"
5504 if test "x$cache" = xyes; then
5505 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5506 fi
5507
5508 if test x"$enablestring" = xdisable; then
5509 if test $wxUSE_MEM_TRACING = yes; then
5510 result=no
5511 else
5512 result=yes
5513 fi
5514 else
5515 result=$wxUSE_MEM_TRACING
5516 fi
5517
5518 { echo "$as_me:$LINENO: result: $result" >&5
5519 echo "${ECHO_T}$result" >&6; }
5520
5521
5522 enablestring=
5523 defaultval=
5524 if test -z "$defaultval"; then
5525 if test x"$enablestring" = xdisable; then
5526 defaultval=yes
5527 else
5528 defaultval=no
5529 fi
5530 fi
5531
5532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5534 # Check whether --enable-profile was given.
5535 if test "${enable_profile+set}" = set; then
5536 enableval=$enable_profile;
5537 if test "$enableval" = yes; then
5538 wx_cv_use_profile='wxUSE_PROFILE=yes'
5539 else
5540 wx_cv_use_profile='wxUSE_PROFILE=no'
5541 fi
5542 cache=yes
5543
5544 else
5545
5546 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5549 cache=yes
5550 else
5551 cache=no
5552 fi
5553
5554 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5555
5556 fi
5557
5558
5559 eval "$wx_cv_use_profile"
5560 if test "x$cache" = xyes; then
5561 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5562 fi
5563
5564 if test x"$enablestring" = xdisable; then
5565 if test $wxUSE_PROFILE = yes; then
5566 result=no
5567 else
5568 result=yes
5569 fi
5570 else
5571 result=$wxUSE_PROFILE
5572 fi
5573
5574 { echo "$as_me:$LINENO: result: $result" >&5
5575 echo "${ECHO_T}$result" >&6; }
5576
5577
5578 enablestring=
5579 defaultval=
5580 if test -z "$defaultval"; then
5581 if test x"$enablestring" = xdisable; then
5582 defaultval=yes
5583 else
5584 defaultval=no
5585 fi
5586 fi
5587
5588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5590 # Check whether --enable-no_rtti was given.
5591 if test "${enable_no_rtti+set}" = set; then
5592 enableval=$enable_no_rtti;
5593 if test "$enableval" = yes; then
5594 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5595 else
5596 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5597 fi
5598 cache=yes
5599
5600 else
5601
5602 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x ; then
5604 eval "DEFAULT_$LINE"
5605 cache=yes
5606 else
5607 cache=no
5608 fi
5609
5610 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5611
5612 fi
5613
5614
5615 eval "$wx_cv_use_no_rtti"
5616 if test "x$cache" = xyes; then
5617 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5618 fi
5619
5620 if test x"$enablestring" = xdisable; then
5621 if test $wxUSE_NO_RTTI = yes; then
5622 result=no
5623 else
5624 result=yes
5625 fi
5626 else
5627 result=$wxUSE_NO_RTTI
5628 fi
5629
5630 { echo "$as_me:$LINENO: result: $result" >&5
5631 echo "${ECHO_T}$result" >&6; }
5632
5633
5634 enablestring=
5635 defaultval=
5636 if test -z "$defaultval"; then
5637 if test x"$enablestring" = xdisable; then
5638 defaultval=yes
5639 else
5640 defaultval=no
5641 fi
5642 fi
5643
5644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5645 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5646 # Check whether --enable-no_exceptions was given.
5647 if test "${enable_no_exceptions+set}" = set; then
5648 enableval=$enable_no_exceptions;
5649 if test "$enableval" = yes; then
5650 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5651 else
5652 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5653 fi
5654 cache=yes
5655
5656 else
5657
5658 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x ; then
5660 eval "DEFAULT_$LINE"
5661 cache=yes
5662 else
5663 cache=no
5664 fi
5665
5666 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5667
5668 fi
5669
5670
5671 eval "$wx_cv_use_no_exceptions"
5672 if test "x$cache" = xyes; then
5673 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5674 fi
5675
5676 if test x"$enablestring" = xdisable; then
5677 if test $wxUSE_NO_EXCEPTIONS = yes; then
5678 result=no
5679 else
5680 result=yes
5681 fi
5682 else
5683 result=$wxUSE_NO_EXCEPTIONS
5684 fi
5685
5686 { echo "$as_me:$LINENO: result: $result" >&5
5687 echo "${ECHO_T}$result" >&6; }
5688
5689
5690 enablestring=
5691 defaultval=
5692 if test -z "$defaultval"; then
5693 if test x"$enablestring" = xdisable; then
5694 defaultval=yes
5695 else
5696 defaultval=no
5697 fi
5698 fi
5699
5700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5702 # Check whether --enable-permissive was given.
5703 if test "${enable_permissive+set}" = set; then
5704 enableval=$enable_permissive;
5705 if test "$enableval" = yes; then
5706 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5707 else
5708 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5709 fi
5710 cache=yes
5711
5712 else
5713
5714 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5715 if test "x$LINE" != x ; then
5716 eval "DEFAULT_$LINE"
5717 cache=yes
5718 else
5719 cache=no
5720 fi
5721
5722 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5723
5724 fi
5725
5726
5727 eval "$wx_cv_use_permissive"
5728 if test "x$cache" = xyes; then
5729 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5730 fi
5731
5732 if test x"$enablestring" = xdisable; then
5733 if test $wxUSE_PERMISSIVE = yes; then
5734 result=no
5735 else
5736 result=yes
5737 fi
5738 else
5739 result=$wxUSE_PERMISSIVE
5740 fi
5741
5742 { echo "$as_me:$LINENO: result: $result" >&5
5743 echo "${ECHO_T}$result" >&6; }
5744
5745
5746 enablestring=
5747 defaultval=
5748 if test -z "$defaultval"; then
5749 if test x"$enablestring" = xdisable; then
5750 defaultval=yes
5751 else
5752 defaultval=no
5753 fi
5754 fi
5755
5756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5757 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5758 # Check whether --enable-no_deps was given.
5759 if test "${enable_no_deps+set}" = set; then
5760 enableval=$enable_no_deps;
5761 if test "$enableval" = yes; then
5762 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5763 else
5764 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5765 fi
5766 cache=yes
5767
5768 else
5769
5770 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x ; then
5772 eval "DEFAULT_$LINE"
5773 cache=yes
5774 else
5775 cache=no
5776 fi
5777
5778 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5779
5780 fi
5781
5782
5783 eval "$wx_cv_use_no_deps"
5784 if test "x$cache" = xyes; then
5785 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5786 fi
5787
5788 if test x"$enablestring" = xdisable; then
5789 if test $wxUSE_NO_DEPS = yes; then
5790 result=no
5791 else
5792 result=yes
5793 fi
5794 else
5795 result=$wxUSE_NO_DEPS
5796 fi
5797
5798 { echo "$as_me:$LINENO: result: $result" >&5
5799 echo "${ECHO_T}$result" >&6; }
5800
5801
5802 enablestring=disable
5803 defaultval=
5804 if test -z "$defaultval"; then
5805 if test x"$enablestring" = xdisable; then
5806 defaultval=yes
5807 else
5808 defaultval=no
5809 fi
5810 fi
5811
5812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5814 # Check whether --enable-vararg_macros was given.
5815 if test "${enable_vararg_macros+set}" = set; then
5816 enableval=$enable_vararg_macros;
5817 if test "$enableval" = yes; then
5818 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5819 else
5820 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5821 fi
5822 cache=yes
5823
5824 else
5825
5826 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5827 if test "x$LINE" != x ; then
5828 eval "DEFAULT_$LINE"
5829 cache=yes
5830 else
5831 cache=no
5832 fi
5833
5834 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5835
5836 fi
5837
5838
5839 eval "$wx_cv_use_vararg_macros"
5840 if test "x$cache" = xyes; then
5841 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5842 fi
5843
5844 if test x"$enablestring" = xdisable; then
5845 if test $wxUSE_VARARG_MACROS = yes; then
5846 result=no
5847 else
5848 result=yes
5849 fi
5850 else
5851 result=$wxUSE_VARARG_MACROS
5852 fi
5853
5854 { echo "$as_me:$LINENO: result: $result" >&5
5855 echo "${ECHO_T}$result" >&6; }
5856
5857
5858 enablestring=
5859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5861 # Check whether --enable-universal_binary was given.
5862 if test "${enable_universal_binary+set}" = set; then
5863 enableval=$enable_universal_binary;
5864 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5865 cache=yes
5866
5867 else
5868
5869 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5870 if test "x$LINE" != x ; then
5871 eval "DEFAULT_$LINE"
5872 cache=yes
5873 else
5874 cache=no
5875 fi
5876
5877 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5878
5879 fi
5880
5881
5882 eval "$wx_cv_use_universal_binary"
5883 if test "x$cache" = xyes; then
5884 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5885 fi
5886
5887 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5888 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5889
5890
5891
5892 enablestring=
5893 defaultval=
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5896 defaultval=yes
5897 else
5898 defaultval=no
5899 fi
5900 fi
5901
5902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5904 # Check whether --enable-compat26 was given.
5905 if test "${enable_compat26+set}" = set; then
5906 enableval=$enable_compat26;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5909 else
5910 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5911 fi
5912 cache=yes
5913
5914 else
5915
5916 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5917 if test "x$LINE" != x ; then
5918 eval "DEFAULT_$LINE"
5919 cache=yes
5920 else
5921 cache=no
5922 fi
5923
5924 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5925
5926 fi
5927
5928
5929 eval "$wx_cv_use_compat26"
5930 if test "x$cache" = xyes; then
5931 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5932 fi
5933
5934 if test x"$enablestring" = xdisable; then
5935 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5936 result=no
5937 else
5938 result=yes
5939 fi
5940 else
5941 result=$WXWIN_COMPATIBILITY_2_6
5942 fi
5943
5944 { echo "$as_me:$LINENO: result: $result" >&5
5945 echo "${ECHO_T}$result" >&6; }
5946
5947
5948 enablestring=disable
5949 defaultval=
5950 if test -z "$defaultval"; then
5951 if test x"$enablestring" = xdisable; then
5952 defaultval=yes
5953 else
5954 defaultval=no
5955 fi
5956 fi
5957
5958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5960 # Check whether --enable-compat28 was given.
5961 if test "${enable_compat28+set}" = set; then
5962 enableval=$enable_compat28;
5963 if test "$enableval" = yes; then
5964 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5965 else
5966 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5967 fi
5968 cache=yes
5969
5970 else
5971
5972 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5973 if test "x$LINE" != x ; then
5974 eval "DEFAULT_$LINE"
5975 cache=yes
5976 else
5977 cache=no
5978 fi
5979
5980 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5981
5982 fi
5983
5984
5985 eval "$wx_cv_use_compat28"
5986 if test "x$cache" = xyes; then
5987 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5988 fi
5989
5990 if test x"$enablestring" = xdisable; then
5991 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5992 result=no
5993 else
5994 result=yes
5995 fi
5996 else
5997 result=$WXWIN_COMPATIBILITY_2_8
5998 fi
5999
6000 { echo "$as_me:$LINENO: result: $result" >&5
6001 echo "${ECHO_T}$result" >&6; }
6002
6003
6004
6005 enablestring=disable
6006 defaultval=
6007 if test -z "$defaultval"; then
6008 if test x"$enablestring" = xdisable; then
6009 defaultval=yes
6010 else
6011 defaultval=no
6012 fi
6013 fi
6014
6015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
6017 # Check whether --enable-rpath was given.
6018 if test "${enable_rpath+set}" = set; then
6019 enableval=$enable_rpath;
6020 if test "$enableval" = yes; then
6021 wx_cv_use_rpath='wxUSE_RPATH=yes'
6022 else
6023 wx_cv_use_rpath='wxUSE_RPATH=no'
6024 fi
6025 cache=yes
6026
6027 else
6028
6029 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
6030 if test "x$LINE" != x ; then
6031 eval "DEFAULT_$LINE"
6032 cache=yes
6033 else
6034 cache=no
6035 fi
6036
6037 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6038
6039 fi
6040
6041
6042 eval "$wx_cv_use_rpath"
6043 if test "x$cache" = xyes; then
6044 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
6045 fi
6046
6047 if test x"$enablestring" = xdisable; then
6048 if test $wxUSE_RPATH = yes; then
6049 result=no
6050 else
6051 result=yes
6052 fi
6053 else
6054 result=$wxUSE_RPATH
6055 fi
6056
6057 { echo "$as_me:$LINENO: result: $result" >&5
6058 echo "${ECHO_T}$result" >&6; }
6059
6060
6061
6062 enablestring=
6063 defaultval=
6064 if test -z "$defaultval"; then
6065 if test x"$enablestring" = xdisable; then
6066 defaultval=yes
6067 else
6068 defaultval=no
6069 fi
6070 fi
6071
6072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6074 # Check whether --enable-objc_uniquifying was given.
6075 if test "${enable_objc_uniquifying+set}" = set; then
6076 enableval=$enable_objc_uniquifying;
6077 if test "$enableval" = yes; then
6078 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6079 else
6080 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6081 fi
6082 cache=yes
6083
6084 else
6085
6086 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6087 if test "x$LINE" != x ; then
6088 eval "DEFAULT_$LINE"
6089 cache=yes
6090 else
6091 cache=no
6092 fi
6093
6094 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6095
6096 fi
6097
6098
6099 eval "$wx_cv_use_objc_uniquifying"
6100 if test "x$cache" = xyes; then
6101 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6102 fi
6103
6104 if test x"$enablestring" = xdisable; then
6105 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6106 result=no
6107 else
6108 result=yes
6109 fi
6110 else
6111 result=$wxUSE_OBJC_UNIQUIFYING
6112 fi
6113
6114 { echo "$as_me:$LINENO: result: $result" >&5
6115 echo "${ECHO_T}$result" >&6; }
6116
6117
6118
6119 enablestring=disable
6120 defaultval=
6121 if test -z "$defaultval"; then
6122 if test x"$enablestring" = xdisable; then
6123 defaultval=yes
6124 else
6125 defaultval=no
6126 fi
6127 fi
6128
6129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6130 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6131 # Check whether --enable-visibility was given.
6132 if test "${enable_visibility+set}" = set; then
6133 enableval=$enable_visibility;
6134 if test "$enableval" = yes; then
6135 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6136 else
6137 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6138 fi
6139 cache=yes
6140
6141 else
6142
6143 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6144 if test "x$LINE" != x ; then
6145 eval "DEFAULT_$LINE"
6146 cache=yes
6147 else
6148 cache=no
6149 fi
6150
6151 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6152
6153 fi
6154
6155
6156 eval "$wx_cv_use_visibility"
6157 if test "x$cache" = xyes; then
6158 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6159 fi
6160
6161 if test x"$enablestring" = xdisable; then
6162 if test $wxUSE_VISIBILITY = yes; then
6163 result=no
6164 else
6165 result=yes
6166 fi
6167 else
6168 result=$wxUSE_VISIBILITY
6169 fi
6170
6171 { echo "$as_me:$LINENO: result: $result" >&5
6172 echo "${ECHO_T}$result" >&6; }
6173
6174
6175
6176
6177 enablestring=
6178 defaultval=$wxUSE_ALL_FEATURES
6179 if test -z "$defaultval"; then
6180 if test x"$enablestring" = xdisable; then
6181 defaultval=yes
6182 else
6183 defaultval=no
6184 fi
6185 fi
6186
6187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6189 # Check whether --enable-intl was given.
6190 if test "${enable_intl+set}" = set; then
6191 enableval=$enable_intl;
6192 if test "$enableval" = yes; then
6193 wx_cv_use_intl='wxUSE_INTL=yes'
6194 else
6195 wx_cv_use_intl='wxUSE_INTL=no'
6196 fi
6197 cache=yes
6198
6199 else
6200
6201 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x ; then
6203 eval "DEFAULT_$LINE"
6204 cache=yes
6205 else
6206 cache=no
6207 fi
6208
6209 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6210
6211 fi
6212
6213
6214 eval "$wx_cv_use_intl"
6215 if test "x$cache" = xyes; then
6216 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6217 fi
6218
6219 if test x"$enablestring" = xdisable; then
6220 if test $wxUSE_INTL = yes; then
6221 result=no
6222 else
6223 result=yes
6224 fi
6225 else
6226 result=$wxUSE_INTL
6227 fi
6228
6229 { echo "$as_me:$LINENO: result: $result" >&5
6230 echo "${ECHO_T}$result" >&6; }
6231
6232
6233 enablestring=
6234 defaultval=$wxUSE_ALL_FEATURES
6235 if test -z "$defaultval"; then
6236 if test x"$enablestring" = xdisable; then
6237 defaultval=yes
6238 else
6239 defaultval=no
6240 fi
6241 fi
6242
6243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6244 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6245 # Check whether --enable-config was given.
6246 if test "${enable_config+set}" = set; then
6247 enableval=$enable_config;
6248 if test "$enableval" = yes; then
6249 wx_cv_use_config='wxUSE_CONFIG=yes'
6250 else
6251 wx_cv_use_config='wxUSE_CONFIG=no'
6252 fi
6253 cache=yes
6254
6255 else
6256
6257 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6258 if test "x$LINE" != x ; then
6259 eval "DEFAULT_$LINE"
6260 cache=yes
6261 else
6262 cache=no
6263 fi
6264
6265 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6266
6267 fi
6268
6269
6270 eval "$wx_cv_use_config"
6271 if test "x$cache" = xyes; then
6272 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6273 fi
6274
6275 if test x"$enablestring" = xdisable; then
6276 if test $wxUSE_CONFIG = yes; then
6277 result=no
6278 else
6279 result=yes
6280 fi
6281 else
6282 result=$wxUSE_CONFIG
6283 fi
6284
6285 { echo "$as_me:$LINENO: result: $result" >&5
6286 echo "${ECHO_T}$result" >&6; }
6287
6288
6289
6290 enablestring=
6291 defaultval=$wxUSE_ALL_FEATURES
6292 if test -z "$defaultval"; then
6293 if test x"$enablestring" = xdisable; then
6294 defaultval=yes
6295 else
6296 defaultval=no
6297 fi
6298 fi
6299
6300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6301 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6302 # Check whether --enable-protocols was given.
6303 if test "${enable_protocols+set}" = set; then
6304 enableval=$enable_protocols;
6305 if test "$enableval" = yes; then
6306 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6307 else
6308 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6309 fi
6310 cache=yes
6311
6312 else
6313
6314 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x ; then
6316 eval "DEFAULT_$LINE"
6317 cache=yes
6318 else
6319 cache=no
6320 fi
6321
6322 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6323
6324 fi
6325
6326
6327 eval "$wx_cv_use_protocols"
6328 if test "x$cache" = xyes; then
6329 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6330 fi
6331
6332 if test x"$enablestring" = xdisable; then
6333 if test $wxUSE_PROTOCOL = yes; then
6334 result=no
6335 else
6336 result=yes
6337 fi
6338 else
6339 result=$wxUSE_PROTOCOL
6340 fi
6341
6342 { echo "$as_me:$LINENO: result: $result" >&5
6343 echo "${ECHO_T}$result" >&6; }
6344
6345
6346 enablestring=
6347 defaultval=$wxUSE_ALL_FEATURES
6348 if test -z "$defaultval"; then
6349 if test x"$enablestring" = xdisable; then
6350 defaultval=yes
6351 else
6352 defaultval=no
6353 fi
6354 fi
6355
6356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6357 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6358 # Check whether --enable-ftp was given.
6359 if test "${enable_ftp+set}" = set; then
6360 enableval=$enable_ftp;
6361 if test "$enableval" = yes; then
6362 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6363 else
6364 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6365 fi
6366 cache=yes
6367
6368 else
6369
6370 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6371 if test "x$LINE" != x ; then
6372 eval "DEFAULT_$LINE"
6373 cache=yes
6374 else
6375 cache=no
6376 fi
6377
6378 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6379
6380 fi
6381
6382
6383 eval "$wx_cv_use_ftp"
6384 if test "x$cache" = xyes; then
6385 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6386 fi
6387
6388 if test x"$enablestring" = xdisable; then
6389 if test $wxUSE_PROTOCOL_FTP = yes; then
6390 result=no
6391 else
6392 result=yes
6393 fi
6394 else
6395 result=$wxUSE_PROTOCOL_FTP
6396 fi
6397
6398 { echo "$as_me:$LINENO: result: $result" >&5
6399 echo "${ECHO_T}$result" >&6; }
6400
6401
6402 enablestring=
6403 defaultval=$wxUSE_ALL_FEATURES
6404 if test -z "$defaultval"; then
6405 if test x"$enablestring" = xdisable; then
6406 defaultval=yes
6407 else
6408 defaultval=no
6409 fi
6410 fi
6411
6412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6413 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6414 # Check whether --enable-http was given.
6415 if test "${enable_http+set}" = set; then
6416 enableval=$enable_http;
6417 if test "$enableval" = yes; then
6418 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6419 else
6420 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6421 fi
6422 cache=yes
6423
6424 else
6425
6426 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6427 if test "x$LINE" != x ; then
6428 eval "DEFAULT_$LINE"
6429 cache=yes
6430 else
6431 cache=no
6432 fi
6433
6434 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6435
6436 fi
6437
6438
6439 eval "$wx_cv_use_http"
6440 if test "x$cache" = xyes; then
6441 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6442 fi
6443
6444 if test x"$enablestring" = xdisable; then
6445 if test $wxUSE_PROTOCOL_HTTP = yes; then
6446 result=no
6447 else
6448 result=yes
6449 fi
6450 else
6451 result=$wxUSE_PROTOCOL_HTTP
6452 fi
6453
6454 { echo "$as_me:$LINENO: result: $result" >&5
6455 echo "${ECHO_T}$result" >&6; }
6456
6457
6458 enablestring=
6459 defaultval=$wxUSE_ALL_FEATURES
6460 if test -z "$defaultval"; then
6461 if test x"$enablestring" = xdisable; then
6462 defaultval=yes
6463 else
6464 defaultval=no
6465 fi
6466 fi
6467
6468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6470 # Check whether --enable-fileproto was given.
6471 if test "${enable_fileproto+set}" = set; then
6472 enableval=$enable_fileproto;
6473 if test "$enableval" = yes; then
6474 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6475 else
6476 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6477 fi
6478 cache=yes
6479
6480 else
6481
6482 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6483 if test "x$LINE" != x ; then
6484 eval "DEFAULT_$LINE"
6485 cache=yes
6486 else
6487 cache=no
6488 fi
6489
6490 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6491
6492 fi
6493
6494
6495 eval "$wx_cv_use_fileproto"
6496 if test "x$cache" = xyes; then
6497 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6498 fi
6499
6500 if test x"$enablestring" = xdisable; then
6501 if test $wxUSE_PROTOCOL_FILE = yes; then
6502 result=no
6503 else
6504 result=yes
6505 fi
6506 else
6507 result=$wxUSE_PROTOCOL_FILE
6508 fi
6509
6510 { echo "$as_me:$LINENO: result: $result" >&5
6511 echo "${ECHO_T}$result" >&6; }
6512
6513
6514 enablestring=
6515 defaultval=$wxUSE_ALL_FEATURES
6516 if test -z "$defaultval"; then
6517 if test x"$enablestring" = xdisable; then
6518 defaultval=yes
6519 else
6520 defaultval=no
6521 fi
6522 fi
6523
6524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6525 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6526 # Check whether --enable-sockets was given.
6527 if test "${enable_sockets+set}" = set; then
6528 enableval=$enable_sockets;
6529 if test "$enableval" = yes; then
6530 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6531 else
6532 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6533 fi
6534 cache=yes
6535
6536 else
6537
6538 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6539 if test "x$LINE" != x ; then
6540 eval "DEFAULT_$LINE"
6541 cache=yes
6542 else
6543 cache=no
6544 fi
6545
6546 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6547
6548 fi
6549
6550
6551 eval "$wx_cv_use_sockets"
6552 if test "x$cache" = xyes; then
6553 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6554 fi
6555
6556 if test x"$enablestring" = xdisable; then
6557 if test $wxUSE_SOCKETS = yes; then
6558 result=no
6559 else
6560 result=yes
6561 fi
6562 else
6563 result=$wxUSE_SOCKETS
6564 fi
6565
6566 { echo "$as_me:$LINENO: result: $result" >&5
6567 echo "${ECHO_T}$result" >&6; }
6568
6569
6570 enablestring=
6571 defaultval=$wxUSE_ALL_FEATURES
6572 if test -z "$defaultval"; then
6573 if test x"$enablestring" = xdisable; then
6574 defaultval=yes
6575 else
6576 defaultval=no
6577 fi
6578 fi
6579
6580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6581 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6582 # Check whether --enable-ole was given.
6583 if test "${enable_ole+set}" = set; then
6584 enableval=$enable_ole;
6585 if test "$enableval" = yes; then
6586 wx_cv_use_ole='wxUSE_OLE=yes'
6587 else
6588 wx_cv_use_ole='wxUSE_OLE=no'
6589 fi
6590 cache=yes
6591
6592 else
6593
6594 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6595 if test "x$LINE" != x ; then
6596 eval "DEFAULT_$LINE"
6597 cache=yes
6598 else
6599 cache=no
6600 fi
6601
6602 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6603
6604 fi
6605
6606
6607 eval "$wx_cv_use_ole"
6608 if test "x$cache" = xyes; then
6609 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6610 fi
6611
6612 if test x"$enablestring" = xdisable; then
6613 if test $wxUSE_OLE = yes; then
6614 result=no
6615 else
6616 result=yes
6617 fi
6618 else
6619 result=$wxUSE_OLE
6620 fi
6621
6622 { echo "$as_me:$LINENO: result: $result" >&5
6623 echo "${ECHO_T}$result" >&6; }
6624
6625
6626 enablestring=
6627 defaultval=$wxUSE_ALL_FEATURES
6628 if test -z "$defaultval"; then
6629 if test x"$enablestring" = xdisable; then
6630 defaultval=yes
6631 else
6632 defaultval=no
6633 fi
6634 fi
6635
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6638 # Check whether --enable-dataobj was given.
6639 if test "${enable_dataobj+set}" = set; then
6640 enableval=$enable_dataobj;
6641 if test "$enableval" = yes; then
6642 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6643 else
6644 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6645 fi
6646 cache=yes
6647
6648 else
6649
6650 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6651 if test "x$LINE" != x ; then
6652 eval "DEFAULT_$LINE"
6653 cache=yes
6654 else
6655 cache=no
6656 fi
6657
6658 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6659
6660 fi
6661
6662
6663 eval "$wx_cv_use_dataobj"
6664 if test "x$cache" = xyes; then
6665 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6666 fi
6667
6668 if test x"$enablestring" = xdisable; then
6669 if test $wxUSE_DATAOBJ = yes; then
6670 result=no
6671 else
6672 result=yes
6673 fi
6674 else
6675 result=$wxUSE_DATAOBJ
6676 fi
6677
6678 { echo "$as_me:$LINENO: result: $result" >&5
6679 echo "${ECHO_T}$result" >&6; }
6680
6681
6682
6683 enablestring=
6684 defaultval=$wxUSE_ALL_FEATURES
6685 if test -z "$defaultval"; then
6686 if test x"$enablestring" = xdisable; then
6687 defaultval=yes
6688 else
6689 defaultval=no
6690 fi
6691 fi
6692
6693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6695 # Check whether --enable-ipc was given.
6696 if test "${enable_ipc+set}" = set; then
6697 enableval=$enable_ipc;
6698 if test "$enableval" = yes; then
6699 wx_cv_use_ipc='wxUSE_IPC=yes'
6700 else
6701 wx_cv_use_ipc='wxUSE_IPC=no'
6702 fi
6703 cache=yes
6704
6705 else
6706
6707 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6708 if test "x$LINE" != x ; then
6709 eval "DEFAULT_$LINE"
6710 cache=yes
6711 else
6712 cache=no
6713 fi
6714
6715 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6716
6717 fi
6718
6719
6720 eval "$wx_cv_use_ipc"
6721 if test "x$cache" = xyes; then
6722 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6723 fi
6724
6725 if test x"$enablestring" = xdisable; then
6726 if test $wxUSE_IPC = yes; then
6727 result=no
6728 else
6729 result=yes
6730 fi
6731 else
6732 result=$wxUSE_IPC
6733 fi
6734
6735 { echo "$as_me:$LINENO: result: $result" >&5
6736 echo "${ECHO_T}$result" >&6; }
6737
6738
6739
6740 enablestring=
6741 defaultval=$wxUSE_ALL_FEATURES
6742 if test -z "$defaultval"; then
6743 if test x"$enablestring" = xdisable; then
6744 defaultval=yes
6745 else
6746 defaultval=no
6747 fi
6748 fi
6749
6750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6751 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6752 # Check whether --enable-baseevtloop was given.
6753 if test "${enable_baseevtloop+set}" = set; then
6754 enableval=$enable_baseevtloop;
6755 if test "$enableval" = yes; then
6756 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6757 else
6758 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6759 fi
6760 cache=yes
6761
6762 else
6763
6764 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x ; then
6766 eval "DEFAULT_$LINE"
6767 cache=yes
6768 else
6769 cache=no
6770 fi
6771
6772 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6773
6774 fi
6775
6776
6777 eval "$wx_cv_use_baseevtloop"
6778 if test "x$cache" = xyes; then
6779 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6780 fi
6781
6782 if test x"$enablestring" = xdisable; then
6783 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6784 result=no
6785 else
6786 result=yes
6787 fi
6788 else
6789 result=$wxUSE_CONSOLE_EVENTLOOP
6790 fi
6791
6792 { echo "$as_me:$LINENO: result: $result" >&5
6793 echo "${ECHO_T}$result" >&6; }
6794
6795
6796 enablestring=
6797 defaultval=$wxUSE_ALL_FEATURES
6798 if test -z "$defaultval"; then
6799 if test x"$enablestring" = xdisable; then
6800 defaultval=yes
6801 else
6802 defaultval=no
6803 fi
6804 fi
6805
6806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6808 # Check whether --enable-epollloop was given.
6809 if test "${enable_epollloop+set}" = set; then
6810 enableval=$enable_epollloop;
6811 if test "$enableval" = yes; then
6812 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6813 else
6814 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6815 fi
6816 cache=yes
6817
6818 else
6819
6820 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6821 if test "x$LINE" != x ; then
6822 eval "DEFAULT_$LINE"
6823 cache=yes
6824 else
6825 cache=no
6826 fi
6827
6828 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6829
6830 fi
6831
6832
6833 eval "$wx_cv_use_epollloop"
6834 if test "x$cache" = xyes; then
6835 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6836 fi
6837
6838 if test x"$enablestring" = xdisable; then
6839 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6840 result=no
6841 else
6842 result=yes
6843 fi
6844 else
6845 result=$wxUSE_EPOLL_DISPATCHER
6846 fi
6847
6848 { echo "$as_me:$LINENO: result: $result" >&5
6849 echo "${ECHO_T}$result" >&6; }
6850
6851
6852 enablestring=
6853 defaultval=$wxUSE_ALL_FEATURES
6854 if test -z "$defaultval"; then
6855 if test x"$enablestring" = xdisable; then
6856 defaultval=yes
6857 else
6858 defaultval=no
6859 fi
6860 fi
6861
6862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6864 # Check whether --enable-selectloop was given.
6865 if test "${enable_selectloop+set}" = set; then
6866 enableval=$enable_selectloop;
6867 if test "$enableval" = yes; then
6868 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6869 else
6870 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6871 fi
6872 cache=yes
6873
6874 else
6875
6876 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6877 if test "x$LINE" != x ; then
6878 eval "DEFAULT_$LINE"
6879 cache=yes
6880 else
6881 cache=no
6882 fi
6883
6884 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6885
6886 fi
6887
6888
6889 eval "$wx_cv_use_selectloop"
6890 if test "x$cache" = xyes; then
6891 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6892 fi
6893
6894 if test x"$enablestring" = xdisable; then
6895 if test $wxUSE_SELECT_DISPATCHER = yes; then
6896 result=no
6897 else
6898 result=yes
6899 fi
6900 else
6901 result=$wxUSE_SELECT_DISPATCHER
6902 fi
6903
6904 { echo "$as_me:$LINENO: result: $result" >&5
6905 echo "${ECHO_T}$result" >&6; }
6906
6907
6908
6909 enablestring=
6910 defaultval=$wxUSE_ALL_FEATURES
6911 if test -z "$defaultval"; then
6912 if test x"$enablestring" = xdisable; then
6913 defaultval=yes
6914 else
6915 defaultval=no
6916 fi
6917 fi
6918
6919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6921 # Check whether --enable-apple_ieee was given.
6922 if test "${enable_apple_ieee+set}" = set; then
6923 enableval=$enable_apple_ieee;
6924 if test "$enableval" = yes; then
6925 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6926 else
6927 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6928 fi
6929 cache=yes
6930
6931 else
6932
6933 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x ; then
6935 eval "DEFAULT_$LINE"
6936 cache=yes
6937 else
6938 cache=no
6939 fi
6940
6941 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6942
6943 fi
6944
6945
6946 eval "$wx_cv_use_apple_ieee"
6947 if test "x$cache" = xyes; then
6948 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6949 fi
6950
6951 if test x"$enablestring" = xdisable; then
6952 if test $wxUSE_APPLE_IEEE = yes; then
6953 result=no
6954 else
6955 result=yes
6956 fi
6957 else
6958 result=$wxUSE_APPLE_IEEE
6959 fi
6960
6961 { echo "$as_me:$LINENO: result: $result" >&5
6962 echo "${ECHO_T}$result" >&6; }
6963
6964
6965 enablestring=
6966 defaultval=$wxUSE_ALL_FEATURES
6967 if test -z "$defaultval"; then
6968 if test x"$enablestring" = xdisable; then
6969 defaultval=yes
6970 else
6971 defaultval=no
6972 fi
6973 fi
6974
6975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6976 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6977 # Check whether --enable-arcstream was given.
6978 if test "${enable_arcstream+set}" = set; then
6979 enableval=$enable_arcstream;
6980 if test "$enableval" = yes; then
6981 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6982 else
6983 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6984 fi
6985 cache=yes
6986
6987 else
6988
6989 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6992 cache=yes
6993 else
6994 cache=no
6995 fi
6996
6997 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6998
6999 fi
7000
7001
7002 eval "$wx_cv_use_arcstream"
7003 if test "x$cache" = xyes; then
7004 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
7005 fi
7006
7007 if test x"$enablestring" = xdisable; then
7008 if test $wxUSE_ARCHIVE_STREAMS = yes; then
7009 result=no
7010 else
7011 result=yes
7012 fi
7013 else
7014 result=$wxUSE_ARCHIVE_STREAMS
7015 fi
7016
7017 { echo "$as_me:$LINENO: result: $result" >&5
7018 echo "${ECHO_T}$result" >&6; }
7019
7020
7021 enablestring=
7022 defaultval=$wxUSE_ALL_FEATURES
7023 if test -z "$defaultval"; then
7024 if test x"$enablestring" = xdisable; then
7025 defaultval=yes
7026 else
7027 defaultval=no
7028 fi
7029 fi
7030
7031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
7032 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
7033 # Check whether --enable-base64 was given.
7034 if test "${enable_base64+set}" = set; then
7035 enableval=$enable_base64;
7036 if test "$enableval" = yes; then
7037 wx_cv_use_base64='wxUSE_BASE64=yes'
7038 else
7039 wx_cv_use_base64='wxUSE_BASE64=no'
7040 fi
7041 cache=yes
7042
7043 else
7044
7045 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
7046 if test "x$LINE" != x ; then
7047 eval "DEFAULT_$LINE"
7048 cache=yes
7049 else
7050 cache=no
7051 fi
7052
7053 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7054
7055 fi
7056
7057
7058 eval "$wx_cv_use_base64"
7059 if test "x$cache" = xyes; then
7060 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
7061 fi
7062
7063 if test x"$enablestring" = xdisable; then
7064 if test $wxUSE_BASE64 = yes; then
7065 result=no
7066 else
7067 result=yes
7068 fi
7069 else
7070 result=$wxUSE_BASE64
7071 fi
7072
7073 { echo "$as_me:$LINENO: result: $result" >&5
7074 echo "${ECHO_T}$result" >&6; }
7075
7076
7077 enablestring=
7078 defaultval=$wxUSE_ALL_FEATURES
7079 if test -z "$defaultval"; then
7080 if test x"$enablestring" = xdisable; then
7081 defaultval=yes
7082 else
7083 defaultval=no
7084 fi
7085 fi
7086
7087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7089 # Check whether --enable-backtrace was given.
7090 if test "${enable_backtrace+set}" = set; then
7091 enableval=$enable_backtrace;
7092 if test "$enableval" = yes; then
7093 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7094 else
7095 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7096 fi
7097 cache=yes
7098
7099 else
7100
7101 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x ; then
7103 eval "DEFAULT_$LINE"
7104 cache=yes
7105 else
7106 cache=no
7107 fi
7108
7109 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7110
7111 fi
7112
7113
7114 eval "$wx_cv_use_backtrace"
7115 if test "x$cache" = xyes; then
7116 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7117 fi
7118
7119 if test x"$enablestring" = xdisable; then
7120 if test $wxUSE_STACKWALKER = yes; then
7121 result=no
7122 else
7123 result=yes
7124 fi
7125 else
7126 result=$wxUSE_STACKWALKER
7127 fi
7128
7129 { echo "$as_me:$LINENO: result: $result" >&5
7130 echo "${ECHO_T}$result" >&6; }
7131
7132
7133 enablestring=
7134 defaultval=$wxUSE_ALL_FEATURES
7135 if test -z "$defaultval"; then
7136 if test x"$enablestring" = xdisable; then
7137 defaultval=yes
7138 else
7139 defaultval=no
7140 fi
7141 fi
7142
7143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7144 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7145 # Check whether --enable-catch_segvs was given.
7146 if test "${enable_catch_segvs+set}" = set; then
7147 enableval=$enable_catch_segvs;
7148 if test "$enableval" = yes; then
7149 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7150 else
7151 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7152 fi
7153 cache=yes
7154
7155 else
7156
7157 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7158 if test "x$LINE" != x ; then
7159 eval "DEFAULT_$LINE"
7160 cache=yes
7161 else
7162 cache=no
7163 fi
7164
7165 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7166
7167 fi
7168
7169
7170 eval "$wx_cv_use_catch_segvs"
7171 if test "x$cache" = xyes; then
7172 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7173 fi
7174
7175 if test x"$enablestring" = xdisable; then
7176 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7177 result=no
7178 else
7179 result=yes
7180 fi
7181 else
7182 result=$wxUSE_ON_FATAL_EXCEPTION
7183 fi
7184
7185 { echo "$as_me:$LINENO: result: $result" >&5
7186 echo "${ECHO_T}$result" >&6; }
7187
7188
7189 enablestring=
7190 defaultval=$wxUSE_ALL_FEATURES
7191 if test -z "$defaultval"; then
7192 if test x"$enablestring" = xdisable; then
7193 defaultval=yes
7194 else
7195 defaultval=no
7196 fi
7197 fi
7198
7199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7200 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7201 # Check whether --enable-cmdline was given.
7202 if test "${enable_cmdline+set}" = set; then
7203 enableval=$enable_cmdline;
7204 if test "$enableval" = yes; then
7205 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7206 else
7207 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7208 fi
7209 cache=yes
7210
7211 else
7212
7213 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7214 if test "x$LINE" != x ; then
7215 eval "DEFAULT_$LINE"
7216 cache=yes
7217 else
7218 cache=no
7219 fi
7220
7221 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7222
7223 fi
7224
7225
7226 eval "$wx_cv_use_cmdline"
7227 if test "x$cache" = xyes; then
7228 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7229 fi
7230
7231 if test x"$enablestring" = xdisable; then
7232 if test $wxUSE_CMDLINE_PARSER = yes; then
7233 result=no
7234 else
7235 result=yes
7236 fi
7237 else
7238 result=$wxUSE_CMDLINE_PARSER
7239 fi
7240
7241 { echo "$as_me:$LINENO: result: $result" >&5
7242 echo "${ECHO_T}$result" >&6; }
7243
7244
7245 enablestring=
7246 defaultval=$wxUSE_ALL_FEATURES
7247 if test -z "$defaultval"; then
7248 if test x"$enablestring" = xdisable; then
7249 defaultval=yes
7250 else
7251 defaultval=no
7252 fi
7253 fi
7254
7255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7257 # Check whether --enable-datetime was given.
7258 if test "${enable_datetime+set}" = set; then
7259 enableval=$enable_datetime;
7260 if test "$enableval" = yes; then
7261 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7262 else
7263 wx_cv_use_datetime='wxUSE_DATETIME=no'
7264 fi
7265 cache=yes
7266
7267 else
7268
7269 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7270 if test "x$LINE" != x ; then
7271 eval "DEFAULT_$LINE"
7272 cache=yes
7273 else
7274 cache=no
7275 fi
7276
7277 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7278
7279 fi
7280
7281
7282 eval "$wx_cv_use_datetime"
7283 if test "x$cache" = xyes; then
7284 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7285 fi
7286
7287 if test x"$enablestring" = xdisable; then
7288 if test $wxUSE_DATETIME = yes; then
7289 result=no
7290 else
7291 result=yes
7292 fi
7293 else
7294 result=$wxUSE_DATETIME
7295 fi
7296
7297 { echo "$as_me:$LINENO: result: $result" >&5
7298 echo "${ECHO_T}$result" >&6; }
7299
7300
7301 enablestring=
7302 defaultval=$wxUSE_ALL_FEATURES
7303 if test -z "$defaultval"; then
7304 if test x"$enablestring" = xdisable; then
7305 defaultval=yes
7306 else
7307 defaultval=no
7308 fi
7309 fi
7310
7311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7312 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7313 # Check whether --enable-debugreport was given.
7314 if test "${enable_debugreport+set}" = set; then
7315 enableval=$enable_debugreport;
7316 if test "$enableval" = yes; then
7317 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7318 else
7319 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7320 fi
7321 cache=yes
7322
7323 else
7324
7325 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x ; then
7327 eval "DEFAULT_$LINE"
7328 cache=yes
7329 else
7330 cache=no
7331 fi
7332
7333 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7334
7335 fi
7336
7337
7338 eval "$wx_cv_use_debugreport"
7339 if test "x$cache" = xyes; then
7340 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7341 fi
7342
7343 if test x"$enablestring" = xdisable; then
7344 if test $wxUSE_DEBUGREPORT = yes; then
7345 result=no
7346 else
7347 result=yes
7348 fi
7349 else
7350 result=$wxUSE_DEBUGREPORT
7351 fi
7352
7353 { echo "$as_me:$LINENO: result: $result" >&5
7354 echo "${ECHO_T}$result" >&6; }
7355
7356
7357 enablestring=
7358 defaultval=$wxUSE_ALL_FEATURES
7359 if test -z "$defaultval"; then
7360 if test x"$enablestring" = xdisable; then
7361 defaultval=yes
7362 else
7363 defaultval=no
7364 fi
7365 fi
7366
7367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7368 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7369 # Check whether --enable-dialupman was given.
7370 if test "${enable_dialupman+set}" = set; then
7371 enableval=$enable_dialupman;
7372 if test "$enableval" = yes; then
7373 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7374 else
7375 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7376 fi
7377 cache=yes
7378
7379 else
7380
7381 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7382 if test "x$LINE" != x ; then
7383 eval "DEFAULT_$LINE"
7384 cache=yes
7385 else
7386 cache=no
7387 fi
7388
7389 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7390
7391 fi
7392
7393
7394 eval "$wx_cv_use_dialupman"
7395 if test "x$cache" = xyes; then
7396 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7397 fi
7398
7399 if test x"$enablestring" = xdisable; then
7400 if test $wxUSE_DIALUP_MANAGER = yes; then
7401 result=no
7402 else
7403 result=yes
7404 fi
7405 else
7406 result=$wxUSE_DIALUP_MANAGER
7407 fi
7408
7409 { echo "$as_me:$LINENO: result: $result" >&5
7410 echo "${ECHO_T}$result" >&6; }
7411
7412
7413 enablestring=
7414 defaultval=$wxUSE_ALL_FEATURES
7415 if test -z "$defaultval"; then
7416 if test x"$enablestring" = xdisable; then
7417 defaultval=yes
7418 else
7419 defaultval=no
7420 fi
7421 fi
7422
7423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7425 # Check whether --enable-dynlib was given.
7426 if test "${enable_dynlib+set}" = set; then
7427 enableval=$enable_dynlib;
7428 if test "$enableval" = yes; then
7429 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7430 else
7431 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7432 fi
7433 cache=yes
7434
7435 else
7436
7437 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7440 cache=yes
7441 else
7442 cache=no
7443 fi
7444
7445 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7446
7447 fi
7448
7449
7450 eval "$wx_cv_use_dynlib"
7451 if test "x$cache" = xyes; then
7452 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7453 fi
7454
7455 if test x"$enablestring" = xdisable; then
7456 if test $wxUSE_DYNLIB_CLASS = yes; then
7457 result=no
7458 else
7459 result=yes
7460 fi
7461 else
7462 result=$wxUSE_DYNLIB_CLASS
7463 fi
7464
7465 { echo "$as_me:$LINENO: result: $result" >&5
7466 echo "${ECHO_T}$result" >&6; }
7467
7468
7469 enablestring=
7470 defaultval=$wxUSE_ALL_FEATURES
7471 if test -z "$defaultval"; then
7472 if test x"$enablestring" = xdisable; then
7473 defaultval=yes
7474 else
7475 defaultval=no
7476 fi
7477 fi
7478
7479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7480 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7481 # Check whether --enable-dynamicloader was given.
7482 if test "${enable_dynamicloader+set}" = set; then
7483 enableval=$enable_dynamicloader;
7484 if test "$enableval" = yes; then
7485 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7486 else
7487 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7488 fi
7489 cache=yes
7490
7491 else
7492
7493 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x ; then
7495 eval "DEFAULT_$LINE"
7496 cache=yes
7497 else
7498 cache=no
7499 fi
7500
7501 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7502
7503 fi
7504
7505
7506 eval "$wx_cv_use_dynamicloader"
7507 if test "x$cache" = xyes; then
7508 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7509 fi
7510
7511 if test x"$enablestring" = xdisable; then
7512 if test $wxUSE_DYNAMIC_LOADER = yes; then
7513 result=no
7514 else
7515 result=yes
7516 fi
7517 else
7518 result=$wxUSE_DYNAMIC_LOADER
7519 fi
7520
7521 { echo "$as_me:$LINENO: result: $result" >&5
7522 echo "${ECHO_T}$result" >&6; }
7523
7524
7525 enablestring=
7526 defaultval=$wxUSE_ALL_FEATURES
7527 if test -z "$defaultval"; then
7528 if test x"$enablestring" = xdisable; then
7529 defaultval=yes
7530 else
7531 defaultval=no
7532 fi
7533 fi
7534
7535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7536 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7537 # Check whether --enable-exceptions was given.
7538 if test "${enable_exceptions+set}" = set; then
7539 enableval=$enable_exceptions;
7540 if test "$enableval" = yes; then
7541 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7542 else
7543 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7544 fi
7545 cache=yes
7546
7547 else
7548
7549 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7550 if test "x$LINE" != x ; then
7551 eval "DEFAULT_$LINE"
7552 cache=yes
7553 else
7554 cache=no
7555 fi
7556
7557 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7558
7559 fi
7560
7561
7562 eval "$wx_cv_use_exceptions"
7563 if test "x$cache" = xyes; then
7564 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7565 fi
7566
7567 if test x"$enablestring" = xdisable; then
7568 if test $wxUSE_EXCEPTIONS = yes; then
7569 result=no
7570 else
7571 result=yes
7572 fi
7573 else
7574 result=$wxUSE_EXCEPTIONS
7575 fi
7576
7577 { echo "$as_me:$LINENO: result: $result" >&5
7578 echo "${ECHO_T}$result" >&6; }
7579
7580
7581 enablestring=
7582 defaultval=$wxUSE_ALL_FEATURES
7583 if test -z "$defaultval"; then
7584 if test x"$enablestring" = xdisable; then
7585 defaultval=yes
7586 else
7587 defaultval=no
7588 fi
7589 fi
7590
7591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7593 # Check whether --enable-ffile was given.
7594 if test "${enable_ffile+set}" = set; then
7595 enableval=$enable_ffile;
7596 if test "$enableval" = yes; then
7597 wx_cv_use_ffile='wxUSE_FFILE=yes'
7598 else
7599 wx_cv_use_ffile='wxUSE_FFILE=no'
7600 fi
7601 cache=yes
7602
7603 else
7604
7605 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7606 if test "x$LINE" != x ; then
7607 eval "DEFAULT_$LINE"
7608 cache=yes
7609 else
7610 cache=no
7611 fi
7612
7613 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7614
7615 fi
7616
7617
7618 eval "$wx_cv_use_ffile"
7619 if test "x$cache" = xyes; then
7620 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7621 fi
7622
7623 if test x"$enablestring" = xdisable; then
7624 if test $wxUSE_FFILE = yes; then
7625 result=no
7626 else
7627 result=yes
7628 fi
7629 else
7630 result=$wxUSE_FFILE
7631 fi
7632
7633 { echo "$as_me:$LINENO: result: $result" >&5
7634 echo "${ECHO_T}$result" >&6; }
7635
7636
7637 enablestring=
7638 defaultval=$wxUSE_ALL_FEATURES
7639 if test -z "$defaultval"; then
7640 if test x"$enablestring" = xdisable; then
7641 defaultval=yes
7642 else
7643 defaultval=no
7644 fi
7645 fi
7646
7647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7648 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7649 # Check whether --enable-file was given.
7650 if test "${enable_file+set}" = set; then
7651 enableval=$enable_file;
7652 if test "$enableval" = yes; then
7653 wx_cv_use_file='wxUSE_FILE=yes'
7654 else
7655 wx_cv_use_file='wxUSE_FILE=no'
7656 fi
7657 cache=yes
7658
7659 else
7660
7661 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7662 if test "x$LINE" != x ; then
7663 eval "DEFAULT_$LINE"
7664 cache=yes
7665 else
7666 cache=no
7667 fi
7668
7669 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7670
7671 fi
7672
7673
7674 eval "$wx_cv_use_file"
7675 if test "x$cache" = xyes; then
7676 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7677 fi
7678
7679 if test x"$enablestring" = xdisable; then
7680 if test $wxUSE_FILE = yes; then
7681 result=no
7682 else
7683 result=yes
7684 fi
7685 else
7686 result=$wxUSE_FILE
7687 fi
7688
7689 { echo "$as_me:$LINENO: result: $result" >&5
7690 echo "${ECHO_T}$result" >&6; }
7691
7692
7693 enablestring=
7694 defaultval=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x"$enablestring" = xdisable; then
7697 defaultval=yes
7698 else
7699 defaultval=no
7700 fi
7701 fi
7702
7703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7705 # Check whether --enable-filesystem was given.
7706 if test "${enable_filesystem+set}" = set; then
7707 enableval=$enable_filesystem;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7710 else
7711 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7712 fi
7713 cache=yes
7714
7715 else
7716
7717 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7718 if test "x$LINE" != x ; then
7719 eval "DEFAULT_$LINE"
7720 cache=yes
7721 else
7722 cache=no
7723 fi
7724
7725 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7726
7727 fi
7728
7729
7730 eval "$wx_cv_use_filesystem"
7731 if test "x$cache" = xyes; then
7732 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7733 fi
7734
7735 if test x"$enablestring" = xdisable; then
7736 if test $wxUSE_FILESYSTEM = yes; then
7737 result=no
7738 else
7739 result=yes
7740 fi
7741 else
7742 result=$wxUSE_FILESYSTEM
7743 fi
7744
7745 { echo "$as_me:$LINENO: result: $result" >&5
7746 echo "${ECHO_T}$result" >&6; }
7747
7748
7749 enablestring=
7750 defaultval=$wxUSE_ALL_FEATURES
7751 if test -z "$defaultval"; then
7752 if test x"$enablestring" = xdisable; then
7753 defaultval=yes
7754 else
7755 defaultval=no
7756 fi
7757 fi
7758
7759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7761 # Check whether --enable-fontenum was given.
7762 if test "${enable_fontenum+set}" = set; then
7763 enableval=$enable_fontenum;
7764 if test "$enableval" = yes; then
7765 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7766 else
7767 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7768 fi
7769 cache=yes
7770
7771 else
7772
7773 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x ; then
7775 eval "DEFAULT_$LINE"
7776 cache=yes
7777 else
7778 cache=no
7779 fi
7780
7781 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7782
7783 fi
7784
7785
7786 eval "$wx_cv_use_fontenum"
7787 if test "x$cache" = xyes; then
7788 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7789 fi
7790
7791 if test x"$enablestring" = xdisable; then
7792 if test $wxUSE_FONTENUM = yes; then
7793 result=no
7794 else
7795 result=yes
7796 fi
7797 else
7798 result=$wxUSE_FONTENUM
7799 fi
7800
7801 { echo "$as_me:$LINENO: result: $result" >&5
7802 echo "${ECHO_T}$result" >&6; }
7803
7804
7805 enablestring=
7806 defaultval=$wxUSE_ALL_FEATURES
7807 if test -z "$defaultval"; then
7808 if test x"$enablestring" = xdisable; then
7809 defaultval=yes
7810 else
7811 defaultval=no
7812 fi
7813 fi
7814
7815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7816 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7817 # Check whether --enable-fontmap was given.
7818 if test "${enable_fontmap+set}" = set; then
7819 enableval=$enable_fontmap;
7820 if test "$enableval" = yes; then
7821 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7822 else
7823 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7824 fi
7825 cache=yes
7826
7827 else
7828
7829 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7830 if test "x$LINE" != x ; then
7831 eval "DEFAULT_$LINE"
7832 cache=yes
7833 else
7834 cache=no
7835 fi
7836
7837 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7838
7839 fi
7840
7841
7842 eval "$wx_cv_use_fontmap"
7843 if test "x$cache" = xyes; then
7844 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7845 fi
7846
7847 if test x"$enablestring" = xdisable; then
7848 if test $wxUSE_FONTMAP = yes; then
7849 result=no
7850 else
7851 result=yes
7852 fi
7853 else
7854 result=$wxUSE_FONTMAP
7855 fi
7856
7857 { echo "$as_me:$LINENO: result: $result" >&5
7858 echo "${ECHO_T}$result" >&6; }
7859
7860
7861 enablestring=
7862 defaultval=$wxUSE_ALL_FEATURES
7863 if test -z "$defaultval"; then
7864 if test x"$enablestring" = xdisable; then
7865 defaultval=yes
7866 else
7867 defaultval=no
7868 fi
7869 fi
7870
7871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7873 # Check whether --enable-fs_archive was given.
7874 if test "${enable_fs_archive+set}" = set; then
7875 enableval=$enable_fs_archive;
7876 if test "$enableval" = yes; then
7877 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7878 else
7879 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7880 fi
7881 cache=yes
7882
7883 else
7884
7885 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7886 if test "x$LINE" != x ; then
7887 eval "DEFAULT_$LINE"
7888 cache=yes
7889 else
7890 cache=no
7891 fi
7892
7893 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7894
7895 fi
7896
7897
7898 eval "$wx_cv_use_fs_archive"
7899 if test "x$cache" = xyes; then
7900 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7901 fi
7902
7903 if test x"$enablestring" = xdisable; then
7904 if test $wxUSE_FS_ARCHIVE = yes; then
7905 result=no
7906 else
7907 result=yes
7908 fi
7909 else
7910 result=$wxUSE_FS_ARCHIVE
7911 fi
7912
7913 { echo "$as_me:$LINENO: result: $result" >&5
7914 echo "${ECHO_T}$result" >&6; }
7915
7916
7917 enablestring=
7918 defaultval=$wxUSE_ALL_FEATURES
7919 if test -z "$defaultval"; then
7920 if test x"$enablestring" = xdisable; then
7921 defaultval=yes
7922 else
7923 defaultval=no
7924 fi
7925 fi
7926
7927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7928 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7929 # Check whether --enable-fs_inet was given.
7930 if test "${enable_fs_inet+set}" = set; then
7931 enableval=$enable_fs_inet;
7932 if test "$enableval" = yes; then
7933 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7934 else
7935 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7936 fi
7937 cache=yes
7938
7939 else
7940
7941 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7942 if test "x$LINE" != x ; then
7943 eval "DEFAULT_$LINE"
7944 cache=yes
7945 else
7946 cache=no
7947 fi
7948
7949 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7950
7951 fi
7952
7953
7954 eval "$wx_cv_use_fs_inet"
7955 if test "x$cache" = xyes; then
7956 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7957 fi
7958
7959 if test x"$enablestring" = xdisable; then
7960 if test $wxUSE_FS_INET = yes; then
7961 result=no
7962 else
7963 result=yes
7964 fi
7965 else
7966 result=$wxUSE_FS_INET
7967 fi
7968
7969 { echo "$as_me:$LINENO: result: $result" >&5
7970 echo "${ECHO_T}$result" >&6; }
7971
7972
7973 enablestring=
7974 defaultval=$wxUSE_ALL_FEATURES
7975 if test -z "$defaultval"; then
7976 if test x"$enablestring" = xdisable; then
7977 defaultval=yes
7978 else
7979 defaultval=no
7980 fi
7981 fi
7982
7983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7984 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7985 # Check whether --enable-fs_zip was given.
7986 if test "${enable_fs_zip+set}" = set; then
7987 enableval=$enable_fs_zip;
7988 if test "$enableval" = yes; then
7989 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7990 else
7991 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7992 fi
7993 cache=yes
7994
7995 else
7996
7997 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7998 if test "x$LINE" != x ; then
7999 eval "DEFAULT_$LINE"
8000 cache=yes
8001 else
8002 cache=no
8003 fi
8004
8005 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8006
8007 fi
8008
8009
8010 eval "$wx_cv_use_fs_zip"
8011 if test "x$cache" = xyes; then
8012 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
8013 fi
8014
8015 if test x"$enablestring" = xdisable; then
8016 if test $wxUSE_FS_ZIP = yes; then
8017 result=no
8018 else
8019 result=yes
8020 fi
8021 else
8022 result=$wxUSE_FS_ZIP
8023 fi
8024
8025 { echo "$as_me:$LINENO: result: $result" >&5
8026 echo "${ECHO_T}$result" >&6; }
8027
8028
8029 enablestring=
8030 defaultval=$wxUSE_ALL_FEATURES
8031 if test -z "$defaultval"; then
8032 if test x"$enablestring" = xdisable; then
8033 defaultval=yes
8034 else
8035 defaultval=no
8036 fi
8037 fi
8038
8039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
8040 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
8041 # Check whether --enable-geometry was given.
8042 if test "${enable_geometry+set}" = set; then
8043 enableval=$enable_geometry;
8044 if test "$enableval" = yes; then
8045 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8046 else
8047 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8048 fi
8049 cache=yes
8050
8051 else
8052
8053 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x ; then
8055 eval "DEFAULT_$LINE"
8056 cache=yes
8057 else
8058 cache=no
8059 fi
8060
8061 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8062
8063 fi
8064
8065
8066 eval "$wx_cv_use_geometry"
8067 if test "x$cache" = xyes; then
8068 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8069 fi
8070
8071 if test x"$enablestring" = xdisable; then
8072 if test $wxUSE_GEOMETRY = yes; then
8073 result=no
8074 else
8075 result=yes
8076 fi
8077 else
8078 result=$wxUSE_GEOMETRY
8079 fi
8080
8081 { echo "$as_me:$LINENO: result: $result" >&5
8082 echo "${ECHO_T}$result" >&6; }
8083
8084
8085 enablestring=
8086 defaultval=$wxUSE_ALL_FEATURES
8087 if test -z "$defaultval"; then
8088 if test x"$enablestring" = xdisable; then
8089 defaultval=yes
8090 else
8091 defaultval=no
8092 fi
8093 fi
8094
8095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8097 # Check whether --enable-log was given.
8098 if test "${enable_log+set}" = set; then
8099 enableval=$enable_log;
8100 if test "$enableval" = yes; then
8101 wx_cv_use_log='wxUSE_LOG=yes'
8102 else
8103 wx_cv_use_log='wxUSE_LOG=no'
8104 fi
8105 cache=yes
8106
8107 else
8108
8109 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x ; then
8111 eval "DEFAULT_$LINE"
8112 cache=yes
8113 else
8114 cache=no
8115 fi
8116
8117 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8118
8119 fi
8120
8121
8122 eval "$wx_cv_use_log"
8123 if test "x$cache" = xyes; then
8124 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8125 fi
8126
8127 if test x"$enablestring" = xdisable; then
8128 if test $wxUSE_LOG = yes; then
8129 result=no
8130 else
8131 result=yes
8132 fi
8133 else
8134 result=$wxUSE_LOG
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}-longlong" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8153 # Check whether --enable-longlong was given.
8154 if test "${enable_longlong+set}" = set; then
8155 enableval=$enable_longlong;
8156 if test "$enableval" = yes; then
8157 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8158 else
8159 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8160 fi
8161 cache=yes
8162
8163 else
8164
8165 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x ; then
8167 eval "DEFAULT_$LINE"
8168 cache=yes
8169 else
8170 cache=no
8171 fi
8172
8173 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8174
8175 fi
8176
8177
8178 eval "$wx_cv_use_longlong"
8179 if test "x$cache" = xyes; then
8180 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8181 fi
8182
8183 if test x"$enablestring" = xdisable; then
8184 if test $wxUSE_LONGLONG = yes; then
8185 result=no
8186 else
8187 result=yes
8188 fi
8189 else
8190 result=$wxUSE_LONGLONG
8191 fi
8192
8193 { echo "$as_me:$LINENO: result: $result" >&5
8194 echo "${ECHO_T}$result" >&6; }
8195
8196
8197 enablestring=
8198 defaultval=$wxUSE_ALL_FEATURES
8199 if test -z "$defaultval"; then
8200 if test x"$enablestring" = xdisable; then
8201 defaultval=yes
8202 else
8203 defaultval=no
8204 fi
8205 fi
8206
8207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8208 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8209 # Check whether --enable-mimetype was given.
8210 if test "${enable_mimetype+set}" = set; then
8211 enableval=$enable_mimetype;
8212 if test "$enableval" = yes; then
8213 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8214 else
8215 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8216 fi
8217 cache=yes
8218
8219 else
8220
8221 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x ; then
8223 eval "DEFAULT_$LINE"
8224 cache=yes
8225 else
8226 cache=no
8227 fi
8228
8229 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8230
8231 fi
8232
8233
8234 eval "$wx_cv_use_mimetype"
8235 if test "x$cache" = xyes; then
8236 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8237 fi
8238
8239 if test x"$enablestring" = xdisable; then
8240 if test $wxUSE_MIMETYPE = yes; then
8241 result=no
8242 else
8243 result=yes
8244 fi
8245 else
8246 result=$wxUSE_MIMETYPE
8247 fi
8248
8249 { echo "$as_me:$LINENO: result: $result" >&5
8250 echo "${ECHO_T}$result" >&6; }
8251
8252
8253 enablestring=
8254 defaultval=$wxUSE_ALL_FEATURES
8255 if test -z "$defaultval"; then
8256 if test x"$enablestring" = xdisable; then
8257 defaultval=yes
8258 else
8259 defaultval=no
8260 fi
8261 fi
8262
8263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8265 # Check whether --enable-snglinst was given.
8266 if test "${enable_snglinst+set}" = set; then
8267 enableval=$enable_snglinst;
8268 if test "$enableval" = yes; then
8269 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8270 else
8271 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8272 fi
8273 cache=yes
8274
8275 else
8276
8277 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8278 if test "x$LINE" != x ; then
8279 eval "DEFAULT_$LINE"
8280 cache=yes
8281 else
8282 cache=no
8283 fi
8284
8285 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8286
8287 fi
8288
8289
8290 eval "$wx_cv_use_snglinst"
8291 if test "x$cache" = xyes; then
8292 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8293 fi
8294
8295 if test x"$enablestring" = xdisable; then
8296 if test $wxUSE_SNGLINST_CHECKER = yes; then
8297 result=no
8298 else
8299 result=yes
8300 fi
8301 else
8302 result=$wxUSE_SNGLINST_CHECKER
8303 fi
8304
8305 { echo "$as_me:$LINENO: result: $result" >&5
8306 echo "${ECHO_T}$result" >&6; }
8307
8308
8309 enablestring=
8310 defaultval=$wxUSE_ALL_FEATURES
8311 if test -z "$defaultval"; then
8312 if test x"$enablestring" = xdisable; then
8313 defaultval=yes
8314 else
8315 defaultval=no
8316 fi
8317 fi
8318
8319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8320 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8321 # Check whether --enable-stdpaths was given.
8322 if test "${enable_stdpaths+set}" = set; then
8323 enableval=$enable_stdpaths;
8324 if test "$enableval" = yes; then
8325 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8326 else
8327 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8328 fi
8329 cache=yes
8330
8331 else
8332
8333 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8334 if test "x$LINE" != x ; then
8335 eval "DEFAULT_$LINE"
8336 cache=yes
8337 else
8338 cache=no
8339 fi
8340
8341 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8342
8343 fi
8344
8345
8346 eval "$wx_cv_use_stdpaths"
8347 if test "x$cache" = xyes; then
8348 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8349 fi
8350
8351 if test x"$enablestring" = xdisable; then
8352 if test $wxUSE_STDPATHS = yes; then
8353 result=no
8354 else
8355 result=yes
8356 fi
8357 else
8358 result=$wxUSE_STDPATHS
8359 fi
8360
8361 { echo "$as_me:$LINENO: result: $result" >&5
8362 echo "${ECHO_T}$result" >&6; }
8363
8364
8365 enablestring=
8366 defaultval=$wxUSE_ALL_FEATURES
8367 if test -z "$defaultval"; then
8368 if test x"$enablestring" = xdisable; then
8369 defaultval=yes
8370 else
8371 defaultval=no
8372 fi
8373 fi
8374
8375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8376 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8377 # Check whether --enable-stopwatch was given.
8378 if test "${enable_stopwatch+set}" = set; then
8379 enableval=$enable_stopwatch;
8380 if test "$enableval" = yes; then
8381 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8382 else
8383 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8384 fi
8385 cache=yes
8386
8387 else
8388
8389 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8390 if test "x$LINE" != x ; then
8391 eval "DEFAULT_$LINE"
8392 cache=yes
8393 else
8394 cache=no
8395 fi
8396
8397 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8398
8399 fi
8400
8401
8402 eval "$wx_cv_use_stopwatch"
8403 if test "x$cache" = xyes; then
8404 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8405 fi
8406
8407 if test x"$enablestring" = xdisable; then
8408 if test $wxUSE_STOPWATCH = yes; then
8409 result=no
8410 else
8411 result=yes
8412 fi
8413 else
8414 result=$wxUSE_STOPWATCH
8415 fi
8416
8417 { echo "$as_me:$LINENO: result: $result" >&5
8418 echo "${ECHO_T}$result" >&6; }
8419
8420
8421 enablestring=
8422 defaultval=$wxUSE_ALL_FEATURES
8423 if test -z "$defaultval"; then
8424 if test x"$enablestring" = xdisable; then
8425 defaultval=yes
8426 else
8427 defaultval=no
8428 fi
8429 fi
8430
8431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8432 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8433 # Check whether --enable-streams was given.
8434 if test "${enable_streams+set}" = set; then
8435 enableval=$enable_streams;
8436 if test "$enableval" = yes; then
8437 wx_cv_use_streams='wxUSE_STREAMS=yes'
8438 else
8439 wx_cv_use_streams='wxUSE_STREAMS=no'
8440 fi
8441 cache=yes
8442
8443 else
8444
8445 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8446 if test "x$LINE" != x ; then
8447 eval "DEFAULT_$LINE"
8448 cache=yes
8449 else
8450 cache=no
8451 fi
8452
8453 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8454
8455 fi
8456
8457
8458 eval "$wx_cv_use_streams"
8459 if test "x$cache" = xyes; then
8460 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8461 fi
8462
8463 if test x"$enablestring" = xdisable; then
8464 if test $wxUSE_STREAMS = yes; then
8465 result=no
8466 else
8467 result=yes
8468 fi
8469 else
8470 result=$wxUSE_STREAMS
8471 fi
8472
8473 { echo "$as_me:$LINENO: result: $result" >&5
8474 echo "${ECHO_T}$result" >&6; }
8475
8476
8477 enablestring=
8478 defaultval=$wxUSE_ALL_FEATURES
8479 if test -z "$defaultval"; then
8480 if test x"$enablestring" = xdisable; then
8481 defaultval=yes
8482 else
8483 defaultval=no
8484 fi
8485 fi
8486
8487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8489 # Check whether --enable-system_options was given.
8490 if test "${enable_system_options+set}" = set; then
8491 enableval=$enable_system_options;
8492 if test "$enableval" = yes; then
8493 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8494 else
8495 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8496 fi
8497 cache=yes
8498
8499 else
8500
8501 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x ; then
8503 eval "DEFAULT_$LINE"
8504 cache=yes
8505 else
8506 cache=no
8507 fi
8508
8509 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8510
8511 fi
8512
8513
8514 eval "$wx_cv_use_system_options"
8515 if test "x$cache" = xyes; then
8516 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8517 fi
8518
8519 if test x"$enablestring" = xdisable; then
8520 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8521 result=no
8522 else
8523 result=yes
8524 fi
8525 else
8526 result=$wxUSE_SYSTEM_OPTIONS
8527 fi
8528
8529 { echo "$as_me:$LINENO: result: $result" >&5
8530 echo "${ECHO_T}$result" >&6; }
8531
8532
8533 enablestring=
8534 defaultval=$wxUSE_ALL_FEATURES
8535 if test -z "$defaultval"; then
8536 if test x"$enablestring" = xdisable; then
8537 defaultval=yes
8538 else
8539 defaultval=no
8540 fi
8541 fi
8542
8543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8544 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8545 # Check whether --enable-tarstream was given.
8546 if test "${enable_tarstream+set}" = set; then
8547 enableval=$enable_tarstream;
8548 if test "$enableval" = yes; then
8549 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8550 else
8551 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8552 fi
8553 cache=yes
8554
8555 else
8556
8557 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8558 if test "x$LINE" != x ; then
8559 eval "DEFAULT_$LINE"
8560 cache=yes
8561 else
8562 cache=no
8563 fi
8564
8565 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8566
8567 fi
8568
8569
8570 eval "$wx_cv_use_tarstream"
8571 if test "x$cache" = xyes; then
8572 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8573 fi
8574
8575 if test x"$enablestring" = xdisable; then
8576 if test $wxUSE_TARSTREAM = yes; then
8577 result=no
8578 else
8579 result=yes
8580 fi
8581 else
8582 result=$wxUSE_TARSTREAM
8583 fi
8584
8585 { echo "$as_me:$LINENO: result: $result" >&5
8586 echo "${ECHO_T}$result" >&6; }
8587
8588
8589 enablestring=
8590 defaultval=$wxUSE_ALL_FEATURES
8591 if test -z "$defaultval"; then
8592 if test x"$enablestring" = xdisable; then
8593 defaultval=yes
8594 else
8595 defaultval=no
8596 fi
8597 fi
8598
8599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8600 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8601 # Check whether --enable-textbuf was given.
8602 if test "${enable_textbuf+set}" = set; then
8603 enableval=$enable_textbuf;
8604 if test "$enableval" = yes; then
8605 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8606 else
8607 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8608 fi
8609 cache=yes
8610
8611 else
8612
8613 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8614 if test "x$LINE" != x ; then
8615 eval "DEFAULT_$LINE"
8616 cache=yes
8617 else
8618 cache=no
8619 fi
8620
8621 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8622
8623 fi
8624
8625
8626 eval "$wx_cv_use_textbuf"
8627 if test "x$cache" = xyes; then
8628 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8629 fi
8630
8631 if test x"$enablestring" = xdisable; then
8632 if test $wxUSE_TEXTBUFFER = yes; then
8633 result=no
8634 else
8635 result=yes
8636 fi
8637 else
8638 result=$wxUSE_TEXTBUFFER
8639 fi
8640
8641 { echo "$as_me:$LINENO: result: $result" >&5
8642 echo "${ECHO_T}$result" >&6; }
8643
8644
8645 enablestring=
8646 defaultval=$wxUSE_ALL_FEATURES
8647 if test -z "$defaultval"; then
8648 if test x"$enablestring" = xdisable; then
8649 defaultval=yes
8650 else
8651 defaultval=no
8652 fi
8653 fi
8654
8655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8656 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8657 # Check whether --enable-textfile was given.
8658 if test "${enable_textfile+set}" = set; then
8659 enableval=$enable_textfile;
8660 if test "$enableval" = yes; then
8661 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8662 else
8663 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8664 fi
8665 cache=yes
8666
8667 else
8668
8669 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8672 cache=yes
8673 else
8674 cache=no
8675 fi
8676
8677 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8678
8679 fi
8680
8681
8682 eval "$wx_cv_use_textfile"
8683 if test "x$cache" = xyes; then
8684 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8685 fi
8686
8687 if test x"$enablestring" = xdisable; then
8688 if test $wxUSE_TEXTFILE = yes; then
8689 result=no
8690 else
8691 result=yes
8692 fi
8693 else
8694 result=$wxUSE_TEXTFILE
8695 fi
8696
8697 { echo "$as_me:$LINENO: result: $result" >&5
8698 echo "${ECHO_T}$result" >&6; }
8699
8700
8701 enablestring=
8702 defaultval=$wxUSE_ALL_FEATURES
8703 if test -z "$defaultval"; then
8704 if test x"$enablestring" = xdisable; then
8705 defaultval=yes
8706 else
8707 defaultval=no
8708 fi
8709 fi
8710
8711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8712 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8713 # Check whether --enable-timer was given.
8714 if test "${enable_timer+set}" = set; then
8715 enableval=$enable_timer;
8716 if test "$enableval" = yes; then
8717 wx_cv_use_timer='wxUSE_TIMER=yes'
8718 else
8719 wx_cv_use_timer='wxUSE_TIMER=no'
8720 fi
8721 cache=yes
8722
8723 else
8724
8725 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8726 if test "x$LINE" != x ; then
8727 eval "DEFAULT_$LINE"
8728 cache=yes
8729 else
8730 cache=no
8731 fi
8732
8733 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8734
8735 fi
8736
8737
8738 eval "$wx_cv_use_timer"
8739 if test "x$cache" = xyes; then
8740 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8741 fi
8742
8743 if test x"$enablestring" = xdisable; then
8744 if test $wxUSE_TIMER = yes; then
8745 result=no
8746 else
8747 result=yes
8748 fi
8749 else
8750 result=$wxUSE_TIMER
8751 fi
8752
8753 { echo "$as_me:$LINENO: result: $result" >&5
8754 echo "${ECHO_T}$result" >&6; }
8755
8756
8757 enablestring=
8758 defaultval=$wxUSE_ALL_FEATURES
8759 if test -z "$defaultval"; then
8760 if test x"$enablestring" = xdisable; then
8761 defaultval=yes
8762 else
8763 defaultval=no
8764 fi
8765 fi
8766
8767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8769 # Check whether --enable-sound was given.
8770 if test "${enable_sound+set}" = set; then
8771 enableval=$enable_sound;
8772 if test "$enableval" = yes; then
8773 wx_cv_use_sound='wxUSE_SOUND=yes'
8774 else
8775 wx_cv_use_sound='wxUSE_SOUND=no'
8776 fi
8777 cache=yes
8778
8779 else
8780
8781 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8782 if test "x$LINE" != x ; then
8783 eval "DEFAULT_$LINE"
8784 cache=yes
8785 else
8786 cache=no
8787 fi
8788
8789 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8790
8791 fi
8792
8793
8794 eval "$wx_cv_use_sound"
8795 if test "x$cache" = xyes; then
8796 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8797 fi
8798
8799 if test x"$enablestring" = xdisable; then
8800 if test $wxUSE_SOUND = yes; then
8801 result=no
8802 else
8803 result=yes
8804 fi
8805 else
8806 result=$wxUSE_SOUND
8807 fi
8808
8809 { echo "$as_me:$LINENO: result: $result" >&5
8810 echo "${ECHO_T}$result" >&6; }
8811
8812
8813 enablestring=
8814 defaultval=$wxUSE_ALL_FEATURES
8815 if test -z "$defaultval"; then
8816 if test x"$enablestring" = xdisable; then
8817 defaultval=yes
8818 else
8819 defaultval=no
8820 fi
8821 fi
8822
8823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8824 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8825 # Check whether --enable-mediactrl was given.
8826 if test "${enable_mediactrl+set}" = set; then
8827 enableval=$enable_mediactrl;
8828 if test "$enableval" = yes; then
8829 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8830 else
8831 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8832 fi
8833 cache=yes
8834
8835 else
8836
8837 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8838 if test "x$LINE" != x ; then
8839 eval "DEFAULT_$LINE"
8840 cache=yes
8841 else
8842 cache=no
8843 fi
8844
8845 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8846
8847 fi
8848
8849
8850 eval "$wx_cv_use_mediactrl"
8851 if test "x$cache" = xyes; then
8852 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8853 fi
8854
8855 if test x"$enablestring" = xdisable; then
8856 if test $wxUSE_MEDIACTRL = yes; then
8857 result=no
8858 else
8859 result=yes
8860 fi
8861 else
8862 result=$wxUSE_MEDIACTRL
8863 fi
8864
8865 { echo "$as_me:$LINENO: result: $result" >&5
8866 echo "${ECHO_T}$result" >&6; }
8867
8868
8869 enablestring=
8870 defaultval=$wxUSE_ALL_FEATURES
8871 if test -z "$defaultval"; then
8872 if test x"$enablestring" = xdisable; then
8873 defaultval=yes
8874 else
8875 defaultval=no
8876 fi
8877 fi
8878
8879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8880 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8881 # Check whether --enable-gstreamer8 was given.
8882 if test "${enable_gstreamer8+set}" = set; then
8883 enableval=$enable_gstreamer8;
8884 if test "$enableval" = yes; then
8885 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8886 else
8887 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8888 fi
8889 cache=yes
8890
8891 else
8892
8893 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x ; then
8895 eval "DEFAULT_$LINE"
8896 cache=yes
8897 else
8898 cache=no
8899 fi
8900
8901 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8902
8903 fi
8904
8905
8906 eval "$wx_cv_use_gstreamer8"
8907 if test "x$cache" = xyes; then
8908 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8909 fi
8910
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_GSTREAMER8 = yes; then
8913 result=no
8914 else
8915 result=yes
8916 fi
8917 else
8918 result=$wxUSE_GSTREAMER8
8919 fi
8920
8921 { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8923
8924
8925 enablestring=
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8929 defaultval=yes
8930 else
8931 defaultval=no
8932 fi
8933 fi
8934
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8937 # Check whether --enable-printfposparam was given.
8938 if test "${enable_printfposparam+set}" = set; then
8939 enableval=$enable_printfposparam;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8942 else
8943 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8944 fi
8945 cache=yes
8946
8947 else
8948
8949 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x ; then
8951 eval "DEFAULT_$LINE"
8952 cache=yes
8953 else
8954 cache=no
8955 fi
8956
8957 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8958
8959 fi
8960
8961
8962 eval "$wx_cv_use_printfposparam"
8963 if test "x$cache" = xyes; then
8964 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8965 fi
8966
8967 if test x"$enablestring" = xdisable; then
8968 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8969 result=no
8970 else
8971 result=yes
8972 fi
8973 else
8974 result=$wxUSE_PRINTF_POS_PARAMS
8975 fi
8976
8977 { echo "$as_me:$LINENO: result: $result" >&5
8978 echo "${ECHO_T}$result" >&6; }
8979
8980
8981 enablestring=
8982 defaultval=$wxUSE_ALL_FEATURES
8983 if test -z "$defaultval"; then
8984 if test x"$enablestring" = xdisable; then
8985 defaultval=yes
8986 else
8987 defaultval=no
8988 fi
8989 fi
8990
8991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8992 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8993 # Check whether --enable-zipstream was given.
8994 if test "${enable_zipstream+set}" = set; then
8995 enableval=$enable_zipstream;
8996 if test "$enableval" = yes; then
8997 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8998 else
8999 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9000 fi
9001 cache=yes
9002
9003 else
9004
9005 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x ; then
9007 eval "DEFAULT_$LINE"
9008 cache=yes
9009 else
9010 cache=no
9011 fi
9012
9013 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9014
9015 fi
9016
9017
9018 eval "$wx_cv_use_zipstream"
9019 if test "x$cache" = xyes; then
9020 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
9021 fi
9022
9023 if test x"$enablestring" = xdisable; then
9024 if test $wxUSE_ZIPSTREAM = yes; then
9025 result=no
9026 else
9027 result=yes
9028 fi
9029 else
9030 result=$wxUSE_ZIPSTREAM
9031 fi
9032
9033 { echo "$as_me:$LINENO: result: $result" >&5
9034 echo "${ECHO_T}$result" >&6; }
9035
9036
9037
9038 enablestring=
9039 defaultval=$wxUSE_ALL_FEATURES
9040 if test -z "$defaultval"; then
9041 if test x"$enablestring" = xdisable; then
9042 defaultval=yes
9043 else
9044 defaultval=no
9045 fi
9046 fi
9047
9048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
9049 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
9050 # Check whether --enable-url was given.
9051 if test "${enable_url+set}" = set; then
9052 enableval=$enable_url;
9053 if test "$enableval" = yes; then
9054 wx_cv_use_url='wxUSE_URL=yes'
9055 else
9056 wx_cv_use_url='wxUSE_URL=no'
9057 fi
9058 cache=yes
9059
9060 else
9061
9062 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
9063 if test "x$LINE" != x ; then
9064 eval "DEFAULT_$LINE"
9065 cache=yes
9066 else
9067 cache=no
9068 fi
9069
9070 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9071
9072 fi
9073
9074
9075 eval "$wx_cv_use_url"
9076 if test "x$cache" = xyes; then
9077 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9078 fi
9079
9080 if test x"$enablestring" = xdisable; then
9081 if test $wxUSE_URL = yes; then
9082 result=no
9083 else
9084 result=yes
9085 fi
9086 else
9087 result=$wxUSE_URL
9088 fi
9089
9090 { echo "$as_me:$LINENO: result: $result" >&5
9091 echo "${ECHO_T}$result" >&6; }
9092
9093
9094 enablestring=
9095 defaultval=$wxUSE_ALL_FEATURES
9096 if test -z "$defaultval"; then
9097 if test x"$enablestring" = xdisable; then
9098 defaultval=yes
9099 else
9100 defaultval=no
9101 fi
9102 fi
9103
9104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9106 # Check whether --enable-variant was given.
9107 if test "${enable_variant+set}" = set; then
9108 enableval=$enable_variant;
9109 if test "$enableval" = yes; then
9110 wx_cv_use_variant='wxUSE_VARIANT=yes'
9111 else
9112 wx_cv_use_variant='wxUSE_VARIANT=no'
9113 fi
9114 cache=yes
9115
9116 else
9117
9118 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x ; then
9120 eval "DEFAULT_$LINE"
9121 cache=yes
9122 else
9123 cache=no
9124 fi
9125
9126 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9127
9128 fi
9129
9130
9131 eval "$wx_cv_use_variant"
9132 if test "x$cache" = xyes; then
9133 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9134 fi
9135
9136 if test x"$enablestring" = xdisable; then
9137 if test $wxUSE_VARIANT = yes; then
9138 result=no
9139 else
9140 result=yes
9141 fi
9142 else
9143 result=$wxUSE_VARIANT
9144 fi
9145
9146 { echo "$as_me:$LINENO: result: $result" >&5
9147 echo "${ECHO_T}$result" >&6; }
9148
9149
9150 enablestring=
9151 defaultval=$wxUSE_ALL_FEATURES
9152 if test -z "$defaultval"; then
9153 if test x"$enablestring" = xdisable; then
9154 defaultval=yes
9155 else
9156 defaultval=no
9157 fi
9158 fi
9159
9160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9161 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9162 # Check whether --enable-protocol was given.
9163 if test "${enable_protocol+set}" = set; then
9164 enableval=$enable_protocol;
9165 if test "$enableval" = yes; then
9166 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9167 else
9168 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9169 fi
9170 cache=yes
9171
9172 else
9173
9174 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9175 if test "x$LINE" != x ; then
9176 eval "DEFAULT_$LINE"
9177 cache=yes
9178 else
9179 cache=no
9180 fi
9181
9182 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9183
9184 fi
9185
9186
9187 eval "$wx_cv_use_protocol"
9188 if test "x$cache" = xyes; then
9189 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9190 fi
9191
9192 if test x"$enablestring" = xdisable; then
9193 if test $wxUSE_PROTOCOL = yes; then
9194 result=no
9195 else
9196 result=yes
9197 fi
9198 else
9199 result=$wxUSE_PROTOCOL
9200 fi
9201
9202 { echo "$as_me:$LINENO: result: $result" >&5
9203 echo "${ECHO_T}$result" >&6; }
9204
9205
9206 enablestring=
9207 defaultval=$wxUSE_ALL_FEATURES
9208 if test -z "$defaultval"; then
9209 if test x"$enablestring" = xdisable; then
9210 defaultval=yes
9211 else
9212 defaultval=no
9213 fi
9214 fi
9215
9216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9217 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9218 # Check whether --enable-protocol_http was given.
9219 if test "${enable_protocol_http+set}" = set; then
9220 enableval=$enable_protocol_http;
9221 if test "$enableval" = yes; then
9222 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9223 else
9224 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9225 fi
9226 cache=yes
9227
9228 else
9229
9230 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9231 if test "x$LINE" != x ; then
9232 eval "DEFAULT_$LINE"
9233 cache=yes
9234 else
9235 cache=no
9236 fi
9237
9238 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9239
9240 fi
9241
9242
9243 eval "$wx_cv_use_protocol_http"
9244 if test "x$cache" = xyes; then
9245 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9246 fi
9247
9248 if test x"$enablestring" = xdisable; then
9249 if test $wxUSE_PROTOCOL_HTTP = yes; then
9250 result=no
9251 else
9252 result=yes
9253 fi
9254 else
9255 result=$wxUSE_PROTOCOL_HTTP
9256 fi
9257
9258 { echo "$as_me:$LINENO: result: $result" >&5
9259 echo "${ECHO_T}$result" >&6; }
9260
9261
9262 enablestring=
9263 defaultval=$wxUSE_ALL_FEATURES
9264 if test -z "$defaultval"; then
9265 if test x"$enablestring" = xdisable; then
9266 defaultval=yes
9267 else
9268 defaultval=no
9269 fi
9270 fi
9271
9272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9273 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9274 # Check whether --enable-protocol_ftp was given.
9275 if test "${enable_protocol_ftp+set}" = set; then
9276 enableval=$enable_protocol_ftp;
9277 if test "$enableval" = yes; then
9278 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9279 else
9280 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9281 fi
9282 cache=yes
9283
9284 else
9285
9286 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x ; then
9288 eval "DEFAULT_$LINE"
9289 cache=yes
9290 else
9291 cache=no
9292 fi
9293
9294 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9295
9296 fi
9297
9298
9299 eval "$wx_cv_use_protocol_ftp"
9300 if test "x$cache" = xyes; then
9301 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9302 fi
9303
9304 if test x"$enablestring" = xdisable; then
9305 if test $wxUSE_PROTOCOL_FTP = yes; then
9306 result=no
9307 else
9308 result=yes
9309 fi
9310 else
9311 result=$wxUSE_PROTOCOL_FTP
9312 fi
9313
9314 { echo "$as_me:$LINENO: result: $result" >&5
9315 echo "${ECHO_T}$result" >&6; }
9316
9317
9318 enablestring=
9319 defaultval=$wxUSE_ALL_FEATURES
9320 if test -z "$defaultval"; then
9321 if test x"$enablestring" = xdisable; then
9322 defaultval=yes
9323 else
9324 defaultval=no
9325 fi
9326 fi
9327
9328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9329 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9330 # Check whether --enable-protocol_file was given.
9331 if test "${enable_protocol_file+set}" = set; then
9332 enableval=$enable_protocol_file;
9333 if test "$enableval" = yes; then
9334 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9335 else
9336 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9337 fi
9338 cache=yes
9339
9340 else
9341
9342 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9343 if test "x$LINE" != x ; then
9344 eval "DEFAULT_$LINE"
9345 cache=yes
9346 else
9347 cache=no
9348 fi
9349
9350 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9351
9352 fi
9353
9354
9355 eval "$wx_cv_use_protocol_file"
9356 if test "x$cache" = xyes; then
9357 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9358 fi
9359
9360 if test x"$enablestring" = xdisable; then
9361 if test $wxUSE_PROTOCOL_FILE = yes; then
9362 result=no
9363 else
9364 result=yes
9365 fi
9366 else
9367 result=$wxUSE_PROTOCOL_FILE
9368 fi
9369
9370 { echo "$as_me:$LINENO: result: $result" >&5
9371 echo "${ECHO_T}$result" >&6; }
9372
9373
9374
9375 enablestring=
9376 defaultval=$wxUSE_ALL_FEATURES
9377 if test -z "$defaultval"; then
9378 if test x"$enablestring" = xdisable; then
9379 defaultval=yes
9380 else
9381 defaultval=no
9382 fi
9383 fi
9384
9385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9387 # Check whether --enable-threads was given.
9388 if test "${enable_threads+set}" = set; then
9389 enableval=$enable_threads;
9390 if test "$enableval" = yes; then
9391 wx_cv_use_threads='wxUSE_THREADS=yes'
9392 else
9393 wx_cv_use_threads='wxUSE_THREADS=no'
9394 fi
9395 cache=yes
9396
9397 else
9398
9399 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9400 if test "x$LINE" != x ; then
9401 eval "DEFAULT_$LINE"
9402 cache=yes
9403 else
9404 cache=no
9405 fi
9406
9407 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9408
9409 fi
9410
9411
9412 eval "$wx_cv_use_threads"
9413 if test "x$cache" = xyes; then
9414 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9415 fi
9416
9417 if test x"$enablestring" = xdisable; then
9418 if test $wxUSE_THREADS = yes; then
9419 result=no
9420 else
9421 result=yes
9422 fi
9423 else
9424 result=$wxUSE_THREADS
9425 fi
9426
9427 { echo "$as_me:$LINENO: result: $result" >&5
9428 echo "${ECHO_T}$result" >&6; }
9429
9430
9431
9432 enablestring=
9433 defaultval=
9434 if test -z "$defaultval"; then
9435 if test x"$enablestring" = xdisable; then
9436 defaultval=yes
9437 else
9438 defaultval=no
9439 fi
9440 fi
9441
9442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9443 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9444 # Check whether --enable-iniconf was given.
9445 if test "${enable_iniconf+set}" = set; then
9446 enableval=$enable_iniconf;
9447 if test "$enableval" = yes; then
9448 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9449 else
9450 wx_cv_use_iniconf='wxUSE_INICONF=no'
9451 fi
9452 cache=yes
9453
9454 else
9455
9456 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9457 if test "x$LINE" != x ; then
9458 eval "DEFAULT_$LINE"
9459 cache=yes
9460 else
9461 cache=no
9462 fi
9463
9464 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9465
9466 fi
9467
9468
9469 eval "$wx_cv_use_iniconf"
9470 if test "x$cache" = xyes; then
9471 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9472 fi
9473
9474 if test x"$enablestring" = xdisable; then
9475 if test $wxUSE_INICONF = yes; then
9476 result=no
9477 else
9478 result=yes
9479 fi
9480 else
9481 result=$wxUSE_INICONF
9482 fi
9483
9484 { echo "$as_me:$LINENO: result: $result" >&5
9485 echo "${ECHO_T}$result" >&6; }
9486
9487
9488 enablestring=
9489 defaultval=$wxUSE_ALL_FEATURES
9490 if test -z "$defaultval"; then
9491 if test x"$enablestring" = xdisable; then
9492 defaultval=yes
9493 else
9494 defaultval=no
9495 fi
9496 fi
9497
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9500 # Check whether --enable-regkey was given.
9501 if test "${enable_regkey+set}" = set; then
9502 enableval=$enable_regkey;
9503 if test "$enableval" = yes; then
9504 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9505 else
9506 wx_cv_use_regkey='wxUSE_REGKEY=no'
9507 fi
9508 cache=yes
9509
9510 else
9511
9512 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9513 if test "x$LINE" != x ; then
9514 eval "DEFAULT_$LINE"
9515 cache=yes
9516 else
9517 cache=no
9518 fi
9519
9520 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9521
9522 fi
9523
9524
9525 eval "$wx_cv_use_regkey"
9526 if test "x$cache" = xyes; then
9527 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9528 fi
9529
9530 if test x"$enablestring" = xdisable; then
9531 if test $wxUSE_REGKEY = yes; then
9532 result=no
9533 else
9534 result=yes
9535 fi
9536 else
9537 result=$wxUSE_REGKEY
9538 fi
9539
9540 { echo "$as_me:$LINENO: result: $result" >&5
9541 echo "${ECHO_T}$result" >&6; }
9542
9543
9544 if test "$wxUSE_GUI" = "yes"; then
9545
9546
9547
9548 enablestring=
9549 defaultval=$wxUSE_ALL_FEATURES
9550 if test -z "$defaultval"; then
9551 if test x"$enablestring" = xdisable; then
9552 defaultval=yes
9553 else
9554 defaultval=no
9555 fi
9556 fi
9557
9558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9560 # Check whether --enable-docview was given.
9561 if test "${enable_docview+set}" = set; then
9562 enableval=$enable_docview;
9563 if test "$enableval" = yes; then
9564 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9565 else
9566 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9567 fi
9568 cache=yes
9569
9570 else
9571
9572 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x ; then
9574 eval "DEFAULT_$LINE"
9575 cache=yes
9576 else
9577 cache=no
9578 fi
9579
9580 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9581
9582 fi
9583
9584
9585 eval "$wx_cv_use_docview"
9586 if test "x$cache" = xyes; then
9587 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9588 fi
9589
9590 if test x"$enablestring" = xdisable; then
9591 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9592 result=no
9593 else
9594 result=yes
9595 fi
9596 else
9597 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9598 fi
9599
9600 { echo "$as_me:$LINENO: result: $result" >&5
9601 echo "${ECHO_T}$result" >&6; }
9602
9603
9604 enablestring=
9605 defaultval=$wxUSE_ALL_FEATURES
9606 if test -z "$defaultval"; then
9607 if test x"$enablestring" = xdisable; then
9608 defaultval=yes
9609 else
9610 defaultval=no
9611 fi
9612 fi
9613
9614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9616 # Check whether --enable-help was given.
9617 if test "${enable_help+set}" = set; then
9618 enableval=$enable_help;
9619 if test "$enableval" = yes; then
9620 wx_cv_use_help='wxUSE_HELP=yes'
9621 else
9622 wx_cv_use_help='wxUSE_HELP=no'
9623 fi
9624 cache=yes
9625
9626 else
9627
9628 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9629 if test "x$LINE" != x ; then
9630 eval "DEFAULT_$LINE"
9631 cache=yes
9632 else
9633 cache=no
9634 fi
9635
9636 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9637
9638 fi
9639
9640
9641 eval "$wx_cv_use_help"
9642 if test "x$cache" = xyes; then
9643 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9644 fi
9645
9646 if test x"$enablestring" = xdisable; then
9647 if test $wxUSE_HELP = yes; then
9648 result=no
9649 else
9650 result=yes
9651 fi
9652 else
9653 result=$wxUSE_HELP
9654 fi
9655
9656 { echo "$as_me:$LINENO: result: $result" >&5
9657 echo "${ECHO_T}$result" >&6; }
9658
9659
9660 enablestring=
9661 defaultval=$wxUSE_ALL_FEATURES
9662 if test -z "$defaultval"; then
9663 if test x"$enablestring" = xdisable; then
9664 defaultval=yes
9665 else
9666 defaultval=no
9667 fi
9668 fi
9669
9670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9672 # Check whether --enable-mshtmlhelp was given.
9673 if test "${enable_mshtmlhelp+set}" = set; then
9674 enableval=$enable_mshtmlhelp;
9675 if test "$enableval" = yes; then
9676 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9677 else
9678 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9679 fi
9680 cache=yes
9681
9682 else
9683
9684 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9685 if test "x$LINE" != x ; then
9686 eval "DEFAULT_$LINE"
9687 cache=yes
9688 else
9689 cache=no
9690 fi
9691
9692 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9693
9694 fi
9695
9696
9697 eval "$wx_cv_use_mshtmlhelp"
9698 if test "x$cache" = xyes; then
9699 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9700 fi
9701
9702 if test x"$enablestring" = xdisable; then
9703 if test $wxUSE_MS_HTML_HELP = yes; then
9704 result=no
9705 else
9706 result=yes
9707 fi
9708 else
9709 result=$wxUSE_MS_HTML_HELP
9710 fi
9711
9712 { echo "$as_me:$LINENO: result: $result" >&5
9713 echo "${ECHO_T}$result" >&6; }
9714
9715
9716 enablestring=
9717 defaultval=$wxUSE_ALL_FEATURES
9718 if test -z "$defaultval"; then
9719 if test x"$enablestring" = xdisable; then
9720 defaultval=yes
9721 else
9722 defaultval=no
9723 fi
9724 fi
9725
9726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9727 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9728 # Check whether --enable-html was given.
9729 if test "${enable_html+set}" = set; then
9730 enableval=$enable_html;
9731 if test "$enableval" = yes; then
9732 wx_cv_use_html='wxUSE_HTML=yes'
9733 else
9734 wx_cv_use_html='wxUSE_HTML=no'
9735 fi
9736 cache=yes
9737
9738 else
9739
9740 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9741 if test "x$LINE" != x ; then
9742 eval "DEFAULT_$LINE"
9743 cache=yes
9744 else
9745 cache=no
9746 fi
9747
9748 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9749
9750 fi
9751
9752
9753 eval "$wx_cv_use_html"
9754 if test "x$cache" = xyes; then
9755 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9756 fi
9757
9758 if test x"$enablestring" = xdisable; then
9759 if test $wxUSE_HTML = yes; then
9760 result=no
9761 else
9762 result=yes
9763 fi
9764 else
9765 result=$wxUSE_HTML
9766 fi
9767
9768 { echo "$as_me:$LINENO: result: $result" >&5
9769 echo "${ECHO_T}$result" >&6; }
9770
9771
9772 enablestring=
9773 defaultval=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x"$enablestring" = xdisable; then
9776 defaultval=yes
9777 else
9778 defaultval=no
9779 fi
9780 fi
9781
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9784 # Check whether --enable-htmlhelp was given.
9785 if test "${enable_htmlhelp+set}" = set; then
9786 enableval=$enable_htmlhelp;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9789 else
9790 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9791 fi
9792 cache=yes
9793
9794 else
9795
9796 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9797 if test "x$LINE" != x ; then
9798 eval "DEFAULT_$LINE"
9799 cache=yes
9800 else
9801 cache=no
9802 fi
9803
9804 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9805
9806 fi
9807
9808
9809 eval "$wx_cv_use_htmlhelp"
9810 if test "x$cache" = xyes; then
9811 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9812 fi
9813
9814 if test x"$enablestring" = xdisable; then
9815 if test $wxUSE_WXHTML_HELP = yes; then
9816 result=no
9817 else
9818 result=yes
9819 fi
9820 else
9821 result=$wxUSE_WXHTML_HELP
9822 fi
9823
9824 { echo "$as_me:$LINENO: result: $result" >&5
9825 echo "${ECHO_T}$result" >&6; }
9826
9827
9828 enablestring=
9829 defaultval=$wxUSE_ALL_FEATURES
9830 if test -z "$defaultval"; then
9831 if test x"$enablestring" = xdisable; then
9832 defaultval=yes
9833 else
9834 defaultval=no
9835 fi
9836 fi
9837
9838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9839 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9840 # Check whether --enable-xrc was given.
9841 if test "${enable_xrc+set}" = set; then
9842 enableval=$enable_xrc;
9843 if test "$enableval" = yes; then
9844 wx_cv_use_xrc='wxUSE_XRC=yes'
9845 else
9846 wx_cv_use_xrc='wxUSE_XRC=no'
9847 fi
9848 cache=yes
9849
9850 else
9851
9852 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9853 if test "x$LINE" != x ; then
9854 eval "DEFAULT_$LINE"
9855 cache=yes
9856 else
9857 cache=no
9858 fi
9859
9860 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9861
9862 fi
9863
9864
9865 eval "$wx_cv_use_xrc"
9866 if test "x$cache" = xyes; then
9867 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9868 fi
9869
9870 if test x"$enablestring" = xdisable; then
9871 if test $wxUSE_XRC = yes; then
9872 result=no
9873 else
9874 result=yes
9875 fi
9876 else
9877 result=$wxUSE_XRC
9878 fi
9879
9880 { echo "$as_me:$LINENO: result: $result" >&5
9881 echo "${ECHO_T}$result" >&6; }
9882
9883
9884 enablestring=
9885 defaultval=$wxUSE_ALL_FEATURES
9886 if test -z "$defaultval"; then
9887 if test x"$enablestring" = xdisable; then
9888 defaultval=yes
9889 else
9890 defaultval=no
9891 fi
9892 fi
9893
9894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9896 # Check whether --enable-aui was given.
9897 if test "${enable_aui+set}" = set; then
9898 enableval=$enable_aui;
9899 if test "$enableval" = yes; then
9900 wx_cv_use_aui='wxUSE_AUI=yes'
9901 else
9902 wx_cv_use_aui='wxUSE_AUI=no'
9903 fi
9904 cache=yes
9905
9906 else
9907
9908 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9909 if test "x$LINE" != x ; then
9910 eval "DEFAULT_$LINE"
9911 cache=yes
9912 else
9913 cache=no
9914 fi
9915
9916 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9917
9918 fi
9919
9920
9921 eval "$wx_cv_use_aui"
9922 if test "x$cache" = xyes; then
9923 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9924 fi
9925
9926 if test x"$enablestring" = xdisable; then
9927 if test $wxUSE_AUI = yes; then
9928 result=no
9929 else
9930 result=yes
9931 fi
9932 else
9933 result=$wxUSE_AUI
9934 fi
9935
9936 { echo "$as_me:$LINENO: result: $result" >&5
9937 echo "${ECHO_T}$result" >&6; }
9938
9939
9940 enablestring=
9941 defaultval=$wxUSE_ALL_FEATURES
9942 if test -z "$defaultval"; then
9943 if test x"$enablestring" = xdisable; then
9944 defaultval=yes
9945 else
9946 defaultval=no
9947 fi
9948 fi
9949
9950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9951 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9952 # Check whether --enable-stc was given.
9953 if test "${enable_stc+set}" = set; then
9954 enableval=$enable_stc;
9955 if test "$enableval" = yes; then
9956 wx_cv_use_stc='wxUSE_STC=yes'
9957 else
9958 wx_cv_use_stc='wxUSE_STC=no'
9959 fi
9960 cache=yes
9961
9962 else
9963
9964 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9965 if test "x$LINE" != x ; then
9966 eval "DEFAULT_$LINE"
9967 cache=yes
9968 else
9969 cache=no
9970 fi
9971
9972 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9973
9974 fi
9975
9976
9977 eval "$wx_cv_use_stc"
9978 if test "x$cache" = xyes; then
9979 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9980 fi
9981
9982 if test x"$enablestring" = xdisable; then
9983 if test $wxUSE_STC = yes; then
9984 result=no
9985 else
9986 result=yes
9987 fi
9988 else
9989 result=$wxUSE_STC
9990 fi
9991
9992 { echo "$as_me:$LINENO: result: $result" >&5
9993 echo "${ECHO_T}$result" >&6; }
9994
9995
9996 enablestring=
9997 defaultval=$wxUSE_ALL_FEATURES
9998 if test -z "$defaultval"; then
9999 if test x"$enablestring" = xdisable; then
10000 defaultval=yes
10001 else
10002 defaultval=no
10003 fi
10004 fi
10005
10006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
10007 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
10008 # Check whether --enable-constraints was given.
10009 if test "${enable_constraints+set}" = set; then
10010 enableval=$enable_constraints;
10011 if test "$enableval" = yes; then
10012 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10013 else
10014 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10015 fi
10016 cache=yes
10017
10018 else
10019
10020 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
10021 if test "x$LINE" != x ; then
10022 eval "DEFAULT_$LINE"
10023 cache=yes
10024 else
10025 cache=no
10026 fi
10027
10028 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10029
10030 fi
10031
10032
10033 eval "$wx_cv_use_constraints"
10034 if test "x$cache" = xyes; then
10035 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
10036 fi
10037
10038 if test x"$enablestring" = xdisable; then
10039 if test $wxUSE_CONSTRAINTS = yes; then
10040 result=no
10041 else
10042 result=yes
10043 fi
10044 else
10045 result=$wxUSE_CONSTRAINTS
10046 fi
10047
10048 { echo "$as_me:$LINENO: result: $result" >&5
10049 echo "${ECHO_T}$result" >&6; }
10050
10051
10052 enablestring=
10053 defaultval=$wxUSE_ALL_FEATURES
10054 if test -z "$defaultval"; then
10055 if test x"$enablestring" = xdisable; then
10056 defaultval=yes
10057 else
10058 defaultval=no
10059 fi
10060 fi
10061
10062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
10063 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
10064 # Check whether --enable-printarch was given.
10065 if test "${enable_printarch+set}" = set; then
10066 enableval=$enable_printarch;
10067 if test "$enableval" = yes; then
10068 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10069 else
10070 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10071 fi
10072 cache=yes
10073
10074 else
10075
10076 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10077 if test "x$LINE" != x ; then
10078 eval "DEFAULT_$LINE"
10079 cache=yes
10080 else
10081 cache=no
10082 fi
10083
10084 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10085
10086 fi
10087
10088
10089 eval "$wx_cv_use_printarch"
10090 if test "x$cache" = xyes; then
10091 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10092 fi
10093
10094 if test x"$enablestring" = xdisable; then
10095 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10096 result=no
10097 else
10098 result=yes
10099 fi
10100 else
10101 result=$wxUSE_PRINTING_ARCHITECTURE
10102 fi
10103
10104 { echo "$as_me:$LINENO: result: $result" >&5
10105 echo "${ECHO_T}$result" >&6; }
10106
10107
10108 enablestring=
10109 defaultval=$wxUSE_ALL_FEATURES
10110 if test -z "$defaultval"; then
10111 if test x"$enablestring" = xdisable; then
10112 defaultval=yes
10113 else
10114 defaultval=no
10115 fi
10116 fi
10117
10118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10119 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10120 # Check whether --enable-mdi was given.
10121 if test "${enable_mdi+set}" = set; then
10122 enableval=$enable_mdi;
10123 if test "$enableval" = yes; then
10124 wx_cv_use_mdi='wxUSE_MDI=yes'
10125 else
10126 wx_cv_use_mdi='wxUSE_MDI=no'
10127 fi
10128 cache=yes
10129
10130 else
10131
10132 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10133 if test "x$LINE" != x ; then
10134 eval "DEFAULT_$LINE"
10135 cache=yes
10136 else
10137 cache=no
10138 fi
10139
10140 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10141
10142 fi
10143
10144
10145 eval "$wx_cv_use_mdi"
10146 if test "x$cache" = xyes; then
10147 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10148 fi
10149
10150 if test x"$enablestring" = xdisable; then
10151 if test $wxUSE_MDI = yes; then
10152 result=no
10153 else
10154 result=yes
10155 fi
10156 else
10157 result=$wxUSE_MDI
10158 fi
10159
10160 { echo "$as_me:$LINENO: result: $result" >&5
10161 echo "${ECHO_T}$result" >&6; }
10162
10163
10164 enablestring=
10165 defaultval=$wxUSE_ALL_FEATURES
10166 if test -z "$defaultval"; then
10167 if test x"$enablestring" = xdisable; then
10168 defaultval=yes
10169 else
10170 defaultval=no
10171 fi
10172 fi
10173
10174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10175 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10176 # Check whether --enable-mdidoc was given.
10177 if test "${enable_mdidoc+set}" = set; then
10178 enableval=$enable_mdidoc;
10179 if test "$enableval" = yes; then
10180 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10181 else
10182 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10183 fi
10184 cache=yes
10185
10186 else
10187
10188 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10189 if test "x$LINE" != x ; then
10190 eval "DEFAULT_$LINE"
10191 cache=yes
10192 else
10193 cache=no
10194 fi
10195
10196 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10197
10198 fi
10199
10200
10201 eval "$wx_cv_use_mdidoc"
10202 if test "x$cache" = xyes; then
10203 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10204 fi
10205
10206 if test x"$enablestring" = xdisable; then
10207 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10208 result=no
10209 else
10210 result=yes
10211 fi
10212 else
10213 result=$wxUSE_MDI_ARCHITECTURE
10214 fi
10215
10216 { echo "$as_me:$LINENO: result: $result" >&5
10217 echo "${ECHO_T}$result" >&6; }
10218
10219
10220 enablestring=
10221 defaultval=$wxUSE_ALL_FEATURES
10222 if test -z "$defaultval"; then
10223 if test x"$enablestring" = xdisable; then
10224 defaultval=yes
10225 else
10226 defaultval=no
10227 fi
10228 fi
10229
10230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10231 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10232 # Check whether --enable-loggui was given.
10233 if test "${enable_loggui+set}" = set; then
10234 enableval=$enable_loggui;
10235 if test "$enableval" = yes; then
10236 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10237 else
10238 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10239 fi
10240 cache=yes
10241
10242 else
10243
10244 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10245 if test "x$LINE" != x ; then
10246 eval "DEFAULT_$LINE"
10247 cache=yes
10248 else
10249 cache=no
10250 fi
10251
10252 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10253
10254 fi
10255
10256
10257 eval "$wx_cv_use_loggui"
10258 if test "x$cache" = xyes; then
10259 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10260 fi
10261
10262 if test x"$enablestring" = xdisable; then
10263 if test $wxUSE_LOGGUI = yes; then
10264 result=no
10265 else
10266 result=yes
10267 fi
10268 else
10269 result=$wxUSE_LOGGUI
10270 fi
10271
10272 { echo "$as_me:$LINENO: result: $result" >&5
10273 echo "${ECHO_T}$result" >&6; }
10274
10275
10276 enablestring=
10277 defaultval=$wxUSE_ALL_FEATURES
10278 if test -z "$defaultval"; then
10279 if test x"$enablestring" = xdisable; then
10280 defaultval=yes
10281 else
10282 defaultval=no
10283 fi
10284 fi
10285
10286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10287 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10288 # Check whether --enable-logwin was given.
10289 if test "${enable_logwin+set}" = set; then
10290 enableval=$enable_logwin;
10291 if test "$enableval" = yes; then
10292 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10293 else
10294 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10295 fi
10296 cache=yes
10297
10298 else
10299
10300 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10301 if test "x$LINE" != x ; then
10302 eval "DEFAULT_$LINE"
10303 cache=yes
10304 else
10305 cache=no
10306 fi
10307
10308 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10309
10310 fi
10311
10312
10313 eval "$wx_cv_use_logwin"
10314 if test "x$cache" = xyes; then
10315 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10316 fi
10317
10318 if test x"$enablestring" = xdisable; then
10319 if test $wxUSE_LOGWINDOW = yes; then
10320 result=no
10321 else
10322 result=yes
10323 fi
10324 else
10325 result=$wxUSE_LOGWINDOW
10326 fi
10327
10328 { echo "$as_me:$LINENO: result: $result" >&5
10329 echo "${ECHO_T}$result" >&6; }
10330
10331
10332 enablestring=
10333 defaultval=$wxUSE_ALL_FEATURES
10334 if test -z "$defaultval"; then
10335 if test x"$enablestring" = xdisable; then
10336 defaultval=yes
10337 else
10338 defaultval=no
10339 fi
10340 fi
10341
10342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10343 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10344 # Check whether --enable-logdialog was given.
10345 if test "${enable_logdialog+set}" = set; then
10346 enableval=$enable_logdialog;
10347 if test "$enableval" = yes; then
10348 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10349 else
10350 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10351 fi
10352 cache=yes
10353
10354 else
10355
10356 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x ; then
10358 eval "DEFAULT_$LINE"
10359 cache=yes
10360 else
10361 cache=no
10362 fi
10363
10364 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10365
10366 fi
10367
10368
10369 eval "$wx_cv_use_logdialog"
10370 if test "x$cache" = xyes; then
10371 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10372 fi
10373
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_LOGDIALOG = yes; then
10376 result=no
10377 else
10378 result=yes
10379 fi
10380 else
10381 result=$wxUSE_LOGDIALOG
10382 fi
10383
10384 { echo "$as_me:$LINENO: result: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10386
10387
10388 enablestring=
10389 defaultval=$wxUSE_ALL_FEATURES
10390 if test -z "$defaultval"; then
10391 if test x"$enablestring" = xdisable; then
10392 defaultval=yes
10393 else
10394 defaultval=no
10395 fi
10396 fi
10397
10398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10399 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10400 # Check whether --enable-webkit was given.
10401 if test "${enable_webkit+set}" = set; then
10402 enableval=$enable_webkit;
10403 if test "$enableval" = yes; then
10404 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10405 else
10406 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10407 fi
10408 cache=yes
10409
10410 else
10411
10412 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10413 if test "x$LINE" != x ; then
10414 eval "DEFAULT_$LINE"
10415 cache=yes
10416 else
10417 cache=no
10418 fi
10419
10420 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10421
10422 fi
10423
10424
10425 eval "$wx_cv_use_webkit"
10426 if test "x$cache" = xyes; then
10427 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10428 fi
10429
10430 if test x"$enablestring" = xdisable; then
10431 if test $wxUSE_WEBKIT = yes; then
10432 result=no
10433 else
10434 result=yes
10435 fi
10436 else
10437 result=$wxUSE_WEBKIT
10438 fi
10439
10440 { echo "$as_me:$LINENO: result: $result" >&5
10441 echo "${ECHO_T}$result" >&6; }
10442
10443
10444 enablestring=
10445 defaultval=$wxUSE_ALL_FEATURES
10446 if test -z "$defaultval"; then
10447 if test x"$enablestring" = xdisable; then
10448 defaultval=yes
10449 else
10450 defaultval=no
10451 fi
10452 fi
10453
10454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10456 # Check whether --enable-richtext was given.
10457 if test "${enable_richtext+set}" = set; then
10458 enableval=$enable_richtext;
10459 if test "$enableval" = yes; then
10460 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10461 else
10462 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10463 fi
10464 cache=yes
10465
10466 else
10467
10468 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10469 if test "x$LINE" != x ; then
10470 eval "DEFAULT_$LINE"
10471 cache=yes
10472 else
10473 cache=no
10474 fi
10475
10476 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10477
10478 fi
10479
10480
10481 eval "$wx_cv_use_richtext"
10482 if test "x$cache" = xyes; then
10483 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10484 fi
10485
10486 if test x"$enablestring" = xdisable; then
10487 if test $wxUSE_RICHTEXT = yes; then
10488 result=no
10489 else
10490 result=yes
10491 fi
10492 else
10493 result=$wxUSE_RICHTEXT
10494 fi
10495
10496 { echo "$as_me:$LINENO: result: $result" >&5
10497 echo "${ECHO_T}$result" >&6; }
10498
10499
10500 enablestring=
10501 defaultval=$wxUSE_ALL_FEATURES
10502 if test -z "$defaultval"; then
10503 if test x"$enablestring" = xdisable; then
10504 defaultval=yes
10505 else
10506 defaultval=no
10507 fi
10508 fi
10509
10510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10512 # Check whether --enable-graphics_ctx was given.
10513 if test "${enable_graphics_ctx+set}" = set; then
10514 enableval=$enable_graphics_ctx;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10517 else
10518 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10519 fi
10520 cache=yes
10521
10522 else
10523
10524 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10525 if test "x$LINE" != x ; then
10526 eval "DEFAULT_$LINE"
10527 cache=yes
10528 else
10529 cache=no
10530 fi
10531
10532 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10533
10534 fi
10535
10536
10537 eval "$wx_cv_use_graphics_ctx"
10538 if test "x$cache" = xyes; then
10539 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10540 fi
10541
10542 if test x"$enablestring" = xdisable; then
10543 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10544 result=no
10545 else
10546 result=yes
10547 fi
10548 else
10549 result=$wxUSE_GRAPHICS_CONTEXT
10550 fi
10551
10552 { echo "$as_me:$LINENO: result: $result" >&5
10553 echo "${ECHO_T}$result" >&6; }
10554
10555
10556 enablestring=
10557 defaultval=$wxUSE_ALL_FEATURES
10558 if test -z "$defaultval"; then
10559 if test x"$enablestring" = xdisable; then
10560 defaultval=yes
10561 else
10562 defaultval=no
10563 fi
10564 fi
10565
10566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10567 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10568 # Check whether --enable-postscript was given.
10569 if test "${enable_postscript+set}" = set; then
10570 enableval=$enable_postscript;
10571 if test "$enableval" = yes; then
10572 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10573 else
10574 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10575 fi
10576 cache=yes
10577
10578 else
10579
10580 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10581 if test "x$LINE" != x ; then
10582 eval "DEFAULT_$LINE"
10583 cache=yes
10584 else
10585 cache=no
10586 fi
10587
10588 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10589
10590 fi
10591
10592
10593 eval "$wx_cv_use_postscript"
10594 if test "x$cache" = xyes; then
10595 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10596 fi
10597
10598 if test x"$enablestring" = xdisable; then
10599 if test $wxUSE_POSTSCRIPT = yes; then
10600 result=no
10601 else
10602 result=yes
10603 fi
10604 else
10605 result=$wxUSE_POSTSCRIPT
10606 fi
10607
10608 { echo "$as_me:$LINENO: result: $result" >&5
10609 echo "${ECHO_T}$result" >&6; }
10610
10611
10612 enablestring=
10613 defaultval=$wxUSE_ALL_FEATURES
10614 if test -z "$defaultval"; then
10615 if test x"$enablestring" = xdisable; then
10616 defaultval=yes
10617 else
10618 defaultval=no
10619 fi
10620 fi
10621
10622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10624 # Check whether --enable-svg was given.
10625 if test "${enable_svg+set}" = set; then
10626 enableval=$enable_svg;
10627 if test "$enableval" = yes; then
10628 wx_cv_use_svg='wxUSE_SVG=yes'
10629 else
10630 wx_cv_use_svg='wxUSE_SVG=no'
10631 fi
10632 cache=yes
10633
10634 else
10635
10636 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10637 if test "x$LINE" != x ; then
10638 eval "DEFAULT_$LINE"
10639 cache=yes
10640 else
10641 cache=no
10642 fi
10643
10644 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10645
10646 fi
10647
10648
10649 eval "$wx_cv_use_svg"
10650 if test "x$cache" = xyes; then
10651 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10652 fi
10653
10654 if test x"$enablestring" = xdisable; then
10655 if test $wxUSE_SVG = yes; then
10656 result=no
10657 else
10658 result=yes
10659 fi
10660 else
10661 result=$wxUSE_SVG
10662 fi
10663
10664 { echo "$as_me:$LINENO: result: $result" >&5
10665 echo "${ECHO_T}$result" >&6; }
10666
10667
10668
10669
10670 enablestring=
10671 defaultval=$wxUSE_ALL_FEATURES
10672 if test -z "$defaultval"; then
10673 if test x"$enablestring" = xdisable; then
10674 defaultval=yes
10675 else
10676 defaultval=no
10677 fi
10678 fi
10679
10680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10681 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10682 # Check whether --enable-clipboard was given.
10683 if test "${enable_clipboard+set}" = set; then
10684 enableval=$enable_clipboard;
10685 if test "$enableval" = yes; then
10686 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10687 else
10688 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10689 fi
10690 cache=yes
10691
10692 else
10693
10694 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10695 if test "x$LINE" != x ; then
10696 eval "DEFAULT_$LINE"
10697 cache=yes
10698 else
10699 cache=no
10700 fi
10701
10702 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10703
10704 fi
10705
10706
10707 eval "$wx_cv_use_clipboard"
10708 if test "x$cache" = xyes; then
10709 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10710 fi
10711
10712 if test x"$enablestring" = xdisable; then
10713 if test $wxUSE_CLIPBOARD = yes; then
10714 result=no
10715 else
10716 result=yes
10717 fi
10718 else
10719 result=$wxUSE_CLIPBOARD
10720 fi
10721
10722 { echo "$as_me:$LINENO: result: $result" >&5
10723 echo "${ECHO_T}$result" >&6; }
10724
10725
10726 enablestring=
10727 defaultval=$wxUSE_ALL_FEATURES
10728 if test -z "$defaultval"; then
10729 if test x"$enablestring" = xdisable; then
10730 defaultval=yes
10731 else
10732 defaultval=no
10733 fi
10734 fi
10735
10736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10737 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10738 # Check whether --enable-dnd was given.
10739 if test "${enable_dnd+set}" = set; then
10740 enableval=$enable_dnd;
10741 if test "$enableval" = yes; then
10742 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10743 else
10744 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10745 fi
10746 cache=yes
10747
10748 else
10749
10750 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10751 if test "x$LINE" != x ; then
10752 eval "DEFAULT_$LINE"
10753 cache=yes
10754 else
10755 cache=no
10756 fi
10757
10758 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10759
10760 fi
10761
10762
10763 eval "$wx_cv_use_dnd"
10764 if test "x$cache" = xyes; then
10765 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10766 fi
10767
10768 if test x"$enablestring" = xdisable; then
10769 if test $wxUSE_DRAG_AND_DROP = yes; then
10770 result=no
10771 else
10772 result=yes
10773 fi
10774 else
10775 result=$wxUSE_DRAG_AND_DROP
10776 fi
10777
10778 { echo "$as_me:$LINENO: result: $result" >&5
10779 echo "${ECHO_T}$result" >&6; }
10780
10781
10782 enablestring=
10783 defaultval=$wxUSE_ALL_FEATURES
10784 if test -z "$defaultval"; then
10785 if test x"$enablestring" = xdisable; then
10786 defaultval=yes
10787 else
10788 defaultval=no
10789 fi
10790 fi
10791
10792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10793 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10794 # Check whether --enable-metafile was given.
10795 if test "${enable_metafile+set}" = set; then
10796 enableval=$enable_metafile;
10797 if test "$enableval" = yes; then
10798 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10799 else
10800 wx_cv_use_metafile='wxUSE_METAFILE=no'
10801 fi
10802 cache=yes
10803
10804 else
10805
10806 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10807 if test "x$LINE" != x ; then
10808 eval "DEFAULT_$LINE"
10809 cache=yes
10810 else
10811 cache=no
10812 fi
10813
10814 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10815
10816 fi
10817
10818
10819 eval "$wx_cv_use_metafile"
10820 if test "x$cache" = xyes; then
10821 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10822 fi
10823
10824 if test x"$enablestring" = xdisable; then
10825 if test $wxUSE_METAFILE = yes; then
10826 result=no
10827 else
10828 result=yes
10829 fi
10830 else
10831 result=$wxUSE_METAFILE
10832 fi
10833
10834 { echo "$as_me:$LINENO: result: $result" >&5
10835 echo "${ECHO_T}$result" >&6; }
10836
10837
10838
10839 DEFAULT_wxUSE_CONTROLS=none
10840
10841 enablestring=disable
10842 defaultval=
10843 if test -z "$defaultval"; then
10844 if test x"$enablestring" = xdisable; then
10845 defaultval=yes
10846 else
10847 defaultval=no
10848 fi
10849 fi
10850
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10853 # Check whether --enable-controls was given.
10854 if test "${enable_controls+set}" = set; then
10855 enableval=$enable_controls;
10856 if test "$enableval" = yes; then
10857 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10858 else
10859 wx_cv_use_controls='wxUSE_CONTROLS=no'
10860 fi
10861 cache=yes
10862
10863 else
10864
10865 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x ; then
10867 eval "DEFAULT_$LINE"
10868 cache=yes
10869 else
10870 cache=no
10871 fi
10872
10873 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10874
10875 fi
10876
10877
10878 eval "$wx_cv_use_controls"
10879 if test "x$cache" = xyes; then
10880 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10881 fi
10882
10883 if test x"$enablestring" = xdisable; then
10884 if test $wxUSE_CONTROLS = yes; then
10885 result=no
10886 else
10887 result=yes
10888 fi
10889 else
10890 result=$wxUSE_CONTROLS
10891 fi
10892
10893 { echo "$as_me:$LINENO: result: $result" >&5
10894 echo "${ECHO_T}$result" >&6; }
10895
10896
10897 if test "$wxUSE_CONTROLS" = "yes"; then
10898 DEFAULT_wxUSE_ACCEL=yes
10899 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10900 DEFAULT_wxUSE_BMPBUTTON=yes
10901 DEFAULT_wxUSE_BUTTON=yes
10902 DEFAULT_wxUSE_CALCTRL=yes
10903 DEFAULT_wxUSE_CARET=yes
10904 DEFAULT_wxUSE_COMBOBOX=yes
10905 DEFAULT_wxUSE_CHECKBOX=yes
10906 DEFAULT_wxUSE_CHECKLISTBOX=yes
10907 DEFAULT_wxUSE_CHOICE=yes
10908 DEFAULT_wxUSE_CHOICEBOOK=yes
10909 DEFAULT_wxUSE_COLLPANE=yes
10910 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10911 DEFAULT_wxUSE_COMBOBOX=yes
10912 DEFAULT_wxUSE_DATEPICKCTRL=yes
10913 DEFAULT_wxUSE_DISPLAY=yes
10914 DEFAULT_wxUSE_DETECT_SM=yes
10915 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10916 DEFAULT_wxUSE_FILECTRL=yes
10917 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10918 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10919 DEFAULT_wxUSE_GAUGE=yes
10920 DEFAULT_wxUSE_GRID=yes
10921 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10922 DEFAULT_wxUSE_DATAVIEWCTRL=no
10923 DEFAULT_wxUSE_IMAGLIST=yes
10924 DEFAULT_wxUSE_LISTBOOK=yes
10925 DEFAULT_wxUSE_LISTBOX=yes
10926 DEFAULT_wxUSE_LISTCTRL=yes
10927 DEFAULT_wxUSE_NOTEBOOK=yes
10928 DEFAULT_wxUSE_RADIOBOX=yes
10929 DEFAULT_wxUSE_RADIOBTN=yes
10930 DEFAULT_wxUSE_SASH=yes
10931 DEFAULT_wxUSE_SCROLLBAR=yes
10932 DEFAULT_wxUSE_SEARCHCTRL=yes
10933 DEFAULT_wxUSE_SLIDER=yes
10934 DEFAULT_wxUSE_SPINBTN=yes
10935 DEFAULT_wxUSE_SPINCTRL=yes
10936 DEFAULT_wxUSE_SPLITTER=yes
10937 DEFAULT_wxUSE_STATBMP=yes
10938 DEFAULT_wxUSE_STATBOX=yes
10939 DEFAULT_wxUSE_STATLINE=yes
10940 DEFAULT_wxUSE_STATUSBAR=yes
10941 DEFAULT_wxUSE_TAB_DIALOG=yes
10942 DEFAULT_wxUSE_TOGGLEBTN=yes
10943 DEFAULT_wxUSE_TOOLBAR=yes
10944 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10945 DEFAULT_wxUSE_TOOLTIPS=yes
10946 DEFAULT_wxUSE_TREEBOOK=yes
10947 DEFAULT_wxUSE_TOOLBOOK=yes
10948 DEFAULT_wxUSE_TREECTRL=yes
10949 DEFAULT_wxUSE_POPUPWIN=yes
10950 DEFAULT_wxUSE_TIPWINDOW=yes
10951 elif test "$wxUSE_CONTROLS" = "no"; then
10952 DEFAULT_wxUSE_ACCEL=no
10953 DEFAULT_wxUSE_ANIMATIONCTRL=no
10954 DEFAULT_wxUSE_BMPBUTTON=no
10955 DEFAULT_wxUSE_BUTTON=no
10956 DEFAULT_wxUSE_CALCTRL=no
10957 DEFAULT_wxUSE_CARET=no
10958 DEFAULT_wxUSE_COLLPANE=no
10959 DEFAULT_wxUSE_COMBOBOX=no
10960 DEFAULT_wxUSE_CHECKBOX=no
10961 DEFAULT_wxUSE_CHECKLISTBOX=no
10962 DEFAULT_wxUSE_CHOICE=no
10963 DEFAULT_wxUSE_CHOICEBOOK=no
10964 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10965 DEFAULT_wxUSE_COMBOBOX=no
10966 DEFAULT_wxUSE_DATEPICKCTRL=no
10967 DEFAULT_wxUSE_DISPLAY=no
10968 DEFAULT_wxUSE_DETECT_SM=no
10969 DEFAULT_wxUSE_DIRPICKERCTRL=no
10970 DEFAULT_wxUSE_FILECTRL=no
10971 DEFAULT_wxUSE_FILEPICKERCTRL=no
10972 DEFAULT_wxUSE_FONTPICKERCTRL=no
10973 DEFAULT_wxUSE_GAUGE=no
10974 DEFAULT_wxUSE_GRID=no
10975 DEFAULT_wxUSE_HYPERLINKCTRL=no
10976 DEFAULT_wxUSE_DATAVIEWCTRL=no
10977 DEFAULT_wxUSE_IMAGLIST=no
10978 DEFAULT_wxUSE_LISTBOOK=no
10979 DEFAULT_wxUSE_LISTBOX=no
10980 DEFAULT_wxUSE_LISTCTRL=no
10981 DEFAULT_wxUSE_NOTEBOOK=no
10982 DEFAULT_wxUSE_RADIOBOX=no
10983 DEFAULT_wxUSE_RADIOBTN=no
10984 DEFAULT_wxUSE_SASH=no
10985 DEFAULT_wxUSE_SCROLLBAR=no
10986 DEFAULT_wxUSE_SEARCHCTRL=no
10987 DEFAULT_wxUSE_SLIDER=no
10988 DEFAULT_wxUSE_SPINBTN=no
10989 DEFAULT_wxUSE_SPINCTRL=no
10990 DEFAULT_wxUSE_SPLITTER=no
10991 DEFAULT_wxUSE_STATBMP=no
10992 DEFAULT_wxUSE_STATBOX=no
10993 DEFAULT_wxUSE_STATLINE=no
10994 DEFAULT_wxUSE_STATUSBAR=no
10995 DEFAULT_wxUSE_TAB_DIALOG=no
10996 DEFAULT_wxUSE_TOGGLEBTN=no
10997 DEFAULT_wxUSE_TOOLBAR=no
10998 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10999 DEFAULT_wxUSE_TOOLTIPS=no
11000 DEFAULT_wxUSE_TREEBOOK=no
11001 DEFAULT_wxUSE_TOOLBOOK=no
11002 DEFAULT_wxUSE_TREECTRL=no
11003 DEFAULT_wxUSE_POPUPWIN=no
11004 DEFAULT_wxUSE_TIPWINDOW=no
11005 fi
11006
11007
11008 enablestring=
11009 defaultval=$wxUSE_ALL_FEATURES
11010 if test -z "$defaultval"; then
11011 if test x"$enablestring" = xdisable; then
11012 defaultval=yes
11013 else
11014 defaultval=no
11015 fi
11016 fi
11017
11018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
11019 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
11020 # Check whether --enable-accel was given.
11021 if test "${enable_accel+set}" = set; then
11022 enableval=$enable_accel;
11023 if test "$enableval" = yes; then
11024 wx_cv_use_accel='wxUSE_ACCEL=yes'
11025 else
11026 wx_cv_use_accel='wxUSE_ACCEL=no'
11027 fi
11028 cache=yes
11029
11030 else
11031
11032 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
11033 if test "x$LINE" != x ; then
11034 eval "DEFAULT_$LINE"
11035 cache=yes
11036 else
11037 cache=no
11038 fi
11039
11040 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11041
11042 fi
11043
11044
11045 eval "$wx_cv_use_accel"
11046 if test "x$cache" = xyes; then
11047 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
11048 fi
11049
11050 if test x"$enablestring" = xdisable; then
11051 if test $wxUSE_ACCEL = yes; then
11052 result=no
11053 else
11054 result=yes
11055 fi
11056 else
11057 result=$wxUSE_ACCEL
11058 fi
11059
11060 { echo "$as_me:$LINENO: result: $result" >&5
11061 echo "${ECHO_T}$result" >&6; }
11062
11063
11064 enablestring=
11065 defaultval=$wxUSE_ALL_FEATURES
11066 if test -z "$defaultval"; then
11067 if test x"$enablestring" = xdisable; then
11068 defaultval=yes
11069 else
11070 defaultval=no
11071 fi
11072 fi
11073
11074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11075 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11076 # Check whether --enable-animatectrl was given.
11077 if test "${enable_animatectrl+set}" = set; then
11078 enableval=$enable_animatectrl;
11079 if test "$enableval" = yes; then
11080 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11081 else
11082 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11083 fi
11084 cache=yes
11085
11086 else
11087
11088 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11089 if test "x$LINE" != x ; then
11090 eval "DEFAULT_$LINE"
11091 cache=yes
11092 else
11093 cache=no
11094 fi
11095
11096 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11097
11098 fi
11099
11100
11101 eval "$wx_cv_use_animatectrl"
11102 if test "x$cache" = xyes; then
11103 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11104 fi
11105
11106 if test x"$enablestring" = xdisable; then
11107 if test $wxUSE_ANIMATIONCTRL = yes; then
11108 result=no
11109 else
11110 result=yes
11111 fi
11112 else
11113 result=$wxUSE_ANIMATIONCTRL
11114 fi
11115
11116 { echo "$as_me:$LINENO: result: $result" >&5
11117 echo "${ECHO_T}$result" >&6; }
11118
11119
11120 enablestring=
11121 defaultval=$wxUSE_ALL_FEATURES
11122 if test -z "$defaultval"; then
11123 if test x"$enablestring" = xdisable; then
11124 defaultval=yes
11125 else
11126 defaultval=no
11127 fi
11128 fi
11129
11130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11131 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11132 # Check whether --enable-button was given.
11133 if test "${enable_button+set}" = set; then
11134 enableval=$enable_button;
11135 if test "$enableval" = yes; then
11136 wx_cv_use_button='wxUSE_BUTTON=yes'
11137 else
11138 wx_cv_use_button='wxUSE_BUTTON=no'
11139 fi
11140 cache=yes
11141
11142 else
11143
11144 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11145 if test "x$LINE" != x ; then
11146 eval "DEFAULT_$LINE"
11147 cache=yes
11148 else
11149 cache=no
11150 fi
11151
11152 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11153
11154 fi
11155
11156
11157 eval "$wx_cv_use_button"
11158 if test "x$cache" = xyes; then
11159 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11160 fi
11161
11162 if test x"$enablestring" = xdisable; then
11163 if test $wxUSE_BUTTON = yes; then
11164 result=no
11165 else
11166 result=yes
11167 fi
11168 else
11169 result=$wxUSE_BUTTON
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}-bmpbutton" >&5
11187 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11188 # Check whether --enable-bmpbutton was given.
11189 if test "${enable_bmpbutton+set}" = set; then
11190 enableval=$enable_bmpbutton;
11191 if test "$enableval" = yes; then
11192 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11193 else
11194 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11195 fi
11196 cache=yes
11197
11198 else
11199
11200 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11201 if test "x$LINE" != x ; then
11202 eval "DEFAULT_$LINE"
11203 cache=yes
11204 else
11205 cache=no
11206 fi
11207
11208 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11209
11210 fi
11211
11212
11213 eval "$wx_cv_use_bmpbutton"
11214 if test "x$cache" = xyes; then
11215 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11216 fi
11217
11218 if test x"$enablestring" = xdisable; then
11219 if test $wxUSE_BMPBUTTON = yes; then
11220 result=no
11221 else
11222 result=yes
11223 fi
11224 else
11225 result=$wxUSE_BMPBUTTON
11226 fi
11227
11228 { echo "$as_me:$LINENO: result: $result" >&5
11229 echo "${ECHO_T}$result" >&6; }
11230
11231
11232 enablestring=
11233 defaultval=$wxUSE_ALL_FEATURES
11234 if test -z "$defaultval"; then
11235 if test x"$enablestring" = xdisable; then
11236 defaultval=yes
11237 else
11238 defaultval=no
11239 fi
11240 fi
11241
11242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11243 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11244 # Check whether --enable-bmpcombobox was given.
11245 if test "${enable_bmpcombobox+set}" = set; then
11246 enableval=$enable_bmpcombobox;
11247 if test "$enableval" = yes; then
11248 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11249 else
11250 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11251 fi
11252 cache=yes
11253
11254 else
11255
11256 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11257 if test "x$LINE" != x ; then
11258 eval "DEFAULT_$LINE"
11259 cache=yes
11260 else
11261 cache=no
11262 fi
11263
11264 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11265
11266 fi
11267
11268
11269 eval "$wx_cv_use_bmpcombobox"
11270 if test "x$cache" = xyes; then
11271 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11272 fi
11273
11274 if test x"$enablestring" = xdisable; then
11275 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11276 result=no
11277 else
11278 result=yes
11279 fi
11280 else
11281 result=$wxUSE_BITMAPCOMBOBOX
11282 fi
11283
11284 { echo "$as_me:$LINENO: result: $result" >&5
11285 echo "${ECHO_T}$result" >&6; }
11286
11287
11288 enablestring=
11289 defaultval=$wxUSE_ALL_FEATURES
11290 if test -z "$defaultval"; then
11291 if test x"$enablestring" = xdisable; then
11292 defaultval=yes
11293 else
11294 defaultval=no
11295 fi
11296 fi
11297
11298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11299 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11300 # Check whether --enable-calendar was given.
11301 if test "${enable_calendar+set}" = set; then
11302 enableval=$enable_calendar;
11303 if test "$enableval" = yes; then
11304 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11305 else
11306 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11307 fi
11308 cache=yes
11309
11310 else
11311
11312 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11313 if test "x$LINE" != x ; then
11314 eval "DEFAULT_$LINE"
11315 cache=yes
11316 else
11317 cache=no
11318 fi
11319
11320 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11321
11322 fi
11323
11324
11325 eval "$wx_cv_use_calendar"
11326 if test "x$cache" = xyes; then
11327 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11328 fi
11329
11330 if test x"$enablestring" = xdisable; then
11331 if test $wxUSE_CALCTRL = yes; then
11332 result=no
11333 else
11334 result=yes
11335 fi
11336 else
11337 result=$wxUSE_CALCTRL
11338 fi
11339
11340 { echo "$as_me:$LINENO: result: $result" >&5
11341 echo "${ECHO_T}$result" >&6; }
11342
11343
11344 enablestring=
11345 defaultval=$wxUSE_ALL_FEATURES
11346 if test -z "$defaultval"; then
11347 if test x"$enablestring" = xdisable; then
11348 defaultval=yes
11349 else
11350 defaultval=no
11351 fi
11352 fi
11353
11354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11355 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11356 # Check whether --enable-caret was given.
11357 if test "${enable_caret+set}" = set; then
11358 enableval=$enable_caret;
11359 if test "$enableval" = yes; then
11360 wx_cv_use_caret='wxUSE_CARET=yes'
11361 else
11362 wx_cv_use_caret='wxUSE_CARET=no'
11363 fi
11364 cache=yes
11365
11366 else
11367
11368 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11369 if test "x$LINE" != x ; then
11370 eval "DEFAULT_$LINE"
11371 cache=yes
11372 else
11373 cache=no
11374 fi
11375
11376 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11377
11378 fi
11379
11380
11381 eval "$wx_cv_use_caret"
11382 if test "x$cache" = xyes; then
11383 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11384 fi
11385
11386 if test x"$enablestring" = xdisable; then
11387 if test $wxUSE_CARET = yes; then
11388 result=no
11389 else
11390 result=yes
11391 fi
11392 else
11393 result=$wxUSE_CARET
11394 fi
11395
11396 { echo "$as_me:$LINENO: result: $result" >&5
11397 echo "${ECHO_T}$result" >&6; }
11398
11399
11400 enablestring=
11401 defaultval=$wxUSE_ALL_FEATURES
11402 if test -z "$defaultval"; then
11403 if test x"$enablestring" = xdisable; then
11404 defaultval=yes
11405 else
11406 defaultval=no
11407 fi
11408 fi
11409
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11412 # Check whether --enable-checkbox was given.
11413 if test "${enable_checkbox+set}" = set; then
11414 enableval=$enable_checkbox;
11415 if test "$enableval" = yes; then
11416 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11417 else
11418 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11419 fi
11420 cache=yes
11421
11422 else
11423
11424 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11425 if test "x$LINE" != x ; then
11426 eval "DEFAULT_$LINE"
11427 cache=yes
11428 else
11429 cache=no
11430 fi
11431
11432 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11433
11434 fi
11435
11436
11437 eval "$wx_cv_use_checkbox"
11438 if test "x$cache" = xyes; then
11439 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11440 fi
11441
11442 if test x"$enablestring" = xdisable; then
11443 if test $wxUSE_CHECKBOX = yes; then
11444 result=no
11445 else
11446 result=yes
11447 fi
11448 else
11449 result=$wxUSE_CHECKBOX
11450 fi
11451
11452 { echo "$as_me:$LINENO: result: $result" >&5
11453 echo "${ECHO_T}$result" >&6; }
11454
11455
11456 enablestring=
11457 defaultval=$wxUSE_ALL_FEATURES
11458 if test -z "$defaultval"; then
11459 if test x"$enablestring" = xdisable; then
11460 defaultval=yes
11461 else
11462 defaultval=no
11463 fi
11464 fi
11465
11466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11467 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11468 # Check whether --enable-checklst was given.
11469 if test "${enable_checklst+set}" = set; then
11470 enableval=$enable_checklst;
11471 if test "$enableval" = yes; then
11472 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11473 else
11474 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11475 fi
11476 cache=yes
11477
11478 else
11479
11480 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11481 if test "x$LINE" != x ; then
11482 eval "DEFAULT_$LINE"
11483 cache=yes
11484 else
11485 cache=no
11486 fi
11487
11488 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11489
11490 fi
11491
11492
11493 eval "$wx_cv_use_checklst"
11494 if test "x$cache" = xyes; then
11495 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11496 fi
11497
11498 if test x"$enablestring" = xdisable; then
11499 if test $wxUSE_CHECKLST = yes; then
11500 result=no
11501 else
11502 result=yes
11503 fi
11504 else
11505 result=$wxUSE_CHECKLST
11506 fi
11507
11508 { echo "$as_me:$LINENO: result: $result" >&5
11509 echo "${ECHO_T}$result" >&6; }
11510
11511
11512 enablestring=
11513 defaultval=$wxUSE_ALL_FEATURES
11514 if test -z "$defaultval"; then
11515 if test x"$enablestring" = xdisable; then
11516 defaultval=yes
11517 else
11518 defaultval=no
11519 fi
11520 fi
11521
11522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11523 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11524 # Check whether --enable-choice was given.
11525 if test "${enable_choice+set}" = set; then
11526 enableval=$enable_choice;
11527 if test "$enableval" = yes; then
11528 wx_cv_use_choice='wxUSE_CHOICE=yes'
11529 else
11530 wx_cv_use_choice='wxUSE_CHOICE=no'
11531 fi
11532 cache=yes
11533
11534 else
11535
11536 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11537 if test "x$LINE" != x ; then
11538 eval "DEFAULT_$LINE"
11539 cache=yes
11540 else
11541 cache=no
11542 fi
11543
11544 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11545
11546 fi
11547
11548
11549 eval "$wx_cv_use_choice"
11550 if test "x$cache" = xyes; then
11551 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11552 fi
11553
11554 if test x"$enablestring" = xdisable; then
11555 if test $wxUSE_CHOICE = yes; then
11556 result=no
11557 else
11558 result=yes
11559 fi
11560 else
11561 result=$wxUSE_CHOICE
11562 fi
11563
11564 { echo "$as_me:$LINENO: result: $result" >&5
11565 echo "${ECHO_T}$result" >&6; }
11566
11567
11568 enablestring=
11569 defaultval=$wxUSE_ALL_FEATURES
11570 if test -z "$defaultval"; then
11571 if test x"$enablestring" = xdisable; then
11572 defaultval=yes
11573 else
11574 defaultval=no
11575 fi
11576 fi
11577
11578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11579 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11580 # Check whether --enable-choicebook was given.
11581 if test "${enable_choicebook+set}" = set; then
11582 enableval=$enable_choicebook;
11583 if test "$enableval" = yes; then
11584 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11585 else
11586 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11587 fi
11588 cache=yes
11589
11590 else
11591
11592 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11593 if test "x$LINE" != x ; then
11594 eval "DEFAULT_$LINE"
11595 cache=yes
11596 else
11597 cache=no
11598 fi
11599
11600 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11601
11602 fi
11603
11604
11605 eval "$wx_cv_use_choicebook"
11606 if test "x$cache" = xyes; then
11607 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11608 fi
11609
11610 if test x"$enablestring" = xdisable; then
11611 if test $wxUSE_CHOICEBOOK = yes; then
11612 result=no
11613 else
11614 result=yes
11615 fi
11616 else
11617 result=$wxUSE_CHOICEBOOK
11618 fi
11619
11620 { echo "$as_me:$LINENO: result: $result" >&5
11621 echo "${ECHO_T}$result" >&6; }
11622
11623
11624 enablestring=
11625 defaultval=$wxUSE_ALL_FEATURES
11626 if test -z "$defaultval"; then
11627 if test x"$enablestring" = xdisable; then
11628 defaultval=yes
11629 else
11630 defaultval=no
11631 fi
11632 fi
11633
11634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11635 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11636 # Check whether --enable-collpane was given.
11637 if test "${enable_collpane+set}" = set; then
11638 enableval=$enable_collpane;
11639 if test "$enableval" = yes; then
11640 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11641 else
11642 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11643 fi
11644 cache=yes
11645
11646 else
11647
11648 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11649 if test "x$LINE" != x ; then
11650 eval "DEFAULT_$LINE"
11651 cache=yes
11652 else
11653 cache=no
11654 fi
11655
11656 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11657
11658 fi
11659
11660
11661 eval "$wx_cv_use_collpane"
11662 if test "x$cache" = xyes; then
11663 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11664 fi
11665
11666 if test x"$enablestring" = xdisable; then
11667 if test $wxUSE_COLLPANE = yes; then
11668 result=no
11669 else
11670 result=yes
11671 fi
11672 else
11673 result=$wxUSE_COLLPANE
11674 fi
11675
11676 { echo "$as_me:$LINENO: result: $result" >&5
11677 echo "${ECHO_T}$result" >&6; }
11678
11679
11680 enablestring=
11681 defaultval=$wxUSE_ALL_FEATURES
11682 if test -z "$defaultval"; then
11683 if test x"$enablestring" = xdisable; then
11684 defaultval=yes
11685 else
11686 defaultval=no
11687 fi
11688 fi
11689
11690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11691 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11692 # Check whether --enable-colourpicker was given.
11693 if test "${enable_colourpicker+set}" = set; then
11694 enableval=$enable_colourpicker;
11695 if test "$enableval" = yes; then
11696 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11697 else
11698 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11699 fi
11700 cache=yes
11701
11702 else
11703
11704 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11705 if test "x$LINE" != x ; then
11706 eval "DEFAULT_$LINE"
11707 cache=yes
11708 else
11709 cache=no
11710 fi
11711
11712 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11713
11714 fi
11715
11716
11717 eval "$wx_cv_use_colourpicker"
11718 if test "x$cache" = xyes; then
11719 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11720 fi
11721
11722 if test x"$enablestring" = xdisable; then
11723 if test $wxUSE_COLOURPICKERCTRL = yes; then
11724 result=no
11725 else
11726 result=yes
11727 fi
11728 else
11729 result=$wxUSE_COLOURPICKERCTRL
11730 fi
11731
11732 { echo "$as_me:$LINENO: result: $result" >&5
11733 echo "${ECHO_T}$result" >&6; }
11734
11735
11736 enablestring=
11737 defaultval=$wxUSE_ALL_FEATURES
11738 if test -z "$defaultval"; then
11739 if test x"$enablestring" = xdisable; then
11740 defaultval=yes
11741 else
11742 defaultval=no
11743 fi
11744 fi
11745
11746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11747 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11748 # Check whether --enable-combobox was given.
11749 if test "${enable_combobox+set}" = set; then
11750 enableval=$enable_combobox;
11751 if test "$enableval" = yes; then
11752 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11753 else
11754 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11755 fi
11756 cache=yes
11757
11758 else
11759
11760 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11761 if test "x$LINE" != x ; then
11762 eval "DEFAULT_$LINE"
11763 cache=yes
11764 else
11765 cache=no
11766 fi
11767
11768 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11769
11770 fi
11771
11772
11773 eval "$wx_cv_use_combobox"
11774 if test "x$cache" = xyes; then
11775 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11776 fi
11777
11778 if test x"$enablestring" = xdisable; then
11779 if test $wxUSE_COMBOBOX = yes; then
11780 result=no
11781 else
11782 result=yes
11783 fi
11784 else
11785 result=$wxUSE_COMBOBOX
11786 fi
11787
11788 { echo "$as_me:$LINENO: result: $result" >&5
11789 echo "${ECHO_T}$result" >&6; }
11790
11791
11792 enablestring=
11793 defaultval=$wxUSE_ALL_FEATURES
11794 if test -z "$defaultval"; then
11795 if test x"$enablestring" = xdisable; then
11796 defaultval=yes
11797 else
11798 defaultval=no
11799 fi
11800 fi
11801
11802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11803 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11804 # Check whether --enable-comboctrl was given.
11805 if test "${enable_comboctrl+set}" = set; then
11806 enableval=$enable_comboctrl;
11807 if test "$enableval" = yes; then
11808 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11809 else
11810 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11811 fi
11812 cache=yes
11813
11814 else
11815
11816 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11817 if test "x$LINE" != x ; then
11818 eval "DEFAULT_$LINE"
11819 cache=yes
11820 else
11821 cache=no
11822 fi
11823
11824 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11825
11826 fi
11827
11828
11829 eval "$wx_cv_use_comboctrl"
11830 if test "x$cache" = xyes; then
11831 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11832 fi
11833
11834 if test x"$enablestring" = xdisable; then
11835 if test $wxUSE_COMBOCTRL = yes; then
11836 result=no
11837 else
11838 result=yes
11839 fi
11840 else
11841 result=$wxUSE_COMBOCTRL
11842 fi
11843
11844 { echo "$as_me:$LINENO: result: $result" >&5
11845 echo "${ECHO_T}$result" >&6; }
11846
11847
11848 enablestring=
11849 defaultval=$wxUSE_ALL_FEATURES
11850 if test -z "$defaultval"; then
11851 if test x"$enablestring" = xdisable; then
11852 defaultval=yes
11853 else
11854 defaultval=no
11855 fi
11856 fi
11857
11858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11859 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11860 # Check whether --enable-datepick was given.
11861 if test "${enable_datepick+set}" = set; then
11862 enableval=$enable_datepick;
11863 if test "$enableval" = yes; then
11864 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11865 else
11866 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11867 fi
11868 cache=yes
11869
11870 else
11871
11872 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11873 if test "x$LINE" != x ; then
11874 eval "DEFAULT_$LINE"
11875 cache=yes
11876 else
11877 cache=no
11878 fi
11879
11880 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11881
11882 fi
11883
11884
11885 eval "$wx_cv_use_datepick"
11886 if test "x$cache" = xyes; then
11887 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11888 fi
11889
11890 if test x"$enablestring" = xdisable; then
11891 if test $wxUSE_DATEPICKCTRL = yes; then
11892 result=no
11893 else
11894 result=yes
11895 fi
11896 else
11897 result=$wxUSE_DATEPICKCTRL
11898 fi
11899
11900 { echo "$as_me:$LINENO: result: $result" >&5
11901 echo "${ECHO_T}$result" >&6; }
11902
11903
11904 enablestring=
11905 defaultval=$wxUSE_ALL_FEATURES
11906 if test -z "$defaultval"; then
11907 if test x"$enablestring" = xdisable; then
11908 defaultval=yes
11909 else
11910 defaultval=no
11911 fi
11912 fi
11913
11914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11915 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11916 # Check whether --enable-dirpicker was given.
11917 if test "${enable_dirpicker+set}" = set; then
11918 enableval=$enable_dirpicker;
11919 if test "$enableval" = yes; then
11920 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11921 else
11922 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11923 fi
11924 cache=yes
11925
11926 else
11927
11928 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11929 if test "x$LINE" != x ; then
11930 eval "DEFAULT_$LINE"
11931 cache=yes
11932 else
11933 cache=no
11934 fi
11935
11936 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11937
11938 fi
11939
11940
11941 eval "$wx_cv_use_dirpicker"
11942 if test "x$cache" = xyes; then
11943 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11944 fi
11945
11946 if test x"$enablestring" = xdisable; then
11947 if test $wxUSE_DIRPICKERCTRL = yes; then
11948 result=no
11949 else
11950 result=yes
11951 fi
11952 else
11953 result=$wxUSE_DIRPICKERCTRL
11954 fi
11955
11956 { echo "$as_me:$LINENO: result: $result" >&5
11957 echo "${ECHO_T}$result" >&6; }
11958
11959
11960 enablestring=
11961 defaultval=$wxUSE_ALL_FEATURES
11962 if test -z "$defaultval"; then
11963 if test x"$enablestring" = xdisable; then
11964 defaultval=yes
11965 else
11966 defaultval=no
11967 fi
11968 fi
11969
11970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11971 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11972 # Check whether --enable-display was given.
11973 if test "${enable_display+set}" = set; then
11974 enableval=$enable_display;
11975 if test "$enableval" = yes; then
11976 wx_cv_use_display='wxUSE_DISPLAY=yes'
11977 else
11978 wx_cv_use_display='wxUSE_DISPLAY=no'
11979 fi
11980 cache=yes
11981
11982 else
11983
11984 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11985 if test "x$LINE" != x ; then
11986 eval "DEFAULT_$LINE"
11987 cache=yes
11988 else
11989 cache=no
11990 fi
11991
11992 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11993
11994 fi
11995
11996
11997 eval "$wx_cv_use_display"
11998 if test "x$cache" = xyes; then
11999 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
12000 fi
12001
12002 if test x"$enablestring" = xdisable; then
12003 if test $wxUSE_DISPLAY = yes; then
12004 result=no
12005 else
12006 result=yes
12007 fi
12008 else
12009 result=$wxUSE_DISPLAY
12010 fi
12011
12012 { echo "$as_me:$LINENO: result: $result" >&5
12013 echo "${ECHO_T}$result" >&6; }
12014
12015
12016 enablestring=
12017 defaultval=$wxUSE_ALL_FEATURES
12018 if test -z "$defaultval"; then
12019 if test x"$enablestring" = xdisable; then
12020 defaultval=yes
12021 else
12022 defaultval=no
12023 fi
12024 fi
12025
12026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
12027 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
12028 # Check whether --enable-detect_sm was given.
12029 if test "${enable_detect_sm+set}" = set; then
12030 enableval=$enable_detect_sm;
12031 if test "$enableval" = yes; then
12032 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12033 else
12034 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12035 fi
12036 cache=yes
12037
12038 else
12039
12040 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
12041 if test "x$LINE" != x ; then
12042 eval "DEFAULT_$LINE"
12043 cache=yes
12044 else
12045 cache=no
12046 fi
12047
12048 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12049
12050 fi
12051
12052
12053 eval "$wx_cv_use_detect_sm"
12054 if test "x$cache" = xyes; then
12055 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
12056 fi
12057
12058 if test x"$enablestring" = xdisable; then
12059 if test $wxUSE_DETECT_SM = yes; then
12060 result=no
12061 else
12062 result=yes
12063 fi
12064 else
12065 result=$wxUSE_DETECT_SM
12066 fi
12067
12068 { echo "$as_me:$LINENO: result: $result" >&5
12069 echo "${ECHO_T}$result" >&6; }
12070
12071
12072 enablestring=
12073 defaultval=$wxUSE_ALL_FEATURES
12074 if test -z "$defaultval"; then
12075 if test x"$enablestring" = xdisable; then
12076 defaultval=yes
12077 else
12078 defaultval=no
12079 fi
12080 fi
12081
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12084 # Check whether --enable-editablebox was given.
12085 if test "${enable_editablebox+set}" = set; then
12086 enableval=$enable_editablebox;
12087 if test "$enableval" = yes; then
12088 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12089 else
12090 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12091 fi
12092 cache=yes
12093
12094 else
12095
12096 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12097 if test "x$LINE" != x ; then
12098 eval "DEFAULT_$LINE"
12099 cache=yes
12100 else
12101 cache=no
12102 fi
12103
12104 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12105
12106 fi
12107
12108
12109 eval "$wx_cv_use_editablebox"
12110 if test "x$cache" = xyes; then
12111 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12112 fi
12113
12114 if test x"$enablestring" = xdisable; then
12115 if test $wxUSE_EDITABLELISTBOX = yes; then
12116 result=no
12117 else
12118 result=yes
12119 fi
12120 else
12121 result=$wxUSE_EDITABLELISTBOX
12122 fi
12123
12124 { echo "$as_me:$LINENO: result: $result" >&5
12125 echo "${ECHO_T}$result" >&6; }
12126
12127
12128 enablestring=
12129 defaultval=$wxUSE_ALL_FEATURES
12130 if test -z "$defaultval"; then
12131 if test x"$enablestring" = xdisable; then
12132 defaultval=yes
12133 else
12134 defaultval=no
12135 fi
12136 fi
12137
12138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12139 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12140 # Check whether --enable-filepicker was given.
12141 if test "${enable_filepicker+set}" = set; then
12142 enableval=$enable_filepicker;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12145 else
12146 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12147 fi
12148 cache=yes
12149
12150 else
12151
12152 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12153 if test "x$LINE" != x ; then
12154 eval "DEFAULT_$LINE"
12155 cache=yes
12156 else
12157 cache=no
12158 fi
12159
12160 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12161
12162 fi
12163
12164
12165 eval "$wx_cv_use_filepicker"
12166 if test "x$cache" = xyes; then
12167 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12168 fi
12169
12170 if test x"$enablestring" = xdisable; then
12171 if test $wxUSE_FILEPICKERCTRL = yes; then
12172 result=no
12173 else
12174 result=yes
12175 fi
12176 else
12177 result=$wxUSE_FILEPICKERCTRL
12178 fi
12179
12180 { echo "$as_me:$LINENO: result: $result" >&5
12181 echo "${ECHO_T}$result" >&6; }
12182
12183
12184 enablestring=
12185 defaultval=$wxUSE_ALL_FEATURES
12186 if test -z "$defaultval"; then
12187 if test x"$enablestring" = xdisable; then
12188 defaultval=yes
12189 else
12190 defaultval=no
12191 fi
12192 fi
12193
12194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12195 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12196 # Check whether --enable-filectrl was given.
12197 if test "${enable_filectrl+set}" = set; then
12198 enableval=$enable_filectrl;
12199 if test "$enableval" = yes; then
12200 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12201 else
12202 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12203 fi
12204 cache=yes
12205
12206 else
12207
12208 LINE=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12209 if test "x$LINE" != x ; then
12210 eval "DEFAULT_$LINE"
12211 cache=yes
12212 else
12213 cache=no
12214 fi
12215
12216 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12217
12218 fi
12219
12220
12221 eval "$wx_cv_use_filectrl"
12222 if test "x$cache" = xyes; then
12223 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12224 fi
12225
12226 if test x"$enablestring" = xdisable; then
12227 if test $wxUSE_FILECTRL = yes; then
12228 result=no
12229 else
12230 result=yes
12231 fi
12232 else
12233 result=$wxUSE_FILECTRL
12234 fi
12235
12236 { echo "$as_me:$LINENO: result: $result" >&5
12237 echo "${ECHO_T}$result" >&6; }
12238
12239
12240 enablestring=
12241 defaultval=$wxUSE_ALL_FEATURES
12242 if test -z "$defaultval"; then
12243 if test x"$enablestring" = xdisable; then
12244 defaultval=yes
12245 else
12246 defaultval=no
12247 fi
12248 fi
12249
12250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12251 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12252 # Check whether --enable-fontpicker was given.
12253 if test "${enable_fontpicker+set}" = set; then
12254 enableval=$enable_fontpicker;
12255 if test "$enableval" = yes; then
12256 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12257 else
12258 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12259 fi
12260 cache=yes
12261
12262 else
12263
12264 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12265 if test "x$LINE" != x ; then
12266 eval "DEFAULT_$LINE"
12267 cache=yes
12268 else
12269 cache=no
12270 fi
12271
12272 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12273
12274 fi
12275
12276
12277 eval "$wx_cv_use_fontpicker"
12278 if test "x$cache" = xyes; then
12279 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12280 fi
12281
12282 if test x"$enablestring" = xdisable; then
12283 if test $wxUSE_FONTPICKERCTRL = yes; then
12284 result=no
12285 else
12286 result=yes
12287 fi
12288 else
12289 result=$wxUSE_FONTPICKERCTRL
12290 fi
12291
12292 { echo "$as_me:$LINENO: result: $result" >&5
12293 echo "${ECHO_T}$result" >&6; }
12294
12295
12296 enablestring=
12297 defaultval=$wxUSE_ALL_FEATURES
12298 if test -z "$defaultval"; then
12299 if test x"$enablestring" = xdisable; then
12300 defaultval=yes
12301 else
12302 defaultval=no
12303 fi
12304 fi
12305
12306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12307 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12308 # Check whether --enable-gauge was given.
12309 if test "${enable_gauge+set}" = set; then
12310 enableval=$enable_gauge;
12311 if test "$enableval" = yes; then
12312 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12313 else
12314 wx_cv_use_gauge='wxUSE_GAUGE=no'
12315 fi
12316 cache=yes
12317
12318 else
12319
12320 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12321 if test "x$LINE" != x ; then
12322 eval "DEFAULT_$LINE"
12323 cache=yes
12324 else
12325 cache=no
12326 fi
12327
12328 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12329
12330 fi
12331
12332
12333 eval "$wx_cv_use_gauge"
12334 if test "x$cache" = xyes; then
12335 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12336 fi
12337
12338 if test x"$enablestring" = xdisable; then
12339 if test $wxUSE_GAUGE = yes; then
12340 result=no
12341 else
12342 result=yes
12343 fi
12344 else
12345 result=$wxUSE_GAUGE
12346 fi
12347
12348 { echo "$as_me:$LINENO: result: $result" >&5
12349 echo "${ECHO_T}$result" >&6; }
12350
12351
12352 enablestring=
12353 defaultval=$wxUSE_ALL_FEATURES
12354 if test -z "$defaultval"; then
12355 if test x"$enablestring" = xdisable; then
12356 defaultval=yes
12357 else
12358 defaultval=no
12359 fi
12360 fi
12361
12362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12363 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12364 # Check whether --enable-grid was given.
12365 if test "${enable_grid+set}" = set; then
12366 enableval=$enable_grid;
12367 if test "$enableval" = yes; then
12368 wx_cv_use_grid='wxUSE_GRID=yes'
12369 else
12370 wx_cv_use_grid='wxUSE_GRID=no'
12371 fi
12372 cache=yes
12373
12374 else
12375
12376 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12377 if test "x$LINE" != x ; then
12378 eval "DEFAULT_$LINE"
12379 cache=yes
12380 else
12381 cache=no
12382 fi
12383
12384 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12385
12386 fi
12387
12388
12389 eval "$wx_cv_use_grid"
12390 if test "x$cache" = xyes; then
12391 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12392 fi
12393
12394 if test x"$enablestring" = xdisable; then
12395 if test $wxUSE_GRID = yes; then
12396 result=no
12397 else
12398 result=yes
12399 fi
12400 else
12401 result=$wxUSE_GRID
12402 fi
12403
12404 { echo "$as_me:$LINENO: result: $result" >&5
12405 echo "${ECHO_T}$result" >&6; }
12406
12407
12408 enablestring=
12409 defaultval=$wxUSE_ALL_FEATURES
12410 if test -z "$defaultval"; then
12411 if test x"$enablestring" = xdisable; then
12412 defaultval=yes
12413 else
12414 defaultval=no
12415 fi
12416 fi
12417
12418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12419 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12420 # Check whether --enable-dataviewctrl was given.
12421 if test "${enable_dataviewctrl+set}" = set; then
12422 enableval=$enable_dataviewctrl;
12423 if test "$enableval" = yes; then
12424 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12425 else
12426 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12427 fi
12428 cache=yes
12429
12430 else
12431
12432 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12433 if test "x$LINE" != x ; then
12434 eval "DEFAULT_$LINE"
12435 cache=yes
12436 else
12437 cache=no
12438 fi
12439
12440 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12441
12442 fi
12443
12444
12445 eval "$wx_cv_use_dataviewctrl"
12446 if test "x$cache" = xyes; then
12447 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12448 fi
12449
12450 if test x"$enablestring" = xdisable; then
12451 if test $wxUSE_DATAVIEWCTRL = yes; then
12452 result=no
12453 else
12454 result=yes
12455 fi
12456 else
12457 result=$wxUSE_DATAVIEWCTRL
12458 fi
12459
12460 { echo "$as_me:$LINENO: result: $result" >&5
12461 echo "${ECHO_T}$result" >&6; }
12462
12463
12464 enablestring=
12465 defaultval=$wxUSE_ALL_FEATURES
12466 if test -z "$defaultval"; then
12467 if test x"$enablestring" = xdisable; then
12468 defaultval=yes
12469 else
12470 defaultval=no
12471 fi
12472 fi
12473
12474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12475 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12476 # Check whether --enable-hyperlink was given.
12477 if test "${enable_hyperlink+set}" = set; then
12478 enableval=$enable_hyperlink;
12479 if test "$enableval" = yes; then
12480 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12481 else
12482 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12483 fi
12484 cache=yes
12485
12486 else
12487
12488 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12489 if test "x$LINE" != x ; then
12490 eval "DEFAULT_$LINE"
12491 cache=yes
12492 else
12493 cache=no
12494 fi
12495
12496 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12497
12498 fi
12499
12500
12501 eval "$wx_cv_use_hyperlink"
12502 if test "x$cache" = xyes; then
12503 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12504 fi
12505
12506 if test x"$enablestring" = xdisable; then
12507 if test $wxUSE_HYPERLINKCTRL = yes; then
12508 result=no
12509 else
12510 result=yes
12511 fi
12512 else
12513 result=$wxUSE_HYPERLINKCTRL
12514 fi
12515
12516 { echo "$as_me:$LINENO: result: $result" >&5
12517 echo "${ECHO_T}$result" >&6; }
12518
12519
12520 enablestring=
12521 defaultval=$wxUSE_ALL_FEATURES
12522 if test -z "$defaultval"; then
12523 if test x"$enablestring" = xdisable; then
12524 defaultval=yes
12525 else
12526 defaultval=no
12527 fi
12528 fi
12529
12530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12531 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12532 # Check whether --enable-imaglist was given.
12533 if test "${enable_imaglist+set}" = set; then
12534 enableval=$enable_imaglist;
12535 if test "$enableval" = yes; then
12536 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12537 else
12538 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12539 fi
12540 cache=yes
12541
12542 else
12543
12544 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12545 if test "x$LINE" != x ; then
12546 eval "DEFAULT_$LINE"
12547 cache=yes
12548 else
12549 cache=no
12550 fi
12551
12552 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12553
12554 fi
12555
12556
12557 eval "$wx_cv_use_imaglist"
12558 if test "x$cache" = xyes; then
12559 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12560 fi
12561
12562 if test x"$enablestring" = xdisable; then
12563 if test $wxUSE_IMAGLIST = yes; then
12564 result=no
12565 else
12566 result=yes
12567 fi
12568 else
12569 result=$wxUSE_IMAGLIST
12570 fi
12571
12572 { echo "$as_me:$LINENO: result: $result" >&5
12573 echo "${ECHO_T}$result" >&6; }
12574
12575
12576 enablestring=
12577 defaultval=$wxUSE_ALL_FEATURES
12578 if test -z "$defaultval"; then
12579 if test x"$enablestring" = xdisable; then
12580 defaultval=yes
12581 else
12582 defaultval=no
12583 fi
12584 fi
12585
12586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12587 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12588 # Check whether --enable-listbook was given.
12589 if test "${enable_listbook+set}" = set; then
12590 enableval=$enable_listbook;
12591 if test "$enableval" = yes; then
12592 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12593 else
12594 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12595 fi
12596 cache=yes
12597
12598 else
12599
12600 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12601 if test "x$LINE" != x ; then
12602 eval "DEFAULT_$LINE"
12603 cache=yes
12604 else
12605 cache=no
12606 fi
12607
12608 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12609
12610 fi
12611
12612
12613 eval "$wx_cv_use_listbook"
12614 if test "x$cache" = xyes; then
12615 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12616 fi
12617
12618 if test x"$enablestring" = xdisable; then
12619 if test $wxUSE_LISTBOOK = yes; then
12620 result=no
12621 else
12622 result=yes
12623 fi
12624 else
12625 result=$wxUSE_LISTBOOK
12626 fi
12627
12628 { echo "$as_me:$LINENO: result: $result" >&5
12629 echo "${ECHO_T}$result" >&6; }
12630
12631
12632 enablestring=
12633 defaultval=$wxUSE_ALL_FEATURES
12634 if test -z "$defaultval"; then
12635 if test x"$enablestring" = xdisable; then
12636 defaultval=yes
12637 else
12638 defaultval=no
12639 fi
12640 fi
12641
12642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12643 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12644 # Check whether --enable-listbox was given.
12645 if test "${enable_listbox+set}" = set; then
12646 enableval=$enable_listbox;
12647 if test "$enableval" = yes; then
12648 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12649 else
12650 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12651 fi
12652 cache=yes
12653
12654 else
12655
12656 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12657 if test "x$LINE" != x ; then
12658 eval "DEFAULT_$LINE"
12659 cache=yes
12660 else
12661 cache=no
12662 fi
12663
12664 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12665
12666 fi
12667
12668
12669 eval "$wx_cv_use_listbox"
12670 if test "x$cache" = xyes; then
12671 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12672 fi
12673
12674 if test x"$enablestring" = xdisable; then
12675 if test $wxUSE_LISTBOX = yes; then
12676 result=no
12677 else
12678 result=yes
12679 fi
12680 else
12681 result=$wxUSE_LISTBOX
12682 fi
12683
12684 { echo "$as_me:$LINENO: result: $result" >&5
12685 echo "${ECHO_T}$result" >&6; }
12686
12687
12688 enablestring=
12689 defaultval=$wxUSE_ALL_FEATURES
12690 if test -z "$defaultval"; then
12691 if test x"$enablestring" = xdisable; then
12692 defaultval=yes
12693 else
12694 defaultval=no
12695 fi
12696 fi
12697
12698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12699 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12700 # Check whether --enable-listctrl was given.
12701 if test "${enable_listctrl+set}" = set; then
12702 enableval=$enable_listctrl;
12703 if test "$enableval" = yes; then
12704 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12705 else
12706 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12707 fi
12708 cache=yes
12709
12710 else
12711
12712 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12713 if test "x$LINE" != x ; then
12714 eval "DEFAULT_$LINE"
12715 cache=yes
12716 else
12717 cache=no
12718 fi
12719
12720 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12721
12722 fi
12723
12724
12725 eval "$wx_cv_use_listctrl"
12726 if test "x$cache" = xyes; then
12727 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12728 fi
12729
12730 if test x"$enablestring" = xdisable; then
12731 if test $wxUSE_LISTCTRL = yes; then
12732 result=no
12733 else
12734 result=yes
12735 fi
12736 else
12737 result=$wxUSE_LISTCTRL
12738 fi
12739
12740 { echo "$as_me:$LINENO: result: $result" >&5
12741 echo "${ECHO_T}$result" >&6; }
12742
12743
12744 enablestring=
12745 defaultval=$wxUSE_ALL_FEATURES
12746 if test -z "$defaultval"; then
12747 if test x"$enablestring" = xdisable; then
12748 defaultval=yes
12749 else
12750 defaultval=no
12751 fi
12752 fi
12753
12754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12756 # Check whether --enable-notebook was given.
12757 if test "${enable_notebook+set}" = set; then
12758 enableval=$enable_notebook;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12761 else
12762 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12763 fi
12764 cache=yes
12765
12766 else
12767
12768 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12769 if test "x$LINE" != x ; then
12770 eval "DEFAULT_$LINE"
12771 cache=yes
12772 else
12773 cache=no
12774 fi
12775
12776 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12777
12778 fi
12779
12780
12781 eval "$wx_cv_use_notebook"
12782 if test "x$cache" = xyes; then
12783 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12784 fi
12785
12786 if test x"$enablestring" = xdisable; then
12787 if test $wxUSE_NOTEBOOK = yes; then
12788 result=no
12789 else
12790 result=yes
12791 fi
12792 else
12793 result=$wxUSE_NOTEBOOK
12794 fi
12795
12796 { echo "$as_me:$LINENO: result: $result" >&5
12797 echo "${ECHO_T}$result" >&6; }
12798
12799
12800 enablestring=
12801 defaultval=$wxUSE_ALL_FEATURES
12802 if test -z "$defaultval"; then
12803 if test x"$enablestring" = xdisable; then
12804 defaultval=yes
12805 else
12806 defaultval=no
12807 fi
12808 fi
12809
12810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12811 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12812 # Check whether --enable-odcombobox was given.
12813 if test "${enable_odcombobox+set}" = set; then
12814 enableval=$enable_odcombobox;
12815 if test "$enableval" = yes; then
12816 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12817 else
12818 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12819 fi
12820 cache=yes
12821
12822 else
12823
12824 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12825 if test "x$LINE" != x ; then
12826 eval "DEFAULT_$LINE"
12827 cache=yes
12828 else
12829 cache=no
12830 fi
12831
12832 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12833
12834 fi
12835
12836
12837 eval "$wx_cv_use_odcombobox"
12838 if test "x$cache" = xyes; then
12839 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12840 fi
12841
12842 if test x"$enablestring" = xdisable; then
12843 if test $wxUSE_ODCOMBOBOX = yes; then
12844 result=no
12845 else
12846 result=yes
12847 fi
12848 else
12849 result=$wxUSE_ODCOMBOBOX
12850 fi
12851
12852 { echo "$as_me:$LINENO: result: $result" >&5
12853 echo "${ECHO_T}$result" >&6; }
12854
12855
12856 enablestring=
12857 defaultval=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x"$enablestring" = xdisable; then
12860 defaultval=yes
12861 else
12862 defaultval=no
12863 fi
12864 fi
12865
12866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12867 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12868 # Check whether --enable-radiobox was given.
12869 if test "${enable_radiobox+set}" = set; then
12870 enableval=$enable_radiobox;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12873 else
12874 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12875 fi
12876 cache=yes
12877
12878 else
12879
12880 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12881 if test "x$LINE" != x ; then
12882 eval "DEFAULT_$LINE"
12883 cache=yes
12884 else
12885 cache=no
12886 fi
12887
12888 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12889
12890 fi
12891
12892
12893 eval "$wx_cv_use_radiobox"
12894 if test "x$cache" = xyes; then
12895 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12896 fi
12897
12898 if test x"$enablestring" = xdisable; then
12899 if test $wxUSE_RADIOBOX = yes; then
12900 result=no
12901 else
12902 result=yes
12903 fi
12904 else
12905 result=$wxUSE_RADIOBOX
12906 fi
12907
12908 { echo "$as_me:$LINENO: result: $result" >&5
12909 echo "${ECHO_T}$result" >&6; }
12910
12911
12912 enablestring=
12913 defaultval=$wxUSE_ALL_FEATURES
12914 if test -z "$defaultval"; then
12915 if test x"$enablestring" = xdisable; then
12916 defaultval=yes
12917 else
12918 defaultval=no
12919 fi
12920 fi
12921
12922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12923 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12924 # Check whether --enable-radiobtn was given.
12925 if test "${enable_radiobtn+set}" = set; then
12926 enableval=$enable_radiobtn;
12927 if test "$enableval" = yes; then
12928 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12929 else
12930 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12931 fi
12932 cache=yes
12933
12934 else
12935
12936 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12937 if test "x$LINE" != x ; then
12938 eval "DEFAULT_$LINE"
12939 cache=yes
12940 else
12941 cache=no
12942 fi
12943
12944 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12945
12946 fi
12947
12948
12949 eval "$wx_cv_use_radiobtn"
12950 if test "x$cache" = xyes; then
12951 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12952 fi
12953
12954 if test x"$enablestring" = xdisable; then
12955 if test $wxUSE_RADIOBTN = yes; then
12956 result=no
12957 else
12958 result=yes
12959 fi
12960 else
12961 result=$wxUSE_RADIOBTN
12962 fi
12963
12964 { echo "$as_me:$LINENO: result: $result" >&5
12965 echo "${ECHO_T}$result" >&6; }
12966
12967
12968 enablestring=
12969 defaultval=$wxUSE_ALL_FEATURES
12970 if test -z "$defaultval"; then
12971 if test x"$enablestring" = xdisable; then
12972 defaultval=yes
12973 else
12974 defaultval=no
12975 fi
12976 fi
12977
12978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12979 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12980 # Check whether --enable-sash was given.
12981 if test "${enable_sash+set}" = set; then
12982 enableval=$enable_sash;
12983 if test "$enableval" = yes; then
12984 wx_cv_use_sash='wxUSE_SASH=yes'
12985 else
12986 wx_cv_use_sash='wxUSE_SASH=no'
12987 fi
12988 cache=yes
12989
12990 else
12991
12992 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12993 if test "x$LINE" != x ; then
12994 eval "DEFAULT_$LINE"
12995 cache=yes
12996 else
12997 cache=no
12998 fi
12999
13000 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13001
13002 fi
13003
13004
13005 eval "$wx_cv_use_sash"
13006 if test "x$cache" = xyes; then
13007 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
13008 fi
13009
13010 if test x"$enablestring" = xdisable; then
13011 if test $wxUSE_SASH = yes; then
13012 result=no
13013 else
13014 result=yes
13015 fi
13016 else
13017 result=$wxUSE_SASH
13018 fi
13019
13020 { echo "$as_me:$LINENO: result: $result" >&5
13021 echo "${ECHO_T}$result" >&6; }
13022
13023
13024 enablestring=
13025 defaultval=$wxUSE_ALL_FEATURES
13026 if test -z "$defaultval"; then
13027 if test x"$enablestring" = xdisable; then
13028 defaultval=yes
13029 else
13030 defaultval=no
13031 fi
13032 fi
13033
13034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
13035 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
13036 # Check whether --enable-scrollbar was given.
13037 if test "${enable_scrollbar+set}" = set; then
13038 enableval=$enable_scrollbar;
13039 if test "$enableval" = yes; then
13040 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13041 else
13042 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13043 fi
13044 cache=yes
13045
13046 else
13047
13048 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
13049 if test "x$LINE" != x ; then
13050 eval "DEFAULT_$LINE"
13051 cache=yes
13052 else
13053 cache=no
13054 fi
13055
13056 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13057
13058 fi
13059
13060
13061 eval "$wx_cv_use_scrollbar"
13062 if test "x$cache" = xyes; then
13063 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
13064 fi
13065
13066 if test x"$enablestring" = xdisable; then
13067 if test $wxUSE_SCROLLBAR = yes; then
13068 result=no
13069 else
13070 result=yes
13071 fi
13072 else
13073 result=$wxUSE_SCROLLBAR
13074 fi
13075
13076 { echo "$as_me:$LINENO: result: $result" >&5
13077 echo "${ECHO_T}$result" >&6; }
13078
13079
13080 enablestring=
13081 defaultval=$wxUSE_ALL_FEATURES
13082 if test -z "$defaultval"; then
13083 if test x"$enablestring" = xdisable; then
13084 defaultval=yes
13085 else
13086 defaultval=no
13087 fi
13088 fi
13089
13090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13091 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13092 # Check whether --enable-searchctrl was given.
13093 if test "${enable_searchctrl+set}" = set; then
13094 enableval=$enable_searchctrl;
13095 if test "$enableval" = yes; then
13096 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13097 else
13098 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13099 fi
13100 cache=yes
13101
13102 else
13103
13104 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13105 if test "x$LINE" != x ; then
13106 eval "DEFAULT_$LINE"
13107 cache=yes
13108 else
13109 cache=no
13110 fi
13111
13112 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13113
13114 fi
13115
13116
13117 eval "$wx_cv_use_searchctrl"
13118 if test "x$cache" = xyes; then
13119 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13120 fi
13121
13122 if test x"$enablestring" = xdisable; then
13123 if test $wxUSE_SEARCHCTRL = yes; then
13124 result=no
13125 else
13126 result=yes
13127 fi
13128 else
13129 result=$wxUSE_SEARCHCTRL
13130 fi
13131
13132 { echo "$as_me:$LINENO: result: $result" >&5
13133 echo "${ECHO_T}$result" >&6; }
13134
13135
13136 enablestring=
13137 defaultval=$wxUSE_ALL_FEATURES
13138 if test -z "$defaultval"; then
13139 if test x"$enablestring" = xdisable; then
13140 defaultval=yes
13141 else
13142 defaultval=no
13143 fi
13144 fi
13145
13146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13147 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13148 # Check whether --enable-slider was given.
13149 if test "${enable_slider+set}" = set; then
13150 enableval=$enable_slider;
13151 if test "$enableval" = yes; then
13152 wx_cv_use_slider='wxUSE_SLIDER=yes'
13153 else
13154 wx_cv_use_slider='wxUSE_SLIDER=no'
13155 fi
13156 cache=yes
13157
13158 else
13159
13160 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13161 if test "x$LINE" != x ; then
13162 eval "DEFAULT_$LINE"
13163 cache=yes
13164 else
13165 cache=no
13166 fi
13167
13168 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13169
13170 fi
13171
13172
13173 eval "$wx_cv_use_slider"
13174 if test "x$cache" = xyes; then
13175 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13176 fi
13177
13178 if test x"$enablestring" = xdisable; then
13179 if test $wxUSE_SLIDER = yes; then
13180 result=no
13181 else
13182 result=yes
13183 fi
13184 else
13185 result=$wxUSE_SLIDER
13186 fi
13187
13188 { echo "$as_me:$LINENO: result: $result" >&5
13189 echo "${ECHO_T}$result" >&6; }
13190
13191
13192 enablestring=
13193 defaultval=$wxUSE_ALL_FEATURES
13194 if test -z "$defaultval"; then
13195 if test x"$enablestring" = xdisable; then
13196 defaultval=yes
13197 else
13198 defaultval=no
13199 fi
13200 fi
13201
13202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13203 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13204 # Check whether --enable-spinbtn was given.
13205 if test "${enable_spinbtn+set}" = set; then
13206 enableval=$enable_spinbtn;
13207 if test "$enableval" = yes; then
13208 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13209 else
13210 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13211 fi
13212 cache=yes
13213
13214 else
13215
13216 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13217 if test "x$LINE" != x ; then
13218 eval "DEFAULT_$LINE"
13219 cache=yes
13220 else
13221 cache=no
13222 fi
13223
13224 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13225
13226 fi
13227
13228
13229 eval "$wx_cv_use_spinbtn"
13230 if test "x$cache" = xyes; then
13231 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13232 fi
13233
13234 if test x"$enablestring" = xdisable; then
13235 if test $wxUSE_SPINBTN = yes; then
13236 result=no
13237 else
13238 result=yes
13239 fi
13240 else
13241 result=$wxUSE_SPINBTN
13242 fi
13243
13244 { echo "$as_me:$LINENO: result: $result" >&5
13245 echo "${ECHO_T}$result" >&6; }
13246
13247
13248 enablestring=
13249 defaultval=$wxUSE_ALL_FEATURES
13250 if test -z "$defaultval"; then
13251 if test x"$enablestring" = xdisable; then
13252 defaultval=yes
13253 else
13254 defaultval=no
13255 fi
13256 fi
13257
13258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13259 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13260 # Check whether --enable-spinctrl was given.
13261 if test "${enable_spinctrl+set}" = set; then
13262 enableval=$enable_spinctrl;
13263 if test "$enableval" = yes; then
13264 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13265 else
13266 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13267 fi
13268 cache=yes
13269
13270 else
13271
13272 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13273 if test "x$LINE" != x ; then
13274 eval "DEFAULT_$LINE"
13275 cache=yes
13276 else
13277 cache=no
13278 fi
13279
13280 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13281
13282 fi
13283
13284
13285 eval "$wx_cv_use_spinctrl"
13286 if test "x$cache" = xyes; then
13287 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13288 fi
13289
13290 if test x"$enablestring" = xdisable; then
13291 if test $wxUSE_SPINCTRL = yes; then
13292 result=no
13293 else
13294 result=yes
13295 fi
13296 else
13297 result=$wxUSE_SPINCTRL
13298 fi
13299
13300 { echo "$as_me:$LINENO: result: $result" >&5
13301 echo "${ECHO_T}$result" >&6; }
13302
13303
13304 enablestring=
13305 defaultval=$wxUSE_ALL_FEATURES
13306 if test -z "$defaultval"; then
13307 if test x"$enablestring" = xdisable; then
13308 defaultval=yes
13309 else
13310 defaultval=no
13311 fi
13312 fi
13313
13314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13315 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13316 # Check whether --enable-splitter was given.
13317 if test "${enable_splitter+set}" = set; then
13318 enableval=$enable_splitter;
13319 if test "$enableval" = yes; then
13320 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13321 else
13322 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13323 fi
13324 cache=yes
13325
13326 else
13327
13328 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13329 if test "x$LINE" != x ; then
13330 eval "DEFAULT_$LINE"
13331 cache=yes
13332 else
13333 cache=no
13334 fi
13335
13336 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13337
13338 fi
13339
13340
13341 eval "$wx_cv_use_splitter"
13342 if test "x$cache" = xyes; then
13343 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13344 fi
13345
13346 if test x"$enablestring" = xdisable; then
13347 if test $wxUSE_SPLITTER = yes; then
13348 result=no
13349 else
13350 result=yes
13351 fi
13352 else
13353 result=$wxUSE_SPLITTER
13354 fi
13355
13356 { echo "$as_me:$LINENO: result: $result" >&5
13357 echo "${ECHO_T}$result" >&6; }
13358
13359
13360 enablestring=
13361 defaultval=$wxUSE_ALL_FEATURES
13362 if test -z "$defaultval"; then
13363 if test x"$enablestring" = xdisable; then
13364 defaultval=yes
13365 else
13366 defaultval=no
13367 fi
13368 fi
13369
13370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13371 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13372 # Check whether --enable-statbmp was given.
13373 if test "${enable_statbmp+set}" = set; then
13374 enableval=$enable_statbmp;
13375 if test "$enableval" = yes; then
13376 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13377 else
13378 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13379 fi
13380 cache=yes
13381
13382 else
13383
13384 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13385 if test "x$LINE" != x ; then
13386 eval "DEFAULT_$LINE"
13387 cache=yes
13388 else
13389 cache=no
13390 fi
13391
13392 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13393
13394 fi
13395
13396
13397 eval "$wx_cv_use_statbmp"
13398 if test "x$cache" = xyes; then
13399 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13400 fi
13401
13402 if test x"$enablestring" = xdisable; then
13403 if test $wxUSE_STATBMP = yes; then
13404 result=no
13405 else
13406 result=yes
13407 fi
13408 else
13409 result=$wxUSE_STATBMP
13410 fi
13411
13412 { echo "$as_me:$LINENO: result: $result" >&5
13413 echo "${ECHO_T}$result" >&6; }
13414
13415
13416 enablestring=
13417 defaultval=$wxUSE_ALL_FEATURES
13418 if test -z "$defaultval"; then
13419 if test x"$enablestring" = xdisable; then
13420 defaultval=yes
13421 else
13422 defaultval=no
13423 fi
13424 fi
13425
13426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13427 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13428 # Check whether --enable-statbox was given.
13429 if test "${enable_statbox+set}" = set; then
13430 enableval=$enable_statbox;
13431 if test "$enableval" = yes; then
13432 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13433 else
13434 wx_cv_use_statbox='wxUSE_STATBOX=no'
13435 fi
13436 cache=yes
13437
13438 else
13439
13440 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13441 if test "x$LINE" != x ; then
13442 eval "DEFAULT_$LINE"
13443 cache=yes
13444 else
13445 cache=no
13446 fi
13447
13448 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13449
13450 fi
13451
13452
13453 eval "$wx_cv_use_statbox"
13454 if test "x$cache" = xyes; then
13455 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13456 fi
13457
13458 if test x"$enablestring" = xdisable; then
13459 if test $wxUSE_STATBOX = yes; then
13460 result=no
13461 else
13462 result=yes
13463 fi
13464 else
13465 result=$wxUSE_STATBOX
13466 fi
13467
13468 { echo "$as_me:$LINENO: result: $result" >&5
13469 echo "${ECHO_T}$result" >&6; }
13470
13471
13472 enablestring=
13473 defaultval=$wxUSE_ALL_FEATURES
13474 if test -z "$defaultval"; then
13475 if test x"$enablestring" = xdisable; then
13476 defaultval=yes
13477 else
13478 defaultval=no
13479 fi
13480 fi
13481
13482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13483 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13484 # Check whether --enable-statline was given.
13485 if test "${enable_statline+set}" = set; then
13486 enableval=$enable_statline;
13487 if test "$enableval" = yes; then
13488 wx_cv_use_statline='wxUSE_STATLINE=yes'
13489 else
13490 wx_cv_use_statline='wxUSE_STATLINE=no'
13491 fi
13492 cache=yes
13493
13494 else
13495
13496 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13497 if test "x$LINE" != x ; then
13498 eval "DEFAULT_$LINE"
13499 cache=yes
13500 else
13501 cache=no
13502 fi
13503
13504 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13505
13506 fi
13507
13508
13509 eval "$wx_cv_use_statline"
13510 if test "x$cache" = xyes; then
13511 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13512 fi
13513
13514 if test x"$enablestring" = xdisable; then
13515 if test $wxUSE_STATLINE = yes; then
13516 result=no
13517 else
13518 result=yes
13519 fi
13520 else
13521 result=$wxUSE_STATLINE
13522 fi
13523
13524 { echo "$as_me:$LINENO: result: $result" >&5
13525 echo "${ECHO_T}$result" >&6; }
13526
13527
13528 enablestring=
13529 defaultval=$wxUSE_ALL_FEATURES
13530 if test -z "$defaultval"; then
13531 if test x"$enablestring" = xdisable; then
13532 defaultval=yes
13533 else
13534 defaultval=no
13535 fi
13536 fi
13537
13538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13539 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13540 # Check whether --enable-stattext was given.
13541 if test "${enable_stattext+set}" = set; then
13542 enableval=$enable_stattext;
13543 if test "$enableval" = yes; then
13544 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13545 else
13546 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13547 fi
13548 cache=yes
13549
13550 else
13551
13552 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13553 if test "x$LINE" != x ; then
13554 eval "DEFAULT_$LINE"
13555 cache=yes
13556 else
13557 cache=no
13558 fi
13559
13560 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13561
13562 fi
13563
13564
13565 eval "$wx_cv_use_stattext"
13566 if test "x$cache" = xyes; then
13567 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13568 fi
13569
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_STATTEXT = yes; then
13572 result=no
13573 else
13574 result=yes
13575 fi
13576 else
13577 result=$wxUSE_STATTEXT
13578 fi
13579
13580 { echo "$as_me:$LINENO: result: $result" >&5
13581 echo "${ECHO_T}$result" >&6; }
13582
13583
13584 enablestring=
13585 defaultval=$wxUSE_ALL_FEATURES
13586 if test -z "$defaultval"; then
13587 if test x"$enablestring" = xdisable; then
13588 defaultval=yes
13589 else
13590 defaultval=no
13591 fi
13592 fi
13593
13594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13595 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13596 # Check whether --enable-statusbar was given.
13597 if test "${enable_statusbar+set}" = set; then
13598 enableval=$enable_statusbar;
13599 if test "$enableval" = yes; then
13600 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13601 else
13602 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13603 fi
13604 cache=yes
13605
13606 else
13607
13608 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13609 if test "x$LINE" != x ; then
13610 eval "DEFAULT_$LINE"
13611 cache=yes
13612 else
13613 cache=no
13614 fi
13615
13616 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13617
13618 fi
13619
13620
13621 eval "$wx_cv_use_statusbar"
13622 if test "x$cache" = xyes; then
13623 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13624 fi
13625
13626 if test x"$enablestring" = xdisable; then
13627 if test $wxUSE_STATUSBAR = yes; then
13628 result=no
13629 else
13630 result=yes
13631 fi
13632 else
13633 result=$wxUSE_STATUSBAR
13634 fi
13635
13636 { echo "$as_me:$LINENO: result: $result" >&5
13637 echo "${ECHO_T}$result" >&6; }
13638
13639
13640 enablestring=
13641 defaultval=$wxUSE_ALL_FEATURES
13642 if test -z "$defaultval"; then
13643 if test x"$enablestring" = xdisable; then
13644 defaultval=yes
13645 else
13646 defaultval=no
13647 fi
13648 fi
13649
13650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13651 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13652 # Check whether --enable-tabdialog was given.
13653 if test "${enable_tabdialog+set}" = set; then
13654 enableval=$enable_tabdialog;
13655 if test "$enableval" = yes; then
13656 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13657 else
13658 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13659 fi
13660 cache=yes
13661
13662 else
13663
13664 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13665 if test "x$LINE" != x ; then
13666 eval "DEFAULT_$LINE"
13667 cache=yes
13668 else
13669 cache=no
13670 fi
13671
13672 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13673
13674 fi
13675
13676
13677 eval "$wx_cv_use_tabdialog"
13678 if test "x$cache" = xyes; then
13679 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13680 fi
13681
13682 if test x"$enablestring" = xdisable; then
13683 if test $wxUSE_TAB_DIALOG = yes; then
13684 result=no
13685 else
13686 result=yes
13687 fi
13688 else
13689 result=$wxUSE_TAB_DIALOG
13690 fi
13691
13692 { echo "$as_me:$LINENO: result: $result" >&5
13693 echo "${ECHO_T}$result" >&6; }
13694
13695
13696 enablestring=
13697 defaultval=$wxUSE_ALL_FEATURES
13698 if test -z "$defaultval"; then
13699 if test x"$enablestring" = xdisable; then
13700 defaultval=yes
13701 else
13702 defaultval=no
13703 fi
13704 fi
13705
13706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13707 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13708 # Check whether --enable-taskbaricon was given.
13709 if test "${enable_taskbaricon+set}" = set; then
13710 enableval=$enable_taskbaricon;
13711 if test "$enableval" = yes; then
13712 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13713 else
13714 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13715 fi
13716 cache=yes
13717
13718 else
13719
13720 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13721 if test "x$LINE" != x ; then
13722 eval "DEFAULT_$LINE"
13723 cache=yes
13724 else
13725 cache=no
13726 fi
13727
13728 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13729
13730 fi
13731
13732
13733 eval "$wx_cv_use_taskbaricon"
13734 if test "x$cache" = xyes; then
13735 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13736 fi
13737
13738 if test x"$enablestring" = xdisable; then
13739 if test $wxUSE_TASKBARICON = yes; then
13740 result=no
13741 else
13742 result=yes
13743 fi
13744 else
13745 result=$wxUSE_TASKBARICON
13746 fi
13747
13748 { echo "$as_me:$LINENO: result: $result" >&5
13749 echo "${ECHO_T}$result" >&6; }
13750
13751
13752 enablestring=
13753 defaultval=$wxUSE_ALL_FEATURES
13754 if test -z "$defaultval"; then
13755 if test x"$enablestring" = xdisable; then
13756 defaultval=yes
13757 else
13758 defaultval=no
13759 fi
13760 fi
13761
13762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13763 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13764 # Check whether --enable-textctrl was given.
13765 if test "${enable_textctrl+set}" = set; then
13766 enableval=$enable_textctrl;
13767 if test "$enableval" = yes; then
13768 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13769 else
13770 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13771 fi
13772 cache=yes
13773
13774 else
13775
13776 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13777 if test "x$LINE" != x ; then
13778 eval "DEFAULT_$LINE"
13779 cache=yes
13780 else
13781 cache=no
13782 fi
13783
13784 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13785
13786 fi
13787
13788
13789 eval "$wx_cv_use_textctrl"
13790 if test "x$cache" = xyes; then
13791 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13792 fi
13793
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_TEXTCTRL = yes; then
13796 result=no
13797 else
13798 result=yes
13799 fi
13800 else
13801 result=$wxUSE_TEXTCTRL
13802 fi
13803
13804 { echo "$as_me:$LINENO: result: $result" >&5
13805 echo "${ECHO_T}$result" >&6; }
13806
13807
13808 enablestring=
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13812 defaultval=yes
13813 else
13814 defaultval=no
13815 fi
13816 fi
13817
13818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13819 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13820 # Check whether --enable-togglebtn was given.
13821 if test "${enable_togglebtn+set}" = set; then
13822 enableval=$enable_togglebtn;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13825 else
13826 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13827 fi
13828 cache=yes
13829
13830 else
13831
13832 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13833 if test "x$LINE" != x ; then
13834 eval "DEFAULT_$LINE"
13835 cache=yes
13836 else
13837 cache=no
13838 fi
13839
13840 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13841
13842 fi
13843
13844
13845 eval "$wx_cv_use_togglebtn"
13846 if test "x$cache" = xyes; then
13847 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13848 fi
13849
13850 if test x"$enablestring" = xdisable; then
13851 if test $wxUSE_TOGGLEBTN = yes; then
13852 result=no
13853 else
13854 result=yes
13855 fi
13856 else
13857 result=$wxUSE_TOGGLEBTN
13858 fi
13859
13860 { echo "$as_me:$LINENO: result: $result" >&5
13861 echo "${ECHO_T}$result" >&6; }
13862
13863
13864 enablestring=
13865 defaultval=$wxUSE_ALL_FEATURES
13866 if test -z "$defaultval"; then
13867 if test x"$enablestring" = xdisable; then
13868 defaultval=yes
13869 else
13870 defaultval=no
13871 fi
13872 fi
13873
13874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13875 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13876 # Check whether --enable-toolbar was given.
13877 if test "${enable_toolbar+set}" = set; then
13878 enableval=$enable_toolbar;
13879 if test "$enableval" = yes; then
13880 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13881 else
13882 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13883 fi
13884 cache=yes
13885
13886 else
13887
13888 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13889 if test "x$LINE" != x ; then
13890 eval "DEFAULT_$LINE"
13891 cache=yes
13892 else
13893 cache=no
13894 fi
13895
13896 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13897
13898 fi
13899
13900
13901 eval "$wx_cv_use_toolbar"
13902 if test "x$cache" = xyes; then
13903 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13904 fi
13905
13906 if test x"$enablestring" = xdisable; then
13907 if test $wxUSE_TOOLBAR = yes; then
13908 result=no
13909 else
13910 result=yes
13911 fi
13912 else
13913 result=$wxUSE_TOOLBAR
13914 fi
13915
13916 { echo "$as_me:$LINENO: result: $result" >&5
13917 echo "${ECHO_T}$result" >&6; }
13918
13919
13920 enablestring=
13921 defaultval=$wxUSE_ALL_FEATURES
13922 if test -z "$defaultval"; then
13923 if test x"$enablestring" = xdisable; then
13924 defaultval=yes
13925 else
13926 defaultval=no
13927 fi
13928 fi
13929
13930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13931 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13932 # Check whether --enable-tbarnative was given.
13933 if test "${enable_tbarnative+set}" = set; then
13934 enableval=$enable_tbarnative;
13935 if test "$enableval" = yes; then
13936 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13937 else
13938 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13939 fi
13940 cache=yes
13941
13942 else
13943
13944 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13945 if test "x$LINE" != x ; then
13946 eval "DEFAULT_$LINE"
13947 cache=yes
13948 else
13949 cache=no
13950 fi
13951
13952 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13953
13954 fi
13955
13956
13957 eval "$wx_cv_use_tbarnative"
13958 if test "x$cache" = xyes; then
13959 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13960 fi
13961
13962 if test x"$enablestring" = xdisable; then
13963 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13964 result=no
13965 else
13966 result=yes
13967 fi
13968 else
13969 result=$wxUSE_TOOLBAR_NATIVE
13970 fi
13971
13972 { echo "$as_me:$LINENO: result: $result" >&5
13973 echo "${ECHO_T}$result" >&6; }
13974
13975
13976 enablestring=
13977 defaultval=$wxUSE_ALL_FEATURES
13978 if test -z "$defaultval"; then
13979 if test x"$enablestring" = xdisable; then
13980 defaultval=yes
13981 else
13982 defaultval=no
13983 fi
13984 fi
13985
13986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13987 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13988 # Check whether --enable-treebook was given.
13989 if test "${enable_treebook+set}" = set; then
13990 enableval=$enable_treebook;
13991 if test "$enableval" = yes; then
13992 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13993 else
13994 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13995 fi
13996 cache=yes
13997
13998 else
13999
14000 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
14001 if test "x$LINE" != x ; then
14002 eval "DEFAULT_$LINE"
14003 cache=yes
14004 else
14005 cache=no
14006 fi
14007
14008 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14009
14010 fi
14011
14012
14013 eval "$wx_cv_use_treebook"
14014 if test "x$cache" = xyes; then
14015 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
14016 fi
14017
14018 if test x"$enablestring" = xdisable; then
14019 if test $wxUSE_TREEBOOK = yes; then
14020 result=no
14021 else
14022 result=yes
14023 fi
14024 else
14025 result=$wxUSE_TREEBOOK
14026 fi
14027
14028 { echo "$as_me:$LINENO: result: $result" >&5
14029 echo "${ECHO_T}$result" >&6; }
14030
14031
14032 enablestring=
14033 defaultval=$wxUSE_ALL_FEATURES
14034 if test -z "$defaultval"; then
14035 if test x"$enablestring" = xdisable; then
14036 defaultval=yes
14037 else
14038 defaultval=no
14039 fi
14040 fi
14041
14042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
14043 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
14044 # Check whether --enable-toolbook was given.
14045 if test "${enable_toolbook+set}" = set; then
14046 enableval=$enable_toolbook;
14047 if test "$enableval" = yes; then
14048 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14049 else
14050 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14051 fi
14052 cache=yes
14053
14054 else
14055
14056 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
14057 if test "x$LINE" != x ; then
14058 eval "DEFAULT_$LINE"
14059 cache=yes
14060 else
14061 cache=no
14062 fi
14063
14064 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14065
14066 fi
14067
14068
14069 eval "$wx_cv_use_toolbook"
14070 if test "x$cache" = xyes; then
14071 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14072 fi
14073
14074 if test x"$enablestring" = xdisable; then
14075 if test $wxUSE_TOOLBOOK = yes; then
14076 result=no
14077 else
14078 result=yes
14079 fi
14080 else
14081 result=$wxUSE_TOOLBOOK
14082 fi
14083
14084 { echo "$as_me:$LINENO: result: $result" >&5
14085 echo "${ECHO_T}$result" >&6; }
14086
14087
14088 enablestring=
14089 defaultval=$wxUSE_ALL_FEATURES
14090 if test -z "$defaultval"; then
14091 if test x"$enablestring" = xdisable; then
14092 defaultval=yes
14093 else
14094 defaultval=no
14095 fi
14096 fi
14097
14098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14099 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14100 # Check whether --enable-treectrl was given.
14101 if test "${enable_treectrl+set}" = set; then
14102 enableval=$enable_treectrl;
14103 if test "$enableval" = yes; then
14104 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14105 else
14106 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14107 fi
14108 cache=yes
14109
14110 else
14111
14112 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14113 if test "x$LINE" != x ; then
14114 eval "DEFAULT_$LINE"
14115 cache=yes
14116 else
14117 cache=no
14118 fi
14119
14120 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14121
14122 fi
14123
14124
14125 eval "$wx_cv_use_treectrl"
14126 if test "x$cache" = xyes; then
14127 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14128 fi
14129
14130 if test x"$enablestring" = xdisable; then
14131 if test $wxUSE_TREECTRL = yes; then
14132 result=no
14133 else
14134 result=yes
14135 fi
14136 else
14137 result=$wxUSE_TREECTRL
14138 fi
14139
14140 { echo "$as_me:$LINENO: result: $result" >&5
14141 echo "${ECHO_T}$result" >&6; }
14142
14143
14144 enablestring=
14145 defaultval=$wxUSE_ALL_FEATURES
14146 if test -z "$defaultval"; then
14147 if test x"$enablestring" = xdisable; then
14148 defaultval=yes
14149 else
14150 defaultval=no
14151 fi
14152 fi
14153
14154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14155 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14156 # Check whether --enable-tipwindow was given.
14157 if test "${enable_tipwindow+set}" = set; then
14158 enableval=$enable_tipwindow;
14159 if test "$enableval" = yes; then
14160 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14161 else
14162 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14163 fi
14164 cache=yes
14165
14166 else
14167
14168 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14169 if test "x$LINE" != x ; then
14170 eval "DEFAULT_$LINE"
14171 cache=yes
14172 else
14173 cache=no
14174 fi
14175
14176 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14177
14178 fi
14179
14180
14181 eval "$wx_cv_use_tipwindow"
14182 if test "x$cache" = xyes; then
14183 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14184 fi
14185
14186 if test x"$enablestring" = xdisable; then
14187 if test $wxUSE_TIPWINDOW = yes; then
14188 result=no
14189 else
14190 result=yes
14191 fi
14192 else
14193 result=$wxUSE_TIPWINDOW
14194 fi
14195
14196 { echo "$as_me:$LINENO: result: $result" >&5
14197 echo "${ECHO_T}$result" >&6; }
14198
14199
14200 enablestring=
14201 defaultval=$wxUSE_ALL_FEATURES
14202 if test -z "$defaultval"; then
14203 if test x"$enablestring" = xdisable; then
14204 defaultval=yes
14205 else
14206 defaultval=no
14207 fi
14208 fi
14209
14210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14211 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14212 # Check whether --enable-popupwin was given.
14213 if test "${enable_popupwin+set}" = set; then
14214 enableval=$enable_popupwin;
14215 if test "$enableval" = yes; then
14216 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14217 else
14218 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14219 fi
14220 cache=yes
14221
14222 else
14223
14224 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14225 if test "x$LINE" != x ; then
14226 eval "DEFAULT_$LINE"
14227 cache=yes
14228 else
14229 cache=no
14230 fi
14231
14232 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14233
14234 fi
14235
14236
14237 eval "$wx_cv_use_popupwin"
14238 if test "x$cache" = xyes; then
14239 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14240 fi
14241
14242 if test x"$enablestring" = xdisable; then
14243 if test $wxUSE_POPUPWIN = yes; then
14244 result=no
14245 else
14246 result=yes
14247 fi
14248 else
14249 result=$wxUSE_POPUPWIN
14250 fi
14251
14252 { echo "$as_me:$LINENO: result: $result" >&5
14253 echo "${ECHO_T}$result" >&6; }
14254
14255
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}-commondlg" >&5
14269 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14270 # Check whether --enable-commondlg was given.
14271 if test "${enable_commondlg+set}" = set; then
14272 enableval=$enable_commondlg;
14273 if test "$enableval" = yes; then
14274 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14275 else
14276 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14277 fi
14278 cache=yes
14279
14280 else
14281
14282 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14283 if test "x$LINE" != x ; then
14284 eval "DEFAULT_$LINE"
14285 cache=yes
14286 else
14287 cache=no
14288 fi
14289
14290 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14291
14292 fi
14293
14294
14295 eval "$wx_cv_use_commondlg"
14296 if test "x$cache" = xyes; then
14297 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14298 fi
14299
14300 if test x"$enablestring" = xdisable; then
14301 if test $wxUSE_COMMONDLGS = yes; then
14302 result=no
14303 else
14304 result=yes
14305 fi
14306 else
14307 result=$wxUSE_COMMONDLGS
14308 fi
14309
14310 { echo "$as_me:$LINENO: result: $result" >&5
14311 echo "${ECHO_T}$result" >&6; }
14312
14313
14314 enablestring=
14315 defaultval=$wxUSE_ALL_FEATURES
14316 if test -z "$defaultval"; then
14317 if test x"$enablestring" = xdisable; then
14318 defaultval=yes
14319 else
14320 defaultval=no
14321 fi
14322 fi
14323
14324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14325 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14326 # Check whether --enable-aboutdlg was given.
14327 if test "${enable_aboutdlg+set}" = set; then
14328 enableval=$enable_aboutdlg;
14329 if test "$enableval" = yes; then
14330 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14331 else
14332 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14333 fi
14334 cache=yes
14335
14336 else
14337
14338 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14339 if test "x$LINE" != x ; then
14340 eval "DEFAULT_$LINE"
14341 cache=yes
14342 else
14343 cache=no
14344 fi
14345
14346 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14347
14348 fi
14349
14350
14351 eval "$wx_cv_use_aboutdlg"
14352 if test "x$cache" = xyes; then
14353 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14354 fi
14355
14356 if test x"$enablestring" = xdisable; then
14357 if test $wxUSE_ABOUTDLG = yes; then
14358 result=no
14359 else
14360 result=yes
14361 fi
14362 else
14363 result=$wxUSE_ABOUTDLG
14364 fi
14365
14366 { echo "$as_me:$LINENO: result: $result" >&5
14367 echo "${ECHO_T}$result" >&6; }
14368
14369
14370 enablestring=
14371 defaultval=$wxUSE_ALL_FEATURES
14372 if test -z "$defaultval"; then
14373 if test x"$enablestring" = xdisable; then
14374 defaultval=yes
14375 else
14376 defaultval=no
14377 fi
14378 fi
14379
14380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14381 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14382 # Check whether --enable-choicedlg was given.
14383 if test "${enable_choicedlg+set}" = set; then
14384 enableval=$enable_choicedlg;
14385 if test "$enableval" = yes; then
14386 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14387 else
14388 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14389 fi
14390 cache=yes
14391
14392 else
14393
14394 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14395 if test "x$LINE" != x ; then
14396 eval "DEFAULT_$LINE"
14397 cache=yes
14398 else
14399 cache=no
14400 fi
14401
14402 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14403
14404 fi
14405
14406
14407 eval "$wx_cv_use_choicedlg"
14408 if test "x$cache" = xyes; then
14409 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14410 fi
14411
14412 if test x"$enablestring" = xdisable; then
14413 if test $wxUSE_CHOICEDLG = yes; then
14414 result=no
14415 else
14416 result=yes
14417 fi
14418 else
14419 result=$wxUSE_CHOICEDLG
14420 fi
14421
14422 { echo "$as_me:$LINENO: result: $result" >&5
14423 echo "${ECHO_T}$result" >&6; }
14424
14425
14426 enablestring=
14427 defaultval=$wxUSE_ALL_FEATURES
14428 if test -z "$defaultval"; then
14429 if test x"$enablestring" = xdisable; then
14430 defaultval=yes
14431 else
14432 defaultval=no
14433 fi
14434 fi
14435
14436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14437 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14438 # Check whether --enable-coldlg was given.
14439 if test "${enable_coldlg+set}" = set; then
14440 enableval=$enable_coldlg;
14441 if test "$enableval" = yes; then
14442 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14443 else
14444 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14445 fi
14446 cache=yes
14447
14448 else
14449
14450 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14451 if test "x$LINE" != x ; then
14452 eval "DEFAULT_$LINE"
14453 cache=yes
14454 else
14455 cache=no
14456 fi
14457
14458 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14459
14460 fi
14461
14462
14463 eval "$wx_cv_use_coldlg"
14464 if test "x$cache" = xyes; then
14465 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14466 fi
14467
14468 if test x"$enablestring" = xdisable; then
14469 if test $wxUSE_COLOURDLG = yes; then
14470 result=no
14471 else
14472 result=yes
14473 fi
14474 else
14475 result=$wxUSE_COLOURDLG
14476 fi
14477
14478 { echo "$as_me:$LINENO: result: $result" >&5
14479 echo "${ECHO_T}$result" >&6; }
14480
14481
14482 enablestring=
14483 defaultval=$wxUSE_ALL_FEATURES
14484 if test -z "$defaultval"; then
14485 if test x"$enablestring" = xdisable; then
14486 defaultval=yes
14487 else
14488 defaultval=no
14489 fi
14490 fi
14491
14492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14493 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14494 # Check whether --enable-filedlg was given.
14495 if test "${enable_filedlg+set}" = set; then
14496 enableval=$enable_filedlg;
14497 if test "$enableval" = yes; then
14498 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14499 else
14500 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14501 fi
14502 cache=yes
14503
14504 else
14505
14506 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14507 if test "x$LINE" != x ; then
14508 eval "DEFAULT_$LINE"
14509 cache=yes
14510 else
14511 cache=no
14512 fi
14513
14514 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14515
14516 fi
14517
14518
14519 eval "$wx_cv_use_filedlg"
14520 if test "x$cache" = xyes; then
14521 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14522 fi
14523
14524 if test x"$enablestring" = xdisable; then
14525 if test $wxUSE_FILEDLG = yes; then
14526 result=no
14527 else
14528 result=yes
14529 fi
14530 else
14531 result=$wxUSE_FILEDLG
14532 fi
14533
14534 { echo "$as_me:$LINENO: result: $result" >&5
14535 echo "${ECHO_T}$result" >&6; }
14536
14537
14538 enablestring=
14539 defaultval=$wxUSE_ALL_FEATURES
14540 if test -z "$defaultval"; then
14541 if test x"$enablestring" = xdisable; then
14542 defaultval=yes
14543 else
14544 defaultval=no
14545 fi
14546 fi
14547
14548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14549 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14550 # Check whether --enable-finddlg was given.
14551 if test "${enable_finddlg+set}" = set; then
14552 enableval=$enable_finddlg;
14553 if test "$enableval" = yes; then
14554 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14555 else
14556 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14557 fi
14558 cache=yes
14559
14560 else
14561
14562 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14563 if test "x$LINE" != x ; then
14564 eval "DEFAULT_$LINE"
14565 cache=yes
14566 else
14567 cache=no
14568 fi
14569
14570 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14571
14572 fi
14573
14574
14575 eval "$wx_cv_use_finddlg"
14576 if test "x$cache" = xyes; then
14577 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14578 fi
14579
14580 if test x"$enablestring" = xdisable; then
14581 if test $wxUSE_FINDREPLDLG = yes; then
14582 result=no
14583 else
14584 result=yes
14585 fi
14586 else
14587 result=$wxUSE_FINDREPLDLG
14588 fi
14589
14590 { echo "$as_me:$LINENO: result: $result" >&5
14591 echo "${ECHO_T}$result" >&6; }
14592
14593
14594 enablestring=
14595 defaultval=$wxUSE_ALL_FEATURES
14596 if test -z "$defaultval"; then
14597 if test x"$enablestring" = xdisable; then
14598 defaultval=yes
14599 else
14600 defaultval=no
14601 fi
14602 fi
14603
14604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14605 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14606 # Check whether --enable-fontdlg was given.
14607 if test "${enable_fontdlg+set}" = set; then
14608 enableval=$enable_fontdlg;
14609 if test "$enableval" = yes; then
14610 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14611 else
14612 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14613 fi
14614 cache=yes
14615
14616 else
14617
14618 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14619 if test "x$LINE" != x ; then
14620 eval "DEFAULT_$LINE"
14621 cache=yes
14622 else
14623 cache=no
14624 fi
14625
14626 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14627
14628 fi
14629
14630
14631 eval "$wx_cv_use_fontdlg"
14632 if test "x$cache" = xyes; then
14633 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14634 fi
14635
14636 if test x"$enablestring" = xdisable; then
14637 if test $wxUSE_FONTDLG = yes; then
14638 result=no
14639 else
14640 result=yes
14641 fi
14642 else
14643 result=$wxUSE_FONTDLG
14644 fi
14645
14646 { echo "$as_me:$LINENO: result: $result" >&5
14647 echo "${ECHO_T}$result" >&6; }
14648
14649
14650 enablestring=
14651 defaultval=$wxUSE_ALL_FEATURES
14652 if test -z "$defaultval"; then
14653 if test x"$enablestring" = xdisable; then
14654 defaultval=yes
14655 else
14656 defaultval=no
14657 fi
14658 fi
14659
14660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14661 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14662 # Check whether --enable-dirdlg was given.
14663 if test "${enable_dirdlg+set}" = set; then
14664 enableval=$enable_dirdlg;
14665 if test "$enableval" = yes; then
14666 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14667 else
14668 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14669 fi
14670 cache=yes
14671
14672 else
14673
14674 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14675 if test "x$LINE" != x ; then
14676 eval "DEFAULT_$LINE"
14677 cache=yes
14678 else
14679 cache=no
14680 fi
14681
14682 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14683
14684 fi
14685
14686
14687 eval "$wx_cv_use_dirdlg"
14688 if test "x$cache" = xyes; then
14689 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14690 fi
14691
14692 if test x"$enablestring" = xdisable; then
14693 if test $wxUSE_DIRDLG = yes; then
14694 result=no
14695 else
14696 result=yes
14697 fi
14698 else
14699 result=$wxUSE_DIRDLG
14700 fi
14701
14702 { echo "$as_me:$LINENO: result: $result" >&5
14703 echo "${ECHO_T}$result" >&6; }
14704
14705
14706 enablestring=
14707 defaultval=$wxUSE_ALL_FEATURES
14708 if test -z "$defaultval"; then
14709 if test x"$enablestring" = xdisable; then
14710 defaultval=yes
14711 else
14712 defaultval=no
14713 fi
14714 fi
14715
14716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14717 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14718 # Check whether --enable-msgdlg was given.
14719 if test "${enable_msgdlg+set}" = set; then
14720 enableval=$enable_msgdlg;
14721 if test "$enableval" = yes; then
14722 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14723 else
14724 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14725 fi
14726 cache=yes
14727
14728 else
14729
14730 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14731 if test "x$LINE" != x ; then
14732 eval "DEFAULT_$LINE"
14733 cache=yes
14734 else
14735 cache=no
14736 fi
14737
14738 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14739
14740 fi
14741
14742
14743 eval "$wx_cv_use_msgdlg"
14744 if test "x$cache" = xyes; then
14745 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14746 fi
14747
14748 if test x"$enablestring" = xdisable; then
14749 if test $wxUSE_MSGDLG = yes; then
14750 result=no
14751 else
14752 result=yes
14753 fi
14754 else
14755 result=$wxUSE_MSGDLG
14756 fi
14757
14758 { echo "$as_me:$LINENO: result: $result" >&5
14759 echo "${ECHO_T}$result" >&6; }
14760
14761
14762 enablestring=
14763 defaultval=$wxUSE_ALL_FEATURES
14764 if test -z "$defaultval"; then
14765 if test x"$enablestring" = xdisable; then
14766 defaultval=yes
14767 else
14768 defaultval=no
14769 fi
14770 fi
14771
14772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14773 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14774 # Check whether --enable-numberdlg was given.
14775 if test "${enable_numberdlg+set}" = set; then
14776 enableval=$enable_numberdlg;
14777 if test "$enableval" = yes; then
14778 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14779 else
14780 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14781 fi
14782 cache=yes
14783
14784 else
14785
14786 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14787 if test "x$LINE" != x ; then
14788 eval "DEFAULT_$LINE"
14789 cache=yes
14790 else
14791 cache=no
14792 fi
14793
14794 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14795
14796 fi
14797
14798
14799 eval "$wx_cv_use_numberdlg"
14800 if test "x$cache" = xyes; then
14801 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14802 fi
14803
14804 if test x"$enablestring" = xdisable; then
14805 if test $wxUSE_NUMBERDLG = yes; then
14806 result=no
14807 else
14808 result=yes
14809 fi
14810 else
14811 result=$wxUSE_NUMBERDLG
14812 fi
14813
14814 { echo "$as_me:$LINENO: result: $result" >&5
14815 echo "${ECHO_T}$result" >&6; }
14816
14817
14818 enablestring=
14819 defaultval=$wxUSE_ALL_FEATURES
14820 if test -z "$defaultval"; then
14821 if test x"$enablestring" = xdisable; then
14822 defaultval=yes
14823 else
14824 defaultval=no
14825 fi
14826 fi
14827
14828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14829 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14830 # Check whether --enable-splash was given.
14831 if test "${enable_splash+set}" = set; then
14832 enableval=$enable_splash;
14833 if test "$enableval" = yes; then
14834 wx_cv_use_splash='wxUSE_SPLASH=yes'
14835 else
14836 wx_cv_use_splash='wxUSE_SPLASH=no'
14837 fi
14838 cache=yes
14839
14840 else
14841
14842 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14843 if test "x$LINE" != x ; then
14844 eval "DEFAULT_$LINE"
14845 cache=yes
14846 else
14847 cache=no
14848 fi
14849
14850 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14851
14852 fi
14853
14854
14855 eval "$wx_cv_use_splash"
14856 if test "x$cache" = xyes; then
14857 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14858 fi
14859
14860 if test x"$enablestring" = xdisable; then
14861 if test $wxUSE_SPLASH = yes; then
14862 result=no
14863 else
14864 result=yes
14865 fi
14866 else
14867 result=$wxUSE_SPLASH
14868 fi
14869
14870 { echo "$as_me:$LINENO: result: $result" >&5
14871 echo "${ECHO_T}$result" >&6; }
14872
14873
14874 enablestring=
14875 defaultval=$wxUSE_ALL_FEATURES
14876 if test -z "$defaultval"; then
14877 if test x"$enablestring" = xdisable; then
14878 defaultval=yes
14879 else
14880 defaultval=no
14881 fi
14882 fi
14883
14884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14885 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14886 # Check whether --enable-textdlg was given.
14887 if test "${enable_textdlg+set}" = set; then
14888 enableval=$enable_textdlg;
14889 if test "$enableval" = yes; then
14890 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14891 else
14892 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14893 fi
14894 cache=yes
14895
14896 else
14897
14898 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14899 if test "x$LINE" != x ; then
14900 eval "DEFAULT_$LINE"
14901 cache=yes
14902 else
14903 cache=no
14904 fi
14905
14906 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14907
14908 fi
14909
14910
14911 eval "$wx_cv_use_textdlg"
14912 if test "x$cache" = xyes; then
14913 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14914 fi
14915
14916 if test x"$enablestring" = xdisable; then
14917 if test $wxUSE_TEXTDLG = yes; then
14918 result=no
14919 else
14920 result=yes
14921 fi
14922 else
14923 result=$wxUSE_TEXTDLG
14924 fi
14925
14926 { echo "$as_me:$LINENO: result: $result" >&5
14927 echo "${ECHO_T}$result" >&6; }
14928
14929
14930 enablestring=
14931 defaultval=$wxUSE_ALL_FEATURES
14932 if test -z "$defaultval"; then
14933 if test x"$enablestring" = xdisable; then
14934 defaultval=yes
14935 else
14936 defaultval=no
14937 fi
14938 fi
14939
14940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14941 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14942 # Check whether --enable-tipdlg was given.
14943 if test "${enable_tipdlg+set}" = set; then
14944 enableval=$enable_tipdlg;
14945 if test "$enableval" = yes; then
14946 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14947 else
14948 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14949 fi
14950 cache=yes
14951
14952 else
14953
14954 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14955 if test "x$LINE" != x ; then
14956 eval "DEFAULT_$LINE"
14957 cache=yes
14958 else
14959 cache=no
14960 fi
14961
14962 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14963
14964 fi
14965
14966
14967 eval "$wx_cv_use_tipdlg"
14968 if test "x$cache" = xyes; then
14969 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14970 fi
14971
14972 if test x"$enablestring" = xdisable; then
14973 if test $wxUSE_STARTUP_TIPS = yes; then
14974 result=no
14975 else
14976 result=yes
14977 fi
14978 else
14979 result=$wxUSE_STARTUP_TIPS
14980 fi
14981
14982 { echo "$as_me:$LINENO: result: $result" >&5
14983 echo "${ECHO_T}$result" >&6; }
14984
14985
14986 enablestring=
14987 defaultval=$wxUSE_ALL_FEATURES
14988 if test -z "$defaultval"; then
14989 if test x"$enablestring" = xdisable; then
14990 defaultval=yes
14991 else
14992 defaultval=no
14993 fi
14994 fi
14995
14996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14997 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14998 # Check whether --enable-progressdlg was given.
14999 if test "${enable_progressdlg+set}" = set; then
15000 enableval=$enable_progressdlg;
15001 if test "$enableval" = yes; then
15002 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
15003 else
15004 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
15005 fi
15006 cache=yes
15007
15008 else
15009
15010 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
15011 if test "x$LINE" != x ; then
15012 eval "DEFAULT_$LINE"
15013 cache=yes
15014 else
15015 cache=no
15016 fi
15017
15018 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
15019
15020 fi
15021
15022
15023 eval "$wx_cv_use_progressdlg"
15024 if test "x$cache" = xyes; then
15025 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
15026 fi
15027
15028 if test x"$enablestring" = xdisable; then
15029 if test $wxUSE_PROGRESSDLG = yes; then
15030 result=no
15031 else
15032 result=yes
15033 fi
15034 else
15035 result=$wxUSE_PROGRESSDLG
15036 fi
15037
15038 { echo "$as_me:$LINENO: result: $result" >&5
15039 echo "${ECHO_T}$result" >&6; }
15040
15041
15042 enablestring=
15043 defaultval=$wxUSE_ALL_FEATURES
15044 if test -z "$defaultval"; then
15045 if test x"$enablestring" = xdisable; then
15046 defaultval=yes
15047 else
15048 defaultval=no
15049 fi
15050 fi
15051
15052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
15053 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
15054 # Check whether --enable-wizarddlg was given.
15055 if test "${enable_wizarddlg+set}" = set; then
15056 enableval=$enable_wizarddlg;
15057 if test "$enableval" = yes; then
15058 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
15059 else
15060 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
15061 fi
15062 cache=yes
15063
15064 else
15065
15066 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15067 if test "x$LINE" != x ; then
15068 eval "DEFAULT_$LINE"
15069 cache=yes
15070 else
15071 cache=no
15072 fi
15073
15074 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15075
15076 fi
15077
15078
15079 eval "$wx_cv_use_wizarddlg"
15080 if test "x$cache" = xyes; then
15081 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15082 fi
15083
15084 if test x"$enablestring" = xdisable; then
15085 if test $wxUSE_WIZARDDLG = yes; then
15086 result=no
15087 else
15088 result=yes
15089 fi
15090 else
15091 result=$wxUSE_WIZARDDLG
15092 fi
15093
15094 { echo "$as_me:$LINENO: result: $result" >&5
15095 echo "${ECHO_T}$result" >&6; }
15096
15097
15098
15099
15100 enablestring=
15101 defaultval=$wxUSE_ALL_FEATURES
15102 if test -z "$defaultval"; then
15103 if test x"$enablestring" = xdisable; then
15104 defaultval=yes
15105 else
15106 defaultval=no
15107 fi
15108 fi
15109
15110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15111 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15112 # Check whether --enable-menus was given.
15113 if test "${enable_menus+set}" = set; then
15114 enableval=$enable_menus;
15115 if test "$enableval" = yes; then
15116 wx_cv_use_menus='wxUSE_MENUS=yes'
15117 else
15118 wx_cv_use_menus='wxUSE_MENUS=no'
15119 fi
15120 cache=yes
15121
15122 else
15123
15124 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15125 if test "x$LINE" != x ; then
15126 eval "DEFAULT_$LINE"
15127 cache=yes
15128 else
15129 cache=no
15130 fi
15131
15132 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15133
15134 fi
15135
15136
15137 eval "$wx_cv_use_menus"
15138 if test "x$cache" = xyes; then
15139 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15140 fi
15141
15142 if test x"$enablestring" = xdisable; then
15143 if test $wxUSE_MENUS = yes; then
15144 result=no
15145 else
15146 result=yes
15147 fi
15148 else
15149 result=$wxUSE_MENUS
15150 fi
15151
15152 { echo "$as_me:$LINENO: result: $result" >&5
15153 echo "${ECHO_T}$result" >&6; }
15154
15155
15156 enablestring=
15157 defaultval=$wxUSE_ALL_FEATURES
15158 if test -z "$defaultval"; then
15159 if test x"$enablestring" = xdisable; then
15160 defaultval=yes
15161 else
15162 defaultval=no
15163 fi
15164 fi
15165
15166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15167 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15168 # Check whether --enable-miniframe was given.
15169 if test "${enable_miniframe+set}" = set; then
15170 enableval=$enable_miniframe;
15171 if test "$enableval" = yes; then
15172 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15173 else
15174 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15175 fi
15176 cache=yes
15177
15178 else
15179
15180 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15181 if test "x$LINE" != x ; then
15182 eval "DEFAULT_$LINE"
15183 cache=yes
15184 else
15185 cache=no
15186 fi
15187
15188 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15189
15190 fi
15191
15192
15193 eval "$wx_cv_use_miniframe"
15194 if test "x$cache" = xyes; then
15195 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15196 fi
15197
15198 if test x"$enablestring" = xdisable; then
15199 if test $wxUSE_MINIFRAME = yes; then
15200 result=no
15201 else
15202 result=yes
15203 fi
15204 else
15205 result=$wxUSE_MINIFRAME
15206 fi
15207
15208 { echo "$as_me:$LINENO: result: $result" >&5
15209 echo "${ECHO_T}$result" >&6; }
15210
15211
15212 enablestring=
15213 defaultval=$wxUSE_ALL_FEATURES
15214 if test -z "$defaultval"; then
15215 if test x"$enablestring" = xdisable; then
15216 defaultval=yes
15217 else
15218 defaultval=no
15219 fi
15220 fi
15221
15222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15223 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15224 # Check whether --enable-tooltips was given.
15225 if test "${enable_tooltips+set}" = set; then
15226 enableval=$enable_tooltips;
15227 if test "$enableval" = yes; then
15228 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15229 else
15230 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15231 fi
15232 cache=yes
15233
15234 else
15235
15236 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15237 if test "x$LINE" != x ; then
15238 eval "DEFAULT_$LINE"
15239 cache=yes
15240 else
15241 cache=no
15242 fi
15243
15244 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15245
15246 fi
15247
15248
15249 eval "$wx_cv_use_tooltips"
15250 if test "x$cache" = xyes; then
15251 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15252 fi
15253
15254 if test x"$enablestring" = xdisable; then
15255 if test $wxUSE_TOOLTIPS = yes; then
15256 result=no
15257 else
15258 result=yes
15259 fi
15260 else
15261 result=$wxUSE_TOOLTIPS
15262 fi
15263
15264 { echo "$as_me:$LINENO: result: $result" >&5
15265 echo "${ECHO_T}$result" >&6; }
15266
15267
15268 enablestring=
15269 defaultval=$wxUSE_ALL_FEATURES
15270 if test -z "$defaultval"; then
15271 if test x"$enablestring" = xdisable; then
15272 defaultval=yes
15273 else
15274 defaultval=no
15275 fi
15276 fi
15277
15278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15279 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15280 # Check whether --enable-splines was given.
15281 if test "${enable_splines+set}" = set; then
15282 enableval=$enable_splines;
15283 if test "$enableval" = yes; then
15284 wx_cv_use_splines='wxUSE_SPLINES=yes'
15285 else
15286 wx_cv_use_splines='wxUSE_SPLINES=no'
15287 fi
15288 cache=yes
15289
15290 else
15291
15292 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15293 if test "x$LINE" != x ; then
15294 eval "DEFAULT_$LINE"
15295 cache=yes
15296 else
15297 cache=no
15298 fi
15299
15300 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15301
15302 fi
15303
15304
15305 eval "$wx_cv_use_splines"
15306 if test "x$cache" = xyes; then
15307 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15308 fi
15309
15310 if test x"$enablestring" = xdisable; then
15311 if test $wxUSE_SPLINES = yes; then
15312 result=no
15313 else
15314 result=yes
15315 fi
15316 else
15317 result=$wxUSE_SPLINES
15318 fi
15319
15320 { echo "$as_me:$LINENO: result: $result" >&5
15321 echo "${ECHO_T}$result" >&6; }
15322
15323
15324 enablestring=
15325 defaultval=$wxUSE_ALL_FEATURES
15326 if test -z "$defaultval"; then
15327 if test x"$enablestring" = xdisable; then
15328 defaultval=yes
15329 else
15330 defaultval=no
15331 fi
15332 fi
15333
15334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15335 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15336 # Check whether --enable-mousewheel was given.
15337 if test "${enable_mousewheel+set}" = set; then
15338 enableval=$enable_mousewheel;
15339 if test "$enableval" = yes; then
15340 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15341 else
15342 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15343 fi
15344 cache=yes
15345
15346 else
15347
15348 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15349 if test "x$LINE" != x ; then
15350 eval "DEFAULT_$LINE"
15351 cache=yes
15352 else
15353 cache=no
15354 fi
15355
15356 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15357
15358 fi
15359
15360
15361 eval "$wx_cv_use_mousewheel"
15362 if test "x$cache" = xyes; then
15363 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15364 fi
15365
15366 if test x"$enablestring" = xdisable; then
15367 if test $wxUSE_MOUSEWHEEL = yes; then
15368 result=no
15369 else
15370 result=yes
15371 fi
15372 else
15373 result=$wxUSE_MOUSEWHEEL
15374 fi
15375
15376 { echo "$as_me:$LINENO: result: $result" >&5
15377 echo "${ECHO_T}$result" >&6; }
15378
15379
15380 enablestring=
15381 defaultval=$wxUSE_ALL_FEATURES
15382 if test -z "$defaultval"; then
15383 if test x"$enablestring" = xdisable; then
15384 defaultval=yes
15385 else
15386 defaultval=no
15387 fi
15388 fi
15389
15390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15391 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15392 # Check whether --enable-validators was given.
15393 if test "${enable_validators+set}" = set; then
15394 enableval=$enable_validators;
15395 if test "$enableval" = yes; then
15396 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15397 else
15398 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15399 fi
15400 cache=yes
15401
15402 else
15403
15404 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15405 if test "x$LINE" != x ; then
15406 eval "DEFAULT_$LINE"
15407 cache=yes
15408 else
15409 cache=no
15410 fi
15411
15412 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15413
15414 fi
15415
15416
15417 eval "$wx_cv_use_validators"
15418 if test "x$cache" = xyes; then
15419 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15420 fi
15421
15422 if test x"$enablestring" = xdisable; then
15423 if test $wxUSE_VALIDATORS = yes; then
15424 result=no
15425 else
15426 result=yes
15427 fi
15428 else
15429 result=$wxUSE_VALIDATORS
15430 fi
15431
15432 { echo "$as_me:$LINENO: result: $result" >&5
15433 echo "${ECHO_T}$result" >&6; }
15434
15435
15436 enablestring=
15437 defaultval=$wxUSE_ALL_FEATURES
15438 if test -z "$defaultval"; then
15439 if test x"$enablestring" = xdisable; then
15440 defaultval=yes
15441 else
15442 defaultval=no
15443 fi
15444 fi
15445
15446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15447 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15448 # Check whether --enable-busyinfo was given.
15449 if test "${enable_busyinfo+set}" = set; then
15450 enableval=$enable_busyinfo;
15451 if test "$enableval" = yes; then
15452 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15453 else
15454 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15455 fi
15456 cache=yes
15457
15458 else
15459
15460 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15461 if test "x$LINE" != x ; then
15462 eval "DEFAULT_$LINE"
15463 cache=yes
15464 else
15465 cache=no
15466 fi
15467
15468 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15469
15470 fi
15471
15472
15473 eval "$wx_cv_use_busyinfo"
15474 if test "x$cache" = xyes; then
15475 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15476 fi
15477
15478 if test x"$enablestring" = xdisable; then
15479 if test $wxUSE_BUSYINFO = yes; then
15480 result=no
15481 else
15482 result=yes
15483 fi
15484 else
15485 result=$wxUSE_BUSYINFO
15486 fi
15487
15488 { echo "$as_me:$LINENO: result: $result" >&5
15489 echo "${ECHO_T}$result" >&6; }
15490
15491
15492 enablestring=
15493 defaultval=$wxUSE_ALL_FEATURES
15494 if test -z "$defaultval"; then
15495 if test x"$enablestring" = xdisable; then
15496 defaultval=yes
15497 else
15498 defaultval=no
15499 fi
15500 fi
15501
15502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15503 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15504 # Check whether --enable-joystick was given.
15505 if test "${enable_joystick+set}" = set; then
15506 enableval=$enable_joystick;
15507 if test "$enableval" = yes; then
15508 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15509 else
15510 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15511 fi
15512 cache=yes
15513
15514 else
15515
15516 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15517 if test "x$LINE" != x ; then
15518 eval "DEFAULT_$LINE"
15519 cache=yes
15520 else
15521 cache=no
15522 fi
15523
15524 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15525
15526 fi
15527
15528
15529 eval "$wx_cv_use_joystick"
15530 if test "x$cache" = xyes; then
15531 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15532 fi
15533
15534 if test x"$enablestring" = xdisable; then
15535 if test $wxUSE_JOYSTICK = yes; then
15536 result=no
15537 else
15538 result=yes
15539 fi
15540 else
15541 result=$wxUSE_JOYSTICK
15542 fi
15543
15544 { echo "$as_me:$LINENO: result: $result" >&5
15545 echo "${ECHO_T}$result" >&6; }
15546
15547
15548 enablestring=
15549 defaultval=$wxUSE_ALL_FEATURES
15550 if test -z "$defaultval"; then
15551 if test x"$enablestring" = xdisable; then
15552 defaultval=yes
15553 else
15554 defaultval=no
15555 fi
15556 fi
15557
15558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15559 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15560 # Check whether --enable-metafile was given.
15561 if test "${enable_metafile+set}" = set; then
15562 enableval=$enable_metafile;
15563 if test "$enableval" = yes; then
15564 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15565 else
15566 wx_cv_use_metafile='wxUSE_METAFILE=no'
15567 fi
15568 cache=yes
15569
15570 else
15571
15572 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15573 if test "x$LINE" != x ; then
15574 eval "DEFAULT_$LINE"
15575 cache=yes
15576 else
15577 cache=no
15578 fi
15579
15580 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15581
15582 fi
15583
15584
15585 eval "$wx_cv_use_metafile"
15586 if test "x$cache" = xyes; then
15587 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15588 fi
15589
15590 if test x"$enablestring" = xdisable; then
15591 if test $wxUSE_METAFILE = yes; then
15592 result=no
15593 else
15594 result=yes
15595 fi
15596 else
15597 result=$wxUSE_METAFILE
15598 fi
15599
15600 { echo "$as_me:$LINENO: result: $result" >&5
15601 echo "${ECHO_T}$result" >&6; }
15602
15603
15604 enablestring=
15605 defaultval=$wxUSE_ALL_FEATURES
15606 if test -z "$defaultval"; then
15607 if test x"$enablestring" = xdisable; then
15608 defaultval=yes
15609 else
15610 defaultval=no
15611 fi
15612 fi
15613
15614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15615 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15616 # Check whether --enable-dragimage was given.
15617 if test "${enable_dragimage+set}" = set; then
15618 enableval=$enable_dragimage;
15619 if test "$enableval" = yes; then
15620 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15621 else
15622 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15623 fi
15624 cache=yes
15625
15626 else
15627
15628 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15629 if test "x$LINE" != x ; then
15630 eval "DEFAULT_$LINE"
15631 cache=yes
15632 else
15633 cache=no
15634 fi
15635
15636 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15637
15638 fi
15639
15640
15641 eval "$wx_cv_use_dragimage"
15642 if test "x$cache" = xyes; then
15643 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15644 fi
15645
15646 if test x"$enablestring" = xdisable; then
15647 if test $wxUSE_DRAGIMAGE = yes; then
15648 result=no
15649 else
15650 result=yes
15651 fi
15652 else
15653 result=$wxUSE_DRAGIMAGE
15654 fi
15655
15656 { echo "$as_me:$LINENO: result: $result" >&5
15657 echo "${ECHO_T}$result" >&6; }
15658
15659
15660 enablestring=
15661 defaultval=$wxUSE_ALL_FEATURES
15662 if test -z "$defaultval"; then
15663 if test x"$enablestring" = xdisable; then
15664 defaultval=yes
15665 else
15666 defaultval=no
15667 fi
15668 fi
15669
15670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15671 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15672 # Check whether --enable-accessibility was given.
15673 if test "${enable_accessibility+set}" = set; then
15674 enableval=$enable_accessibility;
15675 if test "$enableval" = yes; then
15676 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15677 else
15678 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15679 fi
15680 cache=yes
15681
15682 else
15683
15684 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15685 if test "x$LINE" != x ; then
15686 eval "DEFAULT_$LINE"
15687 cache=yes
15688 else
15689 cache=no
15690 fi
15691
15692 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15693
15694 fi
15695
15696
15697 eval "$wx_cv_use_accessibility"
15698 if test "x$cache" = xyes; then
15699 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15700 fi
15701
15702 if test x"$enablestring" = xdisable; then
15703 if test $wxUSE_ACCESSIBILITY = yes; then
15704 result=no
15705 else
15706 result=yes
15707 fi
15708 else
15709 result=$wxUSE_ACCESSIBILITY
15710 fi
15711
15712 { echo "$as_me:$LINENO: result: $result" >&5
15713 echo "${ECHO_T}$result" >&6; }
15714
15715
15716
15717
15718 enablestring=
15719 defaultval=$wxUSE_ALL_FEATURES
15720 if test -z "$defaultval"; then
15721 if test x"$enablestring" = xdisable; then
15722 defaultval=yes
15723 else
15724 defaultval=no
15725 fi
15726 fi
15727
15728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15729 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15730 # Check whether --enable-palette was given.
15731 if test "${enable_palette+set}" = set; then
15732 enableval=$enable_palette;
15733 if test "$enableval" = yes; then
15734 wx_cv_use_palette='wxUSE_PALETTE=yes'
15735 else
15736 wx_cv_use_palette='wxUSE_PALETTE=no'
15737 fi
15738 cache=yes
15739
15740 else
15741
15742 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15743 if test "x$LINE" != x ; then
15744 eval "DEFAULT_$LINE"
15745 cache=yes
15746 else
15747 cache=no
15748 fi
15749
15750 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15751
15752 fi
15753
15754
15755 eval "$wx_cv_use_palette"
15756 if test "x$cache" = xyes; then
15757 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15758 fi
15759
15760 if test x"$enablestring" = xdisable; then
15761 if test $wxUSE_PALETTE = yes; then
15762 result=no
15763 else
15764 result=yes
15765 fi
15766 else
15767 result=$wxUSE_PALETTE
15768 fi
15769
15770 { echo "$as_me:$LINENO: result: $result" >&5
15771 echo "${ECHO_T}$result" >&6; }
15772
15773
15774 enablestring=
15775 defaultval=$wxUSE_ALL_FEATURES
15776 if test -z "$defaultval"; then
15777 if test x"$enablestring" = xdisable; then
15778 defaultval=yes
15779 else
15780 defaultval=no
15781 fi
15782 fi
15783
15784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15785 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15786 # Check whether --enable-image was given.
15787 if test "${enable_image+set}" = set; then
15788 enableval=$enable_image;
15789 if test "$enableval" = yes; then
15790 wx_cv_use_image='wxUSE_IMAGE=yes'
15791 else
15792 wx_cv_use_image='wxUSE_IMAGE=no'
15793 fi
15794 cache=yes
15795
15796 else
15797
15798 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15799 if test "x$LINE" != x ; then
15800 eval "DEFAULT_$LINE"
15801 cache=yes
15802 else
15803 cache=no
15804 fi
15805
15806 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15807
15808 fi
15809
15810
15811 eval "$wx_cv_use_image"
15812 if test "x$cache" = xyes; then
15813 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15814 fi
15815
15816 if test x"$enablestring" = xdisable; then
15817 if test $wxUSE_IMAGE = yes; then
15818 result=no
15819 else
15820 result=yes
15821 fi
15822 else
15823 result=$wxUSE_IMAGE
15824 fi
15825
15826 { echo "$as_me:$LINENO: result: $result" >&5
15827 echo "${ECHO_T}$result" >&6; }
15828
15829
15830 enablestring=
15831 defaultval=$wxUSE_ALL_FEATURES
15832 if test -z "$defaultval"; then
15833 if test x"$enablestring" = xdisable; then
15834 defaultval=yes
15835 else
15836 defaultval=no
15837 fi
15838 fi
15839
15840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15841 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15842 # Check whether --enable-gif was given.
15843 if test "${enable_gif+set}" = set; then
15844 enableval=$enable_gif;
15845 if test "$enableval" = yes; then
15846 wx_cv_use_gif='wxUSE_GIF=yes'
15847 else
15848 wx_cv_use_gif='wxUSE_GIF=no'
15849 fi
15850 cache=yes
15851
15852 else
15853
15854 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15855 if test "x$LINE" != x ; then
15856 eval "DEFAULT_$LINE"
15857 cache=yes
15858 else
15859 cache=no
15860 fi
15861
15862 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15863
15864 fi
15865
15866
15867 eval "$wx_cv_use_gif"
15868 if test "x$cache" = xyes; then
15869 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15870 fi
15871
15872 if test x"$enablestring" = xdisable; then
15873 if test $wxUSE_GIF = yes; then
15874 result=no
15875 else
15876 result=yes
15877 fi
15878 else
15879 result=$wxUSE_GIF
15880 fi
15881
15882 { echo "$as_me:$LINENO: result: $result" >&5
15883 echo "${ECHO_T}$result" >&6; }
15884
15885
15886 enablestring=
15887 defaultval=$wxUSE_ALL_FEATURES
15888 if test -z "$defaultval"; then
15889 if test x"$enablestring" = xdisable; then
15890 defaultval=yes
15891 else
15892 defaultval=no
15893 fi
15894 fi
15895
15896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15897 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15898 # Check whether --enable-pcx was given.
15899 if test "${enable_pcx+set}" = set; then
15900 enableval=$enable_pcx;
15901 if test "$enableval" = yes; then
15902 wx_cv_use_pcx='wxUSE_PCX=yes'
15903 else
15904 wx_cv_use_pcx='wxUSE_PCX=no'
15905 fi
15906 cache=yes
15907
15908 else
15909
15910 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15911 if test "x$LINE" != x ; then
15912 eval "DEFAULT_$LINE"
15913 cache=yes
15914 else
15915 cache=no
15916 fi
15917
15918 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15919
15920 fi
15921
15922
15923 eval "$wx_cv_use_pcx"
15924 if test "x$cache" = xyes; then
15925 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15926 fi
15927
15928 if test x"$enablestring" = xdisable; then
15929 if test $wxUSE_PCX = yes; then
15930 result=no
15931 else
15932 result=yes
15933 fi
15934 else
15935 result=$wxUSE_PCX
15936 fi
15937
15938 { echo "$as_me:$LINENO: result: $result" >&5
15939 echo "${ECHO_T}$result" >&6; }
15940
15941
15942 enablestring=
15943 defaultval=$wxUSE_ALL_FEATURES
15944 if test -z "$defaultval"; then
15945 if test x"$enablestring" = xdisable; then
15946 defaultval=yes
15947 else
15948 defaultval=no
15949 fi
15950 fi
15951
15952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15953 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15954 # Check whether --enable-tga was given.
15955 if test "${enable_tga+set}" = set; then
15956 enableval=$enable_tga;
15957 if test "$enableval" = yes; then
15958 wx_cv_use_tga='wxUSE_TGA=yes'
15959 else
15960 wx_cv_use_tga='wxUSE_TGA=no'
15961 fi
15962 cache=yes
15963
15964 else
15965
15966 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15967 if test "x$LINE" != x ; then
15968 eval "DEFAULT_$LINE"
15969 cache=yes
15970 else
15971 cache=no
15972 fi
15973
15974 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15975
15976 fi
15977
15978
15979 eval "$wx_cv_use_tga"
15980 if test "x$cache" = xyes; then
15981 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15982 fi
15983
15984 if test x"$enablestring" = xdisable; then
15985 if test $wxUSE_TGA = yes; then
15986 result=no
15987 else
15988 result=yes
15989 fi
15990 else
15991 result=$wxUSE_TGA
15992 fi
15993
15994 { echo "$as_me:$LINENO: result: $result" >&5
15995 echo "${ECHO_T}$result" >&6; }
15996
15997
15998 enablestring=
15999 defaultval=$wxUSE_ALL_FEATURES
16000 if test -z "$defaultval"; then
16001 if test x"$enablestring" = xdisable; then
16002 defaultval=yes
16003 else
16004 defaultval=no
16005 fi
16006 fi
16007
16008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
16009 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
16010 # Check whether --enable-iff was given.
16011 if test "${enable_iff+set}" = set; then
16012 enableval=$enable_iff;
16013 if test "$enableval" = yes; then
16014 wx_cv_use_iff='wxUSE_IFF=yes'
16015 else
16016 wx_cv_use_iff='wxUSE_IFF=no'
16017 fi
16018 cache=yes
16019
16020 else
16021
16022 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
16023 if test "x$LINE" != x ; then
16024 eval "DEFAULT_$LINE"
16025 cache=yes
16026 else
16027 cache=no
16028 fi
16029
16030 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
16031
16032 fi
16033
16034
16035 eval "$wx_cv_use_iff"
16036 if test "x$cache" = xyes; then
16037 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
16038 fi
16039
16040 if test x"$enablestring" = xdisable; then
16041 if test $wxUSE_IFF = yes; then
16042 result=no
16043 else
16044 result=yes
16045 fi
16046 else
16047 result=$wxUSE_IFF
16048 fi
16049
16050 { echo "$as_me:$LINENO: result: $result" >&5
16051 echo "${ECHO_T}$result" >&6; }
16052
16053
16054 enablestring=
16055 defaultval=$wxUSE_ALL_FEATURES
16056 if test -z "$defaultval"; then
16057 if test x"$enablestring" = xdisable; then
16058 defaultval=yes
16059 else
16060 defaultval=no
16061 fi
16062 fi
16063
16064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16065 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16066 # Check whether --enable-pnm was given.
16067 if test "${enable_pnm+set}" = set; then
16068 enableval=$enable_pnm;
16069 if test "$enableval" = yes; then
16070 wx_cv_use_pnm='wxUSE_PNM=yes'
16071 else
16072 wx_cv_use_pnm='wxUSE_PNM=no'
16073 fi
16074 cache=yes
16075
16076 else
16077
16078 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16079 if test "x$LINE" != x ; then
16080 eval "DEFAULT_$LINE"
16081 cache=yes
16082 else
16083 cache=no
16084 fi
16085
16086 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16087
16088 fi
16089
16090
16091 eval "$wx_cv_use_pnm"
16092 if test "x$cache" = xyes; then
16093 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16094 fi
16095
16096 if test x"$enablestring" = xdisable; then
16097 if test $wxUSE_PNM = yes; then
16098 result=no
16099 else
16100 result=yes
16101 fi
16102 else
16103 result=$wxUSE_PNM
16104 fi
16105
16106 { echo "$as_me:$LINENO: result: $result" >&5
16107 echo "${ECHO_T}$result" >&6; }
16108
16109
16110 enablestring=
16111 defaultval=$wxUSE_ALL_FEATURES
16112 if test -z "$defaultval"; then
16113 if test x"$enablestring" = xdisable; then
16114 defaultval=yes
16115 else
16116 defaultval=no
16117 fi
16118 fi
16119
16120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16121 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16122 # Check whether --enable-xpm was given.
16123 if test "${enable_xpm+set}" = set; then
16124 enableval=$enable_xpm;
16125 if test "$enableval" = yes; then
16126 wx_cv_use_xpm='wxUSE_XPM=yes'
16127 else
16128 wx_cv_use_xpm='wxUSE_XPM=no'
16129 fi
16130 cache=yes
16131
16132 else
16133
16134 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16135 if test "x$LINE" != x ; then
16136 eval "DEFAULT_$LINE"
16137 cache=yes
16138 else
16139 cache=no
16140 fi
16141
16142 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16143
16144 fi
16145
16146
16147 eval "$wx_cv_use_xpm"
16148 if test "x$cache" = xyes; then
16149 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16150 fi
16151
16152 if test x"$enablestring" = xdisable; then
16153 if test $wxUSE_XPM = yes; then
16154 result=no
16155 else
16156 result=yes
16157 fi
16158 else
16159 result=$wxUSE_XPM
16160 fi
16161
16162 { echo "$as_me:$LINENO: result: $result" >&5
16163 echo "${ECHO_T}$result" >&6; }
16164
16165
16166 enablestring=
16167 defaultval=$wxUSE_ALL_FEATURES
16168 if test -z "$defaultval"; then
16169 if test x"$enablestring" = xdisable; then
16170 defaultval=yes
16171 else
16172 defaultval=no
16173 fi
16174 fi
16175
16176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16177 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16178 # Check whether --enable-ico_cur was given.
16179 if test "${enable_ico_cur+set}" = set; then
16180 enableval=$enable_ico_cur;
16181 if test "$enableval" = yes; then
16182 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16183 else
16184 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16185 fi
16186 cache=yes
16187
16188 else
16189
16190 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16191 if test "x$LINE" != x ; then
16192 eval "DEFAULT_$LINE"
16193 cache=yes
16194 else
16195 cache=no
16196 fi
16197
16198 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16199
16200 fi
16201
16202
16203 eval "$wx_cv_use_ico_cur"
16204 if test "x$cache" = xyes; then
16205 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16206 fi
16207
16208 if test x"$enablestring" = xdisable; then
16209 if test $wxUSE_ICO_CUR = yes; then
16210 result=no
16211 else
16212 result=yes
16213 fi
16214 else
16215 result=$wxUSE_ICO_CUR
16216 fi
16217
16218 { echo "$as_me:$LINENO: result: $result" >&5
16219 echo "${ECHO_T}$result" >&6; }
16220
16221
16222
16223
16224 enablestring=
16225 defaultval=$wxUSE_ALL_FEATURES
16226 if test -z "$defaultval"; then
16227 if test x"$enablestring" = xdisable; then
16228 defaultval=yes
16229 else
16230 defaultval=no
16231 fi
16232 fi
16233
16234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16235 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16236 # Check whether --enable-dccache was given.
16237 if test "${enable_dccache+set}" = set; then
16238 enableval=$enable_dccache;
16239 if test "$enableval" = yes; then
16240 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16241 else
16242 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16243 fi
16244 cache=yes
16245
16246 else
16247
16248 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16249 if test "x$LINE" != x ; then
16250 eval "DEFAULT_$LINE"
16251 cache=yes
16252 else
16253 cache=no
16254 fi
16255
16256 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16257
16258 fi
16259
16260
16261 eval "$wx_cv_use_dccache"
16262 if test "x$cache" = xyes; then
16263 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16264 fi
16265
16266 if test x"$enablestring" = xdisable; then
16267 if test $wxUSE_DC_CACHEING = yes; then
16268 result=no
16269 else
16270 result=yes
16271 fi
16272 else
16273 result=$wxUSE_DC_CACHEING
16274 fi
16275
16276 { echo "$as_me:$LINENO: result: $result" >&5
16277 echo "${ECHO_T}$result" >&6; }
16278
16279
16280 enablestring=
16281 defaultval=$wxUSE_ALL_FEATURES
16282 if test -z "$defaultval"; then
16283 if test x"$enablestring" = xdisable; then
16284 defaultval=yes
16285 else
16286 defaultval=no
16287 fi
16288 fi
16289
16290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16291 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16292 # Check whether --enable-ps-in-msw was given.
16293 if test "${enable_ps_in_msw+set}" = set; then
16294 enableval=$enable_ps_in_msw;
16295 if test "$enableval" = yes; then
16296 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16297 else
16298 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16299 fi
16300 cache=yes
16301
16302 else
16303
16304 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16305 if test "x$LINE" != x ; then
16306 eval "DEFAULT_$LINE"
16307 cache=yes
16308 else
16309 cache=no
16310 fi
16311
16312 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16313
16314 fi
16315
16316
16317 eval "$wx_cv_use_ps_in_msw"
16318 if test "x$cache" = xyes; then
16319 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16320 fi
16321
16322 if test x"$enablestring" = xdisable; then
16323 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16324 result=no
16325 else
16326 result=yes
16327 fi
16328 else
16329 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16330 fi
16331
16332 { echo "$as_me:$LINENO: result: $result" >&5
16333 echo "${ECHO_T}$result" >&6; }
16334
16335
16336 enablestring=
16337 defaultval=$wxUSE_ALL_FEATURES
16338 if test -z "$defaultval"; then
16339 if test x"$enablestring" = xdisable; then
16340 defaultval=yes
16341 else
16342 defaultval=no
16343 fi
16344 fi
16345
16346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16347 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16348 # Check whether --enable-ownerdrawn was given.
16349 if test "${enable_ownerdrawn+set}" = set; then
16350 enableval=$enable_ownerdrawn;
16351 if test "$enableval" = yes; then
16352 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16353 else
16354 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16355 fi
16356 cache=yes
16357
16358 else
16359
16360 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16361 if test "x$LINE" != x ; then
16362 eval "DEFAULT_$LINE"
16363 cache=yes
16364 else
16365 cache=no
16366 fi
16367
16368 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16369
16370 fi
16371
16372
16373 eval "$wx_cv_use_ownerdrawn"
16374 if test "x$cache" = xyes; then
16375 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16376 fi
16377
16378 if test x"$enablestring" = xdisable; then
16379 if test $wxUSE_OWNER_DRAWN = yes; then
16380 result=no
16381 else
16382 result=yes
16383 fi
16384 else
16385 result=$wxUSE_OWNER_DRAWN
16386 fi
16387
16388 { echo "$as_me:$LINENO: result: $result" >&5
16389 echo "${ECHO_T}$result" >&6; }
16390
16391
16392 enablestring=
16393 defaultval=$wxUSE_ALL_FEATURES
16394 if test -z "$defaultval"; then
16395 if test x"$enablestring" = xdisable; then
16396 defaultval=yes
16397 else
16398 defaultval=no
16399 fi
16400 fi
16401
16402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16403 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16404 # Check whether --enable-uxtheme was given.
16405 if test "${enable_uxtheme+set}" = set; then
16406 enableval=$enable_uxtheme;
16407 if test "$enableval" = yes; then
16408 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16409 else
16410 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16411 fi
16412 cache=yes
16413
16414 else
16415
16416 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16417 if test "x$LINE" != x ; then
16418 eval "DEFAULT_$LINE"
16419 cache=yes
16420 else
16421 cache=no
16422 fi
16423
16424 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16425
16426 fi
16427
16428
16429 eval "$wx_cv_use_uxtheme"
16430 if test "x$cache" = xyes; then
16431 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16432 fi
16433
16434 if test x"$enablestring" = xdisable; then
16435 if test $wxUSE_UXTHEME = yes; then
16436 result=no
16437 else
16438 result=yes
16439 fi
16440 else
16441 result=$wxUSE_UXTHEME
16442 fi
16443
16444 { echo "$as_me:$LINENO: result: $result" >&5
16445 echo "${ECHO_T}$result" >&6; }
16446
16447
16448 enablestring=
16449 defaultval=$wxUSE_ALL_FEATURES
16450 if test -z "$defaultval"; then
16451 if test x"$enablestring" = xdisable; then
16452 defaultval=yes
16453 else
16454 defaultval=no
16455 fi
16456 fi
16457
16458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16459 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16460 # Check whether --enable-wxdib was given.
16461 if test "${enable_wxdib+set}" = set; then
16462 enableval=$enable_wxdib;
16463 if test "$enableval" = yes; then
16464 wx_cv_use_wxdib='wxUSE_DIB=yes'
16465 else
16466 wx_cv_use_wxdib='wxUSE_DIB=no'
16467 fi
16468 cache=yes
16469
16470 else
16471
16472 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16473 if test "x$LINE" != x ; then
16474 eval "DEFAULT_$LINE"
16475 cache=yes
16476 else
16477 cache=no
16478 fi
16479
16480 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16481
16482 fi
16483
16484
16485 eval "$wx_cv_use_wxdib"
16486 if test "x$cache" = xyes; then
16487 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16488 fi
16489
16490 if test x"$enablestring" = xdisable; then
16491 if test $wxUSE_DIB = yes; then
16492 result=no
16493 else
16494 result=yes
16495 fi
16496 else
16497 result=$wxUSE_DIB
16498 fi
16499
16500 { echo "$as_me:$LINENO: result: $result" >&5
16501 echo "${ECHO_T}$result" >&6; }
16502
16503
16504 fi
16505
16506
16507 echo "saving argument cache $wx_arg_cache_file"
16508 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16509
16510
16511
16512 { echo "$as_me:$LINENO: checking for toolkit" >&5
16513 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16514
16515 # In Wine, we need to default to MSW, not GTK or MOTIF
16516 if test "$wxUSE_WINE" = "yes"; then
16517 DEFAULT_DEFAULT_wxUSE_GTK=0
16518 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16519 DEFAULT_DEFAULT_wxUSE_MSW=1
16520 wxUSE_SHARED=no
16521 CC=${CC:-winegcc}
16522 CXX=${CXX:-wineg++}
16523 fi
16524
16525
16526 if test "$wxUSE_GUI" = "yes"; then
16527
16528 if test "$USE_BEOS" = 1; then
16529 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16530 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16531 { (exit 1); exit 1; }; }
16532 fi
16533
16534 if test "$TOOLKIT_GIVEN" = 1; then
16535 for toolkit in `echo $ALL_TOOLKITS`; do
16536 var=wxUSE_$toolkit
16537 eval "value=\$${var}"
16538 if test "x$value" = "xno"; then
16539 eval "$var=0"
16540 elif test "x$value" != "x"; then
16541 eval "$var=1"
16542 fi
16543
16544 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16545 eval "wx${toolkit}_VERSION=$value"
16546 fi
16547 done
16548 else
16549 for toolkit in `echo $ALL_TOOLKITS`; do
16550 if test "$has_toolkit_in_cache" != 1; then
16551 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16552 else
16553 var=DEFAULT_wxUSE_$toolkit
16554
16555 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16556 if test "x$version" != "x"; then
16557 eval "wx${toolkit}_VERSION=$version"
16558 fi
16559 fi
16560 eval "wxUSE_$toolkit=\$${var}"
16561 done
16562 fi
16563
16564 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16565 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16566 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16567
16568 case "${host}" in
16569 *-pc-os2_emx | *-pc-os2-emx )
16570 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16571 esac
16572
16573 case "$NUM_TOOLKITS" in
16574 1)
16575 ;;
16576 0)
16577 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16578 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16579 { (exit 1); exit 1; }; }
16580 ;;
16581 *)
16582 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16583 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16584 { (exit 1); exit 1; }; }
16585 esac
16586
16587 # to be removed when --disable-gtk2 isn't needed
16588 if test "x$wxUSE_GTK2" = "xyes"; then
16589 wxGTK_VERSION=2
16590 elif test "x$wxUSE_GTK2" = "xno"; then
16591 wxGTK_VERSION=1
16592 fi
16593
16594 for toolkit in `echo $ALL_TOOLKITS`; do
16595 var=wxUSE_$toolkit
16596 eval "value=\$${var}"
16597 if test "x$value" != x; then
16598 cache_var=CACHE_$toolkit
16599 eval "cache=\$${cache_var}"
16600 if test "$cache" = 1; then
16601 echo "$var=$value" >> ${wx_arg_cache_file}
16602 eval "version=\$wx${toolkit}_VERSION"
16603 if test "x$version" != "x"; then
16604 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16605 fi
16606 fi
16607 if test "$value" = 1; then
16608 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16609 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16610 echo "${ECHO_T}$toolkit_echo" >&6; }
16611 fi
16612 fi
16613 done
16614 else
16615 if test "x$host_alias" != "x"; then
16616 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16617 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16618 else
16619 { echo "$as_me:$LINENO: result: base only" >&5
16620 echo "${ECHO_T}base only" >&6; }
16621 fi
16622 fi
16623
16624
16625 cat >confcache <<\_ACEOF
16626 # This file is a shell script that caches the results of configure
16627 # tests run on this system so they can be shared between configure
16628 # scripts and configure runs, see configure's option --config-cache.
16629 # It is not useful on other systems. If it contains results you don't
16630 # want to keep, you may remove or edit it.
16631 #
16632 # config.status only pays attention to the cache file if you give it
16633 # the --recheck option to rerun configure.
16634 #
16635 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16636 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16637 # following values.
16638
16639 _ACEOF
16640
16641 # The following way of writing the cache mishandles newlines in values,
16642 # but we know of no workaround that is simple, portable, and efficient.
16643 # So, we kill variables containing newlines.
16644 # Ultrix sh set writes to stderr and can't be redirected directly,
16645 # and sets the high bit in the cache file unless we assign to the vars.
16646 (
16647 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16648 eval ac_val=\$$ac_var
16649 case $ac_val in #(
16650 *${as_nl}*)
16651 case $ac_var in #(
16652 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16653 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16654 esac
16655 case $ac_var in #(
16656 _ | IFS | as_nl) ;; #(
16657 *) $as_unset $ac_var ;;
16658 esac ;;
16659 esac
16660 done
16661
16662 (set) 2>&1 |
16663 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16664 *${as_nl}ac_space=\ *)
16665 # `set' does not quote correctly, so add quotes (double-quote
16666 # substitution turns \\\\ into \\, and sed turns \\ into \).
16667 sed -n \
16668 "s/'/'\\\\''/g;
16669 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16670 ;; #(
16671 *)
16672 # `set' quotes correctly as required by POSIX, so do not add quotes.
16673 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16674 ;;
16675 esac |
16676 sort
16677 ) |
16678 sed '
16679 /^ac_cv_env_/b end
16680 t clear
16681 :clear
16682 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16683 t end
16684 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16685 :end' >>confcache
16686 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16687 if test -w "$cache_file"; then
16688 test "x$cache_file" != "x/dev/null" &&
16689 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16690 echo "$as_me: updating cache $cache_file" >&6;}
16691 cat confcache >$cache_file
16692 else
16693 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16694 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16695 fi
16696 fi
16697 rm -f confcache
16698
16699 CFLAGS=${CFLAGS:=}
16700
16701
16702
16703 ac_ext=c
16704 ac_cpp='$CPP $CPPFLAGS'
16705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16708 if test -n "$ac_tool_prefix"; then
16709 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16710 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16713 if test "${ac_cv_prog_CC+set}" = set; then
16714 echo $ECHO_N "(cached) $ECHO_C" >&6
16715 else
16716 if test -n "$CC"; then
16717 ac_cv_prog_CC="$CC" # Let the user override the test.
16718 else
16719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16720 for as_dir in $PATH
16721 do
16722 IFS=$as_save_IFS
16723 test -z "$as_dir" && as_dir=.
16724 for ac_exec_ext in '' $ac_executable_extensions; do
16725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16726 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16728 break 2
16729 fi
16730 done
16731 done
16732 IFS=$as_save_IFS
16733
16734 fi
16735 fi
16736 CC=$ac_cv_prog_CC
16737 if test -n "$CC"; then
16738 { echo "$as_me:$LINENO: result: $CC" >&5
16739 echo "${ECHO_T}$CC" >&6; }
16740 else
16741 { echo "$as_me:$LINENO: result: no" >&5
16742 echo "${ECHO_T}no" >&6; }
16743 fi
16744
16745
16746 fi
16747 if test -z "$ac_cv_prog_CC"; then
16748 ac_ct_CC=$CC
16749 # Extract the first word of "gcc", so it can be a program name with args.
16750 set dummy gcc; ac_word=$2
16751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 else
16756 if test -n "$ac_ct_CC"; then
16757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16758 else
16759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16760 for as_dir in $PATH
16761 do
16762 IFS=$as_save_IFS
16763 test -z "$as_dir" && as_dir=.
16764 for ac_exec_ext in '' $ac_executable_extensions; do
16765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16766 ac_cv_prog_ac_ct_CC="gcc"
16767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16768 break 2
16769 fi
16770 done
16771 done
16772 IFS=$as_save_IFS
16773
16774 fi
16775 fi
16776 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16777 if test -n "$ac_ct_CC"; then
16778 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16779 echo "${ECHO_T}$ac_ct_CC" >&6; }
16780 else
16781 { echo "$as_me:$LINENO: result: no" >&5
16782 echo "${ECHO_T}no" >&6; }
16783 fi
16784
16785 if test "x$ac_ct_CC" = x; then
16786 CC=""
16787 else
16788 case $cross_compiling:$ac_tool_warned in
16789 yes:)
16790 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16791 whose name does not start with the host triplet. If you think this
16792 configuration is useful to you, please write to autoconf@gnu.org." >&5
16793 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16794 whose name does not start with the host triplet. If you think this
16795 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16796 ac_tool_warned=yes ;;
16797 esac
16798 CC=$ac_ct_CC
16799 fi
16800 else
16801 CC="$ac_cv_prog_CC"
16802 fi
16803
16804 if test -z "$CC"; then
16805 if test -n "$ac_tool_prefix"; then
16806 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16807 set dummy ${ac_tool_prefix}cc; ac_word=$2
16808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16810 if test "${ac_cv_prog_CC+set}" = set; then
16811 echo $ECHO_N "(cached) $ECHO_C" >&6
16812 else
16813 if test -n "$CC"; then
16814 ac_cv_prog_CC="$CC" # Let the user override the test.
16815 else
16816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16817 for as_dir in $PATH
16818 do
16819 IFS=$as_save_IFS
16820 test -z "$as_dir" && as_dir=.
16821 for ac_exec_ext in '' $ac_executable_extensions; do
16822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16823 ac_cv_prog_CC="${ac_tool_prefix}cc"
16824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16825 break 2
16826 fi
16827 done
16828 done
16829 IFS=$as_save_IFS
16830
16831 fi
16832 fi
16833 CC=$ac_cv_prog_CC
16834 if test -n "$CC"; then
16835 { echo "$as_me:$LINENO: result: $CC" >&5
16836 echo "${ECHO_T}$CC" >&6; }
16837 else
16838 { echo "$as_me:$LINENO: result: no" >&5
16839 echo "${ECHO_T}no" >&6; }
16840 fi
16841
16842
16843 fi
16844 fi
16845 if test -z "$CC"; then
16846 # Extract the first word of "cc", so it can be a program name with args.
16847 set dummy cc; ac_word=$2
16848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16850 if test "${ac_cv_prog_CC+set}" = set; then
16851 echo $ECHO_N "(cached) $ECHO_C" >&6
16852 else
16853 if test -n "$CC"; then
16854 ac_cv_prog_CC="$CC" # Let the user override the test.
16855 else
16856 ac_prog_rejected=no
16857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16858 for as_dir in $PATH
16859 do
16860 IFS=$as_save_IFS
16861 test -z "$as_dir" && as_dir=.
16862 for ac_exec_ext in '' $ac_executable_extensions; do
16863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16864 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16865 ac_prog_rejected=yes
16866 continue
16867 fi
16868 ac_cv_prog_CC="cc"
16869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16870 break 2
16871 fi
16872 done
16873 done
16874 IFS=$as_save_IFS
16875
16876 if test $ac_prog_rejected = yes; then
16877 # We found a bogon in the path, so make sure we never use it.
16878 set dummy $ac_cv_prog_CC
16879 shift
16880 if test $# != 0; then
16881 # We chose a different compiler from the bogus one.
16882 # However, it has the same basename, so the bogon will be chosen
16883 # first if we set CC to just the basename; use the full file name.
16884 shift
16885 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16886 fi
16887 fi
16888 fi
16889 fi
16890 CC=$ac_cv_prog_CC
16891 if test -n "$CC"; then
16892 { echo "$as_me:$LINENO: result: $CC" >&5
16893 echo "${ECHO_T}$CC" >&6; }
16894 else
16895 { echo "$as_me:$LINENO: result: no" >&5
16896 echo "${ECHO_T}no" >&6; }
16897 fi
16898
16899
16900 fi
16901 if test -z "$CC"; then
16902 if test -n "$ac_tool_prefix"; then
16903 for ac_prog in cl.exe
16904 do
16905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16909 if test "${ac_cv_prog_CC+set}" = set; then
16910 echo $ECHO_N "(cached) $ECHO_C" >&6
16911 else
16912 if test -n "$CC"; then
16913 ac_cv_prog_CC="$CC" # Let the user override the test.
16914 else
16915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16916 for as_dir in $PATH
16917 do
16918 IFS=$as_save_IFS
16919 test -z "$as_dir" && as_dir=.
16920 for ac_exec_ext in '' $ac_executable_extensions; do
16921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16922 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16924 break 2
16925 fi
16926 done
16927 done
16928 IFS=$as_save_IFS
16929
16930 fi
16931 fi
16932 CC=$ac_cv_prog_CC
16933 if test -n "$CC"; then
16934 { echo "$as_me:$LINENO: result: $CC" >&5
16935 echo "${ECHO_T}$CC" >&6; }
16936 else
16937 { echo "$as_me:$LINENO: result: no" >&5
16938 echo "${ECHO_T}no" >&6; }
16939 fi
16940
16941
16942 test -n "$CC" && break
16943 done
16944 fi
16945 if test -z "$CC"; then
16946 ac_ct_CC=$CC
16947 for ac_prog in cl.exe
16948 do
16949 # Extract the first word of "$ac_prog", so it can be a program name with args.
16950 set dummy $ac_prog; ac_word=$2
16951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16953 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956 if test -n "$ac_ct_CC"; then
16957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16958 else
16959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16960 for as_dir in $PATH
16961 do
16962 IFS=$as_save_IFS
16963 test -z "$as_dir" && as_dir=.
16964 for ac_exec_ext in '' $ac_executable_extensions; do
16965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16966 ac_cv_prog_ac_ct_CC="$ac_prog"
16967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16968 break 2
16969 fi
16970 done
16971 done
16972 IFS=$as_save_IFS
16973
16974 fi
16975 fi
16976 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16977 if test -n "$ac_ct_CC"; then
16978 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16979 echo "${ECHO_T}$ac_ct_CC" >&6; }
16980 else
16981 { echo "$as_me:$LINENO: result: no" >&5
16982 echo "${ECHO_T}no" >&6; }
16983 fi
16984
16985
16986 test -n "$ac_ct_CC" && break
16987 done
16988
16989 if test "x$ac_ct_CC" = x; then
16990 CC=""
16991 else
16992 case $cross_compiling:$ac_tool_warned in
16993 yes:)
16994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16995 whose name does not start with the host triplet. If you think this
16996 configuration is useful to you, please write to autoconf@gnu.org." >&5
16997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16998 whose name does not start with the host triplet. If you think this
16999 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17000 ac_tool_warned=yes ;;
17001 esac
17002 CC=$ac_ct_CC
17003 fi
17004 fi
17005
17006 fi
17007
17008
17009 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
17010 See \`config.log' for more details." >&5
17011 echo "$as_me: error: no acceptable C compiler found in \$PATH
17012 See \`config.log' for more details." >&2;}
17013 { (exit 1); exit 1; }; }
17014
17015 # Provide some information about the compiler.
17016 echo "$as_me:$LINENO: checking for C compiler version" >&5
17017 ac_compiler=`set X $ac_compile; echo $2`
17018 { (ac_try="$ac_compiler --version >&5"
17019 case "(($ac_try" in
17020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17021 *) ac_try_echo=$ac_try;;
17022 esac
17023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17024 (eval "$ac_compiler --version >&5") 2>&5
17025 ac_status=$?
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }
17028 { (ac_try="$ac_compiler -v >&5"
17029 case "(($ac_try" in
17030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17031 *) ac_try_echo=$ac_try;;
17032 esac
17033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17034 (eval "$ac_compiler -v >&5") 2>&5
17035 ac_status=$?
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }
17038 { (ac_try="$ac_compiler -V >&5"
17039 case "(($ac_try" in
17040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17041 *) ac_try_echo=$ac_try;;
17042 esac
17043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17044 (eval "$ac_compiler -V >&5") 2>&5
17045 ac_status=$?
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }
17048
17049 cat >conftest.$ac_ext <<_ACEOF
17050 /* confdefs.h. */
17051 _ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055
17056 int
17057 main ()
17058 {
17059
17060 ;
17061 return 0;
17062 }
17063 _ACEOF
17064 ac_clean_files_save=$ac_clean_files
17065 ac_clean_files="$ac_clean_files a.out a.exe b.out"
17066 # Try to create an executable without -o first, disregard a.out.
17067 # It will help us diagnose broken compilers, and finding out an intuition
17068 # of exeext.
17069 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
17070 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
17071 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
17072 #
17073 # List of possible output files, starting from the most likely.
17074 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
17075 # only as a last resort. b.out is created by i960 compilers.
17076 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
17077 #
17078 # The IRIX 6 linker writes into existing files which may not be
17079 # executable, retaining their permissions. Remove them first so a
17080 # subsequent execution test works.
17081 ac_rmfiles=
17082 for ac_file in $ac_files
17083 do
17084 case $ac_file in
17085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17086 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17087 esac
17088 done
17089 rm -f $ac_rmfiles
17090
17091 if { (ac_try="$ac_link_default"
17092 case "(($ac_try" in
17093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17094 *) ac_try_echo=$ac_try;;
17095 esac
17096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17097 (eval "$ac_link_default") 2>&5
17098 ac_status=$?
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; then
17101 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17102 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17103 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17104 # so that the user can short-circuit this test for compilers unknown to
17105 # Autoconf.
17106 for ac_file in $ac_files ''
17107 do
17108 test -f "$ac_file" || continue
17109 case $ac_file in
17110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17111 ;;
17112 [ab].out )
17113 # We found the default executable, but exeext='' is most
17114 # certainly right.
17115 break;;
17116 *.* )
17117 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17118 then :; else
17119 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17120 fi
17121 # We set ac_cv_exeext here because the later test for it is not
17122 # safe: cross compilers may not add the suffix if given an `-o'
17123 # argument, so we may need to know it at that point already.
17124 # Even if this section looks crufty: it has the advantage of
17125 # actually working.
17126 break;;
17127 * )
17128 break;;
17129 esac
17130 done
17131 test "$ac_cv_exeext" = no && ac_cv_exeext=
17132
17133 else
17134 ac_file=''
17135 fi
17136
17137 { echo "$as_me:$LINENO: result: $ac_file" >&5
17138 echo "${ECHO_T}$ac_file" >&6; }
17139 if test -z "$ac_file"; then
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.$ac_ext >&5
17142
17143 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17144 See \`config.log' for more details." >&5
17145 echo "$as_me: error: C compiler cannot create executables
17146 See \`config.log' for more details." >&2;}
17147 { (exit 77); exit 77; }; }
17148 fi
17149
17150 ac_exeext=$ac_cv_exeext
17151
17152 # Check that the compiler produces executables we can run. If not, either
17153 # the compiler is broken, or we cross compile.
17154 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17155 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17156 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17157 # If not cross compiling, check that we can run a simple program.
17158 if test "$cross_compiling" != yes; then
17159 if { ac_try='./$ac_file'
17160 { (case "(($ac_try" in
17161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17162 *) ac_try_echo=$ac_try;;
17163 esac
17164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17165 (eval "$ac_try") 2>&5
17166 ac_status=$?
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; }; then
17169 cross_compiling=no
17170 else
17171 if test "$cross_compiling" = maybe; then
17172 cross_compiling=yes
17173 else
17174 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17175 If you meant to cross compile, use \`--host'.
17176 See \`config.log' for more details." >&5
17177 echo "$as_me: error: cannot run C compiled programs.
17178 If you meant to cross compile, use \`--host'.
17179 See \`config.log' for more details." >&2;}
17180 { (exit 1); exit 1; }; }
17181 fi
17182 fi
17183 fi
17184 { echo "$as_me:$LINENO: result: yes" >&5
17185 echo "${ECHO_T}yes" >&6; }
17186
17187 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17188 ac_clean_files=$ac_clean_files_save
17189 # Check that the compiler produces executables we can run. If not, either
17190 # the compiler is broken, or we cross compile.
17191 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17192 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17193 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17194 echo "${ECHO_T}$cross_compiling" >&6; }
17195
17196 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17197 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17198 if { (ac_try="$ac_link"
17199 case "(($ac_try" in
17200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17201 *) ac_try_echo=$ac_try;;
17202 esac
17203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17204 (eval "$ac_link") 2>&5
17205 ac_status=$?
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; then
17208 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17209 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17210 # work properly (i.e., refer to `conftest.exe'), while it won't with
17211 # `rm'.
17212 for ac_file in conftest.exe conftest conftest.*; do
17213 test -f "$ac_file" || continue
17214 case $ac_file in
17215 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17216 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17217 break;;
17218 * ) break;;
17219 esac
17220 done
17221 else
17222 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17223 See \`config.log' for more details." >&5
17224 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17225 See \`config.log' for more details." >&2;}
17226 { (exit 1); exit 1; }; }
17227 fi
17228
17229 rm -f conftest$ac_cv_exeext
17230 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17231 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17232
17233 rm -f conftest.$ac_ext
17234 EXEEXT=$ac_cv_exeext
17235 ac_exeext=$EXEEXT
17236 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17237 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17238 if test "${ac_cv_objext+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 else
17241 cat >conftest.$ac_ext <<_ACEOF
17242 /* confdefs.h. */
17243 _ACEOF
17244 cat confdefs.h >>conftest.$ac_ext
17245 cat >>conftest.$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17247
17248 int
17249 main ()
17250 {
17251
17252 ;
17253 return 0;
17254 }
17255 _ACEOF
17256 rm -f conftest.o conftest.obj
17257 if { (ac_try="$ac_compile"
17258 case "(($ac_try" in
17259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17260 *) ac_try_echo=$ac_try;;
17261 esac
17262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17263 (eval "$ac_compile") 2>&5
17264 ac_status=$?
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; then
17267 for ac_file in conftest.o conftest.obj conftest.*; do
17268 test -f "$ac_file" || continue;
17269 case $ac_file in
17270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17271 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17272 break;;
17273 esac
17274 done
17275 else
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17278
17279 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17280 See \`config.log' for more details." >&5
17281 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17282 See \`config.log' for more details." >&2;}
17283 { (exit 1); exit 1; }; }
17284 fi
17285
17286 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17287 fi
17288 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17289 echo "${ECHO_T}$ac_cv_objext" >&6; }
17290 OBJEXT=$ac_cv_objext
17291 ac_objext=$OBJEXT
17292 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17293 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17294 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17296 else
17297 cat >conftest.$ac_ext <<_ACEOF
17298 /* confdefs.h. */
17299 _ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303
17304 int
17305 main ()
17306 {
17307 #ifndef __GNUC__
17308 choke me
17309 #endif
17310
17311 ;
17312 return 0;
17313 }
17314 _ACEOF
17315 rm -f conftest.$ac_objext
17316 if { (ac_try="$ac_compile"
17317 case "(($ac_try" in
17318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17319 *) ac_try_echo=$ac_try;;
17320 esac
17321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17322 (eval "$ac_compile") 2>conftest.er1
17323 ac_status=$?
17324 grep -v '^ *+' conftest.er1 >conftest.err
17325 rm -f conftest.er1
17326 cat conftest.err >&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); } && {
17329 test -z "$ac_c_werror_flag" ||
17330 test ! -s conftest.err
17331 } && test -s conftest.$ac_objext; then
17332 ac_compiler_gnu=yes
17333 else
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.$ac_ext >&5
17336
17337 ac_compiler_gnu=no
17338 fi
17339
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17342
17343 fi
17344 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17345 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17346 GCC=`test $ac_compiler_gnu = yes && echo yes`
17347 ac_test_CFLAGS=${CFLAGS+set}
17348 ac_save_CFLAGS=$CFLAGS
17349 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17350 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17351 if test "${ac_cv_prog_cc_g+set}" = set; then
17352 echo $ECHO_N "(cached) $ECHO_C" >&6
17353 else
17354 ac_save_c_werror_flag=$ac_c_werror_flag
17355 ac_c_werror_flag=yes
17356 ac_cv_prog_cc_g=no
17357 CFLAGS="-g"
17358 cat >conftest.$ac_ext <<_ACEOF
17359 /* confdefs.h. */
17360 _ACEOF
17361 cat confdefs.h >>conftest.$ac_ext
17362 cat >>conftest.$ac_ext <<_ACEOF
17363 /* end confdefs.h. */
17364
17365 int
17366 main ()
17367 {
17368
17369 ;
17370 return 0;
17371 }
17372 _ACEOF
17373 rm -f conftest.$ac_objext
17374 if { (ac_try="$ac_compile"
17375 case "(($ac_try" in
17376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17377 *) ac_try_echo=$ac_try;;
17378 esac
17379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17380 (eval "$ac_compile") 2>conftest.er1
17381 ac_status=$?
17382 grep -v '^ *+' conftest.er1 >conftest.err
17383 rm -f conftest.er1
17384 cat conftest.err >&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); } && {
17387 test -z "$ac_c_werror_flag" ||
17388 test ! -s conftest.err
17389 } && test -s conftest.$ac_objext; then
17390 ac_cv_prog_cc_g=yes
17391 else
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17394
17395 CFLAGS=""
17396 cat >conftest.$ac_ext <<_ACEOF
17397 /* confdefs.h. */
17398 _ACEOF
17399 cat confdefs.h >>conftest.$ac_ext
17400 cat >>conftest.$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17402
17403 int
17404 main ()
17405 {
17406
17407 ;
17408 return 0;
17409 }
17410 _ACEOF
17411 rm -f conftest.$ac_objext
17412 if { (ac_try="$ac_compile"
17413 case "(($ac_try" in
17414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17415 *) ac_try_echo=$ac_try;;
17416 esac
17417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17418 (eval "$ac_compile") 2>conftest.er1
17419 ac_status=$?
17420 grep -v '^ *+' conftest.er1 >conftest.err
17421 rm -f conftest.er1
17422 cat conftest.err >&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); } && {
17425 test -z "$ac_c_werror_flag" ||
17426 test ! -s conftest.err
17427 } && test -s conftest.$ac_objext; then
17428 :
17429 else
17430 echo "$as_me: failed program was:" >&5
17431 sed 's/^/| /' conftest.$ac_ext >&5
17432
17433 ac_c_werror_flag=$ac_save_c_werror_flag
17434 CFLAGS="-g"
17435 cat >conftest.$ac_ext <<_ACEOF
17436 /* confdefs.h. */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441
17442 int
17443 main ()
17444 {
17445
17446 ;
17447 return 0;
17448 }
17449 _ACEOF
17450 rm -f conftest.$ac_objext
17451 if { (ac_try="$ac_compile"
17452 case "(($ac_try" in
17453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17454 *) ac_try_echo=$ac_try;;
17455 esac
17456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17457 (eval "$ac_compile") 2>conftest.er1
17458 ac_status=$?
17459 grep -v '^ *+' conftest.er1 >conftest.err
17460 rm -f conftest.er1
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } && {
17464 test -z "$ac_c_werror_flag" ||
17465 test ! -s conftest.err
17466 } && test -s conftest.$ac_objext; then
17467 ac_cv_prog_cc_g=yes
17468 else
17469 echo "$as_me: failed program was:" >&5
17470 sed 's/^/| /' conftest.$ac_ext >&5
17471
17472
17473 fi
17474
17475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17476 fi
17477
17478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17479 fi
17480
17481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17482 ac_c_werror_flag=$ac_save_c_werror_flag
17483 fi
17484 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17485 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17486 if test "$ac_test_CFLAGS" = set; then
17487 CFLAGS=$ac_save_CFLAGS
17488 elif test $ac_cv_prog_cc_g = yes; then
17489 if test "$GCC" = yes; then
17490 CFLAGS="-g -O2"
17491 else
17492 CFLAGS="-g"
17493 fi
17494 else
17495 if test "$GCC" = yes; then
17496 CFLAGS="-O2"
17497 else
17498 CFLAGS=
17499 fi
17500 fi
17501 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17502 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17503 if test "${ac_cv_prog_cc_c89+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 else
17506 ac_cv_prog_cc_c89=no
17507 ac_save_CC=$CC
17508 cat >conftest.$ac_ext <<_ACEOF
17509 /* confdefs.h. */
17510 _ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 #include <stdarg.h>
17515 #include <stdio.h>
17516 #include <sys/types.h>
17517 #include <sys/stat.h>
17518 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17519 struct buf { int x; };
17520 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17521 static char *e (p, i)
17522 char **p;
17523 int i;
17524 {
17525 return p[i];
17526 }
17527 static char *f (char * (*g) (char **, int), char **p, ...)
17528 {
17529 char *s;
17530 va_list v;
17531 va_start (v,p);
17532 s = g (p, va_arg (v,int));
17533 va_end (v);
17534 return s;
17535 }
17536
17537 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17538 function prototypes and stuff, but not '\xHH' hex character constants.
17539 These don't provoke an error unfortunately, instead are silently treated
17540 as 'x'. The following induces an error, until -std is added to get
17541 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17542 array size at least. It's necessary to write '\x00'==0 to get something
17543 that's true only with -std. */
17544 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17545
17546 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17547 inside strings and character constants. */
17548 #define FOO(x) 'x'
17549 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17550
17551 int test (int i, double x);
17552 struct s1 {int (*f) (int a);};
17553 struct s2 {int (*f) (double a);};
17554 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17555 int argc;
17556 char **argv;
17557 int
17558 main ()
17559 {
17560 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17561 ;
17562 return 0;
17563 }
17564 _ACEOF
17565 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17566 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17567 do
17568 CC="$ac_save_CC $ac_arg"
17569 rm -f conftest.$ac_objext
17570 if { (ac_try="$ac_compile"
17571 case "(($ac_try" in
17572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17573 *) ac_try_echo=$ac_try;;
17574 esac
17575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17576 (eval "$ac_compile") 2>conftest.er1
17577 ac_status=$?
17578 grep -v '^ *+' conftest.er1 >conftest.err
17579 rm -f conftest.er1
17580 cat conftest.err >&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } && {
17583 test -z "$ac_c_werror_flag" ||
17584 test ! -s conftest.err
17585 } && test -s conftest.$ac_objext; then
17586 ac_cv_prog_cc_c89=$ac_arg
17587 else
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17590
17591
17592 fi
17593
17594 rm -f core conftest.err conftest.$ac_objext
17595 test "x$ac_cv_prog_cc_c89" != "xno" && break
17596 done
17597 rm -f conftest.$ac_ext
17598 CC=$ac_save_CC
17599
17600 fi
17601 # AC_CACHE_VAL
17602 case "x$ac_cv_prog_cc_c89" in
17603 x)
17604 { echo "$as_me:$LINENO: result: none needed" >&5
17605 echo "${ECHO_T}none needed" >&6; } ;;
17606 xno)
17607 { echo "$as_me:$LINENO: result: unsupported" >&5
17608 echo "${ECHO_T}unsupported" >&6; } ;;
17609 *)
17610 CC="$CC $ac_cv_prog_cc_c89"
17611 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17612 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17613 esac
17614
17615
17616 ac_ext=c
17617 ac_cpp='$CPP $CPPFLAGS'
17618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17621
17622
17623
17624
17625 ac_ext=c
17626 ac_cpp='$CPP $CPPFLAGS'
17627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17630
17631 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17632 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17633 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17634 echo $ECHO_N "(cached) $ECHO_C" >&6
17635 else
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h. */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642
17643 int
17644 main ()
17645 {
17646
17647 #ifndef __INTEL_COMPILER
17648 choke me
17649 #endif
17650
17651 ;
17652 return 0;
17653 }
17654 _ACEOF
17655 rm -f conftest.$ac_objext
17656 if { (ac_try="$ac_compile"
17657 case "(($ac_try" in
17658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17659 *) ac_try_echo=$ac_try;;
17660 esac
17661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17662 (eval "$ac_compile") 2>conftest.er1
17663 ac_status=$?
17664 grep -v '^ *+' conftest.er1 >conftest.err
17665 rm -f conftest.er1
17666 cat conftest.err >&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); } && {
17669 test -z "$ac_c_werror_flag" ||
17670 test ! -s conftest.err
17671 } && test -s conftest.$ac_objext; then
17672 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17673 else
17674 echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.$ac_ext >&5
17676
17677 bakefile_cv_c_compiler___INTEL_COMPILER=no
17678
17679 fi
17680
17681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17682
17683
17684 fi
17685 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17686 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17687 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17688 :; INTELCC=yes
17689 else
17690 :;
17691 fi
17692 ac_ext=c
17693 ac_cpp='$CPP $CPPFLAGS'
17694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17697
17698
17699
17700
17701 if test "x$GCC" != "xyes"; then
17702 if test "xCC" = "xC"; then
17703 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17704 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17705 if test "${bakefile_cv_c_exto+set}" = set; then
17706 echo $ECHO_N "(cached) $ECHO_C" >&6
17707 else
17708 cat >conftest.$ac_ext <<_ACEOF
17709 /* confdefs.h. */
17710 _ACEOF
17711 cat confdefs.h >>conftest.$ac_ext
17712 cat >>conftest.$ac_ext <<_ACEOF
17713 /* end confdefs.h. */
17714
17715 int
17716 main ()
17717 {
17718
17719 ;
17720 return 0;
17721 }
17722 _ACEOF
17723 rm -f conftest.$ac_objext conftest.$ac_ext.o
17724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17725 (eval $ac_compile) 2>&5
17726 ac_status=$?
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); }; then
17729 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17730 case $ac_file in
17731 conftest.$ac_ext.o)
17732 bakefile_cv_c_exto="-ext o"
17733 ;;
17734 *)
17735 ;;
17736 esac
17737 done
17738 else
17739 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17740 See \`config.log' for more details." >&5
17741 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17742 See \`config.log' for more details." >&2;}
17743 { (exit 1); exit 1; }; }
17744
17745 fi
17746
17747 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17748
17749 fi
17750 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17751 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17752 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17753 if test "c" = "c"; then
17754 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17755 fi
17756 if test "c" = "cxx"; then
17757 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17758 fi
17759 fi
17760
17761 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17762 unset ac_cv_prog_cc_g
17763 ac_test_CFLAGS=${CFLAGS+set}
17764 ac_save_CFLAGS=$CFLAGS
17765 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17766 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17767 if test "${ac_cv_prog_cc_g+set}" = set; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 else
17770 ac_save_c_werror_flag=$ac_c_werror_flag
17771 ac_c_werror_flag=yes
17772 ac_cv_prog_cc_g=no
17773 CFLAGS="-g"
17774 cat >conftest.$ac_ext <<_ACEOF
17775 /* confdefs.h. */
17776 _ACEOF
17777 cat confdefs.h >>conftest.$ac_ext
17778 cat >>conftest.$ac_ext <<_ACEOF
17779 /* end confdefs.h. */
17780
17781 int
17782 main ()
17783 {
17784
17785 ;
17786 return 0;
17787 }
17788 _ACEOF
17789 rm -f conftest.$ac_objext
17790 if { (ac_try="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17794 esac
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17797 ac_status=$?
17798 grep -v '^ *+' conftest.er1 >conftest.err
17799 rm -f conftest.er1
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_c_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17806 ac_cv_prog_cc_g=yes
17807 else
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17810
17811 CFLAGS=""
17812 cat >conftest.$ac_ext <<_ACEOF
17813 /* confdefs.h. */
17814 _ACEOF
17815 cat confdefs.h >>conftest.$ac_ext
17816 cat >>conftest.$ac_ext <<_ACEOF
17817 /* end confdefs.h. */
17818
17819 int
17820 main ()
17821 {
17822
17823 ;
17824 return 0;
17825 }
17826 _ACEOF
17827 rm -f conftest.$ac_objext
17828 if { (ac_try="$ac_compile"
17829 case "(($ac_try" in
17830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17831 *) ac_try_echo=$ac_try;;
17832 esac
17833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17834 (eval "$ac_compile") 2>conftest.er1
17835 ac_status=$?
17836 grep -v '^ *+' conftest.er1 >conftest.err
17837 rm -f conftest.er1
17838 cat conftest.err >&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } && {
17841 test -z "$ac_c_werror_flag" ||
17842 test ! -s conftest.err
17843 } && test -s conftest.$ac_objext; then
17844 :
17845 else
17846 echo "$as_me: failed program was:" >&5
17847 sed 's/^/| /' conftest.$ac_ext >&5
17848
17849 ac_c_werror_flag=$ac_save_c_werror_flag
17850 CFLAGS="-g"
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857
17858 int
17859 main ()
17860 {
17861
17862 ;
17863 return 0;
17864 }
17865 _ACEOF
17866 rm -f conftest.$ac_objext
17867 if { (ac_try="$ac_compile"
17868 case "(($ac_try" in
17869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17870 *) ac_try_echo=$ac_try;;
17871 esac
17872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17873 (eval "$ac_compile") 2>conftest.er1
17874 ac_status=$?
17875 grep -v '^ *+' conftest.er1 >conftest.err
17876 rm -f conftest.er1
17877 cat conftest.err >&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } && {
17880 test -z "$ac_c_werror_flag" ||
17881 test ! -s conftest.err
17882 } && test -s conftest.$ac_objext; then
17883 ac_cv_prog_cc_g=yes
17884 else
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.$ac_ext >&5
17887
17888
17889 fi
17890
17891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17892 fi
17893
17894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17895 fi
17896
17897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17898 ac_c_werror_flag=$ac_save_c_werror_flag
17899 fi
17900 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17901 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17902 if test "$ac_test_CFLAGS" = set; then
17903 CFLAGS=$ac_save_CFLAGS
17904 elif test $ac_cv_prog_cc_g = yes; then
17905 if test "$GCC" = yes; then
17906 CFLAGS="-g -O2"
17907 else
17908 CFLAGS="-g"
17909 fi
17910 else
17911 if test "$GCC" = yes; then
17912 CFLAGS="-O2"
17913 else
17914 CFLAGS=
17915 fi
17916 fi
17917 fi
17918 fi
17919
17920 case `uname -s` in
17921 AIX*)
17922
17923
17924 ac_ext=c
17925 ac_cpp='$CPP $CPPFLAGS'
17926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17929
17930 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17931 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17932 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17933 echo $ECHO_N "(cached) $ECHO_C" >&6
17934 else
17935 cat >conftest.$ac_ext <<_ACEOF
17936 /* confdefs.h. */
17937 _ACEOF
17938 cat confdefs.h >>conftest.$ac_ext
17939 cat >>conftest.$ac_ext <<_ACEOF
17940 /* end confdefs.h. */
17941
17942 int
17943 main ()
17944 {
17945
17946 #ifndef __xlC__
17947 choke me
17948 #endif
17949
17950 ;
17951 return 0;
17952 }
17953 _ACEOF
17954 rm -f conftest.$ac_objext
17955 if { (ac_try="$ac_compile"
17956 case "(($ac_try" in
17957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17958 *) ac_try_echo=$ac_try;;
17959 esac
17960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17961 (eval "$ac_compile") 2>conftest.er1
17962 ac_status=$?
17963 grep -v '^ *+' conftest.er1 >conftest.err
17964 rm -f conftest.er1
17965 cat conftest.err >&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); } && {
17968 test -z "$ac_c_werror_flag" ||
17969 test ! -s conftest.err
17970 } && test -s conftest.$ac_objext; then
17971 bakefile_cv_c_compiler___xlC__=yes
17972 else
17973 echo "$as_me: failed program was:" >&5
17974 sed 's/^/| /' conftest.$ac_ext >&5
17975
17976 bakefile_cv_c_compiler___xlC__=no
17977
17978 fi
17979
17980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17981
17982
17983 fi
17984 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17985 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17986 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17987 :; XLCC=yes
17988 else
17989 :;
17990 fi
17991 ac_ext=c
17992 ac_cpp='$CPP $CPPFLAGS'
17993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17996
17997
17998
17999 ;;
18000
18001 Darwin)
18002
18003
18004 ac_ext=c
18005 ac_cpp='$CPP $CPPFLAGS'
18006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18009
18010 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
18011 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
18012 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 else
18015 cat >conftest.$ac_ext <<_ACEOF
18016 /* confdefs.h. */
18017 _ACEOF
18018 cat confdefs.h >>conftest.$ac_ext
18019 cat >>conftest.$ac_ext <<_ACEOF
18020 /* end confdefs.h. */
18021
18022 int
18023 main ()
18024 {
18025
18026 #ifndef __MWERKS__
18027 choke me
18028 #endif
18029
18030 ;
18031 return 0;
18032 }
18033 _ACEOF
18034 rm -f conftest.$ac_objext
18035 if { (ac_try="$ac_compile"
18036 case "(($ac_try" in
18037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18038 *) ac_try_echo=$ac_try;;
18039 esac
18040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18041 (eval "$ac_compile") 2>conftest.er1
18042 ac_status=$?
18043 grep -v '^ *+' conftest.er1 >conftest.err
18044 rm -f conftest.er1
18045 cat conftest.err >&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); } && {
18048 test -z "$ac_c_werror_flag" ||
18049 test ! -s conftest.err
18050 } && test -s conftest.$ac_objext; then
18051 bakefile_cv_c_compiler___MWERKS__=yes
18052 else
18053 echo "$as_me: failed program was:" >&5
18054 sed 's/^/| /' conftest.$ac_ext >&5
18055
18056 bakefile_cv_c_compiler___MWERKS__=no
18057
18058 fi
18059
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061
18062
18063 fi
18064 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
18065 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
18066 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
18067 :; MWCC=yes
18068 else
18069 :;
18070 fi
18071 ac_ext=c
18072 ac_cpp='$CPP $CPPFLAGS'
18073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18076
18077
18078
18079
18080
18081 ac_ext=c
18082 ac_cpp='$CPP $CPPFLAGS'
18083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18086
18087 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18088 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18089 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 else
18092 cat >conftest.$ac_ext <<_ACEOF
18093 /* confdefs.h. */
18094 _ACEOF
18095 cat confdefs.h >>conftest.$ac_ext
18096 cat >>conftest.$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098
18099 int
18100 main ()
18101 {
18102
18103 #ifndef __xlC__
18104 choke me
18105 #endif
18106
18107 ;
18108 return 0;
18109 }
18110 _ACEOF
18111 rm -f conftest.$ac_objext
18112 if { (ac_try="$ac_compile"
18113 case "(($ac_try" in
18114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18115 *) ac_try_echo=$ac_try;;
18116 esac
18117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18118 (eval "$ac_compile") 2>conftest.er1
18119 ac_status=$?
18120 grep -v '^ *+' conftest.er1 >conftest.err
18121 rm -f conftest.er1
18122 cat conftest.err >&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); } && {
18125 test -z "$ac_c_werror_flag" ||
18126 test ! -s conftest.err
18127 } && test -s conftest.$ac_objext; then
18128 bakefile_cv_c_compiler___xlC__=yes
18129 else
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.$ac_ext >&5
18132
18133 bakefile_cv_c_compiler___xlC__=no
18134
18135 fi
18136
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18138
18139
18140 fi
18141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18142 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18143 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18144 :; XLCC=yes
18145 else
18146 :;
18147 fi
18148 ac_ext=c
18149 ac_cpp='$CPP $CPPFLAGS'
18150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18153
18154
18155
18156 ;;
18157
18158 IRIX*)
18159
18160
18161 ac_ext=c
18162 ac_cpp='$CPP $CPPFLAGS'
18163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18166
18167 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18168 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18169 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 else
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
18179 int
18180 main ()
18181 {
18182
18183 #ifndef _SGI_COMPILER_VERSION
18184 choke me
18185 #endif
18186
18187 ;
18188 return 0;
18189 }
18190 _ACEOF
18191 rm -f conftest.$ac_objext
18192 if { (ac_try="$ac_compile"
18193 case "(($ac_try" in
18194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18195 *) ac_try_echo=$ac_try;;
18196 esac
18197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18198 (eval "$ac_compile") 2>conftest.er1
18199 ac_status=$?
18200 grep -v '^ *+' conftest.er1 >conftest.err
18201 rm -f conftest.er1
18202 cat conftest.err >&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); } && {
18205 test -z "$ac_c_werror_flag" ||
18206 test ! -s conftest.err
18207 } && test -s conftest.$ac_objext; then
18208 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18209 else
18210 echo "$as_me: failed program was:" >&5
18211 sed 's/^/| /' conftest.$ac_ext >&5
18212
18213 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18214
18215 fi
18216
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218
18219
18220 fi
18221 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18222 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18223 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18224 :; SGICC=yes
18225 else
18226 :;
18227 fi
18228 ac_ext=c
18229 ac_cpp='$CPP $CPPFLAGS'
18230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18233
18234
18235
18236 ;;
18237
18238 Linux*)
18239
18240
18241 ac_ext=c
18242 ac_cpp='$CPP $CPPFLAGS'
18243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18246
18247 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18248 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18249 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18250 echo $ECHO_N "(cached) $ECHO_C" >&6
18251 else
18252 cat >conftest.$ac_ext <<_ACEOF
18253 /* confdefs.h. */
18254 _ACEOF
18255 cat confdefs.h >>conftest.$ac_ext
18256 cat >>conftest.$ac_ext <<_ACEOF
18257 /* end confdefs.h. */
18258
18259 int
18260 main ()
18261 {
18262
18263 #ifndef __SUNPRO_C
18264 choke me
18265 #endif
18266
18267 ;
18268 return 0;
18269 }
18270 _ACEOF
18271 rm -f conftest.$ac_objext
18272 if { (ac_try="$ac_compile"
18273 case "(($ac_try" in
18274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18275 *) ac_try_echo=$ac_try;;
18276 esac
18277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18278 (eval "$ac_compile") 2>conftest.er1
18279 ac_status=$?
18280 grep -v '^ *+' conftest.er1 >conftest.err
18281 rm -f conftest.er1
18282 cat conftest.err >&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); } && {
18285 test -z "$ac_c_werror_flag" ||
18286 test ! -s conftest.err
18287 } && test -s conftest.$ac_objext; then
18288 bakefile_cv_c_compiler___SUNPRO_C=yes
18289 else
18290 echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.$ac_ext >&5
18292
18293 bakefile_cv_c_compiler___SUNPRO_C=no
18294
18295 fi
18296
18297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18298
18299
18300 fi
18301 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18302 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18303 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18304 :; SUNCC=yes
18305 else
18306 :;
18307 fi
18308 ac_ext=c
18309 ac_cpp='$CPP $CPPFLAGS'
18310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18313
18314
18315
18316 ;;
18317
18318 HP-UX*)
18319
18320
18321 ac_ext=c
18322 ac_cpp='$CPP $CPPFLAGS'
18323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18326
18327 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18328 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18329 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18330 echo $ECHO_N "(cached) $ECHO_C" >&6
18331 else
18332 cat >conftest.$ac_ext <<_ACEOF
18333 /* confdefs.h. */
18334 _ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338
18339 int
18340 main ()
18341 {
18342
18343 #ifndef __HP_cc
18344 choke me
18345 #endif
18346
18347 ;
18348 return 0;
18349 }
18350 _ACEOF
18351 rm -f conftest.$ac_objext
18352 if { (ac_try="$ac_compile"
18353 case "(($ac_try" in
18354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18355 *) ac_try_echo=$ac_try;;
18356 esac
18357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18358 (eval "$ac_compile") 2>conftest.er1
18359 ac_status=$?
18360 grep -v '^ *+' conftest.er1 >conftest.err
18361 rm -f conftest.er1
18362 cat conftest.err >&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } && {
18365 test -z "$ac_c_werror_flag" ||
18366 test ! -s conftest.err
18367 } && test -s conftest.$ac_objext; then
18368 bakefile_cv_c_compiler___HP_cc=yes
18369 else
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18372
18373 bakefile_cv_c_compiler___HP_cc=no
18374
18375 fi
18376
18377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18378
18379
18380 fi
18381 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18382 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18383 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18384 :; HPCC=yes
18385 else
18386 :;
18387 fi
18388 ac_ext=c
18389 ac_cpp='$CPP $CPPFLAGS'
18390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18393
18394
18395
18396 ;;
18397
18398 OSF1)
18399
18400
18401 ac_ext=c
18402 ac_cpp='$CPP $CPPFLAGS'
18403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18406
18407 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18408 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18409 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 else
18412 cat >conftest.$ac_ext <<_ACEOF
18413 /* confdefs.h. */
18414 _ACEOF
18415 cat confdefs.h >>conftest.$ac_ext
18416 cat >>conftest.$ac_ext <<_ACEOF
18417 /* end confdefs.h. */
18418
18419 int
18420 main ()
18421 {
18422
18423 #ifndef __DECC
18424 choke me
18425 #endif
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_c_werror_flag" ||
18446 test ! -s conftest.err
18447 } && test -s conftest.$ac_objext; then
18448 bakefile_cv_c_compiler___DECC=yes
18449 else
18450 echo "$as_me: failed program was:" >&5
18451 sed 's/^/| /' conftest.$ac_ext >&5
18452
18453 bakefile_cv_c_compiler___DECC=no
18454
18455 fi
18456
18457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18458
18459
18460 fi
18461 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18462 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18463 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18464 :; COMPAQCC=yes
18465 else
18466 :;
18467 fi
18468 ac_ext=c
18469 ac_cpp='$CPP $CPPFLAGS'
18470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18473
18474
18475
18476 ;;
18477
18478 SunOS)
18479
18480
18481 ac_ext=c
18482 ac_cpp='$CPP $CPPFLAGS'
18483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18486
18487 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18488 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18489 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18490 echo $ECHO_N "(cached) $ECHO_C" >&6
18491 else
18492 cat >conftest.$ac_ext <<_ACEOF
18493 /* confdefs.h. */
18494 _ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18498
18499 int
18500 main ()
18501 {
18502
18503 #ifndef __SUNPRO_C
18504 choke me
18505 #endif
18506
18507 ;
18508 return 0;
18509 }
18510 _ACEOF
18511 rm -f conftest.$ac_objext
18512 if { (ac_try="$ac_compile"
18513 case "(($ac_try" in
18514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18515 *) ac_try_echo=$ac_try;;
18516 esac
18517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18518 (eval "$ac_compile") 2>conftest.er1
18519 ac_status=$?
18520 grep -v '^ *+' conftest.er1 >conftest.err
18521 rm -f conftest.er1
18522 cat conftest.err >&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } && {
18525 test -z "$ac_c_werror_flag" ||
18526 test ! -s conftest.err
18527 } && test -s conftest.$ac_objext; then
18528 bakefile_cv_c_compiler___SUNPRO_C=yes
18529 else
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.$ac_ext >&5
18532
18533 bakefile_cv_c_compiler___SUNPRO_C=no
18534
18535 fi
18536
18537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18538
18539
18540 fi
18541 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18542 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18543 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18544 :; SUNCC=yes
18545 else
18546 :;
18547 fi
18548 ac_ext=c
18549 ac_cpp='$CPP $CPPFLAGS'
18550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18553
18554
18555
18556 ;;
18557 esac
18558 fi
18559
18560
18561
18562 ac_ext=c
18563 ac_cpp='$CPP $CPPFLAGS'
18564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18567 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18568 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18569 # On Suns, sometimes $CPP names a directory.
18570 if test -n "$CPP" && test -d "$CPP"; then
18571 CPP=
18572 fi
18573 if test -z "$CPP"; then
18574 if test "${ac_cv_prog_CPP+set}" = set; then
18575 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 else
18577 # Double quotes because CPP needs to be expanded
18578 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18579 do
18580 ac_preproc_ok=false
18581 for ac_c_preproc_warn_flag in '' yes
18582 do
18583 # Use a header file that comes with gcc, so configuring glibc
18584 # with a fresh cross-compiler works.
18585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18586 # <limits.h> exists even on freestanding compilers.
18587 # On the NeXT, cc -E runs the code through the compiler's parser,
18588 # not just through cpp. "Syntax error" is here to catch this case.
18589 cat >conftest.$ac_ext <<_ACEOF
18590 /* confdefs.h. */
18591 _ACEOF
18592 cat confdefs.h >>conftest.$ac_ext
18593 cat >>conftest.$ac_ext <<_ACEOF
18594 /* end confdefs.h. */
18595 #ifdef __STDC__
18596 # include <limits.h>
18597 #else
18598 # include <assert.h>
18599 #endif
18600 Syntax error
18601 _ACEOF
18602 if { (ac_try="$ac_cpp conftest.$ac_ext"
18603 case "(($ac_try" in
18604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18605 *) ac_try_echo=$ac_try;;
18606 esac
18607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18609 ac_status=$?
18610 grep -v '^ *+' conftest.er1 >conftest.err
18611 rm -f conftest.er1
18612 cat conftest.err >&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } >/dev/null && {
18615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18616 test ! -s conftest.err
18617 }; then
18618 :
18619 else
18620 echo "$as_me: failed program was:" >&5
18621 sed 's/^/| /' conftest.$ac_ext >&5
18622
18623 # Broken: fails on valid input.
18624 continue
18625 fi
18626
18627 rm -f conftest.err conftest.$ac_ext
18628
18629 # OK, works on sane cases. Now check whether nonexistent headers
18630 # can be detected and how.
18631 cat >conftest.$ac_ext <<_ACEOF
18632 /* confdefs.h. */
18633 _ACEOF
18634 cat confdefs.h >>conftest.$ac_ext
18635 cat >>conftest.$ac_ext <<_ACEOF
18636 /* end confdefs.h. */
18637 #include <ac_nonexistent.h>
18638 _ACEOF
18639 if { (ac_try="$ac_cpp conftest.$ac_ext"
18640 case "(($ac_try" in
18641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18642 *) ac_try_echo=$ac_try;;
18643 esac
18644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18646 ac_status=$?
18647 grep -v '^ *+' conftest.er1 >conftest.err
18648 rm -f conftest.er1
18649 cat conftest.err >&5
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); } >/dev/null && {
18652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18653 test ! -s conftest.err
18654 }; then
18655 # Broken: success on invalid input.
18656 continue
18657 else
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.$ac_ext >&5
18660
18661 # Passes both tests.
18662 ac_preproc_ok=:
18663 break
18664 fi
18665
18666 rm -f conftest.err conftest.$ac_ext
18667
18668 done
18669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18670 rm -f conftest.err conftest.$ac_ext
18671 if $ac_preproc_ok; then
18672 break
18673 fi
18674
18675 done
18676 ac_cv_prog_CPP=$CPP
18677
18678 fi
18679 CPP=$ac_cv_prog_CPP
18680 else
18681 ac_cv_prog_CPP=$CPP
18682 fi
18683 { echo "$as_me:$LINENO: result: $CPP" >&5
18684 echo "${ECHO_T}$CPP" >&6; }
18685 ac_preproc_ok=false
18686 for ac_c_preproc_warn_flag in '' yes
18687 do
18688 # Use a header file that comes with gcc, so configuring glibc
18689 # with a fresh cross-compiler works.
18690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18691 # <limits.h> exists even on freestanding compilers.
18692 # On the NeXT, cc -E runs the code through the compiler's parser,
18693 # not just through cpp. "Syntax error" is here to catch this case.
18694 cat >conftest.$ac_ext <<_ACEOF
18695 /* confdefs.h. */
18696 _ACEOF
18697 cat confdefs.h >>conftest.$ac_ext
18698 cat >>conftest.$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18700 #ifdef __STDC__
18701 # include <limits.h>
18702 #else
18703 # include <assert.h>
18704 #endif
18705 Syntax error
18706 _ACEOF
18707 if { (ac_try="$ac_cpp conftest.$ac_ext"
18708 case "(($ac_try" in
18709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18710 *) ac_try_echo=$ac_try;;
18711 esac
18712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18714 ac_status=$?
18715 grep -v '^ *+' conftest.er1 >conftest.err
18716 rm -f conftest.er1
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } >/dev/null && {
18720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18721 test ! -s conftest.err
18722 }; then
18723 :
18724 else
18725 echo "$as_me: failed program was:" >&5
18726 sed 's/^/| /' conftest.$ac_ext >&5
18727
18728 # Broken: fails on valid input.
18729 continue
18730 fi
18731
18732 rm -f conftest.err conftest.$ac_ext
18733
18734 # OK, works on sane cases. Now check whether nonexistent headers
18735 # can be detected and how.
18736 cat >conftest.$ac_ext <<_ACEOF
18737 /* confdefs.h. */
18738 _ACEOF
18739 cat confdefs.h >>conftest.$ac_ext
18740 cat >>conftest.$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 #include <ac_nonexistent.h>
18743 _ACEOF
18744 if { (ac_try="$ac_cpp conftest.$ac_ext"
18745 case "(($ac_try" in
18746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18747 *) ac_try_echo=$ac_try;;
18748 esac
18749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18751 ac_status=$?
18752 grep -v '^ *+' conftest.er1 >conftest.err
18753 rm -f conftest.er1
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } >/dev/null && {
18757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18758 test ! -s conftest.err
18759 }; then
18760 # Broken: success on invalid input.
18761 continue
18762 else
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18765
18766 # Passes both tests.
18767 ac_preproc_ok=:
18768 break
18769 fi
18770
18771 rm -f conftest.err conftest.$ac_ext
18772
18773 done
18774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18775 rm -f conftest.err conftest.$ac_ext
18776 if $ac_preproc_ok; then
18777 :
18778 else
18779 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18780 See \`config.log' for more details." >&5
18781 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18782 See \`config.log' for more details." >&2;}
18783 { (exit 1); exit 1; }; }
18784 fi
18785
18786 ac_ext=c
18787 ac_cpp='$CPP $CPPFLAGS'
18788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18791
18792
18793 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18794 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18795 if test "${ac_cv_path_GREP+set}" = set; then
18796 echo $ECHO_N "(cached) $ECHO_C" >&6
18797 else
18798 # Extract the first word of "grep ggrep" to use in msg output
18799 if test -z "$GREP"; then
18800 set dummy grep ggrep; ac_prog_name=$2
18801 if test "${ac_cv_path_GREP+set}" = set; then
18802 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 else
18804 ac_path_GREP_found=false
18805 # Loop through the user's path and test for each of PROGNAME-LIST
18806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18807 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18808 do
18809 IFS=$as_save_IFS
18810 test -z "$as_dir" && as_dir=.
18811 for ac_prog in grep ggrep; do
18812 for ac_exec_ext in '' $ac_executable_extensions; do
18813 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18814 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18815 # Check for GNU ac_path_GREP and select it if it is found.
18816 # Check for GNU $ac_path_GREP
18817 case `"$ac_path_GREP" --version 2>&1` in
18818 *GNU*)
18819 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18820 *)
18821 ac_count=0
18822 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18823 while :
18824 do
18825 cat "conftest.in" "conftest.in" >"conftest.tmp"
18826 mv "conftest.tmp" "conftest.in"
18827 cp "conftest.in" "conftest.nl"
18828 echo 'GREP' >> "conftest.nl"
18829 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18830 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18831 ac_count=`expr $ac_count + 1`
18832 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18833 # Best one so far, save it but keep looking for a better one
18834 ac_cv_path_GREP="$ac_path_GREP"
18835 ac_path_GREP_max=$ac_count
18836 fi
18837 # 10*(2^10) chars as input seems more than enough
18838 test $ac_count -gt 10 && break
18839 done
18840 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18841 esac
18842
18843
18844 $ac_path_GREP_found && break 3
18845 done
18846 done
18847
18848 done
18849 IFS=$as_save_IFS
18850
18851
18852 fi
18853
18854 GREP="$ac_cv_path_GREP"
18855 if test -z "$GREP"; then
18856 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18857 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18858 { (exit 1); exit 1; }; }
18859 fi
18860
18861 else
18862 ac_cv_path_GREP=$GREP
18863 fi
18864
18865
18866 fi
18867 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18868 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18869 GREP="$ac_cv_path_GREP"
18870
18871
18872 { echo "$as_me:$LINENO: checking for egrep" >&5
18873 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18874 if test "${ac_cv_path_EGREP+set}" = set; then
18875 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 else
18877 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18878 then ac_cv_path_EGREP="$GREP -E"
18879 else
18880 # Extract the first word of "egrep" to use in msg output
18881 if test -z "$EGREP"; then
18882 set dummy egrep; ac_prog_name=$2
18883 if test "${ac_cv_path_EGREP+set}" = set; then
18884 echo $ECHO_N "(cached) $ECHO_C" >&6
18885 else
18886 ac_path_EGREP_found=false
18887 # Loop through the user's path and test for each of PROGNAME-LIST
18888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18889 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18890 do
18891 IFS=$as_save_IFS
18892 test -z "$as_dir" && as_dir=.
18893 for ac_prog in egrep; do
18894 for ac_exec_ext in '' $ac_executable_extensions; do
18895 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18896 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18897 # Check for GNU ac_path_EGREP and select it if it is found.
18898 # Check for GNU $ac_path_EGREP
18899 case `"$ac_path_EGREP" --version 2>&1` in
18900 *GNU*)
18901 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18902 *)
18903 ac_count=0
18904 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18905 while :
18906 do
18907 cat "conftest.in" "conftest.in" >"conftest.tmp"
18908 mv "conftest.tmp" "conftest.in"
18909 cp "conftest.in" "conftest.nl"
18910 echo 'EGREP' >> "conftest.nl"
18911 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18912 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18913 ac_count=`expr $ac_count + 1`
18914 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18915 # Best one so far, save it but keep looking for a better one
18916 ac_cv_path_EGREP="$ac_path_EGREP"
18917 ac_path_EGREP_max=$ac_count
18918 fi
18919 # 10*(2^10) chars as input seems more than enough
18920 test $ac_count -gt 10 && break
18921 done
18922 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18923 esac
18924
18925
18926 $ac_path_EGREP_found && break 3
18927 done
18928 done
18929
18930 done
18931 IFS=$as_save_IFS
18932
18933
18934 fi
18935
18936 EGREP="$ac_cv_path_EGREP"
18937 if test -z "$EGREP"; then
18938 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18939 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18940 { (exit 1); exit 1; }; }
18941 fi
18942
18943 else
18944 ac_cv_path_EGREP=$EGREP
18945 fi
18946
18947
18948 fi
18949 fi
18950 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18951 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18952 EGREP="$ac_cv_path_EGREP"
18953
18954
18955 if test $ac_cv_c_compiler_gnu = yes; then
18956 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18957 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18958 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18959 echo $ECHO_N "(cached) $ECHO_C" >&6
18960 else
18961 ac_pattern="Autoconf.*'x'"
18962 cat >conftest.$ac_ext <<_ACEOF
18963 /* confdefs.h. */
18964 _ACEOF
18965 cat confdefs.h >>conftest.$ac_ext
18966 cat >>conftest.$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18968 #include <sgtty.h>
18969 Autoconf TIOCGETP
18970 _ACEOF
18971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18972 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18973 ac_cv_prog_gcc_traditional=yes
18974 else
18975 ac_cv_prog_gcc_traditional=no
18976 fi
18977 rm -f conftest*
18978
18979
18980 if test $ac_cv_prog_gcc_traditional = no; then
18981 cat >conftest.$ac_ext <<_ACEOF
18982 /* confdefs.h. */
18983 _ACEOF
18984 cat confdefs.h >>conftest.$ac_ext
18985 cat >>conftest.$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 #include <termio.h>
18988 Autoconf TCGETA
18989 _ACEOF
18990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18991 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18992 ac_cv_prog_gcc_traditional=yes
18993 fi
18994 rm -f conftest*
18995
18996 fi
18997 fi
18998 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18999 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
19000 if test $ac_cv_prog_gcc_traditional = yes; then
19001 CC="$CC -traditional"
19002 fi
19003 fi
19004
19005
19006 CXXFLAGS=${CXXFLAGS:=}
19007
19008
19009
19010 ac_ext=cpp
19011 ac_cpp='$CXXCPP $CPPFLAGS'
19012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19015 if test -z "$CXX"; then
19016 if test -n "$CCC"; then
19017 CXX=$CCC
19018 else
19019 if test -n "$ac_tool_prefix"; then
19020 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19021 do
19022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19023 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19026 if test "${ac_cv_prog_CXX+set}" = set; then
19027 echo $ECHO_N "(cached) $ECHO_C" >&6
19028 else
19029 if test -n "$CXX"; then
19030 ac_cv_prog_CXX="$CXX" # Let the user override the test.
19031 else
19032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19033 for as_dir in $PATH
19034 do
19035 IFS=$as_save_IFS
19036 test -z "$as_dir" && as_dir=.
19037 for ac_exec_ext in '' $ac_executable_extensions; do
19038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19039 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19041 break 2
19042 fi
19043 done
19044 done
19045 IFS=$as_save_IFS
19046
19047 fi
19048 fi
19049 CXX=$ac_cv_prog_CXX
19050 if test -n "$CXX"; then
19051 { echo "$as_me:$LINENO: result: $CXX" >&5
19052 echo "${ECHO_T}$CXX" >&6; }
19053 else
19054 { echo "$as_me:$LINENO: result: no" >&5
19055 echo "${ECHO_T}no" >&6; }
19056 fi
19057
19058
19059 test -n "$CXX" && break
19060 done
19061 fi
19062 if test -z "$CXX"; then
19063 ac_ct_CXX=$CXX
19064 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19065 do
19066 # Extract the first word of "$ac_prog", so it can be a program name with args.
19067 set dummy $ac_prog; ac_word=$2
19068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19070 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
19071 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 else
19073 if test -n "$ac_ct_CXX"; then
19074 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19075 else
19076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19077 for as_dir in $PATH
19078 do
19079 IFS=$as_save_IFS
19080 test -z "$as_dir" && as_dir=.
19081 for ac_exec_ext in '' $ac_executable_extensions; do
19082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19083 ac_cv_prog_ac_ct_CXX="$ac_prog"
19084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19085 break 2
19086 fi
19087 done
19088 done
19089 IFS=$as_save_IFS
19090
19091 fi
19092 fi
19093 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19094 if test -n "$ac_ct_CXX"; then
19095 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19096 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19097 else
19098 { echo "$as_me:$LINENO: result: no" >&5
19099 echo "${ECHO_T}no" >&6; }
19100 fi
19101
19102
19103 test -n "$ac_ct_CXX" && break
19104 done
19105
19106 if test "x$ac_ct_CXX" = x; then
19107 CXX="g++"
19108 else
19109 case $cross_compiling:$ac_tool_warned in
19110 yes:)
19111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19112 whose name does not start with the host triplet. If you think this
19113 configuration is useful to you, please write to autoconf@gnu.org." >&5
19114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19115 whose name does not start with the host triplet. If you think this
19116 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19117 ac_tool_warned=yes ;;
19118 esac
19119 CXX=$ac_ct_CXX
19120 fi
19121 fi
19122
19123 fi
19124 fi
19125 # Provide some information about the compiler.
19126 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19127 ac_compiler=`set X $ac_compile; echo $2`
19128 { (ac_try="$ac_compiler --version >&5"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19132 esac
19133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_compiler --version >&5") 2>&5
19135 ac_status=$?
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }
19138 { (ac_try="$ac_compiler -v >&5"
19139 case "(($ac_try" in
19140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19141 *) ac_try_echo=$ac_try;;
19142 esac
19143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19144 (eval "$ac_compiler -v >&5") 2>&5
19145 ac_status=$?
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }
19148 { (ac_try="$ac_compiler -V >&5"
19149 case "(($ac_try" in
19150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19151 *) ac_try_echo=$ac_try;;
19152 esac
19153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19154 (eval "$ac_compiler -V >&5") 2>&5
19155 ac_status=$?
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }
19158
19159 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19160 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19161 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 else
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170
19171 int
19172 main ()
19173 {
19174 #ifndef __GNUC__
19175 choke me
19176 #endif
19177
19178 ;
19179 return 0;
19180 }
19181 _ACEOF
19182 rm -f conftest.$ac_objext
19183 if { (ac_try="$ac_compile"
19184 case "(($ac_try" in
19185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19186 *) ac_try_echo=$ac_try;;
19187 esac
19188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19189 (eval "$ac_compile") 2>conftest.er1
19190 ac_status=$?
19191 grep -v '^ *+' conftest.er1 >conftest.err
19192 rm -f conftest.er1
19193 cat conftest.err >&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } && {
19196 test -z "$ac_cxx_werror_flag" ||
19197 test ! -s conftest.err
19198 } && test -s conftest.$ac_objext; then
19199 ac_compiler_gnu=yes
19200 else
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.$ac_ext >&5
19203
19204 ac_compiler_gnu=no
19205 fi
19206
19207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19208 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19209
19210 fi
19211 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19212 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19213 GXX=`test $ac_compiler_gnu = yes && echo yes`
19214 ac_test_CXXFLAGS=${CXXFLAGS+set}
19215 ac_save_CXXFLAGS=$CXXFLAGS
19216 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19217 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19218 if test "${ac_cv_prog_cxx_g+set}" = set; then
19219 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 else
19221 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19222 ac_cxx_werror_flag=yes
19223 ac_cv_prog_cxx_g=no
19224 CXXFLAGS="-g"
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231
19232 int
19233 main ()
19234 {
19235
19236 ;
19237 return 0;
19238 }
19239 _ACEOF
19240 rm -f conftest.$ac_objext
19241 if { (ac_try="$ac_compile"
19242 case "(($ac_try" in
19243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19245 esac
19246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19247 (eval "$ac_compile") 2>conftest.er1
19248 ac_status=$?
19249 grep -v '^ *+' conftest.er1 >conftest.err
19250 rm -f conftest.er1
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } && {
19254 test -z "$ac_cxx_werror_flag" ||
19255 test ! -s conftest.err
19256 } && test -s conftest.$ac_objext; then
19257 ac_cv_prog_cxx_g=yes
19258 else
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19261
19262 CXXFLAGS=""
19263 cat >conftest.$ac_ext <<_ACEOF
19264 /* confdefs.h. */
19265 _ACEOF
19266 cat confdefs.h >>conftest.$ac_ext
19267 cat >>conftest.$ac_ext <<_ACEOF
19268 /* end confdefs.h. */
19269
19270 int
19271 main ()
19272 {
19273
19274 ;
19275 return 0;
19276 }
19277 _ACEOF
19278 rm -f conftest.$ac_objext
19279 if { (ac_try="$ac_compile"
19280 case "(($ac_try" in
19281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19282 *) ac_try_echo=$ac_try;;
19283 esac
19284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19285 (eval "$ac_compile") 2>conftest.er1
19286 ac_status=$?
19287 grep -v '^ *+' conftest.er1 >conftest.err
19288 rm -f conftest.er1
19289 cat conftest.err >&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } && {
19292 test -z "$ac_cxx_werror_flag" ||
19293 test ! -s conftest.err
19294 } && test -s conftest.$ac_objext; then
19295 :
19296 else
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.$ac_ext >&5
19299
19300 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19301 CXXFLAGS="-g"
19302 cat >conftest.$ac_ext <<_ACEOF
19303 /* confdefs.h. */
19304 _ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308
19309 int
19310 main ()
19311 {
19312
19313 ;
19314 return 0;
19315 }
19316 _ACEOF
19317 rm -f conftest.$ac_objext
19318 if { (ac_try="$ac_compile"
19319 case "(($ac_try" in
19320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19322 esac
19323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_compile") 2>conftest.er1
19325 ac_status=$?
19326 grep -v '^ *+' conftest.er1 >conftest.err
19327 rm -f conftest.er1
19328 cat conftest.err >&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } && {
19331 test -z "$ac_cxx_werror_flag" ||
19332 test ! -s conftest.err
19333 } && test -s conftest.$ac_objext; then
19334 ac_cv_prog_cxx_g=yes
19335 else
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19338
19339
19340 fi
19341
19342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19343 fi
19344
19345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19346 fi
19347
19348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19349 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19350 fi
19351 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19352 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19353 if test "$ac_test_CXXFLAGS" = set; then
19354 CXXFLAGS=$ac_save_CXXFLAGS
19355 elif test $ac_cv_prog_cxx_g = yes; then
19356 if test "$GXX" = yes; then
19357 CXXFLAGS="-g -O2"
19358 else
19359 CXXFLAGS="-g"
19360 fi
19361 else
19362 if test "$GXX" = yes; then
19363 CXXFLAGS="-O2"
19364 else
19365 CXXFLAGS=
19366 fi
19367 fi
19368 ac_ext=c
19369 ac_cpp='$CPP $CPPFLAGS'
19370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19373
19374
19375
19376
19377 ac_ext=cpp
19378 ac_cpp='$CXXCPP $CPPFLAGS'
19379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19382
19383 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19384 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19385 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19386 echo $ECHO_N "(cached) $ECHO_C" >&6
19387 else
19388 cat >conftest.$ac_ext <<_ACEOF
19389 /* confdefs.h. */
19390 _ACEOF
19391 cat confdefs.h >>conftest.$ac_ext
19392 cat >>conftest.$ac_ext <<_ACEOF
19393 /* end confdefs.h. */
19394
19395 int
19396 main ()
19397 {
19398
19399 #ifndef __INTEL_COMPILER
19400 choke me
19401 #endif
19402
19403 ;
19404 return 0;
19405 }
19406 _ACEOF
19407 rm -f conftest.$ac_objext
19408 if { (ac_try="$ac_compile"
19409 case "(($ac_try" in
19410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19411 *) ac_try_echo=$ac_try;;
19412 esac
19413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19414 (eval "$ac_compile") 2>conftest.er1
19415 ac_status=$?
19416 grep -v '^ *+' conftest.er1 >conftest.err
19417 rm -f conftest.er1
19418 cat conftest.err >&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); } && {
19421 test -z "$ac_cxx_werror_flag" ||
19422 test ! -s conftest.err
19423 } && test -s conftest.$ac_objext; then
19424 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19425 else
19426 echo "$as_me: failed program was:" >&5
19427 sed 's/^/| /' conftest.$ac_ext >&5
19428
19429 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19430
19431 fi
19432
19433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19434
19435
19436 fi
19437 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19438 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19439 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19440 :; INTELCXX=yes
19441 else
19442 :;
19443 fi
19444 ac_ext=c
19445 ac_cpp='$CPP $CPPFLAGS'
19446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19449
19450
19451
19452
19453 if test "x$GCXX" != "xyes"; then
19454 if test "xCXX" = "xC"; then
19455 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19456 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19457 if test "${bakefile_cv_c_exto+set}" = set; then
19458 echo $ECHO_N "(cached) $ECHO_C" >&6
19459 else
19460 cat >conftest.$ac_ext <<_ACEOF
19461 /* confdefs.h. */
19462 _ACEOF
19463 cat confdefs.h >>conftest.$ac_ext
19464 cat >>conftest.$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19466
19467 int
19468 main ()
19469 {
19470
19471 ;
19472 return 0;
19473 }
19474 _ACEOF
19475 rm -f conftest.$ac_objext conftest.$ac_ext.o
19476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19477 (eval $ac_compile) 2>&5
19478 ac_status=$?
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); }; then
19481 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19482 case $ac_file in
19483 conftest.$ac_ext.o)
19484 bakefile_cv_c_exto="-ext o"
19485 ;;
19486 *)
19487 ;;
19488 esac
19489 done
19490 else
19491 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19492 See \`config.log' for more details." >&5
19493 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19494 See \`config.log' for more details." >&2;}
19495 { (exit 1); exit 1; }; }
19496
19497 fi
19498
19499 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19500
19501 fi
19502 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19503 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19504 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19505 if test "c" = "c"; then
19506 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19507 fi
19508 if test "c" = "cxx"; then
19509 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19510 fi
19511 fi
19512
19513 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19514 unset ac_cv_prog_cc_g
19515 ac_test_CFLAGS=${CFLAGS+set}
19516 ac_save_CFLAGS=$CFLAGS
19517 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19518 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19519 if test "${ac_cv_prog_cc_g+set}" = set; then
19520 echo $ECHO_N "(cached) $ECHO_C" >&6
19521 else
19522 ac_save_c_werror_flag=$ac_c_werror_flag
19523 ac_c_werror_flag=yes
19524 ac_cv_prog_cc_g=no
19525 CFLAGS="-g"
19526 cat >conftest.$ac_ext <<_ACEOF
19527 /* confdefs.h. */
19528 _ACEOF
19529 cat confdefs.h >>conftest.$ac_ext
19530 cat >>conftest.$ac_ext <<_ACEOF
19531 /* end confdefs.h. */
19532
19533 int
19534 main ()
19535 {
19536
19537 ;
19538 return 0;
19539 }
19540 _ACEOF
19541 rm -f conftest.$ac_objext
19542 if { (ac_try="$ac_compile"
19543 case "(($ac_try" in
19544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19545 *) ac_try_echo=$ac_try;;
19546 esac
19547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19548 (eval "$ac_compile") 2>conftest.er1
19549 ac_status=$?
19550 grep -v '^ *+' conftest.er1 >conftest.err
19551 rm -f conftest.er1
19552 cat conftest.err >&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } && {
19555 test -z "$ac_c_werror_flag" ||
19556 test ! -s conftest.err
19557 } && test -s conftest.$ac_objext; then
19558 ac_cv_prog_cc_g=yes
19559 else
19560 echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.$ac_ext >&5
19562
19563 CFLAGS=""
19564 cat >conftest.$ac_ext <<_ACEOF
19565 /* confdefs.h. */
19566 _ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570
19571 int
19572 main ()
19573 {
19574
19575 ;
19576 return 0;
19577 }
19578 _ACEOF
19579 rm -f conftest.$ac_objext
19580 if { (ac_try="$ac_compile"
19581 case "(($ac_try" in
19582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19583 *) ac_try_echo=$ac_try;;
19584 esac
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586 (eval "$ac_compile") 2>conftest.er1
19587 ac_status=$?
19588 grep -v '^ *+' conftest.er1 >conftest.err
19589 rm -f conftest.er1
19590 cat conftest.err >&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } && {
19593 test -z "$ac_c_werror_flag" ||
19594 test ! -s conftest.err
19595 } && test -s conftest.$ac_objext; then
19596 :
19597 else
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.$ac_ext >&5
19600
19601 ac_c_werror_flag=$ac_save_c_werror_flag
19602 CFLAGS="-g"
19603 cat >conftest.$ac_ext <<_ACEOF
19604 /* confdefs.h. */
19605 _ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609
19610 int
19611 main ()
19612 {
19613
19614 ;
19615 return 0;
19616 }
19617 _ACEOF
19618 rm -f conftest.$ac_objext
19619 if { (ac_try="$ac_compile"
19620 case "(($ac_try" in
19621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19622 *) ac_try_echo=$ac_try;;
19623 esac
19624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19625 (eval "$ac_compile") 2>conftest.er1
19626 ac_status=$?
19627 grep -v '^ *+' conftest.er1 >conftest.err
19628 rm -f conftest.er1
19629 cat conftest.err >&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } && {
19632 test -z "$ac_c_werror_flag" ||
19633 test ! -s conftest.err
19634 } && test -s conftest.$ac_objext; then
19635 ac_cv_prog_cc_g=yes
19636 else
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19639
19640
19641 fi
19642
19643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19644 fi
19645
19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19647 fi
19648
19649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19650 ac_c_werror_flag=$ac_save_c_werror_flag
19651 fi
19652 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19653 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19654 if test "$ac_test_CFLAGS" = set; then
19655 CFLAGS=$ac_save_CFLAGS
19656 elif test $ac_cv_prog_cc_g = yes; then
19657 if test "$GCC" = yes; then
19658 CFLAGS="-g -O2"
19659 else
19660 CFLAGS="-g"
19661 fi
19662 else
19663 if test "$GCC" = yes; then
19664 CFLAGS="-O2"
19665 else
19666 CFLAGS=
19667 fi
19668 fi
19669 fi
19670 fi
19671
19672 case `uname -s` in
19673 AIX*)
19674
19675
19676 ac_ext=cpp
19677 ac_cpp='$CXXCPP $CPPFLAGS'
19678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19681
19682 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19683 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19684 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19686 else
19687 cat >conftest.$ac_ext <<_ACEOF
19688 /* confdefs.h. */
19689 _ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693
19694 int
19695 main ()
19696 {
19697
19698 #ifndef __xlC__
19699 choke me
19700 #endif
19701
19702 ;
19703 return 0;
19704 }
19705 _ACEOF
19706 rm -f conftest.$ac_objext
19707 if { (ac_try="$ac_compile"
19708 case "(($ac_try" in
19709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19710 *) ac_try_echo=$ac_try;;
19711 esac
19712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19713 (eval "$ac_compile") 2>conftest.er1
19714 ac_status=$?
19715 grep -v '^ *+' conftest.er1 >conftest.err
19716 rm -f conftest.er1
19717 cat conftest.err >&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } && {
19720 test -z "$ac_cxx_werror_flag" ||
19721 test ! -s conftest.err
19722 } && test -s conftest.$ac_objext; then
19723 bakefile_cv_cxx_compiler___xlC__=yes
19724 else
19725 echo "$as_me: failed program was:" >&5
19726 sed 's/^/| /' conftest.$ac_ext >&5
19727
19728 bakefile_cv_cxx_compiler___xlC__=no
19729
19730 fi
19731
19732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19733
19734
19735 fi
19736 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19737 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19738 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19739 :; XLCXX=yes
19740 else
19741 :;
19742 fi
19743 ac_ext=c
19744 ac_cpp='$CPP $CPPFLAGS'
19745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19748
19749
19750
19751 ;;
19752
19753 Darwin)
19754
19755
19756 ac_ext=cpp
19757 ac_cpp='$CXXCPP $CPPFLAGS'
19758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19761
19762 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19763 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19764 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19766 else
19767 cat >conftest.$ac_ext <<_ACEOF
19768 /* confdefs.h. */
19769 _ACEOF
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773
19774 int
19775 main ()
19776 {
19777
19778 #ifndef __MWERKS__
19779 choke me
19780 #endif
19781
19782 ;
19783 return 0;
19784 }
19785 _ACEOF
19786 rm -f conftest.$ac_objext
19787 if { (ac_try="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19790 *) ac_try_echo=$ac_try;;
19791 esac
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19794 ac_status=$?
19795 grep -v '^ *+' conftest.er1 >conftest.err
19796 rm -f conftest.er1
19797 cat conftest.err >&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_cxx_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.$ac_objext; then
19803 bakefile_cv_cxx_compiler___MWERKS__=yes
19804 else
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.$ac_ext >&5
19807
19808 bakefile_cv_cxx_compiler___MWERKS__=no
19809
19810 fi
19811
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19813
19814
19815 fi
19816 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19817 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19818 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19819 :; MWCXX=yes
19820 else
19821 :;
19822 fi
19823 ac_ext=c
19824 ac_cpp='$CPP $CPPFLAGS'
19825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19828
19829
19830
19831
19832
19833 ac_ext=cpp
19834 ac_cpp='$CXXCPP $CPPFLAGS'
19835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19838
19839 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19840 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19841 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19842 echo $ECHO_N "(cached) $ECHO_C" >&6
19843 else
19844 cat >conftest.$ac_ext <<_ACEOF
19845 /* confdefs.h. */
19846 _ACEOF
19847 cat confdefs.h >>conftest.$ac_ext
19848 cat >>conftest.$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19850
19851 int
19852 main ()
19853 {
19854
19855 #ifndef __xlC__
19856 choke me
19857 #endif
19858
19859 ;
19860 return 0;
19861 }
19862 _ACEOF
19863 rm -f conftest.$ac_objext
19864 if { (ac_try="$ac_compile"
19865 case "(($ac_try" in
19866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19867 *) ac_try_echo=$ac_try;;
19868 esac
19869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19870 (eval "$ac_compile") 2>conftest.er1
19871 ac_status=$?
19872 grep -v '^ *+' conftest.er1 >conftest.err
19873 rm -f conftest.er1
19874 cat conftest.err >&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } && {
19877 test -z "$ac_cxx_werror_flag" ||
19878 test ! -s conftest.err
19879 } && test -s conftest.$ac_objext; then
19880 bakefile_cv_cxx_compiler___xlC__=yes
19881 else
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.$ac_ext >&5
19884
19885 bakefile_cv_cxx_compiler___xlC__=no
19886
19887 fi
19888
19889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890
19891
19892 fi
19893 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19894 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19895 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19896 :; XLCXX=yes
19897 else
19898 :;
19899 fi
19900 ac_ext=c
19901 ac_cpp='$CPP $CPPFLAGS'
19902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19905
19906
19907
19908 ;;
19909
19910 IRIX*)
19911
19912
19913 ac_ext=cpp
19914 ac_cpp='$CXXCPP $CPPFLAGS'
19915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19918
19919 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19920 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19921 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 else
19924 cat >conftest.$ac_ext <<_ACEOF
19925 /* confdefs.h. */
19926 _ACEOF
19927 cat confdefs.h >>conftest.$ac_ext
19928 cat >>conftest.$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930
19931 int
19932 main ()
19933 {
19934
19935 #ifndef _SGI_COMPILER_VERSION
19936 choke me
19937 #endif
19938
19939 ;
19940 return 0;
19941 }
19942 _ACEOF
19943 rm -f conftest.$ac_objext
19944 if { (ac_try="$ac_compile"
19945 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19948 esac
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_compile") 2>conftest.er1
19951 ac_status=$?
19952 grep -v '^ *+' conftest.er1 >conftest.err
19953 rm -f conftest.er1
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_cxx_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest.$ac_objext; then
19960 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19961 else
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.$ac_ext >&5
19964
19965 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19966
19967 fi
19968
19969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19970
19971
19972 fi
19973 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19974 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19975 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19976 :; SGICXX=yes
19977 else
19978 :;
19979 fi
19980 ac_ext=c
19981 ac_cpp='$CPP $CPPFLAGS'
19982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19985
19986
19987
19988 ;;
19989
19990 Linux*)
19991
19992
19993 ac_ext=cpp
19994 ac_cpp='$CXXCPP $CPPFLAGS'
19995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19998
19999 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20000 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20001 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 else
20004 cat >conftest.$ac_ext <<_ACEOF
20005 /* confdefs.h. */
20006 _ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010
20011 int
20012 main ()
20013 {
20014
20015 #ifndef __SUNPRO_CC
20016 choke me
20017 #endif
20018
20019 ;
20020 return 0;
20021 }
20022 _ACEOF
20023 rm -f conftest.$ac_objext
20024 if { (ac_try="$ac_compile"
20025 case "(($ac_try" in
20026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20027 *) ac_try_echo=$ac_try;;
20028 esac
20029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_compile") 2>conftest.er1
20031 ac_status=$?
20032 grep -v '^ *+' conftest.er1 >conftest.err
20033 rm -f conftest.er1
20034 cat conftest.err >&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } && {
20037 test -z "$ac_cxx_werror_flag" ||
20038 test ! -s conftest.err
20039 } && test -s conftest.$ac_objext; then
20040 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20044
20045 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20046
20047 fi
20048
20049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20050
20051
20052 fi
20053 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20054 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20055 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20056 :; SUNCXX=yes
20057 else
20058 :;
20059 fi
20060 ac_ext=c
20061 ac_cpp='$CPP $CPPFLAGS'
20062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20065
20066
20067
20068 ;;
20069
20070 HP-UX*)
20071
20072
20073 ac_ext=cpp
20074 ac_cpp='$CXXCPP $CPPFLAGS'
20075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20078
20079 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
20080 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20081 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20082 echo $ECHO_N "(cached) $ECHO_C" >&6
20083 else
20084 cat >conftest.$ac_ext <<_ACEOF
20085 /* confdefs.h. */
20086 _ACEOF
20087 cat confdefs.h >>conftest.$ac_ext
20088 cat >>conftest.$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090
20091 int
20092 main ()
20093 {
20094
20095 #ifndef __HP_aCC
20096 choke me
20097 #endif
20098
20099 ;
20100 return 0;
20101 }
20102 _ACEOF
20103 rm -f conftest.$ac_objext
20104 if { (ac_try="$ac_compile"
20105 case "(($ac_try" in
20106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20107 *) ac_try_echo=$ac_try;;
20108 esac
20109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20110 (eval "$ac_compile") 2>conftest.er1
20111 ac_status=$?
20112 grep -v '^ *+' conftest.er1 >conftest.err
20113 rm -f conftest.er1
20114 cat conftest.err >&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); } && {
20117 test -z "$ac_cxx_werror_flag" ||
20118 test ! -s conftest.err
20119 } && test -s conftest.$ac_objext; then
20120 bakefile_cv_cxx_compiler___HP_aCC=yes
20121 else
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.$ac_ext >&5
20124
20125 bakefile_cv_cxx_compiler___HP_aCC=no
20126
20127 fi
20128
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20130
20131
20132 fi
20133 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20134 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20135 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20136 :; HPCXX=yes
20137 else
20138 :;
20139 fi
20140 ac_ext=c
20141 ac_cpp='$CPP $CPPFLAGS'
20142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20145
20146
20147
20148 ;;
20149
20150 OSF1)
20151
20152
20153 ac_ext=cpp
20154 ac_cpp='$CXXCPP $CPPFLAGS'
20155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20158
20159 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20160 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20161 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20162 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 else
20164 cat >conftest.$ac_ext <<_ACEOF
20165 /* confdefs.h. */
20166 _ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170
20171 int
20172 main ()
20173 {
20174
20175 #ifndef __DECCXX
20176 choke me
20177 #endif
20178
20179 ;
20180 return 0;
20181 }
20182 _ACEOF
20183 rm -f conftest.$ac_objext
20184 if { (ac_try="$ac_compile"
20185 case "(($ac_try" in
20186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20187 *) ac_try_echo=$ac_try;;
20188 esac
20189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20190 (eval "$ac_compile") 2>conftest.er1
20191 ac_status=$?
20192 grep -v '^ *+' conftest.er1 >conftest.err
20193 rm -f conftest.er1
20194 cat conftest.err >&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } && {
20197 test -z "$ac_cxx_werror_flag" ||
20198 test ! -s conftest.err
20199 } && test -s conftest.$ac_objext; then
20200 bakefile_cv_cxx_compiler___DECCXX=yes
20201 else
20202 echo "$as_me: failed program was:" >&5
20203 sed 's/^/| /' conftest.$ac_ext >&5
20204
20205 bakefile_cv_cxx_compiler___DECCXX=no
20206
20207 fi
20208
20209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20210
20211
20212 fi
20213 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20214 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20215 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20216 :; COMPAQCXX=yes
20217 else
20218 :;
20219 fi
20220 ac_ext=c
20221 ac_cpp='$CPP $CPPFLAGS'
20222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20225
20226
20227
20228 ;;
20229
20230 SunOS)
20231
20232
20233 ac_ext=cpp
20234 ac_cpp='$CXXCPP $CPPFLAGS'
20235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20238
20239 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20240 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20241 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20242 echo $ECHO_N "(cached) $ECHO_C" >&6
20243 else
20244 cat >conftest.$ac_ext <<_ACEOF
20245 /* confdefs.h. */
20246 _ACEOF
20247 cat confdefs.h >>conftest.$ac_ext
20248 cat >>conftest.$ac_ext <<_ACEOF
20249 /* end confdefs.h. */
20250
20251 int
20252 main ()
20253 {
20254
20255 #ifndef __SUNPRO_CC
20256 choke me
20257 #endif
20258
20259 ;
20260 return 0;
20261 }
20262 _ACEOF
20263 rm -f conftest.$ac_objext
20264 if { (ac_try="$ac_compile"
20265 case "(($ac_try" in
20266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20267 *) ac_try_echo=$ac_try;;
20268 esac
20269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20270 (eval "$ac_compile") 2>conftest.er1
20271 ac_status=$?
20272 grep -v '^ *+' conftest.er1 >conftest.err
20273 rm -f conftest.er1
20274 cat conftest.err >&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } && {
20277 test -z "$ac_cxx_werror_flag" ||
20278 test ! -s conftest.err
20279 } && test -s conftest.$ac_objext; then
20280 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20281 else
20282 echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.$ac_ext >&5
20284
20285 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20286
20287 fi
20288
20289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20290
20291
20292 fi
20293 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20294 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20295 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20296 :; SUNCXX=yes
20297 else
20298 :;
20299 fi
20300 ac_ext=c
20301 ac_cpp='$CPP $CPPFLAGS'
20302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20305
20306
20307
20308 ;;
20309 esac
20310 fi
20311
20312
20313
20314 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20315 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20316 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20317 { (exit 1); exit 1; }; }
20318 fi
20319
20320 if test "x$SUNCXX" != xyes; then
20321 if test -n "$ac_tool_prefix"; then
20322 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20323 set dummy ${ac_tool_prefix}ar; ac_word=$2
20324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20326 if test "${ac_cv_prog_AR+set}" = set; then
20327 echo $ECHO_N "(cached) $ECHO_C" >&6
20328 else
20329 if test -n "$AR"; then
20330 ac_cv_prog_AR="$AR" # Let the user override the test.
20331 else
20332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20333 for as_dir in $PATH
20334 do
20335 IFS=$as_save_IFS
20336 test -z "$as_dir" && as_dir=.
20337 for ac_exec_ext in '' $ac_executable_extensions; do
20338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20339 ac_cv_prog_AR="${ac_tool_prefix}ar"
20340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20341 break 2
20342 fi
20343 done
20344 done
20345 IFS=$as_save_IFS
20346
20347 fi
20348 fi
20349 AR=$ac_cv_prog_AR
20350 if test -n "$AR"; then
20351 { echo "$as_me:$LINENO: result: $AR" >&5
20352 echo "${ECHO_T}$AR" >&6; }
20353 else
20354 { echo "$as_me:$LINENO: result: no" >&5
20355 echo "${ECHO_T}no" >&6; }
20356 fi
20357
20358
20359 fi
20360 if test -z "$ac_cv_prog_AR"; then
20361 ac_ct_AR=$AR
20362 # Extract the first word of "ar", so it can be a program name with args.
20363 set dummy ar; ac_word=$2
20364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20366 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20367 echo $ECHO_N "(cached) $ECHO_C" >&6
20368 else
20369 if test -n "$ac_ct_AR"; then
20370 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20371 else
20372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20373 for as_dir in $PATH
20374 do
20375 IFS=$as_save_IFS
20376 test -z "$as_dir" && as_dir=.
20377 for ac_exec_ext in '' $ac_executable_extensions; do
20378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20379 ac_cv_prog_ac_ct_AR="ar"
20380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20381 break 2
20382 fi
20383 done
20384 done
20385 IFS=$as_save_IFS
20386
20387 fi
20388 fi
20389 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20390 if test -n "$ac_ct_AR"; then
20391 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20392 echo "${ECHO_T}$ac_ct_AR" >&6; }
20393 else
20394 { echo "$as_me:$LINENO: result: no" >&5
20395 echo "${ECHO_T}no" >&6; }
20396 fi
20397
20398 if test "x$ac_ct_AR" = x; then
20399 AR=""
20400 else
20401 case $cross_compiling:$ac_tool_warned in
20402 yes:)
20403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20404 whose name does not start with the host triplet. If you think this
20405 configuration is useful to you, please write to autoconf@gnu.org." >&5
20406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20407 whose name does not start with the host triplet. If you think this
20408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20409 ac_tool_warned=yes ;;
20410 esac
20411 AR=$ac_ct_AR
20412 fi
20413 else
20414 AR="$ac_cv_prog_AR"
20415 fi
20416
20417 if test "x$AR" = "x" ; then
20418 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20419 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20420 { (exit 1); exit 1; }; }
20421 fi
20422 fi
20423
20424 retest_macosx_linking=no
20425
20426 #if test "$wxUSE_MAC" = 1; then
20427 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20428 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20429 # Implicitly turn on the new --with-macosx-sdk using the default
20430 # SDK which provides the behavior this option has always had.
20431 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20432 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20433 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20434 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20435 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20436 wxUSE_MACOSX_SDK=yes
20437 fi
20438 else
20439 # Complain to user if he specified an argument to --enable-universal_binary
20440 # and also 1) specified --with-macosx-sdk using the default (yes) or
20441 # 2) specified --with-macosx-sdk using a path or 3) specified
20442 # --without-macosx-sdk (no).
20443 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20444 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20445 See \`config.log' for more details." >&5
20446 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20447 See \`config.log' for more details." >&2;}
20448 { (exit 1); exit 1; }; }
20449 else
20450 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20451 # special-case the empty string because the below test simply
20452 # converts "no" to the empty string anyway.
20453 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20454 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20455 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20456 fi
20457 fi
20458 OSX_UNIV_OPTS="-arch ppc -arch i386"
20459 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20460 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20461 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20462 retest_macosx_linking=yes
20463
20464 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20465 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20466 bk_use_pch=no
20467 fi
20468 #fi
20469
20470 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20471 wxUSE_MACOSX_SDK=
20472 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20473 # TODO: Search for most recent SDK and use it.
20474 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20475 fi
20476
20477
20478 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20479 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20480 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20481 if ! test -d "$wxUSE_MACOSX_SDK"; then
20482 { { echo "$as_me:$LINENO: error: not found
20483 See \`config.log' for more details." >&5
20484 echo "$as_me: error: not found
20485 See \`config.log' for more details." >&2;}
20486 { (exit 1); exit 1; }; }
20487 else
20488 { echo "$as_me:$LINENO: result: exists" >&5
20489 echo "${ECHO_T}exists" >&6; }
20490 fi
20491 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20492 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20493 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20494 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20495 retest_macosx_linking=yes
20496 fi
20497
20498 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20499 wxUSE_MACOSX_VERSION_MIN=
20500 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20501 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20502 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20503 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20504
20505 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20506
20507 # If that failed, try again with the new key
20508 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20509
20510 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20511
20512 fi
20513
20514 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20515 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20516 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20517 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20518 else
20519 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20520 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20521 wxUSE_MACOSX_VERSION_MIN=
20522 fi
20523 else
20524 wxUSE_MACOSX_VERSION_MIN=
20525 fi
20526 fi
20527
20528 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20529 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20530 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20531 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20532 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20533 retest_macosx_linking=yes
20534 fi
20535
20536 if test "x$retest_macosx_linking" = "xyes"; then
20537 ac_ext=c
20538 ac_cpp='$CPP $CPPFLAGS'
20539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20542
20543 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20544 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20545 cat >conftest.$ac_ext <<_ACEOF
20546 /* confdefs.h. */
20547 _ACEOF
20548 cat confdefs.h >>conftest.$ac_ext
20549 cat >>conftest.$ac_ext <<_ACEOF
20550 /* end confdefs.h. */
20551
20552 int
20553 main ()
20554 {
20555
20556 ;
20557 return 0;
20558 }
20559 _ACEOF
20560 rm -f conftest.$ac_objext conftest$ac_exeext
20561 if { (ac_try="$ac_link"
20562 case "(($ac_try" in
20563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20564 *) ac_try_echo=$ac_try;;
20565 esac
20566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20567 (eval "$ac_link") 2>conftest.er1
20568 ac_status=$?
20569 grep -v '^ *+' conftest.er1 >conftest.err
20570 rm -f conftest.er1
20571 cat conftest.err >&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } && {
20574 test -z "$ac_c_werror_flag" ||
20575 test ! -s conftest.err
20576 } && test -s conftest$ac_exeext &&
20577 $as_test_x conftest$ac_exeext; then
20578 { echo "$as_me:$LINENO: result: yes" >&5
20579 echo "${ECHO_T}yes" >&6; }
20580 else
20581 echo "$as_me: failed program was:" >&5
20582 sed 's/^/| /' conftest.$ac_ext >&5
20583
20584 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20585 See \`config.log' for more details." >&5
20586 echo "$as_me: error: no. Try a different SDK
20587 See \`config.log' for more details." >&2;}
20588 { (exit 1); exit 1; }; }; exit 1
20589 fi
20590
20591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20592 conftest$ac_exeext conftest.$ac_ext
20593 ac_ext=c
20594 ac_cpp='$CPP $CPPFLAGS'
20595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20598
20599
20600 ac_ext=cpp
20601 ac_cpp='$CXXCPP $CPPFLAGS'
20602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20605
20606 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20607 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20608 cat >conftest.$ac_ext <<_ACEOF
20609 /* confdefs.h. */
20610 _ACEOF
20611 cat confdefs.h >>conftest.$ac_ext
20612 cat >>conftest.$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614
20615 int
20616 main ()
20617 {
20618
20619 ;
20620 return 0;
20621 }
20622 _ACEOF
20623 rm -f conftest.$ac_objext conftest$ac_exeext
20624 if { (ac_try="$ac_link"
20625 case "(($ac_try" in
20626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20627 *) ac_try_echo=$ac_try;;
20628 esac
20629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20630 (eval "$ac_link") 2>conftest.er1
20631 ac_status=$?
20632 grep -v '^ *+' conftest.er1 >conftest.err
20633 rm -f conftest.er1
20634 cat conftest.err >&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } && {
20637 test -z "$ac_cxx_werror_flag" ||
20638 test ! -s conftest.err
20639 } && test -s conftest$ac_exeext &&
20640 $as_test_x conftest$ac_exeext; then
20641 { echo "$as_me:$LINENO: result: yes" >&5
20642 echo "${ECHO_T}yes" >&6; }
20643 else
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20646
20647 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20648 See \`config.log' for more details." >&5
20649 echo "$as_me: error: no. Try a different SDK
20650 See \`config.log' for more details." >&2;}
20651 { (exit 1); exit 1; }; }; exit 1
20652 fi
20653
20654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20655 conftest$ac_exeext conftest.$ac_ext
20656 ac_ext=c
20657 ac_cpp='$CPP $CPPFLAGS'
20658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20661
20662 fi
20663
20664
20665 case "${host}" in
20666
20667 *-*-darwin* )
20668 INSTALL_PROGRAM="cp -fp"
20669 INSTALL_DATA="cp -fp"
20670 ;;
20671 *)
20672 ;;
20673 esac
20674
20675
20676 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20677 CXXFLAGS="-qunique $CXXFLAGS"
20678 fi
20679
20680 case "${host}" in
20681 powerpc-*-darwin* )
20682 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20683 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20684 cat >conftest.$ac_ext <<_ACEOF
20685 /* confdefs.h. */
20686 _ACEOF
20687 cat confdefs.h >>conftest.$ac_ext
20688 cat >>conftest.$ac_ext <<_ACEOF
20689 /* end confdefs.h. */
20690
20691 int
20692 main ()
20693 {
20694 #ifndef __POWERPC__
20695 choke me for lack of PowerPC
20696 #endif
20697
20698 ;
20699 return 0;
20700 }
20701 _ACEOF
20702 rm -f conftest.$ac_objext
20703 if { (ac_try="$ac_compile"
20704 case "(($ac_try" in
20705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20706 *) ac_try_echo=$ac_try;;
20707 esac
20708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20709 (eval "$ac_compile") 2>conftest.er1
20710 ac_status=$?
20711 grep -v '^ *+' conftest.er1 >conftest.err
20712 rm -f conftest.er1
20713 cat conftest.err >&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } && {
20716 test -z "$ac_c_werror_flag" ||
20717 test ! -s conftest.err
20718 } && test -s conftest.$ac_objext; then
20719 { echo "$as_me:$LINENO: result: yes" >&5
20720 echo "${ECHO_T}yes" >&6; }
20721 else
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20724
20725 { echo "$as_me:$LINENO: result: no" >&5
20726 echo "${ECHO_T}no" >&6; }
20727 cat >>confdefs.h <<\_ACEOF
20728 #define __POWERPC__ 1
20729 _ACEOF
20730
20731
20732 fi
20733
20734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20735 ;;
20736 esac
20737
20738 case "${host}" in
20739 *-*-darwin* )
20740 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20741 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20742 cat >conftest.$ac_ext <<_ACEOF
20743 /* confdefs.h. */
20744 _ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20748 #include <CoreFoundation/CFBase.h>
20749
20750 int
20751 main ()
20752 {
20753
20754 ;
20755 return 0;
20756 }
20757 _ACEOF
20758 rm -f conftest.$ac_objext
20759 if { (ac_try="$ac_compile"
20760 case "(($ac_try" in
20761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20762 *) ac_try_echo=$ac_try;;
20763 esac
20764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20765 (eval "$ac_compile") 2>conftest.er1
20766 ac_status=$?
20767 grep -v '^ *+' conftest.er1 >conftest.err
20768 rm -f conftest.er1
20769 cat conftest.err >&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } && {
20772 test -z "$ac_c_werror_flag" ||
20773 test ! -s conftest.err
20774 } && test -s conftest.$ac_objext; then
20775 { echo "$as_me:$LINENO: result: yes" >&5
20776 echo "${ECHO_T}yes" >&6; }
20777 else
20778 echo "$as_me: failed program was:" >&5
20779 sed 's/^/| /' conftest.$ac_ext >&5
20780
20781 { echo "$as_me:$LINENO: result: no" >&5
20782 echo "${ECHO_T}no" >&6; }
20783 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20784 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20785 cat >conftest.$ac_ext <<_ACEOF
20786 /* confdefs.h. */
20787 _ACEOF
20788 cat confdefs.h >>conftest.$ac_ext
20789 cat >>conftest.$ac_ext <<_ACEOF
20790 /* end confdefs.h. */
20791 #define __CF_USE_FRAMEWORK_INCLUDES__
20792 #include <CoreFoundation/CFBase.h>
20793
20794 int
20795 main ()
20796 {
20797
20798 ;
20799 return 0;
20800 }
20801 _ACEOF
20802 rm -f conftest.$ac_objext
20803 if { (ac_try="$ac_compile"
20804 case "(($ac_try" in
20805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20806 *) ac_try_echo=$ac_try;;
20807 esac
20808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20809 (eval "$ac_compile") 2>conftest.er1
20810 ac_status=$?
20811 grep -v '^ *+' conftest.er1 >conftest.err
20812 rm -f conftest.er1
20813 cat conftest.err >&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } && {
20816 test -z "$ac_c_werror_flag" ||
20817 test ! -s conftest.err
20818 } && test -s conftest.$ac_objext; then
20819 { echo "$as_me:$LINENO: result: yes" >&5
20820 echo "${ECHO_T}yes" >&6; }
20821 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20822 else
20823 echo "$as_me: failed program was:" >&5
20824 sed 's/^/| /' conftest.$ac_ext >&5
20825
20826 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20827 See \`config.log' for more details." >&5
20828 echo "$as_me: error: no. CoreFoundation not available.
20829 See \`config.log' for more details." >&2;}
20830 { (exit 1); exit 1; }; }
20831
20832 fi
20833
20834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20835
20836
20837 fi
20838
20839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20840 ;;
20841 esac
20842
20843 wants_win32=0
20844 doesnt_want_win32=0
20845 case "${host}" in
20846 *-*-cygwin*)
20847 if test "$wxUSE_MSW" = 1 ; then
20848 wants_win32=1
20849 else
20850 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20851 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20852 if test "${wx_cv_nocygwin+set}" = set; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 else
20855
20856 cat >conftest.$ac_ext <<_ACEOF
20857 /* confdefs.h. */
20858 _ACEOF
20859 cat confdefs.h >>conftest.$ac_ext
20860 cat >>conftest.$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20862
20863 int
20864 main ()
20865 {
20866
20867 #ifdef __MINGW32__
20868 choke me
20869 #endif
20870
20871 ;
20872 return 0;
20873 }
20874 _ACEOF
20875 rm -f conftest.$ac_objext
20876 if { (ac_try="$ac_compile"
20877 case "(($ac_try" in
20878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20880 esac
20881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20882 (eval "$ac_compile") 2>conftest.er1
20883 ac_status=$?
20884 grep -v '^ *+' conftest.er1 >conftest.err
20885 rm -f conftest.er1
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } && {
20889 test -z "$ac_c_werror_flag" ||
20890 test ! -s conftest.err
20891 } && test -s conftest.$ac_objext; then
20892 wx_cv_nocygwin=no
20893 else
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20896
20897 wx_cv_nocygwin=yes
20898
20899 fi
20900
20901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20902
20903
20904 fi
20905 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20906 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20907
20908 if test "$wx_cv_nocygwin" = "yes"; then
20909 wants_win32=1
20910 else
20911 doesnt_want_win32=1
20912 fi
20913 fi
20914 if test "$wants_win32" = 1 ; then
20915 BAKEFILE_FORCE_PLATFORM=win32
20916 fi
20917 ;;
20918 *-*-mingw*)
20919 wants_win32=1
20920 ;;
20921 esac
20922
20923 if test "$wxUSE_WINE" = "yes"; then
20924 wants_win32=1
20925 LDFLAGS_GUI="-mwindows"
20926 fi
20927
20928 if test "$wants_win32" = 1 ; then
20929 USE_UNIX=0
20930 USE_WIN32=1
20931 cat >>confdefs.h <<\_ACEOF
20932 #define __WIN32__ 1
20933 _ACEOF
20934
20935 cat >>confdefs.h <<\_ACEOF
20936 #define __WIN95__ 1
20937 _ACEOF
20938
20939 cat >>confdefs.h <<\_ACEOF
20940 #define __WINDOWS__ 1
20941 _ACEOF
20942
20943 cat >>confdefs.h <<\_ACEOF
20944 #define __GNUWIN32__ 1
20945 _ACEOF
20946
20947 cat >>confdefs.h <<\_ACEOF
20948 #define STRICT 1
20949 _ACEOF
20950
20951 fi
20952 if test "$doesnt_want_win32" = 1 ; then
20953 USE_UNIX=1
20954 USE_WIN32=0
20955 fi
20956
20957 if test "$USE_UNIX" = 1 ; then
20958 wxUSE_UNIX=yes
20959 cat >>confdefs.h <<\_ACEOF
20960 #define __UNIX__ 1
20961 _ACEOF
20962
20963 fi
20964
20965 case "${host}" in
20966 *-pc-os2_emx | *-pc-os2-emx )
20967 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20968 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20969 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20970 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20971 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 else
20973 ac_check_lib_save_LIBS=$LIBS
20974 LIBS="-lcExt $LIBS"
20975 cat >conftest.$ac_ext <<_ACEOF
20976 /* confdefs.h. */
20977 _ACEOF
20978 cat confdefs.h >>conftest.$ac_ext
20979 cat >>conftest.$ac_ext <<_ACEOF
20980 /* end confdefs.h. */
20981
20982 /* Override any GCC internal prototype to avoid an error.
20983 Use char because int might match the return type of a GCC
20984 builtin and then its argument prototype would still apply. */
20985 #ifdef __cplusplus
20986 extern "C"
20987 #endif
20988 char drand48 ();
20989 int
20990 main ()
20991 {
20992 return drand48 ();
20993 ;
20994 return 0;
20995 }
20996 _ACEOF
20997 rm -f conftest.$ac_objext conftest$ac_exeext
20998 if { (ac_try="$ac_link"
20999 case "(($ac_try" in
21000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21001 *) ac_try_echo=$ac_try;;
21002 esac
21003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21004 (eval "$ac_link") 2>conftest.er1
21005 ac_status=$?
21006 grep -v '^ *+' conftest.er1 >conftest.err
21007 rm -f conftest.er1
21008 cat conftest.err >&5
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); } && {
21011 test -z "$ac_c_werror_flag" ||
21012 test ! -s conftest.err
21013 } && test -s conftest$ac_exeext &&
21014 $as_test_x conftest$ac_exeext; then
21015 ac_cv_lib_cExt_drand48=yes
21016 else
21017 echo "$as_me: failed program was:" >&5
21018 sed 's/^/| /' conftest.$ac_ext >&5
21019
21020 ac_cv_lib_cExt_drand48=no
21021 fi
21022
21023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21024 conftest$ac_exeext conftest.$ac_ext
21025 LIBS=$ac_check_lib_save_LIBS
21026 fi
21027 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
21028 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
21029 if test $ac_cv_lib_cExt_drand48 = yes; then
21030 LIBS="$LIBS -lcExt"
21031 fi
21032
21033 else
21034 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
21035 fi
21036 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
21037 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
21038 if test "${wx_cv_gccversion+set}" = set; then
21039 echo $ECHO_N "(cached) $ECHO_C" >&6
21040 else
21041
21042 if test "$cross_compiling" = yes; then
21043 wx_cv_gccversion="EMX2"
21044
21045 else
21046 cat >conftest.$ac_ext <<_ACEOF
21047 /* confdefs.h. */
21048 _ACEOF
21049 cat confdefs.h >>conftest.$ac_ext
21050 cat >>conftest.$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21052
21053 #include <stdio.h>
21054
21055 int main()
21056 {
21057 FILE *f=fopen("conftestval", "w");
21058 if (!f) exit(1);
21059 fprintf(f,
21060 #if (__GNUC__ < 3)
21061 "EMX2"
21062 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21063 "EMX3"
21064 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21065 "Innotek5"
21066 #else
21067 "Innotek6"
21068 #endif
21069 );
21070 exit(0);
21071 }
21072
21073 _ACEOF
21074 rm -f conftest$ac_exeext
21075 if { (ac_try="$ac_link"
21076 case "(($ac_try" in
21077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21078 *) ac_try_echo=$ac_try;;
21079 esac
21080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21081 (eval "$ac_link") 2>&5
21082 ac_status=$?
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21085 { (case "(($ac_try" in
21086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21087 *) ac_try_echo=$ac_try;;
21088 esac
21089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21090 (eval "$ac_try") 2>&5
21091 ac_status=$?
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); }; }; then
21094 wx_cv_gccversion=`cat conftestval`
21095 else
21096 echo "$as_me: program exited with status $ac_status" >&5
21097 echo "$as_me: failed program was:" >&5
21098 sed 's/^/| /' conftest.$ac_ext >&5
21099
21100 ( exit $ac_status )
21101 wx_cv_gccversion="EMX2"
21102 fi
21103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21104 fi
21105
21106
21107
21108 fi
21109 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21110 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21111 if test "$wx_cv_gccversion" = "EMX2"; then
21112 LIBS="$LIBS -lstdcpp"
21113 LDFLAGS="$LDFLAGS -Zsysv-signals"
21114 else
21115 if test "$wx_cv_gccversion" = "EMX3"; then
21116 LIBS="$LIBS -lstdcxx -lgcc"
21117 LDFLAGS="$LDFLAGS -Zsysv-signals"
21118 else
21119 LIBS="$LIBS -lstdc++"
21120 fi
21121 fi
21122 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21123 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21124 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21125 wxUSE_OMF=yes
21126 enable_omf=yes
21127 fi
21128 ;;
21129 *)
21130
21131 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21132 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21133 if test "${ac_cv_string_strcasecmp+set}" = set; then
21134 echo $ECHO_N "(cached) $ECHO_C" >&6
21135 else
21136
21137 cat >conftest.$ac_ext <<_ACEOF
21138 /* confdefs.h. */
21139 _ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143
21144 #include <string.h>
21145
21146 int
21147 main ()
21148 {
21149
21150 strcasecmp("foo", "bar");
21151
21152 ;
21153 return 0;
21154 }
21155 _ACEOF
21156 rm -f conftest.$ac_objext conftest$ac_exeext
21157 if { (ac_try="$ac_link"
21158 case "(($ac_try" in
21159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21160 *) ac_try_echo=$ac_try;;
21161 esac
21162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21163 (eval "$ac_link") 2>conftest.er1
21164 ac_status=$?
21165 grep -v '^ *+' conftest.er1 >conftest.err
21166 rm -f conftest.er1
21167 cat conftest.err >&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } && {
21170 test -z "$ac_c_werror_flag" ||
21171 test ! -s conftest.err
21172 } && test -s conftest$ac_exeext &&
21173 $as_test_x conftest$ac_exeext; then
21174 ac_cv_string_strcasecmp=yes
21175 else
21176 echo "$as_me: failed program was:" >&5
21177 sed 's/^/| /' conftest.$ac_ext >&5
21178
21179 ac_cv_string_strcasecmp=no
21180
21181 fi
21182
21183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21184 conftest$ac_exeext conftest.$ac_ext
21185
21186 fi
21187 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21188 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21189
21190 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21191 cat >>confdefs.h <<\_ACEOF
21192 #define HAVE_STRCASECMP_IN_STRING_H 1
21193 _ACEOF
21194
21195 else
21196 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21197 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21198 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21199 echo $ECHO_N "(cached) $ECHO_C" >&6
21200 else
21201
21202 cat >conftest.$ac_ext <<_ACEOF
21203 /* confdefs.h. */
21204 _ACEOF
21205 cat confdefs.h >>conftest.$ac_ext
21206 cat >>conftest.$ac_ext <<_ACEOF
21207 /* end confdefs.h. */
21208
21209 #include <strings.h>
21210
21211 int
21212 main ()
21213 {
21214
21215 strcasecmp("foo", "bar");
21216
21217 ;
21218 return 0;
21219 }
21220 _ACEOF
21221 rm -f conftest.$ac_objext conftest$ac_exeext
21222 if { (ac_try="$ac_link"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21225 *) ac_try_echo=$ac_try;;
21226 esac
21227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21228 (eval "$ac_link") 2>conftest.er1
21229 ac_status=$?
21230 grep -v '^ *+' conftest.er1 >conftest.err
21231 rm -f conftest.er1
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } && {
21235 test -z "$ac_c_werror_flag" ||
21236 test ! -s conftest.err
21237 } && test -s conftest$ac_exeext &&
21238 $as_test_x conftest$ac_exeext; then
21239 ac_cv_strings_strcasecmp=yes
21240 else
21241 echo "$as_me: failed program was:" >&5
21242 sed 's/^/| /' conftest.$ac_ext >&5
21243
21244 ac_cv_strings_strcasecmp=no
21245
21246 fi
21247
21248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21249 conftest$ac_exeext conftest.$ac_ext
21250
21251 fi
21252 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21253 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21254
21255 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21256 cat >>confdefs.h <<\_ACEOF
21257 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21258 _ACEOF
21259
21260 else
21261 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21262 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21263 { (exit 1); exit 1; }; }
21264 fi
21265 fi
21266
21267 ;;
21268 esac
21269
21270
21271 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21272 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21273 if test "${ac_cv_header_stdc+set}" = set; then
21274 echo $ECHO_N "(cached) $ECHO_C" >&6
21275 else
21276 cat >conftest.$ac_ext <<_ACEOF
21277 /* confdefs.h. */
21278 _ACEOF
21279 cat confdefs.h >>conftest.$ac_ext
21280 cat >>conftest.$ac_ext <<_ACEOF
21281 /* end confdefs.h. */
21282 #include <stdlib.h>
21283 #include <stdarg.h>
21284 #include <string.h>
21285 #include <float.h>
21286
21287 int
21288 main ()
21289 {
21290
21291 ;
21292 return 0;
21293 }
21294 _ACEOF
21295 rm -f conftest.$ac_objext
21296 if { (ac_try="$ac_compile"
21297 case "(($ac_try" in
21298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21299 *) ac_try_echo=$ac_try;;
21300 esac
21301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21302 (eval "$ac_compile") 2>conftest.er1
21303 ac_status=$?
21304 grep -v '^ *+' conftest.er1 >conftest.err
21305 rm -f conftest.er1
21306 cat conftest.err >&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } && {
21309 test -z "$ac_c_werror_flag" ||
21310 test ! -s conftest.err
21311 } && test -s conftest.$ac_objext; then
21312 ac_cv_header_stdc=yes
21313 else
21314 echo "$as_me: failed program was:" >&5
21315 sed 's/^/| /' conftest.$ac_ext >&5
21316
21317 ac_cv_header_stdc=no
21318 fi
21319
21320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21321
21322 if test $ac_cv_header_stdc = yes; then
21323 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21324 cat >conftest.$ac_ext <<_ACEOF
21325 /* confdefs.h. */
21326 _ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21330 #include <string.h>
21331
21332 _ACEOF
21333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21334 $EGREP "memchr" >/dev/null 2>&1; then
21335 :
21336 else
21337 ac_cv_header_stdc=no
21338 fi
21339 rm -f conftest*
21340
21341 fi
21342
21343 if test $ac_cv_header_stdc = yes; then
21344 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21345 cat >conftest.$ac_ext <<_ACEOF
21346 /* confdefs.h. */
21347 _ACEOF
21348 cat confdefs.h >>conftest.$ac_ext
21349 cat >>conftest.$ac_ext <<_ACEOF
21350 /* end confdefs.h. */
21351 #include <stdlib.h>
21352
21353 _ACEOF
21354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21355 $EGREP "free" >/dev/null 2>&1; then
21356 :
21357 else
21358 ac_cv_header_stdc=no
21359 fi
21360 rm -f conftest*
21361
21362 fi
21363
21364 if test $ac_cv_header_stdc = yes; then
21365 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21366 if test "$cross_compiling" = yes; then
21367 :
21368 else
21369 cat >conftest.$ac_ext <<_ACEOF
21370 /* confdefs.h. */
21371 _ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375 #include <ctype.h>
21376 #include <stdlib.h>
21377 #if ((' ' & 0x0FF) == 0x020)
21378 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21379 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21380 #else
21381 # define ISLOWER(c) \
21382 (('a' <= (c) && (c) <= 'i') \
21383 || ('j' <= (c) && (c) <= 'r') \
21384 || ('s' <= (c) && (c) <= 'z'))
21385 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21386 #endif
21387
21388 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21389 int
21390 main ()
21391 {
21392 int i;
21393 for (i = 0; i < 256; i++)
21394 if (XOR (islower (i), ISLOWER (i))
21395 || toupper (i) != TOUPPER (i))
21396 return 2;
21397 return 0;
21398 }
21399 _ACEOF
21400 rm -f conftest$ac_exeext
21401 if { (ac_try="$ac_link"
21402 case "(($ac_try" in
21403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21404 *) ac_try_echo=$ac_try;;
21405 esac
21406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21407 (eval "$ac_link") 2>&5
21408 ac_status=$?
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21411 { (case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21413 *) ac_try_echo=$ac_try;;
21414 esac
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_try") 2>&5
21417 ac_status=$?
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); }; }; then
21420 :
21421 else
21422 echo "$as_me: program exited with status $ac_status" >&5
21423 echo "$as_me: failed program was:" >&5
21424 sed 's/^/| /' conftest.$ac_ext >&5
21425
21426 ( exit $ac_status )
21427 ac_cv_header_stdc=no
21428 fi
21429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21430 fi
21431
21432
21433 fi
21434 fi
21435 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21436 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21437 if test $ac_cv_header_stdc = yes; then
21438
21439 cat >>confdefs.h <<\_ACEOF
21440 #define STDC_HEADERS 1
21441 _ACEOF
21442
21443 fi
21444
21445 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21456 inttypes.h stdint.h unistd.h
21457 do
21458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21459 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21461 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21462 echo $ECHO_N "(cached) $ECHO_C" >&6
21463 else
21464 cat >conftest.$ac_ext <<_ACEOF
21465 /* confdefs.h. */
21466 _ACEOF
21467 cat confdefs.h >>conftest.$ac_ext
21468 cat >>conftest.$ac_ext <<_ACEOF
21469 /* end confdefs.h. */
21470 $ac_includes_default
21471
21472 #include <$ac_header>
21473 _ACEOF
21474 rm -f conftest.$ac_objext
21475 if { (ac_try="$ac_compile"
21476 case "(($ac_try" in
21477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21478 *) ac_try_echo=$ac_try;;
21479 esac
21480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21481 (eval "$ac_compile") 2>conftest.er1
21482 ac_status=$?
21483 grep -v '^ *+' conftest.er1 >conftest.err
21484 rm -f conftest.er1
21485 cat conftest.err >&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } && {
21488 test -z "$ac_c_werror_flag" ||
21489 test ! -s conftest.err
21490 } && test -s conftest.$ac_objext; then
21491 eval "$as_ac_Header=yes"
21492 else
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21495
21496 eval "$as_ac_Header=no"
21497 fi
21498
21499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 fi
21501 ac_res=`eval echo '${'$as_ac_Header'}'`
21502 { echo "$as_me:$LINENO: result: $ac_res" >&5
21503 echo "${ECHO_T}$ac_res" >&6; }
21504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21505 cat >>confdefs.h <<_ACEOF
21506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21507 _ACEOF
21508
21509 fi
21510
21511 done
21512
21513
21514
21515
21516 for ac_header in langinfo.h wchar.h
21517 do
21518 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21519 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21521 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21522 echo $ECHO_N "(cached) $ECHO_C" >&6
21523 else
21524 cat >conftest.$ac_ext <<_ACEOF
21525 /* confdefs.h. */
21526 _ACEOF
21527 cat confdefs.h >>conftest.$ac_ext
21528 cat >>conftest.$ac_ext <<_ACEOF
21529 /* end confdefs.h. */
21530 $ac_includes_default
21531
21532 #include <$ac_header>
21533 _ACEOF
21534 rm -f conftest.$ac_objext
21535 if { (ac_try="$ac_compile"
21536 case "(($ac_try" in
21537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21538 *) ac_try_echo=$ac_try;;
21539 esac
21540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21541 (eval "$ac_compile") 2>conftest.er1
21542 ac_status=$?
21543 grep -v '^ *+' conftest.er1 >conftest.err
21544 rm -f conftest.er1
21545 cat conftest.err >&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); } && {
21548 test -z "$ac_c_werror_flag" ||
21549 test ! -s conftest.err
21550 } && test -s conftest.$ac_objext; then
21551 eval "$as_ac_Header=yes"
21552 else
21553 echo "$as_me: failed program was:" >&5
21554 sed 's/^/| /' conftest.$ac_ext >&5
21555
21556 eval "$as_ac_Header=no"
21557 fi
21558
21559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21560 fi
21561 ac_res=`eval echo '${'$as_ac_Header'}'`
21562 { echo "$as_me:$LINENO: result: $ac_res" >&5
21563 echo "${ECHO_T}$ac_res" >&6; }
21564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21565 cat >>confdefs.h <<_ACEOF
21566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21567 _ACEOF
21568
21569 fi
21570
21571 done
21572
21573
21574 if test "$ac_cv_header_wchar_h" != "yes"; then
21575
21576 for ac_header in wcstr.h
21577 do
21578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21579 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21582 echo $ECHO_N "(cached) $ECHO_C" >&6
21583 else
21584 cat >conftest.$ac_ext <<_ACEOF
21585 /* confdefs.h. */
21586 _ACEOF
21587 cat confdefs.h >>conftest.$ac_ext
21588 cat >>conftest.$ac_ext <<_ACEOF
21589 /* end confdefs.h. */
21590 $ac_includes_default
21591
21592 #include <$ac_header>
21593 _ACEOF
21594 rm -f conftest.$ac_objext
21595 if { (ac_try="$ac_compile"
21596 case "(($ac_try" in
21597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21598 *) ac_try_echo=$ac_try;;
21599 esac
21600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21601 (eval "$ac_compile") 2>conftest.er1
21602 ac_status=$?
21603 grep -v '^ *+' conftest.er1 >conftest.err
21604 rm -f conftest.er1
21605 cat conftest.err >&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); } && {
21608 test -z "$ac_c_werror_flag" ||
21609 test ! -s conftest.err
21610 } && test -s conftest.$ac_objext; then
21611 eval "$as_ac_Header=yes"
21612 else
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.$ac_ext >&5
21615
21616 eval "$as_ac_Header=no"
21617 fi
21618
21619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21620 fi
21621 ac_res=`eval echo '${'$as_ac_Header'}'`
21622 { echo "$as_me:$LINENO: result: $ac_res" >&5
21623 echo "${ECHO_T}$ac_res" >&6; }
21624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21625 cat >>confdefs.h <<_ACEOF
21626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21627 _ACEOF
21628
21629 fi
21630
21631 done
21632
21633 fi
21634
21635 case "${host}" in
21636 *-pc-os2_emx | *-pc-os2-emx )
21637 if test $ac_cv_header_langinfo_h = "yes" \
21638 -a \( "$wx_cv_gccversion" = "EMX2" \
21639 -o "$wx_cv_gccversion" = "EMX3" \
21640 -o "$wx_cv_gccversion" = "Innotek5" \); then
21641 LIBS="$LIBS -lintl"
21642 fi
21643 ;;
21644 esac
21645
21646 if test "$USE_UNIX" = 1 ; then
21647
21648 for ac_header in sys/select.h
21649 do
21650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21651 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21654 echo $ECHO_N "(cached) $ECHO_C" >&6
21655 else
21656 cat >conftest.$ac_ext <<_ACEOF
21657 /* confdefs.h. */
21658 _ACEOF
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 $ac_includes_default
21663
21664 #include <$ac_header>
21665 _ACEOF
21666 rm -f conftest.$ac_objext
21667 if { (ac_try="$ac_compile"
21668 case "(($ac_try" in
21669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21670 *) ac_try_echo=$ac_try;;
21671 esac
21672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21673 (eval "$ac_compile") 2>conftest.er1
21674 ac_status=$?
21675 grep -v '^ *+' conftest.er1 >conftest.err
21676 rm -f conftest.er1
21677 cat conftest.err >&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); } && {
21680 test -z "$ac_c_werror_flag" ||
21681 test ! -s conftest.err
21682 } && test -s conftest.$ac_objext; then
21683 eval "$as_ac_Header=yes"
21684 else
21685 echo "$as_me: failed program was:" >&5
21686 sed 's/^/| /' conftest.$ac_ext >&5
21687
21688 eval "$as_ac_Header=no"
21689 fi
21690
21691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21692 fi
21693 ac_res=`eval echo '${'$as_ac_Header'}'`
21694 { echo "$as_me:$LINENO: result: $ac_res" >&5
21695 echo "${ECHO_T}$ac_res" >&6; }
21696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21697 cat >>confdefs.h <<_ACEOF
21698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21699 _ACEOF
21700
21701 fi
21702
21703 done
21704
21705 fi
21706
21707
21708 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21709 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21710 if test "${ac_cv_c_const+set}" = set; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 else
21713 cat >conftest.$ac_ext <<_ACEOF
21714 /* confdefs.h. */
21715 _ACEOF
21716 cat confdefs.h >>conftest.$ac_ext
21717 cat >>conftest.$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21719
21720 int
21721 main ()
21722 {
21723 /* FIXME: Include the comments suggested by Paul. */
21724 #ifndef __cplusplus
21725 /* Ultrix mips cc rejects this. */
21726 typedef int charset[2];
21727 const charset cs;
21728 /* SunOS 4.1.1 cc rejects this. */
21729 char const *const *pcpcc;
21730 char **ppc;
21731 /* NEC SVR4.0.2 mips cc rejects this. */
21732 struct point {int x, y;};
21733 static struct point const zero = {0,0};
21734 /* AIX XL C 1.02.0.0 rejects this.
21735 It does not let you subtract one const X* pointer from another in
21736 an arm of an if-expression whose if-part is not a constant
21737 expression */
21738 const char *g = "string";
21739 pcpcc = &g + (g ? g-g : 0);
21740 /* HPUX 7.0 cc rejects these. */
21741 ++pcpcc;
21742 ppc = (char**) pcpcc;
21743 pcpcc = (char const *const *) ppc;
21744 { /* SCO 3.2v4 cc rejects this. */
21745 char *t;
21746 char const *s = 0 ? (char *) 0 : (char const *) 0;
21747
21748 *t++ = 0;
21749 if (s) return 0;
21750 }
21751 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21752 int x[] = {25, 17};
21753 const int *foo = &x[0];
21754 ++foo;
21755 }
21756 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21757 typedef const int *iptr;
21758 iptr p = 0;
21759 ++p;
21760 }
21761 { /* AIX XL C 1.02.0.0 rejects this saying
21762 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21763 struct s { int j; const int *ap[3]; };
21764 struct s *b; b->j = 5;
21765 }
21766 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21767 const int foo = 10;
21768 if (!foo) return 0;
21769 }
21770 return !cs[0] && !zero.x;
21771 #endif
21772
21773 ;
21774 return 0;
21775 }
21776 _ACEOF
21777 rm -f conftest.$ac_objext
21778 if { (ac_try="$ac_compile"
21779 case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 *) ac_try_echo=$ac_try;;
21782 esac
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_compile") 2>conftest.er1
21785 ac_status=$?
21786 grep -v '^ *+' conftest.er1 >conftest.err
21787 rm -f conftest.er1
21788 cat conftest.err >&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); } && {
21791 test -z "$ac_c_werror_flag" ||
21792 test ! -s conftest.err
21793 } && test -s conftest.$ac_objext; then
21794 ac_cv_c_const=yes
21795 else
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21798
21799 ac_cv_c_const=no
21800 fi
21801
21802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21803 fi
21804 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21805 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21806 if test $ac_cv_c_const = no; then
21807
21808 cat >>confdefs.h <<\_ACEOF
21809 #define const
21810 _ACEOF
21811
21812 fi
21813
21814 { echo "$as_me:$LINENO: checking for inline" >&5
21815 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21816 if test "${ac_cv_c_inline+set}" = set; then
21817 echo $ECHO_N "(cached) $ECHO_C" >&6
21818 else
21819 ac_cv_c_inline=no
21820 for ac_kw in inline __inline__ __inline; do
21821 cat >conftest.$ac_ext <<_ACEOF
21822 /* confdefs.h. */
21823 _ACEOF
21824 cat confdefs.h >>conftest.$ac_ext
21825 cat >>conftest.$ac_ext <<_ACEOF
21826 /* end confdefs.h. */
21827 #ifndef __cplusplus
21828 typedef int foo_t;
21829 static $ac_kw foo_t static_foo () {return 0; }
21830 $ac_kw foo_t foo () {return 0; }
21831 #endif
21832
21833 _ACEOF
21834 rm -f conftest.$ac_objext
21835 if { (ac_try="$ac_compile"
21836 case "(($ac_try" in
21837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21838 *) ac_try_echo=$ac_try;;
21839 esac
21840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21841 (eval "$ac_compile") 2>conftest.er1
21842 ac_status=$?
21843 grep -v '^ *+' conftest.er1 >conftest.err
21844 rm -f conftest.er1
21845 cat conftest.err >&5
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); } && {
21848 test -z "$ac_c_werror_flag" ||
21849 test ! -s conftest.err
21850 } && test -s conftest.$ac_objext; then
21851 ac_cv_c_inline=$ac_kw
21852 else
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21855
21856
21857 fi
21858
21859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21860 test "$ac_cv_c_inline" != no && break
21861 done
21862
21863 fi
21864 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21865 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21866
21867
21868 case $ac_cv_c_inline in
21869 inline | yes) ;;
21870 *)
21871 case $ac_cv_c_inline in
21872 no) ac_val=;;
21873 *) ac_val=$ac_cv_c_inline;;
21874 esac
21875 cat >>confdefs.h <<_ACEOF
21876 #ifndef __cplusplus
21877 #define inline $ac_val
21878 #endif
21879 _ACEOF
21880 ;;
21881 esac
21882
21883
21884 { echo "$as_me:$LINENO: checking for short" >&5
21885 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21886 if test "${ac_cv_type_short+set}" = set; then
21887 echo $ECHO_N "(cached) $ECHO_C" >&6
21888 else
21889 cat >conftest.$ac_ext <<_ACEOF
21890 /* confdefs.h. */
21891 _ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895 $ac_includes_default
21896 typedef short ac__type_new_;
21897 int
21898 main ()
21899 {
21900 if ((ac__type_new_ *) 0)
21901 return 0;
21902 if (sizeof (ac__type_new_))
21903 return 0;
21904 ;
21905 return 0;
21906 }
21907 _ACEOF
21908 rm -f conftest.$ac_objext
21909 if { (ac_try="$ac_compile"
21910 case "(($ac_try" in
21911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21912 *) ac_try_echo=$ac_try;;
21913 esac
21914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21915 (eval "$ac_compile") 2>conftest.er1
21916 ac_status=$?
21917 grep -v '^ *+' conftest.er1 >conftest.err
21918 rm -f conftest.er1
21919 cat conftest.err >&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); } && {
21922 test -z "$ac_c_werror_flag" ||
21923 test ! -s conftest.err
21924 } && test -s conftest.$ac_objext; then
21925 ac_cv_type_short=yes
21926 else
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.$ac_ext >&5
21929
21930 ac_cv_type_short=no
21931 fi
21932
21933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934 fi
21935 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21936 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21937
21938 # The cast to long int works around a bug in the HP C Compiler
21939 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21940 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21941 # This bug is HP SR number 8606223364.
21942 { echo "$as_me:$LINENO: checking size of short" >&5
21943 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21944 if test "${ac_cv_sizeof_short+set}" = set; then
21945 echo $ECHO_N "(cached) $ECHO_C" >&6
21946 else
21947 if test "$cross_compiling" = yes; then
21948 # Depending upon the size, compute the lo and hi bounds.
21949 cat >conftest.$ac_ext <<_ACEOF
21950 /* confdefs.h. */
21951 _ACEOF
21952 cat confdefs.h >>conftest.$ac_ext
21953 cat >>conftest.$ac_ext <<_ACEOF
21954 /* end confdefs.h. */
21955 $ac_includes_default
21956 typedef short ac__type_sizeof_;
21957 int
21958 main ()
21959 {
21960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21961 test_array [0] = 0
21962
21963 ;
21964 return 0;
21965 }
21966 _ACEOF
21967 rm -f conftest.$ac_objext
21968 if { (ac_try="$ac_compile"
21969 case "(($ac_try" in
21970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21971 *) ac_try_echo=$ac_try;;
21972 esac
21973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21974 (eval "$ac_compile") 2>conftest.er1
21975 ac_status=$?
21976 grep -v '^ *+' conftest.er1 >conftest.err
21977 rm -f conftest.er1
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } && {
21981 test -z "$ac_c_werror_flag" ||
21982 test ! -s conftest.err
21983 } && test -s conftest.$ac_objext; then
21984 ac_lo=0 ac_mid=0
21985 while :; do
21986 cat >conftest.$ac_ext <<_ACEOF
21987 /* confdefs.h. */
21988 _ACEOF
21989 cat confdefs.h >>conftest.$ac_ext
21990 cat >>conftest.$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21992 $ac_includes_default
21993 typedef short ac__type_sizeof_;
21994 int
21995 main ()
21996 {
21997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21998 test_array [0] = 0
21999
22000 ;
22001 return 0;
22002 }
22003 _ACEOF
22004 rm -f conftest.$ac_objext
22005 if { (ac_try="$ac_compile"
22006 case "(($ac_try" in
22007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22008 *) ac_try_echo=$ac_try;;
22009 esac
22010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22011 (eval "$ac_compile") 2>conftest.er1
22012 ac_status=$?
22013 grep -v '^ *+' conftest.er1 >conftest.err
22014 rm -f conftest.er1
22015 cat conftest.err >&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); } && {
22018 test -z "$ac_c_werror_flag" ||
22019 test ! -s conftest.err
22020 } && test -s conftest.$ac_objext; then
22021 ac_hi=$ac_mid; break
22022 else
22023 echo "$as_me: failed program was:" >&5
22024 sed 's/^/| /' conftest.$ac_ext >&5
22025
22026 ac_lo=`expr $ac_mid + 1`
22027 if test $ac_lo -le $ac_mid; then
22028 ac_lo= ac_hi=
22029 break
22030 fi
22031 ac_mid=`expr 2 '*' $ac_mid + 1`
22032 fi
22033
22034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22035 done
22036 else
22037 echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.$ac_ext >&5
22039
22040 cat >conftest.$ac_ext <<_ACEOF
22041 /* confdefs.h. */
22042 _ACEOF
22043 cat confdefs.h >>conftest.$ac_ext
22044 cat >>conftest.$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22046 $ac_includes_default
22047 typedef short ac__type_sizeof_;
22048 int
22049 main ()
22050 {
22051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22052 test_array [0] = 0
22053
22054 ;
22055 return 0;
22056 }
22057 _ACEOF
22058 rm -f conftest.$ac_objext
22059 if { (ac_try="$ac_compile"
22060 case "(($ac_try" in
22061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22062 *) ac_try_echo=$ac_try;;
22063 esac
22064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22065 (eval "$ac_compile") 2>conftest.er1
22066 ac_status=$?
22067 grep -v '^ *+' conftest.er1 >conftest.err
22068 rm -f conftest.er1
22069 cat conftest.err >&5
22070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22071 (exit $ac_status); } && {
22072 test -z "$ac_c_werror_flag" ||
22073 test ! -s conftest.err
22074 } && test -s conftest.$ac_objext; then
22075 ac_hi=-1 ac_mid=-1
22076 while :; do
22077 cat >conftest.$ac_ext <<_ACEOF
22078 /* confdefs.h. */
22079 _ACEOF
22080 cat confdefs.h >>conftest.$ac_ext
22081 cat >>conftest.$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 $ac_includes_default
22084 typedef short ac__type_sizeof_;
22085 int
22086 main ()
22087 {
22088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22089 test_array [0] = 0
22090
22091 ;
22092 return 0;
22093 }
22094 _ACEOF
22095 rm -f conftest.$ac_objext
22096 if { (ac_try="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22100 esac
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22103 ac_status=$?
22104 grep -v '^ *+' conftest.er1 >conftest.err
22105 rm -f conftest.er1
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } && {
22109 test -z "$ac_c_werror_flag" ||
22110 test ! -s conftest.err
22111 } && test -s conftest.$ac_objext; then
22112 ac_lo=$ac_mid; break
22113 else
22114 echo "$as_me: failed program was:" >&5
22115 sed 's/^/| /' conftest.$ac_ext >&5
22116
22117 ac_hi=`expr '(' $ac_mid ')' - 1`
22118 if test $ac_mid -le $ac_hi; then
22119 ac_lo= ac_hi=
22120 break
22121 fi
22122 ac_mid=`expr 2 '*' $ac_mid`
22123 fi
22124
22125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22126 done
22127 else
22128 echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.$ac_ext >&5
22130
22131 ac_lo= ac_hi=
22132 fi
22133
22134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22135 fi
22136
22137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22138 # Binary search between lo and hi bounds.
22139 while test "x$ac_lo" != "x$ac_hi"; do
22140 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22141 cat >conftest.$ac_ext <<_ACEOF
22142 /* confdefs.h. */
22143 _ACEOF
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22148 typedef short ac__type_sizeof_;
22149 int
22150 main ()
22151 {
22152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22153 test_array [0] = 0
22154
22155 ;
22156 return 0;
22157 }
22158 _ACEOF
22159 rm -f conftest.$ac_objext
22160 if { (ac_try="$ac_compile"
22161 case "(($ac_try" in
22162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22163 *) ac_try_echo=$ac_try;;
22164 esac
22165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22166 (eval "$ac_compile") 2>conftest.er1
22167 ac_status=$?
22168 grep -v '^ *+' conftest.er1 >conftest.err
22169 rm -f conftest.er1
22170 cat conftest.err >&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && {
22173 test -z "$ac_c_werror_flag" ||
22174 test ! -s conftest.err
22175 } && test -s conftest.$ac_objext; then
22176 ac_hi=$ac_mid
22177 else
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.$ac_ext >&5
22180
22181 ac_lo=`expr '(' $ac_mid ')' + 1`
22182 fi
22183
22184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22185 done
22186 case $ac_lo in
22187 ?*) ac_cv_sizeof_short=$ac_lo;;
22188 '') if test "$ac_cv_type_short" = yes; then
22189 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22190 See \`config.log' for more details." >&5
22191 echo "$as_me: error: cannot compute sizeof (short)
22192 See \`config.log' for more details." >&2;}
22193 { (exit 77); exit 77; }; }
22194 else
22195 ac_cv_sizeof_short=0
22196 fi ;;
22197 esac
22198 else
22199 cat >conftest.$ac_ext <<_ACEOF
22200 /* confdefs.h. */
22201 _ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205 $ac_includes_default
22206 typedef short ac__type_sizeof_;
22207 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22208 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22209 #include <stdio.h>
22210 #include <stdlib.h>
22211 int
22212 main ()
22213 {
22214
22215 FILE *f = fopen ("conftest.val", "w");
22216 if (! f)
22217 return 1;
22218 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22219 {
22220 long int i = longval ();
22221 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22222 return 1;
22223 fprintf (f, "%ld\n", i);
22224 }
22225 else
22226 {
22227 unsigned long int i = ulongval ();
22228 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22229 return 1;
22230 fprintf (f, "%lu\n", i);
22231 }
22232 return ferror (f) || fclose (f) != 0;
22233
22234 ;
22235 return 0;
22236 }
22237 _ACEOF
22238 rm -f conftest$ac_exeext
22239 if { (ac_try="$ac_link"
22240 case "(($ac_try" in
22241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22242 *) ac_try_echo=$ac_try;;
22243 esac
22244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22245 (eval "$ac_link") 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22249 { (case "(($ac_try" in
22250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22251 *) ac_try_echo=$ac_try;;
22252 esac
22253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22254 (eval "$ac_try") 2>&5
22255 ac_status=$?
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); }; }; then
22258 ac_cv_sizeof_short=`cat conftest.val`
22259 else
22260 echo "$as_me: program exited with status $ac_status" >&5
22261 echo "$as_me: failed program was:" >&5
22262 sed 's/^/| /' conftest.$ac_ext >&5
22263
22264 ( exit $ac_status )
22265 if test "$ac_cv_type_short" = yes; then
22266 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22267 See \`config.log' for more details." >&5
22268 echo "$as_me: error: cannot compute sizeof (short)
22269 See \`config.log' for more details." >&2;}
22270 { (exit 77); exit 77; }; }
22271 else
22272 ac_cv_sizeof_short=0
22273 fi
22274 fi
22275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22276 fi
22277 rm -f conftest.val
22278 fi
22279 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22280 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22281
22282
22283
22284 cat >>confdefs.h <<_ACEOF
22285 #define SIZEOF_SHORT $ac_cv_sizeof_short
22286 _ACEOF
22287
22288
22289 { echo "$as_me:$LINENO: checking for void *" >&5
22290 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22291 if test "${ac_cv_type_void_p+set}" = set; then
22292 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 else
22294 cat >conftest.$ac_ext <<_ACEOF
22295 /* confdefs.h. */
22296 _ACEOF
22297 cat confdefs.h >>conftest.$ac_ext
22298 cat >>conftest.$ac_ext <<_ACEOF
22299 /* end confdefs.h. */
22300 $ac_includes_default
22301 typedef void * ac__type_new_;
22302 int
22303 main ()
22304 {
22305 if ((ac__type_new_ *) 0)
22306 return 0;
22307 if (sizeof (ac__type_new_))
22308 return 0;
22309 ;
22310 return 0;
22311 }
22312 _ACEOF
22313 rm -f conftest.$ac_objext
22314 if { (ac_try="$ac_compile"
22315 case "(($ac_try" in
22316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22317 *) ac_try_echo=$ac_try;;
22318 esac
22319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22320 (eval "$ac_compile") 2>conftest.er1
22321 ac_status=$?
22322 grep -v '^ *+' conftest.er1 >conftest.err
22323 rm -f conftest.er1
22324 cat conftest.err >&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } && {
22327 test -z "$ac_c_werror_flag" ||
22328 test ! -s conftest.err
22329 } && test -s conftest.$ac_objext; then
22330 ac_cv_type_void_p=yes
22331 else
22332 echo "$as_me: failed program was:" >&5
22333 sed 's/^/| /' conftest.$ac_ext >&5
22334
22335 ac_cv_type_void_p=no
22336 fi
22337
22338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22339 fi
22340 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22341 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22342
22343 # The cast to long int works around a bug in the HP C Compiler
22344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22346 # This bug is HP SR number 8606223364.
22347 { echo "$as_me:$LINENO: checking size of void *" >&5
22348 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22349 if test "${ac_cv_sizeof_void_p+set}" = set; then
22350 echo $ECHO_N "(cached) $ECHO_C" >&6
22351 else
22352 if test "$cross_compiling" = yes; then
22353 # Depending upon the size, compute the lo and hi bounds.
22354 cat >conftest.$ac_ext <<_ACEOF
22355 /* confdefs.h. */
22356 _ACEOF
22357 cat confdefs.h >>conftest.$ac_ext
22358 cat >>conftest.$ac_ext <<_ACEOF
22359 /* end confdefs.h. */
22360 $ac_includes_default
22361 typedef void * ac__type_sizeof_;
22362 int
22363 main ()
22364 {
22365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22366 test_array [0] = 0
22367
22368 ;
22369 return 0;
22370 }
22371 _ACEOF
22372 rm -f conftest.$ac_objext
22373 if { (ac_try="$ac_compile"
22374 case "(($ac_try" in
22375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22376 *) ac_try_echo=$ac_try;;
22377 esac
22378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22379 (eval "$ac_compile") 2>conftest.er1
22380 ac_status=$?
22381 grep -v '^ *+' conftest.er1 >conftest.err
22382 rm -f conftest.er1
22383 cat conftest.err >&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); } && {
22386 test -z "$ac_c_werror_flag" ||
22387 test ! -s conftest.err
22388 } && test -s conftest.$ac_objext; then
22389 ac_lo=0 ac_mid=0
22390 while :; do
22391 cat >conftest.$ac_ext <<_ACEOF
22392 /* confdefs.h. */
22393 _ACEOF
22394 cat confdefs.h >>conftest.$ac_ext
22395 cat >>conftest.$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22397 $ac_includes_default
22398 typedef void * ac__type_sizeof_;
22399 int
22400 main ()
22401 {
22402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22403 test_array [0] = 0
22404
22405 ;
22406 return 0;
22407 }
22408 _ACEOF
22409 rm -f conftest.$ac_objext
22410 if { (ac_try="$ac_compile"
22411 case "(($ac_try" in
22412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22413 *) ac_try_echo=$ac_try;;
22414 esac
22415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22416 (eval "$ac_compile") 2>conftest.er1
22417 ac_status=$?
22418 grep -v '^ *+' conftest.er1 >conftest.err
22419 rm -f conftest.er1
22420 cat conftest.err >&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } && {
22423 test -z "$ac_c_werror_flag" ||
22424 test ! -s conftest.err
22425 } && test -s conftest.$ac_objext; then
22426 ac_hi=$ac_mid; break
22427 else
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22430
22431 ac_lo=`expr $ac_mid + 1`
22432 if test $ac_lo -le $ac_mid; then
22433 ac_lo= ac_hi=
22434 break
22435 fi
22436 ac_mid=`expr 2 '*' $ac_mid + 1`
22437 fi
22438
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440 done
22441 else
22442 echo "$as_me: failed program was:" >&5
22443 sed 's/^/| /' conftest.$ac_ext >&5
22444
22445 cat >conftest.$ac_ext <<_ACEOF
22446 /* confdefs.h. */
22447 _ACEOF
22448 cat confdefs.h >>conftest.$ac_ext
22449 cat >>conftest.$ac_ext <<_ACEOF
22450 /* end confdefs.h. */
22451 $ac_includes_default
22452 typedef void * ac__type_sizeof_;
22453 int
22454 main ()
22455 {
22456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22457 test_array [0] = 0
22458
22459 ;
22460 return 0;
22461 }
22462 _ACEOF
22463 rm -f conftest.$ac_objext
22464 if { (ac_try="$ac_compile"
22465 case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22468 esac
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_compile") 2>conftest.er1
22471 ac_status=$?
22472 grep -v '^ *+' conftest.er1 >conftest.err
22473 rm -f conftest.er1
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } && {
22477 test -z "$ac_c_werror_flag" ||
22478 test ! -s conftest.err
22479 } && test -s conftest.$ac_objext; then
22480 ac_hi=-1 ac_mid=-1
22481 while :; do
22482 cat >conftest.$ac_ext <<_ACEOF
22483 /* confdefs.h. */
22484 _ACEOF
22485 cat confdefs.h >>conftest.$ac_ext
22486 cat >>conftest.$ac_ext <<_ACEOF
22487 /* end confdefs.h. */
22488 $ac_includes_default
22489 typedef void * ac__type_sizeof_;
22490 int
22491 main ()
22492 {
22493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22494 test_array [0] = 0
22495
22496 ;
22497 return 0;
22498 }
22499 _ACEOF
22500 rm -f conftest.$ac_objext
22501 if { (ac_try="$ac_compile"
22502 case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22505 esac
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_compile") 2>conftest.er1
22508 ac_status=$?
22509 grep -v '^ *+' conftest.er1 >conftest.err
22510 rm -f conftest.er1
22511 cat conftest.err >&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } && {
22514 test -z "$ac_c_werror_flag" ||
22515 test ! -s conftest.err
22516 } && test -s conftest.$ac_objext; then
22517 ac_lo=$ac_mid; break
22518 else
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.$ac_ext >&5
22521
22522 ac_hi=`expr '(' $ac_mid ')' - 1`
22523 if test $ac_mid -le $ac_hi; then
22524 ac_lo= ac_hi=
22525 break
22526 fi
22527 ac_mid=`expr 2 '*' $ac_mid`
22528 fi
22529
22530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22531 done
22532 else
22533 echo "$as_me: failed program was:" >&5
22534 sed 's/^/| /' conftest.$ac_ext >&5
22535
22536 ac_lo= ac_hi=
22537 fi
22538
22539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22540 fi
22541
22542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22543 # Binary search between lo and hi bounds.
22544 while test "x$ac_lo" != "x$ac_hi"; do
22545 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22546 cat >conftest.$ac_ext <<_ACEOF
22547 /* confdefs.h. */
22548 _ACEOF
22549 cat confdefs.h >>conftest.$ac_ext
22550 cat >>conftest.$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552 $ac_includes_default
22553 typedef void * ac__type_sizeof_;
22554 int
22555 main ()
22556 {
22557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22558 test_array [0] = 0
22559
22560 ;
22561 return 0;
22562 }
22563 _ACEOF
22564 rm -f conftest.$ac_objext
22565 if { (ac_try="$ac_compile"
22566 case "(($ac_try" in
22567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22568 *) ac_try_echo=$ac_try;;
22569 esac
22570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22571 (eval "$ac_compile") 2>conftest.er1
22572 ac_status=$?
22573 grep -v '^ *+' conftest.er1 >conftest.err
22574 rm -f conftest.er1
22575 cat conftest.err >&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } && {
22578 test -z "$ac_c_werror_flag" ||
22579 test ! -s conftest.err
22580 } && test -s conftest.$ac_objext; then
22581 ac_hi=$ac_mid
22582 else
22583 echo "$as_me: failed program was:" >&5
22584 sed 's/^/| /' conftest.$ac_ext >&5
22585
22586 ac_lo=`expr '(' $ac_mid ')' + 1`
22587 fi
22588
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 done
22591 case $ac_lo in
22592 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22593 '') if test "$ac_cv_type_void_p" = yes; then
22594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22595 See \`config.log' for more details." >&5
22596 echo "$as_me: error: cannot compute sizeof (void *)
22597 See \`config.log' for more details." >&2;}
22598 { (exit 77); exit 77; }; }
22599 else
22600 ac_cv_sizeof_void_p=0
22601 fi ;;
22602 esac
22603 else
22604 cat >conftest.$ac_ext <<_ACEOF
22605 /* confdefs.h. */
22606 _ACEOF
22607 cat confdefs.h >>conftest.$ac_ext
22608 cat >>conftest.$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22610 $ac_includes_default
22611 typedef void * ac__type_sizeof_;
22612 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22613 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22614 #include <stdio.h>
22615 #include <stdlib.h>
22616 int
22617 main ()
22618 {
22619
22620 FILE *f = fopen ("conftest.val", "w");
22621 if (! f)
22622 return 1;
22623 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22624 {
22625 long int i = longval ();
22626 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22627 return 1;
22628 fprintf (f, "%ld\n", i);
22629 }
22630 else
22631 {
22632 unsigned long int i = ulongval ();
22633 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22634 return 1;
22635 fprintf (f, "%lu\n", i);
22636 }
22637 return ferror (f) || fclose (f) != 0;
22638
22639 ;
22640 return 0;
22641 }
22642 _ACEOF
22643 rm -f conftest$ac_exeext
22644 if { (ac_try="$ac_link"
22645 case "(($ac_try" in
22646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22647 *) ac_try_echo=$ac_try;;
22648 esac
22649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22650 (eval "$ac_link") 2>&5
22651 ac_status=$?
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22654 { (case "(($ac_try" in
22655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22656 *) ac_try_echo=$ac_try;;
22657 esac
22658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22659 (eval "$ac_try") 2>&5
22660 ac_status=$?
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); }; }; then
22663 ac_cv_sizeof_void_p=`cat conftest.val`
22664 else
22665 echo "$as_me: program exited with status $ac_status" >&5
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.$ac_ext >&5
22668
22669 ( exit $ac_status )
22670 if test "$ac_cv_type_void_p" = yes; then
22671 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22672 See \`config.log' for more details." >&5
22673 echo "$as_me: error: cannot compute sizeof (void *)
22674 See \`config.log' for more details." >&2;}
22675 { (exit 77); exit 77; }; }
22676 else
22677 ac_cv_sizeof_void_p=0
22678 fi
22679 fi
22680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22681 fi
22682 rm -f conftest.val
22683 fi
22684 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22685 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22686
22687
22688
22689 cat >>confdefs.h <<_ACEOF
22690 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22691 _ACEOF
22692
22693
22694 { echo "$as_me:$LINENO: checking for int" >&5
22695 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22696 if test "${ac_cv_type_int+set}" = set; then
22697 echo $ECHO_N "(cached) $ECHO_C" >&6
22698 else
22699 cat >conftest.$ac_ext <<_ACEOF
22700 /* confdefs.h. */
22701 _ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22706 typedef int ac__type_new_;
22707 int
22708 main ()
22709 {
22710 if ((ac__type_new_ *) 0)
22711 return 0;
22712 if (sizeof (ac__type_new_))
22713 return 0;
22714 ;
22715 return 0;
22716 }
22717 _ACEOF
22718 rm -f conftest.$ac_objext
22719 if { (ac_try="$ac_compile"
22720 case "(($ac_try" in
22721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22722 *) ac_try_echo=$ac_try;;
22723 esac
22724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22725 (eval "$ac_compile") 2>conftest.er1
22726 ac_status=$?
22727 grep -v '^ *+' conftest.er1 >conftest.err
22728 rm -f conftest.er1
22729 cat conftest.err >&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && {
22732 test -z "$ac_c_werror_flag" ||
22733 test ! -s conftest.err
22734 } && test -s conftest.$ac_objext; then
22735 ac_cv_type_int=yes
22736 else
22737 echo "$as_me: failed program was:" >&5
22738 sed 's/^/| /' conftest.$ac_ext >&5
22739
22740 ac_cv_type_int=no
22741 fi
22742
22743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22744 fi
22745 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22746 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22747
22748 # The cast to long int works around a bug in the HP C Compiler
22749 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22750 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22751 # This bug is HP SR number 8606223364.
22752 { echo "$as_me:$LINENO: checking size of int" >&5
22753 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22754 if test "${ac_cv_sizeof_int+set}" = set; then
22755 echo $ECHO_N "(cached) $ECHO_C" >&6
22756 else
22757 if test "$cross_compiling" = yes; then
22758 # Depending upon the size, compute the lo and hi bounds.
22759 cat >conftest.$ac_ext <<_ACEOF
22760 /* confdefs.h. */
22761 _ACEOF
22762 cat confdefs.h >>conftest.$ac_ext
22763 cat >>conftest.$ac_ext <<_ACEOF
22764 /* end confdefs.h. */
22765 $ac_includes_default
22766 typedef int ac__type_sizeof_;
22767 int
22768 main ()
22769 {
22770 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22771 test_array [0] = 0
22772
22773 ;
22774 return 0;
22775 }
22776 _ACEOF
22777 rm -f conftest.$ac_objext
22778 if { (ac_try="$ac_compile"
22779 case "(($ac_try" in
22780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22781 *) ac_try_echo=$ac_try;;
22782 esac
22783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22784 (eval "$ac_compile") 2>conftest.er1
22785 ac_status=$?
22786 grep -v '^ *+' conftest.er1 >conftest.err
22787 rm -f conftest.er1
22788 cat conftest.err >&5
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); } && {
22791 test -z "$ac_c_werror_flag" ||
22792 test ! -s conftest.err
22793 } && test -s conftest.$ac_objext; then
22794 ac_lo=0 ac_mid=0
22795 while :; do
22796 cat >conftest.$ac_ext <<_ACEOF
22797 /* confdefs.h. */
22798 _ACEOF
22799 cat confdefs.h >>conftest.$ac_ext
22800 cat >>conftest.$ac_ext <<_ACEOF
22801 /* end confdefs.h. */
22802 $ac_includes_default
22803 typedef int ac__type_sizeof_;
22804 int
22805 main ()
22806 {
22807 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22808 test_array [0] = 0
22809
22810 ;
22811 return 0;
22812 }
22813 _ACEOF
22814 rm -f conftest.$ac_objext
22815 if { (ac_try="$ac_compile"
22816 case "(($ac_try" in
22817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22818 *) ac_try_echo=$ac_try;;
22819 esac
22820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22821 (eval "$ac_compile") 2>conftest.er1
22822 ac_status=$?
22823 grep -v '^ *+' conftest.er1 >conftest.err
22824 rm -f conftest.er1
22825 cat conftest.err >&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); } && {
22828 test -z "$ac_c_werror_flag" ||
22829 test ! -s conftest.err
22830 } && test -s conftest.$ac_objext; then
22831 ac_hi=$ac_mid; break
22832 else
22833 echo "$as_me: failed program was:" >&5
22834 sed 's/^/| /' conftest.$ac_ext >&5
22835
22836 ac_lo=`expr $ac_mid + 1`
22837 if test $ac_lo -le $ac_mid; then
22838 ac_lo= ac_hi=
22839 break
22840 fi
22841 ac_mid=`expr 2 '*' $ac_mid + 1`
22842 fi
22843
22844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22845 done
22846 else
22847 echo "$as_me: failed program was:" >&5
22848 sed 's/^/| /' conftest.$ac_ext >&5
22849
22850 cat >conftest.$ac_ext <<_ACEOF
22851 /* confdefs.h. */
22852 _ACEOF
22853 cat confdefs.h >>conftest.$ac_ext
22854 cat >>conftest.$ac_ext <<_ACEOF
22855 /* end confdefs.h. */
22856 $ac_includes_default
22857 typedef int ac__type_sizeof_;
22858 int
22859 main ()
22860 {
22861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22862 test_array [0] = 0
22863
22864 ;
22865 return 0;
22866 }
22867 _ACEOF
22868 rm -f conftest.$ac_objext
22869 if { (ac_try="$ac_compile"
22870 case "(($ac_try" in
22871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22872 *) ac_try_echo=$ac_try;;
22873 esac
22874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22875 (eval "$ac_compile") 2>conftest.er1
22876 ac_status=$?
22877 grep -v '^ *+' conftest.er1 >conftest.err
22878 rm -f conftest.er1
22879 cat conftest.err >&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); } && {
22882 test -z "$ac_c_werror_flag" ||
22883 test ! -s conftest.err
22884 } && test -s conftest.$ac_objext; then
22885 ac_hi=-1 ac_mid=-1
22886 while :; do
22887 cat >conftest.$ac_ext <<_ACEOF
22888 /* confdefs.h. */
22889 _ACEOF
22890 cat confdefs.h >>conftest.$ac_ext
22891 cat >>conftest.$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22893 $ac_includes_default
22894 typedef int ac__type_sizeof_;
22895 int
22896 main ()
22897 {
22898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22899 test_array [0] = 0
22900
22901 ;
22902 return 0;
22903 }
22904 _ACEOF
22905 rm -f conftest.$ac_objext
22906 if { (ac_try="$ac_compile"
22907 case "(($ac_try" in
22908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22909 *) ac_try_echo=$ac_try;;
22910 esac
22911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22912 (eval "$ac_compile") 2>conftest.er1
22913 ac_status=$?
22914 grep -v '^ *+' conftest.er1 >conftest.err
22915 rm -f conftest.er1
22916 cat conftest.err >&5
22917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22918 (exit $ac_status); } && {
22919 test -z "$ac_c_werror_flag" ||
22920 test ! -s conftest.err
22921 } && test -s conftest.$ac_objext; then
22922 ac_lo=$ac_mid; break
22923 else
22924 echo "$as_me: failed program was:" >&5
22925 sed 's/^/| /' conftest.$ac_ext >&5
22926
22927 ac_hi=`expr '(' $ac_mid ')' - 1`
22928 if test $ac_mid -le $ac_hi; then
22929 ac_lo= ac_hi=
22930 break
22931 fi
22932 ac_mid=`expr 2 '*' $ac_mid`
22933 fi
22934
22935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22936 done
22937 else
22938 echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.$ac_ext >&5
22940
22941 ac_lo= ac_hi=
22942 fi
22943
22944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22945 fi
22946
22947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22948 # Binary search between lo and hi bounds.
22949 while test "x$ac_lo" != "x$ac_hi"; do
22950 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22951 cat >conftest.$ac_ext <<_ACEOF
22952 /* confdefs.h. */
22953 _ACEOF
22954 cat confdefs.h >>conftest.$ac_ext
22955 cat >>conftest.$ac_ext <<_ACEOF
22956 /* end confdefs.h. */
22957 $ac_includes_default
22958 typedef int ac__type_sizeof_;
22959 int
22960 main ()
22961 {
22962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22963 test_array [0] = 0
22964
22965 ;
22966 return 0;
22967 }
22968 _ACEOF
22969 rm -f conftest.$ac_objext
22970 if { (ac_try="$ac_compile"
22971 case "(($ac_try" in
22972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22973 *) ac_try_echo=$ac_try;;
22974 esac
22975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22976 (eval "$ac_compile") 2>conftest.er1
22977 ac_status=$?
22978 grep -v '^ *+' conftest.er1 >conftest.err
22979 rm -f conftest.er1
22980 cat conftest.err >&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); } && {
22983 test -z "$ac_c_werror_flag" ||
22984 test ! -s conftest.err
22985 } && test -s conftest.$ac_objext; then
22986 ac_hi=$ac_mid
22987 else
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.$ac_ext >&5
22990
22991 ac_lo=`expr '(' $ac_mid ')' + 1`
22992 fi
22993
22994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22995 done
22996 case $ac_lo in
22997 ?*) ac_cv_sizeof_int=$ac_lo;;
22998 '') if test "$ac_cv_type_int" = yes; then
22999 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23000 See \`config.log' for more details." >&5
23001 echo "$as_me: error: cannot compute sizeof (int)
23002 See \`config.log' for more details." >&2;}
23003 { (exit 77); exit 77; }; }
23004 else
23005 ac_cv_sizeof_int=0
23006 fi ;;
23007 esac
23008 else
23009 cat >conftest.$ac_ext <<_ACEOF
23010 /* confdefs.h. */
23011 _ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 $ac_includes_default
23016 typedef int ac__type_sizeof_;
23017 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23018 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23019 #include <stdio.h>
23020 #include <stdlib.h>
23021 int
23022 main ()
23023 {
23024
23025 FILE *f = fopen ("conftest.val", "w");
23026 if (! f)
23027 return 1;
23028 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23029 {
23030 long int i = longval ();
23031 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23032 return 1;
23033 fprintf (f, "%ld\n", i);
23034 }
23035 else
23036 {
23037 unsigned long int i = ulongval ();
23038 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23039 return 1;
23040 fprintf (f, "%lu\n", i);
23041 }
23042 return ferror (f) || fclose (f) != 0;
23043
23044 ;
23045 return 0;
23046 }
23047 _ACEOF
23048 rm -f conftest$ac_exeext
23049 if { (ac_try="$ac_link"
23050 case "(($ac_try" in
23051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23052 *) ac_try_echo=$ac_try;;
23053 esac
23054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23055 (eval "$ac_link") 2>&5
23056 ac_status=$?
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23059 { (case "(($ac_try" in
23060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23061 *) ac_try_echo=$ac_try;;
23062 esac
23063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23064 (eval "$ac_try") 2>&5
23065 ac_status=$?
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); }; }; then
23068 ac_cv_sizeof_int=`cat conftest.val`
23069 else
23070 echo "$as_me: program exited with status $ac_status" >&5
23071 echo "$as_me: failed program was:" >&5
23072 sed 's/^/| /' conftest.$ac_ext >&5
23073
23074 ( exit $ac_status )
23075 if test "$ac_cv_type_int" = yes; then
23076 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23077 See \`config.log' for more details." >&5
23078 echo "$as_me: error: cannot compute sizeof (int)
23079 See \`config.log' for more details." >&2;}
23080 { (exit 77); exit 77; }; }
23081 else
23082 ac_cv_sizeof_int=0
23083 fi
23084 fi
23085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23086 fi
23087 rm -f conftest.val
23088 fi
23089 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23090 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23091
23092
23093
23094 cat >>confdefs.h <<_ACEOF
23095 #define SIZEOF_INT $ac_cv_sizeof_int
23096 _ACEOF
23097
23098
23099 { echo "$as_me:$LINENO: checking for long" >&5
23100 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23101 if test "${ac_cv_type_long+set}" = set; then
23102 echo $ECHO_N "(cached) $ECHO_C" >&6
23103 else
23104 cat >conftest.$ac_ext <<_ACEOF
23105 /* confdefs.h. */
23106 _ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 $ac_includes_default
23111 typedef long ac__type_new_;
23112 int
23113 main ()
23114 {
23115 if ((ac__type_new_ *) 0)
23116 return 0;
23117 if (sizeof (ac__type_new_))
23118 return 0;
23119 ;
23120 return 0;
23121 }
23122 _ACEOF
23123 rm -f conftest.$ac_objext
23124 if { (ac_try="$ac_compile"
23125 case "(($ac_try" in
23126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23127 *) ac_try_echo=$ac_try;;
23128 esac
23129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23130 (eval "$ac_compile") 2>conftest.er1
23131 ac_status=$?
23132 grep -v '^ *+' conftest.er1 >conftest.err
23133 rm -f conftest.er1
23134 cat conftest.err >&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && {
23137 test -z "$ac_c_werror_flag" ||
23138 test ! -s conftest.err
23139 } && test -s conftest.$ac_objext; then
23140 ac_cv_type_long=yes
23141 else
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23144
23145 ac_cv_type_long=no
23146 fi
23147
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149 fi
23150 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23151 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23152
23153 # The cast to long int works around a bug in the HP C Compiler
23154 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23155 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23156 # This bug is HP SR number 8606223364.
23157 { echo "$as_me:$LINENO: checking size of long" >&5
23158 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23159 if test "${ac_cv_sizeof_long+set}" = set; then
23160 echo $ECHO_N "(cached) $ECHO_C" >&6
23161 else
23162 if test "$cross_compiling" = yes; then
23163 # Depending upon the size, compute the lo and hi bounds.
23164 cat >conftest.$ac_ext <<_ACEOF
23165 /* confdefs.h. */
23166 _ACEOF
23167 cat confdefs.h >>conftest.$ac_ext
23168 cat >>conftest.$ac_ext <<_ACEOF
23169 /* end confdefs.h. */
23170 $ac_includes_default
23171 typedef long ac__type_sizeof_;
23172 int
23173 main ()
23174 {
23175 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23176 test_array [0] = 0
23177
23178 ;
23179 return 0;
23180 }
23181 _ACEOF
23182 rm -f conftest.$ac_objext
23183 if { (ac_try="$ac_compile"
23184 case "(($ac_try" in
23185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23186 *) ac_try_echo=$ac_try;;
23187 esac
23188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23189 (eval "$ac_compile") 2>conftest.er1
23190 ac_status=$?
23191 grep -v '^ *+' conftest.er1 >conftest.err
23192 rm -f conftest.er1
23193 cat conftest.err >&5
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); } && {
23196 test -z "$ac_c_werror_flag" ||
23197 test ! -s conftest.err
23198 } && test -s conftest.$ac_objext; then
23199 ac_lo=0 ac_mid=0
23200 while :; do
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h. */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207 $ac_includes_default
23208 typedef long ac__type_sizeof_;
23209 int
23210 main ()
23211 {
23212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23213 test_array [0] = 0
23214
23215 ;
23216 return 0;
23217 }
23218 _ACEOF
23219 rm -f conftest.$ac_objext
23220 if { (ac_try="$ac_compile"
23221 case "(($ac_try" in
23222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23223 *) ac_try_echo=$ac_try;;
23224 esac
23225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23226 (eval "$ac_compile") 2>conftest.er1
23227 ac_status=$?
23228 grep -v '^ *+' conftest.er1 >conftest.err
23229 rm -f conftest.er1
23230 cat conftest.err >&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } && {
23233 test -z "$ac_c_werror_flag" ||
23234 test ! -s conftest.err
23235 } && test -s conftest.$ac_objext; then
23236 ac_hi=$ac_mid; break
23237 else
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.$ac_ext >&5
23240
23241 ac_lo=`expr $ac_mid + 1`
23242 if test $ac_lo -le $ac_mid; then
23243 ac_lo= ac_hi=
23244 break
23245 fi
23246 ac_mid=`expr 2 '*' $ac_mid + 1`
23247 fi
23248
23249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23250 done
23251 else
23252 echo "$as_me: failed program was:" >&5
23253 sed 's/^/| /' conftest.$ac_ext >&5
23254
23255 cat >conftest.$ac_ext <<_ACEOF
23256 /* confdefs.h. */
23257 _ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 $ac_includes_default
23262 typedef long ac__type_sizeof_;
23263 int
23264 main ()
23265 {
23266 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23267 test_array [0] = 0
23268
23269 ;
23270 return 0;
23271 }
23272 _ACEOF
23273 rm -f conftest.$ac_objext
23274 if { (ac_try="$ac_compile"
23275 case "(($ac_try" in
23276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23277 *) ac_try_echo=$ac_try;;
23278 esac
23279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280 (eval "$ac_compile") 2>conftest.er1
23281 ac_status=$?
23282 grep -v '^ *+' conftest.er1 >conftest.err
23283 rm -f conftest.er1
23284 cat conftest.err >&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); } && {
23287 test -z "$ac_c_werror_flag" ||
23288 test ! -s conftest.err
23289 } && test -s conftest.$ac_objext; then
23290 ac_hi=-1 ac_mid=-1
23291 while :; do
23292 cat >conftest.$ac_ext <<_ACEOF
23293 /* confdefs.h. */
23294 _ACEOF
23295 cat confdefs.h >>conftest.$ac_ext
23296 cat >>conftest.$ac_ext <<_ACEOF
23297 /* end confdefs.h. */
23298 $ac_includes_default
23299 typedef long ac__type_sizeof_;
23300 int
23301 main ()
23302 {
23303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23304 test_array [0] = 0
23305
23306 ;
23307 return 0;
23308 }
23309 _ACEOF
23310 rm -f conftest.$ac_objext
23311 if { (ac_try="$ac_compile"
23312 case "(($ac_try" in
23313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23314 *) ac_try_echo=$ac_try;;
23315 esac
23316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_compile") 2>conftest.er1
23318 ac_status=$?
23319 grep -v '^ *+' conftest.er1 >conftest.err
23320 rm -f conftest.er1
23321 cat conftest.err >&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } && {
23324 test -z "$ac_c_werror_flag" ||
23325 test ! -s conftest.err
23326 } && test -s conftest.$ac_objext; then
23327 ac_lo=$ac_mid; break
23328 else
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23331
23332 ac_hi=`expr '(' $ac_mid ')' - 1`
23333 if test $ac_mid -le $ac_hi; then
23334 ac_lo= ac_hi=
23335 break
23336 fi
23337 ac_mid=`expr 2 '*' $ac_mid`
23338 fi
23339
23340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23341 done
23342 else
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.$ac_ext >&5
23345
23346 ac_lo= ac_hi=
23347 fi
23348
23349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23350 fi
23351
23352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23353 # Binary search between lo and hi bounds.
23354 while test "x$ac_lo" != "x$ac_hi"; do
23355 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23356 cat >conftest.$ac_ext <<_ACEOF
23357 /* confdefs.h. */
23358 _ACEOF
23359 cat confdefs.h >>conftest.$ac_ext
23360 cat >>conftest.$ac_ext <<_ACEOF
23361 /* end confdefs.h. */
23362 $ac_includes_default
23363 typedef long ac__type_sizeof_;
23364 int
23365 main ()
23366 {
23367 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23368 test_array [0] = 0
23369
23370 ;
23371 return 0;
23372 }
23373 _ACEOF
23374 rm -f conftest.$ac_objext
23375 if { (ac_try="$ac_compile"
23376 case "(($ac_try" in
23377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23378 *) ac_try_echo=$ac_try;;
23379 esac
23380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23381 (eval "$ac_compile") 2>conftest.er1
23382 ac_status=$?
23383 grep -v '^ *+' conftest.er1 >conftest.err
23384 rm -f conftest.er1
23385 cat conftest.err >&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } && {
23388 test -z "$ac_c_werror_flag" ||
23389 test ! -s conftest.err
23390 } && test -s conftest.$ac_objext; then
23391 ac_hi=$ac_mid
23392 else
23393 echo "$as_me: failed program was:" >&5
23394 sed 's/^/| /' conftest.$ac_ext >&5
23395
23396 ac_lo=`expr '(' $ac_mid ')' + 1`
23397 fi
23398
23399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23400 done
23401 case $ac_lo in
23402 ?*) ac_cv_sizeof_long=$ac_lo;;
23403 '') if test "$ac_cv_type_long" = yes; then
23404 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23405 See \`config.log' for more details." >&5
23406 echo "$as_me: error: cannot compute sizeof (long)
23407 See \`config.log' for more details." >&2;}
23408 { (exit 77); exit 77; }; }
23409 else
23410 ac_cv_sizeof_long=0
23411 fi ;;
23412 esac
23413 else
23414 cat >conftest.$ac_ext <<_ACEOF
23415 /* confdefs.h. */
23416 _ACEOF
23417 cat confdefs.h >>conftest.$ac_ext
23418 cat >>conftest.$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23420 $ac_includes_default
23421 typedef long ac__type_sizeof_;
23422 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23423 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23424 #include <stdio.h>
23425 #include <stdlib.h>
23426 int
23427 main ()
23428 {
23429
23430 FILE *f = fopen ("conftest.val", "w");
23431 if (! f)
23432 return 1;
23433 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23434 {
23435 long int i = longval ();
23436 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23437 return 1;
23438 fprintf (f, "%ld\n", i);
23439 }
23440 else
23441 {
23442 unsigned long int i = ulongval ();
23443 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23444 return 1;
23445 fprintf (f, "%lu\n", i);
23446 }
23447 return ferror (f) || fclose (f) != 0;
23448
23449 ;
23450 return 0;
23451 }
23452 _ACEOF
23453 rm -f conftest$ac_exeext
23454 if { (ac_try="$ac_link"
23455 case "(($ac_try" in
23456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23457 *) ac_try_echo=$ac_try;;
23458 esac
23459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23460 (eval "$ac_link") 2>&5
23461 ac_status=$?
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23464 { (case "(($ac_try" in
23465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23466 *) ac_try_echo=$ac_try;;
23467 esac
23468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23469 (eval "$ac_try") 2>&5
23470 ac_status=$?
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 ac_cv_sizeof_long=`cat conftest.val`
23474 else
23475 echo "$as_me: program exited with status $ac_status" >&5
23476 echo "$as_me: failed program was:" >&5
23477 sed 's/^/| /' conftest.$ac_ext >&5
23478
23479 ( exit $ac_status )
23480 if test "$ac_cv_type_long" = yes; then
23481 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23482 See \`config.log' for more details." >&5
23483 echo "$as_me: error: cannot compute sizeof (long)
23484 See \`config.log' for more details." >&2;}
23485 { (exit 77); exit 77; }; }
23486 else
23487 ac_cv_sizeof_long=0
23488 fi
23489 fi
23490 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23491 fi
23492 rm -f conftest.val
23493 fi
23494 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23495 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23496
23497
23498
23499 cat >>confdefs.h <<_ACEOF
23500 #define SIZEOF_LONG $ac_cv_sizeof_long
23501 _ACEOF
23502
23503
23504 { echo "$as_me:$LINENO: checking for size_t" >&5
23505 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23506 if test "${ac_cv_type_size_t+set}" = set; then
23507 echo $ECHO_N "(cached) $ECHO_C" >&6
23508 else
23509 cat >conftest.$ac_ext <<_ACEOF
23510 /* confdefs.h. */
23511 _ACEOF
23512 cat confdefs.h >>conftest.$ac_ext
23513 cat >>conftest.$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 $ac_includes_default
23516 typedef size_t ac__type_new_;
23517 int
23518 main ()
23519 {
23520 if ((ac__type_new_ *) 0)
23521 return 0;
23522 if (sizeof (ac__type_new_))
23523 return 0;
23524 ;
23525 return 0;
23526 }
23527 _ACEOF
23528 rm -f conftest.$ac_objext
23529 if { (ac_try="$ac_compile"
23530 case "(($ac_try" in
23531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23532 *) ac_try_echo=$ac_try;;
23533 esac
23534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23535 (eval "$ac_compile") 2>conftest.er1
23536 ac_status=$?
23537 grep -v '^ *+' conftest.er1 >conftest.err
23538 rm -f conftest.er1
23539 cat conftest.err >&5
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); } && {
23542 test -z "$ac_c_werror_flag" ||
23543 test ! -s conftest.err
23544 } && test -s conftest.$ac_objext; then
23545 ac_cv_type_size_t=yes
23546 else
23547 echo "$as_me: failed program was:" >&5
23548 sed 's/^/| /' conftest.$ac_ext >&5
23549
23550 ac_cv_type_size_t=no
23551 fi
23552
23553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23554 fi
23555 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23556 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23557
23558 # The cast to long int works around a bug in the HP C Compiler
23559 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23560 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23561 # This bug is HP SR number 8606223364.
23562 { echo "$as_me:$LINENO: checking size of size_t" >&5
23563 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23564 if test "${ac_cv_sizeof_size_t+set}" = set; then
23565 echo $ECHO_N "(cached) $ECHO_C" >&6
23566 else
23567 if test "$cross_compiling" = yes; then
23568 # Depending upon the size, compute the lo and hi bounds.
23569 cat >conftest.$ac_ext <<_ACEOF
23570 /* confdefs.h. */
23571 _ACEOF
23572 cat confdefs.h >>conftest.$ac_ext
23573 cat >>conftest.$ac_ext <<_ACEOF
23574 /* end confdefs.h. */
23575 $ac_includes_default
23576 typedef size_t ac__type_sizeof_;
23577 int
23578 main ()
23579 {
23580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23581 test_array [0] = 0
23582
23583 ;
23584 return 0;
23585 }
23586 _ACEOF
23587 rm -f conftest.$ac_objext
23588 if { (ac_try="$ac_compile"
23589 case "(($ac_try" in
23590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23591 *) ac_try_echo=$ac_try;;
23592 esac
23593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23594 (eval "$ac_compile") 2>conftest.er1
23595 ac_status=$?
23596 grep -v '^ *+' conftest.er1 >conftest.err
23597 rm -f conftest.er1
23598 cat conftest.err >&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } && {
23601 test -z "$ac_c_werror_flag" ||
23602 test ! -s conftest.err
23603 } && test -s conftest.$ac_objext; then
23604 ac_lo=0 ac_mid=0
23605 while :; do
23606 cat >conftest.$ac_ext <<_ACEOF
23607 /* confdefs.h. */
23608 _ACEOF
23609 cat confdefs.h >>conftest.$ac_ext
23610 cat >>conftest.$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23612 $ac_includes_default
23613 typedef size_t ac__type_sizeof_;
23614 int
23615 main ()
23616 {
23617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23618 test_array [0] = 0
23619
23620 ;
23621 return 0;
23622 }
23623 _ACEOF
23624 rm -f conftest.$ac_objext
23625 if { (ac_try="$ac_compile"
23626 case "(($ac_try" in
23627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23628 *) ac_try_echo=$ac_try;;
23629 esac
23630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23631 (eval "$ac_compile") 2>conftest.er1
23632 ac_status=$?
23633 grep -v '^ *+' conftest.er1 >conftest.err
23634 rm -f conftest.er1
23635 cat conftest.err >&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); } && {
23638 test -z "$ac_c_werror_flag" ||
23639 test ! -s conftest.err
23640 } && test -s conftest.$ac_objext; then
23641 ac_hi=$ac_mid; break
23642 else
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.$ac_ext >&5
23645
23646 ac_lo=`expr $ac_mid + 1`
23647 if test $ac_lo -le $ac_mid; then
23648 ac_lo= ac_hi=
23649 break
23650 fi
23651 ac_mid=`expr 2 '*' $ac_mid + 1`
23652 fi
23653
23654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23655 done
23656 else
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.$ac_ext >&5
23659
23660 cat >conftest.$ac_ext <<_ACEOF
23661 /* confdefs.h. */
23662 _ACEOF
23663 cat confdefs.h >>conftest.$ac_ext
23664 cat >>conftest.$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23666 $ac_includes_default
23667 typedef size_t ac__type_sizeof_;
23668 int
23669 main ()
23670 {
23671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23672 test_array [0] = 0
23673
23674 ;
23675 return 0;
23676 }
23677 _ACEOF
23678 rm -f conftest.$ac_objext
23679 if { (ac_try="$ac_compile"
23680 case "(($ac_try" in
23681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23682 *) ac_try_echo=$ac_try;;
23683 esac
23684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23685 (eval "$ac_compile") 2>conftest.er1
23686 ac_status=$?
23687 grep -v '^ *+' conftest.er1 >conftest.err
23688 rm -f conftest.er1
23689 cat conftest.err >&5
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); } && {
23692 test -z "$ac_c_werror_flag" ||
23693 test ! -s conftest.err
23694 } && test -s conftest.$ac_objext; then
23695 ac_hi=-1 ac_mid=-1
23696 while :; do
23697 cat >conftest.$ac_ext <<_ACEOF
23698 /* confdefs.h. */
23699 _ACEOF
23700 cat confdefs.h >>conftest.$ac_ext
23701 cat >>conftest.$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703 $ac_includes_default
23704 typedef size_t ac__type_sizeof_;
23705 int
23706 main ()
23707 {
23708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23709 test_array [0] = 0
23710
23711 ;
23712 return 0;
23713 }
23714 _ACEOF
23715 rm -f conftest.$ac_objext
23716 if { (ac_try="$ac_compile"
23717 case "(($ac_try" in
23718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23719 *) ac_try_echo=$ac_try;;
23720 esac
23721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23722 (eval "$ac_compile") 2>conftest.er1
23723 ac_status=$?
23724 grep -v '^ *+' conftest.er1 >conftest.err
23725 rm -f conftest.er1
23726 cat conftest.err >&5
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); } && {
23729 test -z "$ac_c_werror_flag" ||
23730 test ! -s conftest.err
23731 } && test -s conftest.$ac_objext; then
23732 ac_lo=$ac_mid; break
23733 else
23734 echo "$as_me: failed program was:" >&5
23735 sed 's/^/| /' conftest.$ac_ext >&5
23736
23737 ac_hi=`expr '(' $ac_mid ')' - 1`
23738 if test $ac_mid -le $ac_hi; then
23739 ac_lo= ac_hi=
23740 break
23741 fi
23742 ac_mid=`expr 2 '*' $ac_mid`
23743 fi
23744
23745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23746 done
23747 else
23748 echo "$as_me: failed program was:" >&5
23749 sed 's/^/| /' conftest.$ac_ext >&5
23750
23751 ac_lo= ac_hi=
23752 fi
23753
23754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23755 fi
23756
23757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23758 # Binary search between lo and hi bounds.
23759 while test "x$ac_lo" != "x$ac_hi"; do
23760 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23761 cat >conftest.$ac_ext <<_ACEOF
23762 /* confdefs.h. */
23763 _ACEOF
23764 cat confdefs.h >>conftest.$ac_ext
23765 cat >>conftest.$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23767 $ac_includes_default
23768 typedef size_t ac__type_sizeof_;
23769 int
23770 main ()
23771 {
23772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23773 test_array [0] = 0
23774
23775 ;
23776 return 0;
23777 }
23778 _ACEOF
23779 rm -f conftest.$ac_objext
23780 if { (ac_try="$ac_compile"
23781 case "(($ac_try" in
23782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23783 *) ac_try_echo=$ac_try;;
23784 esac
23785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23786 (eval "$ac_compile") 2>conftest.er1
23787 ac_status=$?
23788 grep -v '^ *+' conftest.er1 >conftest.err
23789 rm -f conftest.er1
23790 cat conftest.err >&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } && {
23793 test -z "$ac_c_werror_flag" ||
23794 test ! -s conftest.err
23795 } && test -s conftest.$ac_objext; then
23796 ac_hi=$ac_mid
23797 else
23798 echo "$as_me: failed program was:" >&5
23799 sed 's/^/| /' conftest.$ac_ext >&5
23800
23801 ac_lo=`expr '(' $ac_mid ')' + 1`
23802 fi
23803
23804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23805 done
23806 case $ac_lo in
23807 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23808 '') if test "$ac_cv_type_size_t" = yes; then
23809 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23810 See \`config.log' for more details." >&5
23811 echo "$as_me: error: cannot compute sizeof (size_t)
23812 See \`config.log' for more details." >&2;}
23813 { (exit 77); exit 77; }; }
23814 else
23815 ac_cv_sizeof_size_t=0
23816 fi ;;
23817 esac
23818 else
23819 cat >conftest.$ac_ext <<_ACEOF
23820 /* confdefs.h. */
23821 _ACEOF
23822 cat confdefs.h >>conftest.$ac_ext
23823 cat >>conftest.$ac_ext <<_ACEOF
23824 /* end confdefs.h. */
23825 $ac_includes_default
23826 typedef size_t ac__type_sizeof_;
23827 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23828 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23829 #include <stdio.h>
23830 #include <stdlib.h>
23831 int
23832 main ()
23833 {
23834
23835 FILE *f = fopen ("conftest.val", "w");
23836 if (! f)
23837 return 1;
23838 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23839 {
23840 long int i = longval ();
23841 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23842 return 1;
23843 fprintf (f, "%ld\n", i);
23844 }
23845 else
23846 {
23847 unsigned long int i = ulongval ();
23848 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23849 return 1;
23850 fprintf (f, "%lu\n", i);
23851 }
23852 return ferror (f) || fclose (f) != 0;
23853
23854 ;
23855 return 0;
23856 }
23857 _ACEOF
23858 rm -f conftest$ac_exeext
23859 if { (ac_try="$ac_link"
23860 case "(($ac_try" in
23861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23863 esac
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_link") 2>&5
23866 ac_status=$?
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23869 { (case "(($ac_try" in
23870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23871 *) ac_try_echo=$ac_try;;
23872 esac
23873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23874 (eval "$ac_try") 2>&5
23875 ac_status=$?
23876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877 (exit $ac_status); }; }; then
23878 ac_cv_sizeof_size_t=`cat conftest.val`
23879 else
23880 echo "$as_me: program exited with status $ac_status" >&5
23881 echo "$as_me: failed program was:" >&5
23882 sed 's/^/| /' conftest.$ac_ext >&5
23883
23884 ( exit $ac_status )
23885 if test "$ac_cv_type_size_t" = yes; then
23886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23887 See \`config.log' for more details." >&5
23888 echo "$as_me: error: cannot compute sizeof (size_t)
23889 See \`config.log' for more details." >&2;}
23890 { (exit 77); exit 77; }; }
23891 else
23892 ac_cv_sizeof_size_t=0
23893 fi
23894 fi
23895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23896 fi
23897 rm -f conftest.val
23898 fi
23899 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23900 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23901
23902
23903
23904 cat >>confdefs.h <<_ACEOF
23905 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23906 _ACEOF
23907
23908
23909
23910 case "${host}" in
23911 arm-*-linux* )
23912 { echo "$as_me:$LINENO: checking for long long" >&5
23913 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23914 if test "${ac_cv_type_long_long+set}" = set; then
23915 echo $ECHO_N "(cached) $ECHO_C" >&6
23916 else
23917 cat >conftest.$ac_ext <<_ACEOF
23918 /* confdefs.h. */
23919 _ACEOF
23920 cat confdefs.h >>conftest.$ac_ext
23921 cat >>conftest.$ac_ext <<_ACEOF
23922 /* end confdefs.h. */
23923 $ac_includes_default
23924 typedef long long ac__type_new_;
23925 int
23926 main ()
23927 {
23928 if ((ac__type_new_ *) 0)
23929 return 0;
23930 if (sizeof (ac__type_new_))
23931 return 0;
23932 ;
23933 return 0;
23934 }
23935 _ACEOF
23936 rm -f conftest.$ac_objext
23937 if { (ac_try="$ac_compile"
23938 case "(($ac_try" in
23939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23940 *) ac_try_echo=$ac_try;;
23941 esac
23942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23943 (eval "$ac_compile") 2>conftest.er1
23944 ac_status=$?
23945 grep -v '^ *+' conftest.er1 >conftest.err
23946 rm -f conftest.er1
23947 cat conftest.err >&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } && {
23950 test -z "$ac_c_werror_flag" ||
23951 test ! -s conftest.err
23952 } && test -s conftest.$ac_objext; then
23953 ac_cv_type_long_long=yes
23954 else
23955 echo "$as_me: failed program was:" >&5
23956 sed 's/^/| /' conftest.$ac_ext >&5
23957
23958 ac_cv_type_long_long=no
23959 fi
23960
23961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23962 fi
23963 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23964 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23965
23966 # The cast to long int works around a bug in the HP C Compiler
23967 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23968 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23969 # This bug is HP SR number 8606223364.
23970 { echo "$as_me:$LINENO: checking size of long long" >&5
23971 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23972 if test "${ac_cv_sizeof_long_long+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 else
23975 if test "$cross_compiling" = yes; then
23976 # Depending upon the size, compute the lo and hi bounds.
23977 cat >conftest.$ac_ext <<_ACEOF
23978 /* confdefs.h. */
23979 _ACEOF
23980 cat confdefs.h >>conftest.$ac_ext
23981 cat >>conftest.$ac_ext <<_ACEOF
23982 /* end confdefs.h. */
23983 $ac_includes_default
23984 typedef long long ac__type_sizeof_;
23985 int
23986 main ()
23987 {
23988 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23989 test_array [0] = 0
23990
23991 ;
23992 return 0;
23993 }
23994 _ACEOF
23995 rm -f conftest.$ac_objext
23996 if { (ac_try="$ac_compile"
23997 case "(($ac_try" in
23998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23999 *) ac_try_echo=$ac_try;;
24000 esac
24001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_compile") 2>conftest.er1
24003 ac_status=$?
24004 grep -v '^ *+' conftest.er1 >conftest.err
24005 rm -f conftest.er1
24006 cat conftest.err >&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } && {
24009 test -z "$ac_c_werror_flag" ||
24010 test ! -s conftest.err
24011 } && test -s conftest.$ac_objext; then
24012 ac_lo=0 ac_mid=0
24013 while :; do
24014 cat >conftest.$ac_ext <<_ACEOF
24015 /* confdefs.h. */
24016 _ACEOF
24017 cat confdefs.h >>conftest.$ac_ext
24018 cat >>conftest.$ac_ext <<_ACEOF
24019 /* end confdefs.h. */
24020 $ac_includes_default
24021 typedef long long ac__type_sizeof_;
24022 int
24023 main ()
24024 {
24025 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24026 test_array [0] = 0
24027
24028 ;
24029 return 0;
24030 }
24031 _ACEOF
24032 rm -f conftest.$ac_objext
24033 if { (ac_try="$ac_compile"
24034 case "(($ac_try" in
24035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24036 *) ac_try_echo=$ac_try;;
24037 esac
24038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24039 (eval "$ac_compile") 2>conftest.er1
24040 ac_status=$?
24041 grep -v '^ *+' conftest.er1 >conftest.err
24042 rm -f conftest.er1
24043 cat conftest.err >&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); } && {
24046 test -z "$ac_c_werror_flag" ||
24047 test ! -s conftest.err
24048 } && test -s conftest.$ac_objext; then
24049 ac_hi=$ac_mid; break
24050 else
24051 echo "$as_me: failed program was:" >&5
24052 sed 's/^/| /' conftest.$ac_ext >&5
24053
24054 ac_lo=`expr $ac_mid + 1`
24055 if test $ac_lo -le $ac_mid; then
24056 ac_lo= ac_hi=
24057 break
24058 fi
24059 ac_mid=`expr 2 '*' $ac_mid + 1`
24060 fi
24061
24062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24063 done
24064 else
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.$ac_ext >&5
24067
24068 cat >conftest.$ac_ext <<_ACEOF
24069 /* confdefs.h. */
24070 _ACEOF
24071 cat confdefs.h >>conftest.$ac_ext
24072 cat >>conftest.$ac_ext <<_ACEOF
24073 /* end confdefs.h. */
24074 $ac_includes_default
24075 typedef long long ac__type_sizeof_;
24076 int
24077 main ()
24078 {
24079 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24080 test_array [0] = 0
24081
24082 ;
24083 return 0;
24084 }
24085 _ACEOF
24086 rm -f conftest.$ac_objext
24087 if { (ac_try="$ac_compile"
24088 case "(($ac_try" in
24089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24090 *) ac_try_echo=$ac_try;;
24091 esac
24092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24093 (eval "$ac_compile") 2>conftest.er1
24094 ac_status=$?
24095 grep -v '^ *+' conftest.er1 >conftest.err
24096 rm -f conftest.er1
24097 cat conftest.err >&5
24098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24099 (exit $ac_status); } && {
24100 test -z "$ac_c_werror_flag" ||
24101 test ! -s conftest.err
24102 } && test -s conftest.$ac_objext; then
24103 ac_hi=-1 ac_mid=-1
24104 while :; do
24105 cat >conftest.$ac_ext <<_ACEOF
24106 /* confdefs.h. */
24107 _ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24111 $ac_includes_default
24112 typedef long long ac__type_sizeof_;
24113 int
24114 main ()
24115 {
24116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24117 test_array [0] = 0
24118
24119 ;
24120 return 0;
24121 }
24122 _ACEOF
24123 rm -f conftest.$ac_objext
24124 if { (ac_try="$ac_compile"
24125 case "(($ac_try" in
24126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24127 *) ac_try_echo=$ac_try;;
24128 esac
24129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24130 (eval "$ac_compile") 2>conftest.er1
24131 ac_status=$?
24132 grep -v '^ *+' conftest.er1 >conftest.err
24133 rm -f conftest.er1
24134 cat conftest.err >&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); } && {
24137 test -z "$ac_c_werror_flag" ||
24138 test ! -s conftest.err
24139 } && test -s conftest.$ac_objext; then
24140 ac_lo=$ac_mid; break
24141 else
24142 echo "$as_me: failed program was:" >&5
24143 sed 's/^/| /' conftest.$ac_ext >&5
24144
24145 ac_hi=`expr '(' $ac_mid ')' - 1`
24146 if test $ac_mid -le $ac_hi; then
24147 ac_lo= ac_hi=
24148 break
24149 fi
24150 ac_mid=`expr 2 '*' $ac_mid`
24151 fi
24152
24153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24154 done
24155 else
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.$ac_ext >&5
24158
24159 ac_lo= ac_hi=
24160 fi
24161
24162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24163 fi
24164
24165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24166 # Binary search between lo and hi bounds.
24167 while test "x$ac_lo" != "x$ac_hi"; do
24168 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24169 cat >conftest.$ac_ext <<_ACEOF
24170 /* confdefs.h. */
24171 _ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24175 $ac_includes_default
24176 typedef long long ac__type_sizeof_;
24177 int
24178 main ()
24179 {
24180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24181 test_array [0] = 0
24182
24183 ;
24184 return 0;
24185 }
24186 _ACEOF
24187 rm -f conftest.$ac_objext
24188 if { (ac_try="$ac_compile"
24189 case "(($ac_try" in
24190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24191 *) ac_try_echo=$ac_try;;
24192 esac
24193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24194 (eval "$ac_compile") 2>conftest.er1
24195 ac_status=$?
24196 grep -v '^ *+' conftest.er1 >conftest.err
24197 rm -f conftest.er1
24198 cat conftest.err >&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } && {
24201 test -z "$ac_c_werror_flag" ||
24202 test ! -s conftest.err
24203 } && test -s conftest.$ac_objext; then
24204 ac_hi=$ac_mid
24205 else
24206 echo "$as_me: failed program was:" >&5
24207 sed 's/^/| /' conftest.$ac_ext >&5
24208
24209 ac_lo=`expr '(' $ac_mid ')' + 1`
24210 fi
24211
24212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24213 done
24214 case $ac_lo in
24215 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24216 '') if test "$ac_cv_type_long_long" = yes; then
24217 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24218 See \`config.log' for more details." >&5
24219 echo "$as_me: error: cannot compute sizeof (long long)
24220 See \`config.log' for more details." >&2;}
24221 { (exit 77); exit 77; }; }
24222 else
24223 ac_cv_sizeof_long_long=0
24224 fi ;;
24225 esac
24226 else
24227 cat >conftest.$ac_ext <<_ACEOF
24228 /* confdefs.h. */
24229 _ACEOF
24230 cat confdefs.h >>conftest.$ac_ext
24231 cat >>conftest.$ac_ext <<_ACEOF
24232 /* end confdefs.h. */
24233 $ac_includes_default
24234 typedef long long ac__type_sizeof_;
24235 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24236 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24237 #include <stdio.h>
24238 #include <stdlib.h>
24239 int
24240 main ()
24241 {
24242
24243 FILE *f = fopen ("conftest.val", "w");
24244 if (! f)
24245 return 1;
24246 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24247 {
24248 long int i = longval ();
24249 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24250 return 1;
24251 fprintf (f, "%ld\n", i);
24252 }
24253 else
24254 {
24255 unsigned long int i = ulongval ();
24256 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24257 return 1;
24258 fprintf (f, "%lu\n", i);
24259 }
24260 return ferror (f) || fclose (f) != 0;
24261
24262 ;
24263 return 0;
24264 }
24265 _ACEOF
24266 rm -f conftest$ac_exeext
24267 if { (ac_try="$ac_link"
24268 case "(($ac_try" in
24269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24270 *) ac_try_echo=$ac_try;;
24271 esac
24272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24273 (eval "$ac_link") 2>&5
24274 ac_status=$?
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24277 { (case "(($ac_try" in
24278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24279 *) ac_try_echo=$ac_try;;
24280 esac
24281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24282 (eval "$ac_try") 2>&5
24283 ac_status=$?
24284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24285 (exit $ac_status); }; }; then
24286 ac_cv_sizeof_long_long=`cat conftest.val`
24287 else
24288 echo "$as_me: program exited with status $ac_status" >&5
24289 echo "$as_me: failed program was:" >&5
24290 sed 's/^/| /' conftest.$ac_ext >&5
24291
24292 ( exit $ac_status )
24293 if test "$ac_cv_type_long_long" = yes; then
24294 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24295 See \`config.log' for more details." >&5
24296 echo "$as_me: error: cannot compute sizeof (long long)
24297 See \`config.log' for more details." >&2;}
24298 { (exit 77); exit 77; }; }
24299 else
24300 ac_cv_sizeof_long_long=0
24301 fi
24302 fi
24303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24304 fi
24305 rm -f conftest.val
24306 fi
24307 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24308 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24309
24310
24311
24312 cat >>confdefs.h <<_ACEOF
24313 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24314 _ACEOF
24315
24316
24317 ;;
24318 *-hp-hpux* )
24319 { echo "$as_me:$LINENO: checking for long long" >&5
24320 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24321 if test "${ac_cv_type_long_long+set}" = set; then
24322 echo $ECHO_N "(cached) $ECHO_C" >&6
24323 else
24324 cat >conftest.$ac_ext <<_ACEOF
24325 /* confdefs.h. */
24326 _ACEOF
24327 cat confdefs.h >>conftest.$ac_ext
24328 cat >>conftest.$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 $ac_includes_default
24331 typedef long long ac__type_new_;
24332 int
24333 main ()
24334 {
24335 if ((ac__type_new_ *) 0)
24336 return 0;
24337 if (sizeof (ac__type_new_))
24338 return 0;
24339 ;
24340 return 0;
24341 }
24342 _ACEOF
24343 rm -f conftest.$ac_objext
24344 if { (ac_try="$ac_compile"
24345 case "(($ac_try" in
24346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24347 *) ac_try_echo=$ac_try;;
24348 esac
24349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24350 (eval "$ac_compile") 2>conftest.er1
24351 ac_status=$?
24352 grep -v '^ *+' conftest.er1 >conftest.err
24353 rm -f conftest.er1
24354 cat conftest.err >&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } && {
24357 test -z "$ac_c_werror_flag" ||
24358 test ! -s conftest.err
24359 } && test -s conftest.$ac_objext; then
24360 ac_cv_type_long_long=yes
24361 else
24362 echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24364
24365 ac_cv_type_long_long=no
24366 fi
24367
24368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24369 fi
24370 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24371 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24372
24373 # The cast to long int works around a bug in the HP C Compiler
24374 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24375 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24376 # This bug is HP SR number 8606223364.
24377 { echo "$as_me:$LINENO: checking size of long long" >&5
24378 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24379 if test "${ac_cv_sizeof_long_long+set}" = set; then
24380 echo $ECHO_N "(cached) $ECHO_C" >&6
24381 else
24382 if test "$cross_compiling" = yes; then
24383 # Depending upon the size, compute the lo and hi bounds.
24384 cat >conftest.$ac_ext <<_ACEOF
24385 /* confdefs.h. */
24386 _ACEOF
24387 cat confdefs.h >>conftest.$ac_ext
24388 cat >>conftest.$ac_ext <<_ACEOF
24389 /* end confdefs.h. */
24390 $ac_includes_default
24391 typedef long long ac__type_sizeof_;
24392 int
24393 main ()
24394 {
24395 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24396 test_array [0] = 0
24397
24398 ;
24399 return 0;
24400 }
24401 _ACEOF
24402 rm -f conftest.$ac_objext
24403 if { (ac_try="$ac_compile"
24404 case "(($ac_try" in
24405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24406 *) ac_try_echo=$ac_try;;
24407 esac
24408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24409 (eval "$ac_compile") 2>conftest.er1
24410 ac_status=$?
24411 grep -v '^ *+' conftest.er1 >conftest.err
24412 rm -f conftest.er1
24413 cat conftest.err >&5
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); } && {
24416 test -z "$ac_c_werror_flag" ||
24417 test ! -s conftest.err
24418 } && test -s conftest.$ac_objext; then
24419 ac_lo=0 ac_mid=0
24420 while :; do
24421 cat >conftest.$ac_ext <<_ACEOF
24422 /* confdefs.h. */
24423 _ACEOF
24424 cat confdefs.h >>conftest.$ac_ext
24425 cat >>conftest.$ac_ext <<_ACEOF
24426 /* end confdefs.h. */
24427 $ac_includes_default
24428 typedef long long ac__type_sizeof_;
24429 int
24430 main ()
24431 {
24432 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24433 test_array [0] = 0
24434
24435 ;
24436 return 0;
24437 }
24438 _ACEOF
24439 rm -f conftest.$ac_objext
24440 if { (ac_try="$ac_compile"
24441 case "(($ac_try" in
24442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24443 *) ac_try_echo=$ac_try;;
24444 esac
24445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24446 (eval "$ac_compile") 2>conftest.er1
24447 ac_status=$?
24448 grep -v '^ *+' conftest.er1 >conftest.err
24449 rm -f conftest.er1
24450 cat conftest.err >&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); } && {
24453 test -z "$ac_c_werror_flag" ||
24454 test ! -s conftest.err
24455 } && test -s conftest.$ac_objext; then
24456 ac_hi=$ac_mid; break
24457 else
24458 echo "$as_me: failed program was:" >&5
24459 sed 's/^/| /' conftest.$ac_ext >&5
24460
24461 ac_lo=`expr $ac_mid + 1`
24462 if test $ac_lo -le $ac_mid; then
24463 ac_lo= ac_hi=
24464 break
24465 fi
24466 ac_mid=`expr 2 '*' $ac_mid + 1`
24467 fi
24468
24469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24470 done
24471 else
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.$ac_ext >&5
24474
24475 cat >conftest.$ac_ext <<_ACEOF
24476 /* confdefs.h. */
24477 _ACEOF
24478 cat confdefs.h >>conftest.$ac_ext
24479 cat >>conftest.$ac_ext <<_ACEOF
24480 /* end confdefs.h. */
24481 $ac_includes_default
24482 typedef long long ac__type_sizeof_;
24483 int
24484 main ()
24485 {
24486 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24487 test_array [0] = 0
24488
24489 ;
24490 return 0;
24491 }
24492 _ACEOF
24493 rm -f conftest.$ac_objext
24494 if { (ac_try="$ac_compile"
24495 case "(($ac_try" in
24496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24497 *) ac_try_echo=$ac_try;;
24498 esac
24499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24500 (eval "$ac_compile") 2>conftest.er1
24501 ac_status=$?
24502 grep -v '^ *+' conftest.er1 >conftest.err
24503 rm -f conftest.er1
24504 cat conftest.err >&5
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); } && {
24507 test -z "$ac_c_werror_flag" ||
24508 test ! -s conftest.err
24509 } && test -s conftest.$ac_objext; then
24510 ac_hi=-1 ac_mid=-1
24511 while :; do
24512 cat >conftest.$ac_ext <<_ACEOF
24513 /* confdefs.h. */
24514 _ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518 $ac_includes_default
24519 typedef long long ac__type_sizeof_;
24520 int
24521 main ()
24522 {
24523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24524 test_array [0] = 0
24525
24526 ;
24527 return 0;
24528 }
24529 _ACEOF
24530 rm -f conftest.$ac_objext
24531 if { (ac_try="$ac_compile"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24535 esac
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_compile") 2>conftest.er1
24538 ac_status=$?
24539 grep -v '^ *+' conftest.er1 >conftest.err
24540 rm -f conftest.er1
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_c_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest.$ac_objext; then
24547 ac_lo=$ac_mid; break
24548 else
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.$ac_ext >&5
24551
24552 ac_hi=`expr '(' $ac_mid ')' - 1`
24553 if test $ac_mid -le $ac_hi; then
24554 ac_lo= ac_hi=
24555 break
24556 fi
24557 ac_mid=`expr 2 '*' $ac_mid`
24558 fi
24559
24560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24561 done
24562 else
24563 echo "$as_me: failed program was:" >&5
24564 sed 's/^/| /' conftest.$ac_ext >&5
24565
24566 ac_lo= ac_hi=
24567 fi
24568
24569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24570 fi
24571
24572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24573 # Binary search between lo and hi bounds.
24574 while test "x$ac_lo" != "x$ac_hi"; do
24575 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24576 cat >conftest.$ac_ext <<_ACEOF
24577 /* confdefs.h. */
24578 _ACEOF
24579 cat confdefs.h >>conftest.$ac_ext
24580 cat >>conftest.$ac_ext <<_ACEOF
24581 /* end confdefs.h. */
24582 $ac_includes_default
24583 typedef long long ac__type_sizeof_;
24584 int
24585 main ()
24586 {
24587 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24588 test_array [0] = 0
24589
24590 ;
24591 return 0;
24592 }
24593 _ACEOF
24594 rm -f conftest.$ac_objext
24595 if { (ac_try="$ac_compile"
24596 case "(($ac_try" in
24597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24598 *) ac_try_echo=$ac_try;;
24599 esac
24600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24601 (eval "$ac_compile") 2>conftest.er1
24602 ac_status=$?
24603 grep -v '^ *+' conftest.er1 >conftest.err
24604 rm -f conftest.er1
24605 cat conftest.err >&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); } && {
24608 test -z "$ac_c_werror_flag" ||
24609 test ! -s conftest.err
24610 } && test -s conftest.$ac_objext; then
24611 ac_hi=$ac_mid
24612 else
24613 echo "$as_me: failed program was:" >&5
24614 sed 's/^/| /' conftest.$ac_ext >&5
24615
24616 ac_lo=`expr '(' $ac_mid ')' + 1`
24617 fi
24618
24619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24620 done
24621 case $ac_lo in
24622 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24623 '') if test "$ac_cv_type_long_long" = yes; then
24624 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24625 See \`config.log' for more details." >&5
24626 echo "$as_me: error: cannot compute sizeof (long long)
24627 See \`config.log' for more details." >&2;}
24628 { (exit 77); exit 77; }; }
24629 else
24630 ac_cv_sizeof_long_long=0
24631 fi ;;
24632 esac
24633 else
24634 cat >conftest.$ac_ext <<_ACEOF
24635 /* confdefs.h. */
24636 _ACEOF
24637 cat confdefs.h >>conftest.$ac_ext
24638 cat >>conftest.$ac_ext <<_ACEOF
24639 /* end confdefs.h. */
24640 $ac_includes_default
24641 typedef long long ac__type_sizeof_;
24642 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24643 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24644 #include <stdio.h>
24645 #include <stdlib.h>
24646 int
24647 main ()
24648 {
24649
24650 FILE *f = fopen ("conftest.val", "w");
24651 if (! f)
24652 return 1;
24653 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24654 {
24655 long int i = longval ();
24656 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24657 return 1;
24658 fprintf (f, "%ld\n", i);
24659 }
24660 else
24661 {
24662 unsigned long int i = ulongval ();
24663 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24664 return 1;
24665 fprintf (f, "%lu\n", i);
24666 }
24667 return ferror (f) || fclose (f) != 0;
24668
24669 ;
24670 return 0;
24671 }
24672 _ACEOF
24673 rm -f conftest$ac_exeext
24674 if { (ac_try="$ac_link"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24678 esac
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_link") 2>&5
24681 ac_status=$?
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24684 { (case "(($ac_try" in
24685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24686 *) ac_try_echo=$ac_try;;
24687 esac
24688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24689 (eval "$ac_try") 2>&5
24690 ac_status=$?
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); }; }; then
24693 ac_cv_sizeof_long_long=`cat conftest.val`
24694 else
24695 echo "$as_me: program exited with status $ac_status" >&5
24696 echo "$as_me: failed program was:" >&5
24697 sed 's/^/| /' conftest.$ac_ext >&5
24698
24699 ( exit $ac_status )
24700 if test "$ac_cv_type_long_long" = yes; then
24701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24702 See \`config.log' for more details." >&5
24703 echo "$as_me: error: cannot compute sizeof (long long)
24704 See \`config.log' for more details." >&2;}
24705 { (exit 77); exit 77; }; }
24706 else
24707 ac_cv_sizeof_long_long=0
24708 fi
24709 fi
24710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24711 fi
24712 rm -f conftest.val
24713 fi
24714 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24715 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24716
24717
24718
24719 cat >>confdefs.h <<_ACEOF
24720 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24721 _ACEOF
24722
24723
24724 if test "$ac_cv_sizeof_long_long" != "0"; then
24725 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24726 fi
24727 ;;
24728 * )
24729 { echo "$as_me:$LINENO: checking for long long" >&5
24730 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24731 if test "${ac_cv_type_long_long+set}" = set; then
24732 echo $ECHO_N "(cached) $ECHO_C" >&6
24733 else
24734 cat >conftest.$ac_ext <<_ACEOF
24735 /* confdefs.h. */
24736 _ACEOF
24737 cat confdefs.h >>conftest.$ac_ext
24738 cat >>conftest.$ac_ext <<_ACEOF
24739 /* end confdefs.h. */
24740 $ac_includes_default
24741 typedef long long ac__type_new_;
24742 int
24743 main ()
24744 {
24745 if ((ac__type_new_ *) 0)
24746 return 0;
24747 if (sizeof (ac__type_new_))
24748 return 0;
24749 ;
24750 return 0;
24751 }
24752 _ACEOF
24753 rm -f conftest.$ac_objext
24754 if { (ac_try="$ac_compile"
24755 case "(($ac_try" in
24756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24757 *) ac_try_echo=$ac_try;;
24758 esac
24759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24760 (eval "$ac_compile") 2>conftest.er1
24761 ac_status=$?
24762 grep -v '^ *+' conftest.er1 >conftest.err
24763 rm -f conftest.er1
24764 cat conftest.err >&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); } && {
24767 test -z "$ac_c_werror_flag" ||
24768 test ! -s conftest.err
24769 } && test -s conftest.$ac_objext; then
24770 ac_cv_type_long_long=yes
24771 else
24772 echo "$as_me: failed program was:" >&5
24773 sed 's/^/| /' conftest.$ac_ext >&5
24774
24775 ac_cv_type_long_long=no
24776 fi
24777
24778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24779 fi
24780 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24781 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24782
24783 # The cast to long int works around a bug in the HP C Compiler
24784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24786 # This bug is HP SR number 8606223364.
24787 { echo "$as_me:$LINENO: checking size of long long" >&5
24788 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24789 if test "${ac_cv_sizeof_long_long+set}" = set; then
24790 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 else
24792 if test "$cross_compiling" = yes; then
24793 # Depending upon the size, compute the lo and hi bounds.
24794 cat >conftest.$ac_ext <<_ACEOF
24795 /* confdefs.h. */
24796 _ACEOF
24797 cat confdefs.h >>conftest.$ac_ext
24798 cat >>conftest.$ac_ext <<_ACEOF
24799 /* end confdefs.h. */
24800 $ac_includes_default
24801 typedef long long ac__type_sizeof_;
24802 int
24803 main ()
24804 {
24805 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24806 test_array [0] = 0
24807
24808 ;
24809 return 0;
24810 }
24811 _ACEOF
24812 rm -f conftest.$ac_objext
24813 if { (ac_try="$ac_compile"
24814 case "(($ac_try" in
24815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24816 *) ac_try_echo=$ac_try;;
24817 esac
24818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24819 (eval "$ac_compile") 2>conftest.er1
24820 ac_status=$?
24821 grep -v '^ *+' conftest.er1 >conftest.err
24822 rm -f conftest.er1
24823 cat conftest.err >&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); } && {
24826 test -z "$ac_c_werror_flag" ||
24827 test ! -s conftest.err
24828 } && test -s conftest.$ac_objext; then
24829 ac_lo=0 ac_mid=0
24830 while :; do
24831 cat >conftest.$ac_ext <<_ACEOF
24832 /* confdefs.h. */
24833 _ACEOF
24834 cat confdefs.h >>conftest.$ac_ext
24835 cat >>conftest.$ac_ext <<_ACEOF
24836 /* end confdefs.h. */
24837 $ac_includes_default
24838 typedef long long ac__type_sizeof_;
24839 int
24840 main ()
24841 {
24842 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24843 test_array [0] = 0
24844
24845 ;
24846 return 0;
24847 }
24848 _ACEOF
24849 rm -f conftest.$ac_objext
24850 if { (ac_try="$ac_compile"
24851 case "(($ac_try" in
24852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24853 *) ac_try_echo=$ac_try;;
24854 esac
24855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24856 (eval "$ac_compile") 2>conftest.er1
24857 ac_status=$?
24858 grep -v '^ *+' conftest.er1 >conftest.err
24859 rm -f conftest.er1
24860 cat conftest.err >&5
24861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862 (exit $ac_status); } && {
24863 test -z "$ac_c_werror_flag" ||
24864 test ! -s conftest.err
24865 } && test -s conftest.$ac_objext; then
24866 ac_hi=$ac_mid; break
24867 else
24868 echo "$as_me: failed program was:" >&5
24869 sed 's/^/| /' conftest.$ac_ext >&5
24870
24871 ac_lo=`expr $ac_mid + 1`
24872 if test $ac_lo -le $ac_mid; then
24873 ac_lo= ac_hi=
24874 break
24875 fi
24876 ac_mid=`expr 2 '*' $ac_mid + 1`
24877 fi
24878
24879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24880 done
24881 else
24882 echo "$as_me: failed program was:" >&5
24883 sed 's/^/| /' conftest.$ac_ext >&5
24884
24885 cat >conftest.$ac_ext <<_ACEOF
24886 /* confdefs.h. */
24887 _ACEOF
24888 cat confdefs.h >>conftest.$ac_ext
24889 cat >>conftest.$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891 $ac_includes_default
24892 typedef long long ac__type_sizeof_;
24893 int
24894 main ()
24895 {
24896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24897 test_array [0] = 0
24898
24899 ;
24900 return 0;
24901 }
24902 _ACEOF
24903 rm -f conftest.$ac_objext
24904 if { (ac_try="$ac_compile"
24905 case "(($ac_try" in
24906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24907 *) ac_try_echo=$ac_try;;
24908 esac
24909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24910 (eval "$ac_compile") 2>conftest.er1
24911 ac_status=$?
24912 grep -v '^ *+' conftest.er1 >conftest.err
24913 rm -f conftest.er1
24914 cat conftest.err >&5
24915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24916 (exit $ac_status); } && {
24917 test -z "$ac_c_werror_flag" ||
24918 test ! -s conftest.err
24919 } && test -s conftest.$ac_objext; then
24920 ac_hi=-1 ac_mid=-1
24921 while :; do
24922 cat >conftest.$ac_ext <<_ACEOF
24923 /* confdefs.h. */
24924 _ACEOF
24925 cat confdefs.h >>conftest.$ac_ext
24926 cat >>conftest.$ac_ext <<_ACEOF
24927 /* end confdefs.h. */
24928 $ac_includes_default
24929 typedef long long ac__type_sizeof_;
24930 int
24931 main ()
24932 {
24933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24934 test_array [0] = 0
24935
24936 ;
24937 return 0;
24938 }
24939 _ACEOF
24940 rm -f conftest.$ac_objext
24941 if { (ac_try="$ac_compile"
24942 case "(($ac_try" in
24943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24944 *) ac_try_echo=$ac_try;;
24945 esac
24946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24947 (eval "$ac_compile") 2>conftest.er1
24948 ac_status=$?
24949 grep -v '^ *+' conftest.er1 >conftest.err
24950 rm -f conftest.er1
24951 cat conftest.err >&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); } && {
24954 test -z "$ac_c_werror_flag" ||
24955 test ! -s conftest.err
24956 } && test -s conftest.$ac_objext; then
24957 ac_lo=$ac_mid; break
24958 else
24959 echo "$as_me: failed program was:" >&5
24960 sed 's/^/| /' conftest.$ac_ext >&5
24961
24962 ac_hi=`expr '(' $ac_mid ')' - 1`
24963 if test $ac_mid -le $ac_hi; then
24964 ac_lo= ac_hi=
24965 break
24966 fi
24967 ac_mid=`expr 2 '*' $ac_mid`
24968 fi
24969
24970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24971 done
24972 else
24973 echo "$as_me: failed program was:" >&5
24974 sed 's/^/| /' conftest.$ac_ext >&5
24975
24976 ac_lo= ac_hi=
24977 fi
24978
24979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24980 fi
24981
24982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24983 # Binary search between lo and hi bounds.
24984 while test "x$ac_lo" != "x$ac_hi"; do
24985 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24986 cat >conftest.$ac_ext <<_ACEOF
24987 /* confdefs.h. */
24988 _ACEOF
24989 cat confdefs.h >>conftest.$ac_ext
24990 cat >>conftest.$ac_ext <<_ACEOF
24991 /* end confdefs.h. */
24992 $ac_includes_default
24993 typedef long long ac__type_sizeof_;
24994 int
24995 main ()
24996 {
24997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24998 test_array [0] = 0
24999
25000 ;
25001 return 0;
25002 }
25003 _ACEOF
25004 rm -f conftest.$ac_objext
25005 if { (ac_try="$ac_compile"
25006 case "(($ac_try" in
25007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25008 *) ac_try_echo=$ac_try;;
25009 esac
25010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25011 (eval "$ac_compile") 2>conftest.er1
25012 ac_status=$?
25013 grep -v '^ *+' conftest.er1 >conftest.err
25014 rm -f conftest.er1
25015 cat conftest.err >&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } && {
25018 test -z "$ac_c_werror_flag" ||
25019 test ! -s conftest.err
25020 } && test -s conftest.$ac_objext; then
25021 ac_hi=$ac_mid
25022 else
25023 echo "$as_me: failed program was:" >&5
25024 sed 's/^/| /' conftest.$ac_ext >&5
25025
25026 ac_lo=`expr '(' $ac_mid ')' + 1`
25027 fi
25028
25029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25030 done
25031 case $ac_lo in
25032 ?*) ac_cv_sizeof_long_long=$ac_lo;;
25033 '') if test "$ac_cv_type_long_long" = yes; then
25034 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25035 See \`config.log' for more details." >&5
25036 echo "$as_me: error: cannot compute sizeof (long long)
25037 See \`config.log' for more details." >&2;}
25038 { (exit 77); exit 77; }; }
25039 else
25040 ac_cv_sizeof_long_long=0
25041 fi ;;
25042 esac
25043 else
25044 cat >conftest.$ac_ext <<_ACEOF
25045 /* confdefs.h. */
25046 _ACEOF
25047 cat confdefs.h >>conftest.$ac_ext
25048 cat >>conftest.$ac_ext <<_ACEOF
25049 /* end confdefs.h. */
25050 $ac_includes_default
25051 typedef long long ac__type_sizeof_;
25052 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25053 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25054 #include <stdio.h>
25055 #include <stdlib.h>
25056 int
25057 main ()
25058 {
25059
25060 FILE *f = fopen ("conftest.val", "w");
25061 if (! f)
25062 return 1;
25063 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25064 {
25065 long int i = longval ();
25066 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25067 return 1;
25068 fprintf (f, "%ld\n", i);
25069 }
25070 else
25071 {
25072 unsigned long int i = ulongval ();
25073 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25074 return 1;
25075 fprintf (f, "%lu\n", i);
25076 }
25077 return ferror (f) || fclose (f) != 0;
25078
25079 ;
25080 return 0;
25081 }
25082 _ACEOF
25083 rm -f conftest$ac_exeext
25084 if { (ac_try="$ac_link"
25085 case "(($ac_try" in
25086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25087 *) ac_try_echo=$ac_try;;
25088 esac
25089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25090 (eval "$ac_link") 2>&5
25091 ac_status=$?
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25094 { (case "(($ac_try" in
25095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25096 *) ac_try_echo=$ac_try;;
25097 esac
25098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25099 (eval "$ac_try") 2>&5
25100 ac_status=$?
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); }; }; then
25103 ac_cv_sizeof_long_long=`cat conftest.val`
25104 else
25105 echo "$as_me: program exited with status $ac_status" >&5
25106 echo "$as_me: failed program was:" >&5
25107 sed 's/^/| /' conftest.$ac_ext >&5
25108
25109 ( exit $ac_status )
25110 if test "$ac_cv_type_long_long" = yes; then
25111 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25112 See \`config.log' for more details." >&5
25113 echo "$as_me: error: cannot compute sizeof (long long)
25114 See \`config.log' for more details." >&2;}
25115 { (exit 77); exit 77; }; }
25116 else
25117 ac_cv_sizeof_long_long=0
25118 fi
25119 fi
25120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25121 fi
25122 rm -f conftest.val
25123 fi
25124 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25125 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25126
25127
25128
25129 cat >>confdefs.h <<_ACEOF
25130 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25131 _ACEOF
25132
25133
25134 esac
25135
25136 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25137 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25138 if test "${ac_cv_type_wchar_t+set}" = set; then
25139 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 else
25141 cat >conftest.$ac_ext <<_ACEOF
25142 /* confdefs.h. */
25143 _ACEOF
25144 cat confdefs.h >>conftest.$ac_ext
25145 cat >>conftest.$ac_ext <<_ACEOF
25146 /* end confdefs.h. */
25147
25148 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25149 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25150 # error "fake wchar_t"
25151 #endif
25152 #ifdef HAVE_WCHAR_H
25153 # ifdef __CYGWIN__
25154 # include <stddef.h>
25155 # endif
25156 # include <wchar.h>
25157 #endif
25158 #ifdef HAVE_STDLIB_H
25159 # include <stdlib.h>
25160 #endif
25161 #include <stdio.h>
25162
25163
25164
25165 typedef wchar_t ac__type_new_;
25166 int
25167 main ()
25168 {
25169 if ((ac__type_new_ *) 0)
25170 return 0;
25171 if (sizeof (ac__type_new_))
25172 return 0;
25173 ;
25174 return 0;
25175 }
25176 _ACEOF
25177 rm -f conftest.$ac_objext
25178 if { (ac_try="$ac_compile"
25179 case "(($ac_try" in
25180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25181 *) ac_try_echo=$ac_try;;
25182 esac
25183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25184 (eval "$ac_compile") 2>conftest.er1
25185 ac_status=$?
25186 grep -v '^ *+' conftest.er1 >conftest.err
25187 rm -f conftest.er1
25188 cat conftest.err >&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); } && {
25191 test -z "$ac_c_werror_flag" ||
25192 test ! -s conftest.err
25193 } && test -s conftest.$ac_objext; then
25194 ac_cv_type_wchar_t=yes
25195 else
25196 echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.$ac_ext >&5
25198
25199 ac_cv_type_wchar_t=no
25200 fi
25201
25202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25203 fi
25204 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25205 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25206
25207 # The cast to long int works around a bug in the HP C Compiler
25208 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25209 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25210 # This bug is HP SR number 8606223364.
25211 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25212 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25213 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25214 echo $ECHO_N "(cached) $ECHO_C" >&6
25215 else
25216 if test "$cross_compiling" = yes; then
25217 # Depending upon the size, compute the lo and hi bounds.
25218 cat >conftest.$ac_ext <<_ACEOF
25219 /* confdefs.h. */
25220 _ACEOF
25221 cat confdefs.h >>conftest.$ac_ext
25222 cat >>conftest.$ac_ext <<_ACEOF
25223 /* end confdefs.h. */
25224
25225 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25226 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25227 # error "fake wchar_t"
25228 #endif
25229 #ifdef HAVE_WCHAR_H
25230 # ifdef __CYGWIN__
25231 # include <stddef.h>
25232 # endif
25233 # include <wchar.h>
25234 #endif
25235 #ifdef HAVE_STDLIB_H
25236 # include <stdlib.h>
25237 #endif
25238 #include <stdio.h>
25239
25240
25241
25242 typedef wchar_t ac__type_sizeof_;
25243 int
25244 main ()
25245 {
25246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25247 test_array [0] = 0
25248
25249 ;
25250 return 0;
25251 }
25252 _ACEOF
25253 rm -f conftest.$ac_objext
25254 if { (ac_try="$ac_compile"
25255 case "(($ac_try" in
25256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25257 *) ac_try_echo=$ac_try;;
25258 esac
25259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25260 (eval "$ac_compile") 2>conftest.er1
25261 ac_status=$?
25262 grep -v '^ *+' conftest.er1 >conftest.err
25263 rm -f conftest.er1
25264 cat conftest.err >&5
25265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266 (exit $ac_status); } && {
25267 test -z "$ac_c_werror_flag" ||
25268 test ! -s conftest.err
25269 } && test -s conftest.$ac_objext; then
25270 ac_lo=0 ac_mid=0
25271 while :; do
25272 cat >conftest.$ac_ext <<_ACEOF
25273 /* confdefs.h. */
25274 _ACEOF
25275 cat confdefs.h >>conftest.$ac_ext
25276 cat >>conftest.$ac_ext <<_ACEOF
25277 /* end confdefs.h. */
25278
25279 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25280 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25281 # error "fake wchar_t"
25282 #endif
25283 #ifdef HAVE_WCHAR_H
25284 # ifdef __CYGWIN__
25285 # include <stddef.h>
25286 # endif
25287 # include <wchar.h>
25288 #endif
25289 #ifdef HAVE_STDLIB_H
25290 # include <stdlib.h>
25291 #endif
25292 #include <stdio.h>
25293
25294
25295
25296 typedef wchar_t ac__type_sizeof_;
25297 int
25298 main ()
25299 {
25300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25301 test_array [0] = 0
25302
25303 ;
25304 return 0;
25305 }
25306 _ACEOF
25307 rm -f conftest.$ac_objext
25308 if { (ac_try="$ac_compile"
25309 case "(($ac_try" in
25310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25311 *) ac_try_echo=$ac_try;;
25312 esac
25313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25314 (eval "$ac_compile") 2>conftest.er1
25315 ac_status=$?
25316 grep -v '^ *+' conftest.er1 >conftest.err
25317 rm -f conftest.er1
25318 cat conftest.err >&5
25319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25320 (exit $ac_status); } && {
25321 test -z "$ac_c_werror_flag" ||
25322 test ! -s conftest.err
25323 } && test -s conftest.$ac_objext; then
25324 ac_hi=$ac_mid; break
25325 else
25326 echo "$as_me: failed program was:" >&5
25327 sed 's/^/| /' conftest.$ac_ext >&5
25328
25329 ac_lo=`expr $ac_mid + 1`
25330 if test $ac_lo -le $ac_mid; then
25331 ac_lo= ac_hi=
25332 break
25333 fi
25334 ac_mid=`expr 2 '*' $ac_mid + 1`
25335 fi
25336
25337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25338 done
25339 else
25340 echo "$as_me: failed program was:" >&5
25341 sed 's/^/| /' conftest.$ac_ext >&5
25342
25343 cat >conftest.$ac_ext <<_ACEOF
25344 /* confdefs.h. */
25345 _ACEOF
25346 cat confdefs.h >>conftest.$ac_ext
25347 cat >>conftest.$ac_ext <<_ACEOF
25348 /* end confdefs.h. */
25349
25350 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25351 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25352 # error "fake wchar_t"
25353 #endif
25354 #ifdef HAVE_WCHAR_H
25355 # ifdef __CYGWIN__
25356 # include <stddef.h>
25357 # endif
25358 # include <wchar.h>
25359 #endif
25360 #ifdef HAVE_STDLIB_H
25361 # include <stdlib.h>
25362 #endif
25363 #include <stdio.h>
25364
25365
25366
25367 typedef wchar_t ac__type_sizeof_;
25368 int
25369 main ()
25370 {
25371 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25372 test_array [0] = 0
25373
25374 ;
25375 return 0;
25376 }
25377 _ACEOF
25378 rm -f conftest.$ac_objext
25379 if { (ac_try="$ac_compile"
25380 case "(($ac_try" in
25381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25382 *) ac_try_echo=$ac_try;;
25383 esac
25384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25385 (eval "$ac_compile") 2>conftest.er1
25386 ac_status=$?
25387 grep -v '^ *+' conftest.er1 >conftest.err
25388 rm -f conftest.er1
25389 cat conftest.err >&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); } && {
25392 test -z "$ac_c_werror_flag" ||
25393 test ! -s conftest.err
25394 } && test -s conftest.$ac_objext; then
25395 ac_hi=-1 ac_mid=-1
25396 while :; do
25397 cat >conftest.$ac_ext <<_ACEOF
25398 /* confdefs.h. */
25399 _ACEOF
25400 cat confdefs.h >>conftest.$ac_ext
25401 cat >>conftest.$ac_ext <<_ACEOF
25402 /* end confdefs.h. */
25403
25404 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25405 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25406 # error "fake wchar_t"
25407 #endif
25408 #ifdef HAVE_WCHAR_H
25409 # ifdef __CYGWIN__
25410 # include <stddef.h>
25411 # endif
25412 # include <wchar.h>
25413 #endif
25414 #ifdef HAVE_STDLIB_H
25415 # include <stdlib.h>
25416 #endif
25417 #include <stdio.h>
25418
25419
25420
25421 typedef wchar_t ac__type_sizeof_;
25422 int
25423 main ()
25424 {
25425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25426 test_array [0] = 0
25427
25428 ;
25429 return 0;
25430 }
25431 _ACEOF
25432 rm -f conftest.$ac_objext
25433 if { (ac_try="$ac_compile"
25434 case "(($ac_try" in
25435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25436 *) ac_try_echo=$ac_try;;
25437 esac
25438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25439 (eval "$ac_compile") 2>conftest.er1
25440 ac_status=$?
25441 grep -v '^ *+' conftest.er1 >conftest.err
25442 rm -f conftest.er1
25443 cat conftest.err >&5
25444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); } && {
25446 test -z "$ac_c_werror_flag" ||
25447 test ! -s conftest.err
25448 } && test -s conftest.$ac_objext; then
25449 ac_lo=$ac_mid; break
25450 else
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.$ac_ext >&5
25453
25454 ac_hi=`expr '(' $ac_mid ')' - 1`
25455 if test $ac_mid -le $ac_hi; then
25456 ac_lo= ac_hi=
25457 break
25458 fi
25459 ac_mid=`expr 2 '*' $ac_mid`
25460 fi
25461
25462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25463 done
25464 else
25465 echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.$ac_ext >&5
25467
25468 ac_lo= ac_hi=
25469 fi
25470
25471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25472 fi
25473
25474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25475 # Binary search between lo and hi bounds.
25476 while test "x$ac_lo" != "x$ac_hi"; do
25477 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25478 cat >conftest.$ac_ext <<_ACEOF
25479 /* confdefs.h. */
25480 _ACEOF
25481 cat confdefs.h >>conftest.$ac_ext
25482 cat >>conftest.$ac_ext <<_ACEOF
25483 /* end confdefs.h. */
25484
25485 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25486 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25487 # error "fake wchar_t"
25488 #endif
25489 #ifdef HAVE_WCHAR_H
25490 # ifdef __CYGWIN__
25491 # include <stddef.h>
25492 # endif
25493 # include <wchar.h>
25494 #endif
25495 #ifdef HAVE_STDLIB_H
25496 # include <stdlib.h>
25497 #endif
25498 #include <stdio.h>
25499
25500
25501
25502 typedef wchar_t ac__type_sizeof_;
25503 int
25504 main ()
25505 {
25506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25507 test_array [0] = 0
25508
25509 ;
25510 return 0;
25511 }
25512 _ACEOF
25513 rm -f conftest.$ac_objext
25514 if { (ac_try="$ac_compile"
25515 case "(($ac_try" in
25516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25517 *) ac_try_echo=$ac_try;;
25518 esac
25519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520 (eval "$ac_compile") 2>conftest.er1
25521 ac_status=$?
25522 grep -v '^ *+' conftest.er1 >conftest.err
25523 rm -f conftest.er1
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } && {
25527 test -z "$ac_c_werror_flag" ||
25528 test ! -s conftest.err
25529 } && test -s conftest.$ac_objext; then
25530 ac_hi=$ac_mid
25531 else
25532 echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.$ac_ext >&5
25534
25535 ac_lo=`expr '(' $ac_mid ')' + 1`
25536 fi
25537
25538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25539 done
25540 case $ac_lo in
25541 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25542 '') if test "$ac_cv_type_wchar_t" = yes; then
25543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25544 See \`config.log' for more details." >&5
25545 echo "$as_me: error: cannot compute sizeof (wchar_t)
25546 See \`config.log' for more details." >&2;}
25547 { (exit 77); exit 77; }; }
25548 else
25549 ac_cv_sizeof_wchar_t=0
25550 fi ;;
25551 esac
25552 else
25553 cat >conftest.$ac_ext <<_ACEOF
25554 /* confdefs.h. */
25555 _ACEOF
25556 cat confdefs.h >>conftest.$ac_ext
25557 cat >>conftest.$ac_ext <<_ACEOF
25558 /* end confdefs.h. */
25559
25560 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25561 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25562 # error "fake wchar_t"
25563 #endif
25564 #ifdef HAVE_WCHAR_H
25565 # ifdef __CYGWIN__
25566 # include <stddef.h>
25567 # endif
25568 # include <wchar.h>
25569 #endif
25570 #ifdef HAVE_STDLIB_H
25571 # include <stdlib.h>
25572 #endif
25573 #include <stdio.h>
25574
25575
25576
25577 typedef wchar_t ac__type_sizeof_;
25578 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25579 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25580 #include <stdio.h>
25581 #include <stdlib.h>
25582 int
25583 main ()
25584 {
25585
25586 FILE *f = fopen ("conftest.val", "w");
25587 if (! f)
25588 return 1;
25589 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25590 {
25591 long int i = longval ();
25592 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25593 return 1;
25594 fprintf (f, "%ld\n", i);
25595 }
25596 else
25597 {
25598 unsigned long int i = ulongval ();
25599 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25600 return 1;
25601 fprintf (f, "%lu\n", i);
25602 }
25603 return ferror (f) || fclose (f) != 0;
25604
25605 ;
25606 return 0;
25607 }
25608 _ACEOF
25609 rm -f conftest$ac_exeext
25610 if { (ac_try="$ac_link"
25611 case "(($ac_try" in
25612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25613 *) ac_try_echo=$ac_try;;
25614 esac
25615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25616 (eval "$ac_link") 2>&5
25617 ac_status=$?
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25620 { (case "(($ac_try" in
25621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25622 *) ac_try_echo=$ac_try;;
25623 esac
25624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25625 (eval "$ac_try") 2>&5
25626 ac_status=$?
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); }; }; then
25629 ac_cv_sizeof_wchar_t=`cat conftest.val`
25630 else
25631 echo "$as_me: program exited with status $ac_status" >&5
25632 echo "$as_me: failed program was:" >&5
25633 sed 's/^/| /' conftest.$ac_ext >&5
25634
25635 ( exit $ac_status )
25636 if test "$ac_cv_type_wchar_t" = yes; then
25637 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25638 See \`config.log' for more details." >&5
25639 echo "$as_me: error: cannot compute sizeof (wchar_t)
25640 See \`config.log' for more details." >&2;}
25641 { (exit 77); exit 77; }; }
25642 else
25643 ac_cv_sizeof_wchar_t=0
25644 fi
25645 fi
25646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25647 fi
25648 rm -f conftest.val
25649 fi
25650 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25651 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25652
25653
25654
25655 cat >>confdefs.h <<_ACEOF
25656 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25657 _ACEOF
25658
25659
25660 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25661 wxUSE_WCHAR_T=yes
25662 else
25663 wxUSE_WCHAR_T=no
25664 fi
25665
25666 { echo "$as_me:$LINENO: checking for va_copy" >&5
25667 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25668 if test "${wx_cv_func_va_copy+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25670 else
25671
25672 ac_ext=cpp
25673 ac_cpp='$CXXCPP $CPPFLAGS'
25674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25677
25678 cat >conftest.$ac_ext <<_ACEOF
25679
25680 #include <stdarg.h>
25681 void foo(char *f, ...)
25682 {
25683 va_list ap1, ap2;
25684 va_start(ap1, f);
25685 va_copy(ap2, ap1);
25686 va_end(ap2);
25687 va_end(ap1);
25688 }
25689 int main()
25690 {
25691 foo("hi", 17);
25692 return 0;
25693 }
25694 _ACEOF
25695 rm -f conftest.$ac_objext conftest$ac_exeext
25696 if { (ac_try="$ac_link"
25697 case "(($ac_try" in
25698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25699 *) ac_try_echo=$ac_try;;
25700 esac
25701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25702 (eval "$ac_link") 2>conftest.er1
25703 ac_status=$?
25704 grep -v '^ *+' conftest.er1 >conftest.err
25705 rm -f conftest.er1
25706 cat conftest.err >&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); } && {
25709 test -z "$ac_cxx_werror_flag" ||
25710 test ! -s conftest.err
25711 } && test -s conftest$ac_exeext &&
25712 $as_test_x conftest$ac_exeext; then
25713 wx_cv_func_va_copy=yes
25714 else
25715 echo "$as_me: failed program was:" >&5
25716 sed 's/^/| /' conftest.$ac_ext >&5
25717
25718 wx_cv_func_va_copy=no
25719
25720 fi
25721
25722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25723 conftest$ac_exeext conftest.$ac_ext
25724 ac_ext=c
25725 ac_cpp='$CPP $CPPFLAGS'
25726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25729
25730
25731
25732 fi
25733 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25734 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25735
25736 if test $wx_cv_func_va_copy = "yes"; then
25737 cat >>confdefs.h <<\_ACEOF
25738 #define HAVE_VA_COPY 1
25739 _ACEOF
25740
25741 else
25742 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25743 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25744 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25746 else
25747
25748 if test "$cross_compiling" = yes; then
25749 wx_cv_type_va_list_lvalue=yes
25750
25751 else
25752 cat >conftest.$ac_ext <<_ACEOF
25753
25754 #include <stdarg.h>
25755 int foo(char *f, ...)
25756 {
25757 va_list ap1, ap2;
25758 va_start(ap1, f);
25759 ap2 = ap1;
25760 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25761 return 1;
25762 va_end(ap2);
25763 va_end(ap1);
25764 return 0;
25765 }
25766 int main()
25767 {
25768 return foo("hi", 17);
25769 }
25770 _ACEOF
25771 rm -f conftest$ac_exeext
25772 if { (ac_try="$ac_link"
25773 case "(($ac_try" in
25774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25775 *) ac_try_echo=$ac_try;;
25776 esac
25777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25778 (eval "$ac_link") 2>&5
25779 ac_status=$?
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25782 { (case "(($ac_try" in
25783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25784 *) ac_try_echo=$ac_try;;
25785 esac
25786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25787 (eval "$ac_try") 2>&5
25788 ac_status=$?
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); }; }; then
25791 wx_cv_type_va_list_lvalue=yes
25792 else
25793 echo "$as_me: program exited with status $ac_status" >&5
25794 echo "$as_me: failed program was:" >&5
25795 sed 's/^/| /' conftest.$ac_ext >&5
25796
25797 ( exit $ac_status )
25798 wx_cv_type_va_list_lvalue=no
25799 fi
25800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25801 fi
25802
25803
25804
25805
25806 fi
25807 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25808 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25809
25810 if test $wx_cv_type_va_list_lvalue != "yes"; then
25811 cat >>confdefs.h <<\_ACEOF
25812 #define VA_LIST_IS_ARRAY 1
25813 _ACEOF
25814
25815 fi
25816 fi
25817
25818 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25819
25820 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25821 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25822 if test "${wx_cv_have_variadic_macros+set}" = set; then
25823 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 else
25825
25826 ac_ext=cpp
25827 ac_cpp='$CXXCPP $CPPFLAGS'
25828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25831
25832 cat >conftest.$ac_ext <<_ACEOF
25833 /* confdefs.h. */
25834 _ACEOF
25835 cat confdefs.h >>conftest.$ac_ext
25836 cat >>conftest.$ac_ext <<_ACEOF
25837 /* end confdefs.h. */
25838
25839 #include <stdio.h>
25840 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25841
25842 int
25843 main ()
25844 {
25845
25846 test("%s %d %p", "test", 1, 0);
25847
25848
25849 ;
25850 return 0;
25851 }
25852 _ACEOF
25853 rm -f conftest.$ac_objext
25854 if { (ac_try="$ac_compile"
25855 case "(($ac_try" in
25856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25857 *) ac_try_echo=$ac_try;;
25858 esac
25859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25860 (eval "$ac_compile") 2>conftest.er1
25861 ac_status=$?
25862 grep -v '^ *+' conftest.er1 >conftest.err
25863 rm -f conftest.er1
25864 cat conftest.err >&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } && {
25867 test -z "$ac_cxx_werror_flag" ||
25868 test ! -s conftest.err
25869 } && test -s conftest.$ac_objext; then
25870 wx_cv_have_variadic_macros=yes
25871 else
25872 echo "$as_me: failed program was:" >&5
25873 sed 's/^/| /' conftest.$ac_ext >&5
25874
25875 wx_cv_have_variadic_macros=no
25876
25877 fi
25878
25879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25880 ac_ext=c
25881 ac_cpp='$CPP $CPPFLAGS'
25882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25885
25886
25887
25888 fi
25889 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25890 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25891
25892 if test $wx_cv_have_variadic_macros = "yes"; then
25893 cat >>confdefs.h <<\_ACEOF
25894 #define HAVE_VARIADIC_MACROS 1
25895 _ACEOF
25896
25897 fi
25898
25899 fi
25900 # Check whether --enable-largefile was given.
25901 if test "${enable_largefile+set}" = set; then
25902 enableval=$enable_largefile;
25903 fi
25904
25905 if test "$enable_largefile" != no; then
25906 wx_largefile=no
25907
25908 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25909 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25910 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25911 echo $ECHO_N "(cached) $ECHO_C" >&6
25912 else
25913
25914 cat >conftest.$ac_ext <<_ACEOF
25915 /* confdefs.h. */
25916 _ACEOF
25917 cat confdefs.h >>conftest.$ac_ext
25918 cat >>conftest.$ac_ext <<_ACEOF
25919 /* end confdefs.h. */
25920 #define _FILE_OFFSET_BITS 64
25921 #include <sys/types.h>
25922 int
25923 main ()
25924 {
25925 typedef struct {
25926 unsigned int field: sizeof(off_t) == 8;
25927 } wxlf;
25928
25929 ;
25930 return 0;
25931 }
25932 _ACEOF
25933 rm -f conftest.$ac_objext
25934 if { (ac_try="$ac_compile"
25935 case "(($ac_try" in
25936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25937 *) ac_try_echo=$ac_try;;
25938 esac
25939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25940 (eval "$ac_compile") 2>conftest.er1
25941 ac_status=$?
25942 grep -v '^ *+' conftest.er1 >conftest.err
25943 rm -f conftest.er1
25944 cat conftest.err >&5
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); } && {
25947 test -z "$ac_c_werror_flag" ||
25948 test ! -s conftest.err
25949 } && test -s conftest.$ac_objext; then
25950 ac_cv_sys_file_offset_bits=64
25951 else
25952 echo "$as_me: failed program was:" >&5
25953 sed 's/^/| /' conftest.$ac_ext >&5
25954
25955 ac_cv_sys_file_offset_bits=no
25956 fi
25957
25958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25959
25960
25961 fi
25962 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25963 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25964
25965 if test "$ac_cv_sys_file_offset_bits" != no; then
25966 wx_largefile=yes
25967 cat >>confdefs.h <<_ACEOF
25968 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25969 _ACEOF
25970
25971 fi
25972
25973 if test "x$wx_largefile" != "xyes"; then
25974
25975 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25976 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25977 if test "${ac_cv_sys_large_files+set}" = set; then
25978 echo $ECHO_N "(cached) $ECHO_C" >&6
25979 else
25980
25981 cat >conftest.$ac_ext <<_ACEOF
25982 /* confdefs.h. */
25983 _ACEOF
25984 cat confdefs.h >>conftest.$ac_ext
25985 cat >>conftest.$ac_ext <<_ACEOF
25986 /* end confdefs.h. */
25987 #define _LARGE_FILES 1
25988 #include <sys/types.h>
25989 int
25990 main ()
25991 {
25992 typedef struct {
25993 unsigned int field: sizeof(off_t) == 8;
25994 } wxlf;
25995
25996 ;
25997 return 0;
25998 }
25999 _ACEOF
26000 rm -f conftest.$ac_objext
26001 if { (ac_try="$ac_compile"
26002 case "(($ac_try" in
26003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26004 *) ac_try_echo=$ac_try;;
26005 esac
26006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26007 (eval "$ac_compile") 2>conftest.er1
26008 ac_status=$?
26009 grep -v '^ *+' conftest.er1 >conftest.err
26010 rm -f conftest.er1
26011 cat conftest.err >&5
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); } && {
26014 test -z "$ac_c_werror_flag" ||
26015 test ! -s conftest.err
26016 } && test -s conftest.$ac_objext; then
26017 ac_cv_sys_large_files=1
26018 else
26019 echo "$as_me: failed program was:" >&5
26020 sed 's/^/| /' conftest.$ac_ext >&5
26021
26022 ac_cv_sys_large_files=no
26023 fi
26024
26025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26026
26027
26028 fi
26029 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
26030 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
26031
26032 if test "$ac_cv_sys_large_files" != no; then
26033 wx_largefile=yes
26034 cat >>confdefs.h <<_ACEOF
26035 #define _LARGE_FILES $ac_cv_sys_large_files
26036 _ACEOF
26037
26038 fi
26039
26040 fi
26041
26042 { echo "$as_me:$LINENO: checking if large file support is available" >&5
26043 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
26044 if test "x$wx_largefile" = "xyes"; then
26045 cat >>confdefs.h <<\_ACEOF
26046 #define HAVE_LARGEFILE_SUPPORT 1
26047 _ACEOF
26048
26049 fi
26050 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
26051 echo "${ECHO_T}$wx_largefile" >&6; }
26052 fi
26053
26054
26055 if test "x$wx_largefile" = "xyes"; then
26056 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26057 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26058
26059 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26060 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26061 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26062 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 else
26065
26066 ac_ext=cpp
26067 ac_cpp='$CXXCPP $CPPFLAGS'
26068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071
26072 cat >conftest.$ac_ext <<_ACEOF
26073 /* confdefs.h. */
26074 _ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26078
26079 int
26080 main ()
26081 {
26082
26083 #ifndef __STDC_EXT__
26084 choke me
26085 #endif
26086
26087 ;
26088 return 0;
26089 }
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 wx_cv_STDC_EXT_required=no
26109 else
26110 echo "$as_me: failed program was:" >&5
26111 sed 's/^/| /' conftest.$ac_ext >&5
26112
26113 wx_cv_STDC_EXT_required=yes
26114
26115 fi
26116
26117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26118 ac_ext=c
26119 ac_cpp='$CPP $CPPFLAGS'
26120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26123
26124
26125
26126 fi
26127 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26128 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26129 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26130 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26131 fi
26132 fi
26133 else
26134 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26135 fi
26136 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26137 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26138 if test "${ac_cv_sys_largefile_source+set}" = set; then
26139 echo $ECHO_N "(cached) $ECHO_C" >&6
26140 else
26141 while :; do
26142 cat >conftest.$ac_ext <<_ACEOF
26143 /* confdefs.h. */
26144 _ACEOF
26145 cat confdefs.h >>conftest.$ac_ext
26146 cat >>conftest.$ac_ext <<_ACEOF
26147 /* end confdefs.h. */
26148 #include <sys/types.h> /* for off_t */
26149 #include <stdio.h>
26150 int
26151 main ()
26152 {
26153 int (*fp) (FILE *, off_t, int) = fseeko;
26154 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26155 ;
26156 return 0;
26157 }
26158 _ACEOF
26159 rm -f conftest.$ac_objext conftest$ac_exeext
26160 if { (ac_try="$ac_link"
26161 case "(($ac_try" in
26162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26163 *) ac_try_echo=$ac_try;;
26164 esac
26165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26166 (eval "$ac_link") 2>conftest.er1
26167 ac_status=$?
26168 grep -v '^ *+' conftest.er1 >conftest.err
26169 rm -f conftest.er1
26170 cat conftest.err >&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); } && {
26173 test -z "$ac_c_werror_flag" ||
26174 test ! -s conftest.err
26175 } && test -s conftest$ac_exeext &&
26176 $as_test_x conftest$ac_exeext; then
26177 ac_cv_sys_largefile_source=no; break
26178 else
26179 echo "$as_me: failed program was:" >&5
26180 sed 's/^/| /' conftest.$ac_ext >&5
26181
26182
26183 fi
26184
26185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26186 conftest$ac_exeext conftest.$ac_ext
26187 cat >conftest.$ac_ext <<_ACEOF
26188 /* confdefs.h. */
26189 _ACEOF
26190 cat confdefs.h >>conftest.$ac_ext
26191 cat >>conftest.$ac_ext <<_ACEOF
26192 /* end confdefs.h. */
26193 #define _LARGEFILE_SOURCE 1
26194 #include <sys/types.h> /* for off_t */
26195 #include <stdio.h>
26196 int
26197 main ()
26198 {
26199 int (*fp) (FILE *, off_t, int) = fseeko;
26200 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26201 ;
26202 return 0;
26203 }
26204 _ACEOF
26205 rm -f conftest.$ac_objext conftest$ac_exeext
26206 if { (ac_try="$ac_link"
26207 case "(($ac_try" in
26208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26209 *) ac_try_echo=$ac_try;;
26210 esac
26211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26212 (eval "$ac_link") 2>conftest.er1
26213 ac_status=$?
26214 grep -v '^ *+' conftest.er1 >conftest.err
26215 rm -f conftest.er1
26216 cat conftest.err >&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); } && {
26219 test -z "$ac_c_werror_flag" ||
26220 test ! -s conftest.err
26221 } && test -s conftest$ac_exeext &&
26222 $as_test_x conftest$ac_exeext; then
26223 ac_cv_sys_largefile_source=1; break
26224 else
26225 echo "$as_me: failed program was:" >&5
26226 sed 's/^/| /' conftest.$ac_ext >&5
26227
26228
26229 fi
26230
26231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26232 conftest$ac_exeext conftest.$ac_ext
26233 ac_cv_sys_largefile_source=unknown
26234 break
26235 done
26236 fi
26237 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26238 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26239 case $ac_cv_sys_largefile_source in #(
26240 no | unknown) ;;
26241 *)
26242 cat >>confdefs.h <<_ACEOF
26243 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26244 _ACEOF
26245 ;;
26246 esac
26247 rm -f conftest*
26248
26249 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26250 # in glibc 2.1.3, but that breaks too many other things.
26251 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26252 if test $ac_cv_sys_largefile_source != unknown; then
26253
26254 cat >>confdefs.h <<\_ACEOF
26255 #define HAVE_FSEEKO 1
26256 _ACEOF
26257
26258 fi
26259
26260 if test "$ac_cv_sys_largefile_source" != no; then
26261 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26262 fi
26263 fi
26264
26265 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26266 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26267 if test "${ac_cv_c_bigendian+set}" = set; then
26268 echo $ECHO_N "(cached) $ECHO_C" >&6
26269 else
26270 ac_cv_c_bigendian=unknown
26271 # See if sys/param.h defines the BYTE_ORDER macro.
26272 cat >conftest.$ac_ext <<_ACEOF
26273 /* confdefs.h. */
26274 _ACEOF
26275 cat confdefs.h >>conftest.$ac_ext
26276 cat >>conftest.$ac_ext <<_ACEOF
26277 /* end confdefs.h. */
26278 #include <sys/types.h>
26279 #include <sys/param.h>
26280 int
26281 main ()
26282 {
26283
26284 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26285 bogus endian macros
26286 #endif
26287 ;
26288 return 0;
26289 }
26290 _ACEOF
26291 rm -f conftest.$ac_objext
26292 if { (ac_try="$ac_compile"
26293 case "(($ac_try" in
26294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26295 *) ac_try_echo=$ac_try;;
26296 esac
26297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26298 (eval "$ac_compile") 2>conftest.er1
26299 ac_status=$?
26300 grep -v '^ *+' conftest.er1 >conftest.err
26301 rm -f conftest.er1
26302 cat conftest.err >&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); } && {
26305 test -z "$ac_c_werror_flag" ||
26306 test ! -s conftest.err
26307 } && test -s conftest.$ac_objext; then
26308 # It does; now see whether it defined to BIG_ENDIAN or not.
26309 cat >conftest.$ac_ext <<_ACEOF
26310 /* confdefs.h. */
26311 _ACEOF
26312 cat confdefs.h >>conftest.$ac_ext
26313 cat >>conftest.$ac_ext <<_ACEOF
26314 /* end confdefs.h. */
26315 #include <sys/types.h>
26316 #include <sys/param.h>
26317 int
26318 main ()
26319 {
26320
26321 #if BYTE_ORDER != BIG_ENDIAN
26322 not big endian
26323 #endif
26324 ;
26325 return 0;
26326 }
26327 _ACEOF
26328 rm -f conftest.$ac_objext
26329 if { (ac_try="$ac_compile"
26330 case "(($ac_try" in
26331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26332 *) ac_try_echo=$ac_try;;
26333 esac
26334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26335 (eval "$ac_compile") 2>conftest.er1
26336 ac_status=$?
26337 grep -v '^ *+' conftest.er1 >conftest.err
26338 rm -f conftest.er1
26339 cat conftest.err >&5
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); } && {
26342 test -z "$ac_c_werror_flag" ||
26343 test ! -s conftest.err
26344 } && test -s conftest.$ac_objext; then
26345 ac_cv_c_bigendian=yes
26346 else
26347 echo "$as_me: failed program was:" >&5
26348 sed 's/^/| /' conftest.$ac_ext >&5
26349
26350 ac_cv_c_bigendian=no
26351 fi
26352
26353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26354 else
26355 echo "$as_me: failed program was:" >&5
26356 sed 's/^/| /' conftest.$ac_ext >&5
26357
26358
26359 fi
26360
26361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26362 if test $ac_cv_c_bigendian = unknown; then
26363 if test "$cross_compiling" = yes; then
26364 ac_cv_c_bigendian=unknown
26365 else
26366 cat >conftest.$ac_ext <<_ACEOF
26367 /* confdefs.h. */
26368 _ACEOF
26369 cat confdefs.h >>conftest.$ac_ext
26370 cat >>conftest.$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26372 main () {
26373 /* Are we little or big endian? From Harbison&Steele. */
26374 union
26375 {
26376 long l;
26377 char c[sizeof (long)];
26378 } u;
26379 u.l = 1;
26380 exit (u.c[sizeof (long) - 1] == 1);
26381 }
26382 _ACEOF
26383 rm -f conftest$ac_exeext
26384 if { (ac_try="$ac_link"
26385 case "(($ac_try" in
26386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26387 *) ac_try_echo=$ac_try;;
26388 esac
26389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26390 (eval "$ac_link") 2>&5
26391 ac_status=$?
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26394 { (case "(($ac_try" in
26395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26396 *) ac_try_echo=$ac_try;;
26397 esac
26398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26399 (eval "$ac_try") 2>&5
26400 ac_status=$?
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; }; then
26403 ac_cv_c_bigendian=no
26404 else
26405 echo "$as_me: program exited with status $ac_status" >&5
26406 echo "$as_me: failed program was:" >&5
26407 sed 's/^/| /' conftest.$ac_ext >&5
26408
26409 ( exit $ac_status )
26410 ac_cv_c_bigendian=yes
26411 fi
26412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26413 fi
26414
26415
26416 fi
26417 fi
26418 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26419 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26420 if test $ac_cv_c_bigendian = unknown; then
26421 { 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
26422 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;}
26423 fi
26424 if test $ac_cv_c_bigendian = yes; then
26425 cat >>confdefs.h <<\_ACEOF
26426 #define WORDS_BIGENDIAN 1
26427 _ACEOF
26428
26429 fi
26430
26431
26432
26433
26434 ac_ext=cpp
26435 ac_cpp='$CXXCPP $CPPFLAGS'
26436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26439
26440
26441
26442 for ac_header in iostream
26443 do
26444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26445 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26447 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 else
26450 cat >conftest.$ac_ext <<_ACEOF
26451 /* confdefs.h. */
26452 _ACEOF
26453 cat confdefs.h >>conftest.$ac_ext
26454 cat >>conftest.$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26456
26457
26458 #include <$ac_header>
26459 _ACEOF
26460 rm -f conftest.$ac_objext
26461 if { (ac_try="$ac_compile"
26462 case "(($ac_try" in
26463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26464 *) ac_try_echo=$ac_try;;
26465 esac
26466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26467 (eval "$ac_compile") 2>conftest.er1
26468 ac_status=$?
26469 grep -v '^ *+' conftest.er1 >conftest.err
26470 rm -f conftest.er1
26471 cat conftest.err >&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); } && {
26474 test -z "$ac_cxx_werror_flag" ||
26475 test ! -s conftest.err
26476 } && test -s conftest.$ac_objext; then
26477 eval "$as_ac_Header=yes"
26478 else
26479 echo "$as_me: failed program was:" >&5
26480 sed 's/^/| /' conftest.$ac_ext >&5
26481
26482 eval "$as_ac_Header=no"
26483 fi
26484
26485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26486 fi
26487 ac_res=`eval echo '${'$as_ac_Header'}'`
26488 { echo "$as_me:$LINENO: result: $ac_res" >&5
26489 echo "${ECHO_T}$ac_res" >&6; }
26490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26491 cat >>confdefs.h <<_ACEOF
26492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26493 _ACEOF
26494
26495 fi
26496
26497 done
26498
26499
26500 if test "$ac_cv_header_iostream" = "yes" ; then
26501 :
26502 else
26503 cat >>confdefs.h <<\_ACEOF
26504 #define wxUSE_IOSTREAMH 1
26505 _ACEOF
26506
26507 fi
26508
26509 ac_ext=c
26510 ac_cpp='$CPP $CPPFLAGS'
26511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26514
26515
26516
26517
26518 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26519 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26520 if test "${wx_cv_cpp_bool+set}" = set; then
26521 echo $ECHO_N "(cached) $ECHO_C" >&6
26522 else
26523
26524
26525 ac_ext=cpp
26526 ac_cpp='$CXXCPP $CPPFLAGS'
26527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26530
26531
26532 cat >conftest.$ac_ext <<_ACEOF
26533 /* confdefs.h. */
26534 _ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 cat >>conftest.$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538
26539
26540 int
26541 main ()
26542 {
26543
26544 bool b = true;
26545
26546 return 0;
26547
26548 ;
26549 return 0;
26550 }
26551 _ACEOF
26552 rm -f conftest.$ac_objext
26553 if { (ac_try="$ac_compile"
26554 case "(($ac_try" in
26555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26556 *) ac_try_echo=$ac_try;;
26557 esac
26558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26559 (eval "$ac_compile") 2>conftest.er1
26560 ac_status=$?
26561 grep -v '^ *+' conftest.er1 >conftest.err
26562 rm -f conftest.er1
26563 cat conftest.err >&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); } && {
26566 test -z "$ac_cxx_werror_flag" ||
26567 test ! -s conftest.err
26568 } && test -s conftest.$ac_objext; then
26569
26570 wx_cv_cpp_bool=yes
26571
26572 else
26573 echo "$as_me: failed program was:" >&5
26574 sed 's/^/| /' conftest.$ac_ext >&5
26575
26576
26577 wx_cv_cpp_bool=no
26578
26579
26580 fi
26581
26582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26583
26584 ac_ext=c
26585 ac_cpp='$CPP $CPPFLAGS'
26586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26589
26590
26591 fi
26592 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26593 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26594
26595 if test "$wx_cv_cpp_bool" = "yes"; then
26596 cat >>confdefs.h <<\_ACEOF
26597 #define HAVE_BOOL 1
26598 _ACEOF
26599
26600 fi
26601
26602
26603
26604 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26605 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26606 if test "${wx_cv_explicit+set}" = set; then
26607 echo $ECHO_N "(cached) $ECHO_C" >&6
26608 else
26609
26610
26611 ac_ext=cpp
26612 ac_cpp='$CXXCPP $CPPFLAGS'
26613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26616
26617
26618 cat >conftest.$ac_ext <<_ACEOF
26619 /* confdefs.h. */
26620 _ACEOF
26621 cat confdefs.h >>conftest.$ac_ext
26622 cat >>conftest.$ac_ext <<_ACEOF
26623 /* end confdefs.h. */
26624
26625 class Foo { public: explicit Foo(int) {} };
26626
26627 int
26628 main ()
26629 {
26630
26631 return 0;
26632
26633 ;
26634 return 0;
26635 }
26636 _ACEOF
26637 rm -f conftest.$ac_objext
26638 if { (ac_try="$ac_compile"
26639 case "(($ac_try" in
26640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26641 *) ac_try_echo=$ac_try;;
26642 esac
26643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26644 (eval "$ac_compile") 2>conftest.er1
26645 ac_status=$?
26646 grep -v '^ *+' conftest.er1 >conftest.err
26647 rm -f conftest.er1
26648 cat conftest.err >&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } && {
26651 test -z "$ac_cxx_werror_flag" ||
26652 test ! -s conftest.err
26653 } && test -s conftest.$ac_objext; then
26654
26655 cat >conftest.$ac_ext <<_ACEOF
26656 /* confdefs.h. */
26657 _ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661
26662 class Foo { public: explicit Foo(int) {} };
26663 static void TakeFoo(const Foo& foo) { }
26664
26665 int
26666 main ()
26667 {
26668
26669 TakeFoo(17);
26670 return 0;
26671
26672 ;
26673 return 0;
26674 }
26675 _ACEOF
26676 rm -f conftest.$ac_objext
26677 if { (ac_try="$ac_compile"
26678 case "(($ac_try" in
26679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26680 *) ac_try_echo=$ac_try;;
26681 esac
26682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26683 (eval "$ac_compile") 2>conftest.er1
26684 ac_status=$?
26685 grep -v '^ *+' conftest.er1 >conftest.err
26686 rm -f conftest.er1
26687 cat conftest.err >&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); } && {
26690 test -z "$ac_cxx_werror_flag" ||
26691 test ! -s conftest.err
26692 } && test -s conftest.$ac_objext; then
26693 wx_cv_explicit=no
26694 else
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26697
26698 wx_cv_explicit=yes
26699
26700 fi
26701
26702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26703
26704 else
26705 echo "$as_me: failed program was:" >&5
26706 sed 's/^/| /' conftest.$ac_ext >&5
26707
26708 wx_cv_explicit=no
26709
26710 fi
26711
26712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26713
26714 ac_ext=c
26715 ac_cpp='$CPP $CPPFLAGS'
26716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26719
26720
26721 fi
26722 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26723 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26724
26725 if test "$wx_cv_explicit" = "yes"; then
26726 cat >>confdefs.h <<\_ACEOF
26727 #define HAVE_EXPLICIT 1
26728 _ACEOF
26729
26730 fi
26731
26732
26733 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26734 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26735 if test "${ac_cv_cxx_const_cast+set}" = set; then
26736 echo $ECHO_N "(cached) $ECHO_C" >&6
26737 else
26738
26739 ac_ext=cpp
26740 ac_cpp='$CXXCPP $CPPFLAGS'
26741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26744
26745 cat >conftest.$ac_ext <<_ACEOF
26746 /* confdefs.h. */
26747 _ACEOF
26748 cat confdefs.h >>conftest.$ac_ext
26749 cat >>conftest.$ac_ext <<_ACEOF
26750 /* end confdefs.h. */
26751
26752 int
26753 main ()
26754 {
26755 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26756 ;
26757 return 0;
26758 }
26759 _ACEOF
26760 rm -f conftest.$ac_objext
26761 if { (ac_try="$ac_compile"
26762 case "(($ac_try" in
26763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26764 *) ac_try_echo=$ac_try;;
26765 esac
26766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26767 (eval "$ac_compile") 2>conftest.er1
26768 ac_status=$?
26769 grep -v '^ *+' conftest.er1 >conftest.err
26770 rm -f conftest.er1
26771 cat conftest.err >&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); } && {
26774 test -z "$ac_cxx_werror_flag" ||
26775 test ! -s conftest.err
26776 } && test -s conftest.$ac_objext; then
26777 ac_cv_cxx_const_cast=yes
26778 else
26779 echo "$as_me: failed program was:" >&5
26780 sed 's/^/| /' conftest.$ac_ext >&5
26781
26782 ac_cv_cxx_const_cast=no
26783 fi
26784
26785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26786 ac_ext=c
26787 ac_cpp='$CPP $CPPFLAGS'
26788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26791
26792
26793 fi
26794 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26795 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26796 if test "$ac_cv_cxx_const_cast" = yes; then
26797
26798 cat >>confdefs.h <<\_ACEOF
26799 #define HAVE_CONST_CAST
26800 _ACEOF
26801
26802 fi
26803
26804 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26805 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26806 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26807 echo $ECHO_N "(cached) $ECHO_C" >&6
26808 else
26809
26810 ac_ext=cpp
26811 ac_cpp='$CXXCPP $CPPFLAGS'
26812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26815
26816 cat >conftest.$ac_ext <<_ACEOF
26817 /* confdefs.h. */
26818 _ACEOF
26819 cat confdefs.h >>conftest.$ac_ext
26820 cat >>conftest.$ac_ext <<_ACEOF
26821 /* end confdefs.h. */
26822 #include <typeinfo>
26823 class Base { public : Base () {} virtual void f () = 0;};
26824 class Derived : public Base { public : Derived () {} virtual void f () {} };
26825 class Unrelated { public : Unrelated () {} };
26826 int g (Unrelated&) { return 0; }
26827 int
26828 main ()
26829 {
26830
26831 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26832 ;
26833 return 0;
26834 }
26835 _ACEOF
26836 rm -f conftest.$ac_objext
26837 if { (ac_try="$ac_compile"
26838 case "(($ac_try" in
26839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26840 *) ac_try_echo=$ac_try;;
26841 esac
26842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26843 (eval "$ac_compile") 2>conftest.er1
26844 ac_status=$?
26845 grep -v '^ *+' conftest.er1 >conftest.err
26846 rm -f conftest.er1
26847 cat conftest.err >&5
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); } && {
26850 test -z "$ac_cxx_werror_flag" ||
26851 test ! -s conftest.err
26852 } && test -s conftest.$ac_objext; then
26853 ac_cv_cxx_reinterpret_cast=yes
26854 else
26855 echo "$as_me: failed program was:" >&5
26856 sed 's/^/| /' conftest.$ac_ext >&5
26857
26858 ac_cv_cxx_reinterpret_cast=no
26859 fi
26860
26861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26862 ac_ext=c
26863 ac_cpp='$CPP $CPPFLAGS'
26864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26867
26868
26869 fi
26870 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26871 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26872 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26873
26874 cat >>confdefs.h <<\_ACEOF
26875 #define HAVE_REINTERPRET_CAST
26876 _ACEOF
26877
26878 fi
26879
26880 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26881 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26882 if test "${ac_cv_cxx_static_cast+set}" = set; then
26883 echo $ECHO_N "(cached) $ECHO_C" >&6
26884 else
26885
26886 ac_ext=cpp
26887 ac_cpp='$CXXCPP $CPPFLAGS'
26888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26891
26892 cat >conftest.$ac_ext <<_ACEOF
26893 /* confdefs.h. */
26894 _ACEOF
26895 cat confdefs.h >>conftest.$ac_ext
26896 cat >>conftest.$ac_ext <<_ACEOF
26897 /* end confdefs.h. */
26898 #include <typeinfo>
26899 class Base { public : Base () {} virtual void f () = 0; };
26900 class Derived : public Base { public : Derived () {} virtual void f () {} };
26901 int g (Derived&) { return 0; }
26902 int
26903 main ()
26904 {
26905
26906 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26907 ;
26908 return 0;
26909 }
26910 _ACEOF
26911 rm -f conftest.$ac_objext
26912 if { (ac_try="$ac_compile"
26913 case "(($ac_try" in
26914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26915 *) ac_try_echo=$ac_try;;
26916 esac
26917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26918 (eval "$ac_compile") 2>conftest.er1
26919 ac_status=$?
26920 grep -v '^ *+' conftest.er1 >conftest.err
26921 rm -f conftest.er1
26922 cat conftest.err >&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); } && {
26925 test -z "$ac_cxx_werror_flag" ||
26926 test ! -s conftest.err
26927 } && test -s conftest.$ac_objext; then
26928 ac_cv_cxx_static_cast=yes
26929 else
26930 echo "$as_me: failed program was:" >&5
26931 sed 's/^/| /' conftest.$ac_ext >&5
26932
26933 ac_cv_cxx_static_cast=no
26934 fi
26935
26936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26937 ac_ext=c
26938 ac_cpp='$CPP $CPPFLAGS'
26939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26942
26943
26944 fi
26945 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26946 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26947 if test "$ac_cv_cxx_static_cast" = yes; then
26948
26949 cat >>confdefs.h <<\_ACEOF
26950 #define HAVE_STATIC_CAST
26951 _ACEOF
26952
26953 fi
26954
26955
26956 if test "x$SUNCXX" = xyes; then
26957 CXXFLAGS="-features=tmplife $CXXFLAGS"
26958 fi
26959
26960 if test "x$SUNCC" = xyes; then
26961 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26962 fi
26963
26964 if test "x$SGICC" = "xyes"; then
26965 CFLAGS="-woff 3970 $CFLAGS"
26966 fi
26967 if test "x$SGICXX" = "xyes"; then
26968 CXXFLAGS="-woff 3970 $CXXFLAGS"
26969 fi
26970
26971 if test "x$HPCC" = "xyes"; then
26972 CFLAGS="+W 2011,2450 $CFLAGS"
26973 fi
26974 if test "x$HPCXX" = "xyes"; then
26975 CXXFLAGS="+W 2340 $CXXFLAGS"
26976 fi
26977
26978 if test "x$COMPAQCXX" = "xyes"; then
26979 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26980 fi
26981
26982 ac_ext=cpp
26983 ac_cpp='$CXXCPP $CPPFLAGS'
26984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26987
26988
26989 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26990 if test "$wxUSE_UNICODE" = "yes"; then
26991 std_string="std::wstring"
26992 char_type="wchar_t"
26993 else
26994 std_string="std::string"
26995 char_type="char"
26996 fi
26997
26998 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26999 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
27000 if test "${wx_cv_class_stdstring+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 else
27003
27004 cat >conftest.$ac_ext <<_ACEOF
27005 /* confdefs.h. */
27006 _ACEOF
27007 cat confdefs.h >>conftest.$ac_ext
27008 cat >>conftest.$ac_ext <<_ACEOF
27009 /* end confdefs.h. */
27010 #include <string>
27011 int
27012 main ()
27013 {
27014 $std_string foo;
27015 ;
27016 return 0;
27017 }
27018 _ACEOF
27019 rm -f conftest.$ac_objext
27020 if { (ac_try="$ac_compile"
27021 case "(($ac_try" in
27022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27023 *) ac_try_echo=$ac_try;;
27024 esac
27025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27026 (eval "$ac_compile") 2>conftest.er1
27027 ac_status=$?
27028 grep -v '^ *+' conftest.er1 >conftest.err
27029 rm -f conftest.er1
27030 cat conftest.err >&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } && {
27033 test -z "$ac_cxx_werror_flag" ||
27034 test ! -s conftest.err
27035 } && test -s conftest.$ac_objext; then
27036 wx_cv_class_stdstring=yes
27037 else
27038 echo "$as_me: failed program was:" >&5
27039 sed 's/^/| /' conftest.$ac_ext >&5
27040
27041 wx_cv_class_stdstring=no
27042
27043 fi
27044
27045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27046
27047
27048 fi
27049 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
27050 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
27051
27052 if test "$wx_cv_class_stdstring" = yes; then
27053 if test "$wxUSE_UNICODE" = "yes"; then
27054 cat >>confdefs.h <<\_ACEOF
27055 #define HAVE_STD_WSTRING 1
27056 _ACEOF
27057
27058 fi
27059 else
27060 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27061 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27062 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27063 echo $ECHO_N "(cached) $ECHO_C" >&6
27064 else
27065
27066 cat >conftest.$ac_ext <<_ACEOF
27067 /* confdefs.h. */
27068 _ACEOF
27069 cat confdefs.h >>conftest.$ac_ext
27070 cat >>conftest.$ac_ext <<_ACEOF
27071 /* end confdefs.h. */
27072
27073 #ifdef HAVE_WCHAR_H
27074 # ifdef __CYGWIN__
27075 # include <stddef.h>
27076 # endif
27077 # include <wchar.h>
27078 #endif
27079 #ifdef HAVE_STDLIB_H
27080 # include <stdlib.h>
27081 #endif
27082 #include <stdio.h>
27083 #include <string>
27084
27085 int
27086 main ()
27087 {
27088 std::basic_string<$char_type> foo;
27089 const $char_type* dummy = foo.c_str();
27090 ;
27091 return 0;
27092 }
27093 _ACEOF
27094 rm -f conftest.$ac_objext
27095 if { (ac_try="$ac_compile"
27096 case "(($ac_try" in
27097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27098 *) ac_try_echo=$ac_try;;
27099 esac
27100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27101 (eval "$ac_compile") 2>conftest.er1
27102 ac_status=$?
27103 grep -v '^ *+' conftest.er1 >conftest.err
27104 rm -f conftest.er1
27105 cat conftest.err >&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); } && {
27108 test -z "$ac_cxx_werror_flag" ||
27109 test ! -s conftest.err
27110 } && test -s conftest.$ac_objext; then
27111 wx_cv_class_stdbasicstring=yes
27112 else
27113 echo "$as_me: failed program was:" >&5
27114 sed 's/^/| /' conftest.$ac_ext >&5
27115
27116 wx_cv_class_stdbasicstring=no
27117
27118 fi
27119
27120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27121
27122
27123 fi
27124 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27125 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27126
27127 if test "$wx_cv_class_stdbasicstring" != yes; then
27128 if test "$wxUSE_STL" = "yes"; then
27129 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27130 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27131 { (exit 1); exit 1; }; }
27132 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27133 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27134 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27135 { (exit 1); exit 1; }; }
27136 else
27137 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27138 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27139 wxUSE_STD_STRING=no
27140 fi
27141 fi
27142 fi
27143 fi
27144
27145 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27146 { echo "$as_me:$LINENO: checking for std::istream" >&5
27147 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27148 if test "${ac_cv_type_std__istream+set}" = set; then
27149 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 else
27151 cat >conftest.$ac_ext <<_ACEOF
27152 /* confdefs.h. */
27153 _ACEOF
27154 cat confdefs.h >>conftest.$ac_ext
27155 cat >>conftest.$ac_ext <<_ACEOF
27156 /* end confdefs.h. */
27157 #include <iostream>
27158
27159 typedef std::istream ac__type_new_;
27160 int
27161 main ()
27162 {
27163 if ((ac__type_new_ *) 0)
27164 return 0;
27165 if (sizeof (ac__type_new_))
27166 return 0;
27167 ;
27168 return 0;
27169 }
27170 _ACEOF
27171 rm -f conftest.$ac_objext
27172 if { (ac_try="$ac_compile"
27173 case "(($ac_try" in
27174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27175 *) ac_try_echo=$ac_try;;
27176 esac
27177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27178 (eval "$ac_compile") 2>conftest.er1
27179 ac_status=$?
27180 grep -v '^ *+' conftest.er1 >conftest.err
27181 rm -f conftest.er1
27182 cat conftest.err >&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); } && {
27185 test -z "$ac_cxx_werror_flag" ||
27186 test ! -s conftest.err
27187 } && test -s conftest.$ac_objext; then
27188 ac_cv_type_std__istream=yes
27189 else
27190 echo "$as_me: failed program was:" >&5
27191 sed 's/^/| /' conftest.$ac_ext >&5
27192
27193 ac_cv_type_std__istream=no
27194 fi
27195
27196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27197 fi
27198 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27199 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27200 if test $ac_cv_type_std__istream = yes; then
27201
27202 cat >>confdefs.h <<_ACEOF
27203 #define HAVE_STD__ISTREAM 1
27204 _ACEOF
27205
27206
27207 else
27208 wxUSE_STD_IOSTREAM=no
27209 fi
27210 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27211 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27212 if test "${ac_cv_type_std__ostream+set}" = set; then
27213 echo $ECHO_N "(cached) $ECHO_C" >&6
27214 else
27215 cat >conftest.$ac_ext <<_ACEOF
27216 /* confdefs.h. */
27217 _ACEOF
27218 cat confdefs.h >>conftest.$ac_ext
27219 cat >>conftest.$ac_ext <<_ACEOF
27220 /* end confdefs.h. */
27221 #include <iostream>
27222
27223 typedef std::ostream ac__type_new_;
27224 int
27225 main ()
27226 {
27227 if ((ac__type_new_ *) 0)
27228 return 0;
27229 if (sizeof (ac__type_new_))
27230 return 0;
27231 ;
27232 return 0;
27233 }
27234 _ACEOF
27235 rm -f conftest.$ac_objext
27236 if { (ac_try="$ac_compile"
27237 case "(($ac_try" in
27238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27239 *) ac_try_echo=$ac_try;;
27240 esac
27241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27242 (eval "$ac_compile") 2>conftest.er1
27243 ac_status=$?
27244 grep -v '^ *+' conftest.er1 >conftest.err
27245 rm -f conftest.er1
27246 cat conftest.err >&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } && {
27249 test -z "$ac_cxx_werror_flag" ||
27250 test ! -s conftest.err
27251 } && test -s conftest.$ac_objext; then
27252 ac_cv_type_std__ostream=yes
27253 else
27254 echo "$as_me: failed program was:" >&5
27255 sed 's/^/| /' conftest.$ac_ext >&5
27256
27257 ac_cv_type_std__ostream=no
27258 fi
27259
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27261 fi
27262 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27263 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27264 if test $ac_cv_type_std__ostream = yes; then
27265
27266 cat >>confdefs.h <<_ACEOF
27267 #define HAVE_STD__OSTREAM 1
27268 _ACEOF
27269
27270
27271 else
27272 wxUSE_STD_IOSTREAM=no
27273 fi
27274
27275
27276 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27277 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27278 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27279 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27280 { (exit 1); exit 1; }; }
27281 else
27282 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27283 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27284 fi
27285 fi
27286 fi
27287
27288 if test "$wxUSE_STL" = "yes"; then
27289 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27290 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27291 if test "${wx_cv_lib_stl+set}" = set; then
27292 echo $ECHO_N "(cached) $ECHO_C" >&6
27293 else
27294 cat >conftest.$ac_ext <<_ACEOF
27295 /* confdefs.h. */
27296 _ACEOF
27297 cat confdefs.h >>conftest.$ac_ext
27298 cat >>conftest.$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27300 #include <string>
27301 #include <functional>
27302 #include <algorithm>
27303 #include <vector>
27304 #include <list>
27305 int
27306 main ()
27307 {
27308 std::vector<int> moo;
27309 std::list<int> foo;
27310 std::vector<int>::iterator it =
27311 std::find_if(moo.begin(), moo.end(),
27312 std::bind2nd(std::less<int>(), 3));
27313 ;
27314 return 0;
27315 }
27316 _ACEOF
27317 rm -f conftest.$ac_objext
27318 if { (ac_try="$ac_compile"
27319 case "(($ac_try" in
27320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27321 *) ac_try_echo=$ac_try;;
27322 esac
27323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27324 (eval "$ac_compile") 2>conftest.er1
27325 ac_status=$?
27326 grep -v '^ *+' conftest.er1 >conftest.err
27327 rm -f conftest.er1
27328 cat conftest.err >&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } && {
27331 test -z "$ac_cxx_werror_flag" ||
27332 test ! -s conftest.err
27333 } && test -s conftest.$ac_objext; then
27334 wx_cv_lib_stl=yes
27335 else
27336 echo "$as_me: failed program was:" >&5
27337 sed 's/^/| /' conftest.$ac_ext >&5
27338
27339 wx_cv_lib_stl=no
27340
27341 fi
27342
27343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27344
27345 fi
27346 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27347 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27348
27349 if test "$wx_cv_lib_stl" != yes; then
27350 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27351 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27352 { (exit 1); exit 1; }; }
27353 fi
27354
27355 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27356 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27357 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27358 echo $ECHO_N "(cached) $ECHO_C" >&6
27359 else
27360 cat >conftest.$ac_ext <<_ACEOF
27361 /* confdefs.h. */
27362 _ACEOF
27363 cat confdefs.h >>conftest.$ac_ext
27364 cat >>conftest.$ac_ext <<_ACEOF
27365 /* end confdefs.h. */
27366 #include <string>
27367 int
27368 main ()
27369 {
27370 std::string foo, bar;
27371 foo.compare(bar);
27372 foo.compare(1, 1, bar);
27373 foo.compare(1, 1, bar, 1, 1);
27374 foo.compare("");
27375 foo.compare(1, 1, "");
27376 foo.compare(1, 1, "", 2);
27377 ;
27378 return 0;
27379 }
27380 _ACEOF
27381 rm -f conftest.$ac_objext
27382 if { (ac_try="$ac_compile"
27383 case "(($ac_try" in
27384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27385 *) ac_try_echo=$ac_try;;
27386 esac
27387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27388 (eval "$ac_compile") 2>conftest.er1
27389 ac_status=$?
27390 grep -v '^ *+' conftest.er1 >conftest.err
27391 rm -f conftest.er1
27392 cat conftest.err >&5
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } && {
27395 test -z "$ac_cxx_werror_flag" ||
27396 test ! -s conftest.err
27397 } && test -s conftest.$ac_objext; then
27398 wx_cv_func_stdstring_compare=yes
27399 else
27400 echo "$as_me: failed program was:" >&5
27401 sed 's/^/| /' conftest.$ac_ext >&5
27402
27403 wx_cv_func_stdstring_compare=no
27404
27405 fi
27406
27407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27408
27409 fi
27410 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27411 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27412
27413 if test "$wx_cv_func_stdstring_compare" = yes; then
27414 cat >>confdefs.h <<\_ACEOF
27415 #define HAVE_STD_STRING_COMPARE 1
27416 _ACEOF
27417
27418 fi
27419
27420 { echo "$as_me:$LINENO: checking for hash_map" >&5
27421 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27422 if test "${ac_cv_header_hash_map+set}" = set; then
27423 echo $ECHO_N "(cached) $ECHO_C" >&6
27424 else
27425 cat >conftest.$ac_ext <<_ACEOF
27426 /* confdefs.h. */
27427 _ACEOF
27428 cat confdefs.h >>conftest.$ac_ext
27429 cat >>conftest.$ac_ext <<_ACEOF
27430 /* end confdefs.h. */
27431
27432
27433
27434 #include <hash_map>
27435 _ACEOF
27436 rm -f conftest.$ac_objext
27437 if { (ac_try="$ac_compile"
27438 case "(($ac_try" in
27439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27440 *) ac_try_echo=$ac_try;;
27441 esac
27442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27443 (eval "$ac_compile") 2>conftest.er1
27444 ac_status=$?
27445 grep -v '^ *+' conftest.er1 >conftest.err
27446 rm -f conftest.er1
27447 cat conftest.err >&5
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); } && {
27450 test -z "$ac_cxx_werror_flag" ||
27451 test ! -s conftest.err
27452 } && test -s conftest.$ac_objext; then
27453 ac_cv_header_hash_map=yes
27454 else
27455 echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.$ac_ext >&5
27457
27458 ac_cv_header_hash_map=no
27459 fi
27460
27461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27462 fi
27463 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27464 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27465 if test $ac_cv_header_hash_map = yes; then
27466 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27467 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27468 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27469 echo $ECHO_N "(cached) $ECHO_C" >&6
27470 else
27471 cat >conftest.$ac_ext <<_ACEOF
27472 /* confdefs.h. */
27473 _ACEOF
27474 cat confdefs.h >>conftest.$ac_ext
27475 cat >>conftest.$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27477 #include <hash_map>
27478 #include <hash_set>
27479 int
27480 main ()
27481 {
27482 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27483 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27484 ;
27485 return 0;
27486 }
27487 _ACEOF
27488 rm -f conftest.$ac_objext
27489 if { (ac_try="$ac_compile"
27490 case "(($ac_try" in
27491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27492 *) ac_try_echo=$ac_try;;
27493 esac
27494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27495 (eval "$ac_compile") 2>conftest.er1
27496 ac_status=$?
27497 grep -v '^ *+' conftest.er1 >conftest.err
27498 rm -f conftest.er1
27499 cat conftest.err >&5
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); } && {
27502 test -z "$ac_cxx_werror_flag" ||
27503 test ! -s conftest.err
27504 } && test -s conftest.$ac_objext; then
27505 wx_cv_class_stdhashmapset=yes
27506 else
27507 echo "$as_me: failed program was:" >&5
27508 sed 's/^/| /' conftest.$ac_ext >&5
27509
27510 wx_cv_class_stdhashmapset=no
27511 fi
27512
27513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27514
27515
27516 fi
27517 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27518 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27519 fi
27520
27521
27522
27523 if test "$wx_cv_class_stdhashmapset" = yes; then
27524 cat >>confdefs.h <<\_ACEOF
27525 #define HAVE_HASH_MAP 1
27526 _ACEOF
27527
27528 cat >>confdefs.h <<\_ACEOF
27529 #define HAVE_STD_HASH_MAP 1
27530 _ACEOF
27531
27532 fi
27533
27534 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27535 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27536 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27537 echo $ECHO_N "(cached) $ECHO_C" >&6
27538 else
27539 cat >conftest.$ac_ext <<_ACEOF
27540 /* confdefs.h. */
27541 _ACEOF
27542 cat confdefs.h >>conftest.$ac_ext
27543 cat >>conftest.$ac_ext <<_ACEOF
27544 /* end confdefs.h. */
27545
27546
27547
27548 #include <ext/hash_map>
27549 _ACEOF
27550 rm -f conftest.$ac_objext
27551 if { (ac_try="$ac_compile"
27552 case "(($ac_try" in
27553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27554 *) ac_try_echo=$ac_try;;
27555 esac
27556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27557 (eval "$ac_compile") 2>conftest.er1
27558 ac_status=$?
27559 grep -v '^ *+' conftest.er1 >conftest.err
27560 rm -f conftest.er1
27561 cat conftest.err >&5
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); } && {
27564 test -z "$ac_cxx_werror_flag" ||
27565 test ! -s conftest.err
27566 } && test -s conftest.$ac_objext; then
27567 ac_cv_header_ext_hash_map=yes
27568 else
27569 echo "$as_me: failed program was:" >&5
27570 sed 's/^/| /' conftest.$ac_ext >&5
27571
27572 ac_cv_header_ext_hash_map=no
27573 fi
27574
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576 fi
27577 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27578 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27579 if test $ac_cv_header_ext_hash_map = yes; then
27580 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27581 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27582 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27583 echo $ECHO_N "(cached) $ECHO_C" >&6
27584 else
27585 cat >conftest.$ac_ext <<_ACEOF
27586 /* confdefs.h. */
27587 _ACEOF
27588 cat confdefs.h >>conftest.$ac_ext
27589 cat >>conftest.$ac_ext <<_ACEOF
27590 /* end confdefs.h. */
27591 #include <ext/hash_map>
27592 #include <ext/hash_set>
27593 int
27594 main ()
27595 {
27596 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27597 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27598 ;
27599 return 0;
27600 }
27601 _ACEOF
27602 rm -f conftest.$ac_objext
27603 if { (ac_try="$ac_compile"
27604 case "(($ac_try" in
27605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27606 *) ac_try_echo=$ac_try;;
27607 esac
27608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27609 (eval "$ac_compile") 2>conftest.er1
27610 ac_status=$?
27611 grep -v '^ *+' conftest.er1 >conftest.err
27612 rm -f conftest.er1
27613 cat conftest.err >&5
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); } && {
27616 test -z "$ac_cxx_werror_flag" ||
27617 test ! -s conftest.err
27618 } && test -s conftest.$ac_objext; then
27619 wx_cv_class_gnuhashmapset=yes
27620 else
27621 echo "$as_me: failed program was:" >&5
27622 sed 's/^/| /' conftest.$ac_ext >&5
27623
27624 wx_cv_class_gnuhashmapset=no
27625 fi
27626
27627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27628
27629
27630 fi
27631 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27632 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27633 fi
27634
27635
27636
27637 if test "$wx_cv_class_gnuhashmapset" = yes; then
27638 cat >>confdefs.h <<\_ACEOF
27639 #define HAVE_EXT_HASH_MAP 1
27640 _ACEOF
27641
27642 cat >>confdefs.h <<\_ACEOF
27643 #define HAVE_GNU_CXX_HASH_MAP 1
27644 _ACEOF
27645
27646 fi
27647 fi
27648
27649
27650
27651 if test -n "$GCC"; then
27652 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27653 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27654 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27655 echo $ECHO_N "(cached) $ECHO_C" >&6
27656 else
27657
27658 cat >conftest.$ac_ext <<_ACEOF
27659 /* confdefs.h. */
27660 _ACEOF
27661 cat confdefs.h >>conftest.$ac_ext
27662 cat >>conftest.$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27664
27665 int
27666 main ()
27667 {
27668
27669 int value=0;
27670 __sync_fetch_and_add(&value, 1);
27671 __sync_sub_and_fetch(&value, 1);
27672
27673 ;
27674 return 0;
27675 }
27676 _ACEOF
27677 rm -f conftest.$ac_objext
27678 if { (ac_try="$ac_compile"
27679 case "(($ac_try" in
27680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27681 *) ac_try_echo=$ac_try;;
27682 esac
27683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27684 (eval "$ac_compile") 2>conftest.er1
27685 ac_status=$?
27686 grep -v '^ *+' conftest.er1 >conftest.err
27687 rm -f conftest.er1
27688 cat conftest.err >&5
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); } && {
27691 test -z "$ac_cxx_werror_flag" ||
27692 test ! -s conftest.err
27693 } && test -s conftest.$ac_objext; then
27694 wx_cv_cc_gcc_atomic_builtins=yes
27695 else
27696 echo "$as_me: failed program was:" >&5
27697 sed 's/^/| /' conftest.$ac_ext >&5
27698
27699 wx_cv_cc_gcc_atomic_builtins=no
27700 fi
27701
27702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27703
27704 fi
27705
27706 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27707 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27708 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27709 cat >>confdefs.h <<\_ACEOF
27710 #define HAVE_GCC_ATOMIC_BUILTINS 1
27711 _ACEOF
27712
27713 fi
27714 fi
27715
27716
27717 ac_ext=c
27718 ac_cpp='$CPP $CPPFLAGS'
27719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27722
27723
27724
27725 SEARCH_INCLUDE="\
27726 /usr/local/include \
27727 \
27728 /usr/Motif-2.1/include \
27729 /usr/Motif-1.2/include \
27730 /usr/include/Motif1.2 \
27731 \
27732 /usr/dt/include \
27733 /usr/openwin/include \
27734 \
27735 /usr/include/Xm \
27736 \
27737 /usr/X11R6/include \
27738 /usr/X11R6.4/include \
27739 /usr/X11R5/include \
27740 /usr/X11R4/include \
27741 \
27742 /usr/include/X11R6 \
27743 /usr/include/X11R5 \
27744 /usr/include/X11R4 \
27745 \
27746 /usr/local/X11R6/include \
27747 /usr/local/X11R5/include \
27748 /usr/local/X11R4/include \
27749 \
27750 /usr/local/include/X11R6 \
27751 /usr/local/include/X11R5 \
27752 /usr/local/include/X11R4 \
27753 \
27754 /usr/X11/include \
27755 /usr/include/X11 \
27756 /usr/local/X11/include \
27757 /usr/local/include/X11 \
27758 \
27759 /usr/XFree86/include/X11 \
27760 /usr/pkg/include \
27761 \
27762 /usr/openwin/share/include"
27763
27764 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27765 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27766
27767 case "${host}" in
27768 *-*-irix6* )
27769 if test "${wx_cv_std_libpath+set}" = set; then
27770 echo $ECHO_N "(cached) $ECHO_C" >&6
27771 else
27772
27773 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27774 for e in a so sl dylib dll.a; do
27775 libc="$d/libc.$e"
27776 if test -f $libc; then
27777 save_LIBS="$LIBS"
27778 LIBS="$libc"
27779 cat >conftest.$ac_ext <<_ACEOF
27780 int main() { return 0; }
27781 _ACEOF
27782 rm -f conftest.$ac_objext conftest$ac_exeext
27783 if { (ac_try="$ac_link"
27784 case "(($ac_try" in
27785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27786 *) ac_try_echo=$ac_try;;
27787 esac
27788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27789 (eval "$ac_link") 2>conftest.er1
27790 ac_status=$?
27791 grep -v '^ *+' conftest.er1 >conftest.err
27792 rm -f conftest.er1
27793 cat conftest.err >&5
27794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27795 (exit $ac_status); } && {
27796 test -z "$ac_c_werror_flag" ||
27797 test ! -s conftest.err
27798 } && test -s conftest$ac_exeext &&
27799 $as_test_x conftest$ac_exeext; then
27800 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27801 else
27802 echo "$as_me: failed program was:" >&5
27803 sed 's/^/| /' conftest.$ac_ext >&5
27804
27805
27806 fi
27807
27808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27809 conftest$ac_exeext conftest.$ac_ext
27810 LIBS="$save_LIBS"
27811 if test "x$wx_cv_std_libpath" != "x"; then
27812 break 2
27813 fi
27814 fi
27815 done
27816 done
27817 if test "x$wx_cv_std_libpath" = "x"; then
27818 wx_cv_std_libpath="lib"
27819 fi
27820
27821
27822 fi
27823
27824 ;;
27825
27826 *-*-solaris2* )
27827 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27828 wx_cv_std_libpath="lib/64"
27829 else
27830 wx_cv_std_libpath="lib"
27831 fi
27832 ;;
27833
27834 *-*-linux* )
27835 if test "$ac_cv_sizeof_void_p" = 8 -a \
27836 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27837 wx_cv_std_libpath="lib64"
27838 else
27839 wx_cv_std_libpath="lib"
27840 fi
27841 ;;
27842
27843 *)
27844 wx_cv_std_libpath="lib";
27845 ;;
27846 esac
27847
27848 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27849 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27850
27851 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27852
27853 if test "$build" != "$host" -a "$GCC" = yes; then
27854 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27855 cross_root=`dirname $cross_root`
27856 cross_root=`dirname $cross_root`
27857
27858 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27859 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27860 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27861
27862 if test -z "$PKG_CONFIG_PATH"; then
27863 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27864 export PKG_CONFIG_PATH
27865 fi
27866
27867 if test -z "$x_includes" -o "$x_includes" = NONE; then
27868
27869 ac_find_includes=
27870 for ac_dir in $SEARCH_INCLUDE /usr/include;
27871 do
27872 if test -f "$ac_dir/X11/Intrinsic.h"; then
27873 ac_find_includes=$ac_dir
27874 break
27875 fi
27876 done
27877
27878 x_includes=$ac_find_includes
27879 fi
27880 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27881
27882 ac_find_libraries=
27883 for ac_dir in $SEARCH_LIB;
27884 do
27885 for ac_extension in a so sl dylib dll.a; do
27886 if test -f "$ac_dir/libXt.$ac_extension"; then
27887 ac_find_libraries=$ac_dir
27888 break 2
27889 fi
27890 done
27891 done
27892
27893 x_libraries=$ac_find_libraries
27894 fi
27895 fi
27896 fi
27897
27898
27899 cat >confcache <<\_ACEOF
27900 # This file is a shell script that caches the results of configure
27901 # tests run on this system so they can be shared between configure
27902 # scripts and configure runs, see configure's option --config-cache.
27903 # It is not useful on other systems. If it contains results you don't
27904 # want to keep, you may remove or edit it.
27905 #
27906 # config.status only pays attention to the cache file if you give it
27907 # the --recheck option to rerun configure.
27908 #
27909 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27910 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27911 # following values.
27912
27913 _ACEOF
27914
27915 # The following way of writing the cache mishandles newlines in values,
27916 # but we know of no workaround that is simple, portable, and efficient.
27917 # So, we kill variables containing newlines.
27918 # Ultrix sh set writes to stderr and can't be redirected directly,
27919 # and sets the high bit in the cache file unless we assign to the vars.
27920 (
27921 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27922 eval ac_val=\$$ac_var
27923 case $ac_val in #(
27924 *${as_nl}*)
27925 case $ac_var in #(
27926 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27927 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27928 esac
27929 case $ac_var in #(
27930 _ | IFS | as_nl) ;; #(
27931 *) $as_unset $ac_var ;;
27932 esac ;;
27933 esac
27934 done
27935
27936 (set) 2>&1 |
27937 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27938 *${as_nl}ac_space=\ *)
27939 # `set' does not quote correctly, so add quotes (double-quote
27940 # substitution turns \\\\ into \\, and sed turns \\ into \).
27941 sed -n \
27942 "s/'/'\\\\''/g;
27943 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27944 ;; #(
27945 *)
27946 # `set' quotes correctly as required by POSIX, so do not add quotes.
27947 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27948 ;;
27949 esac |
27950 sort
27951 ) |
27952 sed '
27953 /^ac_cv_env_/b end
27954 t clear
27955 :clear
27956 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27957 t end
27958 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27959 :end' >>confcache
27960 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27961 if test -w "$cache_file"; then
27962 test "x$cache_file" != "x/dev/null" &&
27963 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27964 echo "$as_me: updating cache $cache_file" >&6;}
27965 cat confcache >$cache_file
27966 else
27967 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27968 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27969 fi
27970 fi
27971 rm -f confcache
27972
27973 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27974 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27975 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27976 if test "${wx_cv_lib_glibc21+set}" = set; then
27977 echo $ECHO_N "(cached) $ECHO_C" >&6
27978 else
27979
27980 cat >conftest.$ac_ext <<_ACEOF
27981 /* confdefs.h. */
27982 _ACEOF
27983 cat confdefs.h >>conftest.$ac_ext
27984 cat >>conftest.$ac_ext <<_ACEOF
27985 /* end confdefs.h. */
27986 #include <features.h>
27987 int
27988 main ()
27989 {
27990
27991 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27992 not glibc 2.1
27993 #endif
27994
27995 ;
27996 return 0;
27997 }
27998 _ACEOF
27999 rm -f conftest.$ac_objext
28000 if { (ac_try="$ac_compile"
28001 case "(($ac_try" in
28002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28003 *) ac_try_echo=$ac_try;;
28004 esac
28005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28006 (eval "$ac_compile") 2>conftest.er1
28007 ac_status=$?
28008 grep -v '^ *+' conftest.er1 >conftest.err
28009 rm -f conftest.er1
28010 cat conftest.err >&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); } && {
28013 test -z "$ac_c_werror_flag" ||
28014 test ! -s conftest.err
28015 } && test -s conftest.$ac_objext; then
28016
28017 wx_cv_lib_glibc21=yes
28018
28019 else
28020 echo "$as_me: failed program was:" >&5
28021 sed 's/^/| /' conftest.$ac_ext >&5
28022
28023
28024 wx_cv_lib_glibc21=no
28025
28026
28027 fi
28028
28029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28030
28031 fi
28032 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
28033 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
28034 if test "$wx_cv_lib_glibc21" = "yes"; then
28035 cat >>confdefs.h <<\_ACEOF
28036 #define wxHAVE_GLIBC2 1
28037 _ACEOF
28038
28039 fi
28040 fi
28041
28042 if test "x$wx_cv_lib_glibc21" = "xyes"; then
28043 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
28044 cat >>confdefs.h <<\_ACEOF
28045 #define _GNU_SOURCE 1
28046 _ACEOF
28047
28048 fi
28049 fi
28050
28051 have_cos=0
28052 have_floor=0
28053
28054 for ac_func in cos
28055 do
28056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28057 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28059 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28060 echo $ECHO_N "(cached) $ECHO_C" >&6
28061 else
28062 cat >conftest.$ac_ext <<_ACEOF
28063 /* confdefs.h. */
28064 _ACEOF
28065 cat confdefs.h >>conftest.$ac_ext
28066 cat >>conftest.$ac_ext <<_ACEOF
28067 /* end confdefs.h. */
28068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28070 #define $ac_func innocuous_$ac_func
28071
28072 /* System header to define __stub macros and hopefully few prototypes,
28073 which can conflict with char $ac_func (); below.
28074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28075 <limits.h> exists even on freestanding compilers. */
28076
28077 #ifdef __STDC__
28078 # include <limits.h>
28079 #else
28080 # include <assert.h>
28081 #endif
28082
28083 #undef $ac_func
28084
28085 /* Override any GCC internal prototype to avoid an error.
28086 Use char because int might match the return type of a GCC
28087 builtin and then its argument prototype would still apply. */
28088 #ifdef __cplusplus
28089 extern "C"
28090 #endif
28091 char $ac_func ();
28092 /* The GNU C library defines this for functions which it implements
28093 to always fail with ENOSYS. Some functions are actually named
28094 something starting with __ and the normal name is an alias. */
28095 #if defined __stub_$ac_func || defined __stub___$ac_func
28096 choke me
28097 #endif
28098
28099 int
28100 main ()
28101 {
28102 return $ac_func ();
28103 ;
28104 return 0;
28105 }
28106 _ACEOF
28107 rm -f conftest.$ac_objext conftest$ac_exeext
28108 if { (ac_try="$ac_link"
28109 case "(($ac_try" in
28110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28111 *) ac_try_echo=$ac_try;;
28112 esac
28113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28114 (eval "$ac_link") 2>conftest.er1
28115 ac_status=$?
28116 grep -v '^ *+' conftest.er1 >conftest.err
28117 rm -f conftest.er1
28118 cat conftest.err >&5
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); } && {
28121 test -z "$ac_c_werror_flag" ||
28122 test ! -s conftest.err
28123 } && test -s conftest$ac_exeext &&
28124 $as_test_x conftest$ac_exeext; then
28125 eval "$as_ac_var=yes"
28126 else
28127 echo "$as_me: failed program was:" >&5
28128 sed 's/^/| /' conftest.$ac_ext >&5
28129
28130 eval "$as_ac_var=no"
28131 fi
28132
28133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28134 conftest$ac_exeext conftest.$ac_ext
28135 fi
28136 ac_res=`eval echo '${'$as_ac_var'}'`
28137 { echo "$as_me:$LINENO: result: $ac_res" >&5
28138 echo "${ECHO_T}$ac_res" >&6; }
28139 if test `eval echo '${'$as_ac_var'}'` = yes; then
28140 cat >>confdefs.h <<_ACEOF
28141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28142 _ACEOF
28143 have_cos=1
28144 fi
28145 done
28146
28147
28148 for ac_func in floor
28149 do
28150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28151 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28153 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28154 echo $ECHO_N "(cached) $ECHO_C" >&6
28155 else
28156 cat >conftest.$ac_ext <<_ACEOF
28157 /* confdefs.h. */
28158 _ACEOF
28159 cat confdefs.h >>conftest.$ac_ext
28160 cat >>conftest.$ac_ext <<_ACEOF
28161 /* end confdefs.h. */
28162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28164 #define $ac_func innocuous_$ac_func
28165
28166 /* System header to define __stub macros and hopefully few prototypes,
28167 which can conflict with char $ac_func (); below.
28168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28169 <limits.h> exists even on freestanding compilers. */
28170
28171 #ifdef __STDC__
28172 # include <limits.h>
28173 #else
28174 # include <assert.h>
28175 #endif
28176
28177 #undef $ac_func
28178
28179 /* Override any GCC internal prototype to avoid an error.
28180 Use char because int might match the return type of a GCC
28181 builtin and then its argument prototype would still apply. */
28182 #ifdef __cplusplus
28183 extern "C"
28184 #endif
28185 char $ac_func ();
28186 /* The GNU C library defines this for functions which it implements
28187 to always fail with ENOSYS. Some functions are actually named
28188 something starting with __ and the normal name is an alias. */
28189 #if defined __stub_$ac_func || defined __stub___$ac_func
28190 choke me
28191 #endif
28192
28193 int
28194 main ()
28195 {
28196 return $ac_func ();
28197 ;
28198 return 0;
28199 }
28200 _ACEOF
28201 rm -f conftest.$ac_objext conftest$ac_exeext
28202 if { (ac_try="$ac_link"
28203 case "(($ac_try" in
28204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28205 *) ac_try_echo=$ac_try;;
28206 esac
28207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28208 (eval "$ac_link") 2>conftest.er1
28209 ac_status=$?
28210 grep -v '^ *+' conftest.er1 >conftest.err
28211 rm -f conftest.er1
28212 cat conftest.err >&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); } && {
28215 test -z "$ac_c_werror_flag" ||
28216 test ! -s conftest.err
28217 } && test -s conftest$ac_exeext &&
28218 $as_test_x conftest$ac_exeext; then
28219 eval "$as_ac_var=yes"
28220 else
28221 echo "$as_me: failed program was:" >&5
28222 sed 's/^/| /' conftest.$ac_ext >&5
28223
28224 eval "$as_ac_var=no"
28225 fi
28226
28227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28228 conftest$ac_exeext conftest.$ac_ext
28229 fi
28230 ac_res=`eval echo '${'$as_ac_var'}'`
28231 { echo "$as_me:$LINENO: result: $ac_res" >&5
28232 echo "${ECHO_T}$ac_res" >&6; }
28233 if test `eval echo '${'$as_ac_var'}'` = yes; then
28234 cat >>confdefs.h <<_ACEOF
28235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28236 _ACEOF
28237 have_floor=1
28238 fi
28239 done
28240
28241 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28242 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28243 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28244 { echo "$as_me:$LINENO: result: yes" >&5
28245 echo "${ECHO_T}yes" >&6; }
28246 else
28247 { echo "$as_me:$LINENO: result: no" >&5
28248 echo "${ECHO_T}no" >&6; }
28249 LIBS="$LIBS -lm"
28250 # use different functions to avoid configure caching
28251 have_sin=0
28252 have_ceil=0
28253
28254 for ac_func in sin
28255 do
28256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28257 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28259 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28261 else
28262 cat >conftest.$ac_ext <<_ACEOF
28263 /* confdefs.h. */
28264 _ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28270 #define $ac_func innocuous_$ac_func
28271
28272 /* System header to define __stub macros and hopefully few prototypes,
28273 which can conflict with char $ac_func (); below.
28274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28275 <limits.h> exists even on freestanding compilers. */
28276
28277 #ifdef __STDC__
28278 # include <limits.h>
28279 #else
28280 # include <assert.h>
28281 #endif
28282
28283 #undef $ac_func
28284
28285 /* Override any GCC internal prototype to avoid an error.
28286 Use char because int might match the return type of a GCC
28287 builtin and then its argument prototype would still apply. */
28288 #ifdef __cplusplus
28289 extern "C"
28290 #endif
28291 char $ac_func ();
28292 /* The GNU C library defines this for functions which it implements
28293 to always fail with ENOSYS. Some functions are actually named
28294 something starting with __ and the normal name is an alias. */
28295 #if defined __stub_$ac_func || defined __stub___$ac_func
28296 choke me
28297 #endif
28298
28299 int
28300 main ()
28301 {
28302 return $ac_func ();
28303 ;
28304 return 0;
28305 }
28306 _ACEOF
28307 rm -f conftest.$ac_objext conftest$ac_exeext
28308 if { (ac_try="$ac_link"
28309 case "(($ac_try" in
28310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28311 *) ac_try_echo=$ac_try;;
28312 esac
28313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28314 (eval "$ac_link") 2>conftest.er1
28315 ac_status=$?
28316 grep -v '^ *+' conftest.er1 >conftest.err
28317 rm -f conftest.er1
28318 cat conftest.err >&5
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); } && {
28321 test -z "$ac_c_werror_flag" ||
28322 test ! -s conftest.err
28323 } && test -s conftest$ac_exeext &&
28324 $as_test_x conftest$ac_exeext; then
28325 eval "$as_ac_var=yes"
28326 else
28327 echo "$as_me: failed program was:" >&5
28328 sed 's/^/| /' conftest.$ac_ext >&5
28329
28330 eval "$as_ac_var=no"
28331 fi
28332
28333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28334 conftest$ac_exeext conftest.$ac_ext
28335 fi
28336 ac_res=`eval echo '${'$as_ac_var'}'`
28337 { echo "$as_me:$LINENO: result: $ac_res" >&5
28338 echo "${ECHO_T}$ac_res" >&6; }
28339 if test `eval echo '${'$as_ac_var'}'` = yes; then
28340 cat >>confdefs.h <<_ACEOF
28341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28342 _ACEOF
28343 have_sin=1
28344 fi
28345 done
28346
28347
28348 for ac_func in ceil
28349 do
28350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28351 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28353 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28354 echo $ECHO_N "(cached) $ECHO_C" >&6
28355 else
28356 cat >conftest.$ac_ext <<_ACEOF
28357 /* confdefs.h. */
28358 _ACEOF
28359 cat confdefs.h >>conftest.$ac_ext
28360 cat >>conftest.$ac_ext <<_ACEOF
28361 /* end confdefs.h. */
28362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28364 #define $ac_func innocuous_$ac_func
28365
28366 /* System header to define __stub macros and hopefully few prototypes,
28367 which can conflict with char $ac_func (); below.
28368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28369 <limits.h> exists even on freestanding compilers. */
28370
28371 #ifdef __STDC__
28372 # include <limits.h>
28373 #else
28374 # include <assert.h>
28375 #endif
28376
28377 #undef $ac_func
28378
28379 /* Override any GCC internal prototype to avoid an error.
28380 Use char because int might match the return type of a GCC
28381 builtin and then its argument prototype would still apply. */
28382 #ifdef __cplusplus
28383 extern "C"
28384 #endif
28385 char $ac_func ();
28386 /* The GNU C library defines this for functions which it implements
28387 to always fail with ENOSYS. Some functions are actually named
28388 something starting with __ and the normal name is an alias. */
28389 #if defined __stub_$ac_func || defined __stub___$ac_func
28390 choke me
28391 #endif
28392
28393 int
28394 main ()
28395 {
28396 return $ac_func ();
28397 ;
28398 return 0;
28399 }
28400 _ACEOF
28401 rm -f conftest.$ac_objext conftest$ac_exeext
28402 if { (ac_try="$ac_link"
28403 case "(($ac_try" in
28404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28405 *) ac_try_echo=$ac_try;;
28406 esac
28407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28408 (eval "$ac_link") 2>conftest.er1
28409 ac_status=$?
28410 grep -v '^ *+' conftest.er1 >conftest.err
28411 rm -f conftest.er1
28412 cat conftest.err >&5
28413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414 (exit $ac_status); } && {
28415 test -z "$ac_c_werror_flag" ||
28416 test ! -s conftest.err
28417 } && test -s conftest$ac_exeext &&
28418 $as_test_x conftest$ac_exeext; then
28419 eval "$as_ac_var=yes"
28420 else
28421 echo "$as_me: failed program was:" >&5
28422 sed 's/^/| /' conftest.$ac_ext >&5
28423
28424 eval "$as_ac_var=no"
28425 fi
28426
28427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28428 conftest$ac_exeext conftest.$ac_ext
28429 fi
28430 ac_res=`eval echo '${'$as_ac_var'}'`
28431 { echo "$as_me:$LINENO: result: $ac_res" >&5
28432 echo "${ECHO_T}$ac_res" >&6; }
28433 if test `eval echo '${'$as_ac_var'}'` = yes; then
28434 cat >>confdefs.h <<_ACEOF
28435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28436 _ACEOF
28437 have_ceil=1
28438 fi
28439 done
28440
28441 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28442 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28443 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28444 { echo "$as_me:$LINENO: result: yes" >&5
28445 echo "${ECHO_T}yes" >&6; }
28446 else
28447 { echo "$as_me:$LINENO: result: no" >&5
28448 echo "${ECHO_T}no" >&6; }
28449 # not sure we should warn the user, crash, etc.
28450 fi
28451 fi
28452
28453 ac_ext=cpp
28454 ac_cpp='$CXXCPP $CPPFLAGS'
28455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28458
28459 if test "wxUSE_UNICODE" = "yes"; then
28460
28461 for wx_func in wcstoull
28462 do
28463 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28464 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28465 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28466 echo $ECHO_N "(cached) $ECHO_C" >&6
28467 else
28468
28469 cat >conftest.$ac_ext <<_ACEOF
28470
28471 /* confdefs.h. */
28472 _ACEOF
28473 cat confdefs.h >>conftest.$ac_ext
28474 cat >>conftest.$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28476
28477
28478 $ac_includes_default
28479
28480 int
28481 main ()
28482 {
28483
28484 #ifndef $wx_func
28485 &$wx_func;
28486 #endif
28487
28488
28489 ;
28490 return 0;
28491 }
28492
28493 _ACEOF
28494 rm -f conftest.$ac_objext conftest$ac_exeext
28495 if { (ac_try="$ac_link"
28496 case "(($ac_try" in
28497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28498 *) ac_try_echo=$ac_try;;
28499 esac
28500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28501 (eval "$ac_link") 2>conftest.er1
28502 ac_status=$?
28503 grep -v '^ *+' conftest.er1 >conftest.err
28504 rm -f conftest.er1
28505 cat conftest.err >&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); } && {
28508 test -z "$ac_cxx_werror_flag" ||
28509 test ! -s conftest.err
28510 } && test -s conftest$ac_exeext &&
28511 $as_test_x conftest$ac_exeext; then
28512 eval wx_cv_func_$wx_func=yes
28513 else
28514 echo "$as_me: failed program was:" >&5
28515 sed 's/^/| /' conftest.$ac_ext >&5
28516
28517 eval wx_cv_func_$wx_func=no
28518 fi
28519
28520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28521 conftest$ac_exeext conftest.$ac_ext
28522
28523 fi
28524 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28525 { echo "$as_me:$LINENO: result: $ac_res" >&5
28526 echo "${ECHO_T}$ac_res" >&6; }
28527
28528 if eval test \$wx_cv_func_$wx_func = yes
28529 then
28530 cat >>confdefs.h <<_ACEOF
28531 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28532 _ACEOF
28533
28534
28535 else
28536 :
28537
28538 fi
28539 done
28540
28541 else
28542
28543 for wx_func in strtoull
28544 do
28545 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28546 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28547 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28549 else
28550
28551 cat >conftest.$ac_ext <<_ACEOF
28552
28553 /* confdefs.h. */
28554 _ACEOF
28555 cat confdefs.h >>conftest.$ac_ext
28556 cat >>conftest.$ac_ext <<_ACEOF
28557 /* end confdefs.h. */
28558
28559
28560 $ac_includes_default
28561
28562 int
28563 main ()
28564 {
28565
28566 #ifndef $wx_func
28567 &$wx_func;
28568 #endif
28569
28570
28571 ;
28572 return 0;
28573 }
28574
28575 _ACEOF
28576 rm -f conftest.$ac_objext conftest$ac_exeext
28577 if { (ac_try="$ac_link"
28578 case "(($ac_try" in
28579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28580 *) ac_try_echo=$ac_try;;
28581 esac
28582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28583 (eval "$ac_link") 2>conftest.er1
28584 ac_status=$?
28585 grep -v '^ *+' conftest.er1 >conftest.err
28586 rm -f conftest.er1
28587 cat conftest.err >&5
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); } && {
28590 test -z "$ac_cxx_werror_flag" ||
28591 test ! -s conftest.err
28592 } && test -s conftest$ac_exeext &&
28593 $as_test_x conftest$ac_exeext; then
28594 eval wx_cv_func_$wx_func=yes
28595 else
28596 echo "$as_me: failed program was:" >&5
28597 sed 's/^/| /' conftest.$ac_ext >&5
28598
28599 eval wx_cv_func_$wx_func=no
28600 fi
28601
28602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28603 conftest$ac_exeext conftest.$ac_ext
28604
28605 fi
28606 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28607 { echo "$as_me:$LINENO: result: $ac_res" >&5
28608 echo "${ECHO_T}$ac_res" >&6; }
28609
28610 if eval test \$wx_cv_func_$wx_func = yes
28611 then
28612 cat >>confdefs.h <<_ACEOF
28613 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28614 _ACEOF
28615
28616
28617 else
28618 :
28619
28620 fi
28621 done
28622
28623 fi
28624 ac_ext=c
28625 ac_cpp='$CPP $CPPFLAGS'
28626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28629
28630
28631
28632
28633 if test "$wxUSE_REGEX" != "no"; then
28634 cat >>confdefs.h <<\_ACEOF
28635 #define wxUSE_REGEX 1
28636 _ACEOF
28637
28638
28639 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28640 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28641 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28642 wxUSE_REGEX=builtin
28643 fi
28644
28645 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28646 { echo "$as_me:$LINENO: checking for regex.h" >&5
28647 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28648 if test "${ac_cv_header_regex_h+set}" = set; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28650 else
28651 cat >conftest.$ac_ext <<_ACEOF
28652 /* confdefs.h. */
28653 _ACEOF
28654 cat confdefs.h >>conftest.$ac_ext
28655 cat >>conftest.$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28657
28658
28659 #include <regex.h>
28660 _ACEOF
28661 rm -f conftest.$ac_objext
28662 if { (ac_try="$ac_compile"
28663 case "(($ac_try" in
28664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28665 *) ac_try_echo=$ac_try;;
28666 esac
28667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28668 (eval "$ac_compile") 2>conftest.er1
28669 ac_status=$?
28670 grep -v '^ *+' conftest.er1 >conftest.err
28671 rm -f conftest.er1
28672 cat conftest.err >&5
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); } && {
28675 test -z "$ac_c_werror_flag" ||
28676 test ! -s conftest.err
28677 } && test -s conftest.$ac_objext; then
28678 ac_cv_header_regex_h=yes
28679 else
28680 echo "$as_me: failed program was:" >&5
28681 sed 's/^/| /' conftest.$ac_ext >&5
28682
28683 ac_cv_header_regex_h=no
28684 fi
28685
28686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28687 fi
28688 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28689 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28690 if test $ac_cv_header_regex_h = yes; then
28691
28692
28693 for ac_func in regcomp re_search
28694 do
28695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28699 echo $ECHO_N "(cached) $ECHO_C" >&6
28700 else
28701 cat >conftest.$ac_ext <<_ACEOF
28702 /* confdefs.h. */
28703 _ACEOF
28704 cat confdefs.h >>conftest.$ac_ext
28705 cat >>conftest.$ac_ext <<_ACEOF
28706 /* end confdefs.h. */
28707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28709 #define $ac_func innocuous_$ac_func
28710
28711 /* System header to define __stub macros and hopefully few prototypes,
28712 which can conflict with char $ac_func (); below.
28713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28714 <limits.h> exists even on freestanding compilers. */
28715
28716 #ifdef __STDC__
28717 # include <limits.h>
28718 #else
28719 # include <assert.h>
28720 #endif
28721
28722 #undef $ac_func
28723
28724 /* Override any GCC internal prototype to avoid an error.
28725 Use char because int might match the return type of a GCC
28726 builtin and then its argument prototype would still apply. */
28727 #ifdef __cplusplus
28728 extern "C"
28729 #endif
28730 char $ac_func ();
28731 /* The GNU C library defines this for functions which it implements
28732 to always fail with ENOSYS. Some functions are actually named
28733 something starting with __ and the normal name is an alias. */
28734 #if defined __stub_$ac_func || defined __stub___$ac_func
28735 choke me
28736 #endif
28737
28738 int
28739 main ()
28740 {
28741 return $ac_func ();
28742 ;
28743 return 0;
28744 }
28745 _ACEOF
28746 rm -f conftest.$ac_objext conftest$ac_exeext
28747 if { (ac_try="$ac_link"
28748 case "(($ac_try" in
28749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28750 *) ac_try_echo=$ac_try;;
28751 esac
28752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28753 (eval "$ac_link") 2>conftest.er1
28754 ac_status=$?
28755 grep -v '^ *+' conftest.er1 >conftest.err
28756 rm -f conftest.er1
28757 cat conftest.err >&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); } && {
28760 test -z "$ac_c_werror_flag" ||
28761 test ! -s conftest.err
28762 } && test -s conftest$ac_exeext &&
28763 $as_test_x conftest$ac_exeext; then
28764 eval "$as_ac_var=yes"
28765 else
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.$ac_ext >&5
28768
28769 eval "$as_ac_var=no"
28770 fi
28771
28772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28773 conftest$ac_exeext conftest.$ac_ext
28774 fi
28775 ac_res=`eval echo '${'$as_ac_var'}'`
28776 { echo "$as_me:$LINENO: result: $ac_res" >&5
28777 echo "${ECHO_T}$ac_res" >&6; }
28778 if test `eval echo '${'$as_ac_var'}'` = yes; then
28779 cat >>confdefs.h <<_ACEOF
28780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28781 _ACEOF
28782
28783 fi
28784 done
28785
28786 fi
28787
28788
28789
28790 if test "x$ac_cv_func_regcomp" != "xyes"; then
28791 if test "$wxUSE_REGEX" = "sys" ; then
28792 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28793 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28794 { (exit 1); exit 1; }; }
28795 else
28796 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28797 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28798 wxUSE_REGEX=builtin
28799 fi
28800 else
28801 wxUSE_REGEX=sys
28802 cat >>confdefs.h <<\_ACEOF
28803 #define WX_NO_REGEX_ADVANCED 1
28804 _ACEOF
28805
28806 fi
28807 fi
28808 fi
28809
28810
28811 ZLIB_LINK=
28812 if test "$wxUSE_ZLIB" != "no" ; then
28813 cat >>confdefs.h <<\_ACEOF
28814 #define wxUSE_ZLIB 1
28815 _ACEOF
28816
28817
28818 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28819 if test "$USE_DARWIN" = 1; then
28820 system_zlib_h_ok="yes"
28821 else
28822 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28823 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28824 if test "${ac_cv_header_zlib_h+set}" = set; then
28825 echo $ECHO_N "(cached) $ECHO_C" >&6
28826 else
28827 if test "$cross_compiling" = yes; then
28828 unset ac_cv_header_zlib_h
28829
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 #include <zlib.h>
28839 #include <stdio.h>
28840
28841 int main()
28842 {
28843 FILE *f=fopen("conftestval", "w");
28844 if (!f) exit(1);
28845 fprintf(f, "%s",
28846 ZLIB_VERSION[0] == '1' &&
28847 (ZLIB_VERSION[2] > '1' ||
28848 (ZLIB_VERSION[2] == '1' &&
28849 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28850 exit(0);
28851 }
28852
28853 _ACEOF
28854 rm -f conftest$ac_exeext
28855 if { (ac_try="$ac_link"
28856 case "(($ac_try" in
28857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28858 *) ac_try_echo=$ac_try;;
28859 esac
28860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28861 (eval "$ac_link") 2>&5
28862 ac_status=$?
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28865 { (case "(($ac_try" in
28866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28867 *) ac_try_echo=$ac_try;;
28868 esac
28869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28870 (eval "$ac_try") 2>&5
28871 ac_status=$?
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); }; }; then
28874 ac_cv_header_zlib_h=`cat conftestval`
28875 else
28876 echo "$as_me: program exited with status $ac_status" >&5
28877 echo "$as_me: failed program was:" >&5
28878 sed 's/^/| /' conftest.$ac_ext >&5
28879
28880 ( exit $ac_status )
28881 ac_cv_header_zlib_h=no
28882 fi
28883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28884 fi
28885
28886
28887
28888 fi
28889 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28890 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28891 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28892 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28893 if test "${ac_cv_header_zlib_h+set}" = set; then
28894 echo $ECHO_N "(cached) $ECHO_C" >&6
28895 else
28896 cat >conftest.$ac_ext <<_ACEOF
28897 /* confdefs.h. */
28898 _ACEOF
28899 cat confdefs.h >>conftest.$ac_ext
28900 cat >>conftest.$ac_ext <<_ACEOF
28901 /* end confdefs.h. */
28902
28903
28904 #include <zlib.h>
28905 _ACEOF
28906 rm -f conftest.$ac_objext
28907 if { (ac_try="$ac_compile"
28908 case "(($ac_try" in
28909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28910 *) ac_try_echo=$ac_try;;
28911 esac
28912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28913 (eval "$ac_compile") 2>conftest.er1
28914 ac_status=$?
28915 grep -v '^ *+' conftest.er1 >conftest.err
28916 rm -f conftest.er1
28917 cat conftest.err >&5
28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919 (exit $ac_status); } && {
28920 test -z "$ac_c_werror_flag" ||
28921 test ! -s conftest.err
28922 } && test -s conftest.$ac_objext; then
28923 ac_cv_header_zlib_h=yes
28924 else
28925 echo "$as_me: failed program was:" >&5
28926 sed 's/^/| /' conftest.$ac_ext >&5
28927
28928 ac_cv_header_zlib_h=no
28929 fi
28930
28931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28932 fi
28933 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28934 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28935
28936
28937
28938 system_zlib_h_ok=$ac_cv_header_zlib_h
28939 fi
28940
28941 if test "$system_zlib_h_ok" = "yes"; then
28942 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28943 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28944 if test "${ac_cv_lib_z_deflate+set}" = set; then
28945 echo $ECHO_N "(cached) $ECHO_C" >&6
28946 else
28947 ac_check_lib_save_LIBS=$LIBS
28948 LIBS="-lz $LIBS"
28949 cat >conftest.$ac_ext <<_ACEOF
28950 /* confdefs.h. */
28951 _ACEOF
28952 cat confdefs.h >>conftest.$ac_ext
28953 cat >>conftest.$ac_ext <<_ACEOF
28954 /* end confdefs.h. */
28955
28956 /* Override any GCC internal prototype to avoid an error.
28957 Use char because int might match the return type of a GCC
28958 builtin and then its argument prototype would still apply. */
28959 #ifdef __cplusplus
28960 extern "C"
28961 #endif
28962 char deflate ();
28963 int
28964 main ()
28965 {
28966 return deflate ();
28967 ;
28968 return 0;
28969 }
28970 _ACEOF
28971 rm -f conftest.$ac_objext conftest$ac_exeext
28972 if { (ac_try="$ac_link"
28973 case "(($ac_try" in
28974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28975 *) ac_try_echo=$ac_try;;
28976 esac
28977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28978 (eval "$ac_link") 2>conftest.er1
28979 ac_status=$?
28980 grep -v '^ *+' conftest.er1 >conftest.err
28981 rm -f conftest.er1
28982 cat conftest.err >&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); } && {
28985 test -z "$ac_c_werror_flag" ||
28986 test ! -s conftest.err
28987 } && test -s conftest$ac_exeext &&
28988 $as_test_x conftest$ac_exeext; then
28989 ac_cv_lib_z_deflate=yes
28990 else
28991 echo "$as_me: failed program was:" >&5
28992 sed 's/^/| /' conftest.$ac_ext >&5
28993
28994 ac_cv_lib_z_deflate=no
28995 fi
28996
28997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28998 conftest$ac_exeext conftest.$ac_ext
28999 LIBS=$ac_check_lib_save_LIBS
29000 fi
29001 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29002 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29003 if test $ac_cv_lib_z_deflate = yes; then
29004 ZLIB_LINK=" -lz"
29005 fi
29006
29007 fi
29008
29009 if test "x$ZLIB_LINK" = "x" ; then
29010 if test "$wxUSE_ZLIB" = "sys" ; then
29011 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29012 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29013 { (exit 1); exit 1; }; }
29014 else
29015 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29016 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29017 wxUSE_ZLIB=builtin
29018 fi
29019 else
29020 wxUSE_ZLIB=sys
29021 fi
29022 fi
29023 fi
29024
29025
29026 PNG_LINK=
29027 if test "$wxUSE_LIBPNG" != "no" ; then
29028 cat >>confdefs.h <<\_ACEOF
29029 #define wxUSE_LIBPNG 1
29030 _ACEOF
29031
29032
29033 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29034 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29035 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29036 wxUSE_LIBPNG=sys
29037 fi
29038
29039 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29040 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29041 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29042 wxUSE_LIBPNG=builtin
29043 fi
29044
29045 if test "$wxUSE_MGL" != 1 ; then
29046 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29047 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29048 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29049 if test "${ac_cv_header_png_h+set}" = set; then
29050 echo $ECHO_N "(cached) $ECHO_C" >&6
29051 else
29052 if test "$cross_compiling" = yes; then
29053 unset ac_cv_header_png_h
29054
29055 else
29056 cat >conftest.$ac_ext <<_ACEOF
29057 /* confdefs.h. */
29058 _ACEOF
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29062
29063 #include <png.h>
29064 #include <stdio.h>
29065
29066 int main()
29067 {
29068 FILE *f=fopen("conftestval", "w");
29069 if (!f) exit(1);
29070 fprintf(f, "%s",
29071 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29072 exit(0);
29073 }
29074
29075 _ACEOF
29076 rm -f conftest$ac_exeext
29077 if { (ac_try="$ac_link"
29078 case "(($ac_try" in
29079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29080 *) ac_try_echo=$ac_try;;
29081 esac
29082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29083 (eval "$ac_link") 2>&5
29084 ac_status=$?
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29087 { (case "(($ac_try" in
29088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29089 *) ac_try_echo=$ac_try;;
29090 esac
29091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29092 (eval "$ac_try") 2>&5
29093 ac_status=$?
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); }; }; then
29096 ac_cv_header_png_h=`cat conftestval`
29097 else
29098 echo "$as_me: program exited with status $ac_status" >&5
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.$ac_ext >&5
29101
29102 ( exit $ac_status )
29103 ac_cv_header_png_h=no
29104 fi
29105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29106 fi
29107
29108
29109
29110 fi
29111 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29112 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29113 { echo "$as_me:$LINENO: checking for png.h" >&5
29114 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29115 if test "${ac_cv_header_png_h+set}" = set; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29117 else
29118 cat >conftest.$ac_ext <<_ACEOF
29119 /* confdefs.h. */
29120 _ACEOF
29121 cat confdefs.h >>conftest.$ac_ext
29122 cat >>conftest.$ac_ext <<_ACEOF
29123 /* end confdefs.h. */
29124
29125
29126 #include <png.h>
29127 _ACEOF
29128 rm -f conftest.$ac_objext
29129 if { (ac_try="$ac_compile"
29130 case "(($ac_try" in
29131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29132 *) ac_try_echo=$ac_try;;
29133 esac
29134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29135 (eval "$ac_compile") 2>conftest.er1
29136 ac_status=$?
29137 grep -v '^ *+' conftest.er1 >conftest.err
29138 rm -f conftest.er1
29139 cat conftest.err >&5
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); } && {
29142 test -z "$ac_c_werror_flag" ||
29143 test ! -s conftest.err
29144 } && test -s conftest.$ac_objext; then
29145 ac_cv_header_png_h=yes
29146 else
29147 echo "$as_me: failed program was:" >&5
29148 sed 's/^/| /' conftest.$ac_ext >&5
29149
29150 ac_cv_header_png_h=no
29151 fi
29152
29153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29154 fi
29155 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29156 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29157
29158
29159
29160 if test "$ac_cv_header_png_h" = "yes"; then
29161 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29162 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29163 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29164 echo $ECHO_N "(cached) $ECHO_C" >&6
29165 else
29166 ac_check_lib_save_LIBS=$LIBS
29167 LIBS="-lpng -lz -lm $LIBS"
29168 cat >conftest.$ac_ext <<_ACEOF
29169 /* confdefs.h. */
29170 _ACEOF
29171 cat confdefs.h >>conftest.$ac_ext
29172 cat >>conftest.$ac_ext <<_ACEOF
29173 /* end confdefs.h. */
29174
29175 /* Override any GCC internal prototype to avoid an error.
29176 Use char because int might match the return type of a GCC
29177 builtin and then its argument prototype would still apply. */
29178 #ifdef __cplusplus
29179 extern "C"
29180 #endif
29181 char png_check_sig ();
29182 int
29183 main ()
29184 {
29185 return png_check_sig ();
29186 ;
29187 return 0;
29188 }
29189 _ACEOF
29190 rm -f conftest.$ac_objext conftest$ac_exeext
29191 if { (ac_try="$ac_link"
29192 case "(($ac_try" in
29193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29194 *) ac_try_echo=$ac_try;;
29195 esac
29196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29197 (eval "$ac_link") 2>conftest.er1
29198 ac_status=$?
29199 grep -v '^ *+' conftest.er1 >conftest.err
29200 rm -f conftest.er1
29201 cat conftest.err >&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); } && {
29204 test -z "$ac_c_werror_flag" ||
29205 test ! -s conftest.err
29206 } && test -s conftest$ac_exeext &&
29207 $as_test_x conftest$ac_exeext; then
29208 ac_cv_lib_png_png_check_sig=yes
29209 else
29210 echo "$as_me: failed program was:" >&5
29211 sed 's/^/| /' conftest.$ac_ext >&5
29212
29213 ac_cv_lib_png_png_check_sig=no
29214 fi
29215
29216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29217 conftest$ac_exeext conftest.$ac_ext
29218 LIBS=$ac_check_lib_save_LIBS
29219 fi
29220 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29221 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29222 if test $ac_cv_lib_png_png_check_sig = yes; then
29223 PNG_LINK=" -lpng -lz"
29224 fi
29225
29226 fi
29227
29228 if test "x$PNG_LINK" = "x" ; then
29229 if test "$wxUSE_LIBPNG" = "sys" ; then
29230 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29231 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29232 { (exit 1); exit 1; }; }
29233 else
29234 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29235 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29236 wxUSE_LIBPNG=builtin
29237 fi
29238 else
29239 wxUSE_LIBPNG=sys
29240 fi
29241 fi
29242 fi
29243 fi
29244
29245
29246 JPEG_LINK=
29247 if test "$wxUSE_LIBJPEG" != "no" ; then
29248 cat >>confdefs.h <<\_ACEOF
29249 #define wxUSE_LIBJPEG 1
29250 _ACEOF
29251
29252
29253 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29254 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29255 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29256 wxUSE_LIBJPEG=sys
29257 fi
29258
29259 if test "$wxUSE_MGL" != 1 ; then
29260 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29261 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29262 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29263 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29264 echo $ECHO_N "(cached) $ECHO_C" >&6
29265 else
29266 cat >conftest.$ac_ext <<_ACEOF
29267 /* confdefs.h. */
29268 _ACEOF
29269 cat confdefs.h >>conftest.$ac_ext
29270 cat >>conftest.$ac_ext <<_ACEOF
29271 /* end confdefs.h. */
29272
29273 #undef HAVE_STDLIB_H
29274 #include <stdio.h>
29275 #include <jpeglib.h>
29276
29277 int
29278 main ()
29279 {
29280
29281
29282 ;
29283 return 0;
29284 }
29285 _ACEOF
29286 rm -f conftest.$ac_objext
29287 if { (ac_try="$ac_compile"
29288 case "(($ac_try" in
29289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29290 *) ac_try_echo=$ac_try;;
29291 esac
29292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29293 (eval "$ac_compile") 2>conftest.er1
29294 ac_status=$?
29295 grep -v '^ *+' conftest.er1 >conftest.err
29296 rm -f conftest.er1
29297 cat conftest.err >&5
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); } && {
29300 test -z "$ac_c_werror_flag" ||
29301 test ! -s conftest.err
29302 } && test -s conftest.$ac_objext; then
29303 ac_cv_header_jpeglib_h=yes
29304 else
29305 echo "$as_me: failed program was:" >&5
29306 sed 's/^/| /' conftest.$ac_ext >&5
29307
29308 ac_cv_header_jpeglib_h=no
29309
29310 fi
29311
29312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29313
29314 fi
29315
29316 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29317 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29318
29319 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29320 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29321 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29322 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29323 echo $ECHO_N "(cached) $ECHO_C" >&6
29324 else
29325 ac_check_lib_save_LIBS=$LIBS
29326 LIBS="-ljpeg $LIBS"
29327 cat >conftest.$ac_ext <<_ACEOF
29328 /* confdefs.h. */
29329 _ACEOF
29330 cat confdefs.h >>conftest.$ac_ext
29331 cat >>conftest.$ac_ext <<_ACEOF
29332 /* end confdefs.h. */
29333
29334 /* Override any GCC internal prototype to avoid an error.
29335 Use char because int might match the return type of a GCC
29336 builtin and then its argument prototype would still apply. */
29337 #ifdef __cplusplus
29338 extern "C"
29339 #endif
29340 char jpeg_read_header ();
29341 int
29342 main ()
29343 {
29344 return jpeg_read_header ();
29345 ;
29346 return 0;
29347 }
29348 _ACEOF
29349 rm -f conftest.$ac_objext conftest$ac_exeext
29350 if { (ac_try="$ac_link"
29351 case "(($ac_try" in
29352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29353 *) ac_try_echo=$ac_try;;
29354 esac
29355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29356 (eval "$ac_link") 2>conftest.er1
29357 ac_status=$?
29358 grep -v '^ *+' conftest.er1 >conftest.err
29359 rm -f conftest.er1
29360 cat conftest.err >&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); } && {
29363 test -z "$ac_c_werror_flag" ||
29364 test ! -s conftest.err
29365 } && test -s conftest$ac_exeext &&
29366 $as_test_x conftest$ac_exeext; then
29367 ac_cv_lib_jpeg_jpeg_read_header=yes
29368 else
29369 echo "$as_me: failed program was:" >&5
29370 sed 's/^/| /' conftest.$ac_ext >&5
29371
29372 ac_cv_lib_jpeg_jpeg_read_header=no
29373 fi
29374
29375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29376 conftest$ac_exeext conftest.$ac_ext
29377 LIBS=$ac_check_lib_save_LIBS
29378 fi
29379 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29380 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29381 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29382 JPEG_LINK=" -ljpeg"
29383 fi
29384
29385 fi
29386
29387 if test "x$JPEG_LINK" = "x" ; then
29388 if test "$wxUSE_LIBJPEG" = "sys" ; then
29389 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29390 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29391 { (exit 1); exit 1; }; }
29392 else
29393 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29394 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29395 wxUSE_LIBJPEG=builtin
29396 fi
29397 else
29398 wxUSE_LIBJPEG=sys
29399
29400 if test "$wxUSE_MSW" = 1; then
29401 { echo "$as_me:$LINENO: checking for boolean" >&5
29402 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29403 if test "${ac_cv_type_boolean+set}" = set; then
29404 echo $ECHO_N "(cached) $ECHO_C" >&6
29405 else
29406 cat >conftest.$ac_ext <<_ACEOF
29407 /* confdefs.h. */
29408 _ACEOF
29409 cat confdefs.h >>conftest.$ac_ext
29410 cat >>conftest.$ac_ext <<_ACEOF
29411 /* end confdefs.h. */
29412 #include <windows.h>
29413
29414 typedef boolean ac__type_new_;
29415 int
29416 main ()
29417 {
29418 if ((ac__type_new_ *) 0)
29419 return 0;
29420 if (sizeof (ac__type_new_))
29421 return 0;
29422 ;
29423 return 0;
29424 }
29425 _ACEOF
29426 rm -f conftest.$ac_objext
29427 if { (ac_try="$ac_compile"
29428 case "(($ac_try" in
29429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29430 *) ac_try_echo=$ac_try;;
29431 esac
29432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29433 (eval "$ac_compile") 2>conftest.er1
29434 ac_status=$?
29435 grep -v '^ *+' conftest.er1 >conftest.err
29436 rm -f conftest.er1
29437 cat conftest.err >&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } && {
29440 test -z "$ac_c_werror_flag" ||
29441 test ! -s conftest.err
29442 } && test -s conftest.$ac_objext; then
29443 ac_cv_type_boolean=yes
29444 else
29445 echo "$as_me: failed program was:" >&5
29446 sed 's/^/| /' conftest.$ac_ext >&5
29447
29448 ac_cv_type_boolean=no
29449 fi
29450
29451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29452 fi
29453 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29454 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29455 if test $ac_cv_type_boolean = yes; then
29456
29457 cat >>confdefs.h <<_ACEOF
29458 #define HAVE_BOOLEAN 1
29459 _ACEOF
29460
29461
29462 { echo "$as_me:$LINENO: checking for boolean" >&5
29463 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29464 if test "${ac_cv_type_boolean+set}" = set; then
29465 echo $ECHO_N "(cached) $ECHO_C" >&6
29466 else
29467 cat >conftest.$ac_ext <<_ACEOF
29468 /* confdefs.h. */
29469 _ACEOF
29470 cat confdefs.h >>conftest.$ac_ext
29471 cat >>conftest.$ac_ext <<_ACEOF
29472 /* end confdefs.h. */
29473
29474 #undef HAVE_BOOLEAN
29475 #include <stdio.h>
29476 #include <jpeglib.h>
29477
29478
29479 typedef boolean ac__type_new_;
29480 int
29481 main ()
29482 {
29483 if ((ac__type_new_ *) 0)
29484 return 0;
29485 if (sizeof (ac__type_new_))
29486 return 0;
29487 ;
29488 return 0;
29489 }
29490 _ACEOF
29491 rm -f conftest.$ac_objext
29492 if { (ac_try="$ac_compile"
29493 case "(($ac_try" in
29494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29495 *) ac_try_echo=$ac_try;;
29496 esac
29497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29498 (eval "$ac_compile") 2>conftest.er1
29499 ac_status=$?
29500 grep -v '^ *+' conftest.er1 >conftest.err
29501 rm -f conftest.er1
29502 cat conftest.err >&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } && {
29505 test -z "$ac_c_werror_flag" ||
29506 test ! -s conftest.err
29507 } && test -s conftest.$ac_objext; then
29508 ac_cv_type_boolean=yes
29509 else
29510 echo "$as_me: failed program was:" >&5
29511 sed 's/^/| /' conftest.$ac_ext >&5
29512
29513 ac_cv_type_boolean=no
29514 fi
29515
29516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29517 fi
29518 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29519 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29520
29521 # The cast to long int works around a bug in the HP C Compiler
29522 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29523 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29524 # This bug is HP SR number 8606223364.
29525 { echo "$as_me:$LINENO: checking size of boolean" >&5
29526 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29527 if test "${ac_cv_sizeof_boolean+set}" = set; then
29528 echo $ECHO_N "(cached) $ECHO_C" >&6
29529 else
29530 if test "$cross_compiling" = yes; then
29531 # Depending upon the size, compute the lo and hi bounds.
29532 cat >conftest.$ac_ext <<_ACEOF
29533 /* confdefs.h. */
29534 _ACEOF
29535 cat confdefs.h >>conftest.$ac_ext
29536 cat >>conftest.$ac_ext <<_ACEOF
29537 /* end confdefs.h. */
29538
29539 #undef HAVE_BOOLEAN
29540 #include <stdio.h>
29541 #include <jpeglib.h>
29542
29543
29544 typedef boolean ac__type_sizeof_;
29545 int
29546 main ()
29547 {
29548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29549 test_array [0] = 0
29550
29551 ;
29552 return 0;
29553 }
29554 _ACEOF
29555 rm -f conftest.$ac_objext
29556 if { (ac_try="$ac_compile"
29557 case "(($ac_try" in
29558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29559 *) ac_try_echo=$ac_try;;
29560 esac
29561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29562 (eval "$ac_compile") 2>conftest.er1
29563 ac_status=$?
29564 grep -v '^ *+' conftest.er1 >conftest.err
29565 rm -f conftest.er1
29566 cat conftest.err >&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); } && {
29569 test -z "$ac_c_werror_flag" ||
29570 test ! -s conftest.err
29571 } && test -s conftest.$ac_objext; then
29572 ac_lo=0 ac_mid=0
29573 while :; do
29574 cat >conftest.$ac_ext <<_ACEOF
29575 /* confdefs.h. */
29576 _ACEOF
29577 cat confdefs.h >>conftest.$ac_ext
29578 cat >>conftest.$ac_ext <<_ACEOF
29579 /* end confdefs.h. */
29580
29581 #undef HAVE_BOOLEAN
29582 #include <stdio.h>
29583 #include <jpeglib.h>
29584
29585
29586 typedef boolean ac__type_sizeof_;
29587 int
29588 main ()
29589 {
29590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29591 test_array [0] = 0
29592
29593 ;
29594 return 0;
29595 }
29596 _ACEOF
29597 rm -f conftest.$ac_objext
29598 if { (ac_try="$ac_compile"
29599 case "(($ac_try" in
29600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29601 *) ac_try_echo=$ac_try;;
29602 esac
29603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29604 (eval "$ac_compile") 2>conftest.er1
29605 ac_status=$?
29606 grep -v '^ *+' conftest.er1 >conftest.err
29607 rm -f conftest.er1
29608 cat conftest.err >&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); } && {
29611 test -z "$ac_c_werror_flag" ||
29612 test ! -s conftest.err
29613 } && test -s conftest.$ac_objext; then
29614 ac_hi=$ac_mid; break
29615 else
29616 echo "$as_me: failed program was:" >&5
29617 sed 's/^/| /' conftest.$ac_ext >&5
29618
29619 ac_lo=`expr $ac_mid + 1`
29620 if test $ac_lo -le $ac_mid; then
29621 ac_lo= ac_hi=
29622 break
29623 fi
29624 ac_mid=`expr 2 '*' $ac_mid + 1`
29625 fi
29626
29627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29628 done
29629 else
29630 echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.$ac_ext >&5
29632
29633 cat >conftest.$ac_ext <<_ACEOF
29634 /* confdefs.h. */
29635 _ACEOF
29636 cat confdefs.h >>conftest.$ac_ext
29637 cat >>conftest.$ac_ext <<_ACEOF
29638 /* end confdefs.h. */
29639
29640 #undef HAVE_BOOLEAN
29641 #include <stdio.h>
29642 #include <jpeglib.h>
29643
29644
29645 typedef boolean ac__type_sizeof_;
29646 int
29647 main ()
29648 {
29649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29650 test_array [0] = 0
29651
29652 ;
29653 return 0;
29654 }
29655 _ACEOF
29656 rm -f conftest.$ac_objext
29657 if { (ac_try="$ac_compile"
29658 case "(($ac_try" in
29659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29660 *) ac_try_echo=$ac_try;;
29661 esac
29662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29663 (eval "$ac_compile") 2>conftest.er1
29664 ac_status=$?
29665 grep -v '^ *+' conftest.er1 >conftest.err
29666 rm -f conftest.er1
29667 cat conftest.err >&5
29668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669 (exit $ac_status); } && {
29670 test -z "$ac_c_werror_flag" ||
29671 test ! -s conftest.err
29672 } && test -s conftest.$ac_objext; then
29673 ac_hi=-1 ac_mid=-1
29674 while :; do
29675 cat >conftest.$ac_ext <<_ACEOF
29676 /* confdefs.h. */
29677 _ACEOF
29678 cat confdefs.h >>conftest.$ac_ext
29679 cat >>conftest.$ac_ext <<_ACEOF
29680 /* end confdefs.h. */
29681
29682 #undef HAVE_BOOLEAN
29683 #include <stdio.h>
29684 #include <jpeglib.h>
29685
29686
29687 typedef boolean ac__type_sizeof_;
29688 int
29689 main ()
29690 {
29691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29692 test_array [0] = 0
29693
29694 ;
29695 return 0;
29696 }
29697 _ACEOF
29698 rm -f conftest.$ac_objext
29699 if { (ac_try="$ac_compile"
29700 case "(($ac_try" in
29701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29702 *) ac_try_echo=$ac_try;;
29703 esac
29704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29705 (eval "$ac_compile") 2>conftest.er1
29706 ac_status=$?
29707 grep -v '^ *+' conftest.er1 >conftest.err
29708 rm -f conftest.er1
29709 cat conftest.err >&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); } && {
29712 test -z "$ac_c_werror_flag" ||
29713 test ! -s conftest.err
29714 } && test -s conftest.$ac_objext; then
29715 ac_lo=$ac_mid; break
29716 else
29717 echo "$as_me: failed program was:" >&5
29718 sed 's/^/| /' conftest.$ac_ext >&5
29719
29720 ac_hi=`expr '(' $ac_mid ')' - 1`
29721 if test $ac_mid -le $ac_hi; then
29722 ac_lo= ac_hi=
29723 break
29724 fi
29725 ac_mid=`expr 2 '*' $ac_mid`
29726 fi
29727
29728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29729 done
29730 else
29731 echo "$as_me: failed program was:" >&5
29732 sed 's/^/| /' conftest.$ac_ext >&5
29733
29734 ac_lo= ac_hi=
29735 fi
29736
29737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29738 fi
29739
29740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29741 # Binary search between lo and hi bounds.
29742 while test "x$ac_lo" != "x$ac_hi"; do
29743 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29744 cat >conftest.$ac_ext <<_ACEOF
29745 /* confdefs.h. */
29746 _ACEOF
29747 cat confdefs.h >>conftest.$ac_ext
29748 cat >>conftest.$ac_ext <<_ACEOF
29749 /* end confdefs.h. */
29750
29751 #undef HAVE_BOOLEAN
29752 #include <stdio.h>
29753 #include <jpeglib.h>
29754
29755
29756 typedef boolean ac__type_sizeof_;
29757 int
29758 main ()
29759 {
29760 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29761 test_array [0] = 0
29762
29763 ;
29764 return 0;
29765 }
29766 _ACEOF
29767 rm -f conftest.$ac_objext
29768 if { (ac_try="$ac_compile"
29769 case "(($ac_try" in
29770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29771 *) ac_try_echo=$ac_try;;
29772 esac
29773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29774 (eval "$ac_compile") 2>conftest.er1
29775 ac_status=$?
29776 grep -v '^ *+' conftest.er1 >conftest.err
29777 rm -f conftest.er1
29778 cat conftest.err >&5
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); } && {
29781 test -z "$ac_c_werror_flag" ||
29782 test ! -s conftest.err
29783 } && test -s conftest.$ac_objext; then
29784 ac_hi=$ac_mid
29785 else
29786 echo "$as_me: failed program was:" >&5
29787 sed 's/^/| /' conftest.$ac_ext >&5
29788
29789 ac_lo=`expr '(' $ac_mid ')' + 1`
29790 fi
29791
29792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29793 done
29794 case $ac_lo in
29795 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29796 '') if test "$ac_cv_type_boolean" = yes; then
29797 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29798 See \`config.log' for more details." >&5
29799 echo "$as_me: error: cannot compute sizeof (boolean)
29800 See \`config.log' for more details." >&2;}
29801 { (exit 77); exit 77; }; }
29802 else
29803 ac_cv_sizeof_boolean=0
29804 fi ;;
29805 esac
29806 else
29807 cat >conftest.$ac_ext <<_ACEOF
29808 /* confdefs.h. */
29809 _ACEOF
29810 cat confdefs.h >>conftest.$ac_ext
29811 cat >>conftest.$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29813
29814 #undef HAVE_BOOLEAN
29815 #include <stdio.h>
29816 #include <jpeglib.h>
29817
29818
29819 typedef boolean ac__type_sizeof_;
29820 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29821 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29822 #include <stdio.h>
29823 #include <stdlib.h>
29824 int
29825 main ()
29826 {
29827
29828 FILE *f = fopen ("conftest.val", "w");
29829 if (! f)
29830 return 1;
29831 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29832 {
29833 long int i = longval ();
29834 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29835 return 1;
29836 fprintf (f, "%ld\n", i);
29837 }
29838 else
29839 {
29840 unsigned long int i = ulongval ();
29841 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29842 return 1;
29843 fprintf (f, "%lu\n", i);
29844 }
29845 return ferror (f) || fclose (f) != 0;
29846
29847 ;
29848 return 0;
29849 }
29850 _ACEOF
29851 rm -f conftest$ac_exeext
29852 if { (ac_try="$ac_link"
29853 case "(($ac_try" in
29854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29855 *) ac_try_echo=$ac_try;;
29856 esac
29857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29858 (eval "$ac_link") 2>&5
29859 ac_status=$?
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29862 { (case "(($ac_try" in
29863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29864 *) ac_try_echo=$ac_try;;
29865 esac
29866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29867 (eval "$ac_try") 2>&5
29868 ac_status=$?
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); }; }; then
29871 ac_cv_sizeof_boolean=`cat conftest.val`
29872 else
29873 echo "$as_me: program exited with status $ac_status" >&5
29874 echo "$as_me: failed program was:" >&5
29875 sed 's/^/| /' conftest.$ac_ext >&5
29876
29877 ( exit $ac_status )
29878 if test "$ac_cv_type_boolean" = yes; then
29879 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29880 See \`config.log' for more details." >&5
29881 echo "$as_me: error: cannot compute sizeof (boolean)
29882 See \`config.log' for more details." >&2;}
29883 { (exit 77); exit 77; }; }
29884 else
29885 ac_cv_sizeof_boolean=0
29886 fi
29887 fi
29888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29889 fi
29890 rm -f conftest.val
29891 fi
29892 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29893 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29894
29895
29896
29897 cat >>confdefs.h <<_ACEOF
29898 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29899 _ACEOF
29900
29901
29902 cat >>confdefs.h <<_ACEOF
29903 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29904 _ACEOF
29905
29906
29907 fi
29908
29909 fi
29910 fi
29911 fi
29912 fi
29913 fi
29914
29915
29916 TIFF_LINK=
29917 TIFF_PREREQ_LINKS=-lm
29918 if test "$wxUSE_LIBTIFF" != "no" ; then
29919 cat >>confdefs.h <<\_ACEOF
29920 #define wxUSE_LIBTIFF 1
29921 _ACEOF
29922
29923
29924 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29925 if test "$wxUSE_LIBJPEG" = "sys"; then
29926 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29927 fi
29928 if test "$wxUSE_ZLIB" = "sys"; then
29929 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29930 fi
29931 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29932 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29933 if test "${ac_cv_header_tiffio_h+set}" = set; then
29934 echo $ECHO_N "(cached) $ECHO_C" >&6
29935 else
29936 cat >conftest.$ac_ext <<_ACEOF
29937 /* confdefs.h. */
29938 _ACEOF
29939 cat confdefs.h >>conftest.$ac_ext
29940 cat >>conftest.$ac_ext <<_ACEOF
29941 /* end confdefs.h. */
29942
29943
29944
29945 #include <tiffio.h>
29946 _ACEOF
29947 rm -f conftest.$ac_objext
29948 if { (ac_try="$ac_compile"
29949 case "(($ac_try" in
29950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29951 *) ac_try_echo=$ac_try;;
29952 esac
29953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29954 (eval "$ac_compile") 2>conftest.er1
29955 ac_status=$?
29956 grep -v '^ *+' conftest.er1 >conftest.err
29957 rm -f conftest.er1
29958 cat conftest.err >&5
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); } && {
29961 test -z "$ac_c_werror_flag" ||
29962 test ! -s conftest.err
29963 } && test -s conftest.$ac_objext; then
29964 ac_cv_header_tiffio_h=yes
29965 else
29966 echo "$as_me: failed program was:" >&5
29967 sed 's/^/| /' conftest.$ac_ext >&5
29968
29969 ac_cv_header_tiffio_h=no
29970 fi
29971
29972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29973 fi
29974 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29975 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29976 if test $ac_cv_header_tiffio_h = yes; then
29977
29978 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29979 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29980 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29981 echo $ECHO_N "(cached) $ECHO_C" >&6
29982 else
29983 ac_check_lib_save_LIBS=$LIBS
29984 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29985 cat >conftest.$ac_ext <<_ACEOF
29986 /* confdefs.h. */
29987 _ACEOF
29988 cat confdefs.h >>conftest.$ac_ext
29989 cat >>conftest.$ac_ext <<_ACEOF
29990 /* end confdefs.h. */
29991
29992 /* Override any GCC internal prototype to avoid an error.
29993 Use char because int might match the return type of a GCC
29994 builtin and then its argument prototype would still apply. */
29995 #ifdef __cplusplus
29996 extern "C"
29997 #endif
29998 char TIFFError ();
29999 int
30000 main ()
30001 {
30002 return TIFFError ();
30003 ;
30004 return 0;
30005 }
30006 _ACEOF
30007 rm -f conftest.$ac_objext conftest$ac_exeext
30008 if { (ac_try="$ac_link"
30009 case "(($ac_try" in
30010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30011 *) ac_try_echo=$ac_try;;
30012 esac
30013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30014 (eval "$ac_link") 2>conftest.er1
30015 ac_status=$?
30016 grep -v '^ *+' conftest.er1 >conftest.err
30017 rm -f conftest.er1
30018 cat conftest.err >&5
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); } && {
30021 test -z "$ac_c_werror_flag" ||
30022 test ! -s conftest.err
30023 } && test -s conftest$ac_exeext &&
30024 $as_test_x conftest$ac_exeext; then
30025 ac_cv_lib_tiff_TIFFError=yes
30026 else
30027 echo "$as_me: failed program was:" >&5
30028 sed 's/^/| /' conftest.$ac_ext >&5
30029
30030 ac_cv_lib_tiff_TIFFError=no
30031 fi
30032
30033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30034 conftest$ac_exeext conftest.$ac_ext
30035 LIBS=$ac_check_lib_save_LIBS
30036 fi
30037 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
30038 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30039 if test $ac_cv_lib_tiff_TIFFError = yes; then
30040 TIFF_LINK=" -ltiff"
30041 fi
30042
30043
30044 fi
30045
30046
30047
30048 if test "x$TIFF_LINK" = "x" ; then
30049 if test "$wxUSE_LIBTIFF" = "sys" ; then
30050 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
30051 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
30052 { (exit 1); exit 1; }; }
30053 else
30054 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
30055 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30056 wxUSE_LIBTIFF=builtin
30057 fi
30058 else
30059 wxUSE_LIBTIFF=sys
30060 fi
30061 if test "$wxUSE_LIBTIFF" = "builtin" ; then
30062 subdirs="$subdirs src/tiff"
30063
30064 fi
30065 fi
30066 fi
30067
30068
30069 if test "$wxUSE_WCHAR_T" != "yes"; then
30070 if test "$wxUSE_EXPAT" != "no"; then
30071 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30072 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30073 wxUSE_EXPAT=no
30074 fi
30075 if test "$wxUSE_XML" != "no"; then
30076 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30077 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30078 wxUSE_XML=no
30079 fi
30080 fi
30081
30082 if test "$wxUSE_EXPAT" != "no"; then
30083 wxUSE_XML=yes
30084 cat >>confdefs.h <<\_ACEOF
30085 #define wxUSE_EXPAT 1
30086 _ACEOF
30087
30088 cat >>confdefs.h <<\_ACEOF
30089 #define wxUSE_XML 1
30090 _ACEOF
30091
30092
30093 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30094 { echo "$as_me:$LINENO: checking for expat.h" >&5
30095 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30096 if test "${ac_cv_header_expat_h+set}" = set; then
30097 echo $ECHO_N "(cached) $ECHO_C" >&6
30098 else
30099 cat >conftest.$ac_ext <<_ACEOF
30100 /* confdefs.h. */
30101 _ACEOF
30102 cat confdefs.h >>conftest.$ac_ext
30103 cat >>conftest.$ac_ext <<_ACEOF
30104 /* end confdefs.h. */
30105
30106
30107 #include <expat.h>
30108 _ACEOF
30109 rm -f conftest.$ac_objext
30110 if { (ac_try="$ac_compile"
30111 case "(($ac_try" in
30112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30113 *) ac_try_echo=$ac_try;;
30114 esac
30115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30116 (eval "$ac_compile") 2>conftest.er1
30117 ac_status=$?
30118 grep -v '^ *+' conftest.er1 >conftest.err
30119 rm -f conftest.er1
30120 cat conftest.err >&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } && {
30123 test -z "$ac_c_werror_flag" ||
30124 test ! -s conftest.err
30125 } && test -s conftest.$ac_objext; then
30126 ac_cv_header_expat_h=yes
30127 else
30128 echo "$as_me: failed program was:" >&5
30129 sed 's/^/| /' conftest.$ac_ext >&5
30130
30131 ac_cv_header_expat_h=no
30132 fi
30133
30134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30135 fi
30136 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30137 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30138 if test $ac_cv_header_expat_h = yes; then
30139 found_expat_h=1
30140 fi
30141
30142
30143 if test "x$found_expat_h" = "x1"; then
30144 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30145 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30146 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30147 echo $ECHO_N "(cached) $ECHO_C" >&6
30148 else
30149
30150 ac_ext=cpp
30151 ac_cpp='$CXXCPP $CPPFLAGS'
30152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30155
30156 cat >conftest.$ac_ext <<_ACEOF
30157 /* confdefs.h. */
30158 _ACEOF
30159 cat confdefs.h >>conftest.$ac_ext
30160 cat >>conftest.$ac_ext <<_ACEOF
30161 /* end confdefs.h. */
30162 #include <expat.h>
30163 int
30164 main ()
30165 {
30166
30167 ;
30168 return 0;
30169 }
30170 _ACEOF
30171 rm -f conftest.$ac_objext
30172 if { (ac_try="$ac_compile"
30173 case "(($ac_try" in
30174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30175 *) ac_try_echo=$ac_try;;
30176 esac
30177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30178 (eval "$ac_compile") 2>conftest.er1
30179 ac_status=$?
30180 grep -v '^ *+' conftest.er1 >conftest.err
30181 rm -f conftest.er1
30182 cat conftest.err >&5
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); } && {
30185 test -z "$ac_cxx_werror_flag" ||
30186 test ! -s conftest.err
30187 } && test -s conftest.$ac_objext; then
30188 wx_cv_expat_is_not_broken=yes
30189 else
30190 echo "$as_me: failed program was:" >&5
30191 sed 's/^/| /' conftest.$ac_ext >&5
30192
30193 wx_cv_expat_is_not_broken=no
30194
30195 fi
30196
30197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30198 ac_ext=c
30199 ac_cpp='$CPP $CPPFLAGS'
30200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30203
30204
30205
30206 fi
30207 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30208 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30209 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30210 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30211 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30212 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30213 echo $ECHO_N "(cached) $ECHO_C" >&6
30214 else
30215 ac_check_lib_save_LIBS=$LIBS
30216 LIBS="-lexpat $LIBS"
30217 cat >conftest.$ac_ext <<_ACEOF
30218 /* confdefs.h. */
30219 _ACEOF
30220 cat confdefs.h >>conftest.$ac_ext
30221 cat >>conftest.$ac_ext <<_ACEOF
30222 /* end confdefs.h. */
30223
30224 /* Override any GCC internal prototype to avoid an error.
30225 Use char because int might match the return type of a GCC
30226 builtin and then its argument prototype would still apply. */
30227 #ifdef __cplusplus
30228 extern "C"
30229 #endif
30230 char XML_ParserCreate ();
30231 int
30232 main ()
30233 {
30234 return XML_ParserCreate ();
30235 ;
30236 return 0;
30237 }
30238 _ACEOF
30239 rm -f conftest.$ac_objext conftest$ac_exeext
30240 if { (ac_try="$ac_link"
30241 case "(($ac_try" in
30242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30243 *) ac_try_echo=$ac_try;;
30244 esac
30245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30246 (eval "$ac_link") 2>conftest.er1
30247 ac_status=$?
30248 grep -v '^ *+' conftest.er1 >conftest.err
30249 rm -f conftest.er1
30250 cat conftest.err >&5
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); } && {
30253 test -z "$ac_c_werror_flag" ||
30254 test ! -s conftest.err
30255 } && test -s conftest$ac_exeext &&
30256 $as_test_x conftest$ac_exeext; then
30257 ac_cv_lib_expat_XML_ParserCreate=yes
30258 else
30259 echo "$as_me: failed program was:" >&5
30260 sed 's/^/| /' conftest.$ac_ext >&5
30261
30262 ac_cv_lib_expat_XML_ParserCreate=no
30263 fi
30264
30265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30266 conftest$ac_exeext conftest.$ac_ext
30267 LIBS=$ac_check_lib_save_LIBS
30268 fi
30269 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30270 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30271 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30272 EXPAT_LINK=" -lexpat"
30273 fi
30274
30275 fi
30276 fi
30277 if test "x$EXPAT_LINK" = "x" ; then
30278 if test "$wxUSE_EXPAT" = "sys" ; then
30279 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30280 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30281 { (exit 1); exit 1; }; }
30282 else
30283 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30284 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30285 wxUSE_EXPAT=builtin
30286 fi
30287 else
30288 wxUSE_EXPAT=sys
30289 fi
30290 fi
30291 if test "$wxUSE_EXPAT" = "builtin" ; then
30292 subdirs="$subdirs src/expat"
30293
30294 fi
30295 fi
30296
30297
30298
30299 if test "$wxUSE_LIBMSPACK" != "no"; then
30300 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30301 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30302 if test "${ac_cv_header_mspack_h+set}" = set; then
30303 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 else
30305 cat >conftest.$ac_ext <<_ACEOF
30306 /* confdefs.h. */
30307 _ACEOF
30308 cat confdefs.h >>conftest.$ac_ext
30309 cat >>conftest.$ac_ext <<_ACEOF
30310 /* end confdefs.h. */
30311
30312
30313 #include <mspack.h>
30314 _ACEOF
30315 rm -f conftest.$ac_objext
30316 if { (ac_try="$ac_compile"
30317 case "(($ac_try" in
30318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30319 *) ac_try_echo=$ac_try;;
30320 esac
30321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30322 (eval "$ac_compile") 2>conftest.er1
30323 ac_status=$?
30324 grep -v '^ *+' conftest.er1 >conftest.err
30325 rm -f conftest.er1
30326 cat conftest.err >&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } && {
30329 test -z "$ac_c_werror_flag" ||
30330 test ! -s conftest.err
30331 } && test -s conftest.$ac_objext; then
30332 ac_cv_header_mspack_h=yes
30333 else
30334 echo "$as_me: failed program was:" >&5
30335 sed 's/^/| /' conftest.$ac_ext >&5
30336
30337 ac_cv_header_mspack_h=no
30338 fi
30339
30340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30341 fi
30342 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30343 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30344 if test $ac_cv_header_mspack_h = yes; then
30345 found_mspack_h=1
30346 fi
30347
30348
30349 if test "x$found_mspack_h" = "x1"; then
30350 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30351 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30352 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30353 echo $ECHO_N "(cached) $ECHO_C" >&6
30354 else
30355 ac_check_lib_save_LIBS=$LIBS
30356 LIBS="-lmspack $LIBS"
30357 cat >conftest.$ac_ext <<_ACEOF
30358 /* confdefs.h. */
30359 _ACEOF
30360 cat confdefs.h >>conftest.$ac_ext
30361 cat >>conftest.$ac_ext <<_ACEOF
30362 /* end confdefs.h. */
30363
30364 /* Override any GCC internal prototype to avoid an error.
30365 Use char because int might match the return type of a GCC
30366 builtin and then its argument prototype would still apply. */
30367 #ifdef __cplusplus
30368 extern "C"
30369 #endif
30370 char mspack_create_chm_decompressor ();
30371 int
30372 main ()
30373 {
30374 return mspack_create_chm_decompressor ();
30375 ;
30376 return 0;
30377 }
30378 _ACEOF
30379 rm -f conftest.$ac_objext conftest$ac_exeext
30380 if { (ac_try="$ac_link"
30381 case "(($ac_try" in
30382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30383 *) ac_try_echo=$ac_try;;
30384 esac
30385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30386 (eval "$ac_link") 2>conftest.er1
30387 ac_status=$?
30388 grep -v '^ *+' conftest.er1 >conftest.err
30389 rm -f conftest.er1
30390 cat conftest.err >&5
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); } && {
30393 test -z "$ac_c_werror_flag" ||
30394 test ! -s conftest.err
30395 } && test -s conftest$ac_exeext &&
30396 $as_test_x conftest$ac_exeext; then
30397 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30398 else
30399 echo "$as_me: failed program was:" >&5
30400 sed 's/^/| /' conftest.$ac_ext >&5
30401
30402 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30403 fi
30404
30405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30406 conftest$ac_exeext conftest.$ac_ext
30407 LIBS=$ac_check_lib_save_LIBS
30408 fi
30409 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30410 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30411 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30412 MSPACK_LINK=" -lmspack"
30413 fi
30414
30415 fi
30416 if test "x$MSPACK_LINK" = "x" ; then
30417 wxUSE_LIBMSPACK=no
30418 fi
30419 fi
30420
30421 if test "$wxUSE_LIBMSPACK" != "no"; then
30422 cat >>confdefs.h <<\_ACEOF
30423 #define wxUSE_LIBMSPACK 1
30424 _ACEOF
30425
30426 fi
30427
30428
30429
30430 AFMINSTALL=
30431 WIN32INSTALL=
30432
30433 TOOLKIT=
30434 TOOLKIT_INCLUDE=
30435 WIDGET_SET=
30436
30437 if test "$USE_WIN32" = 1 ; then
30438
30439 for ac_header in w32api.h
30440 do
30441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30442 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30445 echo $ECHO_N "(cached) $ECHO_C" >&6
30446 else
30447 cat >conftest.$ac_ext <<_ACEOF
30448 /* confdefs.h. */
30449 _ACEOF
30450 cat confdefs.h >>conftest.$ac_ext
30451 cat >>conftest.$ac_ext <<_ACEOF
30452 /* end confdefs.h. */
30453
30454
30455 #include <$ac_header>
30456 _ACEOF
30457 rm -f conftest.$ac_objext
30458 if { (ac_try="$ac_compile"
30459 case "(($ac_try" in
30460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30461 *) ac_try_echo=$ac_try;;
30462 esac
30463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30464 (eval "$ac_compile") 2>conftest.er1
30465 ac_status=$?
30466 grep -v '^ *+' conftest.er1 >conftest.err
30467 rm -f conftest.er1
30468 cat conftest.err >&5
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); } && {
30471 test -z "$ac_c_werror_flag" ||
30472 test ! -s conftest.err
30473 } && test -s conftest.$ac_objext; then
30474 eval "$as_ac_Header=yes"
30475 else
30476 echo "$as_me: failed program was:" >&5
30477 sed 's/^/| /' conftest.$ac_ext >&5
30478
30479 eval "$as_ac_Header=no"
30480 fi
30481
30482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30483 fi
30484 ac_res=`eval echo '${'$as_ac_Header'}'`
30485 { echo "$as_me:$LINENO: result: $ac_res" >&5
30486 echo "${ECHO_T}$ac_res" >&6; }
30487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30488 cat >>confdefs.h <<_ACEOF
30489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30490 _ACEOF
30491
30492 fi
30493
30494 done
30495
30496 { echo "$as_me:$LINENO: checking for windows.h" >&5
30497 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30498 if test "${ac_cv_header_windows_h+set}" = set; then
30499 echo $ECHO_N "(cached) $ECHO_C" >&6
30500 else
30501 cat >conftest.$ac_ext <<_ACEOF
30502 /* confdefs.h. */
30503 _ACEOF
30504 cat confdefs.h >>conftest.$ac_ext
30505 cat >>conftest.$ac_ext <<_ACEOF
30506 /* end confdefs.h. */
30507
30508
30509 #include <windows.h>
30510 _ACEOF
30511 rm -f conftest.$ac_objext
30512 if { (ac_try="$ac_compile"
30513 case "(($ac_try" in
30514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30515 *) ac_try_echo=$ac_try;;
30516 esac
30517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30518 (eval "$ac_compile") 2>conftest.er1
30519 ac_status=$?
30520 grep -v '^ *+' conftest.er1 >conftest.err
30521 rm -f conftest.er1
30522 cat conftest.err >&5
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); } && {
30525 test -z "$ac_c_werror_flag" ||
30526 test ! -s conftest.err
30527 } && test -s conftest.$ac_objext; then
30528 ac_cv_header_windows_h=yes
30529 else
30530 echo "$as_me: failed program was:" >&5
30531 sed 's/^/| /' conftest.$ac_ext >&5
30532
30533 ac_cv_header_windows_h=no
30534 fi
30535
30536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30537 fi
30538 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30539 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30540 if test $ac_cv_header_windows_h = yes; then
30541 :
30542 else
30543
30544 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30545 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30546 { (exit 1); exit 1; }; }
30547
30548 fi
30549
30550
30551
30552 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30553
30554 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30555 LIBS="$LIBS -loleacc"
30556 fi
30557
30558 case "${host}" in
30559 *-*-cygwin* )
30560 LIBS="$LIBS -lkernel32 -luser32"
30561 esac
30562
30563 if test "$wxUSE_ODBC" = "sys" ; then
30564 wxUSE_ODBC = "yes"
30565 fi
30566 if test "$wxUSE_ODBC" = "yes" ; then
30567 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30568 cat >>confdefs.h <<\_ACEOF
30569 #define wxUSE_ODBC 1
30570 _ACEOF
30571
30572 fi
30573
30574 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30575 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30576
30577 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30578
30579 WIN32INSTALL=win32install
30580
30581 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30582 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30583 if test "${ac_cv_header_pbt_h+set}" = set; then
30584 echo $ECHO_N "(cached) $ECHO_C" >&6
30585 else
30586 cat >conftest.$ac_ext <<_ACEOF
30587 /* confdefs.h. */
30588 _ACEOF
30589 cat confdefs.h >>conftest.$ac_ext
30590 cat >>conftest.$ac_ext <<_ACEOF
30591 /* end confdefs.h. */
30592
30593
30594 #include <pbt.h>
30595 _ACEOF
30596 rm -f conftest.$ac_objext
30597 if { (ac_try="$ac_compile"
30598 case "(($ac_try" in
30599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30600 *) ac_try_echo=$ac_try;;
30601 esac
30602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30603 (eval "$ac_compile") 2>conftest.er1
30604 ac_status=$?
30605 grep -v '^ *+' conftest.er1 >conftest.err
30606 rm -f conftest.er1
30607 cat conftest.err >&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); } && {
30610 test -z "$ac_c_werror_flag" ||
30611 test ! -s conftest.err
30612 } && test -s conftest.$ac_objext; then
30613 ac_cv_header_pbt_h=yes
30614 else
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.$ac_ext >&5
30617
30618 ac_cv_header_pbt_h=no
30619 fi
30620
30621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30622 fi
30623 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30624 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30625 if test $ac_cv_header_pbt_h = yes; then
30626 :
30627 else
30628 cat >>confdefs.h <<\_ACEOF
30629 #define NEED_PBT_H 1
30630 _ACEOF
30631
30632 fi
30633
30634
30635 fi
30636
30637 if test "$wxUSE_GUI" = "yes"; then
30638 USE_GUI=1
30639
30640 GUI_TK_LIBRARY=
30641
30642 WXGTK12=
30643 WXGTK127=
30644 WXGTK20=
30645 WXGPE=
30646
30647 if test "$wxUSE_COCOA" = 1 ; then
30648 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30649 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30650 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30651 wxUSE_PRINTING_ARCHITECTURE=no
30652 fi
30653 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30654 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30655 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30656 wxUSE_DRAG_AND_DROP=no
30657 fi
30658 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30659 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30660 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30661 wxUSE_DRAGIMAGE=no
30662 fi
30663 fi
30664
30665 if test "$wxUSE_MSW" = 1 ; then
30666 TOOLKIT=MSW
30667 GUIDIST=MSW_DIST
30668
30669 case "${host}" in
30670 *-*-mingw32* )
30671 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30672 esac
30673 fi
30674
30675 if test "$wxUSE_GTK" = 1; then
30676 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30677 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30678
30679 gtk_version_cached=1
30680 if test "${wx_cv_lib_gtk+set}" = set; then
30681 echo $ECHO_N "(cached) $ECHO_C" >&6
30682 else
30683
30684 gtk_version_cached=0
30685 { echo "$as_me:$LINENO: result: " >&5
30686 echo "${ECHO_T}" >&6; }
30687
30688 GTK_MODULES=
30689 if test "$wxUSE_THREADS" = "yes"; then
30690 GTK_MODULES=gthread
30691 fi
30692
30693 wx_cv_lib_gtk=
30694 if test "x$wxGTK_VERSION" != "x1"
30695 then
30696 case "${host}" in
30697 *-*-solaris2* )
30698 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30699 enable_gtktest=no
30700 fi
30701 esac
30702
30703 # Check whether --enable-gtktest was given.
30704 if test "${enable_gtktest+set}" = set; then
30705 enableval=$enable_gtktest;
30706 else
30707 enable_gtktest=yes
30708 fi
30709
30710
30711 pkg_config_args=gtk+-2.0
30712 for module in . $GTK_MODULES
30713 do
30714 case "$module" in
30715 gthread)
30716 pkg_config_args="$pkg_config_args gthread-2.0"
30717 ;;
30718 esac
30719 done
30720
30721 no_gtk=""
30722
30723 # Extract the first word of "pkg-config", so it can be a program name with args.
30724 set dummy pkg-config; ac_word=$2
30725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30727 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30728 echo $ECHO_N "(cached) $ECHO_C" >&6
30729 else
30730 case $PKG_CONFIG in
30731 [\\/]* | ?:[\\/]*)
30732 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30733 ;;
30734 *)
30735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30736 for as_dir in $PATH
30737 do
30738 IFS=$as_save_IFS
30739 test -z "$as_dir" && as_dir=.
30740 for ac_exec_ext in '' $ac_executable_extensions; do
30741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30742 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30744 break 2
30745 fi
30746 done
30747 done
30748 IFS=$as_save_IFS
30749
30750 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30751 ;;
30752 esac
30753 fi
30754 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30755 if test -n "$PKG_CONFIG"; then
30756 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30757 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30758 else
30759 { echo "$as_me:$LINENO: result: no" >&5
30760 echo "${ECHO_T}no" >&6; }
30761 fi
30762
30763
30764
30765 if test x$PKG_CONFIG != xno ; then
30766 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30767 :
30768 else
30769 echo "*** pkg-config too old; version 0.7 or better required."
30770 no_gtk=yes
30771 PKG_CONFIG=no
30772 fi
30773 else
30774 no_gtk=yes
30775 fi
30776
30777 min_gtk_version=2.0.0
30778 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30779 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30780
30781 if test x$PKG_CONFIG != xno ; then
30782 ## don't try to run the test against uninstalled libtool libs
30783 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30784 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30785 enable_gtktest=no
30786 fi
30787
30788 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30789 :
30790 else
30791 no_gtk=yes
30792 fi
30793 fi
30794
30795 if test x"$no_gtk" = x ; then
30796 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30797 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30798 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30800 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30802 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30803 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30804 if test "x$enable_gtktest" = "xyes" ; then
30805 ac_save_CFLAGS="$CFLAGS"
30806 ac_save_LIBS="$LIBS"
30807 CFLAGS="$CFLAGS $GTK_CFLAGS"
30808 LIBS="$GTK_LIBS $LIBS"
30809 rm -f conf.gtktest
30810 if test "$cross_compiling" = yes; then
30811 echo $ac_n "cross compiling; assumed OK... $ac_c"
30812 else
30813 cat >conftest.$ac_ext <<_ACEOF
30814 /* confdefs.h. */
30815 _ACEOF
30816 cat confdefs.h >>conftest.$ac_ext
30817 cat >>conftest.$ac_ext <<_ACEOF
30818 /* end confdefs.h. */
30819
30820 #include <gtk/gtk.h>
30821 #include <stdio.h>
30822 #include <stdlib.h>
30823
30824 int
30825 main ()
30826 {
30827 int major, minor, micro;
30828 char *tmp_version;
30829
30830 system ("touch conf.gtktest");
30831
30832 /* HP/UX 9 (%@#!) writes to sscanf strings */
30833 tmp_version = g_strdup("$min_gtk_version");
30834 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30835 printf("%s, bad version string\n", "$min_gtk_version");
30836 exit(1);
30837 }
30838
30839 if ((gtk_major_version != $gtk_config_major_version) ||
30840 (gtk_minor_version != $gtk_config_minor_version) ||
30841 (gtk_micro_version != $gtk_config_micro_version))
30842 {
30843 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30844 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30845 gtk_major_version, gtk_minor_version, gtk_micro_version);
30846 printf ("*** was found! If pkg-config was correct, then it is best\n");
30847 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30848 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30849 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30850 printf("*** required on your system.\n");
30851 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30852 printf("*** to point to the correct configuration files\n");
30853 }
30854 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30855 (gtk_minor_version != GTK_MINOR_VERSION) ||
30856 (gtk_micro_version != GTK_MICRO_VERSION))
30857 {
30858 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30859 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30860 printf("*** library (version %d.%d.%d)\n",
30861 gtk_major_version, gtk_minor_version, gtk_micro_version);
30862 }
30863 else
30864 {
30865 if ((gtk_major_version > major) ||
30866 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30867 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30868 {
30869 return 0;
30870 }
30871 else
30872 {
30873 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30874 gtk_major_version, gtk_minor_version, gtk_micro_version);
30875 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30876 major, minor, micro);
30877 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30878 printf("***\n");
30879 printf("*** If you have already installed a sufficiently new version, this error\n");
30880 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30881 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30882 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30883 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30884 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30885 printf("*** so that the correct libraries are found at run-time))\n");
30886 }
30887 }
30888 return 1;
30889 }
30890
30891 _ACEOF
30892 rm -f conftest$ac_exeext
30893 if { (ac_try="$ac_link"
30894 case "(($ac_try" in
30895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30896 *) ac_try_echo=$ac_try;;
30897 esac
30898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30899 (eval "$ac_link") 2>&5
30900 ac_status=$?
30901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30903 { (case "(($ac_try" in
30904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30905 *) ac_try_echo=$ac_try;;
30906 esac
30907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30908 (eval "$ac_try") 2>&5
30909 ac_status=$?
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; }; then
30912 :
30913 else
30914 echo "$as_me: program exited with status $ac_status" >&5
30915 echo "$as_me: failed program was:" >&5
30916 sed 's/^/| /' conftest.$ac_ext >&5
30917
30918 ( exit $ac_status )
30919 no_gtk=yes
30920 fi
30921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30922 fi
30923
30924
30925 CFLAGS="$ac_save_CFLAGS"
30926 LIBS="$ac_save_LIBS"
30927 fi
30928 fi
30929 if test "x$no_gtk" = x ; then
30930 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30931 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30932 wx_cv_lib_gtk=2.0
30933 else
30934 { echo "$as_me:$LINENO: result: no" >&5
30935 echo "${ECHO_T}no" >&6; }
30936 if test "$PKG_CONFIG" = "no" ; then
30937 echo "*** A new enough version of pkg-config was not found."
30938 echo "*** See http://pkgconfig.sourceforge.net"
30939 else
30940 if test -f conf.gtktest ; then
30941 :
30942 else
30943 echo "*** Could not run GTK+ test program, checking why..."
30944 ac_save_CFLAGS="$CFLAGS"
30945 ac_save_LIBS="$LIBS"
30946 CFLAGS="$CFLAGS $GTK_CFLAGS"
30947 LIBS="$LIBS $GTK_LIBS"
30948 cat >conftest.$ac_ext <<_ACEOF
30949 /* confdefs.h. */
30950 _ACEOF
30951 cat confdefs.h >>conftest.$ac_ext
30952 cat >>conftest.$ac_ext <<_ACEOF
30953 /* end confdefs.h. */
30954
30955 #include <gtk/gtk.h>
30956 #include <stdio.h>
30957
30958 int
30959 main ()
30960 {
30961 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30962 ;
30963 return 0;
30964 }
30965 _ACEOF
30966 rm -f conftest.$ac_objext conftest$ac_exeext
30967 if { (ac_try="$ac_link"
30968 case "(($ac_try" in
30969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30970 *) ac_try_echo=$ac_try;;
30971 esac
30972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30973 (eval "$ac_link") 2>conftest.er1
30974 ac_status=$?
30975 grep -v '^ *+' conftest.er1 >conftest.err
30976 rm -f conftest.er1
30977 cat conftest.err >&5
30978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979 (exit $ac_status); } && {
30980 test -z "$ac_c_werror_flag" ||
30981 test ! -s conftest.err
30982 } && test -s conftest$ac_exeext &&
30983 $as_test_x conftest$ac_exeext; then
30984 echo "*** The test program compiled, but did not run. This usually means"
30985 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30986 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30987 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30988 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30989 echo "*** is required on your system"
30990 echo "***"
30991 echo "*** If you have an old version installed, it is best to remove it, although"
30992 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30993 else
30994 echo "$as_me: failed program was:" >&5
30995 sed 's/^/| /' conftest.$ac_ext >&5
30996
30997 echo "*** The test program failed to compile or link. See the file config.log for the"
30998 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30999 fi
31000
31001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31002 conftest$ac_exeext conftest.$ac_ext
31003 CFLAGS="$ac_save_CFLAGS"
31004 LIBS="$ac_save_LIBS"
31005 fi
31006 fi
31007 GTK_CFLAGS=""
31008 GTK_LIBS=""
31009 :
31010 fi
31011
31012
31013 rm -f conf.gtktest
31014
31015
31016 case "${host}" in
31017 *-*-solaris2* )
31018 if test "$wxUSE_SHARED" != "yes"; then
31019 GTK_LIBS="$GTK_LIBS -lX11"
31020 fi
31021 esac
31022 fi
31023
31024 if test -z "$wx_cv_lib_gtk"; then
31025 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
31026
31027 # Check whether --with-gtk-prefix was given.
31028 if test "${with_gtk_prefix+set}" = set; then
31029 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31030 else
31031 gtk_config_prefix=""
31032 fi
31033
31034
31035 # Check whether --with-gtk-exec-prefix was given.
31036 if test "${with_gtk_exec_prefix+set}" = set; then
31037 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31038 else
31039 gtk_config_exec_prefix=""
31040 fi
31041
31042 # Check whether --enable-gtktest was given.
31043 if test "${enable_gtktest+set}" = set; then
31044 enableval=$enable_gtktest;
31045 else
31046 enable_gtktest=yes
31047 fi
31048
31049
31050 for module in . $GTK_MODULES
31051 do
31052 case "$module" in
31053 gthread)
31054 gtk_config_args="$gtk_config_args gthread"
31055 ;;
31056 esac
31057 done
31058
31059 if test x$gtk_config_exec_prefix != x ; then
31060 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31061 if test x${GTK_CONFIG+set} != xset ; then
31062 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31063 fi
31064 fi
31065 if test x$gtk_config_prefix != x ; then
31066 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31067 if test x${GTK_CONFIG+set} != xset ; then
31068 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31069 fi
31070 fi
31071
31072 # Extract the first word of "gtk-config", so it can be a program name with args.
31073 set dummy gtk-config; ac_word=$2
31074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31076 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31077 echo $ECHO_N "(cached) $ECHO_C" >&6
31078 else
31079 case $GTK_CONFIG in
31080 [\\/]* | ?:[\\/]*)
31081 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31082 ;;
31083 *)
31084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31085 for as_dir in $PATH
31086 do
31087 IFS=$as_save_IFS
31088 test -z "$as_dir" && as_dir=.
31089 for ac_exec_ext in '' $ac_executable_extensions; do
31090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31091 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31093 break 2
31094 fi
31095 done
31096 done
31097 IFS=$as_save_IFS
31098
31099 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31100 ;;
31101 esac
31102 fi
31103 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31104 if test -n "$GTK_CONFIG"; then
31105 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31106 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31107 else
31108 { echo "$as_me:$LINENO: result: no" >&5
31109 echo "${ECHO_T}no" >&6; }
31110 fi
31111
31112
31113 min_gtk_version=1.2.7
31114 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31115 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31116 no_gtk=""
31117 if test "$GTK_CONFIG" = "no" ; then
31118 no_gtk=yes
31119 else
31120 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31121 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31122 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31123 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31124 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31125 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31126 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31128 if test "x$enable_gtktest" = "xyes" ; then
31129 ac_save_CFLAGS="$CFLAGS"
31130 ac_save_LIBS="$LIBS"
31131 CFLAGS="$CFLAGS $GTK_CFLAGS"
31132 LIBS="$GTK_LIBS $LIBS"
31133 rm -f conf.gtktest
31134 if test "$cross_compiling" = yes; then
31135 echo $ac_n "cross compiling; assumed OK... $ac_c"
31136 else
31137 cat >conftest.$ac_ext <<_ACEOF
31138 /* confdefs.h. */
31139 _ACEOF
31140 cat confdefs.h >>conftest.$ac_ext
31141 cat >>conftest.$ac_ext <<_ACEOF
31142 /* end confdefs.h. */
31143
31144 #include <gtk/gtk.h>
31145 #include <stdio.h>
31146 #include <stdlib.h>
31147
31148 int
31149 main ()
31150 {
31151 int major, minor, micro;
31152 char *tmp_version;
31153
31154 system ("touch conf.gtktest");
31155
31156 /* HP/UX 9 (%@#!) writes to sscanf strings */
31157 tmp_version = g_strdup("$min_gtk_version");
31158 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31159 printf("%s, bad version string\n", "$min_gtk_version");
31160 exit(1);
31161 }
31162
31163 if ((gtk_major_version != $gtk_config_major_version) ||
31164 (gtk_minor_version != $gtk_config_minor_version) ||
31165 (gtk_micro_version != $gtk_config_micro_version))
31166 {
31167 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31168 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31169 gtk_major_version, gtk_minor_version, gtk_micro_version);
31170 printf ("*** was found! If gtk-config was correct, then it is best\n");
31171 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31172 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31173 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31174 printf("*** required on your system.\n");
31175 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31176 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31177 printf("*** before re-running configure\n");
31178 }
31179 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31180 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31181 (gtk_minor_version != GTK_MINOR_VERSION) ||
31182 (gtk_micro_version != GTK_MICRO_VERSION))
31183 {
31184 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31185 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31186 printf("*** library (version %d.%d.%d)\n",
31187 gtk_major_version, gtk_minor_version, gtk_micro_version);
31188 }
31189 #endif /* defined (GTK_MAJOR_VERSION) ... */
31190 else
31191 {
31192 if ((gtk_major_version > major) ||
31193 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31194 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31195 {
31196 return 0;
31197 }
31198 else
31199 {
31200 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31201 gtk_major_version, gtk_minor_version, gtk_micro_version);
31202 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31203 major, minor, micro);
31204 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31205 printf("***\n");
31206 printf("*** If you have already installed a sufficiently new version, this error\n");
31207 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31208 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31209 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31210 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31211 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31212 printf("*** so that the correct libraries are found at run-time))\n");
31213 }
31214 }
31215 return 1;
31216 }
31217
31218 _ACEOF
31219 rm -f conftest$ac_exeext
31220 if { (ac_try="$ac_link"
31221 case "(($ac_try" in
31222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31223 *) ac_try_echo=$ac_try;;
31224 esac
31225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31226 (eval "$ac_link") 2>&5
31227 ac_status=$?
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31230 { (case "(($ac_try" in
31231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31232 *) ac_try_echo=$ac_try;;
31233 esac
31234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31235 (eval "$ac_try") 2>&5
31236 ac_status=$?
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); }; }; then
31239 :
31240 else
31241 echo "$as_me: program exited with status $ac_status" >&5
31242 echo "$as_me: failed program was:" >&5
31243 sed 's/^/| /' conftest.$ac_ext >&5
31244
31245 ( exit $ac_status )
31246 no_gtk=yes
31247 fi
31248 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31249 fi
31250
31251
31252 CFLAGS="$ac_save_CFLAGS"
31253 LIBS="$ac_save_LIBS"
31254 fi
31255 fi
31256 if test "x$no_gtk" = x ; then
31257 { echo "$as_me:$LINENO: result: yes" >&5
31258 echo "${ECHO_T}yes" >&6; }
31259 wx_cv_lib_gtk=1.2.7
31260 else
31261 { echo "$as_me:$LINENO: result: no" >&5
31262 echo "${ECHO_T}no" >&6; }
31263 if test "$GTK_CONFIG" = "no" ; then
31264 echo "*** The gtk-config script installed by GTK could not be found"
31265 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31266 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31267 echo "*** full path to gtk-config."
31268 else
31269 if test -f conf.gtktest ; then
31270 :
31271 else
31272 echo "*** Could not run GTK test program, checking why..."
31273 CFLAGS="$CFLAGS $GTK_CFLAGS"
31274 LIBS="$LIBS $GTK_LIBS"
31275 cat >conftest.$ac_ext <<_ACEOF
31276 /* confdefs.h. */
31277 _ACEOF
31278 cat confdefs.h >>conftest.$ac_ext
31279 cat >>conftest.$ac_ext <<_ACEOF
31280 /* end confdefs.h. */
31281
31282 #include <gtk/gtk.h>
31283 #include <stdio.h>
31284
31285 int
31286 main ()
31287 {
31288 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31289 ;
31290 return 0;
31291 }
31292 _ACEOF
31293 rm -f conftest.$ac_objext conftest$ac_exeext
31294 if { (ac_try="$ac_link"
31295 case "(($ac_try" in
31296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31297 *) ac_try_echo=$ac_try;;
31298 esac
31299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31300 (eval "$ac_link") 2>conftest.er1
31301 ac_status=$?
31302 grep -v '^ *+' conftest.er1 >conftest.err
31303 rm -f conftest.er1
31304 cat conftest.err >&5
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); } && {
31307 test -z "$ac_c_werror_flag" ||
31308 test ! -s conftest.err
31309 } && test -s conftest$ac_exeext &&
31310 $as_test_x conftest$ac_exeext; then
31311 echo "*** The test program compiled, but did not run. This usually means"
31312 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31313 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31314 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31315 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31316 echo "*** is required on your system"
31317 echo "***"
31318 echo "*** If you have an old version installed, it is best to remove it, although"
31319 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31320 echo "***"
31321 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31322 echo "*** came with the system with the command"
31323 echo "***"
31324 echo "*** rpm --erase --nodeps gtk gtk-devel"
31325 else
31326 echo "$as_me: failed program was:" >&5
31327 sed 's/^/| /' conftest.$ac_ext >&5
31328
31329 echo "*** The test program failed to compile or link. See the file config.log for the"
31330 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31331 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31332 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31333 fi
31334
31335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31336 conftest$ac_exeext conftest.$ac_ext
31337 CFLAGS="$ac_save_CFLAGS"
31338 LIBS="$ac_save_LIBS"
31339 fi
31340 fi
31341 GTK_CFLAGS=""
31342 GTK_LIBS=""
31343 :
31344 fi
31345
31346
31347 rm -f conf.gtktest
31348
31349
31350 if test -z "$wx_cv_lib_gtk"; then
31351
31352 # Check whether --with-gtk-prefix was given.
31353 if test "${with_gtk_prefix+set}" = set; then
31354 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31355 else
31356 gtk_config_prefix=""
31357 fi
31358
31359
31360 # Check whether --with-gtk-exec-prefix was given.
31361 if test "${with_gtk_exec_prefix+set}" = set; then
31362 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31363 else
31364 gtk_config_exec_prefix=""
31365 fi
31366
31367 # Check whether --enable-gtktest was given.
31368 if test "${enable_gtktest+set}" = set; then
31369 enableval=$enable_gtktest;
31370 else
31371 enable_gtktest=yes
31372 fi
31373
31374
31375 for module in . $GTK_MODULES
31376 do
31377 case "$module" in
31378 gthread)
31379 gtk_config_args="$gtk_config_args gthread"
31380 ;;
31381 esac
31382 done
31383
31384 if test x$gtk_config_exec_prefix != x ; then
31385 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31386 if test x${GTK_CONFIG+set} != xset ; then
31387 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31388 fi
31389 fi
31390 if test x$gtk_config_prefix != x ; then
31391 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31392 if test x${GTK_CONFIG+set} != xset ; then
31393 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31394 fi
31395 fi
31396
31397 # Extract the first word of "gtk-config", so it can be a program name with args.
31398 set dummy gtk-config; ac_word=$2
31399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31401 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31402 echo $ECHO_N "(cached) $ECHO_C" >&6
31403 else
31404 case $GTK_CONFIG in
31405 [\\/]* | ?:[\\/]*)
31406 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31407 ;;
31408 *)
31409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31410 for as_dir in $PATH
31411 do
31412 IFS=$as_save_IFS
31413 test -z "$as_dir" && as_dir=.
31414 for ac_exec_ext in '' $ac_executable_extensions; do
31415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31416 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31418 break 2
31419 fi
31420 done
31421 done
31422 IFS=$as_save_IFS
31423
31424 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31425 ;;
31426 esac
31427 fi
31428 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31429 if test -n "$GTK_CONFIG"; then
31430 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31431 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31432 else
31433 { echo "$as_me:$LINENO: result: no" >&5
31434 echo "${ECHO_T}no" >&6; }
31435 fi
31436
31437
31438 min_gtk_version=1.2.3
31439 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31440 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31441 no_gtk=""
31442 if test "$GTK_CONFIG" = "no" ; then
31443 no_gtk=yes
31444 else
31445 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31446 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31447 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31449 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31451 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31453 if test "x$enable_gtktest" = "xyes" ; then
31454 ac_save_CFLAGS="$CFLAGS"
31455 ac_save_LIBS="$LIBS"
31456 CFLAGS="$CFLAGS $GTK_CFLAGS"
31457 LIBS="$GTK_LIBS $LIBS"
31458 rm -f conf.gtktest
31459 if test "$cross_compiling" = yes; then
31460 echo $ac_n "cross compiling; assumed OK... $ac_c"
31461 else
31462 cat >conftest.$ac_ext <<_ACEOF
31463 /* confdefs.h. */
31464 _ACEOF
31465 cat confdefs.h >>conftest.$ac_ext
31466 cat >>conftest.$ac_ext <<_ACEOF
31467 /* end confdefs.h. */
31468
31469 #include <gtk/gtk.h>
31470 #include <stdio.h>
31471 #include <stdlib.h>
31472
31473 int
31474 main ()
31475 {
31476 int major, minor, micro;
31477 char *tmp_version;
31478
31479 system ("touch conf.gtktest");
31480
31481 /* HP/UX 9 (%@#!) writes to sscanf strings */
31482 tmp_version = g_strdup("$min_gtk_version");
31483 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31484 printf("%s, bad version string\n", "$min_gtk_version");
31485 exit(1);
31486 }
31487
31488 if ((gtk_major_version != $gtk_config_major_version) ||
31489 (gtk_minor_version != $gtk_config_minor_version) ||
31490 (gtk_micro_version != $gtk_config_micro_version))
31491 {
31492 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31493 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31494 gtk_major_version, gtk_minor_version, gtk_micro_version);
31495 printf ("*** was found! If gtk-config was correct, then it is best\n");
31496 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31497 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31498 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31499 printf("*** required on your system.\n");
31500 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31501 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31502 printf("*** before re-running configure\n");
31503 }
31504 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31505 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31506 (gtk_minor_version != GTK_MINOR_VERSION) ||
31507 (gtk_micro_version != GTK_MICRO_VERSION))
31508 {
31509 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31510 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31511 printf("*** library (version %d.%d.%d)\n",
31512 gtk_major_version, gtk_minor_version, gtk_micro_version);
31513 }
31514 #endif /* defined (GTK_MAJOR_VERSION) ... */
31515 else
31516 {
31517 if ((gtk_major_version > major) ||
31518 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31519 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31520 {
31521 return 0;
31522 }
31523 else
31524 {
31525 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31526 gtk_major_version, gtk_minor_version, gtk_micro_version);
31527 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31528 major, minor, micro);
31529 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31530 printf("***\n");
31531 printf("*** If you have already installed a sufficiently new version, this error\n");
31532 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31533 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31534 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31535 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31536 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31537 printf("*** so that the correct libraries are found at run-time))\n");
31538 }
31539 }
31540 return 1;
31541 }
31542
31543 _ACEOF
31544 rm -f conftest$ac_exeext
31545 if { (ac_try="$ac_link"
31546 case "(($ac_try" in
31547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31548 *) ac_try_echo=$ac_try;;
31549 esac
31550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31551 (eval "$ac_link") 2>&5
31552 ac_status=$?
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31555 { (case "(($ac_try" in
31556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31557 *) ac_try_echo=$ac_try;;
31558 esac
31559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31560 (eval "$ac_try") 2>&5
31561 ac_status=$?
31562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 (exit $ac_status); }; }; then
31564 :
31565 else
31566 echo "$as_me: program exited with status $ac_status" >&5
31567 echo "$as_me: failed program was:" >&5
31568 sed 's/^/| /' conftest.$ac_ext >&5
31569
31570 ( exit $ac_status )
31571 no_gtk=yes
31572 fi
31573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31574 fi
31575
31576
31577 CFLAGS="$ac_save_CFLAGS"
31578 LIBS="$ac_save_LIBS"
31579 fi
31580 fi
31581 if test "x$no_gtk" = x ; then
31582 { echo "$as_me:$LINENO: result: yes" >&5
31583 echo "${ECHO_T}yes" >&6; }
31584 wx_cv_lib_gtk=1.2.3
31585 else
31586 { echo "$as_me:$LINENO: result: no" >&5
31587 echo "${ECHO_T}no" >&6; }
31588 if test "$GTK_CONFIG" = "no" ; then
31589 echo "*** The gtk-config script installed by GTK could not be found"
31590 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31591 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31592 echo "*** full path to gtk-config."
31593 else
31594 if test -f conf.gtktest ; then
31595 :
31596 else
31597 echo "*** Could not run GTK test program, checking why..."
31598 CFLAGS="$CFLAGS $GTK_CFLAGS"
31599 LIBS="$LIBS $GTK_LIBS"
31600 cat >conftest.$ac_ext <<_ACEOF
31601 /* confdefs.h. */
31602 _ACEOF
31603 cat confdefs.h >>conftest.$ac_ext
31604 cat >>conftest.$ac_ext <<_ACEOF
31605 /* end confdefs.h. */
31606
31607 #include <gtk/gtk.h>
31608 #include <stdio.h>
31609
31610 int
31611 main ()
31612 {
31613 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31614 ;
31615 return 0;
31616 }
31617 _ACEOF
31618 rm -f conftest.$ac_objext conftest$ac_exeext
31619 if { (ac_try="$ac_link"
31620 case "(($ac_try" in
31621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31622 *) ac_try_echo=$ac_try;;
31623 esac
31624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31625 (eval "$ac_link") 2>conftest.er1
31626 ac_status=$?
31627 grep -v '^ *+' conftest.er1 >conftest.err
31628 rm -f conftest.er1
31629 cat conftest.err >&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); } && {
31632 test -z "$ac_c_werror_flag" ||
31633 test ! -s conftest.err
31634 } && test -s conftest$ac_exeext &&
31635 $as_test_x conftest$ac_exeext; then
31636 echo "*** The test program compiled, but did not run. This usually means"
31637 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31638 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31639 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31640 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31641 echo "*** is required on your system"
31642 echo "***"
31643 echo "*** If you have an old version installed, it is best to remove it, although"
31644 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31645 echo "***"
31646 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31647 echo "*** came with the system with the command"
31648 echo "***"
31649 echo "*** rpm --erase --nodeps gtk gtk-devel"
31650 else
31651 echo "$as_me: failed program was:" >&5
31652 sed 's/^/| /' conftest.$ac_ext >&5
31653
31654 echo "*** The test program failed to compile or link. See the file config.log for the"
31655 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31656 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31657 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31658 fi
31659
31660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31661 conftest$ac_exeext conftest.$ac_ext
31662 CFLAGS="$ac_save_CFLAGS"
31663 LIBS="$ac_save_LIBS"
31664 fi
31665 fi
31666 GTK_CFLAGS=""
31667 GTK_LIBS=""
31668 :
31669 fi
31670
31671
31672 rm -f conf.gtktest
31673
31674 fi
31675 fi
31676 fi
31677
31678 if test -z "$wx_cv_lib_gtk"; then
31679 wx_cv_lib_gtk=none
31680 else
31681 wx_cv_cflags_gtk=$GTK_CFLAGS
31682 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31683 fi
31684
31685
31686 fi
31687
31688
31689 if test "$gtk_version_cached" = 1; then
31690 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31691 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31692 fi
31693
31694 case "$wx_cv_lib_gtk" in
31695 2.0) WXGTK20=1
31696 TOOLKIT_VERSION=2
31697 ;;
31698 1.2.7) WXGTK127=1
31699 WXGTK12=1
31700 ;;
31701 1.2.3) WXGTK12=1
31702 ;;
31703 *) { { echo "$as_me:$LINENO: error:
31704 The development files for GTK+ were not found. For GTK+ 2, please
31705 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31706 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31707 and that the version is 1.2.3 or above. Also check that the
31708 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31709 --libs' are in the LD_LIBRARY_PATH or equivalent.
31710 " >&5
31711 echo "$as_me: error:
31712 The development files for GTK+ were not found. For GTK+ 2, please
31713 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31714 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31715 and that the version is 1.2.3 or above. Also check that the
31716 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31717 --libs' are in the LD_LIBRARY_PATH or equivalent.
31718 " >&2;}
31719 { (exit 1); exit 1; }; }
31720 ;;
31721 esac
31722
31723 if test "$WXGTK20" = 1; then
31724 save_CFLAGS="$CFLAGS"
31725 save_LIBS="$LIBS"
31726 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31727 LIBS="$LIBS $wx_cv_libs_gtk"
31728
31729 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31730 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31731 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31732 echo $ECHO_N "(cached) $ECHO_C" >&6
31733 else
31734 cat >conftest.$ac_ext <<_ACEOF
31735 /* confdefs.h. */
31736 _ACEOF
31737 cat confdefs.h >>conftest.$ac_ext
31738 cat >>conftest.$ac_ext <<_ACEOF
31739 /* end confdefs.h. */
31740 #include <gtk/gtk.h>
31741
31742 int
31743 main ()
31744 {
31745 #ifndef gtk_icon_size_lookup
31746 (void) gtk_icon_size_lookup;
31747 #endif
31748
31749 ;
31750 return 0;
31751 }
31752 _ACEOF
31753 rm -f conftest.$ac_objext
31754 if { (ac_try="$ac_compile"
31755 case "(($ac_try" in
31756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31757 *) ac_try_echo=$ac_try;;
31758 esac
31759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31760 (eval "$ac_compile") 2>conftest.er1
31761 ac_status=$?
31762 grep -v '^ *+' conftest.er1 >conftest.err
31763 rm -f conftest.er1
31764 cat conftest.err >&5
31765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31766 (exit $ac_status); } && {
31767 test -z "$ac_c_werror_flag" ||
31768 test ! -s conftest.err
31769 } && test -s conftest.$ac_objext; then
31770 ac_cv_have_decl_gtk_icon_size_lookup=yes
31771 else
31772 echo "$as_me: failed program was:" >&5
31773 sed 's/^/| /' conftest.$ac_ext >&5
31774
31775 ac_cv_have_decl_gtk_icon_size_lookup=no
31776 fi
31777
31778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31779 fi
31780 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31781 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31782 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31783
31784 cat >>confdefs.h <<_ACEOF
31785 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31786 _ACEOF
31787
31788
31789 else
31790 cat >>confdefs.h <<_ACEOF
31791 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31792 _ACEOF
31793
31794 cat >>confdefs.h <<\_ACEOF
31795 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31796 _ACEOF
31797
31798 fi
31799
31800
31801
31802
31803 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31804 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31805 cat >conftest.$ac_ext <<_ACEOF
31806 /* confdefs.h. */
31807 _ACEOF
31808 cat confdefs.h >>conftest.$ac_ext
31809 cat >>conftest.$ac_ext <<_ACEOF
31810 /* end confdefs.h. */
31811
31812 #include <gtk/gtk.h>
31813
31814 int
31815 main ()
31816 {
31817
31818 #if !GTK_CHECK_VERSION(2,10,0)
31819 Not GTK+ 2.10
31820 #endif
31821
31822 ;
31823 return 0;
31824 }
31825 _ACEOF
31826 rm -f conftest.$ac_objext
31827 if { (ac_try="$ac_compile"
31828 case "(($ac_try" in
31829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31830 *) ac_try_echo=$ac_try;;
31831 esac
31832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31833 (eval "$ac_compile") 2>conftest.er1
31834 ac_status=$?
31835 grep -v '^ *+' conftest.er1 >conftest.err
31836 rm -f conftest.er1
31837 cat conftest.err >&5
31838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31839 (exit $ac_status); } && {
31840 test -z "$ac_c_werror_flag" ||
31841 test ! -s conftest.err
31842 } && test -s conftest.$ac_objext; then
31843
31844 cat >>confdefs.h <<\_ACEOF
31845 #define __WXGTK210__ 1
31846 _ACEOF
31847
31848 cat >>confdefs.h <<\_ACEOF
31849 #define __WXGTK26__ 1
31850 _ACEOF
31851
31852 cat >>confdefs.h <<\_ACEOF
31853 #define __WXGTK24__ 1
31854 _ACEOF
31855
31856 { echo "$as_me:$LINENO: result: yes" >&5
31857 echo "${ECHO_T}yes" >&6; }
31858 ac_wxgtk210=1
31859
31860 else
31861 echo "$as_me: failed program was:" >&5
31862 sed 's/^/| /' conftest.$ac_ext >&5
31863
31864
31865 { echo "$as_me:$LINENO: result: no" >&5
31866 echo "${ECHO_T}no" >&6; }
31867 ac_wxgtk210=0
31868
31869 fi
31870
31871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31872
31873 if test "$ac_wxgtk210" = 0; then
31874 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31875 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31876 cat >conftest.$ac_ext <<_ACEOF
31877 /* confdefs.h. */
31878 _ACEOF
31879 cat confdefs.h >>conftest.$ac_ext
31880 cat >>conftest.$ac_ext <<_ACEOF
31881 /* end confdefs.h. */
31882
31883 #include <gtk/gtk.h>
31884
31885 int
31886 main ()
31887 {
31888
31889 #if !GTK_CHECK_VERSION(2,6,0)
31890 Not GTK+ 2.6
31891 #endif
31892
31893 ;
31894 return 0;
31895 }
31896 _ACEOF
31897 rm -f conftest.$ac_objext
31898 if { (ac_try="$ac_compile"
31899 case "(($ac_try" in
31900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31901 *) ac_try_echo=$ac_try;;
31902 esac
31903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31904 (eval "$ac_compile") 2>conftest.er1
31905 ac_status=$?
31906 grep -v '^ *+' conftest.er1 >conftest.err
31907 rm -f conftest.er1
31908 cat conftest.err >&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); } && {
31911 test -z "$ac_c_werror_flag" ||
31912 test ! -s conftest.err
31913 } && test -s conftest.$ac_objext; then
31914
31915 cat >>confdefs.h <<\_ACEOF
31916 #define __WXGTK26__ 1
31917 _ACEOF
31918
31919 cat >>confdefs.h <<\_ACEOF
31920 #define __WXGTK24__ 1
31921 _ACEOF
31922
31923 { echo "$as_me:$LINENO: result: yes" >&5
31924 echo "${ECHO_T}yes" >&6; }
31925 ac_wxgtk26=1
31926
31927 else
31928 echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.$ac_ext >&5
31930
31931
31932 { echo "$as_me:$LINENO: result: no" >&5
31933 echo "${ECHO_T}no" >&6; }
31934 ac_wxgtk26=0
31935
31936 fi
31937
31938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31939 fi
31940
31941 if test "$ac_wxgtk26" = 0; then
31942 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31943 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31944 cat >conftest.$ac_ext <<_ACEOF
31945 /* confdefs.h. */
31946 _ACEOF
31947 cat confdefs.h >>conftest.$ac_ext
31948 cat >>conftest.$ac_ext <<_ACEOF
31949 /* end confdefs.h. */
31950
31951 #include <gtk/gtk.h>
31952
31953 int
31954 main ()
31955 {
31956
31957 #if !GTK_CHECK_VERSION(2,4,0)
31958 Not GTK+ 2.4
31959 #endif
31960
31961 ;
31962 return 0;
31963 }
31964 _ACEOF
31965 rm -f conftest.$ac_objext
31966 if { (ac_try="$ac_compile"
31967 case "(($ac_try" in
31968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31969 *) ac_try_echo=$ac_try;;
31970 esac
31971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31972 (eval "$ac_compile") 2>conftest.er1
31973 ac_status=$?
31974 grep -v '^ *+' conftest.er1 >conftest.err
31975 rm -f conftest.er1
31976 cat conftest.err >&5
31977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 (exit $ac_status); } && {
31979 test -z "$ac_c_werror_flag" ||
31980 test ! -s conftest.err
31981 } && test -s conftest.$ac_objext; then
31982
31983 cat >>confdefs.h <<\_ACEOF
31984 #define __WXGTK24__ 1
31985 _ACEOF
31986
31987 { echo "$as_me:$LINENO: result: yes" >&5
31988 echo "${ECHO_T}yes" >&6; }
31989
31990 else
31991 echo "$as_me: failed program was:" >&5
31992 sed 's/^/| /' conftest.$ac_ext >&5
31993
31994
31995 { echo "$as_me:$LINENO: result: no" >&5
31996 echo "${ECHO_T}no" >&6; }
31997
31998 fi
31999
32000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32001 fi
32002
32003 CFLAGS="$save_CFLAGS"
32004 LIBS="$save_LIBS"
32005 else
32006 if test "$wxUSE_UNICODE" = "yes"; then
32007 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
32008 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
32009 wxUSE_UNICODE=no
32010 fi
32011
32012 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
32013 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
32014 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
32015 echo $ECHO_N "(cached) $ECHO_C" >&6
32016 else
32017 ac_check_lib_save_LIBS=$LIBS
32018 LIBS="-lgdk $LIBS"
32019 cat >conftest.$ac_ext <<_ACEOF
32020 /* confdefs.h. */
32021 _ACEOF
32022 cat confdefs.h >>conftest.$ac_ext
32023 cat >>conftest.$ac_ext <<_ACEOF
32024 /* end confdefs.h. */
32025
32026 /* Override any GCC internal prototype to avoid an error.
32027 Use char because int might match the return type of a GCC
32028 builtin and then its argument prototype would still apply. */
32029 #ifdef __cplusplus
32030 extern "C"
32031 #endif
32032 char gdk_im_open ();
32033 int
32034 main ()
32035 {
32036 return gdk_im_open ();
32037 ;
32038 return 0;
32039 }
32040 _ACEOF
32041 rm -f conftest.$ac_objext conftest$ac_exeext
32042 if { (ac_try="$ac_link"
32043 case "(($ac_try" in
32044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32045 *) ac_try_echo=$ac_try;;
32046 esac
32047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32048 (eval "$ac_link") 2>conftest.er1
32049 ac_status=$?
32050 grep -v '^ *+' conftest.er1 >conftest.err
32051 rm -f conftest.er1
32052 cat conftest.err >&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); } && {
32055 test -z "$ac_c_werror_flag" ||
32056 test ! -s conftest.err
32057 } && test -s conftest$ac_exeext &&
32058 $as_test_x conftest$ac_exeext; then
32059 ac_cv_lib_gdk_gdk_im_open=yes
32060 else
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.$ac_ext >&5
32063
32064 ac_cv_lib_gdk_gdk_im_open=no
32065 fi
32066
32067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32068 conftest$ac_exeext conftest.$ac_ext
32069 LIBS=$ac_check_lib_save_LIBS
32070 fi
32071 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32072 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32073 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32074 cat >>confdefs.h <<\_ACEOF
32075 #define HAVE_XIM 1
32076 _ACEOF
32077
32078 fi
32079
32080
32081 if test "$USE_DARWIN" != 1; then
32082
32083 for ac_func in poll
32084 do
32085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32089 echo $ECHO_N "(cached) $ECHO_C" >&6
32090 else
32091 cat >conftest.$ac_ext <<_ACEOF
32092 /* confdefs.h. */
32093 _ACEOF
32094 cat confdefs.h >>conftest.$ac_ext
32095 cat >>conftest.$ac_ext <<_ACEOF
32096 /* end confdefs.h. */
32097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32099 #define $ac_func innocuous_$ac_func
32100
32101 /* System header to define __stub macros and hopefully few prototypes,
32102 which can conflict with char $ac_func (); below.
32103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32104 <limits.h> exists even on freestanding compilers. */
32105
32106 #ifdef __STDC__
32107 # include <limits.h>
32108 #else
32109 # include <assert.h>
32110 #endif
32111
32112 #undef $ac_func
32113
32114 /* Override any GCC internal prototype to avoid an error.
32115 Use char because int might match the return type of a GCC
32116 builtin and then its argument prototype would still apply. */
32117 #ifdef __cplusplus
32118 extern "C"
32119 #endif
32120 char $ac_func ();
32121 /* The GNU C library defines this for functions which it implements
32122 to always fail with ENOSYS. Some functions are actually named
32123 something starting with __ and the normal name is an alias. */
32124 #if defined __stub_$ac_func || defined __stub___$ac_func
32125 choke me
32126 #endif
32127
32128 int
32129 main ()
32130 {
32131 return $ac_func ();
32132 ;
32133 return 0;
32134 }
32135 _ACEOF
32136 rm -f conftest.$ac_objext conftest$ac_exeext
32137 if { (ac_try="$ac_link"
32138 case "(($ac_try" in
32139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32140 *) ac_try_echo=$ac_try;;
32141 esac
32142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32143 (eval "$ac_link") 2>conftest.er1
32144 ac_status=$?
32145 grep -v '^ *+' conftest.er1 >conftest.err
32146 rm -f conftest.er1
32147 cat conftest.err >&5
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); } && {
32150 test -z "$ac_c_werror_flag" ||
32151 test ! -s conftest.err
32152 } && test -s conftest$ac_exeext &&
32153 $as_test_x conftest$ac_exeext; then
32154 eval "$as_ac_var=yes"
32155 else
32156 echo "$as_me: failed program was:" >&5
32157 sed 's/^/| /' conftest.$ac_ext >&5
32158
32159 eval "$as_ac_var=no"
32160 fi
32161
32162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32163 conftest$ac_exeext conftest.$ac_ext
32164 fi
32165 ac_res=`eval echo '${'$as_ac_var'}'`
32166 { echo "$as_me:$LINENO: result: $ac_res" >&5
32167 echo "${ECHO_T}$ac_res" >&6; }
32168 if test `eval echo '${'$as_ac_var'}'` = yes; then
32169 cat >>confdefs.h <<_ACEOF
32170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32171 _ACEOF
32172
32173 fi
32174 done
32175
32176 fi
32177 fi
32178
32179 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32180 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32181
32182 AFMINSTALL=afminstall
32183 TOOLKIT=GTK
32184 GUIDIST=GTK_DIST
32185
32186 if test "$wxUSE_GPE" = "yes"; then
32187 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32188 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32189
32190 ac_find_libraries=
32191 for ac_dir in $SEARCH_LIB;
32192 do
32193 for ac_extension in a so sl dylib dll.a; do
32194 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32195 ac_find_libraries=$ac_dir
32196 break 2
32197 fi
32198 done
32199 done
32200
32201 if test "$ac_find_libraries" != "" ; then
32202
32203 if test "$ac_find_libraries" = "default location"; then
32204 ac_path_to_link=""
32205 else
32206 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32207 result=$?
32208 if test $result = 0; then
32209 ac_path_to_link=""
32210 else
32211 ac_path_to_link=" -L$ac_find_libraries"
32212 fi
32213 fi
32214
32215 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32216 WXGPE=1
32217 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32218 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32219 else
32220 { echo "$as_me:$LINENO: result: not found" >&5
32221 echo "${ECHO_T}not found" >&6; }
32222 fi
32223
32224 fi
32225 fi
32226
32227 if test "$wxUSE_MGL" = 1; then
32228 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32229 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32230 if test "x$MGL_ROOT" = x ; then
32231 { echo "$as_me:$LINENO: result: not found" >&5
32232 echo "${ECHO_T}not found" >&6; }
32233 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32234 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32235 { (exit 1); exit 1; }; }
32236 else
32237 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32238 echo "${ECHO_T}$MGL_ROOT" >&6; }
32239 fi
32240
32241 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32242 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32243 case "${host}" in
32244 *-*-linux* )
32245 if test "x$wxUSE_SHARED" = xyes ; then
32246 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32247 else
32248 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32249 fi
32250 ;;
32251 *-pc-msdosdjgpp )
32252 mgl_os_candidates="dos32/dj2"
32253 ;;
32254 *)
32255 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32256 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32257 { (exit 1); exit 1; }; }
32258 esac
32259
32260 mgl_lib_type=""
32261 mgl_os=""
32262
32263 for mgl_os_i in $mgl_os_candidates ; do
32264 if test "x$mgl_os" = x ; then
32265 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32266 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32267 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32268 mgl_lib_type=debug
32269 mgl_os=$mgl_os_i
32270 fi
32271 fi
32272 if test "x$mgl_lib_type" = x ; then
32273 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32274 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32275 mgl_lib_type=release
32276 mgl_os=$mgl_os_i
32277 fi
32278 fi
32279 fi
32280 done
32281
32282 if test "x$mgl_os" = x ; then
32283 { echo "$as_me:$LINENO: result: not found" >&5
32284 echo "${ECHO_T}not found" >&6; }
32285 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32286 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32287 { (exit 1); exit 1; }; }
32288 fi
32289 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32290 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32291
32292 wxUSE_UNIVERSAL="yes"
32293
32294 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32295 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32296
32297 AFMINSTALL=afminstall
32298 TOOLKIT=MGL
32299 GUIDIST=MGL_DIST
32300 fi
32301
32302 if test "$wxUSE_DFB" = 1; then
32303
32304
32305 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32306 if test -n "$ac_tool_prefix"; then
32307 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32308 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32311 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32313 else
32314 case $PKG_CONFIG in
32315 [\\/]* | ?:[\\/]*)
32316 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32317 ;;
32318 *)
32319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32320 for as_dir in $PATH
32321 do
32322 IFS=$as_save_IFS
32323 test -z "$as_dir" && as_dir=.
32324 for ac_exec_ext in '' $ac_executable_extensions; do
32325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32326 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32328 break 2
32329 fi
32330 done
32331 done
32332 IFS=$as_save_IFS
32333
32334 ;;
32335 esac
32336 fi
32337 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32338 if test -n "$PKG_CONFIG"; then
32339 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32340 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32341 else
32342 { echo "$as_me:$LINENO: result: no" >&5
32343 echo "${ECHO_T}no" >&6; }
32344 fi
32345
32346
32347 fi
32348 if test -z "$ac_cv_path_PKG_CONFIG"; then
32349 ac_pt_PKG_CONFIG=$PKG_CONFIG
32350 # Extract the first word of "pkg-config", so it can be a program name with args.
32351 set dummy pkg-config; ac_word=$2
32352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32354 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32355 echo $ECHO_N "(cached) $ECHO_C" >&6
32356 else
32357 case $ac_pt_PKG_CONFIG in
32358 [\\/]* | ?:[\\/]*)
32359 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32360 ;;
32361 *)
32362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32363 for as_dir in $PATH
32364 do
32365 IFS=$as_save_IFS
32366 test -z "$as_dir" && as_dir=.
32367 for ac_exec_ext in '' $ac_executable_extensions; do
32368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32369 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32371 break 2
32372 fi
32373 done
32374 done
32375 IFS=$as_save_IFS
32376
32377 ;;
32378 esac
32379 fi
32380 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32381 if test -n "$ac_pt_PKG_CONFIG"; then
32382 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32383 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32384 else
32385 { echo "$as_me:$LINENO: result: no" >&5
32386 echo "${ECHO_T}no" >&6; }
32387 fi
32388
32389 if test "x$ac_pt_PKG_CONFIG" = x; then
32390 PKG_CONFIG=""
32391 else
32392 case $cross_compiling:$ac_tool_warned in
32393 yes:)
32394 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32395 whose name does not start with the host triplet. If you think this
32396 configuration is useful to you, please write to autoconf@gnu.org." >&5
32397 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32398 whose name does not start with the host triplet. If you think this
32399 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32400 ac_tool_warned=yes ;;
32401 esac
32402 PKG_CONFIG=$ac_pt_PKG_CONFIG
32403 fi
32404 else
32405 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32406 fi
32407
32408 fi
32409 if test -n "$PKG_CONFIG"; then
32410 _pkg_min_version=0.9.0
32411 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32412 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32413 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32414 { echo "$as_me:$LINENO: result: yes" >&5
32415 echo "${ECHO_T}yes" >&6; }
32416 else
32417 { echo "$as_me:$LINENO: result: no" >&5
32418 echo "${ECHO_T}no" >&6; }
32419 PKG_CONFIG=""
32420 fi
32421
32422 fi
32423
32424
32425 pkg_failed=no
32426 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32427 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32428
32429 if test -n "$PKG_CONFIG"; then
32430 if test -n "$DIRECTFB_CFLAGS"; then
32431 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32432 else
32433 if test -n "$PKG_CONFIG" && \
32434 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32435 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32436 ac_status=$?
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; then
32439 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32440 else
32441 pkg_failed=yes
32442 fi
32443 fi
32444 else
32445 pkg_failed=untried
32446 fi
32447 if test -n "$PKG_CONFIG"; then
32448 if test -n "$DIRECTFB_LIBS"; then
32449 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32450 else
32451 if test -n "$PKG_CONFIG" && \
32452 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32453 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32454 ac_status=$?
32455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 (exit $ac_status); }; then
32457 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32458 else
32459 pkg_failed=yes
32460 fi
32461 fi
32462 else
32463 pkg_failed=untried
32464 fi
32465
32466
32467
32468 if test $pkg_failed = yes; then
32469
32470 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32471 _pkg_short_errors_supported=yes
32472 else
32473 _pkg_short_errors_supported=no
32474 fi
32475 if test $_pkg_short_errors_supported = yes; then
32476 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32477 else
32478 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32479 fi
32480 # Put the nasty error message in config.log where it belongs
32481 echo "$DIRECTFB_PKG_ERRORS" >&5
32482
32483
32484 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32485 echo "$as_me: error: DirectFB not found." >&2;}
32486 { (exit 1); exit 1; }; }
32487
32488
32489 elif test $pkg_failed = untried; then
32490
32491 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32492 echo "$as_me: error: DirectFB not found." >&2;}
32493 { (exit 1); exit 1; }; }
32494
32495
32496 else
32497 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32498 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32499 { echo "$as_me:$LINENO: result: yes" >&5
32500 echo "${ECHO_T}yes" >&6; }
32501
32502 wxUSE_UNIVERSAL="yes"
32503 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32504 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32505 TOOLKIT=DFB
32506 GUIDIST=DFB_DIST
32507
32508 fi
32509 fi
32510
32511 if test "$wxUSE_MICROWIN" = 1; then
32512 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32513 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32514 if test "x$MICROWINDOWS" = x ; then
32515 { echo "$as_me:$LINENO: result: not found" >&5
32516 echo "${ECHO_T}not found" >&6; }
32517 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32518 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32519 { (exit 1); exit 1; }; }
32520 else
32521 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32522 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32523 fi
32524
32525 if test -f $MICROWINDOWS/lib/libmwin.a; then
32526 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32527 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32528 else
32529 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32530 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32531 { (exit 1); exit 1; }; }
32532 fi
32533
32534 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32535 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32536
32537 wxUSE_UNIVERSAL="yes"
32538
32539 AFMINSTALL=afminstall
32540 TOOLKIT=MICROWIN
32541 GUIDIST=MICROWIN_DIST
32542
32543 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32544 fi
32545
32546 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32547 { echo "$as_me:$LINENO: checking for X" >&5
32548 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32549
32550
32551 # Check whether --with-x was given.
32552 if test "${with_x+set}" = set; then
32553 withval=$with_x;
32554 fi
32555
32556 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32557 if test "x$with_x" = xno; then
32558 # The user explicitly disabled X.
32559 have_x=disabled
32560 else
32561 case $x_includes,$x_libraries in #(
32562 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32563 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32564 { (exit 1); exit 1; }; };; #(
32565 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32566 echo $ECHO_N "(cached) $ECHO_C" >&6
32567 else
32568 # One or both of the vars are not set, and there is no cached value.
32569 ac_x_includes=no ac_x_libraries=no
32570 rm -f -r conftest.dir
32571 if mkdir conftest.dir; then
32572 cd conftest.dir
32573 cat >Imakefile <<'_ACEOF'
32574 incroot:
32575 @echo incroot='${INCROOT}'
32576 usrlibdir:
32577 @echo usrlibdir='${USRLIBDIR}'
32578 libdir:
32579 @echo libdir='${LIBDIR}'
32580 _ACEOF
32581 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32583 for ac_var in incroot usrlibdir libdir; do
32584 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32585 done
32586 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32587 for ac_extension in a so sl; do
32588 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32589 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32590 ac_im_usrlibdir=$ac_im_libdir; break
32591 fi
32592 done
32593 # Screen out bogus values from the imake configuration. They are
32594 # bogus both because they are the default anyway, and because
32595 # using them would break gcc on systems where it needs fixed includes.
32596 case $ac_im_incroot in
32597 /usr/include) ac_x_includes= ;;
32598 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32599 esac
32600 case $ac_im_usrlibdir in
32601 /usr/lib | /lib) ;;
32602 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32603 esac
32604 fi
32605 cd ..
32606 rm -f -r conftest.dir
32607 fi
32608
32609 # Standard set of common directories for X headers.
32610 # Check X11 before X11Rn because it is often a symlink to the current release.
32611 ac_x_header_dirs='
32612 /usr/X11/include
32613 /usr/X11R6/include
32614 /usr/X11R5/include
32615 /usr/X11R4/include
32616
32617 /usr/include/X11
32618 /usr/include/X11R6
32619 /usr/include/X11R5
32620 /usr/include/X11R4
32621
32622 /usr/local/X11/include
32623 /usr/local/X11R6/include
32624 /usr/local/X11R5/include
32625 /usr/local/X11R4/include
32626
32627 /usr/local/include/X11
32628 /usr/local/include/X11R6
32629 /usr/local/include/X11R5
32630 /usr/local/include/X11R4
32631
32632 /usr/X386/include
32633 /usr/x386/include
32634 /usr/XFree86/include/X11
32635
32636 /usr/include
32637 /usr/local/include
32638 /usr/unsupported/include
32639 /usr/athena/include
32640 /usr/local/x11r5/include
32641 /usr/lpp/Xamples/include
32642
32643 /usr/openwin/include
32644 /usr/openwin/share/include'
32645
32646 if test "$ac_x_includes" = no; then
32647 # Guess where to find include files, by looking for Xlib.h.
32648 # First, try using that file with no special directory specified.
32649 cat >conftest.$ac_ext <<_ACEOF
32650 /* confdefs.h. */
32651 _ACEOF
32652 cat confdefs.h >>conftest.$ac_ext
32653 cat >>conftest.$ac_ext <<_ACEOF
32654 /* end confdefs.h. */
32655 #include <X11/Xlib.h>
32656 _ACEOF
32657 if { (ac_try="$ac_cpp conftest.$ac_ext"
32658 case "(($ac_try" in
32659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32660 *) ac_try_echo=$ac_try;;
32661 esac
32662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32664 ac_status=$?
32665 grep -v '^ *+' conftest.er1 >conftest.err
32666 rm -f conftest.er1
32667 cat conftest.err >&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); } >/dev/null && {
32670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32671 test ! -s conftest.err
32672 }; then
32673 # We can compile using X headers with no special include directory.
32674 ac_x_includes=
32675 else
32676 echo "$as_me: failed program was:" >&5
32677 sed 's/^/| /' conftest.$ac_ext >&5
32678
32679 for ac_dir in $ac_x_header_dirs; do
32680 if test -r "$ac_dir/X11/Xlib.h"; then
32681 ac_x_includes=$ac_dir
32682 break
32683 fi
32684 done
32685 fi
32686
32687 rm -f conftest.err conftest.$ac_ext
32688 fi # $ac_x_includes = no
32689
32690 if test "$ac_x_libraries" = no; then
32691 # Check for the libraries.
32692 # See if we find them without any special options.
32693 # Don't add to $LIBS permanently.
32694 ac_save_LIBS=$LIBS
32695 LIBS="-lX11 $LIBS"
32696 cat >conftest.$ac_ext <<_ACEOF
32697 /* confdefs.h. */
32698 _ACEOF
32699 cat confdefs.h >>conftest.$ac_ext
32700 cat >>conftest.$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32702 #include <X11/Xlib.h>
32703 int
32704 main ()
32705 {
32706 XrmInitialize ()
32707 ;
32708 return 0;
32709 }
32710 _ACEOF
32711 rm -f conftest.$ac_objext conftest$ac_exeext
32712 if { (ac_try="$ac_link"
32713 case "(($ac_try" in
32714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32715 *) ac_try_echo=$ac_try;;
32716 esac
32717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32718 (eval "$ac_link") 2>conftest.er1
32719 ac_status=$?
32720 grep -v '^ *+' conftest.er1 >conftest.err
32721 rm -f conftest.er1
32722 cat conftest.err >&5
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); } && {
32725 test -z "$ac_c_werror_flag" ||
32726 test ! -s conftest.err
32727 } && test -s conftest$ac_exeext &&
32728 $as_test_x conftest$ac_exeext; then
32729 LIBS=$ac_save_LIBS
32730 # We can link X programs with no special library path.
32731 ac_x_libraries=
32732 else
32733 echo "$as_me: failed program was:" >&5
32734 sed 's/^/| /' conftest.$ac_ext >&5
32735
32736 LIBS=$ac_save_LIBS
32737 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32738 do
32739 # Don't even attempt the hair of trying to link an X program!
32740 for ac_extension in a so sl; do
32741 if test -r "$ac_dir/libX11.$ac_extension"; then
32742 ac_x_libraries=$ac_dir
32743 break 2
32744 fi
32745 done
32746 done
32747 fi
32748
32749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32750 conftest$ac_exeext conftest.$ac_ext
32751 fi # $ac_x_libraries = no
32752
32753 case $ac_x_includes,$ac_x_libraries in #(
32754 no,* | *,no | *\'*)
32755 # Didn't find X, or a directory has "'" in its name.
32756 ac_cv_have_x="have_x=no";; #(
32757 *)
32758 # Record where we found X for the cache.
32759 ac_cv_have_x="have_x=yes\
32760 ac_x_includes='$ac_x_includes'\
32761 ac_x_libraries='$ac_x_libraries'"
32762 esac
32763 fi
32764 ;; #(
32765 *) have_x=yes;;
32766 esac
32767 eval "$ac_cv_have_x"
32768 fi # $with_x != no
32769
32770 if test "$have_x" != yes; then
32771 { echo "$as_me:$LINENO: result: $have_x" >&5
32772 echo "${ECHO_T}$have_x" >&6; }
32773 no_x=yes
32774 else
32775 # If each of the values was on the command line, it overrides each guess.
32776 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32777 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32778 # Update the cache value to reflect the command line values.
32779 ac_cv_have_x="have_x=yes\
32780 ac_x_includes='$x_includes'\
32781 ac_x_libraries='$x_libraries'"
32782 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32783 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32784 fi
32785
32786 if test "$no_x" = yes; then
32787 # Not all programs may use this symbol, but it does not hurt to define it.
32788
32789 cat >>confdefs.h <<\_ACEOF
32790 #define X_DISPLAY_MISSING 1
32791 _ACEOF
32792
32793 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32794 else
32795 if test -n "$x_includes"; then
32796 X_CFLAGS="$X_CFLAGS -I$x_includes"
32797 fi
32798
32799 # It would also be nice to do this for all -L options, not just this one.
32800 if test -n "$x_libraries"; then
32801 X_LIBS="$X_LIBS -L$x_libraries"
32802 # For Solaris; some versions of Sun CC require a space after -R and
32803 # others require no space. Words are not sufficient . . . .
32804 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32805 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32806 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32807 ac_xsave_c_werror_flag=$ac_c_werror_flag
32808 ac_c_werror_flag=yes
32809 cat >conftest.$ac_ext <<_ACEOF
32810 /* confdefs.h. */
32811 _ACEOF
32812 cat confdefs.h >>conftest.$ac_ext
32813 cat >>conftest.$ac_ext <<_ACEOF
32814 /* end confdefs.h. */
32815
32816 int
32817 main ()
32818 {
32819
32820 ;
32821 return 0;
32822 }
32823 _ACEOF
32824 rm -f conftest.$ac_objext conftest$ac_exeext
32825 if { (ac_try="$ac_link"
32826 case "(($ac_try" in
32827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32828 *) ac_try_echo=$ac_try;;
32829 esac
32830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32831 (eval "$ac_link") 2>conftest.er1
32832 ac_status=$?
32833 grep -v '^ *+' conftest.er1 >conftest.err
32834 rm -f conftest.er1
32835 cat conftest.err >&5
32836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837 (exit $ac_status); } && {
32838 test -z "$ac_c_werror_flag" ||
32839 test ! -s conftest.err
32840 } && test -s conftest$ac_exeext &&
32841 $as_test_x conftest$ac_exeext; then
32842 { echo "$as_me:$LINENO: result: no" >&5
32843 echo "${ECHO_T}no" >&6; }
32844 X_LIBS="$X_LIBS -R$x_libraries"
32845 else
32846 echo "$as_me: failed program was:" >&5
32847 sed 's/^/| /' conftest.$ac_ext >&5
32848
32849 LIBS="$ac_xsave_LIBS -R $x_libraries"
32850 cat >conftest.$ac_ext <<_ACEOF
32851 /* confdefs.h. */
32852 _ACEOF
32853 cat confdefs.h >>conftest.$ac_ext
32854 cat >>conftest.$ac_ext <<_ACEOF
32855 /* end confdefs.h. */
32856
32857 int
32858 main ()
32859 {
32860
32861 ;
32862 return 0;
32863 }
32864 _ACEOF
32865 rm -f conftest.$ac_objext conftest$ac_exeext
32866 if { (ac_try="$ac_link"
32867 case "(($ac_try" in
32868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32869 *) ac_try_echo=$ac_try;;
32870 esac
32871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32872 (eval "$ac_link") 2>conftest.er1
32873 ac_status=$?
32874 grep -v '^ *+' conftest.er1 >conftest.err
32875 rm -f conftest.er1
32876 cat conftest.err >&5
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); } && {
32879 test -z "$ac_c_werror_flag" ||
32880 test ! -s conftest.err
32881 } && test -s conftest$ac_exeext &&
32882 $as_test_x conftest$ac_exeext; then
32883 { echo "$as_me:$LINENO: result: yes" >&5
32884 echo "${ECHO_T}yes" >&6; }
32885 X_LIBS="$X_LIBS -R $x_libraries"
32886 else
32887 echo "$as_me: failed program was:" >&5
32888 sed 's/^/| /' conftest.$ac_ext >&5
32889
32890 { echo "$as_me:$LINENO: result: neither works" >&5
32891 echo "${ECHO_T}neither works" >&6; }
32892 fi
32893
32894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32895 conftest$ac_exeext conftest.$ac_ext
32896 fi
32897
32898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32899 conftest$ac_exeext conftest.$ac_ext
32900 ac_c_werror_flag=$ac_xsave_c_werror_flag
32901 LIBS=$ac_xsave_LIBS
32902 fi
32903
32904 # Check for system-dependent libraries X programs must link with.
32905 # Do this before checking for the system-independent R6 libraries
32906 # (-lICE), since we may need -lsocket or whatever for X linking.
32907
32908 if test "$ISC" = yes; then
32909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32910 else
32911 # Martyn Johnson says this is needed for Ultrix, if the X
32912 # libraries were built with DECnet support. And Karl Berry says
32913 # the Alpha needs dnet_stub (dnet does not exist).
32914 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32915 cat >conftest.$ac_ext <<_ACEOF
32916 /* confdefs.h. */
32917 _ACEOF
32918 cat confdefs.h >>conftest.$ac_ext
32919 cat >>conftest.$ac_ext <<_ACEOF
32920 /* end confdefs.h. */
32921
32922 /* Override any GCC internal prototype to avoid an error.
32923 Use char because int might match the return type of a GCC
32924 builtin and then its argument prototype would still apply. */
32925 #ifdef __cplusplus
32926 extern "C"
32927 #endif
32928 char XOpenDisplay ();
32929 int
32930 main ()
32931 {
32932 return XOpenDisplay ();
32933 ;
32934 return 0;
32935 }
32936 _ACEOF
32937 rm -f conftest.$ac_objext conftest$ac_exeext
32938 if { (ac_try="$ac_link"
32939 case "(($ac_try" in
32940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32941 *) ac_try_echo=$ac_try;;
32942 esac
32943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32944 (eval "$ac_link") 2>conftest.er1
32945 ac_status=$?
32946 grep -v '^ *+' conftest.er1 >conftest.err
32947 rm -f conftest.er1
32948 cat conftest.err >&5
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); } && {
32951 test -z "$ac_c_werror_flag" ||
32952 test ! -s conftest.err
32953 } && test -s conftest$ac_exeext &&
32954 $as_test_x conftest$ac_exeext; then
32955 :
32956 else
32957 echo "$as_me: failed program was:" >&5
32958 sed 's/^/| /' conftest.$ac_ext >&5
32959
32960 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32961 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32962 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32963 echo $ECHO_N "(cached) $ECHO_C" >&6
32964 else
32965 ac_check_lib_save_LIBS=$LIBS
32966 LIBS="-ldnet $LIBS"
32967 cat >conftest.$ac_ext <<_ACEOF
32968 /* confdefs.h. */
32969 _ACEOF
32970 cat confdefs.h >>conftest.$ac_ext
32971 cat >>conftest.$ac_ext <<_ACEOF
32972 /* end confdefs.h. */
32973
32974 /* Override any GCC internal prototype to avoid an error.
32975 Use char because int might match the return type of a GCC
32976 builtin and then its argument prototype would still apply. */
32977 #ifdef __cplusplus
32978 extern "C"
32979 #endif
32980 char dnet_ntoa ();
32981 int
32982 main ()
32983 {
32984 return dnet_ntoa ();
32985 ;
32986 return 0;
32987 }
32988 _ACEOF
32989 rm -f conftest.$ac_objext conftest$ac_exeext
32990 if { (ac_try="$ac_link"
32991 case "(($ac_try" in
32992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32993 *) ac_try_echo=$ac_try;;
32994 esac
32995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32996 (eval "$ac_link") 2>conftest.er1
32997 ac_status=$?
32998 grep -v '^ *+' conftest.er1 >conftest.err
32999 rm -f conftest.er1
33000 cat conftest.err >&5
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); } && {
33003 test -z "$ac_c_werror_flag" ||
33004 test ! -s conftest.err
33005 } && test -s conftest$ac_exeext &&
33006 $as_test_x conftest$ac_exeext; then
33007 ac_cv_lib_dnet_dnet_ntoa=yes
33008 else
33009 echo "$as_me: failed program was:" >&5
33010 sed 's/^/| /' conftest.$ac_ext >&5
33011
33012 ac_cv_lib_dnet_dnet_ntoa=no
33013 fi
33014
33015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33016 conftest$ac_exeext conftest.$ac_ext
33017 LIBS=$ac_check_lib_save_LIBS
33018 fi
33019 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
33020 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
33021 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
33022 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
33023 fi
33024
33025 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
33026 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
33027 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
33028 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
33029 echo $ECHO_N "(cached) $ECHO_C" >&6
33030 else
33031 ac_check_lib_save_LIBS=$LIBS
33032 LIBS="-ldnet_stub $LIBS"
33033 cat >conftest.$ac_ext <<_ACEOF
33034 /* confdefs.h. */
33035 _ACEOF
33036 cat confdefs.h >>conftest.$ac_ext
33037 cat >>conftest.$ac_ext <<_ACEOF
33038 /* end confdefs.h. */
33039
33040 /* Override any GCC internal prototype to avoid an error.
33041 Use char because int might match the return type of a GCC
33042 builtin and then its argument prototype would still apply. */
33043 #ifdef __cplusplus
33044 extern "C"
33045 #endif
33046 char dnet_ntoa ();
33047 int
33048 main ()
33049 {
33050 return dnet_ntoa ();
33051 ;
33052 return 0;
33053 }
33054 _ACEOF
33055 rm -f conftest.$ac_objext conftest$ac_exeext
33056 if { (ac_try="$ac_link"
33057 case "(($ac_try" in
33058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33059 *) ac_try_echo=$ac_try;;
33060 esac
33061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33062 (eval "$ac_link") 2>conftest.er1
33063 ac_status=$?
33064 grep -v '^ *+' conftest.er1 >conftest.err
33065 rm -f conftest.er1
33066 cat conftest.err >&5
33067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 (exit $ac_status); } && {
33069 test -z "$ac_c_werror_flag" ||
33070 test ! -s conftest.err
33071 } && test -s conftest$ac_exeext &&
33072 $as_test_x conftest$ac_exeext; then
33073 ac_cv_lib_dnet_stub_dnet_ntoa=yes
33074 else
33075 echo "$as_me: failed program was:" >&5
33076 sed 's/^/| /' conftest.$ac_ext >&5
33077
33078 ac_cv_lib_dnet_stub_dnet_ntoa=no
33079 fi
33080
33081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33082 conftest$ac_exeext conftest.$ac_ext
33083 LIBS=$ac_check_lib_save_LIBS
33084 fi
33085 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33086 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33087 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33088 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
33089 fi
33090
33091 fi
33092 fi
33093
33094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33095 conftest$ac_exeext conftest.$ac_ext
33096 LIBS="$ac_xsave_LIBS"
33097
33098 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33099 # to get the SysV transport functions.
33100 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33101 # needs -lnsl.
33102 # The nsl library prevents programs from opening the X display
33103 # on Irix 5.2, according to T.E. Dickey.
33104 # The functions gethostbyname, getservbyname, and inet_addr are
33105 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33106 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33107 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33108 if test "${ac_cv_func_gethostbyname+set}" = set; then
33109 echo $ECHO_N "(cached) $ECHO_C" >&6
33110 else
33111 cat >conftest.$ac_ext <<_ACEOF
33112 /* confdefs.h. */
33113 _ACEOF
33114 cat confdefs.h >>conftest.$ac_ext
33115 cat >>conftest.$ac_ext <<_ACEOF
33116 /* end confdefs.h. */
33117 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33119 #define gethostbyname innocuous_gethostbyname
33120
33121 /* System header to define __stub macros and hopefully few prototypes,
33122 which can conflict with char gethostbyname (); below.
33123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33124 <limits.h> exists even on freestanding compilers. */
33125
33126 #ifdef __STDC__
33127 # include <limits.h>
33128 #else
33129 # include <assert.h>
33130 #endif
33131
33132 #undef gethostbyname
33133
33134 /* Override any GCC internal prototype to avoid an error.
33135 Use char because int might match the return type of a GCC
33136 builtin and then its argument prototype would still apply. */
33137 #ifdef __cplusplus
33138 extern "C"
33139 #endif
33140 char gethostbyname ();
33141 /* The GNU C library defines this for functions which it implements
33142 to always fail with ENOSYS. Some functions are actually named
33143 something starting with __ and the normal name is an alias. */
33144 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33145 choke me
33146 #endif
33147
33148 int
33149 main ()
33150 {
33151 return gethostbyname ();
33152 ;
33153 return 0;
33154 }
33155 _ACEOF
33156 rm -f conftest.$ac_objext conftest$ac_exeext
33157 if { (ac_try="$ac_link"
33158 case "(($ac_try" in
33159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33160 *) ac_try_echo=$ac_try;;
33161 esac
33162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33163 (eval "$ac_link") 2>conftest.er1
33164 ac_status=$?
33165 grep -v '^ *+' conftest.er1 >conftest.err
33166 rm -f conftest.er1
33167 cat conftest.err >&5
33168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169 (exit $ac_status); } && {
33170 test -z "$ac_c_werror_flag" ||
33171 test ! -s conftest.err
33172 } && test -s conftest$ac_exeext &&
33173 $as_test_x conftest$ac_exeext; then
33174 ac_cv_func_gethostbyname=yes
33175 else
33176 echo "$as_me: failed program was:" >&5
33177 sed 's/^/| /' conftest.$ac_ext >&5
33178
33179 ac_cv_func_gethostbyname=no
33180 fi
33181
33182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33183 conftest$ac_exeext conftest.$ac_ext
33184 fi
33185 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33186 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33187
33188 if test $ac_cv_func_gethostbyname = no; then
33189 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33190 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33191 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33192 echo $ECHO_N "(cached) $ECHO_C" >&6
33193 else
33194 ac_check_lib_save_LIBS=$LIBS
33195 LIBS="-lnsl $LIBS"
33196 cat >conftest.$ac_ext <<_ACEOF
33197 /* confdefs.h. */
33198 _ACEOF
33199 cat confdefs.h >>conftest.$ac_ext
33200 cat >>conftest.$ac_ext <<_ACEOF
33201 /* end confdefs.h. */
33202
33203 /* Override any GCC internal prototype to avoid an error.
33204 Use char because int might match the return type of a GCC
33205 builtin and then its argument prototype would still apply. */
33206 #ifdef __cplusplus
33207 extern "C"
33208 #endif
33209 char gethostbyname ();
33210 int
33211 main ()
33212 {
33213 return gethostbyname ();
33214 ;
33215 return 0;
33216 }
33217 _ACEOF
33218 rm -f conftest.$ac_objext conftest$ac_exeext
33219 if { (ac_try="$ac_link"
33220 case "(($ac_try" in
33221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33222 *) ac_try_echo=$ac_try;;
33223 esac
33224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33225 (eval "$ac_link") 2>conftest.er1
33226 ac_status=$?
33227 grep -v '^ *+' conftest.er1 >conftest.err
33228 rm -f conftest.er1
33229 cat conftest.err >&5
33230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231 (exit $ac_status); } && {
33232 test -z "$ac_c_werror_flag" ||
33233 test ! -s conftest.err
33234 } && test -s conftest$ac_exeext &&
33235 $as_test_x conftest$ac_exeext; then
33236 ac_cv_lib_nsl_gethostbyname=yes
33237 else
33238 echo "$as_me: failed program was:" >&5
33239 sed 's/^/| /' conftest.$ac_ext >&5
33240
33241 ac_cv_lib_nsl_gethostbyname=no
33242 fi
33243
33244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33245 conftest$ac_exeext conftest.$ac_ext
33246 LIBS=$ac_check_lib_save_LIBS
33247 fi
33248 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33249 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33250 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33251 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33252 fi
33253
33254 if test $ac_cv_lib_nsl_gethostbyname = no; then
33255 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33256 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33257 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33258 echo $ECHO_N "(cached) $ECHO_C" >&6
33259 else
33260 ac_check_lib_save_LIBS=$LIBS
33261 LIBS="-lbsd $LIBS"
33262 cat >conftest.$ac_ext <<_ACEOF
33263 /* confdefs.h. */
33264 _ACEOF
33265 cat confdefs.h >>conftest.$ac_ext
33266 cat >>conftest.$ac_ext <<_ACEOF
33267 /* end confdefs.h. */
33268
33269 /* Override any GCC internal prototype to avoid an error.
33270 Use char because int might match the return type of a GCC
33271 builtin and then its argument prototype would still apply. */
33272 #ifdef __cplusplus
33273 extern "C"
33274 #endif
33275 char gethostbyname ();
33276 int
33277 main ()
33278 {
33279 return gethostbyname ();
33280 ;
33281 return 0;
33282 }
33283 _ACEOF
33284 rm -f conftest.$ac_objext conftest$ac_exeext
33285 if { (ac_try="$ac_link"
33286 case "(($ac_try" in
33287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33288 *) ac_try_echo=$ac_try;;
33289 esac
33290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33291 (eval "$ac_link") 2>conftest.er1
33292 ac_status=$?
33293 grep -v '^ *+' conftest.er1 >conftest.err
33294 rm -f conftest.er1
33295 cat conftest.err >&5
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); } && {
33298 test -z "$ac_c_werror_flag" ||
33299 test ! -s conftest.err
33300 } && test -s conftest$ac_exeext &&
33301 $as_test_x conftest$ac_exeext; then
33302 ac_cv_lib_bsd_gethostbyname=yes
33303 else
33304 echo "$as_me: failed program was:" >&5
33305 sed 's/^/| /' conftest.$ac_ext >&5
33306
33307 ac_cv_lib_bsd_gethostbyname=no
33308 fi
33309
33310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33311 conftest$ac_exeext conftest.$ac_ext
33312 LIBS=$ac_check_lib_save_LIBS
33313 fi
33314 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33315 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33316 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33318 fi
33319
33320 fi
33321 fi
33322
33323 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33324 # socket/setsockopt and other routines are undefined under SCO ODT
33325 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33326 # on later versions), says Simon Leinen: it contains gethostby*
33327 # variants that don't use the name server (or something). -lsocket
33328 # must be given before -lnsl if both are needed. We assume that
33329 # if connect needs -lnsl, so does gethostbyname.
33330 { echo "$as_me:$LINENO: checking for connect" >&5
33331 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33332 if test "${ac_cv_func_connect+set}" = set; then
33333 echo $ECHO_N "(cached) $ECHO_C" >&6
33334 else
33335 cat >conftest.$ac_ext <<_ACEOF
33336 /* confdefs.h. */
33337 _ACEOF
33338 cat confdefs.h >>conftest.$ac_ext
33339 cat >>conftest.$ac_ext <<_ACEOF
33340 /* end confdefs.h. */
33341 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33343 #define connect innocuous_connect
33344
33345 /* System header to define __stub macros and hopefully few prototypes,
33346 which can conflict with char connect (); below.
33347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33348 <limits.h> exists even on freestanding compilers. */
33349
33350 #ifdef __STDC__
33351 # include <limits.h>
33352 #else
33353 # include <assert.h>
33354 #endif
33355
33356 #undef connect
33357
33358 /* Override any GCC internal prototype to avoid an error.
33359 Use char because int might match the return type of a GCC
33360 builtin and then its argument prototype would still apply. */
33361 #ifdef __cplusplus
33362 extern "C"
33363 #endif
33364 char connect ();
33365 /* The GNU C library defines this for functions which it implements
33366 to always fail with ENOSYS. Some functions are actually named
33367 something starting with __ and the normal name is an alias. */
33368 #if defined __stub_connect || defined __stub___connect
33369 choke me
33370 #endif
33371
33372 int
33373 main ()
33374 {
33375 return connect ();
33376 ;
33377 return 0;
33378 }
33379 _ACEOF
33380 rm -f conftest.$ac_objext conftest$ac_exeext
33381 if { (ac_try="$ac_link"
33382 case "(($ac_try" in
33383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33384 *) ac_try_echo=$ac_try;;
33385 esac
33386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33387 (eval "$ac_link") 2>conftest.er1
33388 ac_status=$?
33389 grep -v '^ *+' conftest.er1 >conftest.err
33390 rm -f conftest.er1
33391 cat conftest.err >&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); } && {
33394 test -z "$ac_c_werror_flag" ||
33395 test ! -s conftest.err
33396 } && test -s conftest$ac_exeext &&
33397 $as_test_x conftest$ac_exeext; then
33398 ac_cv_func_connect=yes
33399 else
33400 echo "$as_me: failed program was:" >&5
33401 sed 's/^/| /' conftest.$ac_ext >&5
33402
33403 ac_cv_func_connect=no
33404 fi
33405
33406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33407 conftest$ac_exeext conftest.$ac_ext
33408 fi
33409 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33410 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33411
33412 if test $ac_cv_func_connect = no; then
33413 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33414 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33415 if test "${ac_cv_lib_socket_connect+set}" = set; then
33416 echo $ECHO_N "(cached) $ECHO_C" >&6
33417 else
33418 ac_check_lib_save_LIBS=$LIBS
33419 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33420 cat >conftest.$ac_ext <<_ACEOF
33421 /* confdefs.h. */
33422 _ACEOF
33423 cat confdefs.h >>conftest.$ac_ext
33424 cat >>conftest.$ac_ext <<_ACEOF
33425 /* end confdefs.h. */
33426
33427 /* Override any GCC internal prototype to avoid an error.
33428 Use char because int might match the return type of a GCC
33429 builtin and then its argument prototype would still apply. */
33430 #ifdef __cplusplus
33431 extern "C"
33432 #endif
33433 char connect ();
33434 int
33435 main ()
33436 {
33437 return connect ();
33438 ;
33439 return 0;
33440 }
33441 _ACEOF
33442 rm -f conftest.$ac_objext conftest$ac_exeext
33443 if { (ac_try="$ac_link"
33444 case "(($ac_try" in
33445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33446 *) ac_try_echo=$ac_try;;
33447 esac
33448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33449 (eval "$ac_link") 2>conftest.er1
33450 ac_status=$?
33451 grep -v '^ *+' conftest.er1 >conftest.err
33452 rm -f conftest.er1
33453 cat conftest.err >&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); } && {
33456 test -z "$ac_c_werror_flag" ||
33457 test ! -s conftest.err
33458 } && test -s conftest$ac_exeext &&
33459 $as_test_x conftest$ac_exeext; then
33460 ac_cv_lib_socket_connect=yes
33461 else
33462 echo "$as_me: failed program was:" >&5
33463 sed 's/^/| /' conftest.$ac_ext >&5
33464
33465 ac_cv_lib_socket_connect=no
33466 fi
33467
33468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33469 conftest$ac_exeext conftest.$ac_ext
33470 LIBS=$ac_check_lib_save_LIBS
33471 fi
33472 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33473 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33474 if test $ac_cv_lib_socket_connect = yes; then
33475 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33476 fi
33477
33478 fi
33479
33480 # Guillermo Gomez says -lposix is necessary on A/UX.
33481 { echo "$as_me:$LINENO: checking for remove" >&5
33482 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33483 if test "${ac_cv_func_remove+set}" = set; then
33484 echo $ECHO_N "(cached) $ECHO_C" >&6
33485 else
33486 cat >conftest.$ac_ext <<_ACEOF
33487 /* confdefs.h. */
33488 _ACEOF
33489 cat confdefs.h >>conftest.$ac_ext
33490 cat >>conftest.$ac_ext <<_ACEOF
33491 /* end confdefs.h. */
33492 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33494 #define remove innocuous_remove
33495
33496 /* System header to define __stub macros and hopefully few prototypes,
33497 which can conflict with char remove (); below.
33498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33499 <limits.h> exists even on freestanding compilers. */
33500
33501 #ifdef __STDC__
33502 # include <limits.h>
33503 #else
33504 # include <assert.h>
33505 #endif
33506
33507 #undef remove
33508
33509 /* Override any GCC internal prototype to avoid an error.
33510 Use char because int might match the return type of a GCC
33511 builtin and then its argument prototype would still apply. */
33512 #ifdef __cplusplus
33513 extern "C"
33514 #endif
33515 char remove ();
33516 /* The GNU C library defines this for functions which it implements
33517 to always fail with ENOSYS. Some functions are actually named
33518 something starting with __ and the normal name is an alias. */
33519 #if defined __stub_remove || defined __stub___remove
33520 choke me
33521 #endif
33522
33523 int
33524 main ()
33525 {
33526 return remove ();
33527 ;
33528 return 0;
33529 }
33530 _ACEOF
33531 rm -f conftest.$ac_objext conftest$ac_exeext
33532 if { (ac_try="$ac_link"
33533 case "(($ac_try" in
33534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33535 *) ac_try_echo=$ac_try;;
33536 esac
33537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33538 (eval "$ac_link") 2>conftest.er1
33539 ac_status=$?
33540 grep -v '^ *+' conftest.er1 >conftest.err
33541 rm -f conftest.er1
33542 cat conftest.err >&5
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); } && {
33545 test -z "$ac_c_werror_flag" ||
33546 test ! -s conftest.err
33547 } && test -s conftest$ac_exeext &&
33548 $as_test_x conftest$ac_exeext; then
33549 ac_cv_func_remove=yes
33550 else
33551 echo "$as_me: failed program was:" >&5
33552 sed 's/^/| /' conftest.$ac_ext >&5
33553
33554 ac_cv_func_remove=no
33555 fi
33556
33557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33558 conftest$ac_exeext conftest.$ac_ext
33559 fi
33560 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33561 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33562
33563 if test $ac_cv_func_remove = no; then
33564 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33565 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33566 if test "${ac_cv_lib_posix_remove+set}" = set; then
33567 echo $ECHO_N "(cached) $ECHO_C" >&6
33568 else
33569 ac_check_lib_save_LIBS=$LIBS
33570 LIBS="-lposix $LIBS"
33571 cat >conftest.$ac_ext <<_ACEOF
33572 /* confdefs.h. */
33573 _ACEOF
33574 cat confdefs.h >>conftest.$ac_ext
33575 cat >>conftest.$ac_ext <<_ACEOF
33576 /* end confdefs.h. */
33577
33578 /* Override any GCC internal prototype to avoid an error.
33579 Use char because int might match the return type of a GCC
33580 builtin and then its argument prototype would still apply. */
33581 #ifdef __cplusplus
33582 extern "C"
33583 #endif
33584 char remove ();
33585 int
33586 main ()
33587 {
33588 return remove ();
33589 ;
33590 return 0;
33591 }
33592 _ACEOF
33593 rm -f conftest.$ac_objext conftest$ac_exeext
33594 if { (ac_try="$ac_link"
33595 case "(($ac_try" in
33596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33597 *) ac_try_echo=$ac_try;;
33598 esac
33599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33600 (eval "$ac_link") 2>conftest.er1
33601 ac_status=$?
33602 grep -v '^ *+' conftest.er1 >conftest.err
33603 rm -f conftest.er1
33604 cat conftest.err >&5
33605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606 (exit $ac_status); } && {
33607 test -z "$ac_c_werror_flag" ||
33608 test ! -s conftest.err
33609 } && test -s conftest$ac_exeext &&
33610 $as_test_x conftest$ac_exeext; then
33611 ac_cv_lib_posix_remove=yes
33612 else
33613 echo "$as_me: failed program was:" >&5
33614 sed 's/^/| /' conftest.$ac_ext >&5
33615
33616 ac_cv_lib_posix_remove=no
33617 fi
33618
33619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33620 conftest$ac_exeext conftest.$ac_ext
33621 LIBS=$ac_check_lib_save_LIBS
33622 fi
33623 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33624 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33625 if test $ac_cv_lib_posix_remove = yes; then
33626 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33627 fi
33628
33629 fi
33630
33631 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33632 { echo "$as_me:$LINENO: checking for shmat" >&5
33633 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33634 if test "${ac_cv_func_shmat+set}" = set; then
33635 echo $ECHO_N "(cached) $ECHO_C" >&6
33636 else
33637 cat >conftest.$ac_ext <<_ACEOF
33638 /* confdefs.h. */
33639 _ACEOF
33640 cat confdefs.h >>conftest.$ac_ext
33641 cat >>conftest.$ac_ext <<_ACEOF
33642 /* end confdefs.h. */
33643 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33645 #define shmat innocuous_shmat
33646
33647 /* System header to define __stub macros and hopefully few prototypes,
33648 which can conflict with char shmat (); below.
33649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33650 <limits.h> exists even on freestanding compilers. */
33651
33652 #ifdef __STDC__
33653 # include <limits.h>
33654 #else
33655 # include <assert.h>
33656 #endif
33657
33658 #undef shmat
33659
33660 /* Override any GCC internal prototype to avoid an error.
33661 Use char because int might match the return type of a GCC
33662 builtin and then its argument prototype would still apply. */
33663 #ifdef __cplusplus
33664 extern "C"
33665 #endif
33666 char shmat ();
33667 /* The GNU C library defines this for functions which it implements
33668 to always fail with ENOSYS. Some functions are actually named
33669 something starting with __ and the normal name is an alias. */
33670 #if defined __stub_shmat || defined __stub___shmat
33671 choke me
33672 #endif
33673
33674 int
33675 main ()
33676 {
33677 return shmat ();
33678 ;
33679 return 0;
33680 }
33681 _ACEOF
33682 rm -f conftest.$ac_objext conftest$ac_exeext
33683 if { (ac_try="$ac_link"
33684 case "(($ac_try" in
33685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33686 *) ac_try_echo=$ac_try;;
33687 esac
33688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33689 (eval "$ac_link") 2>conftest.er1
33690 ac_status=$?
33691 grep -v '^ *+' conftest.er1 >conftest.err
33692 rm -f conftest.er1
33693 cat conftest.err >&5
33694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695 (exit $ac_status); } && {
33696 test -z "$ac_c_werror_flag" ||
33697 test ! -s conftest.err
33698 } && test -s conftest$ac_exeext &&
33699 $as_test_x conftest$ac_exeext; then
33700 ac_cv_func_shmat=yes
33701 else
33702 echo "$as_me: failed program was:" >&5
33703 sed 's/^/| /' conftest.$ac_ext >&5
33704
33705 ac_cv_func_shmat=no
33706 fi
33707
33708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33709 conftest$ac_exeext conftest.$ac_ext
33710 fi
33711 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33712 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33713
33714 if test $ac_cv_func_shmat = no; then
33715 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33716 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33717 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33718 echo $ECHO_N "(cached) $ECHO_C" >&6
33719 else
33720 ac_check_lib_save_LIBS=$LIBS
33721 LIBS="-lipc $LIBS"
33722 cat >conftest.$ac_ext <<_ACEOF
33723 /* confdefs.h. */
33724 _ACEOF
33725 cat confdefs.h >>conftest.$ac_ext
33726 cat >>conftest.$ac_ext <<_ACEOF
33727 /* end confdefs.h. */
33728
33729 /* Override any GCC internal prototype to avoid an error.
33730 Use char because int might match the return type of a GCC
33731 builtin and then its argument prototype would still apply. */
33732 #ifdef __cplusplus
33733 extern "C"
33734 #endif
33735 char shmat ();
33736 int
33737 main ()
33738 {
33739 return shmat ();
33740 ;
33741 return 0;
33742 }
33743 _ACEOF
33744 rm -f conftest.$ac_objext conftest$ac_exeext
33745 if { (ac_try="$ac_link"
33746 case "(($ac_try" in
33747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33748 *) ac_try_echo=$ac_try;;
33749 esac
33750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33751 (eval "$ac_link") 2>conftest.er1
33752 ac_status=$?
33753 grep -v '^ *+' conftest.er1 >conftest.err
33754 rm -f conftest.er1
33755 cat conftest.err >&5
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); } && {
33758 test -z "$ac_c_werror_flag" ||
33759 test ! -s conftest.err
33760 } && test -s conftest$ac_exeext &&
33761 $as_test_x conftest$ac_exeext; then
33762 ac_cv_lib_ipc_shmat=yes
33763 else
33764 echo "$as_me: failed program was:" >&5
33765 sed 's/^/| /' conftest.$ac_ext >&5
33766
33767 ac_cv_lib_ipc_shmat=no
33768 fi
33769
33770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33771 conftest$ac_exeext conftest.$ac_ext
33772 LIBS=$ac_check_lib_save_LIBS
33773 fi
33774 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33775 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33776 if test $ac_cv_lib_ipc_shmat = yes; then
33777 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33778 fi
33779
33780 fi
33781 fi
33782
33783 # Check for libraries that X11R6 Xt/Xaw programs need.
33784 ac_save_LDFLAGS=$LDFLAGS
33785 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33786 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33787 # check for ICE first), but we must link in the order -lSM -lICE or
33788 # we get undefined symbols. So assume we have SM if we have ICE.
33789 # These have to be linked with before -lX11, unlike the other
33790 # libraries we check for below, so use a different variable.
33791 # John Interrante, Karl Berry
33792 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33793 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33794 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33795 echo $ECHO_N "(cached) $ECHO_C" >&6
33796 else
33797 ac_check_lib_save_LIBS=$LIBS
33798 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33799 cat >conftest.$ac_ext <<_ACEOF
33800 /* confdefs.h. */
33801 _ACEOF
33802 cat confdefs.h >>conftest.$ac_ext
33803 cat >>conftest.$ac_ext <<_ACEOF
33804 /* end confdefs.h. */
33805
33806 /* Override any GCC internal prototype to avoid an error.
33807 Use char because int might match the return type of a GCC
33808 builtin and then its argument prototype would still apply. */
33809 #ifdef __cplusplus
33810 extern "C"
33811 #endif
33812 char IceConnectionNumber ();
33813 int
33814 main ()
33815 {
33816 return IceConnectionNumber ();
33817 ;
33818 return 0;
33819 }
33820 _ACEOF
33821 rm -f conftest.$ac_objext conftest$ac_exeext
33822 if { (ac_try="$ac_link"
33823 case "(($ac_try" in
33824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33825 *) ac_try_echo=$ac_try;;
33826 esac
33827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33828 (eval "$ac_link") 2>conftest.er1
33829 ac_status=$?
33830 grep -v '^ *+' conftest.er1 >conftest.err
33831 rm -f conftest.er1
33832 cat conftest.err >&5
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); } && {
33835 test -z "$ac_c_werror_flag" ||
33836 test ! -s conftest.err
33837 } && test -s conftest$ac_exeext &&
33838 $as_test_x conftest$ac_exeext; then
33839 ac_cv_lib_ICE_IceConnectionNumber=yes
33840 else
33841 echo "$as_me: failed program was:" >&5
33842 sed 's/^/| /' conftest.$ac_ext >&5
33843
33844 ac_cv_lib_ICE_IceConnectionNumber=no
33845 fi
33846
33847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33848 conftest$ac_exeext conftest.$ac_ext
33849 LIBS=$ac_check_lib_save_LIBS
33850 fi
33851 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33852 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33853 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33854 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33855 fi
33856
33857 LDFLAGS=$ac_save_LDFLAGS
33858
33859 fi
33860
33861
33862 if test "$no_x" = "yes"; then
33863 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33864 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33865 { (exit 1); exit 1; }; }
33866 fi
33867
33868 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33869 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33870 AFMINSTALL=afminstall
33871 COMPILED_X_PROGRAM=0
33872
33873 fi
33874
33875 if test "$wxUSE_X11" = 1; then
33876 if test "$wxUSE_NANOX" = "yes"; then
33877 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33878 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33879 if test "x$MICROWIN" = x ; then
33880 { echo "$as_me:$LINENO: result: not found" >&5
33881 echo "${ECHO_T}not found" >&6; }
33882 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33883 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33884 { (exit 1); exit 1; }; }
33885 else
33886 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33887 echo "${ECHO_T}$MICROWIN" >&6; }
33888 cat >>confdefs.h <<\_ACEOF
33889 #define wxUSE_NANOX 1
33890 _ACEOF
33891
33892 fi
33893 fi
33894
33895 if test "$wxUSE_UNICODE" = "yes"; then
33896
33897
33898 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33899 if test -n "$ac_tool_prefix"; then
33900 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33901 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33904 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33905 echo $ECHO_N "(cached) $ECHO_C" >&6
33906 else
33907 case $PKG_CONFIG in
33908 [\\/]* | ?:[\\/]*)
33909 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33910 ;;
33911 *)
33912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33913 for as_dir in $PATH
33914 do
33915 IFS=$as_save_IFS
33916 test -z "$as_dir" && as_dir=.
33917 for ac_exec_ext in '' $ac_executable_extensions; do
33918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33919 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33921 break 2
33922 fi
33923 done
33924 done
33925 IFS=$as_save_IFS
33926
33927 ;;
33928 esac
33929 fi
33930 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33931 if test -n "$PKG_CONFIG"; then
33932 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33933 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33934 else
33935 { echo "$as_me:$LINENO: result: no" >&5
33936 echo "${ECHO_T}no" >&6; }
33937 fi
33938
33939
33940 fi
33941 if test -z "$ac_cv_path_PKG_CONFIG"; then
33942 ac_pt_PKG_CONFIG=$PKG_CONFIG
33943 # Extract the first word of "pkg-config", so it can be a program name with args.
33944 set dummy pkg-config; ac_word=$2
33945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33947 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33948 echo $ECHO_N "(cached) $ECHO_C" >&6
33949 else
33950 case $ac_pt_PKG_CONFIG in
33951 [\\/]* | ?:[\\/]*)
33952 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33953 ;;
33954 *)
33955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33956 for as_dir in $PATH
33957 do
33958 IFS=$as_save_IFS
33959 test -z "$as_dir" && as_dir=.
33960 for ac_exec_ext in '' $ac_executable_extensions; do
33961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33962 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33964 break 2
33965 fi
33966 done
33967 done
33968 IFS=$as_save_IFS
33969
33970 ;;
33971 esac
33972 fi
33973 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33974 if test -n "$ac_pt_PKG_CONFIG"; then
33975 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33976 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33977 else
33978 { echo "$as_me:$LINENO: result: no" >&5
33979 echo "${ECHO_T}no" >&6; }
33980 fi
33981
33982 if test "x$ac_pt_PKG_CONFIG" = x; then
33983 PKG_CONFIG=""
33984 else
33985 case $cross_compiling:$ac_tool_warned in
33986 yes:)
33987 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33988 whose name does not start with the host triplet. If you think this
33989 configuration is useful to you, please write to autoconf@gnu.org." >&5
33990 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33991 whose name does not start with the host triplet. If you think this
33992 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33993 ac_tool_warned=yes ;;
33994 esac
33995 PKG_CONFIG=$ac_pt_PKG_CONFIG
33996 fi
33997 else
33998 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33999 fi
34000
34001 fi
34002 if test -n "$PKG_CONFIG"; then
34003 _pkg_min_version=0.9.0
34004 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34005 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34006 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34007 { echo "$as_me:$LINENO: result: yes" >&5
34008 echo "${ECHO_T}yes" >&6; }
34009 else
34010 { echo "$as_me:$LINENO: result: no" >&5
34011 echo "${ECHO_T}no" >&6; }
34012 PKG_CONFIG=""
34013 fi
34014
34015 fi
34016
34017
34018 pkg_failed=no
34019 { echo "$as_me:$LINENO: checking for PANGOX" >&5
34020 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
34021
34022 if test -n "$PKG_CONFIG"; then
34023 if test -n "$PANGOX_CFLAGS"; then
34024 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
34025 else
34026 if test -n "$PKG_CONFIG" && \
34027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34028 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34029 ac_status=$?
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); }; then
34032 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
34033 else
34034 pkg_failed=yes
34035 fi
34036 fi
34037 else
34038 pkg_failed=untried
34039 fi
34040 if test -n "$PKG_CONFIG"; then
34041 if test -n "$PANGOX_LIBS"; then
34042 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
34043 else
34044 if test -n "$PKG_CONFIG" && \
34045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34046 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34047 ac_status=$?
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); }; then
34050 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
34051 else
34052 pkg_failed=yes
34053 fi
34054 fi
34055 else
34056 pkg_failed=untried
34057 fi
34058
34059
34060
34061 if test $pkg_failed = yes; then
34062
34063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34064 _pkg_short_errors_supported=yes
34065 else
34066 _pkg_short_errors_supported=no
34067 fi
34068 if test $_pkg_short_errors_supported = yes; then
34069 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34070 else
34071 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34072 fi
34073 # Put the nasty error message in config.log where it belongs
34074 echo "$PANGOX_PKG_ERRORS" >&5
34075
34076
34077 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34078 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34079 { (exit 1); exit 1; }; }
34080
34081
34082 elif test $pkg_failed = untried; then
34083
34084 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34085 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34086 { (exit 1); exit 1; }; }
34087
34088
34089 else
34090 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
34091 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
34092 { echo "$as_me:$LINENO: result: yes" >&5
34093 echo "${ECHO_T}yes" >&6; }
34094
34095 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
34096 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
34097 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
34098
34099 fi
34100
34101 pkg_failed=no
34102 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34103 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34104
34105 if test -n "$PKG_CONFIG"; then
34106 if test -n "$PANGOFT2_CFLAGS"; then
34107 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
34108 else
34109 if test -n "$PKG_CONFIG" && \
34110 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34111 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34112 ac_status=$?
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; then
34115 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34116 else
34117 pkg_failed=yes
34118 fi
34119 fi
34120 else
34121 pkg_failed=untried
34122 fi
34123 if test -n "$PKG_CONFIG"; then
34124 if test -n "$PANGOFT2_LIBS"; then
34125 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
34126 else
34127 if test -n "$PKG_CONFIG" && \
34128 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34129 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34130 ac_status=$?
34131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34132 (exit $ac_status); }; then
34133 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34134 else
34135 pkg_failed=yes
34136 fi
34137 fi
34138 else
34139 pkg_failed=untried
34140 fi
34141
34142
34143
34144 if test $pkg_failed = yes; then
34145
34146 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34147 _pkg_short_errors_supported=yes
34148 else
34149 _pkg_short_errors_supported=no
34150 fi
34151 if test $_pkg_short_errors_supported = yes; then
34152 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34153 else
34154 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34155 fi
34156 # Put the nasty error message in config.log where it belongs
34157 echo "$PANGOFT2_PKG_ERRORS" >&5
34158
34159
34160 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34161 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34162 wxUSE_PRINTING_ARCHITECTURE="no"
34163
34164
34165 elif test $pkg_failed = untried; then
34166
34167 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34168 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34169 wxUSE_PRINTING_ARCHITECTURE="no"
34170
34171
34172 else
34173 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34174 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34175 { echo "$as_me:$LINENO: result: yes" >&5
34176 echo "${ECHO_T}yes" >&6; }
34177
34178 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34179 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34180 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34181
34182 fi
34183
34184 pkg_failed=no
34185 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34186 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34187
34188 if test -n "$PKG_CONFIG"; then
34189 if test -n "$PANGOXFT_CFLAGS"; then
34190 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34191 else
34192 if test -n "$PKG_CONFIG" && \
34193 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34194 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34195 ac_status=$?
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); }; then
34198 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34199 else
34200 pkg_failed=yes
34201 fi
34202 fi
34203 else
34204 pkg_failed=untried
34205 fi
34206 if test -n "$PKG_CONFIG"; then
34207 if test -n "$PANGOXFT_LIBS"; then
34208 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34209 else
34210 if test -n "$PKG_CONFIG" && \
34211 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34212 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34213 ac_status=$?
34214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34215 (exit $ac_status); }; then
34216 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34217 else
34218 pkg_failed=yes
34219 fi
34220 fi
34221 else
34222 pkg_failed=untried
34223 fi
34224
34225
34226
34227 if test $pkg_failed = yes; then
34228
34229 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34230 _pkg_short_errors_supported=yes
34231 else
34232 _pkg_short_errors_supported=no
34233 fi
34234 if test $_pkg_short_errors_supported = yes; then
34235 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34236 else
34237 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34238 fi
34239 # Put the nasty error message in config.log where it belongs
34240 echo "$PANGOXFT_PKG_ERRORS" >&5
34241
34242
34243 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34244 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34245
34246
34247 elif test $pkg_failed = untried; then
34248
34249 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34250 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34251
34252
34253 else
34254 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34255 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34256 { echo "$as_me:$LINENO: result: yes" >&5
34257 echo "${ECHO_T}yes" >&6; }
34258
34259 cat >>confdefs.h <<\_ACEOF
34260 #define HAVE_PANGO_XFT 1
34261 _ACEOF
34262
34263 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34264 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34265 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34266
34267 fi
34268 save_LIBS="$LIBS"
34269 LIBS="$LIBS $PANGOX_LIBS"
34270
34271 for ac_func in pango_font_family_is_monospace
34272 do
34273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34274 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34276 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34277 echo $ECHO_N "(cached) $ECHO_C" >&6
34278 else
34279 cat >conftest.$ac_ext <<_ACEOF
34280 /* confdefs.h. */
34281 _ACEOF
34282 cat confdefs.h >>conftest.$ac_ext
34283 cat >>conftest.$ac_ext <<_ACEOF
34284 /* end confdefs.h. */
34285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34287 #define $ac_func innocuous_$ac_func
34288
34289 /* System header to define __stub macros and hopefully few prototypes,
34290 which can conflict with char $ac_func (); below.
34291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34292 <limits.h> exists even on freestanding compilers. */
34293
34294 #ifdef __STDC__
34295 # include <limits.h>
34296 #else
34297 # include <assert.h>
34298 #endif
34299
34300 #undef $ac_func
34301
34302 /* Override any GCC internal prototype to avoid an error.
34303 Use char because int might match the return type of a GCC
34304 builtin and then its argument prototype would still apply. */
34305 #ifdef __cplusplus
34306 extern "C"
34307 #endif
34308 char $ac_func ();
34309 /* The GNU C library defines this for functions which it implements
34310 to always fail with ENOSYS. Some functions are actually named
34311 something starting with __ and the normal name is an alias. */
34312 #if defined __stub_$ac_func || defined __stub___$ac_func
34313 choke me
34314 #endif
34315
34316 int
34317 main ()
34318 {
34319 return $ac_func ();
34320 ;
34321 return 0;
34322 }
34323 _ACEOF
34324 rm -f conftest.$ac_objext conftest$ac_exeext
34325 if { (ac_try="$ac_link"
34326 case "(($ac_try" in
34327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34328 *) ac_try_echo=$ac_try;;
34329 esac
34330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34331 (eval "$ac_link") 2>conftest.er1
34332 ac_status=$?
34333 grep -v '^ *+' conftest.er1 >conftest.err
34334 rm -f conftest.er1
34335 cat conftest.err >&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); } && {
34338 test -z "$ac_c_werror_flag" ||
34339 test ! -s conftest.err
34340 } && test -s conftest$ac_exeext &&
34341 $as_test_x conftest$ac_exeext; then
34342 eval "$as_ac_var=yes"
34343 else
34344 echo "$as_me: failed program was:" >&5
34345 sed 's/^/| /' conftest.$ac_ext >&5
34346
34347 eval "$as_ac_var=no"
34348 fi
34349
34350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34351 conftest$ac_exeext conftest.$ac_ext
34352 fi
34353 ac_res=`eval echo '${'$as_ac_var'}'`
34354 { echo "$as_me:$LINENO: result: $ac_res" >&5
34355 echo "${ECHO_T}$ac_res" >&6; }
34356 if test `eval echo '${'$as_ac_var'}'` = yes; then
34357 cat >>confdefs.h <<_ACEOF
34358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34359 _ACEOF
34360
34361 fi
34362 done
34363
34364 LIBS="$save_LIBS"
34365 fi
34366
34367 wxUSE_UNIVERSAL="yes"
34368
34369 if test "$wxUSE_NANOX" = "yes"; then
34370 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34371 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"
34372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34373 else
34374 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34375 fi
34376
34377 TOOLKIT=X11
34378 GUIDIST=X11_DIST
34379 fi
34380
34381 if test "$wxUSE_MOTIF" = 1; then
34382 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34383 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34384
34385 ac_find_includes=
34386 for ac_dir in $SEARCH_INCLUDE /usr/include;
34387 do
34388 if test -f "$ac_dir/Xm/Xm.h"; then
34389 ac_find_includes=$ac_dir
34390 break
34391 fi
34392 done
34393
34394 if test "$ac_find_includes" != "" ; then
34395 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34396 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34397
34398 if test "x$ac_find_includes" = "x/usr/include"; then
34399 ac_path_to_include=""
34400 else
34401 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34402 result=$?
34403 if test $result = 0; then
34404 ac_path_to_include=""
34405 else
34406 ac_path_to_include=" -I$ac_find_includes"
34407 fi
34408 fi
34409
34410 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34411 else
34412 save_CFLAGS=$CFLAGS
34413 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34414
34415 cat >conftest.$ac_ext <<_ACEOF
34416 /* confdefs.h. */
34417 _ACEOF
34418 cat confdefs.h >>conftest.$ac_ext
34419 cat >>conftest.$ac_ext <<_ACEOF
34420 /* end confdefs.h. */
34421
34422 #include <Xm/Xm.h>
34423
34424 int
34425 main ()
34426 {
34427
34428 int version;
34429 version = xmUseVersion;
34430
34431 ;
34432 return 0;
34433 }
34434 _ACEOF
34435 rm -f conftest.$ac_objext
34436 if { (ac_try="$ac_compile"
34437 case "(($ac_try" in
34438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34439 *) ac_try_echo=$ac_try;;
34440 esac
34441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34442 (eval "$ac_compile") 2>conftest.er1
34443 ac_status=$?
34444 grep -v '^ *+' conftest.er1 >conftest.err
34445 rm -f conftest.er1
34446 cat conftest.err >&5
34447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34448 (exit $ac_status); } && {
34449 test -z "$ac_c_werror_flag" ||
34450 test ! -s conftest.err
34451 } && test -s conftest.$ac_objext; then
34452
34453 { echo "$as_me:$LINENO: result: found in default search path" >&5
34454 echo "${ECHO_T}found in default search path" >&6; }
34455 COMPILED_X_PROGRAM=1
34456
34457 else
34458 echo "$as_me: failed program was:" >&5
34459 sed 's/^/| /' conftest.$ac_ext >&5
34460
34461
34462 { echo "$as_me:$LINENO: result: no" >&5
34463 echo "${ECHO_T}no" >&6; }
34464 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34465 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34466 { (exit 1); exit 1; }; }
34467
34468
34469 fi
34470
34471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34472
34473 CFLAGS=$save_CFLAGS
34474 fi
34475
34476
34477 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34478 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34479
34480 ac_find_libraries=
34481 for ac_dir in $SEARCH_LIB;
34482 do
34483 for ac_extension in a so sl dylib dll.a; do
34484 if test -f "$ac_dir/libXm.$ac_extension"; then
34485 ac_find_libraries=$ac_dir
34486 break 2
34487 fi
34488 done
34489 done
34490
34491
34492 if test "x$ac_find_libraries" != "x" ; then
34493 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34494 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34495
34496
34497 if test "$ac_find_libraries" = "default location"; then
34498 ac_path_to_link=""
34499 else
34500 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34501 result=$?
34502 if test $result = 0; then
34503 ac_path_to_link=""
34504 else
34505 ac_path_to_link=" -L$ac_find_libraries"
34506 fi
34507 fi
34508
34509 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34510 else
34511 save_CFLAGS=$CFLAGS
34512 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34513 save_LIBS="$LIBS"
34514 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34515
34516 cat >conftest.$ac_ext <<_ACEOF
34517 /* confdefs.h. */
34518 _ACEOF
34519 cat confdefs.h >>conftest.$ac_ext
34520 cat >>conftest.$ac_ext <<_ACEOF
34521 /* end confdefs.h. */
34522
34523 #include <Xm/Xm.h>
34524
34525 int
34526 main ()
34527 {
34528
34529 int version;
34530 version = xmUseVersion;
34531
34532 ;
34533 return 0;
34534 }
34535 _ACEOF
34536 rm -f conftest.$ac_objext conftest$ac_exeext
34537 if { (ac_try="$ac_link"
34538 case "(($ac_try" in
34539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34540 *) ac_try_echo=$ac_try;;
34541 esac
34542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34543 (eval "$ac_link") 2>conftest.er1
34544 ac_status=$?
34545 grep -v '^ *+' conftest.er1 >conftest.err
34546 rm -f conftest.er1
34547 cat conftest.err >&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } && {
34550 test -z "$ac_c_werror_flag" ||
34551 test ! -s conftest.err
34552 } && test -s conftest$ac_exeext &&
34553 $as_test_x conftest$ac_exeext; then
34554
34555 { echo "$as_me:$LINENO: result: found in default search path" >&5
34556 echo "${ECHO_T}found in default search path" >&6; }
34557 COMPILED_X_PROGRAM=1
34558
34559 else
34560 echo "$as_me: failed program was:" >&5
34561 sed 's/^/| /' conftest.$ac_ext >&5
34562
34563
34564 { echo "$as_me:$LINENO: result: no" >&5
34565 echo "${ECHO_T}no" >&6; }
34566 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34567 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34568 { (exit 1); exit 1; }; }
34569
34570
34571 fi
34572
34573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34574 conftest$ac_exeext conftest.$ac_ext
34575
34576 CFLAGS=$save_CFLAGS
34577 LIBS="$save_LIBS"
34578 fi
34579
34580 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34581 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34582 libp_link=""
34583 libsm_ice_link=""
34584 libs_found=0
34585 for libp in "" " -lXp"; do
34586 if test "$libs_found" = "0"; then
34587 for libsm_ice in "" " -lSM -lICE"; do
34588 if test "$libs_found" = "0"; then
34589 save_LIBS="$LIBS"
34590 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34591 save_CFLAGS=$CFLAGS
34592 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34593
34594 cat >conftest.$ac_ext <<_ACEOF
34595 /* confdefs.h. */
34596 _ACEOF
34597 cat confdefs.h >>conftest.$ac_ext
34598 cat >>conftest.$ac_ext <<_ACEOF
34599 /* end confdefs.h. */
34600
34601 #include <Xm/Xm.h>
34602 #include <Xm/List.h>
34603
34604 int
34605 main ()
34606 {
34607
34608 XmString string = NULL;
34609 Widget w = NULL;
34610 int position = 0;
34611 XmListAddItem(w, string, position);
34612
34613 ;
34614 return 0;
34615 }
34616 _ACEOF
34617 rm -f conftest.$ac_objext conftest$ac_exeext
34618 if { (ac_try="$ac_link"
34619 case "(($ac_try" in
34620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34621 *) ac_try_echo=$ac_try;;
34622 esac
34623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34624 (eval "$ac_link") 2>conftest.er1
34625 ac_status=$?
34626 grep -v '^ *+' conftest.er1 >conftest.err
34627 rm -f conftest.er1
34628 cat conftest.err >&5
34629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630 (exit $ac_status); } && {
34631 test -z "$ac_c_werror_flag" ||
34632 test ! -s conftest.err
34633 } && test -s conftest$ac_exeext &&
34634 $as_test_x conftest$ac_exeext; then
34635
34636 libp_link="$libp"
34637 libsm_ice_link="$libsm_ice"
34638 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34639 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34640 libs_found=1
34641
34642 else
34643 echo "$as_me: failed program was:" >&5
34644 sed 's/^/| /' conftest.$ac_ext >&5
34645
34646
34647
34648 fi
34649
34650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34651 conftest$ac_exeext conftest.$ac_ext
34652
34653 LIBS="$save_LIBS"
34654 CFLAGS=$save_CFLAGS
34655 fi
34656 done
34657 fi
34658 done
34659
34660 if test "$libs_found" = "0"; then
34661 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34662 echo "${ECHO_T}can't find the right libraries" >&6; }
34663 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34664 echo "$as_me: error: can't link a simple motif program" >&2;}
34665 { (exit 1); exit 1; }; }
34666 fi
34667
34668 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34669 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34670 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34671 echo $ECHO_N "(cached) $ECHO_C" >&6
34672 else
34673 ac_check_lib_save_LIBS=$LIBS
34674 LIBS="-lSgm $LIBS"
34675 cat >conftest.$ac_ext <<_ACEOF
34676 /* confdefs.h. */
34677 _ACEOF
34678 cat confdefs.h >>conftest.$ac_ext
34679 cat >>conftest.$ac_ext <<_ACEOF
34680 /* end confdefs.h. */
34681
34682 /* Override any GCC internal prototype to avoid an error.
34683 Use char because int might match the return type of a GCC
34684 builtin and then its argument prototype would still apply. */
34685 #ifdef __cplusplus
34686 extern "C"
34687 #endif
34688 char SgCreateList ();
34689 int
34690 main ()
34691 {
34692 return SgCreateList ();
34693 ;
34694 return 0;
34695 }
34696 _ACEOF
34697 rm -f conftest.$ac_objext conftest$ac_exeext
34698 if { (ac_try="$ac_link"
34699 case "(($ac_try" in
34700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34701 *) ac_try_echo=$ac_try;;
34702 esac
34703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34704 (eval "$ac_link") 2>conftest.er1
34705 ac_status=$?
34706 grep -v '^ *+' conftest.er1 >conftest.err
34707 rm -f conftest.er1
34708 cat conftest.err >&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); } && {
34711 test -z "$ac_c_werror_flag" ||
34712 test ! -s conftest.err
34713 } && test -s conftest$ac_exeext &&
34714 $as_test_x conftest$ac_exeext; then
34715 ac_cv_lib_Sgm_SgCreateList=yes
34716 else
34717 echo "$as_me: failed program was:" >&5
34718 sed 's/^/| /' conftest.$ac_ext >&5
34719
34720 ac_cv_lib_Sgm_SgCreateList=no
34721 fi
34722
34723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34724 conftest$ac_exeext conftest.$ac_ext
34725 LIBS=$ac_check_lib_save_LIBS
34726 fi
34727 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34728 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34729 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34730 libsgm_link=" -lSgm"
34731 fi
34732
34733
34734 save_CFLAGS=$CFLAGS
34735 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34736
34737 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34738 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34739 if test "${wx_cv_lib_motif2+set}" = set; then
34740 echo $ECHO_N "(cached) $ECHO_C" >&6
34741 else
34742 cat >conftest.$ac_ext <<_ACEOF
34743 /* confdefs.h. */
34744 _ACEOF
34745 cat confdefs.h >>conftest.$ac_ext
34746 cat >>conftest.$ac_ext <<_ACEOF
34747 /* end confdefs.h. */
34748
34749 #include <Xm/Xm.h>
34750
34751 int
34752 main ()
34753 {
34754
34755 #if XmVersion < 2000
34756 Not Motif 2
34757 #endif
34758
34759 ;
34760 return 0;
34761 }
34762 _ACEOF
34763 rm -f conftest.$ac_objext
34764 if { (ac_try="$ac_compile"
34765 case "(($ac_try" in
34766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34767 *) ac_try_echo=$ac_try;;
34768 esac
34769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34770 (eval "$ac_compile") 2>conftest.er1
34771 ac_status=$?
34772 grep -v '^ *+' conftest.er1 >conftest.err
34773 rm -f conftest.er1
34774 cat conftest.err >&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); } && {
34777 test -z "$ac_c_werror_flag" ||
34778 test ! -s conftest.err
34779 } && test -s conftest.$ac_objext; then
34780 wx_cv_lib_motif2="yes"
34781 else
34782 echo "$as_me: failed program was:" >&5
34783 sed 's/^/| /' conftest.$ac_ext >&5
34784
34785 wx_cv_lib_motif2="no"
34786 fi
34787
34788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34789 fi
34790 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34791 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34792 if test "$wx_cv_lib_motif2" = "yes"; then
34793 cat >>confdefs.h <<\_ACEOF
34794 #define __WXMOTIF20__ 1
34795 _ACEOF
34796
34797 else
34798 cat >>confdefs.h <<\_ACEOF
34799 #define __WXMOTIF20__ 0
34800 _ACEOF
34801
34802 fi
34803
34804 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34805 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34806 if test "${wx_cv_lib_lesstif+set}" = set; then
34807 echo $ECHO_N "(cached) $ECHO_C" >&6
34808 else
34809 cat >conftest.$ac_ext <<_ACEOF
34810 /* confdefs.h. */
34811 _ACEOF
34812 cat confdefs.h >>conftest.$ac_ext
34813 cat >>conftest.$ac_ext <<_ACEOF
34814 /* end confdefs.h. */
34815
34816 #include <Xm/Xm.h>
34817
34818 int
34819 main ()
34820 {
34821
34822 #if !defined(LesstifVersion) || LesstifVersion <= 0
34823 Not Lesstif
34824 #endif
34825
34826 ;
34827 return 0;
34828 }
34829 _ACEOF
34830 rm -f conftest.$ac_objext
34831 if { (ac_try="$ac_compile"
34832 case "(($ac_try" in
34833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34834 *) ac_try_echo=$ac_try;;
34835 esac
34836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34837 (eval "$ac_compile") 2>conftest.er1
34838 ac_status=$?
34839 grep -v '^ *+' conftest.er1 >conftest.err
34840 rm -f conftest.er1
34841 cat conftest.err >&5
34842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34843 (exit $ac_status); } && {
34844 test -z "$ac_c_werror_flag" ||
34845 test ! -s conftest.err
34846 } && test -s conftest.$ac_objext; then
34847 wx_cv_lib_lesstif="yes"
34848 else
34849 echo "$as_me: failed program was:" >&5
34850 sed 's/^/| /' conftest.$ac_ext >&5
34851
34852 wx_cv_lib_lesstif="no"
34853 fi
34854
34855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34856
34857 fi
34858 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34859 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34860 if test "$wx_cv_lib_lesstif" = "yes"; then
34861 cat >>confdefs.h <<\_ACEOF
34862 #define __WXLESSTIF__ 1
34863 _ACEOF
34864
34865 else
34866 cat >>confdefs.h <<\_ACEOF
34867 #define __WXLESSTIF__ 0
34868 _ACEOF
34869
34870 fi
34871
34872 CFLAGS=$save_CFLAGS
34873
34874 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34875 TOOLKIT=MOTIF
34876 GUIDIST=MOTIF_DIST
34877 fi
34878
34879 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34880 if test "$wxUSE_LIBXPM" = "sys"; then
34881 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34882 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34883
34884 ac_find_libraries=
34885 for ac_dir in $SEARCH_LIB;
34886 do
34887 for ac_extension in a so sl dylib dll.a; do
34888 if test -f "$ac_dir/libXpm.$ac_extension"; then
34889 ac_find_libraries=$ac_dir
34890 break 2
34891 fi
34892 done
34893 done
34894
34895 if test "$ac_find_libraries" != "" ; then
34896
34897 if test "$ac_find_libraries" = "default location"; then
34898 ac_path_to_link=""
34899 else
34900 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34901 result=$?
34902 if test $result = 0; then
34903 ac_path_to_link=""
34904 else
34905 ac_path_to_link=" -L$ac_find_libraries"
34906 fi
34907 fi
34908
34909 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34910 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34911 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34912
34913 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34914 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34915 if test "${wx_cv_x11_xpm_h+set}" = set; then
34916 echo $ECHO_N "(cached) $ECHO_C" >&6
34917 else
34918
34919 save_CFLAGS=$CFLAGS
34920 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34921
34922 cat >conftest.$ac_ext <<_ACEOF
34923 /* confdefs.h. */
34924 _ACEOF
34925 cat confdefs.h >>conftest.$ac_ext
34926 cat >>conftest.$ac_ext <<_ACEOF
34927 /* end confdefs.h. */
34928
34929 #include <X11/xpm.h>
34930
34931 int
34932 main ()
34933 {
34934
34935 int version;
34936 version = XpmLibraryVersion();
34937
34938 ;
34939 return 0;
34940 }
34941 _ACEOF
34942 rm -f conftest.$ac_objext
34943 if { (ac_try="$ac_compile"
34944 case "(($ac_try" in
34945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34946 *) ac_try_echo=$ac_try;;
34947 esac
34948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34949 (eval "$ac_compile") 2>conftest.er1
34950 ac_status=$?
34951 grep -v '^ *+' conftest.er1 >conftest.err
34952 rm -f conftest.er1
34953 cat conftest.err >&5
34954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955 (exit $ac_status); } && {
34956 test -z "$ac_c_werror_flag" ||
34957 test ! -s conftest.err
34958 } && test -s conftest.$ac_objext; then
34959 wx_cv_x11_xpm_h=yes
34960 else
34961 echo "$as_me: failed program was:" >&5
34962 sed 's/^/| /' conftest.$ac_ext >&5
34963
34964 wx_cv_x11_xpm_h=no
34965
34966 fi
34967
34968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34969
34970 CFLAGS=$save_CFLAGS
34971
34972
34973 fi
34974 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34975 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34976
34977 if test $wx_cv_x11_xpm_h = "yes"; then
34978 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34979 cat >>confdefs.h <<\_ACEOF
34980 #define wxHAVE_LIB_XPM 1
34981 _ACEOF
34982
34983 else
34984 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34985 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34986 fi
34987 fi
34988
34989 fi
34990
34991 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34992 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34993 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34994 echo $ECHO_N "(cached) $ECHO_C" >&6
34995 else
34996 ac_check_lib_save_LIBS=$LIBS
34997 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34998 cat >conftest.$ac_ext <<_ACEOF
34999 /* confdefs.h. */
35000 _ACEOF
35001 cat confdefs.h >>conftest.$ac_ext
35002 cat >>conftest.$ac_ext <<_ACEOF
35003 /* end confdefs.h. */
35004
35005 /* Override any GCC internal prototype to avoid an error.
35006 Use char because int might match the return type of a GCC
35007 builtin and then its argument prototype would still apply. */
35008 #ifdef __cplusplus
35009 extern "C"
35010 #endif
35011 char XShapeQueryExtension ();
35012 int
35013 main ()
35014 {
35015 return XShapeQueryExtension ();
35016 ;
35017 return 0;
35018 }
35019 _ACEOF
35020 rm -f conftest.$ac_objext conftest$ac_exeext
35021 if { (ac_try="$ac_link"
35022 case "(($ac_try" in
35023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35024 *) ac_try_echo=$ac_try;;
35025 esac
35026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35027 (eval "$ac_link") 2>conftest.er1
35028 ac_status=$?
35029 grep -v '^ *+' conftest.er1 >conftest.err
35030 rm -f conftest.er1
35031 cat conftest.err >&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); } && {
35034 test -z "$ac_c_werror_flag" ||
35035 test ! -s conftest.err
35036 } && test -s conftest$ac_exeext &&
35037 $as_test_x conftest$ac_exeext; then
35038 ac_cv_lib_Xext_XShapeQueryExtension=yes
35039 else
35040 echo "$as_me: failed program was:" >&5
35041 sed 's/^/| /' conftest.$ac_ext >&5
35042
35043 ac_cv_lib_Xext_XShapeQueryExtension=no
35044 fi
35045
35046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35047 conftest$ac_exeext conftest.$ac_ext
35048 LIBS=$ac_check_lib_save_LIBS
35049 fi
35050 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
35051 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
35052 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
35053
35054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
35055 wxHAVE_XEXT_LIB=1
35056
35057 fi
35058
35059
35060 if test "$wxHAVE_XEXT_LIB" = 1; then
35061 save_CFLAGS="$CFLAGS"
35062 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35063
35064 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35065 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35066 cat >conftest.$ac_ext <<_ACEOF
35067 /* confdefs.h. */
35068 _ACEOF
35069 cat confdefs.h >>conftest.$ac_ext
35070 cat >>conftest.$ac_ext <<_ACEOF
35071 /* end confdefs.h. */
35072
35073 #include <X11/Xlib.h>
35074 #include <X11/extensions/shape.h>
35075
35076 int
35077 main ()
35078 {
35079
35080 int dummy1, dummy2;
35081 XShapeQueryExtension((Display*)NULL,
35082 (int*)NULL, (int*)NULL);
35083
35084 ;
35085 return 0;
35086 }
35087 _ACEOF
35088 rm -f conftest.$ac_objext
35089 if { (ac_try="$ac_compile"
35090 case "(($ac_try" in
35091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35092 *) ac_try_echo=$ac_try;;
35093 esac
35094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35095 (eval "$ac_compile") 2>conftest.er1
35096 ac_status=$?
35097 grep -v '^ *+' conftest.er1 >conftest.err
35098 rm -f conftest.er1
35099 cat conftest.err >&5
35100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35101 (exit $ac_status); } && {
35102 test -z "$ac_c_werror_flag" ||
35103 test ! -s conftest.err
35104 } && test -s conftest.$ac_objext; then
35105
35106 cat >>confdefs.h <<\_ACEOF
35107 #define HAVE_XSHAPE 1
35108 _ACEOF
35109
35110 { echo "$as_me:$LINENO: result: found" >&5
35111 echo "${ECHO_T}found" >&6; }
35112
35113 else
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.$ac_ext >&5
35116
35117
35118 { echo "$as_me:$LINENO: result: not found" >&5
35119 echo "${ECHO_T}not found" >&6; }
35120
35121 fi
35122
35123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35124 CFLAGS="$save_CFLAGS"
35125
35126 fi
35127 fi
35128
35129 if test "$wxUSE_MAC" = 1; then
35130 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35131 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35132 if test "$GCC" = yes; then
35133 { echo "$as_me:$LINENO: result: gcc" >&5
35134 echo "${ECHO_T}gcc" >&6; }
35135 CPPFLAGS_PASCAL="-fpascal-strings"
35136 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35137 { echo "$as_me:$LINENO: result: xlc" >&5
35138 echo "${ECHO_T}xlc" >&6; }
35139 CPPFLAGS_PASCAL="-qmacpstr"
35140 else
35141 { echo "$as_me:$LINENO: result: none" >&5
35142 echo "${ECHO_T}none" >&6; }
35143 fi
35144
35145 if test "x$wxUSE_UNIX" = "xyes"; then
35146 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35147 else
35148 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35149 fi
35150
35151 TOOLKIT=MAC
35152 GUIDIST=MACX_DIST
35153 WXBASEPORT="_carbon"
35154 fi
35155
35156 if test "$wxUSE_COCOA" = 1; then
35157 TOOLKIT=COCOA
35158 GUIDIST=COCOA_DIST
35159 fi
35160
35161 if test "$wxUSE_PM" = 1; then
35162 TOOLKIT=PM
35163 GUIDIST=PM_DIST
35164 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35165 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35166 if test "${wx_cv_spbcdata+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35168 else
35169
35170 cat >conftest.$ac_ext <<_ACEOF
35171 /* confdefs.h. */
35172 _ACEOF
35173 cat confdefs.h >>conftest.$ac_ext
35174 cat >>conftest.$ac_ext <<_ACEOF
35175 /* end confdefs.h. */
35176
35177 #define INCL_PM
35178 #include <os2.h>
35179
35180 int
35181 main ()
35182 {
35183
35184 SPBCDATA test;
35185
35186 ;
35187 return 0;
35188 }
35189 _ACEOF
35190 rm -f conftest.$ac_objext
35191 if { (ac_try="$ac_compile"
35192 case "(($ac_try" in
35193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35194 *) ac_try_echo=$ac_try;;
35195 esac
35196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35197 (eval "$ac_compile") 2>conftest.er1
35198 ac_status=$?
35199 grep -v '^ *+' conftest.er1 >conftest.err
35200 rm -f conftest.er1
35201 cat conftest.err >&5
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); } && {
35204 test -z "$ac_c_werror_flag" ||
35205 test ! -s conftest.err
35206 } && test -s conftest.$ac_objext; then
35207 wx_cv_spbcdata=yes
35208 else
35209 echo "$as_me: failed program was:" >&5
35210 sed 's/^/| /' conftest.$ac_ext >&5
35211
35212 wx_cv_spbcdata=no
35213
35214 fi
35215
35216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35217
35218
35219 fi
35220 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35221 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35222
35223 if test $wx_cv_spbcdata = "yes"; then
35224 cat >>confdefs.h <<\_ACEOF
35225 #define HAVE_SPBCDATA 1
35226 _ACEOF
35227
35228 fi
35229 fi
35230
35231 if test "$TOOLKIT" = "PM" ; then
35232 TOOLKIT_DIR="os2"
35233 else
35234 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35235 fi
35236
35237 if test "$wxUSE_UNIVERSAL" = "yes"; then
35238 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35239 WIDGET_SET=univ
35240 fi
35241
35242 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35243 DISTDIR="wx\$(TOOLKIT)"
35244 else
35245 USE_GUI=0
35246
35247 TOOLKIT_DIR="base"
35248
35249 if test "$USE_WIN32" = 1 ; then
35250 TOOLKIT="MSW"
35251 fi
35252
35253 GUIDIST="BASE_DIST"
35254 DISTDIR="wxBase"
35255 fi
35256
35257
35258
35259 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35260 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35261 wxUSE_UNICODE_UTF8=yes
35262 elif test "$USE_OS2" = "1" ; then
35263 wxUSE_UNICODE_UTF8=yes
35264 else
35265 wxUSE_UNICODE_UTF8=no
35266 fi
35267 fi
35268
35269
35270 if test "$wxUSE_GUI" = "yes"; then
35271 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35272
35273 for ac_header in X11/Xlib.h
35274 do
35275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35279 echo $ECHO_N "(cached) $ECHO_C" >&6
35280 else
35281 cat >conftest.$ac_ext <<_ACEOF
35282 /* confdefs.h. */
35283 _ACEOF
35284 cat confdefs.h >>conftest.$ac_ext
35285 cat >>conftest.$ac_ext <<_ACEOF
35286 /* end confdefs.h. */
35287
35288
35289 #include <$ac_header>
35290 _ACEOF
35291 rm -f conftest.$ac_objext
35292 if { (ac_try="$ac_compile"
35293 case "(($ac_try" in
35294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35295 *) ac_try_echo=$ac_try;;
35296 esac
35297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35298 (eval "$ac_compile") 2>conftest.er1
35299 ac_status=$?
35300 grep -v '^ *+' conftest.er1 >conftest.err
35301 rm -f conftest.er1
35302 cat conftest.err >&5
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); } && {
35305 test -z "$ac_c_werror_flag" ||
35306 test ! -s conftest.err
35307 } && test -s conftest.$ac_objext; then
35308 eval "$as_ac_Header=yes"
35309 else
35310 echo "$as_me: failed program was:" >&5
35311 sed 's/^/| /' conftest.$ac_ext >&5
35312
35313 eval "$as_ac_Header=no"
35314 fi
35315
35316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35317 fi
35318 ac_res=`eval echo '${'$as_ac_Header'}'`
35319 { echo "$as_me:$LINENO: result: $ac_res" >&5
35320 echo "${ECHO_T}$ac_res" >&6; }
35321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35322 cat >>confdefs.h <<_ACEOF
35323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35324 _ACEOF
35325
35326 fi
35327
35328 done
35329
35330
35331 for ac_header in X11/XKBlib.h
35332 do
35333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35337 echo $ECHO_N "(cached) $ECHO_C" >&6
35338 else
35339 cat >conftest.$ac_ext <<_ACEOF
35340 /* confdefs.h. */
35341 _ACEOF
35342 cat confdefs.h >>conftest.$ac_ext
35343 cat >>conftest.$ac_ext <<_ACEOF
35344 /* end confdefs.h. */
35345
35346 #if HAVE_X11_XLIB_H
35347 #include <X11/Xlib.h>
35348 #endif
35349
35350
35351 #include <$ac_header>
35352 _ACEOF
35353 rm -f conftest.$ac_objext
35354 if { (ac_try="$ac_compile"
35355 case "(($ac_try" in
35356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35357 *) ac_try_echo=$ac_try;;
35358 esac
35359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35360 (eval "$ac_compile") 2>conftest.er1
35361 ac_status=$?
35362 grep -v '^ *+' conftest.er1 >conftest.err
35363 rm -f conftest.er1
35364 cat conftest.err >&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); } && {
35367 test -z "$ac_c_werror_flag" ||
35368 test ! -s conftest.err
35369 } && test -s conftest.$ac_objext; then
35370 eval "$as_ac_Header=yes"
35371 else
35372 echo "$as_me: failed program was:" >&5
35373 sed 's/^/| /' conftest.$ac_ext >&5
35374
35375 eval "$as_ac_Header=no"
35376 fi
35377
35378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35379 fi
35380 ac_res=`eval echo '${'$as_ac_Header'}'`
35381 { echo "$as_me:$LINENO: result: $ac_res" >&5
35382 echo "${ECHO_T}$ac_res" >&6; }
35383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35384 cat >>confdefs.h <<_ACEOF
35385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35386 _ACEOF
35387
35388 fi
35389
35390 done
35391
35392 fi
35393 fi
35394
35395
35396
35397 IODBC_C_SRC=""
35398
35399
35400 if test "$TOOLKIT" != "MSW" ; then
35401
35402 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35403
35404 { echo "$as_me:$LINENO: checking for sql.h" >&5
35405 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35406 if test "${ac_cv_header_sql_h+set}" = set; then
35407 echo $ECHO_N "(cached) $ECHO_C" >&6
35408 else
35409 cat >conftest.$ac_ext <<_ACEOF
35410 /* confdefs.h. */
35411 _ACEOF
35412 cat confdefs.h >>conftest.$ac_ext
35413 cat >>conftest.$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35415
35416
35417 #include <sql.h>
35418 _ACEOF
35419 rm -f conftest.$ac_objext
35420 if { (ac_try="$ac_compile"
35421 case "(($ac_try" in
35422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35423 *) ac_try_echo=$ac_try;;
35424 esac
35425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35426 (eval "$ac_compile") 2>conftest.er1
35427 ac_status=$?
35428 grep -v '^ *+' conftest.er1 >conftest.err
35429 rm -f conftest.er1
35430 cat conftest.err >&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } && {
35433 test -z "$ac_c_werror_flag" ||
35434 test ! -s conftest.err
35435 } && test -s conftest.$ac_objext; then
35436 ac_cv_header_sql_h=yes
35437 else
35438 echo "$as_me: failed program was:" >&5
35439 sed 's/^/| /' conftest.$ac_ext >&5
35440
35441 ac_cv_header_sql_h=no
35442 fi
35443
35444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35445 fi
35446 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35447 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35448 if test $ac_cv_header_sql_h = yes; then
35449 found_sql_h=1
35450 fi
35451
35452
35453 if test "x$found_sql_h" = "x1" ; then
35454 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35455 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35456 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35457 echo $ECHO_N "(cached) $ECHO_C" >&6
35458 else
35459 ac_check_lib_save_LIBS=$LIBS
35460 LIBS="-liodbc $LIBS"
35461 cat >conftest.$ac_ext <<_ACEOF
35462 /* confdefs.h. */
35463 _ACEOF
35464 cat confdefs.h >>conftest.$ac_ext
35465 cat >>conftest.$ac_ext <<_ACEOF
35466 /* end confdefs.h. */
35467
35468 /* Override any GCC internal prototype to avoid an error.
35469 Use char because int might match the return type of a GCC
35470 builtin and then its argument prototype would still apply. */
35471 #ifdef __cplusplus
35472 extern "C"
35473 #endif
35474 char SQLAllocEnv ();
35475 int
35476 main ()
35477 {
35478 return SQLAllocEnv ();
35479 ;
35480 return 0;
35481 }
35482 _ACEOF
35483 rm -f conftest.$ac_objext conftest$ac_exeext
35484 if { (ac_try="$ac_link"
35485 case "(($ac_try" in
35486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35487 *) ac_try_echo=$ac_try;;
35488 esac
35489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35490 (eval "$ac_link") 2>conftest.er1
35491 ac_status=$?
35492 grep -v '^ *+' conftest.er1 >conftest.err
35493 rm -f conftest.er1
35494 cat conftest.err >&5
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); } && {
35497 test -z "$ac_c_werror_flag" ||
35498 test ! -s conftest.err
35499 } && test -s conftest$ac_exeext &&
35500 $as_test_x conftest$ac_exeext; then
35501 ac_cv_lib_iodbc_SQLAllocEnv=yes
35502 else
35503 echo "$as_me: failed program was:" >&5
35504 sed 's/^/| /' conftest.$ac_ext >&5
35505
35506 ac_cv_lib_iodbc_SQLAllocEnv=no
35507 fi
35508
35509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35510 conftest$ac_exeext conftest.$ac_ext
35511 LIBS=$ac_check_lib_save_LIBS
35512 fi
35513 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35514 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35515 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35516 ODBC_LINK=" -liodbc"
35517 else
35518
35519 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35520 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35521 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35522 echo $ECHO_N "(cached) $ECHO_C" >&6
35523 else
35524 ac_check_lib_save_LIBS=$LIBS
35525 LIBS="-lunixodbc $LIBS"
35526 cat >conftest.$ac_ext <<_ACEOF
35527 /* confdefs.h. */
35528 _ACEOF
35529 cat confdefs.h >>conftest.$ac_ext
35530 cat >>conftest.$ac_ext <<_ACEOF
35531 /* end confdefs.h. */
35532
35533 /* Override any GCC internal prototype to avoid an error.
35534 Use char because int might match the return type of a GCC
35535 builtin and then its argument prototype would still apply. */
35536 #ifdef __cplusplus
35537 extern "C"
35538 #endif
35539 char SQLAllocEnv ();
35540 int
35541 main ()
35542 {
35543 return SQLAllocEnv ();
35544 ;
35545 return 0;
35546 }
35547 _ACEOF
35548 rm -f conftest.$ac_objext conftest$ac_exeext
35549 if { (ac_try="$ac_link"
35550 case "(($ac_try" in
35551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35552 *) ac_try_echo=$ac_try;;
35553 esac
35554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35555 (eval "$ac_link") 2>conftest.er1
35556 ac_status=$?
35557 grep -v '^ *+' conftest.er1 >conftest.err
35558 rm -f conftest.er1
35559 cat conftest.err >&5
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); } && {
35562 test -z "$ac_c_werror_flag" ||
35563 test ! -s conftest.err
35564 } && test -s conftest$ac_exeext &&
35565 $as_test_x conftest$ac_exeext; then
35566 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35567 else
35568 echo "$as_me: failed program was:" >&5
35569 sed 's/^/| /' conftest.$ac_ext >&5
35570
35571 ac_cv_lib_unixodbc_SQLAllocEnv=no
35572 fi
35573
35574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35575 conftest$ac_exeext conftest.$ac_ext
35576 LIBS=$ac_check_lib_save_LIBS
35577 fi
35578 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35579 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35580 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35581 ODBC_LINK=" -lunixodbc"
35582 else
35583
35584 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35585 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35586 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35587 echo $ECHO_N "(cached) $ECHO_C" >&6
35588 else
35589 ac_check_lib_save_LIBS=$LIBS
35590 LIBS="-lodbc $LIBS"
35591 cat >conftest.$ac_ext <<_ACEOF
35592 /* confdefs.h. */
35593 _ACEOF
35594 cat confdefs.h >>conftest.$ac_ext
35595 cat >>conftest.$ac_ext <<_ACEOF
35596 /* end confdefs.h. */
35597
35598 /* Override any GCC internal prototype to avoid an error.
35599 Use char because int might match the return type of a GCC
35600 builtin and then its argument prototype would still apply. */
35601 #ifdef __cplusplus
35602 extern "C"
35603 #endif
35604 char SQLAllocEnv ();
35605 int
35606 main ()
35607 {
35608 return SQLAllocEnv ();
35609 ;
35610 return 0;
35611 }
35612 _ACEOF
35613 rm -f conftest.$ac_objext conftest$ac_exeext
35614 if { (ac_try="$ac_link"
35615 case "(($ac_try" in
35616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35617 *) ac_try_echo=$ac_try;;
35618 esac
35619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35620 (eval "$ac_link") 2>conftest.er1
35621 ac_status=$?
35622 grep -v '^ *+' conftest.er1 >conftest.err
35623 rm -f conftest.er1
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } && {
35627 test -z "$ac_c_werror_flag" ||
35628 test ! -s conftest.err
35629 } && test -s conftest$ac_exeext &&
35630 $as_test_x conftest$ac_exeext; then
35631 ac_cv_lib_odbc_SQLAllocEnv=yes
35632 else
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.$ac_ext >&5
35635
35636 ac_cv_lib_odbc_SQLAllocEnv=no
35637 fi
35638
35639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35640 conftest$ac_exeext conftest.$ac_ext
35641 LIBS=$ac_check_lib_save_LIBS
35642 fi
35643 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35644 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35645 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35646 ODBC_LINK=" -lodbc"
35647 fi
35648
35649
35650 fi
35651
35652
35653 fi
35654
35655 fi
35656 if test "x$ODBC_LINK" = "x" ; then
35657 if test "$wxUSE_ODBC" = "sys" ; then
35658 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35659 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35660 { (exit 1); exit 1; }; }
35661 else
35662 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35663 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35664 wxUSE_ODBC=builtin
35665 fi
35666 else
35667 wxUSE_ODBC=sys
35668 fi
35669 fi
35670
35671 if test "$wxUSE_ODBC" = "builtin" ; then
35672 cat >>confdefs.h <<\_ACEOF
35673 #define wxUSE_BUILTIN_IODBC 1
35674 _ACEOF
35675
35676 fi
35677 fi
35678
35679 if test "$wxUSE_ODBC" != "no" ; then
35680 cat >>confdefs.h <<\_ACEOF
35681 #define wxUSE_ODBC 1
35682 _ACEOF
35683
35684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35685
35686 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35687 fi
35688
35689
35690 if test "$wxUSE_DISPLAY" = "yes"; then
35691 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35692 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35693 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35694
35695 ac_find_libraries=
35696 for ac_dir in $SEARCH_LIB;
35697 do
35698 for ac_extension in a so sl dylib dll.a; do
35699 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35700 ac_find_libraries=$ac_dir
35701 break 2
35702 fi
35703 done
35704 done
35705
35706 if test "$ac_find_libraries" != "" ; then
35707
35708 if test "$ac_find_libraries" = "default location"; then
35709 ac_path_to_link=""
35710 else
35711 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35712 result=$?
35713 if test $result = 0; then
35714 ac_path_to_link=""
35715 else
35716 ac_path_to_link=" -L$ac_find_libraries"
35717 fi
35718 fi
35719
35720 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35721 LDFLAGS="$LDFLAGS $ac_path_to_link"
35722 fi
35723 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35724 { echo "$as_me:$LINENO: result: yes" >&5
35725 echo "${ECHO_T}yes" >&6; }
35726
35727 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35728 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35729
35730 ac_find_libraries=
35731 for ac_dir in $SEARCH_LIB;
35732 do
35733 for ac_extension in a so sl dylib dll.a; do
35734 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35735 ac_find_libraries=$ac_dir
35736 break 2
35737 fi
35738 done
35739 done
35740
35741 if test "$ac_find_libraries" != "" ; then
35742 { echo "$as_me:$LINENO: result: yes" >&5
35743 echo "${ECHO_T}yes" >&6; }
35744
35745 for ac_header in X11/extensions/xf86vmode.h
35746 do
35747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35748 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35750 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35751 echo $ECHO_N "(cached) $ECHO_C" >&6
35752 else
35753 cat >conftest.$ac_ext <<_ACEOF
35754 /* confdefs.h. */
35755 _ACEOF
35756 cat confdefs.h >>conftest.$ac_ext
35757 cat >>conftest.$ac_ext <<_ACEOF
35758 /* end confdefs.h. */
35759
35760 #if HAVE_X11_XLIB_H
35761 #include <X11/Xlib.h>
35762 #endif
35763
35764
35765 #include <$ac_header>
35766 _ACEOF
35767 rm -f conftest.$ac_objext
35768 if { (ac_try="$ac_compile"
35769 case "(($ac_try" in
35770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35771 *) ac_try_echo=$ac_try;;
35772 esac
35773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35774 (eval "$ac_compile") 2>conftest.er1
35775 ac_status=$?
35776 grep -v '^ *+' conftest.er1 >conftest.err
35777 rm -f conftest.er1
35778 cat conftest.err >&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } && {
35781 test -z "$ac_c_werror_flag" ||
35782 test ! -s conftest.err
35783 } && test -s conftest.$ac_objext; then
35784 eval "$as_ac_Header=yes"
35785 else
35786 echo "$as_me: failed program was:" >&5
35787 sed 's/^/| /' conftest.$ac_ext >&5
35788
35789 eval "$as_ac_Header=no"
35790 fi
35791
35792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35793 fi
35794 ac_res=`eval echo '${'$as_ac_Header'}'`
35795 { echo "$as_me:$LINENO: result: $ac_res" >&5
35796 echo "${ECHO_T}$ac_res" >&6; }
35797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35798 cat >>confdefs.h <<_ACEOF
35799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35800 _ACEOF
35801
35802 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35803
35804 fi
35805
35806 done
35807
35808 else
35809 { echo "$as_me:$LINENO: result: no" >&5
35810 echo "${ECHO_T}no" >&6; }
35811 fi
35812
35813 else
35814 { echo "$as_me:$LINENO: result: no" >&5
35815 echo "${ECHO_T}no" >&6; }
35816 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35817 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35818 wxUSE_DISPLAY="no"
35819 fi
35820 elif test "$wxUSE_MSW" = 1; then
35821 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35822 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35823 if test "${ac_cv_header_ddraw_h+set}" = set; then
35824 echo $ECHO_N "(cached) $ECHO_C" >&6
35825 else
35826 cat >conftest.$ac_ext <<_ACEOF
35827 /* confdefs.h. */
35828 _ACEOF
35829 cat confdefs.h >>conftest.$ac_ext
35830 cat >>conftest.$ac_ext <<_ACEOF
35831 /* end confdefs.h. */
35832 #include <windows.h>
35833
35834 #include <ddraw.h>
35835 _ACEOF
35836 rm -f conftest.$ac_objext
35837 if { (ac_try="$ac_compile"
35838 case "(($ac_try" in
35839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35840 *) ac_try_echo=$ac_try;;
35841 esac
35842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35843 (eval "$ac_compile") 2>conftest.er1
35844 ac_status=$?
35845 grep -v '^ *+' conftest.er1 >conftest.err
35846 rm -f conftest.er1
35847 cat conftest.err >&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); } && {
35850 test -z "$ac_c_werror_flag" ||
35851 test ! -s conftest.err
35852 } && test -s conftest.$ac_objext; then
35853 ac_cv_header_ddraw_h=yes
35854 else
35855 echo "$as_me: failed program was:" >&5
35856 sed 's/^/| /' conftest.$ac_ext >&5
35857
35858 ac_cv_header_ddraw_h=no
35859 fi
35860
35861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35862 fi
35863 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35864 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35865
35866
35867 fi
35868 fi
35869
35870 if test "$wxUSE_DETECT_SM" = "yes"; then
35871 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35872 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35873 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35874
35875 ac_find_libraries=
35876 for ac_dir in $SEARCH_LIB;
35877 do
35878 for ac_extension in a so sl dylib dll.a; do
35879 if test -f "$ac_dir/libSM.$ac_extension"; then
35880 ac_find_libraries=$ac_dir
35881 break 2
35882 fi
35883 done
35884 done
35885
35886 if test "$ac_find_libraries" != "" ; then
35887
35888 if test "$ac_find_libraries" = "default location"; then
35889 ac_path_to_link=""
35890 else
35891 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35892 result=$?
35893 if test $result = 0; then
35894 ac_path_to_link=""
35895 else
35896 ac_path_to_link=" -L$ac_find_libraries"
35897 fi
35898 fi
35899
35900 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35901 LDFLAGS="$LDFLAGS $ac_path_to_link"
35902 fi
35903 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35904 { echo "$as_me:$LINENO: result: yes" >&5
35905 echo "${ECHO_T}yes" >&6; }
35906 else
35907 { echo "$as_me:$LINENO: result: no" >&5
35908 echo "${ECHO_T}no" >&6; }
35909 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35910 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35911 wxUSE_DETECT_SM="no"
35912 fi
35913 else
35914 wxUSE_DETECT_SM="no"
35915 fi
35916 fi
35917
35918
35919
35920 USE_OPENGL=0
35921 if test "$wxUSE_OPENGL" = "yes"; then
35922 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35923 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35924 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35925 wxUSE_OPENGL="no"
35926 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35927 OPENGL_LIBS="-framework OpenGL -framework AGL"
35928 elif test "$wxUSE_MSW" = 1; then
35929 OPENGL_LIBS="-lopengl32 -lglu32"
35930 else
35931 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35932 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35933
35934 ac_find_includes=
35935 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35936 do
35937 if test -f "$ac_dir/GL/gl.h"; then
35938 ac_find_includes=$ac_dir
35939 break
35940 fi
35941 done
35942
35943 if test "$ac_find_includes" != "" ; then
35944 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35945 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35946
35947 if test "x$ac_find_includes" = "x/usr/include"; then
35948 ac_path_to_include=""
35949 else
35950 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35951 result=$?
35952 if test $result = 0; then
35953 ac_path_to_include=""
35954 else
35955 ac_path_to_include=" -I$ac_find_includes"
35956 fi
35957 fi
35958
35959 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35960 else
35961 { echo "$as_me:$LINENO: result: not found" >&5
35962 echo "${ECHO_T}not found" >&6; }
35963 fi
35964
35965 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35966 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35967 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35968 echo $ECHO_N "(cached) $ECHO_C" >&6
35969 else
35970 cat >conftest.$ac_ext <<_ACEOF
35971 /* confdefs.h. */
35972 _ACEOF
35973 cat confdefs.h >>conftest.$ac_ext
35974 cat >>conftest.$ac_ext <<_ACEOF
35975 /* end confdefs.h. */
35976
35977
35978 #include <GL/gl.h>
35979 _ACEOF
35980 rm -f conftest.$ac_objext
35981 if { (ac_try="$ac_compile"
35982 case "(($ac_try" in
35983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35984 *) ac_try_echo=$ac_try;;
35985 esac
35986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35987 (eval "$ac_compile") 2>conftest.er1
35988 ac_status=$?
35989 grep -v '^ *+' conftest.er1 >conftest.err
35990 rm -f conftest.er1
35991 cat conftest.err >&5
35992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35993 (exit $ac_status); } && {
35994 test -z "$ac_c_werror_flag" ||
35995 test ! -s conftest.err
35996 } && test -s conftest.$ac_objext; then
35997 ac_cv_header_GL_gl_h=yes
35998 else
35999 echo "$as_me: failed program was:" >&5
36000 sed 's/^/| /' conftest.$ac_ext >&5
36001
36002 ac_cv_header_GL_gl_h=no
36003 fi
36004
36005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36006 fi
36007 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36008 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36009 if test $ac_cv_header_GL_gl_h = yes; then
36010
36011 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36012 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36013 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36014 echo $ECHO_N "(cached) $ECHO_C" >&6
36015 else
36016 cat >conftest.$ac_ext <<_ACEOF
36017 /* confdefs.h. */
36018 _ACEOF
36019 cat confdefs.h >>conftest.$ac_ext
36020 cat >>conftest.$ac_ext <<_ACEOF
36021 /* end confdefs.h. */
36022
36023
36024 #include <GL/glu.h>
36025 _ACEOF
36026 rm -f conftest.$ac_objext
36027 if { (ac_try="$ac_compile"
36028 case "(($ac_try" in
36029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36030 *) ac_try_echo=$ac_try;;
36031 esac
36032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36033 (eval "$ac_compile") 2>conftest.er1
36034 ac_status=$?
36035 grep -v '^ *+' conftest.er1 >conftest.err
36036 rm -f conftest.er1
36037 cat conftest.err >&5
36038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039 (exit $ac_status); } && {
36040 test -z "$ac_c_werror_flag" ||
36041 test ! -s conftest.err
36042 } && test -s conftest.$ac_objext; then
36043 ac_cv_header_GL_glu_h=yes
36044 else
36045 echo "$as_me: failed program was:" >&5
36046 sed 's/^/| /' conftest.$ac_ext >&5
36047
36048 ac_cv_header_GL_glu_h=no
36049 fi
36050
36051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36052 fi
36053 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36054 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36055 if test $ac_cv_header_GL_glu_h = yes; then
36056
36057 found_gl=0
36058
36059 { echo "$as_me:$LINENO: checking for -lGL" >&5
36060 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
36061
36062 ac_find_libraries=
36063 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36064 do
36065 for ac_extension in a so sl dylib dll.a; do
36066 if test -f "$ac_dir/libGL.$ac_extension"; then
36067 ac_find_libraries=$ac_dir
36068 break 2
36069 fi
36070 done
36071 done
36072
36073 if test "$ac_find_libraries" != "" ; then
36074 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36075 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36076
36077
36078 if test "$ac_find_libraries" = "default location"; then
36079 ac_path_to_link=""
36080 else
36081 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36082 result=$?
36083 if test $result = 0; then
36084 ac_path_to_link=""
36085 else
36086 ac_path_to_link=" -L$ac_find_libraries"
36087 fi
36088 fi
36089
36090 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36091 LDFLAGS_GL="$ac_path_to_link"
36092 fi
36093
36094 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36095 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36096
36097 ac_find_libraries=
36098 for ac_dir in $SEARCH_LIB;
36099 do
36100 for ac_extension in a so sl dylib dll.a; do
36101 if test -f "$ac_dir/libGLU.$ac_extension"; then
36102 ac_find_libraries=$ac_dir
36103 break 2
36104 fi
36105 done
36106 done
36107
36108 if test "$ac_find_libraries" != "" ; then
36109
36110 if test "$ac_find_libraries" = "default location"; then
36111 ac_path_to_link=""
36112 else
36113 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36114 result=$?
36115 if test $result = 0; then
36116 ac_path_to_link=""
36117 else
36118 ac_path_to_link=" -L$ac_find_libraries"
36119 fi
36120 fi
36121
36122 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36123 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36124 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36125 fi
36126
36127 found_gl=1
36128 OPENGL_LIBS="-lGL -lGLU"
36129 { echo "$as_me:$LINENO: result: yes" >&5
36130 echo "${ECHO_T}yes" >&6; }
36131 else
36132 { echo "$as_me:$LINENO: result: no" >&5
36133 echo "${ECHO_T}no" >&6; }
36134 fi
36135 else
36136 { echo "$as_me:$LINENO: result: no" >&5
36137 echo "${ECHO_T}no" >&6; }
36138 fi
36139
36140 if test "$found_gl" != 1; then
36141 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36142 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36143
36144 ac_find_libraries=
36145 for ac_dir in $SEARCH_LIB;
36146 do
36147 for ac_extension in a so sl dylib dll.a; do
36148 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36149 ac_find_libraries=$ac_dir
36150 break 2
36151 fi
36152 done
36153 done
36154
36155 if test "$ac_find_libraries" != "" ; then
36156
36157 if test "$ac_find_libraries" = "default location"; then
36158 ac_path_to_link=""
36159 else
36160 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36161 result=$?
36162 if test $result = 0; then
36163 ac_path_to_link=""
36164 else
36165 ac_path_to_link=" -L$ac_find_libraries"
36166 fi
36167 fi
36168
36169 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36170 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36171 { echo "$as_me:$LINENO: result: yes" >&5
36172 echo "${ECHO_T}yes" >&6; }
36173 else
36174 { echo "$as_me:$LINENO: result: no" >&5
36175 echo "${ECHO_T}no" >&6; }
36176 fi
36177 fi
36178
36179 fi
36180
36181
36182
36183 fi
36184
36185
36186
36187 if test "x$OPENGL_LIBS" = "x"; then
36188 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36189 echo "$as_me: error: OpenGL libraries not available" >&2;}
36190 { (exit 1); exit 1; }; }
36191 fi
36192 fi
36193
36194 if test "$wxUSE_OPENGL" = "yes"; then
36195 USE_OPENGL=1
36196 cat >>confdefs.h <<\_ACEOF
36197 #define wxUSE_OPENGL 1
36198 _ACEOF
36199
36200 cat >>confdefs.h <<\_ACEOF
36201 #define wxUSE_GLCANVAS 1
36202 _ACEOF
36203
36204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36205 fi
36206 fi
36207
36208
36209 if test -n "$TOOLKIT" ; then
36210 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36211 fi
36212
36213
36214
36215 if test "$wxUSE_SHARED" = "yes"; then
36216 case "${host}" in
36217 *-pc-msdosdjgpp )
36218 wxUSE_SHARED=no
36219 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36220 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36221 ;;
36222 esac
36223 fi
36224
36225 if test "$wxUSE_SHARED" = "yes"; then
36226
36227
36228 case "${host}" in
36229 *-*-cygwin* | *-*-mingw* )
36230 wx_cv_version_script=no
36231 ;;
36232
36233 *)
36234 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36235 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36236 if test "${wx_cv_version_script+set}" = set; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36238 else
36239
36240 echo "VER_1 { *; };" >conftest.sym
36241 echo "int main() { return 0; }" >conftest.cpp
36242
36243 if { ac_try='
36244 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36245 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36247 (eval $ac_try) 2>&5
36248 ac_status=$?
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); }; } ; then
36251 if test -s conftest.stderr ; then
36252 wx_cv_version_script=no
36253 else
36254 wx_cv_version_script=yes
36255 fi
36256 else
36257 wx_cv_version_script=no
36258 fi
36259
36260 if test $wx_cv_version_script = yes
36261 then
36262 echo "struct B { virtual ~B() { } }; \
36263 struct D : public B { }; \
36264 void F() { D d; }" > conftest.cpp
36265
36266 if { ac_try='
36267 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36268 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36270 (eval $ac_try) 2>&5
36271 ac_status=$?
36272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273 (exit $ac_status); }; } &&
36274 { ac_try='
36275 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36276 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36278 (eval $ac_try) 2>&5
36279 ac_status=$?
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); }; }
36282 then
36283 if { ac_try='
36284 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36285 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36287 (eval $ac_try) 2>&5
36288 ac_status=$?
36289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36290 (exit $ac_status); }; }
36291 then
36292 wx_cv_version_script=yes
36293 else
36294 wx_cv_version_script=no
36295 fi
36296 fi
36297 fi
36298
36299 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36300 rm -f conftest1.output conftest2.output conftest3.output
36301
36302 fi
36303 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36304 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36305
36306 if test $wx_cv_version_script = yes ; then
36307 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36308 fi
36309 ;;
36310 esac
36311
36312
36313 if test "$wxUSE_VISIBILITY" != "no"; then
36314
36315
36316 if test -n "$GCC"; then
36317 CFLAGS_VISIBILITY="-fvisibility=hidden"
36318 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36319 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36320 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36321 if test "${wx_cv_cc_visibility+set}" = set; then
36322 echo $ECHO_N "(cached) $ECHO_C" >&6
36323 else
36324
36325 wx_save_CXXFLAGS="$CXXFLAGS"
36326 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36327 ac_ext=cpp
36328 ac_cpp='$CXXCPP $CPPFLAGS'
36329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36332
36333 cat >conftest.$ac_ext <<_ACEOF
36334 /* confdefs.h. */
36335 _ACEOF
36336 cat confdefs.h >>conftest.$ac_ext
36337 cat >>conftest.$ac_ext <<_ACEOF
36338 /* end confdefs.h. */
36339
36340 /* we need gcc >= 4.0, older versions with visibility support
36341 didn't have class visibility: */
36342 #if defined(__GNUC__) && __GNUC__ < 4
36343 error this gcc is too old;
36344 #endif
36345
36346 /* visibility only makes sense for ELF shared libs: */
36347 #if !defined(__ELF__) && !defined(__APPLE__)
36348 error this platform has no visibility;
36349 #endif
36350
36351 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36352 extern __attribute__((__visibility__("default"))) int exportedvar;
36353 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36354 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36355 class __attribute__((__visibility__("default"))) Foo {
36356 Foo() {}
36357 };
36358
36359 int
36360 main ()
36361 {
36362
36363 ;
36364 return 0;
36365 }
36366 _ACEOF
36367 rm -f conftest.$ac_objext
36368 if { (ac_try="$ac_compile"
36369 case "(($ac_try" in
36370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36371 *) ac_try_echo=$ac_try;;
36372 esac
36373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36374 (eval "$ac_compile") 2>conftest.er1
36375 ac_status=$?
36376 grep -v '^ *+' conftest.er1 >conftest.err
36377 rm -f conftest.er1
36378 cat conftest.err >&5
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); } && {
36381 test -z "$ac_cxx_werror_flag" ||
36382 test ! -s conftest.err
36383 } && test -s conftest.$ac_objext; then
36384 wx_cv_cc_visibility=yes
36385 else
36386 echo "$as_me: failed program was:" >&5
36387 sed 's/^/| /' conftest.$ac_ext >&5
36388
36389 wx_cv_cc_visibility=no
36390 fi
36391
36392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36393 ac_ext=c
36394 ac_cpp='$CPP $CPPFLAGS'
36395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36398
36399 CXXFLAGS="$wx_save_CXXFLAGS"
36400 fi
36401
36402 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36403 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36404 if test $wx_cv_cc_visibility = yes; then
36405 cat >>confdefs.h <<\_ACEOF
36406 #define HAVE_VISIBILITY 1
36407 _ACEOF
36408
36409
36410 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36411 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36412 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36413 echo $ECHO_N "(cached) $ECHO_C" >&6
36414 else
36415
36416 wx_save_CXXFLAGS="$CXXFLAGS"
36417 wx_save_LDFLAGS="$LDFLAGS"
36418 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36419 LDFLAGS="$LDFLAGS -shared -fPIC"
36420 ac_ext=cpp
36421 ac_cpp='$CXXCPP $CPPFLAGS'
36422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36425
36426 cat >conftest.$ac_ext <<_ACEOF
36427 /* confdefs.h. */
36428 _ACEOF
36429 cat confdefs.h >>conftest.$ac_ext
36430 cat >>conftest.$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36432
36433 #include <string>
36434
36435 int
36436 main ()
36437 {
36438
36439 std::string s("hello");
36440 return s.length();
36441
36442 ;
36443 return 0;
36444 }
36445 _ACEOF
36446 rm -f conftest.$ac_objext conftest$ac_exeext
36447 if { (ac_try="$ac_link"
36448 case "(($ac_try" in
36449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36450 *) ac_try_echo=$ac_try;;
36451 esac
36452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36453 (eval "$ac_link") 2>conftest.er1
36454 ac_status=$?
36455 grep -v '^ *+' conftest.er1 >conftest.err
36456 rm -f conftest.er1
36457 cat conftest.err >&5
36458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36459 (exit $ac_status); } && {
36460 test -z "$ac_cxx_werror_flag" ||
36461 test ! -s conftest.err
36462 } && test -s conftest$ac_exeext &&
36463 $as_test_x conftest$ac_exeext; then
36464 wx_cv_cc_broken_libstdcxx_visibility=no
36465 else
36466 echo "$as_me: failed program was:" >&5
36467 sed 's/^/| /' conftest.$ac_ext >&5
36468
36469 wx_cv_cc_broken_libstdcxx_visibility=yes
36470 fi
36471
36472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36473 conftest$ac_exeext conftest.$ac_ext
36474 ac_ext=c
36475 ac_cpp='$CPP $CPPFLAGS'
36476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36479
36480 CXXFLAGS="$wx_save_CXXFLAGS"
36481 LDFLAGS="$wx_save_LDFLAGS"
36482 fi
36483
36484 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36485 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36486 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36487 cat >>confdefs.h <<\_ACEOF
36488 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36489 _ACEOF
36490
36491 fi
36492
36493 else
36494 CFLAGS_VISIBILITY=""
36495 CXXFLAGS_VISIBILITY=""
36496 fi
36497
36498
36499 fi
36500
36501 fi
36502
36503 if test "x$SUNCXX" = xyes; then
36504 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36505 WXCONFIG_RPATH="-R\$libdir"
36506 else
36507 case "${host}" in
36508 *-*-linux* | *-*-gnu* )
36509 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36510 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36511 ;;
36512
36513 *-*-solaris2* )
36514
36515 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36516
36517 saveLdflags="$LDFLAGS"
36518 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36519 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36520 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36521 cat >conftest.$ac_ext <<_ACEOF
36522 /* confdefs.h. */
36523 _ACEOF
36524 cat confdefs.h >>conftest.$ac_ext
36525 cat >>conftest.$ac_ext <<_ACEOF
36526 /* end confdefs.h. */
36527
36528 int
36529 main ()
36530 {
36531
36532 ;
36533 return 0;
36534 }
36535 _ACEOF
36536 rm -f conftest.$ac_objext conftest$ac_exeext
36537 if { (ac_try="$ac_link"
36538 case "(($ac_try" in
36539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36540 *) ac_try_echo=$ac_try;;
36541 esac
36542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36543 (eval "$ac_link") 2>conftest.er1
36544 ac_status=$?
36545 grep -v '^ *+' conftest.er1 >conftest.err
36546 rm -f conftest.er1
36547 cat conftest.err >&5
36548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549 (exit $ac_status); } && {
36550 test -z "$ac_c_werror_flag" ||
36551 test ! -s conftest.err
36552 } && test -s conftest$ac_exeext &&
36553 $as_test_x conftest$ac_exeext; then
36554
36555 { echo "$as_me:$LINENO: result: yes" >&5
36556 echo "${ECHO_T}yes" >&6; }
36557 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36558 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36559
36560 else
36561 echo "$as_me: failed program was:" >&5
36562 sed 's/^/| /' conftest.$ac_ext >&5
36563
36564
36565 { echo "$as_me:$LINENO: result: no" >&5
36566 echo "${ECHO_T}no" >&6; }
36567 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36568 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36569 LDFLAGS="$saveLdflags -Wl,-R,/"
36570 cat >conftest.$ac_ext <<_ACEOF
36571 /* confdefs.h. */
36572 _ACEOF
36573 cat confdefs.h >>conftest.$ac_ext
36574 cat >>conftest.$ac_ext <<_ACEOF
36575 /* end confdefs.h. */
36576
36577 int
36578 main ()
36579 {
36580
36581 ;
36582 return 0;
36583 }
36584 _ACEOF
36585 rm -f conftest.$ac_objext conftest$ac_exeext
36586 if { (ac_try="$ac_link"
36587 case "(($ac_try" in
36588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36589 *) ac_try_echo=$ac_try;;
36590 esac
36591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36592 (eval "$ac_link") 2>conftest.er1
36593 ac_status=$?
36594 grep -v '^ *+' conftest.er1 >conftest.err
36595 rm -f conftest.er1
36596 cat conftest.err >&5
36597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36598 (exit $ac_status); } && {
36599 test -z "$ac_c_werror_flag" ||
36600 test ! -s conftest.err
36601 } && test -s conftest$ac_exeext &&
36602 $as_test_x conftest$ac_exeext; then
36603
36604 { echo "$as_me:$LINENO: result: yes" >&5
36605 echo "${ECHO_T}yes" >&6; }
36606 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36607 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36608
36609 else
36610 echo "$as_me: failed program was:" >&5
36611 sed 's/^/| /' conftest.$ac_ext >&5
36612
36613
36614 { echo "$as_me:$LINENO: result: no" >&5
36615 echo "${ECHO_T}no" >&6; }
36616
36617 fi
36618
36619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36620 conftest$ac_exeext conftest.$ac_ext
36621
36622 fi
36623
36624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36625 conftest$ac_exeext conftest.$ac_ext
36626 LDFLAGS="$saveLdflags"
36627 ;;
36628
36629 *-*-darwin* )
36630 install_name_tool=`which install_name_tool`
36631 if test "$install_name_tool" -a -x "$install_name_tool"; then
36632 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36633 cat <<EOF >change-install-names
36634 #!/bin/sh
36635 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36636 inst_cmd="install_name_tool "
36637 for i in \${libnames} ; do
36638 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36639 done
36640 \${inst_cmd} \${3}
36641 EOF
36642 chmod +x change-install-names
36643 fi
36644 ;;
36645
36646 *-*-cygwin* | *-*-mingw32* )
36647 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36648 ;;
36649
36650 *-*-hpux* )
36651 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36652 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36653 ;;
36654
36655 esac
36656 fi
36657
36658 if test $wxUSE_RPATH = "no"; then
36659 SAMPLES_RPATH_FLAG=''
36660 SAMPLES_RPATH_POSTLINK=''
36661 WXCONFIG_RPATH=''
36662 fi
36663
36664 SHARED=1
36665
36666 else
36667
36668 config_linkage_component="-static"
36669 SHARED=0
36670
36671 fi
36672
36673
36674 UNICODE=0
36675 lib_unicode_suffix=
36676 WX_CHARTYPE="ansi"
36677 if test "$wxUSE_UNICODE" = "yes"; then
36678 lib_unicode_suffix=u
36679 WX_CHARTYPE="unicode"
36680 UNICODE=1
36681 fi
36682
36683 lib_debug_suffix=
36684 WX_DEBUGTYPE="release"
36685 DEBUG_FLAG=0
36686 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36687 lib_debug_suffix=d
36688 WX_DEBUGTYPE="debug"
36689 DEBUG_FLAG=1
36690 fi
36691
36692 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36693 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36694
36695 DEBUG_INFO=0
36696 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36697 DEBUG_INFO=1
36698 fi
36699
36700 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36701
36702 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36703
36704 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36705
36706 if test "$cross_compiling" = "yes"; then
36707 HOST_SUFFIX="-$host_alias"
36708 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36709 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36710 fi
36711
36712 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36713 if test "${TOOLKIT_DIR}" = "os2"; then
36714 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36715 else
36716 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36717 fi
36718
36719
36720
36721 if test "$wxUSE_COCOA" = 1; then
36722
36723 ac_ext=c
36724 ac_cpp='$CPP $CPPFLAGS'
36725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36728
36729 ac_ext=m
36730
36731 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36732 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36733 cat >conftest.$ac_ext <<_ACEOF
36734 /* confdefs.h. */
36735 _ACEOF
36736 cat confdefs.h >>conftest.$ac_ext
36737 cat >>conftest.$ac_ext <<_ACEOF
36738 /* end confdefs.h. */
36739 #include <AppKit/NSEvent.h>
36740 #include <CoreFoundation/CoreFoundation.h>
36741
36742 int
36743 main ()
36744 {
36745
36746 ;
36747 return 0;
36748 }
36749 _ACEOF
36750 rm -f conftest.$ac_objext
36751 if { (ac_try="$ac_compile"
36752 case "(($ac_try" in
36753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36754 *) ac_try_echo=$ac_try;;
36755 esac
36756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36757 (eval "$ac_compile") 2>conftest.er1
36758 ac_status=$?
36759 grep -v '^ *+' conftest.er1 >conftest.err
36760 rm -f conftest.er1
36761 cat conftest.err >&5
36762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763 (exit $ac_status); } && {
36764 test -z "$ac_c_werror_flag" ||
36765 test ! -s conftest.err
36766 } && test -s conftest.$ac_objext; then
36767 { echo "$as_me:$LINENO: result: no" >&5
36768 echo "${ECHO_T}no" >&6; }
36769 else
36770 echo "$as_me: failed program was:" >&5
36771 sed 's/^/| /' conftest.$ac_ext >&5
36772
36773 { echo "$as_me:$LINENO: result: yes" >&5
36774 echo "${ECHO_T}yes" >&6; }
36775 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36776 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36777 cat >conftest.$ac_ext <<_ACEOF
36778 /* confdefs.h. */
36779 _ACEOF
36780 cat confdefs.h >>conftest.$ac_ext
36781 cat >>conftest.$ac_ext <<_ACEOF
36782 /* end confdefs.h. */
36783 #define __Point__ 1
36784 #include <AppKit/NSEvent.h>
36785 #include <CoreFoundation/CoreFoundation.h>
36786
36787 int
36788 main ()
36789 {
36790
36791 ;
36792 return 0;
36793 }
36794 _ACEOF
36795 rm -f conftest.$ac_objext
36796 if { (ac_try="$ac_compile"
36797 case "(($ac_try" in
36798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36799 *) ac_try_echo=$ac_try;;
36800 esac
36801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36802 (eval "$ac_compile") 2>conftest.er1
36803 ac_status=$?
36804 grep -v '^ *+' conftest.er1 >conftest.err
36805 rm -f conftest.er1
36806 cat conftest.err >&5
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); } && {
36809 test -z "$ac_c_werror_flag" ||
36810 test ! -s conftest.err
36811 } && test -s conftest.$ac_objext; then
36812 { echo "$as_me:$LINENO: result: yes" >&5
36813 echo "${ECHO_T}yes" >&6; }
36814 cat >>confdefs.h <<\_ACEOF
36815 #define __Point__ 1
36816 _ACEOF
36817
36818
36819 else
36820 echo "$as_me: failed program was:" >&5
36821 sed 's/^/| /' conftest.$ac_ext >&5
36822
36823 { { echo "$as_me:$LINENO: error: no
36824 See \`config.log' for more details." >&5
36825 echo "$as_me: error: no
36826 See \`config.log' for more details." >&2;}
36827 { (exit 1); exit 1; }; }
36828
36829 fi
36830
36831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36832
36833 fi
36834
36835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36836 ac_ext=c
36837 ac_cpp='$CPP $CPPFLAGS'
36838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36841
36842 fi
36843
36844
36845 { echo "$as_me:$LINENO: checking for mode_t" >&5
36846 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36847 if test "${ac_cv_type_mode_t+set}" = set; then
36848 echo $ECHO_N "(cached) $ECHO_C" >&6
36849 else
36850 cat >conftest.$ac_ext <<_ACEOF
36851 /* confdefs.h. */
36852 _ACEOF
36853 cat confdefs.h >>conftest.$ac_ext
36854 cat >>conftest.$ac_ext <<_ACEOF
36855 /* end confdefs.h. */
36856 $ac_includes_default
36857 typedef mode_t ac__type_new_;
36858 int
36859 main ()
36860 {
36861 if ((ac__type_new_ *) 0)
36862 return 0;
36863 if (sizeof (ac__type_new_))
36864 return 0;
36865 ;
36866 return 0;
36867 }
36868 _ACEOF
36869 rm -f conftest.$ac_objext
36870 if { (ac_try="$ac_compile"
36871 case "(($ac_try" in
36872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36873 *) ac_try_echo=$ac_try;;
36874 esac
36875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36876 (eval "$ac_compile") 2>conftest.er1
36877 ac_status=$?
36878 grep -v '^ *+' conftest.er1 >conftest.err
36879 rm -f conftest.er1
36880 cat conftest.err >&5
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); } && {
36883 test -z "$ac_c_werror_flag" ||
36884 test ! -s conftest.err
36885 } && test -s conftest.$ac_objext; then
36886 ac_cv_type_mode_t=yes
36887 else
36888 echo "$as_me: failed program was:" >&5
36889 sed 's/^/| /' conftest.$ac_ext >&5
36890
36891 ac_cv_type_mode_t=no
36892 fi
36893
36894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36895 fi
36896 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36897 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36898 if test $ac_cv_type_mode_t = yes; then
36899 :
36900 else
36901
36902 cat >>confdefs.h <<_ACEOF
36903 #define mode_t int
36904 _ACEOF
36905
36906 fi
36907
36908 { echo "$as_me:$LINENO: checking for off_t" >&5
36909 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36910 if test "${ac_cv_type_off_t+set}" = set; then
36911 echo $ECHO_N "(cached) $ECHO_C" >&6
36912 else
36913 cat >conftest.$ac_ext <<_ACEOF
36914 /* confdefs.h. */
36915 _ACEOF
36916 cat confdefs.h >>conftest.$ac_ext
36917 cat >>conftest.$ac_ext <<_ACEOF
36918 /* end confdefs.h. */
36919 $ac_includes_default
36920 typedef off_t ac__type_new_;
36921 int
36922 main ()
36923 {
36924 if ((ac__type_new_ *) 0)
36925 return 0;
36926 if (sizeof (ac__type_new_))
36927 return 0;
36928 ;
36929 return 0;
36930 }
36931 _ACEOF
36932 rm -f conftest.$ac_objext
36933 if { (ac_try="$ac_compile"
36934 case "(($ac_try" in
36935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36936 *) ac_try_echo=$ac_try;;
36937 esac
36938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36939 (eval "$ac_compile") 2>conftest.er1
36940 ac_status=$?
36941 grep -v '^ *+' conftest.er1 >conftest.err
36942 rm -f conftest.er1
36943 cat conftest.err >&5
36944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36945 (exit $ac_status); } && {
36946 test -z "$ac_c_werror_flag" ||
36947 test ! -s conftest.err
36948 } && test -s conftest.$ac_objext; then
36949 ac_cv_type_off_t=yes
36950 else
36951 echo "$as_me: failed program was:" >&5
36952 sed 's/^/| /' conftest.$ac_ext >&5
36953
36954 ac_cv_type_off_t=no
36955 fi
36956
36957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36958 fi
36959 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36960 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36961 if test $ac_cv_type_off_t = yes; then
36962 :
36963 else
36964
36965 cat >>confdefs.h <<_ACEOF
36966 #define off_t long int
36967 _ACEOF
36968
36969 fi
36970
36971 { echo "$as_me:$LINENO: checking for pid_t" >&5
36972 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36973 if test "${ac_cv_type_pid_t+set}" = set; then
36974 echo $ECHO_N "(cached) $ECHO_C" >&6
36975 else
36976 cat >conftest.$ac_ext <<_ACEOF
36977 /* confdefs.h. */
36978 _ACEOF
36979 cat confdefs.h >>conftest.$ac_ext
36980 cat >>conftest.$ac_ext <<_ACEOF
36981 /* end confdefs.h. */
36982 $ac_includes_default
36983 typedef pid_t ac__type_new_;
36984 int
36985 main ()
36986 {
36987 if ((ac__type_new_ *) 0)
36988 return 0;
36989 if (sizeof (ac__type_new_))
36990 return 0;
36991 ;
36992 return 0;
36993 }
36994 _ACEOF
36995 rm -f conftest.$ac_objext
36996 if { (ac_try="$ac_compile"
36997 case "(($ac_try" in
36998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36999 *) ac_try_echo=$ac_try;;
37000 esac
37001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37002 (eval "$ac_compile") 2>conftest.er1
37003 ac_status=$?
37004 grep -v '^ *+' conftest.er1 >conftest.err
37005 rm -f conftest.er1
37006 cat conftest.err >&5
37007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37008 (exit $ac_status); } && {
37009 test -z "$ac_c_werror_flag" ||
37010 test ! -s conftest.err
37011 } && test -s conftest.$ac_objext; then
37012 ac_cv_type_pid_t=yes
37013 else
37014 echo "$as_me: failed program was:" >&5
37015 sed 's/^/| /' conftest.$ac_ext >&5
37016
37017 ac_cv_type_pid_t=no
37018 fi
37019
37020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37021 fi
37022 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
37023 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
37024 if test $ac_cv_type_pid_t = yes; then
37025 :
37026 else
37027
37028 cat >>confdefs.h <<_ACEOF
37029 #define pid_t int
37030 _ACEOF
37031
37032 fi
37033
37034 { echo "$as_me:$LINENO: checking for size_t" >&5
37035 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
37036 if test "${ac_cv_type_size_t+set}" = set; then
37037 echo $ECHO_N "(cached) $ECHO_C" >&6
37038 else
37039 cat >conftest.$ac_ext <<_ACEOF
37040 /* confdefs.h. */
37041 _ACEOF
37042 cat confdefs.h >>conftest.$ac_ext
37043 cat >>conftest.$ac_ext <<_ACEOF
37044 /* end confdefs.h. */
37045 $ac_includes_default
37046 typedef size_t ac__type_new_;
37047 int
37048 main ()
37049 {
37050 if ((ac__type_new_ *) 0)
37051 return 0;
37052 if (sizeof (ac__type_new_))
37053 return 0;
37054 ;
37055 return 0;
37056 }
37057 _ACEOF
37058 rm -f conftest.$ac_objext
37059 if { (ac_try="$ac_compile"
37060 case "(($ac_try" in
37061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37062 *) ac_try_echo=$ac_try;;
37063 esac
37064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37065 (eval "$ac_compile") 2>conftest.er1
37066 ac_status=$?
37067 grep -v '^ *+' conftest.er1 >conftest.err
37068 rm -f conftest.er1
37069 cat conftest.err >&5
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); } && {
37072 test -z "$ac_c_werror_flag" ||
37073 test ! -s conftest.err
37074 } && test -s conftest.$ac_objext; then
37075 ac_cv_type_size_t=yes
37076 else
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.$ac_ext >&5
37079
37080 ac_cv_type_size_t=no
37081 fi
37082
37083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37084 fi
37085 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
37086 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37087 if test $ac_cv_type_size_t = yes; then
37088 :
37089 else
37090
37091 cat >>confdefs.h <<_ACEOF
37092 #define size_t unsigned int
37093 _ACEOF
37094
37095 fi
37096
37097 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
37098 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
37099 if test "${ac_cv_type_uid_t+set}" = set; then
37100 echo $ECHO_N "(cached) $ECHO_C" >&6
37101 else
37102 cat >conftest.$ac_ext <<_ACEOF
37103 /* confdefs.h. */
37104 _ACEOF
37105 cat confdefs.h >>conftest.$ac_ext
37106 cat >>conftest.$ac_ext <<_ACEOF
37107 /* end confdefs.h. */
37108 #include <sys/types.h>
37109
37110 _ACEOF
37111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37112 $EGREP "uid_t" >/dev/null 2>&1; then
37113 ac_cv_type_uid_t=yes
37114 else
37115 ac_cv_type_uid_t=no
37116 fi
37117 rm -f conftest*
37118
37119 fi
37120 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37121 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37122 if test $ac_cv_type_uid_t = no; then
37123
37124 cat >>confdefs.h <<\_ACEOF
37125 #define uid_t int
37126 _ACEOF
37127
37128
37129 cat >>confdefs.h <<\_ACEOF
37130 #define gid_t int
37131 _ACEOF
37132
37133 fi
37134
37135
37136 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37137 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37138 if test "${ac_cv_type_ssize_t+set}" = set; then
37139 echo $ECHO_N "(cached) $ECHO_C" >&6
37140 else
37141 cat >conftest.$ac_ext <<_ACEOF
37142 /* confdefs.h. */
37143 _ACEOF
37144 cat confdefs.h >>conftest.$ac_ext
37145 cat >>conftest.$ac_ext <<_ACEOF
37146 /* end confdefs.h. */
37147 $ac_includes_default
37148 typedef ssize_t ac__type_new_;
37149 int
37150 main ()
37151 {
37152 if ((ac__type_new_ *) 0)
37153 return 0;
37154 if (sizeof (ac__type_new_))
37155 return 0;
37156 ;
37157 return 0;
37158 }
37159 _ACEOF
37160 rm -f conftest.$ac_objext
37161 if { (ac_try="$ac_compile"
37162 case "(($ac_try" in
37163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37164 *) ac_try_echo=$ac_try;;
37165 esac
37166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37167 (eval "$ac_compile") 2>conftest.er1
37168 ac_status=$?
37169 grep -v '^ *+' conftest.er1 >conftest.err
37170 rm -f conftest.er1
37171 cat conftest.err >&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); } && {
37174 test -z "$ac_c_werror_flag" ||
37175 test ! -s conftest.err
37176 } && test -s conftest.$ac_objext; then
37177 ac_cv_type_ssize_t=yes
37178 else
37179 echo "$as_me: failed program was:" >&5
37180 sed 's/^/| /' conftest.$ac_ext >&5
37181
37182 ac_cv_type_ssize_t=no
37183 fi
37184
37185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37186 fi
37187 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37188 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37189 if test $ac_cv_type_ssize_t = yes; then
37190
37191 cat >>confdefs.h <<_ACEOF
37192 #define HAVE_SSIZE_T 1
37193 _ACEOF
37194
37195
37196 fi
37197
37198
37199 ac_ext=cpp
37200 ac_cpp='$CXXCPP $CPPFLAGS'
37201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37204 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37205 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37206 if test "${wx_cv_size_t_is_uint+set}" = set; then
37207 echo $ECHO_N "(cached) $ECHO_C" >&6
37208 else
37209
37210 cat >conftest.$ac_ext <<_ACEOF
37211 /* confdefs.h. */
37212 _ACEOF
37213 cat confdefs.h >>conftest.$ac_ext
37214 cat >>conftest.$ac_ext <<_ACEOF
37215 /* end confdefs.h. */
37216 #include <stddef.h>
37217 int
37218 main ()
37219 {
37220
37221 return 0; }
37222
37223 struct Foo { void foo(size_t); void foo(unsigned int); };
37224
37225 int bar() {
37226
37227 ;
37228 return 0;
37229 }
37230 _ACEOF
37231 rm -f conftest.$ac_objext
37232 if { (ac_try="$ac_compile"
37233 case "(($ac_try" in
37234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37235 *) ac_try_echo=$ac_try;;
37236 esac
37237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37238 (eval "$ac_compile") 2>conftest.er1
37239 ac_status=$?
37240 grep -v '^ *+' conftest.er1 >conftest.err
37241 rm -f conftest.er1
37242 cat conftest.err >&5
37243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37244 (exit $ac_status); } && {
37245 test -z "$ac_cxx_werror_flag" ||
37246 test ! -s conftest.err
37247 } && test -s conftest.$ac_objext; then
37248 wx_cv_size_t_is_uint=no
37249 else
37250 echo "$as_me: failed program was:" >&5
37251 sed 's/^/| /' conftest.$ac_ext >&5
37252
37253 wx_cv_size_t_is_uint=yes
37254
37255 fi
37256
37257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37258
37259
37260 fi
37261 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37262 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37263
37264 if test "$wx_cv_size_t_is_uint" = "yes"; then
37265 cat >>confdefs.h <<\_ACEOF
37266 #define wxSIZE_T_IS_UINT 1
37267 _ACEOF
37268
37269 else
37270 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37271 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37272 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37273 echo $ECHO_N "(cached) $ECHO_C" >&6
37274 else
37275 cat >conftest.$ac_ext <<_ACEOF
37276 /* confdefs.h. */
37277 _ACEOF
37278 cat confdefs.h >>conftest.$ac_ext
37279 cat >>conftest.$ac_ext <<_ACEOF
37280 /* end confdefs.h. */
37281 #include <stddef.h>
37282 int
37283 main ()
37284 {
37285
37286 return 0; }
37287
37288 struct Foo { void foo(size_t); void foo(unsigned long); };
37289
37290 int bar() {
37291
37292 ;
37293 return 0;
37294 }
37295 _ACEOF
37296 rm -f conftest.$ac_objext
37297 if { (ac_try="$ac_compile"
37298 case "(($ac_try" in
37299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37300 *) ac_try_echo=$ac_try;;
37301 esac
37302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37303 (eval "$ac_compile") 2>conftest.er1
37304 ac_status=$?
37305 grep -v '^ *+' conftest.er1 >conftest.err
37306 rm -f conftest.er1
37307 cat conftest.err >&5
37308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37309 (exit $ac_status); } && {
37310 test -z "$ac_cxx_werror_flag" ||
37311 test ! -s conftest.err
37312 } && test -s conftest.$ac_objext; then
37313 wx_cv_size_t_is_ulong=no
37314 else
37315 echo "$as_me: failed program was:" >&5
37316 sed 's/^/| /' conftest.$ac_ext >&5
37317
37318 wx_cv_size_t_is_ulong=yes
37319
37320 fi
37321
37322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37323
37324 fi
37325 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37326 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37327
37328 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37329 cat >>confdefs.h <<\_ACEOF
37330 #define wxSIZE_T_IS_ULONG 1
37331 _ACEOF
37332
37333 fi
37334 fi
37335
37336 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37337 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37338 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37339 echo $ECHO_N "(cached) $ECHO_C" >&6
37340 else
37341 cat >conftest.$ac_ext <<_ACEOF
37342 /* confdefs.h. */
37343 _ACEOF
37344 cat confdefs.h >>conftest.$ac_ext
37345 cat >>conftest.$ac_ext <<_ACEOF
37346 /* end confdefs.h. */
37347 #include <wchar.h>
37348 int
37349 main ()
37350 {
37351
37352 return 0; }
37353
37354 struct Foo { void foo(wchar_t);
37355 void foo(unsigned short);
37356 void foo(unsigned int);
37357 void foo(unsigned long); };
37358
37359 int bar() {
37360
37361 ;
37362 return 0;
37363 }
37364 _ACEOF
37365 rm -f conftest.$ac_objext
37366 if { (ac_try="$ac_compile"
37367 case "(($ac_try" in
37368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37369 *) ac_try_echo=$ac_try;;
37370 esac
37371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37372 (eval "$ac_compile") 2>conftest.er1
37373 ac_status=$?
37374 grep -v '^ *+' conftest.er1 >conftest.err
37375 rm -f conftest.er1
37376 cat conftest.err >&5
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); } && {
37379 test -z "$ac_cxx_werror_flag" ||
37380 test ! -s conftest.err
37381 } && test -s conftest.$ac_objext; then
37382 wx_cv_wchar_t_is_separate_type=yes
37383 else
37384 echo "$as_me: failed program was:" >&5
37385 sed 's/^/| /' conftest.$ac_ext >&5
37386
37387 wx_cv_wchar_t_is_separate_type=no
37388
37389 fi
37390
37391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37392
37393 fi
37394 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37395 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37396
37397 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37398 cat >>confdefs.h <<\_ACEOF
37399 #define wxWCHAR_T_IS_REAL_TYPE 1
37400 _ACEOF
37401
37402 else
37403 cat >>confdefs.h <<\_ACEOF
37404 #define wxWCHAR_T_IS_REAL_TYPE 0
37405 _ACEOF
37406
37407 fi
37408
37409 ac_ext=c
37410 ac_cpp='$CPP $CPPFLAGS'
37411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37414
37415
37416 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37417 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37418 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 else
37421
37422 cat >conftest.$ac_ext <<_ACEOF
37423 /* confdefs.h. */
37424 _ACEOF
37425 cat confdefs.h >>conftest.$ac_ext
37426 cat >>conftest.$ac_ext <<_ACEOF
37427 /* end confdefs.h. */
37428 #include <pwd.h>
37429 int
37430 main ()
37431 {
37432
37433 char *p;
37434 struct passwd *pw;
37435 p = pw->pw_gecos;
37436
37437 ;
37438 return 0;
37439 }
37440 _ACEOF
37441 rm -f conftest.$ac_objext
37442 if { (ac_try="$ac_compile"
37443 case "(($ac_try" in
37444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37445 *) ac_try_echo=$ac_try;;
37446 esac
37447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37448 (eval "$ac_compile") 2>conftest.er1
37449 ac_status=$?
37450 grep -v '^ *+' conftest.er1 >conftest.err
37451 rm -f conftest.er1
37452 cat conftest.err >&5
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); } && {
37455 test -z "$ac_c_werror_flag" ||
37456 test ! -s conftest.err
37457 } && test -s conftest.$ac_objext; then
37458
37459 wx_cv_struct_pw_gecos=yes
37460
37461 else
37462 echo "$as_me: failed program was:" >&5
37463 sed 's/^/| /' conftest.$ac_ext >&5
37464
37465
37466 wx_cv_struct_pw_gecos=no
37467
37468
37469 fi
37470
37471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37472
37473
37474 fi
37475 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37476 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37477
37478 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37479 cat >>confdefs.h <<\_ACEOF
37480 #define HAVE_PW_GECOS 1
37481 _ACEOF
37482
37483 fi
37484
37485
37486 if test "$wxUSE_WCHAR_T" = "yes"; then
37487 cat >>confdefs.h <<\_ACEOF
37488 #define wxUSE_WCHAR_T 1
37489 _ACEOF
37490
37491
37492 WCSLEN_FOUND=0
37493 WCHAR_LINK=
37494
37495 for ac_func in wcslen
37496 do
37497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37498 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37500 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37501 echo $ECHO_N "(cached) $ECHO_C" >&6
37502 else
37503 cat >conftest.$ac_ext <<_ACEOF
37504 /* confdefs.h. */
37505 _ACEOF
37506 cat confdefs.h >>conftest.$ac_ext
37507 cat >>conftest.$ac_ext <<_ACEOF
37508 /* end confdefs.h. */
37509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37511 #define $ac_func innocuous_$ac_func
37512
37513 /* System header to define __stub macros and hopefully few prototypes,
37514 which can conflict with char $ac_func (); below.
37515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37516 <limits.h> exists even on freestanding compilers. */
37517
37518 #ifdef __STDC__
37519 # include <limits.h>
37520 #else
37521 # include <assert.h>
37522 #endif
37523
37524 #undef $ac_func
37525
37526 /* Override any GCC internal prototype to avoid an error.
37527 Use char because int might match the return type of a GCC
37528 builtin and then its argument prototype would still apply. */
37529 #ifdef __cplusplus
37530 extern "C"
37531 #endif
37532 char $ac_func ();
37533 /* The GNU C library defines this for functions which it implements
37534 to always fail with ENOSYS. Some functions are actually named
37535 something starting with __ and the normal name is an alias. */
37536 #if defined __stub_$ac_func || defined __stub___$ac_func
37537 choke me
37538 #endif
37539
37540 int
37541 main ()
37542 {
37543 return $ac_func ();
37544 ;
37545 return 0;
37546 }
37547 _ACEOF
37548 rm -f conftest.$ac_objext conftest$ac_exeext
37549 if { (ac_try="$ac_link"
37550 case "(($ac_try" in
37551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37552 *) ac_try_echo=$ac_try;;
37553 esac
37554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37555 (eval "$ac_link") 2>conftest.er1
37556 ac_status=$?
37557 grep -v '^ *+' conftest.er1 >conftest.err
37558 rm -f conftest.er1
37559 cat conftest.err >&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); } && {
37562 test -z "$ac_c_werror_flag" ||
37563 test ! -s conftest.err
37564 } && test -s conftest$ac_exeext &&
37565 $as_test_x conftest$ac_exeext; then
37566 eval "$as_ac_var=yes"
37567 else
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.$ac_ext >&5
37570
37571 eval "$as_ac_var=no"
37572 fi
37573
37574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37575 conftest$ac_exeext conftest.$ac_ext
37576 fi
37577 ac_res=`eval echo '${'$as_ac_var'}'`
37578 { echo "$as_me:$LINENO: result: $ac_res" >&5
37579 echo "${ECHO_T}$ac_res" >&6; }
37580 if test `eval echo '${'$as_ac_var'}'` = yes; then
37581 cat >>confdefs.h <<_ACEOF
37582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37583 _ACEOF
37584 WCSLEN_FOUND=1
37585 fi
37586 done
37587
37588
37589 if test "$WCSLEN_FOUND" = 0; then
37590 if test "$TOOLKIT" = "MSW"; then
37591 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37592 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37593 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37594 echo $ECHO_N "(cached) $ECHO_C" >&6
37595 else
37596 ac_check_lib_save_LIBS=$LIBS
37597 LIBS="-lmsvcrt $LIBS"
37598 cat >conftest.$ac_ext <<_ACEOF
37599 /* confdefs.h. */
37600 _ACEOF
37601 cat confdefs.h >>conftest.$ac_ext
37602 cat >>conftest.$ac_ext <<_ACEOF
37603 /* end confdefs.h. */
37604
37605 /* Override any GCC internal prototype to avoid an error.
37606 Use char because int might match the return type of a GCC
37607 builtin and then its argument prototype would still apply. */
37608 #ifdef __cplusplus
37609 extern "C"
37610 #endif
37611 char wcslen ();
37612 int
37613 main ()
37614 {
37615 return wcslen ();
37616 ;
37617 return 0;
37618 }
37619 _ACEOF
37620 rm -f conftest.$ac_objext conftest$ac_exeext
37621 if { (ac_try="$ac_link"
37622 case "(($ac_try" in
37623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37624 *) ac_try_echo=$ac_try;;
37625 esac
37626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37627 (eval "$ac_link") 2>conftest.er1
37628 ac_status=$?
37629 grep -v '^ *+' conftest.er1 >conftest.err
37630 rm -f conftest.er1
37631 cat conftest.err >&5
37632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37633 (exit $ac_status); } && {
37634 test -z "$ac_c_werror_flag" ||
37635 test ! -s conftest.err
37636 } && test -s conftest$ac_exeext &&
37637 $as_test_x conftest$ac_exeext; then
37638 ac_cv_lib_msvcrt_wcslen=yes
37639 else
37640 echo "$as_me: failed program was:" >&5
37641 sed 's/^/| /' conftest.$ac_ext >&5
37642
37643 ac_cv_lib_msvcrt_wcslen=no
37644 fi
37645
37646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37647 conftest$ac_exeext conftest.$ac_ext
37648 LIBS=$ac_check_lib_save_LIBS
37649 fi
37650 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37651 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37652 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37653 WCHAR_OK=1
37654 fi
37655
37656 else
37657 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37658 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37659 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37660 echo $ECHO_N "(cached) $ECHO_C" >&6
37661 else
37662 ac_check_lib_save_LIBS=$LIBS
37663 LIBS="-lw $LIBS"
37664 cat >conftest.$ac_ext <<_ACEOF
37665 /* confdefs.h. */
37666 _ACEOF
37667 cat confdefs.h >>conftest.$ac_ext
37668 cat >>conftest.$ac_ext <<_ACEOF
37669 /* end confdefs.h. */
37670
37671 /* Override any GCC internal prototype to avoid an error.
37672 Use char because int might match the return type of a GCC
37673 builtin and then its argument prototype would still apply. */
37674 #ifdef __cplusplus
37675 extern "C"
37676 #endif
37677 char wcslen ();
37678 int
37679 main ()
37680 {
37681 return wcslen ();
37682 ;
37683 return 0;
37684 }
37685 _ACEOF
37686 rm -f conftest.$ac_objext conftest$ac_exeext
37687 if { (ac_try="$ac_link"
37688 case "(($ac_try" in
37689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37690 *) ac_try_echo=$ac_try;;
37691 esac
37692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37693 (eval "$ac_link") 2>conftest.er1
37694 ac_status=$?
37695 grep -v '^ *+' conftest.er1 >conftest.err
37696 rm -f conftest.er1
37697 cat conftest.err >&5
37698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37699 (exit $ac_status); } && {
37700 test -z "$ac_c_werror_flag" ||
37701 test ! -s conftest.err
37702 } && test -s conftest$ac_exeext &&
37703 $as_test_x conftest$ac_exeext; then
37704 ac_cv_lib_w_wcslen=yes
37705 else
37706 echo "$as_me: failed program was:" >&5
37707 sed 's/^/| /' conftest.$ac_ext >&5
37708
37709 ac_cv_lib_w_wcslen=no
37710 fi
37711
37712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37713 conftest$ac_exeext conftest.$ac_ext
37714 LIBS=$ac_check_lib_save_LIBS
37715 fi
37716 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37717 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37718 if test $ac_cv_lib_w_wcslen = yes; then
37719
37720 WCHAR_LINK=" -lw"
37721 WCSLEN_FOUND=1
37722
37723 fi
37724
37725 fi
37726 fi
37727
37728 if test "$WCSLEN_FOUND" = 1; then
37729 cat >>confdefs.h <<\_ACEOF
37730 #define HAVE_WCSLEN 1
37731 _ACEOF
37732
37733 fi
37734
37735
37736 for ac_func in wcsdup
37737 do
37738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37742 echo $ECHO_N "(cached) $ECHO_C" >&6
37743 else
37744 cat >conftest.$ac_ext <<_ACEOF
37745 /* confdefs.h. */
37746 _ACEOF
37747 cat confdefs.h >>conftest.$ac_ext
37748 cat >>conftest.$ac_ext <<_ACEOF
37749 /* end confdefs.h. */
37750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37752 #define $ac_func innocuous_$ac_func
37753
37754 /* System header to define __stub macros and hopefully few prototypes,
37755 which can conflict with char $ac_func (); below.
37756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37757 <limits.h> exists even on freestanding compilers. */
37758
37759 #ifdef __STDC__
37760 # include <limits.h>
37761 #else
37762 # include <assert.h>
37763 #endif
37764
37765 #undef $ac_func
37766
37767 /* Override any GCC internal prototype to avoid an error.
37768 Use char because int might match the return type of a GCC
37769 builtin and then its argument prototype would still apply. */
37770 #ifdef __cplusplus
37771 extern "C"
37772 #endif
37773 char $ac_func ();
37774 /* The GNU C library defines this for functions which it implements
37775 to always fail with ENOSYS. Some functions are actually named
37776 something starting with __ and the normal name is an alias. */
37777 #if defined __stub_$ac_func || defined __stub___$ac_func
37778 choke me
37779 #endif
37780
37781 int
37782 main ()
37783 {
37784 return $ac_func ();
37785 ;
37786 return 0;
37787 }
37788 _ACEOF
37789 rm -f conftest.$ac_objext conftest$ac_exeext
37790 if { (ac_try="$ac_link"
37791 case "(($ac_try" in
37792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37793 *) ac_try_echo=$ac_try;;
37794 esac
37795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37796 (eval "$ac_link") 2>conftest.er1
37797 ac_status=$?
37798 grep -v '^ *+' conftest.er1 >conftest.err
37799 rm -f conftest.er1
37800 cat conftest.err >&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); } && {
37803 test -z "$ac_c_werror_flag" ||
37804 test ! -s conftest.err
37805 } && test -s conftest$ac_exeext &&
37806 $as_test_x conftest$ac_exeext; then
37807 eval "$as_ac_var=yes"
37808 else
37809 echo "$as_me: failed program was:" >&5
37810 sed 's/^/| /' conftest.$ac_ext >&5
37811
37812 eval "$as_ac_var=no"
37813 fi
37814
37815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37816 conftest$ac_exeext conftest.$ac_ext
37817 fi
37818 ac_res=`eval echo '${'$as_ac_var'}'`
37819 { echo "$as_me:$LINENO: result: $ac_res" >&5
37820 echo "${ECHO_T}$ac_res" >&6; }
37821 if test `eval echo '${'$as_ac_var'}'` = yes; then
37822 cat >>confdefs.h <<_ACEOF
37823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37824 _ACEOF
37825
37826 fi
37827 done
37828
37829
37830 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37831 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37832 fi
37833
37834 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37835 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37836 if test "${ac_cv_type_mbstate_t+set}" = set; then
37837 echo $ECHO_N "(cached) $ECHO_C" >&6
37838 else
37839 cat >conftest.$ac_ext <<_ACEOF
37840 /* confdefs.h. */
37841 _ACEOF
37842 cat confdefs.h >>conftest.$ac_ext
37843 cat >>conftest.$ac_ext <<_ACEOF
37844 /* end confdefs.h. */
37845 #include <wchar.h>
37846
37847 typedef mbstate_t ac__type_new_;
37848 int
37849 main ()
37850 {
37851 if ((ac__type_new_ *) 0)
37852 return 0;
37853 if (sizeof (ac__type_new_))
37854 return 0;
37855 ;
37856 return 0;
37857 }
37858 _ACEOF
37859 rm -f conftest.$ac_objext
37860 if { (ac_try="$ac_compile"
37861 case "(($ac_try" in
37862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37863 *) ac_try_echo=$ac_try;;
37864 esac
37865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37866 (eval "$ac_compile") 2>conftest.er1
37867 ac_status=$?
37868 grep -v '^ *+' conftest.er1 >conftest.err
37869 rm -f conftest.er1
37870 cat conftest.err >&5
37871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872 (exit $ac_status); } && {
37873 test -z "$ac_c_werror_flag" ||
37874 test ! -s conftest.err
37875 } && test -s conftest.$ac_objext; then
37876 ac_cv_type_mbstate_t=yes
37877 else
37878 echo "$as_me: failed program was:" >&5
37879 sed 's/^/| /' conftest.$ac_ext >&5
37880
37881 ac_cv_type_mbstate_t=no
37882 fi
37883
37884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37885 fi
37886 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37887 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37888 if test $ac_cv_type_mbstate_t = yes; then
37889
37890 cat >>confdefs.h <<_ACEOF
37891 #define HAVE_MBSTATE_T 1
37892 _ACEOF
37893
37894
37895 for ac_func in wcsrtombs
37896 do
37897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37898 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37900 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37901 echo $ECHO_N "(cached) $ECHO_C" >&6
37902 else
37903 cat >conftest.$ac_ext <<_ACEOF
37904 /* confdefs.h. */
37905 _ACEOF
37906 cat confdefs.h >>conftest.$ac_ext
37907 cat >>conftest.$ac_ext <<_ACEOF
37908 /* end confdefs.h. */
37909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37911 #define $ac_func innocuous_$ac_func
37912
37913 /* System header to define __stub macros and hopefully few prototypes,
37914 which can conflict with char $ac_func (); below.
37915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37916 <limits.h> exists even on freestanding compilers. */
37917
37918 #ifdef __STDC__
37919 # include <limits.h>
37920 #else
37921 # include <assert.h>
37922 #endif
37923
37924 #undef $ac_func
37925
37926 /* Override any GCC internal prototype to avoid an error.
37927 Use char because int might match the return type of a GCC
37928 builtin and then its argument prototype would still apply. */
37929 #ifdef __cplusplus
37930 extern "C"
37931 #endif
37932 char $ac_func ();
37933 /* The GNU C library defines this for functions which it implements
37934 to always fail with ENOSYS. Some functions are actually named
37935 something starting with __ and the normal name is an alias. */
37936 #if defined __stub_$ac_func || defined __stub___$ac_func
37937 choke me
37938 #endif
37939
37940 int
37941 main ()
37942 {
37943 return $ac_func ();
37944 ;
37945 return 0;
37946 }
37947 _ACEOF
37948 rm -f conftest.$ac_objext conftest$ac_exeext
37949 if { (ac_try="$ac_link"
37950 case "(($ac_try" in
37951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37952 *) ac_try_echo=$ac_try;;
37953 esac
37954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37955 (eval "$ac_link") 2>conftest.er1
37956 ac_status=$?
37957 grep -v '^ *+' conftest.er1 >conftest.err
37958 rm -f conftest.er1
37959 cat conftest.err >&5
37960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37961 (exit $ac_status); } && {
37962 test -z "$ac_c_werror_flag" ||
37963 test ! -s conftest.err
37964 } && test -s conftest$ac_exeext &&
37965 $as_test_x conftest$ac_exeext; then
37966 eval "$as_ac_var=yes"
37967 else
37968 echo "$as_me: failed program was:" >&5
37969 sed 's/^/| /' conftest.$ac_ext >&5
37970
37971 eval "$as_ac_var=no"
37972 fi
37973
37974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37975 conftest$ac_exeext conftest.$ac_ext
37976 fi
37977 ac_res=`eval echo '${'$as_ac_var'}'`
37978 { echo "$as_me:$LINENO: result: $ac_res" >&5
37979 echo "${ECHO_T}$ac_res" >&6; }
37980 if test `eval echo '${'$as_ac_var'}'` = yes; then
37981 cat >>confdefs.h <<_ACEOF
37982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37983 _ACEOF
37984
37985 fi
37986 done
37987
37988 fi
37989
37990 else
37991 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37992 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37993 fi
37994
37995
37996
37997 for ac_func in snprintf vsnprintf
37998 do
37999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38000 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38002 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38003 echo $ECHO_N "(cached) $ECHO_C" >&6
38004 else
38005 cat >conftest.$ac_ext <<_ACEOF
38006 /* confdefs.h. */
38007 _ACEOF
38008 cat confdefs.h >>conftest.$ac_ext
38009 cat >>conftest.$ac_ext <<_ACEOF
38010 /* end confdefs.h. */
38011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38013 #define $ac_func innocuous_$ac_func
38014
38015 /* System header to define __stub macros and hopefully few prototypes,
38016 which can conflict with char $ac_func (); below.
38017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38018 <limits.h> exists even on freestanding compilers. */
38019
38020 #ifdef __STDC__
38021 # include <limits.h>
38022 #else
38023 # include <assert.h>
38024 #endif
38025
38026 #undef $ac_func
38027
38028 /* Override any GCC internal prototype to avoid an error.
38029 Use char because int might match the return type of a GCC
38030 builtin and then its argument prototype would still apply. */
38031 #ifdef __cplusplus
38032 extern "C"
38033 #endif
38034 char $ac_func ();
38035 /* The GNU C library defines this for functions which it implements
38036 to always fail with ENOSYS. Some functions are actually named
38037 something starting with __ and the normal name is an alias. */
38038 #if defined __stub_$ac_func || defined __stub___$ac_func
38039 choke me
38040 #endif
38041
38042 int
38043 main ()
38044 {
38045 return $ac_func ();
38046 ;
38047 return 0;
38048 }
38049 _ACEOF
38050 rm -f conftest.$ac_objext conftest$ac_exeext
38051 if { (ac_try="$ac_link"
38052 case "(($ac_try" in
38053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38054 *) ac_try_echo=$ac_try;;
38055 esac
38056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38057 (eval "$ac_link") 2>conftest.er1
38058 ac_status=$?
38059 grep -v '^ *+' conftest.er1 >conftest.err
38060 rm -f conftest.er1
38061 cat conftest.err >&5
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); } && {
38064 test -z "$ac_c_werror_flag" ||
38065 test ! -s conftest.err
38066 } && test -s conftest$ac_exeext &&
38067 $as_test_x conftest$ac_exeext; then
38068 eval "$as_ac_var=yes"
38069 else
38070 echo "$as_me: failed program was:" >&5
38071 sed 's/^/| /' conftest.$ac_ext >&5
38072
38073 eval "$as_ac_var=no"
38074 fi
38075
38076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38077 conftest$ac_exeext conftest.$ac_ext
38078 fi
38079 ac_res=`eval echo '${'$as_ac_var'}'`
38080 { echo "$as_me:$LINENO: result: $ac_res" >&5
38081 echo "${ECHO_T}$ac_res" >&6; }
38082 if test `eval echo '${'$as_ac_var'}'` = yes; then
38083 cat >>confdefs.h <<_ACEOF
38084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38085 _ACEOF
38086
38087 fi
38088 done
38089
38090
38091 if test "$ac_cv_func_vsnprintf" = "yes"; then
38092 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
38093 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
38094 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38095 echo $ECHO_N "(cached) $ECHO_C" >&6
38096 else
38097
38098 cat >conftest.$ac_ext <<_ACEOF
38099 /* confdefs.h. */
38100 _ACEOF
38101 cat confdefs.h >>conftest.$ac_ext
38102 cat >>conftest.$ac_ext <<_ACEOF
38103 /* end confdefs.h. */
38104
38105 #include <stdio.h>
38106 #include <stdarg.h>
38107 #ifdef __MSL__
38108 #if __MSL__ >= 0x6000
38109 namespace std {}
38110 using namespace std;
38111 #endif
38112 #endif
38113
38114 int
38115 main ()
38116 {
38117
38118 char *buf;
38119 va_list ap;
38120 vsnprintf(buf, 10u, "%s", ap);
38121
38122 ;
38123 return 0;
38124 }
38125 _ACEOF
38126 rm -f conftest.$ac_objext
38127 if { (ac_try="$ac_compile"
38128 case "(($ac_try" in
38129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38130 *) ac_try_echo=$ac_try;;
38131 esac
38132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38133 (eval "$ac_compile") 2>conftest.er1
38134 ac_status=$?
38135 grep -v '^ *+' conftest.er1 >conftest.err
38136 rm -f conftest.er1
38137 cat conftest.err >&5
38138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139 (exit $ac_status); } && {
38140 test -z "$ac_c_werror_flag" ||
38141 test ! -s conftest.err
38142 } && test -s conftest.$ac_objext; then
38143 wx_cv_func_vsnprintf_decl=yes
38144 else
38145 echo "$as_me: failed program was:" >&5
38146 sed 's/^/| /' conftest.$ac_ext >&5
38147
38148 wx_cv_func_vsnprintf_decl=no
38149
38150 fi
38151
38152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38153
38154
38155 fi
38156 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38157 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38158
38159 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38160 cat >>confdefs.h <<\_ACEOF
38161 #define HAVE_VSNPRINTF_DECL 1
38162 _ACEOF
38163
38164
38165 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38166 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38167 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38168 echo $ECHO_N "(cached) $ECHO_C" >&6
38169 else
38170
38171 cat >conftest.$ac_ext <<_ACEOF
38172 /* confdefs.h. */
38173 _ACEOF
38174 cat confdefs.h >>conftest.$ac_ext
38175 cat >>conftest.$ac_ext <<_ACEOF
38176 /* end confdefs.h. */
38177
38178 #include <stdio.h>
38179 #include <stdarg.h>
38180 #ifdef __MSL__
38181 #if __MSL__ >= 0x6000
38182 namespace std {}
38183 using namespace std;
38184 #endif
38185 #endif
38186
38187 int
38188 main ()
38189 {
38190
38191 char *buf;
38192 va_list ap;
38193 const char *fmt = "%s";
38194 vsnprintf(buf, 10u, fmt, ap);
38195
38196 ;
38197 return 0;
38198 }
38199 _ACEOF
38200 rm -f conftest.$ac_objext
38201 if { (ac_try="$ac_compile"
38202 case "(($ac_try" in
38203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38204 *) ac_try_echo=$ac_try;;
38205 esac
38206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38207 (eval "$ac_compile") 2>conftest.er1
38208 ac_status=$?
38209 grep -v '^ *+' conftest.er1 >conftest.err
38210 rm -f conftest.er1
38211 cat conftest.err >&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); } && {
38214 test -z "$ac_c_werror_flag" ||
38215 test ! -s conftest.err
38216 } && test -s conftest.$ac_objext; then
38217 wx_cv_func_broken_vsnprintf_decl=no
38218 else
38219 echo "$as_me: failed program was:" >&5
38220 sed 's/^/| /' conftest.$ac_ext >&5
38221
38222 wx_cv_func_broken_vsnprintf_decl=yes
38223
38224 fi
38225
38226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38227
38228
38229 fi
38230 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38231 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38232
38233 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38234 cat >>confdefs.h <<\_ACEOF
38235 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38236 _ACEOF
38237
38238 fi
38239 fi
38240 fi
38241
38242 if test "$ac_cv_func_snprintf" = "yes"; then
38243 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38244 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38245 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38246 echo $ECHO_N "(cached) $ECHO_C" >&6
38247 else
38248
38249 cat >conftest.$ac_ext <<_ACEOF
38250 /* confdefs.h. */
38251 _ACEOF
38252 cat confdefs.h >>conftest.$ac_ext
38253 cat >>conftest.$ac_ext <<_ACEOF
38254 /* end confdefs.h. */
38255
38256 #include <stdio.h>
38257 #include <stdarg.h>
38258 #ifdef __MSL__
38259 #if __MSL__ >= 0x6000
38260 namespace std {}
38261 using namespace std;
38262 #endif
38263 #endif
38264
38265 int
38266 main ()
38267 {
38268
38269 char *buf;
38270 snprintf(buf, 10u, "%s", "wx");
38271
38272 ;
38273 return 0;
38274 }
38275 _ACEOF
38276 rm -f conftest.$ac_objext
38277 if { (ac_try="$ac_compile"
38278 case "(($ac_try" in
38279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38280 *) ac_try_echo=$ac_try;;
38281 esac
38282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38283 (eval "$ac_compile") 2>conftest.er1
38284 ac_status=$?
38285 grep -v '^ *+' conftest.er1 >conftest.err
38286 rm -f conftest.er1
38287 cat conftest.err >&5
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); } && {
38290 test -z "$ac_c_werror_flag" ||
38291 test ! -s conftest.err
38292 } && test -s conftest.$ac_objext; then
38293 wx_cv_func_snprintf_decl=yes
38294 else
38295 echo "$as_me: failed program was:" >&5
38296 sed 's/^/| /' conftest.$ac_ext >&5
38297
38298 wx_cv_func_snprintf_decl=no
38299
38300 fi
38301
38302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38303
38304
38305 fi
38306 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38307 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38308
38309 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38310 cat >>confdefs.h <<\_ACEOF
38311 #define HAVE_SNPRINTF_DECL 1
38312 _ACEOF
38313
38314 fi
38315
38316 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38317
38318 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38319 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38320 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38321 echo $ECHO_N "(cached) $ECHO_C" >&6
38322 else
38323
38324 if test "$cross_compiling" = yes; then
38325
38326 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38327 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38328 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38329 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38330 wx_cv_func_snprintf_pos_params=no
38331
38332
38333 else
38334 cat >conftest.$ac_ext <<_ACEOF
38335 /* confdefs.h. */
38336 _ACEOF
38337 cat confdefs.h >>conftest.$ac_ext
38338 cat >>conftest.$ac_ext <<_ACEOF
38339 /* end confdefs.h. */
38340
38341 #include <stdio.h>
38342
38343 int main (void)
38344 {
38345 char buffer[128];
38346 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38347 if (strcmp ("2 3 1", buffer) == 0)
38348 exit (0);
38349 exit (1);
38350 }
38351
38352 _ACEOF
38353 rm -f conftest$ac_exeext
38354 if { (ac_try="$ac_link"
38355 case "(($ac_try" in
38356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38357 *) ac_try_echo=$ac_try;;
38358 esac
38359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38360 (eval "$ac_link") 2>&5
38361 ac_status=$?
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38364 { (case "(($ac_try" in
38365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38366 *) ac_try_echo=$ac_try;;
38367 esac
38368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38369 (eval "$ac_try") 2>&5
38370 ac_status=$?
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); }; }; then
38373 wx_cv_func_snprintf_pos_params=no
38374 else
38375 echo "$as_me: program exited with status $ac_status" >&5
38376 echo "$as_me: failed program was:" >&5
38377 sed 's/^/| /' conftest.$ac_ext >&5
38378
38379 ( exit $ac_status )
38380 wx_cv_func_snprintf_pos_params=yes
38381 fi
38382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38383 fi
38384
38385
38386
38387
38388 fi
38389 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38390 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38391
38392 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38393 cat >>confdefs.h <<\_ACEOF
38394 #define HAVE_UNIX98_PRINTF 1
38395 _ACEOF
38396
38397 fi
38398 fi
38399 fi
38400
38401 if test "$wxUSE_UNICODE" = yes; then
38402
38403 wchar_headers="#include <stdio.h>
38404 #include <wchar.h>"
38405 case "${host}" in
38406 *-*-solaris2* )
38407
38408 for ac_header in widec.h
38409 do
38410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38411 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38413 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38414 echo $ECHO_N "(cached) $ECHO_C" >&6
38415 else
38416 cat >conftest.$ac_ext <<_ACEOF
38417 /* confdefs.h. */
38418 _ACEOF
38419 cat confdefs.h >>conftest.$ac_ext
38420 cat >>conftest.$ac_ext <<_ACEOF
38421 /* end confdefs.h. */
38422 $ac_includes_default
38423
38424 #include <$ac_header>
38425 _ACEOF
38426 rm -f conftest.$ac_objext
38427 if { (ac_try="$ac_compile"
38428 case "(($ac_try" in
38429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38430 *) ac_try_echo=$ac_try;;
38431 esac
38432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38433 (eval "$ac_compile") 2>conftest.er1
38434 ac_status=$?
38435 grep -v '^ *+' conftest.er1 >conftest.err
38436 rm -f conftest.er1
38437 cat conftest.err >&5
38438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439 (exit $ac_status); } && {
38440 test -z "$ac_c_werror_flag" ||
38441 test ! -s conftest.err
38442 } && test -s conftest.$ac_objext; then
38443 eval "$as_ac_Header=yes"
38444 else
38445 echo "$as_me: failed program was:" >&5
38446 sed 's/^/| /' conftest.$ac_ext >&5
38447
38448 eval "$as_ac_Header=no"
38449 fi
38450
38451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38452 fi
38453 ac_res=`eval echo '${'$as_ac_Header'}'`
38454 { echo "$as_me:$LINENO: result: $ac_res" >&5
38455 echo "${ECHO_T}$ac_res" >&6; }
38456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38457 cat >>confdefs.h <<_ACEOF
38458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38459 _ACEOF
38460
38461 fi
38462
38463 done
38464
38465 if test "$ac_cv_header_widec_h" = "yes"; then
38466 wchar_headers="$wchar_headers
38467 #include <widec.h>"
38468 fi
38469 esac
38470
38471
38472 for wx_func in putws fputws wprintf vswprintf
38473 do
38474 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38475 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38476 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38477 echo $ECHO_N "(cached) $ECHO_C" >&6
38478 else
38479
38480 cat >conftest.$ac_ext <<_ACEOF
38481
38482 /* confdefs.h. */
38483 _ACEOF
38484 cat confdefs.h >>conftest.$ac_ext
38485 cat >>conftest.$ac_ext <<_ACEOF
38486 /* end confdefs.h. */
38487
38488 $wchar_headers
38489 $ac_includes_default
38490
38491 int
38492 main ()
38493 {
38494
38495 #ifndef $wx_func
38496 &$wx_func;
38497 #endif
38498
38499
38500 ;
38501 return 0;
38502 }
38503
38504 _ACEOF
38505 rm -f conftest.$ac_objext conftest$ac_exeext
38506 if { (ac_try="$ac_link"
38507 case "(($ac_try" in
38508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38509 *) ac_try_echo=$ac_try;;
38510 esac
38511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38512 (eval "$ac_link") 2>conftest.er1
38513 ac_status=$?
38514 grep -v '^ *+' conftest.er1 >conftest.err
38515 rm -f conftest.er1
38516 cat conftest.err >&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); } && {
38519 test -z "$ac_c_werror_flag" ||
38520 test ! -s conftest.err
38521 } && test -s conftest$ac_exeext &&
38522 $as_test_x conftest$ac_exeext; then
38523 eval wx_cv_func_$wx_func=yes
38524 else
38525 echo "$as_me: failed program was:" >&5
38526 sed 's/^/| /' conftest.$ac_ext >&5
38527
38528 eval wx_cv_func_$wx_func=no
38529 fi
38530
38531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38532 conftest$ac_exeext conftest.$ac_ext
38533
38534 fi
38535 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38536 { echo "$as_me:$LINENO: result: $ac_res" >&5
38537 echo "${ECHO_T}$ac_res" >&6; }
38538
38539 if eval test \$wx_cv_func_$wx_func = yes
38540 then
38541 cat >>confdefs.h <<_ACEOF
38542 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38543 _ACEOF
38544
38545
38546 else
38547 :
38548
38549 fi
38550 done
38551
38552
38553 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38554 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38555 cat >conftest.$ac_ext <<_ACEOF
38556 /* confdefs.h. */
38557 _ACEOF
38558 cat confdefs.h >>conftest.$ac_ext
38559 cat >>conftest.$ac_ext <<_ACEOF
38560 /* end confdefs.h. */
38561 #include <wchar.h>
38562 int
38563 main ()
38564 {
38565 &_vsnwprintf;
38566 ;
38567 return 0;
38568 }
38569 _ACEOF
38570 rm -f conftest.$ac_objext
38571 if { (ac_try="$ac_compile"
38572 case "(($ac_try" in
38573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38574 *) ac_try_echo=$ac_try;;
38575 esac
38576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38577 (eval "$ac_compile") 2>conftest.er1
38578 ac_status=$?
38579 grep -v '^ *+' conftest.er1 >conftest.err
38580 rm -f conftest.er1
38581 cat conftest.err >&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); } && {
38584 test -z "$ac_c_werror_flag" ||
38585 test ! -s conftest.err
38586 } && test -s conftest.$ac_objext; then
38587 { echo "$as_me:$LINENO: result: yes" >&5
38588 echo "${ECHO_T}yes" >&6; }
38589 cat >>confdefs.h <<\_ACEOF
38590 #define HAVE__VSNWPRINTF 1
38591 _ACEOF
38592
38593 else
38594 echo "$as_me: failed program was:" >&5
38595 sed 's/^/| /' conftest.$ac_ext >&5
38596
38597 { echo "$as_me:$LINENO: result: no" >&5
38598 echo "${ECHO_T}no" >&6; }
38599 fi
38600
38601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38602 fi
38603
38604 if test "$wxUSE_FILE" = "yes"; then
38605
38606 for wx_func in fsync
38607 do
38608 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38609 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38610 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38611 echo $ECHO_N "(cached) $ECHO_C" >&6
38612 else
38613
38614 cat >conftest.$ac_ext <<_ACEOF
38615
38616 /* confdefs.h. */
38617 _ACEOF
38618 cat confdefs.h >>conftest.$ac_ext
38619 cat >>conftest.$ac_ext <<_ACEOF
38620 /* end confdefs.h. */
38621
38622
38623 $ac_includes_default
38624
38625 int
38626 main ()
38627 {
38628
38629 #ifndef $wx_func
38630 &$wx_func;
38631 #endif
38632
38633
38634 ;
38635 return 0;
38636 }
38637
38638 _ACEOF
38639 rm -f conftest.$ac_objext conftest$ac_exeext
38640 if { (ac_try="$ac_link"
38641 case "(($ac_try" in
38642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38643 *) ac_try_echo=$ac_try;;
38644 esac
38645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38646 (eval "$ac_link") 2>conftest.er1
38647 ac_status=$?
38648 grep -v '^ *+' conftest.er1 >conftest.err
38649 rm -f conftest.er1
38650 cat conftest.err >&5
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); } && {
38653 test -z "$ac_c_werror_flag" ||
38654 test ! -s conftest.err
38655 } && test -s conftest$ac_exeext &&
38656 $as_test_x conftest$ac_exeext; then
38657 eval wx_cv_func_$wx_func=yes
38658 else
38659 echo "$as_me: failed program was:" >&5
38660 sed 's/^/| /' conftest.$ac_ext >&5
38661
38662 eval wx_cv_func_$wx_func=no
38663 fi
38664
38665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38666 conftest$ac_exeext conftest.$ac_ext
38667
38668 fi
38669 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38670 { echo "$as_me:$LINENO: result: $ac_res" >&5
38671 echo "${ECHO_T}$ac_res" >&6; }
38672
38673 if eval test \$wx_cv_func_$wx_func = yes
38674 then
38675 cat >>confdefs.h <<_ACEOF
38676 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38677 _ACEOF
38678
38679
38680 else
38681 :
38682
38683 fi
38684 done
38685
38686 fi
38687
38688 ac_ext=cpp
38689 ac_cpp='$CXXCPP $CPPFLAGS'
38690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38693
38694
38695 for wx_func in round
38696 do
38697 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38698 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38699 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38700 echo $ECHO_N "(cached) $ECHO_C" >&6
38701 else
38702
38703 cat >conftest.$ac_ext <<_ACEOF
38704
38705 /* confdefs.h. */
38706 _ACEOF
38707 cat confdefs.h >>conftest.$ac_ext
38708 cat >>conftest.$ac_ext <<_ACEOF
38709 /* end confdefs.h. */
38710
38711 #include <math.h>
38712 $ac_includes_default
38713
38714 int
38715 main ()
38716 {
38717
38718 #ifndef $wx_func
38719 &$wx_func;
38720 #endif
38721
38722
38723 ;
38724 return 0;
38725 }
38726
38727 _ACEOF
38728 rm -f conftest.$ac_objext conftest$ac_exeext
38729 if { (ac_try="$ac_link"
38730 case "(($ac_try" in
38731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38732 *) ac_try_echo=$ac_try;;
38733 esac
38734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38735 (eval "$ac_link") 2>conftest.er1
38736 ac_status=$?
38737 grep -v '^ *+' conftest.er1 >conftest.err
38738 rm -f conftest.er1
38739 cat conftest.err >&5
38740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741 (exit $ac_status); } && {
38742 test -z "$ac_cxx_werror_flag" ||
38743 test ! -s conftest.err
38744 } && test -s conftest$ac_exeext &&
38745 $as_test_x conftest$ac_exeext; then
38746 eval wx_cv_func_$wx_func=yes
38747 else
38748 echo "$as_me: failed program was:" >&5
38749 sed 's/^/| /' conftest.$ac_ext >&5
38750
38751 eval wx_cv_func_$wx_func=no
38752 fi
38753
38754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38755 conftest$ac_exeext conftest.$ac_ext
38756
38757 fi
38758 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38759 { echo "$as_me:$LINENO: result: $ac_res" >&5
38760 echo "${ECHO_T}$ac_res" >&6; }
38761
38762 if eval test \$wx_cv_func_$wx_func = yes
38763 then
38764 cat >>confdefs.h <<_ACEOF
38765 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38766 _ACEOF
38767
38768
38769 else
38770 :
38771
38772 fi
38773 done
38774
38775 ac_ext=c
38776 ac_cpp='$CPP $CPPFLAGS'
38777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38780
38781
38782 if test "$TOOLKIT" != "MSW"; then
38783
38784
38785
38786
38787
38788 # Check whether --with-libiconv-prefix was given.
38789 if test "${with_libiconv_prefix+set}" = set; then
38790 withval=$with_libiconv_prefix;
38791 for dir in `echo "$withval" | tr : ' '`; do
38792 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38793 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38794 done
38795
38796 fi
38797
38798
38799 { echo "$as_me:$LINENO: checking for iconv" >&5
38800 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38801 if test "${am_cv_func_iconv+set}" = set; then
38802 echo $ECHO_N "(cached) $ECHO_C" >&6
38803 else
38804
38805 am_cv_func_iconv="no, consider installing GNU libiconv"
38806 am_cv_lib_iconv=no
38807 cat >conftest.$ac_ext <<_ACEOF
38808 /* confdefs.h. */
38809 _ACEOF
38810 cat confdefs.h >>conftest.$ac_ext
38811 cat >>conftest.$ac_ext <<_ACEOF
38812 /* end confdefs.h. */
38813 #include <stdlib.h>
38814 #include <iconv.h>
38815 int
38816 main ()
38817 {
38818 iconv_t cd = iconv_open("","");
38819 iconv(cd,NULL,NULL,NULL,NULL);
38820 iconv_close(cd);
38821 ;
38822 return 0;
38823 }
38824 _ACEOF
38825 rm -f conftest.$ac_objext conftest$ac_exeext
38826 if { (ac_try="$ac_link"
38827 case "(($ac_try" in
38828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38829 *) ac_try_echo=$ac_try;;
38830 esac
38831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38832 (eval "$ac_link") 2>conftest.er1
38833 ac_status=$?
38834 grep -v '^ *+' conftest.er1 >conftest.err
38835 rm -f conftest.er1
38836 cat conftest.err >&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); } && {
38839 test -z "$ac_c_werror_flag" ||
38840 test ! -s conftest.err
38841 } && test -s conftest$ac_exeext &&
38842 $as_test_x conftest$ac_exeext; then
38843 am_cv_func_iconv=yes
38844 else
38845 echo "$as_me: failed program was:" >&5
38846 sed 's/^/| /' conftest.$ac_ext >&5
38847
38848
38849 fi
38850
38851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38852 conftest$ac_exeext conftest.$ac_ext
38853 if test "$am_cv_func_iconv" != yes; then
38854 am_save_LIBS="$LIBS"
38855 LIBS="$LIBS -liconv"
38856 cat >conftest.$ac_ext <<_ACEOF
38857 /* confdefs.h. */
38858 _ACEOF
38859 cat confdefs.h >>conftest.$ac_ext
38860 cat >>conftest.$ac_ext <<_ACEOF
38861 /* end confdefs.h. */
38862 #include <stdlib.h>
38863 #include <iconv.h>
38864 int
38865 main ()
38866 {
38867 iconv_t cd = iconv_open("","");
38868 iconv(cd,NULL,NULL,NULL,NULL);
38869 iconv_close(cd);
38870 ;
38871 return 0;
38872 }
38873 _ACEOF
38874 rm -f conftest.$ac_objext conftest$ac_exeext
38875 if { (ac_try="$ac_link"
38876 case "(($ac_try" in
38877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38878 *) ac_try_echo=$ac_try;;
38879 esac
38880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38881 (eval "$ac_link") 2>conftest.er1
38882 ac_status=$?
38883 grep -v '^ *+' conftest.er1 >conftest.err
38884 rm -f conftest.er1
38885 cat conftest.err >&5
38886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38887 (exit $ac_status); } && {
38888 test -z "$ac_c_werror_flag" ||
38889 test ! -s conftest.err
38890 } && test -s conftest$ac_exeext &&
38891 $as_test_x conftest$ac_exeext; then
38892 am_cv_lib_iconv=yes
38893 am_cv_func_iconv=yes
38894 else
38895 echo "$as_me: failed program was:" >&5
38896 sed 's/^/| /' conftest.$ac_ext >&5
38897
38898
38899 fi
38900
38901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38902 conftest$ac_exeext conftest.$ac_ext
38903 LIBS="$am_save_LIBS"
38904 fi
38905
38906 fi
38907 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38908 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38909 if test "$am_cv_func_iconv" = yes; then
38910
38911 cat >>confdefs.h <<\_ACEOF
38912 #define HAVE_ICONV 1
38913 _ACEOF
38914
38915 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38916 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38917 if test "${wx_cv_func_iconv_const+set}" = set; then
38918 echo $ECHO_N "(cached) $ECHO_C" >&6
38919 else
38920 cat >conftest.$ac_ext <<_ACEOF
38921 /* confdefs.h. */
38922 _ACEOF
38923 cat confdefs.h >>conftest.$ac_ext
38924 cat >>conftest.$ac_ext <<_ACEOF
38925 /* end confdefs.h. */
38926
38927 #include <stdlib.h>
38928 #include <iconv.h>
38929 extern
38930 #ifdef __cplusplus
38931 "C"
38932 #endif
38933 #if defined(__STDC__) || defined(__cplusplus)
38934 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38935 #else
38936 size_t iconv();
38937 #endif
38938
38939 int
38940 main ()
38941 {
38942
38943 ;
38944 return 0;
38945 }
38946 _ACEOF
38947 rm -f conftest.$ac_objext
38948 if { (ac_try="$ac_compile"
38949 case "(($ac_try" in
38950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38951 *) ac_try_echo=$ac_try;;
38952 esac
38953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38954 (eval "$ac_compile") 2>conftest.er1
38955 ac_status=$?
38956 grep -v '^ *+' conftest.er1 >conftest.err
38957 rm -f conftest.er1
38958 cat conftest.err >&5
38959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38960 (exit $ac_status); } && {
38961 test -z "$ac_c_werror_flag" ||
38962 test ! -s conftest.err
38963 } && test -s conftest.$ac_objext; then
38964 wx_cv_func_iconv_const="no"
38965 else
38966 echo "$as_me: failed program was:" >&5
38967 sed 's/^/| /' conftest.$ac_ext >&5
38968
38969 wx_cv_func_iconv_const="yes"
38970
38971 fi
38972
38973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38974
38975 fi
38976 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38977 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38978
38979 iconv_const=
38980 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38981 iconv_const="const"
38982 fi
38983
38984
38985 cat >>confdefs.h <<_ACEOF
38986 #define ICONV_CONST $iconv_const
38987 _ACEOF
38988
38989 fi
38990 LIBICONV=
38991 if test "$am_cv_lib_iconv" = yes; then
38992 LIBICONV="-liconv"
38993 fi
38994
38995
38996 LIBS="$LIBICONV $LIBS"
38997
38998 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38999
39000 for ac_func in sigaction
39001 do
39002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39003 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39005 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39006 echo $ECHO_N "(cached) $ECHO_C" >&6
39007 else
39008 cat >conftest.$ac_ext <<_ACEOF
39009 /* confdefs.h. */
39010 _ACEOF
39011 cat confdefs.h >>conftest.$ac_ext
39012 cat >>conftest.$ac_ext <<_ACEOF
39013 /* end confdefs.h. */
39014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39016 #define $ac_func innocuous_$ac_func
39017
39018 /* System header to define __stub macros and hopefully few prototypes,
39019 which can conflict with char $ac_func (); below.
39020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39021 <limits.h> exists even on freestanding compilers. */
39022
39023 #ifdef __STDC__
39024 # include <limits.h>
39025 #else
39026 # include <assert.h>
39027 #endif
39028
39029 #undef $ac_func
39030
39031 /* Override any GCC internal prototype to avoid an error.
39032 Use char because int might match the return type of a GCC
39033 builtin and then its argument prototype would still apply. */
39034 #ifdef __cplusplus
39035 extern "C"
39036 #endif
39037 char $ac_func ();
39038 /* The GNU C library defines this for functions which it implements
39039 to always fail with ENOSYS. Some functions are actually named
39040 something starting with __ and the normal name is an alias. */
39041 #if defined __stub_$ac_func || defined __stub___$ac_func
39042 choke me
39043 #endif
39044
39045 int
39046 main ()
39047 {
39048 return $ac_func ();
39049 ;
39050 return 0;
39051 }
39052 _ACEOF
39053 rm -f conftest.$ac_objext conftest$ac_exeext
39054 if { (ac_try="$ac_link"
39055 case "(($ac_try" in
39056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39057 *) ac_try_echo=$ac_try;;
39058 esac
39059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39060 (eval "$ac_link") 2>conftest.er1
39061 ac_status=$?
39062 grep -v '^ *+' conftest.er1 >conftest.err
39063 rm -f conftest.er1
39064 cat conftest.err >&5
39065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39066 (exit $ac_status); } && {
39067 test -z "$ac_c_werror_flag" ||
39068 test ! -s conftest.err
39069 } && test -s conftest$ac_exeext &&
39070 $as_test_x conftest$ac_exeext; then
39071 eval "$as_ac_var=yes"
39072 else
39073 echo "$as_me: failed program was:" >&5
39074 sed 's/^/| /' conftest.$ac_ext >&5
39075
39076 eval "$as_ac_var=no"
39077 fi
39078
39079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39080 conftest$ac_exeext conftest.$ac_ext
39081 fi
39082 ac_res=`eval echo '${'$as_ac_var'}'`
39083 { echo "$as_me:$LINENO: result: $ac_res" >&5
39084 echo "${ECHO_T}$ac_res" >&6; }
39085 if test `eval echo '${'$as_ac_var'}'` = yes; then
39086 cat >>confdefs.h <<_ACEOF
39087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39088 _ACEOF
39089
39090 fi
39091 done
39092
39093
39094 if test "$ac_cv_func_sigaction" = "no"; then
39095 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39096 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39097 wxUSE_ON_FATAL_EXCEPTION=no
39098 fi
39099
39100 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39101 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39102 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39103 if test "${wx_cv_type_sa_handler+set}" = set; then
39104 echo $ECHO_N "(cached) $ECHO_C" >&6
39105 else
39106
39107 ac_ext=cpp
39108 ac_cpp='$CXXCPP $CPPFLAGS'
39109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39112
39113 cat >conftest.$ac_ext <<_ACEOF
39114 /* confdefs.h. */
39115 _ACEOF
39116 cat confdefs.h >>conftest.$ac_ext
39117 cat >>conftest.$ac_ext <<_ACEOF
39118 /* end confdefs.h. */
39119 #include <signal.h>
39120 int
39121 main ()
39122 {
39123
39124 extern void testSigHandler(int);
39125
39126 struct sigaction sa;
39127 sa.sa_handler = testSigHandler;
39128
39129 ;
39130 return 0;
39131 }
39132 _ACEOF
39133 rm -f conftest.$ac_objext
39134 if { (ac_try="$ac_compile"
39135 case "(($ac_try" in
39136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39137 *) ac_try_echo=$ac_try;;
39138 esac
39139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39140 (eval "$ac_compile") 2>conftest.er1
39141 ac_status=$?
39142 grep -v '^ *+' conftest.er1 >conftest.err
39143 rm -f conftest.er1
39144 cat conftest.err >&5
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); } && {
39147 test -z "$ac_cxx_werror_flag" ||
39148 test ! -s conftest.err
39149 } && test -s conftest.$ac_objext; then
39150
39151 wx_cv_type_sa_handler=int
39152
39153 else
39154 echo "$as_me: failed program was:" >&5
39155 sed 's/^/| /' conftest.$ac_ext >&5
39156
39157
39158 wx_cv_type_sa_handler=void
39159
39160 fi
39161
39162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39163 ac_ext=c
39164 ac_cpp='$CPP $CPPFLAGS'
39165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39168
39169
39170 fi
39171 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39172 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39173
39174 cat >>confdefs.h <<_ACEOF
39175 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39176 _ACEOF
39177
39178 fi
39179 fi
39180
39181 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39182 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39183 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39184 if test "${wx_cv_func_backtrace+set}" = set; then
39185 echo $ECHO_N "(cached) $ECHO_C" >&6
39186 else
39187
39188 ac_ext=cpp
39189 ac_cpp='$CXXCPP $CPPFLAGS'
39190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39193
39194 cat >conftest.$ac_ext <<_ACEOF
39195 /* confdefs.h. */
39196 _ACEOF
39197 cat confdefs.h >>conftest.$ac_ext
39198 cat >>conftest.$ac_ext <<_ACEOF
39199 /* end confdefs.h. */
39200 #include <execinfo.h>
39201 int
39202 main ()
39203 {
39204
39205 void *trace[1];
39206 char **messages;
39207
39208 backtrace(trace, 1);
39209 messages = backtrace_symbols(trace, 1);
39210
39211 ;
39212 return 0;
39213 }
39214 _ACEOF
39215 rm -f conftest.$ac_objext
39216 if { (ac_try="$ac_compile"
39217 case "(($ac_try" in
39218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39219 *) ac_try_echo=$ac_try;;
39220 esac
39221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39222 (eval "$ac_compile") 2>conftest.er1
39223 ac_status=$?
39224 grep -v '^ *+' conftest.er1 >conftest.err
39225 rm -f conftest.er1
39226 cat conftest.err >&5
39227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39228 (exit $ac_status); } && {
39229 test -z "$ac_cxx_werror_flag" ||
39230 test ! -s conftest.err
39231 } && test -s conftest.$ac_objext; then
39232 wx_cv_func_backtrace=yes
39233 else
39234 echo "$as_me: failed program was:" >&5
39235 sed 's/^/| /' conftest.$ac_ext >&5
39236
39237 wx_cv_func_backtrace=no
39238
39239 fi
39240
39241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39242 ac_ext=c
39243 ac_cpp='$CPP $CPPFLAGS'
39244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39247
39248
39249
39250 fi
39251 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39252 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39253
39254
39255 if test "$wx_cv_func_backtrace" = "no"; then
39256 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39257 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39258 wxUSE_STACKWALKER=no
39259 else
39260 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39261 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39262 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39263 echo $ECHO_N "(cached) $ECHO_C" >&6
39264 else
39265
39266 ac_ext=cpp
39267 ac_cpp='$CXXCPP $CPPFLAGS'
39268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39271
39272 cat >conftest.$ac_ext <<_ACEOF
39273 /* confdefs.h. */
39274 _ACEOF
39275 cat confdefs.h >>conftest.$ac_ext
39276 cat >>conftest.$ac_ext <<_ACEOF
39277 /* end confdefs.h. */
39278 #include <cxxabi.h>
39279 int
39280 main ()
39281 {
39282
39283 int rc;
39284 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39285
39286 ;
39287 return 0;
39288 }
39289 _ACEOF
39290 rm -f conftest.$ac_objext conftest$ac_exeext
39291 if { (ac_try="$ac_link"
39292 case "(($ac_try" in
39293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39294 *) ac_try_echo=$ac_try;;
39295 esac
39296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39297 (eval "$ac_link") 2>conftest.er1
39298 ac_status=$?
39299 grep -v '^ *+' conftest.er1 >conftest.err
39300 rm -f conftest.er1
39301 cat conftest.err >&5
39302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39303 (exit $ac_status); } && {
39304 test -z "$ac_cxx_werror_flag" ||
39305 test ! -s conftest.err
39306 } && test -s conftest$ac_exeext &&
39307 $as_test_x conftest$ac_exeext; then
39308 wx_cv_func_cxa_demangle=yes
39309 else
39310 echo "$as_me: failed program was:" >&5
39311 sed 's/^/| /' conftest.$ac_ext >&5
39312
39313 wx_cv_func_cxa_demangle=no
39314
39315 fi
39316
39317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39318 conftest$ac_exeext conftest.$ac_ext
39319 ac_ext=c
39320 ac_cpp='$CPP $CPPFLAGS'
39321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39324
39325
39326
39327 fi
39328 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39329 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39330
39331 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39332 cat >>confdefs.h <<\_ACEOF
39333 #define HAVE_CXA_DEMANGLE 1
39334 _ACEOF
39335
39336 fi
39337 fi
39338 fi
39339
39340 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39341 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39342 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39343 wxUSE_STACKWALKER=no
39344 fi
39345
39346
39347
39348
39349 for ac_func in mkstemp mktemp
39350 do
39351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39352 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39354 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39355 echo $ECHO_N "(cached) $ECHO_C" >&6
39356 else
39357 cat >conftest.$ac_ext <<_ACEOF
39358 /* confdefs.h. */
39359 _ACEOF
39360 cat confdefs.h >>conftest.$ac_ext
39361 cat >>conftest.$ac_ext <<_ACEOF
39362 /* end confdefs.h. */
39363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39365 #define $ac_func innocuous_$ac_func
39366
39367 /* System header to define __stub macros and hopefully few prototypes,
39368 which can conflict with char $ac_func (); below.
39369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39370 <limits.h> exists even on freestanding compilers. */
39371
39372 #ifdef __STDC__
39373 # include <limits.h>
39374 #else
39375 # include <assert.h>
39376 #endif
39377
39378 #undef $ac_func
39379
39380 /* Override any GCC internal prototype to avoid an error.
39381 Use char because int might match the return type of a GCC
39382 builtin and then its argument prototype would still apply. */
39383 #ifdef __cplusplus
39384 extern "C"
39385 #endif
39386 char $ac_func ();
39387 /* The GNU C library defines this for functions which it implements
39388 to always fail with ENOSYS. Some functions are actually named
39389 something starting with __ and the normal name is an alias. */
39390 #if defined __stub_$ac_func || defined __stub___$ac_func
39391 choke me
39392 #endif
39393
39394 int
39395 main ()
39396 {
39397 return $ac_func ();
39398 ;
39399 return 0;
39400 }
39401 _ACEOF
39402 rm -f conftest.$ac_objext conftest$ac_exeext
39403 if { (ac_try="$ac_link"
39404 case "(($ac_try" in
39405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39406 *) ac_try_echo=$ac_try;;
39407 esac
39408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39409 (eval "$ac_link") 2>conftest.er1
39410 ac_status=$?
39411 grep -v '^ *+' conftest.er1 >conftest.err
39412 rm -f conftest.er1
39413 cat conftest.err >&5
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); } && {
39416 test -z "$ac_c_werror_flag" ||
39417 test ! -s conftest.err
39418 } && test -s conftest$ac_exeext &&
39419 $as_test_x conftest$ac_exeext; then
39420 eval "$as_ac_var=yes"
39421 else
39422 echo "$as_me: failed program was:" >&5
39423 sed 's/^/| /' conftest.$ac_ext >&5
39424
39425 eval "$as_ac_var=no"
39426 fi
39427
39428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39429 conftest$ac_exeext conftest.$ac_ext
39430 fi
39431 ac_res=`eval echo '${'$as_ac_var'}'`
39432 { echo "$as_me:$LINENO: result: $ac_res" >&5
39433 echo "${ECHO_T}$ac_res" >&6; }
39434 if test `eval echo '${'$as_ac_var'}'` = yes; then
39435 cat >>confdefs.h <<_ACEOF
39436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39437 _ACEOF
39438 break
39439 fi
39440 done
39441
39442
39443 { echo "$as_me:$LINENO: checking for statfs" >&5
39444 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39445 if test "${wx_cv_func_statfs+set}" = set; then
39446 echo $ECHO_N "(cached) $ECHO_C" >&6
39447 else
39448 cat >conftest.$ac_ext <<_ACEOF
39449 /* confdefs.h. */
39450 _ACEOF
39451 cat confdefs.h >>conftest.$ac_ext
39452 cat >>conftest.$ac_ext <<_ACEOF
39453 /* end confdefs.h. */
39454
39455 #if defined(__BSD__)
39456 #include <sys/param.h>
39457 #include <sys/mount.h>
39458 #else
39459 #include <sys/vfs.h>
39460 #endif
39461
39462 int
39463 main ()
39464 {
39465
39466 long l;
39467 struct statfs fs;
39468 statfs("/", &fs);
39469 l = fs.f_bsize;
39470 l += fs.f_blocks;
39471 l += fs.f_bavail;
39472
39473 ;
39474 return 0;
39475 }
39476 _ACEOF
39477 rm -f conftest.$ac_objext
39478 if { (ac_try="$ac_compile"
39479 case "(($ac_try" in
39480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39481 *) ac_try_echo=$ac_try;;
39482 esac
39483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39484 (eval "$ac_compile") 2>conftest.er1
39485 ac_status=$?
39486 grep -v '^ *+' conftest.er1 >conftest.err
39487 rm -f conftest.er1
39488 cat conftest.err >&5
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); } && {
39491 test -z "$ac_c_werror_flag" ||
39492 test ! -s conftest.err
39493 } && test -s conftest.$ac_objext; then
39494 wx_cv_func_statfs=yes
39495 else
39496 echo "$as_me: failed program was:" >&5
39497 sed 's/^/| /' conftest.$ac_ext >&5
39498
39499 wx_cv_func_statfs=no
39500
39501 fi
39502
39503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39504
39505 fi
39506 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39507 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39508
39509 if test "$wx_cv_func_statfs" = "yes"; then
39510 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39511 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39512 if test "${wx_cv_func_statfs_decl+set}" = set; then
39513 echo $ECHO_N "(cached) $ECHO_C" >&6
39514 else
39515 ac_ext=cpp
39516 ac_cpp='$CXXCPP $CPPFLAGS'
39517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39520
39521 cat >conftest.$ac_ext <<_ACEOF
39522 /* confdefs.h. */
39523 _ACEOF
39524 cat confdefs.h >>conftest.$ac_ext
39525 cat >>conftest.$ac_ext <<_ACEOF
39526 /* end confdefs.h. */
39527
39528 #if defined(__BSD__)
39529 #include <sys/param.h>
39530 #include <sys/mount.h>
39531 #else
39532 #include <sys/vfs.h>
39533 #endif
39534
39535 int
39536 main ()
39537 {
39538
39539 struct statfs fs;
39540 statfs("", &fs);
39541
39542 ;
39543 return 0;
39544 }
39545 _ACEOF
39546 rm -f conftest.$ac_objext
39547 if { (ac_try="$ac_compile"
39548 case "(($ac_try" in
39549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39550 *) ac_try_echo=$ac_try;;
39551 esac
39552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39553 (eval "$ac_compile") 2>conftest.er1
39554 ac_status=$?
39555 grep -v '^ *+' conftest.er1 >conftest.err
39556 rm -f conftest.er1
39557 cat conftest.err >&5
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); } && {
39560 test -z "$ac_cxx_werror_flag" ||
39561 test ! -s conftest.err
39562 } && test -s conftest.$ac_objext; then
39563 wx_cv_func_statfs_decl=yes
39564 else
39565 echo "$as_me: failed program was:" >&5
39566 sed 's/^/| /' conftest.$ac_ext >&5
39567
39568 wx_cv_func_statfs_decl=no
39569
39570 fi
39571
39572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39573 ac_ext=c
39574 ac_cpp='$CPP $CPPFLAGS'
39575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39578
39579
39580 fi
39581 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39582 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39583
39584 if test "$wx_cv_func_statfs_decl" = "yes"; then
39585 cat >>confdefs.h <<\_ACEOF
39586 #define HAVE_STATFS_DECL 1
39587 _ACEOF
39588
39589 fi
39590
39591 wx_cv_type_statvfs_t="struct statfs"
39592 cat >>confdefs.h <<\_ACEOF
39593 #define HAVE_STATFS 1
39594 _ACEOF
39595
39596 else
39597 { echo "$as_me:$LINENO: checking for statvfs" >&5
39598 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39599 if test "${wx_cv_func_statvfs+set}" = set; then
39600 echo $ECHO_N "(cached) $ECHO_C" >&6
39601 else
39602 cat >conftest.$ac_ext <<_ACEOF
39603 /* confdefs.h. */
39604 _ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39608
39609 #include <stddef.h>
39610 #include <sys/statvfs.h>
39611
39612 int
39613 main ()
39614 {
39615
39616 statvfs("/", NULL);
39617
39618 ;
39619 return 0;
39620 }
39621 _ACEOF
39622 rm -f conftest.$ac_objext
39623 if { (ac_try="$ac_compile"
39624 case "(($ac_try" in
39625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39626 *) ac_try_echo=$ac_try;;
39627 esac
39628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39629 (eval "$ac_compile") 2>conftest.er1
39630 ac_status=$?
39631 grep -v '^ *+' conftest.er1 >conftest.err
39632 rm -f conftest.er1
39633 cat conftest.err >&5
39634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39635 (exit $ac_status); } && {
39636 test -z "$ac_c_werror_flag" ||
39637 test ! -s conftest.err
39638 } && test -s conftest.$ac_objext; then
39639 wx_cv_func_statvfs=yes
39640 else
39641 echo "$as_me: failed program was:" >&5
39642 sed 's/^/| /' conftest.$ac_ext >&5
39643
39644 wx_cv_func_statvfs=no
39645
39646 fi
39647
39648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39649
39650 fi
39651 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39652 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39653
39654 if test "$wx_cv_func_statvfs" = "yes"; then
39655 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39656 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39657 if test "${wx_cv_type_statvfs_t+set}" = set; then
39658 echo $ECHO_N "(cached) $ECHO_C" >&6
39659 else
39660 ac_ext=cpp
39661 ac_cpp='$CXXCPP $CPPFLAGS'
39662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39665
39666 cat >conftest.$ac_ext <<_ACEOF
39667 /* confdefs.h. */
39668 _ACEOF
39669 cat confdefs.h >>conftest.$ac_ext
39670 cat >>conftest.$ac_ext <<_ACEOF
39671 /* end confdefs.h. */
39672
39673 #include <sys/statvfs.h>
39674
39675 int
39676 main ()
39677 {
39678
39679 long l;
39680 statvfs_t fs;
39681 statvfs("/", &fs);
39682 l = fs.f_bsize;
39683 l += fs.f_blocks;
39684 l += fs.f_bavail;
39685
39686 ;
39687 return 0;
39688 }
39689 _ACEOF
39690 rm -f conftest.$ac_objext
39691 if { (ac_try="$ac_compile"
39692 case "(($ac_try" in
39693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39694 *) ac_try_echo=$ac_try;;
39695 esac
39696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39697 (eval "$ac_compile") 2>conftest.er1
39698 ac_status=$?
39699 grep -v '^ *+' conftest.er1 >conftest.err
39700 rm -f conftest.er1
39701 cat conftest.err >&5
39702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703 (exit $ac_status); } && {
39704 test -z "$ac_cxx_werror_flag" ||
39705 test ! -s conftest.err
39706 } && test -s conftest.$ac_objext; then
39707 wx_cv_type_statvfs_t=statvfs_t
39708 else
39709 echo "$as_me: failed program was:" >&5
39710 sed 's/^/| /' conftest.$ac_ext >&5
39711
39712
39713 cat >conftest.$ac_ext <<_ACEOF
39714 /* confdefs.h. */
39715 _ACEOF
39716 cat confdefs.h >>conftest.$ac_ext
39717 cat >>conftest.$ac_ext <<_ACEOF
39718 /* end confdefs.h. */
39719
39720 #include <sys/statvfs.h>
39721
39722 int
39723 main ()
39724 {
39725
39726 long l;
39727 struct statvfs fs;
39728 statvfs("/", &fs);
39729 l = fs.f_bsize;
39730 l += fs.f_blocks;
39731 l += fs.f_bavail;
39732
39733 ;
39734 return 0;
39735 }
39736 _ACEOF
39737 rm -f conftest.$ac_objext
39738 if { (ac_try="$ac_compile"
39739 case "(($ac_try" in
39740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39741 *) ac_try_echo=$ac_try;;
39742 esac
39743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39744 (eval "$ac_compile") 2>conftest.er1
39745 ac_status=$?
39746 grep -v '^ *+' conftest.er1 >conftest.err
39747 rm -f conftest.er1
39748 cat conftest.err >&5
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); } && {
39751 test -z "$ac_cxx_werror_flag" ||
39752 test ! -s conftest.err
39753 } && test -s conftest.$ac_objext; then
39754 wx_cv_type_statvfs_t="struct statvfs"
39755 else
39756 echo "$as_me: failed program was:" >&5
39757 sed 's/^/| /' conftest.$ac_ext >&5
39758
39759 wx_cv_type_statvfs_t="unknown"
39760
39761 fi
39762
39763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39764
39765
39766 fi
39767
39768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39769 ac_ext=c
39770 ac_cpp='$CPP $CPPFLAGS'
39771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39774
39775
39776 fi
39777 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39778 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39779
39780 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39781 cat >>confdefs.h <<\_ACEOF
39782 #define HAVE_STATVFS 1
39783 _ACEOF
39784
39785 fi
39786 else
39787 wx_cv_type_statvfs_t="unknown"
39788 fi
39789 fi
39790
39791 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39792 cat >>confdefs.h <<_ACEOF
39793 #define WX_STATFS_T $wx_cv_type_statvfs_t
39794 _ACEOF
39795
39796 else
39797 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39798 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39799 fi
39800
39801 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39802
39803
39804 for ac_func in fcntl flock
39805 do
39806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39807 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39809 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39810 echo $ECHO_N "(cached) $ECHO_C" >&6
39811 else
39812 cat >conftest.$ac_ext <<_ACEOF
39813 /* confdefs.h. */
39814 _ACEOF
39815 cat confdefs.h >>conftest.$ac_ext
39816 cat >>conftest.$ac_ext <<_ACEOF
39817 /* end confdefs.h. */
39818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39820 #define $ac_func innocuous_$ac_func
39821
39822 /* System header to define __stub macros and hopefully few prototypes,
39823 which can conflict with char $ac_func (); below.
39824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39825 <limits.h> exists even on freestanding compilers. */
39826
39827 #ifdef __STDC__
39828 # include <limits.h>
39829 #else
39830 # include <assert.h>
39831 #endif
39832
39833 #undef $ac_func
39834
39835 /* Override any GCC internal prototype to avoid an error.
39836 Use char because int might match the return type of a GCC
39837 builtin and then its argument prototype would still apply. */
39838 #ifdef __cplusplus
39839 extern "C"
39840 #endif
39841 char $ac_func ();
39842 /* The GNU C library defines this for functions which it implements
39843 to always fail with ENOSYS. Some functions are actually named
39844 something starting with __ and the normal name is an alias. */
39845 #if defined __stub_$ac_func || defined __stub___$ac_func
39846 choke me
39847 #endif
39848
39849 int
39850 main ()
39851 {
39852 return $ac_func ();
39853 ;
39854 return 0;
39855 }
39856 _ACEOF
39857 rm -f conftest.$ac_objext conftest$ac_exeext
39858 if { (ac_try="$ac_link"
39859 case "(($ac_try" in
39860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39861 *) ac_try_echo=$ac_try;;
39862 esac
39863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39864 (eval "$ac_link") 2>conftest.er1
39865 ac_status=$?
39866 grep -v '^ *+' conftest.er1 >conftest.err
39867 rm -f conftest.er1
39868 cat conftest.err >&5
39869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870 (exit $ac_status); } && {
39871 test -z "$ac_c_werror_flag" ||
39872 test ! -s conftest.err
39873 } && test -s conftest$ac_exeext &&
39874 $as_test_x conftest$ac_exeext; then
39875 eval "$as_ac_var=yes"
39876 else
39877 echo "$as_me: failed program was:" >&5
39878 sed 's/^/| /' conftest.$ac_ext >&5
39879
39880 eval "$as_ac_var=no"
39881 fi
39882
39883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39884 conftest$ac_exeext conftest.$ac_ext
39885 fi
39886 ac_res=`eval echo '${'$as_ac_var'}'`
39887 { echo "$as_me:$LINENO: result: $ac_res" >&5
39888 echo "${ECHO_T}$ac_res" >&6; }
39889 if test `eval echo '${'$as_ac_var'}'` = yes; then
39890 cat >>confdefs.h <<_ACEOF
39891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39892 _ACEOF
39893 break
39894 fi
39895 done
39896
39897
39898 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39899 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39900 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39901 wxUSE_SNGLINST_CHECKER=no
39902 fi
39903 fi
39904
39905
39906
39907 for ac_func in setenv putenv
39908 do
39909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39910 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39912 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39913 echo $ECHO_N "(cached) $ECHO_C" >&6
39914 else
39915 cat >conftest.$ac_ext <<_ACEOF
39916 /* confdefs.h. */
39917 _ACEOF
39918 cat confdefs.h >>conftest.$ac_ext
39919 cat >>conftest.$ac_ext <<_ACEOF
39920 /* end confdefs.h. */
39921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39923 #define $ac_func innocuous_$ac_func
39924
39925 /* System header to define __stub macros and hopefully few prototypes,
39926 which can conflict with char $ac_func (); below.
39927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39928 <limits.h> exists even on freestanding compilers. */
39929
39930 #ifdef __STDC__
39931 # include <limits.h>
39932 #else
39933 # include <assert.h>
39934 #endif
39935
39936 #undef $ac_func
39937
39938 /* Override any GCC internal prototype to avoid an error.
39939 Use char because int might match the return type of a GCC
39940 builtin and then its argument prototype would still apply. */
39941 #ifdef __cplusplus
39942 extern "C"
39943 #endif
39944 char $ac_func ();
39945 /* The GNU C library defines this for functions which it implements
39946 to always fail with ENOSYS. Some functions are actually named
39947 something starting with __ and the normal name is an alias. */
39948 #if defined __stub_$ac_func || defined __stub___$ac_func
39949 choke me
39950 #endif
39951
39952 int
39953 main ()
39954 {
39955 return $ac_func ();
39956 ;
39957 return 0;
39958 }
39959 _ACEOF
39960 rm -f conftest.$ac_objext conftest$ac_exeext
39961 if { (ac_try="$ac_link"
39962 case "(($ac_try" in
39963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39964 *) ac_try_echo=$ac_try;;
39965 esac
39966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39967 (eval "$ac_link") 2>conftest.er1
39968 ac_status=$?
39969 grep -v '^ *+' conftest.er1 >conftest.err
39970 rm -f conftest.er1
39971 cat conftest.err >&5
39972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39973 (exit $ac_status); } && {
39974 test -z "$ac_c_werror_flag" ||
39975 test ! -s conftest.err
39976 } && test -s conftest$ac_exeext &&
39977 $as_test_x conftest$ac_exeext; then
39978 eval "$as_ac_var=yes"
39979 else
39980 echo "$as_me: failed program was:" >&5
39981 sed 's/^/| /' conftest.$ac_ext >&5
39982
39983 eval "$as_ac_var=no"
39984 fi
39985
39986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39987 conftest$ac_exeext conftest.$ac_ext
39988 fi
39989 ac_res=`eval echo '${'$as_ac_var'}'`
39990 { echo "$as_me:$LINENO: result: $ac_res" >&5
39991 echo "${ECHO_T}$ac_res" >&6; }
39992 if test `eval echo '${'$as_ac_var'}'` = yes; then
39993 cat >>confdefs.h <<_ACEOF
39994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39995 _ACEOF
39996 break
39997 fi
39998 done
39999
40000 if test "$ac_cv_func_setenv" = "yes"; then
40001
40002 for ac_func in unsetenv
40003 do
40004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40005 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40007 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40008 echo $ECHO_N "(cached) $ECHO_C" >&6
40009 else
40010 cat >conftest.$ac_ext <<_ACEOF
40011 /* confdefs.h. */
40012 _ACEOF
40013 cat confdefs.h >>conftest.$ac_ext
40014 cat >>conftest.$ac_ext <<_ACEOF
40015 /* end confdefs.h. */
40016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40018 #define $ac_func innocuous_$ac_func
40019
40020 /* System header to define __stub macros and hopefully few prototypes,
40021 which can conflict with char $ac_func (); below.
40022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40023 <limits.h> exists even on freestanding compilers. */
40024
40025 #ifdef __STDC__
40026 # include <limits.h>
40027 #else
40028 # include <assert.h>
40029 #endif
40030
40031 #undef $ac_func
40032
40033 /* Override any GCC internal prototype to avoid an error.
40034 Use char because int might match the return type of a GCC
40035 builtin and then its argument prototype would still apply. */
40036 #ifdef __cplusplus
40037 extern "C"
40038 #endif
40039 char $ac_func ();
40040 /* The GNU C library defines this for functions which it implements
40041 to always fail with ENOSYS. Some functions are actually named
40042 something starting with __ and the normal name is an alias. */
40043 #if defined __stub_$ac_func || defined __stub___$ac_func
40044 choke me
40045 #endif
40046
40047 int
40048 main ()
40049 {
40050 return $ac_func ();
40051 ;
40052 return 0;
40053 }
40054 _ACEOF
40055 rm -f conftest.$ac_objext conftest$ac_exeext
40056 if { (ac_try="$ac_link"
40057 case "(($ac_try" in
40058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40059 *) ac_try_echo=$ac_try;;
40060 esac
40061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40062 (eval "$ac_link") 2>conftest.er1
40063 ac_status=$?
40064 grep -v '^ *+' conftest.er1 >conftest.err
40065 rm -f conftest.er1
40066 cat conftest.err >&5
40067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40068 (exit $ac_status); } && {
40069 test -z "$ac_c_werror_flag" ||
40070 test ! -s conftest.err
40071 } && test -s conftest$ac_exeext &&
40072 $as_test_x conftest$ac_exeext; then
40073 eval "$as_ac_var=yes"
40074 else
40075 echo "$as_me: failed program was:" >&5
40076 sed 's/^/| /' conftest.$ac_ext >&5
40077
40078 eval "$as_ac_var=no"
40079 fi
40080
40081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40082 conftest$ac_exeext conftest.$ac_ext
40083 fi
40084 ac_res=`eval echo '${'$as_ac_var'}'`
40085 { echo "$as_me:$LINENO: result: $ac_res" >&5
40086 echo "${ECHO_T}$ac_res" >&6; }
40087 if test `eval echo '${'$as_ac_var'}'` = yes; then
40088 cat >>confdefs.h <<_ACEOF
40089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40090 _ACEOF
40091
40092 fi
40093 done
40094
40095 fi
40096
40097 HAVE_SOME_SLEEP_FUNC=0
40098 if test "$USE_BEOS" = 1; then
40099 cat >>confdefs.h <<\_ACEOF
40100 #define HAVE_SLEEP 1
40101 _ACEOF
40102
40103 HAVE_SOME_SLEEP_FUNC=1
40104 fi
40105
40106 if test "$USE_DARWIN" = 1; then
40107 cat >>confdefs.h <<\_ACEOF
40108 #define HAVE_USLEEP 1
40109 _ACEOF
40110
40111 HAVE_SOME_SLEEP_FUNC=1
40112 fi
40113
40114 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40115 POSIX4_LINK=
40116
40117 for ac_func in nanosleep
40118 do
40119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40123 echo $ECHO_N "(cached) $ECHO_C" >&6
40124 else
40125 cat >conftest.$ac_ext <<_ACEOF
40126 /* confdefs.h. */
40127 _ACEOF
40128 cat confdefs.h >>conftest.$ac_ext
40129 cat >>conftest.$ac_ext <<_ACEOF
40130 /* end confdefs.h. */
40131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40133 #define $ac_func innocuous_$ac_func
40134
40135 /* System header to define __stub macros and hopefully few prototypes,
40136 which can conflict with char $ac_func (); below.
40137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40138 <limits.h> exists even on freestanding compilers. */
40139
40140 #ifdef __STDC__
40141 # include <limits.h>
40142 #else
40143 # include <assert.h>
40144 #endif
40145
40146 #undef $ac_func
40147
40148 /* Override any GCC internal prototype to avoid an error.
40149 Use char because int might match the return type of a GCC
40150 builtin and then its argument prototype would still apply. */
40151 #ifdef __cplusplus
40152 extern "C"
40153 #endif
40154 char $ac_func ();
40155 /* The GNU C library defines this for functions which it implements
40156 to always fail with ENOSYS. Some functions are actually named
40157 something starting with __ and the normal name is an alias. */
40158 #if defined __stub_$ac_func || defined __stub___$ac_func
40159 choke me
40160 #endif
40161
40162 int
40163 main ()
40164 {
40165 return $ac_func ();
40166 ;
40167 return 0;
40168 }
40169 _ACEOF
40170 rm -f conftest.$ac_objext conftest$ac_exeext
40171 if { (ac_try="$ac_link"
40172 case "(($ac_try" in
40173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40174 *) ac_try_echo=$ac_try;;
40175 esac
40176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40177 (eval "$ac_link") 2>conftest.er1
40178 ac_status=$?
40179 grep -v '^ *+' conftest.er1 >conftest.err
40180 rm -f conftest.er1
40181 cat conftest.err >&5
40182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40183 (exit $ac_status); } && {
40184 test -z "$ac_c_werror_flag" ||
40185 test ! -s conftest.err
40186 } && test -s conftest$ac_exeext &&
40187 $as_test_x conftest$ac_exeext; then
40188 eval "$as_ac_var=yes"
40189 else
40190 echo "$as_me: failed program was:" >&5
40191 sed 's/^/| /' conftest.$ac_ext >&5
40192
40193 eval "$as_ac_var=no"
40194 fi
40195
40196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40197 conftest$ac_exeext conftest.$ac_ext
40198 fi
40199 ac_res=`eval echo '${'$as_ac_var'}'`
40200 { echo "$as_me:$LINENO: result: $ac_res" >&5
40201 echo "${ECHO_T}$ac_res" >&6; }
40202 if test `eval echo '${'$as_ac_var'}'` = yes; then
40203 cat >>confdefs.h <<_ACEOF
40204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40205 _ACEOF
40206 cat >>confdefs.h <<\_ACEOF
40207 #define HAVE_NANOSLEEP 1
40208 _ACEOF
40209
40210 else
40211
40212 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40213 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40214 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40215 echo $ECHO_N "(cached) $ECHO_C" >&6
40216 else
40217 ac_check_lib_save_LIBS=$LIBS
40218 LIBS="-lposix4 $LIBS"
40219 cat >conftest.$ac_ext <<_ACEOF
40220 /* confdefs.h. */
40221 _ACEOF
40222 cat confdefs.h >>conftest.$ac_ext
40223 cat >>conftest.$ac_ext <<_ACEOF
40224 /* end confdefs.h. */
40225
40226 /* Override any GCC internal prototype to avoid an error.
40227 Use char because int might match the return type of a GCC
40228 builtin and then its argument prototype would still apply. */
40229 #ifdef __cplusplus
40230 extern "C"
40231 #endif
40232 char nanosleep ();
40233 int
40234 main ()
40235 {
40236 return nanosleep ();
40237 ;
40238 return 0;
40239 }
40240 _ACEOF
40241 rm -f conftest.$ac_objext conftest$ac_exeext
40242 if { (ac_try="$ac_link"
40243 case "(($ac_try" in
40244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40245 *) ac_try_echo=$ac_try;;
40246 esac
40247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40248 (eval "$ac_link") 2>conftest.er1
40249 ac_status=$?
40250 grep -v '^ *+' conftest.er1 >conftest.err
40251 rm -f conftest.er1
40252 cat conftest.err >&5
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); } && {
40255 test -z "$ac_c_werror_flag" ||
40256 test ! -s conftest.err
40257 } && test -s conftest$ac_exeext &&
40258 $as_test_x conftest$ac_exeext; then
40259 ac_cv_lib_posix4_nanosleep=yes
40260 else
40261 echo "$as_me: failed program was:" >&5
40262 sed 's/^/| /' conftest.$ac_ext >&5
40263
40264 ac_cv_lib_posix4_nanosleep=no
40265 fi
40266
40267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40268 conftest$ac_exeext conftest.$ac_ext
40269 LIBS=$ac_check_lib_save_LIBS
40270 fi
40271 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40272 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40273 if test $ac_cv_lib_posix4_nanosleep = yes; then
40274
40275 cat >>confdefs.h <<\_ACEOF
40276 #define HAVE_NANOSLEEP 1
40277 _ACEOF
40278
40279 POSIX4_LINK=" -lposix4"
40280
40281 else
40282
40283
40284 for wx_func in usleep
40285 do
40286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40288 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40289 echo $ECHO_N "(cached) $ECHO_C" >&6
40290 else
40291
40292 cat >conftest.$ac_ext <<_ACEOF
40293
40294 /* confdefs.h. */
40295 _ACEOF
40296 cat confdefs.h >>conftest.$ac_ext
40297 cat >>conftest.$ac_ext <<_ACEOF
40298 /* end confdefs.h. */
40299
40300
40301 $ac_includes_default
40302
40303 int
40304 main ()
40305 {
40306
40307 #ifndef $wx_func
40308 &$wx_func;
40309 #endif
40310
40311
40312 ;
40313 return 0;
40314 }
40315
40316 _ACEOF
40317 rm -f conftest.$ac_objext conftest$ac_exeext
40318 if { (ac_try="$ac_link"
40319 case "(($ac_try" in
40320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40321 *) ac_try_echo=$ac_try;;
40322 esac
40323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40324 (eval "$ac_link") 2>conftest.er1
40325 ac_status=$?
40326 grep -v '^ *+' conftest.er1 >conftest.err
40327 rm -f conftest.er1
40328 cat conftest.err >&5
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); } && {
40331 test -z "$ac_c_werror_flag" ||
40332 test ! -s conftest.err
40333 } && test -s conftest$ac_exeext &&
40334 $as_test_x conftest$ac_exeext; then
40335 eval wx_cv_func_$wx_func=yes
40336 else
40337 echo "$as_me: failed program was:" >&5
40338 sed 's/^/| /' conftest.$ac_ext >&5
40339
40340 eval wx_cv_func_$wx_func=no
40341 fi
40342
40343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40344 conftest$ac_exeext conftest.$ac_ext
40345
40346 fi
40347 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40348 { echo "$as_me:$LINENO: result: $ac_res" >&5
40349 echo "${ECHO_T}$ac_res" >&6; }
40350
40351 if eval test \$wx_cv_func_$wx_func = yes
40352 then
40353 cat >>confdefs.h <<_ACEOF
40354 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40355 _ACEOF
40356
40357
40358 else
40359 :
40360 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40361 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40362
40363 fi
40364 done
40365
40366
40367
40368 fi
40369
40370
40371
40372 fi
40373 done
40374
40375 fi
40376
40377
40378 for wx_func in uname
40379 do
40380 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40381 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40382 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40383 echo $ECHO_N "(cached) $ECHO_C" >&6
40384 else
40385
40386 cat >conftest.$ac_ext <<_ACEOF
40387
40388 /* confdefs.h. */
40389 _ACEOF
40390 cat confdefs.h >>conftest.$ac_ext
40391 cat >>conftest.$ac_ext <<_ACEOF
40392 /* end confdefs.h. */
40393
40394 #include <sys/utsname.h>
40395 $ac_includes_default
40396
40397 int
40398 main ()
40399 {
40400
40401 #ifndef $wx_func
40402 &$wx_func;
40403 #endif
40404
40405
40406 ;
40407 return 0;
40408 }
40409
40410 _ACEOF
40411 rm -f conftest.$ac_objext conftest$ac_exeext
40412 if { (ac_try="$ac_link"
40413 case "(($ac_try" in
40414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40415 *) ac_try_echo=$ac_try;;
40416 esac
40417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40418 (eval "$ac_link") 2>conftest.er1
40419 ac_status=$?
40420 grep -v '^ *+' conftest.er1 >conftest.err
40421 rm -f conftest.er1
40422 cat conftest.err >&5
40423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40424 (exit $ac_status); } && {
40425 test -z "$ac_c_werror_flag" ||
40426 test ! -s conftest.err
40427 } && test -s conftest$ac_exeext &&
40428 $as_test_x conftest$ac_exeext; then
40429 eval wx_cv_func_$wx_func=yes
40430 else
40431 echo "$as_me: failed program was:" >&5
40432 sed 's/^/| /' conftest.$ac_ext >&5
40433
40434 eval wx_cv_func_$wx_func=no
40435 fi
40436
40437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40438 conftest$ac_exeext conftest.$ac_ext
40439
40440 fi
40441 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40442 { echo "$as_me:$LINENO: result: $ac_res" >&5
40443 echo "${ECHO_T}$ac_res" >&6; }
40444
40445 if eval test \$wx_cv_func_$wx_func = yes
40446 then
40447 cat >>confdefs.h <<_ACEOF
40448 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40449 _ACEOF
40450
40451
40452 else
40453 :
40454
40455 fi
40456 done
40457
40458 if test "$wx_cv_func_uname" != yes; then
40459
40460 for wx_func in gethostname
40461 do
40462 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40463 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40464 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40465 echo $ECHO_N "(cached) $ECHO_C" >&6
40466 else
40467
40468 cat >conftest.$ac_ext <<_ACEOF
40469
40470 /* confdefs.h. */
40471 _ACEOF
40472 cat confdefs.h >>conftest.$ac_ext
40473 cat >>conftest.$ac_ext <<_ACEOF
40474 /* end confdefs.h. */
40475
40476
40477 $ac_includes_default
40478
40479 int
40480 main ()
40481 {
40482
40483 #ifndef $wx_func
40484 &$wx_func;
40485 #endif
40486
40487
40488 ;
40489 return 0;
40490 }
40491
40492 _ACEOF
40493 rm -f conftest.$ac_objext conftest$ac_exeext
40494 if { (ac_try="$ac_link"
40495 case "(($ac_try" in
40496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40497 *) ac_try_echo=$ac_try;;
40498 esac
40499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40500 (eval "$ac_link") 2>conftest.er1
40501 ac_status=$?
40502 grep -v '^ *+' conftest.er1 >conftest.err
40503 rm -f conftest.er1
40504 cat conftest.err >&5
40505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40506 (exit $ac_status); } && {
40507 test -z "$ac_c_werror_flag" ||
40508 test ! -s conftest.err
40509 } && test -s conftest$ac_exeext &&
40510 $as_test_x conftest$ac_exeext; then
40511 eval wx_cv_func_$wx_func=yes
40512 else
40513 echo "$as_me: failed program was:" >&5
40514 sed 's/^/| /' conftest.$ac_ext >&5
40515
40516 eval wx_cv_func_$wx_func=no
40517 fi
40518
40519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40520 conftest$ac_exeext conftest.$ac_ext
40521
40522 fi
40523 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40524 { echo "$as_me:$LINENO: result: $ac_res" >&5
40525 echo "${ECHO_T}$ac_res" >&6; }
40526
40527 if eval test \$wx_cv_func_$wx_func = yes
40528 then
40529 cat >>confdefs.h <<_ACEOF
40530 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40531 _ACEOF
40532
40533
40534 else
40535 :
40536
40537 fi
40538 done
40539
40540 fi
40541
40542
40543 for wx_func in strtok_r
40544 do
40545 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40546 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40547 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40548 echo $ECHO_N "(cached) $ECHO_C" >&6
40549 else
40550
40551 cat >conftest.$ac_ext <<_ACEOF
40552
40553 /* confdefs.h. */
40554 _ACEOF
40555 cat confdefs.h >>conftest.$ac_ext
40556 cat >>conftest.$ac_ext <<_ACEOF
40557 /* end confdefs.h. */
40558
40559 #define _REENTRANT
40560 $ac_includes_default
40561
40562 int
40563 main ()
40564 {
40565
40566 #ifndef $wx_func
40567 &$wx_func;
40568 #endif
40569
40570
40571 ;
40572 return 0;
40573 }
40574
40575 _ACEOF
40576 rm -f conftest.$ac_objext conftest$ac_exeext
40577 if { (ac_try="$ac_link"
40578 case "(($ac_try" in
40579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40580 *) ac_try_echo=$ac_try;;
40581 esac
40582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40583 (eval "$ac_link") 2>conftest.er1
40584 ac_status=$?
40585 grep -v '^ *+' conftest.er1 >conftest.err
40586 rm -f conftest.er1
40587 cat conftest.err >&5
40588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40589 (exit $ac_status); } && {
40590 test -z "$ac_c_werror_flag" ||
40591 test ! -s conftest.err
40592 } && test -s conftest$ac_exeext &&
40593 $as_test_x conftest$ac_exeext; then
40594 eval wx_cv_func_$wx_func=yes
40595 else
40596 echo "$as_me: failed program was:" >&5
40597 sed 's/^/| /' conftest.$ac_ext >&5
40598
40599 eval wx_cv_func_$wx_func=no
40600 fi
40601
40602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40603 conftest$ac_exeext conftest.$ac_ext
40604
40605 fi
40606 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40607 { echo "$as_me:$LINENO: result: $ac_res" >&5
40608 echo "${ECHO_T}$ac_res" >&6; }
40609
40610 if eval test \$wx_cv_func_$wx_func = yes
40611 then
40612 cat >>confdefs.h <<_ACEOF
40613 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40614 _ACEOF
40615
40616
40617 else
40618 :
40619
40620 fi
40621 done
40622
40623
40624 INET_LINK=
40625
40626 for ac_func in inet_addr
40627 do
40628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40629 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40631 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40632 echo $ECHO_N "(cached) $ECHO_C" >&6
40633 else
40634 cat >conftest.$ac_ext <<_ACEOF
40635 /* confdefs.h. */
40636 _ACEOF
40637 cat confdefs.h >>conftest.$ac_ext
40638 cat >>conftest.$ac_ext <<_ACEOF
40639 /* end confdefs.h. */
40640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40642 #define $ac_func innocuous_$ac_func
40643
40644 /* System header to define __stub macros and hopefully few prototypes,
40645 which can conflict with char $ac_func (); below.
40646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40647 <limits.h> exists even on freestanding compilers. */
40648
40649 #ifdef __STDC__
40650 # include <limits.h>
40651 #else
40652 # include <assert.h>
40653 #endif
40654
40655 #undef $ac_func
40656
40657 /* Override any GCC internal prototype to avoid an error.
40658 Use char because int might match the return type of a GCC
40659 builtin and then its argument prototype would still apply. */
40660 #ifdef __cplusplus
40661 extern "C"
40662 #endif
40663 char $ac_func ();
40664 /* The GNU C library defines this for functions which it implements
40665 to always fail with ENOSYS. Some functions are actually named
40666 something starting with __ and the normal name is an alias. */
40667 #if defined __stub_$ac_func || defined __stub___$ac_func
40668 choke me
40669 #endif
40670
40671 int
40672 main ()
40673 {
40674 return $ac_func ();
40675 ;
40676 return 0;
40677 }
40678 _ACEOF
40679 rm -f conftest.$ac_objext conftest$ac_exeext
40680 if { (ac_try="$ac_link"
40681 case "(($ac_try" in
40682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40683 *) ac_try_echo=$ac_try;;
40684 esac
40685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40686 (eval "$ac_link") 2>conftest.er1
40687 ac_status=$?
40688 grep -v '^ *+' conftest.er1 >conftest.err
40689 rm -f conftest.er1
40690 cat conftest.err >&5
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); } && {
40693 test -z "$ac_c_werror_flag" ||
40694 test ! -s conftest.err
40695 } && test -s conftest$ac_exeext &&
40696 $as_test_x conftest$ac_exeext; then
40697 eval "$as_ac_var=yes"
40698 else
40699 echo "$as_me: failed program was:" >&5
40700 sed 's/^/| /' conftest.$ac_ext >&5
40701
40702 eval "$as_ac_var=no"
40703 fi
40704
40705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40706 conftest$ac_exeext conftest.$ac_ext
40707 fi
40708 ac_res=`eval echo '${'$as_ac_var'}'`
40709 { echo "$as_me:$LINENO: result: $ac_res" >&5
40710 echo "${ECHO_T}$ac_res" >&6; }
40711 if test `eval echo '${'$as_ac_var'}'` = yes; then
40712 cat >>confdefs.h <<_ACEOF
40713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40714 _ACEOF
40715 cat >>confdefs.h <<\_ACEOF
40716 #define HAVE_INET_ADDR 1
40717 _ACEOF
40718
40719 else
40720
40721 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40722 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40723 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40724 echo $ECHO_N "(cached) $ECHO_C" >&6
40725 else
40726 ac_check_lib_save_LIBS=$LIBS
40727 LIBS="-lnsl $LIBS"
40728 cat >conftest.$ac_ext <<_ACEOF
40729 /* confdefs.h. */
40730 _ACEOF
40731 cat confdefs.h >>conftest.$ac_ext
40732 cat >>conftest.$ac_ext <<_ACEOF
40733 /* end confdefs.h. */
40734
40735 /* Override any GCC internal prototype to avoid an error.
40736 Use char because int might match the return type of a GCC
40737 builtin and then its argument prototype would still apply. */
40738 #ifdef __cplusplus
40739 extern "C"
40740 #endif
40741 char inet_addr ();
40742 int
40743 main ()
40744 {
40745 return inet_addr ();
40746 ;
40747 return 0;
40748 }
40749 _ACEOF
40750 rm -f conftest.$ac_objext conftest$ac_exeext
40751 if { (ac_try="$ac_link"
40752 case "(($ac_try" in
40753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40754 *) ac_try_echo=$ac_try;;
40755 esac
40756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40757 (eval "$ac_link") 2>conftest.er1
40758 ac_status=$?
40759 grep -v '^ *+' conftest.er1 >conftest.err
40760 rm -f conftest.er1
40761 cat conftest.err >&5
40762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40763 (exit $ac_status); } && {
40764 test -z "$ac_c_werror_flag" ||
40765 test ! -s conftest.err
40766 } && test -s conftest$ac_exeext &&
40767 $as_test_x conftest$ac_exeext; then
40768 ac_cv_lib_nsl_inet_addr=yes
40769 else
40770 echo "$as_me: failed program was:" >&5
40771 sed 's/^/| /' conftest.$ac_ext >&5
40772
40773 ac_cv_lib_nsl_inet_addr=no
40774 fi
40775
40776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40777 conftest$ac_exeext conftest.$ac_ext
40778 LIBS=$ac_check_lib_save_LIBS
40779 fi
40780 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40781 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40782 if test $ac_cv_lib_nsl_inet_addr = yes; then
40783 INET_LINK="nsl"
40784 else
40785
40786 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40787 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40788 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40789 echo $ECHO_N "(cached) $ECHO_C" >&6
40790 else
40791 ac_check_lib_save_LIBS=$LIBS
40792 LIBS="-lresolv $LIBS"
40793 cat >conftest.$ac_ext <<_ACEOF
40794 /* confdefs.h. */
40795 _ACEOF
40796 cat confdefs.h >>conftest.$ac_ext
40797 cat >>conftest.$ac_ext <<_ACEOF
40798 /* end confdefs.h. */
40799
40800 /* Override any GCC internal prototype to avoid an error.
40801 Use char because int might match the return type of a GCC
40802 builtin and then its argument prototype would still apply. */
40803 #ifdef __cplusplus
40804 extern "C"
40805 #endif
40806 char inet_addr ();
40807 int
40808 main ()
40809 {
40810 return inet_addr ();
40811 ;
40812 return 0;
40813 }
40814 _ACEOF
40815 rm -f conftest.$ac_objext conftest$ac_exeext
40816 if { (ac_try="$ac_link"
40817 case "(($ac_try" in
40818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40819 *) ac_try_echo=$ac_try;;
40820 esac
40821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40822 (eval "$ac_link") 2>conftest.er1
40823 ac_status=$?
40824 grep -v '^ *+' conftest.er1 >conftest.err
40825 rm -f conftest.er1
40826 cat conftest.err >&5
40827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40828 (exit $ac_status); } && {
40829 test -z "$ac_c_werror_flag" ||
40830 test ! -s conftest.err
40831 } && test -s conftest$ac_exeext &&
40832 $as_test_x conftest$ac_exeext; then
40833 ac_cv_lib_resolv_inet_addr=yes
40834 else
40835 echo "$as_me: failed program was:" >&5
40836 sed 's/^/| /' conftest.$ac_ext >&5
40837
40838 ac_cv_lib_resolv_inet_addr=no
40839 fi
40840
40841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40842 conftest$ac_exeext conftest.$ac_ext
40843 LIBS=$ac_check_lib_save_LIBS
40844 fi
40845 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40846 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40847 if test $ac_cv_lib_resolv_inet_addr = yes; then
40848 INET_LINK="resolv"
40849 else
40850
40851 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40852 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40853 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40854 echo $ECHO_N "(cached) $ECHO_C" >&6
40855 else
40856 ac_check_lib_save_LIBS=$LIBS
40857 LIBS="-lsocket $LIBS"
40858 cat >conftest.$ac_ext <<_ACEOF
40859 /* confdefs.h. */
40860 _ACEOF
40861 cat confdefs.h >>conftest.$ac_ext
40862 cat >>conftest.$ac_ext <<_ACEOF
40863 /* end confdefs.h. */
40864
40865 /* Override any GCC internal prototype to avoid an error.
40866 Use char because int might match the return type of a GCC
40867 builtin and then its argument prototype would still apply. */
40868 #ifdef __cplusplus
40869 extern "C"
40870 #endif
40871 char inet_addr ();
40872 int
40873 main ()
40874 {
40875 return inet_addr ();
40876 ;
40877 return 0;
40878 }
40879 _ACEOF
40880 rm -f conftest.$ac_objext conftest$ac_exeext
40881 if { (ac_try="$ac_link"
40882 case "(($ac_try" in
40883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40884 *) ac_try_echo=$ac_try;;
40885 esac
40886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40887 (eval "$ac_link") 2>conftest.er1
40888 ac_status=$?
40889 grep -v '^ *+' conftest.er1 >conftest.err
40890 rm -f conftest.er1
40891 cat conftest.err >&5
40892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40893 (exit $ac_status); } && {
40894 test -z "$ac_c_werror_flag" ||
40895 test ! -s conftest.err
40896 } && test -s conftest$ac_exeext &&
40897 $as_test_x conftest$ac_exeext; then
40898 ac_cv_lib_socket_inet_addr=yes
40899 else
40900 echo "$as_me: failed program was:" >&5
40901 sed 's/^/| /' conftest.$ac_ext >&5
40902
40903 ac_cv_lib_socket_inet_addr=no
40904 fi
40905
40906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40907 conftest$ac_exeext conftest.$ac_ext
40908 LIBS=$ac_check_lib_save_LIBS
40909 fi
40910 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40911 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40912 if test $ac_cv_lib_socket_inet_addr = yes; then
40913 INET_LINK="socket"
40914
40915 fi
40916
40917
40918
40919 fi
40920
40921
40922
40923 fi
40924
40925
40926
40927 fi
40928 done
40929
40930
40931
40932 for ac_func in inet_aton
40933 do
40934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40938 echo $ECHO_N "(cached) $ECHO_C" >&6
40939 else
40940 cat >conftest.$ac_ext <<_ACEOF
40941 /* confdefs.h. */
40942 _ACEOF
40943 cat confdefs.h >>conftest.$ac_ext
40944 cat >>conftest.$ac_ext <<_ACEOF
40945 /* end confdefs.h. */
40946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40948 #define $ac_func innocuous_$ac_func
40949
40950 /* System header to define __stub macros and hopefully few prototypes,
40951 which can conflict with char $ac_func (); below.
40952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40953 <limits.h> exists even on freestanding compilers. */
40954
40955 #ifdef __STDC__
40956 # include <limits.h>
40957 #else
40958 # include <assert.h>
40959 #endif
40960
40961 #undef $ac_func
40962
40963 /* Override any GCC internal prototype to avoid an error.
40964 Use char because int might match the return type of a GCC
40965 builtin and then its argument prototype would still apply. */
40966 #ifdef __cplusplus
40967 extern "C"
40968 #endif
40969 char $ac_func ();
40970 /* The GNU C library defines this for functions which it implements
40971 to always fail with ENOSYS. Some functions are actually named
40972 something starting with __ and the normal name is an alias. */
40973 #if defined __stub_$ac_func || defined __stub___$ac_func
40974 choke me
40975 #endif
40976
40977 int
40978 main ()
40979 {
40980 return $ac_func ();
40981 ;
40982 return 0;
40983 }
40984 _ACEOF
40985 rm -f conftest.$ac_objext conftest$ac_exeext
40986 if { (ac_try="$ac_link"
40987 case "(($ac_try" in
40988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40989 *) ac_try_echo=$ac_try;;
40990 esac
40991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40992 (eval "$ac_link") 2>conftest.er1
40993 ac_status=$?
40994 grep -v '^ *+' conftest.er1 >conftest.err
40995 rm -f conftest.er1
40996 cat conftest.err >&5
40997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40998 (exit $ac_status); } && {
40999 test -z "$ac_c_werror_flag" ||
41000 test ! -s conftest.err
41001 } && test -s conftest$ac_exeext &&
41002 $as_test_x conftest$ac_exeext; then
41003 eval "$as_ac_var=yes"
41004 else
41005 echo "$as_me: failed program was:" >&5
41006 sed 's/^/| /' conftest.$ac_ext >&5
41007
41008 eval "$as_ac_var=no"
41009 fi
41010
41011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41012 conftest$ac_exeext conftest.$ac_ext
41013 fi
41014 ac_res=`eval echo '${'$as_ac_var'}'`
41015 { echo "$as_me:$LINENO: result: $ac_res" >&5
41016 echo "${ECHO_T}$ac_res" >&6; }
41017 if test `eval echo '${'$as_ac_var'}'` = yes; then
41018 cat >>confdefs.h <<_ACEOF
41019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41020 _ACEOF
41021 cat >>confdefs.h <<\_ACEOF
41022 #define HAVE_INET_ATON 1
41023 _ACEOF
41024
41025 else
41026
41027 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41028 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41029 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41030 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41031 echo $ECHO_N "(cached) $ECHO_C" >&6
41032 else
41033 ac_check_lib_save_LIBS=$LIBS
41034 LIBS="-l$INET_LINK $LIBS"
41035 cat >conftest.$ac_ext <<_ACEOF
41036 /* confdefs.h. */
41037 _ACEOF
41038 cat confdefs.h >>conftest.$ac_ext
41039 cat >>conftest.$ac_ext <<_ACEOF
41040 /* end confdefs.h. */
41041
41042 /* Override any GCC internal prototype to avoid an error.
41043 Use char because int might match the return type of a GCC
41044 builtin and then its argument prototype would still apply. */
41045 #ifdef __cplusplus
41046 extern "C"
41047 #endif
41048 char inet_aton ();
41049 int
41050 main ()
41051 {
41052 return inet_aton ();
41053 ;
41054 return 0;
41055 }
41056 _ACEOF
41057 rm -f conftest.$ac_objext conftest$ac_exeext
41058 if { (ac_try="$ac_link"
41059 case "(($ac_try" in
41060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41061 *) ac_try_echo=$ac_try;;
41062 esac
41063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41064 (eval "$ac_link") 2>conftest.er1
41065 ac_status=$?
41066 grep -v '^ *+' conftest.er1 >conftest.err
41067 rm -f conftest.er1
41068 cat conftest.err >&5
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); } && {
41071 test -z "$ac_c_werror_flag" ||
41072 test ! -s conftest.err
41073 } && test -s conftest$ac_exeext &&
41074 $as_test_x conftest$ac_exeext; then
41075 eval "$as_ac_Lib=yes"
41076 else
41077 echo "$as_me: failed program was:" >&5
41078 sed 's/^/| /' conftest.$ac_ext >&5
41079
41080 eval "$as_ac_Lib=no"
41081 fi
41082
41083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41084 conftest$ac_exeext conftest.$ac_ext
41085 LIBS=$ac_check_lib_save_LIBS
41086 fi
41087 ac_res=`eval echo '${'$as_ac_Lib'}'`
41088 { echo "$as_me:$LINENO: result: $ac_res" >&5
41089 echo "${ECHO_T}$ac_res" >&6; }
41090 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41091 cat >>confdefs.h <<\_ACEOF
41092 #define HAVE_INET_ATON 1
41093 _ACEOF
41094
41095 fi
41096
41097
41098 fi
41099 done
41100
41101
41102 if test "x$INET_LINK" != "x"; then
41103 cat >>confdefs.h <<\_ACEOF
41104 #define HAVE_INET_ADDR 1
41105 _ACEOF
41106
41107 INET_LINK=" -l$INET_LINK"
41108 fi
41109
41110
41111 for wx_func in fdopen
41112 do
41113 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41114 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41115 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41116 echo $ECHO_N "(cached) $ECHO_C" >&6
41117 else
41118
41119 cat >conftest.$ac_ext <<_ACEOF
41120
41121 /* confdefs.h. */
41122 _ACEOF
41123 cat confdefs.h >>conftest.$ac_ext
41124 cat >>conftest.$ac_ext <<_ACEOF
41125 /* end confdefs.h. */
41126
41127
41128 $ac_includes_default
41129
41130 int
41131 main ()
41132 {
41133
41134 #ifndef $wx_func
41135 &$wx_func;
41136 #endif
41137
41138
41139 ;
41140 return 0;
41141 }
41142
41143 _ACEOF
41144 rm -f conftest.$ac_objext conftest$ac_exeext
41145 if { (ac_try="$ac_link"
41146 case "(($ac_try" in
41147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41148 *) ac_try_echo=$ac_try;;
41149 esac
41150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41151 (eval "$ac_link") 2>conftest.er1
41152 ac_status=$?
41153 grep -v '^ *+' conftest.er1 >conftest.err
41154 rm -f conftest.er1
41155 cat conftest.err >&5
41156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41157 (exit $ac_status); } && {
41158 test -z "$ac_c_werror_flag" ||
41159 test ! -s conftest.err
41160 } && test -s conftest$ac_exeext &&
41161 $as_test_x conftest$ac_exeext; then
41162 eval wx_cv_func_$wx_func=yes
41163 else
41164 echo "$as_me: failed program was:" >&5
41165 sed 's/^/| /' conftest.$ac_ext >&5
41166
41167 eval wx_cv_func_$wx_func=no
41168 fi
41169
41170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41171 conftest$ac_exeext conftest.$ac_ext
41172
41173 fi
41174 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41175 { echo "$as_me:$LINENO: result: $ac_res" >&5
41176 echo "${ECHO_T}$ac_res" >&6; }
41177
41178 if eval test \$wx_cv_func_$wx_func = yes
41179 then
41180 cat >>confdefs.h <<_ACEOF
41181 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41182 _ACEOF
41183
41184
41185 else
41186 :
41187
41188 fi
41189 done
41190
41191
41192 fi
41193
41194
41195
41196 cat >confcache <<\_ACEOF
41197 # This file is a shell script that caches the results of configure
41198 # tests run on this system so they can be shared between configure
41199 # scripts and configure runs, see configure's option --config-cache.
41200 # It is not useful on other systems. If it contains results you don't
41201 # want to keep, you may remove or edit it.
41202 #
41203 # config.status only pays attention to the cache file if you give it
41204 # the --recheck option to rerun configure.
41205 #
41206 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41207 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41208 # following values.
41209
41210 _ACEOF
41211
41212 # The following way of writing the cache mishandles newlines in values,
41213 # but we know of no workaround that is simple, portable, and efficient.
41214 # So, we kill variables containing newlines.
41215 # Ultrix sh set writes to stderr and can't be redirected directly,
41216 # and sets the high bit in the cache file unless we assign to the vars.
41217 (
41218 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41219 eval ac_val=\$$ac_var
41220 case $ac_val in #(
41221 *${as_nl}*)
41222 case $ac_var in #(
41223 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41224 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41225 esac
41226 case $ac_var in #(
41227 _ | IFS | as_nl) ;; #(
41228 *) $as_unset $ac_var ;;
41229 esac ;;
41230 esac
41231 done
41232
41233 (set) 2>&1 |
41234 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41235 *${as_nl}ac_space=\ *)
41236 # `set' does not quote correctly, so add quotes (double-quote
41237 # substitution turns \\\\ into \\, and sed turns \\ into \).
41238 sed -n \
41239 "s/'/'\\\\''/g;
41240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41241 ;; #(
41242 *)
41243 # `set' quotes correctly as required by POSIX, so do not add quotes.
41244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41245 ;;
41246 esac |
41247 sort
41248 ) |
41249 sed '
41250 /^ac_cv_env_/b end
41251 t clear
41252 :clear
41253 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41254 t end
41255 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41256 :end' >>confcache
41257 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41258 if test -w "$cache_file"; then
41259 test "x$cache_file" != "x/dev/null" &&
41260 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41261 echo "$as_me: updating cache $cache_file" >&6;}
41262 cat confcache >$cache_file
41263 else
41264 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41265 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41266 fi
41267 fi
41268 rm -f confcache
41269
41270
41271 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41272
41273
41274 THREADS_LINK=
41275 THREADS_CFLAGS=
41276
41277 if test "$wxUSE_THREADS" = "yes" ; then
41278 if test "$USE_BEOS" = 1; then
41279 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41280 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41281 wxUSE_THREADS="no"
41282 fi
41283 fi
41284
41285 if test "$wxUSE_THREADS" = "yes" ; then
41286
41287
41288 THREAD_OPTS="-pthread"
41289 if test "x$SUNCXX" = xyes; then
41290 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41291 fi
41292
41293 case "${host}" in
41294 *-*-solaris2* | *-*-sunos4* )
41295 if test "x$GCC" = "xyes"; then
41296 THREAD_OPTS="-pthreads $THREAD_OPTS"
41297 fi
41298 ;;
41299 *-*-freebsd*)
41300 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41301 ;;
41302 *-*-darwin* | *-*-cygwin* )
41303 THREAD_OPTS=""
41304 ;;
41305 *-*-aix*)
41306 THREAD_OPTS="pthreads"
41307 ;;
41308 *-hp-hpux* )
41309 if test "x$GCC" = "xyes"; then
41310 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41311 THREAD_OPTS=""
41312 else
41313 THREAD_OPTS="-mt"
41314 fi
41315 ;;
41316
41317 *-*-irix* )
41318 if test "x$GCC" = "xyes"; then
41319 THREAD_OPTS=""
41320 fi
41321 ;;
41322
41323 *-*-*UnixWare*)
41324 if test "x$GCC" != "xyes"; then
41325 THREAD_OPTS="-Ethread"
41326 fi
41327 ;;
41328 esac
41329
41330 THREAD_OPTS="$THREAD_OPTS pthread none"
41331
41332 THREADS_OK=no
41333 for flag in $THREAD_OPTS; do
41334 case $flag in
41335 none)
41336 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41337 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41338 ;;
41339
41340 -*)
41341 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41342 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41343 THREADS_CFLAGS="$flag"
41344 ;;
41345
41346 *)
41347 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41348 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41349 THREADS_LINK="-l$flag"
41350 ;;
41351 esac
41352
41353 save_LIBS="$LIBS"
41354 save_CFLAGS="$CFLAGS"
41355 LIBS="$THREADS_LINK $LIBS"
41356 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41357
41358 cat >conftest.$ac_ext <<_ACEOF
41359 /* confdefs.h. */
41360 _ACEOF
41361 cat confdefs.h >>conftest.$ac_ext
41362 cat >>conftest.$ac_ext <<_ACEOF
41363 /* end confdefs.h. */
41364 #include <pthread.h>
41365 int
41366 main ()
41367 {
41368 pthread_create(0,0,0,0);
41369 ;
41370 return 0;
41371 }
41372 _ACEOF
41373 rm -f conftest.$ac_objext conftest$ac_exeext
41374 if { (ac_try="$ac_link"
41375 case "(($ac_try" in
41376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41377 *) ac_try_echo=$ac_try;;
41378 esac
41379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41380 (eval "$ac_link") 2>conftest.er1
41381 ac_status=$?
41382 grep -v '^ *+' conftest.er1 >conftest.err
41383 rm -f conftest.er1
41384 cat conftest.err >&5
41385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41386 (exit $ac_status); } && {
41387 test -z "$ac_c_werror_flag" ||
41388 test ! -s conftest.err
41389 } && test -s conftest$ac_exeext &&
41390 $as_test_x conftest$ac_exeext; then
41391 THREADS_OK=yes
41392 else
41393 echo "$as_me: failed program was:" >&5
41394 sed 's/^/| /' conftest.$ac_ext >&5
41395
41396
41397 fi
41398
41399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41400 conftest$ac_exeext conftest.$ac_ext
41401
41402 LIBS="$save_LIBS"
41403 CFLAGS="$save_CFLAGS"
41404
41405 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41406 echo "${ECHO_T}$THREADS_OK" >&6; }
41407 if test "x$THREADS_OK" = "xyes"; then
41408 break;
41409 fi
41410
41411 THREADS_LINK=""
41412 THREADS_CFLAGS=""
41413 done
41414
41415 if test "x$THREADS_OK" != "xyes"; then
41416 wxUSE_THREADS=no
41417 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41418 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41419 else
41420 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41421 LIBS="$THREADS_LINK $LIBS"
41422
41423 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41424 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41425 flag=no
41426 case "${host}" in
41427 *-aix*)
41428 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41429 flag="-D_THREAD_SAFE"
41430 ;;
41431 *-freebsd*)
41432 flag="-D_THREAD_SAFE"
41433 ;;
41434 *-hp-hpux* )
41435 flag="-D_REENTRANT"
41436 if test "x$GCC" != "xyes"; then
41437 flag="$flag -D_RWSTD_MULTI_THREAD"
41438 fi
41439 ;;
41440 *solaris* | alpha*-osf*)
41441 flag="-D_REENTRANT"
41442 ;;
41443 esac
41444 { echo "$as_me:$LINENO: result: ${flag}" >&5
41445 echo "${ECHO_T}${flag}" >&6; }
41446 if test "x$flag" != xno; then
41447 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41448 fi
41449
41450 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41451 fi
41452 fi
41453
41454 if test "$wxUSE_THREADS" = "yes" ; then
41455
41456 for ac_func in thr_setconcurrency
41457 do
41458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41459 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41461 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41462 echo $ECHO_N "(cached) $ECHO_C" >&6
41463 else
41464 cat >conftest.$ac_ext <<_ACEOF
41465 /* confdefs.h. */
41466 _ACEOF
41467 cat confdefs.h >>conftest.$ac_ext
41468 cat >>conftest.$ac_ext <<_ACEOF
41469 /* end confdefs.h. */
41470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41472 #define $ac_func innocuous_$ac_func
41473
41474 /* System header to define __stub macros and hopefully few prototypes,
41475 which can conflict with char $ac_func (); below.
41476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41477 <limits.h> exists even on freestanding compilers. */
41478
41479 #ifdef __STDC__
41480 # include <limits.h>
41481 #else
41482 # include <assert.h>
41483 #endif
41484
41485 #undef $ac_func
41486
41487 /* Override any GCC internal prototype to avoid an error.
41488 Use char because int might match the return type of a GCC
41489 builtin and then its argument prototype would still apply. */
41490 #ifdef __cplusplus
41491 extern "C"
41492 #endif
41493 char $ac_func ();
41494 /* The GNU C library defines this for functions which it implements
41495 to always fail with ENOSYS. Some functions are actually named
41496 something starting with __ and the normal name is an alias. */
41497 #if defined __stub_$ac_func || defined __stub___$ac_func
41498 choke me
41499 #endif
41500
41501 int
41502 main ()
41503 {
41504 return $ac_func ();
41505 ;
41506 return 0;
41507 }
41508 _ACEOF
41509 rm -f conftest.$ac_objext conftest$ac_exeext
41510 if { (ac_try="$ac_link"
41511 case "(($ac_try" in
41512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41513 *) ac_try_echo=$ac_try;;
41514 esac
41515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41516 (eval "$ac_link") 2>conftest.er1
41517 ac_status=$?
41518 grep -v '^ *+' conftest.er1 >conftest.err
41519 rm -f conftest.er1
41520 cat conftest.err >&5
41521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41522 (exit $ac_status); } && {
41523 test -z "$ac_c_werror_flag" ||
41524 test ! -s conftest.err
41525 } && test -s conftest$ac_exeext &&
41526 $as_test_x conftest$ac_exeext; then
41527 eval "$as_ac_var=yes"
41528 else
41529 echo "$as_me: failed program was:" >&5
41530 sed 's/^/| /' conftest.$ac_ext >&5
41531
41532 eval "$as_ac_var=no"
41533 fi
41534
41535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41536 conftest$ac_exeext conftest.$ac_ext
41537 fi
41538 ac_res=`eval echo '${'$as_ac_var'}'`
41539 { echo "$as_me:$LINENO: result: $ac_res" >&5
41540 echo "${ECHO_T}$ac_res" >&6; }
41541 if test `eval echo '${'$as_ac_var'}'` = yes; then
41542 cat >>confdefs.h <<_ACEOF
41543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41544 _ACEOF
41545
41546 fi
41547 done
41548
41549
41550 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41551 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41552 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41553 echo $ECHO_N "(cached) $ECHO_C" >&6
41554 else
41555
41556 ac_ext=cpp
41557 ac_cpp='$CXXCPP $CPPFLAGS'
41558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41561
41562 cat >conftest.$ac_ext <<_ACEOF
41563 /* confdefs.h. */
41564 _ACEOF
41565 cat confdefs.h >>conftest.$ac_ext
41566 cat >>conftest.$ac_ext <<_ACEOF
41567 /* end confdefs.h. */
41568 #include <pthread.h>
41569 void ThreadCleanupFunc(void *p);
41570
41571 int
41572 main ()
41573 {
41574
41575 void *p;
41576 pthread_cleanup_push(ThreadCleanupFunc, p);
41577 pthread_cleanup_pop(0);
41578
41579 ;
41580 return 0;
41581 }
41582 _ACEOF
41583 rm -f conftest.$ac_objext
41584 if { (ac_try="$ac_compile"
41585 case "(($ac_try" in
41586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41587 *) ac_try_echo=$ac_try;;
41588 esac
41589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41590 (eval "$ac_compile") 2>conftest.er1
41591 ac_status=$?
41592 grep -v '^ *+' conftest.er1 >conftest.err
41593 rm -f conftest.er1
41594 cat conftest.err >&5
41595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41596 (exit $ac_status); } && {
41597 test -z "$ac_cxx_werror_flag" ||
41598 test ! -s conftest.err
41599 } && test -s conftest.$ac_objext; then
41600
41601 wx_cv_func_pthread_cleanup=yes
41602
41603 else
41604 echo "$as_me: failed program was:" >&5
41605 sed 's/^/| /' conftest.$ac_ext >&5
41606
41607
41608 wx_cv_func_pthread_cleanup=no
41609
41610
41611 fi
41612
41613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41614 ac_ext=c
41615 ac_cpp='$CPP $CPPFLAGS'
41616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41619
41620
41621 fi
41622 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41623 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41624 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41625 cat >>confdefs.h <<\_ACEOF
41626 #define wxHAVE_PTHREAD_CLEANUP 1
41627 _ACEOF
41628
41629 fi
41630
41631
41632 for ac_header in sched.h
41633 do
41634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41635 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41638 echo $ECHO_N "(cached) $ECHO_C" >&6
41639 else
41640 cat >conftest.$ac_ext <<_ACEOF
41641 /* confdefs.h. */
41642 _ACEOF
41643 cat confdefs.h >>conftest.$ac_ext
41644 cat >>conftest.$ac_ext <<_ACEOF
41645 /* end confdefs.h. */
41646 $ac_includes_default
41647
41648 #include <$ac_header>
41649 _ACEOF
41650 rm -f conftest.$ac_objext
41651 if { (ac_try="$ac_compile"
41652 case "(($ac_try" in
41653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41654 *) ac_try_echo=$ac_try;;
41655 esac
41656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41657 (eval "$ac_compile") 2>conftest.er1
41658 ac_status=$?
41659 grep -v '^ *+' conftest.er1 >conftest.err
41660 rm -f conftest.er1
41661 cat conftest.err >&5
41662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41663 (exit $ac_status); } && {
41664 test -z "$ac_c_werror_flag" ||
41665 test ! -s conftest.err
41666 } && test -s conftest.$ac_objext; then
41667 eval "$as_ac_Header=yes"
41668 else
41669 echo "$as_me: failed program was:" >&5
41670 sed 's/^/| /' conftest.$ac_ext >&5
41671
41672 eval "$as_ac_Header=no"
41673 fi
41674
41675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41676 fi
41677 ac_res=`eval echo '${'$as_ac_Header'}'`
41678 { echo "$as_me:$LINENO: result: $ac_res" >&5
41679 echo "${ECHO_T}$ac_res" >&6; }
41680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41681 cat >>confdefs.h <<_ACEOF
41682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41683 _ACEOF
41684
41685 fi
41686
41687 done
41688
41689 if test "$ac_cv_header_sched_h" = "yes"; then
41690 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41691 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41692 if test "${ac_cv_func_sched_yield+set}" = set; then
41693 echo $ECHO_N "(cached) $ECHO_C" >&6
41694 else
41695 cat >conftest.$ac_ext <<_ACEOF
41696 /* confdefs.h. */
41697 _ACEOF
41698 cat confdefs.h >>conftest.$ac_ext
41699 cat >>conftest.$ac_ext <<_ACEOF
41700 /* end confdefs.h. */
41701 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41703 #define sched_yield innocuous_sched_yield
41704
41705 /* System header to define __stub macros and hopefully few prototypes,
41706 which can conflict with char sched_yield (); below.
41707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41708 <limits.h> exists even on freestanding compilers. */
41709
41710 #ifdef __STDC__
41711 # include <limits.h>
41712 #else
41713 # include <assert.h>
41714 #endif
41715
41716 #undef sched_yield
41717
41718 /* Override any GCC internal prototype to avoid an error.
41719 Use char because int might match the return type of a GCC
41720 builtin and then its argument prototype would still apply. */
41721 #ifdef __cplusplus
41722 extern "C"
41723 #endif
41724 char sched_yield ();
41725 /* The GNU C library defines this for functions which it implements
41726 to always fail with ENOSYS. Some functions are actually named
41727 something starting with __ and the normal name is an alias. */
41728 #if defined __stub_sched_yield || defined __stub___sched_yield
41729 choke me
41730 #endif
41731
41732 int
41733 main ()
41734 {
41735 return sched_yield ();
41736 ;
41737 return 0;
41738 }
41739 _ACEOF
41740 rm -f conftest.$ac_objext conftest$ac_exeext
41741 if { (ac_try="$ac_link"
41742 case "(($ac_try" in
41743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41744 *) ac_try_echo=$ac_try;;
41745 esac
41746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41747 (eval "$ac_link") 2>conftest.er1
41748 ac_status=$?
41749 grep -v '^ *+' conftest.er1 >conftest.err
41750 rm -f conftest.er1
41751 cat conftest.err >&5
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); } && {
41754 test -z "$ac_c_werror_flag" ||
41755 test ! -s conftest.err
41756 } && test -s conftest$ac_exeext &&
41757 $as_test_x conftest$ac_exeext; then
41758 ac_cv_func_sched_yield=yes
41759 else
41760 echo "$as_me: failed program was:" >&5
41761 sed 's/^/| /' conftest.$ac_ext >&5
41762
41763 ac_cv_func_sched_yield=no
41764 fi
41765
41766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41767 conftest$ac_exeext conftest.$ac_ext
41768 fi
41769 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41770 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41771 if test $ac_cv_func_sched_yield = yes; then
41772 cat >>confdefs.h <<\_ACEOF
41773 #define HAVE_SCHED_YIELD 1
41774 _ACEOF
41775
41776 else
41777
41778 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41779 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41780 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41781 echo $ECHO_N "(cached) $ECHO_C" >&6
41782 else
41783 ac_check_lib_save_LIBS=$LIBS
41784 LIBS="-lposix4 $LIBS"
41785 cat >conftest.$ac_ext <<_ACEOF
41786 /* confdefs.h. */
41787 _ACEOF
41788 cat confdefs.h >>conftest.$ac_ext
41789 cat >>conftest.$ac_ext <<_ACEOF
41790 /* end confdefs.h. */
41791
41792 /* Override any GCC internal prototype to avoid an error.
41793 Use char because int might match the return type of a GCC
41794 builtin and then its argument prototype would still apply. */
41795 #ifdef __cplusplus
41796 extern "C"
41797 #endif
41798 char sched_yield ();
41799 int
41800 main ()
41801 {
41802 return sched_yield ();
41803 ;
41804 return 0;
41805 }
41806 _ACEOF
41807 rm -f conftest.$ac_objext conftest$ac_exeext
41808 if { (ac_try="$ac_link"
41809 case "(($ac_try" in
41810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41811 *) ac_try_echo=$ac_try;;
41812 esac
41813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41814 (eval "$ac_link") 2>conftest.er1
41815 ac_status=$?
41816 grep -v '^ *+' conftest.er1 >conftest.err
41817 rm -f conftest.er1
41818 cat conftest.err >&5
41819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41820 (exit $ac_status); } && {
41821 test -z "$ac_c_werror_flag" ||
41822 test ! -s conftest.err
41823 } && test -s conftest$ac_exeext &&
41824 $as_test_x conftest$ac_exeext; then
41825 ac_cv_lib_posix4_sched_yield=yes
41826 else
41827 echo "$as_me: failed program was:" >&5
41828 sed 's/^/| /' conftest.$ac_ext >&5
41829
41830 ac_cv_lib_posix4_sched_yield=no
41831 fi
41832
41833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41834 conftest$ac_exeext conftest.$ac_ext
41835 LIBS=$ac_check_lib_save_LIBS
41836 fi
41837 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41838 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41839 if test $ac_cv_lib_posix4_sched_yield = yes; then
41840 cat >>confdefs.h <<\_ACEOF
41841 #define HAVE_SCHED_YIELD 1
41842 _ACEOF
41843 POSIX4_LINK=" -lposix4"
41844 else
41845 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41846 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41847
41848 fi
41849
41850
41851
41852 fi
41853
41854 fi
41855
41856 HAVE_PRIOR_FUNCS=0
41857 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41858 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41859 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41860 echo $ECHO_N "(cached) $ECHO_C" >&6
41861 else
41862 cat >conftest.$ac_ext <<_ACEOF
41863 /* confdefs.h. */
41864 _ACEOF
41865 cat confdefs.h >>conftest.$ac_ext
41866 cat >>conftest.$ac_ext <<_ACEOF
41867 /* end confdefs.h. */
41868 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41870 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41871
41872 /* System header to define __stub macros and hopefully few prototypes,
41873 which can conflict with char pthread_attr_getschedpolicy (); below.
41874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41875 <limits.h> exists even on freestanding compilers. */
41876
41877 #ifdef __STDC__
41878 # include <limits.h>
41879 #else
41880 # include <assert.h>
41881 #endif
41882
41883 #undef pthread_attr_getschedpolicy
41884
41885 /* Override any GCC internal prototype to avoid an error.
41886 Use char because int might match the return type of a GCC
41887 builtin and then its argument prototype would still apply. */
41888 #ifdef __cplusplus
41889 extern "C"
41890 #endif
41891 char pthread_attr_getschedpolicy ();
41892 /* The GNU C library defines this for functions which it implements
41893 to always fail with ENOSYS. Some functions are actually named
41894 something starting with __ and the normal name is an alias. */
41895 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41896 choke me
41897 #endif
41898
41899 int
41900 main ()
41901 {
41902 return pthread_attr_getschedpolicy ();
41903 ;
41904 return 0;
41905 }
41906 _ACEOF
41907 rm -f conftest.$ac_objext conftest$ac_exeext
41908 if { (ac_try="$ac_link"
41909 case "(($ac_try" in
41910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41911 *) ac_try_echo=$ac_try;;
41912 esac
41913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41914 (eval "$ac_link") 2>conftest.er1
41915 ac_status=$?
41916 grep -v '^ *+' conftest.er1 >conftest.err
41917 rm -f conftest.er1
41918 cat conftest.err >&5
41919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41920 (exit $ac_status); } && {
41921 test -z "$ac_c_werror_flag" ||
41922 test ! -s conftest.err
41923 } && test -s conftest$ac_exeext &&
41924 $as_test_x conftest$ac_exeext; then
41925 ac_cv_func_pthread_attr_getschedpolicy=yes
41926 else
41927 echo "$as_me: failed program was:" >&5
41928 sed 's/^/| /' conftest.$ac_ext >&5
41929
41930 ac_cv_func_pthread_attr_getschedpolicy=no
41931 fi
41932
41933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41934 conftest$ac_exeext conftest.$ac_ext
41935 fi
41936 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41937 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41938 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41939 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41940 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41941 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41942 echo $ECHO_N "(cached) $ECHO_C" >&6
41943 else
41944 cat >conftest.$ac_ext <<_ACEOF
41945 /* confdefs.h. */
41946 _ACEOF
41947 cat confdefs.h >>conftest.$ac_ext
41948 cat >>conftest.$ac_ext <<_ACEOF
41949 /* end confdefs.h. */
41950 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41952 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41953
41954 /* System header to define __stub macros and hopefully few prototypes,
41955 which can conflict with char pthread_attr_setschedparam (); below.
41956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41957 <limits.h> exists even on freestanding compilers. */
41958
41959 #ifdef __STDC__
41960 # include <limits.h>
41961 #else
41962 # include <assert.h>
41963 #endif
41964
41965 #undef pthread_attr_setschedparam
41966
41967 /* Override any GCC internal prototype to avoid an error.
41968 Use char because int might match the return type of a GCC
41969 builtin and then its argument prototype would still apply. */
41970 #ifdef __cplusplus
41971 extern "C"
41972 #endif
41973 char pthread_attr_setschedparam ();
41974 /* The GNU C library defines this for functions which it implements
41975 to always fail with ENOSYS. Some functions are actually named
41976 something starting with __ and the normal name is an alias. */
41977 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41978 choke me
41979 #endif
41980
41981 int
41982 main ()
41983 {
41984 return pthread_attr_setschedparam ();
41985 ;
41986 return 0;
41987 }
41988 _ACEOF
41989 rm -f conftest.$ac_objext conftest$ac_exeext
41990 if { (ac_try="$ac_link"
41991 case "(($ac_try" in
41992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41993 *) ac_try_echo=$ac_try;;
41994 esac
41995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41996 (eval "$ac_link") 2>conftest.er1
41997 ac_status=$?
41998 grep -v '^ *+' conftest.er1 >conftest.err
41999 rm -f conftest.er1
42000 cat conftest.err >&5
42001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42002 (exit $ac_status); } && {
42003 test -z "$ac_c_werror_flag" ||
42004 test ! -s conftest.err
42005 } && test -s conftest$ac_exeext &&
42006 $as_test_x conftest$ac_exeext; then
42007 ac_cv_func_pthread_attr_setschedparam=yes
42008 else
42009 echo "$as_me: failed program was:" >&5
42010 sed 's/^/| /' conftest.$ac_ext >&5
42011
42012 ac_cv_func_pthread_attr_setschedparam=no
42013 fi
42014
42015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42016 conftest$ac_exeext conftest.$ac_ext
42017 fi
42018 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42019 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42020 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42021 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42022 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42023 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42024 echo $ECHO_N "(cached) $ECHO_C" >&6
42025 else
42026 cat >conftest.$ac_ext <<_ACEOF
42027 /* confdefs.h. */
42028 _ACEOF
42029 cat confdefs.h >>conftest.$ac_ext
42030 cat >>conftest.$ac_ext <<_ACEOF
42031 /* end confdefs.h. */
42032 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42034 #define sched_get_priority_max innocuous_sched_get_priority_max
42035
42036 /* System header to define __stub macros and hopefully few prototypes,
42037 which can conflict with char sched_get_priority_max (); below.
42038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42039 <limits.h> exists even on freestanding compilers. */
42040
42041 #ifdef __STDC__
42042 # include <limits.h>
42043 #else
42044 # include <assert.h>
42045 #endif
42046
42047 #undef sched_get_priority_max
42048
42049 /* Override any GCC internal prototype to avoid an error.
42050 Use char because int might match the return type of a GCC
42051 builtin and then its argument prototype would still apply. */
42052 #ifdef __cplusplus
42053 extern "C"
42054 #endif
42055 char sched_get_priority_max ();
42056 /* The GNU C library defines this for functions which it implements
42057 to always fail with ENOSYS. Some functions are actually named
42058 something starting with __ and the normal name is an alias. */
42059 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42060 choke me
42061 #endif
42062
42063 int
42064 main ()
42065 {
42066 return sched_get_priority_max ();
42067 ;
42068 return 0;
42069 }
42070 _ACEOF
42071 rm -f conftest.$ac_objext conftest$ac_exeext
42072 if { (ac_try="$ac_link"
42073 case "(($ac_try" in
42074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42075 *) ac_try_echo=$ac_try;;
42076 esac
42077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42078 (eval "$ac_link") 2>conftest.er1
42079 ac_status=$?
42080 grep -v '^ *+' conftest.er1 >conftest.err
42081 rm -f conftest.er1
42082 cat conftest.err >&5
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); } && {
42085 test -z "$ac_c_werror_flag" ||
42086 test ! -s conftest.err
42087 } && test -s conftest$ac_exeext &&
42088 $as_test_x conftest$ac_exeext; then
42089 ac_cv_func_sched_get_priority_max=yes
42090 else
42091 echo "$as_me: failed program was:" >&5
42092 sed 's/^/| /' conftest.$ac_ext >&5
42093
42094 ac_cv_func_sched_get_priority_max=no
42095 fi
42096
42097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42098 conftest$ac_exeext conftest.$ac_ext
42099 fi
42100 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42101 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42102 if test $ac_cv_func_sched_get_priority_max = yes; then
42103 HAVE_PRIOR_FUNCS=1
42104 else
42105 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42106 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42107 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42108 echo $ECHO_N "(cached) $ECHO_C" >&6
42109 else
42110 ac_check_lib_save_LIBS=$LIBS
42111 LIBS="-lposix4 $LIBS"
42112 cat >conftest.$ac_ext <<_ACEOF
42113 /* confdefs.h. */
42114 _ACEOF
42115 cat confdefs.h >>conftest.$ac_ext
42116 cat >>conftest.$ac_ext <<_ACEOF
42117 /* end confdefs.h. */
42118
42119 /* Override any GCC internal prototype to avoid an error.
42120 Use char because int might match the return type of a GCC
42121 builtin and then its argument prototype would still apply. */
42122 #ifdef __cplusplus
42123 extern "C"
42124 #endif
42125 char sched_get_priority_max ();
42126 int
42127 main ()
42128 {
42129 return sched_get_priority_max ();
42130 ;
42131 return 0;
42132 }
42133 _ACEOF
42134 rm -f conftest.$ac_objext conftest$ac_exeext
42135 if { (ac_try="$ac_link"
42136 case "(($ac_try" in
42137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42138 *) ac_try_echo=$ac_try;;
42139 esac
42140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42141 (eval "$ac_link") 2>conftest.er1
42142 ac_status=$?
42143 grep -v '^ *+' conftest.er1 >conftest.err
42144 rm -f conftest.er1
42145 cat conftest.err >&5
42146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42147 (exit $ac_status); } && {
42148 test -z "$ac_c_werror_flag" ||
42149 test ! -s conftest.err
42150 } && test -s conftest$ac_exeext &&
42151 $as_test_x conftest$ac_exeext; then
42152 ac_cv_lib_posix4_sched_get_priority_max=yes
42153 else
42154 echo "$as_me: failed program was:" >&5
42155 sed 's/^/| /' conftest.$ac_ext >&5
42156
42157 ac_cv_lib_posix4_sched_get_priority_max=no
42158 fi
42159
42160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42161 conftest$ac_exeext conftest.$ac_ext
42162 LIBS=$ac_check_lib_save_LIBS
42163 fi
42164 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42165 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42166 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42167
42168 HAVE_PRIOR_FUNCS=1
42169 POSIX4_LINK=" -lposix4"
42170
42171 fi
42172
42173
42174 fi
42175
42176
42177 fi
42178
42179
42180 fi
42181
42182
42183 if test "$HAVE_PRIOR_FUNCS" = 1; then
42184 cat >>confdefs.h <<\_ACEOF
42185 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42186 _ACEOF
42187
42188 else
42189 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42190 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42191 fi
42192
42193 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42194 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42195 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42196 echo $ECHO_N "(cached) $ECHO_C" >&6
42197 else
42198 cat >conftest.$ac_ext <<_ACEOF
42199 /* confdefs.h. */
42200 _ACEOF
42201 cat confdefs.h >>conftest.$ac_ext
42202 cat >>conftest.$ac_ext <<_ACEOF
42203 /* end confdefs.h. */
42204 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42206 #define pthread_cancel innocuous_pthread_cancel
42207
42208 /* System header to define __stub macros and hopefully few prototypes,
42209 which can conflict with char pthread_cancel (); below.
42210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42211 <limits.h> exists even on freestanding compilers. */
42212
42213 #ifdef __STDC__
42214 # include <limits.h>
42215 #else
42216 # include <assert.h>
42217 #endif
42218
42219 #undef pthread_cancel
42220
42221 /* Override any GCC internal prototype to avoid an error.
42222 Use char because int might match the return type of a GCC
42223 builtin and then its argument prototype would still apply. */
42224 #ifdef __cplusplus
42225 extern "C"
42226 #endif
42227 char pthread_cancel ();
42228 /* The GNU C library defines this for functions which it implements
42229 to always fail with ENOSYS. Some functions are actually named
42230 something starting with __ and the normal name is an alias. */
42231 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42232 choke me
42233 #endif
42234
42235 int
42236 main ()
42237 {
42238 return pthread_cancel ();
42239 ;
42240 return 0;
42241 }
42242 _ACEOF
42243 rm -f conftest.$ac_objext conftest$ac_exeext
42244 if { (ac_try="$ac_link"
42245 case "(($ac_try" in
42246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42247 *) ac_try_echo=$ac_try;;
42248 esac
42249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42250 (eval "$ac_link") 2>conftest.er1
42251 ac_status=$?
42252 grep -v '^ *+' conftest.er1 >conftest.err
42253 rm -f conftest.er1
42254 cat conftest.err >&5
42255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256 (exit $ac_status); } && {
42257 test -z "$ac_c_werror_flag" ||
42258 test ! -s conftest.err
42259 } && test -s conftest$ac_exeext &&
42260 $as_test_x conftest$ac_exeext; then
42261 ac_cv_func_pthread_cancel=yes
42262 else
42263 echo "$as_me: failed program was:" >&5
42264 sed 's/^/| /' conftest.$ac_ext >&5
42265
42266 ac_cv_func_pthread_cancel=no
42267 fi
42268
42269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42270 conftest$ac_exeext conftest.$ac_ext
42271 fi
42272 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42273 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42274 if test $ac_cv_func_pthread_cancel = yes; then
42275 cat >>confdefs.h <<\_ACEOF
42276 #define HAVE_PTHREAD_CANCEL 1
42277 _ACEOF
42278
42279 else
42280 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42281 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42282 fi
42283
42284
42285 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42286 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42287 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42288 echo $ECHO_N "(cached) $ECHO_C" >&6
42289 else
42290 cat >conftest.$ac_ext <<_ACEOF
42291 /* confdefs.h. */
42292 _ACEOF
42293 cat confdefs.h >>conftest.$ac_ext
42294 cat >>conftest.$ac_ext <<_ACEOF
42295 /* end confdefs.h. */
42296 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42298 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42299
42300 /* System header to define __stub macros and hopefully few prototypes,
42301 which can conflict with char pthread_mutex_timedlock (); below.
42302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42303 <limits.h> exists even on freestanding compilers. */
42304
42305 #ifdef __STDC__
42306 # include <limits.h>
42307 #else
42308 # include <assert.h>
42309 #endif
42310
42311 #undef pthread_mutex_timedlock
42312
42313 /* Override any GCC internal prototype to avoid an error.
42314 Use char because int might match the return type of a GCC
42315 builtin and then its argument prototype would still apply. */
42316 #ifdef __cplusplus
42317 extern "C"
42318 #endif
42319 char pthread_mutex_timedlock ();
42320 /* The GNU C library defines this for functions which it implements
42321 to always fail with ENOSYS. Some functions are actually named
42322 something starting with __ and the normal name is an alias. */
42323 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42324 choke me
42325 #endif
42326
42327 int
42328 main ()
42329 {
42330 return pthread_mutex_timedlock ();
42331 ;
42332 return 0;
42333 }
42334 _ACEOF
42335 rm -f conftest.$ac_objext conftest$ac_exeext
42336 if { (ac_try="$ac_link"
42337 case "(($ac_try" in
42338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42339 *) ac_try_echo=$ac_try;;
42340 esac
42341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42342 (eval "$ac_link") 2>conftest.er1
42343 ac_status=$?
42344 grep -v '^ *+' conftest.er1 >conftest.err
42345 rm -f conftest.er1
42346 cat conftest.err >&5
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); } && {
42349 test -z "$ac_c_werror_flag" ||
42350 test ! -s conftest.err
42351 } && test -s conftest$ac_exeext &&
42352 $as_test_x conftest$ac_exeext; then
42353 ac_cv_func_pthread_mutex_timedlock=yes
42354 else
42355 echo "$as_me: failed program was:" >&5
42356 sed 's/^/| /' conftest.$ac_ext >&5
42357
42358 ac_cv_func_pthread_mutex_timedlock=no
42359 fi
42360
42361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42362 conftest$ac_exeext conftest.$ac_ext
42363 fi
42364 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42365 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42366 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42367 cat >>confdefs.h <<\_ACEOF
42368 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42369 _ACEOF
42370
42371 else
42372 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42373 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42374 fi
42375
42376
42377 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42378 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42379 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42380 echo $ECHO_N "(cached) $ECHO_C" >&6
42381 else
42382 cat >conftest.$ac_ext <<_ACEOF
42383 /* confdefs.h. */
42384 _ACEOF
42385 cat confdefs.h >>conftest.$ac_ext
42386 cat >>conftest.$ac_ext <<_ACEOF
42387 /* end confdefs.h. */
42388 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42390 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42391
42392 /* System header to define __stub macros and hopefully few prototypes,
42393 which can conflict with char pthread_attr_setstacksize (); below.
42394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42395 <limits.h> exists even on freestanding compilers. */
42396
42397 #ifdef __STDC__
42398 # include <limits.h>
42399 #else
42400 # include <assert.h>
42401 #endif
42402
42403 #undef pthread_attr_setstacksize
42404
42405 /* Override any GCC internal prototype to avoid an error.
42406 Use char because int might match the return type of a GCC
42407 builtin and then its argument prototype would still apply. */
42408 #ifdef __cplusplus
42409 extern "C"
42410 #endif
42411 char pthread_attr_setstacksize ();
42412 /* The GNU C library defines this for functions which it implements
42413 to always fail with ENOSYS. Some functions are actually named
42414 something starting with __ and the normal name is an alias. */
42415 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42416 choke me
42417 #endif
42418
42419 int
42420 main ()
42421 {
42422 return pthread_attr_setstacksize ();
42423 ;
42424 return 0;
42425 }
42426 _ACEOF
42427 rm -f conftest.$ac_objext conftest$ac_exeext
42428 if { (ac_try="$ac_link"
42429 case "(($ac_try" in
42430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42431 *) ac_try_echo=$ac_try;;
42432 esac
42433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42434 (eval "$ac_link") 2>conftest.er1
42435 ac_status=$?
42436 grep -v '^ *+' conftest.er1 >conftest.err
42437 rm -f conftest.er1
42438 cat conftest.err >&5
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); } && {
42441 test -z "$ac_c_werror_flag" ||
42442 test ! -s conftest.err
42443 } && test -s conftest$ac_exeext &&
42444 $as_test_x conftest$ac_exeext; then
42445 ac_cv_func_pthread_attr_setstacksize=yes
42446 else
42447 echo "$as_me: failed program was:" >&5
42448 sed 's/^/| /' conftest.$ac_ext >&5
42449
42450 ac_cv_func_pthread_attr_setstacksize=no
42451 fi
42452
42453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42454 conftest$ac_exeext conftest.$ac_ext
42455 fi
42456 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42457 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42458 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42459 cat >>confdefs.h <<\_ACEOF
42460 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42461 _ACEOF
42462
42463 fi
42464
42465
42466
42467 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42468 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42469 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42470 echo $ECHO_N "(cached) $ECHO_C" >&6
42471 else
42472
42473 cat >conftest.$ac_ext <<_ACEOF
42474 /* confdefs.h. */
42475 _ACEOF
42476 cat confdefs.h >>conftest.$ac_ext
42477 cat >>conftest.$ac_ext <<_ACEOF
42478 /* end confdefs.h. */
42479 #include <pthread.h>
42480 int
42481 main ()
42482 {
42483
42484 pthread_mutexattr_t attr;
42485 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42486
42487 ;
42488 return 0;
42489 }
42490 _ACEOF
42491 rm -f conftest.$ac_objext
42492 if { (ac_try="$ac_compile"
42493 case "(($ac_try" in
42494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42495 *) ac_try_echo=$ac_try;;
42496 esac
42497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42498 (eval "$ac_compile") 2>conftest.er1
42499 ac_status=$?
42500 grep -v '^ *+' conftest.er1 >conftest.err
42501 rm -f conftest.er1
42502 cat conftest.err >&5
42503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42504 (exit $ac_status); } && {
42505 test -z "$ac_c_werror_flag" ||
42506 test ! -s conftest.err
42507 } && test -s conftest.$ac_objext; then
42508 wx_cv_type_pthread_mutexattr_t=yes
42509 else
42510 echo "$as_me: failed program was:" >&5
42511 sed 's/^/| /' conftest.$ac_ext >&5
42512
42513 wx_cv_type_pthread_mutexattr_t=no
42514
42515 fi
42516
42517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42518
42519 fi
42520 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42521 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42522
42523 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42524 cat >>confdefs.h <<\_ACEOF
42525 #define HAVE_PTHREAD_MUTEXATTR_T 1
42526 _ACEOF
42527
42528
42529 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42530 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42531 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42532 echo $ECHO_N "(cached) $ECHO_C" >&6
42533 else
42534
42535 cat >conftest.$ac_ext <<_ACEOF
42536 /* confdefs.h. */
42537 _ACEOF
42538 cat confdefs.h >>conftest.$ac_ext
42539 cat >>conftest.$ac_ext <<_ACEOF
42540 /* end confdefs.h. */
42541 #include <pthread.h>
42542 int
42543 main ()
42544 {
42545
42546 pthread_mutexattr_t attr;
42547 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42548
42549 ;
42550 return 0;
42551 }
42552 _ACEOF
42553 rm -f conftest.$ac_objext
42554 if { (ac_try="$ac_compile"
42555 case "(($ac_try" in
42556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42557 *) ac_try_echo=$ac_try;;
42558 esac
42559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42560 (eval "$ac_compile") 2>conftest.er1
42561 ac_status=$?
42562 grep -v '^ *+' conftest.er1 >conftest.err
42563 rm -f conftest.er1
42564 cat conftest.err >&5
42565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42566 (exit $ac_status); } && {
42567 test -z "$ac_c_werror_flag" ||
42568 test ! -s conftest.err
42569 } && test -s conftest.$ac_objext; then
42570 wx_cv_func_pthread_mutexattr_settype_decl=yes
42571 else
42572 echo "$as_me: failed program was:" >&5
42573 sed 's/^/| /' conftest.$ac_ext >&5
42574
42575 wx_cv_func_pthread_mutexattr_settype_decl=no
42576
42577 fi
42578
42579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42580
42581 fi
42582 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42583 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42584 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42585 cat >>confdefs.h <<\_ACEOF
42586 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42587 _ACEOF
42588
42589 fi
42590 else
42591 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42592 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42593 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42594 echo $ECHO_N "(cached) $ECHO_C" >&6
42595 else
42596
42597 cat >conftest.$ac_ext <<_ACEOF
42598 /* confdefs.h. */
42599 _ACEOF
42600 cat confdefs.h >>conftest.$ac_ext
42601 cat >>conftest.$ac_ext <<_ACEOF
42602 /* end confdefs.h. */
42603 #include <pthread.h>
42604 int
42605 main ()
42606 {
42607
42608 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42609
42610 ;
42611 return 0;
42612 }
42613 _ACEOF
42614 rm -f conftest.$ac_objext
42615 if { (ac_try="$ac_compile"
42616 case "(($ac_try" in
42617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42618 *) ac_try_echo=$ac_try;;
42619 esac
42620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42621 (eval "$ac_compile") 2>conftest.er1
42622 ac_status=$?
42623 grep -v '^ *+' conftest.er1 >conftest.err
42624 rm -f conftest.er1
42625 cat conftest.err >&5
42626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42627 (exit $ac_status); } && {
42628 test -z "$ac_c_werror_flag" ||
42629 test ! -s conftest.err
42630 } && test -s conftest.$ac_objext; then
42631
42632 wx_cv_type_pthread_rec_mutex_init=yes
42633
42634 else
42635 echo "$as_me: failed program was:" >&5
42636 sed 's/^/| /' conftest.$ac_ext >&5
42637
42638
42639 wx_cv_type_pthread_rec_mutex_init=no
42640
42641
42642 fi
42643
42644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42645
42646 fi
42647 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42648 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42649 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42650 cat >>confdefs.h <<\_ACEOF
42651 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42652 _ACEOF
42653
42654 else
42655 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42656 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42657 fi
42658 fi
42659 fi
42660
42661 else
42662 if test "$wxUSE_THREADS" = "yes" ; then
42663 case "${host}" in
42664 *-*-mingw32* )
42665 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42666 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42667 if test "${wx_cv_cflags_mthread+set}" = set; then
42668 echo $ECHO_N "(cached) $ECHO_C" >&6
42669 else
42670
42671 CFLAGS_OLD="$CFLAGS"
42672 CFLAGS="-mthreads $CFLAGS"
42673 cat >conftest.$ac_ext <<_ACEOF
42674 /* confdefs.h. */
42675 _ACEOF
42676 cat confdefs.h >>conftest.$ac_ext
42677 cat >>conftest.$ac_ext <<_ACEOF
42678 /* end confdefs.h. */
42679
42680 int
42681 main ()
42682 {
42683
42684 ;
42685 return 0;
42686 }
42687 _ACEOF
42688 rm -f conftest.$ac_objext
42689 if { (ac_try="$ac_compile"
42690 case "(($ac_try" in
42691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42692 *) ac_try_echo=$ac_try;;
42693 esac
42694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42695 (eval "$ac_compile") 2>conftest.er1
42696 ac_status=$?
42697 grep -v '^ *+' conftest.er1 >conftest.err
42698 rm -f conftest.er1
42699 cat conftest.err >&5
42700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42701 (exit $ac_status); } && {
42702 test -z "$ac_c_werror_flag" ||
42703 test ! -s conftest.err
42704 } && test -s conftest.$ac_objext; then
42705 wx_cv_cflags_mthread=yes
42706 else
42707 echo "$as_me: failed program was:" >&5
42708 sed 's/^/| /' conftest.$ac_ext >&5
42709
42710 wx_cv_cflags_mthread=no
42711
42712 fi
42713
42714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42715
42716
42717 fi
42718 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42719 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42720
42721 if test "$wx_cv_cflags_mthread" = "yes"; then
42722 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42723 LDFLAGS="$LDFLAGS -mthreads"
42724 else
42725 CFLAGS="$CFLAGS_OLD"
42726 fi
42727 ;;
42728 *-pc-os2*emx )
42729 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42730 LDFLAGS="$LDFLAGS -Zmt"
42731 ;;
42732 esac
42733 fi
42734 fi
42735
42736 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42737 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42738 if test "${ac_cv_func_localtime_r+set}" = set; then
42739 echo $ECHO_N "(cached) $ECHO_C" >&6
42740 else
42741 cat >conftest.$ac_ext <<_ACEOF
42742 /* confdefs.h. */
42743 _ACEOF
42744 cat confdefs.h >>conftest.$ac_ext
42745 cat >>conftest.$ac_ext <<_ACEOF
42746 /* end confdefs.h. */
42747 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42749 #define localtime_r innocuous_localtime_r
42750
42751 /* System header to define __stub macros and hopefully few prototypes,
42752 which can conflict with char localtime_r (); below.
42753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42754 <limits.h> exists even on freestanding compilers. */
42755
42756 #ifdef __STDC__
42757 # include <limits.h>
42758 #else
42759 # include <assert.h>
42760 #endif
42761
42762 #undef localtime_r
42763
42764 /* Override any GCC internal prototype to avoid an error.
42765 Use char because int might match the return type of a GCC
42766 builtin and then its argument prototype would still apply. */
42767 #ifdef __cplusplus
42768 extern "C"
42769 #endif
42770 char localtime_r ();
42771 /* The GNU C library defines this for functions which it implements
42772 to always fail with ENOSYS. Some functions are actually named
42773 something starting with __ and the normal name is an alias. */
42774 #if defined __stub_localtime_r || defined __stub___localtime_r
42775 choke me
42776 #endif
42777
42778 int
42779 main ()
42780 {
42781 return localtime_r ();
42782 ;
42783 return 0;
42784 }
42785 _ACEOF
42786 rm -f conftest.$ac_objext conftest$ac_exeext
42787 if { (ac_try="$ac_link"
42788 case "(($ac_try" in
42789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42790 *) ac_try_echo=$ac_try;;
42791 esac
42792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42793 (eval "$ac_link") 2>conftest.er1
42794 ac_status=$?
42795 grep -v '^ *+' conftest.er1 >conftest.err
42796 rm -f conftest.er1
42797 cat conftest.err >&5
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); } && {
42800 test -z "$ac_c_werror_flag" ||
42801 test ! -s conftest.err
42802 } && test -s conftest$ac_exeext &&
42803 $as_test_x conftest$ac_exeext; then
42804 ac_cv_func_localtime_r=yes
42805 else
42806 echo "$as_me: failed program was:" >&5
42807 sed 's/^/| /' conftest.$ac_ext >&5
42808
42809 ac_cv_func_localtime_r=no
42810 fi
42811
42812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42813 conftest$ac_exeext conftest.$ac_ext
42814 fi
42815 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42816 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42817 if test $ac_cv_func_localtime_r = yes; then
42818 cat >>confdefs.h <<\_ACEOF
42819 #define HAVE_LOCALTIME_R 1
42820 _ACEOF
42821
42822 fi
42823
42824 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42825 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42826 if test "${ac_cv_func_gmtime_r+set}" = set; then
42827 echo $ECHO_N "(cached) $ECHO_C" >&6
42828 else
42829 cat >conftest.$ac_ext <<_ACEOF
42830 /* confdefs.h. */
42831 _ACEOF
42832 cat confdefs.h >>conftest.$ac_ext
42833 cat >>conftest.$ac_ext <<_ACEOF
42834 /* end confdefs.h. */
42835 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42837 #define gmtime_r innocuous_gmtime_r
42838
42839 /* System header to define __stub macros and hopefully few prototypes,
42840 which can conflict with char gmtime_r (); below.
42841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42842 <limits.h> exists even on freestanding compilers. */
42843
42844 #ifdef __STDC__
42845 # include <limits.h>
42846 #else
42847 # include <assert.h>
42848 #endif
42849
42850 #undef gmtime_r
42851
42852 /* Override any GCC internal prototype to avoid an error.
42853 Use char because int might match the return type of a GCC
42854 builtin and then its argument prototype would still apply. */
42855 #ifdef __cplusplus
42856 extern "C"
42857 #endif
42858 char gmtime_r ();
42859 /* The GNU C library defines this for functions which it implements
42860 to always fail with ENOSYS. Some functions are actually named
42861 something starting with __ and the normal name is an alias. */
42862 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42863 choke me
42864 #endif
42865
42866 int
42867 main ()
42868 {
42869 return gmtime_r ();
42870 ;
42871 return 0;
42872 }
42873 _ACEOF
42874 rm -f conftest.$ac_objext conftest$ac_exeext
42875 if { (ac_try="$ac_link"
42876 case "(($ac_try" in
42877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42878 *) ac_try_echo=$ac_try;;
42879 esac
42880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42881 (eval "$ac_link") 2>conftest.er1
42882 ac_status=$?
42883 grep -v '^ *+' conftest.er1 >conftest.err
42884 rm -f conftest.er1
42885 cat conftest.err >&5
42886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42887 (exit $ac_status); } && {
42888 test -z "$ac_c_werror_flag" ||
42889 test ! -s conftest.err
42890 } && test -s conftest$ac_exeext &&
42891 $as_test_x conftest$ac_exeext; then
42892 ac_cv_func_gmtime_r=yes
42893 else
42894 echo "$as_me: failed program was:" >&5
42895 sed 's/^/| /' conftest.$ac_ext >&5
42896
42897 ac_cv_func_gmtime_r=no
42898 fi
42899
42900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42901 conftest$ac_exeext conftest.$ac_ext
42902 fi
42903 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42904 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42905 if test $ac_cv_func_gmtime_r = yes; then
42906 cat >>confdefs.h <<\_ACEOF
42907 #define HAVE_GMTIME_R 1
42908 _ACEOF
42909
42910 fi
42911
42912
42913
42914
42915 ac_ext=c
42916 ac_cpp='$CPP $CPPFLAGS'
42917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42920
42921 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42922 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42923
42924 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42925 echo $ECHO_N "(cached) $ECHO_C" >&6
42926 else
42927
42928
42929 ################################################################
42930
42931 ac_cv_func_which_gethostbyname_r=unknown
42932
42933 #
42934 # ONE ARGUMENT (sanity check)
42935 #
42936
42937 # This should fail, as there is no variant of gethostbyname_r() that takes
42938 # a single argument. If it actually compiles, then we can assume that
42939 # netdb.h is not declaring the function, and the compiler is thereby
42940 # assuming an implicit prototype. In which case, we're out of luck.
42941 #
42942 cat >conftest.$ac_ext <<_ACEOF
42943 /* confdefs.h. */
42944 _ACEOF
42945 cat confdefs.h >>conftest.$ac_ext
42946 cat >>conftest.$ac_ext <<_ACEOF
42947 /* end confdefs.h. */
42948 #include <netdb.h>
42949 int
42950 main ()
42951 {
42952
42953 char *name = "www.gnu.org";
42954 (void)gethostbyname_r(name) /* ; */
42955
42956 ;
42957 return 0;
42958 }
42959 _ACEOF
42960 rm -f conftest.$ac_objext
42961 if { (ac_try="$ac_compile"
42962 case "(($ac_try" in
42963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42964 *) ac_try_echo=$ac_try;;
42965 esac
42966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42967 (eval "$ac_compile") 2>conftest.er1
42968 ac_status=$?
42969 grep -v '^ *+' conftest.er1 >conftest.err
42970 rm -f conftest.er1
42971 cat conftest.err >&5
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); } && {
42974 test -z "$ac_c_werror_flag" ||
42975 test ! -s conftest.err
42976 } && test -s conftest.$ac_objext; then
42977 ac_cv_func_which_gethostbyname_r=no
42978 else
42979 echo "$as_me: failed program was:" >&5
42980 sed 's/^/| /' conftest.$ac_ext >&5
42981
42982
42983 fi
42984
42985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42986
42987 #
42988 # SIX ARGUMENTS
42989 # (e.g. Linux)
42990 #
42991
42992 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42993
42994 cat >conftest.$ac_ext <<_ACEOF
42995 /* confdefs.h. */
42996 _ACEOF
42997 cat confdefs.h >>conftest.$ac_ext
42998 cat >>conftest.$ac_ext <<_ACEOF
42999 /* end confdefs.h. */
43000 #include <netdb.h>
43001 int
43002 main ()
43003 {
43004
43005 char *name = "www.gnu.org";
43006 struct hostent ret, *retp;
43007 char buf[1024];
43008 int buflen = 1024;
43009 int my_h_errno;
43010 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43011
43012 ;
43013 return 0;
43014 }
43015 _ACEOF
43016 rm -f conftest.$ac_objext
43017 if { (ac_try="$ac_compile"
43018 case "(($ac_try" in
43019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43020 *) ac_try_echo=$ac_try;;
43021 esac
43022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43023 (eval "$ac_compile") 2>conftest.er1
43024 ac_status=$?
43025 grep -v '^ *+' conftest.er1 >conftest.err
43026 rm -f conftest.er1
43027 cat conftest.err >&5
43028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43029 (exit $ac_status); } && {
43030 test -z "$ac_c_werror_flag" ||
43031 test ! -s conftest.err
43032 } && test -s conftest.$ac_objext; then
43033 ac_cv_func_which_gethostbyname_r=six
43034 else
43035 echo "$as_me: failed program was:" >&5
43036 sed 's/^/| /' conftest.$ac_ext >&5
43037
43038
43039 fi
43040
43041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43042
43043 fi
43044
43045 #
43046 # FIVE ARGUMENTS
43047 # (e.g. Solaris)
43048 #
43049
43050 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43051
43052 cat >conftest.$ac_ext <<_ACEOF
43053 /* confdefs.h. */
43054 _ACEOF
43055 cat confdefs.h >>conftest.$ac_ext
43056 cat >>conftest.$ac_ext <<_ACEOF
43057 /* end confdefs.h. */
43058 #include <netdb.h>
43059 int
43060 main ()
43061 {
43062
43063 char *name = "www.gnu.org";
43064 struct hostent ret;
43065 char buf[1024];
43066 int buflen = 1024;
43067 int my_h_errno;
43068 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43069
43070 ;
43071 return 0;
43072 }
43073 _ACEOF
43074 rm -f conftest.$ac_objext
43075 if { (ac_try="$ac_compile"
43076 case "(($ac_try" in
43077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43078 *) ac_try_echo=$ac_try;;
43079 esac
43080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43081 (eval "$ac_compile") 2>conftest.er1
43082 ac_status=$?
43083 grep -v '^ *+' conftest.er1 >conftest.err
43084 rm -f conftest.er1
43085 cat conftest.err >&5
43086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43087 (exit $ac_status); } && {
43088 test -z "$ac_c_werror_flag" ||
43089 test ! -s conftest.err
43090 } && test -s conftest.$ac_objext; then
43091 ac_cv_func_which_gethostbyname_r=five
43092 else
43093 echo "$as_me: failed program was:" >&5
43094 sed 's/^/| /' conftest.$ac_ext >&5
43095
43096
43097 fi
43098
43099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43100
43101 fi
43102
43103 #
43104 # THREE ARGUMENTS
43105 # (e.g. AIX, HP-UX, Tru64)
43106 #
43107
43108 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43109
43110 cat >conftest.$ac_ext <<_ACEOF
43111 /* confdefs.h. */
43112 _ACEOF
43113 cat confdefs.h >>conftest.$ac_ext
43114 cat >>conftest.$ac_ext <<_ACEOF
43115 /* end confdefs.h. */
43116 #include <netdb.h>
43117 int
43118 main ()
43119 {
43120
43121 char *name = "www.gnu.org";
43122 struct hostent ret;
43123 struct hostent_data data;
43124 (void)gethostbyname_r(name, &ret, &data) /* ; */
43125
43126 ;
43127 return 0;
43128 }
43129 _ACEOF
43130 rm -f conftest.$ac_objext
43131 if { (ac_try="$ac_compile"
43132 case "(($ac_try" in
43133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43134 *) ac_try_echo=$ac_try;;
43135 esac
43136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43137 (eval "$ac_compile") 2>conftest.er1
43138 ac_status=$?
43139 grep -v '^ *+' conftest.er1 >conftest.err
43140 rm -f conftest.er1
43141 cat conftest.err >&5
43142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43143 (exit $ac_status); } && {
43144 test -z "$ac_c_werror_flag" ||
43145 test ! -s conftest.err
43146 } && test -s conftest.$ac_objext; then
43147 ac_cv_func_which_gethostbyname_r=three
43148 else
43149 echo "$as_me: failed program was:" >&5
43150 sed 's/^/| /' conftest.$ac_ext >&5
43151
43152
43153 fi
43154
43155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43156
43157 fi
43158
43159 ################################################################
43160
43161
43162 fi
43163
43164 case "$ac_cv_func_which_gethostbyname_r" in
43165 three)
43166 { echo "$as_me:$LINENO: result: three" >&5
43167 echo "${ECHO_T}three" >&6; }
43168 cat >>confdefs.h <<\_ACEOF
43169 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43170 _ACEOF
43171
43172 ;;
43173
43174 five)
43175 { echo "$as_me:$LINENO: result: five" >&5
43176 echo "${ECHO_T}five" >&6; }
43177 cat >>confdefs.h <<\_ACEOF
43178 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43179 _ACEOF
43180
43181 ;;
43182
43183 six)
43184 { echo "$as_me:$LINENO: result: six" >&5
43185 echo "${ECHO_T}six" >&6; }
43186 cat >>confdefs.h <<\_ACEOF
43187 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43188 _ACEOF
43189
43190 ;;
43191
43192 no)
43193 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43194 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43195 ;;
43196
43197 unknown)
43198 { echo "$as_me:$LINENO: result: can't tell" >&5
43199 echo "${ECHO_T}can't tell" >&6; }
43200 ;;
43201
43202 *)
43203 { { echo "$as_me:$LINENO: error: internal error" >&5
43204 echo "$as_me: error: internal error" >&2;}
43205 { (exit 1); exit 1; }; }
43206 ;;
43207 esac
43208
43209 ac_ext=c
43210 ac_cpp='$CPP $CPPFLAGS'
43211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43214
43215
43216
43217 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43218 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43219 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43220 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43221 if test "${ac_cv_func_gethostbyname+set}" = set; then
43222 echo $ECHO_N "(cached) $ECHO_C" >&6
43223 else
43224 cat >conftest.$ac_ext <<_ACEOF
43225 /* confdefs.h. */
43226 _ACEOF
43227 cat confdefs.h >>conftest.$ac_ext
43228 cat >>conftest.$ac_ext <<_ACEOF
43229 /* end confdefs.h. */
43230 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43232 #define gethostbyname innocuous_gethostbyname
43233
43234 /* System header to define __stub macros and hopefully few prototypes,
43235 which can conflict with char gethostbyname (); below.
43236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43237 <limits.h> exists even on freestanding compilers. */
43238
43239 #ifdef __STDC__
43240 # include <limits.h>
43241 #else
43242 # include <assert.h>
43243 #endif
43244
43245 #undef gethostbyname
43246
43247 /* Override any GCC internal prototype to avoid an error.
43248 Use char because int might match the return type of a GCC
43249 builtin and then its argument prototype would still apply. */
43250 #ifdef __cplusplus
43251 extern "C"
43252 #endif
43253 char gethostbyname ();
43254 /* The GNU C library defines this for functions which it implements
43255 to always fail with ENOSYS. Some functions are actually named
43256 something starting with __ and the normal name is an alias. */
43257 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43258 choke me
43259 #endif
43260
43261 int
43262 main ()
43263 {
43264 return gethostbyname ();
43265 ;
43266 return 0;
43267 }
43268 _ACEOF
43269 rm -f conftest.$ac_objext conftest$ac_exeext
43270 if { (ac_try="$ac_link"
43271 case "(($ac_try" in
43272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43273 *) ac_try_echo=$ac_try;;
43274 esac
43275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43276 (eval "$ac_link") 2>conftest.er1
43277 ac_status=$?
43278 grep -v '^ *+' conftest.er1 >conftest.err
43279 rm -f conftest.er1
43280 cat conftest.err >&5
43281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43282 (exit $ac_status); } && {
43283 test -z "$ac_c_werror_flag" ||
43284 test ! -s conftest.err
43285 } && test -s conftest$ac_exeext &&
43286 $as_test_x conftest$ac_exeext; then
43287 ac_cv_func_gethostbyname=yes
43288 else
43289 echo "$as_me: failed program was:" >&5
43290 sed 's/^/| /' conftest.$ac_ext >&5
43291
43292 ac_cv_func_gethostbyname=no
43293 fi
43294
43295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43296 conftest$ac_exeext conftest.$ac_ext
43297 fi
43298 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43299 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43300 if test $ac_cv_func_gethostbyname = yes; then
43301 cat >>confdefs.h <<\_ACEOF
43302 #define HAVE_GETHOSTBYNAME 1
43303 _ACEOF
43304
43305 fi
43306
43307 fi
43308
43309 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43310 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43311 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43312 echo $ECHO_N "(cached) $ECHO_C" >&6
43313 else
43314
43315 ac_ext=cpp
43316 ac_cpp='$CXXCPP $CPPFLAGS'
43317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43320
43321
43322 cat >conftest.$ac_ext <<_ACEOF
43323 /* confdefs.h. */
43324 _ACEOF
43325 cat confdefs.h >>conftest.$ac_ext
43326 cat >>conftest.$ac_ext <<_ACEOF
43327 /* end confdefs.h. */
43328 #include <netdb.h>
43329 int
43330 main ()
43331 {
43332
43333 char *name;
43334 char *proto;
43335 struct servent *se, *res;
43336 char buffer[2048];
43337 int buflen = 2048;
43338 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43339
43340 ;
43341 return 0;
43342 }
43343 _ACEOF
43344 rm -f conftest.$ac_objext
43345 if { (ac_try="$ac_compile"
43346 case "(($ac_try" in
43347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43348 *) ac_try_echo=$ac_try;;
43349 esac
43350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43351 (eval "$ac_compile") 2>conftest.er1
43352 ac_status=$?
43353 grep -v '^ *+' conftest.er1 >conftest.err
43354 rm -f conftest.er1
43355 cat conftest.err >&5
43356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43357 (exit $ac_status); } && {
43358 test -z "$ac_cxx_werror_flag" ||
43359 test ! -s conftest.err
43360 } && test -s conftest.$ac_objext; then
43361 ac_cv_func_which_getservbyname_r=six
43362 else
43363 echo "$as_me: failed program was:" >&5
43364 sed 's/^/| /' conftest.$ac_ext >&5
43365
43366
43367 cat >conftest.$ac_ext <<_ACEOF
43368 /* confdefs.h. */
43369 _ACEOF
43370 cat confdefs.h >>conftest.$ac_ext
43371 cat >>conftest.$ac_ext <<_ACEOF
43372 /* end confdefs.h. */
43373 #include <netdb.h>
43374 int
43375 main ()
43376 {
43377
43378 char *name;
43379 char *proto;
43380 struct servent *se;
43381 char buffer[2048];
43382 int buflen = 2048;
43383 (void) getservbyname_r(name, proto, se, buffer, buflen)
43384
43385 ;
43386 return 0;
43387 }
43388 _ACEOF
43389 rm -f conftest.$ac_objext
43390 if { (ac_try="$ac_compile"
43391 case "(($ac_try" in
43392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43393 *) ac_try_echo=$ac_try;;
43394 esac
43395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43396 (eval "$ac_compile") 2>conftest.er1
43397 ac_status=$?
43398 grep -v '^ *+' conftest.er1 >conftest.err
43399 rm -f conftest.er1
43400 cat conftest.err >&5
43401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43402 (exit $ac_status); } && {
43403 test -z "$ac_cxx_werror_flag" ||
43404 test ! -s conftest.err
43405 } && test -s conftest.$ac_objext; then
43406 ac_cv_func_which_getservbyname_r=five
43407 else
43408 echo "$as_me: failed program was:" >&5
43409 sed 's/^/| /' conftest.$ac_ext >&5
43410
43411
43412 cat >conftest.$ac_ext <<_ACEOF
43413 /* confdefs.h. */
43414 _ACEOF
43415 cat confdefs.h >>conftest.$ac_ext
43416 cat >>conftest.$ac_ext <<_ACEOF
43417 /* end confdefs.h. */
43418 #include <netdb.h>
43419 int
43420 main ()
43421 {
43422
43423 char *name;
43424 char *proto;
43425 struct servent *se;
43426 struct servent_data data;
43427 (void) getservbyname_r(name, proto, se, &data);
43428
43429 ;
43430 return 0;
43431 }
43432 _ACEOF
43433 rm -f conftest.$ac_objext
43434 if { (ac_try="$ac_compile"
43435 case "(($ac_try" in
43436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43437 *) ac_try_echo=$ac_try;;
43438 esac
43439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43440 (eval "$ac_compile") 2>conftest.er1
43441 ac_status=$?
43442 grep -v '^ *+' conftest.er1 >conftest.err
43443 rm -f conftest.er1
43444 cat conftest.err >&5
43445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43446 (exit $ac_status); } && {
43447 test -z "$ac_cxx_werror_flag" ||
43448 test ! -s conftest.err
43449 } && test -s conftest.$ac_objext; then
43450 ac_cv_func_which_getservbyname_r=four
43451 else
43452 echo "$as_me: failed program was:" >&5
43453 sed 's/^/| /' conftest.$ac_ext >&5
43454
43455 ac_cv_func_which_getservbyname_r=no
43456
43457 fi
43458
43459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43460
43461
43462 fi
43463
43464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43465
43466
43467 fi
43468
43469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43470 ac_ext=c
43471 ac_cpp='$CPP $CPPFLAGS'
43472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43475
43476
43477
43478 fi
43479 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43480 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43481
43482 if test $ac_cv_func_which_getservbyname_r = six; then
43483 cat >>confdefs.h <<\_ACEOF
43484 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43485 _ACEOF
43486
43487 elif test $ac_cv_func_which_getservbyname_r = five; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43490 _ACEOF
43491
43492 elif test $ac_cv_func_which_getservbyname_r = four; then
43493 cat >>confdefs.h <<\_ACEOF
43494 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43495 _ACEOF
43496
43497 fi
43498
43499
43500 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43501 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43502
43503 for ac_func in getservbyname
43504 do
43505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43506 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43508 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43509 echo $ECHO_N "(cached) $ECHO_C" >&6
43510 else
43511 cat >conftest.$ac_ext <<_ACEOF
43512 /* confdefs.h. */
43513 _ACEOF
43514 cat confdefs.h >>conftest.$ac_ext
43515 cat >>conftest.$ac_ext <<_ACEOF
43516 /* end confdefs.h. */
43517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43519 #define $ac_func innocuous_$ac_func
43520
43521 /* System header to define __stub macros and hopefully few prototypes,
43522 which can conflict with char $ac_func (); below.
43523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43524 <limits.h> exists even on freestanding compilers. */
43525
43526 #ifdef __STDC__
43527 # include <limits.h>
43528 #else
43529 # include <assert.h>
43530 #endif
43531
43532 #undef $ac_func
43533
43534 /* Override any GCC internal prototype to avoid an error.
43535 Use char because int might match the return type of a GCC
43536 builtin and then its argument prototype would still apply. */
43537 #ifdef __cplusplus
43538 extern "C"
43539 #endif
43540 char $ac_func ();
43541 /* The GNU C library defines this for functions which it implements
43542 to always fail with ENOSYS. Some functions are actually named
43543 something starting with __ and the normal name is an alias. */
43544 #if defined __stub_$ac_func || defined __stub___$ac_func
43545 choke me
43546 #endif
43547
43548 int
43549 main ()
43550 {
43551 return $ac_func ();
43552 ;
43553 return 0;
43554 }
43555 _ACEOF
43556 rm -f conftest.$ac_objext conftest$ac_exeext
43557 if { (ac_try="$ac_link"
43558 case "(($ac_try" in
43559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43560 *) ac_try_echo=$ac_try;;
43561 esac
43562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43563 (eval "$ac_link") 2>conftest.er1
43564 ac_status=$?
43565 grep -v '^ *+' conftest.er1 >conftest.err
43566 rm -f conftest.er1
43567 cat conftest.err >&5
43568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43569 (exit $ac_status); } && {
43570 test -z "$ac_c_werror_flag" ||
43571 test ! -s conftest.err
43572 } && test -s conftest$ac_exeext &&
43573 $as_test_x conftest$ac_exeext; then
43574 eval "$as_ac_var=yes"
43575 else
43576 echo "$as_me: failed program was:" >&5
43577 sed 's/^/| /' conftest.$ac_ext >&5
43578
43579 eval "$as_ac_var=no"
43580 fi
43581
43582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43583 conftest$ac_exeext conftest.$ac_ext
43584 fi
43585 ac_res=`eval echo '${'$as_ac_var'}'`
43586 { echo "$as_me:$LINENO: result: $ac_res" >&5
43587 echo "${ECHO_T}$ac_res" >&6; }
43588 if test `eval echo '${'$as_ac_var'}'` = yes; then
43589 cat >>confdefs.h <<_ACEOF
43590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43591 _ACEOF
43592 cat >>confdefs.h <<\_ACEOF
43593 #define HAVE_GETSERVBYNAME 1
43594 _ACEOF
43595
43596 fi
43597 done
43598
43599 fi
43600
43601 if test "$wxUSE_THREADS" = "yes"; then
43602 cat >>confdefs.h <<\_ACEOF
43603 #define wxUSE_THREADS 1
43604 _ACEOF
43605
43606
43607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43608 else
43609 if test "$wx_cv_func_strtok_r" = "yes"; then
43610 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43611 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43612 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43613 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43614 { echo "$as_me:$LINENO: result: yes" >&5
43615 echo "${ECHO_T}yes" >&6; }
43616 else
43617 { echo "$as_me:$LINENO: result: no" >&5
43618 echo "${ECHO_T}no" >&6; }
43619 fi
43620 fi
43621 fi
43622
43623 if test "$WXGTK20" = 1 ; then
43624 cat >>confdefs.h <<_ACEOF
43625 #define __WXGTK20__ $WXGTK20
43626 _ACEOF
43627
43628 WXGTK12=1
43629 fi
43630
43631 if test "$WXGTK12" = 1 ; then
43632 cat >>confdefs.h <<_ACEOF
43633 #define __WXGTK12__ $WXGTK12
43634 _ACEOF
43635
43636 fi
43637
43638 if test "$WXGTK127" = 1 ; then
43639 cat >>confdefs.h <<_ACEOF
43640 #define __WXGTK127__ $WXGTK127
43641 _ACEOF
43642
43643 fi
43644
43645 if test "$WXGPE" = 1 ; then
43646 cat >>confdefs.h <<_ACEOF
43647 #define __WXGPE__ $WXGPE
43648 _ACEOF
43649
43650 fi
43651
43652 DEBUG_CFLAGS=
43653 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43654 DEBUG_CFLAGS="-g"
43655 wxUSE_OPTIMISE=no
43656 fi
43657
43658 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43659 wxUSE_DEBUG_INFO=yes
43660 if test "$GCC" = yes; then
43661 DEBUG_CFLAGS="-ggdb"
43662 fi
43663 fi
43664
43665 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43666 cat >>confdefs.h <<\_ACEOF
43667 #define WXDEBUG 1
43668 _ACEOF
43669
43670 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43671 else
43672 if test "$wxUSE_GTK" = 1 ; then
43673 if test "x$wxGTK_VERSION" = "x1" ; then
43674 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43675 fi
43676 fi
43677 fi
43678
43679 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43680 cat >>confdefs.h <<\_ACEOF
43681 #define wxUSE_MEMORY_TRACING 1
43682 _ACEOF
43683
43684 cat >>confdefs.h <<\_ACEOF
43685 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43686 _ACEOF
43687
43688 cat >>confdefs.h <<\_ACEOF
43689 #define wxUSE_DEBUG_NEW_ALWAYS 1
43690 _ACEOF
43691
43692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43693 fi
43694
43695 if test "$wxUSE_DMALLOC" = "yes" ; then
43696 DMALLOC_LIBS="-ldmallocthcxx"
43697 fi
43698
43699 PROFILE_FLAGS=
43700 if test "$wxUSE_PROFILE" = "yes" ; then
43701 PROFILE_FLAGS=" -pg"
43702 fi
43703
43704 if test "$GCC" = "yes" ; then
43705 if test "$wxUSE_NO_RTTI" = "yes" ; then
43706 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43707 fi
43708 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43709 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43710 fi
43711 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43712 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43713 fi
43714
43715 case "${host}" in
43716 powerpc*-*-aix* )
43717 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43718 ;;
43719 *-hppa* )
43720 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43721 ;;
43722 esac
43723 fi
43724
43725 OPTIMISE_CFLAGS=
43726 if test "$wxUSE_OPTIMISE" = "no" ; then
43727 if test "$GCC" = yes ; then
43728 OPTIMISE_CFLAGS="-O0"
43729 fi
43730 else
43731 if test "$GCC" = yes ; then
43732 case "${host}" in
43733 *-pc-os2_emx | *-pc-os2-emx )
43734 OPTIMISE_CFLAGS="-O2"
43735 ;;
43736 *)
43737 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43738 ;;
43739 esac
43740 else
43741 OPTIMISE_CFLAGS="-O"
43742 fi
43743 fi
43744
43745
43746 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43747 cat >>confdefs.h <<\_ACEOF
43748 #define WXWIN_COMPATIBILITY_2_6 1
43749 _ACEOF
43750
43751
43752 WXWIN_COMPATIBILITY_2_8="yes"
43753 fi
43754
43755 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43756 cat >>confdefs.h <<\_ACEOF
43757 #define WXWIN_COMPATIBILITY_2_8 1
43758 _ACEOF
43759
43760 fi
43761
43762
43763 if test "$wxUSE_GUI" = "yes"; then
43764 cat >>confdefs.h <<\_ACEOF
43765 #define wxUSE_GUI 1
43766 _ACEOF
43767
43768
43769 fi
43770
43771
43772 if test "$wxUSE_UNIX" = "yes"; then
43773 cat >>confdefs.h <<\_ACEOF
43774 #define wxUSE_UNIX 1
43775 _ACEOF
43776
43777 fi
43778
43779
43780 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43781
43782 HAVE_DL_FUNCS=0
43783 HAVE_SHL_FUNCS=0
43784 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43785 if test "$USE_DARWIN" = 1; then
43786 HAVE_DL_FUNCS=1
43787 elif test "$USE_DOS" = 1; then
43788 HAVE_DL_FUNCS=0
43789 else
43790
43791 for ac_func in dlopen
43792 do
43793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43796 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43797 echo $ECHO_N "(cached) $ECHO_C" >&6
43798 else
43799 cat >conftest.$ac_ext <<_ACEOF
43800 /* confdefs.h. */
43801 _ACEOF
43802 cat confdefs.h >>conftest.$ac_ext
43803 cat >>conftest.$ac_ext <<_ACEOF
43804 /* end confdefs.h. */
43805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43807 #define $ac_func innocuous_$ac_func
43808
43809 /* System header to define __stub macros and hopefully few prototypes,
43810 which can conflict with char $ac_func (); below.
43811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43812 <limits.h> exists even on freestanding compilers. */
43813
43814 #ifdef __STDC__
43815 # include <limits.h>
43816 #else
43817 # include <assert.h>
43818 #endif
43819
43820 #undef $ac_func
43821
43822 /* Override any GCC internal prototype to avoid an error.
43823 Use char because int might match the return type of a GCC
43824 builtin and then its argument prototype would still apply. */
43825 #ifdef __cplusplus
43826 extern "C"
43827 #endif
43828 char $ac_func ();
43829 /* The GNU C library defines this for functions which it implements
43830 to always fail with ENOSYS. Some functions are actually named
43831 something starting with __ and the normal name is an alias. */
43832 #if defined __stub_$ac_func || defined __stub___$ac_func
43833 choke me
43834 #endif
43835
43836 int
43837 main ()
43838 {
43839 return $ac_func ();
43840 ;
43841 return 0;
43842 }
43843 _ACEOF
43844 rm -f conftest.$ac_objext conftest$ac_exeext
43845 if { (ac_try="$ac_link"
43846 case "(($ac_try" in
43847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43848 *) ac_try_echo=$ac_try;;
43849 esac
43850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43851 (eval "$ac_link") 2>conftest.er1
43852 ac_status=$?
43853 grep -v '^ *+' conftest.er1 >conftest.err
43854 rm -f conftest.er1
43855 cat conftest.err >&5
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); } && {
43858 test -z "$ac_c_werror_flag" ||
43859 test ! -s conftest.err
43860 } && test -s conftest$ac_exeext &&
43861 $as_test_x conftest$ac_exeext; then
43862 eval "$as_ac_var=yes"
43863 else
43864 echo "$as_me: failed program was:" >&5
43865 sed 's/^/| /' conftest.$ac_ext >&5
43866
43867 eval "$as_ac_var=no"
43868 fi
43869
43870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43871 conftest$ac_exeext conftest.$ac_ext
43872 fi
43873 ac_res=`eval echo '${'$as_ac_var'}'`
43874 { echo "$as_me:$LINENO: result: $ac_res" >&5
43875 echo "${ECHO_T}$ac_res" >&6; }
43876 if test `eval echo '${'$as_ac_var'}'` = yes; then
43877 cat >>confdefs.h <<_ACEOF
43878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43879 _ACEOF
43880
43881 cat >>confdefs.h <<\_ACEOF
43882 #define HAVE_DLOPEN 1
43883 _ACEOF
43884
43885 HAVE_DL_FUNCS=1
43886
43887 else
43888
43889 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43890 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43891 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43892 echo $ECHO_N "(cached) $ECHO_C" >&6
43893 else
43894 ac_check_lib_save_LIBS=$LIBS
43895 LIBS="-ldl $LIBS"
43896 cat >conftest.$ac_ext <<_ACEOF
43897 /* confdefs.h. */
43898 _ACEOF
43899 cat confdefs.h >>conftest.$ac_ext
43900 cat >>conftest.$ac_ext <<_ACEOF
43901 /* end confdefs.h. */
43902
43903 /* Override any GCC internal prototype to avoid an error.
43904 Use char because int might match the return type of a GCC
43905 builtin and then its argument prototype would still apply. */
43906 #ifdef __cplusplus
43907 extern "C"
43908 #endif
43909 char dlopen ();
43910 int
43911 main ()
43912 {
43913 return dlopen ();
43914 ;
43915 return 0;
43916 }
43917 _ACEOF
43918 rm -f conftest.$ac_objext conftest$ac_exeext
43919 if { (ac_try="$ac_link"
43920 case "(($ac_try" in
43921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43922 *) ac_try_echo=$ac_try;;
43923 esac
43924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43925 (eval "$ac_link") 2>conftest.er1
43926 ac_status=$?
43927 grep -v '^ *+' conftest.er1 >conftest.err
43928 rm -f conftest.er1
43929 cat conftest.err >&5
43930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931 (exit $ac_status); } && {
43932 test -z "$ac_c_werror_flag" ||
43933 test ! -s conftest.err
43934 } && test -s conftest$ac_exeext &&
43935 $as_test_x conftest$ac_exeext; then
43936 ac_cv_lib_dl_dlopen=yes
43937 else
43938 echo "$as_me: failed program was:" >&5
43939 sed 's/^/| /' conftest.$ac_ext >&5
43940
43941 ac_cv_lib_dl_dlopen=no
43942 fi
43943
43944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43945 conftest$ac_exeext conftest.$ac_ext
43946 LIBS=$ac_check_lib_save_LIBS
43947 fi
43948 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43949 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43950 if test $ac_cv_lib_dl_dlopen = yes; then
43951
43952 cat >>confdefs.h <<\_ACEOF
43953 #define HAVE_DLOPEN 1
43954 _ACEOF
43955
43956 HAVE_DL_FUNCS=1
43957 DL_LINK=" -ldl$DL_LINK"
43958
43959 else
43960
43961
43962 for ac_func in shl_load
43963 do
43964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43965 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43967 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43968 echo $ECHO_N "(cached) $ECHO_C" >&6
43969 else
43970 cat >conftest.$ac_ext <<_ACEOF
43971 /* confdefs.h. */
43972 _ACEOF
43973 cat confdefs.h >>conftest.$ac_ext
43974 cat >>conftest.$ac_ext <<_ACEOF
43975 /* end confdefs.h. */
43976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43978 #define $ac_func innocuous_$ac_func
43979
43980 /* System header to define __stub macros and hopefully few prototypes,
43981 which can conflict with char $ac_func (); below.
43982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43983 <limits.h> exists even on freestanding compilers. */
43984
43985 #ifdef __STDC__
43986 # include <limits.h>
43987 #else
43988 # include <assert.h>
43989 #endif
43990
43991 #undef $ac_func
43992
43993 /* Override any GCC internal prototype to avoid an error.
43994 Use char because int might match the return type of a GCC
43995 builtin and then its argument prototype would still apply. */
43996 #ifdef __cplusplus
43997 extern "C"
43998 #endif
43999 char $ac_func ();
44000 /* The GNU C library defines this for functions which it implements
44001 to always fail with ENOSYS. Some functions are actually named
44002 something starting with __ and the normal name is an alias. */
44003 #if defined __stub_$ac_func || defined __stub___$ac_func
44004 choke me
44005 #endif
44006
44007 int
44008 main ()
44009 {
44010 return $ac_func ();
44011 ;
44012 return 0;
44013 }
44014 _ACEOF
44015 rm -f conftest.$ac_objext conftest$ac_exeext
44016 if { (ac_try="$ac_link"
44017 case "(($ac_try" in
44018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44019 *) ac_try_echo=$ac_try;;
44020 esac
44021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44022 (eval "$ac_link") 2>conftest.er1
44023 ac_status=$?
44024 grep -v '^ *+' conftest.er1 >conftest.err
44025 rm -f conftest.er1
44026 cat conftest.err >&5
44027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44028 (exit $ac_status); } && {
44029 test -z "$ac_c_werror_flag" ||
44030 test ! -s conftest.err
44031 } && test -s conftest$ac_exeext &&
44032 $as_test_x conftest$ac_exeext; then
44033 eval "$as_ac_var=yes"
44034 else
44035 echo "$as_me: failed program was:" >&5
44036 sed 's/^/| /' conftest.$ac_ext >&5
44037
44038 eval "$as_ac_var=no"
44039 fi
44040
44041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44042 conftest$ac_exeext conftest.$ac_ext
44043 fi
44044 ac_res=`eval echo '${'$as_ac_var'}'`
44045 { echo "$as_me:$LINENO: result: $ac_res" >&5
44046 echo "${ECHO_T}$ac_res" >&6; }
44047 if test `eval echo '${'$as_ac_var'}'` = yes; then
44048 cat >>confdefs.h <<_ACEOF
44049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44050 _ACEOF
44051
44052 cat >>confdefs.h <<\_ACEOF
44053 #define HAVE_SHL_LOAD 1
44054 _ACEOF
44055
44056 HAVE_SHL_FUNCS=1
44057
44058 else
44059
44060 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44061 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44062 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44063 echo $ECHO_N "(cached) $ECHO_C" >&6
44064 else
44065 ac_check_lib_save_LIBS=$LIBS
44066 LIBS="-lshl_load $LIBS"
44067 cat >conftest.$ac_ext <<_ACEOF
44068 /* confdefs.h. */
44069 _ACEOF
44070 cat confdefs.h >>conftest.$ac_ext
44071 cat >>conftest.$ac_ext <<_ACEOF
44072 /* end confdefs.h. */
44073
44074 /* Override any GCC internal prototype to avoid an error.
44075 Use char because int might match the return type of a GCC
44076 builtin and then its argument prototype would still apply. */
44077 #ifdef __cplusplus
44078 extern "C"
44079 #endif
44080 char dld ();
44081 int
44082 main ()
44083 {
44084 return dld ();
44085 ;
44086 return 0;
44087 }
44088 _ACEOF
44089 rm -f conftest.$ac_objext conftest$ac_exeext
44090 if { (ac_try="$ac_link"
44091 case "(($ac_try" in
44092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44093 *) ac_try_echo=$ac_try;;
44094 esac
44095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44096 (eval "$ac_link") 2>conftest.er1
44097 ac_status=$?
44098 grep -v '^ *+' conftest.er1 >conftest.err
44099 rm -f conftest.er1
44100 cat conftest.err >&5
44101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44102 (exit $ac_status); } && {
44103 test -z "$ac_c_werror_flag" ||
44104 test ! -s conftest.err
44105 } && test -s conftest$ac_exeext &&
44106 $as_test_x conftest$ac_exeext; then
44107 ac_cv_lib_shl_load_dld=yes
44108 else
44109 echo "$as_me: failed program was:" >&5
44110 sed 's/^/| /' conftest.$ac_ext >&5
44111
44112 ac_cv_lib_shl_load_dld=no
44113 fi
44114
44115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44116 conftest$ac_exeext conftest.$ac_ext
44117 LIBS=$ac_check_lib_save_LIBS
44118 fi
44119 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44120 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44121 if test $ac_cv_lib_shl_load_dld = yes; then
44122
44123 HAVE_SHL_FUNCS=1
44124 DL_LINK=" -ldld$DL_LINK"
44125
44126 fi
44127
44128
44129 fi
44130 done
44131
44132
44133 fi
44134
44135
44136 fi
44137 done
44138
44139
44140 if test "$HAVE_DL_FUNCS" = 1; then
44141
44142 for ac_func in dlerror
44143 do
44144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44145 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44147 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44148 echo $ECHO_N "(cached) $ECHO_C" >&6
44149 else
44150 cat >conftest.$ac_ext <<_ACEOF
44151 /* confdefs.h. */
44152 _ACEOF
44153 cat confdefs.h >>conftest.$ac_ext
44154 cat >>conftest.$ac_ext <<_ACEOF
44155 /* end confdefs.h. */
44156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44158 #define $ac_func innocuous_$ac_func
44159
44160 /* System header to define __stub macros and hopefully few prototypes,
44161 which can conflict with char $ac_func (); below.
44162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44163 <limits.h> exists even on freestanding compilers. */
44164
44165 #ifdef __STDC__
44166 # include <limits.h>
44167 #else
44168 # include <assert.h>
44169 #endif
44170
44171 #undef $ac_func
44172
44173 /* Override any GCC internal prototype to avoid an error.
44174 Use char because int might match the return type of a GCC
44175 builtin and then its argument prototype would still apply. */
44176 #ifdef __cplusplus
44177 extern "C"
44178 #endif
44179 char $ac_func ();
44180 /* The GNU C library defines this for functions which it implements
44181 to always fail with ENOSYS. Some functions are actually named
44182 something starting with __ and the normal name is an alias. */
44183 #if defined __stub_$ac_func || defined __stub___$ac_func
44184 choke me
44185 #endif
44186
44187 int
44188 main ()
44189 {
44190 return $ac_func ();
44191 ;
44192 return 0;
44193 }
44194 _ACEOF
44195 rm -f conftest.$ac_objext conftest$ac_exeext
44196 if { (ac_try="$ac_link"
44197 case "(($ac_try" in
44198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44199 *) ac_try_echo=$ac_try;;
44200 esac
44201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44202 (eval "$ac_link") 2>conftest.er1
44203 ac_status=$?
44204 grep -v '^ *+' conftest.er1 >conftest.err
44205 rm -f conftest.er1
44206 cat conftest.err >&5
44207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44208 (exit $ac_status); } && {
44209 test -z "$ac_c_werror_flag" ||
44210 test ! -s conftest.err
44211 } && test -s conftest$ac_exeext &&
44212 $as_test_x conftest$ac_exeext; then
44213 eval "$as_ac_var=yes"
44214 else
44215 echo "$as_me: failed program was:" >&5
44216 sed 's/^/| /' conftest.$ac_ext >&5
44217
44218 eval "$as_ac_var=no"
44219 fi
44220
44221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44222 conftest$ac_exeext conftest.$ac_ext
44223 fi
44224 ac_res=`eval echo '${'$as_ac_var'}'`
44225 { echo "$as_me:$LINENO: result: $ac_res" >&5
44226 echo "${ECHO_T}$ac_res" >&6; }
44227 if test `eval echo '${'$as_ac_var'}'` = yes; then
44228 cat >>confdefs.h <<_ACEOF
44229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44230 _ACEOF
44231 cat >>confdefs.h <<\_ACEOF
44232 #define HAVE_DLERROR 1
44233 _ACEOF
44234
44235 else
44236
44237 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44238 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44239 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44240 echo $ECHO_N "(cached) $ECHO_C" >&6
44241 else
44242 ac_check_lib_save_LIBS=$LIBS
44243 LIBS="-ldl $LIBS"
44244 cat >conftest.$ac_ext <<_ACEOF
44245 /* confdefs.h. */
44246 _ACEOF
44247 cat confdefs.h >>conftest.$ac_ext
44248 cat >>conftest.$ac_ext <<_ACEOF
44249 /* end confdefs.h. */
44250
44251 /* Override any GCC internal prototype to avoid an error.
44252 Use char because int might match the return type of a GCC
44253 builtin and then its argument prototype would still apply. */
44254 #ifdef __cplusplus
44255 extern "C"
44256 #endif
44257 char dlerror ();
44258 int
44259 main ()
44260 {
44261 return dlerror ();
44262 ;
44263 return 0;
44264 }
44265 _ACEOF
44266 rm -f conftest.$ac_objext conftest$ac_exeext
44267 if { (ac_try="$ac_link"
44268 case "(($ac_try" in
44269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44270 *) ac_try_echo=$ac_try;;
44271 esac
44272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44273 (eval "$ac_link") 2>conftest.er1
44274 ac_status=$?
44275 grep -v '^ *+' conftest.er1 >conftest.err
44276 rm -f conftest.er1
44277 cat conftest.err >&5
44278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44279 (exit $ac_status); } && {
44280 test -z "$ac_c_werror_flag" ||
44281 test ! -s conftest.err
44282 } && test -s conftest$ac_exeext &&
44283 $as_test_x conftest$ac_exeext; then
44284 ac_cv_lib_dl_dlerror=yes
44285 else
44286 echo "$as_me: failed program was:" >&5
44287 sed 's/^/| /' conftest.$ac_ext >&5
44288
44289 ac_cv_lib_dl_dlerror=no
44290 fi
44291
44292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44293 conftest$ac_exeext conftest.$ac_ext
44294 LIBS=$ac_check_lib_save_LIBS
44295 fi
44296 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44297 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44298 if test $ac_cv_lib_dl_dlerror = yes; then
44299 cat >>confdefs.h <<\_ACEOF
44300 #define HAVE_DLERROR 1
44301 _ACEOF
44302
44303 fi
44304
44305
44306
44307 fi
44308 done
44309
44310 fi
44311 fi
44312
44313 if test "$HAVE_DL_FUNCS" = 0; then
44314 if test "$HAVE_SHL_FUNCS" = 0; then
44315 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44316 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44317 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44318 wxUSE_DYNAMIC_LOADER=no
44319 wxUSE_DYNLIB_CLASS=no
44320 else
44321 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44322 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44323 fi
44324 fi
44325 fi
44326 fi
44327 fi
44328
44329 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44330 cat >>confdefs.h <<\_ACEOF
44331 #define wxUSE_DYNAMIC_LOADER 1
44332 _ACEOF
44333
44334 fi
44335 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44336 cat >>confdefs.h <<\_ACEOF
44337 #define wxUSE_DYNLIB_CLASS 1
44338 _ACEOF
44339
44340 fi
44341
44342
44343
44344 if test "$wxUSE_PLUGINS" = "yes" ; then
44345 if test "$wxUSE_SHARED" = "no" ; then
44346 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44347 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44348 wxUSE_PLUGINS=no
44349 fi
44350 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44351 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44352 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44353 wxUSE_PLUGINS=no
44354 fi
44355 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44356 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44357 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44358 wxUSE_PLUGINS=no
44359 fi
44360 if test "$wxUSE_PLUGINS" = "yes" ; then
44361 cat >>confdefs.h <<\_ACEOF
44362 #define wxUSE_PLUGINS 1
44363 _ACEOF
44364
44365 fi
44366 fi
44367
44368
44369 if test "$wxUSE_STL" = "yes"; then
44370 cat >>confdefs.h <<\_ACEOF
44371 #define wxUSE_STL 1
44372 _ACEOF
44373
44374 fi
44375
44376 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44377 cat >>confdefs.h <<\_ACEOF
44378 #define wxUSE_EXTENDED_RTTI 1
44379 _ACEOF
44380
44381 fi
44382
44383 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44384 cat >>confdefs.h <<\_ACEOF
44385 #define wxUSE_APPLE_IEEE 1
44386 _ACEOF
44387
44388 fi
44389
44390 if test "$wxUSE_TIMER" = "yes"; then
44391 cat >>confdefs.h <<\_ACEOF
44392 #define wxUSE_TIMER 1
44393 _ACEOF
44394
44395 fi
44396
44397 if test "$USE_UNIX" = "1" ; then
44398 if test "$wxUSE_MGL" != 1; then
44399 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44400 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44401 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44402 echo $ECHO_N "(cached) $ECHO_C" >&6
44403 else
44404
44405 cat >conftest.$ac_ext <<_ACEOF
44406 /* confdefs.h. */
44407 _ACEOF
44408 cat confdefs.h >>conftest.$ac_ext
44409 cat >>conftest.$ac_ext <<_ACEOF
44410 /* end confdefs.h. */
44411
44412 #include <sys/ioctl.h>
44413 #include <sys/soundcard.h>
44414
44415 int
44416 main ()
44417 {
44418
44419 ioctl(0, SNDCTL_DSP_SPEED, 0);
44420
44421 ;
44422 return 0;
44423 }
44424 _ACEOF
44425 rm -f conftest.$ac_objext conftest$ac_exeext
44426 if { (ac_try="$ac_link"
44427 case "(($ac_try" in
44428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44429 *) ac_try_echo=$ac_try;;
44430 esac
44431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44432 (eval "$ac_link") 2>conftest.er1
44433 ac_status=$?
44434 grep -v '^ *+' conftest.er1 >conftest.err
44435 rm -f conftest.er1
44436 cat conftest.err >&5
44437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44438 (exit $ac_status); } && {
44439 test -z "$ac_c_werror_flag" ||
44440 test ! -s conftest.err
44441 } && test -s conftest$ac_exeext &&
44442 $as_test_x conftest$ac_exeext; then
44443 ac_cv_header_sys_soundcard=yes
44444 else
44445 echo "$as_me: failed program was:" >&5
44446 sed 's/^/| /' conftest.$ac_ext >&5
44447
44448
44449 saveLibs="$LIBS"
44450 LIBS="$saveLibs -lossaudio"
44451 cat >conftest.$ac_ext <<_ACEOF
44452 /* confdefs.h. */
44453 _ACEOF
44454 cat confdefs.h >>conftest.$ac_ext
44455 cat >>conftest.$ac_ext <<_ACEOF
44456 /* end confdefs.h. */
44457
44458 #include <sys/ioctl.h>
44459 #include <sys/soundcard.h>
44460
44461 int
44462 main ()
44463 {
44464
44465 ioctl(0, SNDCTL_DSP_SPEED, 0);
44466
44467 ;
44468 return 0;
44469 }
44470 _ACEOF
44471 rm -f conftest.$ac_objext conftest$ac_exeext
44472 if { (ac_try="$ac_link"
44473 case "(($ac_try" in
44474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44475 *) ac_try_echo=$ac_try;;
44476 esac
44477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44478 (eval "$ac_link") 2>conftest.er1
44479 ac_status=$?
44480 grep -v '^ *+' conftest.er1 >conftest.err
44481 rm -f conftest.er1
44482 cat conftest.err >&5
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); } && {
44485 test -z "$ac_c_werror_flag" ||
44486 test ! -s conftest.err
44487 } && test -s conftest$ac_exeext &&
44488 $as_test_x conftest$ac_exeext; then
44489 ac_cv_header_sys_soundcard=yes
44490 else
44491 echo "$as_me: failed program was:" >&5
44492 sed 's/^/| /' conftest.$ac_ext >&5
44493
44494
44495 LIBS="$saveLibs"
44496 ac_cv_header_sys_soundcard=no
44497
44498
44499 fi
44500
44501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44502 conftest$ac_exeext conftest.$ac_ext
44503
44504
44505 fi
44506
44507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44508 conftest$ac_exeext conftest.$ac_ext
44509
44510 fi
44511 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44512 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44513 fi
44514
44515 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44516 cat >>confdefs.h <<\_ACEOF
44517 #define HAVE_SYS_SOUNDCARD_H 1
44518 _ACEOF
44519
44520 fi
44521 fi
44522
44523 WITH_PLUGIN_SDL=0
44524 if test "$wxUSE_SOUND" = "yes"; then
44525 if test "$USE_UNIX" = "1" ; then
44526 if test "$wxUSE_LIBSDL" != "no"; then
44527
44528 # Check whether --with-sdl-prefix was given.
44529 if test "${with_sdl_prefix+set}" = set; then
44530 withval=$with_sdl_prefix; sdl_prefix="$withval"
44531 else
44532 sdl_prefix=""
44533 fi
44534
44535
44536 # Check whether --with-sdl-exec-prefix was given.
44537 if test "${with_sdl_exec_prefix+set}" = set; then
44538 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44539 else
44540 sdl_exec_prefix=""
44541 fi
44542
44543 # Check whether --enable-sdltest was given.
44544 if test "${enable_sdltest+set}" = set; then
44545 enableval=$enable_sdltest;
44546 else
44547 enable_sdltest=yes
44548 fi
44549
44550
44551 if test x$sdl_exec_prefix != x ; then
44552 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44553 if test x${SDL_CONFIG+set} != xset ; then
44554 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44555 fi
44556 fi
44557 if test x$sdl_prefix != x ; then
44558 sdl_args="$sdl_args --prefix=$sdl_prefix"
44559 if test x${SDL_CONFIG+set} != xset ; then
44560 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44561 fi
44562 fi
44563
44564 if test "x$prefix" != xNONE; then
44565 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44566 fi
44567 # Extract the first word of "sdl-config", so it can be a program name with args.
44568 set dummy sdl-config; ac_word=$2
44569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44571 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44572 echo $ECHO_N "(cached) $ECHO_C" >&6
44573 else
44574 case $SDL_CONFIG in
44575 [\\/]* | ?:[\\/]*)
44576 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44577 ;;
44578 *)
44579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44580 for as_dir in $PATH
44581 do
44582 IFS=$as_save_IFS
44583 test -z "$as_dir" && as_dir=.
44584 for ac_exec_ext in '' $ac_executable_extensions; do
44585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44586 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44588 break 2
44589 fi
44590 done
44591 done
44592 IFS=$as_save_IFS
44593
44594 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44595 ;;
44596 esac
44597 fi
44598 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44599 if test -n "$SDL_CONFIG"; then
44600 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44601 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44602 else
44603 { echo "$as_me:$LINENO: result: no" >&5
44604 echo "${ECHO_T}no" >&6; }
44605 fi
44606
44607
44608 min_sdl_version=1.2.0
44609 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44610 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44611 no_sdl=""
44612 if test "$SDL_CONFIG" = "no" ; then
44613 no_sdl=yes
44614 else
44615 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44616 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44617
44618 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44619 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44620 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44621 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44622 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44623 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44624 if test "x$enable_sdltest" = "xyes" ; then
44625 ac_save_CFLAGS="$CFLAGS"
44626 ac_save_CXXFLAGS="$CXXFLAGS"
44627 ac_save_LIBS="$LIBS"
44628 CFLAGS="$CFLAGS $SDL_CFLAGS"
44629 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44630 LIBS="$LIBS $SDL_LIBS"
44631 rm -f conf.sdltest
44632 if test "$cross_compiling" = yes; then
44633 echo $ac_n "cross compiling; assumed OK... $ac_c"
44634 else
44635 cat >conftest.$ac_ext <<_ACEOF
44636 /* confdefs.h. */
44637 _ACEOF
44638 cat confdefs.h >>conftest.$ac_ext
44639 cat >>conftest.$ac_ext <<_ACEOF
44640 /* end confdefs.h. */
44641
44642 #include <stdio.h>
44643 #include <stdlib.h>
44644 #include <string.h>
44645 #include "SDL.h"
44646
44647 char*
44648 my_strdup (char *str)
44649 {
44650 char *new_str;
44651
44652 if (str)
44653 {
44654 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44655 strcpy (new_str, str);
44656 }
44657 else
44658 new_str = NULL;
44659
44660 return new_str;
44661 }
44662
44663 int main (int argc, char *argv[])
44664 {
44665 int major, minor, micro;
44666 char *tmp_version;
44667
44668 /* This hangs on some systems (?)
44669 system ("touch conf.sdltest");
44670 */
44671 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44672
44673 /* HP/UX 9 (%@#!) writes to sscanf strings */
44674 tmp_version = my_strdup("$min_sdl_version");
44675 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44676 printf("%s, bad version string\n", "$min_sdl_version");
44677 exit(1);
44678 }
44679
44680 if (($sdl_major_version > major) ||
44681 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44682 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44683 {
44684 return 0;
44685 }
44686 else
44687 {
44688 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44689 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44690 printf("*** best to upgrade to the required version.\n");
44691 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44692 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44693 printf("*** config.cache before re-running configure\n");
44694 return 1;
44695 }
44696 }
44697
44698
44699 _ACEOF
44700 rm -f conftest$ac_exeext
44701 if { (ac_try="$ac_link"
44702 case "(($ac_try" in
44703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44704 *) ac_try_echo=$ac_try;;
44705 esac
44706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44707 (eval "$ac_link") 2>&5
44708 ac_status=$?
44709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44711 { (case "(($ac_try" in
44712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44713 *) ac_try_echo=$ac_try;;
44714 esac
44715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44716 (eval "$ac_try") 2>&5
44717 ac_status=$?
44718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44719 (exit $ac_status); }; }; then
44720 :
44721 else
44722 echo "$as_me: program exited with status $ac_status" >&5
44723 echo "$as_me: failed program was:" >&5
44724 sed 's/^/| /' conftest.$ac_ext >&5
44725
44726 ( exit $ac_status )
44727 no_sdl=yes
44728 fi
44729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44730 fi
44731
44732
44733 CFLAGS="$ac_save_CFLAGS"
44734 CXXFLAGS="$ac_save_CXXFLAGS"
44735 LIBS="$ac_save_LIBS"
44736 fi
44737 fi
44738 if test "x$no_sdl" = x ; then
44739 { echo "$as_me:$LINENO: result: yes" >&5
44740 echo "${ECHO_T}yes" >&6; }
44741
44742 EXTRALIBS_SDL="$SDL_LIBS"
44743 CFLAGS="$SDL_CFLAGS $CFLAGS"
44744 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44745 cat >>confdefs.h <<\_ACEOF
44746 #define wxUSE_LIBSDL 1
44747 _ACEOF
44748
44749
44750 else
44751 { echo "$as_me:$LINENO: result: no" >&5
44752 echo "${ECHO_T}no" >&6; }
44753 if test "$SDL_CONFIG" = "no" ; then
44754 echo "*** The sdl-config script installed by SDL could not be found"
44755 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44756 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44757 echo "*** full path to sdl-config."
44758 else
44759 if test -f conf.sdltest ; then
44760 :
44761 else
44762 echo "*** Could not run SDL test program, checking why..."
44763 CFLAGS="$CFLAGS $SDL_CFLAGS"
44764 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44765 LIBS="$LIBS $SDL_LIBS"
44766 cat >conftest.$ac_ext <<_ACEOF
44767 /* confdefs.h. */
44768 _ACEOF
44769 cat confdefs.h >>conftest.$ac_ext
44770 cat >>conftest.$ac_ext <<_ACEOF
44771 /* end confdefs.h. */
44772
44773 #include <stdio.h>
44774 #include "SDL.h"
44775
44776 int main(int argc, char *argv[])
44777 { return 0; }
44778 #undef main
44779 #define main K_and_R_C_main
44780
44781 int
44782 main ()
44783 {
44784 return 0;
44785 ;
44786 return 0;
44787 }
44788 _ACEOF
44789 rm -f conftest.$ac_objext conftest$ac_exeext
44790 if { (ac_try="$ac_link"
44791 case "(($ac_try" in
44792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44793 *) ac_try_echo=$ac_try;;
44794 esac
44795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44796 (eval "$ac_link") 2>conftest.er1
44797 ac_status=$?
44798 grep -v '^ *+' conftest.er1 >conftest.err
44799 rm -f conftest.er1
44800 cat conftest.err >&5
44801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44802 (exit $ac_status); } && {
44803 test -z "$ac_c_werror_flag" ||
44804 test ! -s conftest.err
44805 } && test -s conftest$ac_exeext &&
44806 $as_test_x conftest$ac_exeext; then
44807 echo "*** The test program compiled, but did not run. This usually means"
44808 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44809 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44810 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44811 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44812 echo "*** is required on your system"
44813 echo "***"
44814 echo "*** If you have an old version installed, it is best to remove it, although"
44815 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44816 else
44817 echo "$as_me: failed program was:" >&5
44818 sed 's/^/| /' conftest.$ac_ext >&5
44819
44820 echo "*** The test program failed to compile or link. See the file config.log for the"
44821 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44822 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44823 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44824 fi
44825
44826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44827 conftest$ac_exeext conftest.$ac_ext
44828 CFLAGS="$ac_save_CFLAGS"
44829 CXXFLAGS="$ac_save_CXXFLAGS"
44830 LIBS="$ac_save_LIBS"
44831 fi
44832 fi
44833 SDL_CFLAGS=""
44834 SDL_LIBS=""
44835 wxUSE_LIBSDL="no"
44836 fi
44837
44838
44839 rm -f conf.sdltest
44840
44841 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44842 WITH_PLUGIN_SDL=1
44843 fi
44844 fi
44845 else
44846 if test "$wxUSE_MGL" = 1; then
44847 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44848 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44849 wxUSE_SOUND="no"
44850 fi
44851 fi
44852 fi
44853
44854 if test "$wxUSE_SOUND" = "yes"; then
44855 cat >>confdefs.h <<\_ACEOF
44856 #define wxUSE_SOUND 1
44857 _ACEOF
44858
44859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44860 fi
44861
44862 if test "$WXGTK20" = 1; then
44863
44864
44865 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44866 if test -n "$ac_tool_prefix"; then
44867 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44868 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44871 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44872 echo $ECHO_N "(cached) $ECHO_C" >&6
44873 else
44874 case $PKG_CONFIG in
44875 [\\/]* | ?:[\\/]*)
44876 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44877 ;;
44878 *)
44879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44880 for as_dir in $PATH
44881 do
44882 IFS=$as_save_IFS
44883 test -z "$as_dir" && as_dir=.
44884 for ac_exec_ext in '' $ac_executable_extensions; do
44885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44886 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44888 break 2
44889 fi
44890 done
44891 done
44892 IFS=$as_save_IFS
44893
44894 ;;
44895 esac
44896 fi
44897 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44898 if test -n "$PKG_CONFIG"; then
44899 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44900 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44901 else
44902 { echo "$as_me:$LINENO: result: no" >&5
44903 echo "${ECHO_T}no" >&6; }
44904 fi
44905
44906
44907 fi
44908 if test -z "$ac_cv_path_PKG_CONFIG"; then
44909 ac_pt_PKG_CONFIG=$PKG_CONFIG
44910 # Extract the first word of "pkg-config", so it can be a program name with args.
44911 set dummy pkg-config; ac_word=$2
44912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44914 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44915 echo $ECHO_N "(cached) $ECHO_C" >&6
44916 else
44917 case $ac_pt_PKG_CONFIG in
44918 [\\/]* | ?:[\\/]*)
44919 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44920 ;;
44921 *)
44922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44923 for as_dir in $PATH
44924 do
44925 IFS=$as_save_IFS
44926 test -z "$as_dir" && as_dir=.
44927 for ac_exec_ext in '' $ac_executable_extensions; do
44928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44929 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44931 break 2
44932 fi
44933 done
44934 done
44935 IFS=$as_save_IFS
44936
44937 ;;
44938 esac
44939 fi
44940 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44941 if test -n "$ac_pt_PKG_CONFIG"; then
44942 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44943 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44944 else
44945 { echo "$as_me:$LINENO: result: no" >&5
44946 echo "${ECHO_T}no" >&6; }
44947 fi
44948
44949 if test "x$ac_pt_PKG_CONFIG" = x; then
44950 PKG_CONFIG=""
44951 else
44952 case $cross_compiling:$ac_tool_warned in
44953 yes:)
44954 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44955 whose name does not start with the host triplet. If you think this
44956 configuration is useful to you, please write to autoconf@gnu.org." >&5
44957 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44958 whose name does not start with the host triplet. If you think this
44959 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44960 ac_tool_warned=yes ;;
44961 esac
44962 PKG_CONFIG=$ac_pt_PKG_CONFIG
44963 fi
44964 else
44965 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44966 fi
44967
44968 fi
44969 if test -n "$PKG_CONFIG"; then
44970 _pkg_min_version=0.9.0
44971 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44972 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44973 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44974 { echo "$as_me:$LINENO: result: yes" >&5
44975 echo "${ECHO_T}yes" >&6; }
44976 else
44977 { echo "$as_me:$LINENO: result: no" >&5
44978 echo "${ECHO_T}no" >&6; }
44979 PKG_CONFIG=""
44980 fi
44981
44982 fi
44983
44984 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44985
44986 if test "$wxUSE_GTKPRINT" = "yes" ; then
44987
44988
44989 pkg_failed=no
44990 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44991 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44992
44993 if test -n "$PKG_CONFIG"; then
44994 if test -n "$GTKPRINT_CFLAGS"; then
44995 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44996 else
44997 if test -n "$PKG_CONFIG" && \
44998 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44999 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45000 ac_status=$?
45001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002 (exit $ac_status); }; then
45003 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45004 else
45005 pkg_failed=yes
45006 fi
45007 fi
45008 else
45009 pkg_failed=untried
45010 fi
45011 if test -n "$PKG_CONFIG"; then
45012 if test -n "$GTKPRINT_LIBS"; then
45013 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
45014 else
45015 if test -n "$PKG_CONFIG" && \
45016 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45017 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45018 ac_status=$?
45019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45020 (exit $ac_status); }; then
45021 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45022 else
45023 pkg_failed=yes
45024 fi
45025 fi
45026 else
45027 pkg_failed=untried
45028 fi
45029
45030
45031
45032 if test $pkg_failed = yes; then
45033
45034 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45035 _pkg_short_errors_supported=yes
45036 else
45037 _pkg_short_errors_supported=no
45038 fi
45039 if test $_pkg_short_errors_supported = yes; then
45040 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45041 else
45042 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45043 fi
45044 # Put the nasty error message in config.log where it belongs
45045 echo "$GTKPRINT_PKG_ERRORS" >&5
45046
45047
45048 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45049 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45050 wxUSE_GTKPRINT="no"
45051
45052
45053 elif test $pkg_failed = untried; then
45054
45055 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45056 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45057 wxUSE_GTKPRINT="no"
45058
45059
45060 else
45061 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45062 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45063 { echo "$as_me:$LINENO: result: yes" >&5
45064 echo "${ECHO_T}yes" >&6; }
45065
45066 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45067 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45068 cat >>confdefs.h <<\_ACEOF
45069 #define wxUSE_GTKPRINT 1
45070 _ACEOF
45071
45072
45073 fi
45074 fi
45075
45076 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45077
45078
45079 pkg_failed=no
45080 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45081 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45082
45083 if test -n "$PKG_CONFIG"; then
45084 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45085 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45086 else
45087 if test -n "$PKG_CONFIG" && \
45088 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45089 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45090 ac_status=$?
45091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45092 (exit $ac_status); }; then
45093 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45094 else
45095 pkg_failed=yes
45096 fi
45097 fi
45098 else
45099 pkg_failed=untried
45100 fi
45101 if test -n "$PKG_CONFIG"; then
45102 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45103 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45104 else
45105 if test -n "$PKG_CONFIG" && \
45106 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45107 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45108 ac_status=$?
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); }; then
45111 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45112 else
45113 pkg_failed=yes
45114 fi
45115 fi
45116 else
45117 pkg_failed=untried
45118 fi
45119
45120
45121
45122 if test $pkg_failed = yes; then
45123
45124 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45125 _pkg_short_errors_supported=yes
45126 else
45127 _pkg_short_errors_supported=no
45128 fi
45129 if test $_pkg_short_errors_supported = yes; then
45130 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45131 else
45132 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45133 fi
45134 # Put the nasty error message in config.log where it belongs
45135 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45136
45137
45138 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45139 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45140 wxUSE_LIBGNOMEPRINT="no"
45141
45142
45143 elif test $pkg_failed = untried; then
45144
45145 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45146 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45147 wxUSE_LIBGNOMEPRINT="no"
45148
45149
45150 else
45151 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45152 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45153 { echo "$as_me:$LINENO: result: yes" >&5
45154 echo "${ECHO_T}yes" >&6; }
45155
45156 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45157 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45158 cat >>confdefs.h <<\_ACEOF
45159 #define wxUSE_LIBGNOMEPRINT 1
45160 _ACEOF
45161
45162
45163 fi
45164 fi
45165 fi
45166
45167 if test "$wxUSE_MIMETYPE" = "yes" ; then
45168 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45169
45170
45171 pkg_failed=no
45172 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45173 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45174
45175 if test -n "$PKG_CONFIG"; then
45176 if test -n "$GNOMEVFS_CFLAGS"; then
45177 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45178 else
45179 if test -n "$PKG_CONFIG" && \
45180 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45181 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45182 ac_status=$?
45183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45184 (exit $ac_status); }; then
45185 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45186 else
45187 pkg_failed=yes
45188 fi
45189 fi
45190 else
45191 pkg_failed=untried
45192 fi
45193 if test -n "$PKG_CONFIG"; then
45194 if test -n "$GNOMEVFS_LIBS"; then
45195 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45196 else
45197 if test -n "$PKG_CONFIG" && \
45198 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45199 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45200 ac_status=$?
45201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45202 (exit $ac_status); }; then
45203 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45204 else
45205 pkg_failed=yes
45206 fi
45207 fi
45208 else
45209 pkg_failed=untried
45210 fi
45211
45212
45213
45214 if test $pkg_failed = yes; then
45215
45216 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45217 _pkg_short_errors_supported=yes
45218 else
45219 _pkg_short_errors_supported=no
45220 fi
45221 if test $_pkg_short_errors_supported = yes; then
45222 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45223 else
45224 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45225 fi
45226 # Put the nasty error message in config.log where it belongs
45227 echo "$GNOMEVFS_PKG_ERRORS" >&5
45228
45229
45230 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45231 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45232 wxUSE_LIBGNOMEVFS="no"
45233
45234
45235 elif test $pkg_failed = untried; then
45236
45237 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45238 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45239 wxUSE_LIBGNOMEVFS="no"
45240
45241
45242 else
45243 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45244 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45245 { echo "$as_me:$LINENO: result: yes" >&5
45246 echo "${ECHO_T}yes" >&6; }
45247
45248 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45249 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45250 cat >>confdefs.h <<\_ACEOF
45251 #define wxUSE_LIBGNOMEVFS 1
45252 _ACEOF
45253
45254
45255 fi
45256 fi
45257 fi
45258
45259 if test "$wxUSE_LIBHILDON" = "yes" ; then
45260
45261 pkg_failed=no
45262 { echo "$as_me:$LINENO: checking for HILDON" >&5
45263 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45264
45265 if test -n "$PKG_CONFIG"; then
45266 if test -n "$HILDON_CFLAGS"; then
45267 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45268 else
45269 if test -n "$PKG_CONFIG" && \
45270 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45271 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45272 ac_status=$?
45273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45274 (exit $ac_status); }; then
45275 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45276 else
45277 pkg_failed=yes
45278 fi
45279 fi
45280 else
45281 pkg_failed=untried
45282 fi
45283 if test -n "$PKG_CONFIG"; then
45284 if test -n "$HILDON_LIBS"; then
45285 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45286 else
45287 if test -n "$PKG_CONFIG" && \
45288 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45289 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45290 ac_status=$?
45291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45292 (exit $ac_status); }; then
45293 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45294 else
45295 pkg_failed=yes
45296 fi
45297 fi
45298 else
45299 pkg_failed=untried
45300 fi
45301
45302
45303
45304 if test $pkg_failed = yes; then
45305
45306 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45307 _pkg_short_errors_supported=yes
45308 else
45309 _pkg_short_errors_supported=no
45310 fi
45311 if test $_pkg_short_errors_supported = yes; then
45312 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45313 else
45314 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45315 fi
45316 # Put the nasty error message in config.log where it belongs
45317 echo "$HILDON_PKG_ERRORS" >&5
45318
45319
45320 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45321 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45322 wxUSE_LIBHILDON="no"
45323
45324
45325 elif test $pkg_failed = untried; then
45326
45327 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45328 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45329 wxUSE_LIBHILDON="no"
45330
45331
45332 else
45333 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45334 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45335 { echo "$as_me:$LINENO: result: yes" >&5
45336 echo "${ECHO_T}yes" >&6; }
45337
45338 EXTRALIBS_HILDON="$HILDON_LIBS"
45339 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45340 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45341 cat >>confdefs.h <<\_ACEOF
45342 #define wxUSE_LIBHILDON 1
45343 _ACEOF
45344
45345
45346 fi
45347 fi
45348 fi
45349
45350 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45351 cat >>confdefs.h <<\_ACEOF
45352 #define wxUSE_CMDLINE_PARSER 1
45353 _ACEOF
45354
45355 fi
45356
45357 if test "$wxUSE_STOPWATCH" = "yes"; then
45358 cat >>confdefs.h <<\_ACEOF
45359 #define wxUSE_STOPWATCH 1
45360 _ACEOF
45361
45362 fi
45363
45364 if test "$wxUSE_DATETIME" = "yes"; then
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_DATETIME 1
45367 _ACEOF
45368
45369 fi
45370
45371 if test "$wxUSE_FILE" = "yes"; then
45372 cat >>confdefs.h <<\_ACEOF
45373 #define wxUSE_FILE 1
45374 _ACEOF
45375
45376 fi
45377
45378 if test "$wxUSE_FFILE" = "yes"; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_FFILE 1
45381 _ACEOF
45382
45383 fi
45384
45385 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45386 if test "$wxUSE_STREAMS" != yes; then
45387 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45388 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45389 wxUSE_ARCHIVE_STREAMS=no
45390 else
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_ARCHIVE_STREAMS 1
45393 _ACEOF
45394
45395 fi
45396 fi
45397
45398 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45399 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45400 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45401 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45402 elif test "$wxUSE_ZLIB" = "no"; then
45403 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45404 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45405 else
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_ZIPSTREAM 1
45408 _ACEOF
45409
45410 fi
45411 fi
45412
45413 if test "$wxUSE_TARSTREAM" = "yes"; then
45414 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45415 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45416 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45417 else
45418 cat >>confdefs.h <<\_ACEOF
45419 #define wxUSE_TARSTREAM 1
45420 _ACEOF
45421
45422 fi
45423 fi
45424
45425 if test "$wxUSE_FILESYSTEM" = "yes"; then
45426 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45427 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45428 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45429 wxUSE_FILESYSTEM=no
45430 else
45431 cat >>confdefs.h <<\_ACEOF
45432 #define wxUSE_FILESYSTEM 1
45433 _ACEOF
45434
45435 fi
45436 fi
45437
45438 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45439 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45440 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45441 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45442 else
45443 cat >>confdefs.h <<\_ACEOF
45444 #define wxUSE_FS_ARCHIVE 1
45445 _ACEOF
45446
45447 fi
45448 fi
45449
45450 if test "$wxUSE_FS_ZIP" = "yes"; then
45451 if test "$wxUSE_FS_ARCHIVE" != yes; then
45452 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45453 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45454 else
45455 cat >>confdefs.h <<\_ACEOF
45456 #define wxUSE_FS_ZIP 1
45457 _ACEOF
45458
45459 fi
45460 fi
45461
45462 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45463 if test "$USE_UNIX" != 1; then
45464 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45465 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45466 wxUSE_ON_FATAL_EXCEPTION=no
45467 else
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_ON_FATAL_EXCEPTION 1
45470 _ACEOF
45471
45472 fi
45473 fi
45474
45475 if test "$wxUSE_STACKWALKER" = "yes"; then
45476 cat >>confdefs.h <<\_ACEOF
45477 #define wxUSE_STACKWALKER 1
45478 _ACEOF
45479
45480 fi
45481
45482 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45483 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45484 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45485 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45486 wxUSE_DEBUGREPORT=no
45487 else
45488 cat >>confdefs.h <<\_ACEOF
45489 #define wxUSE_DEBUGREPORT 1
45490 _ACEOF
45491
45492 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45494 fi
45495 fi
45496 fi
45497
45498 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45499 cat >>confdefs.h <<\_ACEOF
45500 #define wxUSE_SNGLINST_CHECKER 1
45501 _ACEOF
45502
45503 fi
45504
45505 if test "$wxUSE_BUSYINFO" = "yes"; then
45506 cat >>confdefs.h <<\_ACEOF
45507 #define wxUSE_BUSYINFO 1
45508 _ACEOF
45509
45510 fi
45511
45512 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45513 cat >>confdefs.h <<\_ACEOF
45514 #define wxUSE_STD_IOSTREAM 1
45515 _ACEOF
45516
45517 fi
45518
45519 if test "$wxUSE_STD_STRING" = "yes"; then
45520 cat >>confdefs.h <<\_ACEOF
45521 #define wxUSE_STD_STRING 1
45522 _ACEOF
45523
45524 fi
45525
45526 if test "$wxUSE_STDPATHS" = "yes"; then
45527 cat >>confdefs.h <<\_ACEOF
45528 #define wxUSE_STDPATHS 1
45529 _ACEOF
45530
45531 fi
45532
45533 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45534 cat >>confdefs.h <<\_ACEOF
45535 #define wxUSE_TEXTBUFFER 1
45536 _ACEOF
45537
45538 fi
45539
45540 if test "$wxUSE_TEXTFILE" = "yes"; then
45541 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45542 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45543 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45544 else
45545 cat >>confdefs.h <<\_ACEOF
45546 #define wxUSE_TEXTFILE 1
45547 _ACEOF
45548
45549 fi
45550 fi
45551
45552 if test "$wxUSE_CONFIG" = "yes" ; then
45553 if test "$wxUSE_TEXTFILE" != "yes"; then
45554 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45555 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45556 else
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_CONFIG 1
45559 _ACEOF
45560
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_CONFIG_NATIVE 1
45563 _ACEOF
45564
45565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45566 fi
45567 fi
45568
45569 if test "$wxUSE_INTL" = "yes" ; then
45570 if test "$wxUSE_FILE" != "yes"; then
45571 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45572 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45573 else
45574 cat >>confdefs.h <<\_ACEOF
45575 #define wxUSE_INTL 1
45576 _ACEOF
45577
45578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45579 GUIDIST="$GUIDIST INTL_DIST"
45580 fi
45581 fi
45582
45583 if test "$wxUSE_LOG" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_LOG 1
45586 _ACEOF
45587
45588
45589 if test "$wxUSE_LOGGUI" = "yes"; then
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_LOGGUI 1
45592 _ACEOF
45593
45594 fi
45595
45596 if test "$wxUSE_LOGWINDOW" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_LOGWINDOW 1
45599 _ACEOF
45600
45601 fi
45602
45603 if test "$wxUSE_LOGDIALOG" = "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_LOG_DIALOG 1
45606 _ACEOF
45607
45608 fi
45609
45610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45611 fi
45612
45613 if test "$wxUSE_LONGLONG" = "yes"; then
45614 cat >>confdefs.h <<\_ACEOF
45615 #define wxUSE_LONGLONG 1
45616 _ACEOF
45617
45618 fi
45619
45620 if test "$wxUSE_GEOMETRY" = "yes"; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_GEOMETRY 1
45623 _ACEOF
45624
45625 fi
45626
45627 if test "$wxUSE_BASE64" = "yes"; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_BASE64 1
45630 _ACEOF
45631
45632 fi
45633
45634 if test "$wxUSE_STREAMS" = "yes" ; then
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_STREAMS 1
45637 _ACEOF
45638
45639 fi
45640
45641 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45642 cat >>confdefs.h <<\_ACEOF
45643 #define wxUSE_PRINTF_POS_PARAMS 1
45644 _ACEOF
45645
45646 fi
45647
45648 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_OBJC_UNIQUIFYING 1
45651 _ACEOF
45652
45653 fi
45654
45655
45656 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_CONSOLE_EVENTLOOP 1
45659 _ACEOF
45660
45661
45662 if test "$wxUSE_UNIX" = "yes"; then
45663 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_SELECT_DISPATCHER 1
45666 _ACEOF
45667
45668 fi
45669
45670 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45671
45672 for ac_header in sys/epoll.h
45673 do
45674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45675 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45677 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45678 echo $ECHO_N "(cached) $ECHO_C" >&6
45679 else
45680 cat >conftest.$ac_ext <<_ACEOF
45681 /* confdefs.h. */
45682 _ACEOF
45683 cat confdefs.h >>conftest.$ac_ext
45684 cat >>conftest.$ac_ext <<_ACEOF
45685 /* end confdefs.h. */
45686 $ac_includes_default
45687
45688 #include <$ac_header>
45689 _ACEOF
45690 rm -f conftest.$ac_objext
45691 if { (ac_try="$ac_compile"
45692 case "(($ac_try" in
45693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45694 *) ac_try_echo=$ac_try;;
45695 esac
45696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45697 (eval "$ac_compile") 2>conftest.er1
45698 ac_status=$?
45699 grep -v '^ *+' conftest.er1 >conftest.err
45700 rm -f conftest.er1
45701 cat conftest.err >&5
45702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45703 (exit $ac_status); } && {
45704 test -z "$ac_c_werror_flag" ||
45705 test ! -s conftest.err
45706 } && test -s conftest.$ac_objext; then
45707 eval "$as_ac_Header=yes"
45708 else
45709 echo "$as_me: failed program was:" >&5
45710 sed 's/^/| /' conftest.$ac_ext >&5
45711
45712 eval "$as_ac_Header=no"
45713 fi
45714
45715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45716 fi
45717 ac_res=`eval echo '${'$as_ac_Header'}'`
45718 { echo "$as_me:$LINENO: result: $ac_res" >&5
45719 echo "${ECHO_T}$ac_res" >&6; }
45720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45721 cat >>confdefs.h <<_ACEOF
45722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45723 _ACEOF
45724
45725 fi
45726
45727 done
45728
45729 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_EPOLL_DISPATCHER 1
45732 _ACEOF
45733
45734 else
45735 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45736 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45737 fi
45738 fi
45739 fi
45740 fi
45741
45742
45743
45744
45745 for ac_func in gettimeofday ftime
45746 do
45747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45751 echo $ECHO_N "(cached) $ECHO_C" >&6
45752 else
45753 cat >conftest.$ac_ext <<_ACEOF
45754 /* confdefs.h. */
45755 _ACEOF
45756 cat confdefs.h >>conftest.$ac_ext
45757 cat >>conftest.$ac_ext <<_ACEOF
45758 /* end confdefs.h. */
45759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45761 #define $ac_func innocuous_$ac_func
45762
45763 /* System header to define __stub macros and hopefully few prototypes,
45764 which can conflict with char $ac_func (); below.
45765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45766 <limits.h> exists even on freestanding compilers. */
45767
45768 #ifdef __STDC__
45769 # include <limits.h>
45770 #else
45771 # include <assert.h>
45772 #endif
45773
45774 #undef $ac_func
45775
45776 /* Override any GCC internal prototype to avoid an error.
45777 Use char because int might match the return type of a GCC
45778 builtin and then its argument prototype would still apply. */
45779 #ifdef __cplusplus
45780 extern "C"
45781 #endif
45782 char $ac_func ();
45783 /* The GNU C library defines this for functions which it implements
45784 to always fail with ENOSYS. Some functions are actually named
45785 something starting with __ and the normal name is an alias. */
45786 #if defined __stub_$ac_func || defined __stub___$ac_func
45787 choke me
45788 #endif
45789
45790 int
45791 main ()
45792 {
45793 return $ac_func ();
45794 ;
45795 return 0;
45796 }
45797 _ACEOF
45798 rm -f conftest.$ac_objext conftest$ac_exeext
45799 if { (ac_try="$ac_link"
45800 case "(($ac_try" in
45801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45802 *) ac_try_echo=$ac_try;;
45803 esac
45804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45805 (eval "$ac_link") 2>conftest.er1
45806 ac_status=$?
45807 grep -v '^ *+' conftest.er1 >conftest.err
45808 rm -f conftest.er1
45809 cat conftest.err >&5
45810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45811 (exit $ac_status); } && {
45812 test -z "$ac_c_werror_flag" ||
45813 test ! -s conftest.err
45814 } && test -s conftest$ac_exeext &&
45815 $as_test_x conftest$ac_exeext; then
45816 eval "$as_ac_var=yes"
45817 else
45818 echo "$as_me: failed program was:" >&5
45819 sed 's/^/| /' conftest.$ac_ext >&5
45820
45821 eval "$as_ac_var=no"
45822 fi
45823
45824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45825 conftest$ac_exeext conftest.$ac_ext
45826 fi
45827 ac_res=`eval echo '${'$as_ac_var'}'`
45828 { echo "$as_me:$LINENO: result: $ac_res" >&5
45829 echo "${ECHO_T}$ac_res" >&6; }
45830 if test `eval echo '${'$as_ac_var'}'` = yes; then
45831 cat >>confdefs.h <<_ACEOF
45832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45833 _ACEOF
45834 break
45835 fi
45836 done
45837
45838
45839 if test "$ac_cv_func_gettimeofday" = "yes"; then
45840 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45841 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45842 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45843 echo $ECHO_N "(cached) $ECHO_C" >&6
45844 else
45845
45846 cat >conftest.$ac_ext <<_ACEOF
45847 /* confdefs.h. */
45848 _ACEOF
45849 cat confdefs.h >>conftest.$ac_ext
45850 cat >>conftest.$ac_ext <<_ACEOF
45851 /* end confdefs.h. */
45852
45853 #include <sys/time.h>
45854 #include <unistd.h>
45855
45856 int
45857 main ()
45858 {
45859
45860 struct timeval tv;
45861 gettimeofday(&tv, NULL);
45862
45863 ;
45864 return 0;
45865 }
45866 _ACEOF
45867 rm -f conftest.$ac_objext
45868 if { (ac_try="$ac_compile"
45869 case "(($ac_try" in
45870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45871 *) ac_try_echo=$ac_try;;
45872 esac
45873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45874 (eval "$ac_compile") 2>conftest.er1
45875 ac_status=$?
45876 grep -v '^ *+' conftest.er1 >conftest.err
45877 rm -f conftest.er1
45878 cat conftest.err >&5
45879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45880 (exit $ac_status); } && {
45881 test -z "$ac_c_werror_flag" ||
45882 test ! -s conftest.err
45883 } && test -s conftest.$ac_objext; then
45884 wx_cv_func_gettimeofday_has_2_args=yes
45885 else
45886 echo "$as_me: failed program was:" >&5
45887 sed 's/^/| /' conftest.$ac_ext >&5
45888
45889 cat >conftest.$ac_ext <<_ACEOF
45890 /* confdefs.h. */
45891 _ACEOF
45892 cat confdefs.h >>conftest.$ac_ext
45893 cat >>conftest.$ac_ext <<_ACEOF
45894 /* end confdefs.h. */
45895
45896 #include <sys/time.h>
45897 #include <unistd.h>
45898
45899 int
45900 main ()
45901 {
45902
45903 struct timeval tv;
45904 gettimeofday(&tv);
45905
45906 ;
45907 return 0;
45908 }
45909 _ACEOF
45910 rm -f conftest.$ac_objext
45911 if { (ac_try="$ac_compile"
45912 case "(($ac_try" in
45913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45914 *) ac_try_echo=$ac_try;;
45915 esac
45916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45917 (eval "$ac_compile") 2>conftest.er1
45918 ac_status=$?
45919 grep -v '^ *+' conftest.er1 >conftest.err
45920 rm -f conftest.er1
45921 cat conftest.err >&5
45922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45923 (exit $ac_status); } && {
45924 test -z "$ac_c_werror_flag" ||
45925 test ! -s conftest.err
45926 } && test -s conftest.$ac_objext; then
45927 wx_cv_func_gettimeofday_has_2_args=no
45928 else
45929 echo "$as_me: failed program was:" >&5
45930 sed 's/^/| /' conftest.$ac_ext >&5
45931
45932
45933 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45934 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45935 wx_cv_func_gettimeofday_has_2_args=unknown
45936
45937
45938 fi
45939
45940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45941
45942 fi
45943
45944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45945
45946 fi
45947 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45948 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45949
45950 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45951 cat >>confdefs.h <<\_ACEOF
45952 #define WX_GETTIMEOFDAY_NO_TZ 1
45953 _ACEOF
45954
45955 fi
45956 fi
45957
45958 if test "$wxUSE_DATETIME" = "yes"; then
45959 { echo "$as_me:$LINENO: checking for strptime" >&5
45960 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45961 if test "${ac_cv_func_strptime+set}" = set; then
45962 echo $ECHO_N "(cached) $ECHO_C" >&6
45963 else
45964 cat >conftest.$ac_ext <<_ACEOF
45965 /* confdefs.h. */
45966 _ACEOF
45967 cat confdefs.h >>conftest.$ac_ext
45968 cat >>conftest.$ac_ext <<_ACEOF
45969 /* end confdefs.h. */
45970 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45972 #define strptime innocuous_strptime
45973
45974 /* System header to define __stub macros and hopefully few prototypes,
45975 which can conflict with char strptime (); below.
45976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45977 <limits.h> exists even on freestanding compilers. */
45978
45979 #ifdef __STDC__
45980 # include <limits.h>
45981 #else
45982 # include <assert.h>
45983 #endif
45984
45985 #undef strptime
45986
45987 /* Override any GCC internal prototype to avoid an error.
45988 Use char because int might match the return type of a GCC
45989 builtin and then its argument prototype would still apply. */
45990 #ifdef __cplusplus
45991 extern "C"
45992 #endif
45993 char strptime ();
45994 /* The GNU C library defines this for functions which it implements
45995 to always fail with ENOSYS. Some functions are actually named
45996 something starting with __ and the normal name is an alias. */
45997 #if defined __stub_strptime || defined __stub___strptime
45998 choke me
45999 #endif
46000
46001 int
46002 main ()
46003 {
46004 return strptime ();
46005 ;
46006 return 0;
46007 }
46008 _ACEOF
46009 rm -f conftest.$ac_objext conftest$ac_exeext
46010 if { (ac_try="$ac_link"
46011 case "(($ac_try" in
46012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46013 *) ac_try_echo=$ac_try;;
46014 esac
46015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46016 (eval "$ac_link") 2>conftest.er1
46017 ac_status=$?
46018 grep -v '^ *+' conftest.er1 >conftest.err
46019 rm -f conftest.er1
46020 cat conftest.err >&5
46021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46022 (exit $ac_status); } && {
46023 test -z "$ac_c_werror_flag" ||
46024 test ! -s conftest.err
46025 } && test -s conftest$ac_exeext &&
46026 $as_test_x conftest$ac_exeext; then
46027 ac_cv_func_strptime=yes
46028 else
46029 echo "$as_me: failed program was:" >&5
46030 sed 's/^/| /' conftest.$ac_ext >&5
46031
46032 ac_cv_func_strptime=no
46033 fi
46034
46035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46036 conftest$ac_exeext conftest.$ac_ext
46037 fi
46038 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46039 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46040
46041 if test "$ac_cv_func_strptime" = "yes"; then
46042 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46043 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46044 if test "${wx_cv_func_strptime_decl+set}" = set; then
46045 echo $ECHO_N "(cached) $ECHO_C" >&6
46046 else
46047
46048 ac_ext=cpp
46049 ac_cpp='$CXXCPP $CPPFLAGS'
46050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46053
46054 cat >conftest.$ac_ext <<_ACEOF
46055 /* confdefs.h. */
46056 _ACEOF
46057 cat confdefs.h >>conftest.$ac_ext
46058 cat >>conftest.$ac_ext <<_ACEOF
46059 /* end confdefs.h. */
46060
46061 #include <time.h>
46062
46063 int
46064 main ()
46065 {
46066
46067 struct tm t;
46068 strptime("foo", "bar", &t);
46069
46070 ;
46071 return 0;
46072 }
46073 _ACEOF
46074 rm -f conftest.$ac_objext
46075 if { (ac_try="$ac_compile"
46076 case "(($ac_try" in
46077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46078 *) ac_try_echo=$ac_try;;
46079 esac
46080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46081 (eval "$ac_compile") 2>conftest.er1
46082 ac_status=$?
46083 grep -v '^ *+' conftest.er1 >conftest.err
46084 rm -f conftest.er1
46085 cat conftest.err >&5
46086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46087 (exit $ac_status); } && {
46088 test -z "$ac_cxx_werror_flag" ||
46089 test ! -s conftest.err
46090 } && test -s conftest.$ac_objext; then
46091 wx_cv_func_strptime_decl=yes
46092 else
46093 echo "$as_me: failed program was:" >&5
46094 sed 's/^/| /' conftest.$ac_ext >&5
46095
46096 wx_cv_func_strptime_decl=no
46097
46098 fi
46099
46100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46101 ac_ext=c
46102 ac_cpp='$CPP $CPPFLAGS'
46103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46106
46107
46108
46109 fi
46110 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46111 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46112 fi
46113 if test "$wx_cv_func_strptime_decl" = "yes"; then
46114 cat >>confdefs.h <<\_ACEOF
46115 #define HAVE_STRPTIME_DECL 1
46116 _ACEOF
46117
46118 else
46119 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46120 fi
46121 if test "$ac_cv_func_strptime" = "yes"; then
46122 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46123 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46124 if test "${wx_cv_func_strptime_ok+set}" = set; then
46125 echo $ECHO_N "(cached) $ECHO_C" >&6
46126 else
46127 if test "$cross_compiling" = yes; then
46128 wx_cv_func_strptime_ok=no
46129
46130 else
46131 cat >conftest.$ac_ext <<_ACEOF
46132
46133 #include <stdlib.h>
46134 #include <time.h>
46135 #include "confdefs.h"
46136
46137 $wx_strptime_decl
46138
46139 int main()
46140 {
46141 struct tm t;
46142 return !!strptime("", "%x", &t);
46143 }
46144
46145 _ACEOF
46146 rm -f conftest$ac_exeext
46147 if { (ac_try="$ac_link"
46148 case "(($ac_try" in
46149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46150 *) ac_try_echo=$ac_try;;
46151 esac
46152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46153 (eval "$ac_link") 2>&5
46154 ac_status=$?
46155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46157 { (case "(($ac_try" in
46158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46159 *) ac_try_echo=$ac_try;;
46160 esac
46161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46162 (eval "$ac_try") 2>&5
46163 ac_status=$?
46164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46165 (exit $ac_status); }; }; then
46166 wx_cv_func_strptime_ok=yes
46167 else
46168 echo "$as_me: program exited with status $ac_status" >&5
46169 echo "$as_me: failed program was:" >&5
46170 sed 's/^/| /' conftest.$ac_ext >&5
46171
46172 ( exit $ac_status )
46173 wx_cv_func_strptime_ok=no
46174 fi
46175 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46176 fi
46177
46178
46179
46180 fi
46181 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46182 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46183
46184 if test "$wx_cv_func_strptime_ok" = "yes"; then
46185 cat >>confdefs.h <<\_ACEOF
46186 #define HAVE_STRPTIME 1
46187 _ACEOF
46188
46189 fi
46190 fi
46191
46192 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46193 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46194 if test "${wx_cv_var_timezone+set}" = set; then
46195 echo $ECHO_N "(cached) $ECHO_C" >&6
46196 else
46197
46198 ac_ext=cpp
46199 ac_cpp='$CXXCPP $CPPFLAGS'
46200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46203
46204 cat >conftest.$ac_ext <<_ACEOF
46205 /* confdefs.h. */
46206 _ACEOF
46207 cat confdefs.h >>conftest.$ac_ext
46208 cat >>conftest.$ac_ext <<_ACEOF
46209 /* end confdefs.h. */
46210
46211 #include <time.h>
46212
46213 int
46214 main ()
46215 {
46216
46217 int tz;
46218 tz = timezone;
46219
46220 ;
46221 return 0;
46222 }
46223 _ACEOF
46224 rm -f conftest.$ac_objext
46225 if { (ac_try="$ac_compile"
46226 case "(($ac_try" in
46227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46228 *) ac_try_echo=$ac_try;;
46229 esac
46230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46231 (eval "$ac_compile") 2>conftest.er1
46232 ac_status=$?
46233 grep -v '^ *+' conftest.er1 >conftest.err
46234 rm -f conftest.er1
46235 cat conftest.err >&5
46236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46237 (exit $ac_status); } && {
46238 test -z "$ac_cxx_werror_flag" ||
46239 test ! -s conftest.err
46240 } && test -s conftest.$ac_objext; then
46241
46242 wx_cv_var_timezone=timezone
46243
46244 else
46245 echo "$as_me: failed program was:" >&5
46246 sed 's/^/| /' conftest.$ac_ext >&5
46247
46248
46249 cat >conftest.$ac_ext <<_ACEOF
46250 /* confdefs.h. */
46251 _ACEOF
46252 cat confdefs.h >>conftest.$ac_ext
46253 cat >>conftest.$ac_ext <<_ACEOF
46254 /* end confdefs.h. */
46255
46256 #include <time.h>
46257
46258 int
46259 main ()
46260 {
46261
46262 int tz;
46263 tz = _timezone;
46264
46265 ;
46266 return 0;
46267 }
46268 _ACEOF
46269 rm -f conftest.$ac_objext
46270 if { (ac_try="$ac_compile"
46271 case "(($ac_try" in
46272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46273 *) ac_try_echo=$ac_try;;
46274 esac
46275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46276 (eval "$ac_compile") 2>conftest.er1
46277 ac_status=$?
46278 grep -v '^ *+' conftest.er1 >conftest.err
46279 rm -f conftest.er1
46280 cat conftest.err >&5
46281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46282 (exit $ac_status); } && {
46283 test -z "$ac_cxx_werror_flag" ||
46284 test ! -s conftest.err
46285 } && test -s conftest.$ac_objext; then
46286
46287 wx_cv_var_timezone=_timezone
46288
46289 else
46290 echo "$as_me: failed program was:" >&5
46291 sed 's/^/| /' conftest.$ac_ext >&5
46292
46293
46294 cat >conftest.$ac_ext <<_ACEOF
46295 /* confdefs.h. */
46296 _ACEOF
46297 cat confdefs.h >>conftest.$ac_ext
46298 cat >>conftest.$ac_ext <<_ACEOF
46299 /* end confdefs.h. */
46300
46301 #include <time.h>
46302
46303 int
46304 main ()
46305 {
46306
46307 int tz;
46308 tz = __timezone;
46309
46310 ;
46311 return 0;
46312 }
46313 _ACEOF
46314 rm -f conftest.$ac_objext
46315 if { (ac_try="$ac_compile"
46316 case "(($ac_try" in
46317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46318 *) ac_try_echo=$ac_try;;
46319 esac
46320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46321 (eval "$ac_compile") 2>conftest.er1
46322 ac_status=$?
46323 grep -v '^ *+' conftest.er1 >conftest.err
46324 rm -f conftest.er1
46325 cat conftest.err >&5
46326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46327 (exit $ac_status); } && {
46328 test -z "$ac_cxx_werror_flag" ||
46329 test ! -s conftest.err
46330 } && test -s conftest.$ac_objext; then
46331
46332 wx_cv_var_timezone=__timezone
46333
46334 else
46335 echo "$as_me: failed program was:" >&5
46336 sed 's/^/| /' conftest.$ac_ext >&5
46337
46338
46339 if test "$USE_DOS" = 0 ; then
46340 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46341 echo "$as_me: WARNING: no timezone variable" >&2;}
46342 fi
46343
46344
46345 fi
46346
46347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46348
46349
46350 fi
46351
46352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46353
46354
46355 fi
46356
46357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46358 ac_ext=c
46359 ac_cpp='$CPP $CPPFLAGS'
46360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46363
46364
46365
46366 fi
46367 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46368 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46369
46370 if test "x$wx_cv_var_timezone" != x ; then
46371 cat >>confdefs.h <<_ACEOF
46372 #define WX_TIMEZONE $wx_cv_var_timezone
46373 _ACEOF
46374
46375 fi
46376
46377
46378 for ac_func in localtime
46379 do
46380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46381 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46383 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46384 echo $ECHO_N "(cached) $ECHO_C" >&6
46385 else
46386 cat >conftest.$ac_ext <<_ACEOF
46387 /* confdefs.h. */
46388 _ACEOF
46389 cat confdefs.h >>conftest.$ac_ext
46390 cat >>conftest.$ac_ext <<_ACEOF
46391 /* end confdefs.h. */
46392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46394 #define $ac_func innocuous_$ac_func
46395
46396 /* System header to define __stub macros and hopefully few prototypes,
46397 which can conflict with char $ac_func (); below.
46398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46399 <limits.h> exists even on freestanding compilers. */
46400
46401 #ifdef __STDC__
46402 # include <limits.h>
46403 #else
46404 # include <assert.h>
46405 #endif
46406
46407 #undef $ac_func
46408
46409 /* Override any GCC internal prototype to avoid an error.
46410 Use char because int might match the return type of a GCC
46411 builtin and then its argument prototype would still apply. */
46412 #ifdef __cplusplus
46413 extern "C"
46414 #endif
46415 char $ac_func ();
46416 /* The GNU C library defines this for functions which it implements
46417 to always fail with ENOSYS. Some functions are actually named
46418 something starting with __ and the normal name is an alias. */
46419 #if defined __stub_$ac_func || defined __stub___$ac_func
46420 choke me
46421 #endif
46422
46423 int
46424 main ()
46425 {
46426 return $ac_func ();
46427 ;
46428 return 0;
46429 }
46430 _ACEOF
46431 rm -f conftest.$ac_objext conftest$ac_exeext
46432 if { (ac_try="$ac_link"
46433 case "(($ac_try" in
46434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46435 *) ac_try_echo=$ac_try;;
46436 esac
46437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46438 (eval "$ac_link") 2>conftest.er1
46439 ac_status=$?
46440 grep -v '^ *+' conftest.er1 >conftest.err
46441 rm -f conftest.er1
46442 cat conftest.err >&5
46443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46444 (exit $ac_status); } && {
46445 test -z "$ac_c_werror_flag" ||
46446 test ! -s conftest.err
46447 } && test -s conftest$ac_exeext &&
46448 $as_test_x conftest$ac_exeext; then
46449 eval "$as_ac_var=yes"
46450 else
46451 echo "$as_me: failed program was:" >&5
46452 sed 's/^/| /' conftest.$ac_ext >&5
46453
46454 eval "$as_ac_var=no"
46455 fi
46456
46457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46458 conftest$ac_exeext conftest.$ac_ext
46459 fi
46460 ac_res=`eval echo '${'$as_ac_var'}'`
46461 { echo "$as_me:$LINENO: result: $ac_res" >&5
46462 echo "${ECHO_T}$ac_res" >&6; }
46463 if test `eval echo '${'$as_ac_var'}'` = yes; then
46464 cat >>confdefs.h <<_ACEOF
46465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46466 _ACEOF
46467
46468 fi
46469 done
46470
46471
46472 if test "$ac_cv_func_localtime" = "yes"; then
46473 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46474 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46475 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46476 echo $ECHO_N "(cached) $ECHO_C" >&6
46477 else
46478
46479 cat >conftest.$ac_ext <<_ACEOF
46480 /* confdefs.h. */
46481 _ACEOF
46482 cat confdefs.h >>conftest.$ac_ext
46483 cat >>conftest.$ac_ext <<_ACEOF
46484 /* end confdefs.h. */
46485
46486 #include <time.h>
46487
46488 int
46489 main ()
46490 {
46491
46492 struct tm tm;
46493 tm.tm_gmtoff++;
46494
46495 ;
46496 return 0;
46497 }
46498 _ACEOF
46499 rm -f conftest.$ac_objext
46500 if { (ac_try="$ac_compile"
46501 case "(($ac_try" in
46502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46503 *) ac_try_echo=$ac_try;;
46504 esac
46505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46506 (eval "$ac_compile") 2>conftest.er1
46507 ac_status=$?
46508 grep -v '^ *+' conftest.er1 >conftest.err
46509 rm -f conftest.er1
46510 cat conftest.err >&5
46511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46512 (exit $ac_status); } && {
46513 test -z "$ac_c_werror_flag" ||
46514 test ! -s conftest.err
46515 } && test -s conftest.$ac_objext; then
46516
46517 wx_cv_struct_tm_has_gmtoff=yes
46518
46519 else
46520 echo "$as_me: failed program was:" >&5
46521 sed 's/^/| /' conftest.$ac_ext >&5
46522
46523 wx_cv_struct_tm_has_gmtoff=no
46524
46525 fi
46526
46527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46528
46529 fi
46530 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46531 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46532 fi
46533
46534 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define WX_GMTOFF_IN_TM 1
46537 _ACEOF
46538
46539 fi
46540
46541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46542 fi
46543
46544
46545 if test "$wxUSE_SOCKETS" = "yes"; then
46546 if test "$wxUSE_MGL" = "1"; then
46547 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46548 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46549 wxUSE_SOCKETS="no"
46550 fi
46551 fi
46552
46553 if test "$wxUSE_SOCKETS" = "yes"; then
46554 if test "$TOOLKIT" != "MSW"; then
46555 { echo "$as_me:$LINENO: checking for socket" >&5
46556 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46557 if test "${ac_cv_func_socket+set}" = set; then
46558 echo $ECHO_N "(cached) $ECHO_C" >&6
46559 else
46560 cat >conftest.$ac_ext <<_ACEOF
46561 /* confdefs.h. */
46562 _ACEOF
46563 cat confdefs.h >>conftest.$ac_ext
46564 cat >>conftest.$ac_ext <<_ACEOF
46565 /* end confdefs.h. */
46566 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46568 #define socket innocuous_socket
46569
46570 /* System header to define __stub macros and hopefully few prototypes,
46571 which can conflict with char socket (); below.
46572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46573 <limits.h> exists even on freestanding compilers. */
46574
46575 #ifdef __STDC__
46576 # include <limits.h>
46577 #else
46578 # include <assert.h>
46579 #endif
46580
46581 #undef socket
46582
46583 /* Override any GCC internal prototype to avoid an error.
46584 Use char because int might match the return type of a GCC
46585 builtin and then its argument prototype would still apply. */
46586 #ifdef __cplusplus
46587 extern "C"
46588 #endif
46589 char socket ();
46590 /* The GNU C library defines this for functions which it implements
46591 to always fail with ENOSYS. Some functions are actually named
46592 something starting with __ and the normal name is an alias. */
46593 #if defined __stub_socket || defined __stub___socket
46594 choke me
46595 #endif
46596
46597 int
46598 main ()
46599 {
46600 return socket ();
46601 ;
46602 return 0;
46603 }
46604 _ACEOF
46605 rm -f conftest.$ac_objext conftest$ac_exeext
46606 if { (ac_try="$ac_link"
46607 case "(($ac_try" in
46608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46609 *) ac_try_echo=$ac_try;;
46610 esac
46611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46612 (eval "$ac_link") 2>conftest.er1
46613 ac_status=$?
46614 grep -v '^ *+' conftest.er1 >conftest.err
46615 rm -f conftest.er1
46616 cat conftest.err >&5
46617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46618 (exit $ac_status); } && {
46619 test -z "$ac_c_werror_flag" ||
46620 test ! -s conftest.err
46621 } && test -s conftest$ac_exeext &&
46622 $as_test_x conftest$ac_exeext; then
46623 ac_cv_func_socket=yes
46624 else
46625 echo "$as_me: failed program was:" >&5
46626 sed 's/^/| /' conftest.$ac_ext >&5
46627
46628 ac_cv_func_socket=no
46629 fi
46630
46631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46632 conftest$ac_exeext conftest.$ac_ext
46633 fi
46634 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46635 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46636 if test $ac_cv_func_socket = yes; then
46637 :
46638 else
46639
46640 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46641 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46642 if test "${ac_cv_lib_socket_socket+set}" = set; then
46643 echo $ECHO_N "(cached) $ECHO_C" >&6
46644 else
46645 ac_check_lib_save_LIBS=$LIBS
46646 LIBS="-lsocket $LIBS"
46647 cat >conftest.$ac_ext <<_ACEOF
46648 /* confdefs.h. */
46649 _ACEOF
46650 cat confdefs.h >>conftest.$ac_ext
46651 cat >>conftest.$ac_ext <<_ACEOF
46652 /* end confdefs.h. */
46653
46654 /* Override any GCC internal prototype to avoid an error.
46655 Use char because int might match the return type of a GCC
46656 builtin and then its argument prototype would still apply. */
46657 #ifdef __cplusplus
46658 extern "C"
46659 #endif
46660 char socket ();
46661 int
46662 main ()
46663 {
46664 return socket ();
46665 ;
46666 return 0;
46667 }
46668 _ACEOF
46669 rm -f conftest.$ac_objext conftest$ac_exeext
46670 if { (ac_try="$ac_link"
46671 case "(($ac_try" in
46672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46673 *) ac_try_echo=$ac_try;;
46674 esac
46675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46676 (eval "$ac_link") 2>conftest.er1
46677 ac_status=$?
46678 grep -v '^ *+' conftest.er1 >conftest.err
46679 rm -f conftest.er1
46680 cat conftest.err >&5
46681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46682 (exit $ac_status); } && {
46683 test -z "$ac_c_werror_flag" ||
46684 test ! -s conftest.err
46685 } && test -s conftest$ac_exeext &&
46686 $as_test_x conftest$ac_exeext; then
46687 ac_cv_lib_socket_socket=yes
46688 else
46689 echo "$as_me: failed program was:" >&5
46690 sed 's/^/| /' conftest.$ac_ext >&5
46691
46692 ac_cv_lib_socket_socket=no
46693 fi
46694
46695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46696 conftest$ac_exeext conftest.$ac_ext
46697 LIBS=$ac_check_lib_save_LIBS
46698 fi
46699 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46700 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46701 if test $ac_cv_lib_socket_socket = yes; then
46702 if test "$INET_LINK" != " -lsocket"; then
46703 INET_LINK="$INET_LINK -lsocket"
46704 fi
46705 else
46706
46707 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46708 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46709 wxUSE_SOCKETS=no
46710
46711
46712 fi
46713
46714
46715
46716 fi
46717
46718 fi
46719 fi
46720
46721 if test "$wxUSE_SOCKETS" = "yes" ; then
46722 if test "$TOOLKIT" != "MSW"; then
46723 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46724 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46725 if test "${wx_cv_type_getsockname3+set}" = set; then
46726 echo $ECHO_N "(cached) $ECHO_C" >&6
46727 else
46728
46729 ac_ext=cpp
46730 ac_cpp='$CXXCPP $CPPFLAGS'
46731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46734
46735 cat >conftest.$ac_ext <<_ACEOF
46736 /* confdefs.h. */
46737 _ACEOF
46738 cat confdefs.h >>conftest.$ac_ext
46739 cat >>conftest.$ac_ext <<_ACEOF
46740 /* end confdefs.h. */
46741
46742 #include <sys/types.h>
46743 #include <sys/socket.h>
46744
46745 int
46746 main ()
46747 {
46748
46749 socklen_t len;
46750 getsockname(0, 0, &len);
46751
46752 ;
46753 return 0;
46754 }
46755 _ACEOF
46756 rm -f conftest.$ac_objext
46757 if { (ac_try="$ac_compile"
46758 case "(($ac_try" in
46759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46760 *) ac_try_echo=$ac_try;;
46761 esac
46762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46763 (eval "$ac_compile") 2>conftest.er1
46764 ac_status=$?
46765 grep -v '^ *+' conftest.er1 >conftest.err
46766 rm -f conftest.er1
46767 cat conftest.err >&5
46768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46769 (exit $ac_status); } && {
46770 test -z "$ac_cxx_werror_flag" ||
46771 test ! -s conftest.err
46772 } && test -s conftest.$ac_objext; then
46773 wx_cv_type_getsockname3=socklen_t
46774 else
46775 echo "$as_me: failed program was:" >&5
46776 sed 's/^/| /' conftest.$ac_ext >&5
46777
46778
46779 CFLAGS_OLD="$CFLAGS"
46780 if test "$GCC" = yes ; then
46781 CFLAGS="-Werror $CFLAGS"
46782 fi
46783
46784 cat >conftest.$ac_ext <<_ACEOF
46785 /* confdefs.h. */
46786 _ACEOF
46787 cat confdefs.h >>conftest.$ac_ext
46788 cat >>conftest.$ac_ext <<_ACEOF
46789 /* end confdefs.h. */
46790
46791 #include <sys/types.h>
46792 #include <sys/socket.h>
46793
46794 int
46795 main ()
46796 {
46797
46798 size_t len;
46799 getsockname(0, 0, &len);
46800
46801 ;
46802 return 0;
46803 }
46804 _ACEOF
46805 rm -f conftest.$ac_objext
46806 if { (ac_try="$ac_compile"
46807 case "(($ac_try" in
46808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46809 *) ac_try_echo=$ac_try;;
46810 esac
46811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46812 (eval "$ac_compile") 2>conftest.er1
46813 ac_status=$?
46814 grep -v '^ *+' conftest.er1 >conftest.err
46815 rm -f conftest.er1
46816 cat conftest.err >&5
46817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46818 (exit $ac_status); } && {
46819 test -z "$ac_cxx_werror_flag" ||
46820 test ! -s conftest.err
46821 } && test -s conftest.$ac_objext; then
46822 wx_cv_type_getsockname3=size_t
46823 else
46824 echo "$as_me: failed program was:" >&5
46825 sed 's/^/| /' conftest.$ac_ext >&5
46826
46827 cat >conftest.$ac_ext <<_ACEOF
46828 /* confdefs.h. */
46829 _ACEOF
46830 cat confdefs.h >>conftest.$ac_ext
46831 cat >>conftest.$ac_ext <<_ACEOF
46832 /* end confdefs.h. */
46833
46834 #include <sys/types.h>
46835 #include <sys/socket.h>
46836
46837 int
46838 main ()
46839 {
46840
46841 int len;
46842 getsockname(0, 0, &len);
46843
46844 ;
46845 return 0;
46846 }
46847 _ACEOF
46848 rm -f conftest.$ac_objext
46849 if { (ac_try="$ac_compile"
46850 case "(($ac_try" in
46851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46852 *) ac_try_echo=$ac_try;;
46853 esac
46854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46855 (eval "$ac_compile") 2>conftest.er1
46856 ac_status=$?
46857 grep -v '^ *+' conftest.er1 >conftest.err
46858 rm -f conftest.er1
46859 cat conftest.err >&5
46860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46861 (exit $ac_status); } && {
46862 test -z "$ac_cxx_werror_flag" ||
46863 test ! -s conftest.err
46864 } && test -s conftest.$ac_objext; then
46865 wx_cv_type_getsockname3=int
46866 else
46867 echo "$as_me: failed program was:" >&5
46868 sed 's/^/| /' conftest.$ac_ext >&5
46869
46870 wx_cv_type_getsockname3=unknown
46871
46872 fi
46873
46874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46875
46876 fi
46877
46878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46879
46880 CFLAGS="$CFLAGS_OLD"
46881
46882
46883 fi
46884
46885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46886 ac_ext=c
46887 ac_cpp='$CPP $CPPFLAGS'
46888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46891
46892
46893 fi
46894 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46895 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46896
46897 if test "$wx_cv_type_getsockname3" = "unknown"; then
46898 wxUSE_SOCKETS=no
46899 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46900 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46901 else
46902 cat >>confdefs.h <<_ACEOF
46903 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46904 _ACEOF
46905
46906 fi
46907 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46908 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46909 if test "${wx_cv_type_getsockopt5+set}" = set; then
46910 echo $ECHO_N "(cached) $ECHO_C" >&6
46911 else
46912
46913 ac_ext=cpp
46914 ac_cpp='$CXXCPP $CPPFLAGS'
46915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46918
46919 cat >conftest.$ac_ext <<_ACEOF
46920 /* confdefs.h. */
46921 _ACEOF
46922 cat confdefs.h >>conftest.$ac_ext
46923 cat >>conftest.$ac_ext <<_ACEOF
46924 /* end confdefs.h. */
46925
46926 #include <sys/types.h>
46927 #include <sys/socket.h>
46928
46929 int
46930 main ()
46931 {
46932
46933 socklen_t len;
46934 getsockopt(0, 0, 0, 0, &len);
46935
46936 ;
46937 return 0;
46938 }
46939 _ACEOF
46940 rm -f conftest.$ac_objext
46941 if { (ac_try="$ac_compile"
46942 case "(($ac_try" in
46943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46944 *) ac_try_echo=$ac_try;;
46945 esac
46946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46947 (eval "$ac_compile") 2>conftest.er1
46948 ac_status=$?
46949 grep -v '^ *+' conftest.er1 >conftest.err
46950 rm -f conftest.er1
46951 cat conftest.err >&5
46952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46953 (exit $ac_status); } && {
46954 test -z "$ac_cxx_werror_flag" ||
46955 test ! -s conftest.err
46956 } && test -s conftest.$ac_objext; then
46957 wx_cv_type_getsockopt5=socklen_t
46958 else
46959 echo "$as_me: failed program was:" >&5
46960 sed 's/^/| /' conftest.$ac_ext >&5
46961
46962
46963 cat >conftest.$ac_ext <<_ACEOF
46964 /* confdefs.h. */
46965 _ACEOF
46966 cat confdefs.h >>conftest.$ac_ext
46967 cat >>conftest.$ac_ext <<_ACEOF
46968 /* end confdefs.h. */
46969
46970 #include <sys/types.h>
46971 #include <sys/socket.h>
46972
46973 int
46974 main ()
46975 {
46976
46977 size_t len;
46978 getsockopt(0, 0, 0, 0, &len);
46979
46980 ;
46981 return 0;
46982 }
46983 _ACEOF
46984 rm -f conftest.$ac_objext
46985 if { (ac_try="$ac_compile"
46986 case "(($ac_try" in
46987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46988 *) ac_try_echo=$ac_try;;
46989 esac
46990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46991 (eval "$ac_compile") 2>conftest.er1
46992 ac_status=$?
46993 grep -v '^ *+' conftest.er1 >conftest.err
46994 rm -f conftest.er1
46995 cat conftest.err >&5
46996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46997 (exit $ac_status); } && {
46998 test -z "$ac_cxx_werror_flag" ||
46999 test ! -s conftest.err
47000 } && test -s conftest.$ac_objext; then
47001 wx_cv_type_getsockopt5=size_t
47002 else
47003 echo "$as_me: failed program was:" >&5
47004 sed 's/^/| /' conftest.$ac_ext >&5
47005
47006 cat >conftest.$ac_ext <<_ACEOF
47007 /* confdefs.h. */
47008 _ACEOF
47009 cat confdefs.h >>conftest.$ac_ext
47010 cat >>conftest.$ac_ext <<_ACEOF
47011 /* end confdefs.h. */
47012
47013 #include <sys/types.h>
47014 #include <sys/socket.h>
47015
47016 int
47017 main ()
47018 {
47019
47020 int len;
47021 getsockopt(0, 0, 0, 0, &len);
47022
47023 ;
47024 return 0;
47025 }
47026 _ACEOF
47027 rm -f conftest.$ac_objext
47028 if { (ac_try="$ac_compile"
47029 case "(($ac_try" in
47030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47031 *) ac_try_echo=$ac_try;;
47032 esac
47033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47034 (eval "$ac_compile") 2>conftest.er1
47035 ac_status=$?
47036 grep -v '^ *+' conftest.er1 >conftest.err
47037 rm -f conftest.er1
47038 cat conftest.err >&5
47039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47040 (exit $ac_status); } && {
47041 test -z "$ac_cxx_werror_flag" ||
47042 test ! -s conftest.err
47043 } && test -s conftest.$ac_objext; then
47044 wx_cv_type_getsockopt5=int
47045 else
47046 echo "$as_me: failed program was:" >&5
47047 sed 's/^/| /' conftest.$ac_ext >&5
47048
47049 wx_cv_type_getsockopt5=unknown
47050
47051 fi
47052
47053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47054
47055 fi
47056
47057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47058
47059
47060 fi
47061
47062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47063 ac_ext=c
47064 ac_cpp='$CPP $CPPFLAGS'
47065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47068
47069
47070 fi
47071 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47072 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47073
47074 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47075 wxUSE_SOCKETS=no
47076 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47077 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47078 else
47079 cat >>confdefs.h <<_ACEOF
47080 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47081 _ACEOF
47082
47083 fi
47084 fi
47085 fi
47086
47087 if test "$wxUSE_SOCKETS" = "yes" ; then
47088 cat >>confdefs.h <<\_ACEOF
47089 #define wxUSE_SOCKETS 1
47090 _ACEOF
47091
47092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47093 fi
47094
47095 if test "$wxUSE_PROTOCOL" = "yes"; then
47096 if test "$wxUSE_SOCKETS" != "yes"; then
47097 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47098 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47099 wxUSE_PROTOCOL=no
47100 fi
47101 fi
47102
47103 if test "$wxUSE_PROTOCOL" = "yes"; then
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_PROTOCOL 1
47106 _ACEOF
47107
47108
47109 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47110 cat >>confdefs.h <<\_ACEOF
47111 #define wxUSE_PROTOCOL_HTTP 1
47112 _ACEOF
47113
47114 fi
47115 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47116 cat >>confdefs.h <<\_ACEOF
47117 #define wxUSE_PROTOCOL_FTP 1
47118 _ACEOF
47119
47120 fi
47121 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47122 cat >>confdefs.h <<\_ACEOF
47123 #define wxUSE_PROTOCOL_FILE 1
47124 _ACEOF
47125
47126 fi
47127 else
47128 if test "$wxUSE_FS_INET" = "yes"; then
47129 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47130 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47131 wxUSE_FS_INET="no"
47132 fi
47133 fi
47134
47135 if test "$wxUSE_URL" = "yes"; then
47136 if test "$wxUSE_PROTOCOL" != "yes"; then
47137 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47138 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47139 wxUSE_URL=no
47140 fi
47141 if test "$wxUSE_URL" = "yes"; then
47142 cat >>confdefs.h <<\_ACEOF
47143 #define wxUSE_URL 1
47144 _ACEOF
47145
47146 fi
47147 fi
47148
47149 if test "$wxUSE_VARIANT" = "yes"; then
47150 cat >>confdefs.h <<\_ACEOF
47151 #define wxUSE_VARIANT 1
47152 _ACEOF
47153
47154 fi
47155
47156 if test "$wxUSE_FS_INET" = "yes"; then
47157 cat >>confdefs.h <<\_ACEOF
47158 #define wxUSE_FS_INET 1
47159 _ACEOF
47160
47161 fi
47162
47163
47164 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47165 wxUSE_JOYSTICK=no
47166
47167 if test "$TOOLKIT" = "MSW"; then
47168 wxUSE_JOYSTICK=yes
47169
47170 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47171 if test "$USE_DARWIN" = 1; then
47172 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47173 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47174 ac_ext=cpp
47175 ac_cpp='$CXXCPP $CPPFLAGS'
47176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47179
47180 cat >conftest.$ac_ext <<_ACEOF
47181 /* confdefs.h. */
47182 _ACEOF
47183 cat confdefs.h >>conftest.$ac_ext
47184 cat >>conftest.$ac_ext <<_ACEOF
47185 /* end confdefs.h. */
47186 #include <IOKit/hid/IOHIDLib.h>
47187 int
47188 main ()
47189 {
47190 IOHIDQueueInterface *qi = NULL;
47191 IOHIDCallbackFunction cb = NULL;
47192 qi->setEventCallout(NULL, cb, NULL, NULL);
47193 ;
47194 return 0;
47195 }
47196 _ACEOF
47197 rm -f conftest.$ac_objext
47198 if { (ac_try="$ac_compile"
47199 case "(($ac_try" in
47200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47201 *) ac_try_echo=$ac_try;;
47202 esac
47203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47204 (eval "$ac_compile") 2>conftest.er1
47205 ac_status=$?
47206 grep -v '^ *+' conftest.er1 >conftest.err
47207 rm -f conftest.er1
47208 cat conftest.err >&5
47209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47210 (exit $ac_status); } && {
47211 test -z "$ac_cxx_werror_flag" ||
47212 test ! -s conftest.err
47213 } && test -s conftest.$ac_objext; then
47214 wxUSE_JOYSTICK=yes
47215
47216 else
47217 echo "$as_me: failed program was:" >&5
47218 sed 's/^/| /' conftest.$ac_ext >&5
47219
47220
47221 fi
47222
47223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47224 ac_ext=c
47225 ac_cpp='$CPP $CPPFLAGS'
47226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47229
47230 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47231 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47232 fi
47233
47234 else
47235 if test "$wxUSE_MGL" != "1"; then
47236
47237 for ac_header in linux/joystick.h
47238 do
47239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47240 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47242 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47243 echo $ECHO_N "(cached) $ECHO_C" >&6
47244 else
47245 cat >conftest.$ac_ext <<_ACEOF
47246 /* confdefs.h. */
47247 _ACEOF
47248 cat confdefs.h >>conftest.$ac_ext
47249 cat >>conftest.$ac_ext <<_ACEOF
47250 /* end confdefs.h. */
47251 $ac_includes_default
47252
47253 #include <$ac_header>
47254 _ACEOF
47255 rm -f conftest.$ac_objext
47256 if { (ac_try="$ac_compile"
47257 case "(($ac_try" in
47258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47259 *) ac_try_echo=$ac_try;;
47260 esac
47261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47262 (eval "$ac_compile") 2>conftest.er1
47263 ac_status=$?
47264 grep -v '^ *+' conftest.er1 >conftest.err
47265 rm -f conftest.er1
47266 cat conftest.err >&5
47267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47268 (exit $ac_status); } && {
47269 test -z "$ac_c_werror_flag" ||
47270 test ! -s conftest.err
47271 } && test -s conftest.$ac_objext; then
47272 eval "$as_ac_Header=yes"
47273 else
47274 echo "$as_me: failed program was:" >&5
47275 sed 's/^/| /' conftest.$ac_ext >&5
47276
47277 eval "$as_ac_Header=no"
47278 fi
47279
47280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47281 fi
47282 ac_res=`eval echo '${'$as_ac_Header'}'`
47283 { echo "$as_me:$LINENO: result: $ac_res" >&5
47284 echo "${ECHO_T}$ac_res" >&6; }
47285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47286 cat >>confdefs.h <<_ACEOF
47287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47288 _ACEOF
47289 wxUSE_JOYSTICK=yes
47290 fi
47291
47292 done
47293
47294 fi
47295 fi
47296
47297 if test "$wxUSE_JOYSTICK" = "yes"; then
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_JOYSTICK 1
47300 _ACEOF
47301
47302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47303 else
47304 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47305 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47306 fi
47307 fi
47308
47309
47310
47311 if test "$wxUSE_FONTENUM" = "yes" ; then
47312 cat >>confdefs.h <<\_ACEOF
47313 #define wxUSE_FONTENUM 1
47314 _ACEOF
47315
47316 fi
47317
47318 if test "$wxUSE_FONTMAP" = "yes" ; then
47319 cat >>confdefs.h <<\_ACEOF
47320 #define wxUSE_FONTMAP 1
47321 _ACEOF
47322
47323 fi
47324
47325 if test "$wxUSE_UNICODE" = "yes" ; then
47326 cat >>confdefs.h <<\_ACEOF
47327 #define wxUSE_UNICODE 1
47328 _ACEOF
47329
47330
47331 if test "$USE_WIN32" != 1; then
47332 wxUSE_UNICODE_MSLU=no
47333 fi
47334
47335 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47336 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47337 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47338 if test "${ac_cv_lib_unicows_main+set}" = set; then
47339 echo $ECHO_N "(cached) $ECHO_C" >&6
47340 else
47341 ac_check_lib_save_LIBS=$LIBS
47342 LIBS="-lunicows $LIBS"
47343 cat >conftest.$ac_ext <<_ACEOF
47344 /* confdefs.h. */
47345 _ACEOF
47346 cat confdefs.h >>conftest.$ac_ext
47347 cat >>conftest.$ac_ext <<_ACEOF
47348 /* end confdefs.h. */
47349
47350
47351 int
47352 main ()
47353 {
47354 return main ();
47355 ;
47356 return 0;
47357 }
47358 _ACEOF
47359 rm -f conftest.$ac_objext conftest$ac_exeext
47360 if { (ac_try="$ac_link"
47361 case "(($ac_try" in
47362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47363 *) ac_try_echo=$ac_try;;
47364 esac
47365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47366 (eval "$ac_link") 2>conftest.er1
47367 ac_status=$?
47368 grep -v '^ *+' conftest.er1 >conftest.err
47369 rm -f conftest.er1
47370 cat conftest.err >&5
47371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47372 (exit $ac_status); } && {
47373 test -z "$ac_c_werror_flag" ||
47374 test ! -s conftest.err
47375 } && test -s conftest$ac_exeext &&
47376 $as_test_x conftest$ac_exeext; then
47377 ac_cv_lib_unicows_main=yes
47378 else
47379 echo "$as_me: failed program was:" >&5
47380 sed 's/^/| /' conftest.$ac_ext >&5
47381
47382 ac_cv_lib_unicows_main=no
47383 fi
47384
47385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47386 conftest$ac_exeext conftest.$ac_ext
47387 LIBS=$ac_check_lib_save_LIBS
47388 fi
47389 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47390 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47391 if test $ac_cv_lib_unicows_main = yes; then
47392
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_UNICODE_MSLU 1
47395 _ACEOF
47396
47397
47398 else
47399
47400 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47401 Applications will only run on Windows NT/2000/XP!" >&5
47402 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47403 Applications will only run on Windows NT/2000/XP!" >&2;}
47404 wxUSE_UNICODE_MSLU=no
47405
47406 fi
47407
47408 fi
47409 fi
47410
47411 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47412 cat >>confdefs.h <<\_ACEOF
47413 #define wxUSE_UNICODE_UTF8 1
47414 _ACEOF
47415
47416
47417 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47418 cat >>confdefs.h <<\_ACEOF
47419 #define wxUSE_UTF8_LOCALE_ONLY 1
47420 _ACEOF
47421
47422 fi
47423 fi
47424
47425
47426 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47427 cat >>confdefs.h <<\_ACEOF
47428 #define wxUSE_CONSTRAINTS 1
47429 _ACEOF
47430
47431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47432 fi
47433
47434 if test "$wxUSE_MDI" = "yes"; then
47435 cat >>confdefs.h <<\_ACEOF
47436 #define wxUSE_MDI 1
47437 _ACEOF
47438
47439
47440 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47441 cat >>confdefs.h <<\_ACEOF
47442 #define wxUSE_MDI_ARCHITECTURE 1
47443 _ACEOF
47444
47445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47446 fi
47447 fi
47448
47449 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47450 cat >>confdefs.h <<\_ACEOF
47451 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47452 _ACEOF
47453
47454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47455 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47457 fi
47458 fi
47459
47460 if test "$wxUSE_HELP" = "yes"; then
47461 cat >>confdefs.h <<\_ACEOF
47462 #define wxUSE_HELP 1
47463 _ACEOF
47464
47465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47466
47467 if test "$wxUSE_MSW" = 1; then
47468 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47469 cat >>confdefs.h <<\_ACEOF
47470 #define wxUSE_MS_HTML_HELP 1
47471 _ACEOF
47472
47473 fi
47474 fi
47475
47476 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47477 if test "$wxUSE_HTML" = "yes"; then
47478 cat >>confdefs.h <<\_ACEOF
47479 #define wxUSE_WXHTML_HELP 1
47480 _ACEOF
47481
47482 else
47483 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47484 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47485 wxUSE_WXHTML_HELP=no
47486 fi
47487 fi
47488 fi
47489
47490 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47491 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47492 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47493 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47494 else
47495 cat >>confdefs.h <<\_ACEOF
47496 #define wxUSE_PRINTING_ARCHITECTURE 1
47497 _ACEOF
47498
47499 fi
47500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47501 fi
47502
47503 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_POSTSCRIPT 1
47506 _ACEOF
47507
47508 fi
47509
47510 cat >>confdefs.h <<\_ACEOF
47511 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47512 _ACEOF
47513
47514
47515 if test "$wxUSE_SVG" = "yes"; then
47516 cat >>confdefs.h <<\_ACEOF
47517 #define wxUSE_SVG 1
47518 _ACEOF
47519
47520 fi
47521
47522
47523 if test "$wxUSE_METAFILE" = "yes"; then
47524 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47525 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47526 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47527 wxUSE_METAFILE=no
47528 fi
47529 fi
47530
47531
47532 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47533 -o "$wxUSE_CLIPBOARD" = "yes" \
47534 -o "$wxUSE_OLE" = "yes" \
47535 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47536 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47537 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47538 if test "${ac_cv_header_ole2_h+set}" = set; then
47539 echo $ECHO_N "(cached) $ECHO_C" >&6
47540 else
47541 cat >conftest.$ac_ext <<_ACEOF
47542 /* confdefs.h. */
47543 _ACEOF
47544 cat confdefs.h >>conftest.$ac_ext
47545 cat >>conftest.$ac_ext <<_ACEOF
47546 /* end confdefs.h. */
47547
47548
47549 #include <ole2.h>
47550 _ACEOF
47551 rm -f conftest.$ac_objext
47552 if { (ac_try="$ac_compile"
47553 case "(($ac_try" in
47554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47555 *) ac_try_echo=$ac_try;;
47556 esac
47557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47558 (eval "$ac_compile") 2>conftest.er1
47559 ac_status=$?
47560 grep -v '^ *+' conftest.er1 >conftest.err
47561 rm -f conftest.er1
47562 cat conftest.err >&5
47563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47564 (exit $ac_status); } && {
47565 test -z "$ac_c_werror_flag" ||
47566 test ! -s conftest.err
47567 } && test -s conftest.$ac_objext; then
47568 ac_cv_header_ole2_h=yes
47569 else
47570 echo "$as_me: failed program was:" >&5
47571 sed 's/^/| /' conftest.$ac_ext >&5
47572
47573 ac_cv_header_ole2_h=no
47574 fi
47575
47576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47577 fi
47578 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47579 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47580
47581
47582
47583 if test "$ac_cv_header_ole2_h" = "yes" ; then
47584 if test "$GCC" = yes ; then
47585 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47586 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47587 cat >conftest.$ac_ext <<_ACEOF
47588 /* confdefs.h. */
47589 _ACEOF
47590 cat confdefs.h >>conftest.$ac_ext
47591 cat >>conftest.$ac_ext <<_ACEOF
47592 /* end confdefs.h. */
47593 #include <windows.h>
47594 #include <ole2.h>
47595 int
47596 main ()
47597 {
47598
47599 ;
47600 return 0;
47601 }
47602 _ACEOF
47603 rm -f conftest.$ac_objext
47604 if { (ac_try="$ac_compile"
47605 case "(($ac_try" in
47606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47607 *) ac_try_echo=$ac_try;;
47608 esac
47609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47610 (eval "$ac_compile") 2>conftest.er1
47611 ac_status=$?
47612 grep -v '^ *+' conftest.er1 >conftest.err
47613 rm -f conftest.er1
47614 cat conftest.err >&5
47615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47616 (exit $ac_status); } && {
47617 test -z "$ac_c_werror_flag" ||
47618 test ! -s conftest.err
47619 } && test -s conftest.$ac_objext; then
47620 { echo "$as_me:$LINENO: result: no" >&5
47621 echo "${ECHO_T}no" >&6; }
47622 else
47623 echo "$as_me: failed program was:" >&5
47624 sed 's/^/| /' conftest.$ac_ext >&5
47625
47626 { echo "$as_me:$LINENO: result: yes" >&5
47627 echo "${ECHO_T}yes" >&6; }
47628 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47629 fi
47630
47631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47632 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47633 if test "$wxUSE_OLE" = "yes" ; then
47634 cat >>confdefs.h <<\_ACEOF
47635 #define wxUSE_OLE 1
47636 _ACEOF
47637
47638 cat >>confdefs.h <<\_ACEOF
47639 #define wxUSE_OLE_AUTOMATION 1
47640 _ACEOF
47641
47642 cat >>confdefs.h <<\_ACEOF
47643 #define wxUSE_ACTIVEX 1
47644 _ACEOF
47645
47646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47647 fi
47648 fi
47649
47650 if test "$wxUSE_DATAOBJ" = "yes" ; then
47651 cat >>confdefs.h <<\_ACEOF
47652 #define wxUSE_DATAOBJ 1
47653 _ACEOF
47654
47655 fi
47656 else
47657 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47658 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47659
47660 wxUSE_CLIPBOARD=no
47661 wxUSE_DRAG_AND_DROP=no
47662 wxUSE_DATAOBJ=no
47663 wxUSE_OLE=no
47664 fi
47665
47666 if test "$wxUSE_METAFILE" = "yes"; then
47667 cat >>confdefs.h <<\_ACEOF
47668 #define wxUSE_METAFILE 1
47669 _ACEOF
47670
47671
47672 cat >>confdefs.h <<\_ACEOF
47673 #define wxUSE_ENH_METAFILE 1
47674 _ACEOF
47675
47676 fi
47677 fi
47678
47679 if test "$wxUSE_IPC" = "yes"; then
47680 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47681 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47682 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47683 wxUSE_IPC=no
47684 fi
47685
47686 if test "$wxUSE_IPC" = "yes"; then
47687 cat >>confdefs.h <<\_ACEOF
47688 #define wxUSE_IPC 1
47689 _ACEOF
47690
47691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47692 fi
47693 fi
47694
47695 if test "$wxUSE_DATAOBJ" = "yes"; then
47696 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47697 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47698 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47699 wxUSE_DATAOBJ=no
47700 else
47701 cat >>confdefs.h <<\_ACEOF
47702 #define wxUSE_DATAOBJ 1
47703 _ACEOF
47704
47705 fi
47706 else
47707 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47708 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47709 wxUSE_CLIPBOARD=no
47710 wxUSE_DRAG_AND_DROP=no
47711 fi
47712
47713 if test "$wxUSE_CLIPBOARD" = "yes"; then
47714 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47715 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47716 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47717 wxUSE_CLIPBOARD=no
47718 fi
47719
47720 if test "$wxUSE_CLIPBOARD" = "yes"; then
47721 cat >>confdefs.h <<\_ACEOF
47722 #define wxUSE_CLIPBOARD 1
47723 _ACEOF
47724
47725 fi
47726 fi
47727
47728 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47729 if test "$wxUSE_GTK" = 1; then
47730 if test "$WXGTK12" != 1; then
47731 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47732 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47733 wxUSE_DRAG_AND_DROP=no
47734 fi
47735 fi
47736
47737 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47738 "$wxUSE_DFB" = 1; then
47739 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47740 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47741 wxUSE_DRAG_AND_DROP=no
47742 fi
47743
47744 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47745 cat >>confdefs.h <<\_ACEOF
47746 #define wxUSE_DRAG_AND_DROP 1
47747 _ACEOF
47748
47749 fi
47750
47751 fi
47752
47753 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47755 fi
47756
47757 if test "$wxUSE_SPLINES" = "yes" ; then
47758 cat >>confdefs.h <<\_ACEOF
47759 #define wxUSE_SPLINES 1
47760 _ACEOF
47761
47762 fi
47763
47764 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_MOUSEWHEEL 1
47767 _ACEOF
47768
47769 fi
47770
47771
47772 USES_CONTROLS=0
47773 if test "$wxUSE_CONTROLS" = "yes"; then
47774 USES_CONTROLS=1
47775 fi
47776
47777 if test "$wxUSE_ACCEL" = "yes"; then
47778 cat >>confdefs.h <<\_ACEOF
47779 #define wxUSE_ACCEL 1
47780 _ACEOF
47781
47782 USES_CONTROLS=1
47783 fi
47784
47785 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47786 cat >>confdefs.h <<\_ACEOF
47787 #define wxUSE_ANIMATIONCTRL 1
47788 _ACEOF
47789
47790 USES_CONTROLS=1
47791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47792 fi
47793
47794 if test "$wxUSE_BUTTON" = "yes"; then
47795 cat >>confdefs.h <<\_ACEOF
47796 #define wxUSE_BUTTON 1
47797 _ACEOF
47798
47799 USES_CONTROLS=1
47800 fi
47801
47802 if test "$wxUSE_BMPBUTTON" = "yes"; then
47803 cat >>confdefs.h <<\_ACEOF
47804 #define wxUSE_BMPBUTTON 1
47805 _ACEOF
47806
47807 USES_CONTROLS=1
47808 fi
47809
47810 if test "$wxUSE_CALCTRL" = "yes"; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_CALENDARCTRL 1
47813 _ACEOF
47814
47815 USES_CONTROLS=1
47816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47817 fi
47818
47819 if test "$wxUSE_CARET" = "yes"; then
47820 cat >>confdefs.h <<\_ACEOF
47821 #define wxUSE_CARET 1
47822 _ACEOF
47823
47824 USES_CONTROLS=1
47825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47826 fi
47827
47828 if test "$wxUSE_COLLPANE" = "yes"; then
47829 cat >>confdefs.h <<\_ACEOF
47830 #define wxUSE_COLLPANE 1
47831 _ACEOF
47832
47833 USES_CONTROLS=1
47834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47835 fi
47836
47837 if test "$wxUSE_COMBOBOX" = "yes"; then
47838 cat >>confdefs.h <<\_ACEOF
47839 #define wxUSE_COMBOBOX 1
47840 _ACEOF
47841
47842 USES_CONTROLS=1
47843 fi
47844
47845 if test "$wxUSE_COMBOCTRL" = "yes"; then
47846 cat >>confdefs.h <<\_ACEOF
47847 #define wxUSE_COMBOCTRL 1
47848 _ACEOF
47849
47850 USES_CONTROLS=1
47851 fi
47852
47853 if test "$wxUSE_CHOICE" = "yes"; then
47854 cat >>confdefs.h <<\_ACEOF
47855 #define wxUSE_CHOICE 1
47856 _ACEOF
47857
47858 USES_CONTROLS=1
47859 fi
47860
47861 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47862 cat >>confdefs.h <<\_ACEOF
47863 #define wxUSE_CHOICEBOOK 1
47864 _ACEOF
47865
47866 USES_CONTROLS=1
47867 fi
47868
47869 if test "$wxUSE_CHECKBOX" = "yes"; then
47870 cat >>confdefs.h <<\_ACEOF
47871 #define wxUSE_CHECKBOX 1
47872 _ACEOF
47873
47874 USES_CONTROLS=1
47875 fi
47876
47877 if test "$wxUSE_CHECKLST" = "yes"; then
47878 cat >>confdefs.h <<\_ACEOF
47879 #define wxUSE_CHECKLISTBOX 1
47880 _ACEOF
47881
47882 USES_CONTROLS=1
47883 fi
47884
47885 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47886 cat >>confdefs.h <<\_ACEOF
47887 #define wxUSE_COLOURPICKERCTRL 1
47888 _ACEOF
47889
47890 USES_CONTROLS=1
47891 fi
47892
47893 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_DATEPICKCTRL 1
47896 _ACEOF
47897
47898 USES_CONTROLS=1
47899 fi
47900
47901 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47902 cat >>confdefs.h <<\_ACEOF
47903 #define wxUSE_DIRPICKERCTRL 1
47904 _ACEOF
47905
47906 USES_CONTROLS=1
47907 fi
47908
47909 if test "$wxUSE_FILECTRL" = "yes"; then
47910 cat >>confdefs.h <<\_ACEOF
47911 #define wxUSE_FILECTRL 1
47912 _ACEOF
47913
47914 USES_CONTROLS=1
47915 fi
47916
47917 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47918 cat >>confdefs.h <<\_ACEOF
47919 #define wxUSE_FILEPICKERCTRL 1
47920 _ACEOF
47921
47922 USES_CONTROLS=1
47923 fi
47924
47925 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47926 cat >>confdefs.h <<\_ACEOF
47927 #define wxUSE_FONTPICKERCTRL 1
47928 _ACEOF
47929
47930 USES_CONTROLS=1
47931 fi
47932
47933 if test "$wxUSE_DISPLAY" = "yes"; then
47934 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47935 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47936 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47937 wxUSE_DISPLAY=no
47938 else
47939 cat >>confdefs.h <<\_ACEOF
47940 #define wxUSE_DISPLAY 1
47941 _ACEOF
47942
47943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47944 fi
47945 fi
47946
47947 if test "$wxUSE_DETECT_SM" = "yes"; then
47948 cat >>confdefs.h <<\_ACEOF
47949 #define wxUSE_DETECT_SM 1
47950 _ACEOF
47951
47952 fi
47953
47954 if test "$wxUSE_GAUGE" = "yes"; then
47955 cat >>confdefs.h <<\_ACEOF
47956 #define wxUSE_GAUGE 1
47957 _ACEOF
47958
47959 USES_CONTROLS=1
47960 fi
47961
47962 if test "$wxUSE_GRID" = "yes"; then
47963 cat >>confdefs.h <<\_ACEOF
47964 #define wxUSE_GRID 1
47965 _ACEOF
47966
47967 USES_CONTROLS=1
47968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47969 fi
47970
47971 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_HYPERLINKCTRL 1
47974 _ACEOF
47975
47976 USES_CONTROLS=1
47977 fi
47978
47979 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_BITMAPCOMBOBOX 1
47982 _ACEOF
47983
47984 USES_CONTROLS=1
47985 fi
47986
47987 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47988 cat >>confdefs.h <<\_ACEOF
47989 #define wxUSE_DATAVIEWCTRL 1
47990 _ACEOF
47991
47992 USES_CONTROLS=1
47993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47994 fi
47995
47996 if test "$wxUSE_IMAGLIST" = "yes"; then
47997 cat >>confdefs.h <<\_ACEOF
47998 #define wxUSE_IMAGLIST 1
47999 _ACEOF
48000
48001 fi
48002
48003 if test "$wxUSE_LISTBOOK" = "yes"; then
48004 cat >>confdefs.h <<\_ACEOF
48005 #define wxUSE_LISTBOOK 1
48006 _ACEOF
48007
48008 USES_CONTROLS=1
48009 fi
48010
48011 if test "$wxUSE_LISTBOX" = "yes"; then
48012 cat >>confdefs.h <<\_ACEOF
48013 #define wxUSE_LISTBOX 1
48014 _ACEOF
48015
48016 USES_CONTROLS=1
48017 fi
48018
48019 if test "$wxUSE_LISTCTRL" = "yes"; then
48020 if test "$wxUSE_IMAGLIST" = "yes"; then
48021 cat >>confdefs.h <<\_ACEOF
48022 #define wxUSE_LISTCTRL 1
48023 _ACEOF
48024
48025 USES_CONTROLS=1
48026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48027 else
48028 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48029 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48030 fi
48031 fi
48032
48033 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48034 cat >>confdefs.h <<\_ACEOF
48035 #define wxUSE_EDITABLELISTBOX 1
48036 _ACEOF
48037
48038 USES_CONTROLS=1
48039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48040 fi
48041
48042 if test "$wxUSE_NOTEBOOK" = "yes"; then
48043 cat >>confdefs.h <<\_ACEOF
48044 #define wxUSE_NOTEBOOK 1
48045 _ACEOF
48046
48047 USES_CONTROLS=1
48048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48049 fi
48050
48051 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48052 cat >>confdefs.h <<\_ACEOF
48053 #define wxUSE_ODCOMBOBOX 1
48054 _ACEOF
48055
48056 USES_CONTROLS=1
48057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48058 fi
48059
48060 if test "$wxUSE_RADIOBOX" = "yes"; then
48061 cat >>confdefs.h <<\_ACEOF
48062 #define wxUSE_RADIOBOX 1
48063 _ACEOF
48064
48065 USES_CONTROLS=1
48066 fi
48067
48068 if test "$wxUSE_RADIOBTN" = "yes"; then
48069 cat >>confdefs.h <<\_ACEOF
48070 #define wxUSE_RADIOBTN 1
48071 _ACEOF
48072
48073 USES_CONTROLS=1
48074 fi
48075
48076 if test "$wxUSE_SASH" = "yes"; then
48077 cat >>confdefs.h <<\_ACEOF
48078 #define wxUSE_SASH 1
48079 _ACEOF
48080
48081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48082 fi
48083
48084 if test "$wxUSE_SCROLLBAR" = "yes"; then
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_SCROLLBAR 1
48087 _ACEOF
48088
48089 USES_CONTROLS=1
48090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48091 fi
48092
48093 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48094 cat >>confdefs.h <<\_ACEOF
48095 #define wxUSE_SEARCHCTRL 1
48096 _ACEOF
48097
48098 USES_CONTROLS=1
48099 fi
48100
48101 if test "$wxUSE_SLIDER" = "yes"; then
48102 cat >>confdefs.h <<\_ACEOF
48103 #define wxUSE_SLIDER 1
48104 _ACEOF
48105
48106 USES_CONTROLS=1
48107 fi
48108
48109 if test "$wxUSE_SPINBTN" = "yes"; then
48110 cat >>confdefs.h <<\_ACEOF
48111 #define wxUSE_SPINBTN 1
48112 _ACEOF
48113
48114 USES_CONTROLS=1
48115 fi
48116
48117 if test "$wxUSE_SPINCTRL" = "yes"; then
48118 cat >>confdefs.h <<\_ACEOF
48119 #define wxUSE_SPINCTRL 1
48120 _ACEOF
48121
48122 USES_CONTROLS=1
48123 fi
48124
48125 if test "$wxUSE_SPLITTER" = "yes"; then
48126 cat >>confdefs.h <<\_ACEOF
48127 #define wxUSE_SPLITTER 1
48128 _ACEOF
48129
48130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48131 fi
48132
48133 if test "$wxUSE_STATBMP" = "yes"; then
48134 cat >>confdefs.h <<\_ACEOF
48135 #define wxUSE_STATBMP 1
48136 _ACEOF
48137
48138 USES_CONTROLS=1
48139 fi
48140
48141 if test "$wxUSE_STATBOX" = "yes"; then
48142 cat >>confdefs.h <<\_ACEOF
48143 #define wxUSE_STATBOX 1
48144 _ACEOF
48145
48146 USES_CONTROLS=1
48147 fi
48148
48149 if test "$wxUSE_STATTEXT" = "yes"; then
48150 cat >>confdefs.h <<\_ACEOF
48151 #define wxUSE_STATTEXT 1
48152 _ACEOF
48153
48154 USES_CONTROLS=1
48155 fi
48156
48157 if test "$wxUSE_STATLINE" = "yes"; then
48158 cat >>confdefs.h <<\_ACEOF
48159 #define wxUSE_STATLINE 1
48160 _ACEOF
48161
48162 USES_CONTROLS=1
48163 fi
48164
48165 if test "$wxUSE_STATUSBAR" = "yes"; then
48166 cat >>confdefs.h <<\_ACEOF
48167 #define wxUSE_NATIVE_STATUSBAR 1
48168 _ACEOF
48169
48170 cat >>confdefs.h <<\_ACEOF
48171 #define wxUSE_STATUSBAR 1
48172 _ACEOF
48173
48174 USES_CONTROLS=1
48175
48176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48177 fi
48178
48179 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48180 cat >>confdefs.h <<\_ACEOF
48181 #define wxUSE_TAB_DIALOG 1
48182 _ACEOF
48183
48184 fi
48185
48186 if test "$wxUSE_TEXTCTRL" = "yes"; then
48187 cat >>confdefs.h <<\_ACEOF
48188 #define wxUSE_TEXTCTRL 1
48189 _ACEOF
48190
48191 USES_CONTROLS=1
48192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48193 fi
48194
48195 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48196 if test "$wxUSE_COCOA" = 1 ; then
48197 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48198 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48199 wxUSE_TOGGLEBTN=no
48200 fi
48201
48202 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48203 cat >>confdefs.h <<\_ACEOF
48204 #define wxUSE_TOGGLEBTN 1
48205 _ACEOF
48206
48207 USES_CONTROLS=1
48208 fi
48209 fi
48210
48211 if test "$wxUSE_TOOLBAR" = "yes"; then
48212 cat >>confdefs.h <<\_ACEOF
48213 #define wxUSE_TOOLBAR 1
48214 _ACEOF
48215
48216 USES_CONTROLS=1
48217
48218 if test "$wxUSE_UNIVERSAL" = "yes"; then
48219 wxUSE_TOOLBAR_NATIVE="no"
48220 else
48221 wxUSE_TOOLBAR_NATIVE="yes"
48222 cat >>confdefs.h <<\_ACEOF
48223 #define wxUSE_TOOLBAR_NATIVE 1
48224 _ACEOF
48225
48226 fi
48227
48228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48229 fi
48230
48231 if test "$wxUSE_TOOLTIPS" = "yes"; then
48232 if test "$wxUSE_MOTIF" = 1; then
48233 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48234 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48235 else
48236 if test "$wxUSE_UNIVERSAL" = "yes"; then
48237 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48238 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48239 else
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_TOOLTIPS 1
48242 _ACEOF
48243
48244 fi
48245 fi
48246 fi
48247
48248 if test "$wxUSE_TREEBOOK" = "yes"; then
48249 cat >>confdefs.h <<\_ACEOF
48250 #define wxUSE_TREEBOOK 1
48251 _ACEOF
48252
48253 USES_CONTROLS=1
48254 fi
48255
48256 if test "$wxUSE_TOOLBOOK" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_TOOLBOOK 1
48259 _ACEOF
48260
48261 USES_CONTROLS=1
48262 fi
48263
48264 if test "$wxUSE_TREECTRL" = "yes"; then
48265 if test "$wxUSE_IMAGLIST" = "yes"; then
48266 cat >>confdefs.h <<\_ACEOF
48267 #define wxUSE_TREECTRL 1
48268 _ACEOF
48269
48270 USES_CONTROLS=1
48271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48272 else
48273 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48274 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48275 fi
48276 fi
48277
48278 if test "$wxUSE_POPUPWIN" = "yes"; then
48279 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48280 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48281 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48282 else
48283 if test "$wxUSE_PM" = 1; then
48284 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48285 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48286 else
48287 cat >>confdefs.h <<\_ACEOF
48288 #define wxUSE_POPUPWIN 1
48289 _ACEOF
48290
48291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48292
48293 USES_CONTROLS=1
48294 fi
48295 fi
48296 fi
48297
48298 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48299 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48300 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48301 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48302 else
48303 cat >>confdefs.h <<\_ACEOF
48304 #define wxUSE_DIALUP_MANAGER 1
48305 _ACEOF
48306
48307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48308 fi
48309 fi
48310
48311 if test "$wxUSE_TIPWINDOW" = "yes"; then
48312 if test "$wxUSE_PM" = 1; then
48313 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48314 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48315 else
48316 cat >>confdefs.h <<\_ACEOF
48317 #define wxUSE_TIPWINDOW 1
48318 _ACEOF
48319
48320 fi
48321 fi
48322
48323 if test "$USES_CONTROLS" = 1; then
48324 cat >>confdefs.h <<\_ACEOF
48325 #define wxUSE_CONTROLS 1
48326 _ACEOF
48327
48328 fi
48329
48330
48331 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48332 cat >>confdefs.h <<\_ACEOF
48333 #define wxUSE_ACCESSIBILITY 1
48334 _ACEOF
48335
48336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48337 fi
48338
48339 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48340 cat >>confdefs.h <<\_ACEOF
48341 #define wxUSE_DRAGIMAGE 1
48342 _ACEOF
48343
48344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48345 fi
48346
48347 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48348 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48349 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48350 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48351 else
48352 cat >>confdefs.h <<\_ACEOF
48353 #define wxUSE_EXCEPTIONS 1
48354 _ACEOF
48355
48356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48357 fi
48358 fi
48359
48360 USE_HTML=0
48361 if test "$wxUSE_HTML" = "yes"; then
48362 cat >>confdefs.h <<\_ACEOF
48363 #define wxUSE_HTML 1
48364 _ACEOF
48365
48366 USE_HTML=1
48367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48368 if test "$wxUSE_MAC" = 1; then
48369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48370 fi
48371 fi
48372 if test "$wxUSE_WEBKIT" = "yes"; then
48373 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48374 old_CPPFLAGS="$CPPFLAGS"
48375 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48376 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48377 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48378 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48379 echo $ECHO_N "(cached) $ECHO_C" >&6
48380 else
48381 cat >conftest.$ac_ext <<_ACEOF
48382 /* confdefs.h. */
48383 _ACEOF
48384 cat confdefs.h >>conftest.$ac_ext
48385 cat >>conftest.$ac_ext <<_ACEOF
48386 /* end confdefs.h. */
48387
48388 #include <Carbon/Carbon.h>
48389 #include <WebKit/WebKit.h>
48390
48391
48392 #include <WebKit/HIWebView.h>
48393 _ACEOF
48394 rm -f conftest.$ac_objext
48395 if { (ac_try="$ac_compile"
48396 case "(($ac_try" in
48397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48398 *) ac_try_echo=$ac_try;;
48399 esac
48400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48401 (eval "$ac_compile") 2>conftest.er1
48402 ac_status=$?
48403 grep -v '^ *+' conftest.er1 >conftest.err
48404 rm -f conftest.er1
48405 cat conftest.err >&5
48406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48407 (exit $ac_status); } && {
48408 test -z "$ac_c_werror_flag" ||
48409 test ! -s conftest.err
48410 } && test -s conftest.$ac_objext; then
48411 ac_cv_header_WebKit_HIWebView_h=yes
48412 else
48413 echo "$as_me: failed program was:" >&5
48414 sed 's/^/| /' conftest.$ac_ext >&5
48415
48416 ac_cv_header_WebKit_HIWebView_h=no
48417 fi
48418
48419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48420 fi
48421 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48422 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48423 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48424
48425 cat >>confdefs.h <<\_ACEOF
48426 #define wxUSE_WEBKIT 1
48427 _ACEOF
48428
48429 WEBKIT_LINK="-framework WebKit"
48430
48431 else
48432
48433 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48434 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48435 wxUSE_WEBKIT=no
48436
48437 fi
48438
48439
48440 CPPFLAGS="$old_CPPFLAGS"
48441 elif test "$wxUSE_COCOA" = 1; then
48442 cat >>confdefs.h <<\_ACEOF
48443 #define wxUSE_WEBKIT 1
48444 _ACEOF
48445
48446 else
48447 wxUSE_WEBKIT=no
48448 fi
48449 fi
48450
48451 USE_XRC=0
48452 if test "$wxUSE_XRC" = "yes"; then
48453 if test "$wxUSE_XML" != "yes"; then
48454 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48455 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48456 wxUSE_XRC=no
48457 else
48458 cat >>confdefs.h <<\_ACEOF
48459 #define wxUSE_XRC 1
48460 _ACEOF
48461
48462 USE_XRC=1
48463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48464 fi
48465 fi
48466
48467 USE_AUI=0
48468 if test "$wxUSE_AUI" = "yes"; then
48469 cat >>confdefs.h <<\_ACEOF
48470 #define wxUSE_AUI 1
48471 _ACEOF
48472
48473 USE_AUI=1
48474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48475 fi
48476
48477 USE_STC=0
48478 if test "$wxUSE_STC" = "yes"; then
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_STC 1
48481 _ACEOF
48482
48483 USE_STC=1
48484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48485 fi
48486
48487 if test "$wxUSE_MENUS" = "yes"; then
48488 cat >>confdefs.h <<\_ACEOF
48489 #define wxUSE_MENUS 1
48490 _ACEOF
48491
48492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48493 fi
48494
48495 if test "$wxUSE_METAFILE" = "yes"; then
48496 cat >>confdefs.h <<\_ACEOF
48497 #define wxUSE_METAFILE 1
48498 _ACEOF
48499
48500 fi
48501
48502 if test "$wxUSE_MIMETYPE" = "yes"; then
48503 cat >>confdefs.h <<\_ACEOF
48504 #define wxUSE_MIMETYPE 1
48505 _ACEOF
48506
48507 fi
48508
48509 if test "$wxUSE_MINIFRAME" = "yes"; then
48510 cat >>confdefs.h <<\_ACEOF
48511 #define wxUSE_MINIFRAME 1
48512 _ACEOF
48513
48514 fi
48515
48516 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48517 cat >>confdefs.h <<\_ACEOF
48518 #define wxUSE_SYSTEM_OPTIONS 1
48519 _ACEOF
48520
48521 fi
48522
48523 if test "$wxUSE_TASKBARICON" = "yes"; then
48524 cat >>confdefs.h <<\_ACEOF
48525 #define wxUSE_TASKBARICON 1
48526 _ACEOF
48527
48528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48529 fi
48530
48531
48532 if test "$wxUSE_VALIDATORS" = "yes"; then
48533 cat >>confdefs.h <<\_ACEOF
48534 #define wxUSE_VALIDATORS 1
48535 _ACEOF
48536
48537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48538 fi
48539
48540 if test "$wxUSE_PALETTE" = "yes" ; then
48541 if test "$wxUSE_DFB" = 1; then
48542 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48543 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48544 wxUSE_PALETTE=no
48545 else
48546 cat >>confdefs.h <<\_ACEOF
48547 #define wxUSE_PALETTE 1
48548 _ACEOF
48549
48550 fi
48551 fi
48552
48553 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48554 LIBS=" -lunicows $LIBS"
48555 fi
48556
48557 USE_RICHTEXT=0
48558 if test "$wxUSE_RICHTEXT" = "yes"; then
48559 cat >>confdefs.h <<\_ACEOF
48560 #define wxUSE_RICHTEXT 1
48561 _ACEOF
48562
48563 USE_RICHTEXT=1
48564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48565 fi
48566
48567
48568 if test "$wxUSE_IMAGE" = "yes" ; then
48569 cat >>confdefs.h <<\_ACEOF
48570 #define wxUSE_IMAGE 1
48571 _ACEOF
48572
48573
48574 if test "$wxUSE_GIF" = "yes" ; then
48575 cat >>confdefs.h <<\_ACEOF
48576 #define wxUSE_GIF 1
48577 _ACEOF
48578
48579 fi
48580
48581 if test "$wxUSE_PCX" = "yes" ; then
48582 cat >>confdefs.h <<\_ACEOF
48583 #define wxUSE_PCX 1
48584 _ACEOF
48585
48586 fi
48587
48588 if test "$wxUSE_TGA" = "yes" ; then
48589 cat >>confdefs.h <<\_ACEOF
48590 #define wxUSE_TGA 1
48591 _ACEOF
48592
48593 fi
48594
48595 if test "$wxUSE_IFF" = "yes" ; then
48596 cat >>confdefs.h <<\_ACEOF
48597 #define wxUSE_IFF 1
48598 _ACEOF
48599
48600 fi
48601
48602 if test "$wxUSE_PNM" = "yes" ; then
48603 cat >>confdefs.h <<\_ACEOF
48604 #define wxUSE_PNM 1
48605 _ACEOF
48606
48607 fi
48608
48609 if test "$wxUSE_XPM" = "yes" ; then
48610 cat >>confdefs.h <<\_ACEOF
48611 #define wxUSE_XPM 1
48612 _ACEOF
48613
48614 fi
48615
48616 if test "$wxUSE_ICO_CUR" = "yes" ; then
48617 cat >>confdefs.h <<\_ACEOF
48618 #define wxUSE_ICO_CUR 1
48619 _ACEOF
48620
48621 fi
48622 fi
48623
48624
48625 if test "$wxUSE_ABOUTDLG" = "yes"; then
48626 cat >>confdefs.h <<\_ACEOF
48627 #define wxUSE_ABOUTDLG 1
48628 _ACEOF
48629
48630 fi
48631
48632 if test "$wxUSE_CHOICEDLG" = "yes"; then
48633 cat >>confdefs.h <<\_ACEOF
48634 #define wxUSE_CHOICEDLG 1
48635 _ACEOF
48636
48637 fi
48638
48639 if test "$wxUSE_COLOURDLG" = "yes"; then
48640 cat >>confdefs.h <<\_ACEOF
48641 #define wxUSE_COLOURDLG 1
48642 _ACEOF
48643
48644 fi
48645
48646 if test "$wxUSE_FILEDLG" = "yes"; then
48647 cat >>confdefs.h <<\_ACEOF
48648 #define wxUSE_FILEDLG 1
48649 _ACEOF
48650
48651 fi
48652
48653 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48654 cat >>confdefs.h <<\_ACEOF
48655 #define wxUSE_FINDREPLDLG 1
48656 _ACEOF
48657
48658 fi
48659
48660 if test "$wxUSE_FONTDLG" = "yes"; then
48661 cat >>confdefs.h <<\_ACEOF
48662 #define wxUSE_FONTDLG 1
48663 _ACEOF
48664
48665 fi
48666
48667 if test "$wxUSE_DIRDLG" = "yes"; then
48668 if test "$wxUSE_TREECTRL" != "yes"; then
48669 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48670 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48671 else
48672 cat >>confdefs.h <<\_ACEOF
48673 #define wxUSE_DIRDLG 1
48674 _ACEOF
48675
48676 fi
48677 fi
48678
48679 if test "$wxUSE_MSGDLG" = "yes"; then
48680 cat >>confdefs.h <<\_ACEOF
48681 #define wxUSE_MSGDLG 1
48682 _ACEOF
48683
48684 fi
48685
48686 if test "$wxUSE_NUMBERDLG" = "yes"; then
48687 cat >>confdefs.h <<\_ACEOF
48688 #define wxUSE_NUMBERDLG 1
48689 _ACEOF
48690
48691 fi
48692
48693 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48694 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48695 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48696 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48697 else
48698 cat >>confdefs.h <<\_ACEOF
48699 #define wxUSE_PROGRESSDLG 1
48700 _ACEOF
48701
48702 fi
48703 fi
48704
48705 if test "$wxUSE_SPLASH" = "yes"; then
48706 cat >>confdefs.h <<\_ACEOF
48707 #define wxUSE_SPLASH 1
48708 _ACEOF
48709
48710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48711 fi
48712
48713 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48714 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48715 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48716 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48717 else
48718 cat >>confdefs.h <<\_ACEOF
48719 #define wxUSE_STARTUP_TIPS 1
48720 _ACEOF
48721
48722 fi
48723 fi
48724
48725 if test "$wxUSE_TEXTDLG" = "yes"; then
48726 cat >>confdefs.h <<\_ACEOF
48727 #define wxUSE_TEXTDLG 1
48728 _ACEOF
48729
48730 fi
48731
48732 if test "$wxUSE_WIZARDDLG" = "yes"; then
48733 cat >>confdefs.h <<\_ACEOF
48734 #define wxUSE_WIZARDDLG 1
48735 _ACEOF
48736
48737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48738 fi
48739
48740
48741 if test "$wxUSE_MSW" = 1 ; then
48742
48743 if test "$wxUSE_DC_CACHEING" = "yes"; then
48744 cat >>confdefs.h <<\_ACEOF
48745 #define wxUSE_DC_CACHEING 1
48746 _ACEOF
48747
48748 fi
48749
48750 if test "$wxUSE_DIB" = "yes"; then
48751 cat >>confdefs.h <<\_ACEOF
48752 #define wxUSE_WXDIB 1
48753 _ACEOF
48754
48755 fi
48756
48757 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48758 cat >>confdefs.h <<\_ACEOF
48759 #define wxUSE_OWNER_DRAWN 1
48760 _ACEOF
48761
48762 fi
48763
48764 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48765 cat >>confdefs.h <<\_ACEOF
48766 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48767 _ACEOF
48768
48769 fi
48770
48771 if test "$wxUSE_UXTHEME" = "yes"; then
48772 cat >>confdefs.h <<\_ACEOF
48773 #define wxUSE_UXTHEME 1
48774 _ACEOF
48775
48776 fi
48777
48778 fi
48779
48780
48781 if test "$USE_WIN32" = 1 ; then
48782 if test "$wxUSE_INICONF" = "yes"; then
48783 cat >>confdefs.h <<\_ACEOF
48784 #define wxUSE_INICONF 1
48785 _ACEOF
48786
48787 fi
48788
48789 if test "$wxUSE_REGKEY" = "yes"; then
48790 cat >>confdefs.h <<\_ACEOF
48791 #define wxUSE_REGKEY 1
48792 _ACEOF
48793
48794 fi
48795 fi
48796
48797
48798 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48799 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48800 cat >>confdefs.h <<\_ACEOF
48801 #define wxUSE_GRAPHICS_CONTEXT 1
48802 _ACEOF
48803
48804 elif test "$wxUSE_GTK" != 1; then
48805 cat >>confdefs.h <<\_ACEOF
48806 #define wxUSE_GRAPHICS_CONTEXT 1
48807 _ACEOF
48808
48809 else
48810
48811 pkg_failed=no
48812 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48813 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48814
48815 if test -n "$PKG_CONFIG"; then
48816 if test -n "$CAIRO_CFLAGS"; then
48817 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48818 else
48819 if test -n "$PKG_CONFIG" && \
48820 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48821 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48822 ac_status=$?
48823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48824 (exit $ac_status); }; then
48825 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48826 else
48827 pkg_failed=yes
48828 fi
48829 fi
48830 else
48831 pkg_failed=untried
48832 fi
48833 if test -n "$PKG_CONFIG"; then
48834 if test -n "$CAIRO_LIBS"; then
48835 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48836 else
48837 if test -n "$PKG_CONFIG" && \
48838 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48839 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48840 ac_status=$?
48841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48842 (exit $ac_status); }; then
48843 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48844 else
48845 pkg_failed=yes
48846 fi
48847 fi
48848 else
48849 pkg_failed=untried
48850 fi
48851
48852
48853
48854 if test $pkg_failed = yes; then
48855
48856 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48857 _pkg_short_errors_supported=yes
48858 else
48859 _pkg_short_errors_supported=no
48860 fi
48861 if test $_pkg_short_errors_supported = yes; then
48862 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48863 else
48864 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48865 fi
48866 # Put the nasty error message in config.log where it belongs
48867 echo "$CAIRO_PKG_ERRORS" >&5
48868
48869 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48870 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48871
48872 elif test $pkg_failed = untried; then
48873 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48874 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48875
48876 else
48877 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48878 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48879 { echo "$as_me:$LINENO: result: yes" >&5
48880 echo "${ECHO_T}yes" >&6; }
48881 cat >>confdefs.h <<\_ACEOF
48882 #define wxUSE_GRAPHICS_CONTEXT 1
48883 _ACEOF
48884
48885 fi
48886 fi
48887 fi
48888
48889
48890 USE_MEDIA=0
48891
48892 if test "$wxUSE_MEDIACTRL" = "yes"; then
48893 USE_MEDIA=1
48894
48895 if test "$wxUSE_GTK" = 1; then
48896 wxUSE_GSTREAMER="no"
48897
48898 GST_VERSION_MAJOR=0
48899 GST_VERSION_MINOR=10
48900 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48901
48902 if test "$wxUSE_GSTREAMER8" = "no"; then
48903
48904 pkg_failed=no
48905 { echo "$as_me:$LINENO: checking for GST" >&5
48906 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48907
48908 if test -n "$PKG_CONFIG"; then
48909 if test -n "$GST_CFLAGS"; then
48910 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48911 else
48912 if test -n "$PKG_CONFIG" && \
48913 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48914 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48915 ac_status=$?
48916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48917 (exit $ac_status); }; then
48918 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48919 else
48920 pkg_failed=yes
48921 fi
48922 fi
48923 else
48924 pkg_failed=untried
48925 fi
48926 if test -n "$PKG_CONFIG"; then
48927 if test -n "$GST_LIBS"; then
48928 pkg_cv_GST_LIBS="$GST_LIBS"
48929 else
48930 if test -n "$PKG_CONFIG" && \
48931 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48932 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48933 ac_status=$?
48934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48935 (exit $ac_status); }; then
48936 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48937 else
48938 pkg_failed=yes
48939 fi
48940 fi
48941 else
48942 pkg_failed=untried
48943 fi
48944
48945
48946
48947 if test $pkg_failed = yes; then
48948
48949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48950 _pkg_short_errors_supported=yes
48951 else
48952 _pkg_short_errors_supported=no
48953 fi
48954 if test $_pkg_short_errors_supported = yes; then
48955 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48956 else
48957 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48958 fi
48959 # Put the nasty error message in config.log where it belongs
48960 echo "$GST_PKG_ERRORS" >&5
48961
48962
48963 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48964 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48965 GST_VERSION_MINOR=8
48966
48967
48968 elif test $pkg_failed = untried; then
48969
48970 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48971 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48972 GST_VERSION_MINOR=8
48973
48974
48975 else
48976 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48977 GST_LIBS=$pkg_cv_GST_LIBS
48978 { echo "$as_me:$LINENO: result: yes" >&5
48979 echo "${ECHO_T}yes" >&6; }
48980
48981 wxUSE_GSTREAMER="yes"
48982 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48983
48984 fi
48985 else
48986 GST_VERSION_MINOR=8
48987 fi
48988
48989 if test $GST_VERSION_MINOR = "8"; then
48990 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48991
48992 pkg_failed=no
48993 { echo "$as_me:$LINENO: checking for GST" >&5
48994 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48995
48996 if test -n "$PKG_CONFIG"; then
48997 if test -n "$GST_CFLAGS"; then
48998 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48999 else
49000 if test -n "$PKG_CONFIG" && \
49001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49002 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49003 ac_status=$?
49004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49005 (exit $ac_status); }; then
49006 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49007 else
49008 pkg_failed=yes
49009 fi
49010 fi
49011 else
49012 pkg_failed=untried
49013 fi
49014 if test -n "$PKG_CONFIG"; then
49015 if test -n "$GST_LIBS"; then
49016 pkg_cv_GST_LIBS="$GST_LIBS"
49017 else
49018 if test -n "$PKG_CONFIG" && \
49019 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49020 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49021 ac_status=$?
49022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49023 (exit $ac_status); }; then
49024 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49025 else
49026 pkg_failed=yes
49027 fi
49028 fi
49029 else
49030 pkg_failed=untried
49031 fi
49032
49033
49034
49035 if test $pkg_failed = yes; then
49036
49037 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49038 _pkg_short_errors_supported=yes
49039 else
49040 _pkg_short_errors_supported=no
49041 fi
49042 if test $_pkg_short_errors_supported = yes; then
49043 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49044 else
49045 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49046 fi
49047 # Put the nasty error message in config.log where it belongs
49048 echo "$GST_PKG_ERRORS" >&5
49049
49050
49051 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49052 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49053
49054 elif test $pkg_failed = untried; then
49055
49056 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49057 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49058
49059 else
49060 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49061 GST_LIBS=$pkg_cv_GST_LIBS
49062 { echo "$as_me:$LINENO: result: yes" >&5
49063 echo "${ECHO_T}yes" >&6; }
49064 wxUSE_GSTREAMER="yes"
49065 fi
49066 fi
49067
49068
49069 if test "$wxUSE_GSTREAMER" = "yes"; then
49070 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49071 LIBS="$GST_LIBS $LIBS"
49072
49073 cat >>confdefs.h <<\_ACEOF
49074 #define wxUSE_GSTREAMER 1
49075 _ACEOF
49076
49077 else
49078 USE_MEDIA=0
49079 fi
49080 fi
49081
49082 if test $USE_MEDIA = 1; then
49083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49084 cat >>confdefs.h <<\_ACEOF
49085 #define wxUSE_MEDIACTRL 1
49086 _ACEOF
49087
49088 fi
49089 fi
49090
49091
49092 if test "$cross_compiling" = "yes"; then
49093 OSINFO="\"$host\""
49094 else
49095 OSINFO=`uname -s -r -m`
49096 OSINFO="\"$OSINFO\""
49097 fi
49098
49099 cat >>confdefs.h <<_ACEOF
49100 #define WXWIN_OS_DESCRIPTION $OSINFO
49101 _ACEOF
49102
49103
49104
49105 if test "x$prefix" != "xNONE"; then
49106 wxPREFIX=$prefix
49107 else
49108 wxPREFIX=$ac_default_prefix
49109 fi
49110
49111 cat >>confdefs.h <<_ACEOF
49112 #define wxINSTALL_PREFIX "$wxPREFIX"
49113 _ACEOF
49114
49115
49116
49117
49118 STD_BASE_LIBS="base"
49119 STD_GUI_LIBS=""
49120 BUILT_WX_LIBS="base"
49121 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49122
49123 if test "$wxUSE_SOCKETS" = "yes" ; then
49124 STD_BASE_LIBS="net $STD_BASE_LIBS"
49125 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49126 fi
49127 if test "$wxUSE_ODBC" != "no" ; then
49128 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49129 fi
49130 if test "$wxUSE_XML" = "yes" ; then
49131 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49132 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49133 fi
49134
49135 if test "$wxUSE_GUI" = "yes"; then
49136 STD_GUI_LIBS="adv core"
49137 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49138
49139 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49140 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49141 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49142 fi
49143 if test "$wxUSE_ODBC" != "no" ; then
49144 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49145 fi
49146 if test "$wxUSE_HTML" = "yes" ; then
49147 STD_GUI_LIBS="html $STD_GUI_LIBS"
49148 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49149 fi
49150 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49151 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49152 fi
49153 if test "$wxUSE_OPENGL" = "yes" ; then
49154 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49155 fi
49156 if test "$wxUSE_AUI" = "yes" ; then
49157 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49158 fi
49159 if test "$wxUSE_STC" = "yes" ; then
49160 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49161 fi
49162 if test "$wxUSE_XRC" = "yes" ; then
49163 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49164 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49165 fi
49166 fi
49167
49168
49169
49170
49171
49172
49173
49174
49175 if test "$wxUSE_MAC" = 1 ; then
49176 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49177 if test "$USE_DARWIN" = 1; then
49178 LDFLAGS="$LDFLAGS -framework QuickTime"
49179 else
49180 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49181 fi
49182 fi
49183 if test "$USE_DARWIN" = 1; then
49184 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49185 else
49186 LDFLAGS="$LDFLAGS -lCarbonLib"
49187 fi
49188 fi
49189 if test "$wxUSE_COCOA" = 1 ; then
49190 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49191 if test "$wxUSE_MEDIACTRL" = "yes"; then
49192 LDFLAGS="$LDFLAGS -framework QuickTime"
49193 fi
49194 fi
49195 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49196 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49197 fi
49198
49199 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49200
49201 if test "$wxUSE_GUI" = "yes"; then
49202
49203
49204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49205 erase event exec font image minimal mobile \
49206 mobile/wxedit mobile/styles render \
49207 shaped svg taborder vscroll widgets"
49208
49209 if test "$wxUSE_MONOLITHIC" != "yes"; then
49210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49211 fi
49212 if test "$TOOLKIT" = "MSW"; then
49213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49214 if test "$wxUSE_UNIVERSAL" != "yes"; then
49215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49216 fi
49217 fi
49218 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49220 fi
49221 else
49222 SAMPLES_SUBDIRS="console"
49223 fi
49224
49225
49226 if test "x$INTELCC" = "xyes" ; then
49227 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49228 elif test "$GCC" = yes ; then
49229 CWARNINGS="-Wall -Wundef"
49230 fi
49231
49232 if test "x$INTELCXX" = "xyes" ; then
49233 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49234 elif test "$GXX" = yes ; then
49235 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49236 fi
49237
49238
49239 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49240 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49241
49242
49243 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49244 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49245 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49246 $CPPFLAGS `
49247
49248 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49249 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49250 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49251
49252 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49253
49254
49255 if test "x$MWCC" = "xyes"; then
49256
49257 CC="$CC -cwd source -I-"
49258 CXX="$CXX -cwd source -I-"
49259 fi
49260
49261
49262 LIBS=`echo $LIBS`
49263 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49264 EXTRALIBS_XML="$EXPAT_LINK"
49265 EXTRALIBS_HTML="$MSPACK_LINK"
49266 EXTRALIBS_ODBC="$ODBC_LINK"
49267 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49268 if test "$wxUSE_GUI" = "yes"; then
49269 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49270 fi
49271 if test "$wxUSE_OPENGL" = "yes"; then
49272 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49273 fi
49274
49275 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49276
49277 WXCONFIG_LIBS="$LIBS"
49278
49279 if test "$wxUSE_REGEX" = "builtin" ; then
49280 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49281 fi
49282 if test "$wxUSE_EXPAT" = "builtin" ; then
49283 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49284 fi
49285 if test "$wxUSE_ODBC" = "builtin" ; then
49286 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49287 fi
49288 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49289 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49290 fi
49291 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49292 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49293 fi
49294 if test "$wxUSE_LIBPNG" = "builtin" ; then
49295 wxconfig_3rdparty="png $wxconfig_3rdparty"
49296 fi
49297 if test "$wxUSE_ZLIB" = "builtin" ; then
49298 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49299 fi
49300
49301 for i in $wxconfig_3rdparty ; do
49302 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49303 done
49304
49305
49306 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49307 WXUNIV=1
49308
49309 case "$wxUNIV_THEMES" in
49310 ''|all)
49311 cat >>confdefs.h <<\_ACEOF
49312 #define wxUSE_ALL_THEMES 1
49313 _ACEOF
49314
49315 ;;
49316
49317 *)
49318 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49319 cat >>confdefs.h <<_ACEOF
49320 #define wxUSE_THEME_$t 1
49321 _ACEOF
49322
49323 done
49324 esac
49325 else
49326 WXUNIV=0
49327 fi
49328
49329
49330
49331
49332
49333
49334
49335
49336
49337 if test $wxUSE_MONOLITHIC = "yes" ; then
49338 MONOLITHIC=1
49339 else
49340 MONOLITHIC=0
49341 fi
49342
49343 if test $wxUSE_PLUGINS = "yes" ; then
49344 USE_PLUGINS=1
49345 else
49346 USE_PLUGINS=0
49347 fi
49348
49349 if test $wxUSE_ODBC != "no" ; then
49350 USE_ODBC=1
49351 else
49352 USE_ODBC=0
49353 fi
49354
49355 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49356 USE_QA=1
49357 else
49358 USE_QA=0
49359 fi
49360
49361 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49362 OFFICIAL_BUILD=1
49363 else
49364 OFFICIAL_BUILD=0
49365 fi
49366
49367
49368
49369
49370
49371
49372
49373
49374
49375
49376
49377
49378
49379
49380
49381
49382
49383
49384
49385
49386
49387
49388
49389
49390
49391
49392
49393 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49394
49395
49396
49397
49398
49399
49400
49401
49402 case "$TOOLKIT" in
49403 GTK)
49404 TOOLKIT_DESC="GTK+"
49405 if test "$WXGTK20" = 1; then
49406 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49407 if test "$wxUSE_GTKPRINT" = "yes" ; then
49408 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49409 fi
49410 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49411 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49412 fi
49413 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49414 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49415 fi
49416 if test "$wxUSE_LIBHILDON" = "yes"; then
49417 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49418 fi
49419
49420 if test "$TOOLKIT_EXTRA" != ""; then
49421 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49422 fi
49423 fi
49424 ;;
49425
49426 ?*)
49427 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49428 ;;
49429
49430 *)
49431 TOOLKIT_DESC="base only"
49432 ;;
49433 esac
49434
49435 if test "$wxUSE_WINE" = "yes"; then
49436 BAKEFILE_FORCE_PLATFORM=win32
49437 fi
49438
49439 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49440 then
49441 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49442 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49443 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49444 echo $ECHO_N "(cached) $ECHO_C" >&6
49445 else
49446
49447 echo '#include <stdio.h>
49448 const wchar_t test_var[] = L"awidetest";' > conftest.h
49449
49450 echo '#include "conftest.h"
49451 int main()
49452 {
49453 printf("%ls", test_var);
49454 return 0;
49455 }' > conftest.cpp
49456
49457 wx_cv_gcc_pch_bug="pch not supported"
49458
49459 if $CXX conftest.h >/dev/null 2>&1
49460 then
49461 wx_cv_gcc_pch_bug=
49462
49463 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49464 then
49465 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49466 grep awidetest >/dev/null
49467 then
49468 wx_cv_gcc_pch_bug=no
49469 else
49470 wx_cv_gcc_pch_bug=yes
49471 fi
49472 fi
49473 fi
49474
49475 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49476
49477 fi
49478 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49479 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49480
49481 if test "$wx_cv_gcc_pch_bug" = yes; then
49482 bk_use_pch=no
49483 fi
49484 fi
49485
49486
49487
49488
49489 if test "x$BAKEFILE_HOST" = "x"; then
49490 if test "x${host}" = "x" ; then
49491 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49492 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49493 { (exit 1); exit 1; }; }
49494 fi
49495
49496 BAKEFILE_HOST="${host}"
49497 fi
49498
49499 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49500
49501 if test -n "$ac_tool_prefix"; then
49502 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49503 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49506 if test "${ac_cv_prog_RANLIB+set}" = set; then
49507 echo $ECHO_N "(cached) $ECHO_C" >&6
49508 else
49509 if test -n "$RANLIB"; then
49510 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49511 else
49512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49513 for as_dir in $PATH
49514 do
49515 IFS=$as_save_IFS
49516 test -z "$as_dir" && as_dir=.
49517 for ac_exec_ext in '' $ac_executable_extensions; do
49518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49519 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49521 break 2
49522 fi
49523 done
49524 done
49525 IFS=$as_save_IFS
49526
49527 fi
49528 fi
49529 RANLIB=$ac_cv_prog_RANLIB
49530 if test -n "$RANLIB"; then
49531 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49532 echo "${ECHO_T}$RANLIB" >&6; }
49533 else
49534 { echo "$as_me:$LINENO: result: no" >&5
49535 echo "${ECHO_T}no" >&6; }
49536 fi
49537
49538
49539 fi
49540 if test -z "$ac_cv_prog_RANLIB"; then
49541 ac_ct_RANLIB=$RANLIB
49542 # Extract the first word of "ranlib", so it can be a program name with args.
49543 set dummy ranlib; ac_word=$2
49544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49546 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49547 echo $ECHO_N "(cached) $ECHO_C" >&6
49548 else
49549 if test -n "$ac_ct_RANLIB"; then
49550 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49551 else
49552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49553 for as_dir in $PATH
49554 do
49555 IFS=$as_save_IFS
49556 test -z "$as_dir" && as_dir=.
49557 for ac_exec_ext in '' $ac_executable_extensions; do
49558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49559 ac_cv_prog_ac_ct_RANLIB="ranlib"
49560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49561 break 2
49562 fi
49563 done
49564 done
49565 IFS=$as_save_IFS
49566
49567 fi
49568 fi
49569 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49570 if test -n "$ac_ct_RANLIB"; then
49571 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49572 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49573 else
49574 { echo "$as_me:$LINENO: result: no" >&5
49575 echo "${ECHO_T}no" >&6; }
49576 fi
49577
49578 if test "x$ac_ct_RANLIB" = x; then
49579 RANLIB=":"
49580 else
49581 case $cross_compiling:$ac_tool_warned in
49582 yes:)
49583 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49584 whose name does not start with the host triplet. If you think this
49585 configuration is useful to you, please write to autoconf@gnu.org." >&5
49586 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49587 whose name does not start with the host triplet. If you think this
49588 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49589 ac_tool_warned=yes ;;
49590 esac
49591 RANLIB=$ac_ct_RANLIB
49592 fi
49593 else
49594 RANLIB="$ac_cv_prog_RANLIB"
49595 fi
49596
49597 # Find a good install program. We prefer a C program (faster),
49598 # so one script is as good as another. But avoid the broken or
49599 # incompatible versions:
49600 # SysV /etc/install, /usr/sbin/install
49601 # SunOS /usr/etc/install
49602 # IRIX /sbin/install
49603 # AIX /bin/install
49604 # AmigaOS /C/install, which installs bootblocks on floppy discs
49605 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49606 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49607 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49608 # OS/2's system install, which has a completely different semantic
49609 # ./install, which can be erroneously created by make from ./install.sh.
49610 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49611 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49612 if test -z "$INSTALL"; then
49613 if test "${ac_cv_path_install+set}" = set; then
49614 echo $ECHO_N "(cached) $ECHO_C" >&6
49615 else
49616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49617 for as_dir in $PATH
49618 do
49619 IFS=$as_save_IFS
49620 test -z "$as_dir" && as_dir=.
49621 # Account for people who put trailing slashes in PATH elements.
49622 case $as_dir/ in
49623 ./ | .// | /cC/* | \
49624 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49625 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49626 /usr/ucb/* ) ;;
49627 *)
49628 # OSF1 and SCO ODT 3.0 have their own names for install.
49629 # Don't use installbsd from OSF since it installs stuff as root
49630 # by default.
49631 for ac_prog in ginstall scoinst install; do
49632 for ac_exec_ext in '' $ac_executable_extensions; do
49633 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49634 if test $ac_prog = install &&
49635 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49636 # AIX install. It has an incompatible calling convention.
49637 :
49638 elif test $ac_prog = install &&
49639 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49640 # program-specific install script used by HP pwplus--don't use.
49641 :
49642 else
49643 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49644 break 3
49645 fi
49646 fi
49647 done
49648 done
49649 ;;
49650 esac
49651 done
49652 IFS=$as_save_IFS
49653
49654
49655 fi
49656 if test "${ac_cv_path_install+set}" = set; then
49657 INSTALL=$ac_cv_path_install
49658 else
49659 # As a last resort, use the slow shell script. Don't cache a
49660 # value for INSTALL within a source directory, because that will
49661 # break other packages using the cache if that directory is
49662 # removed, or if the value is a relative name.
49663 INSTALL=$ac_install_sh
49664 fi
49665 fi
49666 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49667 echo "${ECHO_T}$INSTALL" >&6; }
49668
49669 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49670 # It thinks the first close brace ends the variable substitution.
49671 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49672
49673 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49674
49675 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49676
49677 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49678 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49679 LN_S=$as_ln_s
49680 if test "$LN_S" = "ln -s"; then
49681 { echo "$as_me:$LINENO: result: yes" >&5
49682 echo "${ECHO_T}yes" >&6; }
49683 else
49684 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49685 echo "${ECHO_T}no, using $LN_S" >&6; }
49686 fi
49687
49688
49689 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49690 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49691 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49692 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49693 echo $ECHO_N "(cached) $ECHO_C" >&6
49694 else
49695 cat >conftest.make <<\_ACEOF
49696 SHELL = /bin/sh
49697 all:
49698 @echo '@@@%%%=$(MAKE)=@@@%%%'
49699 _ACEOF
49700 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49701 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49702 *@@@%%%=?*=@@@%%%*)
49703 eval ac_cv_prog_make_${ac_make}_set=yes;;
49704 *)
49705 eval ac_cv_prog_make_${ac_make}_set=no;;
49706 esac
49707 rm -f conftest.make
49708 fi
49709 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49710 { echo "$as_me:$LINENO: result: yes" >&5
49711 echo "${ECHO_T}yes" >&6; }
49712 SET_MAKE=
49713 else
49714 { echo "$as_me:$LINENO: result: no" >&5
49715 echo "${ECHO_T}no" >&6; }
49716 SET_MAKE="MAKE=${MAKE-make}"
49717 fi
49718
49719
49720
49721 if test "x$SUNCXX" = "xyes"; then
49722 AR=$CXX
49723 AROPTIONS="-xar -o"
49724
49725 elif test "x$SGICC" = "xyes"; then
49726 AR=$CXX
49727 AROPTIONS="-ar -o"
49728
49729 else
49730 if test -n "$ac_tool_prefix"; then
49731 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49732 set dummy ${ac_tool_prefix}ar; ac_word=$2
49733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49735 if test "${ac_cv_prog_AR+set}" = set; then
49736 echo $ECHO_N "(cached) $ECHO_C" >&6
49737 else
49738 if test -n "$AR"; then
49739 ac_cv_prog_AR="$AR" # Let the user override the test.
49740 else
49741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49742 for as_dir in $PATH
49743 do
49744 IFS=$as_save_IFS
49745 test -z "$as_dir" && as_dir=.
49746 for ac_exec_ext in '' $ac_executable_extensions; do
49747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49748 ac_cv_prog_AR="${ac_tool_prefix}ar"
49749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49750 break 2
49751 fi
49752 done
49753 done
49754 IFS=$as_save_IFS
49755
49756 fi
49757 fi
49758 AR=$ac_cv_prog_AR
49759 if test -n "$AR"; then
49760 { echo "$as_me:$LINENO: result: $AR" >&5
49761 echo "${ECHO_T}$AR" >&6; }
49762 else
49763 { echo "$as_me:$LINENO: result: no" >&5
49764 echo "${ECHO_T}no" >&6; }
49765 fi
49766
49767
49768 fi
49769 if test -z "$ac_cv_prog_AR"; then
49770 ac_ct_AR=$AR
49771 # Extract the first word of "ar", so it can be a program name with args.
49772 set dummy ar; ac_word=$2
49773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49775 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49776 echo $ECHO_N "(cached) $ECHO_C" >&6
49777 else
49778 if test -n "$ac_ct_AR"; then
49779 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49780 else
49781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49782 for as_dir in $PATH
49783 do
49784 IFS=$as_save_IFS
49785 test -z "$as_dir" && as_dir=.
49786 for ac_exec_ext in '' $ac_executable_extensions; do
49787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49788 ac_cv_prog_ac_ct_AR="ar"
49789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49790 break 2
49791 fi
49792 done
49793 done
49794 IFS=$as_save_IFS
49795
49796 fi
49797 fi
49798 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49799 if test -n "$ac_ct_AR"; then
49800 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49801 echo "${ECHO_T}$ac_ct_AR" >&6; }
49802 else
49803 { echo "$as_me:$LINENO: result: no" >&5
49804 echo "${ECHO_T}no" >&6; }
49805 fi
49806
49807 if test "x$ac_ct_AR" = x; then
49808 AR="ar"
49809 else
49810 case $cross_compiling:$ac_tool_warned in
49811 yes:)
49812 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49813 whose name does not start with the host triplet. If you think this
49814 configuration is useful to you, please write to autoconf@gnu.org." >&5
49815 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49816 whose name does not start with the host triplet. If you think this
49817 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49818 ac_tool_warned=yes ;;
49819 esac
49820 AR=$ac_ct_AR
49821 fi
49822 else
49823 AR="$ac_cv_prog_AR"
49824 fi
49825
49826 AROPTIONS=rcu
49827 fi
49828
49829
49830 if test -n "$ac_tool_prefix"; then
49831 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49832 set dummy ${ac_tool_prefix}strip; ac_word=$2
49833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49835 if test "${ac_cv_prog_STRIP+set}" = set; then
49836 echo $ECHO_N "(cached) $ECHO_C" >&6
49837 else
49838 if test -n "$STRIP"; then
49839 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49840 else
49841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49842 for as_dir in $PATH
49843 do
49844 IFS=$as_save_IFS
49845 test -z "$as_dir" && as_dir=.
49846 for ac_exec_ext in '' $ac_executable_extensions; do
49847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49848 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49850 break 2
49851 fi
49852 done
49853 done
49854 IFS=$as_save_IFS
49855
49856 fi
49857 fi
49858 STRIP=$ac_cv_prog_STRIP
49859 if test -n "$STRIP"; then
49860 { echo "$as_me:$LINENO: result: $STRIP" >&5
49861 echo "${ECHO_T}$STRIP" >&6; }
49862 else
49863 { echo "$as_me:$LINENO: result: no" >&5
49864 echo "${ECHO_T}no" >&6; }
49865 fi
49866
49867
49868 fi
49869 if test -z "$ac_cv_prog_STRIP"; then
49870 ac_ct_STRIP=$STRIP
49871 # Extract the first word of "strip", so it can be a program name with args.
49872 set dummy strip; ac_word=$2
49873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49875 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49876 echo $ECHO_N "(cached) $ECHO_C" >&6
49877 else
49878 if test -n "$ac_ct_STRIP"; then
49879 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49880 else
49881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49882 for as_dir in $PATH
49883 do
49884 IFS=$as_save_IFS
49885 test -z "$as_dir" && as_dir=.
49886 for ac_exec_ext in '' $ac_executable_extensions; do
49887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49888 ac_cv_prog_ac_ct_STRIP="strip"
49889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49890 break 2
49891 fi
49892 done
49893 done
49894 IFS=$as_save_IFS
49895
49896 fi
49897 fi
49898 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49899 if test -n "$ac_ct_STRIP"; then
49900 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49901 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49902 else
49903 { echo "$as_me:$LINENO: result: no" >&5
49904 echo "${ECHO_T}no" >&6; }
49905 fi
49906
49907 if test "x$ac_ct_STRIP" = x; then
49908 STRIP=":"
49909 else
49910 case $cross_compiling:$ac_tool_warned in
49911 yes:)
49912 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49913 whose name does not start with the host triplet. If you think this
49914 configuration is useful to you, please write to autoconf@gnu.org." >&5
49915 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49916 whose name does not start with the host triplet. If you think this
49917 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49918 ac_tool_warned=yes ;;
49919 esac
49920 STRIP=$ac_ct_STRIP
49921 fi
49922 else
49923 STRIP="$ac_cv_prog_STRIP"
49924 fi
49925
49926 if test -n "$ac_tool_prefix"; then
49927 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49928 set dummy ${ac_tool_prefix}nm; ac_word=$2
49929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49931 if test "${ac_cv_prog_NM+set}" = set; then
49932 echo $ECHO_N "(cached) $ECHO_C" >&6
49933 else
49934 if test -n "$NM"; then
49935 ac_cv_prog_NM="$NM" # Let the user override the test.
49936 else
49937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49938 for as_dir in $PATH
49939 do
49940 IFS=$as_save_IFS
49941 test -z "$as_dir" && as_dir=.
49942 for ac_exec_ext in '' $ac_executable_extensions; do
49943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49944 ac_cv_prog_NM="${ac_tool_prefix}nm"
49945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49946 break 2
49947 fi
49948 done
49949 done
49950 IFS=$as_save_IFS
49951
49952 fi
49953 fi
49954 NM=$ac_cv_prog_NM
49955 if test -n "$NM"; then
49956 { echo "$as_me:$LINENO: result: $NM" >&5
49957 echo "${ECHO_T}$NM" >&6; }
49958 else
49959 { echo "$as_me:$LINENO: result: no" >&5
49960 echo "${ECHO_T}no" >&6; }
49961 fi
49962
49963
49964 fi
49965 if test -z "$ac_cv_prog_NM"; then
49966 ac_ct_NM=$NM
49967 # Extract the first word of "nm", so it can be a program name with args.
49968 set dummy nm; ac_word=$2
49969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49971 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49972 echo $ECHO_N "(cached) $ECHO_C" >&6
49973 else
49974 if test -n "$ac_ct_NM"; then
49975 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49976 else
49977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49978 for as_dir in $PATH
49979 do
49980 IFS=$as_save_IFS
49981 test -z "$as_dir" && as_dir=.
49982 for ac_exec_ext in '' $ac_executable_extensions; do
49983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49984 ac_cv_prog_ac_ct_NM="nm"
49985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49986 break 2
49987 fi
49988 done
49989 done
49990 IFS=$as_save_IFS
49991
49992 fi
49993 fi
49994 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49995 if test -n "$ac_ct_NM"; then
49996 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49997 echo "${ECHO_T}$ac_ct_NM" >&6; }
49998 else
49999 { echo "$as_me:$LINENO: result: no" >&5
50000 echo "${ECHO_T}no" >&6; }
50001 fi
50002
50003 if test "x$ac_ct_NM" = x; then
50004 NM=":"
50005 else
50006 case $cross_compiling:$ac_tool_warned in
50007 yes:)
50008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50009 whose name does not start with the host triplet. If you think this
50010 configuration is useful to you, please write to autoconf@gnu.org." >&5
50011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50012 whose name does not start with the host triplet. If you think this
50013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50014 ac_tool_warned=yes ;;
50015 esac
50016 NM=$ac_ct_NM
50017 fi
50018 else
50019 NM="$ac_cv_prog_NM"
50020 fi
50021
50022
50023 case ${BAKEFILE_HOST} in
50024 *-hp-hpux* )
50025 INSTALL_DIR="mkdir -p"
50026 ;;
50027 * )
50028 INSTALL_DIR='$(INSTALL) -d'
50029 ;;
50030 esac
50031
50032
50033 LDFLAGS_GUI=
50034 case ${BAKEFILE_HOST} in
50035 *-*-cygwin* | *-*-mingw32* )
50036 LDFLAGS_GUI="-mwindows"
50037 esac
50038
50039
50040 fi
50041
50042 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50043 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50044 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50045 echo $ECHO_N "(cached) $ECHO_C" >&6
50046 else
50047
50048 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50049 egrep -s GNU > /dev/null); then
50050 bakefile_cv_prog_makeisgnu="yes"
50051 else
50052 bakefile_cv_prog_makeisgnu="no"
50053 fi
50054
50055 fi
50056 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50057 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50058
50059 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50060 IF_GNU_MAKE=""
50061 else
50062 IF_GNU_MAKE="#"
50063 fi
50064
50065
50066
50067 PLATFORM_UNIX=0
50068 PLATFORM_WIN32=0
50069 PLATFORM_MSDOS=0
50070 PLATFORM_MAC=0
50071 PLATFORM_MACOS=0
50072 PLATFORM_MACOSX=0
50073 PLATFORM_OS2=0
50074 PLATFORM_BEOS=0
50075
50076 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50077 case "${BAKEFILE_HOST}" in
50078 *-*-mingw32* )
50079 PLATFORM_WIN32=1
50080 ;;
50081 *-pc-msdosdjgpp )
50082 PLATFORM_MSDOS=1
50083 ;;
50084 *-pc-os2_emx | *-pc-os2-emx )
50085 PLATFORM_OS2=1
50086 ;;
50087 *-*-darwin* )
50088 PLATFORM_MAC=1
50089 PLATFORM_MACOSX=1
50090 ;;
50091 *-*-beos* )
50092 PLATFORM_BEOS=1
50093 ;;
50094 powerpc-apple-macos* )
50095 PLATFORM_MAC=1
50096 PLATFORM_MACOS=1
50097 ;;
50098 * )
50099 PLATFORM_UNIX=1
50100 ;;
50101 esac
50102 else
50103 case "$BAKEFILE_FORCE_PLATFORM" in
50104 win32 )
50105 PLATFORM_WIN32=1
50106 ;;
50107 msdos )
50108 PLATFORM_MSDOS=1
50109 ;;
50110 os2 )
50111 PLATFORM_OS2=1
50112 ;;
50113 darwin )
50114 PLATFORM_MAC=1
50115 PLATFORM_MACOSX=1
50116 ;;
50117 unix )
50118 PLATFORM_UNIX=1
50119 ;;
50120 beos )
50121 PLATFORM_BEOS=1
50122 ;;
50123 * )
50124 ;;
50125 esac
50126 fi
50127
50128
50129
50130
50131
50132
50133
50134
50135
50136
50137
50138 # Check whether --enable-omf was given.
50139 if test "${enable_omf+set}" = set; then
50140 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50141 fi
50142
50143
50144 case "${BAKEFILE_HOST}" in
50145 *-*-darwin* )
50146 if test "x$GCC" = "xyes"; then
50147 CFLAGS="$CFLAGS -fno-common"
50148 CXXFLAGS="$CXXFLAGS -fno-common"
50149 fi
50150 if test "x$XLCC" = "xyes"; then
50151 CFLAGS="$CFLAGS -qnocommon"
50152 CXXFLAGS="$CXXFLAGS -qnocommon"
50153 fi
50154 ;;
50155
50156 *-pc-os2_emx | *-pc-os2-emx )
50157 if test "x$bk_os2_use_omf" = "xyes" ; then
50158 AR=emxomfar
50159 RANLIB=:
50160 LDFLAGS="-Zomf $LDFLAGS"
50161 CFLAGS="-Zomf $CFLAGS"
50162 CXXFLAGS="-Zomf $CXXFLAGS"
50163 OS2_LIBEXT="lib"
50164 else
50165 OS2_LIBEXT="a"
50166 fi
50167 ;;
50168
50169 i*86-*-beos* )
50170 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50171 ;;
50172 esac
50173
50174
50175 SO_SUFFIX="so"
50176 SO_SUFFIX_MODULE="so"
50177 EXEEXT=""
50178 LIBPREFIX="lib"
50179 LIBEXT=".a"
50180 DLLPREFIX="lib"
50181 DLLPREFIX_MODULE=""
50182 DLLIMP_SUFFIX=""
50183 dlldir="$libdir"
50184
50185 case "${BAKEFILE_HOST}" in
50186 *-hp-hpux* )
50187 SO_SUFFIX="sl"
50188 SO_SUFFIX_MODULE="sl"
50189 ;;
50190 *-*-aix* )
50191 SO_SUFFIX="a"
50192 SO_SUFFIX_MODULE="a"
50193 ;;
50194 *-*-cygwin* )
50195 SO_SUFFIX="dll"
50196 SO_SUFFIX_MODULE="dll"
50197 DLLIMP_SUFFIX="dll.a"
50198 EXEEXT=".exe"
50199 DLLPREFIX="cyg"
50200 dlldir="$bindir"
50201 ;;
50202 *-*-mingw32* )
50203 SO_SUFFIX="dll"
50204 SO_SUFFIX_MODULE="dll"
50205 DLLIMP_SUFFIX="dll.a"
50206 EXEEXT=".exe"
50207 DLLPREFIX=""
50208 dlldir="$bindir"
50209 ;;
50210 *-pc-msdosdjgpp )
50211 EXEEXT=".exe"
50212 DLLPREFIX=""
50213 dlldir="$bindir"
50214 ;;
50215 *-pc-os2_emx | *-pc-os2-emx )
50216 SO_SUFFIX="dll"
50217 SO_SUFFIX_MODULE="dll"
50218 DLLIMP_SUFFIX=$OS2_LIBEXT
50219 EXEEXT=".exe"
50220 DLLPREFIX=""
50221 LIBPREFIX=""
50222 LIBEXT=".$OS2_LIBEXT"
50223 dlldir="$bindir"
50224 ;;
50225 *-*-darwin* )
50226 SO_SUFFIX="dylib"
50227 SO_SUFFIX_MODULE="bundle"
50228 ;;
50229 esac
50230
50231 if test "x$DLLIMP_SUFFIX" = "x" ; then
50232 DLLIMP_SUFFIX="$SO_SUFFIX"
50233 fi
50234
50235
50236
50237
50238
50239
50240
50241
50242
50243
50244
50245
50246 PIC_FLAG=""
50247 if test "x$GCC" = "xyes"; then
50248 PIC_FLAG="-fPIC"
50249 fi
50250
50251 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50252 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50253 WINDOWS_IMPLIB=0
50254
50255 case "${BAKEFILE_HOST}" in
50256 *-hp-hpux* )
50257 if test "x$GCC" != "xyes"; then
50258 LDFLAGS="$LDFLAGS -L/usr/lib"
50259
50260 SHARED_LD_CC="${CC} -b -o"
50261 SHARED_LD_CXX="${CXX} -b -o"
50262 PIC_FLAG="+Z"
50263 fi
50264 ;;
50265
50266 *-*-linux* )
50267 if test "$INTELCC" = "yes"; then
50268 PIC_FLAG="-KPIC"
50269 elif test "x$SUNCXX" = "xyes"; then
50270 SHARED_LD_CC="${CC} -G -o"
50271 SHARED_LD_CXX="${CXX} -G -o"
50272 PIC_FLAG="-KPIC"
50273 fi
50274 ;;
50275
50276 *-*-solaris2* )
50277 if test "x$SUNCXX" = xyes ; then
50278 SHARED_LD_CC="${CC} -G -o"
50279 SHARED_LD_CXX="${CXX} -G -o"
50280 PIC_FLAG="-KPIC"
50281 fi
50282 ;;
50283
50284 *-*-darwin* )
50285
50286 D='$'
50287 cat <<EOF >shared-ld-sh
50288 #!/bin/sh
50289 #-----------------------------------------------------------------------------
50290 #-- Name: distrib/mac/shared-ld-sh
50291 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50292 #-- Author: Gilles Depeyrot
50293 #-- Copyright: (c) 2002 Gilles Depeyrot
50294 #-- Licence: any use permitted
50295 #-----------------------------------------------------------------------------
50296
50297 verbose=0
50298 args=""
50299 objects=""
50300 linking_flag="-dynamiclib"
50301 ldargs="-r -keep_private_externs -nostdlib"
50302
50303 while test ${D}# -gt 0; do
50304 case ${D}1 in
50305
50306 -v)
50307 verbose=1
50308 ;;
50309
50310 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50311 # collect these options and values
50312 args="${D}{args} ${D}1 ${D}2"
50313 shift
50314 ;;
50315
50316 -s|-Wl,*)
50317 # collect these load args
50318 ldargs="${D}{ldargs} ${D}1"
50319 ;;
50320
50321 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50322 # collect these options
50323 args="${D}{args} ${D}1"
50324 ;;
50325
50326 -dynamiclib|-bundle)
50327 linking_flag="${D}1"
50328 ;;
50329
50330 -*)
50331 echo "shared-ld: unhandled option '${D}1'"
50332 exit 1
50333 ;;
50334
50335 *.o | *.a | *.dylib)
50336 # collect object files
50337 objects="${D}{objects} ${D}1"
50338 ;;
50339
50340 *)
50341 echo "shared-ld: unhandled argument '${D}1'"
50342 exit 1
50343 ;;
50344
50345 esac
50346 shift
50347 done
50348
50349 status=0
50350
50351 #
50352 # Link one module containing all the others
50353 #
50354 if test ${D}{verbose} = 1; then
50355 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50356 fi
50357 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50358 status=${D}?
50359
50360 #
50361 # Link the shared library from the single module created, but only if the
50362 # previous command didn't fail:
50363 #
50364 if test ${D}{status} = 0; then
50365 if test ${D}{verbose} = 1; then
50366 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50367 fi
50368 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50369 status=${D}?
50370 fi
50371
50372 #
50373 # Remove intermediate module
50374 #
50375 rm -f master.${D}${D}.o
50376
50377 exit ${D}status
50378 EOF
50379
50380 chmod +x shared-ld-sh
50381
50382 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50383 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50384
50385
50386 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50387 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50388 if test "${bakefile_cv_gcc31+set}" = set; then
50389 echo $ECHO_N "(cached) $ECHO_C" >&6
50390 else
50391
50392 cat >conftest.$ac_ext <<_ACEOF
50393 /* confdefs.h. */
50394 _ACEOF
50395 cat confdefs.h >>conftest.$ac_ext
50396 cat >>conftest.$ac_ext <<_ACEOF
50397 /* end confdefs.h. */
50398
50399 int
50400 main ()
50401 {
50402
50403 #if (__GNUC__ < 3) || \
50404 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50405 This is old gcc
50406 #endif
50407
50408 ;
50409 return 0;
50410 }
50411 _ACEOF
50412 rm -f conftest.$ac_objext
50413 if { (ac_try="$ac_compile"
50414 case "(($ac_try" in
50415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50416 *) ac_try_echo=$ac_try;;
50417 esac
50418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50419 (eval "$ac_compile") 2>conftest.er1
50420 ac_status=$?
50421 grep -v '^ *+' conftest.er1 >conftest.err
50422 rm -f conftest.er1
50423 cat conftest.err >&5
50424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50425 (exit $ac_status); } && {
50426 test -z "$ac_c_werror_flag" ||
50427 test ! -s conftest.err
50428 } && test -s conftest.$ac_objext; then
50429
50430 bakefile_cv_gcc31=yes
50431
50432 else
50433 echo "$as_me: failed program was:" >&5
50434 sed 's/^/| /' conftest.$ac_ext >&5
50435
50436
50437 bakefile_cv_gcc31=no
50438
50439
50440 fi
50441
50442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50443
50444 fi
50445 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50446 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50447 if test "$bakefile_cv_gcc31" = "no"; then
50448 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50449 SHARED_LD_CXX="$SHARED_LD_CC"
50450 else
50451 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50452 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50453 fi
50454
50455 if test "x$GCC" == "xyes"; then
50456 PIC_FLAG="-dynamic -fPIC"
50457 fi
50458 if test "x$XLCC" = "xyes"; then
50459 PIC_FLAG="-dynamic -DPIC"
50460 fi
50461 ;;
50462
50463 *-*-aix* )
50464 if test "x$GCC" = "xyes"; then
50465 PIC_FLAG=""
50466
50467 case "${BAKEFILE_HOST}" in
50468 *-*-aix5* )
50469 LD_EXPFULL="-Wl,-bexpfull"
50470 ;;
50471 esac
50472
50473 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50474 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50475 else
50476 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50477 set dummy makeC++SharedLib; ac_word=$2
50478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50480 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50481 echo $ECHO_N "(cached) $ECHO_C" >&6
50482 else
50483 if test -n "$AIX_CXX_LD"; then
50484 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50485 else
50486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50487 for as_dir in $PATH
50488 do
50489 IFS=$as_save_IFS
50490 test -z "$as_dir" && as_dir=.
50491 for ac_exec_ext in '' $ac_executable_extensions; do
50492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50493 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50495 break 2
50496 fi
50497 done
50498 done
50499 IFS=$as_save_IFS
50500
50501 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50502 fi
50503 fi
50504 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50505 if test -n "$AIX_CXX_LD"; then
50506 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50507 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50508 else
50509 { echo "$as_me:$LINENO: result: no" >&5
50510 echo "${ECHO_T}no" >&6; }
50511 fi
50512
50513
50514 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50515 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50516 fi
50517 ;;
50518
50519 *-*-beos* )
50520 SHARED_LD_CC="${LD} -nostart -o"
50521 SHARED_LD_CXX="${LD} -nostart -o"
50522 ;;
50523
50524 *-*-irix* )
50525 if test "x$GCC" != "xyes"; then
50526 PIC_FLAG="-KPIC"
50527 fi
50528 ;;
50529
50530 *-*-cygwin* | *-*-mingw32* )
50531 PIC_FLAG=""
50532 SHARED_LD_CC="\$(CC) -shared -o"
50533 SHARED_LD_CXX="\$(CXX) -shared -o"
50534 WINDOWS_IMPLIB=1
50535 ;;
50536
50537 *-pc-os2_emx | *-pc-os2-emx )
50538 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50539 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50540 PIC_FLAG=""
50541
50542 D='$'
50543 cat <<EOF >dllar.sh
50544 #!/bin/sh
50545 #
50546 # dllar - a tool to build both a .dll and an .a file
50547 # from a set of object (.o) files for EMX/OS2.
50548 #
50549 # Written by Andrew Zabolotny, bit@freya.etu.ru
50550 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50551 #
50552 # This script will accept a set of files on the command line.
50553 # All the public symbols from the .o files will be exported into
50554 # a .DEF file, then linker will be run (through gcc) against them to
50555 # build a shared library consisting of all given .o files. All libraries
50556 # (.a) will be first decompressed into component .o files then act as
50557 # described above. You can optionally give a description (-d "description")
50558 # which will be put into .DLL. To see the list of accepted options (as well
50559 # as command-line format) simply run this program without options. The .DLL
50560 # is built to be imported by name (there is no guarantee that new versions
50561 # of the library you build will have same ordinals for same symbols).
50562 #
50563 # dllar is free software; you can redistribute it and/or modify
50564 # it under the terms of the GNU General Public License as published by
50565 # the Free Software Foundation; either version 2, or (at your option)
50566 # any later version.
50567 #
50568 # dllar is distributed in the hope that it will be useful,
50569 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50570 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50571 # GNU General Public License for more details.
50572 #
50573 # You should have received a copy of the GNU General Public License
50574 # along with dllar; see the file COPYING. If not, write to the Free
50575 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50576 # 02111-1307, USA.
50577
50578 # To successfuly run this program you will need:
50579 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50580 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50581 # - gcc
50582 # (used to build the .dll)
50583 # - emxexp
50584 # (used to create .def file from .o files)
50585 # - emximp
50586 # (used to create .a file from .def file)
50587 # - GNU text utilites (cat, sort, uniq)
50588 # used to process emxexp output
50589 # - GNU file utilities (mv, rm)
50590 # - GNU sed
50591 # - lxlite (optional, see flag below)
50592 # (used for general .dll cleanup)
50593 #
50594
50595 flag_USE_LXLITE=1;
50596
50597 #
50598 # helper functions
50599 # basnam, variant of basename, which does _not_ remove the path, _iff_
50600 # second argument (suffix to remove) is given
50601 basnam(){
50602 case ${D}# in
50603 1)
50604 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50605 ;;
50606 2)
50607 echo ${D}1 | sed 's/'${D}2'${D}//'
50608 ;;
50609 *)
50610 echo "error in basnam ${D}*"
50611 exit 8
50612 ;;
50613 esac
50614 }
50615
50616 # Cleanup temporary files and output
50617 CleanUp() {
50618 cd ${D}curDir
50619 for i in ${D}inputFiles ; do
50620 case ${D}i in
50621 *!)
50622 rm -rf \`basnam ${D}i !\`
50623 ;;
50624 *)
50625 ;;
50626 esac
50627 done
50628
50629 # Kill result in case of failure as there is just to many stupid make/nmake
50630 # things out there which doesn't do this.
50631 if [ ${D}# -eq 0 ]; then
50632 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50633 fi
50634 }
50635
50636 # Print usage and exit script with rc=1.
50637 PrintHelp() {
50638 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50639 echo ' [-name-mangler-script script.sh]'
50640 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50641 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50642 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50643 echo ' [*.o] [*.a]'
50644 echo '*> "output_file" should have no extension.'
50645 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50646 echo ' The import library name is derived from this and is set to "name".a,'
50647 echo ' unless overridden by -import'
50648 echo '*> "importlib_name" should have no extension.'
50649 echo ' If it has the .o, or .a extension, it is automatically removed.'
50650 echo ' This name is used as the import library name and may be longer and'
50651 echo ' more descriptive than the DLL name which has to follow the old '
50652 echo ' 8.3 convention of FAT.'
50653 echo '*> "script.sh may be given to override the output_file name by a'
50654 echo ' different name. It is mainly useful if the regular make process'
50655 echo ' of some package does not take into account OS/2 restriction of'
50656 echo ' DLL name lengths. It takes the importlib name as input and is'
50657 echo ' supposed to procude a shorter name as output. The script should'
50658 echo ' expect to get importlib_name without extension and should produce'
50659 echo ' a (max.) 8 letter name without extension.'
50660 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50661 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50662 echo ' These flags will be put at the start of GCC command line.'
50663 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50664 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50665 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50666 echo ' If the last character of a symbol is "*", all symbols beginning'
50667 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50668 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50669 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50670 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50671 echo ' C runtime DLLs.'
50672 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50673 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50674 echo ' unchanged to GCC at the end of command line.'
50675 echo '*> If you create a DLL from a library and you do not specify -o,'
50676 echo ' the basename for DLL and import library will be set to library name,'
50677 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50678 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50679 echo ' library will be renamed into gcc_s.a.'
50680 echo '--------'
50681 echo 'Example:'
50682 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50683 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50684 CleanUp
50685 exit 1
50686 }
50687
50688 # Execute a command.
50689 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50690 # @Uses Whatever CleanUp() uses.
50691 doCommand() {
50692 echo "${D}*"
50693 eval ${D}*
50694 rcCmd=${D}?
50695
50696 if [ ${D}rcCmd -ne 0 ]; then
50697 echo "command failed, exit code="${D}rcCmd
50698 CleanUp
50699 exit ${D}rcCmd
50700 fi
50701 }
50702
50703 # main routine
50704 # setup globals
50705 cmdLine=${D}*
50706 outFile=""
50707 outimpFile=""
50708 inputFiles=""
50709 renameScript=""
50710 description=""
50711 CC=gcc.exe
50712 CFLAGS="-s -Zcrtdll"
50713 EXTRA_CFLAGS=""
50714 EXPORT_BY_ORDINALS=0
50715 exclude_symbols=""
50716 library_flags=""
50717 curDir=\`pwd\`
50718 curDirS=curDir
50719 case ${D}curDirS in
50720 */)
50721 ;;
50722 *)
50723 curDirS=${D}{curDirS}"/"
50724 ;;
50725 esac
50726 # Parse commandline
50727 libsToLink=0
50728 omfLinking=0
50729 while [ ${D}1 ]; do
50730 case ${D}1 in
50731 -ord*)
50732 EXPORT_BY_ORDINALS=1;
50733 ;;
50734 -o*)
50735 shift
50736 outFile=${D}1
50737 ;;
50738 -i*)
50739 shift
50740 outimpFile=${D}1
50741 ;;
50742 -name-mangler-script)
50743 shift
50744 renameScript=${D}1
50745 ;;
50746 -d*)
50747 shift
50748 description=${D}1
50749 ;;
50750 -f*)
50751 shift
50752 CFLAGS=${D}1
50753 ;;
50754 -c*)
50755 shift
50756 CC=${D}1
50757 ;;
50758 -h*)
50759 PrintHelp
50760 ;;
50761 -ex*)
50762 shift
50763 exclude_symbols=${D}{exclude_symbols}${D}1" "
50764 ;;
50765 -libf*)
50766 shift
50767 library_flags=${D}{library_flags}${D}1" "
50768 ;;
50769 -nocrt*)
50770 CFLAGS="-s"
50771 ;;
50772 -nolxl*)
50773 flag_USE_LXLITE=0
50774 ;;
50775 -* | /*)
50776 case ${D}1 in
50777 -L* | -l*)
50778 libsToLink=1
50779 ;;
50780 -Zomf)
50781 omfLinking=1
50782 ;;
50783 *)
50784 ;;
50785 esac
50786 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50787 ;;
50788 *.dll)
50789 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50790 if [ ${D}omfLinking -eq 1 ]; then
50791 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50792 else
50793 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50794 fi
50795 ;;
50796 *)
50797 found=0;
50798 if [ ${D}libsToLink -ne 0 ]; then
50799 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50800 else
50801 for file in ${D}1 ; do
50802 if [ -f ${D}file ]; then
50803 inputFiles="${D}{inputFiles} ${D}file"
50804 found=1
50805 fi
50806 done
50807 if [ ${D}found -eq 0 ]; then
50808 echo "ERROR: No file(s) found: "${D}1
50809 exit 8
50810 fi
50811 fi
50812 ;;
50813 esac
50814 shift
50815 done # iterate cmdline words
50816
50817 #
50818 if [ -z "${D}inputFiles" ]; then
50819 echo "dllar: no input files"
50820 PrintHelp
50821 fi
50822
50823 # Now extract all .o files from .a files
50824 newInputFiles=""
50825 for file in ${D}inputFiles ; do
50826 case ${D}file in
50827 *.a | *.lib)
50828 case ${D}file in
50829 *.a)
50830 suffix=".a"
50831 AR="ar"
50832 ;;
50833 *.lib)
50834 suffix=".lib"
50835 AR="emxomfar"
50836 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50837 ;;
50838 *)
50839 ;;
50840 esac
50841 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50842 mkdir ${D}dirname
50843 if [ ${D}? -ne 0 ]; then
50844 echo "Failed to create subdirectory ./${D}dirname"
50845 CleanUp
50846 exit 8;
50847 fi
50848 # Append '!' to indicate archive
50849 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50850 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50851 cd ${D}curDir
50852 found=0;
50853 for subfile in ${D}dirname/*.o* ; do
50854 if [ -f ${D}subfile ]; then
50855 found=1
50856 if [ -s ${D}subfile ]; then
50857 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50858 newInputFiles="${D}newInputFiles ${D}subfile"
50859 fi
50860 fi
50861 done
50862 if [ ${D}found -eq 0 ]; then
50863 echo "WARNING: there are no files in archive \\'${D}file\\'"
50864 fi
50865 ;;
50866 *)
50867 newInputFiles="${D}{newInputFiles} ${D}file"
50868 ;;
50869 esac
50870 done
50871 inputFiles="${D}newInputFiles"
50872
50873 # Output filename(s).
50874 do_backup=0;
50875 if [ -z ${D}outFile ]; then
50876 do_backup=1;
50877 set outFile ${D}inputFiles; outFile=${D}2
50878 fi
50879
50880 # If it is an archive, remove the '!' and the '_%' suffixes
50881 case ${D}outFile in
50882 *_%!)
50883 outFile=\`basnam ${D}outFile _%!\`
50884 ;;
50885 *)
50886 ;;
50887 esac
50888 case ${D}outFile in
50889 *.dll)
50890 outFile=\`basnam ${D}outFile .dll\`
50891 ;;
50892 *.DLL)
50893 outFile=\`basnam ${D}outFile .DLL\`
50894 ;;
50895 *.o)
50896 outFile=\`basnam ${D}outFile .o\`
50897 ;;
50898 *.obj)
50899 outFile=\`basnam ${D}outFile .obj\`
50900 ;;
50901 *.a)
50902 outFile=\`basnam ${D}outFile .a\`
50903 ;;
50904 *.lib)
50905 outFile=\`basnam ${D}outFile .lib\`
50906 ;;
50907 *)
50908 ;;
50909 esac
50910 case ${D}outimpFile in
50911 *.a)
50912 outimpFile=\`basnam ${D}outimpFile .a\`
50913 ;;
50914 *.lib)
50915 outimpFile=\`basnam ${D}outimpFile .lib\`
50916 ;;
50917 *)
50918 ;;
50919 esac
50920 if [ -z ${D}outimpFile ]; then
50921 outimpFile=${D}outFile
50922 fi
50923 defFile="${D}{outFile}.def"
50924 arcFile="${D}{outimpFile}.a"
50925 arcFile2="${D}{outimpFile}.lib"
50926
50927 #create ${D}dllFile as something matching 8.3 restrictions,
50928 if [ -z ${D}renameScript ] ; then
50929 dllFile="${D}outFile"
50930 else
50931 dllFile=\`${D}renameScript ${D}outimpFile\`
50932 fi
50933
50934 if [ ${D}do_backup -ne 0 ] ; then
50935 if [ -f ${D}arcFile ] ; then
50936 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50937 fi
50938 if [ -f ${D}arcFile2 ] ; then
50939 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50940 fi
50941 fi
50942
50943 # Extract public symbols from all the object files.
50944 tmpdefFile=${D}{defFile}_%
50945 rm -f ${D}tmpdefFile
50946 for file in ${D}inputFiles ; do
50947 case ${D}file in
50948 *!)
50949 ;;
50950 *)
50951 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50952 ;;
50953 esac
50954 done
50955
50956 # Create the def file.
50957 rm -f ${D}defFile
50958 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50959 dllFile="${D}{dllFile}.dll"
50960 if [ ! -z ${D}description ]; then
50961 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50962 fi
50963 echo "EXPORTS" >> ${D}defFile
50964
50965 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50966 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50967
50968 # Checks if the export is ok or not.
50969 for word in ${D}exclude_symbols; do
50970 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50971 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50972 done
50973
50974
50975 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50976 sed "=" < ${D}tmpdefFile | \\
50977 sed '
50978 N
50979 : loop
50980 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50981 t loop
50982 ' > ${D}{tmpdefFile}%
50983 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50984 else
50985 rm -f ${D}{tmpdefFile}%
50986 fi
50987 cat ${D}tmpdefFile >> ${D}defFile
50988 rm -f ${D}tmpdefFile
50989
50990 # Do linking, create implib, and apply lxlite.
50991 gccCmdl="";
50992 for file in ${D}inputFiles ; do
50993 case ${D}file in
50994 *!)
50995 ;;
50996 *)
50997 gccCmdl="${D}gccCmdl ${D}file"
50998 ;;
50999 esac
51000 done
51001 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51002 touch "${D}{outFile}.dll"
51003
51004 doCommand "emximp -o ${D}arcFile ${D}defFile"
51005 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51006 add_flags="";
51007 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51008 add_flags="-ynd"
51009 fi
51010 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51011 fi
51012 doCommand "emxomf -s -l ${D}arcFile"
51013
51014 # Successful exit.
51015 CleanUp 1
51016 exit 0
51017 EOF
51018
51019 chmod +x dllar.sh
51020 ;;
51021
51022 powerpc-apple-macos* | \
51023 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51024 *-*-mirbsd* | \
51025 *-*-sunos4* | \
51026 *-*-osf* | \
51027 *-*-dgux5* | \
51028 *-*-sysv5* | \
51029 *-pc-msdosdjgpp )
51030 ;;
51031
51032 *)
51033 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51034 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51035 { (exit 1); exit 1; }; }
51036 esac
51037
51038 if test "x$PIC_FLAG" != "x" ; then
51039 PIC_FLAG="$PIC_FLAG -DPIC"
51040 fi
51041
51042 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51043 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51044 fi
51045 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51046 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51047 fi
51048
51049
51050
51051
51052
51053
51054
51055
51056
51057 USE_SOVERSION=0
51058 USE_SOVERLINUX=0
51059 USE_SOVERSOLARIS=0
51060 USE_SOVERCYGWIN=0
51061 USE_SOSYMLINKS=0
51062 USE_MACVERSION=0
51063 SONAME_FLAG=
51064
51065 case "${BAKEFILE_HOST}" in
51066 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51067 if test "x$SUNCXX" = "xyes"; then
51068 SONAME_FLAG="-h "
51069 else
51070 SONAME_FLAG="-Wl,-soname,"
51071 fi
51072 USE_SOVERSION=1
51073 USE_SOVERLINUX=1
51074 USE_SOSYMLINKS=1
51075 ;;
51076
51077 *-*-solaris2* )
51078 SONAME_FLAG="-h "
51079 USE_SOVERSION=1
51080 USE_SOVERSOLARIS=1
51081 USE_SOSYMLINKS=1
51082 ;;
51083
51084 *-*-darwin* )
51085 USE_MACVERSION=1
51086 USE_SOVERSION=1
51087 USE_SOSYMLINKS=1
51088 ;;
51089
51090 *-*-cygwin* )
51091 USE_SOVERSION=1
51092 USE_SOVERCYGWIN=1
51093 ;;
51094 esac
51095
51096
51097
51098
51099
51100
51101
51102
51103
51104
51105 # Check whether --enable-dependency-tracking was given.
51106 if test "${enable_dependency_tracking+set}" = set; then
51107 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51108 fi
51109
51110
51111 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51112 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51113
51114 BK_DEPS=""
51115 if test "x$bk_use_trackdeps" = "xno" ; then
51116 DEPS_TRACKING=0
51117 { echo "$as_me:$LINENO: result: disabled" >&5
51118 echo "${ECHO_T}disabled" >&6; }
51119 else
51120 DEPS_TRACKING=1
51121
51122 if test "x$GCC" = "xyes"; then
51123 DEPSMODE=gcc
51124 case "${BAKEFILE_HOST}" in
51125 *-*-darwin* )
51126 DEPSFLAG="-no-cpp-precomp -MMD"
51127 ;;
51128 * )
51129 DEPSFLAG="-MMD"
51130 ;;
51131 esac
51132 { echo "$as_me:$LINENO: result: gcc" >&5
51133 echo "${ECHO_T}gcc" >&6; }
51134 elif test "x$MWCC" = "xyes"; then
51135 DEPSMODE=mwcc
51136 DEPSFLAG="-MM"
51137 { echo "$as_me:$LINENO: result: mwcc" >&5
51138 echo "${ECHO_T}mwcc" >&6; }
51139 elif test "x$SUNCC" = "xyes"; then
51140 DEPSMODE=unixcc
51141 DEPSFLAG="-xM1"
51142 { echo "$as_me:$LINENO: result: Sun cc" >&5
51143 echo "${ECHO_T}Sun cc" >&6; }
51144 elif test "x$SGICC" = "xyes"; then
51145 DEPSMODE=unixcc
51146 DEPSFLAG="-M"
51147 { echo "$as_me:$LINENO: result: SGI cc" >&5
51148 echo "${ECHO_T}SGI cc" >&6; }
51149 elif test "x$HPCC" = "xyes"; then
51150 DEPSMODE=unixcc
51151 DEPSFLAG="+make"
51152 { echo "$as_me:$LINENO: result: HP cc" >&5
51153 echo "${ECHO_T}HP cc" >&6; }
51154 elif test "x$COMPAQCC" = "xyes"; then
51155 DEPSMODE=gcc
51156 DEPSFLAG="-MD"
51157 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51158 echo "${ECHO_T}Compaq cc" >&6; }
51159 else
51160 DEPS_TRACKING=0
51161 { echo "$as_me:$LINENO: result: none" >&5
51162 echo "${ECHO_T}none" >&6; }
51163 fi
51164
51165 if test $DEPS_TRACKING = 1 ; then
51166
51167 D='$'
51168 cat <<EOF >bk-deps
51169 #!/bin/sh
51170
51171 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51172 # script. It is used to track C/C++ files dependencies in portable way.
51173 #
51174 # Permission is given to use this file in any way.
51175
51176 DEPSMODE=${DEPSMODE}
51177 DEPSDIR=.deps
51178 DEPSFLAG="${DEPSFLAG}"
51179
51180 mkdir -p ${D}DEPSDIR
51181
51182 if test ${D}DEPSMODE = gcc ; then
51183 ${D}* ${D}{DEPSFLAG}
51184 status=${D}?
51185 if test ${D}{status} != 0 ; then
51186 exit ${D}{status}
51187 fi
51188 # move created file to the location we want it in:
51189 while test ${D}# -gt 0; do
51190 case "${D}1" in
51191 -o )
51192 shift
51193 objfile=${D}1
51194 ;;
51195 -* )
51196 ;;
51197 * )
51198 srcfile=${D}1
51199 ;;
51200 esac
51201 shift
51202 done
51203 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51204 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51205 if test -f ${D}depfile ; then
51206 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51207 rm -f ${D}depfile
51208 else
51209 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51210 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51211 if test ! -f ${D}depfile ; then
51212 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51213 depfile="${D}objfile.d"
51214 fi
51215 if test -f ${D}depfile ; then
51216 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51217 rm -f ${D}depfile
51218 fi
51219 fi
51220 exit 0
51221 elif test ${D}DEPSMODE = mwcc ; then
51222 ${D}* || exit ${D}?
51223 # Run mwcc again with -MM and redirect into the dep file we want
51224 # NOTE: We can't use shift here because we need ${D}* to be valid
51225 prevarg=
51226 for arg in ${D}* ; do
51227 if test "${D}prevarg" = "-o"; then
51228 objfile=${D}arg
51229 else
51230 case "${D}arg" in
51231 -* )
51232 ;;
51233 * )
51234 srcfile=${D}arg
51235 ;;
51236 esac
51237 fi
51238 prevarg="${D}arg"
51239 done
51240 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51241 exit 0
51242 elif test ${D}DEPSMODE = unixcc; then
51243 ${D}* || exit ${D}?
51244 # Run compiler again with deps flag and redirect into the dep file.
51245 # It doesn't work if the '-o FILE' option is used, but without it the
51246 # dependency file will contain the wrong name for the object. So it is
51247 # removed from the command line, and the dep file is fixed with sed.
51248 cmd=""
51249 while test ${D}# -gt 0; do
51250 case "${D}1" in
51251 -o )
51252 shift
51253 objfile=${D}1
51254 ;;
51255 * )
51256 eval arg${D}#=\\${D}1
51257 cmd="${D}cmd \\${D}arg${D}#"
51258 ;;
51259 esac
51260 shift
51261 done
51262 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51263 exit 0
51264 else
51265 ${D}*
51266 exit ${D}?
51267 fi
51268 EOF
51269
51270 chmod +x bk-deps
51271 BK_DEPS="`pwd`/bk-deps"
51272 fi
51273 fi
51274
51275
51276
51277
51278
51279 case ${BAKEFILE_HOST} in
51280 *-*-cygwin* | *-*-mingw32* )
51281 if test -n "$ac_tool_prefix"; then
51282 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51283 set dummy ${ac_tool_prefix}windres; ac_word=$2
51284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51286 if test "${ac_cv_prog_WINDRES+set}" = set; then
51287 echo $ECHO_N "(cached) $ECHO_C" >&6
51288 else
51289 if test -n "$WINDRES"; then
51290 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51291 else
51292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51293 for as_dir in $PATH
51294 do
51295 IFS=$as_save_IFS
51296 test -z "$as_dir" && as_dir=.
51297 for ac_exec_ext in '' $ac_executable_extensions; do
51298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51299 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51301 break 2
51302 fi
51303 done
51304 done
51305 IFS=$as_save_IFS
51306
51307 fi
51308 fi
51309 WINDRES=$ac_cv_prog_WINDRES
51310 if test -n "$WINDRES"; then
51311 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51312 echo "${ECHO_T}$WINDRES" >&6; }
51313 else
51314 { echo "$as_me:$LINENO: result: no" >&5
51315 echo "${ECHO_T}no" >&6; }
51316 fi
51317
51318
51319 fi
51320 if test -z "$ac_cv_prog_WINDRES"; then
51321 ac_ct_WINDRES=$WINDRES
51322 # Extract the first word of "windres", so it can be a program name with args.
51323 set dummy windres; ac_word=$2
51324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51326 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51327 echo $ECHO_N "(cached) $ECHO_C" >&6
51328 else
51329 if test -n "$ac_ct_WINDRES"; then
51330 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51331 else
51332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51333 for as_dir in $PATH
51334 do
51335 IFS=$as_save_IFS
51336 test -z "$as_dir" && as_dir=.
51337 for ac_exec_ext in '' $ac_executable_extensions; do
51338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51339 ac_cv_prog_ac_ct_WINDRES="windres"
51340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51341 break 2
51342 fi
51343 done
51344 done
51345 IFS=$as_save_IFS
51346
51347 fi
51348 fi
51349 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51350 if test -n "$ac_ct_WINDRES"; then
51351 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51352 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51353 else
51354 { echo "$as_me:$LINENO: result: no" >&5
51355 echo "${ECHO_T}no" >&6; }
51356 fi
51357
51358 if test "x$ac_ct_WINDRES" = x; then
51359 WINDRES=""
51360 else
51361 case $cross_compiling:$ac_tool_warned in
51362 yes:)
51363 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51364 whose name does not start with the host triplet. If you think this
51365 configuration is useful to you, please write to autoconf@gnu.org." >&5
51366 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51367 whose name does not start with the host triplet. If you think this
51368 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51369 ac_tool_warned=yes ;;
51370 esac
51371 WINDRES=$ac_ct_WINDRES
51372 fi
51373 else
51374 WINDRES="$ac_cv_prog_WINDRES"
51375 fi
51376
51377 ;;
51378
51379 *-*-darwin* | powerpc-apple-macos* )
51380 # Extract the first word of "Rez", so it can be a program name with args.
51381 set dummy Rez; ac_word=$2
51382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51384 if test "${ac_cv_prog_REZ+set}" = set; then
51385 echo $ECHO_N "(cached) $ECHO_C" >&6
51386 else
51387 if test -n "$REZ"; then
51388 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51389 else
51390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51391 for as_dir in $PATH
51392 do
51393 IFS=$as_save_IFS
51394 test -z "$as_dir" && as_dir=.
51395 for ac_exec_ext in '' $ac_executable_extensions; do
51396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51397 ac_cv_prog_REZ="Rez"
51398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51399 break 2
51400 fi
51401 done
51402 done
51403 IFS=$as_save_IFS
51404
51405 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51406 fi
51407 fi
51408 REZ=$ac_cv_prog_REZ
51409 if test -n "$REZ"; then
51410 { echo "$as_me:$LINENO: result: $REZ" >&5
51411 echo "${ECHO_T}$REZ" >&6; }
51412 else
51413 { echo "$as_me:$LINENO: result: no" >&5
51414 echo "${ECHO_T}no" >&6; }
51415 fi
51416
51417
51418 # Extract the first word of "SetFile", so it can be a program name with args.
51419 set dummy SetFile; ac_word=$2
51420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51422 if test "${ac_cv_prog_SETFILE+set}" = set; then
51423 echo $ECHO_N "(cached) $ECHO_C" >&6
51424 else
51425 if test -n "$SETFILE"; then
51426 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51427 else
51428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51429 for as_dir in $PATH
51430 do
51431 IFS=$as_save_IFS
51432 test -z "$as_dir" && as_dir=.
51433 for ac_exec_ext in '' $ac_executable_extensions; do
51434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51435 ac_cv_prog_SETFILE="SetFile"
51436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51437 break 2
51438 fi
51439 done
51440 done
51441 IFS=$as_save_IFS
51442
51443 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51444 fi
51445 fi
51446 SETFILE=$ac_cv_prog_SETFILE
51447 if test -n "$SETFILE"; then
51448 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51449 echo "${ECHO_T}$SETFILE" >&6; }
51450 else
51451 { echo "$as_me:$LINENO: result: no" >&5
51452 echo "${ECHO_T}no" >&6; }
51453 fi
51454
51455
51456 ;;
51457 esac
51458
51459
51460
51461
51462
51463
51464 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51465
51466
51467 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51468
51469
51470
51471 # Check whether --enable-precomp-headers was given.
51472 if test "${enable_precomp_headers+set}" = set; then
51473 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51474 fi
51475
51476
51477 GCC_PCH=0
51478 ICC_PCH=0
51479 USE_PCH=0
51480 BK_MAKE_PCH=""
51481
51482 case ${BAKEFILE_HOST} in
51483 *-*-cygwin* )
51484 bk_use_pch="no"
51485 ;;
51486 esac
51487
51488 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51489 if test "x$GCC" = "xyes"; then
51490 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51491 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51492 cat >conftest.$ac_ext <<_ACEOF
51493 /* confdefs.h. */
51494 _ACEOF
51495 cat confdefs.h >>conftest.$ac_ext
51496 cat >>conftest.$ac_ext <<_ACEOF
51497 /* end confdefs.h. */
51498
51499 int
51500 main ()
51501 {
51502
51503 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51504 There is no PCH support
51505 #endif
51506 #if (__GNUC__ < 3)
51507 There is no PCH support
51508 #endif
51509 #if (__GNUC__ == 3) && \
51510 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51511 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51512 ( defined(__INTEL_COMPILER) )
51513 There is no PCH support
51514 #endif
51515
51516 ;
51517 return 0;
51518 }
51519 _ACEOF
51520 rm -f conftest.$ac_objext
51521 if { (ac_try="$ac_compile"
51522 case "(($ac_try" in
51523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51524 *) ac_try_echo=$ac_try;;
51525 esac
51526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51527 (eval "$ac_compile") 2>conftest.er1
51528 ac_status=$?
51529 grep -v '^ *+' conftest.er1 >conftest.err
51530 rm -f conftest.er1
51531 cat conftest.err >&5
51532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51533 (exit $ac_status); } && {
51534 test -z "$ac_c_werror_flag" ||
51535 test ! -s conftest.err
51536 } && test -s conftest.$ac_objext; then
51537
51538 { echo "$as_me:$LINENO: result: yes" >&5
51539 echo "${ECHO_T}yes" >&6; }
51540 GCC_PCH=1
51541
51542 else
51543 echo "$as_me: failed program was:" >&5
51544 sed 's/^/| /' conftest.$ac_ext >&5
51545
51546
51547 cat >conftest.$ac_ext <<_ACEOF
51548 /* confdefs.h. */
51549 _ACEOF
51550 cat confdefs.h >>conftest.$ac_ext
51551 cat >>conftest.$ac_ext <<_ACEOF
51552 /* end confdefs.h. */
51553
51554 int
51555 main ()
51556 {
51557
51558 #if !defined(__INTEL_COMPILER) || \
51559 (__INTEL_COMPILER < 800)
51560 There is no PCH support
51561 #endif
51562
51563 ;
51564 return 0;
51565 }
51566 _ACEOF
51567 rm -f conftest.$ac_objext
51568 if { (ac_try="$ac_compile"
51569 case "(($ac_try" in
51570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51571 *) ac_try_echo=$ac_try;;
51572 esac
51573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51574 (eval "$ac_compile") 2>conftest.er1
51575 ac_status=$?
51576 grep -v '^ *+' conftest.er1 >conftest.err
51577 rm -f conftest.er1
51578 cat conftest.err >&5
51579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51580 (exit $ac_status); } && {
51581 test -z "$ac_c_werror_flag" ||
51582 test ! -s conftest.err
51583 } && test -s conftest.$ac_objext; then
51584
51585 { echo "$as_me:$LINENO: result: yes" >&5
51586 echo "${ECHO_T}yes" >&6; }
51587 ICC_PCH=1
51588
51589 else
51590 echo "$as_me: failed program was:" >&5
51591 sed 's/^/| /' conftest.$ac_ext >&5
51592
51593
51594 { echo "$as_me:$LINENO: result: no" >&5
51595 echo "${ECHO_T}no" >&6; }
51596
51597 fi
51598
51599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51600
51601 fi
51602
51603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51604 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51605 USE_PCH=1
51606
51607 D='$'
51608 cat <<EOF >bk-make-pch
51609 #!/bin/sh
51610
51611 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51612 # script. It is used to generated precompiled headers.
51613 #
51614 # Permission is given to use this file in any way.
51615
51616 outfile="${D}{1}"
51617 header="${D}{2}"
51618 shift
51619 shift
51620
51621 compiler=""
51622 headerfile=""
51623
51624 while test ${D}{#} -gt 0; do
51625 add_to_cmdline=1
51626 case "${D}{1}" in
51627 -I* )
51628 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51629 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51630 headerfile="${D}{incdir}/${D}{header}"
51631 fi
51632 ;;
51633 -use-pch|-use_pch )
51634 shift
51635 add_to_cmdline=0
51636 ;;
51637 esac
51638 if test ${D}add_to_cmdline = 1 ; then
51639 compiler="${D}{compiler} ${D}{1}"
51640 fi
51641 shift
51642 done
51643
51644 if test "x${D}{headerfile}" = "x" ; then
51645 echo "error: can't find header ${D}{header} in include paths" >&2
51646 else
51647 if test -f ${D}{outfile} ; then
51648 rm -f ${D}{outfile}
51649 else
51650 mkdir -p \`dirname ${D}{outfile}\`
51651 fi
51652 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51653 mkdir -p .deps
51654 if test "x${GCC_PCH}" = "x1" ; then
51655 # can do this because gcc is >= 3.4:
51656 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51657 elif test "x${ICC_PCH}" = "x1" ; then
51658 filename=pch_gen-${D}${D}
51659 file=${D}{filename}.c
51660 dfile=${D}{filename}.d
51661 cat > ${D}file <<EOT
51662 #include "${D}header"
51663 EOT
51664 # using -MF icc complains about differing command lines in creation/use
51665 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51666 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51667 rm -f ${D}file ${D}dfile ${D}{filename}.o
51668 fi
51669 exit ${D}{?}
51670 fi
51671 EOF
51672
51673 chmod +x bk-make-pch
51674 BK_MAKE_PCH="`pwd`/bk-make-pch"
51675 fi
51676 fi
51677 fi
51678
51679
51680
51681
51682
51683 COND_BUILD_DEBUG="#"
51684 if test "x$BUILD" = "xdebug" ; then
51685 COND_BUILD_DEBUG=""
51686 fi
51687
51688 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51689 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51690 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51691 fi
51692
51693 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51694 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51695 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51696 fi
51697
51698 COND_BUILD_DEBUG_UNICODE_0="#"
51699 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51700 COND_BUILD_DEBUG_UNICODE_0=""
51701 fi
51702
51703 COND_BUILD_DEBUG_UNICODE_1="#"
51704 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51705 COND_BUILD_DEBUG_UNICODE_1=""
51706 fi
51707
51708 COND_BUILD_RELEASE="#"
51709 if test "x$BUILD" = "xrelease" ; then
51710 COND_BUILD_RELEASE=""
51711 fi
51712
51713 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51714 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51715 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51716 fi
51717
51718 COND_BUILD_RELEASE_UNICODE_0="#"
51719 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51720 COND_BUILD_RELEASE_UNICODE_0=""
51721 fi
51722
51723 COND_BUILD_RELEASE_UNICODE_1="#"
51724 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51725 COND_BUILD_RELEASE_UNICODE_1=""
51726 fi
51727
51728 COND_DEBUG_FLAG_1="#"
51729 if test "x$DEBUG_FLAG" = "x1" ; then
51730 COND_DEBUG_FLAG_1=""
51731 fi
51732
51733 COND_DEBUG_INFO_0="#"
51734 if test "x$DEBUG_INFO" = "x0" ; then
51735 COND_DEBUG_INFO_0=""
51736 fi
51737
51738 COND_DEBUG_INFO_1="#"
51739 if test "x$DEBUG_INFO" = "x1" ; then
51740 COND_DEBUG_INFO_1=""
51741 fi
51742
51743 COND_DEPS_TRACKING_0="#"
51744 if test "x$DEPS_TRACKING" = "x0" ; then
51745 COND_DEPS_TRACKING_0=""
51746 fi
51747
51748 COND_DEPS_TRACKING_1="#"
51749 if test "x$DEPS_TRACKING" = "x1" ; then
51750 COND_DEPS_TRACKING_1=""
51751 fi
51752
51753 COND_GCC_PCH_1="#"
51754 if test "x$GCC_PCH" = "x1" ; then
51755 COND_GCC_PCH_1=""
51756 fi
51757
51758 COND_ICC_PCH_1="#"
51759 if test "x$ICC_PCH" = "x1" ; then
51760 COND_ICC_PCH_1=""
51761 fi
51762
51763 COND_MONOLITHIC_0="#"
51764 if test "x$MONOLITHIC" = "x0" ; then
51765 COND_MONOLITHIC_0=""
51766 fi
51767
51768 COND_MONOLITHIC_0_SHARED_0="#"
51769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51770 COND_MONOLITHIC_0_SHARED_0=""
51771 fi
51772
51773 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51775 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51776 fi
51777
51778 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51780 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51781 fi
51782
51783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51785 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51786 fi
51787
51788 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51791 fi
51792
51793 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51795 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51796 fi
51797
51798 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51801 fi
51802
51803 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51805 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51806 fi
51807
51808 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51810 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51811 fi
51812
51813 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51815 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51816 fi
51817
51818 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51820 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51821 fi
51822
51823 COND_MONOLITHIC_0_SHARED_1="#"
51824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51825 COND_MONOLITHIC_0_SHARED_1=""
51826 fi
51827
51828 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51830 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51831 fi
51832
51833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51836 fi
51837
51838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51841 fi
51842
51843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51846 fi
51847
51848 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51850 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51851 fi
51852
51853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51856 fi
51857
51858 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51860 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51861 fi
51862
51863 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51866 fi
51867
51868 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51870 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51871 fi
51872
51873 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51875 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51876 fi
51877
51878 COND_MONOLITHIC_0_USE_AUI_1="#"
51879 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51880 COND_MONOLITHIC_0_USE_AUI_1=""
51881 fi
51882
51883 COND_MONOLITHIC_0_USE_GUI_1="#"
51884 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51885 COND_MONOLITHIC_0_USE_GUI_1=""
51886 fi
51887
51888 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51889 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51890 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51891 fi
51892
51893 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51894 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51895 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51896 fi
51897
51898 COND_MONOLITHIC_0_USE_HTML_1="#"
51899 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51900 COND_MONOLITHIC_0_USE_HTML_1=""
51901 fi
51902
51903 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51904 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51905 COND_MONOLITHIC_0_USE_MEDIA_1=""
51906 fi
51907
51908 COND_MONOLITHIC_0_USE_ODBC_1="#"
51909 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51910 COND_MONOLITHIC_0_USE_ODBC_1=""
51911 fi
51912
51913 COND_MONOLITHIC_0_USE_QA_1="#"
51914 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51915 COND_MONOLITHIC_0_USE_QA_1=""
51916 fi
51917
51918 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51919 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51920 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51921 fi
51922
51923 COND_MONOLITHIC_0_USE_STC_1="#"
51924 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51925 COND_MONOLITHIC_0_USE_STC_1=""
51926 fi
51927
51928 COND_MONOLITHIC_0_USE_XRC_1="#"
51929 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51930 COND_MONOLITHIC_0_USE_XRC_1=""
51931 fi
51932
51933 COND_MONOLITHIC_1="#"
51934 if test "x$MONOLITHIC" = "x1" ; then
51935 COND_MONOLITHIC_1=""
51936 fi
51937
51938 COND_MONOLITHIC_1_SHARED_0="#"
51939 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51940 COND_MONOLITHIC_1_SHARED_0=""
51941 fi
51942
51943 COND_MONOLITHIC_1_SHARED_1="#"
51944 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51945 COND_MONOLITHIC_1_SHARED_1=""
51946 fi
51947
51948 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51949 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51950 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51951 fi
51952
51953 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51954 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51955 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51956 fi
51957
51958 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51959 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51960 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51961 fi
51962
51963 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51964 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51965 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51966 fi
51967
51968 COND_PLATFORM_MACOSX_1="#"
51969 if test "x$PLATFORM_MACOSX" = "x1" ; then
51970 COND_PLATFORM_MACOSX_1=""
51971 fi
51972
51973 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51974 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51975 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51976 fi
51977
51978 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51979 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51980 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51981 fi
51982
51983 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51984 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51985 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51986 fi
51987
51988 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51989 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51990 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51991 fi
51992
51993 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51994 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51995 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51996 fi
51997
51998 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51999 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52000 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52001 fi
52002
52003 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52004 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52005 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52006 fi
52007
52008 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52010 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52011 fi
52012
52013 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52014 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52015 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52016 fi
52017
52018 COND_PLATFORM_MACOS_1="#"
52019 if test "x$PLATFORM_MACOS" = "x1" ; then
52020 COND_PLATFORM_MACOS_1=""
52021 fi
52022
52023 COND_PLATFORM_MAC_1="#"
52024 if test "x$PLATFORM_MAC" = "x1" ; then
52025 COND_PLATFORM_MAC_1=""
52026 fi
52027
52028 COND_PLATFORM_MSDOS_0="#"
52029 if test "x$PLATFORM_MSDOS" = "x0" ; then
52030 COND_PLATFORM_MSDOS_0=""
52031 fi
52032
52033 COND_PLATFORM_MSDOS_1="#"
52034 if test "x$PLATFORM_MSDOS" = "x1" ; then
52035 COND_PLATFORM_MSDOS_1=""
52036 fi
52037
52038 COND_PLATFORM_OS2_1="#"
52039 if test "x$PLATFORM_OS2" = "x1" ; then
52040 COND_PLATFORM_OS2_1=""
52041 fi
52042
52043 COND_PLATFORM_UNIX_0="#"
52044 if test "x$PLATFORM_UNIX" = "x0" ; then
52045 COND_PLATFORM_UNIX_0=""
52046 fi
52047
52048 COND_PLATFORM_UNIX_1="#"
52049 if test "x$PLATFORM_UNIX" = "x1" ; then
52050 COND_PLATFORM_UNIX_1=""
52051 fi
52052
52053 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52054 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52055 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52056 fi
52057
52058 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52059 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52060 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52061 fi
52062
52063 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52064 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52065 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52066 fi
52067
52068 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52069 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52070 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52071 fi
52072
52073 COND_PLATFORM_WIN32_0="#"
52074 if test "x$PLATFORM_WIN32" = "x0" ; then
52075 COND_PLATFORM_WIN32_0=""
52076 fi
52077
52078 COND_PLATFORM_WIN32_1="#"
52079 if test "x$PLATFORM_WIN32" = "x1" ; then
52080 COND_PLATFORM_WIN32_1=""
52081 fi
52082
52083 COND_SHARED_0="#"
52084 if test "x$SHARED" = "x0" ; then
52085 COND_SHARED_0=""
52086 fi
52087
52088 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52089 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52090 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52091 fi
52092
52093 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52094 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52095 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52096 fi
52097
52098 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52099 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52100 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52101 fi
52102
52103 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52104 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52105 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52106 fi
52107
52108 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52109 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52110 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52111 fi
52112
52113 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52114 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52115 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52116 fi
52117
52118 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52119 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52120 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52121 fi
52122
52123 COND_SHARED_0_USE_STC_1="#"
52124 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52125 COND_SHARED_0_USE_STC_1=""
52126 fi
52127
52128 COND_SHARED_0_USE_XRC_1="#"
52129 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52130 COND_SHARED_0_USE_XRC_1=""
52131 fi
52132
52133 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52134 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52135 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52136 fi
52137
52138 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52139 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52140 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52141 fi
52142
52143 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52144 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52145 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52146 fi
52147
52148 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52149 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52150 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52151 fi
52152
52153 COND_SHARED_1="#"
52154 if test "x$SHARED" = "x1" ; then
52155 COND_SHARED_1=""
52156 fi
52157
52158 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52159 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52160 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52161 fi
52162
52163 COND_SHARED_1_USE_XRC_1="#"
52164 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52165 COND_SHARED_1_USE_XRC_1=""
52166 fi
52167
52168 COND_TOOLKIT_="#"
52169 if test "x$TOOLKIT" = "x" ; then
52170 COND_TOOLKIT_=""
52171 fi
52172
52173 COND_TOOLKIT_COCOA="#"
52174 if test "x$TOOLKIT" = "xCOCOA" ; then
52175 COND_TOOLKIT_COCOA=""
52176 fi
52177
52178 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52179 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52180 COND_TOOLKIT_COCOA_USE_GUI_1=""
52181 fi
52182
52183 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52184 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52185 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52186 fi
52187
52188 COND_TOOLKIT_DFB="#"
52189 if test "x$TOOLKIT" = "xDFB" ; then
52190 COND_TOOLKIT_DFB=""
52191 fi
52192
52193 COND_TOOLKIT_DFB_USE_GUI_1="#"
52194 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52195 COND_TOOLKIT_DFB_USE_GUI_1=""
52196 fi
52197
52198 COND_TOOLKIT_GTK="#"
52199 if test "x$TOOLKIT" = "xGTK" ; then
52200 COND_TOOLKIT_GTK=""
52201 fi
52202
52203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52204 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52206 fi
52207
52208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52211 fi
52212
52213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52216 fi
52217
52218 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52221 fi
52222
52223 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52225 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52226 fi
52227
52228 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52229 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52230 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52231 fi
52232
52233 COND_TOOLKIT_GTK_USE_GUI_1="#"
52234 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52235 COND_TOOLKIT_GTK_USE_GUI_1=""
52236 fi
52237
52238 COND_TOOLKIT_MAC="#"
52239 if test "x$TOOLKIT" = "xMAC" ; then
52240 COND_TOOLKIT_MAC=""
52241 fi
52242
52243 COND_TOOLKIT_MAC_USE_GUI_1="#"
52244 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52245 COND_TOOLKIT_MAC_USE_GUI_1=""
52246 fi
52247
52248 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52249 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52250 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52251 fi
52252
52253 COND_TOOLKIT_MGL="#"
52254 if test "x$TOOLKIT" = "xMGL" ; then
52255 COND_TOOLKIT_MGL=""
52256 fi
52257
52258 COND_TOOLKIT_MGL_USE_GUI_1="#"
52259 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52260 COND_TOOLKIT_MGL_USE_GUI_1=""
52261 fi
52262
52263 COND_TOOLKIT_MOTIF="#"
52264 if test "x$TOOLKIT" = "xMOTIF" ; then
52265 COND_TOOLKIT_MOTIF=""
52266 fi
52267
52268 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52269 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52270 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52271 fi
52272
52273 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52274 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52275 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52276 fi
52277
52278 COND_TOOLKIT_MSW="#"
52279 if test "x$TOOLKIT" = "xMSW" ; then
52280 COND_TOOLKIT_MSW=""
52281 fi
52282
52283 COND_TOOLKIT_MSW_USE_GUI_1="#"
52284 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52285 COND_TOOLKIT_MSW_USE_GUI_1=""
52286 fi
52287
52288 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52289 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52290 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52291 fi
52292
52293 COND_TOOLKIT_MSW_WXUNIV_0="#"
52294 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52295 COND_TOOLKIT_MSW_WXUNIV_0=""
52296 fi
52297
52298 COND_TOOLKIT_PM="#"
52299 if test "x$TOOLKIT" = "xPM" ; then
52300 COND_TOOLKIT_PM=""
52301 fi
52302
52303 COND_TOOLKIT_PM_USE_GUI_1="#"
52304 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52305 COND_TOOLKIT_PM_USE_GUI_1=""
52306 fi
52307
52308 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52309 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52310 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52311 fi
52312
52313 COND_TOOLKIT_WINCE="#"
52314 if test "x$TOOLKIT" = "xWINCE" ; then
52315 COND_TOOLKIT_WINCE=""
52316 fi
52317
52318 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52319 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52320 COND_TOOLKIT_WINCE_USE_GUI_1=""
52321 fi
52322
52323 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52324 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52325 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52326 fi
52327
52328 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52329 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52330 COND_TOOLKIT_WINCE_WXUNIV_0=""
52331 fi
52332
52333 COND_TOOLKIT_X11="#"
52334 if test "x$TOOLKIT" = "xX11" ; then
52335 COND_TOOLKIT_X11=""
52336 fi
52337
52338 COND_TOOLKIT_X11_USE_GUI_1="#"
52339 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52340 COND_TOOLKIT_X11_USE_GUI_1=""
52341 fi
52342
52343 COND_UNICODE_1="#"
52344 if test "x$UNICODE" = "x1" ; then
52345 COND_UNICODE_1=""
52346 fi
52347
52348 COND_USE_EXCEPTIONS_0="#"
52349 if test "x$USE_EXCEPTIONS" = "x0" ; then
52350 COND_USE_EXCEPTIONS_0=""
52351 fi
52352
52353 COND_USE_EXCEPTIONS_1="#"
52354 if test "x$USE_EXCEPTIONS" = "x1" ; then
52355 COND_USE_EXCEPTIONS_1=""
52356 fi
52357
52358 COND_USE_GUI_0="#"
52359 if test "x$USE_GUI" = "x0" ; then
52360 COND_USE_GUI_0=""
52361 fi
52362
52363 COND_USE_GUI_1="#"
52364 if test "x$USE_GUI" = "x1" ; then
52365 COND_USE_GUI_1=""
52366 fi
52367
52368 COND_USE_GUI_1_USE_OPENGL_1="#"
52369 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52370 COND_USE_GUI_1_USE_OPENGL_1=""
52371 fi
52372
52373 COND_USE_GUI_1_WXUNIV_0="#"
52374 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52375 COND_USE_GUI_1_WXUNIV_0=""
52376 fi
52377
52378 COND_USE_GUI_1_WXUNIV_1="#"
52379 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52380 COND_USE_GUI_1_WXUNIV_1=""
52381 fi
52382
52383 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52384 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52385 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52386 fi
52387
52388 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52389 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52390 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52391 fi
52392
52393 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52394 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52395 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52396 fi
52397
52398 COND_USE_ODBC_1="#"
52399 if test "x$USE_ODBC" = "x1" ; then
52400 COND_USE_ODBC_1=""
52401 fi
52402
52403 COND_USE_OPENGL_1="#"
52404 if test "x$USE_OPENGL" = "x1" ; then
52405 COND_USE_OPENGL_1=""
52406 fi
52407
52408 COND_USE_PCH_1="#"
52409 if test "x$USE_PCH" = "x1" ; then
52410 COND_USE_PCH_1=""
52411 fi
52412
52413 COND_USE_PLUGINS_0="#"
52414 if test "x$USE_PLUGINS" = "x0" ; then
52415 COND_USE_PLUGINS_0=""
52416 fi
52417
52418 COND_USE_RTTI_0="#"
52419 if test "x$USE_RTTI" = "x0" ; then
52420 COND_USE_RTTI_0=""
52421 fi
52422
52423 COND_USE_RTTI_1="#"
52424 if test "x$USE_RTTI" = "x1" ; then
52425 COND_USE_RTTI_1=""
52426 fi
52427
52428 COND_USE_SOSYMLINKS_1="#"
52429 if test "x$USE_SOSYMLINKS" = "x1" ; then
52430 COND_USE_SOSYMLINKS_1=""
52431 fi
52432
52433 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52434 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52435 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52436 fi
52437
52438 COND_USE_SOVERLINUX_1="#"
52439 if test "x$USE_SOVERLINUX" = "x1" ; then
52440 COND_USE_SOVERLINUX_1=""
52441 fi
52442
52443 COND_USE_SOVERSION_0="#"
52444 if test "x$USE_SOVERSION" = "x0" ; then
52445 COND_USE_SOVERSION_0=""
52446 fi
52447
52448 COND_USE_SOVERSOLARIS_1="#"
52449 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52450 COND_USE_SOVERSOLARIS_1=""
52451 fi
52452
52453 COND_USE_STC_1="#"
52454 if test "x$USE_STC" = "x1" ; then
52455 COND_USE_STC_1=""
52456 fi
52457
52458 COND_USE_THREADS_0="#"
52459 if test "x$USE_THREADS" = "x0" ; then
52460 COND_USE_THREADS_0=""
52461 fi
52462
52463 COND_USE_THREADS_1="#"
52464 if test "x$USE_THREADS" = "x1" ; then
52465 COND_USE_THREADS_1=""
52466 fi
52467
52468 COND_USE_XRC_1="#"
52469 if test "x$USE_XRC" = "x1" ; then
52470 COND_USE_XRC_1=""
52471 fi
52472
52473 COND_WINDOWS_IMPLIB_1="#"
52474 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52475 COND_WINDOWS_IMPLIB_1=""
52476 fi
52477
52478 COND_WITH_PLUGIN_SDL_1="#"
52479 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52480 COND_WITH_PLUGIN_SDL_1=""
52481 fi
52482
52483 COND_WXUNIV_0="#"
52484 if test "x$WXUNIV" = "x0" ; then
52485 COND_WXUNIV_0=""
52486 fi
52487
52488 COND_WXUNIV_1="#"
52489 if test "x$WXUNIV" = "x1" ; then
52490 COND_WXUNIV_1=""
52491 fi
52492
52493 COND_WXUSE_EXPAT_BUILTIN="#"
52494 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52495 COND_WXUSE_EXPAT_BUILTIN=""
52496 fi
52497
52498 COND_WXUSE_LIBJPEG_BUILTIN="#"
52499 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52500 COND_WXUSE_LIBJPEG_BUILTIN=""
52501 fi
52502
52503 COND_WXUSE_LIBPNG_BUILTIN="#"
52504 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52505 COND_WXUSE_LIBPNG_BUILTIN=""
52506 fi
52507
52508 COND_WXUSE_LIBTIFF_BUILTIN="#"
52509 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52510 COND_WXUSE_LIBTIFF_BUILTIN=""
52511 fi
52512
52513 COND_WXUSE_ODBC_BUILTIN="#"
52514 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52515 COND_WXUSE_ODBC_BUILTIN=""
52516 fi
52517
52518 COND_WXUSE_REGEX_BUILTIN="#"
52519 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52520 COND_WXUSE_REGEX_BUILTIN=""
52521 fi
52522
52523 COND_WXUSE_ZLIB_BUILTIN="#"
52524 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52525 COND_WXUSE_ZLIB_BUILTIN=""
52526 fi
52527
52528
52529
52530 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52531 { { 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
52532 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;}
52533 { (exit 1); exit 1; }; }
52534 fi
52535
52536 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52537 { { 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
52538 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;}
52539 { (exit 1); exit 1; }; }
52540 fi
52541
52542
52543 case ${INSTALL} in
52544 /* ) # Absolute
52545 ;;
52546 ?:* ) # Drive letter, considered as absolute.
52547 ;;
52548 *)
52549 INSTALL=`pwd`/${INSTALL} ;;
52550 esac
52551
52552 if test "$wxUSE_GUI" = "yes"; then
52553
52554 if test "$wxUSE_MSW" = 1 ; then
52555 if test "x$WINDRES" = "x"; then
52556 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52557 echo "$as_me: error: Required windres program not found" >&2;}
52558 { (exit 1); exit 1; }; }
52559 fi
52560
52561 RESCOMP="$WINDRES"
52562 fi
52563
52564 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52565 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52566 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52567
52568 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52569
52570 # Extract the first word of "DeRez", so it can be a program name with args.
52571 set dummy DeRez; ac_word=$2
52572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52574 if test "${ac_cv_prog_DEREZ+set}" = set; then
52575 echo $ECHO_N "(cached) $ECHO_C" >&6
52576 else
52577 if test -n "$DEREZ"; then
52578 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52579 else
52580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52581 for as_dir in $PATH
52582 do
52583 IFS=$as_save_IFS
52584 test -z "$as_dir" && as_dir=.
52585 for ac_exec_ext in '' $ac_executable_extensions; do
52586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52587 ac_cv_prog_DEREZ="DeRez"
52588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52589 break 2
52590 fi
52591 done
52592 done
52593 IFS=$as_save_IFS
52594
52595 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52596 fi
52597 fi
52598 DEREZ=$ac_cv_prog_DEREZ
52599 if test -n "$DEREZ"; then
52600 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52601 echo "${ECHO_T}$DEREZ" >&6; }
52602 else
52603 { echo "$as_me:$LINENO: result: no" >&5
52604 echo "${ECHO_T}no" >&6; }
52605 fi
52606
52607
52608
52609 MACSETFILE="\$(SETFILE)"
52610
52611 if test "$wxUSE_MAC" = 1; then
52612 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52613 RESCOMP="$REZ"
52614 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52615 else
52616 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52617 RESCOMP="cat /dev/null \| $REZ"
52618 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52619 fi
52620
52621 else
52622 MACSETFILE="@true"
52623
52624 if test "$wxUSE_PM" = 1; then
52625 RESCOMP="emxbind"
52626 WXCONFIG_RESFLAGS="-ep"
52627
52628 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52629 else
52630 POSTLINK_COMMAND="@true"
52631 fi
52632 fi
52633
52634 fi
52635
52636
52637 if test $GCC_PCH = 1
52638 then
52639 if test "$wx_cv_gcc_pch_bug" = yes; then
52640 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52641 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52642 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52643 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52644 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52645 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52646 fi
52647
52648 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52649 fi
52650
52651
52652 if test "$wxUSE_MAC" = 1 ; then
52653 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52654 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52655 mv temp bk-deps
52656 chmod +x bk-deps
52657 fi
52658 fi
52659
52660 if test "$wxUSE_SHARED" = "yes"; then
52661
52662 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52663 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52664
52665 case "${host}" in
52666 *-pc-os2_emx | *-pc-os2-emx )
52667 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52668 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52669 cp -p ${srcdir}/src/os2/dllnames.sh .
52670 cp -p ${srcdir}/src/os2/dllar.sh .
52671 ;;
52672 esac
52673 else
52674
52675 EXE_LINKER="$CXX -o"
52676
52677 fi
52678 if test "$wxUSE_OMF" = "yes"; then
52679 case "${host}" in
52680 *-pc-os2_emx | *-pc-os2-emx )
52681 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52682 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52683 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52684 ;;
52685 esac
52686 fi
52687
52688 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52689
52690
52691 case "${host}" in
52692 *-*-solaris2* )
52693 if "$GCC" = yes; then
52694 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52695 LIBS=`echo $LIBS | sed 's/-mt//'`
52696 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52697 fi
52698 ;;
52699
52700 *-*-linux* )
52701 if test "x$SUNCXX" = xyes; then
52702 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52703 LIBS=`echo $LIBS | sed 's/-pthread//'`
52704 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52705 fi
52706 ;;
52707 esac
52708
52709 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52710 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52711
52712 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
52742
52743
52744
52745
52746
52747
52748
52749
52750
52751
52752
52753
52754
52755
52756
52757
52758
52759
52760
52761
52762
52763
52764
52765
52766
52767
52768
52769
52770
52771
52772
52773
52774 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52775 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52776 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52777 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52778 echo $ECHO_N "(cached) $ECHO_C" >&6
52779 else
52780 cat >conftest.make <<\_ACEOF
52781 SHELL = /bin/sh
52782 all:
52783 @echo '@@@%%%=$(MAKE)=@@@%%%'
52784 _ACEOF
52785 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52786 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52787 *@@@%%%=?*=@@@%%%*)
52788 eval ac_cv_prog_make_${ac_make}_set=yes;;
52789 *)
52790 eval ac_cv_prog_make_${ac_make}_set=no;;
52791 esac
52792 rm -f conftest.make
52793 fi
52794 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52795 { echo "$as_me:$LINENO: result: yes" >&5
52796 echo "${ECHO_T}yes" >&6; }
52797 SET_MAKE=
52798 else
52799 { echo "$as_me:$LINENO: result: no" >&5
52800 echo "${ECHO_T}no" >&6; }
52801 SET_MAKE="MAKE=${MAKE-make}"
52802 fi
52803
52804
52805
52806 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52807
52808
52809 if test "$USE_WIN32" = 1; then
52810 ac_config_commands="$ac_config_commands
52811 rcdefs.h
52812 "
52813
52814 fi
52815
52816 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52817
52818
52819 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52820
52821
52822 if test "$wx_cv_version_script" = "yes"; then
52823 ac_config_files="$ac_config_files version-script"
52824
52825 fi
52826 ac_config_files="$ac_config_files Makefile"
52827
52828
52829 ac_config_commands="$ac_config_commands wx-config"
52830
52831
52832
52833 if test "$wxWITH_SUBDIRS" != "no"; then
52834 if test "$wxUSE_GUI" = "yes"; then
52835 SUBDIRS="samples demos utils"
52836 else SUBDIRS="samples utils"
52837 fi
52838
52839
52840
52841 # Check whether --with-cppunit-prefix was given.
52842 if test "${with_cppunit_prefix+set}" = set; then
52843 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52844 else
52845 cppunit_config_prefix=""
52846 fi
52847
52848
52849 # Check whether --with-cppunit-exec-prefix was given.
52850 if test "${with_cppunit_exec_prefix+set}" = set; then
52851 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52852 else
52853 cppunit_config_exec_prefix=""
52854 fi
52855
52856
52857 if test x$cppunit_config_exec_prefix != x ; then
52858 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52859 if test x${CPPUNIT_CONFIG+set} != xset ; then
52860 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52861 fi
52862 fi
52863 if test x$cppunit_config_prefix != x ; then
52864 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52865 if test x${CPPUNIT_CONFIG+set} != xset ; then
52866 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52867 fi
52868 fi
52869
52870 # Extract the first word of "cppunit-config", so it can be a program name with args.
52871 set dummy cppunit-config; ac_word=$2
52872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52874 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52875 echo $ECHO_N "(cached) $ECHO_C" >&6
52876 else
52877 case $CPPUNIT_CONFIG in
52878 [\\/]* | ?:[\\/]*)
52879 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52880 ;;
52881 *)
52882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52883 for as_dir in $PATH
52884 do
52885 IFS=$as_save_IFS
52886 test -z "$as_dir" && as_dir=.
52887 for ac_exec_ext in '' $ac_executable_extensions; do
52888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52889 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52891 break 2
52892 fi
52893 done
52894 done
52895 IFS=$as_save_IFS
52896
52897 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52898 ;;
52899 esac
52900 fi
52901 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52902 if test -n "$CPPUNIT_CONFIG"; then
52903 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52904 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52905 else
52906 { echo "$as_me:$LINENO: result: no" >&5
52907 echo "${ECHO_T}no" >&6; }
52908 fi
52909
52910
52911 cppunit_version_min=1.8.0
52912
52913 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52914 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52915 no_cppunit=""
52916 if test "$CPPUNIT_CONFIG" = "no" ; then
52917 { echo "$as_me:$LINENO: result: no" >&5
52918 echo "${ECHO_T}no" >&6; }
52919 no_cppunit=yes
52920 else
52921 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52922 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52923 cppunit_version=`$CPPUNIT_CONFIG --version`
52924
52925 cppunit_major_version=`echo $cppunit_version | \
52926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52927 cppunit_minor_version=`echo $cppunit_version | \
52928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52929 cppunit_micro_version=`echo $cppunit_version | \
52930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52931
52932 cppunit_major_min=`echo $cppunit_version_min | \
52933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52934 cppunit_minor_min=`echo $cppunit_version_min | \
52935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52936 cppunit_micro_min=`echo $cppunit_version_min | \
52937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52938
52939 cppunit_version_proper=`expr \
52940 $cppunit_major_version \> $cppunit_major_min \| \
52941 $cppunit_major_version \= $cppunit_major_min \& \
52942 $cppunit_minor_version \> $cppunit_minor_min \| \
52943 $cppunit_major_version \= $cppunit_major_min \& \
52944 $cppunit_minor_version \= $cppunit_minor_min \& \
52945 $cppunit_micro_version \>= $cppunit_micro_min `
52946
52947 if test "$cppunit_version_proper" = "1" ; then
52948 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52949 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52950 else
52951 { echo "$as_me:$LINENO: result: no" >&5
52952 echo "${ECHO_T}no" >&6; }
52953 no_cppunit=yes
52954 fi
52955 fi
52956
52957 if test "x$no_cppunit" = x ; then
52958 SUBDIRS="$SUBDIRS tests"
52959 else
52960 CPPUNIT_CFLAGS=""
52961 CPPUNIT_LIBS=""
52962 :
52963 fi
52964
52965
52966
52967
52968
52969 for subdir in `echo $SUBDIRS`; do
52970 if test -d ${srcdir}/${subdir} ; then
52971 if test "$wxUSE_GUI" = "yes"; then
52972 if test ${subdir} = "samples"; then
52973 makefiles="samples/Makefile.in $makefiles"
52974 for sample in `echo $SAMPLES_SUBDIRS`; do
52975 if test -d $srcdir/samples/$sample; then
52976 makefiles="samples/$sample/Makefile.in $makefiles"
52977 fi
52978 done
52979 else
52980 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52981 eval "disabled=\$$disabled_var"
52982 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52983 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52984 fi
52985 else if test ${subdir} = "samples"; then
52986 makefiles="samples/Makefile.in samples/console/Makefile.in"
52987 elif test ${subdir} = "utils"; then
52988 makefiles=""
52989 for util in HelpGen tex2rtf ; do
52990 if test -d $srcdir/utils/$util ; then
52991 makefiles="utils/$util/Makefile.in \
52992 utils/$util/src/Makefile.in \
52993 $makefiles"
52994 fi
52995 done
52996 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52997 fi
52998 fi
52999
53000 for mkin in $makefiles ; do
53001 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53002 ac_config_files="$ac_config_files $mk"
53003
53004 done
53005 fi
53006 done
53007 fi
53008 cat >confcache <<\_ACEOF
53009 # This file is a shell script that caches the results of configure
53010 # tests run on this system so they can be shared between configure
53011 # scripts and configure runs, see configure's option --config-cache.
53012 # It is not useful on other systems. If it contains results you don't
53013 # want to keep, you may remove or edit it.
53014 #
53015 # config.status only pays attention to the cache file if you give it
53016 # the --recheck option to rerun configure.
53017 #
53018 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53019 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53020 # following values.
53021
53022 _ACEOF
53023
53024 # The following way of writing the cache mishandles newlines in values,
53025 # but we know of no workaround that is simple, portable, and efficient.
53026 # So, we kill variables containing newlines.
53027 # Ultrix sh set writes to stderr and can't be redirected directly,
53028 # and sets the high bit in the cache file unless we assign to the vars.
53029 (
53030 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53031 eval ac_val=\$$ac_var
53032 case $ac_val in #(
53033 *${as_nl}*)
53034 case $ac_var in #(
53035 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53036 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53037 esac
53038 case $ac_var in #(
53039 _ | IFS | as_nl) ;; #(
53040 *) $as_unset $ac_var ;;
53041 esac ;;
53042 esac
53043 done
53044
53045 (set) 2>&1 |
53046 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53047 *${as_nl}ac_space=\ *)
53048 # `set' does not quote correctly, so add quotes (double-quote
53049 # substitution turns \\\\ into \\, and sed turns \\ into \).
53050 sed -n \
53051 "s/'/'\\\\''/g;
53052 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53053 ;; #(
53054 *)
53055 # `set' quotes correctly as required by POSIX, so do not add quotes.
53056 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53057 ;;
53058 esac |
53059 sort
53060 ) |
53061 sed '
53062 /^ac_cv_env_/b end
53063 t clear
53064 :clear
53065 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53066 t end
53067 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53068 :end' >>confcache
53069 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53070 if test -w "$cache_file"; then
53071 test "x$cache_file" != "x/dev/null" &&
53072 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53073 echo "$as_me: updating cache $cache_file" >&6;}
53074 cat confcache >$cache_file
53075 else
53076 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53077 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53078 fi
53079 fi
53080 rm -f confcache
53081
53082 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53083 # Let make expand exec_prefix.
53084 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53085
53086 DEFS=-DHAVE_CONFIG_H
53087
53088 ac_libobjs=
53089 ac_ltlibobjs=
53090 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53091 # 1. Remove the extension, and $U if already installed.
53092 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53093 ac_i=`echo "$ac_i" | sed "$ac_script"`
53094 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53095 # will be set to the directory where LIBOBJS objects are built.
53096 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53097 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53098 done
53099 LIBOBJS=$ac_libobjs
53100
53101 LTLIBOBJS=$ac_ltlibobjs
53102
53103
53104
53105 : ${CONFIG_STATUS=./config.status}
53106 ac_clean_files_save=$ac_clean_files
53107 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53108 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53109 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53110 cat >$CONFIG_STATUS <<_ACEOF
53111 #! $SHELL
53112 # Generated by $as_me.
53113 # Run this file to recreate the current configuration.
53114 # Compiler output produced by configure, useful for debugging
53115 # configure, is in config.log if it exists.
53116
53117 debug=false
53118 ac_cs_recheck=false
53119 ac_cs_silent=false
53120 SHELL=\${CONFIG_SHELL-$SHELL}
53121 _ACEOF
53122
53123 cat >>$CONFIG_STATUS <<\_ACEOF
53124 ## --------------------- ##
53125 ## M4sh Initialization. ##
53126 ## --------------------- ##
53127
53128 # Be more Bourne compatible
53129 DUALCASE=1; export DUALCASE # for MKS sh
53130 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53131 emulate sh
53132 NULLCMD=:
53133 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53134 # is contrary to our usage. Disable this feature.
53135 alias -g '${1+"$@"}'='"$@"'
53136 setopt NO_GLOB_SUBST
53137 else
53138 case `(set -o) 2>/dev/null` in
53139 *posix*) set -o posix ;;
53140 esac
53141
53142 fi
53143
53144
53145
53146
53147 # PATH needs CR
53148 # Avoid depending upon Character Ranges.
53149 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53150 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53151 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53152 as_cr_digits='0123456789'
53153 as_cr_alnum=$as_cr_Letters$as_cr_digits
53154
53155 # The user is always right.
53156 if test "${PATH_SEPARATOR+set}" != set; then
53157 echo "#! /bin/sh" >conf$$.sh
53158 echo "exit 0" >>conf$$.sh
53159 chmod +x conf$$.sh
53160 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53161 PATH_SEPARATOR=';'
53162 else
53163 PATH_SEPARATOR=:
53164 fi
53165 rm -f conf$$.sh
53166 fi
53167
53168 # Support unset when possible.
53169 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53170 as_unset=unset
53171 else
53172 as_unset=false
53173 fi
53174
53175
53176 # IFS
53177 # We need space, tab and new line, in precisely that order. Quoting is
53178 # there to prevent editors from complaining about space-tab.
53179 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53180 # splitting by setting IFS to empty value.)
53181 as_nl='
53182 '
53183 IFS=" "" $as_nl"
53184
53185 # Find who we are. Look in the path if we contain no directory separator.
53186 case $0 in
53187 *[\\/]* ) as_myself=$0 ;;
53188 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53189 for as_dir in $PATH
53190 do
53191 IFS=$as_save_IFS
53192 test -z "$as_dir" && as_dir=.
53193 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53194 done
53195 IFS=$as_save_IFS
53196
53197 ;;
53198 esac
53199 # We did not find ourselves, most probably we were run as `sh COMMAND'
53200 # in which case we are not to be found in the path.
53201 if test "x$as_myself" = x; then
53202 as_myself=$0
53203 fi
53204 if test ! -f "$as_myself"; then
53205 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53206 { (exit 1); exit 1; }
53207 fi
53208
53209 # Work around bugs in pre-3.0 UWIN ksh.
53210 for as_var in ENV MAIL MAILPATH
53211 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53212 done
53213 PS1='$ '
53214 PS2='> '
53215 PS4='+ '
53216
53217 # NLS nuisances.
53218 for as_var in \
53219 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53220 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53221 LC_TELEPHONE LC_TIME
53222 do
53223 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53224 eval $as_var=C; export $as_var
53225 else
53226 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53227 fi
53228 done
53229
53230 # Required to use basename.
53231 if expr a : '\(a\)' >/dev/null 2>&1 &&
53232 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53233 as_expr=expr
53234 else
53235 as_expr=false
53236 fi
53237
53238 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53239 as_basename=basename
53240 else
53241 as_basename=false
53242 fi
53243
53244
53245 # Name of the executable.
53246 as_me=`$as_basename -- "$0" ||
53247 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53248 X"$0" : 'X\(//\)$' \| \
53249 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53250 echo X/"$0" |
53251 sed '/^.*\/\([^/][^/]*\)\/*$/{
53252 s//\1/
53253 q
53254 }
53255 /^X\/\(\/\/\)$/{
53256 s//\1/
53257 q
53258 }
53259 /^X\/\(\/\).*/{
53260 s//\1/
53261 q
53262 }
53263 s/.*/./; q'`
53264
53265 # CDPATH.
53266 $as_unset CDPATH
53267
53268
53269
53270 as_lineno_1=$LINENO
53271 as_lineno_2=$LINENO
53272 test "x$as_lineno_1" != "x$as_lineno_2" &&
53273 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53274
53275 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53276 # uniformly replaced by the line number. The first 'sed' inserts a
53277 # line-number line after each line using $LINENO; the second 'sed'
53278 # does the real work. The second script uses 'N' to pair each
53279 # line-number line with the line containing $LINENO, and appends
53280 # trailing '-' during substitution so that $LINENO is not a special
53281 # case at line end.
53282 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53283 # scripts with optimization help from Paolo Bonzini. Blame Lee
53284 # E. McMahon (1931-1989) for sed's syntax. :-)
53285 sed -n '
53286 p
53287 /[$]LINENO/=
53288 ' <$as_myself |
53289 sed '
53290 s/[$]LINENO.*/&-/
53291 t lineno
53292 b
53293 :lineno
53294 N
53295 :loop
53296 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53297 t loop
53298 s/-\n.*//
53299 ' >$as_me.lineno &&
53300 chmod +x "$as_me.lineno" ||
53301 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53302 { (exit 1); exit 1; }; }
53303
53304 # Don't try to exec as it changes $[0], causing all sort of problems
53305 # (the dirname of $[0] is not the place where we might find the
53306 # original and so on. Autoconf is especially sensitive to this).
53307 . "./$as_me.lineno"
53308 # Exit status is that of the last command.
53309 exit
53310 }
53311
53312
53313 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53314 as_dirname=dirname
53315 else
53316 as_dirname=false
53317 fi
53318
53319 ECHO_C= ECHO_N= ECHO_T=
53320 case `echo -n x` in
53321 -n*)
53322 case `echo 'x\c'` in
53323 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53324 *) ECHO_C='\c';;
53325 esac;;
53326 *)
53327 ECHO_N='-n';;
53328 esac
53329
53330 if expr a : '\(a\)' >/dev/null 2>&1 &&
53331 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53332 as_expr=expr
53333 else
53334 as_expr=false
53335 fi
53336
53337 rm -f conf$$ conf$$.exe conf$$.file
53338 if test -d conf$$.dir; then
53339 rm -f conf$$.dir/conf$$.file
53340 else
53341 rm -f conf$$.dir
53342 mkdir conf$$.dir
53343 fi
53344 echo >conf$$.file
53345 if ln -s conf$$.file conf$$ 2>/dev/null; then
53346 as_ln_s='ln -s'
53347 # ... but there are two gotchas:
53348 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53349 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53350 # In both cases, we have to default to `cp -p'.
53351 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53352 as_ln_s='cp -p'
53353 elif ln conf$$.file conf$$ 2>/dev/null; then
53354 as_ln_s=ln
53355 else
53356 as_ln_s='cp -p'
53357 fi
53358 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53359 rmdir conf$$.dir 2>/dev/null
53360
53361 if mkdir -p . 2>/dev/null; then
53362 as_mkdir_p=:
53363 else
53364 test -d ./-p && rmdir ./-p
53365 as_mkdir_p=false
53366 fi
53367
53368 if test -x / >/dev/null 2>&1; then
53369 as_test_x='test -x'
53370 else
53371 if ls -dL / >/dev/null 2>&1; then
53372 as_ls_L_option=L
53373 else
53374 as_ls_L_option=
53375 fi
53376 as_test_x='
53377 eval sh -c '\''
53378 if test -d "$1"; then
53379 test -d "$1/.";
53380 else
53381 case $1 in
53382 -*)set "./$1";;
53383 esac;
53384 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53385 ???[sx]*):;;*)false;;esac;fi
53386 '\'' sh
53387 '
53388 fi
53389 as_executable_p=$as_test_x
53390
53391 # Sed expression to map a string onto a valid CPP name.
53392 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53393
53394 # Sed expression to map a string onto a valid variable name.
53395 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53396
53397
53398 exec 6>&1
53399
53400 # Save the log message, to keep $[0] and so on meaningful, and to
53401 # report actual input values of CONFIG_FILES etc. instead of their
53402 # values after options handling.
53403 ac_log="
53404 This file was extended by wxWidgets $as_me 2.9.0, which was
53405 generated by GNU Autoconf 2.61. Invocation command line was
53406
53407 CONFIG_FILES = $CONFIG_FILES
53408 CONFIG_HEADERS = $CONFIG_HEADERS
53409 CONFIG_LINKS = $CONFIG_LINKS
53410 CONFIG_COMMANDS = $CONFIG_COMMANDS
53411 $ $0 $@
53412
53413 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53414 "
53415
53416 _ACEOF
53417
53418 cat >>$CONFIG_STATUS <<_ACEOF
53419 # Files that config.status was made for.
53420 config_files="$ac_config_files"
53421 config_headers="$ac_config_headers"
53422 config_commands="$ac_config_commands"
53423
53424 _ACEOF
53425
53426 cat >>$CONFIG_STATUS <<\_ACEOF
53427 ac_cs_usage="\
53428 \`$as_me' instantiates files from templates according to the
53429 current configuration.
53430
53431 Usage: $0 [OPTIONS] [FILE]...
53432
53433 -h, --help print this help, then exit
53434 -V, --version print version number and configuration settings, then exit
53435 -q, --quiet do not print progress messages
53436 -d, --debug don't remove temporary files
53437 --recheck update $as_me by reconfiguring in the same conditions
53438 --file=FILE[:TEMPLATE]
53439 instantiate the configuration file FILE
53440 --header=FILE[:TEMPLATE]
53441 instantiate the configuration header FILE
53442
53443 Configuration files:
53444 $config_files
53445
53446 Configuration headers:
53447 $config_headers
53448
53449 Configuration commands:
53450 $config_commands
53451
53452 Report bugs to <bug-autoconf@gnu.org>."
53453
53454 _ACEOF
53455 cat >>$CONFIG_STATUS <<_ACEOF
53456 ac_cs_version="\\
53457 wxWidgets config.status 2.9.0
53458 configured by $0, generated by GNU Autoconf 2.61,
53459 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53460
53461 Copyright (C) 2006 Free Software Foundation, Inc.
53462 This config.status script is free software; the Free Software Foundation
53463 gives unlimited permission to copy, distribute and modify it."
53464
53465 ac_pwd='$ac_pwd'
53466 srcdir='$srcdir'
53467 INSTALL='$INSTALL'
53468 _ACEOF
53469
53470 cat >>$CONFIG_STATUS <<\_ACEOF
53471 # If no file are specified by the user, then we need to provide default
53472 # value. By we need to know if files were specified by the user.
53473 ac_need_defaults=:
53474 while test $# != 0
53475 do
53476 case $1 in
53477 --*=*)
53478 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53479 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53480 ac_shift=:
53481 ;;
53482 *)
53483 ac_option=$1
53484 ac_optarg=$2
53485 ac_shift=shift
53486 ;;
53487 esac
53488
53489 case $ac_option in
53490 # Handling of the options.
53491 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53492 ac_cs_recheck=: ;;
53493 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53494 echo "$ac_cs_version"; exit ;;
53495 --debug | --debu | --deb | --de | --d | -d )
53496 debug=: ;;
53497 --file | --fil | --fi | --f )
53498 $ac_shift
53499 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53500 ac_need_defaults=false;;
53501 --header | --heade | --head | --hea )
53502 $ac_shift
53503 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53504 ac_need_defaults=false;;
53505 --he | --h)
53506 # Conflict between --help and --header
53507 { echo "$as_me: error: ambiguous option: $1
53508 Try \`$0 --help' for more information." >&2
53509 { (exit 1); exit 1; }; };;
53510 --help | --hel | -h )
53511 echo "$ac_cs_usage"; exit ;;
53512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53513 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53514 ac_cs_silent=: ;;
53515
53516 # This is an error.
53517 -*) { echo "$as_me: error: unrecognized option: $1
53518 Try \`$0 --help' for more information." >&2
53519 { (exit 1); exit 1; }; } ;;
53520
53521 *) ac_config_targets="$ac_config_targets $1"
53522 ac_need_defaults=false ;;
53523
53524 esac
53525 shift
53526 done
53527
53528 ac_configure_extra_args=
53529
53530 if $ac_cs_silent; then
53531 exec 6>/dev/null
53532 ac_configure_extra_args="$ac_configure_extra_args --silent"
53533 fi
53534
53535 _ACEOF
53536 cat >>$CONFIG_STATUS <<_ACEOF
53537 if \$ac_cs_recheck; then
53538 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53539 CONFIG_SHELL=$SHELL
53540 export CONFIG_SHELL
53541 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53542 fi
53543
53544 _ACEOF
53545 cat >>$CONFIG_STATUS <<\_ACEOF
53546 exec 5>>config.log
53547 {
53548 echo
53549 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53550 ## Running $as_me. ##
53551 _ASBOX
53552 echo "$ac_log"
53553 } >&5
53554
53555 _ACEOF
53556 cat >>$CONFIG_STATUS <<_ACEOF
53557 #
53558 # INIT-COMMANDS
53559 #
53560
53561 CPP="$CPP"
53562 infile="$srcdir/include/wx/msw/genrcdefs.h"
53563 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53564
53565
53566 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53567 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53568 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53569 LN_S="${LN_S}"
53570
53571
53572 _ACEOF
53573
53574 cat >>$CONFIG_STATUS <<\_ACEOF
53575
53576 # Handling of arguments.
53577 for ac_config_target in $ac_config_targets
53578 do
53579 case $ac_config_target in
53580 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53581 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53582 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53583 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53584 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53585 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53586 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53587 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53588
53589 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53590 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53591 { (exit 1); exit 1; }; };;
53592 esac
53593 done
53594
53595
53596 # If the user did not use the arguments to specify the items to instantiate,
53597 # then the envvar interface is used. Set only those that are not.
53598 # We use the long form for the default assignment because of an extremely
53599 # bizarre bug on SunOS 4.1.3.
53600 if $ac_need_defaults; then
53601 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53602 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53603 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53604 fi
53605
53606 # Have a temporary directory for convenience. Make it in the build tree
53607 # simply because there is no reason against having it here, and in addition,
53608 # creating and moving files from /tmp can sometimes cause problems.
53609 # Hook for its removal unless debugging.
53610 # Note that there is a small window in which the directory will not be cleaned:
53611 # after its creation but before its name has been assigned to `$tmp'.
53612 $debug ||
53613 {
53614 tmp=
53615 trap 'exit_status=$?
53616 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53617 ' 0
53618 trap '{ (exit 1); exit 1; }' 1 2 13 15
53619 }
53620 # Create a (secure) tmp directory for tmp files.
53621
53622 {
53623 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53624 test -n "$tmp" && test -d "$tmp"
53625 } ||
53626 {
53627 tmp=./conf$$-$RANDOM
53628 (umask 077 && mkdir "$tmp")
53629 } ||
53630 {
53631 echo "$me: cannot create a temporary directory in ." >&2
53632 { (exit 1); exit 1; }
53633 }
53634
53635 #
53636 # Set up the sed scripts for CONFIG_FILES section.
53637 #
53638
53639 # No need to generate the scripts if there are no CONFIG_FILES.
53640 # This happens for instance when ./config.status config.h
53641 if test -n "$CONFIG_FILES"; then
53642
53643 _ACEOF
53644
53645
53646
53647 ac_delim='%!_!# '
53648 for ac_last_try in false false false false false :; do
53649 cat >conf$$subs.sed <<_ACEOF
53650 SHELL!$SHELL$ac_delim
53651 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53652 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53653 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53654 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53655 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53656 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53657 exec_prefix!$exec_prefix$ac_delim
53658 prefix!$prefix$ac_delim
53659 program_transform_name!$program_transform_name$ac_delim
53660 bindir!$bindir$ac_delim
53661 sbindir!$sbindir$ac_delim
53662 libexecdir!$libexecdir$ac_delim
53663 datarootdir!$datarootdir$ac_delim
53664 datadir!$datadir$ac_delim
53665 sysconfdir!$sysconfdir$ac_delim
53666 sharedstatedir!$sharedstatedir$ac_delim
53667 localstatedir!$localstatedir$ac_delim
53668 includedir!$includedir$ac_delim
53669 oldincludedir!$oldincludedir$ac_delim
53670 docdir!$docdir$ac_delim
53671 infodir!$infodir$ac_delim
53672 htmldir!$htmldir$ac_delim
53673 dvidir!$dvidir$ac_delim
53674 pdfdir!$pdfdir$ac_delim
53675 psdir!$psdir$ac_delim
53676 libdir!$libdir$ac_delim
53677 localedir!$localedir$ac_delim
53678 mandir!$mandir$ac_delim
53679 DEFS!$DEFS$ac_delim
53680 ECHO_C!$ECHO_C$ac_delim
53681 ECHO_N!$ECHO_N$ac_delim
53682 ECHO_T!$ECHO_T$ac_delim
53683 LIBS!$LIBS$ac_delim
53684 build_alias!$build_alias$ac_delim
53685 host_alias!$host_alias$ac_delim
53686 target_alias!$target_alias$ac_delim
53687 build!$build$ac_delim
53688 build_cpu!$build_cpu$ac_delim
53689 build_vendor!$build_vendor$ac_delim
53690 build_os!$build_os$ac_delim
53691 host!$host$ac_delim
53692 host_cpu!$host_cpu$ac_delim
53693 host_vendor!$host_vendor$ac_delim
53694 host_os!$host_os$ac_delim
53695 target!$target$ac_delim
53696 target_cpu!$target_cpu$ac_delim
53697 target_vendor!$target_vendor$ac_delim
53698 target_os!$target_os$ac_delim
53699 wx_top_builddir!$wx_top_builddir$ac_delim
53700 CC!$CC$ac_delim
53701 CFLAGS!$CFLAGS$ac_delim
53702 LDFLAGS!$LDFLAGS$ac_delim
53703 CPPFLAGS!$CPPFLAGS$ac_delim
53704 ac_ct_CC!$ac_ct_CC$ac_delim
53705 EXEEXT!$EXEEXT$ac_delim
53706 OBJEXT!$OBJEXT$ac_delim
53707 CPP!$CPP$ac_delim
53708 GREP!$GREP$ac_delim
53709 EGREP!$EGREP$ac_delim
53710 CXX!$CXX$ac_delim
53711 CXXFLAGS!$CXXFLAGS$ac_delim
53712 ac_ct_CXX!$ac_ct_CXX$ac_delim
53713 AR!$AR$ac_delim
53714 subdirs!$subdirs$ac_delim
53715 PKG_CONFIG!$PKG_CONFIG$ac_delim
53716 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53717 GTK_LIBS!$GTK_LIBS$ac_delim
53718 GTK_CONFIG!$GTK_CONFIG$ac_delim
53719 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53720 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53721 XMKMF!$XMKMF$ac_delim
53722 X_CFLAGS!$X_CFLAGS$ac_delim
53723 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53724 X_LIBS!$X_LIBS$ac_delim
53725 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53726 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53727 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53728 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53729 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53730 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53731 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53732 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53733 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53734 LIBICONV!$LIBICONV$ac_delim
53735 SDL_CONFIG!$SDL_CONFIG$ac_delim
53736 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53737 SDL_LIBS!$SDL_LIBS$ac_delim
53738 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53739 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53740 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53741 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53742 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53743 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53744 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53745 HILDON_LIBS!$HILDON_LIBS$ac_delim
53746 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53747 _ACEOF
53748
53749 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53750 break
53751 elif $ac_last_try; then
53752 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53753 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53754 { (exit 1); exit 1; }; }
53755 else
53756 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53757 fi
53758 done
53759
53760 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53761 if test -n "$ac_eof"; then
53762 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53763 ac_eof=`expr $ac_eof + 1`
53764 fi
53765
53766 cat >>$CONFIG_STATUS <<_ACEOF
53767 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53768 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53769 _ACEOF
53770 sed '
53771 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53772 s/^/s,@/; s/!/@,|#_!!_#|/
53773 :n
53774 t n
53775 s/'"$ac_delim"'$/,g/; t
53776 s/$/\\/; p
53777 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53778 ' >>$CONFIG_STATUS <conf$$subs.sed
53779 rm -f conf$$subs.sed
53780 cat >>$CONFIG_STATUS <<_ACEOF
53781 CEOF$ac_eof
53782 _ACEOF
53783
53784
53785 ac_delim='%!_!# '
53786 for ac_last_try in false false false false false :; do
53787 cat >conf$$subs.sed <<_ACEOF
53788 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53789 GST_CFLAGS!$GST_CFLAGS$ac_delim
53790 GST_LIBS!$GST_LIBS$ac_delim
53791 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53792 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53793 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53794 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53795 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53796 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53797 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53798 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53799 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53800 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53801 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53802 VENDOR!$VENDOR$ac_delim
53803 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53804 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53805 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53806 WXUNIV!$WXUNIV$ac_delim
53807 MONOLITHIC!$MONOLITHIC$ac_delim
53808 USE_PLUGINS!$USE_PLUGINS$ac_delim
53809 CXXWARNINGS!$CXXWARNINGS$ac_delim
53810 EXTRALIBS!$EXTRALIBS$ac_delim
53811 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53812 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53813 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53814 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53815 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53816 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53817 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53818 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53819 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53820 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53821 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53822 UNICODE!$UNICODE$ac_delim
53823 BUILD!$BUILD$ac_delim
53824 DEBUG_INFO!$DEBUG_INFO$ac_delim
53825 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53826 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53827 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53828 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53829 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53830 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53831 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53832 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53833 RANLIB!$RANLIB$ac_delim
53834 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53835 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53836 INSTALL_DATA!$INSTALL_DATA$ac_delim
53837 LN_S!$LN_S$ac_delim
53838 SET_MAKE!$SET_MAKE$ac_delim
53839 MAKE_SET!$MAKE_SET$ac_delim
53840 AROPTIONS!$AROPTIONS$ac_delim
53841 STRIP!$STRIP$ac_delim
53842 NM!$NM$ac_delim
53843 INSTALL_DIR!$INSTALL_DIR$ac_delim
53844 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53845 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53846 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53847 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53848 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53849 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53850 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53851 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53852 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53853 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53854 SO_SUFFIX!$SO_SUFFIX$ac_delim
53855 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53856 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53857 LIBPREFIX!$LIBPREFIX$ac_delim
53858 LIBEXT!$LIBEXT$ac_delim
53859 DLLPREFIX!$DLLPREFIX$ac_delim
53860 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53861 dlldir!$dlldir$ac_delim
53862 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53863 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53864 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53865 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53866 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53867 PIC_FLAG!$PIC_FLAG$ac_delim
53868 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53869 USE_SOVERSION!$USE_SOVERSION$ac_delim
53870 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53871 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53872 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53873 USE_MACVERSION!$USE_MACVERSION$ac_delim
53874 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53875 SONAME_FLAG!$SONAME_FLAG$ac_delim
53876 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53877 BK_DEPS!$BK_DEPS$ac_delim
53878 WINDRES!$WINDRES$ac_delim
53879 REZ!$REZ$ac_delim
53880 SETFILE!$SETFILE$ac_delim
53881 GCC_PCH!$GCC_PCH$ac_delim
53882 ICC_PCH!$ICC_PCH$ac_delim
53883 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53884 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53885 _ACEOF
53886
53887 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53888 break
53889 elif $ac_last_try; then
53890 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53891 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53892 { (exit 1); exit 1; }; }
53893 else
53894 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53895 fi
53896 done
53897
53898 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53899 if test -n "$ac_eof"; then
53900 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53901 ac_eof=`expr $ac_eof + 1`
53902 fi
53903
53904 cat >>$CONFIG_STATUS <<_ACEOF
53905 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53906 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53907 _ACEOF
53908 sed '
53909 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53910 s/^/s,@/; s/!/@,|#_!!_#|/
53911 :n
53912 t n
53913 s/'"$ac_delim"'$/,g/; t
53914 s/$/\\/; p
53915 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53916 ' >>$CONFIG_STATUS <conf$$subs.sed
53917 rm -f conf$$subs.sed
53918 cat >>$CONFIG_STATUS <<_ACEOF
53919 CEOF$ac_eof
53920 _ACEOF
53921
53922
53923 ac_delim='%!_!# '
53924 for ac_last_try in false false false false false :; do
53925 cat >conf$$subs.sed <<_ACEOF
53926 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53927 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53928 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53929 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53930 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53931 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53932 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53933 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53934 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53935 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53936 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53937 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53938 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53939 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53940 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53941 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53942 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53943 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53944 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53945 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53946 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53947 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53948 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53949 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53950 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53951 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53952 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53953 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53954 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53955 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53956 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53957 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53958 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53960 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53961 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53962 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53963 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53964 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53965 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53966 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53967 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53968 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53969 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53970 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53971 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53972 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53973 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53974 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53975 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53976 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53977 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53978 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53979 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53980 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53981 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53982 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53983 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53984 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53985 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53986 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53987 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53988 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53989 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53990 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53991 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53992 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53993 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53994 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53995 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53996 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53997 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53998 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53999 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54000 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54001 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54002 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54003 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54004 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54005 COND_SHARED_0!$COND_SHARED_0$ac_delim
54006 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54007 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54008 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54009 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54010 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54011 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54012 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54013 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54014 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54015 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54016 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54017 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54018 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54019 COND_SHARED_1!$COND_SHARED_1$ac_delim
54020 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54021 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54022 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54023 _ACEOF
54024
54025 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54026 break
54027 elif $ac_last_try; then
54028 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54029 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54030 { (exit 1); exit 1; }; }
54031 else
54032 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54033 fi
54034 done
54035
54036 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54037 if test -n "$ac_eof"; then
54038 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54039 ac_eof=`expr $ac_eof + 1`
54040 fi
54041
54042 cat >>$CONFIG_STATUS <<_ACEOF
54043 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54044 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54045 _ACEOF
54046 sed '
54047 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54048 s/^/s,@/; s/!/@,|#_!!_#|/
54049 :n
54050 t n
54051 s/'"$ac_delim"'$/,g/; t
54052 s/$/\\/; p
54053 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54054 ' >>$CONFIG_STATUS <conf$$subs.sed
54055 rm -f conf$$subs.sed
54056 cat >>$CONFIG_STATUS <<_ACEOF
54057 CEOF$ac_eof
54058 _ACEOF
54059
54060
54061 ac_delim='%!_!# '
54062 for ac_last_try in false false false false false :; do
54063 cat >conf$$subs.sed <<_ACEOF
54064 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54065 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54066 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54067 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54068 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54069 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54070 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54071 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54072 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54073 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54074 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54075 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54076 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54077 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54078 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54079 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54080 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54081 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54082 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54083 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54084 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54085 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54086 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54087 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54088 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54089 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54090 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54091 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54092 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54093 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54094 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54095 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54096 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54097 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54098 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54099 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54100 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54101 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54102 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54103 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54104 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54105 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54106 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54107 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54108 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54109 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54110 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54111 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54112 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54113 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54114 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54115 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54116 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54117 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54118 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54119 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54120 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54121 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54122 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54123 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54124 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54125 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54126 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54127 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54128 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54129 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54130 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54131 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54132 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54133 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54134 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54135 DEREZ!$DEREZ$ac_delim
54136 SHARED!$SHARED$ac_delim
54137 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54138 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54139 USE_GUI!$USE_GUI$ac_delim
54140 AFMINSTALL!$AFMINSTALL$ac_delim
54141 WIN32INSTALL!$WIN32INSTALL$ac_delim
54142 TOOLKIT!$TOOLKIT$ac_delim
54143 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54144 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54145 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54146 cross_compiling!$cross_compiling$ac_delim
54147 WIDGET_SET!$WIDGET_SET$ac_delim
54148 WX_RELEASE!$WX_RELEASE$ac_delim
54149 WX_VERSION!$WX_VERSION$ac_delim
54150 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54151 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54152 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54153 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54154 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54155 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54156 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54157 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54158 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54159 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54160 EXE_LINKER!$EXE_LINKER$ac_delim
54161 _ACEOF
54162
54163 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54164 break
54165 elif $ac_last_try; then
54166 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54167 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54168 { (exit 1); exit 1; }; }
54169 else
54170 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54171 fi
54172 done
54173
54174 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54175 if test -n "$ac_eof"; then
54176 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54177 ac_eof=`expr $ac_eof + 1`
54178 fi
54179
54180 cat >>$CONFIG_STATUS <<_ACEOF
54181 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54182 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54183 _ACEOF
54184 sed '
54185 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54186 s/^/s,@/; s/!/@,|#_!!_#|/
54187 :n
54188 t n
54189 s/'"$ac_delim"'$/,g/; t
54190 s/$/\\/; p
54191 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54192 ' >>$CONFIG_STATUS <conf$$subs.sed
54193 rm -f conf$$subs.sed
54194 cat >>$CONFIG_STATUS <<_ACEOF
54195 CEOF$ac_eof
54196 _ACEOF
54197
54198
54199 ac_delim='%!_!# '
54200 for ac_last_try in false false false false false :; do
54201 cat >conf$$subs.sed <<_ACEOF
54202 GUIDIST!$GUIDIST$ac_delim
54203 DISTDIR!$DISTDIR$ac_delim
54204 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54205 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54206 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54207 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54208 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54209 RESCOMP!$RESCOMP$ac_delim
54210 RESFLAGS!$RESFLAGS$ac_delim
54211 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54212 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54213 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54214 LIBWXMACRES!$LIBWXMACRES$ac_delim
54215 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54216 MACSETFILE!$MACSETFILE$ac_delim
54217 GCC!$GCC$ac_delim
54218 DLLTOOL!$DLLTOOL$ac_delim
54219 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54220 LIBOBJS!$LIBOBJS$ac_delim
54221 LTLIBOBJS!$LTLIBOBJS$ac_delim
54222 _ACEOF
54223
54224 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
54225 break
54226 elif $ac_last_try; then
54227 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54228 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54229 { (exit 1); exit 1; }; }
54230 else
54231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54232 fi
54233 done
54234
54235 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54236 if test -n "$ac_eof"; then
54237 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54238 ac_eof=`expr $ac_eof + 1`
54239 fi
54240
54241 cat >>$CONFIG_STATUS <<_ACEOF
54242 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54243 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54244 _ACEOF
54245 sed '
54246 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54247 s/^/s,@/; s/!/@,|#_!!_#|/
54248 :n
54249 t n
54250 s/'"$ac_delim"'$/,g/; t
54251 s/$/\\/; p
54252 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54253 ' >>$CONFIG_STATUS <conf$$subs.sed
54254 rm -f conf$$subs.sed
54255 cat >>$CONFIG_STATUS <<_ACEOF
54256 :end
54257 s/|#_!!_#|//g
54258 CEOF$ac_eof
54259 _ACEOF
54260
54261
54262 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54263 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54264 # trailing colons and then remove the whole line if VPATH becomes empty
54265 # (actually we leave an empty line to preserve line numbers).
54266 if test "x$srcdir" = x.; then
54267 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54268 s/:*\$(srcdir):*/:/
54269 s/:*\${srcdir}:*/:/
54270 s/:*@srcdir@:*/:/
54271 s/^\([^=]*=[ ]*\):*/\1/
54272 s/:*$//
54273 s/^[^=]*=[ ]*$//
54274 }'
54275 fi
54276
54277 cat >>$CONFIG_STATUS <<\_ACEOF
54278 fi # test -n "$CONFIG_FILES"
54279
54280
54281 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54282 do
54283 case $ac_tag in
54284 :[FHLC]) ac_mode=$ac_tag; continue;;
54285 esac
54286 case $ac_mode$ac_tag in
54287 :[FHL]*:*);;
54288 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54289 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54290 { (exit 1); exit 1; }; };;
54291 :[FH]-) ac_tag=-:-;;
54292 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54293 esac
54294 ac_save_IFS=$IFS
54295 IFS=:
54296 set x $ac_tag
54297 IFS=$ac_save_IFS
54298 shift
54299 ac_file=$1
54300 shift
54301
54302 case $ac_mode in
54303 :L) ac_source=$1;;
54304 :[FH])
54305 ac_file_inputs=
54306 for ac_f
54307 do
54308 case $ac_f in
54309 -) ac_f="$tmp/stdin";;
54310 *) # Look for the file first in the build tree, then in the source tree
54311 # (if the path is not absolute). The absolute path cannot be DOS-style,
54312 # because $ac_f cannot contain `:'.
54313 test -f "$ac_f" ||
54314 case $ac_f in
54315 [\\/$]*) false;;
54316 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54317 esac ||
54318 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54319 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54320 { (exit 1); exit 1; }; };;
54321 esac
54322 ac_file_inputs="$ac_file_inputs $ac_f"
54323 done
54324
54325 # Let's still pretend it is `configure' which instantiates (i.e., don't
54326 # use $as_me), people would be surprised to read:
54327 # /* config.h. Generated by config.status. */
54328 configure_input="Generated from "`IFS=:
54329 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54330 if test x"$ac_file" != x-; then
54331 configure_input="$ac_file. $configure_input"
54332 { echo "$as_me:$LINENO: creating $ac_file" >&5
54333 echo "$as_me: creating $ac_file" >&6;}
54334 fi
54335
54336 case $ac_tag in
54337 *:-:* | *:-) cat >"$tmp/stdin";;
54338 esac
54339 ;;
54340 esac
54341
54342 ac_dir=`$as_dirname -- "$ac_file" ||
54343 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54344 X"$ac_file" : 'X\(//\)[^/]' \| \
54345 X"$ac_file" : 'X\(//\)$' \| \
54346 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54347 echo X"$ac_file" |
54348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54349 s//\1/
54350 q
54351 }
54352 /^X\(\/\/\)[^/].*/{
54353 s//\1/
54354 q
54355 }
54356 /^X\(\/\/\)$/{
54357 s//\1/
54358 q
54359 }
54360 /^X\(\/\).*/{
54361 s//\1/
54362 q
54363 }
54364 s/.*/./; q'`
54365 { as_dir="$ac_dir"
54366 case $as_dir in #(
54367 -*) as_dir=./$as_dir;;
54368 esac
54369 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54370 as_dirs=
54371 while :; do
54372 case $as_dir in #(
54373 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54374 *) as_qdir=$as_dir;;
54375 esac
54376 as_dirs="'$as_qdir' $as_dirs"
54377 as_dir=`$as_dirname -- "$as_dir" ||
54378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54379 X"$as_dir" : 'X\(//\)[^/]' \| \
54380 X"$as_dir" : 'X\(//\)$' \| \
54381 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54382 echo X"$as_dir" |
54383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54384 s//\1/
54385 q
54386 }
54387 /^X\(\/\/\)[^/].*/{
54388 s//\1/
54389 q
54390 }
54391 /^X\(\/\/\)$/{
54392 s//\1/
54393 q
54394 }
54395 /^X\(\/\).*/{
54396 s//\1/
54397 q
54398 }
54399 s/.*/./; q'`
54400 test -d "$as_dir" && break
54401 done
54402 test -z "$as_dirs" || eval "mkdir $as_dirs"
54403 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54404 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54405 { (exit 1); exit 1; }; }; }
54406 ac_builddir=.
54407
54408 case "$ac_dir" in
54409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54410 *)
54411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54412 # A ".." for each directory in $ac_dir_suffix.
54413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54414 case $ac_top_builddir_sub in
54415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54417 esac ;;
54418 esac
54419 ac_abs_top_builddir=$ac_pwd
54420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54421 # for backward compatibility:
54422 ac_top_builddir=$ac_top_build_prefix
54423
54424 case $srcdir in
54425 .) # We are building in place.
54426 ac_srcdir=.
54427 ac_top_srcdir=$ac_top_builddir_sub
54428 ac_abs_top_srcdir=$ac_pwd ;;
54429 [\\/]* | ?:[\\/]* ) # Absolute name.
54430 ac_srcdir=$srcdir$ac_dir_suffix;
54431 ac_top_srcdir=$srcdir
54432 ac_abs_top_srcdir=$srcdir ;;
54433 *) # Relative name.
54434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54435 ac_top_srcdir=$ac_top_build_prefix$srcdir
54436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54437 esac
54438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54439
54440
54441 case $ac_mode in
54442 :F)
54443 #
54444 # CONFIG_FILE
54445 #
54446
54447 case $INSTALL in
54448 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54449 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54450 esac
54451 _ACEOF
54452
54453 cat >>$CONFIG_STATUS <<\_ACEOF
54454 # If the template does not know about datarootdir, expand it.
54455 # FIXME: This hack should be removed a few years after 2.60.
54456 ac_datarootdir_hack=; ac_datarootdir_seen=
54457
54458 case `sed -n '/datarootdir/ {
54459 p
54460 q
54461 }
54462 /@datadir@/p
54463 /@docdir@/p
54464 /@infodir@/p
54465 /@localedir@/p
54466 /@mandir@/p
54467 ' $ac_file_inputs` in
54468 *datarootdir*) ac_datarootdir_seen=yes;;
54469 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54470 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54471 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54472 _ACEOF
54473 cat >>$CONFIG_STATUS <<_ACEOF
54474 ac_datarootdir_hack='
54475 s&@datadir@&$datadir&g
54476 s&@docdir@&$docdir&g
54477 s&@infodir@&$infodir&g
54478 s&@localedir@&$localedir&g
54479 s&@mandir@&$mandir&g
54480 s&\\\${datarootdir}&$datarootdir&g' ;;
54481 esac
54482 _ACEOF
54483
54484 # Neutralize VPATH when `$srcdir' = `.'.
54485 # Shell code in configure.ac might set extrasub.
54486 # FIXME: do we really want to maintain this feature?
54487 cat >>$CONFIG_STATUS <<_ACEOF
54488 sed "$ac_vpsub
54489 $extrasub
54490 _ACEOF
54491 cat >>$CONFIG_STATUS <<\_ACEOF
54492 :t
54493 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54494 s&@configure_input@&$configure_input&;t t
54495 s&@top_builddir@&$ac_top_builddir_sub&;t t
54496 s&@srcdir@&$ac_srcdir&;t t
54497 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54498 s&@top_srcdir@&$ac_top_srcdir&;t t
54499 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54500 s&@builddir@&$ac_builddir&;t t
54501 s&@abs_builddir@&$ac_abs_builddir&;t t
54502 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54503 s&@INSTALL@&$ac_INSTALL&;t t
54504 $ac_datarootdir_hack
54505 " $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
54506
54507 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54508 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54509 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54510 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54511 which seems to be undefined. Please make sure it is defined." >&5
54512 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54513 which seems to be undefined. Please make sure it is defined." >&2;}
54514
54515 rm -f "$tmp/stdin"
54516 case $ac_file in
54517 -) cat "$tmp/out"; rm -f "$tmp/out";;
54518 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54519 esac
54520 ;;
54521 :H)
54522 #
54523 # CONFIG_HEADER
54524 #
54525 _ACEOF
54526
54527 # Transform confdefs.h into a sed script `conftest.defines', that
54528 # substitutes the proper values into config.h.in to produce config.h.
54529 rm -f conftest.defines conftest.tail
54530 # First, append a space to every undef/define line, to ease matching.
54531 echo 's/$/ /' >conftest.defines
54532 # Then, protect against being on the right side of a sed subst, or in
54533 # an unquoted here document, in config.status. If some macros were
54534 # called several times there might be several #defines for the same
54535 # symbol, which is useless. But do not sort them, since the last
54536 # AC_DEFINE must be honored.
54537 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54538 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54539 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54540 # PARAMS is the parameter list in the macro definition--in most cases, it's
54541 # just an empty string.
54542 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54543 ac_dB='\\)[ (].*,\\1define\\2'
54544 ac_dC=' '
54545 ac_dD=' ,'
54546
54547 uniq confdefs.h |
54548 sed -n '
54549 t rset
54550 :rset
54551 s/^[ ]*#[ ]*define[ ][ ]*//
54552 t ok
54553 d
54554 :ok
54555 s/[\\&,]/\\&/g
54556 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54557 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54558 ' >>conftest.defines
54559
54560 # Remove the space that was appended to ease matching.
54561 # Then replace #undef with comments. This is necessary, for
54562 # example, in the case of _POSIX_SOURCE, which is predefined and required
54563 # on some systems where configure will not decide to define it.
54564 # (The regexp can be short, since the line contains either #define or #undef.)
54565 echo 's/ $//
54566 s,^[ #]*u.*,/* & */,' >>conftest.defines
54567
54568 # Break up conftest.defines:
54569 ac_max_sed_lines=50
54570
54571 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54572 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54573 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54574 # et cetera.
54575 ac_in='$ac_file_inputs'
54576 ac_out='"$tmp/out1"'
54577 ac_nxt='"$tmp/out2"'
54578
54579 while :
54580 do
54581 # Write a here document:
54582 cat >>$CONFIG_STATUS <<_ACEOF
54583 # First, check the format of the line:
54584 cat >"\$tmp/defines.sed" <<\\CEOF
54585 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54586 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54587 b
54588 :def
54589 _ACEOF
54590 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54591 echo 'CEOF
54592 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54593 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54594 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54595 grep . conftest.tail >/dev/null || break
54596 rm -f conftest.defines
54597 mv conftest.tail conftest.defines
54598 done
54599 rm -f conftest.defines conftest.tail
54600
54601 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54602 cat >>$CONFIG_STATUS <<\_ACEOF
54603 if test x"$ac_file" != x-; then
54604 echo "/* $configure_input */" >"$tmp/config.h"
54605 cat "$ac_result" >>"$tmp/config.h"
54606 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54607 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54608 echo "$as_me: $ac_file is unchanged" >&6;}
54609 else
54610 rm -f $ac_file
54611 mv "$tmp/config.h" $ac_file
54612 fi
54613 else
54614 echo "/* $configure_input */"
54615 cat "$ac_result"
54616 fi
54617 rm -f "$tmp/out12"
54618 ;;
54619
54620 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54621 echo "$as_me: executing $ac_file commands" >&6;}
54622 ;;
54623 esac
54624
54625
54626 case $ac_file$ac_mode in
54627 "rcdefs.h":C)
54628 mkdir -p $outdir &&
54629 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54630 ;;
54631 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54632 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54633 "wx-config":C) rm -f wx-config
54634 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54635 ;;
54636
54637 esac
54638 done # for ac_tag
54639
54640
54641 { (exit 0); exit 0; }
54642 _ACEOF
54643 chmod +x $CONFIG_STATUS
54644 ac_clean_files=$ac_clean_files_save
54645
54646
54647 # configure is writing to config.log, and then calls config.status.
54648 # config.status does its own redirection, appending to config.log.
54649 # Unfortunately, on DOS this fails, as config.log is still kept open
54650 # by configure, so config.status won't be able to write to it; its
54651 # output is simply discarded. So we exec the FD to /dev/null,
54652 # effectively closing config.log, so it can be properly (re)opened and
54653 # appended to by config.status. When coming back to configure, we
54654 # need to make the FD available again.
54655 if test "$no_create" != yes; then
54656 ac_cs_success=:
54657 ac_config_status_args=
54658 test "$silent" = yes &&
54659 ac_config_status_args="$ac_config_status_args --quiet"
54660 exec 5>/dev/null
54661 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54662 exec 5>>config.log
54663 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54664 # would make configure fail if this is the last instruction.
54665 $ac_cs_success || { (exit 1); exit 1; }
54666 fi
54667
54668 #
54669 # CONFIG_SUBDIRS section.
54670 #
54671 if test "$no_recursion" != yes; then
54672
54673 # Remove --cache-file and --srcdir arguments so they do not pile up.
54674 ac_sub_configure_args=
54675 ac_prev=
54676 eval "set x $ac_configure_args"
54677 shift
54678 for ac_arg
54679 do
54680 if test -n "$ac_prev"; then
54681 ac_prev=
54682 continue
54683 fi
54684 case $ac_arg in
54685 -cache-file | --cache-file | --cache-fil | --cache-fi \
54686 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54687 ac_prev=cache_file ;;
54688 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54689 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54690 | --c=*)
54691 ;;
54692 --config-cache | -C)
54693 ;;
54694 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54695 ac_prev=srcdir ;;
54696 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54697 ;;
54698 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54699 ac_prev=prefix ;;
54700 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54701 ;;
54702 *)
54703 case $ac_arg in
54704 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54705 esac
54706 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54707 esac
54708 done
54709
54710 # Always prepend --prefix to ensure using the same prefix
54711 # in subdir configurations.
54712 ac_arg="--prefix=$prefix"
54713 case $ac_arg in
54714 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54715 esac
54716 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54717
54718 # Pass --silent
54719 if test "$silent" = yes; then
54720 ac_sub_configure_args="--silent $ac_sub_configure_args"
54721 fi
54722
54723 ac_popdir=`pwd`
54724 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54725
54726 # Do not complain, so a configure script can configure whichever
54727 # parts of a large source tree are present.
54728 test -d "$srcdir/$ac_dir" || continue
54729
54730 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54731 echo "$as_me:$LINENO: $ac_msg" >&5
54732 echo "$ac_msg" >&6
54733 { as_dir="$ac_dir"
54734 case $as_dir in #(
54735 -*) as_dir=./$as_dir;;
54736 esac
54737 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54738 as_dirs=
54739 while :; do
54740 case $as_dir in #(
54741 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54742 *) as_qdir=$as_dir;;
54743 esac
54744 as_dirs="'$as_qdir' $as_dirs"
54745 as_dir=`$as_dirname -- "$as_dir" ||
54746 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54747 X"$as_dir" : 'X\(//\)[^/]' \| \
54748 X"$as_dir" : 'X\(//\)$' \| \
54749 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54750 echo X"$as_dir" |
54751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54752 s//\1/
54753 q
54754 }
54755 /^X\(\/\/\)[^/].*/{
54756 s//\1/
54757 q
54758 }
54759 /^X\(\/\/\)$/{
54760 s//\1/
54761 q
54762 }
54763 /^X\(\/\).*/{
54764 s//\1/
54765 q
54766 }
54767 s/.*/./; q'`
54768 test -d "$as_dir" && break
54769 done
54770 test -z "$as_dirs" || eval "mkdir $as_dirs"
54771 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54772 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54773 { (exit 1); exit 1; }; }; }
54774 ac_builddir=.
54775
54776 case "$ac_dir" in
54777 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54778 *)
54779 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54780 # A ".." for each directory in $ac_dir_suffix.
54781 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54782 case $ac_top_builddir_sub in
54783 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54784 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54785 esac ;;
54786 esac
54787 ac_abs_top_builddir=$ac_pwd
54788 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54789 # for backward compatibility:
54790 ac_top_builddir=$ac_top_build_prefix
54791
54792 case $srcdir in
54793 .) # We are building in place.
54794 ac_srcdir=.
54795 ac_top_srcdir=$ac_top_builddir_sub
54796 ac_abs_top_srcdir=$ac_pwd ;;
54797 [\\/]* | ?:[\\/]* ) # Absolute name.
54798 ac_srcdir=$srcdir$ac_dir_suffix;
54799 ac_top_srcdir=$srcdir
54800 ac_abs_top_srcdir=$srcdir ;;
54801 *) # Relative name.
54802 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54803 ac_top_srcdir=$ac_top_build_prefix$srcdir
54804 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54805 esac
54806 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54807
54808
54809 cd "$ac_dir"
54810
54811 # Check for guested configure; otherwise get Cygnus style configure.
54812 if test -f "$ac_srcdir/configure.gnu"; then
54813 ac_sub_configure=$ac_srcdir/configure.gnu
54814 elif test -f "$ac_srcdir/configure"; then
54815 ac_sub_configure=$ac_srcdir/configure
54816 elif test -f "$ac_srcdir/configure.in"; then
54817 # This should be Cygnus configure.
54818 ac_sub_configure=$ac_aux_dir/configure
54819 else
54820 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54821 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54822 ac_sub_configure=
54823 fi
54824
54825 # The recursion is here.
54826 if test -n "$ac_sub_configure"; then
54827 # Make the cache file name correct relative to the subdirectory.
54828 case $cache_file in
54829 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54830 *) # Relative name.
54831 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54832 esac
54833
54834 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54835 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54836 # The eval makes quoting arguments work.
54837 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54838 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54839 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54840 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54841 { (exit 1); exit 1; }; }
54842 fi
54843
54844 cd "$ac_popdir"
54845 done
54846 fi
54847
54848
54849 echo
54850 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54851 echo ""
54852 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54853 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54854
54855 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54856 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54857 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54858 if test "$wxUSE_UNICODE" = "yes"; then
54859 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54860 echo " (using UTF-8)"
54861 else
54862 echo " (using wchar_t)"
54863 fi
54864 else
54865 echo
54866 fi
54867
54868 echo " What level of wxWidgets compatibility should be enabled?"
54869 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54870 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54871
54872 echo " Which libraries should wxWidgets use?"
54873 echo " STL ${wxUSE_STL}"
54874 echo " jpeg ${wxUSE_LIBJPEG-none}"
54875 echo " png ${wxUSE_LIBPNG-none}"
54876 echo " regex ${wxUSE_REGEX}"
54877 echo " tiff ${wxUSE_LIBTIFF-none}"
54878 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54879 echo " xpm ${wxUSE_LIBXPM-none}"
54880 fi
54881 echo " zlib ${wxUSE_ZLIB}"
54882 echo " odbc ${wxUSE_ODBC}"
54883 echo " expat ${wxUSE_EXPAT}"
54884 echo " libmspack ${wxUSE_LIBMSPACK}"
54885 echo " sdl ${wxUSE_LIBSDL}"
54886
54887 echo ""
54888