]> git.saurik.com Git - wxWidgets.git/blob - configure
the Ubuntu visibility bug only happens when building shared libraries on some systems...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47919 2007-08-07 01:38:18Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 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 LIBGNOMEPRINTUI_CFLAGS
708 LIBGNOMEPRINTUI_LIBS
709 GNOMEVFS_CFLAGS
710 GNOMEVFS_LIBS
711 HILDON_CFLAGS
712 HILDON_LIBS
713 CAIRO_CFLAGS
714 CAIRO_LIBS
715 GST_CFLAGS
716 GST_LIBS
717 ALL_WX_LIBS
718 BUILT_WX_LIBS
719 STD_BASE_LIBS
720 STD_GUI_LIBS
721 wxUSE_ZLIB
722 wxUSE_REGEX
723 wxUSE_EXPAT
724 wxUSE_ODBC
725 wxUSE_LIBJPEG
726 wxUSE_LIBPNG
727 wxUSE_LIBTIFF
728 VENDOR
729 OFFICIAL_BUILD
730 WX_FLAVOUR
731 WX_LIB_FLAVOUR
732 WXUNIV
733 MONOLITHIC
734 USE_PLUGINS
735 CXXWARNINGS
736 EXTRALIBS
737 EXTRALIBS_XML
738 EXTRALIBS_HTML
739 EXTRALIBS_ODBC
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 WITH_PLUGIN_SDL
744 EXTRALIBS_GNOMEPRINT
745 EXTRALIBS_GNOMEVFS
746 EXTRALIBS_HILDON
747 UNICODE
748 BUILD
749 DEBUG_INFO
750 DEBUG_FLAG
751 TOOLKIT_LOWERCASE
752 TOOLKIT_VERSION
753 SAMPLES_RPATH_FLAG
754 SAMPLES_RPATH_POSTLINK
755 HOST_SUFFIX
756 CPPUNIT_CFLAGS
757 CPPUNIT_LIBS
758 RANLIB
759 INSTALL_PROGRAM
760 INSTALL_SCRIPT
761 INSTALL_DATA
762 LN_S
763 SET_MAKE
764 MAKE_SET
765 AROPTIONS
766 STRIP
767 NM
768 INSTALL_DIR
769 LDFLAGS_GUI
770 IF_GNU_MAKE
771 PLATFORM_UNIX
772 PLATFORM_WIN32
773 PLATFORM_MSDOS
774 PLATFORM_MAC
775 PLATFORM_MACOS
776 PLATFORM_MACOSX
777 PLATFORM_OS2
778 PLATFORM_BEOS
779 SO_SUFFIX
780 SO_SUFFIX_MODULE
781 DLLIMP_SUFFIX
782 LIBPREFIX
783 LIBEXT
784 DLLPREFIX
785 DLLPREFIX_MODULE
786 dlldir
787 AIX_CXX_LD
788 SHARED_LD_CC
789 SHARED_LD_CXX
790 SHARED_LD_MODULE_CC
791 SHARED_LD_MODULE_CXX
792 PIC_FLAG
793 WINDOWS_IMPLIB
794 USE_SOVERSION
795 USE_SOVERLINUX
796 USE_SOVERSOLARIS
797 USE_SOVERCYGWIN
798 USE_MACVERSION
799 USE_SOSYMLINKS
800 SONAME_FLAG
801 DEPS_TRACKING
802 BK_DEPS
803 WINDRES
804 REZ
805 SETFILE
806 GCC_PCH
807 ICC_PCH
808 BK_MAKE_PCH
809 COND_BUILD_DEBUG
810 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
811 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
812 COND_BUILD_DEBUG_UNICODE_0
813 COND_BUILD_DEBUG_UNICODE_1
814 COND_BUILD_RELEASE
815 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
816 COND_BUILD_RELEASE_UNICODE_0
817 COND_BUILD_RELEASE_UNICODE_1
818 COND_DEBUG_FLAG_1
819 COND_DEBUG_INFO_0
820 COND_DEBUG_INFO_1
821 COND_DEPS_TRACKING_0
822 COND_DEPS_TRACKING_1
823 COND_GCC_PCH_1
824 COND_ICC_PCH_1
825 COND_MONOLITHIC_0
826 COND_MONOLITHIC_0_SHARED_0
827 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
846 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
848 COND_MONOLITHIC_0_USE_AUI_1
849 COND_MONOLITHIC_0_USE_GUI_1
850 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_HTML_1
853 COND_MONOLITHIC_0_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_QA_1
856 COND_MONOLITHIC_0_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_USE_STC_1
858 COND_MONOLITHIC_0_USE_XRC_1
859 COND_MONOLITHIC_1
860 COND_MONOLITHIC_1_SHARED_0
861 COND_MONOLITHIC_1_SHARED_1
862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
863 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
864 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
865 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
866 COND_PLATFORM_MACOSX_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_
868 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
869 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
871 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
873 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
874 COND_PLATFORM_MACOSX_1_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
876 COND_PLATFORM_MACOS_1
877 COND_PLATFORM_MAC_1
878 COND_PLATFORM_MSDOS_0
879 COND_PLATFORM_MSDOS_1
880 COND_PLATFORM_OS2_1
881 COND_PLATFORM_UNIX_0
882 COND_PLATFORM_UNIX_1
883 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
885 COND_PLATFORM_UNIX_1_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
887 COND_PLATFORM_WIN32_0
888 COND_PLATFORM_WIN32_1
889 COND_SHARED_0
890 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
891 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
897 COND_SHARED_0_USE_STC_1
898 COND_SHARED_0_USE_XRC_1
899 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
900 COND_SHARED_0_WXUSE_ODBC_BUILTIN
901 COND_SHARED_0_WXUSE_REGEX_BUILTIN
902 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
903 COND_SHARED_1
904 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
905 COND_SHARED_1_USE_XRC_1
906 COND_TOOLKIT_
907 COND_TOOLKIT_COCOA
908 COND_TOOLKIT_COCOA_USE_GUI_1
909 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_DFB
911 COND_TOOLKIT_DFB_USE_GUI_1
912 COND_TOOLKIT_GTK
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_USE_GUI_1
920 COND_TOOLKIT_MAC
921 COND_TOOLKIT_MAC_USE_GUI_1
922 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MGL
924 COND_TOOLKIT_MGL_USE_GUI_1
925 COND_TOOLKIT_MOTIF
926 COND_TOOLKIT_MOTIF_USE_GUI_1
927 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_MSW
929 COND_TOOLKIT_MSW_USE_GUI_1
930 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_WXUNIV_0
932 COND_TOOLKIT_PM
933 COND_TOOLKIT_PM_USE_GUI_1
934 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE
936 COND_TOOLKIT_WINCE_USE_GUI_1
937 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_WXUNIV_0
939 COND_TOOLKIT_X11
940 COND_TOOLKIT_X11_USE_GUI_1
941 COND_UNICODE_1
942 COND_USE_EXCEPTIONS_0
943 COND_USE_EXCEPTIONS_1
944 COND_USE_GUI_0
945 COND_USE_GUI_1
946 COND_USE_GUI_1_USE_OPENGL_1
947 COND_USE_GUI_1_WXUNIV_0
948 COND_USE_GUI_1_WXUNIV_1
949 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
950 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
951 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
952 COND_USE_ODBC_1
953 COND_USE_OPENGL_1
954 COND_USE_PCH_1
955 COND_USE_PLUGINS_0
956 COND_USE_RTTI_0
957 COND_USE_RTTI_1
958 COND_USE_SOSYMLINKS_1
959 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
960 COND_USE_SOVERLINUX_1
961 COND_USE_SOVERSION_0
962 COND_USE_SOVERSOLARIS_1
963 COND_USE_STC_1
964 COND_USE_THREADS_0
965 COND_USE_THREADS_1
966 COND_USE_XRC_1
967 COND_WINDOWS_IMPLIB_1
968 COND_WITH_PLUGIN_SDL_1
969 COND_WXUNIV_0
970 COND_WXUNIV_1
971 COND_WXUSE_EXPAT_BUILTIN
972 COND_WXUSE_LIBJPEG_BUILTIN
973 COND_WXUSE_LIBPNG_BUILTIN
974 COND_WXUSE_LIBTIFF_BUILTIN
975 COND_WXUSE_ODBC_BUILTIN
976 COND_WXUSE_REGEX_BUILTIN
977 COND_WXUSE_ZLIB_BUILTIN
978 DEREZ
979 SHARED
980 WX_LIBRARY_BASENAME_NOGUI
981 WX_LIBRARY_BASENAME_GUI
982 USE_GUI
983 AFMINSTALL
984 WIN32INSTALL
985 TOOLKIT
986 TOOLKIT_DIR
987 TOOLCHAIN_NAME
988 TOOLCHAIN_FULLNAME
989 cross_compiling
990 WIDGET_SET
991 WX_RELEASE
992 WX_VERSION
993 WX_SUBVERSION
994 WX_CHARTYPE
995 WX_DEBUGTYPE
996 WXCONFIG_CPPFLAGS
997 WXCONFIG_CFLAGS
998 WXCONFIG_CXXFLAGS
999 WXCONFIG_LIBS
1000 WXCONFIG_RPATH
1001 WXCONFIG_LDFLAGS_GUI
1002 WXCONFIG_RESFLAGS
1003 EXE_LINKER
1004 GUIDIST
1005 DISTDIR
1006 SAMPLES_SUBDIRS
1007 LDFLAGS_GL
1008 OPENGL_LIBS
1009 DMALLOC_LIBS
1010 WX_VERSION_TAG
1011 RESCOMP
1012 RESFLAGS
1013 RESPROGRAMOBJ
1014 WX_RESOURCES_MACOSX_ASCII
1015 WX_RESOURCES_MACOSX_DATA
1016 LIBWXMACRES
1017 POSTLINK_COMMAND
1018 MACSETFILE
1019 GCC
1020 DLLTOOL
1021 CPPUNIT_CONFIG
1022 LIBOBJS
1023 LTLIBOBJS'
1024 ac_subst_files=''
1025 ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 CXX
1035 CXXFLAGS
1036 CCC
1037 PKG_CONFIG
1038 DIRECTFB_CFLAGS
1039 DIRECTFB_LIBS
1040 XMKMF
1041 PANGOX_CFLAGS
1042 PANGOX_LIBS
1043 PANGOFT2_CFLAGS
1044 PANGOFT2_LIBS
1045 PANGOXFT_CFLAGS
1046 PANGOXFT_LIBS
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1049 GNOMEVFS_CFLAGS
1050 GNOMEVFS_LIBS
1051 HILDON_CFLAGS
1052 HILDON_LIBS
1053 CAIRO_CFLAGS
1054 CAIRO_LIBS
1055 GST_CFLAGS
1056 GST_LIBS'
1057 ac_subdirs_all='src/expat'
1058
1059 # Initialize some variables set by options.
1060 ac_init_help=
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1065 exec_prefix=NONE
1066 no_create=
1067 no_recursion=
1068 prefix=NONE
1069 program_prefix=NONE
1070 program_suffix=NONE
1071 program_transform_name=s,x,x,
1072 silent=
1073 site=
1074 srcdir=
1075 verbose=
1076 x_includes=NONE
1077 x_libraries=NONE
1078
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1097 htmldir='${docdir}'
1098 dvidir='${docdir}'
1099 pdfdir='${docdir}'
1100 psdir='${docdir}'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1104
1105 ac_prev=
1106 ac_dashdash=
1107 for ac_option
1108 do
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1112 ac_prev=
1113 continue
1114 fi
1115
1116 case $ac_option in
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1118 *) ac_optarg=yes ;;
1119 esac
1120
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1122
1123 case $ac_dashdash$ac_option in
1124 --)
1125 ac_dashdash=yes ;;
1126
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1128 ac_prev=bindir ;;
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1131
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1136
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1143
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1146
1147 -datadir | --datadir | --datadi | --datad)
1148 ac_prev=datadir ;;
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1151
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1158
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1167
1168 -docdir | --docdir | --docdi | --doc | --do)
1169 ac_prev=docdir ;;
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1172
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1174 ac_prev=dvidir ;;
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1177
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1186
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1195
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1198 with_gas=yes ;;
1199
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1206
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1211
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1213 ac_prev=htmldir ;;
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1215 | --ht=*)
1216 htmldir=$ac_optarg ;;
1217
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1224
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1226 ac_prev=infodir ;;
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1229
1230 -libdir | --libdir | --libdi | --libd)
1231 ac_prev=libdir ;;
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1234
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1241
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1246
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1253
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 ac_prev=mandir ;;
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1258
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1261 with_fp=no ;;
1262
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1265 no_create=yes ;;
1266
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 no_recursion=yes ;;
1270
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1279
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1281 ac_prev=prefix ;;
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1284
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1291
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1298
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1315
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1317 ac_prev=pdfdir ;;
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1320
1321 -psdir | --psdir | --psdi | --psd | --ps)
1322 ac_prev=psdir ;;
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 psdir=$ac_optarg ;;
1325
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1328 silent=yes ;;
1329
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1331 ac_prev=sbindir ;;
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1333 | --sbi=* | --sb=*)
1334 sbindir=$ac_optarg ;;
1335
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1339 | --sha | --sh)
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1344 | --sha=* | --sh=*)
1345 sharedstatedir=$ac_optarg ;;
1346
1347 -site | --site | --sit)
1348 ac_prev=site ;;
1349 -site=* | --site=* | --sit=*)
1350 site=$ac_optarg ;;
1351
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1353 ac_prev=srcdir ;;
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1356
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1363
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1368
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 verbose=yes ;;
1371
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1374
1375 -with-* | --with-*)
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1383
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1392
1393 --x)
1394 # Obsolete; use --with-x.
1395 with_x=yes ;;
1396
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1403
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1410
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1414 ;;
1415
1416 *=*)
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1424
1425 *)
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 ;;
1432
1433 esac
1434 done
1435
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1440 fi
1441
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1447 do
1448 eval ac_val=\$$ac_var
1449 case $ac_val in
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1452 esac
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1455 done
1456
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1460 build=$build_alias
1461 host=$host_alias
1462 target=$target_alias
1463
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1471 cross_compiling=yes
1472 fi
1473 fi
1474
1475 ac_tool_prefix=
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477
1478 test "$silent" = yes && exec 6>/dev/null
1479
1480
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1489
1490
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1500 echo X"$0" |
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)[^/].*/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\/\)$/{
1510 s//\1/
1511 q
1512 }
1513 /^X\(\/\).*/{
1514 s//\1/
1515 q
1516 }
1517 s/.*/./; q'`
1518 srcdir=$ac_confdir
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 srcdir=..
1521 fi
1522 else
1523 ac_srcdir_defaulted=no
1524 fi
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1529 fi
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 ac_abs_confdir=`(
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1534 pwd)`
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1537 srcdir=.
1538 fi
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1542 case $srcdir in
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 esac
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 done
1551
1552 #
1553 # Report the --help message.
1554 #
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1558 cat <<_ACEOF
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1560
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1562
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1565
1566 Defaults for the options are specified in brackets.
1567
1568 Configuration:
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1583 [PREFIX]
1584
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1589
1590 For better control, use the options below.
1591
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1612 _ACEOF
1613
1614 cat <<\_ACEOF
1615
1616 X features:
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1619
1620 System types:
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1624 _ACEOF
1625 fi
1626
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 esac
1631 cat <<\_ACEOF
1632
1633 Optional Features:
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use help subsystem
1735 --enable-mshtmlhelp use MS HTML Help (win32)
1736 --enable-html use wxHTML sub-library
1737 --enable-htmlhelp use wxHTML-based help
1738 --enable-xrc use XRC resources sub-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl (Mac)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context 2D drawing API
1751 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile (Win32 only)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images (GIF file format)
1843 --enable-pcx use pcx images (PCX file format)
1844 --enable-tga use tga images (TGA file format)
1845 --enable-iff use iff images (IFF file format)
1846 --enable-pnm use pnm images (PNM file format)
1847 --enable-xpm use xpm images (XPM file format)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects (Win32 only)
1850 --enable-iniconf use wxIniConfig (Win32 only)
1851 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1852 --enable-ownerdrawn use owner drawn controls (Win32 only)
1853 --enable-regkey use wxRegKey class (Win32 only)
1854 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1855 --enable-wxdib use wxDIB class (Win32 only)
1856 --disable-largefile omit support for large files
1857 --disable-gtktest do not try to compile and run a test GTK+ program
1858 --disable-gtktest Do not try to compile and run a test GTK program
1859 --disable-sdltest Do not try to compile and run a test SDL program
1860 --enable-omf use OMF object format (OS/2)
1861 --disable-dependency-tracking
1862 don't use dependency tracking even if the compiler
1863 can
1864 --disable-precomp-headers
1865 don't use precompiled headers even if compiler can
1866
1867 Optional Packages:
1868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1870 --without-subdirs don't generate makefiles for samples/demos/...
1871 --with-flavour=NAME specify a name to identify this build
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1874 --with-motif use Motif/Lesstif
1875 --with-mac use Mac OS X
1876 --with-cocoa use Cocoa
1877 --with-wine use Wine
1878 --with-msw use MS-Windows
1879 --with-pm use OS/2 Presentation Manager
1880 --with-mgl use SciTech MGL
1881 --with-directfb use DirectFB
1882 --with-microwin use MicroWindows
1883 --with-x11 use X11
1884 --with-libpng use libpng (PNG image format)
1885 --with-libjpeg use libjpeg (JPEG file format)
1886 --with-libtiff use libtiff (TIFF file format)
1887 --with-libxpm use libxpm (XPM file format)
1888 --with-libmspack use libmspack (CHM help files loading)
1889 --without-gnomeprint don't use GNOME printing libraries
1890 --with-gnomevfs use GNOME VFS for associating MIME types
1891 --with-hildon use Hildon framework for Nokia 770
1892 --with-opengl use OpenGL (or Mesa)
1893 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1894 --with-sdl use SDL for audio on Unix
1895 --with-regex enable support for wxRegEx class
1896 --with-zlib use zlib for LZW compression
1897 --with-odbc use the IODBC and wxODBC classes
1898 --with-expat enable XML support using expat parser
1899 --with-macosx-sdk=PATH use an OS X SDK at PATH
1900 --with-macosx-version-min=VER build binaries which require at least this OS X version
1901 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1902 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1903 --with-x use the X Window System
1904 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1905 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1906 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1907 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1908 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1909
1910 Some influential environment variables:
1911 CC C compiler command
1912 CFLAGS C compiler flags
1913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1914 nonstandard directory <lib dir>
1915 LIBS libraries to pass to the linker, e.g. -l<library>
1916 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1917 you have headers in a nonstandard directory <include dir>
1918 CPP C preprocessor
1919 CXX C++ compiler command
1920 CXXFLAGS C++ compiler flags
1921 PKG_CONFIG path to pkg-config utility
1922 DIRECTFB_CFLAGS
1923 C compiler flags for DIRECTFB, overriding pkg-config
1924 DIRECTFB_LIBS
1925 linker flags for DIRECTFB, overriding pkg-config
1926 XMKMF Path to xmkmf, Makefile generator for X Window System
1927 PANGOX_CFLAGS
1928 C compiler flags for PANGOX, overriding pkg-config
1929 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1930 PANGOFT2_CFLAGS
1931 C compiler flags for PANGOFT2, overriding pkg-config
1932 PANGOFT2_LIBS
1933 linker flags for PANGOFT2, overriding pkg-config
1934 PANGOXFT_CFLAGS
1935 C compiler flags for PANGOXFT, overriding pkg-config
1936 PANGOXFT_LIBS
1937 linker flags for PANGOXFT, overriding pkg-config
1938 LIBGNOMEPRINTUI_CFLAGS
1939 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1940 LIBGNOMEPRINTUI_LIBS
1941 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 GNOMEVFS_CFLAGS
1943 C compiler flags for GNOMEVFS, overriding pkg-config
1944 GNOMEVFS_LIBS
1945 linker flags for GNOMEVFS, overriding pkg-config
1946 HILDON_CFLAGS
1947 C compiler flags for HILDON, overriding pkg-config
1948 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1949 CAIRO_CFLAGS
1950 C compiler flags for CAIRO, overriding pkg-config
1951 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1952 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1953 GST_LIBS linker flags for GST, overriding pkg-config
1954
1955 Use these variables to override the choices made by `configure' or to help
1956 it to find libraries and programs with nonstandard names/locations.
1957
1958 Report bugs to <wx-dev@lists.wxwidgets.org>.
1959 _ACEOF
1960 ac_status=$?
1961 fi
1962
1963 if test "$ac_init_help" = "recursive"; then
1964 # If there are subdirs, report their specific --help.
1965 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1966 test -d "$ac_dir" || continue
1967 ac_builddir=.
1968
1969 case "$ac_dir" in
1970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1971 *)
1972 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1973 # A ".." for each directory in $ac_dir_suffix.
1974 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1975 case $ac_top_builddir_sub in
1976 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1977 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1978 esac ;;
1979 esac
1980 ac_abs_top_builddir=$ac_pwd
1981 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1982 # for backward compatibility:
1983 ac_top_builddir=$ac_top_build_prefix
1984
1985 case $srcdir in
1986 .) # We are building in place.
1987 ac_srcdir=.
1988 ac_top_srcdir=$ac_top_builddir_sub
1989 ac_abs_top_srcdir=$ac_pwd ;;
1990 [\\/]* | ?:[\\/]* ) # Absolute name.
1991 ac_srcdir=$srcdir$ac_dir_suffix;
1992 ac_top_srcdir=$srcdir
1993 ac_abs_top_srcdir=$srcdir ;;
1994 *) # Relative name.
1995 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1996 ac_top_srcdir=$ac_top_build_prefix$srcdir
1997 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1998 esac
1999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2000
2001 cd "$ac_dir" || { ac_status=$?; continue; }
2002 # Check for guested configure.
2003 if test -f "$ac_srcdir/configure.gnu"; then
2004 echo &&
2005 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2006 elif test -f "$ac_srcdir/configure"; then
2007 echo &&
2008 $SHELL "$ac_srcdir/configure" --help=recursive
2009 else
2010 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2011 fi || ac_status=$?
2012 cd "$ac_pwd" || { ac_status=$?; break; }
2013 done
2014 fi
2015
2016 test -n "$ac_init_help" && exit $ac_status
2017 if $ac_init_version; then
2018 cat <<\_ACEOF
2019 wxWidgets configure 2.9.0
2020 generated by GNU Autoconf 2.61
2021
2022 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2023 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2024 This configure script is free software; the Free Software Foundation
2025 gives unlimited permission to copy, distribute and modify it.
2026 _ACEOF
2027 exit
2028 fi
2029 cat >config.log <<_ACEOF
2030 This file contains any messages produced by compilers while
2031 running configure, to aid debugging if configure makes a mistake.
2032
2033 It was created by wxWidgets $as_me 2.9.0, which was
2034 generated by GNU Autoconf 2.61. Invocation command line was
2035
2036 $ $0 $@
2037
2038 _ACEOF
2039 exec 5>>config.log
2040 {
2041 cat <<_ASUNAME
2042 ## --------- ##
2043 ## Platform. ##
2044 ## --------- ##
2045
2046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2051
2052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2054
2055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2058 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2062
2063 _ASUNAME
2064
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 for as_dir in $PATH
2067 do
2068 IFS=$as_save_IFS
2069 test -z "$as_dir" && as_dir=.
2070 echo "PATH: $as_dir"
2071 done
2072 IFS=$as_save_IFS
2073
2074 } >&5
2075
2076 cat >&5 <<_ACEOF
2077
2078
2079 ## ----------- ##
2080 ## Core tests. ##
2081 ## ----------- ##
2082
2083 _ACEOF
2084
2085
2086 # Keep a trace of the command line.
2087 # Strip out --no-create and --no-recursion so they do not pile up.
2088 # Strip out --silent because we don't want to record it for future runs.
2089 # Also quote any args containing shell meta-characters.
2090 # Make two passes to allow for proper duplicate-argument suppression.
2091 ac_configure_args=
2092 ac_configure_args0=
2093 ac_configure_args1=
2094 ac_must_keep_next=false
2095 for ac_pass in 1 2
2096 do
2097 for ac_arg
2098 do
2099 case $ac_arg in
2100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2102 | -silent | --silent | --silen | --sile | --sil)
2103 continue ;;
2104 *\'*)
2105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2106 esac
2107 case $ac_pass in
2108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2109 2)
2110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2111 if test $ac_must_keep_next = true; then
2112 ac_must_keep_next=false # Got value, back to normal.
2113 else
2114 case $ac_arg in
2115 *=* | --config-cache | -C | -disable-* | --disable-* \
2116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2118 | -with-* | --with-* | -without-* | --without-* | --x)
2119 case "$ac_configure_args0 " in
2120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2121 esac
2122 ;;
2123 -* ) ac_must_keep_next=true ;;
2124 esac
2125 fi
2126 ac_configure_args="$ac_configure_args '$ac_arg'"
2127 ;;
2128 esac
2129 done
2130 done
2131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2133
2134 # When interrupted or exit'd, cleanup temporary files, and complete
2135 # config.log. We remove comments because anyway the quotes in there
2136 # would cause problems or look ugly.
2137 # WARNING: Use '\'' to represent an apostrophe within the trap.
2138 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2139 trap 'exit_status=$?
2140 # Save into config.log some information that might help in debugging.
2141 {
2142 echo
2143
2144 cat <<\_ASBOX
2145 ## ---------------- ##
2146 ## Cache variables. ##
2147 ## ---------------- ##
2148 _ASBOX
2149 echo
2150 # The following way of writing the cache mishandles newlines in values,
2151 (
2152 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2153 eval ac_val=\$$ac_var
2154 case $ac_val in #(
2155 *${as_nl}*)
2156 case $ac_var in #(
2157 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2158 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2159 esac
2160 case $ac_var in #(
2161 _ | IFS | as_nl) ;; #(
2162 *) $as_unset $ac_var ;;
2163 esac ;;
2164 esac
2165 done
2166 (set) 2>&1 |
2167 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2168 *${as_nl}ac_space=\ *)
2169 sed -n \
2170 "s/'\''/'\''\\\\'\'''\''/g;
2171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2172 ;; #(
2173 *)
2174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2175 ;;
2176 esac |
2177 sort
2178 )
2179 echo
2180
2181 cat <<\_ASBOX
2182 ## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##
2185 _ASBOX
2186 echo
2187 for ac_var in $ac_subst_vars
2188 do
2189 eval ac_val=\$$ac_var
2190 case $ac_val in
2191 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 esac
2193 echo "$ac_var='\''$ac_val'\''"
2194 done | sort
2195 echo
2196
2197 if test -n "$ac_subst_files"; then
2198 cat <<\_ASBOX
2199 ## ------------------- ##
2200 ## File substitutions. ##
2201 ## ------------------- ##
2202 _ASBOX
2203 echo
2204 for ac_var in $ac_subst_files
2205 do
2206 eval ac_val=\$$ac_var
2207 case $ac_val in
2208 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209 esac
2210 echo "$ac_var='\''$ac_val'\''"
2211 done | sort
2212 echo
2213 fi
2214
2215 if test -s confdefs.h; then
2216 cat <<\_ASBOX
2217 ## ----------- ##
2218 ## confdefs.h. ##
2219 ## ----------- ##
2220 _ASBOX
2221 echo
2222 cat confdefs.h
2223 echo
2224 fi
2225 test "$ac_signal" != 0 &&
2226 echo "$as_me: caught signal $ac_signal"
2227 echo "$as_me: exit $exit_status"
2228 } >&5
2229 rm -f core *.core core.conftest.* &&
2230 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2231 exit $exit_status
2232 ' 0
2233 for ac_signal in 1 2 13 15; do
2234 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2235 done
2236 ac_signal=0
2237
2238 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2239 rm -f -r conftest* confdefs.h
2240
2241 # Predefined preprocessor variables.
2242
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_NAME "$PACKAGE_NAME"
2245 _ACEOF
2246
2247
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2250 _ACEOF
2251
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2255 _ACEOF
2256
2257
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_STRING "$PACKAGE_STRING"
2260 _ACEOF
2261
2262
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2265 _ACEOF
2266
2267
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer explicitly selected file to automatically selected ones.
2270 if test -n "$CONFIG_SITE"; then
2271 set x "$CONFIG_SITE"
2272 elif test "x$prefix" != xNONE; then
2273 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2274 else
2275 set x "$ac_default_prefix/share/config.site" \
2276 "$ac_default_prefix/etc/config.site"
2277 fi
2278 shift
2279 for ac_site_file
2280 do
2281 if test -r "$ac_site_file"; then
2282 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2283 echo "$as_me: loading site script $ac_site_file" >&6;}
2284 sed 's/^/| /' "$ac_site_file" >&5
2285 . "$ac_site_file"
2286 fi
2287 done
2288
2289 if test -r "$cache_file"; then
2290 # Some versions of bash will fail to source /dev/null (special
2291 # files actually), so we avoid doing that.
2292 if test -f "$cache_file"; then
2293 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2294 echo "$as_me: loading cache $cache_file" >&6;}
2295 case $cache_file in
2296 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297 *) . "./$cache_file";;
2298 esac
2299 fi
2300 else
2301 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2302 echo "$as_me: creating cache $cache_file" >&6;}
2303 >$cache_file
2304 fi
2305
2306 # Check that the precious variables saved in the cache have kept the same
2307 # value.
2308 ac_cache_corrupted=false
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311 eval ac_new_set=\$ac_env_${ac_var}_set
2312 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313 eval ac_new_val=\$ac_env_${ac_var}_value
2314 case $ac_old_set,$ac_new_set in
2315 set,)
2316 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2317 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2319 ,set)
2320 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2321 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2323 ,);;
2324 *)
2325 if test "x$ac_old_val" != "x$ac_new_val"; then
2326 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2327 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2328 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2329 echo "$as_me: former value: $ac_old_val" >&2;}
2330 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2331 echo "$as_me: current value: $ac_new_val" >&2;}
2332 ac_cache_corrupted=:
2333 fi;;
2334 esac
2335 # Pass precious variables to config.status.
2336 if test "$ac_new_set" = set; then
2337 case $ac_new_val in
2338 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339 *) ac_arg=$ac_var=$ac_new_val ;;
2340 esac
2341 case " $ac_configure_args " in
2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2343 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2344 esac
2345 fi
2346 done
2347 if $ac_cache_corrupted; then
2348 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2349 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2350 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2351 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2352 { (exit 1); exit 1; }; }
2353 fi
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379 ac_ext=c
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2384
2385
2386
2387
2388
2389 ac_aux_dir=
2390 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2391 if test -f "$ac_dir/install-sh"; then
2392 ac_aux_dir=$ac_dir
2393 ac_install_sh="$ac_aux_dir/install-sh -c"
2394 break
2395 elif test -f "$ac_dir/install.sh"; then
2396 ac_aux_dir=$ac_dir
2397 ac_install_sh="$ac_aux_dir/install.sh -c"
2398 break
2399 elif test -f "$ac_dir/shtool"; then
2400 ac_aux_dir=$ac_dir
2401 ac_install_sh="$ac_aux_dir/shtool install -c"
2402 break
2403 fi
2404 done
2405 if test -z "$ac_aux_dir"; then
2406 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2407 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2408 { (exit 1); exit 1; }; }
2409 fi
2410
2411 # These three variables are undocumented and unsupported,
2412 # and are intended to be withdrawn in a future Autoconf release.
2413 # They can cause serious problems if a builder's source tree is in a directory
2414 # whose full name contains unusual characters.
2415 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2416 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2417 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2418
2419
2420 # Make sure we can run config.sub.
2421 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2422 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2423 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2424 { (exit 1); exit 1; }; }
2425
2426 { echo "$as_me:$LINENO: checking build system type" >&5
2427 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2428 if test "${ac_cv_build+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 else
2431 ac_build_alias=$build_alias
2432 test "x$ac_build_alias" = x &&
2433 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2434 test "x$ac_build_alias" = x &&
2435 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2436 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2437 { (exit 1); exit 1; }; }
2438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2439 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2441 { (exit 1); exit 1; }; }
2442
2443 fi
2444 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2445 echo "${ECHO_T}$ac_cv_build" >&6; }
2446 case $ac_cv_build in
2447 *-*-*) ;;
2448 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2449 echo "$as_me: error: invalid value of canonical build" >&2;}
2450 { (exit 1); exit 1; }; };;
2451 esac
2452 build=$ac_cv_build
2453 ac_save_IFS=$IFS; IFS='-'
2454 set x $ac_cv_build
2455 shift
2456 build_cpu=$1
2457 build_vendor=$2
2458 shift; shift
2459 # Remember, the first character of IFS is used to create $*,
2460 # except with old shells:
2461 build_os=$*
2462 IFS=$ac_save_IFS
2463 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2464
2465
2466 { echo "$as_me:$LINENO: checking host system type" >&5
2467 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2468 if test "${ac_cv_host+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 else
2471 if test "x$host_alias" = x; then
2472 ac_cv_host=$ac_cv_build
2473 else
2474 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2478 fi
2479
2480 fi
2481 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2482 echo "${ECHO_T}$ac_cv_host" >&6; }
2483 case $ac_cv_host in
2484 *-*-*) ;;
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2486 echo "$as_me: error: invalid value of canonical host" >&2;}
2487 { (exit 1); exit 1; }; };;
2488 esac
2489 host=$ac_cv_host
2490 ac_save_IFS=$IFS; IFS='-'
2491 set x $ac_cv_host
2492 shift
2493 host_cpu=$1
2494 host_vendor=$2
2495 shift; shift
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2498 host_os=$*
2499 IFS=$ac_save_IFS
2500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2501
2502
2503 { echo "$as_me:$LINENO: checking target system type" >&5
2504 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_target+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 else
2508 if test "x$target_alias" = x; then
2509 ac_cv_target=$ac_cv_host
2510 else
2511 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2515 fi
2516
2517 fi
2518 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2519 echo "${ECHO_T}$ac_cv_target" >&6; }
2520 case $ac_cv_target in
2521 *-*-*) ;;
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2523 echo "$as_me: error: invalid value of canonical target" >&2;}
2524 { (exit 1); exit 1; }; };;
2525 esac
2526 target=$ac_cv_target
2527 ac_save_IFS=$IFS; IFS='-'
2528 set x $ac_cv_target
2529 shift
2530 target_cpu=$1
2531 target_vendor=$2
2532 shift; shift
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2535 target_os=$*
2536 IFS=$ac_save_IFS
2537 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2538
2539
2540 # The aliases save the names the user supplied, while $host etc.
2541 # will get canonicalized.
2542 test -n "$target_alias" &&
2543 test "$program_prefix$program_suffix$program_transform_name" = \
2544 NONENONEs,x,x, &&
2545 program_prefix=${target_alias}-
2546
2547
2548
2549 wx_major_version_number=2
2550 wx_minor_version_number=9
2551 wx_release_number=0
2552 wx_subrelease_number=0
2553
2554 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2555 WX_VERSION=$WX_RELEASE.$wx_release_number
2556 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2557
2558 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2559
2560
2561 wx_top_builddir="`pwd`"
2562
2563
2564
2565
2566 USE_UNIX=1
2567 USE_OS2=0
2568 USE_WIN32=0
2569 USE_DOS=0
2570 USE_BEOS=0
2571 USE_MAC=0
2572
2573 USE_AIX=
2574 USE_BSD= USE_DARWIN= USE_FREEBSD=
2575 USE_GNU= USE_HPUX=
2576 USE_LINUX=
2577 USE_NETBSD=
2578 USE_OPENBSD=
2579 USE_OSF= USE_SGI=
2580 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2581 USE_ULTRIX=
2582 USE_UNIXWARE=
2583
2584 USE_ALPHA=
2585
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2587
2588 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2589
2590 DEFAULT_wxUSE_COCOA=0
2591 DEFAULT_wxUSE_GTK=0
2592 DEFAULT_wxUSE_MAC=0
2593 DEFAULT_wxUSE_MGL=0
2594 DEFAULT_wxUSE_MICROWIN=0
2595 DEFAULT_wxUSE_MOTIF=0
2596 DEFAULT_wxUSE_MSW=0
2597 DEFAULT_wxUSE_PM=0
2598 DEFAULT_wxUSE_X11=0
2599 DEFAULT_wxUSE_DFB=0
2600
2601 DEFAULT_DEFAULT_wxUSE_COCOA=0
2602 DEFAULT_DEFAULT_wxUSE_GTK=0
2603 DEFAULT_DEFAULT_wxUSE_MAC=0
2604 DEFAULT_DEFAULT_wxUSE_MGL=0
2605 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2606 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2607 DEFAULT_DEFAULT_wxUSE_MSW=0
2608 DEFAULT_DEFAULT_wxUSE_PM=0
2609 DEFAULT_DEFAULT_wxUSE_X11=0
2610 DEFAULT_DEFAULT_wxUSE_DFB=0
2611
2612 PROGRAM_EXT=
2613 SO_SUFFIX=so
2614 SAMPLES_RPATH_FLAG=
2615 SAMPLES_RPATH_POSTLINK=
2616
2617 DEFAULT_STD_FLAG=yes
2618
2619 case "${host}" in
2620 *-hp-hpux* )
2621 USE_HPUX=1
2622 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2624 SO_SUFFIX=sl
2625 cat >>confdefs.h <<\_ACEOF
2626 #define __HPUX__ 1
2627 _ACEOF
2628
2629
2630 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2631 ;;
2632 *-*-linux* )
2633 USE_LINUX=1
2634 cat >>confdefs.h <<\_ACEOF
2635 #define __LINUX__ 1
2636 _ACEOF
2637
2638 TMP=`uname -m`
2639 if test "x$TMP" = "xalpha"; then
2640 USE_ALPHA=1
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __ALPHA__ 1
2643 _ACEOF
2644
2645 fi
2646 DEFAULT_DEFAULT_wxUSE_GTK=1
2647 ;;
2648 *-*-gnu* | *-*-k*bsd*-gnu )
2649 USE_GNU=1
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 *-*-irix5* | *-*-irix6* )
2661 USE_SGI=1
2662 USE_SVR4=1
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __SGI__ 1
2665 _ACEOF
2666
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __SVR4__ 1
2669 _ACEOF
2670
2671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2672 ;;
2673 *-*-solaris2* )
2674 USE_SUN=1
2675 USE_SOLARIS=1
2676 USE_SVR4=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SUN__ 1
2679 _ACEOF
2680
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SOLARIS__ 1
2683 _ACEOF
2684
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __SVR4__ 1
2687 _ACEOF
2688
2689 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2690 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2691 ;;
2692 *-*-sunos4* )
2693 USE_SUN=1
2694 USE_SUNOS=1
2695 USE_BSD=1
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __SUN__ 1
2698 _ACEOF
2699
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __SUNOS__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __BSD__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2709 ;;
2710 *-*-freebsd*)
2711 USE_BSD=1
2712 USE_FREEBSD=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __FREEBSD__ 1
2715 _ACEOF
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __BSD__ 1
2719 _ACEOF
2720
2721 DEFAULT_DEFAULT_wxUSE_GTK=1
2722 ;;
2723 *-*-openbsd*|*-*-mirbsd*)
2724 USE_BSD=1
2725 USE_OPENBSD=1
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __OPENBSD__ 1
2728 _ACEOF
2729
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __BSD__ 1
2732 _ACEOF
2733
2734 DEFAULT_DEFAULT_wxUSE_GTK=1
2735 ;;
2736 *-*-netbsd*)
2737 USE_BSD=1
2738 USE_NETBSD=1
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __NETBSD__ 1
2741 _ACEOF
2742
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __BSD__ 1
2745 _ACEOF
2746
2747 DEFAULT_DEFAULT_wxUSE_GTK=1
2748 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2749
2750 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2751 ;;
2752 *-*-osf* )
2753 USE_ALPHA=1
2754 USE_OSF=1
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __ALPHA__ 1
2757 _ACEOF
2758
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __OSF__ 1
2761 _ACEOF
2762
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2765 ;;
2766 *-*-dgux5* )
2767 USE_ALPHA=1
2768 USE_SVR4=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __ALPHA__ 1
2771 _ACEOF
2772
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __SVR4__ 1
2775 _ACEOF
2776
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2778 ;;
2779 *-*-sysv5* )
2780 USE_SYSV=1
2781 USE_SVR4=1
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __SYSV__ 1
2784 _ACEOF
2785
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __SVR4__ 1
2788 _ACEOF
2789
2790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2791 ;;
2792 *-*-aix* )
2793 USE_AIX=1
2794 USE_SYSV=1
2795 USE_SVR4=1
2796 SO_SUFFIX=a
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __AIX__ 1
2799 _ACEOF
2800
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SYSV__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __SVR4__ 1
2807 _ACEOF
2808
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2810 ;;
2811
2812 *-*-*UnixWare*)
2813 USE_SYSV=1
2814 USE_SVR4=1
2815 USE_UNIXWARE=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __UNIXWARE__ 1
2818 _ACEOF
2819
2820 ;;
2821
2822 *-*-cygwin* | *-*-mingw32* )
2823 SO_SUFFIX=dll
2824 PROGRAM_EXT=".exe"
2825 DEFAULT_DEFAULT_wxUSE_MSW=1
2826 ;;
2827
2828 *-pc-msdosdjgpp )
2829 USE_UNIX=0
2830 USE_DOS=1
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __DOS__ 1
2833 _ACEOF
2834
2835 PROGRAM_EXT=".exe"
2836 DEFAULT_DEFAULT_wxUSE_MGL=1
2837 ;;
2838
2839 *-pc-os2_emx | *-pc-os2-emx )
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __EMX__ 1
2842 _ACEOF
2843
2844 USE_OS2=1
2845 cat >>confdefs.h <<\_ACEOF
2846 #define __OS2__ 1
2847 _ACEOF
2848
2849 PROGRAM_EXT=".exe"
2850 DEFAULT_DEFAULT_wxUSE_PM=1
2851 CXX=gcc
2852 LDFLAGS="$LDFLAGS -Zcrtdll"
2853 ac_executable_extensions=".exe"
2854 export ac_executable_extensions
2855 ac_save_IFS="$IFS"
2856 IFS='\\'
2857 ac_TEMP_PATH=
2858 for ac_dir in $PATH; do
2859 IFS=$ac_save_IFS
2860 if test -z "$ac_TEMP_PATH"; then
2861 ac_TEMP_PATH="$ac_dir"
2862 else
2863 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2864 fi
2865 done
2866 export PATH="$ac_TEMP_PATH"
2867 unset ac_TEMP_PATH
2868 DEFAULT_STD_FLAG=no
2869 ;;
2870
2871 *-*-darwin* )
2872 USE_BSD=1
2873 USE_DARWIN=1
2874 SO_SUFFIX=dylib
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __BSD__ 1
2877 _ACEOF
2878
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __DARWIN__ 1
2881 _ACEOF
2882
2883 cat >>confdefs.h <<\_ACEOF
2884 #define TARGET_CARBON 1
2885 _ACEOF
2886
2887 DEFAULT_DEFAULT_wxUSE_MAC=1
2888 DEFAULT_STD_FLAG=no
2889 ;;
2890 powerpc-apple-macos* )
2891 USE_UNIX=0
2892 ac_cv_c_bigendian=yes
2893 SO_SUFFIX=shlib
2894 DEFAULT_DEFAULT_wxUSE_MAC=1
2895 DEFAULT_STD_FLAG=no
2896 ;;
2897
2898 *-*-beos* )
2899 USE_BEOS=1
2900 cat >>confdefs.h <<\_ACEOF
2901 #define __BEOS__ 1
2902 _ACEOF
2903
2904 ;;
2905
2906 *)
2907 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2908 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2909 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2910 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2911
2912 DEFAULT_DEFAULT_wxUSE_X11=1
2913 DEFAULT_wxUSE_SHARED=no
2914 esac
2915
2916
2917
2918
2919 wx_arg_cache_file="configarg.cache"
2920 echo "loading argument cache $wx_arg_cache_file"
2921 rm -f ${wx_arg_cache_file}.tmp
2922 touch ${wx_arg_cache_file}.tmp
2923 touch ${wx_arg_cache_file}
2924
2925
2926 DEFAULT_wxUSE_ALL_FEATURES=yes
2927
2928 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2929 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2930
2931 DEFAULT_wxUSE_DMALLOC=no
2932 DEFAULT_wxUSE_LIBGNOMEVFS=no
2933 DEFAULT_wxUSE_LIBHILDON=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_ODBC=no
2937 DEFAULT_wxUSE_OPENGL=no
2938
2939 DEFAULT_wxUSE_ACCESSIBILITY=no
2940 DEFAULT_wxUSE_DATAVIEWCTRL=no
2941 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2942 DEFAULT_wxUSE_MEDIACTRL=no
2943 DEFAULT_wxUSE_TAB_DIALOG=no
2944
2945 DEFAULT_wxUSE_UNICODE_UTF8=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2947
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2949
2950 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2951
2952 DEFAULT_wxUSE_GTK2=yes
2953
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2955
2956
2957 for toolkit in `echo $ALL_TOOLKITS`; do
2958 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2959 if test "x$LINE" != "x" ; then
2960 has_toolkit_in_cache=1
2961 eval "DEFAULT_$LINE"
2962 eval "CACHE_$toolkit=1"
2963
2964 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2965 if test "x$LINE" != "x" ; then
2966 eval "DEFAULT_$LINE"
2967 fi
2968 fi
2969 done
2970
2971
2972
2973
2974
2975 enablestring=disable
2976 defaultval=
2977 if test -z "$defaultval"; then
2978 if test x"$enablestring" = xdisable; then
2979 defaultval=yes
2980 else
2981 defaultval=no
2982 fi
2983 fi
2984
2985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2986 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2987 # Check whether --enable-gui was given.
2988 if test "${enable_gui+set}" = set; then
2989 enableval=$enable_gui;
2990 if test "$enableval" = yes; then
2991 wx_cv_use_gui='wxUSE_GUI=yes'
2992 else
2993 wx_cv_use_gui='wxUSE_GUI=no'
2994 fi
2995 cache=yes
2996
2997 else
2998
2999 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x ; then
3001 eval "DEFAULT_$LINE"
3002 cache=yes
3003 else
3004 cache=no
3005 fi
3006
3007 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3008
3009 fi
3010
3011
3012 eval "$wx_cv_use_gui"
3013 if test "x$cache" = xyes; then
3014 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3015 fi
3016
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_GUI = yes; then
3019 result=no
3020 else
3021 result=yes
3022 fi
3023 else
3024 result=$wxUSE_GUI
3025 fi
3026
3027 { echo "$as_me:$LINENO: result: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3029
3030
3031 enablestring=
3032 defaultval=
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3035 defaultval=yes
3036 else
3037 defaultval=no
3038 fi
3039 fi
3040
3041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3042 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3043 # Check whether --enable-monolithic was given.
3044 if test "${enable_monolithic+set}" = set; then
3045 enableval=$enable_monolithic;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3048 else
3049 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3050 fi
3051 cache=yes
3052
3053 else
3054
3055 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x ; then
3057 eval "DEFAULT_$LINE"
3058 cache=yes
3059 else
3060 cache=no
3061 fi
3062
3063 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3064
3065 fi
3066
3067
3068 eval "$wx_cv_use_monolithic"
3069 if test "x$cache" = xyes; then
3070 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3071 fi
3072
3073 if test x"$enablestring" = xdisable; then
3074 if test $wxUSE_MONOLITHIC = yes; then
3075 result=no
3076 else
3077 result=yes
3078 fi
3079 else
3080 result=$wxUSE_MONOLITHIC
3081 fi
3082
3083 { echo "$as_me:$LINENO: result: $result" >&5
3084 echo "${ECHO_T}$result" >&6; }
3085
3086
3087 enablestring=
3088 defaultval=
3089 if test -z "$defaultval"; then
3090 if test x"$enablestring" = xdisable; then
3091 defaultval=yes
3092 else
3093 defaultval=no
3094 fi
3095 fi
3096
3097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3098 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3099 # Check whether --enable-plugins was given.
3100 if test "${enable_plugins+set}" = set; then
3101 enableval=$enable_plugins;
3102 if test "$enableval" = yes; then
3103 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3104 else
3105 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3106 fi
3107 cache=yes
3108
3109 else
3110
3111 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x ; then
3113 eval "DEFAULT_$LINE"
3114 cache=yes
3115 else
3116 cache=no
3117 fi
3118
3119 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3120
3121 fi
3122
3123
3124 eval "$wx_cv_use_plugins"
3125 if test "x$cache" = xyes; then
3126 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3127 fi
3128
3129 if test x"$enablestring" = xdisable; then
3130 if test $wxUSE_PLUGINS = yes; then
3131 result=no
3132 else
3133 result=yes
3134 fi
3135 else
3136 result=$wxUSE_PLUGINS
3137 fi
3138
3139 { echo "$as_me:$LINENO: result: $result" >&5
3140 echo "${ECHO_T}$result" >&6; }
3141
3142
3143 withstring=without
3144 defaultval=$wxUSE_ALL_FEATURES
3145 if test -z "$defaultval"; then
3146 if test x"$withstring" = xwithout; then
3147 defaultval=yes
3148 else
3149 defaultval=no
3150 fi
3151 fi
3152 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3153 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3154
3155 # Check whether --with-subdirs was given.
3156 if test "${with_subdirs+set}" = set; then
3157 withval=$with_subdirs;
3158 if test "$withval" = yes; then
3159 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3160 else
3161 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3162 fi
3163 cache=yes
3164
3165 else
3166
3167 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x ; then
3169 eval "DEFAULT_$LINE"
3170 cache=yes
3171 else
3172 cache=no
3173 fi
3174
3175 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3176
3177 fi
3178
3179
3180 eval "$wx_cv_use_subdirs"
3181 if test "x$cache" = xyes; then
3182 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3183 fi
3184
3185 if test x"$withstring" = xwithout; then
3186 if test $wxWITH_SUBDIRS = yes; then
3187 result=no
3188 else
3189 result=yes
3190 fi
3191 else
3192 result=$wxWITH_SUBDIRS
3193 fi
3194
3195 { echo "$as_me:$LINENO: result: $result" >&5
3196 echo "${ECHO_T}$result" >&6; }
3197
3198
3199 # Check whether --with-flavour was given.
3200 if test "${with_flavour+set}" = set; then
3201 withval=$with_flavour; WX_FLAVOUR="$withval"
3202 fi
3203
3204
3205 enablestring=
3206 defaultval=
3207 if test -z "$defaultval"; then
3208 if test x"$enablestring" = xdisable; then
3209 defaultval=yes
3210 else
3211 defaultval=no
3212 fi
3213 fi
3214
3215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3216 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3217 # Check whether --enable-official_build was given.
3218 if test "${enable_official_build+set}" = set; then
3219 enableval=$enable_official_build;
3220 if test "$enableval" = yes; then
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3222 else
3223 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3224 fi
3225 cache=yes
3226
3227 else
3228
3229 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3232 cache=yes
3233 else
3234 cache=no
3235 fi
3236
3237 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3238
3239 fi
3240
3241
3242 eval "$wx_cv_use_official_build"
3243 if test "x$cache" = xyes; then
3244 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3245 fi
3246
3247 if test x"$enablestring" = xdisable; then
3248 if test $wxUSE_OFFICIAL_BUILD = yes; then
3249 result=no
3250 else
3251 result=yes
3252 fi
3253 else
3254 result=$wxUSE_OFFICIAL_BUILD
3255 fi
3256
3257 { echo "$as_me:$LINENO: result: $result" >&5
3258 echo "${ECHO_T}$result" >&6; }
3259
3260 # Check whether --enable-vendor was given.
3261 if test "${enable_vendor+set}" = set; then
3262 enableval=$enable_vendor; VENDOR="$enableval"
3263 fi
3264
3265 if test "x$VENDOR" = "x"; then
3266 VENDOR="custom"
3267 fi
3268
3269
3270 enablestring=disable
3271 defaultval=
3272 if test -z "$defaultval"; then
3273 if test x"$enablestring" = xdisable; then
3274 defaultval=yes
3275 else
3276 defaultval=no
3277 fi
3278 fi
3279
3280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3281 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3282 # Check whether --enable-all-features was given.
3283 if test "${enable_all_features+set}" = set; then
3284 enableval=$enable_all_features;
3285 if test "$enableval" = yes; then
3286 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3287 else
3288 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3289 fi
3290 cache=yes
3291
3292 else
3293
3294 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3297 cache=yes
3298 else
3299 cache=no
3300 fi
3301
3302 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3303
3304 fi
3305
3306
3307 eval "$wx_cv_use_all_features"
3308 if test "x$cache" = xyes; then
3309 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3310 fi
3311
3312 if test x"$enablestring" = xdisable; then
3313 if test $wxUSE_ALL_FEATURES = yes; then
3314 result=no
3315 else
3316 result=yes
3317 fi
3318 else
3319 result=$wxUSE_ALL_FEATURES
3320 fi
3321
3322 { echo "$as_me:$LINENO: result: $result" >&5
3323 echo "${ECHO_T}$result" >&6; }
3324
3325
3326
3327 if test "$wxUSE_GUI" = "yes"; then
3328
3329
3330 enablestring=
3331 defaultval=
3332 if test -z "$defaultval"; then
3333 if test x"$enablestring" = xdisable; then
3334 defaultval=yes
3335 else
3336 defaultval=no
3337 fi
3338 fi
3339
3340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3341 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3342 # Check whether --enable-universal was given.
3343 if test "${enable_universal+set}" = set; then
3344 enableval=$enable_universal;
3345 if test "$enableval" = yes; then
3346 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3347 else
3348 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3349 fi
3350 cache=yes
3351
3352 else
3353
3354 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3357 cache=yes
3358 else
3359 cache=no
3360 fi
3361
3362 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3363
3364 fi
3365
3366
3367 eval "$wx_cv_use_universal"
3368 if test "x$cache" = xyes; then
3369 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3370 fi
3371
3372 if test x"$enablestring" = xdisable; then
3373 if test $wxUSE_UNIVERSAL = yes; then
3374 result=no
3375 else
3376 result=yes
3377 fi
3378 else
3379 result=$wxUSE_UNIVERSAL
3380 fi
3381
3382 { echo "$as_me:$LINENO: result: $result" >&5
3383 echo "${ECHO_T}$result" >&6; }
3384
3385 if test "$wxUSE_UNIVERSAL" = "yes"; then
3386
3387 # Check whether --with-themes was given.
3388 if test "${with_themes+set}" = set; then
3389 withval=$with_themes; wxUNIV_THEMES="$withval"
3390 fi
3391
3392 fi
3393
3394
3395 # Check whether --with-gtk was given.
3396 if test "${with_gtk+set}" = set; then
3397 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-motif was given.
3402 if test "${with_motif+set}" = set; then
3403 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3404 fi
3405
3406
3407 # Check whether --with-mac was given.
3408 if test "${with_mac+set}" = set; then
3409 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-cocoa was given.
3414 if test "${with_cocoa+set}" = set; then
3415 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-wine was given.
3420 if test "${with_wine+set}" = set; then
3421 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3422 fi
3423
3424
3425 # Check whether --with-msw was given.
3426 if test "${with_msw+set}" = set; then
3427 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-pm was given.
3432 if test "${with_pm+set}" = set; then
3433 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 # Check whether --with-mgl was given.
3438 if test "${with_mgl+set}" = set; then
3439 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 # Check whether --with-directfb was given.
3444 if test "${with_directfb+set}" = set; then
3445 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3446 fi
3447
3448
3449 # Check whether --with-microwin was given.
3450 if test "${with_microwin+set}" = set; then
3451 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3452 fi
3453
3454
3455 # Check whether --with-x11 was given.
3456 if test "${with_x11+set}" = set; then
3457 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3458 fi
3459
3460
3461 enablestring=
3462 defaultval=
3463 if test -z "$defaultval"; then
3464 if test x"$enablestring" = xdisable; then
3465 defaultval=yes
3466 else
3467 defaultval=no
3468 fi
3469 fi
3470
3471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3473 # Check whether --enable-nanox was given.
3474 if test "${enable_nanox+set}" = set; then
3475 enableval=$enable_nanox;
3476 if test "$enableval" = yes; then
3477 wx_cv_use_nanox='wxUSE_NANOX=yes'
3478 else
3479 wx_cv_use_nanox='wxUSE_NANOX=no'
3480 fi
3481 cache=yes
3482
3483 else
3484
3485 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x ; then
3487 eval "DEFAULT_$LINE"
3488 cache=yes
3489 else
3490 cache=no
3491 fi
3492
3493 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3494
3495 fi
3496
3497
3498 eval "$wx_cv_use_nanox"
3499 if test "x$cache" = xyes; then
3500 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3501 fi
3502
3503 if test x"$enablestring" = xdisable; then
3504 if test $wxUSE_NANOX = yes; then
3505 result=no
3506 else
3507 result=yes
3508 fi
3509 else
3510 result=$wxUSE_NANOX
3511 fi
3512
3513 { echo "$as_me:$LINENO: result: $result" >&5
3514 echo "${ECHO_T}$result" >&6; }
3515
3516
3517 # Check whether --enable-gtk2 was given.
3518 if test "${enable_gtk2+set}" = set; then
3519 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3520 fi
3521
3522
3523 enablestring=
3524 defaultval=
3525 if test -z "$defaultval"; then
3526 if test x"$enablestring" = xdisable; then
3527 defaultval=yes
3528 else
3529 defaultval=no
3530 fi
3531 fi
3532
3533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3535 # Check whether --enable-gpe was given.
3536 if test "${enable_gpe+set}" = set; then
3537 enableval=$enable_gpe;
3538 if test "$enableval" = yes; then
3539 wx_cv_use_gpe='wxUSE_GPE=yes'
3540 else
3541 wx_cv_use_gpe='wxUSE_GPE=no'
3542 fi
3543 cache=yes
3544
3545 else
3546
3547 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x ; then
3549 eval "DEFAULT_$LINE"
3550 cache=yes
3551 else
3552 cache=no
3553 fi
3554
3555 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3556
3557 fi
3558
3559
3560 eval "$wx_cv_use_gpe"
3561 if test "x$cache" = xyes; then
3562 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3563 fi
3564
3565 if test x"$enablestring" = xdisable; then
3566 if test $wxUSE_GPE = yes; then
3567 result=no
3568 else
3569 result=yes
3570 fi
3571 else
3572 result=$wxUSE_GPE
3573 fi
3574
3575 { echo "$as_me:$LINENO: result: $result" >&5
3576 echo "${ECHO_T}$result" >&6; }
3577
3578
3579
3580
3581 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3582 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3583
3584 # Check whether --with-libpng was given.
3585 if test "${with_libpng+set}" = set; then
3586 withval=$with_libpng;
3587 if test "$withval" = yes; then
3588 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3589 elif test "$withval" = no; then
3590 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3591 elif test "$withval" = sys; then
3592 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3593 elif test "$withval" = builtin; then
3594 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3595 else
3596 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3597 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3598 { (exit 1); exit 1; }; }
3599 fi
3600 cache=yes
3601
3602 else
3603
3604 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x ; then
3606 eval "DEFAULT_$LINE"
3607 cache=yes
3608 else
3609 cache=no
3610 fi
3611
3612 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3613
3614 fi
3615
3616
3617 eval "$wx_cv_use_libpng"
3618 if test "x$cache" = xyes; then
3619 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3620 fi
3621
3622 if test "$wxUSE_LIBPNG" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBPNG" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBPNG" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBPNG" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3634 else
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3638 fi
3639
3640
3641 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3642 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3643
3644 # Check whether --with-libjpeg was given.
3645 if test "${with_libjpeg+set}" = set; then
3646 withval=$with_libjpeg;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3655 else
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3659 fi
3660 cache=yes
3661
3662 else
3663
3664 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3667 cache=yes
3668 else
3669 cache=no
3670 fi
3671
3672 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3673
3674 fi
3675
3676
3677 eval "$wx_cv_use_libjpeg"
3678 if test "x$cache" = xyes; then
3679 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3680 fi
3681
3682 if test "$wxUSE_LIBJPEG" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBJPEG" = no; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBJPEG" = sys; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBJPEG" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3694 else
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3698 fi
3699
3700
3701 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3702 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3703
3704 # Check whether --with-libtiff was given.
3705 if test "${with_libtiff+set}" = set; then
3706 withval=$with_libtiff;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3709 elif test "$withval" = no; then
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3711 elif test "$withval" = sys; then
3712 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3715 else
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3719 fi
3720 cache=yes
3721
3722 else
3723
3724 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3727 cache=yes
3728 else
3729 cache=no
3730 fi
3731
3732 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3733
3734 fi
3735
3736
3737 eval "$wx_cv_use_libtiff"
3738 if test "x$cache" = xyes; then
3739 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3740 fi
3741
3742 if test "$wxUSE_LIBTIFF" = yes; then
3743 { echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6; }
3745 elif test "$wxUSE_LIBTIFF" = no; then
3746 { echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6; }
3748 elif test "$wxUSE_LIBTIFF" = sys; then
3749 { echo "$as_me:$LINENO: result: system version" >&5
3750 echo "${ECHO_T}system version" >&6; }
3751 elif test "$wxUSE_LIBTIFF" = builtin; then
3752 { echo "$as_me:$LINENO: result: builtin version" >&5
3753 echo "${ECHO_T}builtin version" >&6; }
3754 else
3755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3756 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3757 { (exit 1); exit 1; }; }
3758 fi
3759
3760
3761 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3762 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3763
3764 # Check whether --with-libxpm was given.
3765 if test "${with_libxpm+set}" = set; then
3766 withval=$with_libxpm;
3767 if test "$withval" = yes; then
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3769 elif test "$withval" = no; then
3770 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3771 elif test "$withval" = sys; then
3772 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3773 elif test "$withval" = builtin; then
3774 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3775 else
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3779 fi
3780 cache=yes
3781
3782 else
3783
3784 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3785 if test "x$LINE" != x ; then
3786 eval "DEFAULT_$LINE"
3787 cache=yes
3788 else
3789 cache=no
3790 fi
3791
3792 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3793
3794 fi
3795
3796
3797 eval "$wx_cv_use_libxpm"
3798 if test "x$cache" = xyes; then
3799 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3800 fi
3801
3802 if test "$wxUSE_LIBXPM" = yes; then
3803 { echo "$as_me:$LINENO: result: yes" >&5
3804 echo "${ECHO_T}yes" >&6; }
3805 elif test "$wxUSE_LIBXPM" = no; then
3806 { echo "$as_me:$LINENO: result: no" >&5
3807 echo "${ECHO_T}no" >&6; }
3808 elif test "$wxUSE_LIBXPM" = sys; then
3809 { echo "$as_me:$LINENO: result: system version" >&5
3810 echo "${ECHO_T}system version" >&6; }
3811 elif test "$wxUSE_LIBXPM" = builtin; then
3812 { echo "$as_me:$LINENO: result: builtin version" >&5
3813 echo "${ECHO_T}builtin version" >&6; }
3814 else
3815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3816 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3817 { (exit 1); exit 1; }; }
3818 fi
3819
3820
3821 withstring=
3822 defaultval=$wxUSE_ALL_FEATURES
3823 if test -z "$defaultval"; then
3824 if test x"$withstring" = xwithout; then
3825 defaultval=yes
3826 else
3827 defaultval=no
3828 fi
3829 fi
3830 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3831 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3832
3833 # Check whether --with-libmspack was given.
3834 if test "${with_libmspack+set}" = set; then
3835 withval=$with_libmspack;
3836 if test "$withval" = yes; then
3837 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3838 else
3839 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3840 fi
3841 cache=yes
3842
3843 else
3844
3845 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x ; then
3847 eval "DEFAULT_$LINE"
3848 cache=yes
3849 else
3850 cache=no
3851 fi
3852
3853 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3854
3855 fi
3856
3857
3858 eval "$wx_cv_use_libmspack"
3859 if test "x$cache" = xyes; then
3860 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3861 fi
3862
3863 if test x"$withstring" = xwithout; then
3864 if test $wxUSE_LIBMSPACK = yes; then
3865 result=no
3866 else
3867 result=yes
3868 fi
3869 else
3870 result=$wxUSE_LIBMSPACK
3871 fi
3872
3873 { echo "$as_me:$LINENO: result: $result" >&5
3874 echo "${ECHO_T}$result" >&6; }
3875
3876
3877 withstring=without
3878 defaultval=$wxUSE_ALL_FEATURES
3879 if test -z "$defaultval"; then
3880 if test x"$withstring" = xwithout; then
3881 defaultval=yes
3882 else
3883 defaultval=no
3884 fi
3885 fi
3886 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3887 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3888
3889 # Check whether --with-gnomeprint was given.
3890 if test "${with_gnomeprint+set}" = set; then
3891 withval=$with_gnomeprint;
3892 if test "$withval" = yes; then
3893 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3894 else
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3896 fi
3897 cache=yes
3898
3899 else
3900
3901 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3904 cache=yes
3905 else
3906 cache=no
3907 fi
3908
3909 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3910
3911 fi
3912
3913
3914 eval "$wx_cv_use_gnomeprint"
3915 if test "x$cache" = xyes; then
3916 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3917 fi
3918
3919 if test x"$withstring" = xwithout; then
3920 if test $wxUSE_LIBGNOMEPRINT = yes; then
3921 result=no
3922 else
3923 result=yes
3924 fi
3925 else
3926 result=$wxUSE_LIBGNOMEPRINT
3927 fi
3928
3929 { echo "$as_me:$LINENO: result: $result" >&5
3930 echo "${ECHO_T}$result" >&6; }
3931
3932
3933 withstring=
3934 defaultval=$wxUSE_ALL_FEATURES
3935 if test -z "$defaultval"; then
3936 if test x"$withstring" = xwithout; then
3937 defaultval=yes
3938 else
3939 defaultval=no
3940 fi
3941 fi
3942 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3943 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3944
3945 # Check whether --with-gnomevfs was given.
3946 if test "${with_gnomevfs+set}" = set; then
3947 withval=$with_gnomevfs;
3948 if test "$withval" = yes; then
3949 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3950 else
3951 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3952 fi
3953 cache=yes
3954
3955 else
3956
3957 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x ; then
3959 eval "DEFAULT_$LINE"
3960 cache=yes
3961 else
3962 cache=no
3963 fi
3964
3965 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3966
3967 fi
3968
3969
3970 eval "$wx_cv_use_gnomevfs"
3971 if test "x$cache" = xyes; then
3972 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3973 fi
3974
3975 if test x"$withstring" = xwithout; then
3976 if test $wxUSE_LIBGNOMEVFS = yes; then
3977 result=no
3978 else
3979 result=yes
3980 fi
3981 else
3982 result=$wxUSE_LIBGNOMEVFS
3983 fi
3984
3985 { echo "$as_me:$LINENO: result: $result" >&5
3986 echo "${ECHO_T}$result" >&6; }
3987
3988
3989 withstring=
3990 defaultval=$wxUSE_ALL_FEATURES
3991 if test -z "$defaultval"; then
3992 if test x"$withstring" = xwithout; then
3993 defaultval=yes
3994 else
3995 defaultval=no
3996 fi
3997 fi
3998 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3999 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4000
4001 # Check whether --with-hildon was given.
4002 if test "${with_hildon+set}" = set; then
4003 withval=$with_hildon;
4004 if test "$withval" = yes; then
4005 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4006 else
4007 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4008 fi
4009 cache=yes
4010
4011 else
4012
4013 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4016 cache=yes
4017 else
4018 cache=no
4019 fi
4020
4021 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4022
4023 fi
4024
4025
4026 eval "$wx_cv_use_hildon"
4027 if test "x$cache" = xyes; then
4028 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4029 fi
4030
4031 if test x"$withstring" = xwithout; then
4032 if test $wxUSE_LIBHILDON = yes; then
4033 result=no
4034 else
4035 result=yes
4036 fi
4037 else
4038 result=$wxUSE_LIBHILDON
4039 fi
4040
4041 { echo "$as_me:$LINENO: result: $result" >&5
4042 echo "${ECHO_T}$result" >&6; }
4043
4044
4045 withstring=
4046 defaultval=$wxUSE_ALL_FEATURES
4047 if test -z "$defaultval"; then
4048 if test x"$withstring" = xwithout; then
4049 defaultval=yes
4050 else
4051 defaultval=no
4052 fi
4053 fi
4054 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4055 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4056
4057 # Check whether --with-opengl was given.
4058 if test "${with_opengl+set}" = set; then
4059 withval=$with_opengl;
4060 if test "$withval" = yes; then
4061 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4062 else
4063 wx_cv_use_opengl='wxUSE_OPENGL=no'
4064 fi
4065 cache=yes
4066
4067 else
4068
4069 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4072 cache=yes
4073 else
4074 cache=no
4075 fi
4076
4077 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4078
4079 fi
4080
4081
4082 eval "$wx_cv_use_opengl"
4083 if test "x$cache" = xyes; then
4084 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4085 fi
4086
4087 if test x"$withstring" = xwithout; then
4088 if test $wxUSE_OPENGL = yes; then
4089 result=no
4090 else
4091 result=yes
4092 fi
4093 else
4094 result=$wxUSE_OPENGL
4095 fi
4096
4097 { echo "$as_me:$LINENO: result: $result" >&5
4098 echo "${ECHO_T}$result" >&6; }
4099
4100
4101 fi
4102
4103
4104 withstring=
4105 defaultval=$wxUSE_ALL_FEATURES
4106 if test -z "$defaultval"; then
4107 if test x"$withstring" = xwithout; then
4108 defaultval=yes
4109 else
4110 defaultval=no
4111 fi
4112 fi
4113 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4114 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4115
4116 # Check whether --with-dmalloc was given.
4117 if test "${with_dmalloc+set}" = set; then
4118 withval=$with_dmalloc;
4119 if test "$withval" = yes; then
4120 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4121 else
4122 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4123 fi
4124 cache=yes
4125
4126 else
4127
4128 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4129 if test "x$LINE" != x ; then
4130 eval "DEFAULT_$LINE"
4131 cache=yes
4132 else
4133 cache=no
4134 fi
4135
4136 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4137
4138 fi
4139
4140
4141 eval "$wx_cv_use_dmalloc"
4142 if test "x$cache" = xyes; then
4143 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test x"$withstring" = xwithout; then
4147 if test $wxUSE_DMALLOC = yes; then
4148 result=no
4149 else
4150 result=yes
4151 fi
4152 else
4153 result=$wxUSE_DMALLOC
4154 fi
4155
4156 { echo "$as_me:$LINENO: result: $result" >&5
4157 echo "${ECHO_T}$result" >&6; }
4158
4159
4160 withstring=
4161 defaultval=$wxUSE_ALL_FEATURES
4162 if test -z "$defaultval"; then
4163 if test x"$withstring" = xwithout; then
4164 defaultval=yes
4165 else
4166 defaultval=no
4167 fi
4168 fi
4169 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4170 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4171
4172 # Check whether --with-sdl was given.
4173 if test "${with_sdl+set}" = set; then
4174 withval=$with_sdl;
4175 if test "$withval" = yes; then
4176 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4177 else
4178 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4179 fi
4180 cache=yes
4181
4182 else
4183
4184 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x ; then
4186 eval "DEFAULT_$LINE"
4187 cache=yes
4188 else
4189 cache=no
4190 fi
4191
4192 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4193
4194 fi
4195
4196
4197 eval "$wx_cv_use_sdl"
4198 if test "x$cache" = xyes; then
4199 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4200 fi
4201
4202 if test x"$withstring" = xwithout; then
4203 if test $wxUSE_LIBSDL = yes; then
4204 result=no
4205 else
4206 result=yes
4207 fi
4208 else
4209 result=$wxUSE_LIBSDL
4210 fi
4211
4212 { echo "$as_me:$LINENO: result: $result" >&5
4213 echo "${ECHO_T}$result" >&6; }
4214
4215
4216 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4217 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4218
4219 # Check whether --with-regex was given.
4220 if test "${with_regex+set}" = set; then
4221 withval=$with_regex;
4222 if test "$withval" = yes; then
4223 wx_cv_use_regex='wxUSE_REGEX=yes'
4224 elif test "$withval" = no; then
4225 wx_cv_use_regex='wxUSE_REGEX=no'
4226 elif test "$withval" = sys; then
4227 wx_cv_use_regex='wxUSE_REGEX=sys'
4228 elif test "$withval" = builtin; then
4229 wx_cv_use_regex='wxUSE_REGEX=builtin'
4230 else
4231 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4232 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4233 { (exit 1); exit 1; }; }
4234 fi
4235 cache=yes
4236
4237 else
4238
4239 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4242 cache=yes
4243 else
4244 cache=no
4245 fi
4246
4247 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4248
4249 fi
4250
4251
4252 eval "$wx_cv_use_regex"
4253 if test "x$cache" = xyes; then
4254 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4255 fi
4256
4257 if test "$wxUSE_REGEX" = yes; then
4258 { echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6; }
4260 elif test "$wxUSE_REGEX" = no; then
4261 { echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6; }
4263 elif test "$wxUSE_REGEX" = sys; then
4264 { echo "$as_me:$LINENO: result: system version" >&5
4265 echo "${ECHO_T}system version" >&6; }
4266 elif test "$wxUSE_REGEX" = builtin; then
4267 { echo "$as_me:$LINENO: result: builtin version" >&5
4268 echo "${ECHO_T}builtin version" >&6; }
4269 else
4270 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4271 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4272 { (exit 1); exit 1; }; }
4273 fi
4274
4275
4276 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4277 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4278
4279 # Check whether --with-zlib was given.
4280 if test "${with_zlib+set}" = set; then
4281 withval=$with_zlib;
4282 if test "$withval" = yes; then
4283 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4284 elif test "$withval" = no; then
4285 wx_cv_use_zlib='wxUSE_ZLIB=no'
4286 elif test "$withval" = sys; then
4287 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4288 elif test "$withval" = builtin; then
4289 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4290 else
4291 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4292 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4293 { (exit 1); exit 1; }; }
4294 fi
4295 cache=yes
4296
4297 else
4298
4299 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x ; then
4301 eval "DEFAULT_$LINE"
4302 cache=yes
4303 else
4304 cache=no
4305 fi
4306
4307 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4308
4309 fi
4310
4311
4312 eval "$wx_cv_use_zlib"
4313 if test "x$cache" = xyes; then
4314 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4315 fi
4316
4317 if test "$wxUSE_ZLIB" = yes; then
4318 { echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6; }
4320 elif test "$wxUSE_ZLIB" = no; then
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4323 elif test "$wxUSE_ZLIB" = sys; then
4324 { echo "$as_me:$LINENO: result: system version" >&5
4325 echo "${ECHO_T}system version" >&6; }
4326 elif test "$wxUSE_ZLIB" = builtin; then
4327 { echo "$as_me:$LINENO: result: builtin version" >&5
4328 echo "${ECHO_T}builtin version" >&6; }
4329 else
4330 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4331 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4332 { (exit 1); exit 1; }; }
4333 fi
4334
4335
4336 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4337 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4338
4339 # Check whether --with-odbc was given.
4340 if test "${with_odbc+set}" = set; then
4341 withval=$with_odbc;
4342 if test "$withval" = yes; then
4343 wx_cv_use_odbc='wxUSE_ODBC=yes'
4344 elif test "$withval" = no; then
4345 wx_cv_use_odbc='wxUSE_ODBC=no'
4346 elif test "$withval" = sys; then
4347 wx_cv_use_odbc='wxUSE_ODBC=sys'
4348 elif test "$withval" = builtin; then
4349 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4350 else
4351 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4352 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4353 { (exit 1); exit 1; }; }
4354 fi
4355 cache=yes
4356
4357 else
4358
4359 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x ; then
4361 eval "DEFAULT_$LINE"
4362 cache=yes
4363 else
4364 cache=no
4365 fi
4366
4367 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4368
4369 fi
4370
4371
4372 eval "$wx_cv_use_odbc"
4373 if test "x$cache" = xyes; then
4374 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4375 fi
4376
4377 if test "$wxUSE_ODBC" = yes; then
4378 { echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6; }
4380 elif test "$wxUSE_ODBC" = no; then
4381 { echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6; }
4383 elif test "$wxUSE_ODBC" = sys; then
4384 { echo "$as_me:$LINENO: result: system version" >&5
4385 echo "${ECHO_T}system version" >&6; }
4386 elif test "$wxUSE_ODBC" = builtin; then
4387 { echo "$as_me:$LINENO: result: builtin version" >&5
4388 echo "${ECHO_T}builtin version" >&6; }
4389 else
4390 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4391 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4392 { (exit 1); exit 1; }; }
4393 fi
4394
4395
4396 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4397 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4398
4399 # Check whether --with-expat was given.
4400 if test "${with_expat+set}" = set; then
4401 withval=$with_expat;
4402 if test "$withval" = yes; then
4403 wx_cv_use_expat='wxUSE_EXPAT=yes'
4404 elif test "$withval" = no; then
4405 wx_cv_use_expat='wxUSE_EXPAT=no'
4406 elif test "$withval" = sys; then
4407 wx_cv_use_expat='wxUSE_EXPAT=sys'
4408 elif test "$withval" = builtin; then
4409 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4410 else
4411 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4412 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4413 { (exit 1); exit 1; }; }
4414 fi
4415 cache=yes
4416
4417 else
4418
4419 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x ; then
4421 eval "DEFAULT_$LINE"
4422 cache=yes
4423 else
4424 cache=no
4425 fi
4426
4427 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4428
4429 fi
4430
4431
4432 eval "$wx_cv_use_expat"
4433 if test "x$cache" = xyes; then
4434 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4435 fi
4436
4437 if test "$wxUSE_EXPAT" = yes; then
4438 { echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6; }
4440 elif test "$wxUSE_EXPAT" = no; then
4441 { echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6; }
4443 elif test "$wxUSE_EXPAT" = sys; then
4444 { echo "$as_me:$LINENO: result: system version" >&5
4445 echo "${ECHO_T}system version" >&6; }
4446 elif test "$wxUSE_EXPAT" = builtin; then
4447 { echo "$as_me:$LINENO: result: builtin version" >&5
4448 echo "${ECHO_T}builtin version" >&6; }
4449 else
4450 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4451 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4452 { (exit 1); exit 1; }; }
4453 fi
4454
4455
4456 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4457 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4458
4459 # Check whether --with-macosx-sdk was given.
4460 if test "${with_macosx_sdk+set}" = set; then
4461 withval=$with_macosx_sdk;
4462 wxUSE_MACOSX_SDK=$withval
4463 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4464 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4465
4466 else
4467
4468 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4469 # will override --enable-universal_binary's automatic SDK usage.
4470 wxUSE_MACOSX_SDK=
4471 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x ; then
4473 eval "$LINE"
4474 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4475 fi
4476
4477 fi
4478
4479 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4480 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4481
4482 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4483 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4484
4485 # Check whether --with-macosx-version-min was given.
4486 if test "${with_macosx_version_min+set}" = set; then
4487 withval=$with_macosx_version_min;
4488 wxUSE_MACOSX_VERSION_MIN=$withval
4489 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4490 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4491
4492 else
4493
4494 # default "yes" because when not using an SDK it means the same as no
4495 # but when using an SDK it means to use the SDK version
4496 wxUSE_MACOSX_VERSION_MIN=yes
4497 # See if there is a value in the cache
4498 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "$LINE"
4501 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4502 fi
4503
4504 fi
4505
4506 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4507 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4508
4509
4510
4511 enablestring=disable
4512 defaultval=
4513 if test -z "$defaultval"; then
4514 if test x"$enablestring" = xdisable; then
4515 defaultval=yes
4516 else
4517 defaultval=no
4518 fi
4519 fi
4520
4521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4523 # Check whether --enable-shared was given.
4524 if test "${enable_shared+set}" = set; then
4525 enableval=$enable_shared;
4526 if test "$enableval" = yes; then
4527 wx_cv_use_shared='wxUSE_SHARED=yes'
4528 else
4529 wx_cv_use_shared='wxUSE_SHARED=no'
4530 fi
4531 cache=yes
4532
4533 else
4534
4535 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x ; then
4537 eval "DEFAULT_$LINE"
4538 cache=yes
4539 else
4540 cache=no
4541 fi
4542
4543 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4544
4545 fi
4546
4547
4548 eval "$wx_cv_use_shared"
4549 if test "x$cache" = xyes; then
4550 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4551 fi
4552
4553 if test x"$enablestring" = xdisable; then
4554 if test $wxUSE_SHARED = yes; then
4555 result=no
4556 else
4557 result=yes
4558 fi
4559 else
4560 result=$wxUSE_SHARED
4561 fi
4562
4563 { echo "$as_me:$LINENO: result: $result" >&5
4564 echo "${ECHO_T}$result" >&6; }
4565
4566
4567 enablestring=disable
4568 defaultval=
4569 if test -z "$defaultval"; then
4570 if test x"$enablestring" = xdisable; then
4571 defaultval=yes
4572 else
4573 defaultval=no
4574 fi
4575 fi
4576
4577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4579 # Check whether --enable-optimise was given.
4580 if test "${enable_optimise+set}" = set; then
4581 enableval=$enable_optimise;
4582 if test "$enableval" = yes; then
4583 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4584 else
4585 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4586 fi
4587 cache=yes
4588
4589 else
4590
4591 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x ; then
4593 eval "DEFAULT_$LINE"
4594 cache=yes
4595 else
4596 cache=no
4597 fi
4598
4599 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4600
4601 fi
4602
4603
4604 eval "$wx_cv_use_optimise"
4605 if test "x$cache" = xyes; then
4606 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_OPTIMISE = yes; then
4611 result=no
4612 else
4613 result=yes
4614 fi
4615 else
4616 result=$wxUSE_OPTIMISE
4617 fi
4618
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4621
4622
4623 enablestring=
4624 defaultval=
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4627 defaultval=yes
4628 else
4629 defaultval=no
4630 fi
4631 fi
4632
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4635 # Check whether --enable-debug was given.
4636 if test "${enable_debug+set}" = set; then
4637 enableval=$enable_debug;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_debug='wxUSE_DEBUG=yes'
4640 else
4641 wx_cv_use_debug='wxUSE_DEBUG=no'
4642 fi
4643 cache=yes
4644
4645 else
4646
4647 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x ; then
4649 eval "DEFAULT_$LINE"
4650 cache=yes
4651 else
4652 cache=no
4653 fi
4654
4655 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4656
4657 fi
4658
4659
4660 eval "$wx_cv_use_debug"
4661 if test "x$cache" = xyes; then
4662 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4663 fi
4664
4665 if test x"$enablestring" = xdisable; then
4666 if test $wxUSE_DEBUG = yes; then
4667 result=no
4668 else
4669 result=yes
4670 fi
4671 else
4672 result=$wxUSE_DEBUG
4673 fi
4674
4675 { echo "$as_me:$LINENO: result: $result" >&5
4676 echo "${ECHO_T}$result" >&6; }
4677
4678
4679 enablestring=
4680 defaultval=
4681 if test -z "$defaultval"; then
4682 if test x"$enablestring" = xdisable; then
4683 defaultval=yes
4684 else
4685 defaultval=no
4686 fi
4687 fi
4688
4689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4690 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4691 # Check whether --enable-stl was given.
4692 if test "${enable_stl+set}" = set; then
4693 enableval=$enable_stl;
4694 if test "$enableval" = yes; then
4695 wx_cv_use_stl='wxUSE_STL=yes'
4696 else
4697 wx_cv_use_stl='wxUSE_STL=no'
4698 fi
4699 cache=yes
4700
4701 else
4702
4703 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x ; then
4705 eval "DEFAULT_$LINE"
4706 cache=yes
4707 else
4708 cache=no
4709 fi
4710
4711 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4712
4713 fi
4714
4715
4716 eval "$wx_cv_use_stl"
4717 if test "x$cache" = xyes; then
4718 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4719 fi
4720
4721 if test x"$enablestring" = xdisable; then
4722 if test $wxUSE_STL = yes; then
4723 result=no
4724 else
4725 result=yes
4726 fi
4727 else
4728 result=$wxUSE_STL
4729 fi
4730
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4733
4734
4735 enablestring=
4736 defaultval=
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4739 defaultval=yes
4740 else
4741 defaultval=no
4742 fi
4743 fi
4744
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4747 # Check whether --enable-std_iostreams was given.
4748 if test "${enable_std_iostreams+set}" = set; then
4749 enableval=$enable_std_iostreams;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4752 else
4753 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4754 fi
4755 cache=yes
4756
4757 else
4758
4759 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4762 cache=yes
4763 else
4764 cache=no
4765 fi
4766
4767 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4768
4769 fi
4770
4771
4772 eval "$wx_cv_use_std_iostreams"
4773 if test "x$cache" = xyes; then
4774 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4775 fi
4776
4777 if test x"$enablestring" = xdisable; then
4778 if test $wxUSE_STD_IOSTREAM = yes; then
4779 result=no
4780 else
4781 result=yes
4782 fi
4783 else
4784 result=$wxUSE_STD_IOSTREAM
4785 fi
4786
4787 { echo "$as_me:$LINENO: result: $result" >&5
4788 echo "${ECHO_T}$result" >&6; }
4789
4790
4791 enablestring=
4792 defaultval=
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4795 defaultval=yes
4796 else
4797 defaultval=no
4798 fi
4799 fi
4800
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4803 # Check whether --enable-std_string was given.
4804 if test "${enable_std_string+set}" = set; then
4805 enableval=$enable_std_string;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4808 else
4809 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4810 fi
4811 cache=yes
4812
4813 else
4814
4815 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4818 cache=yes
4819 else
4820 cache=no
4821 fi
4822
4823 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4824
4825 fi
4826
4827
4828 eval "$wx_cv_use_std_string"
4829 if test "x$cache" = xyes; then
4830 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4831 fi
4832
4833 if test x"$enablestring" = xdisable; then
4834 if test $wxUSE_STD_STRING = yes; then
4835 result=no
4836 else
4837 result=yes
4838 fi
4839 else
4840 result=$wxUSE_STD_STRING
4841 fi
4842
4843 { echo "$as_me:$LINENO: result: $result" >&5
4844 echo "${ECHO_T}$result" >&6; }
4845
4846
4847 enablestring=disable
4848 defaultval=
4849 if test -z "$defaultval"; then
4850 if test x"$enablestring" = xdisable; then
4851 defaultval=yes
4852 else
4853 defaultval=no
4854 fi
4855 fi
4856
4857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4859 # Check whether --enable-unicode was given.
4860 if test "${enable_unicode+set}" = set; then
4861 enableval=$enable_unicode;
4862 if test "$enableval" = yes; then
4863 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4864 else
4865 wx_cv_use_unicode='wxUSE_UNICODE=no'
4866 fi
4867 cache=yes
4868
4869 else
4870
4871 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4874 cache=yes
4875 else
4876 cache=no
4877 fi
4878
4879 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4880
4881 fi
4882
4883
4884 eval "$wx_cv_use_unicode"
4885 if test "x$cache" = xyes; then
4886 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4887 fi
4888
4889 if test x"$enablestring" = xdisable; then
4890 if test $wxUSE_UNICODE = yes; then
4891 result=no
4892 else
4893 result=yes
4894 fi
4895 else
4896 result=$wxUSE_UNICODE
4897 fi
4898
4899 { echo "$as_me:$LINENO: result: $result" >&5
4900 echo "${ECHO_T}$result" >&6; }
4901
4902
4903 enablestring=
4904 defaultval=
4905 if test -z "$defaultval"; then
4906 if test x"$enablestring" = xdisable; then
4907 defaultval=yes
4908 else
4909 defaultval=no
4910 fi
4911 fi
4912
4913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4915 # Check whether --enable-mslu was given.
4916 if test "${enable_mslu+set}" = set; then
4917 enableval=$enable_mslu;
4918 if test "$enableval" = yes; then
4919 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4920 else
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4922 fi
4923 cache=yes
4924
4925 else
4926
4927 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4928 if test "x$LINE" != x ; then
4929 eval "DEFAULT_$LINE"
4930 cache=yes
4931 else
4932 cache=no
4933 fi
4934
4935 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4936
4937 fi
4938
4939
4940 eval "$wx_cv_use_mslu"
4941 if test "x$cache" = xyes; then
4942 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4943 fi
4944
4945 if test x"$enablestring" = xdisable; then
4946 if test $wxUSE_UNICODE_MSLU = yes; then
4947 result=no
4948 else
4949 result=yes
4950 fi
4951 else
4952 result=$wxUSE_UNICODE_MSLU
4953 fi
4954
4955 { echo "$as_me:$LINENO: result: $result" >&5
4956 echo "${ECHO_T}$result" >&6; }
4957
4958
4959 enablestring=
4960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4962 # Check whether --enable-utf8 was given.
4963 if test "${enable_utf8+set}" = set; then
4964 enableval=$enable_utf8;
4965 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4966 cache=yes
4967
4968 else
4969
4970 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4973 cache=yes
4974 else
4975 cache=no
4976 fi
4977
4978 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4979
4980 fi
4981
4982
4983 eval "$wx_cv_use_utf8"
4984 if test "x$cache" = xyes; then
4985 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4986 fi
4987
4988 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4989 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4990
4991
4992 enablestring=
4993 defaultval=
4994 if test -z "$defaultval"; then
4995 if test x"$enablestring" = xdisable; then
4996 defaultval=yes
4997 else
4998 defaultval=no
4999 fi
5000 fi
5001
5002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5003 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5004 # Check whether --enable-utf8only was given.
5005 if test "${enable_utf8only+set}" = set; then
5006 enableval=$enable_utf8only;
5007 if test "$enableval" = yes; then
5008 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5009 else
5010 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5011 fi
5012 cache=yes
5013
5014 else
5015
5016 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x ; then
5018 eval "DEFAULT_$LINE"
5019 cache=yes
5020 else
5021 cache=no
5022 fi
5023
5024 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5025
5026 fi
5027
5028
5029 eval "$wx_cv_use_utf8only"
5030 if test "x$cache" = xyes; then
5031 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5032 fi
5033
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5036 result=no
5037 else
5038 result=yes
5039 fi
5040 else
5041 result=$wxUSE_UNICODE_UTF8_LOCALE
5042 fi
5043
5044 { echo "$as_me:$LINENO: result: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5046
5047
5048 enablestring=
5049 defaultval=
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5052 defaultval=yes
5053 else
5054 defaultval=no
5055 fi
5056 fi
5057
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5060 # Check whether --enable-extended_rtti was given.
5061 if test "${enable_extended_rtti+set}" = set; then
5062 enableval=$enable_extended_rtti;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5065 else
5066 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5067 fi
5068 cache=yes
5069
5070 else
5071
5072 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5075 cache=yes
5076 else
5077 cache=no
5078 fi
5079
5080 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5081
5082 fi
5083
5084
5085 eval "$wx_cv_use_extended_rtti"
5086 if test "x$cache" = xyes; then
5087 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5088 fi
5089
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_EXTENDED_RTTI = yes; then
5092 result=no
5093 else
5094 result=yes
5095 fi
5096 else
5097 result=$wxUSE_EXTENDED_RTTI
5098 fi
5099
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5102
5103 if test "$USE_OS2" = "1"; then
5104 DEFAULT_wxUSE_OMF=no
5105
5106 enablestring=
5107 defaultval=
5108 if test -z "$defaultval"; then
5109 if test x"$enablestring" = xdisable; then
5110 defaultval=yes
5111 else
5112 defaultval=no
5113 fi
5114 fi
5115
5116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5117 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5118 # Check whether --enable-omf was given.
5119 if test "${enable_omf+set}" = set; then
5120 enableval=$enable_omf;
5121 if test "$enableval" = yes; then
5122 wx_cv_use_omf='wxUSE_OMF=yes'
5123 else
5124 wx_cv_use_omf='wxUSE_OMF=no'
5125 fi
5126 cache=yes
5127
5128 else
5129
5130 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x ; then
5132 eval "DEFAULT_$LINE"
5133 cache=yes
5134 else
5135 cache=no
5136 fi
5137
5138 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5139
5140 fi
5141
5142
5143 eval "$wx_cv_use_omf"
5144 if test "x$cache" = xyes; then
5145 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5146 fi
5147
5148 if test x"$enablestring" = xdisable; then
5149 if test $wxUSE_OMF = yes; then
5150 result=no
5151 else
5152 result=yes
5153 fi
5154 else
5155 result=$wxUSE_OMF
5156 fi
5157
5158 { echo "$as_me:$LINENO: result: $result" >&5
5159 echo "${ECHO_T}$result" >&6; }
5160
5161 fi
5162
5163 if test "$wxUSE_DEBUG" = "yes"; then
5164 DEFAULT_wxUSE_DEBUG_FLAG=yes
5165 DEFAULT_wxUSE_DEBUG_INFO=yes
5166 BUILD=debug
5167 elif test "$wxUSE_DEBUG" = "no"; then
5168 DEFAULT_wxUSE_DEBUG_FLAG=no
5169 DEFAULT_wxUSE_DEBUG_INFO=no
5170 BUILD=release
5171 fi
5172
5173
5174 enablestring=
5175 defaultval=
5176 if test -z "$defaultval"; then
5177 if test x"$enablestring" = xdisable; then
5178 defaultval=yes
5179 else
5180 defaultval=no
5181 fi
5182 fi
5183
5184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5186 # Check whether --enable-debug_flag was given.
5187 if test "${enable_debug_flag+set}" = set; then
5188 enableval=$enable_debug_flag;
5189 if test "$enableval" = yes; then
5190 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5191 else
5192 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5193 fi
5194 cache=yes
5195
5196 else
5197
5198 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${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_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5207
5208 fi
5209
5210
5211 eval "$wx_cv_use_debug_flag"
5212 if test "x$cache" = xyes; then
5213 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5214 fi
5215
5216 if test x"$enablestring" = xdisable; then
5217 if test $wxUSE_DEBUG_FLAG = yes; then
5218 result=no
5219 else
5220 result=yes
5221 fi
5222 else
5223 result=$wxUSE_DEBUG_FLAG
5224 fi
5225
5226 { echo "$as_me:$LINENO: result: $result" >&5
5227 echo "${ECHO_T}$result" >&6; }
5228
5229
5230 enablestring=
5231 defaultval=
5232 if test -z "$defaultval"; then
5233 if test x"$enablestring" = xdisable; then
5234 defaultval=yes
5235 else
5236 defaultval=no
5237 fi
5238 fi
5239
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5242 # Check whether --enable-debug_info was given.
5243 if test "${enable_debug_info+set}" = set; then
5244 enableval=$enable_debug_info;
5245 if test "$enableval" = yes; then
5246 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5247 else
5248 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5249 fi
5250 cache=yes
5251
5252 else
5253
5254 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x ; then
5256 eval "DEFAULT_$LINE"
5257 cache=yes
5258 else
5259 cache=no
5260 fi
5261
5262 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5263
5264 fi
5265
5266
5267 eval "$wx_cv_use_debug_info"
5268 if test "x$cache" = xyes; then
5269 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test x"$enablestring" = xdisable; then
5273 if test $wxUSE_DEBUG_INFO = yes; then
5274 result=no
5275 else
5276 result=yes
5277 fi
5278 else
5279 result=$wxUSE_DEBUG_INFO
5280 fi
5281
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5284
5285
5286 enablestring=
5287 defaultval=
5288 if test -z "$defaultval"; then
5289 if test x"$enablestring" = xdisable; then
5290 defaultval=yes
5291 else
5292 defaultval=no
5293 fi
5294 fi
5295
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5298 # Check whether --enable-debug_gdb was given.
5299 if test "${enable_debug_gdb+set}" = set; then
5300 enableval=$enable_debug_gdb;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5303 else
5304 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5305 fi
5306 cache=yes
5307
5308 else
5309
5310 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x ; then
5312 eval "DEFAULT_$LINE"
5313 cache=yes
5314 else
5315 cache=no
5316 fi
5317
5318 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5319
5320 fi
5321
5322
5323 eval "$wx_cv_use_debug_gdb"
5324 if test "x$cache" = xyes; then
5325 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5326 fi
5327
5328 if test x"$enablestring" = xdisable; then
5329 if test $wxUSE_DEBUG_GDB = yes; then
5330 result=no
5331 else
5332 result=yes
5333 fi
5334 else
5335 result=$wxUSE_DEBUG_GDB
5336 fi
5337
5338 { echo "$as_me:$LINENO: result: $result" >&5
5339 echo "${ECHO_T}$result" >&6; }
5340
5341
5342 enablestring=
5343 defaultval=
5344 if test -z "$defaultval"; then
5345 if test x"$enablestring" = xdisable; then
5346 defaultval=yes
5347 else
5348 defaultval=no
5349 fi
5350 fi
5351
5352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5354 # Check whether --enable-debug_cntxt was given.
5355 if test "${enable_debug_cntxt+set}" = set; then
5356 enableval=$enable_debug_cntxt;
5357 if test "$enableval" = yes; then
5358 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5359 else
5360 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5361 fi
5362 cache=yes
5363
5364 else
5365
5366 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5367 if test "x$LINE" != x ; then
5368 eval "DEFAULT_$LINE"
5369 cache=yes
5370 else
5371 cache=no
5372 fi
5373
5374 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5375
5376 fi
5377
5378
5379 eval "$wx_cv_use_debug_cntxt"
5380 if test "x$cache" = xyes; then
5381 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5382 fi
5383
5384 if test x"$enablestring" = xdisable; then
5385 if test $wxUSE_DEBUG_CONTEXT = yes; then
5386 result=no
5387 else
5388 result=yes
5389 fi
5390 else
5391 result=$wxUSE_DEBUG_CONTEXT
5392 fi
5393
5394 { echo "$as_me:$LINENO: result: $result" >&5
5395 echo "${ECHO_T}$result" >&6; }
5396
5397
5398 enablestring=
5399 defaultval=
5400 if test -z "$defaultval"; then
5401 if test x"$enablestring" = xdisable; then
5402 defaultval=yes
5403 else
5404 defaultval=no
5405 fi
5406 fi
5407
5408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5410 # Check whether --enable-mem_tracing was given.
5411 if test "${enable_mem_tracing+set}" = set; then
5412 enableval=$enable_mem_tracing;
5413 if test "$enableval" = yes; then
5414 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5415 else
5416 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5417 fi
5418 cache=yes
5419
5420 else
5421
5422 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5423 if test "x$LINE" != x ; then
5424 eval "DEFAULT_$LINE"
5425 cache=yes
5426 else
5427 cache=no
5428 fi
5429
5430 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5431
5432 fi
5433
5434
5435 eval "$wx_cv_use_mem_tracing"
5436 if test "x$cache" = xyes; then
5437 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5438 fi
5439
5440 if test x"$enablestring" = xdisable; then
5441 if test $wxUSE_MEM_TRACING = yes; then
5442 result=no
5443 else
5444 result=yes
5445 fi
5446 else
5447 result=$wxUSE_MEM_TRACING
5448 fi
5449
5450 { echo "$as_me:$LINENO: result: $result" >&5
5451 echo "${ECHO_T}$result" >&6; }
5452
5453
5454 enablestring=
5455 defaultval=
5456 if test -z "$defaultval"; then
5457 if test x"$enablestring" = xdisable; then
5458 defaultval=yes
5459 else
5460 defaultval=no
5461 fi
5462 fi
5463
5464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5466 # Check whether --enable-profile was given.
5467 if test "${enable_profile+set}" = set; then
5468 enableval=$enable_profile;
5469 if test "$enableval" = yes; then
5470 wx_cv_use_profile='wxUSE_PROFILE=yes'
5471 else
5472 wx_cv_use_profile='wxUSE_PROFILE=no'
5473 fi
5474 cache=yes
5475
5476 else
5477
5478 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5479 if test "x$LINE" != x ; then
5480 eval "DEFAULT_$LINE"
5481 cache=yes
5482 else
5483 cache=no
5484 fi
5485
5486 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5487
5488 fi
5489
5490
5491 eval "$wx_cv_use_profile"
5492 if test "x$cache" = xyes; then
5493 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5494 fi
5495
5496 if test x"$enablestring" = xdisable; then
5497 if test $wxUSE_PROFILE = yes; then
5498 result=no
5499 else
5500 result=yes
5501 fi
5502 else
5503 result=$wxUSE_PROFILE
5504 fi
5505
5506 { echo "$as_me:$LINENO: result: $result" >&5
5507 echo "${ECHO_T}$result" >&6; }
5508
5509
5510 enablestring=
5511 defaultval=
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5514 defaultval=yes
5515 else
5516 defaultval=no
5517 fi
5518 fi
5519
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5522 # Check whether --enable-no_rtti was given.
5523 if test "${enable_no_rtti+set}" = set; then
5524 enableval=$enable_no_rtti;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5527 else
5528 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5529 fi
5530 cache=yes
5531
5532 else
5533
5534 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x ; then
5536 eval "DEFAULT_$LINE"
5537 cache=yes
5538 else
5539 cache=no
5540 fi
5541
5542 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5543
5544 fi
5545
5546
5547 eval "$wx_cv_use_no_rtti"
5548 if test "x$cache" = xyes; then
5549 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5550 fi
5551
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_NO_RTTI = yes; then
5554 result=no
5555 else
5556 result=yes
5557 fi
5558 else
5559 result=$wxUSE_NO_RTTI
5560 fi
5561
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5564
5565
5566 enablestring=
5567 defaultval=
5568 if test -z "$defaultval"; then
5569 if test x"$enablestring" = xdisable; then
5570 defaultval=yes
5571 else
5572 defaultval=no
5573 fi
5574 fi
5575
5576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5578 # Check whether --enable-no_exceptions was given.
5579 if test "${enable_no_exceptions+set}" = set; then
5580 enableval=$enable_no_exceptions;
5581 if test "$enableval" = yes; then
5582 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5583 else
5584 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5585 fi
5586 cache=yes
5587
5588 else
5589
5590 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5593 cache=yes
5594 else
5595 cache=no
5596 fi
5597
5598 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5599
5600 fi
5601
5602
5603 eval "$wx_cv_use_no_exceptions"
5604 if test "x$cache" = xyes; then
5605 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5606 fi
5607
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_NO_EXCEPTIONS = yes; then
5610 result=no
5611 else
5612 result=yes
5613 fi
5614 else
5615 result=$wxUSE_NO_EXCEPTIONS
5616 fi
5617
5618 { echo "$as_me:$LINENO: result: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5620
5621
5622 enablestring=
5623 defaultval=
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5626 defaultval=yes
5627 else
5628 defaultval=no
5629 fi
5630 fi
5631
5632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5634 # Check whether --enable-permissive was given.
5635 if test "${enable_permissive+set}" = set; then
5636 enableval=$enable_permissive;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5639 else
5640 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5641 fi
5642 cache=yes
5643
5644 else
5645
5646 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x ; then
5648 eval "DEFAULT_$LINE"
5649 cache=yes
5650 else
5651 cache=no
5652 fi
5653
5654 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5655
5656 fi
5657
5658
5659 eval "$wx_cv_use_permissive"
5660 if test "x$cache" = xyes; then
5661 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5662 fi
5663
5664 if test x"$enablestring" = xdisable; then
5665 if test $wxUSE_PERMISSIVE = yes; then
5666 result=no
5667 else
5668 result=yes
5669 fi
5670 else
5671 result=$wxUSE_PERMISSIVE
5672 fi
5673
5674 { echo "$as_me:$LINENO: result: $result" >&5
5675 echo "${ECHO_T}$result" >&6; }
5676
5677
5678 enablestring=
5679 defaultval=
5680 if test -z "$defaultval"; then
5681 if test x"$enablestring" = xdisable; then
5682 defaultval=yes
5683 else
5684 defaultval=no
5685 fi
5686 fi
5687
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5690 # Check whether --enable-no_deps was given.
5691 if test "${enable_no_deps+set}" = set; then
5692 enableval=$enable_no_deps;
5693 if test "$enableval" = yes; then
5694 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5695 else
5696 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5697 fi
5698 cache=yes
5699
5700 else
5701
5702 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 cache=yes
5706 else
5707 cache=no
5708 fi
5709
5710 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5711
5712 fi
5713
5714
5715 eval "$wx_cv_use_no_deps"
5716 if test "x$cache" = xyes; then
5717 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5718 fi
5719
5720 if test x"$enablestring" = xdisable; then
5721 if test $wxUSE_NO_DEPS = yes; then
5722 result=no
5723 else
5724 result=yes
5725 fi
5726 else
5727 result=$wxUSE_NO_DEPS
5728 fi
5729
5730 { echo "$as_me:$LINENO: result: $result" >&5
5731 echo "${ECHO_T}$result" >&6; }
5732
5733
5734 enablestring=disable
5735 defaultval=
5736 if test -z "$defaultval"; then
5737 if test x"$enablestring" = xdisable; then
5738 defaultval=yes
5739 else
5740 defaultval=no
5741 fi
5742 fi
5743
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5746 # Check whether --enable-vararg_macros was given.
5747 if test "${enable_vararg_macros+set}" = set; then
5748 enableval=$enable_vararg_macros;
5749 if test "$enableval" = yes; then
5750 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5751 else
5752 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5753 fi
5754 cache=yes
5755
5756 else
5757
5758 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x ; then
5760 eval "DEFAULT_$LINE"
5761 cache=yes
5762 else
5763 cache=no
5764 fi
5765
5766 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5767
5768 fi
5769
5770
5771 eval "$wx_cv_use_vararg_macros"
5772 if test "x$cache" = xyes; then
5773 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5774 fi
5775
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_VARARG_MACROS = yes; then
5778 result=no
5779 else
5780 result=yes
5781 fi
5782 else
5783 result=$wxUSE_VARARG_MACROS
5784 fi
5785
5786 { echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5788
5789
5790 enablestring=
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5793 # Check whether --enable-universal_binary was given.
5794 if test "${enable_universal_binary+set}" = set; then
5795 enableval=$enable_universal_binary;
5796 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5797 cache=yes
5798
5799 else
5800
5801 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5804 cache=yes
5805 else
5806 cache=no
5807 fi
5808
5809 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5810
5811 fi
5812
5813
5814 eval "$wx_cv_use_universal_binary"
5815 if test "x$cache" = xyes; then
5816 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5817 fi
5818
5819 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5820 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5821
5822
5823
5824 enablestring=
5825 defaultval=
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5828 defaultval=yes
5829 else
5830 defaultval=no
5831 fi
5832 fi
5833
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5836 # Check whether --enable-compat26 was given.
5837 if test "${enable_compat26+set}" = set; then
5838 enableval=$enable_compat26;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5841 else
5842 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5843 fi
5844 cache=yes
5845
5846 else
5847
5848 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5851 cache=yes
5852 else
5853 cache=no
5854 fi
5855
5856 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5857
5858 fi
5859
5860
5861 eval "$wx_cv_use_compat26"
5862 if test "x$cache" = xyes; then
5863 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5864 fi
5865
5866 if test x"$enablestring" = xdisable; then
5867 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5868 result=no
5869 else
5870 result=yes
5871 fi
5872 else
5873 result=$WXWIN_COMPATIBILITY_2_6
5874 fi
5875
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5878
5879
5880 enablestring=disable
5881 defaultval=
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5884 defaultval=yes
5885 else
5886 defaultval=no
5887 fi
5888 fi
5889
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5892 # Check whether --enable-compat28 was given.
5893 if test "${enable_compat28+set}" = set; then
5894 enableval=$enable_compat28;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5897 else
5898 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5899 fi
5900 cache=yes
5901
5902 else
5903
5904 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x ; then
5906 eval "DEFAULT_$LINE"
5907 cache=yes
5908 else
5909 cache=no
5910 fi
5911
5912 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5913
5914 fi
5915
5916
5917 eval "$wx_cv_use_compat28"
5918 if test "x$cache" = xyes; then
5919 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5920 fi
5921
5922 if test x"$enablestring" = xdisable; then
5923 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5924 result=no
5925 else
5926 result=yes
5927 fi
5928 else
5929 result=$WXWIN_COMPATIBILITY_2_8
5930 fi
5931
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5934
5935
5936
5937 enablestring=disable
5938 defaultval=
5939 if test -z "$defaultval"; then
5940 if test x"$enablestring" = xdisable; then
5941 defaultval=yes
5942 else
5943 defaultval=no
5944 fi
5945 fi
5946
5947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5949 # Check whether --enable-rpath was given.
5950 if test "${enable_rpath+set}" = set; then
5951 enableval=$enable_rpath;
5952 if test "$enableval" = yes; then
5953 wx_cv_use_rpath='wxUSE_RPATH=yes'
5954 else
5955 wx_cv_use_rpath='wxUSE_RPATH=no'
5956 fi
5957 cache=yes
5958
5959 else
5960
5961 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x ; then
5963 eval "DEFAULT_$LINE"
5964 cache=yes
5965 else
5966 cache=no
5967 fi
5968
5969 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5970
5971 fi
5972
5973
5974 eval "$wx_cv_use_rpath"
5975 if test "x$cache" = xyes; then
5976 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5977 fi
5978
5979 if test x"$enablestring" = xdisable; then
5980 if test $wxUSE_RPATH = yes; then
5981 result=no
5982 else
5983 result=yes
5984 fi
5985 else
5986 result=$wxUSE_RPATH
5987 fi
5988
5989 { echo "$as_me:$LINENO: result: $result" >&5
5990 echo "${ECHO_T}$result" >&6; }
5991
5992
5993
5994 enablestring=
5995 defaultval=
5996 if test -z "$defaultval"; then
5997 if test x"$enablestring" = xdisable; then
5998 defaultval=yes
5999 else
6000 defaultval=no
6001 fi
6002 fi
6003
6004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6006 # Check whether --enable-objc_uniquifying was given.
6007 if test "${enable_objc_uniquifying+set}" = set; then
6008 enableval=$enable_objc_uniquifying;
6009 if test "$enableval" = yes; then
6010 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6011 else
6012 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6013 fi
6014 cache=yes
6015
6016 else
6017
6018 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6021 cache=yes
6022 else
6023 cache=no
6024 fi
6025
6026 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6027
6028 fi
6029
6030
6031 eval "$wx_cv_use_objc_uniquifying"
6032 if test "x$cache" = xyes; then
6033 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6034 fi
6035
6036 if test x"$enablestring" = xdisable; then
6037 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6038 result=no
6039 else
6040 result=yes
6041 fi
6042 else
6043 result=$wxUSE_OBJC_UNIQUIFYING
6044 fi
6045
6046 { echo "$as_me:$LINENO: result: $result" >&5
6047 echo "${ECHO_T}$result" >&6; }
6048
6049
6050
6051 enablestring=disable
6052 defaultval=
6053 if test -z "$defaultval"; then
6054 if test x"$enablestring" = xdisable; then
6055 defaultval=yes
6056 else
6057 defaultval=no
6058 fi
6059 fi
6060
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6063 # Check whether --enable-visibility was given.
6064 if test "${enable_visibility+set}" = set; then
6065 enableval=$enable_visibility;
6066 if test "$enableval" = yes; then
6067 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6068 else
6069 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6070 fi
6071 cache=yes
6072
6073 else
6074
6075 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6078 cache=yes
6079 else
6080 cache=no
6081 fi
6082
6083 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6084
6085 fi
6086
6087
6088 eval "$wx_cv_use_visibility"
6089 if test "x$cache" = xyes; then
6090 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test x"$enablestring" = xdisable; then
6094 if test $wxUSE_VISIBILITY = yes; then
6095 result=no
6096 else
6097 result=yes
6098 fi
6099 else
6100 result=$wxUSE_VISIBILITY
6101 fi
6102
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6105
6106
6107
6108
6109 enablestring=
6110 defaultval=$wxUSE_ALL_FEATURES
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6113 defaultval=yes
6114 else
6115 defaultval=no
6116 fi
6117 fi
6118
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6121 # Check whether --enable-intl was given.
6122 if test "${enable_intl+set}" = set; then
6123 enableval=$enable_intl;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_intl='wxUSE_INTL=yes'
6126 else
6127 wx_cv_use_intl='wxUSE_INTL=no'
6128 fi
6129 cache=yes
6130
6131 else
6132
6133 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6136 cache=yes
6137 else
6138 cache=no
6139 fi
6140
6141 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6142
6143 fi
6144
6145
6146 eval "$wx_cv_use_intl"
6147 if test "x$cache" = xyes; then
6148 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6149 fi
6150
6151 if test x"$enablestring" = xdisable; then
6152 if test $wxUSE_INTL = yes; then
6153 result=no
6154 else
6155 result=yes
6156 fi
6157 else
6158 result=$wxUSE_INTL
6159 fi
6160
6161 { echo "$as_me:$LINENO: result: $result" >&5
6162 echo "${ECHO_T}$result" >&6; }
6163
6164
6165 enablestring=
6166 defaultval=$wxUSE_ALL_FEATURES
6167 if test -z "$defaultval"; then
6168 if test x"$enablestring" = xdisable; then
6169 defaultval=yes
6170 else
6171 defaultval=no
6172 fi
6173 fi
6174
6175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6177 # Check whether --enable-config was given.
6178 if test "${enable_config+set}" = set; then
6179 enableval=$enable_config;
6180 if test "$enableval" = yes; then
6181 wx_cv_use_config='wxUSE_CONFIG=yes'
6182 else
6183 wx_cv_use_config='wxUSE_CONFIG=no'
6184 fi
6185 cache=yes
6186
6187 else
6188
6189 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6192 cache=yes
6193 else
6194 cache=no
6195 fi
6196
6197 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6198
6199 fi
6200
6201
6202 eval "$wx_cv_use_config"
6203 if test "x$cache" = xyes; then
6204 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6205 fi
6206
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_CONFIG = yes; then
6209 result=no
6210 else
6211 result=yes
6212 fi
6213 else
6214 result=$wxUSE_CONFIG
6215 fi
6216
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6219
6220
6221
6222 enablestring=
6223 defaultval=$wxUSE_ALL_FEATURES
6224 if test -z "$defaultval"; then
6225 if test x"$enablestring" = xdisable; then
6226 defaultval=yes
6227 else
6228 defaultval=no
6229 fi
6230 fi
6231
6232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6233 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6234 # Check whether --enable-protocols was given.
6235 if test "${enable_protocols+set}" = set; then
6236 enableval=$enable_protocols;
6237 if test "$enableval" = yes; then
6238 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6239 else
6240 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6241 fi
6242 cache=yes
6243
6244 else
6245
6246 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6247 if test "x$LINE" != x ; then
6248 eval "DEFAULT_$LINE"
6249 cache=yes
6250 else
6251 cache=no
6252 fi
6253
6254 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6255
6256 fi
6257
6258
6259 eval "$wx_cv_use_protocols"
6260 if test "x$cache" = xyes; then
6261 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6262 fi
6263
6264 if test x"$enablestring" = xdisable; then
6265 if test $wxUSE_PROTOCOL = yes; then
6266 result=no
6267 else
6268 result=yes
6269 fi
6270 else
6271 result=$wxUSE_PROTOCOL
6272 fi
6273
6274 { echo "$as_me:$LINENO: result: $result" >&5
6275 echo "${ECHO_T}$result" >&6; }
6276
6277
6278 enablestring=
6279 defaultval=$wxUSE_ALL_FEATURES
6280 if test -z "$defaultval"; then
6281 if test x"$enablestring" = xdisable; then
6282 defaultval=yes
6283 else
6284 defaultval=no
6285 fi
6286 fi
6287
6288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6290 # Check whether --enable-ftp was given.
6291 if test "${enable_ftp+set}" = set; then
6292 enableval=$enable_ftp;
6293 if test "$enableval" = yes; then
6294 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6295 else
6296 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6297 fi
6298 cache=yes
6299
6300 else
6301
6302 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6303 if test "x$LINE" != x ; then
6304 eval "DEFAULT_$LINE"
6305 cache=yes
6306 else
6307 cache=no
6308 fi
6309
6310 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6311
6312 fi
6313
6314
6315 eval "$wx_cv_use_ftp"
6316 if test "x$cache" = xyes; then
6317 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6318 fi
6319
6320 if test x"$enablestring" = xdisable; then
6321 if test $wxUSE_PROTOCOL_FTP = yes; then
6322 result=no
6323 else
6324 result=yes
6325 fi
6326 else
6327 result=$wxUSE_PROTOCOL_FTP
6328 fi
6329
6330 { echo "$as_me:$LINENO: result: $result" >&5
6331 echo "${ECHO_T}$result" >&6; }
6332
6333
6334 enablestring=
6335 defaultval=$wxUSE_ALL_FEATURES
6336 if test -z "$defaultval"; then
6337 if test x"$enablestring" = xdisable; then
6338 defaultval=yes
6339 else
6340 defaultval=no
6341 fi
6342 fi
6343
6344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6346 # Check whether --enable-http was given.
6347 if test "${enable_http+set}" = set; then
6348 enableval=$enable_http;
6349 if test "$enableval" = yes; then
6350 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6351 else
6352 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6353 fi
6354 cache=yes
6355
6356 else
6357
6358 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6361 cache=yes
6362 else
6363 cache=no
6364 fi
6365
6366 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6367
6368 fi
6369
6370
6371 eval "$wx_cv_use_http"
6372 if test "x$cache" = xyes; then
6373 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6374 fi
6375
6376 if test x"$enablestring" = xdisable; then
6377 if test $wxUSE_PROTOCOL_HTTP = yes; then
6378 result=no
6379 else
6380 result=yes
6381 fi
6382 else
6383 result=$wxUSE_PROTOCOL_HTTP
6384 fi
6385
6386 { echo "$as_me:$LINENO: result: $result" >&5
6387 echo "${ECHO_T}$result" >&6; }
6388
6389
6390 enablestring=
6391 defaultval=$wxUSE_ALL_FEATURES
6392 if test -z "$defaultval"; then
6393 if test x"$enablestring" = xdisable; then
6394 defaultval=yes
6395 else
6396 defaultval=no
6397 fi
6398 fi
6399
6400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6402 # Check whether --enable-fileproto was given.
6403 if test "${enable_fileproto+set}" = set; then
6404 enableval=$enable_fileproto;
6405 if test "$enableval" = yes; then
6406 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6407 else
6408 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6409 fi
6410 cache=yes
6411
6412 else
6413
6414 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x ; then
6416 eval "DEFAULT_$LINE"
6417 cache=yes
6418 else
6419 cache=no
6420 fi
6421
6422 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6423
6424 fi
6425
6426
6427 eval "$wx_cv_use_fileproto"
6428 if test "x$cache" = xyes; then
6429 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6430 fi
6431
6432 if test x"$enablestring" = xdisable; then
6433 if test $wxUSE_PROTOCOL_FILE = yes; then
6434 result=no
6435 else
6436 result=yes
6437 fi
6438 else
6439 result=$wxUSE_PROTOCOL_FILE
6440 fi
6441
6442 { echo "$as_me:$LINENO: result: $result" >&5
6443 echo "${ECHO_T}$result" >&6; }
6444
6445
6446 enablestring=
6447 defaultval=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x"$enablestring" = xdisable; then
6450 defaultval=yes
6451 else
6452 defaultval=no
6453 fi
6454 fi
6455
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6458 # Check whether --enable-sockets was given.
6459 if test "${enable_sockets+set}" = set; then
6460 enableval=$enable_sockets;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6463 else
6464 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6465 fi
6466 cache=yes
6467
6468 else
6469
6470 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6473 cache=yes
6474 else
6475 cache=no
6476 fi
6477
6478 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6479
6480 fi
6481
6482
6483 eval "$wx_cv_use_sockets"
6484 if test "x$cache" = xyes; then
6485 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6486 fi
6487
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_SOCKETS = yes; then
6490 result=no
6491 else
6492 result=yes
6493 fi
6494 else
6495 result=$wxUSE_SOCKETS
6496 fi
6497
6498 { echo "$as_me:$LINENO: result: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6500
6501
6502 enablestring=
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6506 defaultval=yes
6507 else
6508 defaultval=no
6509 fi
6510 fi
6511
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6514 # Check whether --enable-ole was given.
6515 if test "${enable_ole+set}" = set; then
6516 enableval=$enable_ole;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_ole='wxUSE_OLE=yes'
6519 else
6520 wx_cv_use_ole='wxUSE_OLE=no'
6521 fi
6522 cache=yes
6523
6524 else
6525
6526 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6529 cache=yes
6530 else
6531 cache=no
6532 fi
6533
6534 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6535
6536 fi
6537
6538
6539 eval "$wx_cv_use_ole"
6540 if test "x$cache" = xyes; then
6541 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6542 fi
6543
6544 if test x"$enablestring" = xdisable; then
6545 if test $wxUSE_OLE = yes; then
6546 result=no
6547 else
6548 result=yes
6549 fi
6550 else
6551 result=$wxUSE_OLE
6552 fi
6553
6554 { echo "$as_me:$LINENO: result: $result" >&5
6555 echo "${ECHO_T}$result" >&6; }
6556
6557
6558 enablestring=
6559 defaultval=$wxUSE_ALL_FEATURES
6560 if test -z "$defaultval"; then
6561 if test x"$enablestring" = xdisable; then
6562 defaultval=yes
6563 else
6564 defaultval=no
6565 fi
6566 fi
6567
6568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6569 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6570 # Check whether --enable-dataobj was given.
6571 if test "${enable_dataobj+set}" = set; then
6572 enableval=$enable_dataobj;
6573 if test "$enableval" = yes; then
6574 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6575 else
6576 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6577 fi
6578 cache=yes
6579
6580 else
6581
6582 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x ; then
6584 eval "DEFAULT_$LINE"
6585 cache=yes
6586 else
6587 cache=no
6588 fi
6589
6590 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6591
6592 fi
6593
6594
6595 eval "$wx_cv_use_dataobj"
6596 if test "x$cache" = xyes; then
6597 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6598 fi
6599
6600 if test x"$enablestring" = xdisable; then
6601 if test $wxUSE_DATAOBJ = yes; then
6602 result=no
6603 else
6604 result=yes
6605 fi
6606 else
6607 result=$wxUSE_DATAOBJ
6608 fi
6609
6610 { echo "$as_me:$LINENO: result: $result" >&5
6611 echo "${ECHO_T}$result" >&6; }
6612
6613
6614
6615 enablestring=
6616 defaultval=$wxUSE_ALL_FEATURES
6617 if test -z "$defaultval"; then
6618 if test x"$enablestring" = xdisable; then
6619 defaultval=yes
6620 else
6621 defaultval=no
6622 fi
6623 fi
6624
6625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6627 # Check whether --enable-ipc was given.
6628 if test "${enable_ipc+set}" = set; then
6629 enableval=$enable_ipc;
6630 if test "$enableval" = yes; then
6631 wx_cv_use_ipc='wxUSE_IPC=yes'
6632 else
6633 wx_cv_use_ipc='wxUSE_IPC=no'
6634 fi
6635 cache=yes
6636
6637 else
6638
6639 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x ; then
6641 eval "DEFAULT_$LINE"
6642 cache=yes
6643 else
6644 cache=no
6645 fi
6646
6647 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6648
6649 fi
6650
6651
6652 eval "$wx_cv_use_ipc"
6653 if test "x$cache" = xyes; then
6654 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6655 fi
6656
6657 if test x"$enablestring" = xdisable; then
6658 if test $wxUSE_IPC = yes; then
6659 result=no
6660 else
6661 result=yes
6662 fi
6663 else
6664 result=$wxUSE_IPC
6665 fi
6666
6667 { echo "$as_me:$LINENO: result: $result" >&5
6668 echo "${ECHO_T}$result" >&6; }
6669
6670
6671
6672 enablestring=
6673 defaultval=$wxUSE_ALL_FEATURES
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6676 defaultval=yes
6677 else
6678 defaultval=no
6679 fi
6680 fi
6681
6682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6683 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6684 # Check whether --enable-baseevtloop was given.
6685 if test "${enable_baseevtloop+set}" = set; then
6686 enableval=$enable_baseevtloop;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6689 else
6690 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6691 fi
6692 cache=yes
6693
6694 else
6695
6696 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6699 cache=yes
6700 else
6701 cache=no
6702 fi
6703
6704 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6705
6706 fi
6707
6708
6709 eval "$wx_cv_use_baseevtloop"
6710 if test "x$cache" = xyes; then
6711 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6712 fi
6713
6714 if test x"$enablestring" = xdisable; then
6715 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6716 result=no
6717 else
6718 result=yes
6719 fi
6720 else
6721 result=$wxUSE_CONSOLE_EVENTLOOP
6722 fi
6723
6724 { echo "$as_me:$LINENO: result: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6726
6727
6728 enablestring=
6729 defaultval=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x"$enablestring" = xdisable; then
6732 defaultval=yes
6733 else
6734 defaultval=no
6735 fi
6736 fi
6737
6738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6739 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6740 # Check whether --enable-epoolloop was given.
6741 if test "${enable_epoolloop+set}" = set; then
6742 enableval=$enable_epoolloop;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6745 else
6746 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6747 fi
6748 cache=yes
6749
6750 else
6751
6752 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x ; then
6754 eval "DEFAULT_$LINE"
6755 cache=yes
6756 else
6757 cache=no
6758 fi
6759
6760 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6761
6762 fi
6763
6764
6765 eval "$wx_cv_use_epoolloop"
6766 if test "x$cache" = xyes; then
6767 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6768 fi
6769
6770 if test x"$enablestring" = xdisable; then
6771 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6772 result=no
6773 else
6774 result=yes
6775 fi
6776 else
6777 result=$wxUSE_EPOLL_DISPATCHER
6778 fi
6779
6780 { echo "$as_me:$LINENO: result: $result" >&5
6781 echo "${ECHO_T}$result" >&6; }
6782
6783
6784 enablestring=
6785 defaultval=$wxUSE_ALL_FEATURES
6786 if test -z "$defaultval"; then
6787 if test x"$enablestring" = xdisable; then
6788 defaultval=yes
6789 else
6790 defaultval=no
6791 fi
6792 fi
6793
6794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6796 # Check whether --enable-selectloop was given.
6797 if test "${enable_selectloop+set}" = set; then
6798 enableval=$enable_selectloop;
6799 if test "$enableval" = yes; then
6800 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6801 else
6802 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6803 fi
6804 cache=yes
6805
6806 else
6807
6808 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6809 if test "x$LINE" != x ; then
6810 eval "DEFAULT_$LINE"
6811 cache=yes
6812 else
6813 cache=no
6814 fi
6815
6816 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6817
6818 fi
6819
6820
6821 eval "$wx_cv_use_selectloop"
6822 if test "x$cache" = xyes; then
6823 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6824 fi
6825
6826 if test x"$enablestring" = xdisable; then
6827 if test $wxUSE_SELECT_DISPATCHER = yes; then
6828 result=no
6829 else
6830 result=yes
6831 fi
6832 else
6833 result=$wxUSE_SELECT_DISPATCHER
6834 fi
6835
6836 { echo "$as_me:$LINENO: result: $result" >&5
6837 echo "${ECHO_T}$result" >&6; }
6838
6839
6840
6841 enablestring=
6842 defaultval=$wxUSE_ALL_FEATURES
6843 if test -z "$defaultval"; then
6844 if test x"$enablestring" = xdisable; then
6845 defaultval=yes
6846 else
6847 defaultval=no
6848 fi
6849 fi
6850
6851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6853 # Check whether --enable-apple_ieee was given.
6854 if test "${enable_apple_ieee+set}" = set; then
6855 enableval=$enable_apple_ieee;
6856 if test "$enableval" = yes; then
6857 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6858 else
6859 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6860 fi
6861 cache=yes
6862
6863 else
6864
6865 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6868 cache=yes
6869 else
6870 cache=no
6871 fi
6872
6873 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6874
6875 fi
6876
6877
6878 eval "$wx_cv_use_apple_ieee"
6879 if test "x$cache" = xyes; then
6880 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6881 fi
6882
6883 if test x"$enablestring" = xdisable; then
6884 if test $wxUSE_APPLE_IEEE = yes; then
6885 result=no
6886 else
6887 result=yes
6888 fi
6889 else
6890 result=$wxUSE_APPLE_IEEE
6891 fi
6892
6893 { echo "$as_me:$LINENO: result: $result" >&5
6894 echo "${ECHO_T}$result" >&6; }
6895
6896
6897 enablestring=
6898 defaultval=$wxUSE_ALL_FEATURES
6899 if test -z "$defaultval"; then
6900 if test x"$enablestring" = xdisable; then
6901 defaultval=yes
6902 else
6903 defaultval=no
6904 fi
6905 fi
6906
6907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6909 # Check whether --enable-arcstream was given.
6910 if test "${enable_arcstream+set}" = set; then
6911 enableval=$enable_arcstream;
6912 if test "$enableval" = yes; then
6913 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6914 else
6915 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6916 fi
6917 cache=yes
6918
6919 else
6920
6921 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x ; then
6923 eval "DEFAULT_$LINE"
6924 cache=yes
6925 else
6926 cache=no
6927 fi
6928
6929 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6930
6931 fi
6932
6933
6934 eval "$wx_cv_use_arcstream"
6935 if test "x$cache" = xyes; then
6936 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6937 fi
6938
6939 if test x"$enablestring" = xdisable; then
6940 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6941 result=no
6942 else
6943 result=yes
6944 fi
6945 else
6946 result=$wxUSE_ARCHIVE_STREAMS
6947 fi
6948
6949 { echo "$as_me:$LINENO: result: $result" >&5
6950 echo "${ECHO_T}$result" >&6; }
6951
6952
6953 enablestring=
6954 defaultval=$wxUSE_ALL_FEATURES
6955 if test -z "$defaultval"; then
6956 if test x"$enablestring" = xdisable; then
6957 defaultval=yes
6958 else
6959 defaultval=no
6960 fi
6961 fi
6962
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6965 # Check whether --enable-base64 was given.
6966 if test "${enable_base64+set}" = set; then
6967 enableval=$enable_base64;
6968 if test "$enableval" = yes; then
6969 wx_cv_use_base64='wxUSE_BASE64=yes'
6970 else
6971 wx_cv_use_base64='wxUSE_BASE64=no'
6972 fi
6973 cache=yes
6974
6975 else
6976
6977 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6980 cache=yes
6981 else
6982 cache=no
6983 fi
6984
6985 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6986
6987 fi
6988
6989
6990 eval "$wx_cv_use_base64"
6991 if test "x$cache" = xyes; then
6992 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6993 fi
6994
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_BASE64 = yes; then
6997 result=no
6998 else
6999 result=yes
7000 fi
7001 else
7002 result=$wxUSE_BASE64
7003 fi
7004
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7007
7008
7009 enablestring=
7010 defaultval=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x"$enablestring" = xdisable; then
7013 defaultval=yes
7014 else
7015 defaultval=no
7016 fi
7017 fi
7018
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7021 # Check whether --enable-backtrace was given.
7022 if test "${enable_backtrace+set}" = set; then
7023 enableval=$enable_backtrace;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7026 else
7027 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7028 fi
7029 cache=yes
7030
7031 else
7032
7033 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x ; then
7035 eval "DEFAULT_$LINE"
7036 cache=yes
7037 else
7038 cache=no
7039 fi
7040
7041 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7042
7043 fi
7044
7045
7046 eval "$wx_cv_use_backtrace"
7047 if test "x$cache" = xyes; then
7048 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7049 fi
7050
7051 if test x"$enablestring" = xdisable; then
7052 if test $wxUSE_STACKWALKER = yes; then
7053 result=no
7054 else
7055 result=yes
7056 fi
7057 else
7058 result=$wxUSE_STACKWALKER
7059 fi
7060
7061 { echo "$as_me:$LINENO: result: $result" >&5
7062 echo "${ECHO_T}$result" >&6; }
7063
7064
7065 enablestring=
7066 defaultval=$wxUSE_ALL_FEATURES
7067 if test -z "$defaultval"; then
7068 if test x"$enablestring" = xdisable; then
7069 defaultval=yes
7070 else
7071 defaultval=no
7072 fi
7073 fi
7074
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7077 # Check whether --enable-catch_segvs was given.
7078 if test "${enable_catch_segvs+set}" = set; then
7079 enableval=$enable_catch_segvs;
7080 if test "$enableval" = yes; then
7081 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7082 else
7083 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7084 fi
7085 cache=yes
7086
7087 else
7088
7089 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7092 cache=yes
7093 else
7094 cache=no
7095 fi
7096
7097 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7098
7099 fi
7100
7101
7102 eval "$wx_cv_use_catch_segvs"
7103 if test "x$cache" = xyes; then
7104 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7105 fi
7106
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7109 result=no
7110 else
7111 result=yes
7112 fi
7113 else
7114 result=$wxUSE_ON_FATAL_EXCEPTION
7115 fi
7116
7117 { echo "$as_me:$LINENO: result: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7119
7120
7121 enablestring=
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7125 defaultval=yes
7126 else
7127 defaultval=no
7128 fi
7129 fi
7130
7131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7133 # Check whether --enable-cmdline was given.
7134 if test "${enable_cmdline+set}" = set; then
7135 enableval=$enable_cmdline;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7138 else
7139 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7140 fi
7141 cache=yes
7142
7143 else
7144
7145 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 cache=yes
7149 else
7150 cache=no
7151 fi
7152
7153 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7154
7155 fi
7156
7157
7158 eval "$wx_cv_use_cmdline"
7159 if test "x$cache" = xyes; then
7160 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test x"$enablestring" = xdisable; then
7164 if test $wxUSE_CMDLINE_PARSER = yes; then
7165 result=no
7166 else
7167 result=yes
7168 fi
7169 else
7170 result=$wxUSE_CMDLINE_PARSER
7171 fi
7172
7173 { echo "$as_me:$LINENO: result: $result" >&5
7174 echo "${ECHO_T}$result" >&6; }
7175
7176
7177 enablestring=
7178 defaultval=$wxUSE_ALL_FEATURES
7179 if test -z "$defaultval"; then
7180 if test x"$enablestring" = xdisable; then
7181 defaultval=yes
7182 else
7183 defaultval=no
7184 fi
7185 fi
7186
7187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7189 # Check whether --enable-datetime was given.
7190 if test "${enable_datetime+set}" = set; then
7191 enableval=$enable_datetime;
7192 if test "$enableval" = yes; then
7193 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7194 else
7195 wx_cv_use_datetime='wxUSE_DATETIME=no'
7196 fi
7197 cache=yes
7198
7199 else
7200
7201 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7202 if test "x$LINE" != x ; then
7203 eval "DEFAULT_$LINE"
7204 cache=yes
7205 else
7206 cache=no
7207 fi
7208
7209 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7210
7211 fi
7212
7213
7214 eval "$wx_cv_use_datetime"
7215 if test "x$cache" = xyes; then
7216 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7217 fi
7218
7219 if test x"$enablestring" = xdisable; then
7220 if test $wxUSE_DATETIME = yes; then
7221 result=no
7222 else
7223 result=yes
7224 fi
7225 else
7226 result=$wxUSE_DATETIME
7227 fi
7228
7229 { echo "$as_me:$LINENO: result: $result" >&5
7230 echo "${ECHO_T}$result" >&6; }
7231
7232
7233 enablestring=
7234 defaultval=$wxUSE_ALL_FEATURES
7235 if test -z "$defaultval"; then
7236 if test x"$enablestring" = xdisable; then
7237 defaultval=yes
7238 else
7239 defaultval=no
7240 fi
7241 fi
7242
7243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7244 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7245 # Check whether --enable-debugreport was given.
7246 if test "${enable_debugreport+set}" = set; then
7247 enableval=$enable_debugreport;
7248 if test "$enableval" = yes; then
7249 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7250 else
7251 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7252 fi
7253 cache=yes
7254
7255 else
7256
7257 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x ; then
7259 eval "DEFAULT_$LINE"
7260 cache=yes
7261 else
7262 cache=no
7263 fi
7264
7265 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7266
7267 fi
7268
7269
7270 eval "$wx_cv_use_debugreport"
7271 if test "x$cache" = xyes; then
7272 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7273 fi
7274
7275 if test x"$enablestring" = xdisable; then
7276 if test $wxUSE_DEBUGREPORT = yes; then
7277 result=no
7278 else
7279 result=yes
7280 fi
7281 else
7282 result=$wxUSE_DEBUGREPORT
7283 fi
7284
7285 { echo "$as_me:$LINENO: result: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7287
7288
7289 enablestring=
7290 defaultval=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x"$enablestring" = xdisable; then
7293 defaultval=yes
7294 else
7295 defaultval=no
7296 fi
7297 fi
7298
7299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7301 # Check whether --enable-dialupman was given.
7302 if test "${enable_dialupman+set}" = set; then
7303 enableval=$enable_dialupman;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7306 else
7307 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7308 fi
7309 cache=yes
7310
7311 else
7312
7313 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7314 if test "x$LINE" != x ; then
7315 eval "DEFAULT_$LINE"
7316 cache=yes
7317 else
7318 cache=no
7319 fi
7320
7321 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7322
7323 fi
7324
7325
7326 eval "$wx_cv_use_dialupman"
7327 if test "x$cache" = xyes; then
7328 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7329 fi
7330
7331 if test x"$enablestring" = xdisable; then
7332 if test $wxUSE_DIALUP_MANAGER = yes; then
7333 result=no
7334 else
7335 result=yes
7336 fi
7337 else
7338 result=$wxUSE_DIALUP_MANAGER
7339 fi
7340
7341 { echo "$as_me:$LINENO: result: $result" >&5
7342 echo "${ECHO_T}$result" >&6; }
7343
7344
7345 enablestring=
7346 defaultval=$wxUSE_ALL_FEATURES
7347 if test -z "$defaultval"; then
7348 if test x"$enablestring" = xdisable; then
7349 defaultval=yes
7350 else
7351 defaultval=no
7352 fi
7353 fi
7354
7355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7357 # Check whether --enable-dynlib was given.
7358 if test "${enable_dynlib+set}" = set; then
7359 enableval=$enable_dynlib;
7360 if test "$enableval" = yes; then
7361 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7362 else
7363 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7364 fi
7365 cache=yes
7366
7367 else
7368
7369 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7372 cache=yes
7373 else
7374 cache=no
7375 fi
7376
7377 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7378
7379 fi
7380
7381
7382 eval "$wx_cv_use_dynlib"
7383 if test "x$cache" = xyes; then
7384 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7385 fi
7386
7387 if test x"$enablestring" = xdisable; then
7388 if test $wxUSE_DYNLIB_CLASS = yes; then
7389 result=no
7390 else
7391 result=yes
7392 fi
7393 else
7394 result=$wxUSE_DYNLIB_CLASS
7395 fi
7396
7397 { echo "$as_me:$LINENO: result: $result" >&5
7398 echo "${ECHO_T}$result" >&6; }
7399
7400
7401 enablestring=
7402 defaultval=$wxUSE_ALL_FEATURES
7403 if test -z "$defaultval"; then
7404 if test x"$enablestring" = xdisable; then
7405 defaultval=yes
7406 else
7407 defaultval=no
7408 fi
7409 fi
7410
7411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7412 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7413 # Check whether --enable-dynamicloader was given.
7414 if test "${enable_dynamicloader+set}" = set; then
7415 enableval=$enable_dynamicloader;
7416 if test "$enableval" = yes; then
7417 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7418 else
7419 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7420 fi
7421 cache=yes
7422
7423 else
7424
7425 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7426 if test "x$LINE" != x ; then
7427 eval "DEFAULT_$LINE"
7428 cache=yes
7429 else
7430 cache=no
7431 fi
7432
7433 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7434
7435 fi
7436
7437
7438 eval "$wx_cv_use_dynamicloader"
7439 if test "x$cache" = xyes; then
7440 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7441 fi
7442
7443 if test x"$enablestring" = xdisable; then
7444 if test $wxUSE_DYNAMIC_LOADER = yes; then
7445 result=no
7446 else
7447 result=yes
7448 fi
7449 else
7450 result=$wxUSE_DYNAMIC_LOADER
7451 fi
7452
7453 { echo "$as_me:$LINENO: result: $result" >&5
7454 echo "${ECHO_T}$result" >&6; }
7455
7456
7457 enablestring=
7458 defaultval=$wxUSE_ALL_FEATURES
7459 if test -z "$defaultval"; then
7460 if test x"$enablestring" = xdisable; then
7461 defaultval=yes
7462 else
7463 defaultval=no
7464 fi
7465 fi
7466
7467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7469 # Check whether --enable-exceptions was given.
7470 if test "${enable_exceptions+set}" = set; then
7471 enableval=$enable_exceptions;
7472 if test "$enableval" = yes; then
7473 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7474 else
7475 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7476 fi
7477 cache=yes
7478
7479 else
7480
7481 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7484 cache=yes
7485 else
7486 cache=no
7487 fi
7488
7489 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7490
7491 fi
7492
7493
7494 eval "$wx_cv_use_exceptions"
7495 if test "x$cache" = xyes; then
7496 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7497 fi
7498
7499 if test x"$enablestring" = xdisable; then
7500 if test $wxUSE_EXCEPTIONS = yes; then
7501 result=no
7502 else
7503 result=yes
7504 fi
7505 else
7506 result=$wxUSE_EXCEPTIONS
7507 fi
7508
7509 { echo "$as_me:$LINENO: result: $result" >&5
7510 echo "${ECHO_T}$result" >&6; }
7511
7512
7513 enablestring=
7514 defaultval=$wxUSE_ALL_FEATURES
7515 if test -z "$defaultval"; then
7516 if test x"$enablestring" = xdisable; then
7517 defaultval=yes
7518 else
7519 defaultval=no
7520 fi
7521 fi
7522
7523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7525 # Check whether --enable-ffile was given.
7526 if test "${enable_ffile+set}" = set; then
7527 enableval=$enable_ffile;
7528 if test "$enableval" = yes; then
7529 wx_cv_use_ffile='wxUSE_FFILE=yes'
7530 else
7531 wx_cv_use_ffile='wxUSE_FFILE=no'
7532 fi
7533 cache=yes
7534
7535 else
7536
7537 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x ; then
7539 eval "DEFAULT_$LINE"
7540 cache=yes
7541 else
7542 cache=no
7543 fi
7544
7545 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7546
7547 fi
7548
7549
7550 eval "$wx_cv_use_ffile"
7551 if test "x$cache" = xyes; then
7552 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7553 fi
7554
7555 if test x"$enablestring" = xdisable; then
7556 if test $wxUSE_FFILE = yes; then
7557 result=no
7558 else
7559 result=yes
7560 fi
7561 else
7562 result=$wxUSE_FFILE
7563 fi
7564
7565 { echo "$as_me:$LINENO: result: $result" >&5
7566 echo "${ECHO_T}$result" >&6; }
7567
7568
7569 enablestring=
7570 defaultval=$wxUSE_ALL_FEATURES
7571 if test -z "$defaultval"; then
7572 if test x"$enablestring" = xdisable; then
7573 defaultval=yes
7574 else
7575 defaultval=no
7576 fi
7577 fi
7578
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7581 # Check whether --enable-file was given.
7582 if test "${enable_file+set}" = set; then
7583 enableval=$enable_file;
7584 if test "$enableval" = yes; then
7585 wx_cv_use_file='wxUSE_FILE=yes'
7586 else
7587 wx_cv_use_file='wxUSE_FILE=no'
7588 fi
7589 cache=yes
7590
7591 else
7592
7593 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7596 cache=yes
7597 else
7598 cache=no
7599 fi
7600
7601 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7602
7603 fi
7604
7605
7606 eval "$wx_cv_use_file"
7607 if test "x$cache" = xyes; then
7608 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7609 fi
7610
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_FILE = yes; then
7613 result=no
7614 else
7615 result=yes
7616 fi
7617 else
7618 result=$wxUSE_FILE
7619 fi
7620
7621 { echo "$as_me:$LINENO: result: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7623
7624
7625 enablestring=
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7629 defaultval=yes
7630 else
7631 defaultval=no
7632 fi
7633 fi
7634
7635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7637 # Check whether --enable-filesystem was given.
7638 if test "${enable_filesystem+set}" = set; then
7639 enableval=$enable_filesystem;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7642 else
7643 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7644 fi
7645 cache=yes
7646
7647 else
7648
7649 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x ; then
7651 eval "DEFAULT_$LINE"
7652 cache=yes
7653 else
7654 cache=no
7655 fi
7656
7657 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7658
7659 fi
7660
7661
7662 eval "$wx_cv_use_filesystem"
7663 if test "x$cache" = xyes; then
7664 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7665 fi
7666
7667 if test x"$enablestring" = xdisable; then
7668 if test $wxUSE_FILESYSTEM = yes; then
7669 result=no
7670 else
7671 result=yes
7672 fi
7673 else
7674 result=$wxUSE_FILESYSTEM
7675 fi
7676
7677 { echo "$as_me:$LINENO: result: $result" >&5
7678 echo "${ECHO_T}$result" >&6; }
7679
7680
7681 enablestring=
7682 defaultval=$wxUSE_ALL_FEATURES
7683 if test -z "$defaultval"; then
7684 if test x"$enablestring" = xdisable; then
7685 defaultval=yes
7686 else
7687 defaultval=no
7688 fi
7689 fi
7690
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7693 # Check whether --enable-fontenum was given.
7694 if test "${enable_fontenum+set}" = set; then
7695 enableval=$enable_fontenum;
7696 if test "$enableval" = yes; then
7697 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7698 else
7699 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7700 fi
7701 cache=yes
7702
7703 else
7704
7705 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7708 cache=yes
7709 else
7710 cache=no
7711 fi
7712
7713 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7714
7715 fi
7716
7717
7718 eval "$wx_cv_use_fontenum"
7719 if test "x$cache" = xyes; then
7720 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7721 fi
7722
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_FONTENUM = yes; then
7725 result=no
7726 else
7727 result=yes
7728 fi
7729 else
7730 result=$wxUSE_FONTENUM
7731 fi
7732
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7735
7736
7737 enablestring=
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7741 defaultval=yes
7742 else
7743 defaultval=no
7744 fi
7745 fi
7746
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7749 # Check whether --enable-fontmap was given.
7750 if test "${enable_fontmap+set}" = set; then
7751 enableval=$enable_fontmap;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7754 else
7755 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7756 fi
7757 cache=yes
7758
7759 else
7760
7761 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7762 if test "x$LINE" != x ; then
7763 eval "DEFAULT_$LINE"
7764 cache=yes
7765 else
7766 cache=no
7767 fi
7768
7769 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7770
7771 fi
7772
7773
7774 eval "$wx_cv_use_fontmap"
7775 if test "x$cache" = xyes; then
7776 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7777 fi
7778
7779 if test x"$enablestring" = xdisable; then
7780 if test $wxUSE_FONTMAP = yes; then
7781 result=no
7782 else
7783 result=yes
7784 fi
7785 else
7786 result=$wxUSE_FONTMAP
7787 fi
7788
7789 { echo "$as_me:$LINENO: result: $result" >&5
7790 echo "${ECHO_T}$result" >&6; }
7791
7792
7793 enablestring=
7794 defaultval=$wxUSE_ALL_FEATURES
7795 if test -z "$defaultval"; then
7796 if test x"$enablestring" = xdisable; then
7797 defaultval=yes
7798 else
7799 defaultval=no
7800 fi
7801 fi
7802
7803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7804 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7805 # Check whether --enable-fs_archive was given.
7806 if test "${enable_fs_archive+set}" = set; then
7807 enableval=$enable_fs_archive;
7808 if test "$enableval" = yes; then
7809 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7810 else
7811 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7812 fi
7813 cache=yes
7814
7815 else
7816
7817 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x ; then
7819 eval "DEFAULT_$LINE"
7820 cache=yes
7821 else
7822 cache=no
7823 fi
7824
7825 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7826
7827 fi
7828
7829
7830 eval "$wx_cv_use_fs_archive"
7831 if test "x$cache" = xyes; then
7832 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7833 fi
7834
7835 if test x"$enablestring" = xdisable; then
7836 if test $wxUSE_FS_ARCHIVE = yes; then
7837 result=no
7838 else
7839 result=yes
7840 fi
7841 else
7842 result=$wxUSE_FS_ARCHIVE
7843 fi
7844
7845 { echo "$as_me:$LINENO: result: $result" >&5
7846 echo "${ECHO_T}$result" >&6; }
7847
7848
7849 enablestring=
7850 defaultval=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x"$enablestring" = xdisable; then
7853 defaultval=yes
7854 else
7855 defaultval=no
7856 fi
7857 fi
7858
7859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7860 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7861 # Check whether --enable-fs_inet was given.
7862 if test "${enable_fs_inet+set}" = set; then
7863 enableval=$enable_fs_inet;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7866 else
7867 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7868 fi
7869 cache=yes
7870
7871 else
7872
7873 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7874 if test "x$LINE" != x ; then
7875 eval "DEFAULT_$LINE"
7876 cache=yes
7877 else
7878 cache=no
7879 fi
7880
7881 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7882
7883 fi
7884
7885
7886 eval "$wx_cv_use_fs_inet"
7887 if test "x$cache" = xyes; then
7888 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7889 fi
7890
7891 if test x"$enablestring" = xdisable; then
7892 if test $wxUSE_FS_INET = yes; then
7893 result=no
7894 else
7895 result=yes
7896 fi
7897 else
7898 result=$wxUSE_FS_INET
7899 fi
7900
7901 { echo "$as_me:$LINENO: result: $result" >&5
7902 echo "${ECHO_T}$result" >&6; }
7903
7904
7905 enablestring=
7906 defaultval=$wxUSE_ALL_FEATURES
7907 if test -z "$defaultval"; then
7908 if test x"$enablestring" = xdisable; then
7909 defaultval=yes
7910 else
7911 defaultval=no
7912 fi
7913 fi
7914
7915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7917 # Check whether --enable-fs_zip was given.
7918 if test "${enable_fs_zip+set}" = set; then
7919 enableval=$enable_fs_zip;
7920 if test "$enableval" = yes; then
7921 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7922 else
7923 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7924 fi
7925 cache=yes
7926
7927 else
7928
7929 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7932 cache=yes
7933 else
7934 cache=no
7935 fi
7936
7937 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7938
7939 fi
7940
7941
7942 eval "$wx_cv_use_fs_zip"
7943 if test "x$cache" = xyes; then
7944 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7945 fi
7946
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_FS_ZIP = yes; then
7949 result=no
7950 else
7951 result=yes
7952 fi
7953 else
7954 result=$wxUSE_FS_ZIP
7955 fi
7956
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7959
7960
7961 enablestring=
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7965 defaultval=yes
7966 else
7967 defaultval=no
7968 fi
7969 fi
7970
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7973 # Check whether --enable-geometry was given.
7974 if test "${enable_geometry+set}" = set; then
7975 enableval=$enable_geometry;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7978 else
7979 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7980 fi
7981 cache=yes
7982
7983 else
7984
7985 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7988 cache=yes
7989 else
7990 cache=no
7991 fi
7992
7993 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7994
7995 fi
7996
7997
7998 eval "$wx_cv_use_geometry"
7999 if test "x$cache" = xyes; then
8000 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8001 fi
8002
8003 if test x"$enablestring" = xdisable; then
8004 if test $wxUSE_GEOMETRY = yes; then
8005 result=no
8006 else
8007 result=yes
8008 fi
8009 else
8010 result=$wxUSE_GEOMETRY
8011 fi
8012
8013 { echo "$as_me:$LINENO: result: $result" >&5
8014 echo "${ECHO_T}$result" >&6; }
8015
8016
8017 enablestring=
8018 defaultval=$wxUSE_ALL_FEATURES
8019 if test -z "$defaultval"; then
8020 if test x"$enablestring" = xdisable; then
8021 defaultval=yes
8022 else
8023 defaultval=no
8024 fi
8025 fi
8026
8027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8029 # Check whether --enable-log was given.
8030 if test "${enable_log+set}" = set; then
8031 enableval=$enable_log;
8032 if test "$enableval" = yes; then
8033 wx_cv_use_log='wxUSE_LOG=yes'
8034 else
8035 wx_cv_use_log='wxUSE_LOG=no'
8036 fi
8037 cache=yes
8038
8039 else
8040
8041 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x ; then
8043 eval "DEFAULT_$LINE"
8044 cache=yes
8045 else
8046 cache=no
8047 fi
8048
8049 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8050
8051 fi
8052
8053
8054 eval "$wx_cv_use_log"
8055 if test "x$cache" = xyes; then
8056 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8057 fi
8058
8059 if test x"$enablestring" = xdisable; then
8060 if test $wxUSE_LOG = yes; then
8061 result=no
8062 else
8063 result=yes
8064 fi
8065 else
8066 result=$wxUSE_LOG
8067 fi
8068
8069 { echo "$as_me:$LINENO: result: $result" >&5
8070 echo "${ECHO_T}$result" >&6; }
8071
8072
8073 enablestring=
8074 defaultval=$wxUSE_ALL_FEATURES
8075 if test -z "$defaultval"; then
8076 if test x"$enablestring" = xdisable; then
8077 defaultval=yes
8078 else
8079 defaultval=no
8080 fi
8081 fi
8082
8083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8085 # Check whether --enable-longlong was given.
8086 if test "${enable_longlong+set}" = set; then
8087 enableval=$enable_longlong;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8090 else
8091 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8092 fi
8093 cache=yes
8094
8095 else
8096
8097 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x ; then
8099 eval "DEFAULT_$LINE"
8100 cache=yes
8101 else
8102 cache=no
8103 fi
8104
8105 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8106
8107 fi
8108
8109
8110 eval "$wx_cv_use_longlong"
8111 if test "x$cache" = xyes; then
8112 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8113 fi
8114
8115 if test x"$enablestring" = xdisable; then
8116 if test $wxUSE_LONGLONG = yes; then
8117 result=no
8118 else
8119 result=yes
8120 fi
8121 else
8122 result=$wxUSE_LONGLONG
8123 fi
8124
8125 { echo "$as_me:$LINENO: result: $result" >&5
8126 echo "${ECHO_T}$result" >&6; }
8127
8128
8129 enablestring=
8130 defaultval=$wxUSE_ALL_FEATURES
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8133 defaultval=yes
8134 else
8135 defaultval=no
8136 fi
8137 fi
8138
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8141 # Check whether --enable-mimetype was given.
8142 if test "${enable_mimetype+set}" = set; then
8143 enableval=$enable_mimetype;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8146 else
8147 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8148 fi
8149 cache=yes
8150
8151 else
8152
8153 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x ; then
8155 eval "DEFAULT_$LINE"
8156 cache=yes
8157 else
8158 cache=no
8159 fi
8160
8161 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8162
8163 fi
8164
8165
8166 eval "$wx_cv_use_mimetype"
8167 if test "x$cache" = xyes; then
8168 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8169 fi
8170
8171 if test x"$enablestring" = xdisable; then
8172 if test $wxUSE_MIMETYPE = yes; then
8173 result=no
8174 else
8175 result=yes
8176 fi
8177 else
8178 result=$wxUSE_MIMETYPE
8179 fi
8180
8181 { echo "$as_me:$LINENO: result: $result" >&5
8182 echo "${ECHO_T}$result" >&6; }
8183
8184
8185 enablestring=
8186 defaultval=$wxUSE_ALL_FEATURES
8187 if test -z "$defaultval"; then
8188 if test x"$enablestring" = xdisable; then
8189 defaultval=yes
8190 else
8191 defaultval=no
8192 fi
8193 fi
8194
8195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8197 # Check whether --enable-snglinst was given.
8198 if test "${enable_snglinst+set}" = set; then
8199 enableval=$enable_snglinst;
8200 if test "$enableval" = yes; then
8201 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8202 else
8203 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8204 fi
8205 cache=yes
8206
8207 else
8208
8209 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8212 cache=yes
8213 else
8214 cache=no
8215 fi
8216
8217 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8218
8219 fi
8220
8221
8222 eval "$wx_cv_use_snglinst"
8223 if test "x$cache" = xyes; then
8224 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8225 fi
8226
8227 if test x"$enablestring" = xdisable; then
8228 if test $wxUSE_SNGLINST_CHECKER = yes; then
8229 result=no
8230 else
8231 result=yes
8232 fi
8233 else
8234 result=$wxUSE_SNGLINST_CHECKER
8235 fi
8236
8237 { echo "$as_me:$LINENO: result: $result" >&5
8238 echo "${ECHO_T}$result" >&6; }
8239
8240
8241 enablestring=
8242 defaultval=$wxUSE_ALL_FEATURES
8243 if test -z "$defaultval"; then
8244 if test x"$enablestring" = xdisable; then
8245 defaultval=yes
8246 else
8247 defaultval=no
8248 fi
8249 fi
8250
8251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8253 # Check whether --enable-stdpaths was given.
8254 if test "${enable_stdpaths+set}" = set; then
8255 enableval=$enable_stdpaths;
8256 if test "$enableval" = yes; then
8257 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8258 else
8259 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8260 fi
8261 cache=yes
8262
8263 else
8264
8265 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x ; then
8267 eval "DEFAULT_$LINE"
8268 cache=yes
8269 else
8270 cache=no
8271 fi
8272
8273 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8274
8275 fi
8276
8277
8278 eval "$wx_cv_use_stdpaths"
8279 if test "x$cache" = xyes; then
8280 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8281 fi
8282
8283 if test x"$enablestring" = xdisable; then
8284 if test $wxUSE_STDPATHS = yes; then
8285 result=no
8286 else
8287 result=yes
8288 fi
8289 else
8290 result=$wxUSE_STDPATHS
8291 fi
8292
8293 { echo "$as_me:$LINENO: result: $result" >&5
8294 echo "${ECHO_T}$result" >&6; }
8295
8296
8297 enablestring=
8298 defaultval=$wxUSE_ALL_FEATURES
8299 if test -z "$defaultval"; then
8300 if test x"$enablestring" = xdisable; then
8301 defaultval=yes
8302 else
8303 defaultval=no
8304 fi
8305 fi
8306
8307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8309 # Check whether --enable-stopwatch was given.
8310 if test "${enable_stopwatch+set}" = set; then
8311 enableval=$enable_stopwatch;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8314 else
8315 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8316 fi
8317 cache=yes
8318
8319 else
8320
8321 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8322 if test "x$LINE" != x ; then
8323 eval "DEFAULT_$LINE"
8324 cache=yes
8325 else
8326 cache=no
8327 fi
8328
8329 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8330
8331 fi
8332
8333
8334 eval "$wx_cv_use_stopwatch"
8335 if test "x$cache" = xyes; then
8336 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8337 fi
8338
8339 if test x"$enablestring" = xdisable; then
8340 if test $wxUSE_STOPWATCH = yes; then
8341 result=no
8342 else
8343 result=yes
8344 fi
8345 else
8346 result=$wxUSE_STOPWATCH
8347 fi
8348
8349 { echo "$as_me:$LINENO: result: $result" >&5
8350 echo "${ECHO_T}$result" >&6; }
8351
8352
8353 enablestring=
8354 defaultval=$wxUSE_ALL_FEATURES
8355 if test -z "$defaultval"; then
8356 if test x"$enablestring" = xdisable; then
8357 defaultval=yes
8358 else
8359 defaultval=no
8360 fi
8361 fi
8362
8363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8365 # Check whether --enable-streams was given.
8366 if test "${enable_streams+set}" = set; then
8367 enableval=$enable_streams;
8368 if test "$enableval" = yes; then
8369 wx_cv_use_streams='wxUSE_STREAMS=yes'
8370 else
8371 wx_cv_use_streams='wxUSE_STREAMS=no'
8372 fi
8373 cache=yes
8374
8375 else
8376
8377 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x ; then
8379 eval "DEFAULT_$LINE"
8380 cache=yes
8381 else
8382 cache=no
8383 fi
8384
8385 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8386
8387 fi
8388
8389
8390 eval "$wx_cv_use_streams"
8391 if test "x$cache" = xyes; then
8392 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8393 fi
8394
8395 if test x"$enablestring" = xdisable; then
8396 if test $wxUSE_STREAMS = yes; then
8397 result=no
8398 else
8399 result=yes
8400 fi
8401 else
8402 result=$wxUSE_STREAMS
8403 fi
8404
8405 { echo "$as_me:$LINENO: result: $result" >&5
8406 echo "${ECHO_T}$result" >&6; }
8407
8408
8409 enablestring=
8410 defaultval=$wxUSE_ALL_FEATURES
8411 if test -z "$defaultval"; then
8412 if test x"$enablestring" = xdisable; then
8413 defaultval=yes
8414 else
8415 defaultval=no
8416 fi
8417 fi
8418
8419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8420 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8421 # Check whether --enable-system_options was given.
8422 if test "${enable_system_options+set}" = set; then
8423 enableval=$enable_system_options;
8424 if test "$enableval" = yes; then
8425 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8426 else
8427 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8428 fi
8429 cache=yes
8430
8431 else
8432
8433 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8434 if test "x$LINE" != x ; then
8435 eval "DEFAULT_$LINE"
8436 cache=yes
8437 else
8438 cache=no
8439 fi
8440
8441 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8442
8443 fi
8444
8445
8446 eval "$wx_cv_use_system_options"
8447 if test "x$cache" = xyes; then
8448 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8449 fi
8450
8451 if test x"$enablestring" = xdisable; then
8452 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8453 result=no
8454 else
8455 result=yes
8456 fi
8457 else
8458 result=$wxUSE_SYSTEM_OPTIONS
8459 fi
8460
8461 { echo "$as_me:$LINENO: result: $result" >&5
8462 echo "${ECHO_T}$result" >&6; }
8463
8464
8465 enablestring=
8466 defaultval=$wxUSE_ALL_FEATURES
8467 if test -z "$defaultval"; then
8468 if test x"$enablestring" = xdisable; then
8469 defaultval=yes
8470 else
8471 defaultval=no
8472 fi
8473 fi
8474
8475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8476 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8477 # Check whether --enable-tarstream was given.
8478 if test "${enable_tarstream+set}" = set; then
8479 enableval=$enable_tarstream;
8480 if test "$enableval" = yes; then
8481 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8482 else
8483 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8484 fi
8485 cache=yes
8486
8487 else
8488
8489 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8490 if test "x$LINE" != x ; then
8491 eval "DEFAULT_$LINE"
8492 cache=yes
8493 else
8494 cache=no
8495 fi
8496
8497 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8498
8499 fi
8500
8501
8502 eval "$wx_cv_use_tarstream"
8503 if test "x$cache" = xyes; then
8504 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8505 fi
8506
8507 if test x"$enablestring" = xdisable; then
8508 if test $wxUSE_TARSTREAM = yes; then
8509 result=no
8510 else
8511 result=yes
8512 fi
8513 else
8514 result=$wxUSE_TARSTREAM
8515 fi
8516
8517 { echo "$as_me:$LINENO: result: $result" >&5
8518 echo "${ECHO_T}$result" >&6; }
8519
8520
8521 enablestring=
8522 defaultval=$wxUSE_ALL_FEATURES
8523 if test -z "$defaultval"; then
8524 if test x"$enablestring" = xdisable; then
8525 defaultval=yes
8526 else
8527 defaultval=no
8528 fi
8529 fi
8530
8531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8533 # Check whether --enable-textbuf was given.
8534 if test "${enable_textbuf+set}" = set; then
8535 enableval=$enable_textbuf;
8536 if test "$enableval" = yes; then
8537 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8538 else
8539 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8540 fi
8541 cache=yes
8542
8543 else
8544
8545 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8548 cache=yes
8549 else
8550 cache=no
8551 fi
8552
8553 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8554
8555 fi
8556
8557
8558 eval "$wx_cv_use_textbuf"
8559 if test "x$cache" = xyes; then
8560 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8561 fi
8562
8563 if test x"$enablestring" = xdisable; then
8564 if test $wxUSE_TEXTBUFFER = yes; then
8565 result=no
8566 else
8567 result=yes
8568 fi
8569 else
8570 result=$wxUSE_TEXTBUFFER
8571 fi
8572
8573 { echo "$as_me:$LINENO: result: $result" >&5
8574 echo "${ECHO_T}$result" >&6; }
8575
8576
8577 enablestring=
8578 defaultval=$wxUSE_ALL_FEATURES
8579 if test -z "$defaultval"; then
8580 if test x"$enablestring" = xdisable; then
8581 defaultval=yes
8582 else
8583 defaultval=no
8584 fi
8585 fi
8586
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8589 # Check whether --enable-textfile was given.
8590 if test "${enable_textfile+set}" = set; then
8591 enableval=$enable_textfile;
8592 if test "$enableval" = yes; then
8593 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8594 else
8595 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8596 fi
8597 cache=yes
8598
8599 else
8600
8601 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x ; then
8603 eval "DEFAULT_$LINE"
8604 cache=yes
8605 else
8606 cache=no
8607 fi
8608
8609 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8610
8611 fi
8612
8613
8614 eval "$wx_cv_use_textfile"
8615 if test "x$cache" = xyes; then
8616 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8617 fi
8618
8619 if test x"$enablestring" = xdisable; then
8620 if test $wxUSE_TEXTFILE = yes; then
8621 result=no
8622 else
8623 result=yes
8624 fi
8625 else
8626 result=$wxUSE_TEXTFILE
8627 fi
8628
8629 { echo "$as_me:$LINENO: result: $result" >&5
8630 echo "${ECHO_T}$result" >&6; }
8631
8632
8633 enablestring=
8634 defaultval=$wxUSE_ALL_FEATURES
8635 if test -z "$defaultval"; then
8636 if test x"$enablestring" = xdisable; then
8637 defaultval=yes
8638 else
8639 defaultval=no
8640 fi
8641 fi
8642
8643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8644 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8645 # Check whether --enable-timer was given.
8646 if test "${enable_timer+set}" = set; then
8647 enableval=$enable_timer;
8648 if test "$enableval" = yes; then
8649 wx_cv_use_timer='wxUSE_TIMER=yes'
8650 else
8651 wx_cv_use_timer='wxUSE_TIMER=no'
8652 fi
8653 cache=yes
8654
8655 else
8656
8657 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8658 if test "x$LINE" != x ; then
8659 eval "DEFAULT_$LINE"
8660 cache=yes
8661 else
8662 cache=no
8663 fi
8664
8665 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8666
8667 fi
8668
8669
8670 eval "$wx_cv_use_timer"
8671 if test "x$cache" = xyes; then
8672 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8673 fi
8674
8675 if test x"$enablestring" = xdisable; then
8676 if test $wxUSE_TIMER = yes; then
8677 result=no
8678 else
8679 result=yes
8680 fi
8681 else
8682 result=$wxUSE_TIMER
8683 fi
8684
8685 { echo "$as_me:$LINENO: result: $result" >&5
8686 echo "${ECHO_T}$result" >&6; }
8687
8688
8689 enablestring=
8690 defaultval=$wxUSE_ALL_FEATURES
8691 if test -z "$defaultval"; then
8692 if test x"$enablestring" = xdisable; then
8693 defaultval=yes
8694 else
8695 defaultval=no
8696 fi
8697 fi
8698
8699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8700 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8701 # Check whether --enable-sound was given.
8702 if test "${enable_sound+set}" = set; then
8703 enableval=$enable_sound;
8704 if test "$enableval" = yes; then
8705 wx_cv_use_sound='wxUSE_SOUND=yes'
8706 else
8707 wx_cv_use_sound='wxUSE_SOUND=no'
8708 fi
8709 cache=yes
8710
8711 else
8712
8713 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8716 cache=yes
8717 else
8718 cache=no
8719 fi
8720
8721 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8722
8723 fi
8724
8725
8726 eval "$wx_cv_use_sound"
8727 if test "x$cache" = xyes; then
8728 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8729 fi
8730
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_SOUND = yes; then
8733 result=no
8734 else
8735 result=yes
8736 fi
8737 else
8738 result=$wxUSE_SOUND
8739 fi
8740
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8743
8744
8745 enablestring=
8746 defaultval=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x"$enablestring" = xdisable; then
8749 defaultval=yes
8750 else
8751 defaultval=no
8752 fi
8753 fi
8754
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8757 # Check whether --enable-mediactrl was given.
8758 if test "${enable_mediactrl+set}" = set; then
8759 enableval=$enable_mediactrl;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8762 else
8763 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8764 fi
8765 cache=yes
8766
8767 else
8768
8769 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8770 if test "x$LINE" != x ; then
8771 eval "DEFAULT_$LINE"
8772 cache=yes
8773 else
8774 cache=no
8775 fi
8776
8777 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8778
8779 fi
8780
8781
8782 eval "$wx_cv_use_mediactrl"
8783 if test "x$cache" = xyes; then
8784 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8785 fi
8786
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_MEDIACTRL = yes; then
8789 result=no
8790 else
8791 result=yes
8792 fi
8793 else
8794 result=$wxUSE_MEDIACTRL
8795 fi
8796
8797 { echo "$as_me:$LINENO: result: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8799
8800
8801 enablestring=
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8805 defaultval=yes
8806 else
8807 defaultval=no
8808 fi
8809 fi
8810
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8813 # Check whether --enable-gstreamer8 was given.
8814 if test "${enable_gstreamer8+set}" = set; then
8815 enableval=$enable_gstreamer8;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8818 else
8819 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8820 fi
8821 cache=yes
8822
8823 else
8824
8825 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8828 cache=yes
8829 else
8830 cache=no
8831 fi
8832
8833 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8834
8835 fi
8836
8837
8838 eval "$wx_cv_use_gstreamer8"
8839 if test "x$cache" = xyes; then
8840 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8841 fi
8842
8843 if test x"$enablestring" = xdisable; then
8844 if test $wxUSE_GSTREAMER8 = yes; then
8845 result=no
8846 else
8847 result=yes
8848 fi
8849 else
8850 result=$wxUSE_GSTREAMER8
8851 fi
8852
8853 { echo "$as_me:$LINENO: result: $result" >&5
8854 echo "${ECHO_T}$result" >&6; }
8855
8856
8857 enablestring=
8858 defaultval=$wxUSE_ALL_FEATURES
8859 if test -z "$defaultval"; then
8860 if test x"$enablestring" = xdisable; then
8861 defaultval=yes
8862 else
8863 defaultval=no
8864 fi
8865 fi
8866
8867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8869 # Check whether --enable-printfposparam was given.
8870 if test "${enable_printfposparam+set}" = set; then
8871 enableval=$enable_printfposparam;
8872 if test "$enableval" = yes; then
8873 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8874 else
8875 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8876 fi
8877 cache=yes
8878
8879 else
8880
8881 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8882 if test "x$LINE" != x ; then
8883 eval "DEFAULT_$LINE"
8884 cache=yes
8885 else
8886 cache=no
8887 fi
8888
8889 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8890
8891 fi
8892
8893
8894 eval "$wx_cv_use_printfposparam"
8895 if test "x$cache" = xyes; then
8896 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8897 fi
8898
8899 if test x"$enablestring" = xdisable; then
8900 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8901 result=no
8902 else
8903 result=yes
8904 fi
8905 else
8906 result=$wxUSE_PRINTF_POS_PARAMS
8907 fi
8908
8909 { echo "$as_me:$LINENO: result: $result" >&5
8910 echo "${ECHO_T}$result" >&6; }
8911
8912
8913 enablestring=
8914 defaultval=$wxUSE_ALL_FEATURES
8915 if test -z "$defaultval"; then
8916 if test x"$enablestring" = xdisable; then
8917 defaultval=yes
8918 else
8919 defaultval=no
8920 fi
8921 fi
8922
8923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8925 # Check whether --enable-zipstream was given.
8926 if test "${enable_zipstream+set}" = set; then
8927 enableval=$enable_zipstream;
8928 if test "$enableval" = yes; then
8929 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8930 else
8931 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8932 fi
8933 cache=yes
8934
8935 else
8936
8937 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8940 cache=yes
8941 else
8942 cache=no
8943 fi
8944
8945 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8946
8947 fi
8948
8949
8950 eval "$wx_cv_use_zipstream"
8951 if test "x$cache" = xyes; then
8952 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8953 fi
8954
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_ZIPSTREAM = yes; then
8957 result=no
8958 else
8959 result=yes
8960 fi
8961 else
8962 result=$wxUSE_ZIPSTREAM
8963 fi
8964
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8967
8968
8969
8970 enablestring=
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8974 defaultval=yes
8975 else
8976 defaultval=no
8977 fi
8978 fi
8979
8980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8982 # Check whether --enable-url was given.
8983 if test "${enable_url+set}" = set; then
8984 enableval=$enable_url;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_url='wxUSE_URL=yes'
8987 else
8988 wx_cv_use_url='wxUSE_URL=no'
8989 fi
8990 cache=yes
8991
8992 else
8993
8994 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
8997 cache=yes
8998 else
8999 cache=no
9000 fi
9001
9002 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9003
9004 fi
9005
9006
9007 eval "$wx_cv_use_url"
9008 if test "x$cache" = xyes; then
9009 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9010 fi
9011
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_URL = yes; then
9014 result=no
9015 else
9016 result=yes
9017 fi
9018 else
9019 result=$wxUSE_URL
9020 fi
9021
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9024
9025
9026 enablestring=
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9030 defaultval=yes
9031 else
9032 defaultval=no
9033 fi
9034 fi
9035
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9038 # Check whether --enable-variant was given.
9039 if test "${enable_variant+set}" = set; then
9040 enableval=$enable_variant;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_variant='wxUSE_VARIANT=yes'
9043 else
9044 wx_cv_use_variant='wxUSE_VARIANT=no'
9045 fi
9046 cache=yes
9047
9048 else
9049
9050 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9051 if test "x$LINE" != x ; then
9052 eval "DEFAULT_$LINE"
9053 cache=yes
9054 else
9055 cache=no
9056 fi
9057
9058 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9059
9060 fi
9061
9062
9063 eval "$wx_cv_use_variant"
9064 if test "x$cache" = xyes; then
9065 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9066 fi
9067
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_VARIANT = yes; then
9070 result=no
9071 else
9072 result=yes
9073 fi
9074 else
9075 result=$wxUSE_VARIANT
9076 fi
9077
9078 { echo "$as_me:$LINENO: result: $result" >&5
9079 echo "${ECHO_T}$result" >&6; }
9080
9081
9082 enablestring=
9083 defaultval=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x"$enablestring" = xdisable; then
9086 defaultval=yes
9087 else
9088 defaultval=no
9089 fi
9090 fi
9091
9092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9094 # Check whether --enable-protocol was given.
9095 if test "${enable_protocol+set}" = set; then
9096 enableval=$enable_protocol;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9099 else
9100 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9101 fi
9102 cache=yes
9103
9104 else
9105
9106 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9107 if test "x$LINE" != x ; then
9108 eval "DEFAULT_$LINE"
9109 cache=yes
9110 else
9111 cache=no
9112 fi
9113
9114 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9115
9116 fi
9117
9118
9119 eval "$wx_cv_use_protocol"
9120 if test "x$cache" = xyes; then
9121 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9122 fi
9123
9124 if test x"$enablestring" = xdisable; then
9125 if test $wxUSE_PROTOCOL = yes; then
9126 result=no
9127 else
9128 result=yes
9129 fi
9130 else
9131 result=$wxUSE_PROTOCOL
9132 fi
9133
9134 { echo "$as_me:$LINENO: result: $result" >&5
9135 echo "${ECHO_T}$result" >&6; }
9136
9137
9138 enablestring=
9139 defaultval=$wxUSE_ALL_FEATURES
9140 if test -z "$defaultval"; then
9141 if test x"$enablestring" = xdisable; then
9142 defaultval=yes
9143 else
9144 defaultval=no
9145 fi
9146 fi
9147
9148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9150 # Check whether --enable-protocol_http was given.
9151 if test "${enable_protocol_http+set}" = set; then
9152 enableval=$enable_protocol_http;
9153 if test "$enableval" = yes; then
9154 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9155 else
9156 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9157 fi
9158 cache=yes
9159
9160 else
9161
9162 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9165 cache=yes
9166 else
9167 cache=no
9168 fi
9169
9170 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9171
9172 fi
9173
9174
9175 eval "$wx_cv_use_protocol_http"
9176 if test "x$cache" = xyes; then
9177 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9178 fi
9179
9180 if test x"$enablestring" = xdisable; then
9181 if test $wxUSE_PROTOCOL_HTTP = yes; then
9182 result=no
9183 else
9184 result=yes
9185 fi
9186 else
9187 result=$wxUSE_PROTOCOL_HTTP
9188 fi
9189
9190 { echo "$as_me:$LINENO: result: $result" >&5
9191 echo "${ECHO_T}$result" >&6; }
9192
9193
9194 enablestring=
9195 defaultval=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x"$enablestring" = xdisable; then
9198 defaultval=yes
9199 else
9200 defaultval=no
9201 fi
9202 fi
9203
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9206 # Check whether --enable-protocol_ftp was given.
9207 if test "${enable_protocol_ftp+set}" = set; then
9208 enableval=$enable_protocol_ftp;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9211 else
9212 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9213 fi
9214 cache=yes
9215
9216 else
9217
9218 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9221 cache=yes
9222 else
9223 cache=no
9224 fi
9225
9226 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9227
9228 fi
9229
9230
9231 eval "$wx_cv_use_protocol_ftp"
9232 if test "x$cache" = xyes; then
9233 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9234 fi
9235
9236 if test x"$enablestring" = xdisable; then
9237 if test $wxUSE_PROTOCOL_FTP = yes; then
9238 result=no
9239 else
9240 result=yes
9241 fi
9242 else
9243 result=$wxUSE_PROTOCOL_FTP
9244 fi
9245
9246 { echo "$as_me:$LINENO: result: $result" >&5
9247 echo "${ECHO_T}$result" >&6; }
9248
9249
9250 enablestring=
9251 defaultval=$wxUSE_ALL_FEATURES
9252 if test -z "$defaultval"; then
9253 if test x"$enablestring" = xdisable; then
9254 defaultval=yes
9255 else
9256 defaultval=no
9257 fi
9258 fi
9259
9260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9262 # Check whether --enable-protocol_file was given.
9263 if test "${enable_protocol_file+set}" = set; then
9264 enableval=$enable_protocol_file;
9265 if test "$enableval" = yes; then
9266 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9267 else
9268 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9269 fi
9270 cache=yes
9271
9272 else
9273
9274 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9275 if test "x$LINE" != x ; then
9276 eval "DEFAULT_$LINE"
9277 cache=yes
9278 else
9279 cache=no
9280 fi
9281
9282 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9283
9284 fi
9285
9286
9287 eval "$wx_cv_use_protocol_file"
9288 if test "x$cache" = xyes; then
9289 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9290 fi
9291
9292 if test x"$enablestring" = xdisable; then
9293 if test $wxUSE_PROTOCOL_FILE = yes; then
9294 result=no
9295 else
9296 result=yes
9297 fi
9298 else
9299 result=$wxUSE_PROTOCOL_FILE
9300 fi
9301
9302 { echo "$as_me:$LINENO: result: $result" >&5
9303 echo "${ECHO_T}$result" >&6; }
9304
9305
9306
9307 enablestring=
9308 defaultval=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x"$enablestring" = xdisable; then
9311 defaultval=yes
9312 else
9313 defaultval=no
9314 fi
9315 fi
9316
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9319 # Check whether --enable-threads was given.
9320 if test "${enable_threads+set}" = set; then
9321 enableval=$enable_threads;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_threads='wxUSE_THREADS=yes'
9324 else
9325 wx_cv_use_threads='wxUSE_THREADS=no'
9326 fi
9327 cache=yes
9328
9329 else
9330
9331 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9334 cache=yes
9335 else
9336 cache=no
9337 fi
9338
9339 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9340
9341 fi
9342
9343
9344 eval "$wx_cv_use_threads"
9345 if test "x$cache" = xyes; then
9346 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9347 fi
9348
9349 if test x"$enablestring" = xdisable; then
9350 if test $wxUSE_THREADS = yes; then
9351 result=no
9352 else
9353 result=yes
9354 fi
9355 else
9356 result=$wxUSE_THREADS
9357 fi
9358
9359 { echo "$as_me:$LINENO: result: $result" >&5
9360 echo "${ECHO_T}$result" >&6; }
9361
9362
9363 if test "$wxUSE_GUI" = "yes"; then
9364
9365
9366
9367 enablestring=
9368 defaultval=$wxUSE_ALL_FEATURES
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9371 defaultval=yes
9372 else
9373 defaultval=no
9374 fi
9375 fi
9376
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9379 # Check whether --enable-docview was given.
9380 if test "${enable_docview+set}" = set; then
9381 enableval=$enable_docview;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9384 else
9385 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9386 fi
9387 cache=yes
9388
9389 else
9390
9391 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9394 cache=yes
9395 else
9396 cache=no
9397 fi
9398
9399 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9400
9401 fi
9402
9403
9404 eval "$wx_cv_use_docview"
9405 if test "x$cache" = xyes; then
9406 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9407 fi
9408
9409 if test x"$enablestring" = xdisable; then
9410 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9411 result=no
9412 else
9413 result=yes
9414 fi
9415 else
9416 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9417 fi
9418
9419 { echo "$as_me:$LINENO: result: $result" >&5
9420 echo "${ECHO_T}$result" >&6; }
9421
9422
9423 enablestring=
9424 defaultval=$wxUSE_ALL_FEATURES
9425 if test -z "$defaultval"; then
9426 if test x"$enablestring" = xdisable; then
9427 defaultval=yes
9428 else
9429 defaultval=no
9430 fi
9431 fi
9432
9433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9435 # Check whether --enable-help was given.
9436 if test "${enable_help+set}" = set; then
9437 enableval=$enable_help;
9438 if test "$enableval" = yes; then
9439 wx_cv_use_help='wxUSE_HELP=yes'
9440 else
9441 wx_cv_use_help='wxUSE_HELP=no'
9442 fi
9443 cache=yes
9444
9445 else
9446
9447 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9450 cache=yes
9451 else
9452 cache=no
9453 fi
9454
9455 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9456
9457 fi
9458
9459
9460 eval "$wx_cv_use_help"
9461 if test "x$cache" = xyes; then
9462 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9463 fi
9464
9465 if test x"$enablestring" = xdisable; then
9466 if test $wxUSE_HELP = yes; then
9467 result=no
9468 else
9469 result=yes
9470 fi
9471 else
9472 result=$wxUSE_HELP
9473 fi
9474
9475 { echo "$as_me:$LINENO: result: $result" >&5
9476 echo "${ECHO_T}$result" >&6; }
9477
9478
9479 enablestring=
9480 defaultval=$wxUSE_ALL_FEATURES
9481 if test -z "$defaultval"; then
9482 if test x"$enablestring" = xdisable; then
9483 defaultval=yes
9484 else
9485 defaultval=no
9486 fi
9487 fi
9488
9489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9491 # Check whether --enable-mshtmlhelp was given.
9492 if test "${enable_mshtmlhelp+set}" = set; then
9493 enableval=$enable_mshtmlhelp;
9494 if test "$enableval" = yes; then
9495 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9496 else
9497 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9498 fi
9499 cache=yes
9500
9501 else
9502
9503 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9504 if test "x$LINE" != x ; then
9505 eval "DEFAULT_$LINE"
9506 cache=yes
9507 else
9508 cache=no
9509 fi
9510
9511 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9512
9513 fi
9514
9515
9516 eval "$wx_cv_use_mshtmlhelp"
9517 if test "x$cache" = xyes; then
9518 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9519 fi
9520
9521 if test x"$enablestring" = xdisable; then
9522 if test $wxUSE_MS_HTML_HELP = yes; then
9523 result=no
9524 else
9525 result=yes
9526 fi
9527 else
9528 result=$wxUSE_MS_HTML_HELP
9529 fi
9530
9531 { echo "$as_me:$LINENO: result: $result" >&5
9532 echo "${ECHO_T}$result" >&6; }
9533
9534
9535 enablestring=
9536 defaultval=$wxUSE_ALL_FEATURES
9537 if test -z "$defaultval"; then
9538 if test x"$enablestring" = xdisable; then
9539 defaultval=yes
9540 else
9541 defaultval=no
9542 fi
9543 fi
9544
9545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9546 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9547 # Check whether --enable-html was given.
9548 if test "${enable_html+set}" = set; then
9549 enableval=$enable_html;
9550 if test "$enableval" = yes; then
9551 wx_cv_use_html='wxUSE_HTML=yes'
9552 else
9553 wx_cv_use_html='wxUSE_HTML=no'
9554 fi
9555 cache=yes
9556
9557 else
9558
9559 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9560 if test "x$LINE" != x ; then
9561 eval "DEFAULT_$LINE"
9562 cache=yes
9563 else
9564 cache=no
9565 fi
9566
9567 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9568
9569 fi
9570
9571
9572 eval "$wx_cv_use_html"
9573 if test "x$cache" = xyes; then
9574 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9575 fi
9576
9577 if test x"$enablestring" = xdisable; then
9578 if test $wxUSE_HTML = yes; then
9579 result=no
9580 else
9581 result=yes
9582 fi
9583 else
9584 result=$wxUSE_HTML
9585 fi
9586
9587 { echo "$as_me:$LINENO: result: $result" >&5
9588 echo "${ECHO_T}$result" >&6; }
9589
9590
9591 enablestring=
9592 defaultval=$wxUSE_ALL_FEATURES
9593 if test -z "$defaultval"; then
9594 if test x"$enablestring" = xdisable; then
9595 defaultval=yes
9596 else
9597 defaultval=no
9598 fi
9599 fi
9600
9601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9603 # Check whether --enable-htmlhelp was given.
9604 if test "${enable_htmlhelp+set}" = set; then
9605 enableval=$enable_htmlhelp;
9606 if test "$enableval" = yes; then
9607 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9608 else
9609 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9610 fi
9611 cache=yes
9612
9613 else
9614
9615 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x ; then
9617 eval "DEFAULT_$LINE"
9618 cache=yes
9619 else
9620 cache=no
9621 fi
9622
9623 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9624
9625 fi
9626
9627
9628 eval "$wx_cv_use_htmlhelp"
9629 if test "x$cache" = xyes; then
9630 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9631 fi
9632
9633 if test x"$enablestring" = xdisable; then
9634 if test $wxUSE_WXHTML_HELP = yes; then
9635 result=no
9636 else
9637 result=yes
9638 fi
9639 else
9640 result=$wxUSE_WXHTML_HELP
9641 fi
9642
9643 { echo "$as_me:$LINENO: result: $result" >&5
9644 echo "${ECHO_T}$result" >&6; }
9645
9646
9647 enablestring=
9648 defaultval=$wxUSE_ALL_FEATURES
9649 if test -z "$defaultval"; then
9650 if test x"$enablestring" = xdisable; then
9651 defaultval=yes
9652 else
9653 defaultval=no
9654 fi
9655 fi
9656
9657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9658 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9659 # Check whether --enable-xrc was given.
9660 if test "${enable_xrc+set}" = set; then
9661 enableval=$enable_xrc;
9662 if test "$enableval" = yes; then
9663 wx_cv_use_xrc='wxUSE_XRC=yes'
9664 else
9665 wx_cv_use_xrc='wxUSE_XRC=no'
9666 fi
9667 cache=yes
9668
9669 else
9670
9671 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9672 if test "x$LINE" != x ; then
9673 eval "DEFAULT_$LINE"
9674 cache=yes
9675 else
9676 cache=no
9677 fi
9678
9679 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9680
9681 fi
9682
9683
9684 eval "$wx_cv_use_xrc"
9685 if test "x$cache" = xyes; then
9686 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9687 fi
9688
9689 if test x"$enablestring" = xdisable; then
9690 if test $wxUSE_XRC = yes; then
9691 result=no
9692 else
9693 result=yes
9694 fi
9695 else
9696 result=$wxUSE_XRC
9697 fi
9698
9699 { echo "$as_me:$LINENO: result: $result" >&5
9700 echo "${ECHO_T}$result" >&6; }
9701
9702
9703 enablestring=
9704 defaultval=$wxUSE_ALL_FEATURES
9705 if test -z "$defaultval"; then
9706 if test x"$enablestring" = xdisable; then
9707 defaultval=yes
9708 else
9709 defaultval=no
9710 fi
9711 fi
9712
9713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9714 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9715 # Check whether --enable-aui was given.
9716 if test "${enable_aui+set}" = set; then
9717 enableval=$enable_aui;
9718 if test "$enableval" = yes; then
9719 wx_cv_use_aui='wxUSE_AUI=yes'
9720 else
9721 wx_cv_use_aui='wxUSE_AUI=no'
9722 fi
9723 cache=yes
9724
9725 else
9726
9727 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9728 if test "x$LINE" != x ; then
9729 eval "DEFAULT_$LINE"
9730 cache=yes
9731 else
9732 cache=no
9733 fi
9734
9735 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9736
9737 fi
9738
9739
9740 eval "$wx_cv_use_aui"
9741 if test "x$cache" = xyes; then
9742 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9743 fi
9744
9745 if test x"$enablestring" = xdisable; then
9746 if test $wxUSE_AUI = yes; then
9747 result=no
9748 else
9749 result=yes
9750 fi
9751 else
9752 result=$wxUSE_AUI
9753 fi
9754
9755 { echo "$as_me:$LINENO: result: $result" >&5
9756 echo "${ECHO_T}$result" >&6; }
9757
9758
9759 enablestring=
9760 defaultval=$wxUSE_ALL_FEATURES
9761 if test -z "$defaultval"; then
9762 if test x"$enablestring" = xdisable; then
9763 defaultval=yes
9764 else
9765 defaultval=no
9766 fi
9767 fi
9768
9769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9770 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9771 # Check whether --enable-stc was given.
9772 if test "${enable_stc+set}" = set; then
9773 enableval=$enable_stc;
9774 if test "$enableval" = yes; then
9775 wx_cv_use_stc='wxUSE_STC=yes'
9776 else
9777 wx_cv_use_stc='wxUSE_STC=no'
9778 fi
9779 cache=yes
9780
9781 else
9782
9783 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x ; then
9785 eval "DEFAULT_$LINE"
9786 cache=yes
9787 else
9788 cache=no
9789 fi
9790
9791 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9792
9793 fi
9794
9795
9796 eval "$wx_cv_use_stc"
9797 if test "x$cache" = xyes; then
9798 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9799 fi
9800
9801 if test x"$enablestring" = xdisable; then
9802 if test $wxUSE_STC = yes; then
9803 result=no
9804 else
9805 result=yes
9806 fi
9807 else
9808 result=$wxUSE_STC
9809 fi
9810
9811 { echo "$as_me:$LINENO: result: $result" >&5
9812 echo "${ECHO_T}$result" >&6; }
9813
9814
9815 enablestring=
9816 defaultval=$wxUSE_ALL_FEATURES
9817 if test -z "$defaultval"; then
9818 if test x"$enablestring" = xdisable; then
9819 defaultval=yes
9820 else
9821 defaultval=no
9822 fi
9823 fi
9824
9825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9827 # Check whether --enable-constraints was given.
9828 if test "${enable_constraints+set}" = set; then
9829 enableval=$enable_constraints;
9830 if test "$enableval" = yes; then
9831 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9832 else
9833 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9834 fi
9835 cache=yes
9836
9837 else
9838
9839 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9840 if test "x$LINE" != x ; then
9841 eval "DEFAULT_$LINE"
9842 cache=yes
9843 else
9844 cache=no
9845 fi
9846
9847 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9848
9849 fi
9850
9851
9852 eval "$wx_cv_use_constraints"
9853 if test "x$cache" = xyes; then
9854 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9855 fi
9856
9857 if test x"$enablestring" = xdisable; then
9858 if test $wxUSE_CONSTRAINTS = yes; then
9859 result=no
9860 else
9861 result=yes
9862 fi
9863 else
9864 result=$wxUSE_CONSTRAINTS
9865 fi
9866
9867 { echo "$as_me:$LINENO: result: $result" >&5
9868 echo "${ECHO_T}$result" >&6; }
9869
9870
9871 enablestring=
9872 defaultval=$wxUSE_ALL_FEATURES
9873 if test -z "$defaultval"; then
9874 if test x"$enablestring" = xdisable; then
9875 defaultval=yes
9876 else
9877 defaultval=no
9878 fi
9879 fi
9880
9881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9882 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9883 # Check whether --enable-printarch was given.
9884 if test "${enable_printarch+set}" = set; then
9885 enableval=$enable_printarch;
9886 if test "$enableval" = yes; then
9887 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9888 else
9889 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9890 fi
9891 cache=yes
9892
9893 else
9894
9895 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9896 if test "x$LINE" != x ; then
9897 eval "DEFAULT_$LINE"
9898 cache=yes
9899 else
9900 cache=no
9901 fi
9902
9903 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9904
9905 fi
9906
9907
9908 eval "$wx_cv_use_printarch"
9909 if test "x$cache" = xyes; then
9910 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9911 fi
9912
9913 if test x"$enablestring" = xdisable; then
9914 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9915 result=no
9916 else
9917 result=yes
9918 fi
9919 else
9920 result=$wxUSE_PRINTING_ARCHITECTURE
9921 fi
9922
9923 { echo "$as_me:$LINENO: result: $result" >&5
9924 echo "${ECHO_T}$result" >&6; }
9925
9926
9927 enablestring=
9928 defaultval=$wxUSE_ALL_FEATURES
9929 if test -z "$defaultval"; then
9930 if test x"$enablestring" = xdisable; then
9931 defaultval=yes
9932 else
9933 defaultval=no
9934 fi
9935 fi
9936
9937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9939 # Check whether --enable-mdi was given.
9940 if test "${enable_mdi+set}" = set; then
9941 enableval=$enable_mdi;
9942 if test "$enableval" = yes; then
9943 wx_cv_use_mdi='wxUSE_MDI=yes'
9944 else
9945 wx_cv_use_mdi='wxUSE_MDI=no'
9946 fi
9947 cache=yes
9948
9949 else
9950
9951 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9952 if test "x$LINE" != x ; then
9953 eval "DEFAULT_$LINE"
9954 cache=yes
9955 else
9956 cache=no
9957 fi
9958
9959 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9960
9961 fi
9962
9963
9964 eval "$wx_cv_use_mdi"
9965 if test "x$cache" = xyes; then
9966 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9967 fi
9968
9969 if test x"$enablestring" = xdisable; then
9970 if test $wxUSE_MDI = yes; then
9971 result=no
9972 else
9973 result=yes
9974 fi
9975 else
9976 result=$wxUSE_MDI
9977 fi
9978
9979 { echo "$as_me:$LINENO: result: $result" >&5
9980 echo "${ECHO_T}$result" >&6; }
9981
9982
9983 enablestring=
9984 defaultval=$wxUSE_ALL_FEATURES
9985 if test -z "$defaultval"; then
9986 if test x"$enablestring" = xdisable; then
9987 defaultval=yes
9988 else
9989 defaultval=no
9990 fi
9991 fi
9992
9993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9994 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9995 # Check whether --enable-mdidoc was given.
9996 if test "${enable_mdidoc+set}" = set; then
9997 enableval=$enable_mdidoc;
9998 if test "$enableval" = yes; then
9999 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10000 else
10001 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10002 fi
10003 cache=yes
10004
10005 else
10006
10007 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10008 if test "x$LINE" != x ; then
10009 eval "DEFAULT_$LINE"
10010 cache=yes
10011 else
10012 cache=no
10013 fi
10014
10015 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10016
10017 fi
10018
10019
10020 eval "$wx_cv_use_mdidoc"
10021 if test "x$cache" = xyes; then
10022 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10023 fi
10024
10025 if test x"$enablestring" = xdisable; then
10026 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10027 result=no
10028 else
10029 result=yes
10030 fi
10031 else
10032 result=$wxUSE_MDI_ARCHITECTURE
10033 fi
10034
10035 { echo "$as_me:$LINENO: result: $result" >&5
10036 echo "${ECHO_T}$result" >&6; }
10037
10038
10039 enablestring=
10040 defaultval=$wxUSE_ALL_FEATURES
10041 if test -z "$defaultval"; then
10042 if test x"$enablestring" = xdisable; then
10043 defaultval=yes
10044 else
10045 defaultval=no
10046 fi
10047 fi
10048
10049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10050 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10051 # Check whether --enable-loggui was given.
10052 if test "${enable_loggui+set}" = set; then
10053 enableval=$enable_loggui;
10054 if test "$enableval" = yes; then
10055 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10056 else
10057 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10058 fi
10059 cache=yes
10060
10061 else
10062
10063 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10064 if test "x$LINE" != x ; then
10065 eval "DEFAULT_$LINE"
10066 cache=yes
10067 else
10068 cache=no
10069 fi
10070
10071 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10072
10073 fi
10074
10075
10076 eval "$wx_cv_use_loggui"
10077 if test "x$cache" = xyes; then
10078 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10079 fi
10080
10081 if test x"$enablestring" = xdisable; then
10082 if test $wxUSE_LOGGUI = yes; then
10083 result=no
10084 else
10085 result=yes
10086 fi
10087 else
10088 result=$wxUSE_LOGGUI
10089 fi
10090
10091 { echo "$as_me:$LINENO: result: $result" >&5
10092 echo "${ECHO_T}$result" >&6; }
10093
10094
10095 enablestring=
10096 defaultval=$wxUSE_ALL_FEATURES
10097 if test -z "$defaultval"; then
10098 if test x"$enablestring" = xdisable; then
10099 defaultval=yes
10100 else
10101 defaultval=no
10102 fi
10103 fi
10104
10105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10106 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10107 # Check whether --enable-logwin was given.
10108 if test "${enable_logwin+set}" = set; then
10109 enableval=$enable_logwin;
10110 if test "$enableval" = yes; then
10111 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10112 else
10113 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10114 fi
10115 cache=yes
10116
10117 else
10118
10119 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10120 if test "x$LINE" != x ; then
10121 eval "DEFAULT_$LINE"
10122 cache=yes
10123 else
10124 cache=no
10125 fi
10126
10127 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10128
10129 fi
10130
10131
10132 eval "$wx_cv_use_logwin"
10133 if test "x$cache" = xyes; then
10134 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10135 fi
10136
10137 if test x"$enablestring" = xdisable; then
10138 if test $wxUSE_LOGWINDOW = yes; then
10139 result=no
10140 else
10141 result=yes
10142 fi
10143 else
10144 result=$wxUSE_LOGWINDOW
10145 fi
10146
10147 { echo "$as_me:$LINENO: result: $result" >&5
10148 echo "${ECHO_T}$result" >&6; }
10149
10150
10151 enablestring=
10152 defaultval=$wxUSE_ALL_FEATURES
10153 if test -z "$defaultval"; then
10154 if test x"$enablestring" = xdisable; then
10155 defaultval=yes
10156 else
10157 defaultval=no
10158 fi
10159 fi
10160
10161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10162 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10163 # Check whether --enable-logdialog was given.
10164 if test "${enable_logdialog+set}" = set; then
10165 enableval=$enable_logdialog;
10166 if test "$enableval" = yes; then
10167 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10168 else
10169 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10170 fi
10171 cache=yes
10172
10173 else
10174
10175 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10176 if test "x$LINE" != x ; then
10177 eval "DEFAULT_$LINE"
10178 cache=yes
10179 else
10180 cache=no
10181 fi
10182
10183 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10184
10185 fi
10186
10187
10188 eval "$wx_cv_use_logdialog"
10189 if test "x$cache" = xyes; then
10190 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10191 fi
10192
10193 if test x"$enablestring" = xdisable; then
10194 if test $wxUSE_LOGDIALOG = yes; then
10195 result=no
10196 else
10197 result=yes
10198 fi
10199 else
10200 result=$wxUSE_LOGDIALOG
10201 fi
10202
10203 { echo "$as_me:$LINENO: result: $result" >&5
10204 echo "${ECHO_T}$result" >&6; }
10205
10206
10207 enablestring=
10208 defaultval=$wxUSE_ALL_FEATURES
10209 if test -z "$defaultval"; then
10210 if test x"$enablestring" = xdisable; then
10211 defaultval=yes
10212 else
10213 defaultval=no
10214 fi
10215 fi
10216
10217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10219 # Check whether --enable-webkit was given.
10220 if test "${enable_webkit+set}" = set; then
10221 enableval=$enable_webkit;
10222 if test "$enableval" = yes; then
10223 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10224 else
10225 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10226 fi
10227 cache=yes
10228
10229 else
10230
10231 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10232 if test "x$LINE" != x ; then
10233 eval "DEFAULT_$LINE"
10234 cache=yes
10235 else
10236 cache=no
10237 fi
10238
10239 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10240
10241 fi
10242
10243
10244 eval "$wx_cv_use_webkit"
10245 if test "x$cache" = xyes; then
10246 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10247 fi
10248
10249 if test x"$enablestring" = xdisable; then
10250 if test $wxUSE_WEBKIT = yes; then
10251 result=no
10252 else
10253 result=yes
10254 fi
10255 else
10256 result=$wxUSE_WEBKIT
10257 fi
10258
10259 { echo "$as_me:$LINENO: result: $result" >&5
10260 echo "${ECHO_T}$result" >&6; }
10261
10262
10263 enablestring=
10264 defaultval=$wxUSE_ALL_FEATURES
10265 if test -z "$defaultval"; then
10266 if test x"$enablestring" = xdisable; then
10267 defaultval=yes
10268 else
10269 defaultval=no
10270 fi
10271 fi
10272
10273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10274 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10275 # Check whether --enable-richtext was given.
10276 if test "${enable_richtext+set}" = set; then
10277 enableval=$enable_richtext;
10278 if test "$enableval" = yes; then
10279 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10280 else
10281 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10282 fi
10283 cache=yes
10284
10285 else
10286
10287 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10288 if test "x$LINE" != x ; then
10289 eval "DEFAULT_$LINE"
10290 cache=yes
10291 else
10292 cache=no
10293 fi
10294
10295 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10296
10297 fi
10298
10299
10300 eval "$wx_cv_use_richtext"
10301 if test "x$cache" = xyes; then
10302 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10303 fi
10304
10305 if test x"$enablestring" = xdisable; then
10306 if test $wxUSE_RICHTEXT = yes; then
10307 result=no
10308 else
10309 result=yes
10310 fi
10311 else
10312 result=$wxUSE_RICHTEXT
10313 fi
10314
10315 { echo "$as_me:$LINENO: result: $result" >&5
10316 echo "${ECHO_T}$result" >&6; }
10317
10318
10319 enablestring=
10320 defaultval=$wxUSE_ALL_FEATURES
10321 if test -z "$defaultval"; then
10322 if test x"$enablestring" = xdisable; then
10323 defaultval=yes
10324 else
10325 defaultval=no
10326 fi
10327 fi
10328
10329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10331 # Check whether --enable-graphics_ctx was given.
10332 if test "${enable_graphics_ctx+set}" = set; then
10333 enableval=$enable_graphics_ctx;
10334 if test "$enableval" = yes; then
10335 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10336 else
10337 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10338 fi
10339 cache=yes
10340
10341 else
10342
10343 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10346 cache=yes
10347 else
10348 cache=no
10349 fi
10350
10351 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10352
10353 fi
10354
10355
10356 eval "$wx_cv_use_graphics_ctx"
10357 if test "x$cache" = xyes; then
10358 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10359 fi
10360
10361 if test x"$enablestring" = xdisable; then
10362 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10363 result=no
10364 else
10365 result=yes
10366 fi
10367 else
10368 result=$wxUSE_GRAPHICS_CONTEXT
10369 fi
10370
10371 { echo "$as_me:$LINENO: result: $result" >&5
10372 echo "${ECHO_T}$result" >&6; }
10373
10374
10375 enablestring=
10376 defaultval=$wxUSE_ALL_FEATURES
10377 if test -z "$defaultval"; then
10378 if test x"$enablestring" = xdisable; then
10379 defaultval=yes
10380 else
10381 defaultval=no
10382 fi
10383 fi
10384
10385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10386 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10387 # Check whether --enable-postscript was given.
10388 if test "${enable_postscript+set}" = set; then
10389 enableval=$enable_postscript;
10390 if test "$enableval" = yes; then
10391 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10392 else
10393 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10394 fi
10395 cache=yes
10396
10397 else
10398
10399 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10400 if test "x$LINE" != x ; then
10401 eval "DEFAULT_$LINE"
10402 cache=yes
10403 else
10404 cache=no
10405 fi
10406
10407 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10408
10409 fi
10410
10411
10412 eval "$wx_cv_use_postscript"
10413 if test "x$cache" = xyes; then
10414 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10415 fi
10416
10417 if test x"$enablestring" = xdisable; then
10418 if test $wxUSE_POSTSCRIPT = yes; then
10419 result=no
10420 else
10421 result=yes
10422 fi
10423 else
10424 result=$wxUSE_POSTSCRIPT
10425 fi
10426
10427 { echo "$as_me:$LINENO: result: $result" >&5
10428 echo "${ECHO_T}$result" >&6; }
10429
10430
10431 enablestring=
10432 defaultval=$wxUSE_ALL_FEATURES
10433 if test -z "$defaultval"; then
10434 if test x"$enablestring" = xdisable; then
10435 defaultval=yes
10436 else
10437 defaultval=no
10438 fi
10439 fi
10440
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10443 # Check whether --enable-svg was given.
10444 if test "${enable_svg+set}" = set; then
10445 enableval=$enable_svg;
10446 if test "$enableval" = yes; then
10447 wx_cv_use_svg='wxUSE_SVG=yes'
10448 else
10449 wx_cv_use_svg='wxUSE_SVG=no'
10450 fi
10451 cache=yes
10452
10453 else
10454
10455 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10456 if test "x$LINE" != x ; then
10457 eval "DEFAULT_$LINE"
10458 cache=yes
10459 else
10460 cache=no
10461 fi
10462
10463 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10464
10465 fi
10466
10467
10468 eval "$wx_cv_use_svg"
10469 if test "x$cache" = xyes; then
10470 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10471 fi
10472
10473 if test x"$enablestring" = xdisable; then
10474 if test $wxUSE_SVG = yes; then
10475 result=no
10476 else
10477 result=yes
10478 fi
10479 else
10480 result=$wxUSE_SVG
10481 fi
10482
10483 { echo "$as_me:$LINENO: result: $result" >&5
10484 echo "${ECHO_T}$result" >&6; }
10485
10486
10487
10488
10489 enablestring=
10490 defaultval=$wxUSE_ALL_FEATURES
10491 if test -z "$defaultval"; then
10492 if test x"$enablestring" = xdisable; then
10493 defaultval=yes
10494 else
10495 defaultval=no
10496 fi
10497 fi
10498
10499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10501 # Check whether --enable-clipboard was given.
10502 if test "${enable_clipboard+set}" = set; then
10503 enableval=$enable_clipboard;
10504 if test "$enableval" = yes; then
10505 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10506 else
10507 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10508 fi
10509 cache=yes
10510
10511 else
10512
10513 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10514 if test "x$LINE" != x ; then
10515 eval "DEFAULT_$LINE"
10516 cache=yes
10517 else
10518 cache=no
10519 fi
10520
10521 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10522
10523 fi
10524
10525
10526 eval "$wx_cv_use_clipboard"
10527 if test "x$cache" = xyes; then
10528 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10529 fi
10530
10531 if test x"$enablestring" = xdisable; then
10532 if test $wxUSE_CLIPBOARD = yes; then
10533 result=no
10534 else
10535 result=yes
10536 fi
10537 else
10538 result=$wxUSE_CLIPBOARD
10539 fi
10540
10541 { echo "$as_me:$LINENO: result: $result" >&5
10542 echo "${ECHO_T}$result" >&6; }
10543
10544
10545 enablestring=
10546 defaultval=$wxUSE_ALL_FEATURES
10547 if test -z "$defaultval"; then
10548 if test x"$enablestring" = xdisable; then
10549 defaultval=yes
10550 else
10551 defaultval=no
10552 fi
10553 fi
10554
10555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10556 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10557 # Check whether --enable-dnd was given.
10558 if test "${enable_dnd+set}" = set; then
10559 enableval=$enable_dnd;
10560 if test "$enableval" = yes; then
10561 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10562 else
10563 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10564 fi
10565 cache=yes
10566
10567 else
10568
10569 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10570 if test "x$LINE" != x ; then
10571 eval "DEFAULT_$LINE"
10572 cache=yes
10573 else
10574 cache=no
10575 fi
10576
10577 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10578
10579 fi
10580
10581
10582 eval "$wx_cv_use_dnd"
10583 if test "x$cache" = xyes; then
10584 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10585 fi
10586
10587 if test x"$enablestring" = xdisable; then
10588 if test $wxUSE_DRAG_AND_DROP = yes; then
10589 result=no
10590 else
10591 result=yes
10592 fi
10593 else
10594 result=$wxUSE_DRAG_AND_DROP
10595 fi
10596
10597 { echo "$as_me:$LINENO: result: $result" >&5
10598 echo "${ECHO_T}$result" >&6; }
10599
10600
10601 enablestring=
10602 defaultval=$wxUSE_ALL_FEATURES
10603 if test -z "$defaultval"; then
10604 if test x"$enablestring" = xdisable; then
10605 defaultval=yes
10606 else
10607 defaultval=no
10608 fi
10609 fi
10610
10611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10612 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10613 # Check whether --enable-metafile was given.
10614 if test "${enable_metafile+set}" = set; then
10615 enableval=$enable_metafile;
10616 if test "$enableval" = yes; then
10617 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10618 else
10619 wx_cv_use_metafile='wxUSE_METAFILE=no'
10620 fi
10621 cache=yes
10622
10623 else
10624
10625 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10626 if test "x$LINE" != x ; then
10627 eval "DEFAULT_$LINE"
10628 cache=yes
10629 else
10630 cache=no
10631 fi
10632
10633 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10634
10635 fi
10636
10637
10638 eval "$wx_cv_use_metafile"
10639 if test "x$cache" = xyes; then
10640 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10641 fi
10642
10643 if test x"$enablestring" = xdisable; then
10644 if test $wxUSE_METAFILE = yes; then
10645 result=no
10646 else
10647 result=yes
10648 fi
10649 else
10650 result=$wxUSE_METAFILE
10651 fi
10652
10653 { echo "$as_me:$LINENO: result: $result" >&5
10654 echo "${ECHO_T}$result" >&6; }
10655
10656
10657
10658 DEFAULT_wxUSE_CONTROLS=none
10659
10660 enablestring=disable
10661 defaultval=
10662 if test -z "$defaultval"; then
10663 if test x"$enablestring" = xdisable; then
10664 defaultval=yes
10665 else
10666 defaultval=no
10667 fi
10668 fi
10669
10670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10671 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10672 # Check whether --enable-controls was given.
10673 if test "${enable_controls+set}" = set; then
10674 enableval=$enable_controls;
10675 if test "$enableval" = yes; then
10676 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10677 else
10678 wx_cv_use_controls='wxUSE_CONTROLS=no'
10679 fi
10680 cache=yes
10681
10682 else
10683
10684 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10687 cache=yes
10688 else
10689 cache=no
10690 fi
10691
10692 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10693
10694 fi
10695
10696
10697 eval "$wx_cv_use_controls"
10698 if test "x$cache" = xyes; then
10699 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10700 fi
10701
10702 if test x"$enablestring" = xdisable; then
10703 if test $wxUSE_CONTROLS = yes; then
10704 result=no
10705 else
10706 result=yes
10707 fi
10708 else
10709 result=$wxUSE_CONTROLS
10710 fi
10711
10712 { echo "$as_me:$LINENO: result: $result" >&5
10713 echo "${ECHO_T}$result" >&6; }
10714
10715
10716 if test "$wxUSE_CONTROLS" = "yes"; then
10717 DEFAULT_wxUSE_ACCEL=yes
10718 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10719 DEFAULT_wxUSE_BMPBUTTON=yes
10720 DEFAULT_wxUSE_BUTTON=yes
10721 DEFAULT_wxUSE_CALCTRL=yes
10722 DEFAULT_wxUSE_CARET=yes
10723 DEFAULT_wxUSE_COMBOBOX=yes
10724 DEFAULT_wxUSE_CHECKBOX=yes
10725 DEFAULT_wxUSE_CHECKLISTBOX=yes
10726 DEFAULT_wxUSE_CHOICE=yes
10727 DEFAULT_wxUSE_CHOICEBOOK=yes
10728 DEFAULT_wxUSE_COLLPANE=yes
10729 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10730 DEFAULT_wxUSE_COMBOBOX=yes
10731 DEFAULT_wxUSE_DATEPICKCTRL=yes
10732 DEFAULT_wxUSE_DISPLAY=yes
10733 DEFAULT_wxUSE_DETECT_SM=yes
10734 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10735 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10736 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10737 DEFAULT_wxUSE_GAUGE=yes
10738 DEFAULT_wxUSE_GRID=yes
10739 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10740 DEFAULT_wxUSE_DATAVIEWCTRL=no
10741 DEFAULT_wxUSE_IMAGLIST=yes
10742 DEFAULT_wxUSE_LISTBOOK=yes
10743 DEFAULT_wxUSE_LISTBOX=yes
10744 DEFAULT_wxUSE_LISTCTRL=yes
10745 DEFAULT_wxUSE_NOTEBOOK=yes
10746 DEFAULT_wxUSE_RADIOBOX=yes
10747 DEFAULT_wxUSE_RADIOBTN=yes
10748 DEFAULT_wxUSE_SASH=yes
10749 DEFAULT_wxUSE_SCROLLBAR=yes
10750 DEFAULT_wxUSE_SEARCHCTRL=yes
10751 DEFAULT_wxUSE_SLIDER=yes
10752 DEFAULT_wxUSE_SPINBTN=yes
10753 DEFAULT_wxUSE_SPINCTRL=yes
10754 DEFAULT_wxUSE_SPLITTER=yes
10755 DEFAULT_wxUSE_STATBMP=yes
10756 DEFAULT_wxUSE_STATBOX=yes
10757 DEFAULT_wxUSE_STATLINE=yes
10758 DEFAULT_wxUSE_STATUSBAR=yes
10759 DEFAULT_wxUSE_TAB_DIALOG=yes
10760 DEFAULT_wxUSE_TOGGLEBTN=yes
10761 DEFAULT_wxUSE_TOOLBAR=yes
10762 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10763 DEFAULT_wxUSE_TOOLTIPS=yes
10764 DEFAULT_wxUSE_TREEBOOK=yes
10765 DEFAULT_wxUSE_TOOLBOOK=yes
10766 DEFAULT_wxUSE_TREECTRL=yes
10767 DEFAULT_wxUSE_POPUPWIN=yes
10768 DEFAULT_wxUSE_TIPWINDOW=yes
10769 elif test "$wxUSE_CONTROLS" = "no"; then
10770 DEFAULT_wxUSE_ACCEL=no
10771 DEFAULT_wxUSE_ANIMATIONCTRL=no
10772 DEFAULT_wxUSE_BMPBUTTON=no
10773 DEFAULT_wxUSE_BUTTON=no
10774 DEFAULT_wxUSE_CALCTRL=no
10775 DEFAULT_wxUSE_CARET=no
10776 DEFAULT_wxUSE_COLLPANE=no
10777 DEFAULT_wxUSE_COMBOBOX=no
10778 DEFAULT_wxUSE_CHECKBOX=no
10779 DEFAULT_wxUSE_CHECKLISTBOX=no
10780 DEFAULT_wxUSE_CHOICE=no
10781 DEFAULT_wxUSE_CHOICEBOOK=no
10782 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10783 DEFAULT_wxUSE_COMBOBOX=no
10784 DEFAULT_wxUSE_DATEPICKCTRL=no
10785 DEFAULT_wxUSE_DISPLAY=no
10786 DEFAULT_wxUSE_DETECT_SM=no
10787 DEFAULT_wxUSE_DIRPICKERCTRL=no
10788 DEFAULT_wxUSE_FILEPICKERCTRL=no
10789 DEFAULT_wxUSE_FONTPICKERCTRL=no
10790 DEFAULT_wxUSE_GAUGE=no
10791 DEFAULT_wxUSE_GRID=no
10792 DEFAULT_wxUSE_HYPERLINKCTRL=no
10793 DEFAULT_wxUSE_DATAVIEWCTRL=no
10794 DEFAULT_wxUSE_IMAGLIST=no
10795 DEFAULT_wxUSE_LISTBOOK=no
10796 DEFAULT_wxUSE_LISTBOX=no
10797 DEFAULT_wxUSE_LISTCTRL=no
10798 DEFAULT_wxUSE_NOTEBOOK=no
10799 DEFAULT_wxUSE_RADIOBOX=no
10800 DEFAULT_wxUSE_RADIOBTN=no
10801 DEFAULT_wxUSE_SASH=no
10802 DEFAULT_wxUSE_SCROLLBAR=no
10803 DEFAULT_wxUSE_SEARCHCTRL=no
10804 DEFAULT_wxUSE_SLIDER=no
10805 DEFAULT_wxUSE_SPINBTN=no
10806 DEFAULT_wxUSE_SPINCTRL=no
10807 DEFAULT_wxUSE_SPLITTER=no
10808 DEFAULT_wxUSE_STATBMP=no
10809 DEFAULT_wxUSE_STATBOX=no
10810 DEFAULT_wxUSE_STATLINE=no
10811 DEFAULT_wxUSE_STATUSBAR=no
10812 DEFAULT_wxUSE_TAB_DIALOG=no
10813 DEFAULT_wxUSE_TOGGLEBTN=no
10814 DEFAULT_wxUSE_TOOLBAR=no
10815 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10816 DEFAULT_wxUSE_TOOLTIPS=no
10817 DEFAULT_wxUSE_TREEBOOK=no
10818 DEFAULT_wxUSE_TOOLBOOK=no
10819 DEFAULT_wxUSE_TREECTRL=no
10820 DEFAULT_wxUSE_POPUPWIN=no
10821 DEFAULT_wxUSE_TIPWINDOW=no
10822 fi
10823
10824
10825 enablestring=
10826 defaultval=$wxUSE_ALL_FEATURES
10827 if test -z "$defaultval"; then
10828 if test x"$enablestring" = xdisable; then
10829 defaultval=yes
10830 else
10831 defaultval=no
10832 fi
10833 fi
10834
10835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10836 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10837 # Check whether --enable-accel was given.
10838 if test "${enable_accel+set}" = set; then
10839 enableval=$enable_accel;
10840 if test "$enableval" = yes; then
10841 wx_cv_use_accel='wxUSE_ACCEL=yes'
10842 else
10843 wx_cv_use_accel='wxUSE_ACCEL=no'
10844 fi
10845 cache=yes
10846
10847 else
10848
10849 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10850 if test "x$LINE" != x ; then
10851 eval "DEFAULT_$LINE"
10852 cache=yes
10853 else
10854 cache=no
10855 fi
10856
10857 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10858
10859 fi
10860
10861
10862 eval "$wx_cv_use_accel"
10863 if test "x$cache" = xyes; then
10864 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10865 fi
10866
10867 if test x"$enablestring" = xdisable; then
10868 if test $wxUSE_ACCEL = yes; then
10869 result=no
10870 else
10871 result=yes
10872 fi
10873 else
10874 result=$wxUSE_ACCEL
10875 fi
10876
10877 { echo "$as_me:$LINENO: result: $result" >&5
10878 echo "${ECHO_T}$result" >&6; }
10879
10880
10881 enablestring=
10882 defaultval=$wxUSE_ALL_FEATURES
10883 if test -z "$defaultval"; then
10884 if test x"$enablestring" = xdisable; then
10885 defaultval=yes
10886 else
10887 defaultval=no
10888 fi
10889 fi
10890
10891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10892 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10893 # Check whether --enable-animatectrl was given.
10894 if test "${enable_animatectrl+set}" = set; then
10895 enableval=$enable_animatectrl;
10896 if test "$enableval" = yes; then
10897 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10898 else
10899 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10900 fi
10901 cache=yes
10902
10903 else
10904
10905 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10906 if test "x$LINE" != x ; then
10907 eval "DEFAULT_$LINE"
10908 cache=yes
10909 else
10910 cache=no
10911 fi
10912
10913 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10914
10915 fi
10916
10917
10918 eval "$wx_cv_use_animatectrl"
10919 if test "x$cache" = xyes; then
10920 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10921 fi
10922
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_ANIMATIONCTRL = yes; then
10925 result=no
10926 else
10927 result=yes
10928 fi
10929 else
10930 result=$wxUSE_ANIMATIONCTRL
10931 fi
10932
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10935
10936
10937 enablestring=
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10941 defaultval=yes
10942 else
10943 defaultval=no
10944 fi
10945 fi
10946
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10949 # Check whether --enable-button was given.
10950 if test "${enable_button+set}" = set; then
10951 enableval=$enable_button;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_button='wxUSE_BUTTON=yes'
10954 else
10955 wx_cv_use_button='wxUSE_BUTTON=no'
10956 fi
10957 cache=yes
10958
10959 else
10960
10961 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10962 if test "x$LINE" != x ; then
10963 eval "DEFAULT_$LINE"
10964 cache=yes
10965 else
10966 cache=no
10967 fi
10968
10969 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10970
10971 fi
10972
10973
10974 eval "$wx_cv_use_button"
10975 if test "x$cache" = xyes; then
10976 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10977 fi
10978
10979 if test x"$enablestring" = xdisable; then
10980 if test $wxUSE_BUTTON = yes; then
10981 result=no
10982 else
10983 result=yes
10984 fi
10985 else
10986 result=$wxUSE_BUTTON
10987 fi
10988
10989 { echo "$as_me:$LINENO: result: $result" >&5
10990 echo "${ECHO_T}$result" >&6; }
10991
10992
10993 enablestring=
10994 defaultval=$wxUSE_ALL_FEATURES
10995 if test -z "$defaultval"; then
10996 if test x"$enablestring" = xdisable; then
10997 defaultval=yes
10998 else
10999 defaultval=no
11000 fi
11001 fi
11002
11003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11004 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11005 # Check whether --enable-bmpbutton was given.
11006 if test "${enable_bmpbutton+set}" = set; then
11007 enableval=$enable_bmpbutton;
11008 if test "$enableval" = yes; then
11009 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11010 else
11011 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11012 fi
11013 cache=yes
11014
11015 else
11016
11017 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11018 if test "x$LINE" != x ; then
11019 eval "DEFAULT_$LINE"
11020 cache=yes
11021 else
11022 cache=no
11023 fi
11024
11025 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11026
11027 fi
11028
11029
11030 eval "$wx_cv_use_bmpbutton"
11031 if test "x$cache" = xyes; then
11032 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11033 fi
11034
11035 if test x"$enablestring" = xdisable; then
11036 if test $wxUSE_BMPBUTTON = yes; then
11037 result=no
11038 else
11039 result=yes
11040 fi
11041 else
11042 result=$wxUSE_BMPBUTTON
11043 fi
11044
11045 { echo "$as_me:$LINENO: result: $result" >&5
11046 echo "${ECHO_T}$result" >&6; }
11047
11048
11049 enablestring=
11050 defaultval=$wxUSE_ALL_FEATURES
11051 if test -z "$defaultval"; then
11052 if test x"$enablestring" = xdisable; then
11053 defaultval=yes
11054 else
11055 defaultval=no
11056 fi
11057 fi
11058
11059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11060 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11061 # Check whether --enable-bmpcombobox was given.
11062 if test "${enable_bmpcombobox+set}" = set; then
11063 enableval=$enable_bmpcombobox;
11064 if test "$enableval" = yes; then
11065 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11066 else
11067 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11068 fi
11069 cache=yes
11070
11071 else
11072
11073 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11074 if test "x$LINE" != x ; then
11075 eval "DEFAULT_$LINE"
11076 cache=yes
11077 else
11078 cache=no
11079 fi
11080
11081 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11082
11083 fi
11084
11085
11086 eval "$wx_cv_use_bmpcombobox"
11087 if test "x$cache" = xyes; then
11088 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11089 fi
11090
11091 if test x"$enablestring" = xdisable; then
11092 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11093 result=no
11094 else
11095 result=yes
11096 fi
11097 else
11098 result=$wxUSE_BITMAPCOMBOBOX
11099 fi
11100
11101 { echo "$as_me:$LINENO: result: $result" >&5
11102 echo "${ECHO_T}$result" >&6; }
11103
11104
11105 enablestring=
11106 defaultval=$wxUSE_ALL_FEATURES
11107 if test -z "$defaultval"; then
11108 if test x"$enablestring" = xdisable; then
11109 defaultval=yes
11110 else
11111 defaultval=no
11112 fi
11113 fi
11114
11115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11116 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11117 # Check whether --enable-calendar was given.
11118 if test "${enable_calendar+set}" = set; then
11119 enableval=$enable_calendar;
11120 if test "$enableval" = yes; then
11121 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11122 else
11123 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11124 fi
11125 cache=yes
11126
11127 else
11128
11129 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11130 if test "x$LINE" != x ; then
11131 eval "DEFAULT_$LINE"
11132 cache=yes
11133 else
11134 cache=no
11135 fi
11136
11137 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11138
11139 fi
11140
11141
11142 eval "$wx_cv_use_calendar"
11143 if test "x$cache" = xyes; then
11144 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11145 fi
11146
11147 if test x"$enablestring" = xdisable; then
11148 if test $wxUSE_CALCTRL = yes; then
11149 result=no
11150 else
11151 result=yes
11152 fi
11153 else
11154 result=$wxUSE_CALCTRL
11155 fi
11156
11157 { echo "$as_me:$LINENO: result: $result" >&5
11158 echo "${ECHO_T}$result" >&6; }
11159
11160
11161 enablestring=
11162 defaultval=$wxUSE_ALL_FEATURES
11163 if test -z "$defaultval"; then
11164 if test x"$enablestring" = xdisable; then
11165 defaultval=yes
11166 else
11167 defaultval=no
11168 fi
11169 fi
11170
11171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11172 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11173 # Check whether --enable-caret was given.
11174 if test "${enable_caret+set}" = set; then
11175 enableval=$enable_caret;
11176 if test "$enableval" = yes; then
11177 wx_cv_use_caret='wxUSE_CARET=yes'
11178 else
11179 wx_cv_use_caret='wxUSE_CARET=no'
11180 fi
11181 cache=yes
11182
11183 else
11184
11185 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11186 if test "x$LINE" != x ; then
11187 eval "DEFAULT_$LINE"
11188 cache=yes
11189 else
11190 cache=no
11191 fi
11192
11193 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11194
11195 fi
11196
11197
11198 eval "$wx_cv_use_caret"
11199 if test "x$cache" = xyes; then
11200 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11201 fi
11202
11203 if test x"$enablestring" = xdisable; then
11204 if test $wxUSE_CARET = yes; then
11205 result=no
11206 else
11207 result=yes
11208 fi
11209 else
11210 result=$wxUSE_CARET
11211 fi
11212
11213 { echo "$as_me:$LINENO: result: $result" >&5
11214 echo "${ECHO_T}$result" >&6; }
11215
11216
11217 enablestring=
11218 defaultval=$wxUSE_ALL_FEATURES
11219 if test -z "$defaultval"; then
11220 if test x"$enablestring" = xdisable; then
11221 defaultval=yes
11222 else
11223 defaultval=no
11224 fi
11225 fi
11226
11227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11228 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11229 # Check whether --enable-checkbox was given.
11230 if test "${enable_checkbox+set}" = set; then
11231 enableval=$enable_checkbox;
11232 if test "$enableval" = yes; then
11233 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11234 else
11235 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11236 fi
11237 cache=yes
11238
11239 else
11240
11241 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11242 if test "x$LINE" != x ; then
11243 eval "DEFAULT_$LINE"
11244 cache=yes
11245 else
11246 cache=no
11247 fi
11248
11249 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11250
11251 fi
11252
11253
11254 eval "$wx_cv_use_checkbox"
11255 if test "x$cache" = xyes; then
11256 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11257 fi
11258
11259 if test x"$enablestring" = xdisable; then
11260 if test $wxUSE_CHECKBOX = yes; then
11261 result=no
11262 else
11263 result=yes
11264 fi
11265 else
11266 result=$wxUSE_CHECKBOX
11267 fi
11268
11269 { echo "$as_me:$LINENO: result: $result" >&5
11270 echo "${ECHO_T}$result" >&6; }
11271
11272
11273 enablestring=
11274 defaultval=$wxUSE_ALL_FEATURES
11275 if test -z "$defaultval"; then
11276 if test x"$enablestring" = xdisable; then
11277 defaultval=yes
11278 else
11279 defaultval=no
11280 fi
11281 fi
11282
11283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11285 # Check whether --enable-checklst was given.
11286 if test "${enable_checklst+set}" = set; then
11287 enableval=$enable_checklst;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11290 else
11291 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11292 fi
11293 cache=yes
11294
11295 else
11296
11297 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11298 if test "x$LINE" != x ; then
11299 eval "DEFAULT_$LINE"
11300 cache=yes
11301 else
11302 cache=no
11303 fi
11304
11305 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11306
11307 fi
11308
11309
11310 eval "$wx_cv_use_checklst"
11311 if test "x$cache" = xyes; then
11312 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11313 fi
11314
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_CHECKLST = yes; then
11317 result=no
11318 else
11319 result=yes
11320 fi
11321 else
11322 result=$wxUSE_CHECKLST
11323 fi
11324
11325 { echo "$as_me:$LINENO: result: $result" >&5
11326 echo "${ECHO_T}$result" >&6; }
11327
11328
11329 enablestring=
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11333 defaultval=yes
11334 else
11335 defaultval=no
11336 fi
11337 fi
11338
11339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11340 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11341 # Check whether --enable-choice was given.
11342 if test "${enable_choice+set}" = set; then
11343 enableval=$enable_choice;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_choice='wxUSE_CHOICE=yes'
11346 else
11347 wx_cv_use_choice='wxUSE_CHOICE=no'
11348 fi
11349 cache=yes
11350
11351 else
11352
11353 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11354 if test "x$LINE" != x ; then
11355 eval "DEFAULT_$LINE"
11356 cache=yes
11357 else
11358 cache=no
11359 fi
11360
11361 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11362
11363 fi
11364
11365
11366 eval "$wx_cv_use_choice"
11367 if test "x$cache" = xyes; then
11368 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11369 fi
11370
11371 if test x"$enablestring" = xdisable; then
11372 if test $wxUSE_CHOICE = yes; then
11373 result=no
11374 else
11375 result=yes
11376 fi
11377 else
11378 result=$wxUSE_CHOICE
11379 fi
11380
11381 { echo "$as_me:$LINENO: result: $result" >&5
11382 echo "${ECHO_T}$result" >&6; }
11383
11384
11385 enablestring=
11386 defaultval=$wxUSE_ALL_FEATURES
11387 if test -z "$defaultval"; then
11388 if test x"$enablestring" = xdisable; then
11389 defaultval=yes
11390 else
11391 defaultval=no
11392 fi
11393 fi
11394
11395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11396 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11397 # Check whether --enable-choicebook was given.
11398 if test "${enable_choicebook+set}" = set; then
11399 enableval=$enable_choicebook;
11400 if test "$enableval" = yes; then
11401 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11402 else
11403 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11404 fi
11405 cache=yes
11406
11407 else
11408
11409 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11410 if test "x$LINE" != x ; then
11411 eval "DEFAULT_$LINE"
11412 cache=yes
11413 else
11414 cache=no
11415 fi
11416
11417 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11418
11419 fi
11420
11421
11422 eval "$wx_cv_use_choicebook"
11423 if test "x$cache" = xyes; then
11424 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11425 fi
11426
11427 if test x"$enablestring" = xdisable; then
11428 if test $wxUSE_CHOICEBOOK = yes; then
11429 result=no
11430 else
11431 result=yes
11432 fi
11433 else
11434 result=$wxUSE_CHOICEBOOK
11435 fi
11436
11437 { echo "$as_me:$LINENO: result: $result" >&5
11438 echo "${ECHO_T}$result" >&6; }
11439
11440
11441 enablestring=
11442 defaultval=$wxUSE_ALL_FEATURES
11443 if test -z "$defaultval"; then
11444 if test x"$enablestring" = xdisable; then
11445 defaultval=yes
11446 else
11447 defaultval=no
11448 fi
11449 fi
11450
11451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11452 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11453 # Check whether --enable-collpane was given.
11454 if test "${enable_collpane+set}" = set; then
11455 enableval=$enable_collpane;
11456 if test "$enableval" = yes; then
11457 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11458 else
11459 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11460 fi
11461 cache=yes
11462
11463 else
11464
11465 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11466 if test "x$LINE" != x ; then
11467 eval "DEFAULT_$LINE"
11468 cache=yes
11469 else
11470 cache=no
11471 fi
11472
11473 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11474
11475 fi
11476
11477
11478 eval "$wx_cv_use_collpane"
11479 if test "x$cache" = xyes; then
11480 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11481 fi
11482
11483 if test x"$enablestring" = xdisable; then
11484 if test $wxUSE_COLLPANE = yes; then
11485 result=no
11486 else
11487 result=yes
11488 fi
11489 else
11490 result=$wxUSE_COLLPANE
11491 fi
11492
11493 { echo "$as_me:$LINENO: result: $result" >&5
11494 echo "${ECHO_T}$result" >&6; }
11495
11496
11497 enablestring=
11498 defaultval=$wxUSE_ALL_FEATURES
11499 if test -z "$defaultval"; then
11500 if test x"$enablestring" = xdisable; then
11501 defaultval=yes
11502 else
11503 defaultval=no
11504 fi
11505 fi
11506
11507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11508 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11509 # Check whether --enable-colourpicker was given.
11510 if test "${enable_colourpicker+set}" = set; then
11511 enableval=$enable_colourpicker;
11512 if test "$enableval" = yes; then
11513 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11514 else
11515 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11516 fi
11517 cache=yes
11518
11519 else
11520
11521 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11522 if test "x$LINE" != x ; then
11523 eval "DEFAULT_$LINE"
11524 cache=yes
11525 else
11526 cache=no
11527 fi
11528
11529 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11530
11531 fi
11532
11533
11534 eval "$wx_cv_use_colourpicker"
11535 if test "x$cache" = xyes; then
11536 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11537 fi
11538
11539 if test x"$enablestring" = xdisable; then
11540 if test $wxUSE_COLOURPICKERCTRL = yes; then
11541 result=no
11542 else
11543 result=yes
11544 fi
11545 else
11546 result=$wxUSE_COLOURPICKERCTRL
11547 fi
11548
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11551
11552
11553 enablestring=
11554 defaultval=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x"$enablestring" = xdisable; then
11557 defaultval=yes
11558 else
11559 defaultval=no
11560 fi
11561 fi
11562
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11565 # Check whether --enable-combobox was given.
11566 if test "${enable_combobox+set}" = set; then
11567 enableval=$enable_combobox;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11570 else
11571 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11572 fi
11573 cache=yes
11574
11575 else
11576
11577 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11578 if test "x$LINE" != x ; then
11579 eval "DEFAULT_$LINE"
11580 cache=yes
11581 else
11582 cache=no
11583 fi
11584
11585 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11586
11587 fi
11588
11589
11590 eval "$wx_cv_use_combobox"
11591 if test "x$cache" = xyes; then
11592 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11593 fi
11594
11595 if test x"$enablestring" = xdisable; then
11596 if test $wxUSE_COMBOBOX = yes; then
11597 result=no
11598 else
11599 result=yes
11600 fi
11601 else
11602 result=$wxUSE_COMBOBOX
11603 fi
11604
11605 { echo "$as_me:$LINENO: result: $result" >&5
11606 echo "${ECHO_T}$result" >&6; }
11607
11608
11609 enablestring=
11610 defaultval=$wxUSE_ALL_FEATURES
11611 if test -z "$defaultval"; then
11612 if test x"$enablestring" = xdisable; then
11613 defaultval=yes
11614 else
11615 defaultval=no
11616 fi
11617 fi
11618
11619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11620 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11621 # Check whether --enable-comboctrl was given.
11622 if test "${enable_comboctrl+set}" = set; then
11623 enableval=$enable_comboctrl;
11624 if test "$enableval" = yes; then
11625 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11626 else
11627 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11628 fi
11629 cache=yes
11630
11631 else
11632
11633 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11634 if test "x$LINE" != x ; then
11635 eval "DEFAULT_$LINE"
11636 cache=yes
11637 else
11638 cache=no
11639 fi
11640
11641 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11642
11643 fi
11644
11645
11646 eval "$wx_cv_use_comboctrl"
11647 if test "x$cache" = xyes; then
11648 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11649 fi
11650
11651 if test x"$enablestring" = xdisable; then
11652 if test $wxUSE_COMBOCTRL = yes; then
11653 result=no
11654 else
11655 result=yes
11656 fi
11657 else
11658 result=$wxUSE_COMBOCTRL
11659 fi
11660
11661 { echo "$as_me:$LINENO: result: $result" >&5
11662 echo "${ECHO_T}$result" >&6; }
11663
11664
11665 enablestring=
11666 defaultval=$wxUSE_ALL_FEATURES
11667 if test -z "$defaultval"; then
11668 if test x"$enablestring" = xdisable; then
11669 defaultval=yes
11670 else
11671 defaultval=no
11672 fi
11673 fi
11674
11675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11676 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11677 # Check whether --enable-datepick was given.
11678 if test "${enable_datepick+set}" = set; then
11679 enableval=$enable_datepick;
11680 if test "$enableval" = yes; then
11681 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11682 else
11683 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11684 fi
11685 cache=yes
11686
11687 else
11688
11689 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11690 if test "x$LINE" != x ; then
11691 eval "DEFAULT_$LINE"
11692 cache=yes
11693 else
11694 cache=no
11695 fi
11696
11697 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11698
11699 fi
11700
11701
11702 eval "$wx_cv_use_datepick"
11703 if test "x$cache" = xyes; then
11704 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11705 fi
11706
11707 if test x"$enablestring" = xdisable; then
11708 if test $wxUSE_DATEPICKCTRL = yes; then
11709 result=no
11710 else
11711 result=yes
11712 fi
11713 else
11714 result=$wxUSE_DATEPICKCTRL
11715 fi
11716
11717 { echo "$as_me:$LINENO: result: $result" >&5
11718 echo "${ECHO_T}$result" >&6; }
11719
11720
11721 enablestring=
11722 defaultval=$wxUSE_ALL_FEATURES
11723 if test -z "$defaultval"; then
11724 if test x"$enablestring" = xdisable; then
11725 defaultval=yes
11726 else
11727 defaultval=no
11728 fi
11729 fi
11730
11731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11732 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11733 # Check whether --enable-dirpicker was given.
11734 if test "${enable_dirpicker+set}" = set; then
11735 enableval=$enable_dirpicker;
11736 if test "$enableval" = yes; then
11737 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11738 else
11739 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11740 fi
11741 cache=yes
11742
11743 else
11744
11745 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11746 if test "x$LINE" != x ; then
11747 eval "DEFAULT_$LINE"
11748 cache=yes
11749 else
11750 cache=no
11751 fi
11752
11753 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11754
11755 fi
11756
11757
11758 eval "$wx_cv_use_dirpicker"
11759 if test "x$cache" = xyes; then
11760 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11761 fi
11762
11763 if test x"$enablestring" = xdisable; then
11764 if test $wxUSE_DIRPICKERCTRL = yes; then
11765 result=no
11766 else
11767 result=yes
11768 fi
11769 else
11770 result=$wxUSE_DIRPICKERCTRL
11771 fi
11772
11773 { echo "$as_me:$LINENO: result: $result" >&5
11774 echo "${ECHO_T}$result" >&6; }
11775
11776
11777 enablestring=
11778 defaultval=$wxUSE_ALL_FEATURES
11779 if test -z "$defaultval"; then
11780 if test x"$enablestring" = xdisable; then
11781 defaultval=yes
11782 else
11783 defaultval=no
11784 fi
11785 fi
11786
11787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11788 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11789 # Check whether --enable-display was given.
11790 if test "${enable_display+set}" = set; then
11791 enableval=$enable_display;
11792 if test "$enableval" = yes; then
11793 wx_cv_use_display='wxUSE_DISPLAY=yes'
11794 else
11795 wx_cv_use_display='wxUSE_DISPLAY=no'
11796 fi
11797 cache=yes
11798
11799 else
11800
11801 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11802 if test "x$LINE" != x ; then
11803 eval "DEFAULT_$LINE"
11804 cache=yes
11805 else
11806 cache=no
11807 fi
11808
11809 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11810
11811 fi
11812
11813
11814 eval "$wx_cv_use_display"
11815 if test "x$cache" = xyes; then
11816 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11817 fi
11818
11819 if test x"$enablestring" = xdisable; then
11820 if test $wxUSE_DISPLAY = yes; then
11821 result=no
11822 else
11823 result=yes
11824 fi
11825 else
11826 result=$wxUSE_DISPLAY
11827 fi
11828
11829 { echo "$as_me:$LINENO: result: $result" >&5
11830 echo "${ECHO_T}$result" >&6; }
11831
11832
11833 enablestring=
11834 defaultval=$wxUSE_ALL_FEATURES
11835 if test -z "$defaultval"; then
11836 if test x"$enablestring" = xdisable; then
11837 defaultval=yes
11838 else
11839 defaultval=no
11840 fi
11841 fi
11842
11843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11844 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11845 # Check whether --enable-detect_sm was given.
11846 if test "${enable_detect_sm+set}" = set; then
11847 enableval=$enable_detect_sm;
11848 if test "$enableval" = yes; then
11849 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11850 else
11851 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11852 fi
11853 cache=yes
11854
11855 else
11856
11857 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11858 if test "x$LINE" != x ; then
11859 eval "DEFAULT_$LINE"
11860 cache=yes
11861 else
11862 cache=no
11863 fi
11864
11865 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11866
11867 fi
11868
11869
11870 eval "$wx_cv_use_detect_sm"
11871 if test "x$cache" = xyes; then
11872 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11873 fi
11874
11875 if test x"$enablestring" = xdisable; then
11876 if test $wxUSE_DETECT_SM = yes; then
11877 result=no
11878 else
11879 result=yes
11880 fi
11881 else
11882 result=$wxUSE_DETECT_SM
11883 fi
11884
11885 { echo "$as_me:$LINENO: result: $result" >&5
11886 echo "${ECHO_T}$result" >&6; }
11887
11888
11889 enablestring=
11890 defaultval=$wxUSE_ALL_FEATURES
11891 if test -z "$defaultval"; then
11892 if test x"$enablestring" = xdisable; then
11893 defaultval=yes
11894 else
11895 defaultval=no
11896 fi
11897 fi
11898
11899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11900 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11901 # Check whether --enable-editablebox was given.
11902 if test "${enable_editablebox+set}" = set; then
11903 enableval=$enable_editablebox;
11904 if test "$enableval" = yes; then
11905 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11906 else
11907 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11908 fi
11909 cache=yes
11910
11911 else
11912
11913 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11914 if test "x$LINE" != x ; then
11915 eval "DEFAULT_$LINE"
11916 cache=yes
11917 else
11918 cache=no
11919 fi
11920
11921 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11922
11923 fi
11924
11925
11926 eval "$wx_cv_use_editablebox"
11927 if test "x$cache" = xyes; then
11928 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11929 fi
11930
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_EDITABLELISTBOX = yes; then
11933 result=no
11934 else
11935 result=yes
11936 fi
11937 else
11938 result=$wxUSE_EDITABLELISTBOX
11939 fi
11940
11941 { echo "$as_me:$LINENO: result: $result" >&5
11942 echo "${ECHO_T}$result" >&6; }
11943
11944
11945 enablestring=
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11949 defaultval=yes
11950 else
11951 defaultval=no
11952 fi
11953 fi
11954
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11957 # Check whether --enable-filepicker was given.
11958 if test "${enable_filepicker+set}" = set; then
11959 enableval=$enable_filepicker;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11962 else
11963 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11964 fi
11965 cache=yes
11966
11967 else
11968
11969 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11970 if test "x$LINE" != x ; then
11971 eval "DEFAULT_$LINE"
11972 cache=yes
11973 else
11974 cache=no
11975 fi
11976
11977 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11978
11979 fi
11980
11981
11982 eval "$wx_cv_use_filepicker"
11983 if test "x$cache" = xyes; then
11984 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11985 fi
11986
11987 if test x"$enablestring" = xdisable; then
11988 if test $wxUSE_FILEPICKERCTRL = yes; then
11989 result=no
11990 else
11991 result=yes
11992 fi
11993 else
11994 result=$wxUSE_FILEPICKERCTRL
11995 fi
11996
11997 { echo "$as_me:$LINENO: result: $result" >&5
11998 echo "${ECHO_T}$result" >&6; }
11999
12000
12001 enablestring=
12002 defaultval=$wxUSE_ALL_FEATURES
12003 if test -z "$defaultval"; then
12004 if test x"$enablestring" = xdisable; then
12005 defaultval=yes
12006 else
12007 defaultval=no
12008 fi
12009 fi
12010
12011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12012 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12013 # Check whether --enable-fontpicker was given.
12014 if test "${enable_fontpicker+set}" = set; then
12015 enableval=$enable_fontpicker;
12016 if test "$enableval" = yes; then
12017 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12018 else
12019 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12020 fi
12021 cache=yes
12022
12023 else
12024
12025 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12026 if test "x$LINE" != x ; then
12027 eval "DEFAULT_$LINE"
12028 cache=yes
12029 else
12030 cache=no
12031 fi
12032
12033 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12034
12035 fi
12036
12037
12038 eval "$wx_cv_use_fontpicker"
12039 if test "x$cache" = xyes; then
12040 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12041 fi
12042
12043 if test x"$enablestring" = xdisable; then
12044 if test $wxUSE_FONTPICKERCTRL = yes; then
12045 result=no
12046 else
12047 result=yes
12048 fi
12049 else
12050 result=$wxUSE_FONTPICKERCTRL
12051 fi
12052
12053 { echo "$as_me:$LINENO: result: $result" >&5
12054 echo "${ECHO_T}$result" >&6; }
12055
12056
12057 enablestring=
12058 defaultval=$wxUSE_ALL_FEATURES
12059 if test -z "$defaultval"; then
12060 if test x"$enablestring" = xdisable; then
12061 defaultval=yes
12062 else
12063 defaultval=no
12064 fi
12065 fi
12066
12067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12068 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12069 # Check whether --enable-gauge was given.
12070 if test "${enable_gauge+set}" = set; then
12071 enableval=$enable_gauge;
12072 if test "$enableval" = yes; then
12073 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12074 else
12075 wx_cv_use_gauge='wxUSE_GAUGE=no'
12076 fi
12077 cache=yes
12078
12079 else
12080
12081 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12082 if test "x$LINE" != x ; then
12083 eval "DEFAULT_$LINE"
12084 cache=yes
12085 else
12086 cache=no
12087 fi
12088
12089 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12090
12091 fi
12092
12093
12094 eval "$wx_cv_use_gauge"
12095 if test "x$cache" = xyes; then
12096 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12097 fi
12098
12099 if test x"$enablestring" = xdisable; then
12100 if test $wxUSE_GAUGE = yes; then
12101 result=no
12102 else
12103 result=yes
12104 fi
12105 else
12106 result=$wxUSE_GAUGE
12107 fi
12108
12109 { echo "$as_me:$LINENO: result: $result" >&5
12110 echo "${ECHO_T}$result" >&6; }
12111
12112
12113 enablestring=
12114 defaultval=$wxUSE_ALL_FEATURES
12115 if test -z "$defaultval"; then
12116 if test x"$enablestring" = xdisable; then
12117 defaultval=yes
12118 else
12119 defaultval=no
12120 fi
12121 fi
12122
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12125 # Check whether --enable-grid was given.
12126 if test "${enable_grid+set}" = set; then
12127 enableval=$enable_grid;
12128 if test "$enableval" = yes; then
12129 wx_cv_use_grid='wxUSE_GRID=yes'
12130 else
12131 wx_cv_use_grid='wxUSE_GRID=no'
12132 fi
12133 cache=yes
12134
12135 else
12136
12137 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12140 cache=yes
12141 else
12142 cache=no
12143 fi
12144
12145 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12146
12147 fi
12148
12149
12150 eval "$wx_cv_use_grid"
12151 if test "x$cache" = xyes; then
12152 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12153 fi
12154
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_GRID = yes; then
12157 result=no
12158 else
12159 result=yes
12160 fi
12161 else
12162 result=$wxUSE_GRID
12163 fi
12164
12165 { echo "$as_me:$LINENO: result: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12167
12168
12169 enablestring=
12170 defaultval=$wxUSE_ALL_FEATURES
12171 if test -z "$defaultval"; then
12172 if test x"$enablestring" = xdisable; then
12173 defaultval=yes
12174 else
12175 defaultval=no
12176 fi
12177 fi
12178
12179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12180 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12181 # Check whether --enable-dataviewctrl was given.
12182 if test "${enable_dataviewctrl+set}" = set; then
12183 enableval=$enable_dataviewctrl;
12184 if test "$enableval" = yes; then
12185 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12186 else
12187 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12188 fi
12189 cache=yes
12190
12191 else
12192
12193 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12194 if test "x$LINE" != x ; then
12195 eval "DEFAULT_$LINE"
12196 cache=yes
12197 else
12198 cache=no
12199 fi
12200
12201 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12202
12203 fi
12204
12205
12206 eval "$wx_cv_use_dataviewctrl"
12207 if test "x$cache" = xyes; then
12208 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12209 fi
12210
12211 if test x"$enablestring" = xdisable; then
12212 if test $wxUSE_DATAVIEWCTRL = yes; then
12213 result=no
12214 else
12215 result=yes
12216 fi
12217 else
12218 result=$wxUSE_DATAVIEWCTRL
12219 fi
12220
12221 { echo "$as_me:$LINENO: result: $result" >&5
12222 echo "${ECHO_T}$result" >&6; }
12223
12224
12225 enablestring=
12226 defaultval=$wxUSE_ALL_FEATURES
12227 if test -z "$defaultval"; then
12228 if test x"$enablestring" = xdisable; then
12229 defaultval=yes
12230 else
12231 defaultval=no
12232 fi
12233 fi
12234
12235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12236 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12237 # Check whether --enable-hyperlink was given.
12238 if test "${enable_hyperlink+set}" = set; then
12239 enableval=$enable_hyperlink;
12240 if test "$enableval" = yes; then
12241 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12242 else
12243 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12244 fi
12245 cache=yes
12246
12247 else
12248
12249 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12250 if test "x$LINE" != x ; then
12251 eval "DEFAULT_$LINE"
12252 cache=yes
12253 else
12254 cache=no
12255 fi
12256
12257 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12258
12259 fi
12260
12261
12262 eval "$wx_cv_use_hyperlink"
12263 if test "x$cache" = xyes; then
12264 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12265 fi
12266
12267 if test x"$enablestring" = xdisable; then
12268 if test $wxUSE_HYPERLINKCTRL = yes; then
12269 result=no
12270 else
12271 result=yes
12272 fi
12273 else
12274 result=$wxUSE_HYPERLINKCTRL
12275 fi
12276
12277 { echo "$as_me:$LINENO: result: $result" >&5
12278 echo "${ECHO_T}$result" >&6; }
12279
12280
12281 enablestring=
12282 defaultval=$wxUSE_ALL_FEATURES
12283 if test -z "$defaultval"; then
12284 if test x"$enablestring" = xdisable; then
12285 defaultval=yes
12286 else
12287 defaultval=no
12288 fi
12289 fi
12290
12291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12292 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12293 # Check whether --enable-imaglist was given.
12294 if test "${enable_imaglist+set}" = set; then
12295 enableval=$enable_imaglist;
12296 if test "$enableval" = yes; then
12297 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12298 else
12299 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12300 fi
12301 cache=yes
12302
12303 else
12304
12305 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12306 if test "x$LINE" != x ; then
12307 eval "DEFAULT_$LINE"
12308 cache=yes
12309 else
12310 cache=no
12311 fi
12312
12313 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12314
12315 fi
12316
12317
12318 eval "$wx_cv_use_imaglist"
12319 if test "x$cache" = xyes; then
12320 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12321 fi
12322
12323 if test x"$enablestring" = xdisable; then
12324 if test $wxUSE_IMAGLIST = yes; then
12325 result=no
12326 else
12327 result=yes
12328 fi
12329 else
12330 result=$wxUSE_IMAGLIST
12331 fi
12332
12333 { echo "$as_me:$LINENO: result: $result" >&5
12334 echo "${ECHO_T}$result" >&6; }
12335
12336
12337 enablestring=
12338 defaultval=$wxUSE_ALL_FEATURES
12339 if test -z "$defaultval"; then
12340 if test x"$enablestring" = xdisable; then
12341 defaultval=yes
12342 else
12343 defaultval=no
12344 fi
12345 fi
12346
12347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12348 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12349 # Check whether --enable-listbook was given.
12350 if test "${enable_listbook+set}" = set; then
12351 enableval=$enable_listbook;
12352 if test "$enableval" = yes; then
12353 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12354 else
12355 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12356 fi
12357 cache=yes
12358
12359 else
12360
12361 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12362 if test "x$LINE" != x ; then
12363 eval "DEFAULT_$LINE"
12364 cache=yes
12365 else
12366 cache=no
12367 fi
12368
12369 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12370
12371 fi
12372
12373
12374 eval "$wx_cv_use_listbook"
12375 if test "x$cache" = xyes; then
12376 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12377 fi
12378
12379 if test x"$enablestring" = xdisable; then
12380 if test $wxUSE_LISTBOOK = yes; then
12381 result=no
12382 else
12383 result=yes
12384 fi
12385 else
12386 result=$wxUSE_LISTBOOK
12387 fi
12388
12389 { echo "$as_me:$LINENO: result: $result" >&5
12390 echo "${ECHO_T}$result" >&6; }
12391
12392
12393 enablestring=
12394 defaultval=$wxUSE_ALL_FEATURES
12395 if test -z "$defaultval"; then
12396 if test x"$enablestring" = xdisable; then
12397 defaultval=yes
12398 else
12399 defaultval=no
12400 fi
12401 fi
12402
12403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12404 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12405 # Check whether --enable-listbox was given.
12406 if test "${enable_listbox+set}" = set; then
12407 enableval=$enable_listbox;
12408 if test "$enableval" = yes; then
12409 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12410 else
12411 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12412 fi
12413 cache=yes
12414
12415 else
12416
12417 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12418 if test "x$LINE" != x ; then
12419 eval "DEFAULT_$LINE"
12420 cache=yes
12421 else
12422 cache=no
12423 fi
12424
12425 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12426
12427 fi
12428
12429
12430 eval "$wx_cv_use_listbox"
12431 if test "x$cache" = xyes; then
12432 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12433 fi
12434
12435 if test x"$enablestring" = xdisable; then
12436 if test $wxUSE_LISTBOX = yes; then
12437 result=no
12438 else
12439 result=yes
12440 fi
12441 else
12442 result=$wxUSE_LISTBOX
12443 fi
12444
12445 { echo "$as_me:$LINENO: result: $result" >&5
12446 echo "${ECHO_T}$result" >&6; }
12447
12448
12449 enablestring=
12450 defaultval=$wxUSE_ALL_FEATURES
12451 if test -z "$defaultval"; then
12452 if test x"$enablestring" = xdisable; then
12453 defaultval=yes
12454 else
12455 defaultval=no
12456 fi
12457 fi
12458
12459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12460 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12461 # Check whether --enable-listctrl was given.
12462 if test "${enable_listctrl+set}" = set; then
12463 enableval=$enable_listctrl;
12464 if test "$enableval" = yes; then
12465 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12466 else
12467 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12468 fi
12469 cache=yes
12470
12471 else
12472
12473 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12474 if test "x$LINE" != x ; then
12475 eval "DEFAULT_$LINE"
12476 cache=yes
12477 else
12478 cache=no
12479 fi
12480
12481 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12482
12483 fi
12484
12485
12486 eval "$wx_cv_use_listctrl"
12487 if test "x$cache" = xyes; then
12488 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12489 fi
12490
12491 if test x"$enablestring" = xdisable; then
12492 if test $wxUSE_LISTCTRL = yes; then
12493 result=no
12494 else
12495 result=yes
12496 fi
12497 else
12498 result=$wxUSE_LISTCTRL
12499 fi
12500
12501 { echo "$as_me:$LINENO: result: $result" >&5
12502 echo "${ECHO_T}$result" >&6; }
12503
12504
12505 enablestring=
12506 defaultval=$wxUSE_ALL_FEATURES
12507 if test -z "$defaultval"; then
12508 if test x"$enablestring" = xdisable; then
12509 defaultval=yes
12510 else
12511 defaultval=no
12512 fi
12513 fi
12514
12515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12516 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12517 # Check whether --enable-notebook was given.
12518 if test "${enable_notebook+set}" = set; then
12519 enableval=$enable_notebook;
12520 if test "$enableval" = yes; then
12521 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12522 else
12523 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12524 fi
12525 cache=yes
12526
12527 else
12528
12529 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12530 if test "x$LINE" != x ; then
12531 eval "DEFAULT_$LINE"
12532 cache=yes
12533 else
12534 cache=no
12535 fi
12536
12537 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12538
12539 fi
12540
12541
12542 eval "$wx_cv_use_notebook"
12543 if test "x$cache" = xyes; then
12544 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12545 fi
12546
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_NOTEBOOK = yes; then
12549 result=no
12550 else
12551 result=yes
12552 fi
12553 else
12554 result=$wxUSE_NOTEBOOK
12555 fi
12556
12557 { echo "$as_me:$LINENO: result: $result" >&5
12558 echo "${ECHO_T}$result" >&6; }
12559
12560
12561 enablestring=
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12565 defaultval=yes
12566 else
12567 defaultval=no
12568 fi
12569 fi
12570
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12573 # Check whether --enable-odcombobox was given.
12574 if test "${enable_odcombobox+set}" = set; then
12575 enableval=$enable_odcombobox;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12578 else
12579 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12580 fi
12581 cache=yes
12582
12583 else
12584
12585 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12586 if test "x$LINE" != x ; then
12587 eval "DEFAULT_$LINE"
12588 cache=yes
12589 else
12590 cache=no
12591 fi
12592
12593 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12594
12595 fi
12596
12597
12598 eval "$wx_cv_use_odcombobox"
12599 if test "x$cache" = xyes; then
12600 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12601 fi
12602
12603 if test x"$enablestring" = xdisable; then
12604 if test $wxUSE_ODCOMBOBOX = yes; then
12605 result=no
12606 else
12607 result=yes
12608 fi
12609 else
12610 result=$wxUSE_ODCOMBOBOX
12611 fi
12612
12613 { echo "$as_me:$LINENO: result: $result" >&5
12614 echo "${ECHO_T}$result" >&6; }
12615
12616
12617 enablestring=
12618 defaultval=$wxUSE_ALL_FEATURES
12619 if test -z "$defaultval"; then
12620 if test x"$enablestring" = xdisable; then
12621 defaultval=yes
12622 else
12623 defaultval=no
12624 fi
12625 fi
12626
12627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12628 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12629 # Check whether --enable-radiobox was given.
12630 if test "${enable_radiobox+set}" = set; then
12631 enableval=$enable_radiobox;
12632 if test "$enableval" = yes; then
12633 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12634 else
12635 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12636 fi
12637 cache=yes
12638
12639 else
12640
12641 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12642 if test "x$LINE" != x ; then
12643 eval "DEFAULT_$LINE"
12644 cache=yes
12645 else
12646 cache=no
12647 fi
12648
12649 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12650
12651 fi
12652
12653
12654 eval "$wx_cv_use_radiobox"
12655 if test "x$cache" = xyes; then
12656 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12657 fi
12658
12659 if test x"$enablestring" = xdisable; then
12660 if test $wxUSE_RADIOBOX = yes; then
12661 result=no
12662 else
12663 result=yes
12664 fi
12665 else
12666 result=$wxUSE_RADIOBOX
12667 fi
12668
12669 { echo "$as_me:$LINENO: result: $result" >&5
12670 echo "${ECHO_T}$result" >&6; }
12671
12672
12673 enablestring=
12674 defaultval=$wxUSE_ALL_FEATURES
12675 if test -z "$defaultval"; then
12676 if test x"$enablestring" = xdisable; then
12677 defaultval=yes
12678 else
12679 defaultval=no
12680 fi
12681 fi
12682
12683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12684 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12685 # Check whether --enable-radiobtn was given.
12686 if test "${enable_radiobtn+set}" = set; then
12687 enableval=$enable_radiobtn;
12688 if test "$enableval" = yes; then
12689 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12690 else
12691 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12692 fi
12693 cache=yes
12694
12695 else
12696
12697 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12698 if test "x$LINE" != x ; then
12699 eval "DEFAULT_$LINE"
12700 cache=yes
12701 else
12702 cache=no
12703 fi
12704
12705 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12706
12707 fi
12708
12709
12710 eval "$wx_cv_use_radiobtn"
12711 if test "x$cache" = xyes; then
12712 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12713 fi
12714
12715 if test x"$enablestring" = xdisable; then
12716 if test $wxUSE_RADIOBTN = yes; then
12717 result=no
12718 else
12719 result=yes
12720 fi
12721 else
12722 result=$wxUSE_RADIOBTN
12723 fi
12724
12725 { echo "$as_me:$LINENO: result: $result" >&5
12726 echo "${ECHO_T}$result" >&6; }
12727
12728
12729 enablestring=
12730 defaultval=$wxUSE_ALL_FEATURES
12731 if test -z "$defaultval"; then
12732 if test x"$enablestring" = xdisable; then
12733 defaultval=yes
12734 else
12735 defaultval=no
12736 fi
12737 fi
12738
12739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12740 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12741 # Check whether --enable-sash was given.
12742 if test "${enable_sash+set}" = set; then
12743 enableval=$enable_sash;
12744 if test "$enableval" = yes; then
12745 wx_cv_use_sash='wxUSE_SASH=yes'
12746 else
12747 wx_cv_use_sash='wxUSE_SASH=no'
12748 fi
12749 cache=yes
12750
12751 else
12752
12753 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12754 if test "x$LINE" != x ; then
12755 eval "DEFAULT_$LINE"
12756 cache=yes
12757 else
12758 cache=no
12759 fi
12760
12761 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12762
12763 fi
12764
12765
12766 eval "$wx_cv_use_sash"
12767 if test "x$cache" = xyes; then
12768 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12769 fi
12770
12771 if test x"$enablestring" = xdisable; then
12772 if test $wxUSE_SASH = yes; then
12773 result=no
12774 else
12775 result=yes
12776 fi
12777 else
12778 result=$wxUSE_SASH
12779 fi
12780
12781 { echo "$as_me:$LINENO: result: $result" >&5
12782 echo "${ECHO_T}$result" >&6; }
12783
12784
12785 enablestring=
12786 defaultval=$wxUSE_ALL_FEATURES
12787 if test -z "$defaultval"; then
12788 if test x"$enablestring" = xdisable; then
12789 defaultval=yes
12790 else
12791 defaultval=no
12792 fi
12793 fi
12794
12795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12796 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12797 # Check whether --enable-scrollbar was given.
12798 if test "${enable_scrollbar+set}" = set; then
12799 enableval=$enable_scrollbar;
12800 if test "$enableval" = yes; then
12801 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12802 else
12803 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12804 fi
12805 cache=yes
12806
12807 else
12808
12809 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12810 if test "x$LINE" != x ; then
12811 eval "DEFAULT_$LINE"
12812 cache=yes
12813 else
12814 cache=no
12815 fi
12816
12817 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12818
12819 fi
12820
12821
12822 eval "$wx_cv_use_scrollbar"
12823 if test "x$cache" = xyes; then
12824 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12825 fi
12826
12827 if test x"$enablestring" = xdisable; then
12828 if test $wxUSE_SCROLLBAR = yes; then
12829 result=no
12830 else
12831 result=yes
12832 fi
12833 else
12834 result=$wxUSE_SCROLLBAR
12835 fi
12836
12837 { echo "$as_me:$LINENO: result: $result" >&5
12838 echo "${ECHO_T}$result" >&6; }
12839
12840
12841 enablestring=
12842 defaultval=$wxUSE_ALL_FEATURES
12843 if test -z "$defaultval"; then
12844 if test x"$enablestring" = xdisable; then
12845 defaultval=yes
12846 else
12847 defaultval=no
12848 fi
12849 fi
12850
12851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12852 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12853 # Check whether --enable-searchctrl was given.
12854 if test "${enable_searchctrl+set}" = set; then
12855 enableval=$enable_searchctrl;
12856 if test "$enableval" = yes; then
12857 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12858 else
12859 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12860 fi
12861 cache=yes
12862
12863 else
12864
12865 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12866 if test "x$LINE" != x ; then
12867 eval "DEFAULT_$LINE"
12868 cache=yes
12869 else
12870 cache=no
12871 fi
12872
12873 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12874
12875 fi
12876
12877
12878 eval "$wx_cv_use_searchctrl"
12879 if test "x$cache" = xyes; then
12880 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12881 fi
12882
12883 if test x"$enablestring" = xdisable; then
12884 if test $wxUSE_SEARCHCTRL = yes; then
12885 result=no
12886 else
12887 result=yes
12888 fi
12889 else
12890 result=$wxUSE_SEARCHCTRL
12891 fi
12892
12893 { echo "$as_me:$LINENO: result: $result" >&5
12894 echo "${ECHO_T}$result" >&6; }
12895
12896
12897 enablestring=
12898 defaultval=$wxUSE_ALL_FEATURES
12899 if test -z "$defaultval"; then
12900 if test x"$enablestring" = xdisable; then
12901 defaultval=yes
12902 else
12903 defaultval=no
12904 fi
12905 fi
12906
12907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12908 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12909 # Check whether --enable-slider was given.
12910 if test "${enable_slider+set}" = set; then
12911 enableval=$enable_slider;
12912 if test "$enableval" = yes; then
12913 wx_cv_use_slider='wxUSE_SLIDER=yes'
12914 else
12915 wx_cv_use_slider='wxUSE_SLIDER=no'
12916 fi
12917 cache=yes
12918
12919 else
12920
12921 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12922 if test "x$LINE" != x ; then
12923 eval "DEFAULT_$LINE"
12924 cache=yes
12925 else
12926 cache=no
12927 fi
12928
12929 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12930
12931 fi
12932
12933
12934 eval "$wx_cv_use_slider"
12935 if test "x$cache" = xyes; then
12936 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12937 fi
12938
12939 if test x"$enablestring" = xdisable; then
12940 if test $wxUSE_SLIDER = yes; then
12941 result=no
12942 else
12943 result=yes
12944 fi
12945 else
12946 result=$wxUSE_SLIDER
12947 fi
12948
12949 { echo "$as_me:$LINENO: result: $result" >&5
12950 echo "${ECHO_T}$result" >&6; }
12951
12952
12953 enablestring=
12954 defaultval=$wxUSE_ALL_FEATURES
12955 if test -z "$defaultval"; then
12956 if test x"$enablestring" = xdisable; then
12957 defaultval=yes
12958 else
12959 defaultval=no
12960 fi
12961 fi
12962
12963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12964 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12965 # Check whether --enable-spinbtn was given.
12966 if test "${enable_spinbtn+set}" = set; then
12967 enableval=$enable_spinbtn;
12968 if test "$enableval" = yes; then
12969 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12970 else
12971 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12972 fi
12973 cache=yes
12974
12975 else
12976
12977 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12978 if test "x$LINE" != x ; then
12979 eval "DEFAULT_$LINE"
12980 cache=yes
12981 else
12982 cache=no
12983 fi
12984
12985 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12986
12987 fi
12988
12989
12990 eval "$wx_cv_use_spinbtn"
12991 if test "x$cache" = xyes; then
12992 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12993 fi
12994
12995 if test x"$enablestring" = xdisable; then
12996 if test $wxUSE_SPINBTN = yes; then
12997 result=no
12998 else
12999 result=yes
13000 fi
13001 else
13002 result=$wxUSE_SPINBTN
13003 fi
13004
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13007
13008
13009 enablestring=
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13013 defaultval=yes
13014 else
13015 defaultval=no
13016 fi
13017 fi
13018
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13021 # Check whether --enable-spinctrl was given.
13022 if test "${enable_spinctrl+set}" = set; then
13023 enableval=$enable_spinctrl;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13026 else
13027 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13028 fi
13029 cache=yes
13030
13031 else
13032
13033 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13034 if test "x$LINE" != x ; then
13035 eval "DEFAULT_$LINE"
13036 cache=yes
13037 else
13038 cache=no
13039 fi
13040
13041 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13042
13043 fi
13044
13045
13046 eval "$wx_cv_use_spinctrl"
13047 if test "x$cache" = xyes; then
13048 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13049 fi
13050
13051 if test x"$enablestring" = xdisable; then
13052 if test $wxUSE_SPINCTRL = yes; then
13053 result=no
13054 else
13055 result=yes
13056 fi
13057 else
13058 result=$wxUSE_SPINCTRL
13059 fi
13060
13061 { echo "$as_me:$LINENO: result: $result" >&5
13062 echo "${ECHO_T}$result" >&6; }
13063
13064
13065 enablestring=
13066 defaultval=$wxUSE_ALL_FEATURES
13067 if test -z "$defaultval"; then
13068 if test x"$enablestring" = xdisable; then
13069 defaultval=yes
13070 else
13071 defaultval=no
13072 fi
13073 fi
13074
13075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13076 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13077 # Check whether --enable-splitter was given.
13078 if test "${enable_splitter+set}" = set; then
13079 enableval=$enable_splitter;
13080 if test "$enableval" = yes; then
13081 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13082 else
13083 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13084 fi
13085 cache=yes
13086
13087 else
13088
13089 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13090 if test "x$LINE" != x ; then
13091 eval "DEFAULT_$LINE"
13092 cache=yes
13093 else
13094 cache=no
13095 fi
13096
13097 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13098
13099 fi
13100
13101
13102 eval "$wx_cv_use_splitter"
13103 if test "x$cache" = xyes; then
13104 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13105 fi
13106
13107 if test x"$enablestring" = xdisable; then
13108 if test $wxUSE_SPLITTER = yes; then
13109 result=no
13110 else
13111 result=yes
13112 fi
13113 else
13114 result=$wxUSE_SPLITTER
13115 fi
13116
13117 { echo "$as_me:$LINENO: result: $result" >&5
13118 echo "${ECHO_T}$result" >&6; }
13119
13120
13121 enablestring=
13122 defaultval=$wxUSE_ALL_FEATURES
13123 if test -z "$defaultval"; then
13124 if test x"$enablestring" = xdisable; then
13125 defaultval=yes
13126 else
13127 defaultval=no
13128 fi
13129 fi
13130
13131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13132 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13133 # Check whether --enable-statbmp was given.
13134 if test "${enable_statbmp+set}" = set; then
13135 enableval=$enable_statbmp;
13136 if test "$enableval" = yes; then
13137 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13138 else
13139 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13140 fi
13141 cache=yes
13142
13143 else
13144
13145 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13146 if test "x$LINE" != x ; then
13147 eval "DEFAULT_$LINE"
13148 cache=yes
13149 else
13150 cache=no
13151 fi
13152
13153 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13154
13155 fi
13156
13157
13158 eval "$wx_cv_use_statbmp"
13159 if test "x$cache" = xyes; then
13160 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13161 fi
13162
13163 if test x"$enablestring" = xdisable; then
13164 if test $wxUSE_STATBMP = yes; then
13165 result=no
13166 else
13167 result=yes
13168 fi
13169 else
13170 result=$wxUSE_STATBMP
13171 fi
13172
13173 { echo "$as_me:$LINENO: result: $result" >&5
13174 echo "${ECHO_T}$result" >&6; }
13175
13176
13177 enablestring=
13178 defaultval=$wxUSE_ALL_FEATURES
13179 if test -z "$defaultval"; then
13180 if test x"$enablestring" = xdisable; then
13181 defaultval=yes
13182 else
13183 defaultval=no
13184 fi
13185 fi
13186
13187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13188 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13189 # Check whether --enable-statbox was given.
13190 if test "${enable_statbox+set}" = set; then
13191 enableval=$enable_statbox;
13192 if test "$enableval" = yes; then
13193 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13194 else
13195 wx_cv_use_statbox='wxUSE_STATBOX=no'
13196 fi
13197 cache=yes
13198
13199 else
13200
13201 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13202 if test "x$LINE" != x ; then
13203 eval "DEFAULT_$LINE"
13204 cache=yes
13205 else
13206 cache=no
13207 fi
13208
13209 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13210
13211 fi
13212
13213
13214 eval "$wx_cv_use_statbox"
13215 if test "x$cache" = xyes; then
13216 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13217 fi
13218
13219 if test x"$enablestring" = xdisable; then
13220 if test $wxUSE_STATBOX = yes; then
13221 result=no
13222 else
13223 result=yes
13224 fi
13225 else
13226 result=$wxUSE_STATBOX
13227 fi
13228
13229 { echo "$as_me:$LINENO: result: $result" >&5
13230 echo "${ECHO_T}$result" >&6; }
13231
13232
13233 enablestring=
13234 defaultval=$wxUSE_ALL_FEATURES
13235 if test -z "$defaultval"; then
13236 if test x"$enablestring" = xdisable; then
13237 defaultval=yes
13238 else
13239 defaultval=no
13240 fi
13241 fi
13242
13243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13244 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13245 # Check whether --enable-statline was given.
13246 if test "${enable_statline+set}" = set; then
13247 enableval=$enable_statline;
13248 if test "$enableval" = yes; then
13249 wx_cv_use_statline='wxUSE_STATLINE=yes'
13250 else
13251 wx_cv_use_statline='wxUSE_STATLINE=no'
13252 fi
13253 cache=yes
13254
13255 else
13256
13257 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13258 if test "x$LINE" != x ; then
13259 eval "DEFAULT_$LINE"
13260 cache=yes
13261 else
13262 cache=no
13263 fi
13264
13265 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13266
13267 fi
13268
13269
13270 eval "$wx_cv_use_statline"
13271 if test "x$cache" = xyes; then
13272 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13273 fi
13274
13275 if test x"$enablestring" = xdisable; then
13276 if test $wxUSE_STATLINE = yes; then
13277 result=no
13278 else
13279 result=yes
13280 fi
13281 else
13282 result=$wxUSE_STATLINE
13283 fi
13284
13285 { echo "$as_me:$LINENO: result: $result" >&5
13286 echo "${ECHO_T}$result" >&6; }
13287
13288
13289 enablestring=
13290 defaultval=$wxUSE_ALL_FEATURES
13291 if test -z "$defaultval"; then
13292 if test x"$enablestring" = xdisable; then
13293 defaultval=yes
13294 else
13295 defaultval=no
13296 fi
13297 fi
13298
13299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13300 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13301 # Check whether --enable-stattext was given.
13302 if test "${enable_stattext+set}" = set; then
13303 enableval=$enable_stattext;
13304 if test "$enableval" = yes; then
13305 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13306 else
13307 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13308 fi
13309 cache=yes
13310
13311 else
13312
13313 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13314 if test "x$LINE" != x ; then
13315 eval "DEFAULT_$LINE"
13316 cache=yes
13317 else
13318 cache=no
13319 fi
13320
13321 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13322
13323 fi
13324
13325
13326 eval "$wx_cv_use_stattext"
13327 if test "x$cache" = xyes; then
13328 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13329 fi
13330
13331 if test x"$enablestring" = xdisable; then
13332 if test $wxUSE_STATTEXT = yes; then
13333 result=no
13334 else
13335 result=yes
13336 fi
13337 else
13338 result=$wxUSE_STATTEXT
13339 fi
13340
13341 { echo "$as_me:$LINENO: result: $result" >&5
13342 echo "${ECHO_T}$result" >&6; }
13343
13344
13345 enablestring=
13346 defaultval=$wxUSE_ALL_FEATURES
13347 if test -z "$defaultval"; then
13348 if test x"$enablestring" = xdisable; then
13349 defaultval=yes
13350 else
13351 defaultval=no
13352 fi
13353 fi
13354
13355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13356 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13357 # Check whether --enable-statusbar was given.
13358 if test "${enable_statusbar+set}" = set; then
13359 enableval=$enable_statusbar;
13360 if test "$enableval" = yes; then
13361 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13362 else
13363 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13364 fi
13365 cache=yes
13366
13367 else
13368
13369 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13370 if test "x$LINE" != x ; then
13371 eval "DEFAULT_$LINE"
13372 cache=yes
13373 else
13374 cache=no
13375 fi
13376
13377 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13378
13379 fi
13380
13381
13382 eval "$wx_cv_use_statusbar"
13383 if test "x$cache" = xyes; then
13384 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13385 fi
13386
13387 if test x"$enablestring" = xdisable; then
13388 if test $wxUSE_STATUSBAR = yes; then
13389 result=no
13390 else
13391 result=yes
13392 fi
13393 else
13394 result=$wxUSE_STATUSBAR
13395 fi
13396
13397 { echo "$as_me:$LINENO: result: $result" >&5
13398 echo "${ECHO_T}$result" >&6; }
13399
13400
13401 enablestring=
13402 defaultval=$wxUSE_ALL_FEATURES
13403 if test -z "$defaultval"; then
13404 if test x"$enablestring" = xdisable; then
13405 defaultval=yes
13406 else
13407 defaultval=no
13408 fi
13409 fi
13410
13411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13412 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13413 # Check whether --enable-tabdialog was given.
13414 if test "${enable_tabdialog+set}" = set; then
13415 enableval=$enable_tabdialog;
13416 if test "$enableval" = yes; then
13417 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13418 else
13419 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13420 fi
13421 cache=yes
13422
13423 else
13424
13425 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13426 if test "x$LINE" != x ; then
13427 eval "DEFAULT_$LINE"
13428 cache=yes
13429 else
13430 cache=no
13431 fi
13432
13433 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13434
13435 fi
13436
13437
13438 eval "$wx_cv_use_tabdialog"
13439 if test "x$cache" = xyes; then
13440 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13441 fi
13442
13443 if test x"$enablestring" = xdisable; then
13444 if test $wxUSE_TAB_DIALOG = yes; then
13445 result=no
13446 else
13447 result=yes
13448 fi
13449 else
13450 result=$wxUSE_TAB_DIALOG
13451 fi
13452
13453 { echo "$as_me:$LINENO: result: $result" >&5
13454 echo "${ECHO_T}$result" >&6; }
13455
13456
13457 enablestring=
13458 defaultval=$wxUSE_ALL_FEATURES
13459 if test -z "$defaultval"; then
13460 if test x"$enablestring" = xdisable; then
13461 defaultval=yes
13462 else
13463 defaultval=no
13464 fi
13465 fi
13466
13467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13468 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13469 # Check whether --enable-taskbaricon was given.
13470 if test "${enable_taskbaricon+set}" = set; then
13471 enableval=$enable_taskbaricon;
13472 if test "$enableval" = yes; then
13473 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13474 else
13475 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13476 fi
13477 cache=yes
13478
13479 else
13480
13481 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13482 if test "x$LINE" != x ; then
13483 eval "DEFAULT_$LINE"
13484 cache=yes
13485 else
13486 cache=no
13487 fi
13488
13489 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13490
13491 fi
13492
13493
13494 eval "$wx_cv_use_taskbaricon"
13495 if test "x$cache" = xyes; then
13496 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13497 fi
13498
13499 if test x"$enablestring" = xdisable; then
13500 if test $wxUSE_TASKBARICON = yes; then
13501 result=no
13502 else
13503 result=yes
13504 fi
13505 else
13506 result=$wxUSE_TASKBARICON
13507 fi
13508
13509 { echo "$as_me:$LINENO: result: $result" >&5
13510 echo "${ECHO_T}$result" >&6; }
13511
13512
13513 enablestring=
13514 defaultval=$wxUSE_ALL_FEATURES
13515 if test -z "$defaultval"; then
13516 if test x"$enablestring" = xdisable; then
13517 defaultval=yes
13518 else
13519 defaultval=no
13520 fi
13521 fi
13522
13523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13524 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13525 # Check whether --enable-textctrl was given.
13526 if test "${enable_textctrl+set}" = set; then
13527 enableval=$enable_textctrl;
13528 if test "$enableval" = yes; then
13529 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13530 else
13531 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13532 fi
13533 cache=yes
13534
13535 else
13536
13537 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13538 if test "x$LINE" != x ; then
13539 eval "DEFAULT_$LINE"
13540 cache=yes
13541 else
13542 cache=no
13543 fi
13544
13545 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13546
13547 fi
13548
13549
13550 eval "$wx_cv_use_textctrl"
13551 if test "x$cache" = xyes; then
13552 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13553 fi
13554
13555 if test x"$enablestring" = xdisable; then
13556 if test $wxUSE_TEXTCTRL = yes; then
13557 result=no
13558 else
13559 result=yes
13560 fi
13561 else
13562 result=$wxUSE_TEXTCTRL
13563 fi
13564
13565 { echo "$as_me:$LINENO: result: $result" >&5
13566 echo "${ECHO_T}$result" >&6; }
13567
13568
13569 enablestring=
13570 defaultval=$wxUSE_ALL_FEATURES
13571 if test -z "$defaultval"; then
13572 if test x"$enablestring" = xdisable; then
13573 defaultval=yes
13574 else
13575 defaultval=no
13576 fi
13577 fi
13578
13579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13580 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13581 # Check whether --enable-togglebtn was given.
13582 if test "${enable_togglebtn+set}" = set; then
13583 enableval=$enable_togglebtn;
13584 if test "$enableval" = yes; then
13585 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13586 else
13587 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13588 fi
13589 cache=yes
13590
13591 else
13592
13593 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13594 if test "x$LINE" != x ; then
13595 eval "DEFAULT_$LINE"
13596 cache=yes
13597 else
13598 cache=no
13599 fi
13600
13601 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13602
13603 fi
13604
13605
13606 eval "$wx_cv_use_togglebtn"
13607 if test "x$cache" = xyes; then
13608 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13609 fi
13610
13611 if test x"$enablestring" = xdisable; then
13612 if test $wxUSE_TOGGLEBTN = yes; then
13613 result=no
13614 else
13615 result=yes
13616 fi
13617 else
13618 result=$wxUSE_TOGGLEBTN
13619 fi
13620
13621 { echo "$as_me:$LINENO: result: $result" >&5
13622 echo "${ECHO_T}$result" >&6; }
13623
13624
13625 enablestring=
13626 defaultval=$wxUSE_ALL_FEATURES
13627 if test -z "$defaultval"; then
13628 if test x"$enablestring" = xdisable; then
13629 defaultval=yes
13630 else
13631 defaultval=no
13632 fi
13633 fi
13634
13635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13636 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13637 # Check whether --enable-toolbar was given.
13638 if test "${enable_toolbar+set}" = set; then
13639 enableval=$enable_toolbar;
13640 if test "$enableval" = yes; then
13641 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13642 else
13643 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13644 fi
13645 cache=yes
13646
13647 else
13648
13649 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13650 if test "x$LINE" != x ; then
13651 eval "DEFAULT_$LINE"
13652 cache=yes
13653 else
13654 cache=no
13655 fi
13656
13657 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13658
13659 fi
13660
13661
13662 eval "$wx_cv_use_toolbar"
13663 if test "x$cache" = xyes; then
13664 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13665 fi
13666
13667 if test x"$enablestring" = xdisable; then
13668 if test $wxUSE_TOOLBAR = yes; then
13669 result=no
13670 else
13671 result=yes
13672 fi
13673 else
13674 result=$wxUSE_TOOLBAR
13675 fi
13676
13677 { echo "$as_me:$LINENO: result: $result" >&5
13678 echo "${ECHO_T}$result" >&6; }
13679
13680
13681 enablestring=
13682 defaultval=$wxUSE_ALL_FEATURES
13683 if test -z "$defaultval"; then
13684 if test x"$enablestring" = xdisable; then
13685 defaultval=yes
13686 else
13687 defaultval=no
13688 fi
13689 fi
13690
13691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13692 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13693 # Check whether --enable-tbarnative was given.
13694 if test "${enable_tbarnative+set}" = set; then
13695 enableval=$enable_tbarnative;
13696 if test "$enableval" = yes; then
13697 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13698 else
13699 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13700 fi
13701 cache=yes
13702
13703 else
13704
13705 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13706 if test "x$LINE" != x ; then
13707 eval "DEFAULT_$LINE"
13708 cache=yes
13709 else
13710 cache=no
13711 fi
13712
13713 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13714
13715 fi
13716
13717
13718 eval "$wx_cv_use_tbarnative"
13719 if test "x$cache" = xyes; then
13720 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13721 fi
13722
13723 if test x"$enablestring" = xdisable; then
13724 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13725 result=no
13726 else
13727 result=yes
13728 fi
13729 else
13730 result=$wxUSE_TOOLBAR_NATIVE
13731 fi
13732
13733 { echo "$as_me:$LINENO: result: $result" >&5
13734 echo "${ECHO_T}$result" >&6; }
13735
13736
13737 enablestring=
13738 defaultval=$wxUSE_ALL_FEATURES
13739 if test -z "$defaultval"; then
13740 if test x"$enablestring" = xdisable; then
13741 defaultval=yes
13742 else
13743 defaultval=no
13744 fi
13745 fi
13746
13747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13748 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13749 # Check whether --enable-treebook was given.
13750 if test "${enable_treebook+set}" = set; then
13751 enableval=$enable_treebook;
13752 if test "$enableval" = yes; then
13753 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13754 else
13755 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13756 fi
13757 cache=yes
13758
13759 else
13760
13761 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13762 if test "x$LINE" != x ; then
13763 eval "DEFAULT_$LINE"
13764 cache=yes
13765 else
13766 cache=no
13767 fi
13768
13769 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13770
13771 fi
13772
13773
13774 eval "$wx_cv_use_treebook"
13775 if test "x$cache" = xyes; then
13776 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13777 fi
13778
13779 if test x"$enablestring" = xdisable; then
13780 if test $wxUSE_TREEBOOK = yes; then
13781 result=no
13782 else
13783 result=yes
13784 fi
13785 else
13786 result=$wxUSE_TREEBOOK
13787 fi
13788
13789 { echo "$as_me:$LINENO: result: $result" >&5
13790 echo "${ECHO_T}$result" >&6; }
13791
13792
13793 enablestring=
13794 defaultval=$wxUSE_ALL_FEATURES
13795 if test -z "$defaultval"; then
13796 if test x"$enablestring" = xdisable; then
13797 defaultval=yes
13798 else
13799 defaultval=no
13800 fi
13801 fi
13802
13803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13804 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13805 # Check whether --enable-toolbook was given.
13806 if test "${enable_toolbook+set}" = set; then
13807 enableval=$enable_toolbook;
13808 if test "$enableval" = yes; then
13809 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13810 else
13811 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13812 fi
13813 cache=yes
13814
13815 else
13816
13817 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13818 if test "x$LINE" != x ; then
13819 eval "DEFAULT_$LINE"
13820 cache=yes
13821 else
13822 cache=no
13823 fi
13824
13825 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13826
13827 fi
13828
13829
13830 eval "$wx_cv_use_toolbook"
13831 if test "x$cache" = xyes; then
13832 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13833 fi
13834
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_TOOLBOOK = yes; then
13837 result=no
13838 else
13839 result=yes
13840 fi
13841 else
13842 result=$wxUSE_TOOLBOOK
13843 fi
13844
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13847
13848
13849 enablestring=
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13853 defaultval=yes
13854 else
13855 defaultval=no
13856 fi
13857 fi
13858
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13861 # Check whether --enable-treectrl was given.
13862 if test "${enable_treectrl+set}" = set; then
13863 enableval=$enable_treectrl;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13866 else
13867 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13868 fi
13869 cache=yes
13870
13871 else
13872
13873 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13874 if test "x$LINE" != x ; then
13875 eval "DEFAULT_$LINE"
13876 cache=yes
13877 else
13878 cache=no
13879 fi
13880
13881 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13882
13883 fi
13884
13885
13886 eval "$wx_cv_use_treectrl"
13887 if test "x$cache" = xyes; then
13888 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13889 fi
13890
13891 if test x"$enablestring" = xdisable; then
13892 if test $wxUSE_TREECTRL = yes; then
13893 result=no
13894 else
13895 result=yes
13896 fi
13897 else
13898 result=$wxUSE_TREECTRL
13899 fi
13900
13901 { echo "$as_me:$LINENO: result: $result" >&5
13902 echo "${ECHO_T}$result" >&6; }
13903
13904
13905 enablestring=
13906 defaultval=$wxUSE_ALL_FEATURES
13907 if test -z "$defaultval"; then
13908 if test x"$enablestring" = xdisable; then
13909 defaultval=yes
13910 else
13911 defaultval=no
13912 fi
13913 fi
13914
13915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13916 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13917 # Check whether --enable-tipwindow was given.
13918 if test "${enable_tipwindow+set}" = set; then
13919 enableval=$enable_tipwindow;
13920 if test "$enableval" = yes; then
13921 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13922 else
13923 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13924 fi
13925 cache=yes
13926
13927 else
13928
13929 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13930 if test "x$LINE" != x ; then
13931 eval "DEFAULT_$LINE"
13932 cache=yes
13933 else
13934 cache=no
13935 fi
13936
13937 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13938
13939 fi
13940
13941
13942 eval "$wx_cv_use_tipwindow"
13943 if test "x$cache" = xyes; then
13944 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13945 fi
13946
13947 if test x"$enablestring" = xdisable; then
13948 if test $wxUSE_TIPWINDOW = yes; then
13949 result=no
13950 else
13951 result=yes
13952 fi
13953 else
13954 result=$wxUSE_TIPWINDOW
13955 fi
13956
13957 { echo "$as_me:$LINENO: result: $result" >&5
13958 echo "${ECHO_T}$result" >&6; }
13959
13960
13961 enablestring=
13962 defaultval=$wxUSE_ALL_FEATURES
13963 if test -z "$defaultval"; then
13964 if test x"$enablestring" = xdisable; then
13965 defaultval=yes
13966 else
13967 defaultval=no
13968 fi
13969 fi
13970
13971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13972 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13973 # Check whether --enable-popupwin was given.
13974 if test "${enable_popupwin+set}" = set; then
13975 enableval=$enable_popupwin;
13976 if test "$enableval" = yes; then
13977 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13978 else
13979 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13980 fi
13981 cache=yes
13982
13983 else
13984
13985 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13986 if test "x$LINE" != x ; then
13987 eval "DEFAULT_$LINE"
13988 cache=yes
13989 else
13990 cache=no
13991 fi
13992
13993 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13994
13995 fi
13996
13997
13998 eval "$wx_cv_use_popupwin"
13999 if test "x$cache" = xyes; then
14000 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14001 fi
14002
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_POPUPWIN = yes; then
14005 result=no
14006 else
14007 result=yes
14008 fi
14009 else
14010 result=$wxUSE_POPUPWIN
14011 fi
14012
14013 { echo "$as_me:$LINENO: result: $result" >&5
14014 echo "${ECHO_T}$result" >&6; }
14015
14016
14017
14018
14019 enablestring=
14020 defaultval=$wxUSE_ALL_FEATURES
14021 if test -z "$defaultval"; then
14022 if test x"$enablestring" = xdisable; then
14023 defaultval=yes
14024 else
14025 defaultval=no
14026 fi
14027 fi
14028
14029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14030 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14031 # Check whether --enable-commondlg was given.
14032 if test "${enable_commondlg+set}" = set; then
14033 enableval=$enable_commondlg;
14034 if test "$enableval" = yes; then
14035 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14036 else
14037 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14038 fi
14039 cache=yes
14040
14041 else
14042
14043 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14044 if test "x$LINE" != x ; then
14045 eval "DEFAULT_$LINE"
14046 cache=yes
14047 else
14048 cache=no
14049 fi
14050
14051 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14052
14053 fi
14054
14055
14056 eval "$wx_cv_use_commondlg"
14057 if test "x$cache" = xyes; then
14058 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14059 fi
14060
14061 if test x"$enablestring" = xdisable; then
14062 if test $wxUSE_COMMONDLGS = yes; then
14063 result=no
14064 else
14065 result=yes
14066 fi
14067 else
14068 result=$wxUSE_COMMONDLGS
14069 fi
14070
14071 { echo "$as_me:$LINENO: result: $result" >&5
14072 echo "${ECHO_T}$result" >&6; }
14073
14074
14075 enablestring=
14076 defaultval=$wxUSE_ALL_FEATURES
14077 if test -z "$defaultval"; then
14078 if test x"$enablestring" = xdisable; then
14079 defaultval=yes
14080 else
14081 defaultval=no
14082 fi
14083 fi
14084
14085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14086 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14087 # Check whether --enable-aboutdlg was given.
14088 if test "${enable_aboutdlg+set}" = set; then
14089 enableval=$enable_aboutdlg;
14090 if test "$enableval" = yes; then
14091 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14092 else
14093 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14094 fi
14095 cache=yes
14096
14097 else
14098
14099 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14100 if test "x$LINE" != x ; then
14101 eval "DEFAULT_$LINE"
14102 cache=yes
14103 else
14104 cache=no
14105 fi
14106
14107 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14108
14109 fi
14110
14111
14112 eval "$wx_cv_use_aboutdlg"
14113 if test "x$cache" = xyes; then
14114 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14115 fi
14116
14117 if test x"$enablestring" = xdisable; then
14118 if test $wxUSE_ABOUTDLG = yes; then
14119 result=no
14120 else
14121 result=yes
14122 fi
14123 else
14124 result=$wxUSE_ABOUTDLG
14125 fi
14126
14127 { echo "$as_me:$LINENO: result: $result" >&5
14128 echo "${ECHO_T}$result" >&6; }
14129
14130
14131 enablestring=
14132 defaultval=$wxUSE_ALL_FEATURES
14133 if test -z "$defaultval"; then
14134 if test x"$enablestring" = xdisable; then
14135 defaultval=yes
14136 else
14137 defaultval=no
14138 fi
14139 fi
14140
14141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14142 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14143 # Check whether --enable-choicedlg was given.
14144 if test "${enable_choicedlg+set}" = set; then
14145 enableval=$enable_choicedlg;
14146 if test "$enableval" = yes; then
14147 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14148 else
14149 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14150 fi
14151 cache=yes
14152
14153 else
14154
14155 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14156 if test "x$LINE" != x ; then
14157 eval "DEFAULT_$LINE"
14158 cache=yes
14159 else
14160 cache=no
14161 fi
14162
14163 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14164
14165 fi
14166
14167
14168 eval "$wx_cv_use_choicedlg"
14169 if test "x$cache" = xyes; then
14170 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14171 fi
14172
14173 if test x"$enablestring" = xdisable; then
14174 if test $wxUSE_CHOICEDLG = yes; then
14175 result=no
14176 else
14177 result=yes
14178 fi
14179 else
14180 result=$wxUSE_CHOICEDLG
14181 fi
14182
14183 { echo "$as_me:$LINENO: result: $result" >&5
14184 echo "${ECHO_T}$result" >&6; }
14185
14186
14187 enablestring=
14188 defaultval=$wxUSE_ALL_FEATURES
14189 if test -z "$defaultval"; then
14190 if test x"$enablestring" = xdisable; then
14191 defaultval=yes
14192 else
14193 defaultval=no
14194 fi
14195 fi
14196
14197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14198 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14199 # Check whether --enable-coldlg was given.
14200 if test "${enable_coldlg+set}" = set; then
14201 enableval=$enable_coldlg;
14202 if test "$enableval" = yes; then
14203 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14204 else
14205 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14206 fi
14207 cache=yes
14208
14209 else
14210
14211 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14212 if test "x$LINE" != x ; then
14213 eval "DEFAULT_$LINE"
14214 cache=yes
14215 else
14216 cache=no
14217 fi
14218
14219 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14220
14221 fi
14222
14223
14224 eval "$wx_cv_use_coldlg"
14225 if test "x$cache" = xyes; then
14226 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14227 fi
14228
14229 if test x"$enablestring" = xdisable; then
14230 if test $wxUSE_COLOURDLG = yes; then
14231 result=no
14232 else
14233 result=yes
14234 fi
14235 else
14236 result=$wxUSE_COLOURDLG
14237 fi
14238
14239 { echo "$as_me:$LINENO: result: $result" >&5
14240 echo "${ECHO_T}$result" >&6; }
14241
14242
14243 enablestring=
14244 defaultval=$wxUSE_ALL_FEATURES
14245 if test -z "$defaultval"; then
14246 if test x"$enablestring" = xdisable; then
14247 defaultval=yes
14248 else
14249 defaultval=no
14250 fi
14251 fi
14252
14253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14254 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14255 # Check whether --enable-filedlg was given.
14256 if test "${enable_filedlg+set}" = set; then
14257 enableval=$enable_filedlg;
14258 if test "$enableval" = yes; then
14259 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14260 else
14261 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14262 fi
14263 cache=yes
14264
14265 else
14266
14267 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14268 if test "x$LINE" != x ; then
14269 eval "DEFAULT_$LINE"
14270 cache=yes
14271 else
14272 cache=no
14273 fi
14274
14275 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14276
14277 fi
14278
14279
14280 eval "$wx_cv_use_filedlg"
14281 if test "x$cache" = xyes; then
14282 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14283 fi
14284
14285 if test x"$enablestring" = xdisable; then
14286 if test $wxUSE_FILEDLG = yes; then
14287 result=no
14288 else
14289 result=yes
14290 fi
14291 else
14292 result=$wxUSE_FILEDLG
14293 fi
14294
14295 { echo "$as_me:$LINENO: result: $result" >&5
14296 echo "${ECHO_T}$result" >&6; }
14297
14298
14299 enablestring=
14300 defaultval=$wxUSE_ALL_FEATURES
14301 if test -z "$defaultval"; then
14302 if test x"$enablestring" = xdisable; then
14303 defaultval=yes
14304 else
14305 defaultval=no
14306 fi
14307 fi
14308
14309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14310 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14311 # Check whether --enable-finddlg was given.
14312 if test "${enable_finddlg+set}" = set; then
14313 enableval=$enable_finddlg;
14314 if test "$enableval" = yes; then
14315 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14316 else
14317 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14318 fi
14319 cache=yes
14320
14321 else
14322
14323 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14324 if test "x$LINE" != x ; then
14325 eval "DEFAULT_$LINE"
14326 cache=yes
14327 else
14328 cache=no
14329 fi
14330
14331 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14332
14333 fi
14334
14335
14336 eval "$wx_cv_use_finddlg"
14337 if test "x$cache" = xyes; then
14338 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14339 fi
14340
14341 if test x"$enablestring" = xdisable; then
14342 if test $wxUSE_FINDREPLDLG = yes; then
14343 result=no
14344 else
14345 result=yes
14346 fi
14347 else
14348 result=$wxUSE_FINDREPLDLG
14349 fi
14350
14351 { echo "$as_me:$LINENO: result: $result" >&5
14352 echo "${ECHO_T}$result" >&6; }
14353
14354
14355 enablestring=
14356 defaultval=$wxUSE_ALL_FEATURES
14357 if test -z "$defaultval"; then
14358 if test x"$enablestring" = xdisable; then
14359 defaultval=yes
14360 else
14361 defaultval=no
14362 fi
14363 fi
14364
14365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14366 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14367 # Check whether --enable-fontdlg was given.
14368 if test "${enable_fontdlg+set}" = set; then
14369 enableval=$enable_fontdlg;
14370 if test "$enableval" = yes; then
14371 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14372 else
14373 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14374 fi
14375 cache=yes
14376
14377 else
14378
14379 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14380 if test "x$LINE" != x ; then
14381 eval "DEFAULT_$LINE"
14382 cache=yes
14383 else
14384 cache=no
14385 fi
14386
14387 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14388
14389 fi
14390
14391
14392 eval "$wx_cv_use_fontdlg"
14393 if test "x$cache" = xyes; then
14394 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14395 fi
14396
14397 if test x"$enablestring" = xdisable; then
14398 if test $wxUSE_FONTDLG = yes; then
14399 result=no
14400 else
14401 result=yes
14402 fi
14403 else
14404 result=$wxUSE_FONTDLG
14405 fi
14406
14407 { echo "$as_me:$LINENO: result: $result" >&5
14408 echo "${ECHO_T}$result" >&6; }
14409
14410
14411 enablestring=
14412 defaultval=$wxUSE_ALL_FEATURES
14413 if test -z "$defaultval"; then
14414 if test x"$enablestring" = xdisable; then
14415 defaultval=yes
14416 else
14417 defaultval=no
14418 fi
14419 fi
14420
14421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14422 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14423 # Check whether --enable-dirdlg was given.
14424 if test "${enable_dirdlg+set}" = set; then
14425 enableval=$enable_dirdlg;
14426 if test "$enableval" = yes; then
14427 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14428 else
14429 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14430 fi
14431 cache=yes
14432
14433 else
14434
14435 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14436 if test "x$LINE" != x ; then
14437 eval "DEFAULT_$LINE"
14438 cache=yes
14439 else
14440 cache=no
14441 fi
14442
14443 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14444
14445 fi
14446
14447
14448 eval "$wx_cv_use_dirdlg"
14449 if test "x$cache" = xyes; then
14450 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14451 fi
14452
14453 if test x"$enablestring" = xdisable; then
14454 if test $wxUSE_DIRDLG = yes; then
14455 result=no
14456 else
14457 result=yes
14458 fi
14459 else
14460 result=$wxUSE_DIRDLG
14461 fi
14462
14463 { echo "$as_me:$LINENO: result: $result" >&5
14464 echo "${ECHO_T}$result" >&6; }
14465
14466
14467 enablestring=
14468 defaultval=$wxUSE_ALL_FEATURES
14469 if test -z "$defaultval"; then
14470 if test x"$enablestring" = xdisable; then
14471 defaultval=yes
14472 else
14473 defaultval=no
14474 fi
14475 fi
14476
14477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14478 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14479 # Check whether --enable-msgdlg was given.
14480 if test "${enable_msgdlg+set}" = set; then
14481 enableval=$enable_msgdlg;
14482 if test "$enableval" = yes; then
14483 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14484 else
14485 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14486 fi
14487 cache=yes
14488
14489 else
14490
14491 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14492 if test "x$LINE" != x ; then
14493 eval "DEFAULT_$LINE"
14494 cache=yes
14495 else
14496 cache=no
14497 fi
14498
14499 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14500
14501 fi
14502
14503
14504 eval "$wx_cv_use_msgdlg"
14505 if test "x$cache" = xyes; then
14506 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14507 fi
14508
14509 if test x"$enablestring" = xdisable; then
14510 if test $wxUSE_MSGDLG = yes; then
14511 result=no
14512 else
14513 result=yes
14514 fi
14515 else
14516 result=$wxUSE_MSGDLG
14517 fi
14518
14519 { echo "$as_me:$LINENO: result: $result" >&5
14520 echo "${ECHO_T}$result" >&6; }
14521
14522
14523 enablestring=
14524 defaultval=$wxUSE_ALL_FEATURES
14525 if test -z "$defaultval"; then
14526 if test x"$enablestring" = xdisable; then
14527 defaultval=yes
14528 else
14529 defaultval=no
14530 fi
14531 fi
14532
14533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14534 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14535 # Check whether --enable-numberdlg was given.
14536 if test "${enable_numberdlg+set}" = set; then
14537 enableval=$enable_numberdlg;
14538 if test "$enableval" = yes; then
14539 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14540 else
14541 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14542 fi
14543 cache=yes
14544
14545 else
14546
14547 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14548 if test "x$LINE" != x ; then
14549 eval "DEFAULT_$LINE"
14550 cache=yes
14551 else
14552 cache=no
14553 fi
14554
14555 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14556
14557 fi
14558
14559
14560 eval "$wx_cv_use_numberdlg"
14561 if test "x$cache" = xyes; then
14562 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14563 fi
14564
14565 if test x"$enablestring" = xdisable; then
14566 if test $wxUSE_NUMBERDLG = yes; then
14567 result=no
14568 else
14569 result=yes
14570 fi
14571 else
14572 result=$wxUSE_NUMBERDLG
14573 fi
14574
14575 { echo "$as_me:$LINENO: result: $result" >&5
14576 echo "${ECHO_T}$result" >&6; }
14577
14578
14579 enablestring=
14580 defaultval=$wxUSE_ALL_FEATURES
14581 if test -z "$defaultval"; then
14582 if test x"$enablestring" = xdisable; then
14583 defaultval=yes
14584 else
14585 defaultval=no
14586 fi
14587 fi
14588
14589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14590 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14591 # Check whether --enable-splash was given.
14592 if test "${enable_splash+set}" = set; then
14593 enableval=$enable_splash;
14594 if test "$enableval" = yes; then
14595 wx_cv_use_splash='wxUSE_SPLASH=yes'
14596 else
14597 wx_cv_use_splash='wxUSE_SPLASH=no'
14598 fi
14599 cache=yes
14600
14601 else
14602
14603 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14604 if test "x$LINE" != x ; then
14605 eval "DEFAULT_$LINE"
14606 cache=yes
14607 else
14608 cache=no
14609 fi
14610
14611 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14612
14613 fi
14614
14615
14616 eval "$wx_cv_use_splash"
14617 if test "x$cache" = xyes; then
14618 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14619 fi
14620
14621 if test x"$enablestring" = xdisable; then
14622 if test $wxUSE_SPLASH = yes; then
14623 result=no
14624 else
14625 result=yes
14626 fi
14627 else
14628 result=$wxUSE_SPLASH
14629 fi
14630
14631 { echo "$as_me:$LINENO: result: $result" >&5
14632 echo "${ECHO_T}$result" >&6; }
14633
14634
14635 enablestring=
14636 defaultval=$wxUSE_ALL_FEATURES
14637 if test -z "$defaultval"; then
14638 if test x"$enablestring" = xdisable; then
14639 defaultval=yes
14640 else
14641 defaultval=no
14642 fi
14643 fi
14644
14645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14646 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14647 # Check whether --enable-textdlg was given.
14648 if test "${enable_textdlg+set}" = set; then
14649 enableval=$enable_textdlg;
14650 if test "$enableval" = yes; then
14651 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14652 else
14653 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14654 fi
14655 cache=yes
14656
14657 else
14658
14659 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14660 if test "x$LINE" != x ; then
14661 eval "DEFAULT_$LINE"
14662 cache=yes
14663 else
14664 cache=no
14665 fi
14666
14667 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14668
14669 fi
14670
14671
14672 eval "$wx_cv_use_textdlg"
14673 if test "x$cache" = xyes; then
14674 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14675 fi
14676
14677 if test x"$enablestring" = xdisable; then
14678 if test $wxUSE_TEXTDLG = yes; then
14679 result=no
14680 else
14681 result=yes
14682 fi
14683 else
14684 result=$wxUSE_TEXTDLG
14685 fi
14686
14687 { echo "$as_me:$LINENO: result: $result" >&5
14688 echo "${ECHO_T}$result" >&6; }
14689
14690
14691 enablestring=
14692 defaultval=$wxUSE_ALL_FEATURES
14693 if test -z "$defaultval"; then
14694 if test x"$enablestring" = xdisable; then
14695 defaultval=yes
14696 else
14697 defaultval=no
14698 fi
14699 fi
14700
14701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14702 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14703 # Check whether --enable-tipdlg was given.
14704 if test "${enable_tipdlg+set}" = set; then
14705 enableval=$enable_tipdlg;
14706 if test "$enableval" = yes; then
14707 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14708 else
14709 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14710 fi
14711 cache=yes
14712
14713 else
14714
14715 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14716 if test "x$LINE" != x ; then
14717 eval "DEFAULT_$LINE"
14718 cache=yes
14719 else
14720 cache=no
14721 fi
14722
14723 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14724
14725 fi
14726
14727
14728 eval "$wx_cv_use_tipdlg"
14729 if test "x$cache" = xyes; then
14730 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14731 fi
14732
14733 if test x"$enablestring" = xdisable; then
14734 if test $wxUSE_STARTUP_TIPS = yes; then
14735 result=no
14736 else
14737 result=yes
14738 fi
14739 else
14740 result=$wxUSE_STARTUP_TIPS
14741 fi
14742
14743 { echo "$as_me:$LINENO: result: $result" >&5
14744 echo "${ECHO_T}$result" >&6; }
14745
14746
14747 enablestring=
14748 defaultval=$wxUSE_ALL_FEATURES
14749 if test -z "$defaultval"; then
14750 if test x"$enablestring" = xdisable; then
14751 defaultval=yes
14752 else
14753 defaultval=no
14754 fi
14755 fi
14756
14757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14758 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14759 # Check whether --enable-progressdlg was given.
14760 if test "${enable_progressdlg+set}" = set; then
14761 enableval=$enable_progressdlg;
14762 if test "$enableval" = yes; then
14763 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14764 else
14765 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14766 fi
14767 cache=yes
14768
14769 else
14770
14771 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14772 if test "x$LINE" != x ; then
14773 eval "DEFAULT_$LINE"
14774 cache=yes
14775 else
14776 cache=no
14777 fi
14778
14779 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14780
14781 fi
14782
14783
14784 eval "$wx_cv_use_progressdlg"
14785 if test "x$cache" = xyes; then
14786 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14787 fi
14788
14789 if test x"$enablestring" = xdisable; then
14790 if test $wxUSE_PROGRESSDLG = yes; then
14791 result=no
14792 else
14793 result=yes
14794 fi
14795 else
14796 result=$wxUSE_PROGRESSDLG
14797 fi
14798
14799 { echo "$as_me:$LINENO: result: $result" >&5
14800 echo "${ECHO_T}$result" >&6; }
14801
14802
14803 enablestring=
14804 defaultval=$wxUSE_ALL_FEATURES
14805 if test -z "$defaultval"; then
14806 if test x"$enablestring" = xdisable; then
14807 defaultval=yes
14808 else
14809 defaultval=no
14810 fi
14811 fi
14812
14813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14814 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14815 # Check whether --enable-wizarddlg was given.
14816 if test "${enable_wizarddlg+set}" = set; then
14817 enableval=$enable_wizarddlg;
14818 if test "$enableval" = yes; then
14819 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14820 else
14821 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14822 fi
14823 cache=yes
14824
14825 else
14826
14827 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14828 if test "x$LINE" != x ; then
14829 eval "DEFAULT_$LINE"
14830 cache=yes
14831 else
14832 cache=no
14833 fi
14834
14835 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14836
14837 fi
14838
14839
14840 eval "$wx_cv_use_wizarddlg"
14841 if test "x$cache" = xyes; then
14842 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14843 fi
14844
14845 if test x"$enablestring" = xdisable; then
14846 if test $wxUSE_WIZARDDLG = yes; then
14847 result=no
14848 else
14849 result=yes
14850 fi
14851 else
14852 result=$wxUSE_WIZARDDLG
14853 fi
14854
14855 { echo "$as_me:$LINENO: result: $result" >&5
14856 echo "${ECHO_T}$result" >&6; }
14857
14858
14859
14860
14861 enablestring=
14862 defaultval=$wxUSE_ALL_FEATURES
14863 if test -z "$defaultval"; then
14864 if test x"$enablestring" = xdisable; then
14865 defaultval=yes
14866 else
14867 defaultval=no
14868 fi
14869 fi
14870
14871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14872 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14873 # Check whether --enable-menus was given.
14874 if test "${enable_menus+set}" = set; then
14875 enableval=$enable_menus;
14876 if test "$enableval" = yes; then
14877 wx_cv_use_menus='wxUSE_MENUS=yes'
14878 else
14879 wx_cv_use_menus='wxUSE_MENUS=no'
14880 fi
14881 cache=yes
14882
14883 else
14884
14885 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14886 if test "x$LINE" != x ; then
14887 eval "DEFAULT_$LINE"
14888 cache=yes
14889 else
14890 cache=no
14891 fi
14892
14893 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14894
14895 fi
14896
14897
14898 eval "$wx_cv_use_menus"
14899 if test "x$cache" = xyes; then
14900 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14901 fi
14902
14903 if test x"$enablestring" = xdisable; then
14904 if test $wxUSE_MENUS = yes; then
14905 result=no
14906 else
14907 result=yes
14908 fi
14909 else
14910 result=$wxUSE_MENUS
14911 fi
14912
14913 { echo "$as_me:$LINENO: result: $result" >&5
14914 echo "${ECHO_T}$result" >&6; }
14915
14916
14917 enablestring=
14918 defaultval=$wxUSE_ALL_FEATURES
14919 if test -z "$defaultval"; then
14920 if test x"$enablestring" = xdisable; then
14921 defaultval=yes
14922 else
14923 defaultval=no
14924 fi
14925 fi
14926
14927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14928 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14929 # Check whether --enable-miniframe was given.
14930 if test "${enable_miniframe+set}" = set; then
14931 enableval=$enable_miniframe;
14932 if test "$enableval" = yes; then
14933 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14934 else
14935 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14936 fi
14937 cache=yes
14938
14939 else
14940
14941 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14942 if test "x$LINE" != x ; then
14943 eval "DEFAULT_$LINE"
14944 cache=yes
14945 else
14946 cache=no
14947 fi
14948
14949 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14950
14951 fi
14952
14953
14954 eval "$wx_cv_use_miniframe"
14955 if test "x$cache" = xyes; then
14956 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14957 fi
14958
14959 if test x"$enablestring" = xdisable; then
14960 if test $wxUSE_MINIFRAME = yes; then
14961 result=no
14962 else
14963 result=yes
14964 fi
14965 else
14966 result=$wxUSE_MINIFRAME
14967 fi
14968
14969 { echo "$as_me:$LINENO: result: $result" >&5
14970 echo "${ECHO_T}$result" >&6; }
14971
14972
14973 enablestring=
14974 defaultval=$wxUSE_ALL_FEATURES
14975 if test -z "$defaultval"; then
14976 if test x"$enablestring" = xdisable; then
14977 defaultval=yes
14978 else
14979 defaultval=no
14980 fi
14981 fi
14982
14983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14984 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14985 # Check whether --enable-tooltips was given.
14986 if test "${enable_tooltips+set}" = set; then
14987 enableval=$enable_tooltips;
14988 if test "$enableval" = yes; then
14989 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14990 else
14991 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14992 fi
14993 cache=yes
14994
14995 else
14996
14997 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14998 if test "x$LINE" != x ; then
14999 eval "DEFAULT_$LINE"
15000 cache=yes
15001 else
15002 cache=no
15003 fi
15004
15005 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15006
15007 fi
15008
15009
15010 eval "$wx_cv_use_tooltips"
15011 if test "x$cache" = xyes; then
15012 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15013 fi
15014
15015 if test x"$enablestring" = xdisable; then
15016 if test $wxUSE_TOOLTIPS = yes; then
15017 result=no
15018 else
15019 result=yes
15020 fi
15021 else
15022 result=$wxUSE_TOOLTIPS
15023 fi
15024
15025 { echo "$as_me:$LINENO: result: $result" >&5
15026 echo "${ECHO_T}$result" >&6; }
15027
15028
15029 enablestring=
15030 defaultval=$wxUSE_ALL_FEATURES
15031 if test -z "$defaultval"; then
15032 if test x"$enablestring" = xdisable; then
15033 defaultval=yes
15034 else
15035 defaultval=no
15036 fi
15037 fi
15038
15039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15040 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15041 # Check whether --enable-splines was given.
15042 if test "${enable_splines+set}" = set; then
15043 enableval=$enable_splines;
15044 if test "$enableval" = yes; then
15045 wx_cv_use_splines='wxUSE_SPLINES=yes'
15046 else
15047 wx_cv_use_splines='wxUSE_SPLINES=no'
15048 fi
15049 cache=yes
15050
15051 else
15052
15053 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15054 if test "x$LINE" != x ; then
15055 eval "DEFAULT_$LINE"
15056 cache=yes
15057 else
15058 cache=no
15059 fi
15060
15061 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15062
15063 fi
15064
15065
15066 eval "$wx_cv_use_splines"
15067 if test "x$cache" = xyes; then
15068 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15069 fi
15070
15071 if test x"$enablestring" = xdisable; then
15072 if test $wxUSE_SPLINES = yes; then
15073 result=no
15074 else
15075 result=yes
15076 fi
15077 else
15078 result=$wxUSE_SPLINES
15079 fi
15080
15081 { echo "$as_me:$LINENO: result: $result" >&5
15082 echo "${ECHO_T}$result" >&6; }
15083
15084
15085 enablestring=
15086 defaultval=$wxUSE_ALL_FEATURES
15087 if test -z "$defaultval"; then
15088 if test x"$enablestring" = xdisable; then
15089 defaultval=yes
15090 else
15091 defaultval=no
15092 fi
15093 fi
15094
15095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15096 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15097 # Check whether --enable-mousewheel was given.
15098 if test "${enable_mousewheel+set}" = set; then
15099 enableval=$enable_mousewheel;
15100 if test "$enableval" = yes; then
15101 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15102 else
15103 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15104 fi
15105 cache=yes
15106
15107 else
15108
15109 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15110 if test "x$LINE" != x ; then
15111 eval "DEFAULT_$LINE"
15112 cache=yes
15113 else
15114 cache=no
15115 fi
15116
15117 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15118
15119 fi
15120
15121
15122 eval "$wx_cv_use_mousewheel"
15123 if test "x$cache" = xyes; then
15124 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15125 fi
15126
15127 if test x"$enablestring" = xdisable; then
15128 if test $wxUSE_MOUSEWHEEL = yes; then
15129 result=no
15130 else
15131 result=yes
15132 fi
15133 else
15134 result=$wxUSE_MOUSEWHEEL
15135 fi
15136
15137 { echo "$as_me:$LINENO: result: $result" >&5
15138 echo "${ECHO_T}$result" >&6; }
15139
15140
15141 enablestring=
15142 defaultval=$wxUSE_ALL_FEATURES
15143 if test -z "$defaultval"; then
15144 if test x"$enablestring" = xdisable; then
15145 defaultval=yes
15146 else
15147 defaultval=no
15148 fi
15149 fi
15150
15151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15152 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15153 # Check whether --enable-validators was given.
15154 if test "${enable_validators+set}" = set; then
15155 enableval=$enable_validators;
15156 if test "$enableval" = yes; then
15157 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15158 else
15159 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15160 fi
15161 cache=yes
15162
15163 else
15164
15165 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15166 if test "x$LINE" != x ; then
15167 eval "DEFAULT_$LINE"
15168 cache=yes
15169 else
15170 cache=no
15171 fi
15172
15173 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15174
15175 fi
15176
15177
15178 eval "$wx_cv_use_validators"
15179 if test "x$cache" = xyes; then
15180 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15181 fi
15182
15183 if test x"$enablestring" = xdisable; then
15184 if test $wxUSE_VALIDATORS = yes; then
15185 result=no
15186 else
15187 result=yes
15188 fi
15189 else
15190 result=$wxUSE_VALIDATORS
15191 fi
15192
15193 { echo "$as_me:$LINENO: result: $result" >&5
15194 echo "${ECHO_T}$result" >&6; }
15195
15196
15197 enablestring=
15198 defaultval=$wxUSE_ALL_FEATURES
15199 if test -z "$defaultval"; then
15200 if test x"$enablestring" = xdisable; then
15201 defaultval=yes
15202 else
15203 defaultval=no
15204 fi
15205 fi
15206
15207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15208 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15209 # Check whether --enable-busyinfo was given.
15210 if test "${enable_busyinfo+set}" = set; then
15211 enableval=$enable_busyinfo;
15212 if test "$enableval" = yes; then
15213 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15214 else
15215 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15216 fi
15217 cache=yes
15218
15219 else
15220
15221 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15222 if test "x$LINE" != x ; then
15223 eval "DEFAULT_$LINE"
15224 cache=yes
15225 else
15226 cache=no
15227 fi
15228
15229 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15230
15231 fi
15232
15233
15234 eval "$wx_cv_use_busyinfo"
15235 if test "x$cache" = xyes; then
15236 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15237 fi
15238
15239 if test x"$enablestring" = xdisable; then
15240 if test $wxUSE_BUSYINFO = yes; then
15241 result=no
15242 else
15243 result=yes
15244 fi
15245 else
15246 result=$wxUSE_BUSYINFO
15247 fi
15248
15249 { echo "$as_me:$LINENO: result: $result" >&5
15250 echo "${ECHO_T}$result" >&6; }
15251
15252
15253 enablestring=
15254 defaultval=$wxUSE_ALL_FEATURES
15255 if test -z "$defaultval"; then
15256 if test x"$enablestring" = xdisable; then
15257 defaultval=yes
15258 else
15259 defaultval=no
15260 fi
15261 fi
15262
15263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15264 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15265 # Check whether --enable-joystick was given.
15266 if test "${enable_joystick+set}" = set; then
15267 enableval=$enable_joystick;
15268 if test "$enableval" = yes; then
15269 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15270 else
15271 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15272 fi
15273 cache=yes
15274
15275 else
15276
15277 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15278 if test "x$LINE" != x ; then
15279 eval "DEFAULT_$LINE"
15280 cache=yes
15281 else
15282 cache=no
15283 fi
15284
15285 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15286
15287 fi
15288
15289
15290 eval "$wx_cv_use_joystick"
15291 if test "x$cache" = xyes; then
15292 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15293 fi
15294
15295 if test x"$enablestring" = xdisable; then
15296 if test $wxUSE_JOYSTICK = yes; then
15297 result=no
15298 else
15299 result=yes
15300 fi
15301 else
15302 result=$wxUSE_JOYSTICK
15303 fi
15304
15305 { echo "$as_me:$LINENO: result: $result" >&5
15306 echo "${ECHO_T}$result" >&6; }
15307
15308
15309 enablestring=
15310 defaultval=$wxUSE_ALL_FEATURES
15311 if test -z "$defaultval"; then
15312 if test x"$enablestring" = xdisable; then
15313 defaultval=yes
15314 else
15315 defaultval=no
15316 fi
15317 fi
15318
15319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15320 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15321 # Check whether --enable-metafile was given.
15322 if test "${enable_metafile+set}" = set; then
15323 enableval=$enable_metafile;
15324 if test "$enableval" = yes; then
15325 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15326 else
15327 wx_cv_use_metafile='wxUSE_METAFILE=no'
15328 fi
15329 cache=yes
15330
15331 else
15332
15333 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15334 if test "x$LINE" != x ; then
15335 eval "DEFAULT_$LINE"
15336 cache=yes
15337 else
15338 cache=no
15339 fi
15340
15341 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15342
15343 fi
15344
15345
15346 eval "$wx_cv_use_metafile"
15347 if test "x$cache" = xyes; then
15348 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15349 fi
15350
15351 if test x"$enablestring" = xdisable; then
15352 if test $wxUSE_METAFILE = yes; then
15353 result=no
15354 else
15355 result=yes
15356 fi
15357 else
15358 result=$wxUSE_METAFILE
15359 fi
15360
15361 { echo "$as_me:$LINENO: result: $result" >&5
15362 echo "${ECHO_T}$result" >&6; }
15363
15364
15365 enablestring=
15366 defaultval=$wxUSE_ALL_FEATURES
15367 if test -z "$defaultval"; then
15368 if test x"$enablestring" = xdisable; then
15369 defaultval=yes
15370 else
15371 defaultval=no
15372 fi
15373 fi
15374
15375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15376 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15377 # Check whether --enable-dragimage was given.
15378 if test "${enable_dragimage+set}" = set; then
15379 enableval=$enable_dragimage;
15380 if test "$enableval" = yes; then
15381 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15382 else
15383 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15384 fi
15385 cache=yes
15386
15387 else
15388
15389 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15390 if test "x$LINE" != x ; then
15391 eval "DEFAULT_$LINE"
15392 cache=yes
15393 else
15394 cache=no
15395 fi
15396
15397 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15398
15399 fi
15400
15401
15402 eval "$wx_cv_use_dragimage"
15403 if test "x$cache" = xyes; then
15404 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15405 fi
15406
15407 if test x"$enablestring" = xdisable; then
15408 if test $wxUSE_DRAGIMAGE = yes; then
15409 result=no
15410 else
15411 result=yes
15412 fi
15413 else
15414 result=$wxUSE_DRAGIMAGE
15415 fi
15416
15417 { echo "$as_me:$LINENO: result: $result" >&5
15418 echo "${ECHO_T}$result" >&6; }
15419
15420
15421 enablestring=
15422 defaultval=$wxUSE_ALL_FEATURES
15423 if test -z "$defaultval"; then
15424 if test x"$enablestring" = xdisable; then
15425 defaultval=yes
15426 else
15427 defaultval=no
15428 fi
15429 fi
15430
15431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15432 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15433 # Check whether --enable-accessibility was given.
15434 if test "${enable_accessibility+set}" = set; then
15435 enableval=$enable_accessibility;
15436 if test "$enableval" = yes; then
15437 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15438 else
15439 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15440 fi
15441 cache=yes
15442
15443 else
15444
15445 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15446 if test "x$LINE" != x ; then
15447 eval "DEFAULT_$LINE"
15448 cache=yes
15449 else
15450 cache=no
15451 fi
15452
15453 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15454
15455 fi
15456
15457
15458 eval "$wx_cv_use_accessibility"
15459 if test "x$cache" = xyes; then
15460 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15461 fi
15462
15463 if test x"$enablestring" = xdisable; then
15464 if test $wxUSE_ACCESSIBILITY = yes; then
15465 result=no
15466 else
15467 result=yes
15468 fi
15469 else
15470 result=$wxUSE_ACCESSIBILITY
15471 fi
15472
15473 { echo "$as_me:$LINENO: result: $result" >&5
15474 echo "${ECHO_T}$result" >&6; }
15475
15476
15477
15478
15479 enablestring=
15480 defaultval=$wxUSE_ALL_FEATURES
15481 if test -z "$defaultval"; then
15482 if test x"$enablestring" = xdisable; then
15483 defaultval=yes
15484 else
15485 defaultval=no
15486 fi
15487 fi
15488
15489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15490 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15491 # Check whether --enable-palette was given.
15492 if test "${enable_palette+set}" = set; then
15493 enableval=$enable_palette;
15494 if test "$enableval" = yes; then
15495 wx_cv_use_palette='wxUSE_PALETTE=yes'
15496 else
15497 wx_cv_use_palette='wxUSE_PALETTE=no'
15498 fi
15499 cache=yes
15500
15501 else
15502
15503 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15504 if test "x$LINE" != x ; then
15505 eval "DEFAULT_$LINE"
15506 cache=yes
15507 else
15508 cache=no
15509 fi
15510
15511 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15512
15513 fi
15514
15515
15516 eval "$wx_cv_use_palette"
15517 if test "x$cache" = xyes; then
15518 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15519 fi
15520
15521 if test x"$enablestring" = xdisable; then
15522 if test $wxUSE_PALETTE = yes; then
15523 result=no
15524 else
15525 result=yes
15526 fi
15527 else
15528 result=$wxUSE_PALETTE
15529 fi
15530
15531 { echo "$as_me:$LINENO: result: $result" >&5
15532 echo "${ECHO_T}$result" >&6; }
15533
15534
15535 enablestring=
15536 defaultval=$wxUSE_ALL_FEATURES
15537 if test -z "$defaultval"; then
15538 if test x"$enablestring" = xdisable; then
15539 defaultval=yes
15540 else
15541 defaultval=no
15542 fi
15543 fi
15544
15545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15546 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15547 # Check whether --enable-image was given.
15548 if test "${enable_image+set}" = set; then
15549 enableval=$enable_image;
15550 if test "$enableval" = yes; then
15551 wx_cv_use_image='wxUSE_IMAGE=yes'
15552 else
15553 wx_cv_use_image='wxUSE_IMAGE=no'
15554 fi
15555 cache=yes
15556
15557 else
15558
15559 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15560 if test "x$LINE" != x ; then
15561 eval "DEFAULT_$LINE"
15562 cache=yes
15563 else
15564 cache=no
15565 fi
15566
15567 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15568
15569 fi
15570
15571
15572 eval "$wx_cv_use_image"
15573 if test "x$cache" = xyes; then
15574 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15575 fi
15576
15577 if test x"$enablestring" = xdisable; then
15578 if test $wxUSE_IMAGE = yes; then
15579 result=no
15580 else
15581 result=yes
15582 fi
15583 else
15584 result=$wxUSE_IMAGE
15585 fi
15586
15587 { echo "$as_me:$LINENO: result: $result" >&5
15588 echo "${ECHO_T}$result" >&6; }
15589
15590
15591 enablestring=
15592 defaultval=$wxUSE_ALL_FEATURES
15593 if test -z "$defaultval"; then
15594 if test x"$enablestring" = xdisable; then
15595 defaultval=yes
15596 else
15597 defaultval=no
15598 fi
15599 fi
15600
15601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15602 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15603 # Check whether --enable-gif was given.
15604 if test "${enable_gif+set}" = set; then
15605 enableval=$enable_gif;
15606 if test "$enableval" = yes; then
15607 wx_cv_use_gif='wxUSE_GIF=yes'
15608 else
15609 wx_cv_use_gif='wxUSE_GIF=no'
15610 fi
15611 cache=yes
15612
15613 else
15614
15615 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15616 if test "x$LINE" != x ; then
15617 eval "DEFAULT_$LINE"
15618 cache=yes
15619 else
15620 cache=no
15621 fi
15622
15623 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15624
15625 fi
15626
15627
15628 eval "$wx_cv_use_gif"
15629 if test "x$cache" = xyes; then
15630 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15631 fi
15632
15633 if test x"$enablestring" = xdisable; then
15634 if test $wxUSE_GIF = yes; then
15635 result=no
15636 else
15637 result=yes
15638 fi
15639 else
15640 result=$wxUSE_GIF
15641 fi
15642
15643 { echo "$as_me:$LINENO: result: $result" >&5
15644 echo "${ECHO_T}$result" >&6; }
15645
15646
15647 enablestring=
15648 defaultval=$wxUSE_ALL_FEATURES
15649 if test -z "$defaultval"; then
15650 if test x"$enablestring" = xdisable; then
15651 defaultval=yes
15652 else
15653 defaultval=no
15654 fi
15655 fi
15656
15657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15658 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15659 # Check whether --enable-pcx was given.
15660 if test "${enable_pcx+set}" = set; then
15661 enableval=$enable_pcx;
15662 if test "$enableval" = yes; then
15663 wx_cv_use_pcx='wxUSE_PCX=yes'
15664 else
15665 wx_cv_use_pcx='wxUSE_PCX=no'
15666 fi
15667 cache=yes
15668
15669 else
15670
15671 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15672 if test "x$LINE" != x ; then
15673 eval "DEFAULT_$LINE"
15674 cache=yes
15675 else
15676 cache=no
15677 fi
15678
15679 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15680
15681 fi
15682
15683
15684 eval "$wx_cv_use_pcx"
15685 if test "x$cache" = xyes; then
15686 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15687 fi
15688
15689 if test x"$enablestring" = xdisable; then
15690 if test $wxUSE_PCX = yes; then
15691 result=no
15692 else
15693 result=yes
15694 fi
15695 else
15696 result=$wxUSE_PCX
15697 fi
15698
15699 { echo "$as_me:$LINENO: result: $result" >&5
15700 echo "${ECHO_T}$result" >&6; }
15701
15702
15703 enablestring=
15704 defaultval=$wxUSE_ALL_FEATURES
15705 if test -z "$defaultval"; then
15706 if test x"$enablestring" = xdisable; then
15707 defaultval=yes
15708 else
15709 defaultval=no
15710 fi
15711 fi
15712
15713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15714 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15715 # Check whether --enable-tga was given.
15716 if test "${enable_tga+set}" = set; then
15717 enableval=$enable_tga;
15718 if test "$enableval" = yes; then
15719 wx_cv_use_tga='wxUSE_TGA=yes'
15720 else
15721 wx_cv_use_tga='wxUSE_TGA=no'
15722 fi
15723 cache=yes
15724
15725 else
15726
15727 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15728 if test "x$LINE" != x ; then
15729 eval "DEFAULT_$LINE"
15730 cache=yes
15731 else
15732 cache=no
15733 fi
15734
15735 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15736
15737 fi
15738
15739
15740 eval "$wx_cv_use_tga"
15741 if test "x$cache" = xyes; then
15742 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15743 fi
15744
15745 if test x"$enablestring" = xdisable; then
15746 if test $wxUSE_TGA = yes; then
15747 result=no
15748 else
15749 result=yes
15750 fi
15751 else
15752 result=$wxUSE_TGA
15753 fi
15754
15755 { echo "$as_me:$LINENO: result: $result" >&5
15756 echo "${ECHO_T}$result" >&6; }
15757
15758
15759 enablestring=
15760 defaultval=$wxUSE_ALL_FEATURES
15761 if test -z "$defaultval"; then
15762 if test x"$enablestring" = xdisable; then
15763 defaultval=yes
15764 else
15765 defaultval=no
15766 fi
15767 fi
15768
15769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15770 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15771 # Check whether --enable-iff was given.
15772 if test "${enable_iff+set}" = set; then
15773 enableval=$enable_iff;
15774 if test "$enableval" = yes; then
15775 wx_cv_use_iff='wxUSE_IFF=yes'
15776 else
15777 wx_cv_use_iff='wxUSE_IFF=no'
15778 fi
15779 cache=yes
15780
15781 else
15782
15783 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15784 if test "x$LINE" != x ; then
15785 eval "DEFAULT_$LINE"
15786 cache=yes
15787 else
15788 cache=no
15789 fi
15790
15791 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15792
15793 fi
15794
15795
15796 eval "$wx_cv_use_iff"
15797 if test "x$cache" = xyes; then
15798 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15799 fi
15800
15801 if test x"$enablestring" = xdisable; then
15802 if test $wxUSE_IFF = yes; then
15803 result=no
15804 else
15805 result=yes
15806 fi
15807 else
15808 result=$wxUSE_IFF
15809 fi
15810
15811 { echo "$as_me:$LINENO: result: $result" >&5
15812 echo "${ECHO_T}$result" >&6; }
15813
15814
15815 enablestring=
15816 defaultval=$wxUSE_ALL_FEATURES
15817 if test -z "$defaultval"; then
15818 if test x"$enablestring" = xdisable; then
15819 defaultval=yes
15820 else
15821 defaultval=no
15822 fi
15823 fi
15824
15825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15826 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15827 # Check whether --enable-pnm was given.
15828 if test "${enable_pnm+set}" = set; then
15829 enableval=$enable_pnm;
15830 if test "$enableval" = yes; then
15831 wx_cv_use_pnm='wxUSE_PNM=yes'
15832 else
15833 wx_cv_use_pnm='wxUSE_PNM=no'
15834 fi
15835 cache=yes
15836
15837 else
15838
15839 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15840 if test "x$LINE" != x ; then
15841 eval "DEFAULT_$LINE"
15842 cache=yes
15843 else
15844 cache=no
15845 fi
15846
15847 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15848
15849 fi
15850
15851
15852 eval "$wx_cv_use_pnm"
15853 if test "x$cache" = xyes; then
15854 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15855 fi
15856
15857 if test x"$enablestring" = xdisable; then
15858 if test $wxUSE_PNM = yes; then
15859 result=no
15860 else
15861 result=yes
15862 fi
15863 else
15864 result=$wxUSE_PNM
15865 fi
15866
15867 { echo "$as_me:$LINENO: result: $result" >&5
15868 echo "${ECHO_T}$result" >&6; }
15869
15870
15871 enablestring=
15872 defaultval=$wxUSE_ALL_FEATURES
15873 if test -z "$defaultval"; then
15874 if test x"$enablestring" = xdisable; then
15875 defaultval=yes
15876 else
15877 defaultval=no
15878 fi
15879 fi
15880
15881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15882 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15883 # Check whether --enable-xpm was given.
15884 if test "${enable_xpm+set}" = set; then
15885 enableval=$enable_xpm;
15886 if test "$enableval" = yes; then
15887 wx_cv_use_xpm='wxUSE_XPM=yes'
15888 else
15889 wx_cv_use_xpm='wxUSE_XPM=no'
15890 fi
15891 cache=yes
15892
15893 else
15894
15895 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15896 if test "x$LINE" != x ; then
15897 eval "DEFAULT_$LINE"
15898 cache=yes
15899 else
15900 cache=no
15901 fi
15902
15903 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15904
15905 fi
15906
15907
15908 eval "$wx_cv_use_xpm"
15909 if test "x$cache" = xyes; then
15910 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15911 fi
15912
15913 if test x"$enablestring" = xdisable; then
15914 if test $wxUSE_XPM = yes; then
15915 result=no
15916 else
15917 result=yes
15918 fi
15919 else
15920 result=$wxUSE_XPM
15921 fi
15922
15923 { echo "$as_me:$LINENO: result: $result" >&5
15924 echo "${ECHO_T}$result" >&6; }
15925
15926
15927 enablestring=
15928 defaultval=$wxUSE_ALL_FEATURES
15929 if test -z "$defaultval"; then
15930 if test x"$enablestring" = xdisable; then
15931 defaultval=yes
15932 else
15933 defaultval=no
15934 fi
15935 fi
15936
15937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15938 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15939 # Check whether --enable-ico_cur was given.
15940 if test "${enable_ico_cur+set}" = set; then
15941 enableval=$enable_ico_cur;
15942 if test "$enableval" = yes; then
15943 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15944 else
15945 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15946 fi
15947 cache=yes
15948
15949 else
15950
15951 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15952 if test "x$LINE" != x ; then
15953 eval "DEFAULT_$LINE"
15954 cache=yes
15955 else
15956 cache=no
15957 fi
15958
15959 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15960
15961 fi
15962
15963
15964 eval "$wx_cv_use_ico_cur"
15965 if test "x$cache" = xyes; then
15966 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15967 fi
15968
15969 if test x"$enablestring" = xdisable; then
15970 if test $wxUSE_ICO_CUR = yes; then
15971 result=no
15972 else
15973 result=yes
15974 fi
15975 else
15976 result=$wxUSE_ICO_CUR
15977 fi
15978
15979 { echo "$as_me:$LINENO: result: $result" >&5
15980 echo "${ECHO_T}$result" >&6; }
15981
15982
15983
15984
15985 enablestring=
15986 defaultval=$wxUSE_ALL_FEATURES
15987 if test -z "$defaultval"; then
15988 if test x"$enablestring" = xdisable; then
15989 defaultval=yes
15990 else
15991 defaultval=no
15992 fi
15993 fi
15994
15995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15996 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15997 # Check whether --enable-dccache was given.
15998 if test "${enable_dccache+set}" = set; then
15999 enableval=$enable_dccache;
16000 if test "$enableval" = yes; then
16001 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16002 else
16003 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16004 fi
16005 cache=yes
16006
16007 else
16008
16009 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16010 if test "x$LINE" != x ; then
16011 eval "DEFAULT_$LINE"
16012 cache=yes
16013 else
16014 cache=no
16015 fi
16016
16017 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16018
16019 fi
16020
16021
16022 eval "$wx_cv_use_dccache"
16023 if test "x$cache" = xyes; then
16024 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16025 fi
16026
16027 if test x"$enablestring" = xdisable; then
16028 if test $wxUSE_DC_CACHEING = yes; then
16029 result=no
16030 else
16031 result=yes
16032 fi
16033 else
16034 result=$wxUSE_DC_CACHEING
16035 fi
16036
16037 { echo "$as_me:$LINENO: result: $result" >&5
16038 echo "${ECHO_T}$result" >&6; }
16039
16040
16041 enablestring=
16042 defaultval=
16043 if test -z "$defaultval"; then
16044 if test x"$enablestring" = xdisable; then
16045 defaultval=yes
16046 else
16047 defaultval=no
16048 fi
16049 fi
16050
16051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
16052 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
16053 # Check whether --enable-iniconf was given.
16054 if test "${enable_iniconf+set}" = set; then
16055 enableval=$enable_iniconf;
16056 if test "$enableval" = yes; then
16057 wx_cv_use_iniconf='wxUSE_INICONF=yes'
16058 else
16059 wx_cv_use_iniconf='wxUSE_INICONF=no'
16060 fi
16061 cache=yes
16062
16063 else
16064
16065 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
16066 if test "x$LINE" != x ; then
16067 eval "DEFAULT_$LINE"
16068 cache=yes
16069 else
16070 cache=no
16071 fi
16072
16073 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
16074
16075 fi
16076
16077
16078 eval "$wx_cv_use_iniconf"
16079 if test "x$cache" = xyes; then
16080 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
16081 fi
16082
16083 if test x"$enablestring" = xdisable; then
16084 if test $wxUSE_INICONF = yes; then
16085 result=no
16086 else
16087 result=yes
16088 fi
16089 else
16090 result=$wxUSE_INICONF
16091 fi
16092
16093 { echo "$as_me:$LINENO: result: $result" >&5
16094 echo "${ECHO_T}$result" >&6; }
16095
16096
16097 enablestring=
16098 defaultval=$wxUSE_ALL_FEATURES
16099 if test -z "$defaultval"; then
16100 if test x"$enablestring" = xdisable; then
16101 defaultval=yes
16102 else
16103 defaultval=no
16104 fi
16105 fi
16106
16107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16108 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16109 # Check whether --enable-ps-in-msw was given.
16110 if test "${enable_ps_in_msw+set}" = set; then
16111 enableval=$enable_ps_in_msw;
16112 if test "$enableval" = yes; then
16113 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16114 else
16115 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16116 fi
16117 cache=yes
16118
16119 else
16120
16121 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16122 if test "x$LINE" != x ; then
16123 eval "DEFAULT_$LINE"
16124 cache=yes
16125 else
16126 cache=no
16127 fi
16128
16129 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16130
16131 fi
16132
16133
16134 eval "$wx_cv_use_ps_in_msw"
16135 if test "x$cache" = xyes; then
16136 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16137 fi
16138
16139 if test x"$enablestring" = xdisable; then
16140 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16141 result=no
16142 else
16143 result=yes
16144 fi
16145 else
16146 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16147 fi
16148
16149 { echo "$as_me:$LINENO: result: $result" >&5
16150 echo "${ECHO_T}$result" >&6; }
16151
16152
16153 enablestring=
16154 defaultval=$wxUSE_ALL_FEATURES
16155 if test -z "$defaultval"; then
16156 if test x"$enablestring" = xdisable; then
16157 defaultval=yes
16158 else
16159 defaultval=no
16160 fi
16161 fi
16162
16163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16164 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16165 # Check whether --enable-ownerdrawn was given.
16166 if test "${enable_ownerdrawn+set}" = set; then
16167 enableval=$enable_ownerdrawn;
16168 if test "$enableval" = yes; then
16169 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16170 else
16171 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16172 fi
16173 cache=yes
16174
16175 else
16176
16177 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16178 if test "x$LINE" != x ; then
16179 eval "DEFAULT_$LINE"
16180 cache=yes
16181 else
16182 cache=no
16183 fi
16184
16185 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16186
16187 fi
16188
16189
16190 eval "$wx_cv_use_ownerdrawn"
16191 if test "x$cache" = xyes; then
16192 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16193 fi
16194
16195 if test x"$enablestring" = xdisable; then
16196 if test $wxUSE_OWNER_DRAWN = yes; then
16197 result=no
16198 else
16199 result=yes
16200 fi
16201 else
16202 result=$wxUSE_OWNER_DRAWN
16203 fi
16204
16205 { echo "$as_me:$LINENO: result: $result" >&5
16206 echo "${ECHO_T}$result" >&6; }
16207
16208
16209 enablestring=
16210 defaultval=$wxUSE_ALL_FEATURES
16211 if test -z "$defaultval"; then
16212 if test x"$enablestring" = xdisable; then
16213 defaultval=yes
16214 else
16215 defaultval=no
16216 fi
16217 fi
16218
16219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
16220 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
16221 # Check whether --enable-regkey was given.
16222 if test "${enable_regkey+set}" = set; then
16223 enableval=$enable_regkey;
16224 if test "$enableval" = yes; then
16225 wx_cv_use_regkey='wxUSE_REGKEY=yes'
16226 else
16227 wx_cv_use_regkey='wxUSE_REGKEY=no'
16228 fi
16229 cache=yes
16230
16231 else
16232
16233 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
16234 if test "x$LINE" != x ; then
16235 eval "DEFAULT_$LINE"
16236 cache=yes
16237 else
16238 cache=no
16239 fi
16240
16241 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
16242
16243 fi
16244
16245
16246 eval "$wx_cv_use_regkey"
16247 if test "x$cache" = xyes; then
16248 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
16249 fi
16250
16251 if test x"$enablestring" = xdisable; then
16252 if test $wxUSE_REGKEY = yes; then
16253 result=no
16254 else
16255 result=yes
16256 fi
16257 else
16258 result=$wxUSE_REGKEY
16259 fi
16260
16261 { echo "$as_me:$LINENO: result: $result" >&5
16262 echo "${ECHO_T}$result" >&6; }
16263
16264
16265 enablestring=
16266 defaultval=$wxUSE_ALL_FEATURES
16267 if test -z "$defaultval"; then
16268 if test x"$enablestring" = xdisable; then
16269 defaultval=yes
16270 else
16271 defaultval=no
16272 fi
16273 fi
16274
16275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16276 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16277 # Check whether --enable-uxtheme was given.
16278 if test "${enable_uxtheme+set}" = set; then
16279 enableval=$enable_uxtheme;
16280 if test "$enableval" = yes; then
16281 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16282 else
16283 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16284 fi
16285 cache=yes
16286
16287 else
16288
16289 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16290 if test "x$LINE" != x ; then
16291 eval "DEFAULT_$LINE"
16292 cache=yes
16293 else
16294 cache=no
16295 fi
16296
16297 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16298
16299 fi
16300
16301
16302 eval "$wx_cv_use_uxtheme"
16303 if test "x$cache" = xyes; then
16304 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16305 fi
16306
16307 if test x"$enablestring" = xdisable; then
16308 if test $wxUSE_UXTHEME = yes; then
16309 result=no
16310 else
16311 result=yes
16312 fi
16313 else
16314 result=$wxUSE_UXTHEME
16315 fi
16316
16317 { echo "$as_me:$LINENO: result: $result" >&5
16318 echo "${ECHO_T}$result" >&6; }
16319
16320
16321 enablestring=
16322 defaultval=$wxUSE_ALL_FEATURES
16323 if test -z "$defaultval"; then
16324 if test x"$enablestring" = xdisable; then
16325 defaultval=yes
16326 else
16327 defaultval=no
16328 fi
16329 fi
16330
16331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16332 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16333 # Check whether --enable-wxdib was given.
16334 if test "${enable_wxdib+set}" = set; then
16335 enableval=$enable_wxdib;
16336 if test "$enableval" = yes; then
16337 wx_cv_use_wxdib='wxUSE_DIB=yes'
16338 else
16339 wx_cv_use_wxdib='wxUSE_DIB=no'
16340 fi
16341 cache=yes
16342
16343 else
16344
16345 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16346 if test "x$LINE" != x ; then
16347 eval "DEFAULT_$LINE"
16348 cache=yes
16349 else
16350 cache=no
16351 fi
16352
16353 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16354
16355 fi
16356
16357
16358 eval "$wx_cv_use_wxdib"
16359 if test "x$cache" = xyes; then
16360 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16361 fi
16362
16363 if test x"$enablestring" = xdisable; then
16364 if test $wxUSE_DIB = yes; then
16365 result=no
16366 else
16367 result=yes
16368 fi
16369 else
16370 result=$wxUSE_DIB
16371 fi
16372
16373 { echo "$as_me:$LINENO: result: $result" >&5
16374 echo "${ECHO_T}$result" >&6; }
16375
16376
16377 fi
16378
16379
16380 echo "saving argument cache $wx_arg_cache_file"
16381 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16382
16383
16384
16385 { echo "$as_me:$LINENO: checking for toolkit" >&5
16386 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16387
16388 # In Wine, we need to default to MSW, not GTK or MOTIF
16389 if test "$wxUSE_WINE" = "yes"; then
16390 DEFAULT_DEFAULT_wxUSE_GTK=0
16391 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16392 DEFAULT_DEFAULT_wxUSE_MSW=1
16393 wxUSE_SHARED=no
16394 CC=${CC:-winegcc}
16395 CXX=${CXX:-wineg++}
16396 fi
16397
16398
16399 if test "$wxUSE_GUI" = "yes"; then
16400
16401 if test "$USE_BEOS" = 1; then
16402 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16403 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16404 { (exit 1); exit 1; }; }
16405 fi
16406
16407 if test "$TOOLKIT_GIVEN" = 1; then
16408 for toolkit in `echo $ALL_TOOLKITS`; do
16409 var=wxUSE_$toolkit
16410 eval "value=\$${var}"
16411 if test "x$value" = "xno"; then
16412 eval "$var=0"
16413 elif test "x$value" != "x"; then
16414 eval "$var=1"
16415 fi
16416
16417 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16418 eval "wx${toolkit}_VERSION=$value"
16419 fi
16420 done
16421 else
16422 for toolkit in `echo $ALL_TOOLKITS`; do
16423 if test "$has_toolkit_in_cache" != 1; then
16424 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16425 else
16426 var=DEFAULT_wxUSE_$toolkit
16427
16428 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16429 if test "x$version" != "x"; then
16430 eval "wx${toolkit}_VERSION=$version"
16431 fi
16432 fi
16433 eval "wxUSE_$toolkit=\$${var}"
16434 done
16435 fi
16436
16437 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16438 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16439 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16440
16441 case "${host}" in
16442 *-pc-os2_emx | *-pc-os2-emx )
16443 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16444 esac
16445
16446 case "$NUM_TOOLKITS" in
16447 1)
16448 ;;
16449 0)
16450 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16451 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16452 { (exit 1); exit 1; }; }
16453 ;;
16454 *)
16455 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16456 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16457 { (exit 1); exit 1; }; }
16458 esac
16459
16460 # to be removed when --disable-gtk2 isn't needed
16461 if test "x$wxUSE_GTK2" = "xyes"; then
16462 wxGTK_VERSION=2
16463 elif test "x$wxUSE_GTK2" = "xno"; then
16464 wxGTK_VERSION=1
16465 fi
16466
16467 for toolkit in `echo $ALL_TOOLKITS`; do
16468 var=wxUSE_$toolkit
16469 eval "value=\$${var}"
16470 if test "x$value" != x; then
16471 cache_var=CACHE_$toolkit
16472 eval "cache=\$${cache_var}"
16473 if test "$cache" = 1; then
16474 echo "$var=$value" >> ${wx_arg_cache_file}
16475 eval "version=\$wx${toolkit}_VERSION"
16476 if test "x$version" != "x"; then
16477 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16478 fi
16479 fi
16480 if test "$value" = 1; then
16481 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16482 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16483 echo "${ECHO_T}$toolkit_echo" >&6; }
16484 fi
16485 fi
16486 done
16487 else
16488 if test "x$host_alias" != "x"; then
16489 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16490 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16491 else
16492 { echo "$as_me:$LINENO: result: base only" >&5
16493 echo "${ECHO_T}base only" >&6; }
16494 fi
16495 fi
16496
16497
16498 cat >confcache <<\_ACEOF
16499 # This file is a shell script that caches the results of configure
16500 # tests run on this system so they can be shared between configure
16501 # scripts and configure runs, see configure's option --config-cache.
16502 # It is not useful on other systems. If it contains results you don't
16503 # want to keep, you may remove or edit it.
16504 #
16505 # config.status only pays attention to the cache file if you give it
16506 # the --recheck option to rerun configure.
16507 #
16508 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16509 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16510 # following values.
16511
16512 _ACEOF
16513
16514 # The following way of writing the cache mishandles newlines in values,
16515 # but we know of no workaround that is simple, portable, and efficient.
16516 # So, we kill variables containing newlines.
16517 # Ultrix sh set writes to stderr and can't be redirected directly,
16518 # and sets the high bit in the cache file unless we assign to the vars.
16519 (
16520 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16521 eval ac_val=\$$ac_var
16522 case $ac_val in #(
16523 *${as_nl}*)
16524 case $ac_var in #(
16525 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16526 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16527 esac
16528 case $ac_var in #(
16529 _ | IFS | as_nl) ;; #(
16530 *) $as_unset $ac_var ;;
16531 esac ;;
16532 esac
16533 done
16534
16535 (set) 2>&1 |
16536 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16537 *${as_nl}ac_space=\ *)
16538 # `set' does not quote correctly, so add quotes (double-quote
16539 # substitution turns \\\\ into \\, and sed turns \\ into \).
16540 sed -n \
16541 "s/'/'\\\\''/g;
16542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16543 ;; #(
16544 *)
16545 # `set' quotes correctly as required by POSIX, so do not add quotes.
16546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16547 ;;
16548 esac |
16549 sort
16550 ) |
16551 sed '
16552 /^ac_cv_env_/b end
16553 t clear
16554 :clear
16555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16556 t end
16557 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16558 :end' >>confcache
16559 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16560 if test -w "$cache_file"; then
16561 test "x$cache_file" != "x/dev/null" &&
16562 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16563 echo "$as_me: updating cache $cache_file" >&6;}
16564 cat confcache >$cache_file
16565 else
16566 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16567 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16568 fi
16569 fi
16570 rm -f confcache
16571
16572 CFLAGS=${CFLAGS:=}
16573
16574
16575
16576 ac_ext=c
16577 ac_cpp='$CPP $CPPFLAGS'
16578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16581 if test -n "$ac_tool_prefix"; then
16582 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16583 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16586 if test "${ac_cv_prog_CC+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16588 else
16589 if test -n "$CC"; then
16590 ac_cv_prog_CC="$CC" # Let the user override the test.
16591 else
16592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16593 for as_dir in $PATH
16594 do
16595 IFS=$as_save_IFS
16596 test -z "$as_dir" && as_dir=.
16597 for ac_exec_ext in '' $ac_executable_extensions; do
16598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16599 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16601 break 2
16602 fi
16603 done
16604 done
16605 IFS=$as_save_IFS
16606
16607 fi
16608 fi
16609 CC=$ac_cv_prog_CC
16610 if test -n "$CC"; then
16611 { echo "$as_me:$LINENO: result: $CC" >&5
16612 echo "${ECHO_T}$CC" >&6; }
16613 else
16614 { echo "$as_me:$LINENO: result: no" >&5
16615 echo "${ECHO_T}no" >&6; }
16616 fi
16617
16618
16619 fi
16620 if test -z "$ac_cv_prog_CC"; then
16621 ac_ct_CC=$CC
16622 # Extract the first word of "gcc", so it can be a program name with args.
16623 set dummy gcc; ac_word=$2
16624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16626 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16628 else
16629 if test -n "$ac_ct_CC"; then
16630 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16631 else
16632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16633 for as_dir in $PATH
16634 do
16635 IFS=$as_save_IFS
16636 test -z "$as_dir" && as_dir=.
16637 for ac_exec_ext in '' $ac_executable_extensions; do
16638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16639 ac_cv_prog_ac_ct_CC="gcc"
16640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16641 break 2
16642 fi
16643 done
16644 done
16645 IFS=$as_save_IFS
16646
16647 fi
16648 fi
16649 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16650 if test -n "$ac_ct_CC"; then
16651 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16652 echo "${ECHO_T}$ac_ct_CC" >&6; }
16653 else
16654 { echo "$as_me:$LINENO: result: no" >&5
16655 echo "${ECHO_T}no" >&6; }
16656 fi
16657
16658 if test "x$ac_ct_CC" = x; then
16659 CC=""
16660 else
16661 case $cross_compiling:$ac_tool_warned in
16662 yes:)
16663 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16664 whose name does not start with the host triplet. If you think this
16665 configuration is useful to you, please write to autoconf@gnu.org." >&5
16666 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16667 whose name does not start with the host triplet. If you think this
16668 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16669 ac_tool_warned=yes ;;
16670 esac
16671 CC=$ac_ct_CC
16672 fi
16673 else
16674 CC="$ac_cv_prog_CC"
16675 fi
16676
16677 if test -z "$CC"; then
16678 if test -n "$ac_tool_prefix"; then
16679 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16680 set dummy ${ac_tool_prefix}cc; ac_word=$2
16681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16683 if test "${ac_cv_prog_CC+set}" = set; then
16684 echo $ECHO_N "(cached) $ECHO_C" >&6
16685 else
16686 if test -n "$CC"; then
16687 ac_cv_prog_CC="$CC" # Let the user override the test.
16688 else
16689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16690 for as_dir in $PATH
16691 do
16692 IFS=$as_save_IFS
16693 test -z "$as_dir" && as_dir=.
16694 for ac_exec_ext in '' $ac_executable_extensions; do
16695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16696 ac_cv_prog_CC="${ac_tool_prefix}cc"
16697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16698 break 2
16699 fi
16700 done
16701 done
16702 IFS=$as_save_IFS
16703
16704 fi
16705 fi
16706 CC=$ac_cv_prog_CC
16707 if test -n "$CC"; then
16708 { echo "$as_me:$LINENO: result: $CC" >&5
16709 echo "${ECHO_T}$CC" >&6; }
16710 else
16711 { echo "$as_me:$LINENO: result: no" >&5
16712 echo "${ECHO_T}no" >&6; }
16713 fi
16714
16715
16716 fi
16717 fi
16718 if test -z "$CC"; then
16719 # Extract the first word of "cc", so it can be a program name with args.
16720 set dummy cc; ac_word=$2
16721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16723 if test "${ac_cv_prog_CC+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16725 else
16726 if test -n "$CC"; then
16727 ac_cv_prog_CC="$CC" # Let the user override the test.
16728 else
16729 ac_prog_rejected=no
16730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16731 for as_dir in $PATH
16732 do
16733 IFS=$as_save_IFS
16734 test -z "$as_dir" && as_dir=.
16735 for ac_exec_ext in '' $ac_executable_extensions; do
16736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16737 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16738 ac_prog_rejected=yes
16739 continue
16740 fi
16741 ac_cv_prog_CC="cc"
16742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16743 break 2
16744 fi
16745 done
16746 done
16747 IFS=$as_save_IFS
16748
16749 if test $ac_prog_rejected = yes; then
16750 # We found a bogon in the path, so make sure we never use it.
16751 set dummy $ac_cv_prog_CC
16752 shift
16753 if test $# != 0; then
16754 # We chose a different compiler from the bogus one.
16755 # However, it has the same basename, so the bogon will be chosen
16756 # first if we set CC to just the basename; use the full file name.
16757 shift
16758 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16759 fi
16760 fi
16761 fi
16762 fi
16763 CC=$ac_cv_prog_CC
16764 if test -n "$CC"; then
16765 { echo "$as_me:$LINENO: result: $CC" >&5
16766 echo "${ECHO_T}$CC" >&6; }
16767 else
16768 { echo "$as_me:$LINENO: result: no" >&5
16769 echo "${ECHO_T}no" >&6; }
16770 fi
16771
16772
16773 fi
16774 if test -z "$CC"; then
16775 if test -n "$ac_tool_prefix"; then
16776 for ac_prog in cl.exe
16777 do
16778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16782 if test "${ac_cv_prog_CC+set}" = set; then
16783 echo $ECHO_N "(cached) $ECHO_C" >&6
16784 else
16785 if test -n "$CC"; then
16786 ac_cv_prog_CC="$CC" # Let the user override the test.
16787 else
16788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16789 for as_dir in $PATH
16790 do
16791 IFS=$as_save_IFS
16792 test -z "$as_dir" && as_dir=.
16793 for ac_exec_ext in '' $ac_executable_extensions; do
16794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16795 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16797 break 2
16798 fi
16799 done
16800 done
16801 IFS=$as_save_IFS
16802
16803 fi
16804 fi
16805 CC=$ac_cv_prog_CC
16806 if test -n "$CC"; then
16807 { echo "$as_me:$LINENO: result: $CC" >&5
16808 echo "${ECHO_T}$CC" >&6; }
16809 else
16810 { echo "$as_me:$LINENO: result: no" >&5
16811 echo "${ECHO_T}no" >&6; }
16812 fi
16813
16814
16815 test -n "$CC" && break
16816 done
16817 fi
16818 if test -z "$CC"; then
16819 ac_ct_CC=$CC
16820 for ac_prog in cl.exe
16821 do
16822 # Extract the first word of "$ac_prog", so it can be a program name with args.
16823 set dummy $ac_prog; ac_word=$2
16824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 else
16829 if test -n "$ac_ct_CC"; then
16830 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16831 else
16832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16833 for as_dir in $PATH
16834 do
16835 IFS=$as_save_IFS
16836 test -z "$as_dir" && as_dir=.
16837 for ac_exec_ext in '' $ac_executable_extensions; do
16838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16839 ac_cv_prog_ac_ct_CC="$ac_prog"
16840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16841 break 2
16842 fi
16843 done
16844 done
16845 IFS=$as_save_IFS
16846
16847 fi
16848 fi
16849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16850 if test -n "$ac_ct_CC"; then
16851 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16852 echo "${ECHO_T}$ac_ct_CC" >&6; }
16853 else
16854 { echo "$as_me:$LINENO: result: no" >&5
16855 echo "${ECHO_T}no" >&6; }
16856 fi
16857
16858
16859 test -n "$ac_ct_CC" && break
16860 done
16861
16862 if test "x$ac_ct_CC" = x; then
16863 CC=""
16864 else
16865 case $cross_compiling:$ac_tool_warned in
16866 yes:)
16867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16868 whose name does not start with the host triplet. If you think this
16869 configuration is useful to you, please write to autoconf@gnu.org." >&5
16870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16871 whose name does not start with the host triplet. If you think this
16872 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16873 ac_tool_warned=yes ;;
16874 esac
16875 CC=$ac_ct_CC
16876 fi
16877 fi
16878
16879 fi
16880
16881
16882 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16883 See \`config.log' for more details." >&5
16884 echo "$as_me: error: no acceptable C compiler found in \$PATH
16885 See \`config.log' for more details." >&2;}
16886 { (exit 1); exit 1; }; }
16887
16888 # Provide some information about the compiler.
16889 echo "$as_me:$LINENO: checking for C compiler version" >&5
16890 ac_compiler=`set X $ac_compile; echo $2`
16891 { (ac_try="$ac_compiler --version >&5"
16892 case "(($ac_try" in
16893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16894 *) ac_try_echo=$ac_try;;
16895 esac
16896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16897 (eval "$ac_compiler --version >&5") 2>&5
16898 ac_status=$?
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); }
16901 { (ac_try="$ac_compiler -v >&5"
16902 case "(($ac_try" in
16903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16904 *) ac_try_echo=$ac_try;;
16905 esac
16906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16907 (eval "$ac_compiler -v >&5") 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }
16911 { (ac_try="$ac_compiler -V >&5"
16912 case "(($ac_try" in
16913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16914 *) ac_try_echo=$ac_try;;
16915 esac
16916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16917 (eval "$ac_compiler -V >&5") 2>&5
16918 ac_status=$?
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }
16921
16922 cat >conftest.$ac_ext <<_ACEOF
16923 /* confdefs.h. */
16924 _ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928
16929 int
16930 main ()
16931 {
16932
16933 ;
16934 return 0;
16935 }
16936 _ACEOF
16937 ac_clean_files_save=$ac_clean_files
16938 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16939 # Try to create an executable without -o first, disregard a.out.
16940 # It will help us diagnose broken compilers, and finding out an intuition
16941 # of exeext.
16942 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16943 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16944 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16945 #
16946 # List of possible output files, starting from the most likely.
16947 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16948 # only as a last resort. b.out is created by i960 compilers.
16949 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16950 #
16951 # The IRIX 6 linker writes into existing files which may not be
16952 # executable, retaining their permissions. Remove them first so a
16953 # subsequent execution test works.
16954 ac_rmfiles=
16955 for ac_file in $ac_files
16956 do
16957 case $ac_file in
16958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16959 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16960 esac
16961 done
16962 rm -f $ac_rmfiles
16963
16964 if { (ac_try="$ac_link_default"
16965 case "(($ac_try" in
16966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16967 *) ac_try_echo=$ac_try;;
16968 esac
16969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16970 (eval "$ac_link_default") 2>&5
16971 ac_status=$?
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); }; then
16974 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16975 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16976 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16977 # so that the user can short-circuit this test for compilers unknown to
16978 # Autoconf.
16979 for ac_file in $ac_files ''
16980 do
16981 test -f "$ac_file" || continue
16982 case $ac_file in
16983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16984 ;;
16985 [ab].out )
16986 # We found the default executable, but exeext='' is most
16987 # certainly right.
16988 break;;
16989 *.* )
16990 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16991 then :; else
16992 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16993 fi
16994 # We set ac_cv_exeext here because the later test for it is not
16995 # safe: cross compilers may not add the suffix if given an `-o'
16996 # argument, so we may need to know it at that point already.
16997 # Even if this section looks crufty: it has the advantage of
16998 # actually working.
16999 break;;
17000 * )
17001 break;;
17002 esac
17003 done
17004 test "$ac_cv_exeext" = no && ac_cv_exeext=
17005
17006 else
17007 ac_file=''
17008 fi
17009
17010 { echo "$as_me:$LINENO: result: $ac_file" >&5
17011 echo "${ECHO_T}$ac_file" >&6; }
17012 if test -z "$ac_file"; then
17013 echo "$as_me: failed program was:" >&5
17014 sed 's/^/| /' conftest.$ac_ext >&5
17015
17016 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17017 See \`config.log' for more details." >&5
17018 echo "$as_me: error: C compiler cannot create executables
17019 See \`config.log' for more details." >&2;}
17020 { (exit 77); exit 77; }; }
17021 fi
17022
17023 ac_exeext=$ac_cv_exeext
17024
17025 # Check that the compiler produces executables we can run. If not, either
17026 # the compiler is broken, or we cross compile.
17027 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17028 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17029 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17030 # If not cross compiling, check that we can run a simple program.
17031 if test "$cross_compiling" != yes; then
17032 if { ac_try='./$ac_file'
17033 { (case "(($ac_try" in
17034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17035 *) ac_try_echo=$ac_try;;
17036 esac
17037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17038 (eval "$ac_try") 2>&5
17039 ac_status=$?
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; }; then
17042 cross_compiling=no
17043 else
17044 if test "$cross_compiling" = maybe; then
17045 cross_compiling=yes
17046 else
17047 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17048 If you meant to cross compile, use \`--host'.
17049 See \`config.log' for more details." >&5
17050 echo "$as_me: error: cannot run C compiled programs.
17051 If you meant to cross compile, use \`--host'.
17052 See \`config.log' for more details." >&2;}
17053 { (exit 1); exit 1; }; }
17054 fi
17055 fi
17056 fi
17057 { echo "$as_me:$LINENO: result: yes" >&5
17058 echo "${ECHO_T}yes" >&6; }
17059
17060 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17061 ac_clean_files=$ac_clean_files_save
17062 # Check that the compiler produces executables we can run. If not, either
17063 # the compiler is broken, or we cross compile.
17064 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17065 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17066 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17067 echo "${ECHO_T}$cross_compiling" >&6; }
17068
17069 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17070 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17071 if { (ac_try="$ac_link"
17072 case "(($ac_try" in
17073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17074 *) ac_try_echo=$ac_try;;
17075 esac
17076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17077 (eval "$ac_link") 2>&5
17078 ac_status=$?
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; then
17081 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17082 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17083 # work properly (i.e., refer to `conftest.exe'), while it won't with
17084 # `rm'.
17085 for ac_file in conftest.exe conftest conftest.*; do
17086 test -f "$ac_file" || continue
17087 case $ac_file in
17088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17089 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17090 break;;
17091 * ) break;;
17092 esac
17093 done
17094 else
17095 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17096 See \`config.log' for more details." >&5
17097 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17098 See \`config.log' for more details." >&2;}
17099 { (exit 1); exit 1; }; }
17100 fi
17101
17102 rm -f conftest$ac_cv_exeext
17103 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17104 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17105
17106 rm -f conftest.$ac_ext
17107 EXEEXT=$ac_cv_exeext
17108 ac_exeext=$EXEEXT
17109 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17110 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17111 if test "${ac_cv_objext+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17113 else
17114 cat >conftest.$ac_ext <<_ACEOF
17115 /* confdefs.h. */
17116 _ACEOF
17117 cat confdefs.h >>conftest.$ac_ext
17118 cat >>conftest.$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17120
17121 int
17122 main ()
17123 {
17124
17125 ;
17126 return 0;
17127 }
17128 _ACEOF
17129 rm -f conftest.o conftest.obj
17130 if { (ac_try="$ac_compile"
17131 case "(($ac_try" in
17132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17133 *) ac_try_echo=$ac_try;;
17134 esac
17135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17136 (eval "$ac_compile") 2>&5
17137 ac_status=$?
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; then
17140 for ac_file in conftest.o conftest.obj conftest.*; do
17141 test -f "$ac_file" || continue;
17142 case $ac_file in
17143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17144 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17145 break;;
17146 esac
17147 done
17148 else
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17151
17152 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17153 See \`config.log' for more details." >&5
17154 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17155 See \`config.log' for more details." >&2;}
17156 { (exit 1); exit 1; }; }
17157 fi
17158
17159 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17160 fi
17161 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17162 echo "${ECHO_T}$ac_cv_objext" >&6; }
17163 OBJEXT=$ac_cv_objext
17164 ac_objext=$OBJEXT
17165 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17166 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17167 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17168 echo $ECHO_N "(cached) $ECHO_C" >&6
17169 else
17170 cat >conftest.$ac_ext <<_ACEOF
17171 /* confdefs.h. */
17172 _ACEOF
17173 cat confdefs.h >>conftest.$ac_ext
17174 cat >>conftest.$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17176
17177 int
17178 main ()
17179 {
17180 #ifndef __GNUC__
17181 choke me
17182 #endif
17183
17184 ;
17185 return 0;
17186 }
17187 _ACEOF
17188 rm -f conftest.$ac_objext
17189 if { (ac_try="$ac_compile"
17190 case "(($ac_try" in
17191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17192 *) ac_try_echo=$ac_try;;
17193 esac
17194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17195 (eval "$ac_compile") 2>conftest.er1
17196 ac_status=$?
17197 grep -v '^ *+' conftest.er1 >conftest.err
17198 rm -f conftest.er1
17199 cat conftest.err >&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); } && {
17202 test -z "$ac_c_werror_flag" ||
17203 test ! -s conftest.err
17204 } && test -s conftest.$ac_objext; then
17205 ac_compiler_gnu=yes
17206 else
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17209
17210 ac_compiler_gnu=no
17211 fi
17212
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17215
17216 fi
17217 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17218 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17219 GCC=`test $ac_compiler_gnu = yes && echo yes`
17220 ac_test_CFLAGS=${CFLAGS+set}
17221 ac_save_CFLAGS=$CFLAGS
17222 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17223 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17224 if test "${ac_cv_prog_cc_g+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 else
17227 ac_save_c_werror_flag=$ac_c_werror_flag
17228 ac_c_werror_flag=yes
17229 ac_cv_prog_cc_g=no
17230 CFLAGS="-g"
17231 cat >conftest.$ac_ext <<_ACEOF
17232 /* confdefs.h. */
17233 _ACEOF
17234 cat confdefs.h >>conftest.$ac_ext
17235 cat >>conftest.$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17237
17238 int
17239 main ()
17240 {
17241
17242 ;
17243 return 0;
17244 }
17245 _ACEOF
17246 rm -f conftest.$ac_objext
17247 if { (ac_try="$ac_compile"
17248 case "(($ac_try" in
17249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17250 *) ac_try_echo=$ac_try;;
17251 esac
17252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17253 (eval "$ac_compile") 2>conftest.er1
17254 ac_status=$?
17255 grep -v '^ *+' conftest.er1 >conftest.err
17256 rm -f conftest.er1
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } && {
17260 test -z "$ac_c_werror_flag" ||
17261 test ! -s conftest.err
17262 } && test -s conftest.$ac_objext; then
17263 ac_cv_prog_cc_g=yes
17264 else
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17267
17268 CFLAGS=""
17269 cat >conftest.$ac_ext <<_ACEOF
17270 /* confdefs.h. */
17271 _ACEOF
17272 cat confdefs.h >>conftest.$ac_ext
17273 cat >>conftest.$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17275
17276 int
17277 main ()
17278 {
17279
17280 ;
17281 return 0;
17282 }
17283 _ACEOF
17284 rm -f conftest.$ac_objext
17285 if { (ac_try="$ac_compile"
17286 case "(($ac_try" in
17287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17288 *) ac_try_echo=$ac_try;;
17289 esac
17290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17291 (eval "$ac_compile") 2>conftest.er1
17292 ac_status=$?
17293 grep -v '^ *+' conftest.er1 >conftest.err
17294 rm -f conftest.er1
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } && {
17298 test -z "$ac_c_werror_flag" ||
17299 test ! -s conftest.err
17300 } && test -s conftest.$ac_objext; then
17301 :
17302 else
17303 echo "$as_me: failed program was:" >&5
17304 sed 's/^/| /' conftest.$ac_ext >&5
17305
17306 ac_c_werror_flag=$ac_save_c_werror_flag
17307 CFLAGS="-g"
17308 cat >conftest.$ac_ext <<_ACEOF
17309 /* confdefs.h. */
17310 _ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17314
17315 int
17316 main ()
17317 {
17318
17319 ;
17320 return 0;
17321 }
17322 _ACEOF
17323 rm -f conftest.$ac_objext
17324 if { (ac_try="$ac_compile"
17325 case "(($ac_try" in
17326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17327 *) ac_try_echo=$ac_try;;
17328 esac
17329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17330 (eval "$ac_compile") 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } && {
17337 test -z "$ac_c_werror_flag" ||
17338 test ! -s conftest.err
17339 } && test -s conftest.$ac_objext; then
17340 ac_cv_prog_cc_g=yes
17341 else
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17344
17345
17346 fi
17347
17348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17349 fi
17350
17351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17352 fi
17353
17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17355 ac_c_werror_flag=$ac_save_c_werror_flag
17356 fi
17357 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17358 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17359 if test "$ac_test_CFLAGS" = set; then
17360 CFLAGS=$ac_save_CFLAGS
17361 elif test $ac_cv_prog_cc_g = yes; then
17362 if test "$GCC" = yes; then
17363 CFLAGS="-g -O2"
17364 else
17365 CFLAGS="-g"
17366 fi
17367 else
17368 if test "$GCC" = yes; then
17369 CFLAGS="-O2"
17370 else
17371 CFLAGS=
17372 fi
17373 fi
17374 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17375 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17376 if test "${ac_cv_prog_cc_c89+set}" = set; then
17377 echo $ECHO_N "(cached) $ECHO_C" >&6
17378 else
17379 ac_cv_prog_cc_c89=no
17380 ac_save_CC=$CC
17381 cat >conftest.$ac_ext <<_ACEOF
17382 /* confdefs.h. */
17383 _ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 #include <stdarg.h>
17388 #include <stdio.h>
17389 #include <sys/types.h>
17390 #include <sys/stat.h>
17391 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17392 struct buf { int x; };
17393 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17394 static char *e (p, i)
17395 char **p;
17396 int i;
17397 {
17398 return p[i];
17399 }
17400 static char *f (char * (*g) (char **, int), char **p, ...)
17401 {
17402 char *s;
17403 va_list v;
17404 va_start (v,p);
17405 s = g (p, va_arg (v,int));
17406 va_end (v);
17407 return s;
17408 }
17409
17410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17411 function prototypes and stuff, but not '\xHH' hex character constants.
17412 These don't provoke an error unfortunately, instead are silently treated
17413 as 'x'. The following induces an error, until -std is added to get
17414 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17415 array size at least. It's necessary to write '\x00'==0 to get something
17416 that's true only with -std. */
17417 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17418
17419 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17420 inside strings and character constants. */
17421 #define FOO(x) 'x'
17422 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17423
17424 int test (int i, double x);
17425 struct s1 {int (*f) (int a);};
17426 struct s2 {int (*f) (double a);};
17427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17428 int argc;
17429 char **argv;
17430 int
17431 main ()
17432 {
17433 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17434 ;
17435 return 0;
17436 }
17437 _ACEOF
17438 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17439 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17440 do
17441 CC="$ac_save_CC $ac_arg"
17442 rm -f conftest.$ac_objext
17443 if { (ac_try="$ac_compile"
17444 case "(($ac_try" in
17445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17446 *) ac_try_echo=$ac_try;;
17447 esac
17448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17449 (eval "$ac_compile") 2>conftest.er1
17450 ac_status=$?
17451 grep -v '^ *+' conftest.er1 >conftest.err
17452 rm -f conftest.er1
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } && {
17456 test -z "$ac_c_werror_flag" ||
17457 test ! -s conftest.err
17458 } && test -s conftest.$ac_objext; then
17459 ac_cv_prog_cc_c89=$ac_arg
17460 else
17461 echo "$as_me: failed program was:" >&5
17462 sed 's/^/| /' conftest.$ac_ext >&5
17463
17464
17465 fi
17466
17467 rm -f core conftest.err conftest.$ac_objext
17468 test "x$ac_cv_prog_cc_c89" != "xno" && break
17469 done
17470 rm -f conftest.$ac_ext
17471 CC=$ac_save_CC
17472
17473 fi
17474 # AC_CACHE_VAL
17475 case "x$ac_cv_prog_cc_c89" in
17476 x)
17477 { echo "$as_me:$LINENO: result: none needed" >&5
17478 echo "${ECHO_T}none needed" >&6; } ;;
17479 xno)
17480 { echo "$as_me:$LINENO: result: unsupported" >&5
17481 echo "${ECHO_T}unsupported" >&6; } ;;
17482 *)
17483 CC="$CC $ac_cv_prog_cc_c89"
17484 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17485 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17486 esac
17487
17488
17489 ac_ext=c
17490 ac_cpp='$CPP $CPPFLAGS'
17491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17494
17495
17496
17497
17498 ac_ext=c
17499 ac_cpp='$CPP $CPPFLAGS'
17500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17503
17504 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17505 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17506 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17508 else
17509 cat >conftest.$ac_ext <<_ACEOF
17510 /* confdefs.h. */
17511 _ACEOF
17512 cat confdefs.h >>conftest.$ac_ext
17513 cat >>conftest.$ac_ext <<_ACEOF
17514 /* end confdefs.h. */
17515
17516 int
17517 main ()
17518 {
17519
17520 #ifndef __INTEL_COMPILER
17521 choke me
17522 #endif
17523
17524 ;
17525 return 0;
17526 }
17527 _ACEOF
17528 rm -f conftest.$ac_objext
17529 if { (ac_try="$ac_compile"
17530 case "(($ac_try" in
17531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532 *) ac_try_echo=$ac_try;;
17533 esac
17534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17535 (eval "$ac_compile") 2>conftest.er1
17536 ac_status=$?
17537 grep -v '^ *+' conftest.er1 >conftest.err
17538 rm -f conftest.er1
17539 cat conftest.err >&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } && {
17542 test -z "$ac_c_werror_flag" ||
17543 test ! -s conftest.err
17544 } && test -s conftest.$ac_objext; then
17545 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17546 else
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17549
17550 bakefile_cv_c_compiler___INTEL_COMPILER=no
17551
17552 fi
17553
17554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17555
17556
17557 fi
17558 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17559 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17560 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17561 :; INTELCC=yes
17562 else
17563 :;
17564 fi
17565 ac_ext=c
17566 ac_cpp='$CPP $CPPFLAGS'
17567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17570
17571
17572
17573
17574 if test "x$GCC" != "xyes"; then
17575 if test "xCC" = "xC"; then
17576 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17577 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17578 if test "${bakefile_cv_c_exto+set}" = set; then
17579 echo $ECHO_N "(cached) $ECHO_C" >&6
17580 else
17581 cat >conftest.$ac_ext <<_ACEOF
17582 /* confdefs.h. */
17583 _ACEOF
17584 cat confdefs.h >>conftest.$ac_ext
17585 cat >>conftest.$ac_ext <<_ACEOF
17586 /* end confdefs.h. */
17587
17588 int
17589 main ()
17590 {
17591
17592 ;
17593 return 0;
17594 }
17595 _ACEOF
17596 rm -f conftest.$ac_objext conftest.$ac_ext.o
17597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17598 (eval $ac_compile) 2>&5
17599 ac_status=$?
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); }; then
17602 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17603 case $ac_file in
17604 conftest.$ac_ext.o)
17605 bakefile_cv_c_exto="-ext o"
17606 ;;
17607 *)
17608 ;;
17609 esac
17610 done
17611 else
17612 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17613 See \`config.log' for more details." >&5
17614 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17615 See \`config.log' for more details." >&2;}
17616 { (exit 1); exit 1; }; }
17617
17618 fi
17619
17620 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17621
17622 fi
17623 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17624 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17625 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17626 if test "c" = "c"; then
17627 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17628 fi
17629 if test "c" = "cxx"; then
17630 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17631 fi
17632 fi
17633
17634 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17635 unset ac_cv_prog_cc_g
17636 ac_test_CFLAGS=${CFLAGS+set}
17637 ac_save_CFLAGS=$CFLAGS
17638 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17639 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17640 if test "${ac_cv_prog_cc_g+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 else
17643 ac_save_c_werror_flag=$ac_c_werror_flag
17644 ac_c_werror_flag=yes
17645 ac_cv_prog_cc_g=no
17646 CFLAGS="-g"
17647 cat >conftest.$ac_ext <<_ACEOF
17648 /* confdefs.h. */
17649 _ACEOF
17650 cat confdefs.h >>conftest.$ac_ext
17651 cat >>conftest.$ac_ext <<_ACEOF
17652 /* end confdefs.h. */
17653
17654 int
17655 main ()
17656 {
17657
17658 ;
17659 return 0;
17660 }
17661 _ACEOF
17662 rm -f conftest.$ac_objext
17663 if { (ac_try="$ac_compile"
17664 case "(($ac_try" in
17665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17666 *) ac_try_echo=$ac_try;;
17667 esac
17668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17669 (eval "$ac_compile") 2>conftest.er1
17670 ac_status=$?
17671 grep -v '^ *+' conftest.er1 >conftest.err
17672 rm -f conftest.er1
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } && {
17676 test -z "$ac_c_werror_flag" ||
17677 test ! -s conftest.err
17678 } && test -s conftest.$ac_objext; then
17679 ac_cv_prog_cc_g=yes
17680 else
17681 echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.$ac_ext >&5
17683
17684 CFLAGS=""
17685 cat >conftest.$ac_ext <<_ACEOF
17686 /* confdefs.h. */
17687 _ACEOF
17688 cat confdefs.h >>conftest.$ac_ext
17689 cat >>conftest.$ac_ext <<_ACEOF
17690 /* end confdefs.h. */
17691
17692 int
17693 main ()
17694 {
17695
17696 ;
17697 return 0;
17698 }
17699 _ACEOF
17700 rm -f conftest.$ac_objext
17701 if { (ac_try="$ac_compile"
17702 case "(($ac_try" in
17703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17704 *) ac_try_echo=$ac_try;;
17705 esac
17706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17707 (eval "$ac_compile") 2>conftest.er1
17708 ac_status=$?
17709 grep -v '^ *+' conftest.er1 >conftest.err
17710 rm -f conftest.er1
17711 cat conftest.err >&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } && {
17714 test -z "$ac_c_werror_flag" ||
17715 test ! -s conftest.err
17716 } && test -s conftest.$ac_objext; then
17717 :
17718 else
17719 echo "$as_me: failed program was:" >&5
17720 sed 's/^/| /' conftest.$ac_ext >&5
17721
17722 ac_c_werror_flag=$ac_save_c_werror_flag
17723 CFLAGS="-g"
17724 cat >conftest.$ac_ext <<_ACEOF
17725 /* confdefs.h. */
17726 _ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730
17731 int
17732 main ()
17733 {
17734
17735 ;
17736 return 0;
17737 }
17738 _ACEOF
17739 rm -f conftest.$ac_objext
17740 if { (ac_try="$ac_compile"
17741 case "(($ac_try" in
17742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17743 *) ac_try_echo=$ac_try;;
17744 esac
17745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17746 (eval "$ac_compile") 2>conftest.er1
17747 ac_status=$?
17748 grep -v '^ *+' conftest.er1 >conftest.err
17749 rm -f conftest.er1
17750 cat conftest.err >&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); } && {
17753 test -z "$ac_c_werror_flag" ||
17754 test ! -s conftest.err
17755 } && test -s conftest.$ac_objext; then
17756 ac_cv_prog_cc_g=yes
17757 else
17758 echo "$as_me: failed program was:" >&5
17759 sed 's/^/| /' conftest.$ac_ext >&5
17760
17761
17762 fi
17763
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17765 fi
17766
17767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 fi
17769
17770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771 ac_c_werror_flag=$ac_save_c_werror_flag
17772 fi
17773 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17774 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17775 if test "$ac_test_CFLAGS" = set; then
17776 CFLAGS=$ac_save_CFLAGS
17777 elif test $ac_cv_prog_cc_g = yes; then
17778 if test "$GCC" = yes; then
17779 CFLAGS="-g -O2"
17780 else
17781 CFLAGS="-g"
17782 fi
17783 else
17784 if test "$GCC" = yes; then
17785 CFLAGS="-O2"
17786 else
17787 CFLAGS=
17788 fi
17789 fi
17790 fi
17791 fi
17792
17793 case `uname -s` in
17794 AIX*)
17795
17796
17797 ac_ext=c
17798 ac_cpp='$CPP $CPPFLAGS'
17799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17802
17803 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17804 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17805 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17806 echo $ECHO_N "(cached) $ECHO_C" >&6
17807 else
17808 cat >conftest.$ac_ext <<_ACEOF
17809 /* confdefs.h. */
17810 _ACEOF
17811 cat confdefs.h >>conftest.$ac_ext
17812 cat >>conftest.$ac_ext <<_ACEOF
17813 /* end confdefs.h. */
17814
17815 int
17816 main ()
17817 {
17818
17819 #ifndef __xlC__
17820 choke me
17821 #endif
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 bakefile_cv_c_compiler___xlC__=yes
17845 else
17846 echo "$as_me: failed program was:" >&5
17847 sed 's/^/| /' conftest.$ac_ext >&5
17848
17849 bakefile_cv_c_compiler___xlC__=no
17850
17851 fi
17852
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854
17855
17856 fi
17857 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17858 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17859 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17860 :; XLCC=yes
17861 else
17862 :;
17863 fi
17864 ac_ext=c
17865 ac_cpp='$CPP $CPPFLAGS'
17866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17869
17870
17871
17872 ;;
17873
17874 Darwin)
17875
17876
17877 ac_ext=c
17878 ac_cpp='$CPP $CPPFLAGS'
17879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17882
17883 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17884 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17885 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17886 echo $ECHO_N "(cached) $ECHO_C" >&6
17887 else
17888 cat >conftest.$ac_ext <<_ACEOF
17889 /* confdefs.h. */
17890 _ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17894
17895 int
17896 main ()
17897 {
17898
17899 #ifndef __MWERKS__
17900 choke me
17901 #endif
17902
17903 ;
17904 return 0;
17905 }
17906 _ACEOF
17907 rm -f conftest.$ac_objext
17908 if { (ac_try="$ac_compile"
17909 case "(($ac_try" in
17910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17911 *) ac_try_echo=$ac_try;;
17912 esac
17913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17914 (eval "$ac_compile") 2>conftest.er1
17915 ac_status=$?
17916 grep -v '^ *+' conftest.er1 >conftest.err
17917 rm -f conftest.er1
17918 cat conftest.err >&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); } && {
17921 test -z "$ac_c_werror_flag" ||
17922 test ! -s conftest.err
17923 } && test -s conftest.$ac_objext; then
17924 bakefile_cv_c_compiler___MWERKS__=yes
17925 else
17926 echo "$as_me: failed program was:" >&5
17927 sed 's/^/| /' conftest.$ac_ext >&5
17928
17929 bakefile_cv_c_compiler___MWERKS__=no
17930
17931 fi
17932
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934
17935
17936 fi
17937 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17938 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17939 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17940 :; MWCC=yes
17941 else
17942 :;
17943 fi
17944 ac_ext=c
17945 ac_cpp='$CPP $CPPFLAGS'
17946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17949
17950
17951
17952
17953
17954 ac_ext=c
17955 ac_cpp='$CPP $CPPFLAGS'
17956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17959
17960 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17961 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17962 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17963 echo $ECHO_N "(cached) $ECHO_C" >&6
17964 else
17965 cat >conftest.$ac_ext <<_ACEOF
17966 /* confdefs.h. */
17967 _ACEOF
17968 cat confdefs.h >>conftest.$ac_ext
17969 cat >>conftest.$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17971
17972 int
17973 main ()
17974 {
17975
17976 #ifndef __xlC__
17977 choke me
17978 #endif
17979
17980 ;
17981 return 0;
17982 }
17983 _ACEOF
17984 rm -f conftest.$ac_objext
17985 if { (ac_try="$ac_compile"
17986 case "(($ac_try" in
17987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17988 *) ac_try_echo=$ac_try;;
17989 esac
17990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17991 (eval "$ac_compile") 2>conftest.er1
17992 ac_status=$?
17993 grep -v '^ *+' conftest.er1 >conftest.err
17994 rm -f conftest.er1
17995 cat conftest.err >&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } && {
17998 test -z "$ac_c_werror_flag" ||
17999 test ! -s conftest.err
18000 } && test -s conftest.$ac_objext; then
18001 bakefile_cv_c_compiler___xlC__=yes
18002 else
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.$ac_ext >&5
18005
18006 bakefile_cv_c_compiler___xlC__=no
18007
18008 fi
18009
18010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18011
18012
18013 fi
18014 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18015 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18016 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18017 :; XLCC=yes
18018 else
18019 :;
18020 fi
18021 ac_ext=c
18022 ac_cpp='$CPP $CPPFLAGS'
18023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18026
18027
18028
18029 ;;
18030
18031 IRIX*)
18032
18033
18034 ac_ext=c
18035 ac_cpp='$CPP $CPPFLAGS'
18036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18039
18040 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18041 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18042 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045 cat >conftest.$ac_ext <<_ACEOF
18046 /* confdefs.h. */
18047 _ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051
18052 int
18053 main ()
18054 {
18055
18056 #ifndef _SGI_COMPILER_VERSION
18057 choke me
18058 #endif
18059
18060 ;
18061 return 0;
18062 }
18063 _ACEOF
18064 rm -f conftest.$ac_objext
18065 if { (ac_try="$ac_compile"
18066 case "(($ac_try" in
18067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18068 *) ac_try_echo=$ac_try;;
18069 esac
18070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18071 (eval "$ac_compile") 2>conftest.er1
18072 ac_status=$?
18073 grep -v '^ *+' conftest.er1 >conftest.err
18074 rm -f conftest.er1
18075 cat conftest.err >&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); } && {
18078 test -z "$ac_c_werror_flag" ||
18079 test ! -s conftest.err
18080 } && test -s conftest.$ac_objext; then
18081 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18082 else
18083 echo "$as_me: failed program was:" >&5
18084 sed 's/^/| /' conftest.$ac_ext >&5
18085
18086 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18087
18088 fi
18089
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18091
18092
18093 fi
18094 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18095 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18096 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18097 :; SGICC=yes
18098 else
18099 :;
18100 fi
18101 ac_ext=c
18102 ac_cpp='$CPP $CPPFLAGS'
18103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18106
18107
18108
18109 ;;
18110
18111 Linux*)
18112
18113
18114 ac_ext=c
18115 ac_cpp='$CPP $CPPFLAGS'
18116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18119
18120 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18121 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18122 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18124 else
18125 cat >conftest.$ac_ext <<_ACEOF
18126 /* confdefs.h. */
18127 _ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18131
18132 int
18133 main ()
18134 {
18135
18136 #ifndef __SUNPRO_C
18137 choke me
18138 #endif
18139
18140 ;
18141 return 0;
18142 }
18143 _ACEOF
18144 rm -f conftest.$ac_objext
18145 if { (ac_try="$ac_compile"
18146 case "(($ac_try" in
18147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18148 *) ac_try_echo=$ac_try;;
18149 esac
18150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18151 (eval "$ac_compile") 2>conftest.er1
18152 ac_status=$?
18153 grep -v '^ *+' conftest.er1 >conftest.err
18154 rm -f conftest.er1
18155 cat conftest.err >&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } && {
18158 test -z "$ac_c_werror_flag" ||
18159 test ! -s conftest.err
18160 } && test -s conftest.$ac_objext; then
18161 bakefile_cv_c_compiler___SUNPRO_C=yes
18162 else
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18165
18166 bakefile_cv_c_compiler___SUNPRO_C=no
18167
18168 fi
18169
18170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18171
18172
18173 fi
18174 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18175 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18176 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18177 :; SUNCC=yes
18178 else
18179 :;
18180 fi
18181 ac_ext=c
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18186
18187
18188
18189 ;;
18190
18191 HP-UX*)
18192
18193
18194 ac_ext=c
18195 ac_cpp='$CPP $CPPFLAGS'
18196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18199
18200 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18201 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18202 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18203 echo $ECHO_N "(cached) $ECHO_C" >&6
18204 else
18205 cat >conftest.$ac_ext <<_ACEOF
18206 /* confdefs.h. */
18207 _ACEOF
18208 cat confdefs.h >>conftest.$ac_ext
18209 cat >>conftest.$ac_ext <<_ACEOF
18210 /* end confdefs.h. */
18211
18212 int
18213 main ()
18214 {
18215
18216 #ifndef __HP_cc
18217 choke me
18218 #endif
18219
18220 ;
18221 return 0;
18222 }
18223 _ACEOF
18224 rm -f conftest.$ac_objext
18225 if { (ac_try="$ac_compile"
18226 case "(($ac_try" in
18227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18228 *) ac_try_echo=$ac_try;;
18229 esac
18230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18231 (eval "$ac_compile") 2>conftest.er1
18232 ac_status=$?
18233 grep -v '^ *+' conftest.er1 >conftest.err
18234 rm -f conftest.er1
18235 cat conftest.err >&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); } && {
18238 test -z "$ac_c_werror_flag" ||
18239 test ! -s conftest.err
18240 } && test -s conftest.$ac_objext; then
18241 bakefile_cv_c_compiler___HP_cc=yes
18242 else
18243 echo "$as_me: failed program was:" >&5
18244 sed 's/^/| /' conftest.$ac_ext >&5
18245
18246 bakefile_cv_c_compiler___HP_cc=no
18247
18248 fi
18249
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251
18252
18253 fi
18254 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18255 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18256 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18257 :; HPCC=yes
18258 else
18259 :;
18260 fi
18261 ac_ext=c
18262 ac_cpp='$CPP $CPPFLAGS'
18263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18266
18267
18268
18269 ;;
18270
18271 OSF1)
18272
18273
18274 ac_ext=c
18275 ac_cpp='$CPP $CPPFLAGS'
18276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18279
18280 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18281 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18282 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18283 echo $ECHO_N "(cached) $ECHO_C" >&6
18284 else
18285 cat >conftest.$ac_ext <<_ACEOF
18286 /* confdefs.h. */
18287 _ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18291
18292 int
18293 main ()
18294 {
18295
18296 #ifndef __DECC
18297 choke me
18298 #endif
18299
18300 ;
18301 return 0;
18302 }
18303 _ACEOF
18304 rm -f conftest.$ac_objext
18305 if { (ac_try="$ac_compile"
18306 case "(($ac_try" in
18307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18308 *) ac_try_echo=$ac_try;;
18309 esac
18310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18311 (eval "$ac_compile") 2>conftest.er1
18312 ac_status=$?
18313 grep -v '^ *+' conftest.er1 >conftest.err
18314 rm -f conftest.er1
18315 cat conftest.err >&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } && {
18318 test -z "$ac_c_werror_flag" ||
18319 test ! -s conftest.err
18320 } && test -s conftest.$ac_objext; then
18321 bakefile_cv_c_compiler___DECC=yes
18322 else
18323 echo "$as_me: failed program was:" >&5
18324 sed 's/^/| /' conftest.$ac_ext >&5
18325
18326 bakefile_cv_c_compiler___DECC=no
18327
18328 fi
18329
18330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18331
18332
18333 fi
18334 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18335 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18336 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18337 :; COMPAQCC=yes
18338 else
18339 :;
18340 fi
18341 ac_ext=c
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18346
18347
18348
18349 ;;
18350
18351 SunOS)
18352
18353
18354 ac_ext=c
18355 ac_cpp='$CPP $CPPFLAGS'
18356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18359
18360 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18361 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18362 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18363 echo $ECHO_N "(cached) $ECHO_C" >&6
18364 else
18365 cat >conftest.$ac_ext <<_ACEOF
18366 /* confdefs.h. */
18367 _ACEOF
18368 cat confdefs.h >>conftest.$ac_ext
18369 cat >>conftest.$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18371
18372 int
18373 main ()
18374 {
18375
18376 #ifndef __SUNPRO_C
18377 choke me
18378 #endif
18379
18380 ;
18381 return 0;
18382 }
18383 _ACEOF
18384 rm -f conftest.$ac_objext
18385 if { (ac_try="$ac_compile"
18386 case "(($ac_try" in
18387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18388 *) ac_try_echo=$ac_try;;
18389 esac
18390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18391 (eval "$ac_compile") 2>conftest.er1
18392 ac_status=$?
18393 grep -v '^ *+' conftest.er1 >conftest.err
18394 rm -f conftest.er1
18395 cat conftest.err >&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } && {
18398 test -z "$ac_c_werror_flag" ||
18399 test ! -s conftest.err
18400 } && test -s conftest.$ac_objext; then
18401 bakefile_cv_c_compiler___SUNPRO_C=yes
18402 else
18403 echo "$as_me: failed program was:" >&5
18404 sed 's/^/| /' conftest.$ac_ext >&5
18405
18406 bakefile_cv_c_compiler___SUNPRO_C=no
18407
18408 fi
18409
18410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18411
18412
18413 fi
18414 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18415 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18416 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18417 :; SUNCC=yes
18418 else
18419 :;
18420 fi
18421 ac_ext=c
18422 ac_cpp='$CPP $CPPFLAGS'
18423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18426
18427
18428
18429 ;;
18430 esac
18431 fi
18432
18433
18434
18435 ac_ext=c
18436 ac_cpp='$CPP $CPPFLAGS'
18437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18440 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18441 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18442 # On Suns, sometimes $CPP names a directory.
18443 if test -n "$CPP" && test -d "$CPP"; then
18444 CPP=
18445 fi
18446 if test -z "$CPP"; then
18447 if test "${ac_cv_prog_CPP+set}" = set; then
18448 echo $ECHO_N "(cached) $ECHO_C" >&6
18449 else
18450 # Double quotes because CPP needs to be expanded
18451 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18452 do
18453 ac_preproc_ok=false
18454 for ac_c_preproc_warn_flag in '' yes
18455 do
18456 # Use a header file that comes with gcc, so configuring glibc
18457 # with a fresh cross-compiler works.
18458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18459 # <limits.h> exists even on freestanding compilers.
18460 # On the NeXT, cc -E runs the code through the compiler's parser,
18461 # not just through cpp. "Syntax error" is here to catch this case.
18462 cat >conftest.$ac_ext <<_ACEOF
18463 /* confdefs.h. */
18464 _ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18468 #ifdef __STDC__
18469 # include <limits.h>
18470 #else
18471 # include <assert.h>
18472 #endif
18473 Syntax error
18474 _ACEOF
18475 if { (ac_try="$ac_cpp conftest.$ac_ext"
18476 case "(($ac_try" in
18477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18478 *) ac_try_echo=$ac_try;;
18479 esac
18480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } >/dev/null && {
18488 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18489 test ! -s conftest.err
18490 }; then
18491 :
18492 else
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18495
18496 # Broken: fails on valid input.
18497 continue
18498 fi
18499
18500 rm -f conftest.err conftest.$ac_ext
18501
18502 # OK, works on sane cases. Now check whether nonexistent headers
18503 # can be detected and how.
18504 cat >conftest.$ac_ext <<_ACEOF
18505 /* confdefs.h. */
18506 _ACEOF
18507 cat confdefs.h >>conftest.$ac_ext
18508 cat >>conftest.$ac_ext <<_ACEOF
18509 /* end confdefs.h. */
18510 #include <ac_nonexistent.h>
18511 _ACEOF
18512 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
18525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18526 test ! -s conftest.err
18527 }; then
18528 # Broken: success on invalid input.
18529 continue
18530 else
18531 echo "$as_me: failed program was:" >&5
18532 sed 's/^/| /' conftest.$ac_ext >&5
18533
18534 # Passes both tests.
18535 ac_preproc_ok=:
18536 break
18537 fi
18538
18539 rm -f conftest.err conftest.$ac_ext
18540
18541 done
18542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18543 rm -f conftest.err conftest.$ac_ext
18544 if $ac_preproc_ok; then
18545 break
18546 fi
18547
18548 done
18549 ac_cv_prog_CPP=$CPP
18550
18551 fi
18552 CPP=$ac_cv_prog_CPP
18553 else
18554 ac_cv_prog_CPP=$CPP
18555 fi
18556 { echo "$as_me:$LINENO: result: $CPP" >&5
18557 echo "${ECHO_T}$CPP" >&6; }
18558 ac_preproc_ok=false
18559 for ac_c_preproc_warn_flag in '' yes
18560 do
18561 # Use a header file that comes with gcc, so configuring glibc
18562 # with a fresh cross-compiler works.
18563 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18564 # <limits.h> exists even on freestanding compilers.
18565 # On the NeXT, cc -E runs the code through the compiler's parser,
18566 # not just through cpp. "Syntax error" is here to catch this case.
18567 cat >conftest.$ac_ext <<_ACEOF
18568 /* confdefs.h. */
18569 _ACEOF
18570 cat confdefs.h >>conftest.$ac_ext
18571 cat >>conftest.$ac_ext <<_ACEOF
18572 /* end confdefs.h. */
18573 #ifdef __STDC__
18574 # include <limits.h>
18575 #else
18576 # include <assert.h>
18577 #endif
18578 Syntax error
18579 _ACEOF
18580 if { (ac_try="$ac_cpp conftest.$ac_ext"
18581 case "(($ac_try" in
18582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18583 *) ac_try_echo=$ac_try;;
18584 esac
18585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18587 ac_status=$?
18588 grep -v '^ *+' conftest.er1 >conftest.err
18589 rm -f conftest.er1
18590 cat conftest.err >&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } >/dev/null && {
18593 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18594 test ! -s conftest.err
18595 }; then
18596 :
18597 else
18598 echo "$as_me: failed program was:" >&5
18599 sed 's/^/| /' conftest.$ac_ext >&5
18600
18601 # Broken: fails on valid input.
18602 continue
18603 fi
18604
18605 rm -f conftest.err conftest.$ac_ext
18606
18607 # OK, works on sane cases. Now check whether nonexistent headers
18608 # can be detected and how.
18609 cat >conftest.$ac_ext <<_ACEOF
18610 /* confdefs.h. */
18611 _ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #include <ac_nonexistent.h>
18616 _ACEOF
18617 if { (ac_try="$ac_cpp conftest.$ac_ext"
18618 case "(($ac_try" in
18619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18620 *) ac_try_echo=$ac_try;;
18621 esac
18622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18624 ac_status=$?
18625 grep -v '^ *+' conftest.er1 >conftest.err
18626 rm -f conftest.er1
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } >/dev/null && {
18630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18631 test ! -s conftest.err
18632 }; then
18633 # Broken: success on invalid input.
18634 continue
18635 else
18636 echo "$as_me: failed program was:" >&5
18637 sed 's/^/| /' conftest.$ac_ext >&5
18638
18639 # Passes both tests.
18640 ac_preproc_ok=:
18641 break
18642 fi
18643
18644 rm -f conftest.err conftest.$ac_ext
18645
18646 done
18647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18648 rm -f conftest.err conftest.$ac_ext
18649 if $ac_preproc_ok; then
18650 :
18651 else
18652 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18653 See \`config.log' for more details." >&5
18654 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18655 See \`config.log' for more details." >&2;}
18656 { (exit 1); exit 1; }; }
18657 fi
18658
18659 ac_ext=c
18660 ac_cpp='$CPP $CPPFLAGS'
18661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18664
18665
18666 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18667 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18668 if test "${ac_cv_path_GREP+set}" = set; then
18669 echo $ECHO_N "(cached) $ECHO_C" >&6
18670 else
18671 # Extract the first word of "grep ggrep" to use in msg output
18672 if test -z "$GREP"; then
18673 set dummy grep ggrep; ac_prog_name=$2
18674 if test "${ac_cv_path_GREP+set}" = set; then
18675 echo $ECHO_N "(cached) $ECHO_C" >&6
18676 else
18677 ac_path_GREP_found=false
18678 # Loop through the user's path and test for each of PROGNAME-LIST
18679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18680 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18681 do
18682 IFS=$as_save_IFS
18683 test -z "$as_dir" && as_dir=.
18684 for ac_prog in grep ggrep; do
18685 for ac_exec_ext in '' $ac_executable_extensions; do
18686 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18687 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18688 # Check for GNU ac_path_GREP and select it if it is found.
18689 # Check for GNU $ac_path_GREP
18690 case `"$ac_path_GREP" --version 2>&1` in
18691 *GNU*)
18692 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18693 *)
18694 ac_count=0
18695 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18696 while :
18697 do
18698 cat "conftest.in" "conftest.in" >"conftest.tmp"
18699 mv "conftest.tmp" "conftest.in"
18700 cp "conftest.in" "conftest.nl"
18701 echo 'GREP' >> "conftest.nl"
18702 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18703 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18704 ac_count=`expr $ac_count + 1`
18705 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18706 # Best one so far, save it but keep looking for a better one
18707 ac_cv_path_GREP="$ac_path_GREP"
18708 ac_path_GREP_max=$ac_count
18709 fi
18710 # 10*(2^10) chars as input seems more than enough
18711 test $ac_count -gt 10 && break
18712 done
18713 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18714 esac
18715
18716
18717 $ac_path_GREP_found && break 3
18718 done
18719 done
18720
18721 done
18722 IFS=$as_save_IFS
18723
18724
18725 fi
18726
18727 GREP="$ac_cv_path_GREP"
18728 if test -z "$GREP"; then
18729 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18730 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18731 { (exit 1); exit 1; }; }
18732 fi
18733
18734 else
18735 ac_cv_path_GREP=$GREP
18736 fi
18737
18738
18739 fi
18740 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18741 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18742 GREP="$ac_cv_path_GREP"
18743
18744
18745 { echo "$as_me:$LINENO: checking for egrep" >&5
18746 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18747 if test "${ac_cv_path_EGREP+set}" = set; then
18748 echo $ECHO_N "(cached) $ECHO_C" >&6
18749 else
18750 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18751 then ac_cv_path_EGREP="$GREP -E"
18752 else
18753 # Extract the first word of "egrep" to use in msg output
18754 if test -z "$EGREP"; then
18755 set dummy egrep; ac_prog_name=$2
18756 if test "${ac_cv_path_EGREP+set}" = set; then
18757 echo $ECHO_N "(cached) $ECHO_C" >&6
18758 else
18759 ac_path_EGREP_found=false
18760 # Loop through the user's path and test for each of PROGNAME-LIST
18761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18762 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18763 do
18764 IFS=$as_save_IFS
18765 test -z "$as_dir" && as_dir=.
18766 for ac_prog in egrep; do
18767 for ac_exec_ext in '' $ac_executable_extensions; do
18768 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18769 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18770 # Check for GNU ac_path_EGREP and select it if it is found.
18771 # Check for GNU $ac_path_EGREP
18772 case `"$ac_path_EGREP" --version 2>&1` in
18773 *GNU*)
18774 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18775 *)
18776 ac_count=0
18777 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18778 while :
18779 do
18780 cat "conftest.in" "conftest.in" >"conftest.tmp"
18781 mv "conftest.tmp" "conftest.in"
18782 cp "conftest.in" "conftest.nl"
18783 echo 'EGREP' >> "conftest.nl"
18784 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18785 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18786 ac_count=`expr $ac_count + 1`
18787 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18788 # Best one so far, save it but keep looking for a better one
18789 ac_cv_path_EGREP="$ac_path_EGREP"
18790 ac_path_EGREP_max=$ac_count
18791 fi
18792 # 10*(2^10) chars as input seems more than enough
18793 test $ac_count -gt 10 && break
18794 done
18795 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18796 esac
18797
18798
18799 $ac_path_EGREP_found && break 3
18800 done
18801 done
18802
18803 done
18804 IFS=$as_save_IFS
18805
18806
18807 fi
18808
18809 EGREP="$ac_cv_path_EGREP"
18810 if test -z "$EGREP"; then
18811 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18812 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18813 { (exit 1); exit 1; }; }
18814 fi
18815
18816 else
18817 ac_cv_path_EGREP=$EGREP
18818 fi
18819
18820
18821 fi
18822 fi
18823 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18824 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18825 EGREP="$ac_cv_path_EGREP"
18826
18827
18828 if test $ac_cv_c_compiler_gnu = yes; then
18829 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18830 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18831 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18833 else
18834 ac_pattern="Autoconf.*'x'"
18835 cat >conftest.$ac_ext <<_ACEOF
18836 /* confdefs.h. */
18837 _ACEOF
18838 cat confdefs.h >>conftest.$ac_ext
18839 cat >>conftest.$ac_ext <<_ACEOF
18840 /* end confdefs.h. */
18841 #include <sgtty.h>
18842 Autoconf TIOCGETP
18843 _ACEOF
18844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18845 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18846 ac_cv_prog_gcc_traditional=yes
18847 else
18848 ac_cv_prog_gcc_traditional=no
18849 fi
18850 rm -f conftest*
18851
18852
18853 if test $ac_cv_prog_gcc_traditional = no; then
18854 cat >conftest.$ac_ext <<_ACEOF
18855 /* confdefs.h. */
18856 _ACEOF
18857 cat confdefs.h >>conftest.$ac_ext
18858 cat >>conftest.$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18860 #include <termio.h>
18861 Autoconf TCGETA
18862 _ACEOF
18863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18864 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18865 ac_cv_prog_gcc_traditional=yes
18866 fi
18867 rm -f conftest*
18868
18869 fi
18870 fi
18871 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18872 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18873 if test $ac_cv_prog_gcc_traditional = yes; then
18874 CC="$CC -traditional"
18875 fi
18876 fi
18877
18878
18879 CXXFLAGS=${CXXFLAGS:=}
18880
18881
18882
18883 ac_ext=cpp
18884 ac_cpp='$CXXCPP $CPPFLAGS'
18885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18888 if test -z "$CXX"; then
18889 if test -n "$CCC"; then
18890 CXX=$CCC
18891 else
18892 if test -n "$ac_tool_prefix"; then
18893 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18894 do
18895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18896 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18899 if test "${ac_cv_prog_CXX+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 else
18902 if test -n "$CXX"; then
18903 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18904 else
18905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18906 for as_dir in $PATH
18907 do
18908 IFS=$as_save_IFS
18909 test -z "$as_dir" && as_dir=.
18910 for ac_exec_ext in '' $ac_executable_extensions; do
18911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18912 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18914 break 2
18915 fi
18916 done
18917 done
18918 IFS=$as_save_IFS
18919
18920 fi
18921 fi
18922 CXX=$ac_cv_prog_CXX
18923 if test -n "$CXX"; then
18924 { echo "$as_me:$LINENO: result: $CXX" >&5
18925 echo "${ECHO_T}$CXX" >&6; }
18926 else
18927 { echo "$as_me:$LINENO: result: no" >&5
18928 echo "${ECHO_T}no" >&6; }
18929 fi
18930
18931
18932 test -n "$CXX" && break
18933 done
18934 fi
18935 if test -z "$CXX"; then
18936 ac_ct_CXX=$CXX
18937 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18938 do
18939 # Extract the first word of "$ac_prog", so it can be a program name with args.
18940 set dummy $ac_prog; ac_word=$2
18941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18943 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 else
18946 if test -n "$ac_ct_CXX"; then
18947 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18948 else
18949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18950 for as_dir in $PATH
18951 do
18952 IFS=$as_save_IFS
18953 test -z "$as_dir" && as_dir=.
18954 for ac_exec_ext in '' $ac_executable_extensions; do
18955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18956 ac_cv_prog_ac_ct_CXX="$ac_prog"
18957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18958 break 2
18959 fi
18960 done
18961 done
18962 IFS=$as_save_IFS
18963
18964 fi
18965 fi
18966 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18967 if test -n "$ac_ct_CXX"; then
18968 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18969 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18970 else
18971 { echo "$as_me:$LINENO: result: no" >&5
18972 echo "${ECHO_T}no" >&6; }
18973 fi
18974
18975
18976 test -n "$ac_ct_CXX" && break
18977 done
18978
18979 if test "x$ac_ct_CXX" = x; then
18980 CXX="g++"
18981 else
18982 case $cross_compiling:$ac_tool_warned in
18983 yes:)
18984 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18985 whose name does not start with the host triplet. If you think this
18986 configuration is useful to you, please write to autoconf@gnu.org." >&5
18987 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18988 whose name does not start with the host triplet. If you think this
18989 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18990 ac_tool_warned=yes ;;
18991 esac
18992 CXX=$ac_ct_CXX
18993 fi
18994 fi
18995
18996 fi
18997 fi
18998 # Provide some information about the compiler.
18999 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19000 ac_compiler=`set X $ac_compile; echo $2`
19001 { (ac_try="$ac_compiler --version >&5"
19002 case "(($ac_try" in
19003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19004 *) ac_try_echo=$ac_try;;
19005 esac
19006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19007 (eval "$ac_compiler --version >&5") 2>&5
19008 ac_status=$?
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }
19011 { (ac_try="$ac_compiler -v >&5"
19012 case "(($ac_try" in
19013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19014 *) ac_try_echo=$ac_try;;
19015 esac
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017 (eval "$ac_compiler -v >&5") 2>&5
19018 ac_status=$?
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }
19021 { (ac_try="$ac_compiler -V >&5"
19022 case "(($ac_try" in
19023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19024 *) ac_try_echo=$ac_try;;
19025 esac
19026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19027 (eval "$ac_compiler -V >&5") 2>&5
19028 ac_status=$?
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }
19031
19032 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19033 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19034 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 else
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043
19044 int
19045 main ()
19046 {
19047 #ifndef __GNUC__
19048 choke me
19049 #endif
19050
19051 ;
19052 return 0;
19053 }
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19060 esac
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19063 ac_status=$?
19064 grep -v '^ *+' conftest.er1 >conftest.err
19065 rm -f conftest.er1
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_cxx_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.$ac_objext; then
19072 ac_compiler_gnu=yes
19073 else
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.$ac_ext >&5
19076
19077 ac_compiler_gnu=no
19078 fi
19079
19080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19082
19083 fi
19084 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19085 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19086 GXX=`test $ac_compiler_gnu = yes && echo yes`
19087 ac_test_CXXFLAGS=${CXXFLAGS+set}
19088 ac_save_CXXFLAGS=$CXXFLAGS
19089 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19090 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19091 if test "${ac_cv_prog_cxx_g+set}" = set; then
19092 echo $ECHO_N "(cached) $ECHO_C" >&6
19093 else
19094 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19095 ac_cxx_werror_flag=yes
19096 ac_cv_prog_cxx_g=no
19097 CXXFLAGS="-g"
19098 cat >conftest.$ac_ext <<_ACEOF
19099 /* confdefs.h. */
19100 _ACEOF
19101 cat confdefs.h >>conftest.$ac_ext
19102 cat >>conftest.$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19104
19105 int
19106 main ()
19107 {
19108
19109 ;
19110 return 0;
19111 }
19112 _ACEOF
19113 rm -f conftest.$ac_objext
19114 if { (ac_try="$ac_compile"
19115 case "(($ac_try" in
19116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19117 *) ac_try_echo=$ac_try;;
19118 esac
19119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19120 (eval "$ac_compile") 2>conftest.er1
19121 ac_status=$?
19122 grep -v '^ *+' conftest.er1 >conftest.err
19123 rm -f conftest.er1
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } && {
19127 test -z "$ac_cxx_werror_flag" ||
19128 test ! -s conftest.err
19129 } && test -s conftest.$ac_objext; then
19130 ac_cv_prog_cxx_g=yes
19131 else
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19134
19135 CXXFLAGS=""
19136 cat >conftest.$ac_ext <<_ACEOF
19137 /* confdefs.h. */
19138 _ACEOF
19139 cat confdefs.h >>conftest.$ac_ext
19140 cat >>conftest.$ac_ext <<_ACEOF
19141 /* end confdefs.h. */
19142
19143 int
19144 main ()
19145 {
19146
19147 ;
19148 return 0;
19149 }
19150 _ACEOF
19151 rm -f conftest.$ac_objext
19152 if { (ac_try="$ac_compile"
19153 case "(($ac_try" in
19154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19155 *) ac_try_echo=$ac_try;;
19156 esac
19157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19158 (eval "$ac_compile") 2>conftest.er1
19159 ac_status=$?
19160 grep -v '^ *+' conftest.er1 >conftest.err
19161 rm -f conftest.er1
19162 cat conftest.err >&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } && {
19165 test -z "$ac_cxx_werror_flag" ||
19166 test ! -s conftest.err
19167 } && test -s conftest.$ac_objext; then
19168 :
19169 else
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.$ac_ext >&5
19172
19173 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19174 CXXFLAGS="-g"
19175 cat >conftest.$ac_ext <<_ACEOF
19176 /* confdefs.h. */
19177 _ACEOF
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181
19182 int
19183 main ()
19184 {
19185
19186 ;
19187 return 0;
19188 }
19189 _ACEOF
19190 rm -f conftest.$ac_objext
19191 if { (ac_try="$ac_compile"
19192 case "(($ac_try" in
19193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19194 *) ac_try_echo=$ac_try;;
19195 esac
19196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19197 (eval "$ac_compile") 2>conftest.er1
19198 ac_status=$?
19199 grep -v '^ *+' conftest.er1 >conftest.err
19200 rm -f conftest.er1
19201 cat conftest.err >&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } && {
19204 test -z "$ac_cxx_werror_flag" ||
19205 test ! -s conftest.err
19206 } && test -s conftest.$ac_objext; then
19207 ac_cv_prog_cxx_g=yes
19208 else
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19211
19212
19213 fi
19214
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216 fi
19217
19218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19219 fi
19220
19221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19223 fi
19224 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19225 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19226 if test "$ac_test_CXXFLAGS" = set; then
19227 CXXFLAGS=$ac_save_CXXFLAGS
19228 elif test $ac_cv_prog_cxx_g = yes; then
19229 if test "$GXX" = yes; then
19230 CXXFLAGS="-g -O2"
19231 else
19232 CXXFLAGS="-g"
19233 fi
19234 else
19235 if test "$GXX" = yes; then
19236 CXXFLAGS="-O2"
19237 else
19238 CXXFLAGS=
19239 fi
19240 fi
19241 ac_ext=c
19242 ac_cpp='$CPP $CPPFLAGS'
19243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19246
19247
19248
19249
19250 ac_ext=cpp
19251 ac_cpp='$CXXCPP $CPPFLAGS'
19252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19255
19256 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19257 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19258 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19259 echo $ECHO_N "(cached) $ECHO_C" >&6
19260 else
19261 cat >conftest.$ac_ext <<_ACEOF
19262 /* confdefs.h. */
19263 _ACEOF
19264 cat confdefs.h >>conftest.$ac_ext
19265 cat >>conftest.$ac_ext <<_ACEOF
19266 /* end confdefs.h. */
19267
19268 int
19269 main ()
19270 {
19271
19272 #ifndef __INTEL_COMPILER
19273 choke me
19274 #endif
19275
19276 ;
19277 return 0;
19278 }
19279 _ACEOF
19280 rm -f conftest.$ac_objext
19281 if { (ac_try="$ac_compile"
19282 case "(($ac_try" in
19283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19284 *) ac_try_echo=$ac_try;;
19285 esac
19286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19287 (eval "$ac_compile") 2>conftest.er1
19288 ac_status=$?
19289 grep -v '^ *+' conftest.er1 >conftest.err
19290 rm -f conftest.er1
19291 cat conftest.err >&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } && {
19294 test -z "$ac_cxx_werror_flag" ||
19295 test ! -s conftest.err
19296 } && test -s conftest.$ac_objext; then
19297 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19298 else
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19301
19302 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19303
19304 fi
19305
19306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19307
19308
19309 fi
19310 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19311 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19312 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19313 :; INTELCXX=yes
19314 else
19315 :;
19316 fi
19317 ac_ext=c
19318 ac_cpp='$CPP $CPPFLAGS'
19319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19322
19323
19324
19325
19326 if test "x$GCXX" != "xyes"; then
19327 if test "xCXX" = "xC"; then
19328 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19329 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19330 if test "${bakefile_cv_c_exto+set}" = set; then
19331 echo $ECHO_N "(cached) $ECHO_C" >&6
19332 else
19333 cat >conftest.$ac_ext <<_ACEOF
19334 /* confdefs.h. */
19335 _ACEOF
19336 cat confdefs.h >>conftest.$ac_ext
19337 cat >>conftest.$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19339
19340 int
19341 main ()
19342 {
19343
19344 ;
19345 return 0;
19346 }
19347 _ACEOF
19348 rm -f conftest.$ac_objext conftest.$ac_ext.o
19349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19350 (eval $ac_compile) 2>&5
19351 ac_status=$?
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); }; then
19354 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19355 case $ac_file in
19356 conftest.$ac_ext.o)
19357 bakefile_cv_c_exto="-ext o"
19358 ;;
19359 *)
19360 ;;
19361 esac
19362 done
19363 else
19364 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19365 See \`config.log' for more details." >&5
19366 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19367 See \`config.log' for more details." >&2;}
19368 { (exit 1); exit 1; }; }
19369
19370 fi
19371
19372 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19373
19374 fi
19375 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19376 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19377 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19378 if test "c" = "c"; then
19379 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19380 fi
19381 if test "c" = "cxx"; then
19382 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19383 fi
19384 fi
19385
19386 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19387 unset ac_cv_prog_cc_g
19388 ac_test_CFLAGS=${CFLAGS+set}
19389 ac_save_CFLAGS=$CFLAGS
19390 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19391 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19392 if test "${ac_cv_prog_cc_g+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 else
19395 ac_save_c_werror_flag=$ac_c_werror_flag
19396 ac_c_werror_flag=yes
19397 ac_cv_prog_cc_g=no
19398 CFLAGS="-g"
19399 cat >conftest.$ac_ext <<_ACEOF
19400 /* confdefs.h. */
19401 _ACEOF
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19405
19406 int
19407 main ()
19408 {
19409
19410 ;
19411 return 0;
19412 }
19413 _ACEOF
19414 rm -f conftest.$ac_objext
19415 if { (ac_try="$ac_compile"
19416 case "(($ac_try" in
19417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19418 *) ac_try_echo=$ac_try;;
19419 esac
19420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19421 (eval "$ac_compile") 2>conftest.er1
19422 ac_status=$?
19423 grep -v '^ *+' conftest.er1 >conftest.err
19424 rm -f conftest.er1
19425 cat conftest.err >&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); } && {
19428 test -z "$ac_c_werror_flag" ||
19429 test ! -s conftest.err
19430 } && test -s conftest.$ac_objext; then
19431 ac_cv_prog_cc_g=yes
19432 else
19433 echo "$as_me: failed program was:" >&5
19434 sed 's/^/| /' conftest.$ac_ext >&5
19435
19436 CFLAGS=""
19437 cat >conftest.$ac_ext <<_ACEOF
19438 /* confdefs.h. */
19439 _ACEOF
19440 cat confdefs.h >>conftest.$ac_ext
19441 cat >>conftest.$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19443
19444 int
19445 main ()
19446 {
19447
19448 ;
19449 return 0;
19450 }
19451 _ACEOF
19452 rm -f conftest.$ac_objext
19453 if { (ac_try="$ac_compile"
19454 case "(($ac_try" in
19455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19456 *) ac_try_echo=$ac_try;;
19457 esac
19458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19459 (eval "$ac_compile") 2>conftest.er1
19460 ac_status=$?
19461 grep -v '^ *+' conftest.er1 >conftest.err
19462 rm -f conftest.er1
19463 cat conftest.err >&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } && {
19466 test -z "$ac_c_werror_flag" ||
19467 test ! -s conftest.err
19468 } && test -s conftest.$ac_objext; then
19469 :
19470 else
19471 echo "$as_me: failed program was:" >&5
19472 sed 's/^/| /' conftest.$ac_ext >&5
19473
19474 ac_c_werror_flag=$ac_save_c_werror_flag
19475 CFLAGS="-g"
19476 cat >conftest.$ac_ext <<_ACEOF
19477 /* confdefs.h. */
19478 _ACEOF
19479 cat confdefs.h >>conftest.$ac_ext
19480 cat >>conftest.$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19482
19483 int
19484 main ()
19485 {
19486
19487 ;
19488 return 0;
19489 }
19490 _ACEOF
19491 rm -f conftest.$ac_objext
19492 if { (ac_try="$ac_compile"
19493 case "(($ac_try" in
19494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19495 *) ac_try_echo=$ac_try;;
19496 esac
19497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19498 (eval "$ac_compile") 2>conftest.er1
19499 ac_status=$?
19500 grep -v '^ *+' conftest.er1 >conftest.err
19501 rm -f conftest.er1
19502 cat conftest.err >&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } && {
19505 test -z "$ac_c_werror_flag" ||
19506 test ! -s conftest.err
19507 } && test -s conftest.$ac_objext; then
19508 ac_cv_prog_cc_g=yes
19509 else
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.$ac_ext >&5
19512
19513
19514 fi
19515
19516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19517 fi
19518
19519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19520 fi
19521
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523 ac_c_werror_flag=$ac_save_c_werror_flag
19524 fi
19525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19526 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19527 if test "$ac_test_CFLAGS" = set; then
19528 CFLAGS=$ac_save_CFLAGS
19529 elif test $ac_cv_prog_cc_g = yes; then
19530 if test "$GCC" = yes; then
19531 CFLAGS="-g -O2"
19532 else
19533 CFLAGS="-g"
19534 fi
19535 else
19536 if test "$GCC" = yes; then
19537 CFLAGS="-O2"
19538 else
19539 CFLAGS=
19540 fi
19541 fi
19542 fi
19543 fi
19544
19545 case `uname -s` in
19546 AIX*)
19547
19548
19549 ac_ext=cpp
19550 ac_cpp='$CXXCPP $CPPFLAGS'
19551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19554
19555 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19556 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19557 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19558 echo $ECHO_N "(cached) $ECHO_C" >&6
19559 else
19560 cat >conftest.$ac_ext <<_ACEOF
19561 /* confdefs.h. */
19562 _ACEOF
19563 cat confdefs.h >>conftest.$ac_ext
19564 cat >>conftest.$ac_ext <<_ACEOF
19565 /* end confdefs.h. */
19566
19567 int
19568 main ()
19569 {
19570
19571 #ifndef __xlC__
19572 choke me
19573 #endif
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_cxx_werror_flag" ||
19594 test ! -s conftest.err
19595 } && test -s conftest.$ac_objext; then
19596 bakefile_cv_cxx_compiler___xlC__=yes
19597 else
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.$ac_ext >&5
19600
19601 bakefile_cv_cxx_compiler___xlC__=no
19602
19603 fi
19604
19605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19606
19607
19608 fi
19609 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19610 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19611 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19612 :; XLCXX=yes
19613 else
19614 :;
19615 fi
19616 ac_ext=c
19617 ac_cpp='$CPP $CPPFLAGS'
19618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19621
19622
19623
19624 ;;
19625
19626 Darwin)
19627
19628
19629 ac_ext=cpp
19630 ac_cpp='$CXXCPP $CPPFLAGS'
19631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19634
19635 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19636 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19637 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19639 else
19640 cat >conftest.$ac_ext <<_ACEOF
19641 /* confdefs.h. */
19642 _ACEOF
19643 cat confdefs.h >>conftest.$ac_ext
19644 cat >>conftest.$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19646
19647 int
19648 main ()
19649 {
19650
19651 #ifndef __MWERKS__
19652 choke me
19653 #endif
19654
19655 ;
19656 return 0;
19657 }
19658 _ACEOF
19659 rm -f conftest.$ac_objext
19660 if { (ac_try="$ac_compile"
19661 case "(($ac_try" in
19662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19663 *) ac_try_echo=$ac_try;;
19664 esac
19665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19666 (eval "$ac_compile") 2>conftest.er1
19667 ac_status=$?
19668 grep -v '^ *+' conftest.er1 >conftest.err
19669 rm -f conftest.er1
19670 cat conftest.err >&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } && {
19673 test -z "$ac_cxx_werror_flag" ||
19674 test ! -s conftest.err
19675 } && test -s conftest.$ac_objext; then
19676 bakefile_cv_cxx_compiler___MWERKS__=yes
19677 else
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19680
19681 bakefile_cv_cxx_compiler___MWERKS__=no
19682
19683 fi
19684
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19686
19687
19688 fi
19689 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19690 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19691 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19692 :; MWCXX=yes
19693 else
19694 :;
19695 fi
19696 ac_ext=c
19697 ac_cpp='$CPP $CPPFLAGS'
19698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19701
19702
19703
19704
19705
19706 ac_ext=cpp
19707 ac_cpp='$CXXCPP $CPPFLAGS'
19708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19711
19712 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19713 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19714 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19716 else
19717 cat >conftest.$ac_ext <<_ACEOF
19718 /* confdefs.h. */
19719 _ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723
19724 int
19725 main ()
19726 {
19727
19728 #ifndef __xlC__
19729 choke me
19730 #endif
19731
19732 ;
19733 return 0;
19734 }
19735 _ACEOF
19736 rm -f conftest.$ac_objext
19737 if { (ac_try="$ac_compile"
19738 case "(($ac_try" in
19739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19740 *) ac_try_echo=$ac_try;;
19741 esac
19742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19743 (eval "$ac_compile") 2>conftest.er1
19744 ac_status=$?
19745 grep -v '^ *+' conftest.er1 >conftest.err
19746 rm -f conftest.er1
19747 cat conftest.err >&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); } && {
19750 test -z "$ac_cxx_werror_flag" ||
19751 test ! -s conftest.err
19752 } && test -s conftest.$ac_objext; then
19753 bakefile_cv_cxx_compiler___xlC__=yes
19754 else
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.$ac_ext >&5
19757
19758 bakefile_cv_cxx_compiler___xlC__=no
19759
19760 fi
19761
19762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19763
19764
19765 fi
19766 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19767 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19768 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19769 :; XLCXX=yes
19770 else
19771 :;
19772 fi
19773 ac_ext=c
19774 ac_cpp='$CPP $CPPFLAGS'
19775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19778
19779
19780
19781 ;;
19782
19783 IRIX*)
19784
19785
19786 ac_ext=cpp
19787 ac_cpp='$CXXCPP $CPPFLAGS'
19788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19791
19792 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19793 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19794 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19795 echo $ECHO_N "(cached) $ECHO_C" >&6
19796 else
19797 cat >conftest.$ac_ext <<_ACEOF
19798 /* confdefs.h. */
19799 _ACEOF
19800 cat confdefs.h >>conftest.$ac_ext
19801 cat >>conftest.$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19803
19804 int
19805 main ()
19806 {
19807
19808 #ifndef _SGI_COMPILER_VERSION
19809 choke me
19810 #endif
19811
19812 ;
19813 return 0;
19814 }
19815 _ACEOF
19816 rm -f conftest.$ac_objext
19817 if { (ac_try="$ac_compile"
19818 case "(($ac_try" in
19819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19820 *) ac_try_echo=$ac_try;;
19821 esac
19822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19823 (eval "$ac_compile") 2>conftest.er1
19824 ac_status=$?
19825 grep -v '^ *+' conftest.er1 >conftest.err
19826 rm -f conftest.er1
19827 cat conftest.err >&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } && {
19830 test -z "$ac_cxx_werror_flag" ||
19831 test ! -s conftest.err
19832 } && test -s conftest.$ac_objext; then
19833 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19834 else
19835 echo "$as_me: failed program was:" >&5
19836 sed 's/^/| /' conftest.$ac_ext >&5
19837
19838 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19839
19840 fi
19841
19842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19843
19844
19845 fi
19846 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19847 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19848 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19849 :; SGICXX=yes
19850 else
19851 :;
19852 fi
19853 ac_ext=c
19854 ac_cpp='$CPP $CPPFLAGS'
19855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19858
19859
19860
19861 ;;
19862
19863 Linux*)
19864
19865
19866 ac_ext=cpp
19867 ac_cpp='$CXXCPP $CPPFLAGS'
19868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19871
19872 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19873 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19874 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19875 echo $ECHO_N "(cached) $ECHO_C" >&6
19876 else
19877 cat >conftest.$ac_ext <<_ACEOF
19878 /* confdefs.h. */
19879 _ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19883
19884 int
19885 main ()
19886 {
19887
19888 #ifndef __SUNPRO_CC
19889 choke me
19890 #endif
19891
19892 ;
19893 return 0;
19894 }
19895 _ACEOF
19896 rm -f conftest.$ac_objext
19897 if { (ac_try="$ac_compile"
19898 case "(($ac_try" in
19899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19900 *) ac_try_echo=$ac_try;;
19901 esac
19902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19903 (eval "$ac_compile") 2>conftest.er1
19904 ac_status=$?
19905 grep -v '^ *+' conftest.er1 >conftest.err
19906 rm -f conftest.er1
19907 cat conftest.err >&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); } && {
19910 test -z "$ac_cxx_werror_flag" ||
19911 test ! -s conftest.err
19912 } && test -s conftest.$ac_objext; then
19913 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19914 else
19915 echo "$as_me: failed program was:" >&5
19916 sed 's/^/| /' conftest.$ac_ext >&5
19917
19918 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19919
19920 fi
19921
19922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19923
19924
19925 fi
19926 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19927 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19928 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19929 :; SUNCXX=yes
19930 else
19931 :;
19932 fi
19933 ac_ext=c
19934 ac_cpp='$CPP $CPPFLAGS'
19935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19938
19939
19940
19941 ;;
19942
19943 HP-UX*)
19944
19945
19946 ac_ext=cpp
19947 ac_cpp='$CXXCPP $CPPFLAGS'
19948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19951
19952 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19953 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19954 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19955 echo $ECHO_N "(cached) $ECHO_C" >&6
19956 else
19957 cat >conftest.$ac_ext <<_ACEOF
19958 /* confdefs.h. */
19959 _ACEOF
19960 cat confdefs.h >>conftest.$ac_ext
19961 cat >>conftest.$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19963
19964 int
19965 main ()
19966 {
19967
19968 #ifndef __HP_aCC
19969 choke me
19970 #endif
19971
19972 ;
19973 return 0;
19974 }
19975 _ACEOF
19976 rm -f conftest.$ac_objext
19977 if { (ac_try="$ac_compile"
19978 case "(($ac_try" in
19979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19980 *) ac_try_echo=$ac_try;;
19981 esac
19982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19983 (eval "$ac_compile") 2>conftest.er1
19984 ac_status=$?
19985 grep -v '^ *+' conftest.er1 >conftest.err
19986 rm -f conftest.er1
19987 cat conftest.err >&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); } && {
19990 test -z "$ac_cxx_werror_flag" ||
19991 test ! -s conftest.err
19992 } && test -s conftest.$ac_objext; then
19993 bakefile_cv_cxx_compiler___HP_aCC=yes
19994 else
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.$ac_ext >&5
19997
19998 bakefile_cv_cxx_compiler___HP_aCC=no
19999
20000 fi
20001
20002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003
20004
20005 fi
20006 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20007 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20008 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20009 :; HPCXX=yes
20010 else
20011 :;
20012 fi
20013 ac_ext=c
20014 ac_cpp='$CPP $CPPFLAGS'
20015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20018
20019
20020
20021 ;;
20022
20023 OSF1)
20024
20025
20026 ac_ext=cpp
20027 ac_cpp='$CXXCPP $CPPFLAGS'
20028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20031
20032 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20033 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20034 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20035 echo $ECHO_N "(cached) $ECHO_C" >&6
20036 else
20037 cat >conftest.$ac_ext <<_ACEOF
20038 /* confdefs.h. */
20039 _ACEOF
20040 cat confdefs.h >>conftest.$ac_ext
20041 cat >>conftest.$ac_ext <<_ACEOF
20042 /* end confdefs.h. */
20043
20044 int
20045 main ()
20046 {
20047
20048 #ifndef __DECCXX
20049 choke me
20050 #endif
20051
20052 ;
20053 return 0;
20054 }
20055 _ACEOF
20056 rm -f conftest.$ac_objext
20057 if { (ac_try="$ac_compile"
20058 case "(($ac_try" in
20059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20060 *) ac_try_echo=$ac_try;;
20061 esac
20062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20063 (eval "$ac_compile") 2>conftest.er1
20064 ac_status=$?
20065 grep -v '^ *+' conftest.er1 >conftest.err
20066 rm -f conftest.er1
20067 cat conftest.err >&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); } && {
20070 test -z "$ac_cxx_werror_flag" ||
20071 test ! -s conftest.err
20072 } && test -s conftest.$ac_objext; then
20073 bakefile_cv_cxx_compiler___DECCXX=yes
20074 else
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.$ac_ext >&5
20077
20078 bakefile_cv_cxx_compiler___DECCXX=no
20079
20080 fi
20081
20082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20083
20084
20085 fi
20086 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20087 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20088 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20089 :; COMPAQCXX=yes
20090 else
20091 :;
20092 fi
20093 ac_ext=c
20094 ac_cpp='$CPP $CPPFLAGS'
20095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20098
20099
20100
20101 ;;
20102
20103 SunOS)
20104
20105
20106 ac_ext=cpp
20107 ac_cpp='$CXXCPP $CPPFLAGS'
20108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20111
20112 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20113 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20114 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20115 echo $ECHO_N "(cached) $ECHO_C" >&6
20116 else
20117 cat >conftest.$ac_ext <<_ACEOF
20118 /* confdefs.h. */
20119 _ACEOF
20120 cat confdefs.h >>conftest.$ac_ext
20121 cat >>conftest.$ac_ext <<_ACEOF
20122 /* end confdefs.h. */
20123
20124 int
20125 main ()
20126 {
20127
20128 #ifndef __SUNPRO_CC
20129 choke me
20130 #endif
20131
20132 ;
20133 return 0;
20134 }
20135 _ACEOF
20136 rm -f conftest.$ac_objext
20137 if { (ac_try="$ac_compile"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20141 esac
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_compile") 2>conftest.er1
20144 ac_status=$?
20145 grep -v '^ *+' conftest.er1 >conftest.err
20146 rm -f conftest.er1
20147 cat conftest.err >&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_cxx_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest.$ac_objext; then
20153 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20154 else
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20157
20158 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20159
20160 fi
20161
20162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20163
20164
20165 fi
20166 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20167 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20168 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20169 :; SUNCXX=yes
20170 else
20171 :;
20172 fi
20173 ac_ext=c
20174 ac_cpp='$CPP $CPPFLAGS'
20175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20178
20179
20180
20181 ;;
20182 esac
20183 fi
20184
20185
20186
20187 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20188 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20189 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20190 { (exit 1); exit 1; }; }
20191 fi
20192
20193 if test "x$SUNCXX" != xyes; then
20194 if test -n "$ac_tool_prefix"; then
20195 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20196 set dummy ${ac_tool_prefix}ar; ac_word=$2
20197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20199 if test "${ac_cv_prog_AR+set}" = set; then
20200 echo $ECHO_N "(cached) $ECHO_C" >&6
20201 else
20202 if test -n "$AR"; then
20203 ac_cv_prog_AR="$AR" # Let the user override the test.
20204 else
20205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20206 for as_dir in $PATH
20207 do
20208 IFS=$as_save_IFS
20209 test -z "$as_dir" && as_dir=.
20210 for ac_exec_ext in '' $ac_executable_extensions; do
20211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20212 ac_cv_prog_AR="${ac_tool_prefix}ar"
20213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20214 break 2
20215 fi
20216 done
20217 done
20218 IFS=$as_save_IFS
20219
20220 fi
20221 fi
20222 AR=$ac_cv_prog_AR
20223 if test -n "$AR"; then
20224 { echo "$as_me:$LINENO: result: $AR" >&5
20225 echo "${ECHO_T}$AR" >&6; }
20226 else
20227 { echo "$as_me:$LINENO: result: no" >&5
20228 echo "${ECHO_T}no" >&6; }
20229 fi
20230
20231
20232 fi
20233 if test -z "$ac_cv_prog_AR"; then
20234 ac_ct_AR=$AR
20235 # Extract the first word of "ar", so it can be a program name with args.
20236 set dummy ar; ac_word=$2
20237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20239 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20241 else
20242 if test -n "$ac_ct_AR"; then
20243 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20244 else
20245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20246 for as_dir in $PATH
20247 do
20248 IFS=$as_save_IFS
20249 test -z "$as_dir" && as_dir=.
20250 for ac_exec_ext in '' $ac_executable_extensions; do
20251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20252 ac_cv_prog_ac_ct_AR="ar"
20253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20254 break 2
20255 fi
20256 done
20257 done
20258 IFS=$as_save_IFS
20259
20260 fi
20261 fi
20262 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20263 if test -n "$ac_ct_AR"; then
20264 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20265 echo "${ECHO_T}$ac_ct_AR" >&6; }
20266 else
20267 { echo "$as_me:$LINENO: result: no" >&5
20268 echo "${ECHO_T}no" >&6; }
20269 fi
20270
20271 if test "x$ac_ct_AR" = x; then
20272 AR=""
20273 else
20274 case $cross_compiling:$ac_tool_warned in
20275 yes:)
20276 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20277 whose name does not start with the host triplet. If you think this
20278 configuration is useful to you, please write to autoconf@gnu.org." >&5
20279 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20280 whose name does not start with the host triplet. If you think this
20281 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20282 ac_tool_warned=yes ;;
20283 esac
20284 AR=$ac_ct_AR
20285 fi
20286 else
20287 AR="$ac_cv_prog_AR"
20288 fi
20289
20290 if test "x$AR" = "x" ; then
20291 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20292 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20293 { (exit 1); exit 1; }; }
20294 fi
20295 fi
20296
20297 retest_macosx_linking=no
20298
20299 #if test "$wxUSE_MAC" = 1; then
20300 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20301 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20302 # Implicitly turn on the new --with-macosx-sdk using the default
20303 # SDK which provides the behavior this option has always had.
20304 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20305 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20306 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20307 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20308 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20309 wxUSE_MACOSX_SDK=yes
20310 fi
20311 else
20312 # Complain to user if he specified an argument to --enable-universal_binary
20313 # and also 1) specified --with-macosx-sdk using the default (yes) or
20314 # 2) specified --with-macosx-sdk using a path or 3) specified
20315 # --without-macosx-sdk (no).
20316 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20317 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20318 See \`config.log' for more details." >&5
20319 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20320 See \`config.log' for more details." >&2;}
20321 { (exit 1); exit 1; }; }
20322 else
20323 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20324 # special-case the empty string because the below test simply
20325 # converts "no" to the empty string anyway.
20326 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20327 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20328 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20329 fi
20330 fi
20331 OSX_UNIV_OPTS="-arch ppc -arch i386"
20332 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20333 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20334 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20335 retest_macosx_linking=yes
20336
20337 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20338 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20339 bk_use_pch=no
20340 fi
20341 #fi
20342
20343 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20344 wxUSE_MACOSX_SDK=
20345 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20346 # TODO: Search for most recent SDK and use it.
20347 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20348 fi
20349
20350
20351 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20352 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20353 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20354 if ! test -d "$wxUSE_MACOSX_SDK"; then
20355 { { echo "$as_me:$LINENO: error: not found
20356 See \`config.log' for more details." >&5
20357 echo "$as_me: error: not found
20358 See \`config.log' for more details." >&2;}
20359 { (exit 1); exit 1; }; }
20360 else
20361 { echo "$as_me:$LINENO: result: exists" >&5
20362 echo "${ECHO_T}exists" >&6; }
20363 fi
20364 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20365 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20366 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20367 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20368 retest_macosx_linking=yes
20369 fi
20370
20371 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20372 wxUSE_MACOSX_VERSION_MIN=
20373 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20374 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20375 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20376 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20377
20378 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/'`
20379
20380 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20381 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20382 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20383 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20384 else
20385 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20386 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20387 wxUSE_MACOSX_VERSION_MIN=
20388 fi
20389 else
20390 wxUSE_MACOSX_VERSION_MIN=
20391 fi
20392 fi
20393
20394 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20395 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20396 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20397 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20398 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20399 retest_macosx_linking=yes
20400 fi
20401
20402 if test "x$retest_macosx_linking" = "xyes"; then
20403 ac_ext=c
20404 ac_cpp='$CPP $CPPFLAGS'
20405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20408
20409 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20410 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20411 cat >conftest.$ac_ext <<_ACEOF
20412 /* confdefs.h. */
20413 _ACEOF
20414 cat confdefs.h >>conftest.$ac_ext
20415 cat >>conftest.$ac_ext <<_ACEOF
20416 /* end confdefs.h. */
20417
20418 int
20419 main ()
20420 {
20421
20422 ;
20423 return 0;
20424 }
20425 _ACEOF
20426 rm -f conftest.$ac_objext conftest$ac_exeext
20427 if { (ac_try="$ac_link"
20428 case "(($ac_try" in
20429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20430 *) ac_try_echo=$ac_try;;
20431 esac
20432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20433 (eval "$ac_link") 2>conftest.er1
20434 ac_status=$?
20435 grep -v '^ *+' conftest.er1 >conftest.err
20436 rm -f conftest.er1
20437 cat conftest.err >&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); } && {
20440 test -z "$ac_c_werror_flag" ||
20441 test ! -s conftest.err
20442 } && test -s conftest$ac_exeext &&
20443 $as_test_x conftest$ac_exeext; then
20444 { echo "$as_me:$LINENO: result: yes" >&5
20445 echo "${ECHO_T}yes" >&6; }
20446 else
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.$ac_ext >&5
20449
20450 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20451 See \`config.log' for more details." >&5
20452 echo "$as_me: error: no. Try a different SDK
20453 See \`config.log' for more details." >&2;}
20454 { (exit 1); exit 1; }; }; exit 1
20455 fi
20456
20457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20458 conftest$ac_exeext conftest.$ac_ext
20459 ac_ext=c
20460 ac_cpp='$CPP $CPPFLAGS'
20461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20464
20465
20466 ac_ext=cpp
20467 ac_cpp='$CXXCPP $CPPFLAGS'
20468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20471
20472 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20473 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20474 cat >conftest.$ac_ext <<_ACEOF
20475 /* confdefs.h. */
20476 _ACEOF
20477 cat confdefs.h >>conftest.$ac_ext
20478 cat >>conftest.$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480
20481 int
20482 main ()
20483 {
20484
20485 ;
20486 return 0;
20487 }
20488 _ACEOF
20489 rm -f conftest.$ac_objext conftest$ac_exeext
20490 if { (ac_try="$ac_link"
20491 case "(($ac_try" in
20492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20493 *) ac_try_echo=$ac_try;;
20494 esac
20495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20496 (eval "$ac_link") 2>conftest.er1
20497 ac_status=$?
20498 grep -v '^ *+' conftest.er1 >conftest.err
20499 rm -f conftest.er1
20500 cat conftest.err >&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); } && {
20503 test -z "$ac_cxx_werror_flag" ||
20504 test ! -s conftest.err
20505 } && test -s conftest$ac_exeext &&
20506 $as_test_x conftest$ac_exeext; then
20507 { echo "$as_me:$LINENO: result: yes" >&5
20508 echo "${ECHO_T}yes" >&6; }
20509 else
20510 echo "$as_me: failed program was:" >&5
20511 sed 's/^/| /' conftest.$ac_ext >&5
20512
20513 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20514 See \`config.log' for more details." >&5
20515 echo "$as_me: error: no. Try a different SDK
20516 See \`config.log' for more details." >&2;}
20517 { (exit 1); exit 1; }; }; exit 1
20518 fi
20519
20520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20521 conftest$ac_exeext conftest.$ac_ext
20522 ac_ext=c
20523 ac_cpp='$CPP $CPPFLAGS'
20524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20527
20528 fi
20529
20530
20531 case "${host}" in
20532
20533 *-*-darwin* )
20534 INSTALL_PROGRAM="cp -fp"
20535 INSTALL_DATA="cp -fp"
20536 ;;
20537 *)
20538 ;;
20539 esac
20540
20541
20542 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20543 CXXFLAGS="-qunique $CXXFLAGS"
20544 fi
20545
20546 case "${host}" in
20547 powerpc-*-darwin* )
20548 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20549 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20550 cat >conftest.$ac_ext <<_ACEOF
20551 /* confdefs.h. */
20552 _ACEOF
20553 cat confdefs.h >>conftest.$ac_ext
20554 cat >>conftest.$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20556
20557 int
20558 main ()
20559 {
20560 #ifndef __POWERPC__
20561 choke me for lack of PowerPC
20562 #endif
20563
20564 ;
20565 return 0;
20566 }
20567 _ACEOF
20568 rm -f conftest.$ac_objext
20569 if { (ac_try="$ac_compile"
20570 case "(($ac_try" in
20571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20572 *) ac_try_echo=$ac_try;;
20573 esac
20574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20575 (eval "$ac_compile") 2>conftest.er1
20576 ac_status=$?
20577 grep -v '^ *+' conftest.er1 >conftest.err
20578 rm -f conftest.er1
20579 cat conftest.err >&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } && {
20582 test -z "$ac_c_werror_flag" ||
20583 test ! -s conftest.err
20584 } && test -s conftest.$ac_objext; then
20585 { echo "$as_me:$LINENO: result: yes" >&5
20586 echo "${ECHO_T}yes" >&6; }
20587 else
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20590
20591 { echo "$as_me:$LINENO: result: no" >&5
20592 echo "${ECHO_T}no" >&6; }
20593 cat >>confdefs.h <<\_ACEOF
20594 #define __POWERPC__ 1
20595 _ACEOF
20596
20597
20598 fi
20599
20600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20601 ;;
20602 esac
20603
20604 case "${host}" in
20605 *-*-darwin* )
20606 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20607 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $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 #include <CoreFoundation/CFBase.h>
20615
20616 int
20617 main ()
20618 {
20619
20620 ;
20621 return 0;
20622 }
20623 _ACEOF
20624 rm -f conftest.$ac_objext
20625 if { (ac_try="$ac_compile"
20626 case "(($ac_try" in
20627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20628 *) ac_try_echo=$ac_try;;
20629 esac
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_compile") 2>conftest.er1
20632 ac_status=$?
20633 grep -v '^ *+' conftest.er1 >conftest.err
20634 rm -f conftest.er1
20635 cat conftest.err >&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } && {
20638 test -z "$ac_c_werror_flag" ||
20639 test ! -s conftest.err
20640 } && test -s conftest.$ac_objext; 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: result: no" >&5
20648 echo "${ECHO_T}no" >&6; }
20649 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20650 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20651 cat >conftest.$ac_ext <<_ACEOF
20652 /* confdefs.h. */
20653 _ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20657 #define __CF_USE_FRAMEWORK_INCLUDES__
20658 #include <CoreFoundation/CFBase.h>
20659
20660 int
20661 main ()
20662 {
20663
20664 ;
20665 return 0;
20666 }
20667 _ACEOF
20668 rm -f conftest.$ac_objext
20669 if { (ac_try="$ac_compile"
20670 case "(($ac_try" in
20671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20672 *) ac_try_echo=$ac_try;;
20673 esac
20674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20675 (eval "$ac_compile") 2>conftest.er1
20676 ac_status=$?
20677 grep -v '^ *+' conftest.er1 >conftest.err
20678 rm -f conftest.er1
20679 cat conftest.err >&5
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); } && {
20682 test -z "$ac_c_werror_flag" ||
20683 test ! -s conftest.err
20684 } && test -s conftest.$ac_objext; then
20685 { echo "$as_me:$LINENO: result: yes" >&5
20686 echo "${ECHO_T}yes" >&6; }
20687 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20688 else
20689 echo "$as_me: failed program was:" >&5
20690 sed 's/^/| /' conftest.$ac_ext >&5
20691
20692 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20693 See \`config.log' for more details." >&5
20694 echo "$as_me: error: no. CoreFoundation not available.
20695 See \`config.log' for more details." >&2;}
20696 { (exit 1); exit 1; }; }
20697
20698 fi
20699
20700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20701
20702
20703 fi
20704
20705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20706 ;;
20707 esac
20708
20709 wants_win32=0
20710 doesnt_want_win32=0
20711 case "${host}" in
20712 *-*-cygwin*)
20713 if test "$wxUSE_MSW" = 1 ; then
20714 wants_win32=1
20715 else
20716 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20717 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20718 if test "${wx_cv_nocygwin+set}" = set; then
20719 echo $ECHO_N "(cached) $ECHO_C" >&6
20720 else
20721
20722 cat >conftest.$ac_ext <<_ACEOF
20723 /* confdefs.h. */
20724 _ACEOF
20725 cat confdefs.h >>conftest.$ac_ext
20726 cat >>conftest.$ac_ext <<_ACEOF
20727 /* end confdefs.h. */
20728
20729 int
20730 main ()
20731 {
20732
20733 #ifdef __MINGW32__
20734 choke me
20735 #endif
20736
20737 ;
20738 return 0;
20739 }
20740 _ACEOF
20741 rm -f conftest.$ac_objext
20742 if { (ac_try="$ac_compile"
20743 case "(($ac_try" in
20744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20745 *) ac_try_echo=$ac_try;;
20746 esac
20747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20748 (eval "$ac_compile") 2>conftest.er1
20749 ac_status=$?
20750 grep -v '^ *+' conftest.er1 >conftest.err
20751 rm -f conftest.er1
20752 cat conftest.err >&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } && {
20755 test -z "$ac_c_werror_flag" ||
20756 test ! -s conftest.err
20757 } && test -s conftest.$ac_objext; then
20758 wx_cv_nocygwin=no
20759 else
20760 echo "$as_me: failed program was:" >&5
20761 sed 's/^/| /' conftest.$ac_ext >&5
20762
20763 wx_cv_nocygwin=yes
20764
20765 fi
20766
20767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20768
20769
20770 fi
20771 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20772 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20773
20774 if test "$wx_cv_nocygwin" = "yes"; then
20775 wants_win32=1
20776 else
20777 doesnt_want_win32=1
20778 fi
20779 fi
20780 if test "$wants_win32" = 1 ; then
20781 BAKEFILE_FORCE_PLATFORM=win32
20782 fi
20783 ;;
20784 *-*-mingw*)
20785 wants_win32=1
20786 ;;
20787 esac
20788
20789 if test "$wxUSE_WINE" = "yes"; then
20790 wants_win32=1
20791 LDFLAGS_GUI="-mwindows"
20792 fi
20793
20794 if test "$wants_win32" = 1 ; then
20795 USE_UNIX=0
20796 USE_WIN32=1
20797 cat >>confdefs.h <<\_ACEOF
20798 #define __WIN32__ 1
20799 _ACEOF
20800
20801 cat >>confdefs.h <<\_ACEOF
20802 #define __WIN95__ 1
20803 _ACEOF
20804
20805 cat >>confdefs.h <<\_ACEOF
20806 #define __WINDOWS__ 1
20807 _ACEOF
20808
20809 cat >>confdefs.h <<\_ACEOF
20810 #define __GNUWIN32__ 1
20811 _ACEOF
20812
20813 cat >>confdefs.h <<\_ACEOF
20814 #define STRICT 1
20815 _ACEOF
20816
20817 fi
20818 if test "$doesnt_want_win32" = 1 ; then
20819 USE_UNIX=1
20820 USE_WIN32=0
20821 fi
20822
20823 if test "$USE_UNIX" = 1 ; then
20824 wxUSE_UNIX=yes
20825 cat >>confdefs.h <<\_ACEOF
20826 #define __UNIX__ 1
20827 _ACEOF
20828
20829 fi
20830
20831 case "${host}" in
20832 *-pc-os2_emx | *-pc-os2-emx )
20833 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20834 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20835 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20836 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20837 echo $ECHO_N "(cached) $ECHO_C" >&6
20838 else
20839 ac_check_lib_save_LIBS=$LIBS
20840 LIBS="-lcExt $LIBS"
20841 cat >conftest.$ac_ext <<_ACEOF
20842 /* confdefs.h. */
20843 _ACEOF
20844 cat confdefs.h >>conftest.$ac_ext
20845 cat >>conftest.$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20847
20848 /* Override any GCC internal prototype to avoid an error.
20849 Use char because int might match the return type of a GCC
20850 builtin and then its argument prototype would still apply. */
20851 #ifdef __cplusplus
20852 extern "C"
20853 #endif
20854 char drand48 ();
20855 int
20856 main ()
20857 {
20858 return drand48 ();
20859 ;
20860 return 0;
20861 }
20862 _ACEOF
20863 rm -f conftest.$ac_objext conftest$ac_exeext
20864 if { (ac_try="$ac_link"
20865 case "(($ac_try" in
20866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20867 *) ac_try_echo=$ac_try;;
20868 esac
20869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20870 (eval "$ac_link") 2>conftest.er1
20871 ac_status=$?
20872 grep -v '^ *+' conftest.er1 >conftest.err
20873 rm -f conftest.er1
20874 cat conftest.err >&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } && {
20877 test -z "$ac_c_werror_flag" ||
20878 test ! -s conftest.err
20879 } && test -s conftest$ac_exeext &&
20880 $as_test_x conftest$ac_exeext; then
20881 ac_cv_lib_cExt_drand48=yes
20882 else
20883 echo "$as_me: failed program was:" >&5
20884 sed 's/^/| /' conftest.$ac_ext >&5
20885
20886 ac_cv_lib_cExt_drand48=no
20887 fi
20888
20889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20890 conftest$ac_exeext conftest.$ac_ext
20891 LIBS=$ac_check_lib_save_LIBS
20892 fi
20893 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20894 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20895 if test $ac_cv_lib_cExt_drand48 = yes; then
20896 LIBS="$LIBS -lcExt"
20897 fi
20898
20899 else
20900 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20901 fi
20902 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20903 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20904 if test "${wx_cv_gccversion+set}" = set; then
20905 echo $ECHO_N "(cached) $ECHO_C" >&6
20906 else
20907
20908 if test "$cross_compiling" = yes; then
20909 wx_cv_gccversion="EMX2"
20910
20911 else
20912 cat >conftest.$ac_ext <<_ACEOF
20913 /* confdefs.h. */
20914 _ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918
20919 #include <stdio.h>
20920
20921 int main()
20922 {
20923 FILE *f=fopen("conftestval", "w");
20924 if (!f) exit(1);
20925 fprintf(f,
20926 #if (__GNUC__ < 3)
20927 "EMX2"
20928 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20929 "EMX3"
20930 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20931 "Innotek5"
20932 #else
20933 "Innotek6"
20934 #endif
20935 );
20936 exit(0);
20937 }
20938
20939 _ACEOF
20940 rm -f conftest$ac_exeext
20941 if { (ac_try="$ac_link"
20942 case "(($ac_try" in
20943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20944 *) ac_try_echo=$ac_try;;
20945 esac
20946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20947 (eval "$ac_link") 2>&5
20948 ac_status=$?
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20951 { (case "(($ac_try" in
20952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20953 *) ac_try_echo=$ac_try;;
20954 esac
20955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20956 (eval "$ac_try") 2>&5
20957 ac_status=$?
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); }; }; then
20960 wx_cv_gccversion=`cat conftestval`
20961 else
20962 echo "$as_me: program exited with status $ac_status" >&5
20963 echo "$as_me: failed program was:" >&5
20964 sed 's/^/| /' conftest.$ac_ext >&5
20965
20966 ( exit $ac_status )
20967 wx_cv_gccversion="EMX2"
20968 fi
20969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20970 fi
20971
20972
20973
20974 fi
20975 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20976 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20977 if test "$wx_cv_gccversion" = "EMX2"; then
20978 LIBS="$LIBS -lstdcpp"
20979 LDFLAGS="$LDFLAGS -Zsysv-signals"
20980 else
20981 if test "$wx_cv_gccversion" = "EMX3"; then
20982 LIBS="$LIBS -lstdcxx -lgcc"
20983 LDFLAGS="$LDFLAGS -Zsysv-signals"
20984 else
20985 LIBS="$LIBS -lstdc++"
20986 fi
20987 fi
20988 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20989 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20990 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20991 wxUSE_OMF=yes
20992 enable_omf=yes
20993 fi
20994 ;;
20995 *)
20996
20997 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20998 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20999 if test "${ac_cv_string_strcasecmp+set}" = set; then
21000 echo $ECHO_N "(cached) $ECHO_C" >&6
21001 else
21002
21003 cat >conftest.$ac_ext <<_ACEOF
21004 /* confdefs.h. */
21005 _ACEOF
21006 cat confdefs.h >>conftest.$ac_ext
21007 cat >>conftest.$ac_ext <<_ACEOF
21008 /* end confdefs.h. */
21009
21010 #include <string.h>
21011
21012 int
21013 main ()
21014 {
21015
21016 strcasecmp("foo", "bar");
21017
21018 ;
21019 return 0;
21020 }
21021 _ACEOF
21022 rm -f conftest.$ac_objext conftest$ac_exeext
21023 if { (ac_try="$ac_link"
21024 case "(($ac_try" in
21025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21026 *) ac_try_echo=$ac_try;;
21027 esac
21028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21029 (eval "$ac_link") 2>conftest.er1
21030 ac_status=$?
21031 grep -v '^ *+' conftest.er1 >conftest.err
21032 rm -f conftest.er1
21033 cat conftest.err >&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); } && {
21036 test -z "$ac_c_werror_flag" ||
21037 test ! -s conftest.err
21038 } && test -s conftest$ac_exeext &&
21039 $as_test_x conftest$ac_exeext; then
21040 ac_cv_string_strcasecmp=yes
21041 else
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21044
21045 ac_cv_string_strcasecmp=no
21046
21047 fi
21048
21049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21050 conftest$ac_exeext conftest.$ac_ext
21051
21052 fi
21053 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21054 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21055
21056 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21057 cat >>confdefs.h <<\_ACEOF
21058 #define HAVE_STRCASECMP_IN_STRING_H 1
21059 _ACEOF
21060
21061 else
21062 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21063 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21064 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 else
21067
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h. */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074
21075 #include <strings.h>
21076
21077 int
21078 main ()
21079 {
21080
21081 strcasecmp("foo", "bar");
21082
21083 ;
21084 return 0;
21085 }
21086 _ACEOF
21087 rm -f conftest.$ac_objext conftest$ac_exeext
21088 if { (ac_try="$ac_link"
21089 case "(($ac_try" in
21090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21091 *) ac_try_echo=$ac_try;;
21092 esac
21093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_link") 2>conftest.er1
21095 ac_status=$?
21096 grep -v '^ *+' conftest.er1 >conftest.err
21097 rm -f conftest.er1
21098 cat conftest.err >&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } && {
21101 test -z "$ac_c_werror_flag" ||
21102 test ! -s conftest.err
21103 } && test -s conftest$ac_exeext &&
21104 $as_test_x conftest$ac_exeext; then
21105 ac_cv_strings_strcasecmp=yes
21106 else
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.$ac_ext >&5
21109
21110 ac_cv_strings_strcasecmp=no
21111
21112 fi
21113
21114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21115 conftest$ac_exeext conftest.$ac_ext
21116
21117 fi
21118 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21119 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21120
21121 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21122 cat >>confdefs.h <<\_ACEOF
21123 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21124 _ACEOF
21125
21126 else
21127 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21128 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21129 { (exit 1); exit 1; }; }
21130 fi
21131 fi
21132
21133 ;;
21134 esac
21135
21136
21137 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21138 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21139 if test "${ac_cv_header_stdc+set}" = set; then
21140 echo $ECHO_N "(cached) $ECHO_C" >&6
21141 else
21142 cat >conftest.$ac_ext <<_ACEOF
21143 /* confdefs.h. */
21144 _ACEOF
21145 cat confdefs.h >>conftest.$ac_ext
21146 cat >>conftest.$ac_ext <<_ACEOF
21147 /* end confdefs.h. */
21148 #include <stdlib.h>
21149 #include <stdarg.h>
21150 #include <string.h>
21151 #include <float.h>
21152
21153 int
21154 main ()
21155 {
21156
21157 ;
21158 return 0;
21159 }
21160 _ACEOF
21161 rm -f conftest.$ac_objext
21162 if { (ac_try="$ac_compile"
21163 case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21166 esac
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_compile") 2>conftest.er1
21169 ac_status=$?
21170 grep -v '^ *+' conftest.er1 >conftest.err
21171 rm -f conftest.er1
21172 cat conftest.err >&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest.$ac_objext; then
21178 ac_cv_header_stdc=yes
21179 else
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.$ac_ext >&5
21182
21183 ac_cv_header_stdc=no
21184 fi
21185
21186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21187
21188 if test $ac_cv_header_stdc = yes; then
21189 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21190 cat >conftest.$ac_ext <<_ACEOF
21191 /* confdefs.h. */
21192 _ACEOF
21193 cat confdefs.h >>conftest.$ac_ext
21194 cat >>conftest.$ac_ext <<_ACEOF
21195 /* end confdefs.h. */
21196 #include <string.h>
21197
21198 _ACEOF
21199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21200 $EGREP "memchr" >/dev/null 2>&1; then
21201 :
21202 else
21203 ac_cv_header_stdc=no
21204 fi
21205 rm -f conftest*
21206
21207 fi
21208
21209 if test $ac_cv_header_stdc = yes; then
21210 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21211 cat >conftest.$ac_ext <<_ACEOF
21212 /* confdefs.h. */
21213 _ACEOF
21214 cat confdefs.h >>conftest.$ac_ext
21215 cat >>conftest.$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217 #include <stdlib.h>
21218
21219 _ACEOF
21220 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21221 $EGREP "free" >/dev/null 2>&1; then
21222 :
21223 else
21224 ac_cv_header_stdc=no
21225 fi
21226 rm -f conftest*
21227
21228 fi
21229
21230 if test $ac_cv_header_stdc = yes; then
21231 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21232 if test "$cross_compiling" = yes; then
21233 :
21234 else
21235 cat >conftest.$ac_ext <<_ACEOF
21236 /* confdefs.h. */
21237 _ACEOF
21238 cat confdefs.h >>conftest.$ac_ext
21239 cat >>conftest.$ac_ext <<_ACEOF
21240 /* end confdefs.h. */
21241 #include <ctype.h>
21242 #include <stdlib.h>
21243 #if ((' ' & 0x0FF) == 0x020)
21244 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21245 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21246 #else
21247 # define ISLOWER(c) \
21248 (('a' <= (c) && (c) <= 'i') \
21249 || ('j' <= (c) && (c) <= 'r') \
21250 || ('s' <= (c) && (c) <= 'z'))
21251 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21252 #endif
21253
21254 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21255 int
21256 main ()
21257 {
21258 int i;
21259 for (i = 0; i < 256; i++)
21260 if (XOR (islower (i), ISLOWER (i))
21261 || toupper (i) != TOUPPER (i))
21262 return 2;
21263 return 0;
21264 }
21265 _ACEOF
21266 rm -f conftest$ac_exeext
21267 if { (ac_try="$ac_link"
21268 case "(($ac_try" in
21269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21270 *) ac_try_echo=$ac_try;;
21271 esac
21272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21273 (eval "$ac_link") 2>&5
21274 ac_status=$?
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21277 { (case "(($ac_try" in
21278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21279 *) ac_try_echo=$ac_try;;
21280 esac
21281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21282 (eval "$ac_try") 2>&5
21283 ac_status=$?
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); }; }; then
21286 :
21287 else
21288 echo "$as_me: program exited with status $ac_status" >&5
21289 echo "$as_me: failed program was:" >&5
21290 sed 's/^/| /' conftest.$ac_ext >&5
21291
21292 ( exit $ac_status )
21293 ac_cv_header_stdc=no
21294 fi
21295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21296 fi
21297
21298
21299 fi
21300 fi
21301 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21302 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21303 if test $ac_cv_header_stdc = yes; then
21304
21305 cat >>confdefs.h <<\_ACEOF
21306 #define STDC_HEADERS 1
21307 _ACEOF
21308
21309 fi
21310
21311 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21322 inttypes.h stdint.h unistd.h
21323 do
21324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21325 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21327 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21328 echo $ECHO_N "(cached) $ECHO_C" >&6
21329 else
21330 cat >conftest.$ac_ext <<_ACEOF
21331 /* confdefs.h. */
21332 _ACEOF
21333 cat confdefs.h >>conftest.$ac_ext
21334 cat >>conftest.$ac_ext <<_ACEOF
21335 /* end confdefs.h. */
21336 $ac_includes_default
21337
21338 #include <$ac_header>
21339 _ACEOF
21340 rm -f conftest.$ac_objext
21341 if { (ac_try="$ac_compile"
21342 case "(($ac_try" in
21343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344 *) ac_try_echo=$ac_try;;
21345 esac
21346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347 (eval "$ac_compile") 2>conftest.er1
21348 ac_status=$?
21349 grep -v '^ *+' conftest.er1 >conftest.err
21350 rm -f conftest.er1
21351 cat conftest.err >&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } && {
21354 test -z "$ac_c_werror_flag" ||
21355 test ! -s conftest.err
21356 } && test -s conftest.$ac_objext; then
21357 eval "$as_ac_Header=yes"
21358 else
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21361
21362 eval "$as_ac_Header=no"
21363 fi
21364
21365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21366 fi
21367 ac_res=`eval echo '${'$as_ac_Header'}'`
21368 { echo "$as_me:$LINENO: result: $ac_res" >&5
21369 echo "${ECHO_T}$ac_res" >&6; }
21370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21371 cat >>confdefs.h <<_ACEOF
21372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21373 _ACEOF
21374
21375 fi
21376
21377 done
21378
21379
21380
21381
21382
21383
21384
21385
21386 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21387 do
21388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21392 echo $ECHO_N "(cached) $ECHO_C" >&6
21393 else
21394 cat >conftest.$ac_ext <<_ACEOF
21395 /* confdefs.h. */
21396 _ACEOF
21397 cat confdefs.h >>conftest.$ac_ext
21398 cat >>conftest.$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21400 $ac_includes_default
21401
21402 #include <$ac_header>
21403 _ACEOF
21404 rm -f conftest.$ac_objext
21405 if { (ac_try="$ac_compile"
21406 case "(($ac_try" in
21407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21408 *) ac_try_echo=$ac_try;;
21409 esac
21410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21411 (eval "$ac_compile") 2>conftest.er1
21412 ac_status=$?
21413 grep -v '^ *+' conftest.er1 >conftest.err
21414 rm -f conftest.er1
21415 cat conftest.err >&5
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); } && {
21418 test -z "$ac_c_werror_flag" ||
21419 test ! -s conftest.err
21420 } && test -s conftest.$ac_objext; then
21421 eval "$as_ac_Header=yes"
21422 else
21423 echo "$as_me: failed program was:" >&5
21424 sed 's/^/| /' conftest.$ac_ext >&5
21425
21426 eval "$as_ac_Header=no"
21427 fi
21428
21429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21430 fi
21431 ac_res=`eval echo '${'$as_ac_Header'}'`
21432 { echo "$as_me:$LINENO: result: $ac_res" >&5
21433 echo "${ECHO_T}$ac_res" >&6; }
21434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21435 cat >>confdefs.h <<_ACEOF
21436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21437 _ACEOF
21438
21439 fi
21440
21441 done
21442
21443
21444 if test "$ac_cv_header_wchar_h" != "yes"; then
21445
21446 for ac_header in wcstr.h
21447 do
21448 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21449 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21452 echo $ECHO_N "(cached) $ECHO_C" >&6
21453 else
21454 cat >conftest.$ac_ext <<_ACEOF
21455 /* confdefs.h. */
21456 _ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21461
21462 #include <$ac_header>
21463 _ACEOF
21464 rm -f conftest.$ac_objext
21465 if { (ac_try="$ac_compile"
21466 case "(($ac_try" in
21467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21468 *) ac_try_echo=$ac_try;;
21469 esac
21470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21471 (eval "$ac_compile") 2>conftest.er1
21472 ac_status=$?
21473 grep -v '^ *+' conftest.er1 >conftest.err
21474 rm -f conftest.er1
21475 cat conftest.err >&5
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); } && {
21478 test -z "$ac_c_werror_flag" ||
21479 test ! -s conftest.err
21480 } && test -s conftest.$ac_objext; then
21481 eval "$as_ac_Header=yes"
21482 else
21483 echo "$as_me: failed program was:" >&5
21484 sed 's/^/| /' conftest.$ac_ext >&5
21485
21486 eval "$as_ac_Header=no"
21487 fi
21488
21489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21490 fi
21491 ac_res=`eval echo '${'$as_ac_Header'}'`
21492 { echo "$as_me:$LINENO: result: $ac_res" >&5
21493 echo "${ECHO_T}$ac_res" >&6; }
21494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21495 cat >>confdefs.h <<_ACEOF
21496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21497 _ACEOF
21498
21499 fi
21500
21501 done
21502
21503 fi
21504
21505 case "${host}" in
21506 *-pc-os2_emx | *-pc-os2-emx )
21507 if test $ac_cv_header_langinfo_h = "yes" \
21508 -a \( "$wx_cv_gccversion" = "EMX2" \
21509 -o "$wx_cv_gccversion" = "EMX3" \
21510 -o "$wx_cv_gccversion" = "Innotek5" \); then
21511 LIBS="$LIBS -lintl"
21512 fi
21513 ;;
21514 esac
21515
21516 if test "$USE_UNIX" = 1 ; then
21517
21518 for ac_header in sys/select.h
21519 do
21520 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21521 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21523 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21524 echo $ECHO_N "(cached) $ECHO_C" >&6
21525 else
21526 cat >conftest.$ac_ext <<_ACEOF
21527 /* confdefs.h. */
21528 _ACEOF
21529 cat confdefs.h >>conftest.$ac_ext
21530 cat >>conftest.$ac_ext <<_ACEOF
21531 /* end confdefs.h. */
21532 $ac_includes_default
21533
21534 #include <$ac_header>
21535 _ACEOF
21536 rm -f conftest.$ac_objext
21537 if { (ac_try="$ac_compile"
21538 case "(($ac_try" in
21539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21540 *) ac_try_echo=$ac_try;;
21541 esac
21542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21543 (eval "$ac_compile") 2>conftest.er1
21544 ac_status=$?
21545 grep -v '^ *+' conftest.er1 >conftest.err
21546 rm -f conftest.er1
21547 cat conftest.err >&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } && {
21550 test -z "$ac_c_werror_flag" ||
21551 test ! -s conftest.err
21552 } && test -s conftest.$ac_objext; then
21553 eval "$as_ac_Header=yes"
21554 else
21555 echo "$as_me: failed program was:" >&5
21556 sed 's/^/| /' conftest.$ac_ext >&5
21557
21558 eval "$as_ac_Header=no"
21559 fi
21560
21561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21562 fi
21563 ac_res=`eval echo '${'$as_ac_Header'}'`
21564 { echo "$as_me:$LINENO: result: $ac_res" >&5
21565 echo "${ECHO_T}$ac_res" >&6; }
21566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21567 cat >>confdefs.h <<_ACEOF
21568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21569 _ACEOF
21570
21571 fi
21572
21573 done
21574
21575 fi
21576
21577
21578 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21579 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21580 if test "${ac_cv_c_const+set}" = set; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21582 else
21583 cat >conftest.$ac_ext <<_ACEOF
21584 /* confdefs.h. */
21585 _ACEOF
21586 cat confdefs.h >>conftest.$ac_ext
21587 cat >>conftest.$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21589
21590 int
21591 main ()
21592 {
21593 /* FIXME: Include the comments suggested by Paul. */
21594 #ifndef __cplusplus
21595 /* Ultrix mips cc rejects this. */
21596 typedef int charset[2];
21597 const charset cs;
21598 /* SunOS 4.1.1 cc rejects this. */
21599 char const *const *pcpcc;
21600 char **ppc;
21601 /* NEC SVR4.0.2 mips cc rejects this. */
21602 struct point {int x, y;};
21603 static struct point const zero = {0,0};
21604 /* AIX XL C 1.02.0.0 rejects this.
21605 It does not let you subtract one const X* pointer from another in
21606 an arm of an if-expression whose if-part is not a constant
21607 expression */
21608 const char *g = "string";
21609 pcpcc = &g + (g ? g-g : 0);
21610 /* HPUX 7.0 cc rejects these. */
21611 ++pcpcc;
21612 ppc = (char**) pcpcc;
21613 pcpcc = (char const *const *) ppc;
21614 { /* SCO 3.2v4 cc rejects this. */
21615 char *t;
21616 char const *s = 0 ? (char *) 0 : (char const *) 0;
21617
21618 *t++ = 0;
21619 if (s) return 0;
21620 }
21621 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21622 int x[] = {25, 17};
21623 const int *foo = &x[0];
21624 ++foo;
21625 }
21626 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21627 typedef const int *iptr;
21628 iptr p = 0;
21629 ++p;
21630 }
21631 { /* AIX XL C 1.02.0.0 rejects this saying
21632 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21633 struct s { int j; const int *ap[3]; };
21634 struct s *b; b->j = 5;
21635 }
21636 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21637 const int foo = 10;
21638 if (!foo) return 0;
21639 }
21640 return !cs[0] && !zero.x;
21641 #endif
21642
21643 ;
21644 return 0;
21645 }
21646 _ACEOF
21647 rm -f conftest.$ac_objext
21648 if { (ac_try="$ac_compile"
21649 case "(($ac_try" in
21650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21651 *) ac_try_echo=$ac_try;;
21652 esac
21653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21654 (eval "$ac_compile") 2>conftest.er1
21655 ac_status=$?
21656 grep -v '^ *+' conftest.er1 >conftest.err
21657 rm -f conftest.er1
21658 cat conftest.err >&5
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); } && {
21661 test -z "$ac_c_werror_flag" ||
21662 test ! -s conftest.err
21663 } && test -s conftest.$ac_objext; then
21664 ac_cv_c_const=yes
21665 else
21666 echo "$as_me: failed program was:" >&5
21667 sed 's/^/| /' conftest.$ac_ext >&5
21668
21669 ac_cv_c_const=no
21670 fi
21671
21672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21673 fi
21674 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21675 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21676 if test $ac_cv_c_const = no; then
21677
21678 cat >>confdefs.h <<\_ACEOF
21679 #define const
21680 _ACEOF
21681
21682 fi
21683
21684 { echo "$as_me:$LINENO: checking for inline" >&5
21685 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21686 if test "${ac_cv_c_inline+set}" = set; then
21687 echo $ECHO_N "(cached) $ECHO_C" >&6
21688 else
21689 ac_cv_c_inline=no
21690 for ac_kw in inline __inline__ __inline; do
21691 cat >conftest.$ac_ext <<_ACEOF
21692 /* confdefs.h. */
21693 _ACEOF
21694 cat confdefs.h >>conftest.$ac_ext
21695 cat >>conftest.$ac_ext <<_ACEOF
21696 /* end confdefs.h. */
21697 #ifndef __cplusplus
21698 typedef int foo_t;
21699 static $ac_kw foo_t static_foo () {return 0; }
21700 $ac_kw foo_t foo () {return 0; }
21701 #endif
21702
21703 _ACEOF
21704 rm -f conftest.$ac_objext
21705 if { (ac_try="$ac_compile"
21706 case "(($ac_try" in
21707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21708 *) ac_try_echo=$ac_try;;
21709 esac
21710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21711 (eval "$ac_compile") 2>conftest.er1
21712 ac_status=$?
21713 grep -v '^ *+' conftest.er1 >conftest.err
21714 rm -f conftest.er1
21715 cat conftest.err >&5
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); } && {
21718 test -z "$ac_c_werror_flag" ||
21719 test ! -s conftest.err
21720 } && test -s conftest.$ac_objext; then
21721 ac_cv_c_inline=$ac_kw
21722 else
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.$ac_ext >&5
21725
21726
21727 fi
21728
21729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21730 test "$ac_cv_c_inline" != no && break
21731 done
21732
21733 fi
21734 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21735 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21736
21737
21738 case $ac_cv_c_inline in
21739 inline | yes) ;;
21740 *)
21741 case $ac_cv_c_inline in
21742 no) ac_val=;;
21743 *) ac_val=$ac_cv_c_inline;;
21744 esac
21745 cat >>confdefs.h <<_ACEOF
21746 #ifndef __cplusplus
21747 #define inline $ac_val
21748 #endif
21749 _ACEOF
21750 ;;
21751 esac
21752
21753
21754 { echo "$as_me:$LINENO: checking for short" >&5
21755 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21756 if test "${ac_cv_type_short+set}" = set; then
21757 echo $ECHO_N "(cached) $ECHO_C" >&6
21758 else
21759 cat >conftest.$ac_ext <<_ACEOF
21760 /* confdefs.h. */
21761 _ACEOF
21762 cat confdefs.h >>conftest.$ac_ext
21763 cat >>conftest.$ac_ext <<_ACEOF
21764 /* end confdefs.h. */
21765 $ac_includes_default
21766 typedef short ac__type_new_;
21767 int
21768 main ()
21769 {
21770 if ((ac__type_new_ *) 0)
21771 return 0;
21772 if (sizeof (ac__type_new_))
21773 return 0;
21774 ;
21775 return 0;
21776 }
21777 _ACEOF
21778 rm -f conftest.$ac_objext
21779 if { (ac_try="$ac_compile"
21780 case "(($ac_try" in
21781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21782 *) ac_try_echo=$ac_try;;
21783 esac
21784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21785 (eval "$ac_compile") 2>conftest.er1
21786 ac_status=$?
21787 grep -v '^ *+' conftest.er1 >conftest.err
21788 rm -f conftest.er1
21789 cat conftest.err >&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); } && {
21792 test -z "$ac_c_werror_flag" ||
21793 test ! -s conftest.err
21794 } && test -s conftest.$ac_objext; then
21795 ac_cv_type_short=yes
21796 else
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21799
21800 ac_cv_type_short=no
21801 fi
21802
21803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21804 fi
21805 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21806 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21807
21808 # The cast to long int works around a bug in the HP C Compiler
21809 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21810 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21811 # This bug is HP SR number 8606223364.
21812 { echo "$as_me:$LINENO: checking size of short" >&5
21813 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21814 if test "${ac_cv_sizeof_short+set}" = set; then
21815 echo $ECHO_N "(cached) $ECHO_C" >&6
21816 else
21817 if test "$cross_compiling" = yes; then
21818 # Depending upon the size, compute the lo and hi bounds.
21819 cat >conftest.$ac_ext <<_ACEOF
21820 /* confdefs.h. */
21821 _ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21826 typedef short ac__type_sizeof_;
21827 int
21828 main ()
21829 {
21830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21831 test_array [0] = 0
21832
21833 ;
21834 return 0;
21835 }
21836 _ACEOF
21837 rm -f conftest.$ac_objext
21838 if { (ac_try="$ac_compile"
21839 case "(($ac_try" in
21840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21841 *) ac_try_echo=$ac_try;;
21842 esac
21843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21844 (eval "$ac_compile") 2>conftest.er1
21845 ac_status=$?
21846 grep -v '^ *+' conftest.er1 >conftest.err
21847 rm -f conftest.er1
21848 cat conftest.err >&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); } && {
21851 test -z "$ac_c_werror_flag" ||
21852 test ! -s conftest.err
21853 } && test -s conftest.$ac_objext; then
21854 ac_lo=0 ac_mid=0
21855 while :; do
21856 cat >conftest.$ac_ext <<_ACEOF
21857 /* confdefs.h. */
21858 _ACEOF
21859 cat confdefs.h >>conftest.$ac_ext
21860 cat >>conftest.$ac_ext <<_ACEOF
21861 /* end confdefs.h. */
21862 $ac_includes_default
21863 typedef short ac__type_sizeof_;
21864 int
21865 main ()
21866 {
21867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21868 test_array [0] = 0
21869
21870 ;
21871 return 0;
21872 }
21873 _ACEOF
21874 rm -f conftest.$ac_objext
21875 if { (ac_try="$ac_compile"
21876 case "(($ac_try" in
21877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21878 *) ac_try_echo=$ac_try;;
21879 esac
21880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21881 (eval "$ac_compile") 2>conftest.er1
21882 ac_status=$?
21883 grep -v '^ *+' conftest.er1 >conftest.err
21884 rm -f conftest.er1
21885 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } && {
21888 test -z "$ac_c_werror_flag" ||
21889 test ! -s conftest.err
21890 } && test -s conftest.$ac_objext; then
21891 ac_hi=$ac_mid; break
21892 else
21893 echo "$as_me: failed program was:" >&5
21894 sed 's/^/| /' conftest.$ac_ext >&5
21895
21896 ac_lo=`expr $ac_mid + 1`
21897 if test $ac_lo -le $ac_mid; then
21898 ac_lo= ac_hi=
21899 break
21900 fi
21901 ac_mid=`expr 2 '*' $ac_mid + 1`
21902 fi
21903
21904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21905 done
21906 else
21907 echo "$as_me: failed program was:" >&5
21908 sed 's/^/| /' conftest.$ac_ext >&5
21909
21910 cat >conftest.$ac_ext <<_ACEOF
21911 /* confdefs.h. */
21912 _ACEOF
21913 cat confdefs.h >>conftest.$ac_ext
21914 cat >>conftest.$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916 $ac_includes_default
21917 typedef short ac__type_sizeof_;
21918 int
21919 main ()
21920 {
21921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21922 test_array [0] = 0
21923
21924 ;
21925 return 0;
21926 }
21927 _ACEOF
21928 rm -f conftest.$ac_objext
21929 if { (ac_try="$ac_compile"
21930 case "(($ac_try" in
21931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21932 *) ac_try_echo=$ac_try;;
21933 esac
21934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21935 (eval "$ac_compile") 2>conftest.er1
21936 ac_status=$?
21937 grep -v '^ *+' conftest.er1 >conftest.err
21938 rm -f conftest.er1
21939 cat conftest.err >&5
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); } && {
21942 test -z "$ac_c_werror_flag" ||
21943 test ! -s conftest.err
21944 } && test -s conftest.$ac_objext; then
21945 ac_hi=-1 ac_mid=-1
21946 while :; do
21947 cat >conftest.$ac_ext <<_ACEOF
21948 /* confdefs.h. */
21949 _ACEOF
21950 cat confdefs.h >>conftest.$ac_ext
21951 cat >>conftest.$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21953 $ac_includes_default
21954 typedef short ac__type_sizeof_;
21955 int
21956 main ()
21957 {
21958 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21959 test_array [0] = 0
21960
21961 ;
21962 return 0;
21963 }
21964 _ACEOF
21965 rm -f conftest.$ac_objext
21966 if { (ac_try="$ac_compile"
21967 case "(($ac_try" in
21968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21969 *) ac_try_echo=$ac_try;;
21970 esac
21971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21972 (eval "$ac_compile") 2>conftest.er1
21973 ac_status=$?
21974 grep -v '^ *+' conftest.er1 >conftest.err
21975 rm -f conftest.er1
21976 cat conftest.err >&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } && {
21979 test -z "$ac_c_werror_flag" ||
21980 test ! -s conftest.err
21981 } && test -s conftest.$ac_objext; then
21982 ac_lo=$ac_mid; break
21983 else
21984 echo "$as_me: failed program was:" >&5
21985 sed 's/^/| /' conftest.$ac_ext >&5
21986
21987 ac_hi=`expr '(' $ac_mid ')' - 1`
21988 if test $ac_mid -le $ac_hi; then
21989 ac_lo= ac_hi=
21990 break
21991 fi
21992 ac_mid=`expr 2 '*' $ac_mid`
21993 fi
21994
21995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21996 done
21997 else
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.$ac_ext >&5
22000
22001 ac_lo= ac_hi=
22002 fi
22003
22004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22005 fi
22006
22007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22008 # Binary search between lo and hi bounds.
22009 while test "x$ac_lo" != "x$ac_hi"; do
22010 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22011 cat >conftest.$ac_ext <<_ACEOF
22012 /* confdefs.h. */
22013 _ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 $ac_includes_default
22018 typedef short ac__type_sizeof_;
22019 int
22020 main ()
22021 {
22022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22023 test_array [0] = 0
22024
22025 ;
22026 return 0;
22027 }
22028 _ACEOF
22029 rm -f conftest.$ac_objext
22030 if { (ac_try="$ac_compile"
22031 case "(($ac_try" in
22032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22033 *) ac_try_echo=$ac_try;;
22034 esac
22035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22036 (eval "$ac_compile") 2>conftest.er1
22037 ac_status=$?
22038 grep -v '^ *+' conftest.er1 >conftest.err
22039 rm -f conftest.er1
22040 cat conftest.err >&5
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); } && {
22043 test -z "$ac_c_werror_flag" ||
22044 test ! -s conftest.err
22045 } && test -s conftest.$ac_objext; then
22046 ac_hi=$ac_mid
22047 else
22048 echo "$as_me: failed program was:" >&5
22049 sed 's/^/| /' conftest.$ac_ext >&5
22050
22051 ac_lo=`expr '(' $ac_mid ')' + 1`
22052 fi
22053
22054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22055 done
22056 case $ac_lo in
22057 ?*) ac_cv_sizeof_short=$ac_lo;;
22058 '') if test "$ac_cv_type_short" = yes; then
22059 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22060 See \`config.log' for more details." >&5
22061 echo "$as_me: error: cannot compute sizeof (short)
22062 See \`config.log' for more details." >&2;}
22063 { (exit 77); exit 77; }; }
22064 else
22065 ac_cv_sizeof_short=0
22066 fi ;;
22067 esac
22068 else
22069 cat >conftest.$ac_ext <<_ACEOF
22070 /* confdefs.h. */
22071 _ACEOF
22072 cat confdefs.h >>conftest.$ac_ext
22073 cat >>conftest.$ac_ext <<_ACEOF
22074 /* end confdefs.h. */
22075 $ac_includes_default
22076 typedef short ac__type_sizeof_;
22077 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22078 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22079 #include <stdio.h>
22080 #include <stdlib.h>
22081 int
22082 main ()
22083 {
22084
22085 FILE *f = fopen ("conftest.val", "w");
22086 if (! f)
22087 return 1;
22088 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22089 {
22090 long int i = longval ();
22091 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22092 return 1;
22093 fprintf (f, "%ld\n", i);
22094 }
22095 else
22096 {
22097 unsigned long int i = ulongval ();
22098 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22099 return 1;
22100 fprintf (f, "%lu\n", i);
22101 }
22102 return ferror (f) || fclose (f) != 0;
22103
22104 ;
22105 return 0;
22106 }
22107 _ACEOF
22108 rm -f conftest$ac_exeext
22109 if { (ac_try="$ac_link"
22110 case "(($ac_try" in
22111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22112 *) ac_try_echo=$ac_try;;
22113 esac
22114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22115 (eval "$ac_link") 2>&5
22116 ac_status=$?
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22119 { (case "(($ac_try" in
22120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22121 *) ac_try_echo=$ac_try;;
22122 esac
22123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22124 (eval "$ac_try") 2>&5
22125 ac_status=$?
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 ac_cv_sizeof_short=`cat conftest.val`
22129 else
22130 echo "$as_me: program exited with status $ac_status" >&5
22131 echo "$as_me: failed program was:" >&5
22132 sed 's/^/| /' conftest.$ac_ext >&5
22133
22134 ( exit $ac_status )
22135 if test "$ac_cv_type_short" = yes; then
22136 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22137 See \`config.log' for more details." >&5
22138 echo "$as_me: error: cannot compute sizeof (short)
22139 See \`config.log' for more details." >&2;}
22140 { (exit 77); exit 77; }; }
22141 else
22142 ac_cv_sizeof_short=0
22143 fi
22144 fi
22145 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22146 fi
22147 rm -f conftest.val
22148 fi
22149 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22150 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22151
22152
22153
22154 cat >>confdefs.h <<_ACEOF
22155 #define SIZEOF_SHORT $ac_cv_sizeof_short
22156 _ACEOF
22157
22158
22159 { echo "$as_me:$LINENO: checking for void *" >&5
22160 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22161 if test "${ac_cv_type_void_p+set}" = set; then
22162 echo $ECHO_N "(cached) $ECHO_C" >&6
22163 else
22164 cat >conftest.$ac_ext <<_ACEOF
22165 /* confdefs.h. */
22166 _ACEOF
22167 cat confdefs.h >>conftest.$ac_ext
22168 cat >>conftest.$ac_ext <<_ACEOF
22169 /* end confdefs.h. */
22170 $ac_includes_default
22171 typedef void * ac__type_new_;
22172 int
22173 main ()
22174 {
22175 if ((ac__type_new_ *) 0)
22176 return 0;
22177 if (sizeof (ac__type_new_))
22178 return 0;
22179 ;
22180 return 0;
22181 }
22182 _ACEOF
22183 rm -f conftest.$ac_objext
22184 if { (ac_try="$ac_compile"
22185 case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22188 esac
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_compile") 2>conftest.er1
22191 ac_status=$?
22192 grep -v '^ *+' conftest.er1 >conftest.err
22193 rm -f conftest.er1
22194 cat conftest.err >&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); } && {
22197 test -z "$ac_c_werror_flag" ||
22198 test ! -s conftest.err
22199 } && test -s conftest.$ac_objext; then
22200 ac_cv_type_void_p=yes
22201 else
22202 echo "$as_me: failed program was:" >&5
22203 sed 's/^/| /' conftest.$ac_ext >&5
22204
22205 ac_cv_type_void_p=no
22206 fi
22207
22208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22209 fi
22210 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22211 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22212
22213 # The cast to long int works around a bug in the HP C Compiler
22214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22216 # This bug is HP SR number 8606223364.
22217 { echo "$as_me:$LINENO: checking size of void *" >&5
22218 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22219 if test "${ac_cv_sizeof_void_p+set}" = set; then
22220 echo $ECHO_N "(cached) $ECHO_C" >&6
22221 else
22222 if test "$cross_compiling" = yes; then
22223 # Depending upon the size, compute the lo and hi bounds.
22224 cat >conftest.$ac_ext <<_ACEOF
22225 /* confdefs.h. */
22226 _ACEOF
22227 cat confdefs.h >>conftest.$ac_ext
22228 cat >>conftest.$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22230 $ac_includes_default
22231 typedef void * ac__type_sizeof_;
22232 int
22233 main ()
22234 {
22235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22236 test_array [0] = 0
22237
22238 ;
22239 return 0;
22240 }
22241 _ACEOF
22242 rm -f conftest.$ac_objext
22243 if { (ac_try="$ac_compile"
22244 case "(($ac_try" in
22245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22246 *) ac_try_echo=$ac_try;;
22247 esac
22248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22249 (eval "$ac_compile") 2>conftest.er1
22250 ac_status=$?
22251 grep -v '^ *+' conftest.er1 >conftest.err
22252 rm -f conftest.er1
22253 cat conftest.err >&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); } && {
22256 test -z "$ac_c_werror_flag" ||
22257 test ! -s conftest.err
22258 } && test -s conftest.$ac_objext; then
22259 ac_lo=0 ac_mid=0
22260 while :; do
22261 cat >conftest.$ac_ext <<_ACEOF
22262 /* confdefs.h. */
22263 _ACEOF
22264 cat confdefs.h >>conftest.$ac_ext
22265 cat >>conftest.$ac_ext <<_ACEOF
22266 /* end confdefs.h. */
22267 $ac_includes_default
22268 typedef void * ac__type_sizeof_;
22269 int
22270 main ()
22271 {
22272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22273 test_array [0] = 0
22274
22275 ;
22276 return 0;
22277 }
22278 _ACEOF
22279 rm -f conftest.$ac_objext
22280 if { (ac_try="$ac_compile"
22281 case "(($ac_try" in
22282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22283 *) ac_try_echo=$ac_try;;
22284 esac
22285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22286 (eval "$ac_compile") 2>conftest.er1
22287 ac_status=$?
22288 grep -v '^ *+' conftest.er1 >conftest.err
22289 rm -f conftest.er1
22290 cat conftest.err >&5
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); } && {
22293 test -z "$ac_c_werror_flag" ||
22294 test ! -s conftest.err
22295 } && test -s conftest.$ac_objext; then
22296 ac_hi=$ac_mid; break
22297 else
22298 echo "$as_me: failed program was:" >&5
22299 sed 's/^/| /' conftest.$ac_ext >&5
22300
22301 ac_lo=`expr $ac_mid + 1`
22302 if test $ac_lo -le $ac_mid; then
22303 ac_lo= ac_hi=
22304 break
22305 fi
22306 ac_mid=`expr 2 '*' $ac_mid + 1`
22307 fi
22308
22309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22310 done
22311 else
22312 echo "$as_me: failed program was:" >&5
22313 sed 's/^/| /' conftest.$ac_ext >&5
22314
22315 cat >conftest.$ac_ext <<_ACEOF
22316 /* confdefs.h. */
22317 _ACEOF
22318 cat confdefs.h >>conftest.$ac_ext
22319 cat >>conftest.$ac_ext <<_ACEOF
22320 /* end confdefs.h. */
22321 $ac_includes_default
22322 typedef void * ac__type_sizeof_;
22323 int
22324 main ()
22325 {
22326 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22327 test_array [0] = 0
22328
22329 ;
22330 return 0;
22331 }
22332 _ACEOF
22333 rm -f conftest.$ac_objext
22334 if { (ac_try="$ac_compile"
22335 case "(($ac_try" in
22336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22337 *) ac_try_echo=$ac_try;;
22338 esac
22339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22340 (eval "$ac_compile") 2>conftest.er1
22341 ac_status=$?
22342 grep -v '^ *+' conftest.er1 >conftest.err
22343 rm -f conftest.er1
22344 cat conftest.err >&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } && {
22347 test -z "$ac_c_werror_flag" ||
22348 test ! -s conftest.err
22349 } && test -s conftest.$ac_objext; then
22350 ac_hi=-1 ac_mid=-1
22351 while :; do
22352 cat >conftest.$ac_ext <<_ACEOF
22353 /* confdefs.h. */
22354 _ACEOF
22355 cat confdefs.h >>conftest.$ac_ext
22356 cat >>conftest.$ac_ext <<_ACEOF
22357 /* end confdefs.h. */
22358 $ac_includes_default
22359 typedef void * ac__type_sizeof_;
22360 int
22361 main ()
22362 {
22363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22364 test_array [0] = 0
22365
22366 ;
22367 return 0;
22368 }
22369 _ACEOF
22370 rm -f conftest.$ac_objext
22371 if { (ac_try="$ac_compile"
22372 case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22375 esac
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_compile") 2>conftest.er1
22378 ac_status=$?
22379 grep -v '^ *+' conftest.er1 >conftest.err
22380 rm -f conftest.er1
22381 cat conftest.err >&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); } && {
22384 test -z "$ac_c_werror_flag" ||
22385 test ! -s conftest.err
22386 } && test -s conftest.$ac_objext; then
22387 ac_lo=$ac_mid; break
22388 else
22389 echo "$as_me: failed program was:" >&5
22390 sed 's/^/| /' conftest.$ac_ext >&5
22391
22392 ac_hi=`expr '(' $ac_mid ')' - 1`
22393 if test $ac_mid -le $ac_hi; then
22394 ac_lo= ac_hi=
22395 break
22396 fi
22397 ac_mid=`expr 2 '*' $ac_mid`
22398 fi
22399
22400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22401 done
22402 else
22403 echo "$as_me: failed program was:" >&5
22404 sed 's/^/| /' conftest.$ac_ext >&5
22405
22406 ac_lo= ac_hi=
22407 fi
22408
22409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22410 fi
22411
22412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22413 # Binary search between lo and hi bounds.
22414 while test "x$ac_lo" != "x$ac_hi"; do
22415 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22416 cat >conftest.$ac_ext <<_ACEOF
22417 /* confdefs.h. */
22418 _ACEOF
22419 cat confdefs.h >>conftest.$ac_ext
22420 cat >>conftest.$ac_ext <<_ACEOF
22421 /* end confdefs.h. */
22422 $ac_includes_default
22423 typedef void * ac__type_sizeof_;
22424 int
22425 main ()
22426 {
22427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22428 test_array [0] = 0
22429
22430 ;
22431 return 0;
22432 }
22433 _ACEOF
22434 rm -f conftest.$ac_objext
22435 if { (ac_try="$ac_compile"
22436 case "(($ac_try" in
22437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22438 *) ac_try_echo=$ac_try;;
22439 esac
22440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22441 (eval "$ac_compile") 2>conftest.er1
22442 ac_status=$?
22443 grep -v '^ *+' conftest.er1 >conftest.err
22444 rm -f conftest.er1
22445 cat conftest.err >&5
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); } && {
22448 test -z "$ac_c_werror_flag" ||
22449 test ! -s conftest.err
22450 } && test -s conftest.$ac_objext; then
22451 ac_hi=$ac_mid
22452 else
22453 echo "$as_me: failed program was:" >&5
22454 sed 's/^/| /' conftest.$ac_ext >&5
22455
22456 ac_lo=`expr '(' $ac_mid ')' + 1`
22457 fi
22458
22459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22460 done
22461 case $ac_lo in
22462 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22463 '') if test "$ac_cv_type_void_p" = yes; then
22464 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22465 See \`config.log' for more details." >&5
22466 echo "$as_me: error: cannot compute sizeof (void *)
22467 See \`config.log' for more details." >&2;}
22468 { (exit 77); exit 77; }; }
22469 else
22470 ac_cv_sizeof_void_p=0
22471 fi ;;
22472 esac
22473 else
22474 cat >conftest.$ac_ext <<_ACEOF
22475 /* confdefs.h. */
22476 _ACEOF
22477 cat confdefs.h >>conftest.$ac_ext
22478 cat >>conftest.$ac_ext <<_ACEOF
22479 /* end confdefs.h. */
22480 $ac_includes_default
22481 typedef void * ac__type_sizeof_;
22482 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22483 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22484 #include <stdio.h>
22485 #include <stdlib.h>
22486 int
22487 main ()
22488 {
22489
22490 FILE *f = fopen ("conftest.val", "w");
22491 if (! f)
22492 return 1;
22493 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22494 {
22495 long int i = longval ();
22496 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22497 return 1;
22498 fprintf (f, "%ld\n", i);
22499 }
22500 else
22501 {
22502 unsigned long int i = ulongval ();
22503 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22504 return 1;
22505 fprintf (f, "%lu\n", i);
22506 }
22507 return ferror (f) || fclose (f) != 0;
22508
22509 ;
22510 return 0;
22511 }
22512 _ACEOF
22513 rm -f conftest$ac_exeext
22514 if { (ac_try="$ac_link"
22515 case "(($ac_try" in
22516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22517 *) ac_try_echo=$ac_try;;
22518 esac
22519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22520 (eval "$ac_link") 2>&5
22521 ac_status=$?
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22524 { (case "(($ac_try" in
22525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22527 esac
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_try") 2>&5
22530 ac_status=$?
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; }; then
22533 ac_cv_sizeof_void_p=`cat conftest.val`
22534 else
22535 echo "$as_me: program exited with status $ac_status" >&5
22536 echo "$as_me: failed program was:" >&5
22537 sed 's/^/| /' conftest.$ac_ext >&5
22538
22539 ( exit $ac_status )
22540 if test "$ac_cv_type_void_p" = yes; then
22541 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22542 See \`config.log' for more details." >&5
22543 echo "$as_me: error: cannot compute sizeof (void *)
22544 See \`config.log' for more details." >&2;}
22545 { (exit 77); exit 77; }; }
22546 else
22547 ac_cv_sizeof_void_p=0
22548 fi
22549 fi
22550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22551 fi
22552 rm -f conftest.val
22553 fi
22554 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22555 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22556
22557
22558
22559 cat >>confdefs.h <<_ACEOF
22560 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22561 _ACEOF
22562
22563
22564 { echo "$as_me:$LINENO: checking for int" >&5
22565 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22566 if test "${ac_cv_type_int+set}" = set; then
22567 echo $ECHO_N "(cached) $ECHO_C" >&6
22568 else
22569 cat >conftest.$ac_ext <<_ACEOF
22570 /* confdefs.h. */
22571 _ACEOF
22572 cat confdefs.h >>conftest.$ac_ext
22573 cat >>conftest.$ac_ext <<_ACEOF
22574 /* end confdefs.h. */
22575 $ac_includes_default
22576 typedef int ac__type_new_;
22577 int
22578 main ()
22579 {
22580 if ((ac__type_new_ *) 0)
22581 return 0;
22582 if (sizeof (ac__type_new_))
22583 return 0;
22584 ;
22585 return 0;
22586 }
22587 _ACEOF
22588 rm -f conftest.$ac_objext
22589 if { (ac_try="$ac_compile"
22590 case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22593 esac
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_compile") 2>conftest.er1
22596 ac_status=$?
22597 grep -v '^ *+' conftest.er1 >conftest.err
22598 rm -f conftest.er1
22599 cat conftest.err >&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } && {
22602 test -z "$ac_c_werror_flag" ||
22603 test ! -s conftest.err
22604 } && test -s conftest.$ac_objext; then
22605 ac_cv_type_int=yes
22606 else
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.$ac_ext >&5
22609
22610 ac_cv_type_int=no
22611 fi
22612
22613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22614 fi
22615 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22616 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22617
22618 # The cast to long int works around a bug in the HP C Compiler
22619 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22620 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22621 # This bug is HP SR number 8606223364.
22622 { echo "$as_me:$LINENO: checking size of int" >&5
22623 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22624 if test "${ac_cv_sizeof_int+set}" = set; then
22625 echo $ECHO_N "(cached) $ECHO_C" >&6
22626 else
22627 if test "$cross_compiling" = yes; then
22628 # Depending upon the size, compute the lo and hi bounds.
22629 cat >conftest.$ac_ext <<_ACEOF
22630 /* confdefs.h. */
22631 _ACEOF
22632 cat confdefs.h >>conftest.$ac_ext
22633 cat >>conftest.$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22635 $ac_includes_default
22636 typedef int ac__type_sizeof_;
22637 int
22638 main ()
22639 {
22640 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22641 test_array [0] = 0
22642
22643 ;
22644 return 0;
22645 }
22646 _ACEOF
22647 rm -f conftest.$ac_objext
22648 if { (ac_try="$ac_compile"
22649 case "(($ac_try" in
22650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22651 *) ac_try_echo=$ac_try;;
22652 esac
22653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22654 (eval "$ac_compile") 2>conftest.er1
22655 ac_status=$?
22656 grep -v '^ *+' conftest.er1 >conftest.err
22657 rm -f conftest.er1
22658 cat conftest.err >&5
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); } && {
22661 test -z "$ac_c_werror_flag" ||
22662 test ! -s conftest.err
22663 } && test -s conftest.$ac_objext; then
22664 ac_lo=0 ac_mid=0
22665 while :; do
22666 cat >conftest.$ac_ext <<_ACEOF
22667 /* confdefs.h. */
22668 _ACEOF
22669 cat confdefs.h >>conftest.$ac_ext
22670 cat >>conftest.$ac_ext <<_ACEOF
22671 /* end confdefs.h. */
22672 $ac_includes_default
22673 typedef int ac__type_sizeof_;
22674 int
22675 main ()
22676 {
22677 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22678 test_array [0] = 0
22679
22680 ;
22681 return 0;
22682 }
22683 _ACEOF
22684 rm -f conftest.$ac_objext
22685 if { (ac_try="$ac_compile"
22686 case "(($ac_try" in
22687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22688 *) ac_try_echo=$ac_try;;
22689 esac
22690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22691 (eval "$ac_compile") 2>conftest.er1
22692 ac_status=$?
22693 grep -v '^ *+' conftest.er1 >conftest.err
22694 rm -f conftest.er1
22695 cat conftest.err >&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } && {
22698 test -z "$ac_c_werror_flag" ||
22699 test ! -s conftest.err
22700 } && test -s conftest.$ac_objext; then
22701 ac_hi=$ac_mid; break
22702 else
22703 echo "$as_me: failed program was:" >&5
22704 sed 's/^/| /' conftest.$ac_ext >&5
22705
22706 ac_lo=`expr $ac_mid + 1`
22707 if test $ac_lo -le $ac_mid; then
22708 ac_lo= ac_hi=
22709 break
22710 fi
22711 ac_mid=`expr 2 '*' $ac_mid + 1`
22712 fi
22713
22714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22715 done
22716 else
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22719
22720 cat >conftest.$ac_ext <<_ACEOF
22721 /* confdefs.h. */
22722 _ACEOF
22723 cat confdefs.h >>conftest.$ac_ext
22724 cat >>conftest.$ac_ext <<_ACEOF
22725 /* end confdefs.h. */
22726 $ac_includes_default
22727 typedef int ac__type_sizeof_;
22728 int
22729 main ()
22730 {
22731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22732 test_array [0] = 0
22733
22734 ;
22735 return 0;
22736 }
22737 _ACEOF
22738 rm -f conftest.$ac_objext
22739 if { (ac_try="$ac_compile"
22740 case "(($ac_try" in
22741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22742 *) ac_try_echo=$ac_try;;
22743 esac
22744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22745 (eval "$ac_compile") 2>conftest.er1
22746 ac_status=$?
22747 grep -v '^ *+' conftest.er1 >conftest.err
22748 rm -f conftest.er1
22749 cat conftest.err >&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); } && {
22752 test -z "$ac_c_werror_flag" ||
22753 test ! -s conftest.err
22754 } && test -s conftest.$ac_objext; then
22755 ac_hi=-1 ac_mid=-1
22756 while :; do
22757 cat >conftest.$ac_ext <<_ACEOF
22758 /* confdefs.h. */
22759 _ACEOF
22760 cat confdefs.h >>conftest.$ac_ext
22761 cat >>conftest.$ac_ext <<_ACEOF
22762 /* end confdefs.h. */
22763 $ac_includes_default
22764 typedef int ac__type_sizeof_;
22765 int
22766 main ()
22767 {
22768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22769 test_array [0] = 0
22770
22771 ;
22772 return 0;
22773 }
22774 _ACEOF
22775 rm -f conftest.$ac_objext
22776 if { (ac_try="$ac_compile"
22777 case "(($ac_try" in
22778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22779 *) ac_try_echo=$ac_try;;
22780 esac
22781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22782 (eval "$ac_compile") 2>conftest.er1
22783 ac_status=$?
22784 grep -v '^ *+' conftest.er1 >conftest.err
22785 rm -f conftest.er1
22786 cat conftest.err >&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } && {
22789 test -z "$ac_c_werror_flag" ||
22790 test ! -s conftest.err
22791 } && test -s conftest.$ac_objext; then
22792 ac_lo=$ac_mid; break
22793 else
22794 echo "$as_me: failed program was:" >&5
22795 sed 's/^/| /' conftest.$ac_ext >&5
22796
22797 ac_hi=`expr '(' $ac_mid ')' - 1`
22798 if test $ac_mid -le $ac_hi; then
22799 ac_lo= ac_hi=
22800 break
22801 fi
22802 ac_mid=`expr 2 '*' $ac_mid`
22803 fi
22804
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806 done
22807 else
22808 echo "$as_me: failed program was:" >&5
22809 sed 's/^/| /' conftest.$ac_ext >&5
22810
22811 ac_lo= ac_hi=
22812 fi
22813
22814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22815 fi
22816
22817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22818 # Binary search between lo and hi bounds.
22819 while test "x$ac_lo" != "x$ac_hi"; do
22820 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22821 cat >conftest.$ac_ext <<_ACEOF
22822 /* confdefs.h. */
22823 _ACEOF
22824 cat confdefs.h >>conftest.$ac_ext
22825 cat >>conftest.$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 $ac_includes_default
22828 typedef int ac__type_sizeof_;
22829 int
22830 main ()
22831 {
22832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22833 test_array [0] = 0
22834
22835 ;
22836 return 0;
22837 }
22838 _ACEOF
22839 rm -f conftest.$ac_objext
22840 if { (ac_try="$ac_compile"
22841 case "(($ac_try" in
22842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22843 *) ac_try_echo=$ac_try;;
22844 esac
22845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22846 (eval "$ac_compile") 2>conftest.er1
22847 ac_status=$?
22848 grep -v '^ *+' conftest.er1 >conftest.err
22849 rm -f conftest.er1
22850 cat conftest.err >&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); } && {
22853 test -z "$ac_c_werror_flag" ||
22854 test ! -s conftest.err
22855 } && test -s conftest.$ac_objext; then
22856 ac_hi=$ac_mid
22857 else
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.$ac_ext >&5
22860
22861 ac_lo=`expr '(' $ac_mid ')' + 1`
22862 fi
22863
22864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22865 done
22866 case $ac_lo in
22867 ?*) ac_cv_sizeof_int=$ac_lo;;
22868 '') if test "$ac_cv_type_int" = yes; then
22869 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22870 See \`config.log' for more details." >&5
22871 echo "$as_me: error: cannot compute sizeof (int)
22872 See \`config.log' for more details." >&2;}
22873 { (exit 77); exit 77; }; }
22874 else
22875 ac_cv_sizeof_int=0
22876 fi ;;
22877 esac
22878 else
22879 cat >conftest.$ac_ext <<_ACEOF
22880 /* confdefs.h. */
22881 _ACEOF
22882 cat confdefs.h >>conftest.$ac_ext
22883 cat >>conftest.$ac_ext <<_ACEOF
22884 /* end confdefs.h. */
22885 $ac_includes_default
22886 typedef int ac__type_sizeof_;
22887 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22888 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22889 #include <stdio.h>
22890 #include <stdlib.h>
22891 int
22892 main ()
22893 {
22894
22895 FILE *f = fopen ("conftest.val", "w");
22896 if (! f)
22897 return 1;
22898 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22899 {
22900 long int i = longval ();
22901 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22902 return 1;
22903 fprintf (f, "%ld\n", i);
22904 }
22905 else
22906 {
22907 unsigned long int i = ulongval ();
22908 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22909 return 1;
22910 fprintf (f, "%lu\n", i);
22911 }
22912 return ferror (f) || fclose (f) != 0;
22913
22914 ;
22915 return 0;
22916 }
22917 _ACEOF
22918 rm -f conftest$ac_exeext
22919 if { (ac_try="$ac_link"
22920 case "(($ac_try" in
22921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22922 *) ac_try_echo=$ac_try;;
22923 esac
22924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22925 (eval "$ac_link") 2>&5
22926 ac_status=$?
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22929 { (case "(($ac_try" in
22930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22931 *) ac_try_echo=$ac_try;;
22932 esac
22933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22934 (eval "$ac_try") 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22938 ac_cv_sizeof_int=`cat conftest.val`
22939 else
22940 echo "$as_me: program exited with status $ac_status" >&5
22941 echo "$as_me: failed program was:" >&5
22942 sed 's/^/| /' conftest.$ac_ext >&5
22943
22944 ( exit $ac_status )
22945 if test "$ac_cv_type_int" = yes; then
22946 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22947 See \`config.log' for more details." >&5
22948 echo "$as_me: error: cannot compute sizeof (int)
22949 See \`config.log' for more details." >&2;}
22950 { (exit 77); exit 77; }; }
22951 else
22952 ac_cv_sizeof_int=0
22953 fi
22954 fi
22955 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22956 fi
22957 rm -f conftest.val
22958 fi
22959 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22960 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22961
22962
22963
22964 cat >>confdefs.h <<_ACEOF
22965 #define SIZEOF_INT $ac_cv_sizeof_int
22966 _ACEOF
22967
22968
22969 { echo "$as_me:$LINENO: checking for long" >&5
22970 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22971 if test "${ac_cv_type_long+set}" = set; then
22972 echo $ECHO_N "(cached) $ECHO_C" >&6
22973 else
22974 cat >conftest.$ac_ext <<_ACEOF
22975 /* confdefs.h. */
22976 _ACEOF
22977 cat confdefs.h >>conftest.$ac_ext
22978 cat >>conftest.$ac_ext <<_ACEOF
22979 /* end confdefs.h. */
22980 $ac_includes_default
22981 typedef long ac__type_new_;
22982 int
22983 main ()
22984 {
22985 if ((ac__type_new_ *) 0)
22986 return 0;
22987 if (sizeof (ac__type_new_))
22988 return 0;
22989 ;
22990 return 0;
22991 }
22992 _ACEOF
22993 rm -f conftest.$ac_objext
22994 if { (ac_try="$ac_compile"
22995 case "(($ac_try" in
22996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22997 *) ac_try_echo=$ac_try;;
22998 esac
22999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23000 (eval "$ac_compile") 2>conftest.er1
23001 ac_status=$?
23002 grep -v '^ *+' conftest.er1 >conftest.err
23003 rm -f conftest.er1
23004 cat conftest.err >&5
23005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006 (exit $ac_status); } && {
23007 test -z "$ac_c_werror_flag" ||
23008 test ! -s conftest.err
23009 } && test -s conftest.$ac_objext; then
23010 ac_cv_type_long=yes
23011 else
23012 echo "$as_me: failed program was:" >&5
23013 sed 's/^/| /' conftest.$ac_ext >&5
23014
23015 ac_cv_type_long=no
23016 fi
23017
23018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23019 fi
23020 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23021 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23022
23023 # The cast to long int works around a bug in the HP C Compiler
23024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23026 # This bug is HP SR number 8606223364.
23027 { echo "$as_me:$LINENO: checking size of long" >&5
23028 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23029 if test "${ac_cv_sizeof_long+set}" = set; then
23030 echo $ECHO_N "(cached) $ECHO_C" >&6
23031 else
23032 if test "$cross_compiling" = yes; then
23033 # Depending upon the size, compute the lo and hi bounds.
23034 cat >conftest.$ac_ext <<_ACEOF
23035 /* confdefs.h. */
23036 _ACEOF
23037 cat confdefs.h >>conftest.$ac_ext
23038 cat >>conftest.$ac_ext <<_ACEOF
23039 /* end confdefs.h. */
23040 $ac_includes_default
23041 typedef long ac__type_sizeof_;
23042 int
23043 main ()
23044 {
23045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23046 test_array [0] = 0
23047
23048 ;
23049 return 0;
23050 }
23051 _ACEOF
23052 rm -f conftest.$ac_objext
23053 if { (ac_try="$ac_compile"
23054 case "(($ac_try" in
23055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23056 *) ac_try_echo=$ac_try;;
23057 esac
23058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23059 (eval "$ac_compile") 2>conftest.er1
23060 ac_status=$?
23061 grep -v '^ *+' conftest.er1 >conftest.err
23062 rm -f conftest.er1
23063 cat conftest.err >&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } && {
23066 test -z "$ac_c_werror_flag" ||
23067 test ! -s conftest.err
23068 } && test -s conftest.$ac_objext; then
23069 ac_lo=0 ac_mid=0
23070 while :; do
23071 cat >conftest.$ac_ext <<_ACEOF
23072 /* confdefs.h. */
23073 _ACEOF
23074 cat confdefs.h >>conftest.$ac_ext
23075 cat >>conftest.$ac_ext <<_ACEOF
23076 /* end confdefs.h. */
23077 $ac_includes_default
23078 typedef long ac__type_sizeof_;
23079 int
23080 main ()
23081 {
23082 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23083 test_array [0] = 0
23084
23085 ;
23086 return 0;
23087 }
23088 _ACEOF
23089 rm -f conftest.$ac_objext
23090 if { (ac_try="$ac_compile"
23091 case "(($ac_try" in
23092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23093 *) ac_try_echo=$ac_try;;
23094 esac
23095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23096 (eval "$ac_compile") 2>conftest.er1
23097 ac_status=$?
23098 grep -v '^ *+' conftest.er1 >conftest.err
23099 rm -f conftest.er1
23100 cat conftest.err >&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); } && {
23103 test -z "$ac_c_werror_flag" ||
23104 test ! -s conftest.err
23105 } && test -s conftest.$ac_objext; then
23106 ac_hi=$ac_mid; break
23107 else
23108 echo "$as_me: failed program was:" >&5
23109 sed 's/^/| /' conftest.$ac_ext >&5
23110
23111 ac_lo=`expr $ac_mid + 1`
23112 if test $ac_lo -le $ac_mid; then
23113 ac_lo= ac_hi=
23114 break
23115 fi
23116 ac_mid=`expr 2 '*' $ac_mid + 1`
23117 fi
23118
23119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23120 done
23121 else
23122 echo "$as_me: failed program was:" >&5
23123 sed 's/^/| /' conftest.$ac_ext >&5
23124
23125 cat >conftest.$ac_ext <<_ACEOF
23126 /* confdefs.h. */
23127 _ACEOF
23128 cat confdefs.h >>conftest.$ac_ext
23129 cat >>conftest.$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131 $ac_includes_default
23132 typedef long ac__type_sizeof_;
23133 int
23134 main ()
23135 {
23136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23137 test_array [0] = 0
23138
23139 ;
23140 return 0;
23141 }
23142 _ACEOF
23143 rm -f conftest.$ac_objext
23144 if { (ac_try="$ac_compile"
23145 case "(($ac_try" in
23146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23147 *) ac_try_echo=$ac_try;;
23148 esac
23149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23150 (eval "$ac_compile") 2>conftest.er1
23151 ac_status=$?
23152 grep -v '^ *+' conftest.er1 >conftest.err
23153 rm -f conftest.er1
23154 cat conftest.err >&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); } && {
23157 test -z "$ac_c_werror_flag" ||
23158 test ! -s conftest.err
23159 } && test -s conftest.$ac_objext; then
23160 ac_hi=-1 ac_mid=-1
23161 while :; do
23162 cat >conftest.$ac_ext <<_ACEOF
23163 /* confdefs.h. */
23164 _ACEOF
23165 cat confdefs.h >>conftest.$ac_ext
23166 cat >>conftest.$ac_ext <<_ACEOF
23167 /* end confdefs.h. */
23168 $ac_includes_default
23169 typedef long ac__type_sizeof_;
23170 int
23171 main ()
23172 {
23173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23174 test_array [0] = 0
23175
23176 ;
23177 return 0;
23178 }
23179 _ACEOF
23180 rm -f conftest.$ac_objext
23181 if { (ac_try="$ac_compile"
23182 case "(($ac_try" in
23183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23184 *) ac_try_echo=$ac_try;;
23185 esac
23186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23187 (eval "$ac_compile") 2>conftest.er1
23188 ac_status=$?
23189 grep -v '^ *+' conftest.er1 >conftest.err
23190 rm -f conftest.er1
23191 cat conftest.err >&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); } && {
23194 test -z "$ac_c_werror_flag" ||
23195 test ! -s conftest.err
23196 } && test -s conftest.$ac_objext; then
23197 ac_lo=$ac_mid; break
23198 else
23199 echo "$as_me: failed program was:" >&5
23200 sed 's/^/| /' conftest.$ac_ext >&5
23201
23202 ac_hi=`expr '(' $ac_mid ')' - 1`
23203 if test $ac_mid -le $ac_hi; then
23204 ac_lo= ac_hi=
23205 break
23206 fi
23207 ac_mid=`expr 2 '*' $ac_mid`
23208 fi
23209
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211 done
23212 else
23213 echo "$as_me: failed program was:" >&5
23214 sed 's/^/| /' conftest.$ac_ext >&5
23215
23216 ac_lo= ac_hi=
23217 fi
23218
23219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23220 fi
23221
23222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23223 # Binary search between lo and hi bounds.
23224 while test "x$ac_lo" != "x$ac_hi"; do
23225 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23226 cat >conftest.$ac_ext <<_ACEOF
23227 /* confdefs.h. */
23228 _ACEOF
23229 cat confdefs.h >>conftest.$ac_ext
23230 cat >>conftest.$ac_ext <<_ACEOF
23231 /* end confdefs.h. */
23232 $ac_includes_default
23233 typedef long ac__type_sizeof_;
23234 int
23235 main ()
23236 {
23237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23238 test_array [0] = 0
23239
23240 ;
23241 return 0;
23242 }
23243 _ACEOF
23244 rm -f conftest.$ac_objext
23245 if { (ac_try="$ac_compile"
23246 case "(($ac_try" in
23247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23248 *) ac_try_echo=$ac_try;;
23249 esac
23250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23251 (eval "$ac_compile") 2>conftest.er1
23252 ac_status=$?
23253 grep -v '^ *+' conftest.er1 >conftest.err
23254 rm -f conftest.er1
23255 cat conftest.err >&5
23256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257 (exit $ac_status); } && {
23258 test -z "$ac_c_werror_flag" ||
23259 test ! -s conftest.err
23260 } && test -s conftest.$ac_objext; then
23261 ac_hi=$ac_mid
23262 else
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23265
23266 ac_lo=`expr '(' $ac_mid ')' + 1`
23267 fi
23268
23269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23270 done
23271 case $ac_lo in
23272 ?*) ac_cv_sizeof_long=$ac_lo;;
23273 '') if test "$ac_cv_type_long" = yes; then
23274 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23275 See \`config.log' for more details." >&5
23276 echo "$as_me: error: cannot compute sizeof (long)
23277 See \`config.log' for more details." >&2;}
23278 { (exit 77); exit 77; }; }
23279 else
23280 ac_cv_sizeof_long=0
23281 fi ;;
23282 esac
23283 else
23284 cat >conftest.$ac_ext <<_ACEOF
23285 /* confdefs.h. */
23286 _ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290 $ac_includes_default
23291 typedef long ac__type_sizeof_;
23292 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23293 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23294 #include <stdio.h>
23295 #include <stdlib.h>
23296 int
23297 main ()
23298 {
23299
23300 FILE *f = fopen ("conftest.val", "w");
23301 if (! f)
23302 return 1;
23303 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23304 {
23305 long int i = longval ();
23306 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23307 return 1;
23308 fprintf (f, "%ld\n", i);
23309 }
23310 else
23311 {
23312 unsigned long int i = ulongval ();
23313 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23314 return 1;
23315 fprintf (f, "%lu\n", i);
23316 }
23317 return ferror (f) || fclose (f) != 0;
23318
23319 ;
23320 return 0;
23321 }
23322 _ACEOF
23323 rm -f conftest$ac_exeext
23324 if { (ac_try="$ac_link"
23325 case "(($ac_try" in
23326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23327 *) ac_try_echo=$ac_try;;
23328 esac
23329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23330 (eval "$ac_link") 2>&5
23331 ac_status=$?
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23334 { (case "(($ac_try" in
23335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23336 *) ac_try_echo=$ac_try;;
23337 esac
23338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23339 (eval "$ac_try") 2>&5
23340 ac_status=$?
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); }; }; then
23343 ac_cv_sizeof_long=`cat conftest.val`
23344 else
23345 echo "$as_me: program exited with status $ac_status" >&5
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.$ac_ext >&5
23348
23349 ( exit $ac_status )
23350 if test "$ac_cv_type_long" = yes; then
23351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23352 See \`config.log' for more details." >&5
23353 echo "$as_me: error: cannot compute sizeof (long)
23354 See \`config.log' for more details." >&2;}
23355 { (exit 77); exit 77; }; }
23356 else
23357 ac_cv_sizeof_long=0
23358 fi
23359 fi
23360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23361 fi
23362 rm -f conftest.val
23363 fi
23364 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23365 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23366
23367
23368
23369 cat >>confdefs.h <<_ACEOF
23370 #define SIZEOF_LONG $ac_cv_sizeof_long
23371 _ACEOF
23372
23373
23374 { echo "$as_me:$LINENO: checking for size_t" >&5
23375 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23376 if test "${ac_cv_type_size_t+set}" = set; then
23377 echo $ECHO_N "(cached) $ECHO_C" >&6
23378 else
23379 cat >conftest.$ac_ext <<_ACEOF
23380 /* confdefs.h. */
23381 _ACEOF
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23385 $ac_includes_default
23386 typedef size_t ac__type_new_;
23387 int
23388 main ()
23389 {
23390 if ((ac__type_new_ *) 0)
23391 return 0;
23392 if (sizeof (ac__type_new_))
23393 return 0;
23394 ;
23395 return 0;
23396 }
23397 _ACEOF
23398 rm -f conftest.$ac_objext
23399 if { (ac_try="$ac_compile"
23400 case "(($ac_try" in
23401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23402 *) ac_try_echo=$ac_try;;
23403 esac
23404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23405 (eval "$ac_compile") 2>conftest.er1
23406 ac_status=$?
23407 grep -v '^ *+' conftest.er1 >conftest.err
23408 rm -f conftest.er1
23409 cat conftest.err >&5
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); } && {
23412 test -z "$ac_c_werror_flag" ||
23413 test ! -s conftest.err
23414 } && test -s conftest.$ac_objext; then
23415 ac_cv_type_size_t=yes
23416 else
23417 echo "$as_me: failed program was:" >&5
23418 sed 's/^/| /' conftest.$ac_ext >&5
23419
23420 ac_cv_type_size_t=no
23421 fi
23422
23423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23424 fi
23425 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23426 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23427
23428 # The cast to long int works around a bug in the HP C Compiler
23429 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23430 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23431 # This bug is HP SR number 8606223364.
23432 { echo "$as_me:$LINENO: checking size of size_t" >&5
23433 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23434 if test "${ac_cv_sizeof_size_t+set}" = set; then
23435 echo $ECHO_N "(cached) $ECHO_C" >&6
23436 else
23437 if test "$cross_compiling" = yes; then
23438 # Depending upon the size, compute the lo and hi bounds.
23439 cat >conftest.$ac_ext <<_ACEOF
23440 /* confdefs.h. */
23441 _ACEOF
23442 cat confdefs.h >>conftest.$ac_ext
23443 cat >>conftest.$ac_ext <<_ACEOF
23444 /* end confdefs.h. */
23445 $ac_includes_default
23446 typedef size_t ac__type_sizeof_;
23447 int
23448 main ()
23449 {
23450 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23451 test_array [0] = 0
23452
23453 ;
23454 return 0;
23455 }
23456 _ACEOF
23457 rm -f conftest.$ac_objext
23458 if { (ac_try="$ac_compile"
23459 case "(($ac_try" in
23460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23461 *) ac_try_echo=$ac_try;;
23462 esac
23463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23464 (eval "$ac_compile") 2>conftest.er1
23465 ac_status=$?
23466 grep -v '^ *+' conftest.er1 >conftest.err
23467 rm -f conftest.er1
23468 cat conftest.err >&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } && {
23471 test -z "$ac_c_werror_flag" ||
23472 test ! -s conftest.err
23473 } && test -s conftest.$ac_objext; then
23474 ac_lo=0 ac_mid=0
23475 while :; do
23476 cat >conftest.$ac_ext <<_ACEOF
23477 /* confdefs.h. */
23478 _ACEOF
23479 cat confdefs.h >>conftest.$ac_ext
23480 cat >>conftest.$ac_ext <<_ACEOF
23481 /* end confdefs.h. */
23482 $ac_includes_default
23483 typedef size_t ac__type_sizeof_;
23484 int
23485 main ()
23486 {
23487 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23488 test_array [0] = 0
23489
23490 ;
23491 return 0;
23492 }
23493 _ACEOF
23494 rm -f conftest.$ac_objext
23495 if { (ac_try="$ac_compile"
23496 case "(($ac_try" in
23497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23498 *) ac_try_echo=$ac_try;;
23499 esac
23500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23501 (eval "$ac_compile") 2>conftest.er1
23502 ac_status=$?
23503 grep -v '^ *+' conftest.er1 >conftest.err
23504 rm -f conftest.er1
23505 cat conftest.err >&5
23506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507 (exit $ac_status); } && {
23508 test -z "$ac_c_werror_flag" ||
23509 test ! -s conftest.err
23510 } && test -s conftest.$ac_objext; then
23511 ac_hi=$ac_mid; break
23512 else
23513 echo "$as_me: failed program was:" >&5
23514 sed 's/^/| /' conftest.$ac_ext >&5
23515
23516 ac_lo=`expr $ac_mid + 1`
23517 if test $ac_lo -le $ac_mid; then
23518 ac_lo= ac_hi=
23519 break
23520 fi
23521 ac_mid=`expr 2 '*' $ac_mid + 1`
23522 fi
23523
23524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23525 done
23526 else
23527 echo "$as_me: failed program was:" >&5
23528 sed 's/^/| /' conftest.$ac_ext >&5
23529
23530 cat >conftest.$ac_ext <<_ACEOF
23531 /* confdefs.h. */
23532 _ACEOF
23533 cat confdefs.h >>conftest.$ac_ext
23534 cat >>conftest.$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23536 $ac_includes_default
23537 typedef size_t ac__type_sizeof_;
23538 int
23539 main ()
23540 {
23541 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23542 test_array [0] = 0
23543
23544 ;
23545 return 0;
23546 }
23547 _ACEOF
23548 rm -f conftest.$ac_objext
23549 if { (ac_try="$ac_compile"
23550 case "(($ac_try" in
23551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23552 *) ac_try_echo=$ac_try;;
23553 esac
23554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23555 (eval "$ac_compile") 2>conftest.er1
23556 ac_status=$?
23557 grep -v '^ *+' conftest.er1 >conftest.err
23558 rm -f conftest.er1
23559 cat conftest.err >&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); } && {
23562 test -z "$ac_c_werror_flag" ||
23563 test ! -s conftest.err
23564 } && test -s conftest.$ac_objext; then
23565 ac_hi=-1 ac_mid=-1
23566 while :; do
23567 cat >conftest.$ac_ext <<_ACEOF
23568 /* confdefs.h. */
23569 _ACEOF
23570 cat confdefs.h >>conftest.$ac_ext
23571 cat >>conftest.$ac_ext <<_ACEOF
23572 /* end confdefs.h. */
23573 $ac_includes_default
23574 typedef size_t ac__type_sizeof_;
23575 int
23576 main ()
23577 {
23578 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23579 test_array [0] = 0
23580
23581 ;
23582 return 0;
23583 }
23584 _ACEOF
23585 rm -f conftest.$ac_objext
23586 if { (ac_try="$ac_compile"
23587 case "(($ac_try" in
23588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23590 esac
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_compile") 2>conftest.er1
23593 ac_status=$?
23594 grep -v '^ *+' conftest.er1 >conftest.err
23595 rm -f conftest.er1
23596 cat conftest.err >&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } && {
23599 test -z "$ac_c_werror_flag" ||
23600 test ! -s conftest.err
23601 } && test -s conftest.$ac_objext; then
23602 ac_lo=$ac_mid; break
23603 else
23604 echo "$as_me: failed program was:" >&5
23605 sed 's/^/| /' conftest.$ac_ext >&5
23606
23607 ac_hi=`expr '(' $ac_mid ')' - 1`
23608 if test $ac_mid -le $ac_hi; then
23609 ac_lo= ac_hi=
23610 break
23611 fi
23612 ac_mid=`expr 2 '*' $ac_mid`
23613 fi
23614
23615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23616 done
23617 else
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.$ac_ext >&5
23620
23621 ac_lo= ac_hi=
23622 fi
23623
23624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23625 fi
23626
23627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23628 # Binary search between lo and hi bounds.
23629 while test "x$ac_lo" != "x$ac_hi"; do
23630 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23631 cat >conftest.$ac_ext <<_ACEOF
23632 /* confdefs.h. */
23633 _ACEOF
23634 cat confdefs.h >>conftest.$ac_ext
23635 cat >>conftest.$ac_ext <<_ACEOF
23636 /* end confdefs.h. */
23637 $ac_includes_default
23638 typedef size_t ac__type_sizeof_;
23639 int
23640 main ()
23641 {
23642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23643 test_array [0] = 0
23644
23645 ;
23646 return 0;
23647 }
23648 _ACEOF
23649 rm -f conftest.$ac_objext
23650 if { (ac_try="$ac_compile"
23651 case "(($ac_try" in
23652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23653 *) ac_try_echo=$ac_try;;
23654 esac
23655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23656 (eval "$ac_compile") 2>conftest.er1
23657 ac_status=$?
23658 grep -v '^ *+' conftest.er1 >conftest.err
23659 rm -f conftest.er1
23660 cat conftest.err >&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); } && {
23663 test -z "$ac_c_werror_flag" ||
23664 test ! -s conftest.err
23665 } && test -s conftest.$ac_objext; then
23666 ac_hi=$ac_mid
23667 else
23668 echo "$as_me: failed program was:" >&5
23669 sed 's/^/| /' conftest.$ac_ext >&5
23670
23671 ac_lo=`expr '(' $ac_mid ')' + 1`
23672 fi
23673
23674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23675 done
23676 case $ac_lo in
23677 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23678 '') if test "$ac_cv_type_size_t" = yes; then
23679 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23680 See \`config.log' for more details." >&5
23681 echo "$as_me: error: cannot compute sizeof (size_t)
23682 See \`config.log' for more details." >&2;}
23683 { (exit 77); exit 77; }; }
23684 else
23685 ac_cv_sizeof_size_t=0
23686 fi ;;
23687 esac
23688 else
23689 cat >conftest.$ac_ext <<_ACEOF
23690 /* confdefs.h. */
23691 _ACEOF
23692 cat confdefs.h >>conftest.$ac_ext
23693 cat >>conftest.$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 $ac_includes_default
23696 typedef size_t ac__type_sizeof_;
23697 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23698 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23699 #include <stdio.h>
23700 #include <stdlib.h>
23701 int
23702 main ()
23703 {
23704
23705 FILE *f = fopen ("conftest.val", "w");
23706 if (! f)
23707 return 1;
23708 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23709 {
23710 long int i = longval ();
23711 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23712 return 1;
23713 fprintf (f, "%ld\n", i);
23714 }
23715 else
23716 {
23717 unsigned long int i = ulongval ();
23718 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23719 return 1;
23720 fprintf (f, "%lu\n", i);
23721 }
23722 return ferror (f) || fclose (f) != 0;
23723
23724 ;
23725 return 0;
23726 }
23727 _ACEOF
23728 rm -f conftest$ac_exeext
23729 if { (ac_try="$ac_link"
23730 case "(($ac_try" in
23731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23732 *) ac_try_echo=$ac_try;;
23733 esac
23734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23735 (eval "$ac_link") 2>&5
23736 ac_status=$?
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23739 { (case "(($ac_try" in
23740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741 *) ac_try_echo=$ac_try;;
23742 esac
23743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744 (eval "$ac_try") 2>&5
23745 ac_status=$?
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); }; }; then
23748 ac_cv_sizeof_size_t=`cat conftest.val`
23749 else
23750 echo "$as_me: program exited with status $ac_status" >&5
23751 echo "$as_me: failed program was:" >&5
23752 sed 's/^/| /' conftest.$ac_ext >&5
23753
23754 ( exit $ac_status )
23755 if test "$ac_cv_type_size_t" = yes; then
23756 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23757 See \`config.log' for more details." >&5
23758 echo "$as_me: error: cannot compute sizeof (size_t)
23759 See \`config.log' for more details." >&2;}
23760 { (exit 77); exit 77; }; }
23761 else
23762 ac_cv_sizeof_size_t=0
23763 fi
23764 fi
23765 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23766 fi
23767 rm -f conftest.val
23768 fi
23769 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23770 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23771
23772
23773
23774 cat >>confdefs.h <<_ACEOF
23775 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23776 _ACEOF
23777
23778
23779
23780 case "${host}" in
23781 arm-*-linux* )
23782 { echo "$as_me:$LINENO: checking for long long" >&5
23783 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23784 if test "${ac_cv_type_long_long+set}" = set; then
23785 echo $ECHO_N "(cached) $ECHO_C" >&6
23786 else
23787 cat >conftest.$ac_ext <<_ACEOF
23788 /* confdefs.h. */
23789 _ACEOF
23790 cat confdefs.h >>conftest.$ac_ext
23791 cat >>conftest.$ac_ext <<_ACEOF
23792 /* end confdefs.h. */
23793 $ac_includes_default
23794 typedef long long ac__type_new_;
23795 int
23796 main ()
23797 {
23798 if ((ac__type_new_ *) 0)
23799 return 0;
23800 if (sizeof (ac__type_new_))
23801 return 0;
23802 ;
23803 return 0;
23804 }
23805 _ACEOF
23806 rm -f conftest.$ac_objext
23807 if { (ac_try="$ac_compile"
23808 case "(($ac_try" in
23809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23810 *) ac_try_echo=$ac_try;;
23811 esac
23812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23813 (eval "$ac_compile") 2>conftest.er1
23814 ac_status=$?
23815 grep -v '^ *+' conftest.er1 >conftest.err
23816 rm -f conftest.er1
23817 cat conftest.err >&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); } && {
23820 test -z "$ac_c_werror_flag" ||
23821 test ! -s conftest.err
23822 } && test -s conftest.$ac_objext; then
23823 ac_cv_type_long_long=yes
23824 else
23825 echo "$as_me: failed program was:" >&5
23826 sed 's/^/| /' conftest.$ac_ext >&5
23827
23828 ac_cv_type_long_long=no
23829 fi
23830
23831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23832 fi
23833 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23834 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23835
23836 # The cast to long int works around a bug in the HP C Compiler
23837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23839 # This bug is HP SR number 8606223364.
23840 { echo "$as_me:$LINENO: checking size of long long" >&5
23841 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23842 if test "${ac_cv_sizeof_long_long+set}" = set; then
23843 echo $ECHO_N "(cached) $ECHO_C" >&6
23844 else
23845 if test "$cross_compiling" = yes; then
23846 # Depending upon the size, compute the lo and hi bounds.
23847 cat >conftest.$ac_ext <<_ACEOF
23848 /* confdefs.h. */
23849 _ACEOF
23850 cat confdefs.h >>conftest.$ac_ext
23851 cat >>conftest.$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23853 $ac_includes_default
23854 typedef long long ac__type_sizeof_;
23855 int
23856 main ()
23857 {
23858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23859 test_array [0] = 0
23860
23861 ;
23862 return 0;
23863 }
23864 _ACEOF
23865 rm -f conftest.$ac_objext
23866 if { (ac_try="$ac_compile"
23867 case "(($ac_try" in
23868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23869 *) ac_try_echo=$ac_try;;
23870 esac
23871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23872 (eval "$ac_compile") 2>conftest.er1
23873 ac_status=$?
23874 grep -v '^ *+' conftest.er1 >conftest.err
23875 rm -f conftest.er1
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } && {
23879 test -z "$ac_c_werror_flag" ||
23880 test ! -s conftest.err
23881 } && test -s conftest.$ac_objext; then
23882 ac_lo=0 ac_mid=0
23883 while :; do
23884 cat >conftest.$ac_ext <<_ACEOF
23885 /* confdefs.h. */
23886 _ACEOF
23887 cat confdefs.h >>conftest.$ac_ext
23888 cat >>conftest.$ac_ext <<_ACEOF
23889 /* end confdefs.h. */
23890 $ac_includes_default
23891 typedef long long ac__type_sizeof_;
23892 int
23893 main ()
23894 {
23895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23896 test_array [0] = 0
23897
23898 ;
23899 return 0;
23900 }
23901 _ACEOF
23902 rm -f conftest.$ac_objext
23903 if { (ac_try="$ac_compile"
23904 case "(($ac_try" in
23905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23906 *) ac_try_echo=$ac_try;;
23907 esac
23908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23909 (eval "$ac_compile") 2>conftest.er1
23910 ac_status=$?
23911 grep -v '^ *+' conftest.er1 >conftest.err
23912 rm -f conftest.er1
23913 cat conftest.err >&5
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); } && {
23916 test -z "$ac_c_werror_flag" ||
23917 test ! -s conftest.err
23918 } && test -s conftest.$ac_objext; then
23919 ac_hi=$ac_mid; break
23920 else
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.$ac_ext >&5
23923
23924 ac_lo=`expr $ac_mid + 1`
23925 if test $ac_lo -le $ac_mid; then
23926 ac_lo= ac_hi=
23927 break
23928 fi
23929 ac_mid=`expr 2 '*' $ac_mid + 1`
23930 fi
23931
23932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23933 done
23934 else
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.$ac_ext >&5
23937
23938 cat >conftest.$ac_ext <<_ACEOF
23939 /* confdefs.h. */
23940 _ACEOF
23941 cat confdefs.h >>conftest.$ac_ext
23942 cat >>conftest.$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23944 $ac_includes_default
23945 typedef long long ac__type_sizeof_;
23946 int
23947 main ()
23948 {
23949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23950 test_array [0] = 0
23951
23952 ;
23953 return 0;
23954 }
23955 _ACEOF
23956 rm -f conftest.$ac_objext
23957 if { (ac_try="$ac_compile"
23958 case "(($ac_try" in
23959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23960 *) ac_try_echo=$ac_try;;
23961 esac
23962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23963 (eval "$ac_compile") 2>conftest.er1
23964 ac_status=$?
23965 grep -v '^ *+' conftest.er1 >conftest.err
23966 rm -f conftest.er1
23967 cat conftest.err >&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } && {
23970 test -z "$ac_c_werror_flag" ||
23971 test ! -s conftest.err
23972 } && test -s conftest.$ac_objext; then
23973 ac_hi=-1 ac_mid=-1
23974 while :; do
23975 cat >conftest.$ac_ext <<_ACEOF
23976 /* confdefs.h. */
23977 _ACEOF
23978 cat confdefs.h >>conftest.$ac_ext
23979 cat >>conftest.$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 $ac_includes_default
23982 typedef long long ac__type_sizeof_;
23983 int
23984 main ()
23985 {
23986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23987 test_array [0] = 0
23988
23989 ;
23990 return 0;
23991 }
23992 _ACEOF
23993 rm -f conftest.$ac_objext
23994 if { (ac_try="$ac_compile"
23995 case "(($ac_try" in
23996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23997 *) ac_try_echo=$ac_try;;
23998 esac
23999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24000 (eval "$ac_compile") 2>conftest.er1
24001 ac_status=$?
24002 grep -v '^ *+' conftest.er1 >conftest.err
24003 rm -f conftest.er1
24004 cat conftest.err >&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } && {
24007 test -z "$ac_c_werror_flag" ||
24008 test ! -s conftest.err
24009 } && test -s conftest.$ac_objext; then
24010 ac_lo=$ac_mid; break
24011 else
24012 echo "$as_me: failed program was:" >&5
24013 sed 's/^/| /' conftest.$ac_ext >&5
24014
24015 ac_hi=`expr '(' $ac_mid ')' - 1`
24016 if test $ac_mid -le $ac_hi; then
24017 ac_lo= ac_hi=
24018 break
24019 fi
24020 ac_mid=`expr 2 '*' $ac_mid`
24021 fi
24022
24023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24024 done
24025 else
24026 echo "$as_me: failed program was:" >&5
24027 sed 's/^/| /' conftest.$ac_ext >&5
24028
24029 ac_lo= ac_hi=
24030 fi
24031
24032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033 fi
24034
24035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24036 # Binary search between lo and hi bounds.
24037 while test "x$ac_lo" != "x$ac_hi"; do
24038 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24039 cat >conftest.$ac_ext <<_ACEOF
24040 /* confdefs.h. */
24041 _ACEOF
24042 cat confdefs.h >>conftest.$ac_ext
24043 cat >>conftest.$ac_ext <<_ACEOF
24044 /* end confdefs.h. */
24045 $ac_includes_default
24046 typedef long long ac__type_sizeof_;
24047 int
24048 main ()
24049 {
24050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24051 test_array [0] = 0
24052
24053 ;
24054 return 0;
24055 }
24056 _ACEOF
24057 rm -f conftest.$ac_objext
24058 if { (ac_try="$ac_compile"
24059 case "(($ac_try" in
24060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24061 *) ac_try_echo=$ac_try;;
24062 esac
24063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24064 (eval "$ac_compile") 2>conftest.er1
24065 ac_status=$?
24066 grep -v '^ *+' conftest.er1 >conftest.err
24067 rm -f conftest.er1
24068 cat conftest.err >&5
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); } && {
24071 test -z "$ac_c_werror_flag" ||
24072 test ! -s conftest.err
24073 } && test -s conftest.$ac_objext; then
24074 ac_hi=$ac_mid
24075 else
24076 echo "$as_me: failed program was:" >&5
24077 sed 's/^/| /' conftest.$ac_ext >&5
24078
24079 ac_lo=`expr '(' $ac_mid ')' + 1`
24080 fi
24081
24082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24083 done
24084 case $ac_lo in
24085 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24086 '') if test "$ac_cv_type_long_long" = yes; then
24087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24088 See \`config.log' for more details." >&5
24089 echo "$as_me: error: cannot compute sizeof (long long)
24090 See \`config.log' for more details." >&2;}
24091 { (exit 77); exit 77; }; }
24092 else
24093 ac_cv_sizeof_long_long=0
24094 fi ;;
24095 esac
24096 else
24097 cat >conftest.$ac_ext <<_ACEOF
24098 /* confdefs.h. */
24099 _ACEOF
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24103 $ac_includes_default
24104 typedef long long ac__type_sizeof_;
24105 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24106 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24107 #include <stdio.h>
24108 #include <stdlib.h>
24109 int
24110 main ()
24111 {
24112
24113 FILE *f = fopen ("conftest.val", "w");
24114 if (! f)
24115 return 1;
24116 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24117 {
24118 long int i = longval ();
24119 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24120 return 1;
24121 fprintf (f, "%ld\n", i);
24122 }
24123 else
24124 {
24125 unsigned long int i = ulongval ();
24126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24127 return 1;
24128 fprintf (f, "%lu\n", i);
24129 }
24130 return ferror (f) || fclose (f) != 0;
24131
24132 ;
24133 return 0;
24134 }
24135 _ACEOF
24136 rm -f conftest$ac_exeext
24137 if { (ac_try="$ac_link"
24138 case "(($ac_try" in
24139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24140 *) ac_try_echo=$ac_try;;
24141 esac
24142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24143 (eval "$ac_link") 2>&5
24144 ac_status=$?
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24147 { (case "(($ac_try" in
24148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24149 *) ac_try_echo=$ac_try;;
24150 esac
24151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24152 (eval "$ac_try") 2>&5
24153 ac_status=$?
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); }; }; then
24156 ac_cv_sizeof_long_long=`cat conftest.val`
24157 else
24158 echo "$as_me: program exited with status $ac_status" >&5
24159 echo "$as_me: failed program was:" >&5
24160 sed 's/^/| /' conftest.$ac_ext >&5
24161
24162 ( exit $ac_status )
24163 if test "$ac_cv_type_long_long" = yes; then
24164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24165 See \`config.log' for more details." >&5
24166 echo "$as_me: error: cannot compute sizeof (long long)
24167 See \`config.log' for more details." >&2;}
24168 { (exit 77); exit 77; }; }
24169 else
24170 ac_cv_sizeof_long_long=0
24171 fi
24172 fi
24173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24174 fi
24175 rm -f conftest.val
24176 fi
24177 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24178 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24179
24180
24181
24182 cat >>confdefs.h <<_ACEOF
24183 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24184 _ACEOF
24185
24186
24187 ;;
24188 *-hp-hpux* )
24189 { echo "$as_me:$LINENO: checking for long long" >&5
24190 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24191 if test "${ac_cv_type_long_long+set}" = set; then
24192 echo $ECHO_N "(cached) $ECHO_C" >&6
24193 else
24194 cat >conftest.$ac_ext <<_ACEOF
24195 /* confdefs.h. */
24196 _ACEOF
24197 cat confdefs.h >>conftest.$ac_ext
24198 cat >>conftest.$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24200 $ac_includes_default
24201 typedef long long ac__type_new_;
24202 int
24203 main ()
24204 {
24205 if ((ac__type_new_ *) 0)
24206 return 0;
24207 if (sizeof (ac__type_new_))
24208 return 0;
24209 ;
24210 return 0;
24211 }
24212 _ACEOF
24213 rm -f conftest.$ac_objext
24214 if { (ac_try="$ac_compile"
24215 case "(($ac_try" in
24216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24217 *) ac_try_echo=$ac_try;;
24218 esac
24219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24220 (eval "$ac_compile") 2>conftest.er1
24221 ac_status=$?
24222 grep -v '^ *+' conftest.er1 >conftest.err
24223 rm -f conftest.er1
24224 cat conftest.err >&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); } && {
24227 test -z "$ac_c_werror_flag" ||
24228 test ! -s conftest.err
24229 } && test -s conftest.$ac_objext; then
24230 ac_cv_type_long_long=yes
24231 else
24232 echo "$as_me: failed program was:" >&5
24233 sed 's/^/| /' conftest.$ac_ext >&5
24234
24235 ac_cv_type_long_long=no
24236 fi
24237
24238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24239 fi
24240 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24241 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24242
24243 # The cast to long int works around a bug in the HP C Compiler
24244 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24245 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24246 # This bug is HP SR number 8606223364.
24247 { echo "$as_me:$LINENO: checking size of long long" >&5
24248 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24249 if test "${ac_cv_sizeof_long_long+set}" = set; then
24250 echo $ECHO_N "(cached) $ECHO_C" >&6
24251 else
24252 if test "$cross_compiling" = yes; then
24253 # Depending upon the size, compute the lo and hi bounds.
24254 cat >conftest.$ac_ext <<_ACEOF
24255 /* confdefs.h. */
24256 _ACEOF
24257 cat confdefs.h >>conftest.$ac_ext
24258 cat >>conftest.$ac_ext <<_ACEOF
24259 /* end confdefs.h. */
24260 $ac_includes_default
24261 typedef long long ac__type_sizeof_;
24262 int
24263 main ()
24264 {
24265 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24266 test_array [0] = 0
24267
24268 ;
24269 return 0;
24270 }
24271 _ACEOF
24272 rm -f conftest.$ac_objext
24273 if { (ac_try="$ac_compile"
24274 case "(($ac_try" in
24275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24276 *) ac_try_echo=$ac_try;;
24277 esac
24278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24279 (eval "$ac_compile") 2>conftest.er1
24280 ac_status=$?
24281 grep -v '^ *+' conftest.er1 >conftest.err
24282 rm -f conftest.er1
24283 cat conftest.err >&5
24284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24285 (exit $ac_status); } && {
24286 test -z "$ac_c_werror_flag" ||
24287 test ! -s conftest.err
24288 } && test -s conftest.$ac_objext; then
24289 ac_lo=0 ac_mid=0
24290 while :; do
24291 cat >conftest.$ac_ext <<_ACEOF
24292 /* confdefs.h. */
24293 _ACEOF
24294 cat confdefs.h >>conftest.$ac_ext
24295 cat >>conftest.$ac_ext <<_ACEOF
24296 /* end confdefs.h. */
24297 $ac_includes_default
24298 typedef long long ac__type_sizeof_;
24299 int
24300 main ()
24301 {
24302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24303 test_array [0] = 0
24304
24305 ;
24306 return 0;
24307 }
24308 _ACEOF
24309 rm -f conftest.$ac_objext
24310 if { (ac_try="$ac_compile"
24311 case "(($ac_try" in
24312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24313 *) ac_try_echo=$ac_try;;
24314 esac
24315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24316 (eval "$ac_compile") 2>conftest.er1
24317 ac_status=$?
24318 grep -v '^ *+' conftest.er1 >conftest.err
24319 rm -f conftest.er1
24320 cat conftest.err >&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); } && {
24323 test -z "$ac_c_werror_flag" ||
24324 test ! -s conftest.err
24325 } && test -s conftest.$ac_objext; then
24326 ac_hi=$ac_mid; break
24327 else
24328 echo "$as_me: failed program was:" >&5
24329 sed 's/^/| /' conftest.$ac_ext >&5
24330
24331 ac_lo=`expr $ac_mid + 1`
24332 if test $ac_lo -le $ac_mid; then
24333 ac_lo= ac_hi=
24334 break
24335 fi
24336 ac_mid=`expr 2 '*' $ac_mid + 1`
24337 fi
24338
24339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24340 done
24341 else
24342 echo "$as_me: failed program was:" >&5
24343 sed 's/^/| /' conftest.$ac_ext >&5
24344
24345 cat >conftest.$ac_ext <<_ACEOF
24346 /* confdefs.h. */
24347 _ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24351 $ac_includes_default
24352 typedef long long ac__type_sizeof_;
24353 int
24354 main ()
24355 {
24356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24357 test_array [0] = 0
24358
24359 ;
24360 return 0;
24361 }
24362 _ACEOF
24363 rm -f conftest.$ac_objext
24364 if { (ac_try="$ac_compile"
24365 case "(($ac_try" in
24366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24367 *) ac_try_echo=$ac_try;;
24368 esac
24369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24370 (eval "$ac_compile") 2>conftest.er1
24371 ac_status=$?
24372 grep -v '^ *+' conftest.er1 >conftest.err
24373 rm -f conftest.er1
24374 cat conftest.err >&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } && {
24377 test -z "$ac_c_werror_flag" ||
24378 test ! -s conftest.err
24379 } && test -s conftest.$ac_objext; then
24380 ac_hi=-1 ac_mid=-1
24381 while :; do
24382 cat >conftest.$ac_ext <<_ACEOF
24383 /* confdefs.h. */
24384 _ACEOF
24385 cat confdefs.h >>conftest.$ac_ext
24386 cat >>conftest.$ac_ext <<_ACEOF
24387 /* end confdefs.h. */
24388 $ac_includes_default
24389 typedef long long ac__type_sizeof_;
24390 int
24391 main ()
24392 {
24393 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24394 test_array [0] = 0
24395
24396 ;
24397 return 0;
24398 }
24399 _ACEOF
24400 rm -f conftest.$ac_objext
24401 if { (ac_try="$ac_compile"
24402 case "(($ac_try" in
24403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24404 *) ac_try_echo=$ac_try;;
24405 esac
24406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24407 (eval "$ac_compile") 2>conftest.er1
24408 ac_status=$?
24409 grep -v '^ *+' conftest.er1 >conftest.err
24410 rm -f conftest.er1
24411 cat conftest.err >&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); } && {
24414 test -z "$ac_c_werror_flag" ||
24415 test ! -s conftest.err
24416 } && test -s conftest.$ac_objext; then
24417 ac_lo=$ac_mid; break
24418 else
24419 echo "$as_me: failed program was:" >&5
24420 sed 's/^/| /' conftest.$ac_ext >&5
24421
24422 ac_hi=`expr '(' $ac_mid ')' - 1`
24423 if test $ac_mid -le $ac_hi; then
24424 ac_lo= ac_hi=
24425 break
24426 fi
24427 ac_mid=`expr 2 '*' $ac_mid`
24428 fi
24429
24430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24431 done
24432 else
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.$ac_ext >&5
24435
24436 ac_lo= ac_hi=
24437 fi
24438
24439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24440 fi
24441
24442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24443 # Binary search between lo and hi bounds.
24444 while test "x$ac_lo" != "x$ac_hi"; do
24445 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24446 cat >conftest.$ac_ext <<_ACEOF
24447 /* confdefs.h. */
24448 _ACEOF
24449 cat confdefs.h >>conftest.$ac_ext
24450 cat >>conftest.$ac_ext <<_ACEOF
24451 /* end confdefs.h. */
24452 $ac_includes_default
24453 typedef long long ac__type_sizeof_;
24454 int
24455 main ()
24456 {
24457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24458 test_array [0] = 0
24459
24460 ;
24461 return 0;
24462 }
24463 _ACEOF
24464 rm -f conftest.$ac_objext
24465 if { (ac_try="$ac_compile"
24466 case "(($ac_try" in
24467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24468 *) ac_try_echo=$ac_try;;
24469 esac
24470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24471 (eval "$ac_compile") 2>conftest.er1
24472 ac_status=$?
24473 grep -v '^ *+' conftest.er1 >conftest.err
24474 rm -f conftest.er1
24475 cat conftest.err >&5
24476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477 (exit $ac_status); } && {
24478 test -z "$ac_c_werror_flag" ||
24479 test ! -s conftest.err
24480 } && test -s conftest.$ac_objext; then
24481 ac_hi=$ac_mid
24482 else
24483 echo "$as_me: failed program was:" >&5
24484 sed 's/^/| /' conftest.$ac_ext >&5
24485
24486 ac_lo=`expr '(' $ac_mid ')' + 1`
24487 fi
24488
24489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24490 done
24491 case $ac_lo in
24492 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24493 '') if test "$ac_cv_type_long_long" = yes; then
24494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24495 See \`config.log' for more details." >&5
24496 echo "$as_me: error: cannot compute sizeof (long long)
24497 See \`config.log' for more details." >&2;}
24498 { (exit 77); exit 77; }; }
24499 else
24500 ac_cv_sizeof_long_long=0
24501 fi ;;
24502 esac
24503 else
24504 cat >conftest.$ac_ext <<_ACEOF
24505 /* confdefs.h. */
24506 _ACEOF
24507 cat confdefs.h >>conftest.$ac_ext
24508 cat >>conftest.$ac_ext <<_ACEOF
24509 /* end confdefs.h. */
24510 $ac_includes_default
24511 typedef long long ac__type_sizeof_;
24512 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24513 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24514 #include <stdio.h>
24515 #include <stdlib.h>
24516 int
24517 main ()
24518 {
24519
24520 FILE *f = fopen ("conftest.val", "w");
24521 if (! f)
24522 return 1;
24523 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24524 {
24525 long int i = longval ();
24526 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24527 return 1;
24528 fprintf (f, "%ld\n", i);
24529 }
24530 else
24531 {
24532 unsigned long int i = ulongval ();
24533 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24534 return 1;
24535 fprintf (f, "%lu\n", i);
24536 }
24537 return ferror (f) || fclose (f) != 0;
24538
24539 ;
24540 return 0;
24541 }
24542 _ACEOF
24543 rm -f conftest$ac_exeext
24544 if { (ac_try="$ac_link"
24545 case "(($ac_try" in
24546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24547 *) ac_try_echo=$ac_try;;
24548 esac
24549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24550 (eval "$ac_link") 2>&5
24551 ac_status=$?
24552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24554 { (case "(($ac_try" in
24555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24556 *) ac_try_echo=$ac_try;;
24557 esac
24558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24559 (eval "$ac_try") 2>&5
24560 ac_status=$?
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); }; }; then
24563 ac_cv_sizeof_long_long=`cat conftest.val`
24564 else
24565 echo "$as_me: program exited with status $ac_status" >&5
24566 echo "$as_me: failed program was:" >&5
24567 sed 's/^/| /' conftest.$ac_ext >&5
24568
24569 ( exit $ac_status )
24570 if test "$ac_cv_type_long_long" = yes; then
24571 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24572 See \`config.log' for more details." >&5
24573 echo "$as_me: error: cannot compute sizeof (long long)
24574 See \`config.log' for more details." >&2;}
24575 { (exit 77); exit 77; }; }
24576 else
24577 ac_cv_sizeof_long_long=0
24578 fi
24579 fi
24580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24581 fi
24582 rm -f conftest.val
24583 fi
24584 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24585 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24586
24587
24588
24589 cat >>confdefs.h <<_ACEOF
24590 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24591 _ACEOF
24592
24593
24594 if test "$ac_cv_sizeof_long_long" != "0"; then
24595 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24596 fi
24597 ;;
24598 * )
24599 { echo "$as_me:$LINENO: checking for long long" >&5
24600 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24601 if test "${ac_cv_type_long_long+set}" = set; then
24602 echo $ECHO_N "(cached) $ECHO_C" >&6
24603 else
24604 cat >conftest.$ac_ext <<_ACEOF
24605 /* confdefs.h. */
24606 _ACEOF
24607 cat confdefs.h >>conftest.$ac_ext
24608 cat >>conftest.$ac_ext <<_ACEOF
24609 /* end confdefs.h. */
24610 $ac_includes_default
24611 typedef long long ac__type_new_;
24612 int
24613 main ()
24614 {
24615 if ((ac__type_new_ *) 0)
24616 return 0;
24617 if (sizeof (ac__type_new_))
24618 return 0;
24619 ;
24620 return 0;
24621 }
24622 _ACEOF
24623 rm -f conftest.$ac_objext
24624 if { (ac_try="$ac_compile"
24625 case "(($ac_try" in
24626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627 *) ac_try_echo=$ac_try;;
24628 esac
24629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24630 (eval "$ac_compile") 2>conftest.er1
24631 ac_status=$?
24632 grep -v '^ *+' conftest.er1 >conftest.err
24633 rm -f conftest.er1
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } && {
24637 test -z "$ac_c_werror_flag" ||
24638 test ! -s conftest.err
24639 } && test -s conftest.$ac_objext; then
24640 ac_cv_type_long_long=yes
24641 else
24642 echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.$ac_ext >&5
24644
24645 ac_cv_type_long_long=no
24646 fi
24647
24648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24649 fi
24650 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24651 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24652
24653 # The cast to long int works around a bug in the HP C Compiler
24654 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24655 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24656 # This bug is HP SR number 8606223364.
24657 { echo "$as_me:$LINENO: checking size of long long" >&5
24658 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24659 if test "${ac_cv_sizeof_long_long+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24661 else
24662 if test "$cross_compiling" = yes; then
24663 # Depending upon the size, compute the lo and hi bounds.
24664 cat >conftest.$ac_ext <<_ACEOF
24665 /* confdefs.h. */
24666 _ACEOF
24667 cat confdefs.h >>conftest.$ac_ext
24668 cat >>conftest.$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24670 $ac_includes_default
24671 typedef long long ac__type_sizeof_;
24672 int
24673 main ()
24674 {
24675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24676 test_array [0] = 0
24677
24678 ;
24679 return 0;
24680 }
24681 _ACEOF
24682 rm -f conftest.$ac_objext
24683 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
24690 ac_status=$?
24691 grep -v '^ *+' conftest.er1 >conftest.err
24692 rm -f conftest.er1
24693 cat conftest.err >&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); } && {
24696 test -z "$ac_c_werror_flag" ||
24697 test ! -s conftest.err
24698 } && test -s conftest.$ac_objext; then
24699 ac_lo=0 ac_mid=0
24700 while :; do
24701 cat >conftest.$ac_ext <<_ACEOF
24702 /* confdefs.h. */
24703 _ACEOF
24704 cat confdefs.h >>conftest.$ac_ext
24705 cat >>conftest.$ac_ext <<_ACEOF
24706 /* end confdefs.h. */
24707 $ac_includes_default
24708 typedef long long ac__type_sizeof_;
24709 int
24710 main ()
24711 {
24712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24713 test_array [0] = 0
24714
24715 ;
24716 return 0;
24717 }
24718 _ACEOF
24719 rm -f conftest.$ac_objext
24720 if { (ac_try="$ac_compile"
24721 case "(($ac_try" in
24722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24723 *) ac_try_echo=$ac_try;;
24724 esac
24725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24726 (eval "$ac_compile") 2>conftest.er1
24727 ac_status=$?
24728 grep -v '^ *+' conftest.er1 >conftest.err
24729 rm -f conftest.er1
24730 cat conftest.err >&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } && {
24733 test -z "$ac_c_werror_flag" ||
24734 test ! -s conftest.err
24735 } && test -s conftest.$ac_objext; then
24736 ac_hi=$ac_mid; break
24737 else
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.$ac_ext >&5
24740
24741 ac_lo=`expr $ac_mid + 1`
24742 if test $ac_lo -le $ac_mid; then
24743 ac_lo= ac_hi=
24744 break
24745 fi
24746 ac_mid=`expr 2 '*' $ac_mid + 1`
24747 fi
24748
24749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24750 done
24751 else
24752 echo "$as_me: failed program was:" >&5
24753 sed 's/^/| /' conftest.$ac_ext >&5
24754
24755 cat >conftest.$ac_ext <<_ACEOF
24756 /* confdefs.h. */
24757 _ACEOF
24758 cat confdefs.h >>conftest.$ac_ext
24759 cat >>conftest.$ac_ext <<_ACEOF
24760 /* end confdefs.h. */
24761 $ac_includes_default
24762 typedef long long ac__type_sizeof_;
24763 int
24764 main ()
24765 {
24766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24767 test_array [0] = 0
24768
24769 ;
24770 return 0;
24771 }
24772 _ACEOF
24773 rm -f conftest.$ac_objext
24774 if { (ac_try="$ac_compile"
24775 case "(($ac_try" in
24776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24777 *) ac_try_echo=$ac_try;;
24778 esac
24779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24780 (eval "$ac_compile") 2>conftest.er1
24781 ac_status=$?
24782 grep -v '^ *+' conftest.er1 >conftest.err
24783 rm -f conftest.er1
24784 cat conftest.err >&5
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); } && {
24787 test -z "$ac_c_werror_flag" ||
24788 test ! -s conftest.err
24789 } && test -s conftest.$ac_objext; then
24790 ac_hi=-1 ac_mid=-1
24791 while :; do
24792 cat >conftest.$ac_ext <<_ACEOF
24793 /* confdefs.h. */
24794 _ACEOF
24795 cat confdefs.h >>conftest.$ac_ext
24796 cat >>conftest.$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24798 $ac_includes_default
24799 typedef long long ac__type_sizeof_;
24800 int
24801 main ()
24802 {
24803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24804 test_array [0] = 0
24805
24806 ;
24807 return 0;
24808 }
24809 _ACEOF
24810 rm -f conftest.$ac_objext
24811 if { (ac_try="$ac_compile"
24812 case "(($ac_try" in
24813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24814 *) ac_try_echo=$ac_try;;
24815 esac
24816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24817 (eval "$ac_compile") 2>conftest.er1
24818 ac_status=$?
24819 grep -v '^ *+' conftest.er1 >conftest.err
24820 rm -f conftest.er1
24821 cat conftest.err >&5
24822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24823 (exit $ac_status); } && {
24824 test -z "$ac_c_werror_flag" ||
24825 test ! -s conftest.err
24826 } && test -s conftest.$ac_objext; then
24827 ac_lo=$ac_mid; break
24828 else
24829 echo "$as_me: failed program was:" >&5
24830 sed 's/^/| /' conftest.$ac_ext >&5
24831
24832 ac_hi=`expr '(' $ac_mid ')' - 1`
24833 if test $ac_mid -le $ac_hi; then
24834 ac_lo= ac_hi=
24835 break
24836 fi
24837 ac_mid=`expr 2 '*' $ac_mid`
24838 fi
24839
24840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24841 done
24842 else
24843 echo "$as_me: failed program was:" >&5
24844 sed 's/^/| /' conftest.$ac_ext >&5
24845
24846 ac_lo= ac_hi=
24847 fi
24848
24849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24850 fi
24851
24852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24853 # Binary search between lo and hi bounds.
24854 while test "x$ac_lo" != "x$ac_hi"; do
24855 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24856 cat >conftest.$ac_ext <<_ACEOF
24857 /* confdefs.h. */
24858 _ACEOF
24859 cat confdefs.h >>conftest.$ac_ext
24860 cat >>conftest.$ac_ext <<_ACEOF
24861 /* end confdefs.h. */
24862 $ac_includes_default
24863 typedef long long ac__type_sizeof_;
24864 int
24865 main ()
24866 {
24867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24868 test_array [0] = 0
24869
24870 ;
24871 return 0;
24872 }
24873 _ACEOF
24874 rm -f conftest.$ac_objext
24875 if { (ac_try="$ac_compile"
24876 case "(($ac_try" in
24877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24878 *) ac_try_echo=$ac_try;;
24879 esac
24880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24881 (eval "$ac_compile") 2>conftest.er1
24882 ac_status=$?
24883 grep -v '^ *+' conftest.er1 >conftest.err
24884 rm -f conftest.er1
24885 cat conftest.err >&5
24886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24887 (exit $ac_status); } && {
24888 test -z "$ac_c_werror_flag" ||
24889 test ! -s conftest.err
24890 } && test -s conftest.$ac_objext; then
24891 ac_hi=$ac_mid
24892 else
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24895
24896 ac_lo=`expr '(' $ac_mid ')' + 1`
24897 fi
24898
24899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24900 done
24901 case $ac_lo in
24902 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24903 '') if test "$ac_cv_type_long_long" = yes; then
24904 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24905 See \`config.log' for more details." >&5
24906 echo "$as_me: error: cannot compute sizeof (long long)
24907 See \`config.log' for more details." >&2;}
24908 { (exit 77); exit 77; }; }
24909 else
24910 ac_cv_sizeof_long_long=0
24911 fi ;;
24912 esac
24913 else
24914 cat >conftest.$ac_ext <<_ACEOF
24915 /* confdefs.h. */
24916 _ACEOF
24917 cat confdefs.h >>conftest.$ac_ext
24918 cat >>conftest.$ac_ext <<_ACEOF
24919 /* end confdefs.h. */
24920 $ac_includes_default
24921 typedef long long ac__type_sizeof_;
24922 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24923 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24924 #include <stdio.h>
24925 #include <stdlib.h>
24926 int
24927 main ()
24928 {
24929
24930 FILE *f = fopen ("conftest.val", "w");
24931 if (! f)
24932 return 1;
24933 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24934 {
24935 long int i = longval ();
24936 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24937 return 1;
24938 fprintf (f, "%ld\n", i);
24939 }
24940 else
24941 {
24942 unsigned long int i = ulongval ();
24943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24944 return 1;
24945 fprintf (f, "%lu\n", i);
24946 }
24947 return ferror (f) || fclose (f) != 0;
24948
24949 ;
24950 return 0;
24951 }
24952 _ACEOF
24953 rm -f conftest$ac_exeext
24954 if { (ac_try="$ac_link"
24955 case "(($ac_try" in
24956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24957 *) ac_try_echo=$ac_try;;
24958 esac
24959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24960 (eval "$ac_link") 2>&5
24961 ac_status=$?
24962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24964 { (case "(($ac_try" in
24965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24966 *) ac_try_echo=$ac_try;;
24967 esac
24968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24969 (eval "$ac_try") 2>&5
24970 ac_status=$?
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); }; }; then
24973 ac_cv_sizeof_long_long=`cat conftest.val`
24974 else
24975 echo "$as_me: program exited with status $ac_status" >&5
24976 echo "$as_me: failed program was:" >&5
24977 sed 's/^/| /' conftest.$ac_ext >&5
24978
24979 ( exit $ac_status )
24980 if test "$ac_cv_type_long_long" = yes; then
24981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24982 See \`config.log' for more details." >&5
24983 echo "$as_me: error: cannot compute sizeof (long long)
24984 See \`config.log' for more details." >&2;}
24985 { (exit 77); exit 77; }; }
24986 else
24987 ac_cv_sizeof_long_long=0
24988 fi
24989 fi
24990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24991 fi
24992 rm -f conftest.val
24993 fi
24994 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24995 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24996
24997
24998
24999 cat >>confdefs.h <<_ACEOF
25000 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25001 _ACEOF
25002
25003
25004 esac
25005
25006 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25007 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25008 if test "${ac_cv_type_wchar_t+set}" = set; then
25009 echo $ECHO_N "(cached) $ECHO_C" >&6
25010 else
25011 cat >conftest.$ac_ext <<_ACEOF
25012 /* confdefs.h. */
25013 _ACEOF
25014 cat confdefs.h >>conftest.$ac_ext
25015 cat >>conftest.$ac_ext <<_ACEOF
25016 /* end confdefs.h. */
25017
25018 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25019 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25020 # error "fake wchar_t"
25021 #endif
25022 #ifdef HAVE_WCHAR_H
25023 # ifdef __CYGWIN__
25024 # include <stddef.h>
25025 # endif
25026 # include <wchar.h>
25027 #endif
25028 #ifdef HAVE_STDLIB_H
25029 # include <stdlib.h>
25030 #endif
25031 #include <stdio.h>
25032
25033
25034
25035 typedef wchar_t ac__type_new_;
25036 int
25037 main ()
25038 {
25039 if ((ac__type_new_ *) 0)
25040 return 0;
25041 if (sizeof (ac__type_new_))
25042 return 0;
25043 ;
25044 return 0;
25045 }
25046 _ACEOF
25047 rm -f conftest.$ac_objext
25048 if { (ac_try="$ac_compile"
25049 case "(($ac_try" in
25050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25051 *) ac_try_echo=$ac_try;;
25052 esac
25053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25054 (eval "$ac_compile") 2>conftest.er1
25055 ac_status=$?
25056 grep -v '^ *+' conftest.er1 >conftest.err
25057 rm -f conftest.er1
25058 cat conftest.err >&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); } && {
25061 test -z "$ac_c_werror_flag" ||
25062 test ! -s conftest.err
25063 } && test -s conftest.$ac_objext; then
25064 ac_cv_type_wchar_t=yes
25065 else
25066 echo "$as_me: failed program was:" >&5
25067 sed 's/^/| /' conftest.$ac_ext >&5
25068
25069 ac_cv_type_wchar_t=no
25070 fi
25071
25072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25073 fi
25074 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25075 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25076
25077 # The cast to long int works around a bug in the HP C Compiler
25078 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25079 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25080 # This bug is HP SR number 8606223364.
25081 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25082 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25083 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25084 echo $ECHO_N "(cached) $ECHO_C" >&6
25085 else
25086 if test "$cross_compiling" = yes; then
25087 # Depending upon the size, compute the lo and hi bounds.
25088 cat >conftest.$ac_ext <<_ACEOF
25089 /* confdefs.h. */
25090 _ACEOF
25091 cat confdefs.h >>conftest.$ac_ext
25092 cat >>conftest.$ac_ext <<_ACEOF
25093 /* end confdefs.h. */
25094
25095 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25096 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25097 # error "fake wchar_t"
25098 #endif
25099 #ifdef HAVE_WCHAR_H
25100 # ifdef __CYGWIN__
25101 # include <stddef.h>
25102 # endif
25103 # include <wchar.h>
25104 #endif
25105 #ifdef HAVE_STDLIB_H
25106 # include <stdlib.h>
25107 #endif
25108 #include <stdio.h>
25109
25110
25111
25112 typedef wchar_t ac__type_sizeof_;
25113 int
25114 main ()
25115 {
25116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25117 test_array [0] = 0
25118
25119 ;
25120 return 0;
25121 }
25122 _ACEOF
25123 rm -f conftest.$ac_objext
25124 if { (ac_try="$ac_compile"
25125 case "(($ac_try" in
25126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25127 *) ac_try_echo=$ac_try;;
25128 esac
25129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25130 (eval "$ac_compile") 2>conftest.er1
25131 ac_status=$?
25132 grep -v '^ *+' conftest.er1 >conftest.err
25133 rm -f conftest.er1
25134 cat conftest.err >&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); } && {
25137 test -z "$ac_c_werror_flag" ||
25138 test ! -s conftest.err
25139 } && test -s conftest.$ac_objext; then
25140 ac_lo=0 ac_mid=0
25141 while :; do
25142 cat >conftest.$ac_ext <<_ACEOF
25143 /* confdefs.h. */
25144 _ACEOF
25145 cat confdefs.h >>conftest.$ac_ext
25146 cat >>conftest.$ac_ext <<_ACEOF
25147 /* end confdefs.h. */
25148
25149 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25150 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25151 # error "fake wchar_t"
25152 #endif
25153 #ifdef HAVE_WCHAR_H
25154 # ifdef __CYGWIN__
25155 # include <stddef.h>
25156 # endif
25157 # include <wchar.h>
25158 #endif
25159 #ifdef HAVE_STDLIB_H
25160 # include <stdlib.h>
25161 #endif
25162 #include <stdio.h>
25163
25164
25165
25166 typedef wchar_t ac__type_sizeof_;
25167 int
25168 main ()
25169 {
25170 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25171 test_array [0] = 0
25172
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_hi=$ac_mid; break
25195 else
25196 echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.$ac_ext >&5
25198
25199 ac_lo=`expr $ac_mid + 1`
25200 if test $ac_lo -le $ac_mid; then
25201 ac_lo= ac_hi=
25202 break
25203 fi
25204 ac_mid=`expr 2 '*' $ac_mid + 1`
25205 fi
25206
25207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25208 done
25209 else
25210 echo "$as_me: failed program was:" >&5
25211 sed 's/^/| /' conftest.$ac_ext >&5
25212
25213 cat >conftest.$ac_ext <<_ACEOF
25214 /* confdefs.h. */
25215 _ACEOF
25216 cat confdefs.h >>conftest.$ac_ext
25217 cat >>conftest.$ac_ext <<_ACEOF
25218 /* end confdefs.h. */
25219
25220 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25221 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25222 # error "fake wchar_t"
25223 #endif
25224 #ifdef HAVE_WCHAR_H
25225 # ifdef __CYGWIN__
25226 # include <stddef.h>
25227 # endif
25228 # include <wchar.h>
25229 #endif
25230 #ifdef HAVE_STDLIB_H
25231 # include <stdlib.h>
25232 #endif
25233 #include <stdio.h>
25234
25235
25236
25237 typedef wchar_t ac__type_sizeof_;
25238 int
25239 main ()
25240 {
25241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25242 test_array [0] = 0
25243
25244 ;
25245 return 0;
25246 }
25247 _ACEOF
25248 rm -f conftest.$ac_objext
25249 if { (ac_try="$ac_compile"
25250 case "(($ac_try" in
25251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25252 *) ac_try_echo=$ac_try;;
25253 esac
25254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25256 ac_status=$?
25257 grep -v '^ *+' conftest.er1 >conftest.err
25258 rm -f conftest.er1
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_c_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.$ac_objext; then
25265 ac_hi=-1 ac_mid=-1
25266 while :; do
25267 cat >conftest.$ac_ext <<_ACEOF
25268 /* confdefs.h. */
25269 _ACEOF
25270 cat confdefs.h >>conftest.$ac_ext
25271 cat >>conftest.$ac_ext <<_ACEOF
25272 /* end confdefs.h. */
25273
25274 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25275 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25276 # error "fake wchar_t"
25277 #endif
25278 #ifdef HAVE_WCHAR_H
25279 # ifdef __CYGWIN__
25280 # include <stddef.h>
25281 # endif
25282 # include <wchar.h>
25283 #endif
25284 #ifdef HAVE_STDLIB_H
25285 # include <stdlib.h>
25286 #endif
25287 #include <stdio.h>
25288
25289
25290
25291 typedef wchar_t ac__type_sizeof_;
25292 int
25293 main ()
25294 {
25295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25296 test_array [0] = 0
25297
25298 ;
25299 return 0;
25300 }
25301 _ACEOF
25302 rm -f conftest.$ac_objext
25303 if { (ac_try="$ac_compile"
25304 case "(($ac_try" in
25305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25306 *) ac_try_echo=$ac_try;;
25307 esac
25308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25309 (eval "$ac_compile") 2>conftest.er1
25310 ac_status=$?
25311 grep -v '^ *+' conftest.er1 >conftest.err
25312 rm -f conftest.er1
25313 cat conftest.err >&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); } && {
25316 test -z "$ac_c_werror_flag" ||
25317 test ! -s conftest.err
25318 } && test -s conftest.$ac_objext; then
25319 ac_lo=$ac_mid; break
25320 else
25321 echo "$as_me: failed program was:" >&5
25322 sed 's/^/| /' conftest.$ac_ext >&5
25323
25324 ac_hi=`expr '(' $ac_mid ')' - 1`
25325 if test $ac_mid -le $ac_hi; then
25326 ac_lo= ac_hi=
25327 break
25328 fi
25329 ac_mid=`expr 2 '*' $ac_mid`
25330 fi
25331
25332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25333 done
25334 else
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.$ac_ext >&5
25337
25338 ac_lo= ac_hi=
25339 fi
25340
25341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25342 fi
25343
25344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25345 # Binary search between lo and hi bounds.
25346 while test "x$ac_lo" != "x$ac_hi"; do
25347 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25348 cat >conftest.$ac_ext <<_ACEOF
25349 /* confdefs.h. */
25350 _ACEOF
25351 cat confdefs.h >>conftest.$ac_ext
25352 cat >>conftest.$ac_ext <<_ACEOF
25353 /* end confdefs.h. */
25354
25355 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25356 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25357 # error "fake wchar_t"
25358 #endif
25359 #ifdef HAVE_WCHAR_H
25360 # ifdef __CYGWIN__
25361 # include <stddef.h>
25362 # endif
25363 # include <wchar.h>
25364 #endif
25365 #ifdef HAVE_STDLIB_H
25366 # include <stdlib.h>
25367 #endif
25368 #include <stdio.h>
25369
25370
25371
25372 typedef wchar_t ac__type_sizeof_;
25373 int
25374 main ()
25375 {
25376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25377 test_array [0] = 0
25378
25379 ;
25380 return 0;
25381 }
25382 _ACEOF
25383 rm -f conftest.$ac_objext
25384 if { (ac_try="$ac_compile"
25385 case "(($ac_try" in
25386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25387 *) ac_try_echo=$ac_try;;
25388 esac
25389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25390 (eval "$ac_compile") 2>conftest.er1
25391 ac_status=$?
25392 grep -v '^ *+' conftest.er1 >conftest.err
25393 rm -f conftest.er1
25394 cat conftest.err >&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); } && {
25397 test -z "$ac_c_werror_flag" ||
25398 test ! -s conftest.err
25399 } && test -s conftest.$ac_objext; then
25400 ac_hi=$ac_mid
25401 else
25402 echo "$as_me: failed program was:" >&5
25403 sed 's/^/| /' conftest.$ac_ext >&5
25404
25405 ac_lo=`expr '(' $ac_mid ')' + 1`
25406 fi
25407
25408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25409 done
25410 case $ac_lo in
25411 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25412 '') if test "$ac_cv_type_wchar_t" = yes; then
25413 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25414 See \`config.log' for more details." >&5
25415 echo "$as_me: error: cannot compute sizeof (wchar_t)
25416 See \`config.log' for more details." >&2;}
25417 { (exit 77); exit 77; }; }
25418 else
25419 ac_cv_sizeof_wchar_t=0
25420 fi ;;
25421 esac
25422 else
25423 cat >conftest.$ac_ext <<_ACEOF
25424 /* confdefs.h. */
25425 _ACEOF
25426 cat confdefs.h >>conftest.$ac_ext
25427 cat >>conftest.$ac_ext <<_ACEOF
25428 /* end confdefs.h. */
25429
25430 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25431 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25432 # error "fake wchar_t"
25433 #endif
25434 #ifdef HAVE_WCHAR_H
25435 # ifdef __CYGWIN__
25436 # include <stddef.h>
25437 # endif
25438 # include <wchar.h>
25439 #endif
25440 #ifdef HAVE_STDLIB_H
25441 # include <stdlib.h>
25442 #endif
25443 #include <stdio.h>
25444
25445
25446
25447 typedef wchar_t ac__type_sizeof_;
25448 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25449 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25450 #include <stdio.h>
25451 #include <stdlib.h>
25452 int
25453 main ()
25454 {
25455
25456 FILE *f = fopen ("conftest.val", "w");
25457 if (! f)
25458 return 1;
25459 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25460 {
25461 long int i = longval ();
25462 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25463 return 1;
25464 fprintf (f, "%ld\n", i);
25465 }
25466 else
25467 {
25468 unsigned long int i = ulongval ();
25469 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25470 return 1;
25471 fprintf (f, "%lu\n", i);
25472 }
25473 return ferror (f) || fclose (f) != 0;
25474
25475 ;
25476 return 0;
25477 }
25478 _ACEOF
25479 rm -f conftest$ac_exeext
25480 if { (ac_try="$ac_link"
25481 case "(($ac_try" in
25482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25483 *) ac_try_echo=$ac_try;;
25484 esac
25485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25486 (eval "$ac_link") 2>&5
25487 ac_status=$?
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25490 { (case "(($ac_try" in
25491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25492 *) ac_try_echo=$ac_try;;
25493 esac
25494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25495 (eval "$ac_try") 2>&5
25496 ac_status=$?
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); }; }; then
25499 ac_cv_sizeof_wchar_t=`cat conftest.val`
25500 else
25501 echo "$as_me: program exited with status $ac_status" >&5
25502 echo "$as_me: failed program was:" >&5
25503 sed 's/^/| /' conftest.$ac_ext >&5
25504
25505 ( exit $ac_status )
25506 if test "$ac_cv_type_wchar_t" = yes; then
25507 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25508 See \`config.log' for more details." >&5
25509 echo "$as_me: error: cannot compute sizeof (wchar_t)
25510 See \`config.log' for more details." >&2;}
25511 { (exit 77); exit 77; }; }
25512 else
25513 ac_cv_sizeof_wchar_t=0
25514 fi
25515 fi
25516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25517 fi
25518 rm -f conftest.val
25519 fi
25520 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25521 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25522
25523
25524
25525 cat >>confdefs.h <<_ACEOF
25526 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25527 _ACEOF
25528
25529
25530 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25531 wxUSE_WCHAR_T=yes
25532 else
25533 wxUSE_WCHAR_T=no
25534 fi
25535
25536 { echo "$as_me:$LINENO: checking for va_copy" >&5
25537 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25538 if test "${wx_cv_func_va_copy+set}" = set; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25540 else
25541
25542 ac_ext=cpp
25543 ac_cpp='$CXXCPP $CPPFLAGS'
25544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25547
25548 cat >conftest.$ac_ext <<_ACEOF
25549
25550 #include <stdarg.h>
25551 void foo(char *f, ...)
25552 {
25553 va_list ap1, ap2;
25554 va_start(ap1, f);
25555 va_copy(ap2, ap1);
25556 va_end(ap2);
25557 va_end(ap1);
25558 }
25559 int main()
25560 {
25561 foo("hi", 17);
25562 return 0;
25563 }
25564 _ACEOF
25565 rm -f conftest.$ac_objext conftest$ac_exeext
25566 if { (ac_try="$ac_link"
25567 case "(($ac_try" in
25568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25569 *) ac_try_echo=$ac_try;;
25570 esac
25571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25572 (eval "$ac_link") 2>conftest.er1
25573 ac_status=$?
25574 grep -v '^ *+' conftest.er1 >conftest.err
25575 rm -f conftest.er1
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } && {
25579 test -z "$ac_cxx_werror_flag" ||
25580 test ! -s conftest.err
25581 } && test -s conftest$ac_exeext &&
25582 $as_test_x conftest$ac_exeext; then
25583 wx_cv_func_va_copy=yes
25584 else
25585 echo "$as_me: failed program was:" >&5
25586 sed 's/^/| /' conftest.$ac_ext >&5
25587
25588 wx_cv_func_va_copy=no
25589
25590 fi
25591
25592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25593 conftest$ac_exeext conftest.$ac_ext
25594 ac_ext=c
25595 ac_cpp='$CPP $CPPFLAGS'
25596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25599
25600
25601
25602 fi
25603 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25604 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25605
25606 if test $wx_cv_func_va_copy = "yes"; then
25607 cat >>confdefs.h <<\_ACEOF
25608 #define HAVE_VA_COPY 1
25609 _ACEOF
25610
25611 else
25612 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25613 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25614 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25615 echo $ECHO_N "(cached) $ECHO_C" >&6
25616 else
25617
25618 if test "$cross_compiling" = yes; then
25619 wx_cv_type_va_list_lvalue=yes
25620
25621 else
25622 cat >conftest.$ac_ext <<_ACEOF
25623
25624 #include <stdarg.h>
25625 int foo(char *f, ...)
25626 {
25627 va_list ap1, ap2;
25628 va_start(ap1, f);
25629 ap2 = ap1;
25630 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25631 return 1;
25632 va_end(ap2);
25633 va_end(ap1);
25634 return 0;
25635 }
25636 int main()
25637 {
25638 return foo("hi", 17);
25639 }
25640 _ACEOF
25641 rm -f conftest$ac_exeext
25642 if { (ac_try="$ac_link"
25643 case "(($ac_try" in
25644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25645 *) ac_try_echo=$ac_try;;
25646 esac
25647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25648 (eval "$ac_link") 2>&5
25649 ac_status=$?
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25652 { (case "(($ac_try" in
25653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25654 *) ac_try_echo=$ac_try;;
25655 esac
25656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25657 (eval "$ac_try") 2>&5
25658 ac_status=$?
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); }; }; then
25661 wx_cv_type_va_list_lvalue=yes
25662 else
25663 echo "$as_me: program exited with status $ac_status" >&5
25664 echo "$as_me: failed program was:" >&5
25665 sed 's/^/| /' conftest.$ac_ext >&5
25666
25667 ( exit $ac_status )
25668 wx_cv_type_va_list_lvalue=no
25669 fi
25670 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25671 fi
25672
25673
25674
25675
25676 fi
25677 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25678 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25679
25680 if test $wx_cv_type_va_list_lvalue != "yes"; then
25681 cat >>confdefs.h <<\_ACEOF
25682 #define VA_LIST_IS_ARRAY 1
25683 _ACEOF
25684
25685 fi
25686 fi
25687
25688 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25689
25690 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25691 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25692 if test "${wx_cv_have_variadic_macros+set}" = set; then
25693 echo $ECHO_N "(cached) $ECHO_C" >&6
25694 else
25695
25696 ac_ext=cpp
25697 ac_cpp='$CXXCPP $CPPFLAGS'
25698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25701
25702 cat >conftest.$ac_ext <<_ACEOF
25703 /* confdefs.h. */
25704 _ACEOF
25705 cat confdefs.h >>conftest.$ac_ext
25706 cat >>conftest.$ac_ext <<_ACEOF
25707 /* end confdefs.h. */
25708
25709 #include <stdio.h>
25710 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25711
25712 int
25713 main ()
25714 {
25715
25716 test("%s %d %p", "test", 1, 0);
25717
25718
25719 ;
25720 return 0;
25721 }
25722 _ACEOF
25723 rm -f conftest.$ac_objext
25724 if { (ac_try="$ac_compile"
25725 case "(($ac_try" in
25726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25727 *) ac_try_echo=$ac_try;;
25728 esac
25729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25730 (eval "$ac_compile") 2>conftest.er1
25731 ac_status=$?
25732 grep -v '^ *+' conftest.er1 >conftest.err
25733 rm -f conftest.er1
25734 cat conftest.err >&5
25735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25736 (exit $ac_status); } && {
25737 test -z "$ac_cxx_werror_flag" ||
25738 test ! -s conftest.err
25739 } && test -s conftest.$ac_objext; then
25740 wx_cv_have_variadic_macros=yes
25741 else
25742 echo "$as_me: failed program was:" >&5
25743 sed 's/^/| /' conftest.$ac_ext >&5
25744
25745 wx_cv_have_variadic_macros=no
25746
25747 fi
25748
25749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25750 ac_ext=c
25751 ac_cpp='$CPP $CPPFLAGS'
25752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25755
25756
25757
25758 fi
25759 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25760 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25761
25762 if test $wx_cv_have_variadic_macros = "yes"; then
25763 cat >>confdefs.h <<\_ACEOF
25764 #define HAVE_VARIADIC_MACROS 1
25765 _ACEOF
25766
25767 fi
25768
25769 fi
25770 # Check whether --enable-largefile was given.
25771 if test "${enable_largefile+set}" = set; then
25772 enableval=$enable_largefile;
25773 fi
25774
25775 if test "$enable_largefile" != no; then
25776 wx_largefile=no
25777
25778 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25779 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25780 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25781 echo $ECHO_N "(cached) $ECHO_C" >&6
25782 else
25783
25784 cat >conftest.$ac_ext <<_ACEOF
25785 /* confdefs.h. */
25786 _ACEOF
25787 cat confdefs.h >>conftest.$ac_ext
25788 cat >>conftest.$ac_ext <<_ACEOF
25789 /* end confdefs.h. */
25790 #define _FILE_OFFSET_BITS 64
25791 #include <sys/types.h>
25792 int
25793 main ()
25794 {
25795 typedef struct {
25796 unsigned int field: sizeof(off_t) == 8;
25797 } wxlf;
25798
25799 ;
25800 return 0;
25801 }
25802 _ACEOF
25803 rm -f conftest.$ac_objext
25804 if { (ac_try="$ac_compile"
25805 case "(($ac_try" in
25806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25807 *) ac_try_echo=$ac_try;;
25808 esac
25809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25810 (eval "$ac_compile") 2>conftest.er1
25811 ac_status=$?
25812 grep -v '^ *+' conftest.er1 >conftest.err
25813 rm -f conftest.er1
25814 cat conftest.err >&5
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); } && {
25817 test -z "$ac_c_werror_flag" ||
25818 test ! -s conftest.err
25819 } && test -s conftest.$ac_objext; then
25820 ac_cv_sys_file_offset_bits=64
25821 else
25822 echo "$as_me: failed program was:" >&5
25823 sed 's/^/| /' conftest.$ac_ext >&5
25824
25825 ac_cv_sys_file_offset_bits=no
25826 fi
25827
25828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25829
25830
25831 fi
25832 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25833 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25834
25835 if test "$ac_cv_sys_file_offset_bits" != no; then
25836 wx_largefile=yes
25837 cat >>confdefs.h <<_ACEOF
25838 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25839 _ACEOF
25840
25841 fi
25842
25843 if test "x$wx_largefile" != "xyes"; then
25844
25845 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25846 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25847 if test "${ac_cv_sys_large_files+set}" = set; then
25848 echo $ECHO_N "(cached) $ECHO_C" >&6
25849 else
25850
25851 cat >conftest.$ac_ext <<_ACEOF
25852 /* confdefs.h. */
25853 _ACEOF
25854 cat confdefs.h >>conftest.$ac_ext
25855 cat >>conftest.$ac_ext <<_ACEOF
25856 /* end confdefs.h. */
25857 #define _LARGE_FILES 1
25858 #include <sys/types.h>
25859 int
25860 main ()
25861 {
25862 typedef struct {
25863 unsigned int field: sizeof(off_t) == 8;
25864 } wxlf;
25865
25866 ;
25867 return 0;
25868 }
25869 _ACEOF
25870 rm -f conftest.$ac_objext
25871 if { (ac_try="$ac_compile"
25872 case "(($ac_try" in
25873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25874 *) ac_try_echo=$ac_try;;
25875 esac
25876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25877 (eval "$ac_compile") 2>conftest.er1
25878 ac_status=$?
25879 grep -v '^ *+' conftest.er1 >conftest.err
25880 rm -f conftest.er1
25881 cat conftest.err >&5
25882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25883 (exit $ac_status); } && {
25884 test -z "$ac_c_werror_flag" ||
25885 test ! -s conftest.err
25886 } && test -s conftest.$ac_objext; then
25887 ac_cv_sys_large_files=1
25888 else
25889 echo "$as_me: failed program was:" >&5
25890 sed 's/^/| /' conftest.$ac_ext >&5
25891
25892 ac_cv_sys_large_files=no
25893 fi
25894
25895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25896
25897
25898 fi
25899 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25900 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25901
25902 if test "$ac_cv_sys_large_files" != no; then
25903 wx_largefile=yes
25904 cat >>confdefs.h <<_ACEOF
25905 #define _LARGE_FILES $ac_cv_sys_large_files
25906 _ACEOF
25907
25908 fi
25909
25910 fi
25911
25912 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25913 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25914 if test "x$wx_largefile" = "xyes"; then
25915 cat >>confdefs.h <<\_ACEOF
25916 #define HAVE_LARGEFILE_SUPPORT 1
25917 _ACEOF
25918
25919 fi
25920 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25921 echo "${ECHO_T}$wx_largefile" >&6; }
25922 fi
25923
25924
25925 if test "x$wx_largefile" = "xyes"; then
25926 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25927 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25928
25929 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25930 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25931 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25932 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25933 echo $ECHO_N "(cached) $ECHO_C" >&6
25934 else
25935
25936 ac_ext=cpp
25937 ac_cpp='$CXXCPP $CPPFLAGS'
25938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25941
25942 cat >conftest.$ac_ext <<_ACEOF
25943 /* confdefs.h. */
25944 _ACEOF
25945 cat confdefs.h >>conftest.$ac_ext
25946 cat >>conftest.$ac_ext <<_ACEOF
25947 /* end confdefs.h. */
25948
25949 int
25950 main ()
25951 {
25952
25953 #ifndef __STDC_EXT__
25954 choke me
25955 #endif
25956
25957 ;
25958 return 0;
25959 }
25960 _ACEOF
25961 rm -f conftest.$ac_objext
25962 if { (ac_try="$ac_compile"
25963 case "(($ac_try" in
25964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25965 *) ac_try_echo=$ac_try;;
25966 esac
25967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25968 (eval "$ac_compile") 2>conftest.er1
25969 ac_status=$?
25970 grep -v '^ *+' conftest.er1 >conftest.err
25971 rm -f conftest.er1
25972 cat conftest.err >&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); } && {
25975 test -z "$ac_cxx_werror_flag" ||
25976 test ! -s conftest.err
25977 } && test -s conftest.$ac_objext; then
25978 wx_cv_STDC_EXT_required=no
25979 else
25980 echo "$as_me: failed program was:" >&5
25981 sed 's/^/| /' conftest.$ac_ext >&5
25982
25983 wx_cv_STDC_EXT_required=yes
25984
25985 fi
25986
25987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25988 ac_ext=c
25989 ac_cpp='$CPP $CPPFLAGS'
25990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25993
25994
25995
25996 fi
25997 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25998 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25999 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26000 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26001 fi
26002 fi
26003 else
26004 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26005 fi
26006 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26007 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26008 if test "${ac_cv_sys_largefile_source+set}" = set; then
26009 echo $ECHO_N "(cached) $ECHO_C" >&6
26010 else
26011 while :; do
26012 cat >conftest.$ac_ext <<_ACEOF
26013 /* confdefs.h. */
26014 _ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018 #include <sys/types.h> /* for off_t */
26019 #include <stdio.h>
26020 int
26021 main ()
26022 {
26023 int (*fp) (FILE *, off_t, int) = fseeko;
26024 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26025 ;
26026 return 0;
26027 }
26028 _ACEOF
26029 rm -f conftest.$ac_objext conftest$ac_exeext
26030 if { (ac_try="$ac_link"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26033 *) ac_try_echo=$ac_try;;
26034 esac
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_link") 2>conftest.er1
26037 ac_status=$?
26038 grep -v '^ *+' conftest.er1 >conftest.err
26039 rm -f conftest.er1
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_c_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest$ac_exeext &&
26046 $as_test_x conftest$ac_exeext; then
26047 ac_cv_sys_largefile_source=no; break
26048 else
26049 echo "$as_me: failed program was:" >&5
26050 sed 's/^/| /' conftest.$ac_ext >&5
26051
26052
26053 fi
26054
26055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26056 conftest$ac_exeext conftest.$ac_ext
26057 cat >conftest.$ac_ext <<_ACEOF
26058 /* confdefs.h. */
26059 _ACEOF
26060 cat confdefs.h >>conftest.$ac_ext
26061 cat >>conftest.$ac_ext <<_ACEOF
26062 /* end confdefs.h. */
26063 #define _LARGEFILE_SOURCE 1
26064 #include <sys/types.h> /* for off_t */
26065 #include <stdio.h>
26066 int
26067 main ()
26068 {
26069 int (*fp) (FILE *, off_t, int) = fseeko;
26070 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26071 ;
26072 return 0;
26073 }
26074 _ACEOF
26075 rm -f conftest.$ac_objext conftest$ac_exeext
26076 if { (ac_try="$ac_link"
26077 case "(($ac_try" in
26078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26079 *) ac_try_echo=$ac_try;;
26080 esac
26081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26082 (eval "$ac_link") 2>conftest.er1
26083 ac_status=$?
26084 grep -v '^ *+' conftest.er1 >conftest.err
26085 rm -f conftest.er1
26086 cat conftest.err >&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } && {
26089 test -z "$ac_c_werror_flag" ||
26090 test ! -s conftest.err
26091 } && test -s conftest$ac_exeext &&
26092 $as_test_x conftest$ac_exeext; then
26093 ac_cv_sys_largefile_source=1; break
26094 else
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.$ac_ext >&5
26097
26098
26099 fi
26100
26101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26102 conftest$ac_exeext conftest.$ac_ext
26103 ac_cv_sys_largefile_source=unknown
26104 break
26105 done
26106 fi
26107 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26108 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26109 case $ac_cv_sys_largefile_source in #(
26110 no | unknown) ;;
26111 *)
26112 cat >>confdefs.h <<_ACEOF
26113 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26114 _ACEOF
26115 ;;
26116 esac
26117 rm -f conftest*
26118
26119 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26120 # in glibc 2.1.3, but that breaks too many other things.
26121 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26122 if test $ac_cv_sys_largefile_source != unknown; then
26123
26124 cat >>confdefs.h <<\_ACEOF
26125 #define HAVE_FSEEKO 1
26126 _ACEOF
26127
26128 fi
26129
26130 if test "$ac_cv_sys_largefile_source" != no; then
26131 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26132 fi
26133 fi
26134
26135 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26136 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26137 if test "${ac_cv_c_bigendian+set}" = set; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26139 else
26140 ac_cv_c_bigendian=unknown
26141 # See if sys/param.h defines the BYTE_ORDER macro.
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>
26149 #include <sys/param.h>
26150 int
26151 main ()
26152 {
26153
26154 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26155 bogus endian macros
26156 #endif
26157 ;
26158 return 0;
26159 }
26160 _ACEOF
26161 rm -f conftest.$ac_objext
26162 if { (ac_try="$ac_compile"
26163 case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26165 *) ac_try_echo=$ac_try;;
26166 esac
26167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26168 (eval "$ac_compile") 2>conftest.er1
26169 ac_status=$?
26170 grep -v '^ *+' conftest.er1 >conftest.err
26171 rm -f conftest.er1
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && {
26175 test -z "$ac_c_werror_flag" ||
26176 test ! -s conftest.err
26177 } && test -s conftest.$ac_objext; then
26178 # It does; now see whether it defined to BIG_ENDIAN or not.
26179 cat >conftest.$ac_ext <<_ACEOF
26180 /* confdefs.h. */
26181 _ACEOF
26182 cat confdefs.h >>conftest.$ac_ext
26183 cat >>conftest.$ac_ext <<_ACEOF
26184 /* end confdefs.h. */
26185 #include <sys/types.h>
26186 #include <sys/param.h>
26187 int
26188 main ()
26189 {
26190
26191 #if BYTE_ORDER != BIG_ENDIAN
26192 not big endian
26193 #endif
26194 ;
26195 return 0;
26196 }
26197 _ACEOF
26198 rm -f conftest.$ac_objext
26199 if { (ac_try="$ac_compile"
26200 case "(($ac_try" in
26201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26202 *) ac_try_echo=$ac_try;;
26203 esac
26204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26205 (eval "$ac_compile") 2>conftest.er1
26206 ac_status=$?
26207 grep -v '^ *+' conftest.er1 >conftest.err
26208 rm -f conftest.er1
26209 cat conftest.err >&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } && {
26212 test -z "$ac_c_werror_flag" ||
26213 test ! -s conftest.err
26214 } && test -s conftest.$ac_objext; then
26215 ac_cv_c_bigendian=yes
26216 else
26217 echo "$as_me: failed program was:" >&5
26218 sed 's/^/| /' conftest.$ac_ext >&5
26219
26220 ac_cv_c_bigendian=no
26221 fi
26222
26223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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.$ac_ext
26232 if test $ac_cv_c_bigendian = unknown; then
26233 if test "$cross_compiling" = yes; then
26234 ac_cv_c_bigendian=unknown
26235 else
26236 cat >conftest.$ac_ext <<_ACEOF
26237 /* confdefs.h. */
26238 _ACEOF
26239 cat confdefs.h >>conftest.$ac_ext
26240 cat >>conftest.$ac_ext <<_ACEOF
26241 /* end confdefs.h. */
26242 main () {
26243 /* Are we little or big endian? From Harbison&Steele. */
26244 union
26245 {
26246 long l;
26247 char c[sizeof (long)];
26248 } u;
26249 u.l = 1;
26250 exit (u.c[sizeof (long) - 1] == 1);
26251 }
26252 _ACEOF
26253 rm -f conftest$ac_exeext
26254 if { (ac_try="$ac_link"
26255 case "(($ac_try" in
26256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26257 *) ac_try_echo=$ac_try;;
26258 esac
26259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26260 (eval "$ac_link") 2>&5
26261 ac_status=$?
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26264 { (case "(($ac_try" in
26265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26266 *) ac_try_echo=$ac_try;;
26267 esac
26268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26269 (eval "$ac_try") 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; }; then
26273 ac_cv_c_bigendian=no
26274 else
26275 echo "$as_me: program exited with status $ac_status" >&5
26276 echo "$as_me: failed program was:" >&5
26277 sed 's/^/| /' conftest.$ac_ext >&5
26278
26279 ( exit $ac_status )
26280 ac_cv_c_bigendian=yes
26281 fi
26282 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26283 fi
26284
26285
26286 fi
26287 fi
26288 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26289 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26290 if test $ac_cv_c_bigendian = unknown; then
26291 { 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
26292 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;}
26293 fi
26294 if test $ac_cv_c_bigendian = yes; then
26295 cat >>confdefs.h <<\_ACEOF
26296 #define WORDS_BIGENDIAN 1
26297 _ACEOF
26298
26299 fi
26300
26301
26302
26303
26304 ac_ext=cpp
26305 ac_cpp='$CXXCPP $CPPFLAGS'
26306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26309
26310
26311
26312 for ac_header in iostream
26313 do
26314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26315 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26318 echo $ECHO_N "(cached) $ECHO_C" >&6
26319 else
26320 cat >conftest.$ac_ext <<_ACEOF
26321 /* confdefs.h. */
26322 _ACEOF
26323 cat confdefs.h >>conftest.$ac_ext
26324 cat >>conftest.$ac_ext <<_ACEOF
26325 /* end confdefs.h. */
26326
26327
26328 #include <$ac_header>
26329 _ACEOF
26330 rm -f conftest.$ac_objext
26331 if { (ac_try="$ac_compile"
26332 case "(($ac_try" in
26333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26334 *) ac_try_echo=$ac_try;;
26335 esac
26336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26337 (eval "$ac_compile") 2>conftest.er1
26338 ac_status=$?
26339 grep -v '^ *+' conftest.er1 >conftest.err
26340 rm -f conftest.er1
26341 cat conftest.err >&5
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); } && {
26344 test -z "$ac_cxx_werror_flag" ||
26345 test ! -s conftest.err
26346 } && test -s conftest.$ac_objext; then
26347 eval "$as_ac_Header=yes"
26348 else
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.$ac_ext >&5
26351
26352 eval "$as_ac_Header=no"
26353 fi
26354
26355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26356 fi
26357 ac_res=`eval echo '${'$as_ac_Header'}'`
26358 { echo "$as_me:$LINENO: result: $ac_res" >&5
26359 echo "${ECHO_T}$ac_res" >&6; }
26360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26361 cat >>confdefs.h <<_ACEOF
26362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26363 _ACEOF
26364
26365 fi
26366
26367 done
26368
26369
26370 if test "$ac_cv_header_iostream" = "yes" ; then
26371 :
26372 else
26373 cat >>confdefs.h <<\_ACEOF
26374 #define wxUSE_IOSTREAMH 1
26375 _ACEOF
26376
26377 fi
26378
26379 ac_ext=c
26380 ac_cpp='$CPP $CPPFLAGS'
26381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26384
26385
26386
26387
26388 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26389 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26390 if test "${wx_cv_cpp_bool+set}" = set; then
26391 echo $ECHO_N "(cached) $ECHO_C" >&6
26392 else
26393
26394
26395 ac_ext=cpp
26396 ac_cpp='$CXXCPP $CPPFLAGS'
26397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26400
26401
26402 cat >conftest.$ac_ext <<_ACEOF
26403 /* confdefs.h. */
26404 _ACEOF
26405 cat confdefs.h >>conftest.$ac_ext
26406 cat >>conftest.$ac_ext <<_ACEOF
26407 /* end confdefs.h. */
26408
26409
26410 int
26411 main ()
26412 {
26413
26414 bool b = true;
26415
26416 return 0;
26417
26418 ;
26419 return 0;
26420 }
26421 _ACEOF
26422 rm -f conftest.$ac_objext
26423 if { (ac_try="$ac_compile"
26424 case "(($ac_try" in
26425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26426 *) ac_try_echo=$ac_try;;
26427 esac
26428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26429 (eval "$ac_compile") 2>conftest.er1
26430 ac_status=$?
26431 grep -v '^ *+' conftest.er1 >conftest.err
26432 rm -f conftest.er1
26433 cat conftest.err >&5
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); } && {
26436 test -z "$ac_cxx_werror_flag" ||
26437 test ! -s conftest.err
26438 } && test -s conftest.$ac_objext; then
26439
26440 wx_cv_cpp_bool=yes
26441
26442 else
26443 echo "$as_me: failed program was:" >&5
26444 sed 's/^/| /' conftest.$ac_ext >&5
26445
26446
26447 wx_cv_cpp_bool=no
26448
26449
26450 fi
26451
26452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26453
26454 ac_ext=c
26455 ac_cpp='$CPP $CPPFLAGS'
26456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26459
26460
26461 fi
26462 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26463 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26464
26465 if test "$wx_cv_cpp_bool" = "yes"; then
26466 cat >>confdefs.h <<\_ACEOF
26467 #define HAVE_BOOL 1
26468 _ACEOF
26469
26470 fi
26471
26472
26473
26474 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26475 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26476 if test "${wx_cv_explicit+set}" = set; then
26477 echo $ECHO_N "(cached) $ECHO_C" >&6
26478 else
26479
26480
26481 ac_ext=cpp
26482 ac_cpp='$CXXCPP $CPPFLAGS'
26483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26486
26487
26488 cat >conftest.$ac_ext <<_ACEOF
26489 /* confdefs.h. */
26490 _ACEOF
26491 cat confdefs.h >>conftest.$ac_ext
26492 cat >>conftest.$ac_ext <<_ACEOF
26493 /* end confdefs.h. */
26494
26495 class Foo { public: explicit Foo(int) {} };
26496
26497 int
26498 main ()
26499 {
26500
26501 return 0;
26502
26503 ;
26504 return 0;
26505 }
26506 _ACEOF
26507 rm -f conftest.$ac_objext
26508 if { (ac_try="$ac_compile"
26509 case "(($ac_try" in
26510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26511 *) ac_try_echo=$ac_try;;
26512 esac
26513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26514 (eval "$ac_compile") 2>conftest.er1
26515 ac_status=$?
26516 grep -v '^ *+' conftest.er1 >conftest.err
26517 rm -f conftest.er1
26518 cat conftest.err >&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); } && {
26521 test -z "$ac_cxx_werror_flag" ||
26522 test ! -s conftest.err
26523 } && test -s conftest.$ac_objext; then
26524
26525 cat >conftest.$ac_ext <<_ACEOF
26526 /* confdefs.h. */
26527 _ACEOF
26528 cat confdefs.h >>conftest.$ac_ext
26529 cat >>conftest.$ac_ext <<_ACEOF
26530 /* end confdefs.h. */
26531
26532 class Foo { public: explicit Foo(int) {} };
26533 static void TakeFoo(const Foo& foo) { }
26534
26535 int
26536 main ()
26537 {
26538
26539 TakeFoo(17);
26540 return 0;
26541
26542 ;
26543 return 0;
26544 }
26545 _ACEOF
26546 rm -f conftest.$ac_objext
26547 if { (ac_try="$ac_compile"
26548 case "(($ac_try" in
26549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26550 *) ac_try_echo=$ac_try;;
26551 esac
26552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26553 (eval "$ac_compile") 2>conftest.er1
26554 ac_status=$?
26555 grep -v '^ *+' conftest.er1 >conftest.err
26556 rm -f conftest.er1
26557 cat conftest.err >&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } && {
26560 test -z "$ac_cxx_werror_flag" ||
26561 test ! -s conftest.err
26562 } && test -s conftest.$ac_objext; then
26563 wx_cv_explicit=no
26564 else
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.$ac_ext >&5
26567
26568 wx_cv_explicit=yes
26569
26570 fi
26571
26572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26573
26574 else
26575 echo "$as_me: failed program was:" >&5
26576 sed 's/^/| /' conftest.$ac_ext >&5
26577
26578 wx_cv_explicit=no
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_explicit" >&5
26593 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26594
26595 if test "$wx_cv_explicit" = "yes"; then
26596 cat >>confdefs.h <<\_ACEOF
26597 #define HAVE_EXPLICIT 1
26598 _ACEOF
26599
26600 fi
26601
26602
26603 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26604 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26605 if test "${ac_cv_cxx_const_cast+set}" = set; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26607 else
26608
26609 ac_ext=cpp
26610 ac_cpp='$CXXCPP $CPPFLAGS'
26611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26614
26615 cat >conftest.$ac_ext <<_ACEOF
26616 /* confdefs.h. */
26617 _ACEOF
26618 cat confdefs.h >>conftest.$ac_ext
26619 cat >>conftest.$ac_ext <<_ACEOF
26620 /* end confdefs.h. */
26621
26622 int
26623 main ()
26624 {
26625 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26626 ;
26627 return 0;
26628 }
26629 _ACEOF
26630 rm -f conftest.$ac_objext
26631 if { (ac_try="$ac_compile"
26632 case "(($ac_try" in
26633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26634 *) ac_try_echo=$ac_try;;
26635 esac
26636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26637 (eval "$ac_compile") 2>conftest.er1
26638 ac_status=$?
26639 grep -v '^ *+' conftest.er1 >conftest.err
26640 rm -f conftest.er1
26641 cat conftest.err >&5
26642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26643 (exit $ac_status); } && {
26644 test -z "$ac_cxx_werror_flag" ||
26645 test ! -s conftest.err
26646 } && test -s conftest.$ac_objext; then
26647 ac_cv_cxx_const_cast=yes
26648 else
26649 echo "$as_me: failed program was:" >&5
26650 sed 's/^/| /' conftest.$ac_ext >&5
26651
26652 ac_cv_cxx_const_cast=no
26653 fi
26654
26655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26656 ac_ext=c
26657 ac_cpp='$CPP $CPPFLAGS'
26658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26661
26662
26663 fi
26664 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26665 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26666 if test "$ac_cv_cxx_const_cast" = yes; then
26667
26668 cat >>confdefs.h <<\_ACEOF
26669 #define HAVE_CONST_CAST
26670 _ACEOF
26671
26672 fi
26673
26674 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26675 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26676 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26677 echo $ECHO_N "(cached) $ECHO_C" >&6
26678 else
26679
26680 ac_ext=cpp
26681 ac_cpp='$CXXCPP $CPPFLAGS'
26682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26685
26686 cat >conftest.$ac_ext <<_ACEOF
26687 /* confdefs.h. */
26688 _ACEOF
26689 cat confdefs.h >>conftest.$ac_ext
26690 cat >>conftest.$ac_ext <<_ACEOF
26691 /* end confdefs.h. */
26692 #include <typeinfo>
26693 class Base { public : Base () {} virtual void f () = 0;};
26694 class Derived : public Base { public : Derived () {} virtual void f () {} };
26695 class Unrelated { public : Unrelated () {} };
26696 int g (Unrelated&) { return 0; }
26697 int
26698 main ()
26699 {
26700
26701 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26702 ;
26703 return 0;
26704 }
26705 _ACEOF
26706 rm -f conftest.$ac_objext
26707 if { (ac_try="$ac_compile"
26708 case "(($ac_try" in
26709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26710 *) ac_try_echo=$ac_try;;
26711 esac
26712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26713 (eval "$ac_compile") 2>conftest.er1
26714 ac_status=$?
26715 grep -v '^ *+' conftest.er1 >conftest.err
26716 rm -f conftest.er1
26717 cat conftest.err >&5
26718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26719 (exit $ac_status); } && {
26720 test -z "$ac_cxx_werror_flag" ||
26721 test ! -s conftest.err
26722 } && test -s conftest.$ac_objext; then
26723 ac_cv_cxx_reinterpret_cast=yes
26724 else
26725 echo "$as_me: failed program was:" >&5
26726 sed 's/^/| /' conftest.$ac_ext >&5
26727
26728 ac_cv_cxx_reinterpret_cast=no
26729 fi
26730
26731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26732 ac_ext=c
26733 ac_cpp='$CPP $CPPFLAGS'
26734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26737
26738
26739 fi
26740 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26741 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26742 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26743
26744 cat >>confdefs.h <<\_ACEOF
26745 #define HAVE_REINTERPRET_CAST
26746 _ACEOF
26747
26748 fi
26749
26750 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26751 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26752 if test "${ac_cv_cxx_static_cast+set}" = set; then
26753 echo $ECHO_N "(cached) $ECHO_C" >&6
26754 else
26755
26756 ac_ext=cpp
26757 ac_cpp='$CXXCPP $CPPFLAGS'
26758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26761
26762 cat >conftest.$ac_ext <<_ACEOF
26763 /* confdefs.h. */
26764 _ACEOF
26765 cat confdefs.h >>conftest.$ac_ext
26766 cat >>conftest.$ac_ext <<_ACEOF
26767 /* end confdefs.h. */
26768 #include <typeinfo>
26769 class Base { public : Base () {} virtual void f () = 0; };
26770 class Derived : public Base { public : Derived () {} virtual void f () {} };
26771 int g (Derived&) { return 0; }
26772 int
26773 main ()
26774 {
26775
26776 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26777 ;
26778 return 0;
26779 }
26780 _ACEOF
26781 rm -f conftest.$ac_objext
26782 if { (ac_try="$ac_compile"
26783 case "(($ac_try" in
26784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26785 *) ac_try_echo=$ac_try;;
26786 esac
26787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26788 (eval "$ac_compile") 2>conftest.er1
26789 ac_status=$?
26790 grep -v '^ *+' conftest.er1 >conftest.err
26791 rm -f conftest.er1
26792 cat conftest.err >&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); } && {
26795 test -z "$ac_cxx_werror_flag" ||
26796 test ! -s conftest.err
26797 } && test -s conftest.$ac_objext; then
26798 ac_cv_cxx_static_cast=yes
26799 else
26800 echo "$as_me: failed program was:" >&5
26801 sed 's/^/| /' conftest.$ac_ext >&5
26802
26803 ac_cv_cxx_static_cast=no
26804 fi
26805
26806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26807 ac_ext=c
26808 ac_cpp='$CPP $CPPFLAGS'
26809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26812
26813
26814 fi
26815 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26816 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26817 if test "$ac_cv_cxx_static_cast" = yes; then
26818
26819 cat >>confdefs.h <<\_ACEOF
26820 #define HAVE_STATIC_CAST
26821 _ACEOF
26822
26823 fi
26824
26825
26826 if test "x$SUNCXX" = xyes; then
26827 CXXFLAGS="-features=tmplife $CXXFLAGS"
26828 fi
26829
26830 if test "x$SUNCC" = xyes; then
26831 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26832 fi
26833
26834 if test "x$SGICC" = "xyes"; then
26835 CFLAGS="-woff 3970 $CFLAGS"
26836 fi
26837 if test "x$SGICXX" = "xyes"; then
26838 CXXFLAGS="-woff 3970 $CXXFLAGS"
26839 fi
26840
26841 if test "x$HPCC" = "xyes"; then
26842 CFLAGS="+W 2011,2450 $CFLAGS"
26843 fi
26844 if test "x$HPCXX" = "xyes"; then
26845 CXXFLAGS="+W 2340 $CXXFLAGS"
26846 fi
26847
26848 if test "x$COMPAQCXX" = "xyes"; then
26849 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26850 fi
26851
26852 ac_ext=cpp
26853 ac_cpp='$CXXCPP $CPPFLAGS'
26854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26857
26858
26859 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26860 if test "$wxUSE_UNICODE" = "yes"; then
26861 std_string="std::wstring"
26862 char_type="wchar_t"
26863 else
26864 std_string="std::string"
26865 char_type="char"
26866 fi
26867
26868 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26869 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26870 if test "${wx_cv_class_stdstring+set}" = set; then
26871 echo $ECHO_N "(cached) $ECHO_C" >&6
26872 else
26873
26874 cat >conftest.$ac_ext <<_ACEOF
26875 /* confdefs.h. */
26876 _ACEOF
26877 cat confdefs.h >>conftest.$ac_ext
26878 cat >>conftest.$ac_ext <<_ACEOF
26879 /* end confdefs.h. */
26880 #include <string>
26881 int
26882 main ()
26883 {
26884 $std_string foo;
26885 ;
26886 return 0;
26887 }
26888 _ACEOF
26889 rm -f conftest.$ac_objext
26890 if { (ac_try="$ac_compile"
26891 case "(($ac_try" in
26892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26893 *) ac_try_echo=$ac_try;;
26894 esac
26895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26896 (eval "$ac_compile") 2>conftest.er1
26897 ac_status=$?
26898 grep -v '^ *+' conftest.er1 >conftest.err
26899 rm -f conftest.er1
26900 cat conftest.err >&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } && {
26903 test -z "$ac_cxx_werror_flag" ||
26904 test ! -s conftest.err
26905 } && test -s conftest.$ac_objext; then
26906 wx_cv_class_stdstring=yes
26907 else
26908 echo "$as_me: failed program was:" >&5
26909 sed 's/^/| /' conftest.$ac_ext >&5
26910
26911 wx_cv_class_stdstring=no
26912
26913 fi
26914
26915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26916
26917
26918 fi
26919 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26920 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26921
26922 if test "$wx_cv_class_stdstring" = yes; then
26923 if test "$wxUSE_UNICODE" = "yes"; then
26924 cat >>confdefs.h <<\_ACEOF
26925 #define HAVE_STD_WSTRING 1
26926 _ACEOF
26927
26928 fi
26929 else
26930 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26931 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26932 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26933 echo $ECHO_N "(cached) $ECHO_C" >&6
26934 else
26935
26936 cat >conftest.$ac_ext <<_ACEOF
26937 /* confdefs.h. */
26938 _ACEOF
26939 cat confdefs.h >>conftest.$ac_ext
26940 cat >>conftest.$ac_ext <<_ACEOF
26941 /* end confdefs.h. */
26942
26943 #ifdef HAVE_WCHAR_H
26944 # ifdef __CYGWIN__
26945 # include <stddef.h>
26946 # endif
26947 # include <wchar.h>
26948 #endif
26949 #ifdef HAVE_STDLIB_H
26950 # include <stdlib.h>
26951 #endif
26952 #include <stdio.h>
26953 #include <string>
26954
26955 int
26956 main ()
26957 {
26958 std::basic_string<$char_type> foo;
26959 const $char_type* dummy = foo.c_str();
26960 ;
26961 return 0;
26962 }
26963 _ACEOF
26964 rm -f conftest.$ac_objext
26965 if { (ac_try="$ac_compile"
26966 case "(($ac_try" in
26967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26968 *) ac_try_echo=$ac_try;;
26969 esac
26970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_compile") 2>conftest.er1
26972 ac_status=$?
26973 grep -v '^ *+' conftest.er1 >conftest.err
26974 rm -f conftest.er1
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } && {
26978 test -z "$ac_cxx_werror_flag" ||
26979 test ! -s conftest.err
26980 } && test -s conftest.$ac_objext; then
26981 wx_cv_class_stdbasicstring=yes
26982 else
26983 echo "$as_me: failed program was:" >&5
26984 sed 's/^/| /' conftest.$ac_ext >&5
26985
26986 wx_cv_class_stdbasicstring=no
26987
26988 fi
26989
26990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26991
26992
26993 fi
26994 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26995 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26996
26997 if test "$wx_cv_class_stdbasicstring" != yes; then
26998 if test "$wxUSE_STL" = "yes"; then
26999 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27000 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27001 { (exit 1); exit 1; }; }
27002 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27003 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27004 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27005 { (exit 1); exit 1; }; }
27006 else
27007 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27008 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27009 wxUSE_STD_STRING=no
27010 fi
27011 fi
27012 fi
27013 fi
27014
27015 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27016 { echo "$as_me:$LINENO: checking for std::istream" >&5
27017 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27018 if test "${ac_cv_type_std__istream+set}" = set; then
27019 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 else
27021 cat >conftest.$ac_ext <<_ACEOF
27022 /* confdefs.h. */
27023 _ACEOF
27024 cat confdefs.h >>conftest.$ac_ext
27025 cat >>conftest.$ac_ext <<_ACEOF
27026 /* end confdefs.h. */
27027 #include <iostream>
27028
27029 typedef std::istream ac__type_new_;
27030 int
27031 main ()
27032 {
27033 if ((ac__type_new_ *) 0)
27034 return 0;
27035 if (sizeof (ac__type_new_))
27036 return 0;
27037 ;
27038 return 0;
27039 }
27040 _ACEOF
27041 rm -f conftest.$ac_objext
27042 if { (ac_try="$ac_compile"
27043 case "(($ac_try" in
27044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27045 *) ac_try_echo=$ac_try;;
27046 esac
27047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27048 (eval "$ac_compile") 2>conftest.er1
27049 ac_status=$?
27050 grep -v '^ *+' conftest.er1 >conftest.err
27051 rm -f conftest.er1
27052 cat conftest.err >&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); } && {
27055 test -z "$ac_cxx_werror_flag" ||
27056 test ! -s conftest.err
27057 } && test -s conftest.$ac_objext; then
27058 ac_cv_type_std__istream=yes
27059 else
27060 echo "$as_me: failed program was:" >&5
27061 sed 's/^/| /' conftest.$ac_ext >&5
27062
27063 ac_cv_type_std__istream=no
27064 fi
27065
27066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27067 fi
27068 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27069 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27070 if test $ac_cv_type_std__istream = yes; then
27071
27072 cat >>confdefs.h <<_ACEOF
27073 #define HAVE_STD__ISTREAM 1
27074 _ACEOF
27075
27076
27077 else
27078 wxUSE_STD_IOSTREAM=no
27079 fi
27080 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27081 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27082 if test "${ac_cv_type_std__ostream+set}" = set; then
27083 echo $ECHO_N "(cached) $ECHO_C" >&6
27084 else
27085 cat >conftest.$ac_ext <<_ACEOF
27086 /* confdefs.h. */
27087 _ACEOF
27088 cat confdefs.h >>conftest.$ac_ext
27089 cat >>conftest.$ac_ext <<_ACEOF
27090 /* end confdefs.h. */
27091 #include <iostream>
27092
27093 typedef std::ostream ac__type_new_;
27094 int
27095 main ()
27096 {
27097 if ((ac__type_new_ *) 0)
27098 return 0;
27099 if (sizeof (ac__type_new_))
27100 return 0;
27101 ;
27102 return 0;
27103 }
27104 _ACEOF
27105 rm -f conftest.$ac_objext
27106 if { (ac_try="$ac_compile"
27107 case "(($ac_try" in
27108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27109 *) ac_try_echo=$ac_try;;
27110 esac
27111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27112 (eval "$ac_compile") 2>conftest.er1
27113 ac_status=$?
27114 grep -v '^ *+' conftest.er1 >conftest.err
27115 rm -f conftest.er1
27116 cat conftest.err >&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } && {
27119 test -z "$ac_cxx_werror_flag" ||
27120 test ! -s conftest.err
27121 } && test -s conftest.$ac_objext; then
27122 ac_cv_type_std__ostream=yes
27123 else
27124 echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.$ac_ext >&5
27126
27127 ac_cv_type_std__ostream=no
27128 fi
27129
27130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27131 fi
27132 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27133 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27134 if test $ac_cv_type_std__ostream = yes; then
27135
27136 cat >>confdefs.h <<_ACEOF
27137 #define HAVE_STD__OSTREAM 1
27138 _ACEOF
27139
27140
27141 else
27142 wxUSE_STD_IOSTREAM=no
27143 fi
27144
27145
27146 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27147 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27148 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27149 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27150 { (exit 1); exit 1; }; }
27151 else
27152 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27153 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27154 fi
27155 fi
27156 fi
27157
27158 if test "$wxUSE_STL" = "yes"; then
27159 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27160 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27161 if test "${wx_cv_lib_stl+set}" = set; then
27162 echo $ECHO_N "(cached) $ECHO_C" >&6
27163 else
27164 cat >conftest.$ac_ext <<_ACEOF
27165 /* confdefs.h. */
27166 _ACEOF
27167 cat confdefs.h >>conftest.$ac_ext
27168 cat >>conftest.$ac_ext <<_ACEOF
27169 /* end confdefs.h. */
27170 #include <string>
27171 #include <functional>
27172 #include <algorithm>
27173 #include <vector>
27174 #include <list>
27175 int
27176 main ()
27177 {
27178 std::vector<int> moo;
27179 std::list<int> foo;
27180 std::vector<int>::iterator it =
27181 std::find_if(moo.begin(), moo.end(),
27182 std::bind2nd(std::less<int>(), 3));
27183 ;
27184 return 0;
27185 }
27186 _ACEOF
27187 rm -f conftest.$ac_objext
27188 if { (ac_try="$ac_compile"
27189 case "(($ac_try" in
27190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27191 *) ac_try_echo=$ac_try;;
27192 esac
27193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27194 (eval "$ac_compile") 2>conftest.er1
27195 ac_status=$?
27196 grep -v '^ *+' conftest.er1 >conftest.err
27197 rm -f conftest.er1
27198 cat conftest.err >&5
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); } && {
27201 test -z "$ac_cxx_werror_flag" ||
27202 test ! -s conftest.err
27203 } && test -s conftest.$ac_objext; then
27204 wx_cv_lib_stl=yes
27205 else
27206 echo "$as_me: failed program was:" >&5
27207 sed 's/^/| /' conftest.$ac_ext >&5
27208
27209 wx_cv_lib_stl=no
27210
27211 fi
27212
27213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27214
27215 fi
27216 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27217 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27218
27219 if test "$wx_cv_lib_stl" != yes; then
27220 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27221 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27222 { (exit 1); exit 1; }; }
27223 fi
27224
27225 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27226 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27227 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 else
27230 cat >conftest.$ac_ext <<_ACEOF
27231 /* confdefs.h. */
27232 _ACEOF
27233 cat confdefs.h >>conftest.$ac_ext
27234 cat >>conftest.$ac_ext <<_ACEOF
27235 /* end confdefs.h. */
27236 #include <string>
27237 int
27238 main ()
27239 {
27240 std::string foo, bar;
27241 foo.compare(bar);
27242 foo.compare(1, 1, bar);
27243 foo.compare(1, 1, bar, 1, 1);
27244 foo.compare("");
27245 foo.compare(1, 1, "");
27246 foo.compare(1, 1, "", 2);
27247 ;
27248 return 0;
27249 }
27250 _ACEOF
27251 rm -f conftest.$ac_objext
27252 if { (ac_try="$ac_compile"
27253 case "(($ac_try" in
27254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27255 *) ac_try_echo=$ac_try;;
27256 esac
27257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27258 (eval "$ac_compile") 2>conftest.er1
27259 ac_status=$?
27260 grep -v '^ *+' conftest.er1 >conftest.err
27261 rm -f conftest.er1
27262 cat conftest.err >&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } && {
27265 test -z "$ac_cxx_werror_flag" ||
27266 test ! -s conftest.err
27267 } && test -s conftest.$ac_objext; then
27268 wx_cv_func_stdstring_compare=yes
27269 else
27270 echo "$as_me: failed program was:" >&5
27271 sed 's/^/| /' conftest.$ac_ext >&5
27272
27273 wx_cv_func_stdstring_compare=no
27274
27275 fi
27276
27277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27278
27279 fi
27280 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27281 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27282
27283 if test "$wx_cv_func_stdstring_compare" = yes; then
27284 cat >>confdefs.h <<\_ACEOF
27285 #define HAVE_STD_STRING_COMPARE 1
27286 _ACEOF
27287
27288 fi
27289
27290 { echo "$as_me:$LINENO: checking for hash_map" >&5
27291 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27292 if test "${ac_cv_header_hash_map+set}" = set; then
27293 echo $ECHO_N "(cached) $ECHO_C" >&6
27294 else
27295 cat >conftest.$ac_ext <<_ACEOF
27296 /* confdefs.h. */
27297 _ACEOF
27298 cat confdefs.h >>conftest.$ac_ext
27299 cat >>conftest.$ac_ext <<_ACEOF
27300 /* end confdefs.h. */
27301
27302
27303
27304 #include <hash_map>
27305 _ACEOF
27306 rm -f conftest.$ac_objext
27307 if { (ac_try="$ac_compile"
27308 case "(($ac_try" in
27309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27310 *) ac_try_echo=$ac_try;;
27311 esac
27312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27313 (eval "$ac_compile") 2>conftest.er1
27314 ac_status=$?
27315 grep -v '^ *+' conftest.er1 >conftest.err
27316 rm -f conftest.er1
27317 cat conftest.err >&5
27318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319 (exit $ac_status); } && {
27320 test -z "$ac_cxx_werror_flag" ||
27321 test ! -s conftest.err
27322 } && test -s conftest.$ac_objext; then
27323 ac_cv_header_hash_map=yes
27324 else
27325 echo "$as_me: failed program was:" >&5
27326 sed 's/^/| /' conftest.$ac_ext >&5
27327
27328 ac_cv_header_hash_map=no
27329 fi
27330
27331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27332 fi
27333 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27334 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27335 if test $ac_cv_header_hash_map = yes; then
27336 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27337 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27338 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27339 echo $ECHO_N "(cached) $ECHO_C" >&6
27340 else
27341 cat >conftest.$ac_ext <<_ACEOF
27342 /* confdefs.h. */
27343 _ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347 #include <hash_map>
27348 #include <hash_set>
27349 int
27350 main ()
27351 {
27352 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27353 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27354 ;
27355 return 0;
27356 }
27357 _ACEOF
27358 rm -f conftest.$ac_objext
27359 if { (ac_try="$ac_compile"
27360 case "(($ac_try" in
27361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27362 *) ac_try_echo=$ac_try;;
27363 esac
27364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27365 (eval "$ac_compile") 2>conftest.er1
27366 ac_status=$?
27367 grep -v '^ *+' conftest.er1 >conftest.err
27368 rm -f conftest.er1
27369 cat conftest.err >&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); } && {
27372 test -z "$ac_cxx_werror_flag" ||
27373 test ! -s conftest.err
27374 } && test -s conftest.$ac_objext; then
27375 wx_cv_class_stdhashmapset=yes
27376 else
27377 echo "$as_me: failed program was:" >&5
27378 sed 's/^/| /' conftest.$ac_ext >&5
27379
27380 wx_cv_class_stdhashmapset=no
27381 fi
27382
27383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27384
27385
27386 fi
27387 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27388 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27389 fi
27390
27391
27392
27393 if test "$wx_cv_class_stdhashmapset" = yes; then
27394 cat >>confdefs.h <<\_ACEOF
27395 #define HAVE_HASH_MAP 1
27396 _ACEOF
27397
27398 cat >>confdefs.h <<\_ACEOF
27399 #define HAVE_STD_HASH_MAP 1
27400 _ACEOF
27401
27402 fi
27403
27404 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27405 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27406 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27407 echo $ECHO_N "(cached) $ECHO_C" >&6
27408 else
27409 cat >conftest.$ac_ext <<_ACEOF
27410 /* confdefs.h. */
27411 _ACEOF
27412 cat confdefs.h >>conftest.$ac_ext
27413 cat >>conftest.$ac_ext <<_ACEOF
27414 /* end confdefs.h. */
27415
27416
27417
27418 #include <ext/hash_map>
27419 _ACEOF
27420 rm -f conftest.$ac_objext
27421 if { (ac_try="$ac_compile"
27422 case "(($ac_try" in
27423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27424 *) ac_try_echo=$ac_try;;
27425 esac
27426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27427 (eval "$ac_compile") 2>conftest.er1
27428 ac_status=$?
27429 grep -v '^ *+' conftest.er1 >conftest.err
27430 rm -f conftest.er1
27431 cat conftest.err >&5
27432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27433 (exit $ac_status); } && {
27434 test -z "$ac_cxx_werror_flag" ||
27435 test ! -s conftest.err
27436 } && test -s conftest.$ac_objext; then
27437 ac_cv_header_ext_hash_map=yes
27438 else
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.$ac_ext >&5
27441
27442 ac_cv_header_ext_hash_map=no
27443 fi
27444
27445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27446 fi
27447 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27448 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27449 if test $ac_cv_header_ext_hash_map = yes; then
27450 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27451 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27452 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27453 echo $ECHO_N "(cached) $ECHO_C" >&6
27454 else
27455 cat >conftest.$ac_ext <<_ACEOF
27456 /* confdefs.h. */
27457 _ACEOF
27458 cat confdefs.h >>conftest.$ac_ext
27459 cat >>conftest.$ac_ext <<_ACEOF
27460 /* end confdefs.h. */
27461 #include <ext/hash_map>
27462 #include <ext/hash_set>
27463 int
27464 main ()
27465 {
27466 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27467 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27468 ;
27469 return 0;
27470 }
27471 _ACEOF
27472 rm -f conftest.$ac_objext
27473 if { (ac_try="$ac_compile"
27474 case "(($ac_try" in
27475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27476 *) ac_try_echo=$ac_try;;
27477 esac
27478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27479 (eval "$ac_compile") 2>conftest.er1
27480 ac_status=$?
27481 grep -v '^ *+' conftest.er1 >conftest.err
27482 rm -f conftest.er1
27483 cat conftest.err >&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); } && {
27486 test -z "$ac_cxx_werror_flag" ||
27487 test ! -s conftest.err
27488 } && test -s conftest.$ac_objext; then
27489 wx_cv_class_gnuhashmapset=yes
27490 else
27491 echo "$as_me: failed program was:" >&5
27492 sed 's/^/| /' conftest.$ac_ext >&5
27493
27494 wx_cv_class_gnuhashmapset=no
27495 fi
27496
27497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27498
27499
27500 fi
27501 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27502 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27503 fi
27504
27505
27506
27507 if test "$wx_cv_class_gnuhashmapset" = yes; then
27508 cat >>confdefs.h <<\_ACEOF
27509 #define HAVE_EXT_HASH_MAP 1
27510 _ACEOF
27511
27512 cat >>confdefs.h <<\_ACEOF
27513 #define HAVE_GNU_CXX_HASH_MAP 1
27514 _ACEOF
27515
27516 fi
27517 fi
27518
27519 ac_ext=c
27520 ac_cpp='$CPP $CPPFLAGS'
27521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27524
27525
27526
27527 SEARCH_INCLUDE="\
27528 /usr/local/include \
27529 \
27530 /usr/Motif-2.1/include \
27531 /usr/Motif-1.2/include \
27532 /usr/include/Motif1.2 \
27533 \
27534 /usr/dt/include \
27535 /usr/openwin/include \
27536 \
27537 /usr/include/Xm \
27538 \
27539 /usr/X11R6/include \
27540 /usr/X11R6.4/include \
27541 /usr/X11R5/include \
27542 /usr/X11R4/include \
27543 \
27544 /usr/include/X11R6 \
27545 /usr/include/X11R5 \
27546 /usr/include/X11R4 \
27547 \
27548 /usr/local/X11R6/include \
27549 /usr/local/X11R5/include \
27550 /usr/local/X11R4/include \
27551 \
27552 /usr/local/include/X11R6 \
27553 /usr/local/include/X11R5 \
27554 /usr/local/include/X11R4 \
27555 \
27556 /usr/X11/include \
27557 /usr/include/X11 \
27558 /usr/local/X11/include \
27559 /usr/local/include/X11 \
27560 \
27561 /usr/XFree86/include/X11 \
27562 /usr/pkg/include \
27563 \
27564 /usr/openwin/share/include"
27565
27566 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27567 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27568
27569 case "${host}" in
27570 *-*-irix6* )
27571 if test "${wx_cv_std_libpath+set}" = set; then
27572 echo $ECHO_N "(cached) $ECHO_C" >&6
27573 else
27574
27575 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27576 for e in a so sl dylib dll.a; do
27577 libc="$d/libc.$e"
27578 if test -f $libc; then
27579 save_LIBS="$LIBS"
27580 LIBS="$libc"
27581 cat >conftest.$ac_ext <<_ACEOF
27582 int main() { return 0; }
27583 _ACEOF
27584 rm -f conftest.$ac_objext conftest$ac_exeext
27585 if { (ac_try="$ac_link"
27586 case "(($ac_try" in
27587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27588 *) ac_try_echo=$ac_try;;
27589 esac
27590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27591 (eval "$ac_link") 2>conftest.er1
27592 ac_status=$?
27593 grep -v '^ *+' conftest.er1 >conftest.err
27594 rm -f conftest.er1
27595 cat conftest.err >&5
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); } && {
27598 test -z "$ac_c_werror_flag" ||
27599 test ! -s conftest.err
27600 } && test -s conftest$ac_exeext &&
27601 $as_test_x conftest$ac_exeext; then
27602 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27603 else
27604 echo "$as_me: failed program was:" >&5
27605 sed 's/^/| /' conftest.$ac_ext >&5
27606
27607
27608 fi
27609
27610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27611 conftest$ac_exeext conftest.$ac_ext
27612 LIBS="$save_LIBS"
27613 if test "x$wx_cv_std_libpath" != "x"; then
27614 break 2
27615 fi
27616 fi
27617 done
27618 done
27619 if test "x$wx_cv_std_libpath" = "x"; then
27620 wx_cv_std_libpath="lib"
27621 fi
27622
27623
27624 fi
27625
27626 ;;
27627
27628 *-*-solaris2* )
27629 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27630 wx_cv_std_libpath="lib/64"
27631 else
27632 wx_cv_std_libpath="lib"
27633 fi
27634 ;;
27635
27636 *-*-linux* )
27637 if test "$ac_cv_sizeof_void_p" = 8 -a \
27638 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27639 wx_cv_std_libpath="lib64"
27640 else
27641 wx_cv_std_libpath="lib"
27642 fi
27643 ;;
27644
27645 *)
27646 wx_cv_std_libpath="lib";
27647 ;;
27648 esac
27649
27650 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27651 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27652
27653 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27654
27655 if test "$build" != "$host" -a "$GCC" = yes; then
27656 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27657 cross_root=`dirname $cross_root`
27658 cross_root=`dirname $cross_root`
27659
27660 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27661 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27662 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27663
27664 if test -z "$PKG_CONFIG_PATH"; then
27665 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27666 export PKG_CONFIG_PATH
27667 fi
27668
27669 if test -z "$x_includes" -o "$x_includes" = NONE; then
27670
27671 ac_find_includes=
27672 for ac_dir in $SEARCH_INCLUDE /usr/include;
27673 do
27674 if test -f "$ac_dir/X11/Intrinsic.h"; then
27675 ac_find_includes=$ac_dir
27676 break
27677 fi
27678 done
27679
27680 x_includes=$ac_find_includes
27681 fi
27682 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27683
27684 ac_find_libraries=
27685 for ac_dir in $SEARCH_LIB;
27686 do
27687 for ac_extension in a so sl dylib dll.a; do
27688 if test -f "$ac_dir/libXt.$ac_extension"; then
27689 ac_find_libraries=$ac_dir
27690 break 2
27691 fi
27692 done
27693 done
27694
27695 x_libraries=$ac_find_libraries
27696 fi
27697 fi
27698 fi
27699
27700
27701 cat >confcache <<\_ACEOF
27702 # This file is a shell script that caches the results of configure
27703 # tests run on this system so they can be shared between configure
27704 # scripts and configure runs, see configure's option --config-cache.
27705 # It is not useful on other systems. If it contains results you don't
27706 # want to keep, you may remove or edit it.
27707 #
27708 # config.status only pays attention to the cache file if you give it
27709 # the --recheck option to rerun configure.
27710 #
27711 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27712 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27713 # following values.
27714
27715 _ACEOF
27716
27717 # The following way of writing the cache mishandles newlines in values,
27718 # but we know of no workaround that is simple, portable, and efficient.
27719 # So, we kill variables containing newlines.
27720 # Ultrix sh set writes to stderr and can't be redirected directly,
27721 # and sets the high bit in the cache file unless we assign to the vars.
27722 (
27723 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27724 eval ac_val=\$$ac_var
27725 case $ac_val in #(
27726 *${as_nl}*)
27727 case $ac_var in #(
27728 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27729 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27730 esac
27731 case $ac_var in #(
27732 _ | IFS | as_nl) ;; #(
27733 *) $as_unset $ac_var ;;
27734 esac ;;
27735 esac
27736 done
27737
27738 (set) 2>&1 |
27739 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27740 *${as_nl}ac_space=\ *)
27741 # `set' does not quote correctly, so add quotes (double-quote
27742 # substitution turns \\\\ into \\, and sed turns \\ into \).
27743 sed -n \
27744 "s/'/'\\\\''/g;
27745 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27746 ;; #(
27747 *)
27748 # `set' quotes correctly as required by POSIX, so do not add quotes.
27749 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27750 ;;
27751 esac |
27752 sort
27753 ) |
27754 sed '
27755 /^ac_cv_env_/b end
27756 t clear
27757 :clear
27758 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27759 t end
27760 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27761 :end' >>confcache
27762 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27763 if test -w "$cache_file"; then
27764 test "x$cache_file" != "x/dev/null" &&
27765 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27766 echo "$as_me: updating cache $cache_file" >&6;}
27767 cat confcache >$cache_file
27768 else
27769 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27770 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27771 fi
27772 fi
27773 rm -f confcache
27774
27775 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27776 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27777 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27778 if test "${wx_cv_lib_glibc21+set}" = set; then
27779 echo $ECHO_N "(cached) $ECHO_C" >&6
27780 else
27781
27782 cat >conftest.$ac_ext <<_ACEOF
27783 /* confdefs.h. */
27784 _ACEOF
27785 cat confdefs.h >>conftest.$ac_ext
27786 cat >>conftest.$ac_ext <<_ACEOF
27787 /* end confdefs.h. */
27788 #include <features.h>
27789 int
27790 main ()
27791 {
27792
27793 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27794 not glibc 2.1
27795 #endif
27796
27797 ;
27798 return 0;
27799 }
27800 _ACEOF
27801 rm -f conftest.$ac_objext
27802 if { (ac_try="$ac_compile"
27803 case "(($ac_try" in
27804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27805 *) ac_try_echo=$ac_try;;
27806 esac
27807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27808 (eval "$ac_compile") 2>conftest.er1
27809 ac_status=$?
27810 grep -v '^ *+' conftest.er1 >conftest.err
27811 rm -f conftest.er1
27812 cat conftest.err >&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); } && {
27815 test -z "$ac_c_werror_flag" ||
27816 test ! -s conftest.err
27817 } && test -s conftest.$ac_objext; then
27818
27819 wx_cv_lib_glibc21=yes
27820
27821 else
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.$ac_ext >&5
27824
27825
27826 wx_cv_lib_glibc21=no
27827
27828
27829 fi
27830
27831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27832
27833 fi
27834 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27835 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27836 if test "$wx_cv_lib_glibc21" = "yes"; then
27837 cat >>confdefs.h <<\_ACEOF
27838 #define wxHAVE_GLIBC2 1
27839 _ACEOF
27840
27841 fi
27842 fi
27843
27844 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27845 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27846 cat >>confdefs.h <<\_ACEOF
27847 #define _GNU_SOURCE 1
27848 _ACEOF
27849
27850 fi
27851 fi
27852
27853 have_cos=0
27854 have_floor=0
27855
27856 for ac_func in cos
27857 do
27858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27859 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27861 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27862 echo $ECHO_N "(cached) $ECHO_C" >&6
27863 else
27864 cat >conftest.$ac_ext <<_ACEOF
27865 /* confdefs.h. */
27866 _ACEOF
27867 cat confdefs.h >>conftest.$ac_ext
27868 cat >>conftest.$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27872 #define $ac_func innocuous_$ac_func
27873
27874 /* System header to define __stub macros and hopefully few prototypes,
27875 which can conflict with char $ac_func (); below.
27876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27877 <limits.h> exists even on freestanding compilers. */
27878
27879 #ifdef __STDC__
27880 # include <limits.h>
27881 #else
27882 # include <assert.h>
27883 #endif
27884
27885 #undef $ac_func
27886
27887 /* Override any GCC internal prototype to avoid an error.
27888 Use char because int might match the return type of a GCC
27889 builtin and then its argument prototype would still apply. */
27890 #ifdef __cplusplus
27891 extern "C"
27892 #endif
27893 char $ac_func ();
27894 /* The GNU C library defines this for functions which it implements
27895 to always fail with ENOSYS. Some functions are actually named
27896 something starting with __ and the normal name is an alias. */
27897 #if defined __stub_$ac_func || defined __stub___$ac_func
27898 choke me
27899 #endif
27900
27901 int
27902 main ()
27903 {
27904 return $ac_func ();
27905 ;
27906 return 0;
27907 }
27908 _ACEOF
27909 rm -f conftest.$ac_objext conftest$ac_exeext
27910 if { (ac_try="$ac_link"
27911 case "(($ac_try" in
27912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27913 *) ac_try_echo=$ac_try;;
27914 esac
27915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27916 (eval "$ac_link") 2>conftest.er1
27917 ac_status=$?
27918 grep -v '^ *+' conftest.er1 >conftest.err
27919 rm -f conftest.er1
27920 cat conftest.err >&5
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); } && {
27923 test -z "$ac_c_werror_flag" ||
27924 test ! -s conftest.err
27925 } && test -s conftest$ac_exeext &&
27926 $as_test_x conftest$ac_exeext; then
27927 eval "$as_ac_var=yes"
27928 else
27929 echo "$as_me: failed program was:" >&5
27930 sed 's/^/| /' conftest.$ac_ext >&5
27931
27932 eval "$as_ac_var=no"
27933 fi
27934
27935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27936 conftest$ac_exeext conftest.$ac_ext
27937 fi
27938 ac_res=`eval echo '${'$as_ac_var'}'`
27939 { echo "$as_me:$LINENO: result: $ac_res" >&5
27940 echo "${ECHO_T}$ac_res" >&6; }
27941 if test `eval echo '${'$as_ac_var'}'` = yes; then
27942 cat >>confdefs.h <<_ACEOF
27943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27944 _ACEOF
27945 have_cos=1
27946 fi
27947 done
27948
27949
27950 for ac_func in floor
27951 do
27952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27953 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27955 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27956 echo $ECHO_N "(cached) $ECHO_C" >&6
27957 else
27958 cat >conftest.$ac_ext <<_ACEOF
27959 /* confdefs.h. */
27960 _ACEOF
27961 cat confdefs.h >>conftest.$ac_ext
27962 cat >>conftest.$ac_ext <<_ACEOF
27963 /* end confdefs.h. */
27964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27966 #define $ac_func innocuous_$ac_func
27967
27968 /* System header to define __stub macros and hopefully few prototypes,
27969 which can conflict with char $ac_func (); below.
27970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27971 <limits.h> exists even on freestanding compilers. */
27972
27973 #ifdef __STDC__
27974 # include <limits.h>
27975 #else
27976 # include <assert.h>
27977 #endif
27978
27979 #undef $ac_func
27980
27981 /* Override any GCC internal prototype to avoid an error.
27982 Use char because int might match the return type of a GCC
27983 builtin and then its argument prototype would still apply. */
27984 #ifdef __cplusplus
27985 extern "C"
27986 #endif
27987 char $ac_func ();
27988 /* The GNU C library defines this for functions which it implements
27989 to always fail with ENOSYS. Some functions are actually named
27990 something starting with __ and the normal name is an alias. */
27991 #if defined __stub_$ac_func || defined __stub___$ac_func
27992 choke me
27993 #endif
27994
27995 int
27996 main ()
27997 {
27998 return $ac_func ();
27999 ;
28000 return 0;
28001 }
28002 _ACEOF
28003 rm -f conftest.$ac_objext conftest$ac_exeext
28004 if { (ac_try="$ac_link"
28005 case "(($ac_try" in
28006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28007 *) ac_try_echo=$ac_try;;
28008 esac
28009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28010 (eval "$ac_link") 2>conftest.er1
28011 ac_status=$?
28012 grep -v '^ *+' conftest.er1 >conftest.err
28013 rm -f conftest.er1
28014 cat conftest.err >&5
28015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28016 (exit $ac_status); } && {
28017 test -z "$ac_c_werror_flag" ||
28018 test ! -s conftest.err
28019 } && test -s conftest$ac_exeext &&
28020 $as_test_x conftest$ac_exeext; then
28021 eval "$as_ac_var=yes"
28022 else
28023 echo "$as_me: failed program was:" >&5
28024 sed 's/^/| /' conftest.$ac_ext >&5
28025
28026 eval "$as_ac_var=no"
28027 fi
28028
28029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28030 conftest$ac_exeext conftest.$ac_ext
28031 fi
28032 ac_res=`eval echo '${'$as_ac_var'}'`
28033 { echo "$as_me:$LINENO: result: $ac_res" >&5
28034 echo "${ECHO_T}$ac_res" >&6; }
28035 if test `eval echo '${'$as_ac_var'}'` = yes; then
28036 cat >>confdefs.h <<_ACEOF
28037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28038 _ACEOF
28039 have_floor=1
28040 fi
28041 done
28042
28043 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28044 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28045 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28046 { echo "$as_me:$LINENO: result: yes" >&5
28047 echo "${ECHO_T}yes" >&6; }
28048 else
28049 { echo "$as_me:$LINENO: result: no" >&5
28050 echo "${ECHO_T}no" >&6; }
28051 LIBS="$LIBS -lm"
28052 # use different functions to avoid configure caching
28053 have_sin=0
28054 have_ceil=0
28055
28056 for ac_func in sin
28057 do
28058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28062 echo $ECHO_N "(cached) $ECHO_C" >&6
28063 else
28064 cat >conftest.$ac_ext <<_ACEOF
28065 /* confdefs.h. */
28066 _ACEOF
28067 cat confdefs.h >>conftest.$ac_ext
28068 cat >>conftest.$ac_ext <<_ACEOF
28069 /* end confdefs.h. */
28070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28072 #define $ac_func innocuous_$ac_func
28073
28074 /* System header to define __stub macros and hopefully few prototypes,
28075 which can conflict with char $ac_func (); below.
28076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28077 <limits.h> exists even on freestanding compilers. */
28078
28079 #ifdef __STDC__
28080 # include <limits.h>
28081 #else
28082 # include <assert.h>
28083 #endif
28084
28085 #undef $ac_func
28086
28087 /* Override any GCC internal prototype to avoid an error.
28088 Use char because int might match the return type of a GCC
28089 builtin and then its argument prototype would still apply. */
28090 #ifdef __cplusplus
28091 extern "C"
28092 #endif
28093 char $ac_func ();
28094 /* The GNU C library defines this for functions which it implements
28095 to always fail with ENOSYS. Some functions are actually named
28096 something starting with __ and the normal name is an alias. */
28097 #if defined __stub_$ac_func || defined __stub___$ac_func
28098 choke me
28099 #endif
28100
28101 int
28102 main ()
28103 {
28104 return $ac_func ();
28105 ;
28106 return 0;
28107 }
28108 _ACEOF
28109 rm -f conftest.$ac_objext conftest$ac_exeext
28110 if { (ac_try="$ac_link"
28111 case "(($ac_try" in
28112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28113 *) ac_try_echo=$ac_try;;
28114 esac
28115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28116 (eval "$ac_link") 2>conftest.er1
28117 ac_status=$?
28118 grep -v '^ *+' conftest.er1 >conftest.err
28119 rm -f conftest.er1
28120 cat conftest.err >&5
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); } && {
28123 test -z "$ac_c_werror_flag" ||
28124 test ! -s conftest.err
28125 } && test -s conftest$ac_exeext &&
28126 $as_test_x conftest$ac_exeext; then
28127 eval "$as_ac_var=yes"
28128 else
28129 echo "$as_me: failed program was:" >&5
28130 sed 's/^/| /' conftest.$ac_ext >&5
28131
28132 eval "$as_ac_var=no"
28133 fi
28134
28135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28136 conftest$ac_exeext conftest.$ac_ext
28137 fi
28138 ac_res=`eval echo '${'$as_ac_var'}'`
28139 { echo "$as_me:$LINENO: result: $ac_res" >&5
28140 echo "${ECHO_T}$ac_res" >&6; }
28141 if test `eval echo '${'$as_ac_var'}'` = yes; then
28142 cat >>confdefs.h <<_ACEOF
28143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28144 _ACEOF
28145 have_sin=1
28146 fi
28147 done
28148
28149
28150 for ac_func in ceil
28151 do
28152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28155 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28156 echo $ECHO_N "(cached) $ECHO_C" >&6
28157 else
28158 cat >conftest.$ac_ext <<_ACEOF
28159 /* confdefs.h. */
28160 _ACEOF
28161 cat confdefs.h >>conftest.$ac_ext
28162 cat >>conftest.$ac_ext <<_ACEOF
28163 /* end confdefs.h. */
28164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28166 #define $ac_func innocuous_$ac_func
28167
28168 /* System header to define __stub macros and hopefully few prototypes,
28169 which can conflict with char $ac_func (); below.
28170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28171 <limits.h> exists even on freestanding compilers. */
28172
28173 #ifdef __STDC__
28174 # include <limits.h>
28175 #else
28176 # include <assert.h>
28177 #endif
28178
28179 #undef $ac_func
28180
28181 /* Override any GCC internal prototype to avoid an error.
28182 Use char because int might match the return type of a GCC
28183 builtin and then its argument prototype would still apply. */
28184 #ifdef __cplusplus
28185 extern "C"
28186 #endif
28187 char $ac_func ();
28188 /* The GNU C library defines this for functions which it implements
28189 to always fail with ENOSYS. Some functions are actually named
28190 something starting with __ and the normal name is an alias. */
28191 #if defined __stub_$ac_func || defined __stub___$ac_func
28192 choke me
28193 #endif
28194
28195 int
28196 main ()
28197 {
28198 return $ac_func ();
28199 ;
28200 return 0;
28201 }
28202 _ACEOF
28203 rm -f conftest.$ac_objext conftest$ac_exeext
28204 if { (ac_try="$ac_link"
28205 case "(($ac_try" in
28206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28207 *) ac_try_echo=$ac_try;;
28208 esac
28209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28210 (eval "$ac_link") 2>conftest.er1
28211 ac_status=$?
28212 grep -v '^ *+' conftest.er1 >conftest.err
28213 rm -f conftest.er1
28214 cat conftest.err >&5
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); } && {
28217 test -z "$ac_c_werror_flag" ||
28218 test ! -s conftest.err
28219 } && test -s conftest$ac_exeext &&
28220 $as_test_x conftest$ac_exeext; then
28221 eval "$as_ac_var=yes"
28222 else
28223 echo "$as_me: failed program was:" >&5
28224 sed 's/^/| /' conftest.$ac_ext >&5
28225
28226 eval "$as_ac_var=no"
28227 fi
28228
28229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28230 conftest$ac_exeext conftest.$ac_ext
28231 fi
28232 ac_res=`eval echo '${'$as_ac_var'}'`
28233 { echo "$as_me:$LINENO: result: $ac_res" >&5
28234 echo "${ECHO_T}$ac_res" >&6; }
28235 if test `eval echo '${'$as_ac_var'}'` = yes; then
28236 cat >>confdefs.h <<_ACEOF
28237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28238 _ACEOF
28239 have_ceil=1
28240 fi
28241 done
28242
28243 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28244 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28245 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28246 { echo "$as_me:$LINENO: result: yes" >&5
28247 echo "${ECHO_T}yes" >&6; }
28248 else
28249 { echo "$as_me:$LINENO: result: no" >&5
28250 echo "${ECHO_T}no" >&6; }
28251 # not sure we should warn the user, crash, etc.
28252 fi
28253 fi
28254
28255 ac_ext=cpp
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28260
28261 if test "wxUSE_UNICODE" = "yes"; then
28262
28263 for wx_func in wcstoull
28264 do
28265 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28266 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28267 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28268 echo $ECHO_N "(cached) $ECHO_C" >&6
28269 else
28270
28271 cat >conftest.$ac_ext <<_ACEOF
28272
28273 /* confdefs.h. */
28274 _ACEOF
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28278
28279
28280 $ac_includes_default
28281
28282 int
28283 main ()
28284 {
28285
28286 #ifndef $wx_func
28287 &$wx_func;
28288 #endif
28289
28290
28291 ;
28292 return 0;
28293 }
28294
28295 _ACEOF
28296 rm -f conftest.$ac_objext conftest$ac_exeext
28297 if { (ac_try="$ac_link"
28298 case "(($ac_try" in
28299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28300 *) ac_try_echo=$ac_try;;
28301 esac
28302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28303 (eval "$ac_link") 2>conftest.er1
28304 ac_status=$?
28305 grep -v '^ *+' conftest.er1 >conftest.err
28306 rm -f conftest.er1
28307 cat conftest.err >&5
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); } && {
28310 test -z "$ac_cxx_werror_flag" ||
28311 test ! -s conftest.err
28312 } && test -s conftest$ac_exeext &&
28313 $as_test_x conftest$ac_exeext; then
28314 eval wx_cv_func_$wx_func=yes
28315 else
28316 echo "$as_me: failed program was:" >&5
28317 sed 's/^/| /' conftest.$ac_ext >&5
28318
28319 eval wx_cv_func_$wx_func=no
28320 fi
28321
28322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28323 conftest$ac_exeext conftest.$ac_ext
28324
28325 fi
28326 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28327 { echo "$as_me:$LINENO: result: $ac_res" >&5
28328 echo "${ECHO_T}$ac_res" >&6; }
28329
28330 if eval test \$wx_cv_func_$wx_func = yes
28331 then
28332 cat >>confdefs.h <<_ACEOF
28333 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28334 _ACEOF
28335
28336
28337 else
28338 :
28339
28340 fi
28341 done
28342
28343 else
28344
28345 for wx_func in strtoull
28346 do
28347 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28348 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28349 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28350 echo $ECHO_N "(cached) $ECHO_C" >&6
28351 else
28352
28353 cat >conftest.$ac_ext <<_ACEOF
28354
28355 /* confdefs.h. */
28356 _ACEOF
28357 cat confdefs.h >>conftest.$ac_ext
28358 cat >>conftest.$ac_ext <<_ACEOF
28359 /* end confdefs.h. */
28360
28361
28362 $ac_includes_default
28363
28364 int
28365 main ()
28366 {
28367
28368 #ifndef $wx_func
28369 &$wx_func;
28370 #endif
28371
28372
28373 ;
28374 return 0;
28375 }
28376
28377 _ACEOF
28378 rm -f conftest.$ac_objext conftest$ac_exeext
28379 if { (ac_try="$ac_link"
28380 case "(($ac_try" in
28381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28382 *) ac_try_echo=$ac_try;;
28383 esac
28384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28385 (eval "$ac_link") 2>conftest.er1
28386 ac_status=$?
28387 grep -v '^ *+' conftest.er1 >conftest.err
28388 rm -f conftest.er1
28389 cat conftest.err >&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); } && {
28392 test -z "$ac_cxx_werror_flag" ||
28393 test ! -s conftest.err
28394 } && test -s conftest$ac_exeext &&
28395 $as_test_x conftest$ac_exeext; then
28396 eval wx_cv_func_$wx_func=yes
28397 else
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28400
28401 eval wx_cv_func_$wx_func=no
28402 fi
28403
28404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28405 conftest$ac_exeext conftest.$ac_ext
28406
28407 fi
28408 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28409 { echo "$as_me:$LINENO: result: $ac_res" >&5
28410 echo "${ECHO_T}$ac_res" >&6; }
28411
28412 if eval test \$wx_cv_func_$wx_func = yes
28413 then
28414 cat >>confdefs.h <<_ACEOF
28415 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28416 _ACEOF
28417
28418
28419 else
28420 :
28421
28422 fi
28423 done
28424
28425 fi
28426 ac_ext=c
28427 ac_cpp='$CPP $CPPFLAGS'
28428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28431
28432
28433
28434
28435 if test "$wxUSE_REGEX" != "no"; then
28436 cat >>confdefs.h <<\_ACEOF
28437 #define wxUSE_REGEX 1
28438 _ACEOF
28439
28440
28441 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28442 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28443 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28444 wxUSE_REGEX=builtin
28445 fi
28446
28447 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28448 { echo "$as_me:$LINENO: checking for regex.h" >&5
28449 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28450 if test "${ac_cv_header_regex_h+set}" = set; then
28451 echo $ECHO_N "(cached) $ECHO_C" >&6
28452 else
28453 cat >conftest.$ac_ext <<_ACEOF
28454 /* confdefs.h. */
28455 _ACEOF
28456 cat confdefs.h >>conftest.$ac_ext
28457 cat >>conftest.$ac_ext <<_ACEOF
28458 /* end confdefs.h. */
28459
28460
28461 #include <regex.h>
28462 _ACEOF
28463 rm -f conftest.$ac_objext
28464 if { (ac_try="$ac_compile"
28465 case "(($ac_try" in
28466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28467 *) ac_try_echo=$ac_try;;
28468 esac
28469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28470 (eval "$ac_compile") 2>conftest.er1
28471 ac_status=$?
28472 grep -v '^ *+' conftest.er1 >conftest.err
28473 rm -f conftest.er1
28474 cat conftest.err >&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); } && {
28477 test -z "$ac_c_werror_flag" ||
28478 test ! -s conftest.err
28479 } && test -s conftest.$ac_objext; then
28480 ac_cv_header_regex_h=yes
28481 else
28482 echo "$as_me: failed program was:" >&5
28483 sed 's/^/| /' conftest.$ac_ext >&5
28484
28485 ac_cv_header_regex_h=no
28486 fi
28487
28488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28489 fi
28490 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28491 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28492 if test $ac_cv_header_regex_h = yes; then
28493
28494
28495 for ac_func in regcomp re_search
28496 do
28497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28498 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28500 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28501 echo $ECHO_N "(cached) $ECHO_C" >&6
28502 else
28503 cat >conftest.$ac_ext <<_ACEOF
28504 /* confdefs.h. */
28505 _ACEOF
28506 cat confdefs.h >>conftest.$ac_ext
28507 cat >>conftest.$ac_ext <<_ACEOF
28508 /* end confdefs.h. */
28509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28511 #define $ac_func innocuous_$ac_func
28512
28513 /* System header to define __stub macros and hopefully few prototypes,
28514 which can conflict with char $ac_func (); below.
28515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28516 <limits.h> exists even on freestanding compilers. */
28517
28518 #ifdef __STDC__
28519 # include <limits.h>
28520 #else
28521 # include <assert.h>
28522 #endif
28523
28524 #undef $ac_func
28525
28526 /* Override any GCC internal prototype to avoid an error.
28527 Use char because int might match the return type of a GCC
28528 builtin and then its argument prototype would still apply. */
28529 #ifdef __cplusplus
28530 extern "C"
28531 #endif
28532 char $ac_func ();
28533 /* The GNU C library defines this for functions which it implements
28534 to always fail with ENOSYS. Some functions are actually named
28535 something starting with __ and the normal name is an alias. */
28536 #if defined __stub_$ac_func || defined __stub___$ac_func
28537 choke me
28538 #endif
28539
28540 int
28541 main ()
28542 {
28543 return $ac_func ();
28544 ;
28545 return 0;
28546 }
28547 _ACEOF
28548 rm -f conftest.$ac_objext conftest$ac_exeext
28549 if { (ac_try="$ac_link"
28550 case "(($ac_try" in
28551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28552 *) ac_try_echo=$ac_try;;
28553 esac
28554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28555 (eval "$ac_link") 2>conftest.er1
28556 ac_status=$?
28557 grep -v '^ *+' conftest.er1 >conftest.err
28558 rm -f conftest.er1
28559 cat conftest.err >&5
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); } && {
28562 test -z "$ac_c_werror_flag" ||
28563 test ! -s conftest.err
28564 } && test -s conftest$ac_exeext &&
28565 $as_test_x conftest$ac_exeext; then
28566 eval "$as_ac_var=yes"
28567 else
28568 echo "$as_me: failed program was:" >&5
28569 sed 's/^/| /' conftest.$ac_ext >&5
28570
28571 eval "$as_ac_var=no"
28572 fi
28573
28574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28575 conftest$ac_exeext conftest.$ac_ext
28576 fi
28577 ac_res=`eval echo '${'$as_ac_var'}'`
28578 { echo "$as_me:$LINENO: result: $ac_res" >&5
28579 echo "${ECHO_T}$ac_res" >&6; }
28580 if test `eval echo '${'$as_ac_var'}'` = yes; then
28581 cat >>confdefs.h <<_ACEOF
28582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28583 _ACEOF
28584
28585 fi
28586 done
28587
28588 fi
28589
28590
28591
28592 if test "x$ac_cv_func_regcomp" != "xyes"; then
28593 if test "$wxUSE_REGEX" = "sys" ; then
28594 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28595 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28596 { (exit 1); exit 1; }; }
28597 else
28598 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28599 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28600 wxUSE_REGEX=builtin
28601 fi
28602 else
28603 wxUSE_REGEX=sys
28604 cat >>confdefs.h <<\_ACEOF
28605 #define WX_NO_REGEX_ADVANCED 1
28606 _ACEOF
28607
28608 fi
28609 fi
28610 fi
28611
28612
28613 ZLIB_LINK=
28614 if test "$wxUSE_ZLIB" != "no" ; then
28615 cat >>confdefs.h <<\_ACEOF
28616 #define wxUSE_ZLIB 1
28617 _ACEOF
28618
28619
28620 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28621 if test "$USE_DARWIN" = 1; then
28622 system_zlib_h_ok="yes"
28623 else
28624 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28625 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28626 if test "${ac_cv_header_zlib_h+set}" = set; then
28627 echo $ECHO_N "(cached) $ECHO_C" >&6
28628 else
28629 if test "$cross_compiling" = yes; then
28630 unset ac_cv_header_zlib_h
28631
28632 else
28633 cat >conftest.$ac_ext <<_ACEOF
28634 /* confdefs.h. */
28635 _ACEOF
28636 cat confdefs.h >>conftest.$ac_ext
28637 cat >>conftest.$ac_ext <<_ACEOF
28638 /* end confdefs.h. */
28639
28640 #include <zlib.h>
28641 #include <stdio.h>
28642
28643 int main()
28644 {
28645 FILE *f=fopen("conftestval", "w");
28646 if (!f) exit(1);
28647 fprintf(f, "%s",
28648 ZLIB_VERSION[0] == '1' &&
28649 (ZLIB_VERSION[2] > '1' ||
28650 (ZLIB_VERSION[2] == '1' &&
28651 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28652 exit(0);
28653 }
28654
28655 _ACEOF
28656 rm -f conftest$ac_exeext
28657 if { (ac_try="$ac_link"
28658 case "(($ac_try" in
28659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28660 *) ac_try_echo=$ac_try;;
28661 esac
28662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28663 (eval "$ac_link") 2>&5
28664 ac_status=$?
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28667 { (case "(($ac_try" in
28668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28669 *) ac_try_echo=$ac_try;;
28670 esac
28671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28672 (eval "$ac_try") 2>&5
28673 ac_status=$?
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); }; }; then
28676 ac_cv_header_zlib_h=`cat conftestval`
28677 else
28678 echo "$as_me: program exited with status $ac_status" >&5
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.$ac_ext >&5
28681
28682 ( exit $ac_status )
28683 ac_cv_header_zlib_h=no
28684 fi
28685 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28686 fi
28687
28688
28689
28690 fi
28691 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28692 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28693 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28694 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28695 if test "${ac_cv_header_zlib_h+set}" = set; then
28696 echo $ECHO_N "(cached) $ECHO_C" >&6
28697 else
28698 cat >conftest.$ac_ext <<_ACEOF
28699 /* confdefs.h. */
28700 _ACEOF
28701 cat confdefs.h >>conftest.$ac_ext
28702 cat >>conftest.$ac_ext <<_ACEOF
28703 /* end confdefs.h. */
28704
28705
28706 #include <zlib.h>
28707 _ACEOF
28708 rm -f conftest.$ac_objext
28709 if { (ac_try="$ac_compile"
28710 case "(($ac_try" in
28711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28712 *) ac_try_echo=$ac_try;;
28713 esac
28714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28715 (eval "$ac_compile") 2>conftest.er1
28716 ac_status=$?
28717 grep -v '^ *+' conftest.er1 >conftest.err
28718 rm -f conftest.er1
28719 cat conftest.err >&5
28720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721 (exit $ac_status); } && {
28722 test -z "$ac_c_werror_flag" ||
28723 test ! -s conftest.err
28724 } && test -s conftest.$ac_objext; then
28725 ac_cv_header_zlib_h=yes
28726 else
28727 echo "$as_me: failed program was:" >&5
28728 sed 's/^/| /' conftest.$ac_ext >&5
28729
28730 ac_cv_header_zlib_h=no
28731 fi
28732
28733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28734 fi
28735 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28736 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28737
28738
28739
28740 system_zlib_h_ok=$ac_cv_header_zlib_h
28741 fi
28742
28743 if test "$system_zlib_h_ok" = "yes"; then
28744 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28745 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28746 if test "${ac_cv_lib_z_deflate+set}" = set; then
28747 echo $ECHO_N "(cached) $ECHO_C" >&6
28748 else
28749 ac_check_lib_save_LIBS=$LIBS
28750 LIBS="-lz $LIBS"
28751 cat >conftest.$ac_ext <<_ACEOF
28752 /* confdefs.h. */
28753 _ACEOF
28754 cat confdefs.h >>conftest.$ac_ext
28755 cat >>conftest.$ac_ext <<_ACEOF
28756 /* end confdefs.h. */
28757
28758 /* Override any GCC internal prototype to avoid an error.
28759 Use char because int might match the return type of a GCC
28760 builtin and then its argument prototype would still apply. */
28761 #ifdef __cplusplus
28762 extern "C"
28763 #endif
28764 char deflate ();
28765 int
28766 main ()
28767 {
28768 return deflate ();
28769 ;
28770 return 0;
28771 }
28772 _ACEOF
28773 rm -f conftest.$ac_objext conftest$ac_exeext
28774 if { (ac_try="$ac_link"
28775 case "(($ac_try" in
28776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28777 *) ac_try_echo=$ac_try;;
28778 esac
28779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28780 (eval "$ac_link") 2>conftest.er1
28781 ac_status=$?
28782 grep -v '^ *+' conftest.er1 >conftest.err
28783 rm -f conftest.er1
28784 cat conftest.err >&5
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); } && {
28787 test -z "$ac_c_werror_flag" ||
28788 test ! -s conftest.err
28789 } && test -s conftest$ac_exeext &&
28790 $as_test_x conftest$ac_exeext; then
28791 ac_cv_lib_z_deflate=yes
28792 else
28793 echo "$as_me: failed program was:" >&5
28794 sed 's/^/| /' conftest.$ac_ext >&5
28795
28796 ac_cv_lib_z_deflate=no
28797 fi
28798
28799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28800 conftest$ac_exeext conftest.$ac_ext
28801 LIBS=$ac_check_lib_save_LIBS
28802 fi
28803 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28804 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28805 if test $ac_cv_lib_z_deflate = yes; then
28806 ZLIB_LINK=" -lz"
28807 fi
28808
28809 fi
28810
28811 if test "x$ZLIB_LINK" = "x" ; then
28812 if test "$wxUSE_ZLIB" = "sys" ; then
28813 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28814 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28815 { (exit 1); exit 1; }; }
28816 else
28817 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28818 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28819 wxUSE_ZLIB=builtin
28820 fi
28821 else
28822 wxUSE_ZLIB=sys
28823 fi
28824 fi
28825 fi
28826
28827
28828 PNG_LINK=
28829 if test "$wxUSE_LIBPNG" != "no" ; then
28830 cat >>confdefs.h <<\_ACEOF
28831 #define wxUSE_LIBPNG 1
28832 _ACEOF
28833
28834
28835 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28836 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28837 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28838 wxUSE_LIBPNG=sys
28839 fi
28840
28841 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28842 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28843 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28844 wxUSE_LIBPNG=builtin
28845 fi
28846
28847 if test "$wxUSE_MGL" != 1 ; then
28848 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28849 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28850 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28851 if test "${ac_cv_header_png_h+set}" = set; then
28852 echo $ECHO_N "(cached) $ECHO_C" >&6
28853 else
28854 if test "$cross_compiling" = yes; then
28855 unset ac_cv_header_png_h
28856
28857 else
28858 cat >conftest.$ac_ext <<_ACEOF
28859 /* confdefs.h. */
28860 _ACEOF
28861 cat confdefs.h >>conftest.$ac_ext
28862 cat >>conftest.$ac_ext <<_ACEOF
28863 /* end confdefs.h. */
28864
28865 #include <png.h>
28866 #include <stdio.h>
28867
28868 int main()
28869 {
28870 FILE *f=fopen("conftestval", "w");
28871 if (!f) exit(1);
28872 fprintf(f, "%s",
28873 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28874 exit(0);
28875 }
28876
28877 _ACEOF
28878 rm -f conftest$ac_exeext
28879 if { (ac_try="$ac_link"
28880 case "(($ac_try" in
28881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28882 *) ac_try_echo=$ac_try;;
28883 esac
28884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28885 (eval "$ac_link") 2>&5
28886 ac_status=$?
28887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28889 { (case "(($ac_try" in
28890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28891 *) ac_try_echo=$ac_try;;
28892 esac
28893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28894 (eval "$ac_try") 2>&5
28895 ac_status=$?
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); }; }; then
28898 ac_cv_header_png_h=`cat conftestval`
28899 else
28900 echo "$as_me: program exited with status $ac_status" >&5
28901 echo "$as_me: failed program was:" >&5
28902 sed 's/^/| /' conftest.$ac_ext >&5
28903
28904 ( exit $ac_status )
28905 ac_cv_header_png_h=no
28906 fi
28907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28908 fi
28909
28910
28911
28912 fi
28913 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28914 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28915 { echo "$as_me:$LINENO: checking for png.h" >&5
28916 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28917 if test "${ac_cv_header_png_h+set}" = set; then
28918 echo $ECHO_N "(cached) $ECHO_C" >&6
28919 else
28920 cat >conftest.$ac_ext <<_ACEOF
28921 /* confdefs.h. */
28922 _ACEOF
28923 cat confdefs.h >>conftest.$ac_ext
28924 cat >>conftest.$ac_ext <<_ACEOF
28925 /* end confdefs.h. */
28926
28927
28928 #include <png.h>
28929 _ACEOF
28930 rm -f conftest.$ac_objext
28931 if { (ac_try="$ac_compile"
28932 case "(($ac_try" in
28933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28934 *) ac_try_echo=$ac_try;;
28935 esac
28936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28937 (eval "$ac_compile") 2>conftest.er1
28938 ac_status=$?
28939 grep -v '^ *+' conftest.er1 >conftest.err
28940 rm -f conftest.er1
28941 cat conftest.err >&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } && {
28944 test -z "$ac_c_werror_flag" ||
28945 test ! -s conftest.err
28946 } && test -s conftest.$ac_objext; then
28947 ac_cv_header_png_h=yes
28948 else
28949 echo "$as_me: failed program was:" >&5
28950 sed 's/^/| /' conftest.$ac_ext >&5
28951
28952 ac_cv_header_png_h=no
28953 fi
28954
28955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28956 fi
28957 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28958 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28959
28960
28961
28962 if test "$ac_cv_header_png_h" = "yes"; then
28963 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28964 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28965 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28966 echo $ECHO_N "(cached) $ECHO_C" >&6
28967 else
28968 ac_check_lib_save_LIBS=$LIBS
28969 LIBS="-lpng -lz -lm $LIBS"
28970 cat >conftest.$ac_ext <<_ACEOF
28971 /* confdefs.h. */
28972 _ACEOF
28973 cat confdefs.h >>conftest.$ac_ext
28974 cat >>conftest.$ac_ext <<_ACEOF
28975 /* end confdefs.h. */
28976
28977 /* Override any GCC internal prototype to avoid an error.
28978 Use char because int might match the return type of a GCC
28979 builtin and then its argument prototype would still apply. */
28980 #ifdef __cplusplus
28981 extern "C"
28982 #endif
28983 char png_check_sig ();
28984 int
28985 main ()
28986 {
28987 return png_check_sig ();
28988 ;
28989 return 0;
28990 }
28991 _ACEOF
28992 rm -f conftest.$ac_objext conftest$ac_exeext
28993 if { (ac_try="$ac_link"
28994 case "(($ac_try" in
28995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28996 *) ac_try_echo=$ac_try;;
28997 esac
28998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28999 (eval "$ac_link") 2>conftest.er1
29000 ac_status=$?
29001 grep -v '^ *+' conftest.er1 >conftest.err
29002 rm -f conftest.er1
29003 cat conftest.err >&5
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); } && {
29006 test -z "$ac_c_werror_flag" ||
29007 test ! -s conftest.err
29008 } && test -s conftest$ac_exeext &&
29009 $as_test_x conftest$ac_exeext; then
29010 ac_cv_lib_png_png_check_sig=yes
29011 else
29012 echo "$as_me: failed program was:" >&5
29013 sed 's/^/| /' conftest.$ac_ext >&5
29014
29015 ac_cv_lib_png_png_check_sig=no
29016 fi
29017
29018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29019 conftest$ac_exeext conftest.$ac_ext
29020 LIBS=$ac_check_lib_save_LIBS
29021 fi
29022 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29023 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29024 if test $ac_cv_lib_png_png_check_sig = yes; then
29025 PNG_LINK=" -lpng -lz"
29026 fi
29027
29028 fi
29029
29030 if test "x$PNG_LINK" = "x" ; then
29031 if test "$wxUSE_LIBPNG" = "sys" ; then
29032 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29033 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29034 { (exit 1); exit 1; }; }
29035 else
29036 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29037 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29038 wxUSE_LIBPNG=builtin
29039 fi
29040 else
29041 wxUSE_LIBPNG=sys
29042 fi
29043 fi
29044 fi
29045 fi
29046
29047
29048 JPEG_LINK=
29049 if test "$wxUSE_LIBJPEG" != "no" ; then
29050 cat >>confdefs.h <<\_ACEOF
29051 #define wxUSE_LIBJPEG 1
29052 _ACEOF
29053
29054
29055 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29056 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29057 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29058 wxUSE_LIBJPEG=sys
29059 fi
29060
29061 if test "$wxUSE_MGL" != 1 ; then
29062 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29063 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29064 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29065 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29066 echo $ECHO_N "(cached) $ECHO_C" >&6
29067 else
29068 cat >conftest.$ac_ext <<_ACEOF
29069 /* confdefs.h. */
29070 _ACEOF
29071 cat confdefs.h >>conftest.$ac_ext
29072 cat >>conftest.$ac_ext <<_ACEOF
29073 /* end confdefs.h. */
29074
29075 #undef HAVE_STDLIB_H
29076 #include <stdio.h>
29077 #include <jpeglib.h>
29078
29079 int
29080 main ()
29081 {
29082
29083
29084 ;
29085 return 0;
29086 }
29087 _ACEOF
29088 rm -f conftest.$ac_objext
29089 if { (ac_try="$ac_compile"
29090 case "(($ac_try" in
29091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29092 *) ac_try_echo=$ac_try;;
29093 esac
29094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29095 (eval "$ac_compile") 2>conftest.er1
29096 ac_status=$?
29097 grep -v '^ *+' conftest.er1 >conftest.err
29098 rm -f conftest.er1
29099 cat conftest.err >&5
29100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29101 (exit $ac_status); } && {
29102 test -z "$ac_c_werror_flag" ||
29103 test ! -s conftest.err
29104 } && test -s conftest.$ac_objext; then
29105 ac_cv_header_jpeglib_h=yes
29106 else
29107 echo "$as_me: failed program was:" >&5
29108 sed 's/^/| /' conftest.$ac_ext >&5
29109
29110 ac_cv_header_jpeglib_h=no
29111
29112 fi
29113
29114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29115
29116 fi
29117
29118 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29119 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29120
29121 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29122 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29123 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29124 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29125 echo $ECHO_N "(cached) $ECHO_C" >&6
29126 else
29127 ac_check_lib_save_LIBS=$LIBS
29128 LIBS="-ljpeg $LIBS"
29129 cat >conftest.$ac_ext <<_ACEOF
29130 /* confdefs.h. */
29131 _ACEOF
29132 cat confdefs.h >>conftest.$ac_ext
29133 cat >>conftest.$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29135
29136 /* Override any GCC internal prototype to avoid an error.
29137 Use char because int might match the return type of a GCC
29138 builtin and then its argument prototype would still apply. */
29139 #ifdef __cplusplus
29140 extern "C"
29141 #endif
29142 char jpeg_read_header ();
29143 int
29144 main ()
29145 {
29146 return jpeg_read_header ();
29147 ;
29148 return 0;
29149 }
29150 _ACEOF
29151 rm -f conftest.$ac_objext conftest$ac_exeext
29152 if { (ac_try="$ac_link"
29153 case "(($ac_try" in
29154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29155 *) ac_try_echo=$ac_try;;
29156 esac
29157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29158 (eval "$ac_link") 2>conftest.er1
29159 ac_status=$?
29160 grep -v '^ *+' conftest.er1 >conftest.err
29161 rm -f conftest.er1
29162 cat conftest.err >&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); } && {
29165 test -z "$ac_c_werror_flag" ||
29166 test ! -s conftest.err
29167 } && test -s conftest$ac_exeext &&
29168 $as_test_x conftest$ac_exeext; then
29169 ac_cv_lib_jpeg_jpeg_read_header=yes
29170 else
29171 echo "$as_me: failed program was:" >&5
29172 sed 's/^/| /' conftest.$ac_ext >&5
29173
29174 ac_cv_lib_jpeg_jpeg_read_header=no
29175 fi
29176
29177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29178 conftest$ac_exeext conftest.$ac_ext
29179 LIBS=$ac_check_lib_save_LIBS
29180 fi
29181 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29182 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29183 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29184 JPEG_LINK=" -ljpeg"
29185 fi
29186
29187 fi
29188
29189 if test "x$JPEG_LINK" = "x" ; then
29190 if test "$wxUSE_LIBJPEG" = "sys" ; then
29191 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29192 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29193 { (exit 1); exit 1; }; }
29194 else
29195 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29196 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29197 wxUSE_LIBJPEG=builtin
29198 fi
29199 else
29200 wxUSE_LIBJPEG=sys
29201
29202 if test "$wxUSE_MSW" = 1; then
29203 { echo "$as_me:$LINENO: checking for boolean" >&5
29204 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29205 if test "${ac_cv_type_boolean+set}" = set; then
29206 echo $ECHO_N "(cached) $ECHO_C" >&6
29207 else
29208 cat >conftest.$ac_ext <<_ACEOF
29209 /* confdefs.h. */
29210 _ACEOF
29211 cat confdefs.h >>conftest.$ac_ext
29212 cat >>conftest.$ac_ext <<_ACEOF
29213 /* end confdefs.h. */
29214 #include <windows.h>
29215
29216 typedef boolean ac__type_new_;
29217 int
29218 main ()
29219 {
29220 if ((ac__type_new_ *) 0)
29221 return 0;
29222 if (sizeof (ac__type_new_))
29223 return 0;
29224 ;
29225 return 0;
29226 }
29227 _ACEOF
29228 rm -f conftest.$ac_objext
29229 if { (ac_try="$ac_compile"
29230 case "(($ac_try" in
29231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29232 *) ac_try_echo=$ac_try;;
29233 esac
29234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29235 (eval "$ac_compile") 2>conftest.er1
29236 ac_status=$?
29237 grep -v '^ *+' conftest.er1 >conftest.err
29238 rm -f conftest.er1
29239 cat conftest.err >&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); } && {
29242 test -z "$ac_c_werror_flag" ||
29243 test ! -s conftest.err
29244 } && test -s conftest.$ac_objext; then
29245 ac_cv_type_boolean=yes
29246 else
29247 echo "$as_me: failed program was:" >&5
29248 sed 's/^/| /' conftest.$ac_ext >&5
29249
29250 ac_cv_type_boolean=no
29251 fi
29252
29253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29254 fi
29255 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29256 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29257 if test $ac_cv_type_boolean = yes; then
29258
29259 cat >>confdefs.h <<_ACEOF
29260 #define HAVE_BOOLEAN 1
29261 _ACEOF
29262
29263
29264 { echo "$as_me:$LINENO: checking for boolean" >&5
29265 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29266 if test "${ac_cv_type_boolean+set}" = set; then
29267 echo $ECHO_N "(cached) $ECHO_C" >&6
29268 else
29269 cat >conftest.$ac_ext <<_ACEOF
29270 /* confdefs.h. */
29271 _ACEOF
29272 cat confdefs.h >>conftest.$ac_ext
29273 cat >>conftest.$ac_ext <<_ACEOF
29274 /* end confdefs.h. */
29275
29276 #undef HAVE_BOOLEAN
29277 #include <stdio.h>
29278 #include <jpeglib.h>
29279
29280
29281 typedef boolean ac__type_new_;
29282 int
29283 main ()
29284 {
29285 if ((ac__type_new_ *) 0)
29286 return 0;
29287 if (sizeof (ac__type_new_))
29288 return 0;
29289 ;
29290 return 0;
29291 }
29292 _ACEOF
29293 rm -f conftest.$ac_objext
29294 if { (ac_try="$ac_compile"
29295 case "(($ac_try" in
29296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29297 *) ac_try_echo=$ac_try;;
29298 esac
29299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29300 (eval "$ac_compile") 2>conftest.er1
29301 ac_status=$?
29302 grep -v '^ *+' conftest.er1 >conftest.err
29303 rm -f conftest.er1
29304 cat conftest.err >&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); } && {
29307 test -z "$ac_c_werror_flag" ||
29308 test ! -s conftest.err
29309 } && test -s conftest.$ac_objext; then
29310 ac_cv_type_boolean=yes
29311 else
29312 echo "$as_me: failed program was:" >&5
29313 sed 's/^/| /' conftest.$ac_ext >&5
29314
29315 ac_cv_type_boolean=no
29316 fi
29317
29318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29319 fi
29320 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29321 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29322
29323 # The cast to long int works around a bug in the HP C Compiler
29324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29326 # This bug is HP SR number 8606223364.
29327 { echo "$as_me:$LINENO: checking size of boolean" >&5
29328 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29329 if test "${ac_cv_sizeof_boolean+set}" = set; then
29330 echo $ECHO_N "(cached) $ECHO_C" >&6
29331 else
29332 if test "$cross_compiling" = yes; then
29333 # Depending upon the size, compute the lo and hi bounds.
29334 cat >conftest.$ac_ext <<_ACEOF
29335 /* confdefs.h. */
29336 _ACEOF
29337 cat confdefs.h >>conftest.$ac_ext
29338 cat >>conftest.$ac_ext <<_ACEOF
29339 /* end confdefs.h. */
29340
29341 #undef HAVE_BOOLEAN
29342 #include <stdio.h>
29343 #include <jpeglib.h>
29344
29345
29346 typedef boolean ac__type_sizeof_;
29347 int
29348 main ()
29349 {
29350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29351 test_array [0] = 0
29352
29353 ;
29354 return 0;
29355 }
29356 _ACEOF
29357 rm -f conftest.$ac_objext
29358 if { (ac_try="$ac_compile"
29359 case "(($ac_try" in
29360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29361 *) ac_try_echo=$ac_try;;
29362 esac
29363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29364 (eval "$ac_compile") 2>conftest.er1
29365 ac_status=$?
29366 grep -v '^ *+' conftest.er1 >conftest.err
29367 rm -f conftest.er1
29368 cat conftest.err >&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); } && {
29371 test -z "$ac_c_werror_flag" ||
29372 test ! -s conftest.err
29373 } && test -s conftest.$ac_objext; then
29374 ac_lo=0 ac_mid=0
29375 while :; do
29376 cat >conftest.$ac_ext <<_ACEOF
29377 /* confdefs.h. */
29378 _ACEOF
29379 cat confdefs.h >>conftest.$ac_ext
29380 cat >>conftest.$ac_ext <<_ACEOF
29381 /* end confdefs.h. */
29382
29383 #undef HAVE_BOOLEAN
29384 #include <stdio.h>
29385 #include <jpeglib.h>
29386
29387
29388 typedef boolean ac__type_sizeof_;
29389 int
29390 main ()
29391 {
29392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29393 test_array [0] = 0
29394
29395 ;
29396 return 0;
29397 }
29398 _ACEOF
29399 rm -f conftest.$ac_objext
29400 if { (ac_try="$ac_compile"
29401 case "(($ac_try" in
29402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29403 *) ac_try_echo=$ac_try;;
29404 esac
29405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29406 (eval "$ac_compile") 2>conftest.er1
29407 ac_status=$?
29408 grep -v '^ *+' conftest.er1 >conftest.err
29409 rm -f conftest.er1
29410 cat conftest.err >&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); } && {
29413 test -z "$ac_c_werror_flag" ||
29414 test ! -s conftest.err
29415 } && test -s conftest.$ac_objext; then
29416 ac_hi=$ac_mid; break
29417 else
29418 echo "$as_me: failed program was:" >&5
29419 sed 's/^/| /' conftest.$ac_ext >&5
29420
29421 ac_lo=`expr $ac_mid + 1`
29422 if test $ac_lo -le $ac_mid; then
29423 ac_lo= ac_hi=
29424 break
29425 fi
29426 ac_mid=`expr 2 '*' $ac_mid + 1`
29427 fi
29428
29429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29430 done
29431 else
29432 echo "$as_me: failed program was:" >&5
29433 sed 's/^/| /' conftest.$ac_ext >&5
29434
29435 cat >conftest.$ac_ext <<_ACEOF
29436 /* confdefs.h. */
29437 _ACEOF
29438 cat confdefs.h >>conftest.$ac_ext
29439 cat >>conftest.$ac_ext <<_ACEOF
29440 /* end confdefs.h. */
29441
29442 #undef HAVE_BOOLEAN
29443 #include <stdio.h>
29444 #include <jpeglib.h>
29445
29446
29447 typedef boolean ac__type_sizeof_;
29448 int
29449 main ()
29450 {
29451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29452 test_array [0] = 0
29453
29454 ;
29455 return 0;
29456 }
29457 _ACEOF
29458 rm -f conftest.$ac_objext
29459 if { (ac_try="$ac_compile"
29460 case "(($ac_try" in
29461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29462 *) ac_try_echo=$ac_try;;
29463 esac
29464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29465 (eval "$ac_compile") 2>conftest.er1
29466 ac_status=$?
29467 grep -v '^ *+' conftest.er1 >conftest.err
29468 rm -f conftest.er1
29469 cat conftest.err >&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } && {
29472 test -z "$ac_c_werror_flag" ||
29473 test ! -s conftest.err
29474 } && test -s conftest.$ac_objext; then
29475 ac_hi=-1 ac_mid=-1
29476 while :; do
29477 cat >conftest.$ac_ext <<_ACEOF
29478 /* confdefs.h. */
29479 _ACEOF
29480 cat confdefs.h >>conftest.$ac_ext
29481 cat >>conftest.$ac_ext <<_ACEOF
29482 /* end confdefs.h. */
29483
29484 #undef HAVE_BOOLEAN
29485 #include <stdio.h>
29486 #include <jpeglib.h>
29487
29488
29489 typedef boolean ac__type_sizeof_;
29490 int
29491 main ()
29492 {
29493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29494 test_array [0] = 0
29495
29496 ;
29497 return 0;
29498 }
29499 _ACEOF
29500 rm -f conftest.$ac_objext
29501 if { (ac_try="$ac_compile"
29502 case "(($ac_try" in
29503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29504 *) ac_try_echo=$ac_try;;
29505 esac
29506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29507 (eval "$ac_compile") 2>conftest.er1
29508 ac_status=$?
29509 grep -v '^ *+' conftest.er1 >conftest.err
29510 rm -f conftest.er1
29511 cat conftest.err >&5
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); } && {
29514 test -z "$ac_c_werror_flag" ||
29515 test ! -s conftest.err
29516 } && test -s conftest.$ac_objext; then
29517 ac_lo=$ac_mid; break
29518 else
29519 echo "$as_me: failed program was:" >&5
29520 sed 's/^/| /' conftest.$ac_ext >&5
29521
29522 ac_hi=`expr '(' $ac_mid ')' - 1`
29523 if test $ac_mid -le $ac_hi; then
29524 ac_lo= ac_hi=
29525 break
29526 fi
29527 ac_mid=`expr 2 '*' $ac_mid`
29528 fi
29529
29530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29531 done
29532 else
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29535
29536 ac_lo= ac_hi=
29537 fi
29538
29539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29540 fi
29541
29542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29543 # Binary search between lo and hi bounds.
29544 while test "x$ac_lo" != "x$ac_hi"; do
29545 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29546 cat >conftest.$ac_ext <<_ACEOF
29547 /* confdefs.h. */
29548 _ACEOF
29549 cat confdefs.h >>conftest.$ac_ext
29550 cat >>conftest.$ac_ext <<_ACEOF
29551 /* end confdefs.h. */
29552
29553 #undef HAVE_BOOLEAN
29554 #include <stdio.h>
29555 #include <jpeglib.h>
29556
29557
29558 typedef boolean ac__type_sizeof_;
29559 int
29560 main ()
29561 {
29562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29563 test_array [0] = 0
29564
29565 ;
29566 return 0;
29567 }
29568 _ACEOF
29569 rm -f conftest.$ac_objext
29570 if { (ac_try="$ac_compile"
29571 case "(($ac_try" in
29572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29573 *) ac_try_echo=$ac_try;;
29574 esac
29575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29576 (eval "$ac_compile") 2>conftest.er1
29577 ac_status=$?
29578 grep -v '^ *+' conftest.er1 >conftest.err
29579 rm -f conftest.er1
29580 cat conftest.err >&5
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); } && {
29583 test -z "$ac_c_werror_flag" ||
29584 test ! -s conftest.err
29585 } && test -s conftest.$ac_objext; then
29586 ac_hi=$ac_mid
29587 else
29588 echo "$as_me: failed program was:" >&5
29589 sed 's/^/| /' conftest.$ac_ext >&5
29590
29591 ac_lo=`expr '(' $ac_mid ')' + 1`
29592 fi
29593
29594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29595 done
29596 case $ac_lo in
29597 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29598 '') if test "$ac_cv_type_boolean" = yes; then
29599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29600 See \`config.log' for more details." >&5
29601 echo "$as_me: error: cannot compute sizeof (boolean)
29602 See \`config.log' for more details." >&2;}
29603 { (exit 77); exit 77; }; }
29604 else
29605 ac_cv_sizeof_boolean=0
29606 fi ;;
29607 esac
29608 else
29609 cat >conftest.$ac_ext <<_ACEOF
29610 /* confdefs.h. */
29611 _ACEOF
29612 cat confdefs.h >>conftest.$ac_ext
29613 cat >>conftest.$ac_ext <<_ACEOF
29614 /* end confdefs.h. */
29615
29616 #undef HAVE_BOOLEAN
29617 #include <stdio.h>
29618 #include <jpeglib.h>
29619
29620
29621 typedef boolean ac__type_sizeof_;
29622 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29623 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29624 #include <stdio.h>
29625 #include <stdlib.h>
29626 int
29627 main ()
29628 {
29629
29630 FILE *f = fopen ("conftest.val", "w");
29631 if (! f)
29632 return 1;
29633 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29634 {
29635 long int i = longval ();
29636 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29637 return 1;
29638 fprintf (f, "%ld\n", i);
29639 }
29640 else
29641 {
29642 unsigned long int i = ulongval ();
29643 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29644 return 1;
29645 fprintf (f, "%lu\n", i);
29646 }
29647 return ferror (f) || fclose (f) != 0;
29648
29649 ;
29650 return 0;
29651 }
29652 _ACEOF
29653 rm -f conftest$ac_exeext
29654 if { (ac_try="$ac_link"
29655 case "(($ac_try" in
29656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29657 *) ac_try_echo=$ac_try;;
29658 esac
29659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29660 (eval "$ac_link") 2>&5
29661 ac_status=$?
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29664 { (case "(($ac_try" in
29665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29666 *) ac_try_echo=$ac_try;;
29667 esac
29668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29669 (eval "$ac_try") 2>&5
29670 ac_status=$?
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); }; }; then
29673 ac_cv_sizeof_boolean=`cat conftest.val`
29674 else
29675 echo "$as_me: program exited with status $ac_status" >&5
29676 echo "$as_me: failed program was:" >&5
29677 sed 's/^/| /' conftest.$ac_ext >&5
29678
29679 ( exit $ac_status )
29680 if test "$ac_cv_type_boolean" = yes; then
29681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29682 See \`config.log' for more details." >&5
29683 echo "$as_me: error: cannot compute sizeof (boolean)
29684 See \`config.log' for more details." >&2;}
29685 { (exit 77); exit 77; }; }
29686 else
29687 ac_cv_sizeof_boolean=0
29688 fi
29689 fi
29690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29691 fi
29692 rm -f conftest.val
29693 fi
29694 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29695 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29696
29697
29698
29699 cat >>confdefs.h <<_ACEOF
29700 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29701 _ACEOF
29702
29703
29704 cat >>confdefs.h <<_ACEOF
29705 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29706 _ACEOF
29707
29708
29709 fi
29710
29711 fi
29712 fi
29713 fi
29714 fi
29715 fi
29716
29717
29718 TIFF_LINK=
29719 TIFF_PREREQ_LINKS=-lm
29720 if test "$wxUSE_LIBTIFF" != "no" ; then
29721 cat >>confdefs.h <<\_ACEOF
29722 #define wxUSE_LIBTIFF 1
29723 _ACEOF
29724
29725
29726 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29727 if test "$wxUSE_LIBJPEG" = "sys"; then
29728 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29729 fi
29730 if test "$wxUSE_ZLIB" = "sys"; then
29731 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29732 fi
29733 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29734 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29735 if test "${ac_cv_header_tiffio_h+set}" = set; then
29736 echo $ECHO_N "(cached) $ECHO_C" >&6
29737 else
29738 cat >conftest.$ac_ext <<_ACEOF
29739 /* confdefs.h. */
29740 _ACEOF
29741 cat confdefs.h >>conftest.$ac_ext
29742 cat >>conftest.$ac_ext <<_ACEOF
29743 /* end confdefs.h. */
29744
29745
29746
29747 #include <tiffio.h>
29748 _ACEOF
29749 rm -f conftest.$ac_objext
29750 if { (ac_try="$ac_compile"
29751 case "(($ac_try" in
29752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29753 *) ac_try_echo=$ac_try;;
29754 esac
29755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29756 (eval "$ac_compile") 2>conftest.er1
29757 ac_status=$?
29758 grep -v '^ *+' conftest.er1 >conftest.err
29759 rm -f conftest.er1
29760 cat conftest.err >&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); } && {
29763 test -z "$ac_c_werror_flag" ||
29764 test ! -s conftest.err
29765 } && test -s conftest.$ac_objext; then
29766 ac_cv_header_tiffio_h=yes
29767 else
29768 echo "$as_me: failed program was:" >&5
29769 sed 's/^/| /' conftest.$ac_ext >&5
29770
29771 ac_cv_header_tiffio_h=no
29772 fi
29773
29774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29775 fi
29776 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29777 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29778 if test $ac_cv_header_tiffio_h = yes; then
29779
29780 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29781 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29782 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29783 echo $ECHO_N "(cached) $ECHO_C" >&6
29784 else
29785 ac_check_lib_save_LIBS=$LIBS
29786 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29787 cat >conftest.$ac_ext <<_ACEOF
29788 /* confdefs.h. */
29789 _ACEOF
29790 cat confdefs.h >>conftest.$ac_ext
29791 cat >>conftest.$ac_ext <<_ACEOF
29792 /* end confdefs.h. */
29793
29794 /* Override any GCC internal prototype to avoid an error.
29795 Use char because int might match the return type of a GCC
29796 builtin and then its argument prototype would still apply. */
29797 #ifdef __cplusplus
29798 extern "C"
29799 #endif
29800 char TIFFError ();
29801 int
29802 main ()
29803 {
29804 return TIFFError ();
29805 ;
29806 return 0;
29807 }
29808 _ACEOF
29809 rm -f conftest.$ac_objext conftest$ac_exeext
29810 if { (ac_try="$ac_link"
29811 case "(($ac_try" in
29812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29813 *) ac_try_echo=$ac_try;;
29814 esac
29815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29816 (eval "$ac_link") 2>conftest.er1
29817 ac_status=$?
29818 grep -v '^ *+' conftest.er1 >conftest.err
29819 rm -f conftest.er1
29820 cat conftest.err >&5
29821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822 (exit $ac_status); } && {
29823 test -z "$ac_c_werror_flag" ||
29824 test ! -s conftest.err
29825 } && test -s conftest$ac_exeext &&
29826 $as_test_x conftest$ac_exeext; then
29827 ac_cv_lib_tiff_TIFFError=yes
29828 else
29829 echo "$as_me: failed program was:" >&5
29830 sed 's/^/| /' conftest.$ac_ext >&5
29831
29832 ac_cv_lib_tiff_TIFFError=no
29833 fi
29834
29835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29836 conftest$ac_exeext conftest.$ac_ext
29837 LIBS=$ac_check_lib_save_LIBS
29838 fi
29839 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29840 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29841 if test $ac_cv_lib_tiff_TIFFError = yes; then
29842 TIFF_LINK=" -ltiff"
29843 fi
29844
29845
29846 fi
29847
29848
29849
29850 if test "x$TIFF_LINK" = "x" ; then
29851 if test "$wxUSE_LIBTIFF" = "sys" ; then
29852 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29853 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29854 { (exit 1); exit 1; }; }
29855 else
29856 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29857 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29858 wxUSE_LIBTIFF=builtin
29859 fi
29860 else
29861 wxUSE_LIBTIFF=sys
29862 fi
29863 fi
29864 fi
29865
29866
29867 if test "$wxUSE_WCHAR_T" != "yes"; then
29868 if test "$wxUSE_EXPAT" != "no"; then
29869 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29870 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29871 wxUSE_EXPAT=no
29872 fi
29873 if test "$wxUSE_XML" != "no"; then
29874 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29875 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29876 wxUSE_XML=no
29877 fi
29878 fi
29879
29880 if test "$wxUSE_EXPAT" != "no"; then
29881 wxUSE_XML=yes
29882 cat >>confdefs.h <<\_ACEOF
29883 #define wxUSE_EXPAT 1
29884 _ACEOF
29885
29886 cat >>confdefs.h <<\_ACEOF
29887 #define wxUSE_XML 1
29888 _ACEOF
29889
29890
29891 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29892 { echo "$as_me:$LINENO: checking for expat.h" >&5
29893 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29894 if test "${ac_cv_header_expat_h+set}" = set; then
29895 echo $ECHO_N "(cached) $ECHO_C" >&6
29896 else
29897 cat >conftest.$ac_ext <<_ACEOF
29898 /* confdefs.h. */
29899 _ACEOF
29900 cat confdefs.h >>conftest.$ac_ext
29901 cat >>conftest.$ac_ext <<_ACEOF
29902 /* end confdefs.h. */
29903
29904
29905 #include <expat.h>
29906 _ACEOF
29907 rm -f conftest.$ac_objext
29908 if { (ac_try="$ac_compile"
29909 case "(($ac_try" in
29910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29911 *) ac_try_echo=$ac_try;;
29912 esac
29913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29914 (eval "$ac_compile") 2>conftest.er1
29915 ac_status=$?
29916 grep -v '^ *+' conftest.er1 >conftest.err
29917 rm -f conftest.er1
29918 cat conftest.err >&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); } && {
29921 test -z "$ac_c_werror_flag" ||
29922 test ! -s conftest.err
29923 } && test -s conftest.$ac_objext; then
29924 ac_cv_header_expat_h=yes
29925 else
29926 echo "$as_me: failed program was:" >&5
29927 sed 's/^/| /' conftest.$ac_ext >&5
29928
29929 ac_cv_header_expat_h=no
29930 fi
29931
29932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29933 fi
29934 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29935 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29936 if test $ac_cv_header_expat_h = yes; then
29937 found_expat_h=1
29938 fi
29939
29940
29941 if test "x$found_expat_h" = "x1"; then
29942 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29943 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29944 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29945 echo $ECHO_N "(cached) $ECHO_C" >&6
29946 else
29947
29948 ac_ext=cpp
29949 ac_cpp='$CXXCPP $CPPFLAGS'
29950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29953
29954 cat >conftest.$ac_ext <<_ACEOF
29955 /* confdefs.h. */
29956 _ACEOF
29957 cat confdefs.h >>conftest.$ac_ext
29958 cat >>conftest.$ac_ext <<_ACEOF
29959 /* end confdefs.h. */
29960 #include <expat.h>
29961 int
29962 main ()
29963 {
29964
29965 ;
29966 return 0;
29967 }
29968 _ACEOF
29969 rm -f conftest.$ac_objext
29970 if { (ac_try="$ac_compile"
29971 case "(($ac_try" in
29972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29973 *) ac_try_echo=$ac_try;;
29974 esac
29975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29976 (eval "$ac_compile") 2>conftest.er1
29977 ac_status=$?
29978 grep -v '^ *+' conftest.er1 >conftest.err
29979 rm -f conftest.er1
29980 cat conftest.err >&5
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); } && {
29983 test -z "$ac_cxx_werror_flag" ||
29984 test ! -s conftest.err
29985 } && test -s conftest.$ac_objext; then
29986 wx_cv_expat_is_not_broken=yes
29987 else
29988 echo "$as_me: failed program was:" >&5
29989 sed 's/^/| /' conftest.$ac_ext >&5
29990
29991 wx_cv_expat_is_not_broken=no
29992
29993 fi
29994
29995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29996 ac_ext=c
29997 ac_cpp='$CPP $CPPFLAGS'
29998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30001
30002
30003
30004 fi
30005 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30006 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30007 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30008 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30009 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30010 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30011 echo $ECHO_N "(cached) $ECHO_C" >&6
30012 else
30013 ac_check_lib_save_LIBS=$LIBS
30014 LIBS="-lexpat $LIBS"
30015 cat >conftest.$ac_ext <<_ACEOF
30016 /* confdefs.h. */
30017 _ACEOF
30018 cat confdefs.h >>conftest.$ac_ext
30019 cat >>conftest.$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021
30022 /* Override any GCC internal prototype to avoid an error.
30023 Use char because int might match the return type of a GCC
30024 builtin and then its argument prototype would still apply. */
30025 #ifdef __cplusplus
30026 extern "C"
30027 #endif
30028 char XML_ParserCreate ();
30029 int
30030 main ()
30031 {
30032 return XML_ParserCreate ();
30033 ;
30034 return 0;
30035 }
30036 _ACEOF
30037 rm -f conftest.$ac_objext conftest$ac_exeext
30038 if { (ac_try="$ac_link"
30039 case "(($ac_try" in
30040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30041 *) ac_try_echo=$ac_try;;
30042 esac
30043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30044 (eval "$ac_link") 2>conftest.er1
30045 ac_status=$?
30046 grep -v '^ *+' conftest.er1 >conftest.err
30047 rm -f conftest.er1
30048 cat conftest.err >&5
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); } && {
30051 test -z "$ac_c_werror_flag" ||
30052 test ! -s conftest.err
30053 } && test -s conftest$ac_exeext &&
30054 $as_test_x conftest$ac_exeext; then
30055 ac_cv_lib_expat_XML_ParserCreate=yes
30056 else
30057 echo "$as_me: failed program was:" >&5
30058 sed 's/^/| /' conftest.$ac_ext >&5
30059
30060 ac_cv_lib_expat_XML_ParserCreate=no
30061 fi
30062
30063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30064 conftest$ac_exeext conftest.$ac_ext
30065 LIBS=$ac_check_lib_save_LIBS
30066 fi
30067 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30068 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30069 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30070 EXPAT_LINK=" -lexpat"
30071 fi
30072
30073 fi
30074 fi
30075 if test "x$EXPAT_LINK" = "x" ; then
30076 if test "$wxUSE_EXPAT" = "sys" ; then
30077 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30078 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30079 { (exit 1); exit 1; }; }
30080 else
30081 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30082 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30083 wxUSE_EXPAT=builtin
30084 fi
30085 else
30086 wxUSE_EXPAT=sys
30087 fi
30088 fi
30089 if test "$wxUSE_EXPAT" = "builtin" ; then
30090 subdirs="$subdirs src/expat"
30091
30092 fi
30093 fi
30094
30095
30096
30097 if test "$wxUSE_LIBMSPACK" != "no"; then
30098 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30099 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30100 if test "${ac_cv_header_mspack_h+set}" = set; then
30101 echo $ECHO_N "(cached) $ECHO_C" >&6
30102 else
30103 cat >conftest.$ac_ext <<_ACEOF
30104 /* confdefs.h. */
30105 _ACEOF
30106 cat confdefs.h >>conftest.$ac_ext
30107 cat >>conftest.$ac_ext <<_ACEOF
30108 /* end confdefs.h. */
30109
30110
30111 #include <mspack.h>
30112 _ACEOF
30113 rm -f conftest.$ac_objext
30114 if { (ac_try="$ac_compile"
30115 case "(($ac_try" in
30116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30117 *) ac_try_echo=$ac_try;;
30118 esac
30119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30120 (eval "$ac_compile") 2>conftest.er1
30121 ac_status=$?
30122 grep -v '^ *+' conftest.er1 >conftest.err
30123 rm -f conftest.er1
30124 cat conftest.err >&5
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); } && {
30127 test -z "$ac_c_werror_flag" ||
30128 test ! -s conftest.err
30129 } && test -s conftest.$ac_objext; then
30130 ac_cv_header_mspack_h=yes
30131 else
30132 echo "$as_me: failed program was:" >&5
30133 sed 's/^/| /' conftest.$ac_ext >&5
30134
30135 ac_cv_header_mspack_h=no
30136 fi
30137
30138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30139 fi
30140 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30141 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30142 if test $ac_cv_header_mspack_h = yes; then
30143 found_mspack_h=1
30144 fi
30145
30146
30147 if test "x$found_mspack_h" = "x1"; then
30148 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30149 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30150 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30151 echo $ECHO_N "(cached) $ECHO_C" >&6
30152 else
30153 ac_check_lib_save_LIBS=$LIBS
30154 LIBS="-lmspack $LIBS"
30155 cat >conftest.$ac_ext <<_ACEOF
30156 /* confdefs.h. */
30157 _ACEOF
30158 cat confdefs.h >>conftest.$ac_ext
30159 cat >>conftest.$ac_ext <<_ACEOF
30160 /* end confdefs.h. */
30161
30162 /* Override any GCC internal prototype to avoid an error.
30163 Use char because int might match the return type of a GCC
30164 builtin and then its argument prototype would still apply. */
30165 #ifdef __cplusplus
30166 extern "C"
30167 #endif
30168 char mspack_create_chm_decompressor ();
30169 int
30170 main ()
30171 {
30172 return mspack_create_chm_decompressor ();
30173 ;
30174 return 0;
30175 }
30176 _ACEOF
30177 rm -f conftest.$ac_objext conftest$ac_exeext
30178 if { (ac_try="$ac_link"
30179 case "(($ac_try" in
30180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30181 *) ac_try_echo=$ac_try;;
30182 esac
30183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30184 (eval "$ac_link") 2>conftest.er1
30185 ac_status=$?
30186 grep -v '^ *+' conftest.er1 >conftest.err
30187 rm -f conftest.er1
30188 cat conftest.err >&5
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); } && {
30191 test -z "$ac_c_werror_flag" ||
30192 test ! -s conftest.err
30193 } && test -s conftest$ac_exeext &&
30194 $as_test_x conftest$ac_exeext; then
30195 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30196 else
30197 echo "$as_me: failed program was:" >&5
30198 sed 's/^/| /' conftest.$ac_ext >&5
30199
30200 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30201 fi
30202
30203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30204 conftest$ac_exeext conftest.$ac_ext
30205 LIBS=$ac_check_lib_save_LIBS
30206 fi
30207 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30208 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30209 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30210 MSPACK_LINK=" -lmspack"
30211 fi
30212
30213 fi
30214 if test "x$MSPACK_LINK" = "x" ; then
30215 wxUSE_LIBMSPACK=no
30216 fi
30217 fi
30218
30219 if test "$wxUSE_LIBMSPACK" != "no"; then
30220 cat >>confdefs.h <<\_ACEOF
30221 #define wxUSE_LIBMSPACK 1
30222 _ACEOF
30223
30224 fi
30225
30226
30227
30228 AFMINSTALL=
30229 WIN32INSTALL=
30230
30231 TOOLKIT=
30232 TOOLKIT_INCLUDE=
30233 WIDGET_SET=
30234
30235 if test "$USE_WIN32" = 1 ; then
30236
30237 for ac_header in w32api.h
30238 do
30239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30240 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30242 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30243 echo $ECHO_N "(cached) $ECHO_C" >&6
30244 else
30245 cat >conftest.$ac_ext <<_ACEOF
30246 /* confdefs.h. */
30247 _ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30251
30252
30253 #include <$ac_header>
30254 _ACEOF
30255 rm -f conftest.$ac_objext
30256 if { (ac_try="$ac_compile"
30257 case "(($ac_try" in
30258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30259 *) ac_try_echo=$ac_try;;
30260 esac
30261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30262 (eval "$ac_compile") 2>conftest.er1
30263 ac_status=$?
30264 grep -v '^ *+' conftest.er1 >conftest.err
30265 rm -f conftest.er1
30266 cat conftest.err >&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); } && {
30269 test -z "$ac_c_werror_flag" ||
30270 test ! -s conftest.err
30271 } && test -s conftest.$ac_objext; then
30272 eval "$as_ac_Header=yes"
30273 else
30274 echo "$as_me: failed program was:" >&5
30275 sed 's/^/| /' conftest.$ac_ext >&5
30276
30277 eval "$as_ac_Header=no"
30278 fi
30279
30280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30281 fi
30282 ac_res=`eval echo '${'$as_ac_Header'}'`
30283 { echo "$as_me:$LINENO: result: $ac_res" >&5
30284 echo "${ECHO_T}$ac_res" >&6; }
30285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30286 cat >>confdefs.h <<_ACEOF
30287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30288 _ACEOF
30289
30290 fi
30291
30292 done
30293
30294 { echo "$as_me:$LINENO: checking for windows.h" >&5
30295 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30296 if test "${ac_cv_header_windows_h+set}" = set; then
30297 echo $ECHO_N "(cached) $ECHO_C" >&6
30298 else
30299 cat >conftest.$ac_ext <<_ACEOF
30300 /* confdefs.h. */
30301 _ACEOF
30302 cat confdefs.h >>conftest.$ac_ext
30303 cat >>conftest.$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30305
30306
30307 #include <windows.h>
30308 _ACEOF
30309 rm -f conftest.$ac_objext
30310 if { (ac_try="$ac_compile"
30311 case "(($ac_try" in
30312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30313 *) ac_try_echo=$ac_try;;
30314 esac
30315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30316 (eval "$ac_compile") 2>conftest.er1
30317 ac_status=$?
30318 grep -v '^ *+' conftest.er1 >conftest.err
30319 rm -f conftest.er1
30320 cat conftest.err >&5
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); } && {
30323 test -z "$ac_c_werror_flag" ||
30324 test ! -s conftest.err
30325 } && test -s conftest.$ac_objext; then
30326 ac_cv_header_windows_h=yes
30327 else
30328 echo "$as_me: failed program was:" >&5
30329 sed 's/^/| /' conftest.$ac_ext >&5
30330
30331 ac_cv_header_windows_h=no
30332 fi
30333
30334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30335 fi
30336 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30337 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30338 if test $ac_cv_header_windows_h = yes; then
30339 :
30340 else
30341
30342 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30343 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30344 { (exit 1); exit 1; }; }
30345
30346 fi
30347
30348
30349
30350 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30351
30352 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30353 LIBS="$LIBS -loleacc"
30354 fi
30355
30356 case "${host}" in
30357 *-*-cygwin* )
30358 LIBS="$LIBS -lkernel32 -luser32"
30359 esac
30360
30361 if test "$wxUSE_ODBC" = "sys" ; then
30362 wxUSE_ODBC = "yes"
30363 fi
30364 if test "$wxUSE_ODBC" = "yes" ; then
30365 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30366 cat >>confdefs.h <<\_ACEOF
30367 #define wxUSE_ODBC 1
30368 _ACEOF
30369
30370 fi
30371
30372 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30373 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30374
30375 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30376
30377 WIN32INSTALL=win32install
30378
30379 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30380 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30381 if test "${ac_cv_header_pbt_h+set}" = set; then
30382 echo $ECHO_N "(cached) $ECHO_C" >&6
30383 else
30384 cat >conftest.$ac_ext <<_ACEOF
30385 /* confdefs.h. */
30386 _ACEOF
30387 cat confdefs.h >>conftest.$ac_ext
30388 cat >>conftest.$ac_ext <<_ACEOF
30389 /* end confdefs.h. */
30390
30391
30392 #include <pbt.h>
30393 _ACEOF
30394 rm -f conftest.$ac_objext
30395 if { (ac_try="$ac_compile"
30396 case "(($ac_try" in
30397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30398 *) ac_try_echo=$ac_try;;
30399 esac
30400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30401 (eval "$ac_compile") 2>conftest.er1
30402 ac_status=$?
30403 grep -v '^ *+' conftest.er1 >conftest.err
30404 rm -f conftest.er1
30405 cat conftest.err >&5
30406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30407 (exit $ac_status); } && {
30408 test -z "$ac_c_werror_flag" ||
30409 test ! -s conftest.err
30410 } && test -s conftest.$ac_objext; then
30411 ac_cv_header_pbt_h=yes
30412 else
30413 echo "$as_me: failed program was:" >&5
30414 sed 's/^/| /' conftest.$ac_ext >&5
30415
30416 ac_cv_header_pbt_h=no
30417 fi
30418
30419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30420 fi
30421 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30422 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30423 if test $ac_cv_header_pbt_h = yes; then
30424 :
30425 else
30426 cat >>confdefs.h <<\_ACEOF
30427 #define NEED_PBT_H 1
30428 _ACEOF
30429
30430 fi
30431
30432
30433 fi
30434
30435 if test "$wxUSE_GUI" = "yes"; then
30436 USE_GUI=1
30437
30438 GUI_TK_LIBRARY=
30439
30440 WXGTK12=
30441 WXGTK127=
30442 WXGTK20=
30443 WXGPE=
30444
30445 if test "$wxUSE_COCOA" = 1 ; then
30446 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30447 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30448 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30449 wxUSE_PRINTING_ARCHITECTURE=no
30450 fi
30451 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30452 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30453 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30454 wxUSE_DRAG_AND_DROP=no
30455 fi
30456 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30457 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30458 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30459 wxUSE_DRAGIMAGE=no
30460 fi
30461 fi
30462
30463 if test "$wxUSE_MSW" = 1 ; then
30464 TOOLKIT=MSW
30465 GUIDIST=MSW_DIST
30466
30467 case "${host}" in
30468 *-*-mingw32* )
30469 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30470 esac
30471 fi
30472
30473 if test "$wxUSE_GTK" = 1; then
30474 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30475 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30476
30477 gtk_version_cached=1
30478 if test "${wx_cv_lib_gtk+set}" = set; then
30479 echo $ECHO_N "(cached) $ECHO_C" >&6
30480 else
30481
30482 gtk_version_cached=0
30483 { echo "$as_me:$LINENO: result: " >&5
30484 echo "${ECHO_T}" >&6; }
30485
30486 GTK_MODULES=
30487 if test "$wxUSE_THREADS" = "yes"; then
30488 GTK_MODULES=gthread
30489 fi
30490
30491 wx_cv_lib_gtk=
30492 if test "x$wxGTK_VERSION" != "x1"
30493 then
30494 case "${host}" in
30495 *-*-solaris2* )
30496 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30497 enable_gtktest=no
30498 fi
30499 esac
30500
30501 # Check whether --enable-gtktest was given.
30502 if test "${enable_gtktest+set}" = set; then
30503 enableval=$enable_gtktest;
30504 else
30505 enable_gtktest=yes
30506 fi
30507
30508
30509 pkg_config_args=gtk+-2.0
30510 for module in . $GTK_MODULES
30511 do
30512 case "$module" in
30513 gthread)
30514 pkg_config_args="$pkg_config_args gthread-2.0"
30515 ;;
30516 esac
30517 done
30518
30519 no_gtk=""
30520
30521 # Extract the first word of "pkg-config", so it can be a program name with args.
30522 set dummy pkg-config; ac_word=$2
30523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30525 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30526 echo $ECHO_N "(cached) $ECHO_C" >&6
30527 else
30528 case $PKG_CONFIG in
30529 [\\/]* | ?:[\\/]*)
30530 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30531 ;;
30532 *)
30533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30534 for as_dir in $PATH
30535 do
30536 IFS=$as_save_IFS
30537 test -z "$as_dir" && as_dir=.
30538 for ac_exec_ext in '' $ac_executable_extensions; do
30539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30540 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30542 break 2
30543 fi
30544 done
30545 done
30546 IFS=$as_save_IFS
30547
30548 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30549 ;;
30550 esac
30551 fi
30552 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30553 if test -n "$PKG_CONFIG"; then
30554 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30555 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30556 else
30557 { echo "$as_me:$LINENO: result: no" >&5
30558 echo "${ECHO_T}no" >&6; }
30559 fi
30560
30561
30562
30563 if test x$PKG_CONFIG != xno ; then
30564 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30565 :
30566 else
30567 echo "*** pkg-config too old; version 0.7 or better required."
30568 no_gtk=yes
30569 PKG_CONFIG=no
30570 fi
30571 else
30572 no_gtk=yes
30573 fi
30574
30575 min_gtk_version=2.0.0
30576 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30577 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30578
30579 if test x$PKG_CONFIG != xno ; then
30580 ## don't try to run the test against uninstalled libtool libs
30581 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30582 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30583 enable_gtktest=no
30584 fi
30585
30586 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30587 :
30588 else
30589 no_gtk=yes
30590 fi
30591 fi
30592
30593 if test x"$no_gtk" = x ; then
30594 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30595 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30596 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30598 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30600 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30601 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30602 if test "x$enable_gtktest" = "xyes" ; then
30603 ac_save_CFLAGS="$CFLAGS"
30604 ac_save_LIBS="$LIBS"
30605 CFLAGS="$CFLAGS $GTK_CFLAGS"
30606 LIBS="$GTK_LIBS $LIBS"
30607 rm -f conf.gtktest
30608 if test "$cross_compiling" = yes; then
30609 echo $ac_n "cross compiling; assumed OK... $ac_c"
30610 else
30611 cat >conftest.$ac_ext <<_ACEOF
30612 /* confdefs.h. */
30613 _ACEOF
30614 cat confdefs.h >>conftest.$ac_ext
30615 cat >>conftest.$ac_ext <<_ACEOF
30616 /* end confdefs.h. */
30617
30618 #include <gtk/gtk.h>
30619 #include <stdio.h>
30620 #include <stdlib.h>
30621
30622 int
30623 main ()
30624 {
30625 int major, minor, micro;
30626 char *tmp_version;
30627
30628 system ("touch conf.gtktest");
30629
30630 /* HP/UX 9 (%@#!) writes to sscanf strings */
30631 tmp_version = g_strdup("$min_gtk_version");
30632 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30633 printf("%s, bad version string\n", "$min_gtk_version");
30634 exit(1);
30635 }
30636
30637 if ((gtk_major_version != $gtk_config_major_version) ||
30638 (gtk_minor_version != $gtk_config_minor_version) ||
30639 (gtk_micro_version != $gtk_config_micro_version))
30640 {
30641 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30642 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30643 gtk_major_version, gtk_minor_version, gtk_micro_version);
30644 printf ("*** was found! If pkg-config was correct, then it is best\n");
30645 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30646 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30647 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30648 printf("*** required on your system.\n");
30649 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30650 printf("*** to point to the correct configuration files\n");
30651 }
30652 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30653 (gtk_minor_version != GTK_MINOR_VERSION) ||
30654 (gtk_micro_version != GTK_MICRO_VERSION))
30655 {
30656 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30657 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30658 printf("*** library (version %d.%d.%d)\n",
30659 gtk_major_version, gtk_minor_version, gtk_micro_version);
30660 }
30661 else
30662 {
30663 if ((gtk_major_version > major) ||
30664 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30665 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30666 {
30667 return 0;
30668 }
30669 else
30670 {
30671 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30672 gtk_major_version, gtk_minor_version, gtk_micro_version);
30673 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30674 major, minor, micro);
30675 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30676 printf("***\n");
30677 printf("*** If you have already installed a sufficiently new version, this error\n");
30678 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30679 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30680 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30681 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30682 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30683 printf("*** so that the correct libraries are found at run-time))\n");
30684 }
30685 }
30686 return 1;
30687 }
30688
30689 _ACEOF
30690 rm -f conftest$ac_exeext
30691 if { (ac_try="$ac_link"
30692 case "(($ac_try" in
30693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30694 *) ac_try_echo=$ac_try;;
30695 esac
30696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30697 (eval "$ac_link") 2>&5
30698 ac_status=$?
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30701 { (case "(($ac_try" in
30702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30703 *) ac_try_echo=$ac_try;;
30704 esac
30705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30706 (eval "$ac_try") 2>&5
30707 ac_status=$?
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); }; }; then
30710 :
30711 else
30712 echo "$as_me: program exited with status $ac_status" >&5
30713 echo "$as_me: failed program was:" >&5
30714 sed 's/^/| /' conftest.$ac_ext >&5
30715
30716 ( exit $ac_status )
30717 no_gtk=yes
30718 fi
30719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30720 fi
30721
30722
30723 CFLAGS="$ac_save_CFLAGS"
30724 LIBS="$ac_save_LIBS"
30725 fi
30726 fi
30727 if test "x$no_gtk" = x ; then
30728 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30729 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30730 wx_cv_lib_gtk=2.0
30731 else
30732 { echo "$as_me:$LINENO: result: no" >&5
30733 echo "${ECHO_T}no" >&6; }
30734 if test "$PKG_CONFIG" = "no" ; then
30735 echo "*** A new enough version of pkg-config was not found."
30736 echo "*** See http://pkgconfig.sourceforge.net"
30737 else
30738 if test -f conf.gtktest ; then
30739 :
30740 else
30741 echo "*** Could not run GTK+ test program, checking why..."
30742 ac_save_CFLAGS="$CFLAGS"
30743 ac_save_LIBS="$LIBS"
30744 CFLAGS="$CFLAGS $GTK_CFLAGS"
30745 LIBS="$LIBS $GTK_LIBS"
30746 cat >conftest.$ac_ext <<_ACEOF
30747 /* confdefs.h. */
30748 _ACEOF
30749 cat confdefs.h >>conftest.$ac_ext
30750 cat >>conftest.$ac_ext <<_ACEOF
30751 /* end confdefs.h. */
30752
30753 #include <gtk/gtk.h>
30754 #include <stdio.h>
30755
30756 int
30757 main ()
30758 {
30759 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30760 ;
30761 return 0;
30762 }
30763 _ACEOF
30764 rm -f conftest.$ac_objext conftest$ac_exeext
30765 if { (ac_try="$ac_link"
30766 case "(($ac_try" in
30767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30768 *) ac_try_echo=$ac_try;;
30769 esac
30770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30771 (eval "$ac_link") 2>conftest.er1
30772 ac_status=$?
30773 grep -v '^ *+' conftest.er1 >conftest.err
30774 rm -f conftest.er1
30775 cat conftest.err >&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } && {
30778 test -z "$ac_c_werror_flag" ||
30779 test ! -s conftest.err
30780 } && test -s conftest$ac_exeext &&
30781 $as_test_x conftest$ac_exeext; then
30782 echo "*** The test program compiled, but did not run. This usually means"
30783 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30784 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30785 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30786 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30787 echo "*** is required on your system"
30788 echo "***"
30789 echo "*** If you have an old version installed, it is best to remove it, although"
30790 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30791 else
30792 echo "$as_me: failed program was:" >&5
30793 sed 's/^/| /' conftest.$ac_ext >&5
30794
30795 echo "*** The test program failed to compile or link. See the file config.log for the"
30796 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30797 fi
30798
30799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30800 conftest$ac_exeext conftest.$ac_ext
30801 CFLAGS="$ac_save_CFLAGS"
30802 LIBS="$ac_save_LIBS"
30803 fi
30804 fi
30805 GTK_CFLAGS=""
30806 GTK_LIBS=""
30807 :
30808 fi
30809
30810
30811 rm -f conf.gtktest
30812
30813
30814 case "${host}" in
30815 *-*-solaris2* )
30816 if test "$wxUSE_SHARED" != "yes"; then
30817 GTK_LIBS="$GTK_LIBS -lX11"
30818 fi
30819 esac
30820 fi
30821
30822 if test -z "$wx_cv_lib_gtk"; then
30823 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30824
30825 # Check whether --with-gtk-prefix was given.
30826 if test "${with_gtk_prefix+set}" = set; then
30827 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30828 else
30829 gtk_config_prefix=""
30830 fi
30831
30832
30833 # Check whether --with-gtk-exec-prefix was given.
30834 if test "${with_gtk_exec_prefix+set}" = set; then
30835 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30836 else
30837 gtk_config_exec_prefix=""
30838 fi
30839
30840 # Check whether --enable-gtktest was given.
30841 if test "${enable_gtktest+set}" = set; then
30842 enableval=$enable_gtktest;
30843 else
30844 enable_gtktest=yes
30845 fi
30846
30847
30848 for module in . $GTK_MODULES
30849 do
30850 case "$module" in
30851 gthread)
30852 gtk_config_args="$gtk_config_args gthread"
30853 ;;
30854 esac
30855 done
30856
30857 if test x$gtk_config_exec_prefix != x ; then
30858 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30859 if test x${GTK_CONFIG+set} != xset ; then
30860 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30861 fi
30862 fi
30863 if test x$gtk_config_prefix != x ; then
30864 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30865 if test x${GTK_CONFIG+set} != xset ; then
30866 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30867 fi
30868 fi
30869
30870 # Extract the first word of "gtk-config", so it can be a program name with args.
30871 set dummy gtk-config; ac_word=$2
30872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30874 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30875 echo $ECHO_N "(cached) $ECHO_C" >&6
30876 else
30877 case $GTK_CONFIG in
30878 [\\/]* | ?:[\\/]*)
30879 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30880 ;;
30881 *)
30882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30883 for as_dir in $PATH
30884 do
30885 IFS=$as_save_IFS
30886 test -z "$as_dir" && as_dir=.
30887 for ac_exec_ext in '' $ac_executable_extensions; do
30888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30889 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30891 break 2
30892 fi
30893 done
30894 done
30895 IFS=$as_save_IFS
30896
30897 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30898 ;;
30899 esac
30900 fi
30901 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30902 if test -n "$GTK_CONFIG"; then
30903 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30904 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30905 else
30906 { echo "$as_me:$LINENO: result: no" >&5
30907 echo "${ECHO_T}no" >&6; }
30908 fi
30909
30910
30911 min_gtk_version=1.2.7
30912 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30913 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30914 no_gtk=""
30915 if test "$GTK_CONFIG" = "no" ; then
30916 no_gtk=yes
30917 else
30918 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30919 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30920 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30922 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30924 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30926 if test "x$enable_gtktest" = "xyes" ; then
30927 ac_save_CFLAGS="$CFLAGS"
30928 ac_save_LIBS="$LIBS"
30929 CFLAGS="$CFLAGS $GTK_CFLAGS"
30930 LIBS="$GTK_LIBS $LIBS"
30931 rm -f conf.gtktest
30932 if test "$cross_compiling" = yes; then
30933 echo $ac_n "cross compiling; assumed OK... $ac_c"
30934 else
30935 cat >conftest.$ac_ext <<_ACEOF
30936 /* confdefs.h. */
30937 _ACEOF
30938 cat confdefs.h >>conftest.$ac_ext
30939 cat >>conftest.$ac_ext <<_ACEOF
30940 /* end confdefs.h. */
30941
30942 #include <gtk/gtk.h>
30943 #include <stdio.h>
30944 #include <stdlib.h>
30945
30946 int
30947 main ()
30948 {
30949 int major, minor, micro;
30950 char *tmp_version;
30951
30952 system ("touch conf.gtktest");
30953
30954 /* HP/UX 9 (%@#!) writes to sscanf strings */
30955 tmp_version = g_strdup("$min_gtk_version");
30956 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30957 printf("%s, bad version string\n", "$min_gtk_version");
30958 exit(1);
30959 }
30960
30961 if ((gtk_major_version != $gtk_config_major_version) ||
30962 (gtk_minor_version != $gtk_config_minor_version) ||
30963 (gtk_micro_version != $gtk_config_micro_version))
30964 {
30965 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30966 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30967 gtk_major_version, gtk_minor_version, gtk_micro_version);
30968 printf ("*** was found! If gtk-config was correct, then it is best\n");
30969 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30970 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30971 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30972 printf("*** required on your system.\n");
30973 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30974 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30975 printf("*** before re-running configure\n");
30976 }
30977 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30978 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30979 (gtk_minor_version != GTK_MINOR_VERSION) ||
30980 (gtk_micro_version != GTK_MICRO_VERSION))
30981 {
30982 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30983 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30984 printf("*** library (version %d.%d.%d)\n",
30985 gtk_major_version, gtk_minor_version, gtk_micro_version);
30986 }
30987 #endif /* defined (GTK_MAJOR_VERSION) ... */
30988 else
30989 {
30990 if ((gtk_major_version > major) ||
30991 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30992 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30993 {
30994 return 0;
30995 }
30996 else
30997 {
30998 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30999 gtk_major_version, gtk_minor_version, gtk_micro_version);
31000 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31001 major, minor, micro);
31002 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31003 printf("***\n");
31004 printf("*** If you have already installed a sufficiently new version, this error\n");
31005 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31006 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31007 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31008 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31009 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31010 printf("*** so that the correct libraries are found at run-time))\n");
31011 }
31012 }
31013 return 1;
31014 }
31015
31016 _ACEOF
31017 rm -f conftest$ac_exeext
31018 if { (ac_try="$ac_link"
31019 case "(($ac_try" in
31020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31021 *) ac_try_echo=$ac_try;;
31022 esac
31023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31024 (eval "$ac_link") 2>&5
31025 ac_status=$?
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31028 { (case "(($ac_try" in
31029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31030 *) ac_try_echo=$ac_try;;
31031 esac
31032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31033 (eval "$ac_try") 2>&5
31034 ac_status=$?
31035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036 (exit $ac_status); }; }; then
31037 :
31038 else
31039 echo "$as_me: program exited with status $ac_status" >&5
31040 echo "$as_me: failed program was:" >&5
31041 sed 's/^/| /' conftest.$ac_ext >&5
31042
31043 ( exit $ac_status )
31044 no_gtk=yes
31045 fi
31046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31047 fi
31048
31049
31050 CFLAGS="$ac_save_CFLAGS"
31051 LIBS="$ac_save_LIBS"
31052 fi
31053 fi
31054 if test "x$no_gtk" = x ; then
31055 { echo "$as_me:$LINENO: result: yes" >&5
31056 echo "${ECHO_T}yes" >&6; }
31057 wx_cv_lib_gtk=1.2.7
31058 else
31059 { echo "$as_me:$LINENO: result: no" >&5
31060 echo "${ECHO_T}no" >&6; }
31061 if test "$GTK_CONFIG" = "no" ; then
31062 echo "*** The gtk-config script installed by GTK could not be found"
31063 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31064 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31065 echo "*** full path to gtk-config."
31066 else
31067 if test -f conf.gtktest ; then
31068 :
31069 else
31070 echo "*** Could not run GTK test program, checking why..."
31071 CFLAGS="$CFLAGS $GTK_CFLAGS"
31072 LIBS="$LIBS $GTK_LIBS"
31073 cat >conftest.$ac_ext <<_ACEOF
31074 /* confdefs.h. */
31075 _ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31079
31080 #include <gtk/gtk.h>
31081 #include <stdio.h>
31082
31083 int
31084 main ()
31085 {
31086 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31087 ;
31088 return 0;
31089 }
31090 _ACEOF
31091 rm -f conftest.$ac_objext conftest$ac_exeext
31092 if { (ac_try="$ac_link"
31093 case "(($ac_try" in
31094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31095 *) ac_try_echo=$ac_try;;
31096 esac
31097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31098 (eval "$ac_link") 2>conftest.er1
31099 ac_status=$?
31100 grep -v '^ *+' conftest.er1 >conftest.err
31101 rm -f conftest.er1
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } && {
31105 test -z "$ac_c_werror_flag" ||
31106 test ! -s conftest.err
31107 } && test -s conftest$ac_exeext &&
31108 $as_test_x conftest$ac_exeext; then
31109 echo "*** The test program compiled, but did not run. This usually means"
31110 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31111 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31112 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31113 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31114 echo "*** is required on your system"
31115 echo "***"
31116 echo "*** If you have an old version installed, it is best to remove it, although"
31117 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31118 echo "***"
31119 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31120 echo "*** came with the system with the command"
31121 echo "***"
31122 echo "*** rpm --erase --nodeps gtk gtk-devel"
31123 else
31124 echo "$as_me: failed program was:" >&5
31125 sed 's/^/| /' conftest.$ac_ext >&5
31126
31127 echo "*** The test program failed to compile or link. See the file config.log for the"
31128 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31129 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31130 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31131 fi
31132
31133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31134 conftest$ac_exeext conftest.$ac_ext
31135 CFLAGS="$ac_save_CFLAGS"
31136 LIBS="$ac_save_LIBS"
31137 fi
31138 fi
31139 GTK_CFLAGS=""
31140 GTK_LIBS=""
31141 :
31142 fi
31143
31144
31145 rm -f conf.gtktest
31146
31147
31148 if test -z "$wx_cv_lib_gtk"; then
31149
31150 # Check whether --with-gtk-prefix was given.
31151 if test "${with_gtk_prefix+set}" = set; then
31152 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31153 else
31154 gtk_config_prefix=""
31155 fi
31156
31157
31158 # Check whether --with-gtk-exec-prefix was given.
31159 if test "${with_gtk_exec_prefix+set}" = set; then
31160 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31161 else
31162 gtk_config_exec_prefix=""
31163 fi
31164
31165 # Check whether --enable-gtktest was given.
31166 if test "${enable_gtktest+set}" = set; then
31167 enableval=$enable_gtktest;
31168 else
31169 enable_gtktest=yes
31170 fi
31171
31172
31173 for module in . $GTK_MODULES
31174 do
31175 case "$module" in
31176 gthread)
31177 gtk_config_args="$gtk_config_args gthread"
31178 ;;
31179 esac
31180 done
31181
31182 if test x$gtk_config_exec_prefix != x ; then
31183 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31184 if test x${GTK_CONFIG+set} != xset ; then
31185 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31186 fi
31187 fi
31188 if test x$gtk_config_prefix != x ; then
31189 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31190 if test x${GTK_CONFIG+set} != xset ; then
31191 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31192 fi
31193 fi
31194
31195 # Extract the first word of "gtk-config", so it can be a program name with args.
31196 set dummy gtk-config; ac_word=$2
31197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31199 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31200 echo $ECHO_N "(cached) $ECHO_C" >&6
31201 else
31202 case $GTK_CONFIG in
31203 [\\/]* | ?:[\\/]*)
31204 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31205 ;;
31206 *)
31207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31208 for as_dir in $PATH
31209 do
31210 IFS=$as_save_IFS
31211 test -z "$as_dir" && as_dir=.
31212 for ac_exec_ext in '' $ac_executable_extensions; do
31213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31214 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31216 break 2
31217 fi
31218 done
31219 done
31220 IFS=$as_save_IFS
31221
31222 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31223 ;;
31224 esac
31225 fi
31226 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31227 if test -n "$GTK_CONFIG"; then
31228 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31229 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31230 else
31231 { echo "$as_me:$LINENO: result: no" >&5
31232 echo "${ECHO_T}no" >&6; }
31233 fi
31234
31235
31236 min_gtk_version=1.2.3
31237 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31238 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31239 no_gtk=""
31240 if test "$GTK_CONFIG" = "no" ; then
31241 no_gtk=yes
31242 else
31243 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31244 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31245 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31247 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31249 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31251 if test "x$enable_gtktest" = "xyes" ; then
31252 ac_save_CFLAGS="$CFLAGS"
31253 ac_save_LIBS="$LIBS"
31254 CFLAGS="$CFLAGS $GTK_CFLAGS"
31255 LIBS="$GTK_LIBS $LIBS"
31256 rm -f conf.gtktest
31257 if test "$cross_compiling" = yes; then
31258 echo $ac_n "cross compiling; assumed OK... $ac_c"
31259 else
31260 cat >conftest.$ac_ext <<_ACEOF
31261 /* confdefs.h. */
31262 _ACEOF
31263 cat confdefs.h >>conftest.$ac_ext
31264 cat >>conftest.$ac_ext <<_ACEOF
31265 /* end confdefs.h. */
31266
31267 #include <gtk/gtk.h>
31268 #include <stdio.h>
31269 #include <stdlib.h>
31270
31271 int
31272 main ()
31273 {
31274 int major, minor, micro;
31275 char *tmp_version;
31276
31277 system ("touch conf.gtktest");
31278
31279 /* HP/UX 9 (%@#!) writes to sscanf strings */
31280 tmp_version = g_strdup("$min_gtk_version");
31281 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31282 printf("%s, bad version string\n", "$min_gtk_version");
31283 exit(1);
31284 }
31285
31286 if ((gtk_major_version != $gtk_config_major_version) ||
31287 (gtk_minor_version != $gtk_config_minor_version) ||
31288 (gtk_micro_version != $gtk_config_micro_version))
31289 {
31290 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31291 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31292 gtk_major_version, gtk_minor_version, gtk_micro_version);
31293 printf ("*** was found! If gtk-config was correct, then it is best\n");
31294 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31295 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31296 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31297 printf("*** required on your system.\n");
31298 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31299 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31300 printf("*** before re-running configure\n");
31301 }
31302 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31303 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31304 (gtk_minor_version != GTK_MINOR_VERSION) ||
31305 (gtk_micro_version != GTK_MICRO_VERSION))
31306 {
31307 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31308 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31309 printf("*** library (version %d.%d.%d)\n",
31310 gtk_major_version, gtk_minor_version, gtk_micro_version);
31311 }
31312 #endif /* defined (GTK_MAJOR_VERSION) ... */
31313 else
31314 {
31315 if ((gtk_major_version > major) ||
31316 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31317 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31318 {
31319 return 0;
31320 }
31321 else
31322 {
31323 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31324 gtk_major_version, gtk_minor_version, gtk_micro_version);
31325 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31326 major, minor, micro);
31327 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31328 printf("***\n");
31329 printf("*** If you have already installed a sufficiently new version, this error\n");
31330 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31331 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31332 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31333 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31334 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31335 printf("*** so that the correct libraries are found at run-time))\n");
31336 }
31337 }
31338 return 1;
31339 }
31340
31341 _ACEOF
31342 rm -f conftest$ac_exeext
31343 if { (ac_try="$ac_link"
31344 case "(($ac_try" in
31345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31346 *) ac_try_echo=$ac_try;;
31347 esac
31348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31349 (eval "$ac_link") 2>&5
31350 ac_status=$?
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31353 { (case "(($ac_try" in
31354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31355 *) ac_try_echo=$ac_try;;
31356 esac
31357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31358 (eval "$ac_try") 2>&5
31359 ac_status=$?
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; }; then
31362 :
31363 else
31364 echo "$as_me: program exited with status $ac_status" >&5
31365 echo "$as_me: failed program was:" >&5
31366 sed 's/^/| /' conftest.$ac_ext >&5
31367
31368 ( exit $ac_status )
31369 no_gtk=yes
31370 fi
31371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31372 fi
31373
31374
31375 CFLAGS="$ac_save_CFLAGS"
31376 LIBS="$ac_save_LIBS"
31377 fi
31378 fi
31379 if test "x$no_gtk" = x ; then
31380 { echo "$as_me:$LINENO: result: yes" >&5
31381 echo "${ECHO_T}yes" >&6; }
31382 wx_cv_lib_gtk=1.2.3
31383 else
31384 { echo "$as_me:$LINENO: result: no" >&5
31385 echo "${ECHO_T}no" >&6; }
31386 if test "$GTK_CONFIG" = "no" ; then
31387 echo "*** The gtk-config script installed by GTK could not be found"
31388 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31389 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31390 echo "*** full path to gtk-config."
31391 else
31392 if test -f conf.gtktest ; then
31393 :
31394 else
31395 echo "*** Could not run GTK test program, checking why..."
31396 CFLAGS="$CFLAGS $GTK_CFLAGS"
31397 LIBS="$LIBS $GTK_LIBS"
31398 cat >conftest.$ac_ext <<_ACEOF
31399 /* confdefs.h. */
31400 _ACEOF
31401 cat confdefs.h >>conftest.$ac_ext
31402 cat >>conftest.$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31404
31405 #include <gtk/gtk.h>
31406 #include <stdio.h>
31407
31408 int
31409 main ()
31410 {
31411 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31412 ;
31413 return 0;
31414 }
31415 _ACEOF
31416 rm -f conftest.$ac_objext conftest$ac_exeext
31417 if { (ac_try="$ac_link"
31418 case "(($ac_try" in
31419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31420 *) ac_try_echo=$ac_try;;
31421 esac
31422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31423 (eval "$ac_link") 2>conftest.er1
31424 ac_status=$?
31425 grep -v '^ *+' conftest.er1 >conftest.err
31426 rm -f conftest.er1
31427 cat conftest.err >&5
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); } && {
31430 test -z "$ac_c_werror_flag" ||
31431 test ! -s conftest.err
31432 } && test -s conftest$ac_exeext &&
31433 $as_test_x conftest$ac_exeext; then
31434 echo "*** The test program compiled, but did not run. This usually means"
31435 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31436 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31437 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31438 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31439 echo "*** is required on your system"
31440 echo "***"
31441 echo "*** If you have an old version installed, it is best to remove it, although"
31442 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31443 echo "***"
31444 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31445 echo "*** came with the system with the command"
31446 echo "***"
31447 echo "*** rpm --erase --nodeps gtk gtk-devel"
31448 else
31449 echo "$as_me: failed program was:" >&5
31450 sed 's/^/| /' conftest.$ac_ext >&5
31451
31452 echo "*** The test program failed to compile or link. See the file config.log for the"
31453 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31454 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31455 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31456 fi
31457
31458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31459 conftest$ac_exeext conftest.$ac_ext
31460 CFLAGS="$ac_save_CFLAGS"
31461 LIBS="$ac_save_LIBS"
31462 fi
31463 fi
31464 GTK_CFLAGS=""
31465 GTK_LIBS=""
31466 :
31467 fi
31468
31469
31470 rm -f conf.gtktest
31471
31472 fi
31473 fi
31474 fi
31475
31476 if test -z "$wx_cv_lib_gtk"; then
31477 wx_cv_lib_gtk=none
31478 else
31479 wx_cv_cflags_gtk=$GTK_CFLAGS
31480 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31481 fi
31482
31483
31484 fi
31485
31486
31487 if test "$gtk_version_cached" = 1; then
31488 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31489 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31490 fi
31491
31492 case "$wx_cv_lib_gtk" in
31493 2.0) WXGTK20=1
31494 TOOLKIT_VERSION=2
31495 ;;
31496 1.2.7) WXGTK127=1
31497 WXGTK12=1
31498 ;;
31499 1.2.3) WXGTK12=1
31500 ;;
31501 *) { { echo "$as_me:$LINENO: error:
31502 The development files for GTK+ were not found. For GTK+ 2, please
31503 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31504 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31505 and that the version is 1.2.3 or above. Also check that the
31506 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31507 --libs' are in the LD_LIBRARY_PATH or equivalent.
31508 " >&5
31509 echo "$as_me: error:
31510 The development files for GTK+ were not found. For GTK+ 2, please
31511 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31512 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31513 and that the version is 1.2.3 or above. Also check that the
31514 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31515 --libs' are in the LD_LIBRARY_PATH or equivalent.
31516 " >&2;}
31517 { (exit 1); exit 1; }; }
31518 ;;
31519 esac
31520
31521 if test "$WXGTK20" = 1; then
31522 save_CFLAGS="$CFLAGS"
31523 save_LIBS="$LIBS"
31524 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31525 LIBS="$LIBS $wx_cv_libs_gtk"
31526
31527 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31528 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31529 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31530 echo $ECHO_N "(cached) $ECHO_C" >&6
31531 else
31532 cat >conftest.$ac_ext <<_ACEOF
31533 /* confdefs.h. */
31534 _ACEOF
31535 cat confdefs.h >>conftest.$ac_ext
31536 cat >>conftest.$ac_ext <<_ACEOF
31537 /* end confdefs.h. */
31538 #include <gtk/gtk.h>
31539
31540 int
31541 main ()
31542 {
31543 #ifndef gtk_icon_size_lookup
31544 (void) gtk_icon_size_lookup;
31545 #endif
31546
31547 ;
31548 return 0;
31549 }
31550 _ACEOF
31551 rm -f conftest.$ac_objext
31552 if { (ac_try="$ac_compile"
31553 case "(($ac_try" in
31554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31555 *) ac_try_echo=$ac_try;;
31556 esac
31557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31558 (eval "$ac_compile") 2>conftest.er1
31559 ac_status=$?
31560 grep -v '^ *+' conftest.er1 >conftest.err
31561 rm -f conftest.er1
31562 cat conftest.err >&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); } && {
31565 test -z "$ac_c_werror_flag" ||
31566 test ! -s conftest.err
31567 } && test -s conftest.$ac_objext; then
31568 ac_cv_have_decl_gtk_icon_size_lookup=yes
31569 else
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.$ac_ext >&5
31572
31573 ac_cv_have_decl_gtk_icon_size_lookup=no
31574 fi
31575
31576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31577 fi
31578 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31579 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31580 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31581
31582 cat >>confdefs.h <<_ACEOF
31583 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31584 _ACEOF
31585
31586
31587 else
31588 cat >>confdefs.h <<_ACEOF
31589 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31590 _ACEOF
31591
31592 cat >>confdefs.h <<\_ACEOF
31593 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31594 _ACEOF
31595
31596 fi
31597
31598
31599
31600
31601 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31602 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31603 cat >conftest.$ac_ext <<_ACEOF
31604 /* confdefs.h. */
31605 _ACEOF
31606 cat confdefs.h >>conftest.$ac_ext
31607 cat >>conftest.$ac_ext <<_ACEOF
31608 /* end confdefs.h. */
31609
31610 #include <gtk/gtk.h>
31611
31612 int
31613 main ()
31614 {
31615
31616 #if !GTK_CHECK_VERSION(2,10,0)
31617 Not GTK+ 2.10
31618 #endif
31619
31620 ;
31621 return 0;
31622 }
31623 _ACEOF
31624 rm -f conftest.$ac_objext
31625 if { (ac_try="$ac_compile"
31626 case "(($ac_try" in
31627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31628 *) ac_try_echo=$ac_try;;
31629 esac
31630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31631 (eval "$ac_compile") 2>conftest.er1
31632 ac_status=$?
31633 grep -v '^ *+' conftest.er1 >conftest.err
31634 rm -f conftest.er1
31635 cat conftest.err >&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); } && {
31638 test -z "$ac_c_werror_flag" ||
31639 test ! -s conftest.err
31640 } && test -s conftest.$ac_objext; then
31641
31642 cat >>confdefs.h <<\_ACEOF
31643 #define __WXGTK210__ 1
31644 _ACEOF
31645
31646 cat >>confdefs.h <<\_ACEOF
31647 #define __WXGTK26__ 1
31648 _ACEOF
31649
31650 cat >>confdefs.h <<\_ACEOF
31651 #define __WXGTK24__ 1
31652 _ACEOF
31653
31654 { echo "$as_me:$LINENO: result: yes" >&5
31655 echo "${ECHO_T}yes" >&6; }
31656 ac_wxgtk210=1
31657
31658 else
31659 echo "$as_me: failed program was:" >&5
31660 sed 's/^/| /' conftest.$ac_ext >&5
31661
31662
31663 { echo "$as_me:$LINENO: result: no" >&5
31664 echo "${ECHO_T}no" >&6; }
31665 ac_wxgtk210=0
31666
31667 fi
31668
31669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31670
31671 if test "$ac_wxgtk210" = 0; then
31672 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31673 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31674 cat >conftest.$ac_ext <<_ACEOF
31675 /* confdefs.h. */
31676 _ACEOF
31677 cat confdefs.h >>conftest.$ac_ext
31678 cat >>conftest.$ac_ext <<_ACEOF
31679 /* end confdefs.h. */
31680
31681 #include <gtk/gtk.h>
31682
31683 int
31684 main ()
31685 {
31686
31687 #if !GTK_CHECK_VERSION(2,6,0)
31688 Not GTK+ 2.6
31689 #endif
31690
31691 ;
31692 return 0;
31693 }
31694 _ACEOF
31695 rm -f conftest.$ac_objext
31696 if { (ac_try="$ac_compile"
31697 case "(($ac_try" in
31698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31699 *) ac_try_echo=$ac_try;;
31700 esac
31701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31702 (eval "$ac_compile") 2>conftest.er1
31703 ac_status=$?
31704 grep -v '^ *+' conftest.er1 >conftest.err
31705 rm -f conftest.er1
31706 cat conftest.err >&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } && {
31709 test -z "$ac_c_werror_flag" ||
31710 test ! -s conftest.err
31711 } && test -s conftest.$ac_objext; then
31712
31713 cat >>confdefs.h <<\_ACEOF
31714 #define __WXGTK26__ 1
31715 _ACEOF
31716
31717 cat >>confdefs.h <<\_ACEOF
31718 #define __WXGTK24__ 1
31719 _ACEOF
31720
31721 { echo "$as_me:$LINENO: result: yes" >&5
31722 echo "${ECHO_T}yes" >&6; }
31723 ac_wxgtk26=1
31724
31725 else
31726 echo "$as_me: failed program was:" >&5
31727 sed 's/^/| /' conftest.$ac_ext >&5
31728
31729
31730 { echo "$as_me:$LINENO: result: no" >&5
31731 echo "${ECHO_T}no" >&6; }
31732 ac_wxgtk26=0
31733
31734 fi
31735
31736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31737 fi
31738
31739 if test "$ac_wxgtk26" = 0; then
31740 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31741 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31742 cat >conftest.$ac_ext <<_ACEOF
31743 /* confdefs.h. */
31744 _ACEOF
31745 cat confdefs.h >>conftest.$ac_ext
31746 cat >>conftest.$ac_ext <<_ACEOF
31747 /* end confdefs.h. */
31748
31749 #include <gtk/gtk.h>
31750
31751 int
31752 main ()
31753 {
31754
31755 #if !GTK_CHECK_VERSION(2,4,0)
31756 Not GTK+ 2.4
31757 #endif
31758
31759 ;
31760 return 0;
31761 }
31762 _ACEOF
31763 rm -f conftest.$ac_objext
31764 if { (ac_try="$ac_compile"
31765 case "(($ac_try" in
31766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31767 *) ac_try_echo=$ac_try;;
31768 esac
31769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31770 (eval "$ac_compile") 2>conftest.er1
31771 ac_status=$?
31772 grep -v '^ *+' conftest.er1 >conftest.err
31773 rm -f conftest.er1
31774 cat conftest.err >&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } && {
31777 test -z "$ac_c_werror_flag" ||
31778 test ! -s conftest.err
31779 } && test -s conftest.$ac_objext; then
31780
31781 cat >>confdefs.h <<\_ACEOF
31782 #define __WXGTK24__ 1
31783 _ACEOF
31784
31785 { echo "$as_me:$LINENO: result: yes" >&5
31786 echo "${ECHO_T}yes" >&6; }
31787
31788 else
31789 echo "$as_me: failed program was:" >&5
31790 sed 's/^/| /' conftest.$ac_ext >&5
31791
31792
31793 { echo "$as_me:$LINENO: result: no" >&5
31794 echo "${ECHO_T}no" >&6; }
31795
31796 fi
31797
31798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31799 fi
31800
31801 CFLAGS="$save_CFLAGS"
31802 LIBS="$save_LIBS"
31803 else
31804 if test "$wxUSE_UNICODE" = "yes"; then
31805 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31806 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31807 wxUSE_UNICODE=no
31808 fi
31809
31810 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31811 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31812 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31813 echo $ECHO_N "(cached) $ECHO_C" >&6
31814 else
31815 ac_check_lib_save_LIBS=$LIBS
31816 LIBS="-lgdk $LIBS"
31817 cat >conftest.$ac_ext <<_ACEOF
31818 /* confdefs.h. */
31819 _ACEOF
31820 cat confdefs.h >>conftest.$ac_ext
31821 cat >>conftest.$ac_ext <<_ACEOF
31822 /* end confdefs.h. */
31823
31824 /* Override any GCC internal prototype to avoid an error.
31825 Use char because int might match the return type of a GCC
31826 builtin and then its argument prototype would still apply. */
31827 #ifdef __cplusplus
31828 extern "C"
31829 #endif
31830 char gdk_im_open ();
31831 int
31832 main ()
31833 {
31834 return gdk_im_open ();
31835 ;
31836 return 0;
31837 }
31838 _ACEOF
31839 rm -f conftest.$ac_objext conftest$ac_exeext
31840 if { (ac_try="$ac_link"
31841 case "(($ac_try" in
31842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31843 *) ac_try_echo=$ac_try;;
31844 esac
31845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31846 (eval "$ac_link") 2>conftest.er1
31847 ac_status=$?
31848 grep -v '^ *+' conftest.er1 >conftest.err
31849 rm -f conftest.er1
31850 cat conftest.err >&5
31851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31852 (exit $ac_status); } && {
31853 test -z "$ac_c_werror_flag" ||
31854 test ! -s conftest.err
31855 } && test -s conftest$ac_exeext &&
31856 $as_test_x conftest$ac_exeext; then
31857 ac_cv_lib_gdk_gdk_im_open=yes
31858 else
31859 echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31861
31862 ac_cv_lib_gdk_gdk_im_open=no
31863 fi
31864
31865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31866 conftest$ac_exeext conftest.$ac_ext
31867 LIBS=$ac_check_lib_save_LIBS
31868 fi
31869 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31870 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31871 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31872 cat >>confdefs.h <<\_ACEOF
31873 #define HAVE_XIM 1
31874 _ACEOF
31875
31876 fi
31877
31878
31879 if test "$USE_DARWIN" != 1; then
31880
31881 for ac_func in poll
31882 do
31883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31884 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31886 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31887 echo $ECHO_N "(cached) $ECHO_C" >&6
31888 else
31889 cat >conftest.$ac_ext <<_ACEOF
31890 /* confdefs.h. */
31891 _ACEOF
31892 cat confdefs.h >>conftest.$ac_ext
31893 cat >>conftest.$ac_ext <<_ACEOF
31894 /* end confdefs.h. */
31895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31897 #define $ac_func innocuous_$ac_func
31898
31899 /* System header to define __stub macros and hopefully few prototypes,
31900 which can conflict with char $ac_func (); below.
31901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31902 <limits.h> exists even on freestanding compilers. */
31903
31904 #ifdef __STDC__
31905 # include <limits.h>
31906 #else
31907 # include <assert.h>
31908 #endif
31909
31910 #undef $ac_func
31911
31912 /* Override any GCC internal prototype to avoid an error.
31913 Use char because int might match the return type of a GCC
31914 builtin and then its argument prototype would still apply. */
31915 #ifdef __cplusplus
31916 extern "C"
31917 #endif
31918 char $ac_func ();
31919 /* The GNU C library defines this for functions which it implements
31920 to always fail with ENOSYS. Some functions are actually named
31921 something starting with __ and the normal name is an alias. */
31922 #if defined __stub_$ac_func || defined __stub___$ac_func
31923 choke me
31924 #endif
31925
31926 int
31927 main ()
31928 {
31929 return $ac_func ();
31930 ;
31931 return 0;
31932 }
31933 _ACEOF
31934 rm -f conftest.$ac_objext conftest$ac_exeext
31935 if { (ac_try="$ac_link"
31936 case "(($ac_try" in
31937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31938 *) ac_try_echo=$ac_try;;
31939 esac
31940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31941 (eval "$ac_link") 2>conftest.er1
31942 ac_status=$?
31943 grep -v '^ *+' conftest.er1 >conftest.err
31944 rm -f conftest.er1
31945 cat conftest.err >&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); } && {
31948 test -z "$ac_c_werror_flag" ||
31949 test ! -s conftest.err
31950 } && test -s conftest$ac_exeext &&
31951 $as_test_x conftest$ac_exeext; then
31952 eval "$as_ac_var=yes"
31953 else
31954 echo "$as_me: failed program was:" >&5
31955 sed 's/^/| /' conftest.$ac_ext >&5
31956
31957 eval "$as_ac_var=no"
31958 fi
31959
31960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31961 conftest$ac_exeext conftest.$ac_ext
31962 fi
31963 ac_res=`eval echo '${'$as_ac_var'}'`
31964 { echo "$as_me:$LINENO: result: $ac_res" >&5
31965 echo "${ECHO_T}$ac_res" >&6; }
31966 if test `eval echo '${'$as_ac_var'}'` = yes; then
31967 cat >>confdefs.h <<_ACEOF
31968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31969 _ACEOF
31970
31971 fi
31972 done
31973
31974 fi
31975 fi
31976
31977 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31978 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31979
31980 AFMINSTALL=afminstall
31981 TOOLKIT=GTK
31982 GUIDIST=GTK_DIST
31983
31984 if test "$wxUSE_GPE" = "yes"; then
31985 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31986 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31987
31988 ac_find_libraries=
31989 for ac_dir in $SEARCH_LIB;
31990 do
31991 for ac_extension in a so sl dylib dll.a; do
31992 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31993 ac_find_libraries=$ac_dir
31994 break 2
31995 fi
31996 done
31997 done
31998
31999 if test "$ac_find_libraries" != "" ; then
32000
32001 if test "$ac_find_libraries" = "default location"; then
32002 ac_path_to_link=""
32003 else
32004 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32005 result=$?
32006 if test $result = 0; then
32007 ac_path_to_link=""
32008 else
32009 ac_path_to_link=" -L$ac_find_libraries"
32010 fi
32011 fi
32012
32013 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32014 WXGPE=1
32015 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32016 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32017 else
32018 { echo "$as_me:$LINENO: result: not found" >&5
32019 echo "${ECHO_T}not found" >&6; }
32020 fi
32021
32022 fi
32023 fi
32024
32025 if test "$wxUSE_MGL" = 1; then
32026 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32027 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32028 if test "x$MGL_ROOT" = x ; then
32029 { echo "$as_me:$LINENO: result: not found" >&5
32030 echo "${ECHO_T}not found" >&6; }
32031 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32032 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32033 { (exit 1); exit 1; }; }
32034 else
32035 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32036 echo "${ECHO_T}$MGL_ROOT" >&6; }
32037 fi
32038
32039 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32040 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32041 case "${host}" in
32042 *-*-linux* )
32043 if test "x$wxUSE_SHARED" = xyes ; then
32044 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32045 else
32046 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32047 fi
32048 ;;
32049 *-pc-msdosdjgpp )
32050 mgl_os_candidates="dos32/dj2"
32051 ;;
32052 *)
32053 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32054 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32055 { (exit 1); exit 1; }; }
32056 esac
32057
32058 mgl_lib_type=""
32059 mgl_os=""
32060
32061 for mgl_os_i in $mgl_os_candidates ; do
32062 if test "x$mgl_os" = x ; then
32063 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32064 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32065 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32066 mgl_lib_type=debug
32067 mgl_os=$mgl_os_i
32068 fi
32069 fi
32070 if test "x$mgl_lib_type" = x ; then
32071 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32072 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32073 mgl_lib_type=release
32074 mgl_os=$mgl_os_i
32075 fi
32076 fi
32077 fi
32078 done
32079
32080 if test "x$mgl_os" = x ; then
32081 { echo "$as_me:$LINENO: result: not found" >&5
32082 echo "${ECHO_T}not found" >&6; }
32083 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32084 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32085 { (exit 1); exit 1; }; }
32086 fi
32087 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32088 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32089
32090 wxUSE_UNIVERSAL="yes"
32091
32092 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32093 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32094
32095 AFMINSTALL=afminstall
32096 TOOLKIT=MGL
32097 GUIDIST=MGL_DIST
32098 fi
32099
32100 if test "$wxUSE_DFB" = 1; then
32101
32102
32103 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32104 if test -n "$ac_tool_prefix"; then
32105 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32106 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32109 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32110 echo $ECHO_N "(cached) $ECHO_C" >&6
32111 else
32112 case $PKG_CONFIG in
32113 [\\/]* | ?:[\\/]*)
32114 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32115 ;;
32116 *)
32117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32118 for as_dir in $PATH
32119 do
32120 IFS=$as_save_IFS
32121 test -z "$as_dir" && as_dir=.
32122 for ac_exec_ext in '' $ac_executable_extensions; do
32123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32124 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32126 break 2
32127 fi
32128 done
32129 done
32130 IFS=$as_save_IFS
32131
32132 ;;
32133 esac
32134 fi
32135 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32136 if test -n "$PKG_CONFIG"; then
32137 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32138 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32139 else
32140 { echo "$as_me:$LINENO: result: no" >&5
32141 echo "${ECHO_T}no" >&6; }
32142 fi
32143
32144
32145 fi
32146 if test -z "$ac_cv_path_PKG_CONFIG"; then
32147 ac_pt_PKG_CONFIG=$PKG_CONFIG
32148 # Extract the first word of "pkg-config", so it can be a program name with args.
32149 set dummy pkg-config; ac_word=$2
32150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32152 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32153 echo $ECHO_N "(cached) $ECHO_C" >&6
32154 else
32155 case $ac_pt_PKG_CONFIG in
32156 [\\/]* | ?:[\\/]*)
32157 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32158 ;;
32159 *)
32160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32161 for as_dir in $PATH
32162 do
32163 IFS=$as_save_IFS
32164 test -z "$as_dir" && as_dir=.
32165 for ac_exec_ext in '' $ac_executable_extensions; do
32166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32167 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32169 break 2
32170 fi
32171 done
32172 done
32173 IFS=$as_save_IFS
32174
32175 ;;
32176 esac
32177 fi
32178 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32179 if test -n "$ac_pt_PKG_CONFIG"; then
32180 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32181 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32182 else
32183 { echo "$as_me:$LINENO: result: no" >&5
32184 echo "${ECHO_T}no" >&6; }
32185 fi
32186
32187 if test "x$ac_pt_PKG_CONFIG" = x; then
32188 PKG_CONFIG=""
32189 else
32190 case $cross_compiling:$ac_tool_warned in
32191 yes:)
32192 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32193 whose name does not start with the host triplet. If you think this
32194 configuration is useful to you, please write to autoconf@gnu.org." >&5
32195 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32196 whose name does not start with the host triplet. If you think this
32197 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32198 ac_tool_warned=yes ;;
32199 esac
32200 PKG_CONFIG=$ac_pt_PKG_CONFIG
32201 fi
32202 else
32203 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32204 fi
32205
32206 fi
32207 if test -n "$PKG_CONFIG"; then
32208 _pkg_min_version=0.9.0
32209 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32210 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32211 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32212 { echo "$as_me:$LINENO: result: yes" >&5
32213 echo "${ECHO_T}yes" >&6; }
32214 else
32215 { echo "$as_me:$LINENO: result: no" >&5
32216 echo "${ECHO_T}no" >&6; }
32217 PKG_CONFIG=""
32218 fi
32219
32220 fi
32221
32222
32223 pkg_failed=no
32224 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32225 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32226
32227 if test -n "$PKG_CONFIG"; then
32228 if test -n "$DIRECTFB_CFLAGS"; then
32229 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32230 else
32231 if test -n "$PKG_CONFIG" && \
32232 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32233 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32234 ac_status=$?
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); }; then
32237 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32238 else
32239 pkg_failed=yes
32240 fi
32241 fi
32242 else
32243 pkg_failed=untried
32244 fi
32245 if test -n "$PKG_CONFIG"; then
32246 if test -n "$DIRECTFB_LIBS"; then
32247 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32248 else
32249 if test -n "$PKG_CONFIG" && \
32250 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32251 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32252 ac_status=$?
32253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254 (exit $ac_status); }; then
32255 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32256 else
32257 pkg_failed=yes
32258 fi
32259 fi
32260 else
32261 pkg_failed=untried
32262 fi
32263
32264
32265
32266 if test $pkg_failed = yes; then
32267
32268 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32269 _pkg_short_errors_supported=yes
32270 else
32271 _pkg_short_errors_supported=no
32272 fi
32273 if test $_pkg_short_errors_supported = yes; then
32274 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32275 else
32276 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32277 fi
32278 # Put the nasty error message in config.log where it belongs
32279 echo "$DIRECTFB_PKG_ERRORS" >&5
32280
32281
32282 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32283 echo "$as_me: error: DirectFB not found." >&2;}
32284 { (exit 1); exit 1; }; }
32285
32286
32287 elif test $pkg_failed = untried; then
32288
32289 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32290 echo "$as_me: error: DirectFB not found." >&2;}
32291 { (exit 1); exit 1; }; }
32292
32293
32294 else
32295 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32296 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32297 { echo "$as_me:$LINENO: result: yes" >&5
32298 echo "${ECHO_T}yes" >&6; }
32299
32300 wxUSE_UNIVERSAL="yes"
32301 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32302 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32303 TOOLKIT=DFB
32304 GUIDIST=DFB_DIST
32305
32306 fi
32307 fi
32308
32309 if test "$wxUSE_MICROWIN" = 1; then
32310 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32311 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32312 if test "x$MICROWINDOWS" = x ; then
32313 { echo "$as_me:$LINENO: result: not found" >&5
32314 echo "${ECHO_T}not found" >&6; }
32315 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32316 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32317 { (exit 1); exit 1; }; }
32318 else
32319 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32320 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32321 fi
32322
32323 if test -f $MICROWINDOWS/lib/libmwin.a; then
32324 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32325 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32326 else
32327 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32328 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32329 { (exit 1); exit 1; }; }
32330 fi
32331
32332 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32333 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32334
32335 wxUSE_UNIVERSAL="yes"
32336
32337 AFMINSTALL=afminstall
32338 TOOLKIT=MICROWIN
32339 GUIDIST=MICROWIN_DIST
32340
32341 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32342 fi
32343
32344 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32345 { echo "$as_me:$LINENO: checking for X" >&5
32346 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32347
32348
32349 # Check whether --with-x was given.
32350 if test "${with_x+set}" = set; then
32351 withval=$with_x;
32352 fi
32353
32354 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32355 if test "x$with_x" = xno; then
32356 # The user explicitly disabled X.
32357 have_x=disabled
32358 else
32359 case $x_includes,$x_libraries in #(
32360 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32361 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32362 { (exit 1); exit 1; }; };; #(
32363 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32364 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 else
32366 # One or both of the vars are not set, and there is no cached value.
32367 ac_x_includes=no ac_x_libraries=no
32368 rm -f -r conftest.dir
32369 if mkdir conftest.dir; then
32370 cd conftest.dir
32371 cat >Imakefile <<'_ACEOF'
32372 incroot:
32373 @echo incroot='${INCROOT}'
32374 usrlibdir:
32375 @echo usrlibdir='${USRLIBDIR}'
32376 libdir:
32377 @echo libdir='${LIBDIR}'
32378 _ACEOF
32379 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32380 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32381 for ac_var in incroot usrlibdir libdir; do
32382 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32383 done
32384 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32385 for ac_extension in a so sl; do
32386 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32387 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32388 ac_im_usrlibdir=$ac_im_libdir; break
32389 fi
32390 done
32391 # Screen out bogus values from the imake configuration. They are
32392 # bogus both because they are the default anyway, and because
32393 # using them would break gcc on systems where it needs fixed includes.
32394 case $ac_im_incroot in
32395 /usr/include) ac_x_includes= ;;
32396 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32397 esac
32398 case $ac_im_usrlibdir in
32399 /usr/lib | /lib) ;;
32400 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32401 esac
32402 fi
32403 cd ..
32404 rm -f -r conftest.dir
32405 fi
32406
32407 # Standard set of common directories for X headers.
32408 # Check X11 before X11Rn because it is often a symlink to the current release.
32409 ac_x_header_dirs='
32410 /usr/X11/include
32411 /usr/X11R6/include
32412 /usr/X11R5/include
32413 /usr/X11R4/include
32414
32415 /usr/include/X11
32416 /usr/include/X11R6
32417 /usr/include/X11R5
32418 /usr/include/X11R4
32419
32420 /usr/local/X11/include
32421 /usr/local/X11R6/include
32422 /usr/local/X11R5/include
32423 /usr/local/X11R4/include
32424
32425 /usr/local/include/X11
32426 /usr/local/include/X11R6
32427 /usr/local/include/X11R5
32428 /usr/local/include/X11R4
32429
32430 /usr/X386/include
32431 /usr/x386/include
32432 /usr/XFree86/include/X11
32433
32434 /usr/include
32435 /usr/local/include
32436 /usr/unsupported/include
32437 /usr/athena/include
32438 /usr/local/x11r5/include
32439 /usr/lpp/Xamples/include
32440
32441 /usr/openwin/include
32442 /usr/openwin/share/include'
32443
32444 if test "$ac_x_includes" = no; then
32445 # Guess where to find include files, by looking for Xlib.h.
32446 # First, try using that file with no special directory specified.
32447 cat >conftest.$ac_ext <<_ACEOF
32448 /* confdefs.h. */
32449 _ACEOF
32450 cat confdefs.h >>conftest.$ac_ext
32451 cat >>conftest.$ac_ext <<_ACEOF
32452 /* end confdefs.h. */
32453 #include <X11/Xlib.h>
32454 _ACEOF
32455 if { (ac_try="$ac_cpp conftest.$ac_ext"
32456 case "(($ac_try" in
32457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32458 *) ac_try_echo=$ac_try;;
32459 esac
32460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32462 ac_status=$?
32463 grep -v '^ *+' conftest.er1 >conftest.err
32464 rm -f conftest.er1
32465 cat conftest.err >&5
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); } >/dev/null && {
32468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32469 test ! -s conftest.err
32470 }; then
32471 # We can compile using X headers with no special include directory.
32472 ac_x_includes=
32473 else
32474 echo "$as_me: failed program was:" >&5
32475 sed 's/^/| /' conftest.$ac_ext >&5
32476
32477 for ac_dir in $ac_x_header_dirs; do
32478 if test -r "$ac_dir/X11/Xlib.h"; then
32479 ac_x_includes=$ac_dir
32480 break
32481 fi
32482 done
32483 fi
32484
32485 rm -f conftest.err conftest.$ac_ext
32486 fi # $ac_x_includes = no
32487
32488 if test "$ac_x_libraries" = no; then
32489 # Check for the libraries.
32490 # See if we find them without any special options.
32491 # Don't add to $LIBS permanently.
32492 ac_save_LIBS=$LIBS
32493 LIBS="-lX11 $LIBS"
32494 cat >conftest.$ac_ext <<_ACEOF
32495 /* confdefs.h. */
32496 _ACEOF
32497 cat confdefs.h >>conftest.$ac_ext
32498 cat >>conftest.$ac_ext <<_ACEOF
32499 /* end confdefs.h. */
32500 #include <X11/Xlib.h>
32501 int
32502 main ()
32503 {
32504 XrmInitialize ()
32505 ;
32506 return 0;
32507 }
32508 _ACEOF
32509 rm -f conftest.$ac_objext conftest$ac_exeext
32510 if { (ac_try="$ac_link"
32511 case "(($ac_try" in
32512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32513 *) ac_try_echo=$ac_try;;
32514 esac
32515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32516 (eval "$ac_link") 2>conftest.er1
32517 ac_status=$?
32518 grep -v '^ *+' conftest.er1 >conftest.err
32519 rm -f conftest.er1
32520 cat conftest.err >&5
32521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32522 (exit $ac_status); } && {
32523 test -z "$ac_c_werror_flag" ||
32524 test ! -s conftest.err
32525 } && test -s conftest$ac_exeext &&
32526 $as_test_x conftest$ac_exeext; then
32527 LIBS=$ac_save_LIBS
32528 # We can link X programs with no special library path.
32529 ac_x_libraries=
32530 else
32531 echo "$as_me: failed program was:" >&5
32532 sed 's/^/| /' conftest.$ac_ext >&5
32533
32534 LIBS=$ac_save_LIBS
32535 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32536 do
32537 # Don't even attempt the hair of trying to link an X program!
32538 for ac_extension in a so sl; do
32539 if test -r "$ac_dir/libX11.$ac_extension"; then
32540 ac_x_libraries=$ac_dir
32541 break 2
32542 fi
32543 done
32544 done
32545 fi
32546
32547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32548 conftest$ac_exeext conftest.$ac_ext
32549 fi # $ac_x_libraries = no
32550
32551 case $ac_x_includes,$ac_x_libraries in #(
32552 no,* | *,no | *\'*)
32553 # Didn't find X, or a directory has "'" in its name.
32554 ac_cv_have_x="have_x=no";; #(
32555 *)
32556 # Record where we found X for the cache.
32557 ac_cv_have_x="have_x=yes\
32558 ac_x_includes='$ac_x_includes'\
32559 ac_x_libraries='$ac_x_libraries'"
32560 esac
32561 fi
32562 ;; #(
32563 *) have_x=yes;;
32564 esac
32565 eval "$ac_cv_have_x"
32566 fi # $with_x != no
32567
32568 if test "$have_x" != yes; then
32569 { echo "$as_me:$LINENO: result: $have_x" >&5
32570 echo "${ECHO_T}$have_x" >&6; }
32571 no_x=yes
32572 else
32573 # If each of the values was on the command line, it overrides each guess.
32574 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32575 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32576 # Update the cache value to reflect the command line values.
32577 ac_cv_have_x="have_x=yes\
32578 ac_x_includes='$x_includes'\
32579 ac_x_libraries='$x_libraries'"
32580 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32581 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32582 fi
32583
32584 if test "$no_x" = yes; then
32585 # Not all programs may use this symbol, but it does not hurt to define it.
32586
32587 cat >>confdefs.h <<\_ACEOF
32588 #define X_DISPLAY_MISSING 1
32589 _ACEOF
32590
32591 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32592 else
32593 if test -n "$x_includes"; then
32594 X_CFLAGS="$X_CFLAGS -I$x_includes"
32595 fi
32596
32597 # It would also be nice to do this for all -L options, not just this one.
32598 if test -n "$x_libraries"; then
32599 X_LIBS="$X_LIBS -L$x_libraries"
32600 # For Solaris; some versions of Sun CC require a space after -R and
32601 # others require no space. Words are not sufficient . . . .
32602 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32603 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32604 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32605 ac_xsave_c_werror_flag=$ac_c_werror_flag
32606 ac_c_werror_flag=yes
32607 cat >conftest.$ac_ext <<_ACEOF
32608 /* confdefs.h. */
32609 _ACEOF
32610 cat confdefs.h >>conftest.$ac_ext
32611 cat >>conftest.$ac_ext <<_ACEOF
32612 /* end confdefs.h. */
32613
32614 int
32615 main ()
32616 {
32617
32618 ;
32619 return 0;
32620 }
32621 _ACEOF
32622 rm -f conftest.$ac_objext conftest$ac_exeext
32623 if { (ac_try="$ac_link"
32624 case "(($ac_try" in
32625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32626 *) ac_try_echo=$ac_try;;
32627 esac
32628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32629 (eval "$ac_link") 2>conftest.er1
32630 ac_status=$?
32631 grep -v '^ *+' conftest.er1 >conftest.err
32632 rm -f conftest.er1
32633 cat conftest.err >&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); } && {
32636 test -z "$ac_c_werror_flag" ||
32637 test ! -s conftest.err
32638 } && test -s conftest$ac_exeext &&
32639 $as_test_x conftest$ac_exeext; then
32640 { echo "$as_me:$LINENO: result: no" >&5
32641 echo "${ECHO_T}no" >&6; }
32642 X_LIBS="$X_LIBS -R$x_libraries"
32643 else
32644 echo "$as_me: failed program was:" >&5
32645 sed 's/^/| /' conftest.$ac_ext >&5
32646
32647 LIBS="$ac_xsave_LIBS -R $x_libraries"
32648 cat >conftest.$ac_ext <<_ACEOF
32649 /* confdefs.h. */
32650 _ACEOF
32651 cat confdefs.h >>conftest.$ac_ext
32652 cat >>conftest.$ac_ext <<_ACEOF
32653 /* end confdefs.h. */
32654
32655 int
32656 main ()
32657 {
32658
32659 ;
32660 return 0;
32661 }
32662 _ACEOF
32663 rm -f conftest.$ac_objext conftest$ac_exeext
32664 if { (ac_try="$ac_link"
32665 case "(($ac_try" in
32666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32667 *) ac_try_echo=$ac_try;;
32668 esac
32669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32670 (eval "$ac_link") 2>conftest.er1
32671 ac_status=$?
32672 grep -v '^ *+' conftest.er1 >conftest.err
32673 rm -f conftest.er1
32674 cat conftest.err >&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } && {
32677 test -z "$ac_c_werror_flag" ||
32678 test ! -s conftest.err
32679 } && test -s conftest$ac_exeext &&
32680 $as_test_x conftest$ac_exeext; then
32681 { echo "$as_me:$LINENO: result: yes" >&5
32682 echo "${ECHO_T}yes" >&6; }
32683 X_LIBS="$X_LIBS -R $x_libraries"
32684 else
32685 echo "$as_me: failed program was:" >&5
32686 sed 's/^/| /' conftest.$ac_ext >&5
32687
32688 { echo "$as_me:$LINENO: result: neither works" >&5
32689 echo "${ECHO_T}neither works" >&6; }
32690 fi
32691
32692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32693 conftest$ac_exeext conftest.$ac_ext
32694 fi
32695
32696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32697 conftest$ac_exeext conftest.$ac_ext
32698 ac_c_werror_flag=$ac_xsave_c_werror_flag
32699 LIBS=$ac_xsave_LIBS
32700 fi
32701
32702 # Check for system-dependent libraries X programs must link with.
32703 # Do this before checking for the system-independent R6 libraries
32704 # (-lICE), since we may need -lsocket or whatever for X linking.
32705
32706 if test "$ISC" = yes; then
32707 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32708 else
32709 # Martyn Johnson says this is needed for Ultrix, if the X
32710 # libraries were built with DECnet support. And Karl Berry says
32711 # the Alpha needs dnet_stub (dnet does not exist).
32712 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32713 cat >conftest.$ac_ext <<_ACEOF
32714 /* confdefs.h. */
32715 _ACEOF
32716 cat confdefs.h >>conftest.$ac_ext
32717 cat >>conftest.$ac_ext <<_ACEOF
32718 /* end confdefs.h. */
32719
32720 /* Override any GCC internal prototype to avoid an error.
32721 Use char because int might match the return type of a GCC
32722 builtin and then its argument prototype would still apply. */
32723 #ifdef __cplusplus
32724 extern "C"
32725 #endif
32726 char XOpenDisplay ();
32727 int
32728 main ()
32729 {
32730 return XOpenDisplay ();
32731 ;
32732 return 0;
32733 }
32734 _ACEOF
32735 rm -f conftest.$ac_objext conftest$ac_exeext
32736 if { (ac_try="$ac_link"
32737 case "(($ac_try" in
32738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32739 *) ac_try_echo=$ac_try;;
32740 esac
32741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32742 (eval "$ac_link") 2>conftest.er1
32743 ac_status=$?
32744 grep -v '^ *+' conftest.er1 >conftest.err
32745 rm -f conftest.er1
32746 cat conftest.err >&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } && {
32749 test -z "$ac_c_werror_flag" ||
32750 test ! -s conftest.err
32751 } && test -s conftest$ac_exeext &&
32752 $as_test_x conftest$ac_exeext; then
32753 :
32754 else
32755 echo "$as_me: failed program was:" >&5
32756 sed 's/^/| /' conftest.$ac_ext >&5
32757
32758 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32759 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32760 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32761 echo $ECHO_N "(cached) $ECHO_C" >&6
32762 else
32763 ac_check_lib_save_LIBS=$LIBS
32764 LIBS="-ldnet $LIBS"
32765 cat >conftest.$ac_ext <<_ACEOF
32766 /* confdefs.h. */
32767 _ACEOF
32768 cat confdefs.h >>conftest.$ac_ext
32769 cat >>conftest.$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32771
32772 /* Override any GCC internal prototype to avoid an error.
32773 Use char because int might match the return type of a GCC
32774 builtin and then its argument prototype would still apply. */
32775 #ifdef __cplusplus
32776 extern "C"
32777 #endif
32778 char dnet_ntoa ();
32779 int
32780 main ()
32781 {
32782 return dnet_ntoa ();
32783 ;
32784 return 0;
32785 }
32786 _ACEOF
32787 rm -f conftest.$ac_objext conftest$ac_exeext
32788 if { (ac_try="$ac_link"
32789 case "(($ac_try" in
32790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32791 *) ac_try_echo=$ac_try;;
32792 esac
32793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32794 (eval "$ac_link") 2>conftest.er1
32795 ac_status=$?
32796 grep -v '^ *+' conftest.er1 >conftest.err
32797 rm -f conftest.er1
32798 cat conftest.err >&5
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); } && {
32801 test -z "$ac_c_werror_flag" ||
32802 test ! -s conftest.err
32803 } && test -s conftest$ac_exeext &&
32804 $as_test_x conftest$ac_exeext; then
32805 ac_cv_lib_dnet_dnet_ntoa=yes
32806 else
32807 echo "$as_me: failed program was:" >&5
32808 sed 's/^/| /' conftest.$ac_ext >&5
32809
32810 ac_cv_lib_dnet_dnet_ntoa=no
32811 fi
32812
32813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32814 conftest$ac_exeext conftest.$ac_ext
32815 LIBS=$ac_check_lib_save_LIBS
32816 fi
32817 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32818 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32819 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32820 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32821 fi
32822
32823 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32824 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32825 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32826 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32827 echo $ECHO_N "(cached) $ECHO_C" >&6
32828 else
32829 ac_check_lib_save_LIBS=$LIBS
32830 LIBS="-ldnet_stub $LIBS"
32831 cat >conftest.$ac_ext <<_ACEOF
32832 /* confdefs.h. */
32833 _ACEOF
32834 cat confdefs.h >>conftest.$ac_ext
32835 cat >>conftest.$ac_ext <<_ACEOF
32836 /* end confdefs.h. */
32837
32838 /* Override any GCC internal prototype to avoid an error.
32839 Use char because int might match the return type of a GCC
32840 builtin and then its argument prototype would still apply. */
32841 #ifdef __cplusplus
32842 extern "C"
32843 #endif
32844 char dnet_ntoa ();
32845 int
32846 main ()
32847 {
32848 return dnet_ntoa ();
32849 ;
32850 return 0;
32851 }
32852 _ACEOF
32853 rm -f conftest.$ac_objext conftest$ac_exeext
32854 if { (ac_try="$ac_link"
32855 case "(($ac_try" in
32856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32857 *) ac_try_echo=$ac_try;;
32858 esac
32859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32860 (eval "$ac_link") 2>conftest.er1
32861 ac_status=$?
32862 grep -v '^ *+' conftest.er1 >conftest.err
32863 rm -f conftest.er1
32864 cat conftest.err >&5
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); } && {
32867 test -z "$ac_c_werror_flag" ||
32868 test ! -s conftest.err
32869 } && test -s conftest$ac_exeext &&
32870 $as_test_x conftest$ac_exeext; then
32871 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32872 else
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.$ac_ext >&5
32875
32876 ac_cv_lib_dnet_stub_dnet_ntoa=no
32877 fi
32878
32879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32880 conftest$ac_exeext conftest.$ac_ext
32881 LIBS=$ac_check_lib_save_LIBS
32882 fi
32883 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32884 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32885 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32886 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32887 fi
32888
32889 fi
32890 fi
32891
32892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32893 conftest$ac_exeext conftest.$ac_ext
32894 LIBS="$ac_xsave_LIBS"
32895
32896 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32897 # to get the SysV transport functions.
32898 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32899 # needs -lnsl.
32900 # The nsl library prevents programs from opening the X display
32901 # on Irix 5.2, according to T.E. Dickey.
32902 # The functions gethostbyname, getservbyname, and inet_addr are
32903 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32904 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32905 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32906 if test "${ac_cv_func_gethostbyname+set}" = set; then
32907 echo $ECHO_N "(cached) $ECHO_C" >&6
32908 else
32909 cat >conftest.$ac_ext <<_ACEOF
32910 /* confdefs.h. */
32911 _ACEOF
32912 cat confdefs.h >>conftest.$ac_ext
32913 cat >>conftest.$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32915 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32917 #define gethostbyname innocuous_gethostbyname
32918
32919 /* System header to define __stub macros and hopefully few prototypes,
32920 which can conflict with char gethostbyname (); below.
32921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32922 <limits.h> exists even on freestanding compilers. */
32923
32924 #ifdef __STDC__
32925 # include <limits.h>
32926 #else
32927 # include <assert.h>
32928 #endif
32929
32930 #undef gethostbyname
32931
32932 /* Override any GCC internal prototype to avoid an error.
32933 Use char because int might match the return type of a GCC
32934 builtin and then its argument prototype would still apply. */
32935 #ifdef __cplusplus
32936 extern "C"
32937 #endif
32938 char gethostbyname ();
32939 /* The GNU C library defines this for functions which it implements
32940 to always fail with ENOSYS. Some functions are actually named
32941 something starting with __ and the normal name is an alias. */
32942 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32943 choke me
32944 #endif
32945
32946 int
32947 main ()
32948 {
32949 return gethostbyname ();
32950 ;
32951 return 0;
32952 }
32953 _ACEOF
32954 rm -f conftest.$ac_objext conftest$ac_exeext
32955 if { (ac_try="$ac_link"
32956 case "(($ac_try" in
32957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32958 *) ac_try_echo=$ac_try;;
32959 esac
32960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32961 (eval "$ac_link") 2>conftest.er1
32962 ac_status=$?
32963 grep -v '^ *+' conftest.er1 >conftest.err
32964 rm -f conftest.er1
32965 cat conftest.err >&5
32966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32967 (exit $ac_status); } && {
32968 test -z "$ac_c_werror_flag" ||
32969 test ! -s conftest.err
32970 } && test -s conftest$ac_exeext &&
32971 $as_test_x conftest$ac_exeext; then
32972 ac_cv_func_gethostbyname=yes
32973 else
32974 echo "$as_me: failed program was:" >&5
32975 sed 's/^/| /' conftest.$ac_ext >&5
32976
32977 ac_cv_func_gethostbyname=no
32978 fi
32979
32980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32981 conftest$ac_exeext conftest.$ac_ext
32982 fi
32983 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32984 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32985
32986 if test $ac_cv_func_gethostbyname = no; then
32987 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32988 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32989 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32990 echo $ECHO_N "(cached) $ECHO_C" >&6
32991 else
32992 ac_check_lib_save_LIBS=$LIBS
32993 LIBS="-lnsl $LIBS"
32994 cat >conftest.$ac_ext <<_ACEOF
32995 /* confdefs.h. */
32996 _ACEOF
32997 cat confdefs.h >>conftest.$ac_ext
32998 cat >>conftest.$ac_ext <<_ACEOF
32999 /* end confdefs.h. */
33000
33001 /* Override any GCC internal prototype to avoid an error.
33002 Use char because int might match the return type of a GCC
33003 builtin and then its argument prototype would still apply. */
33004 #ifdef __cplusplus
33005 extern "C"
33006 #endif
33007 char gethostbyname ();
33008 int
33009 main ()
33010 {
33011 return gethostbyname ();
33012 ;
33013 return 0;
33014 }
33015 _ACEOF
33016 rm -f conftest.$ac_objext conftest$ac_exeext
33017 if { (ac_try="$ac_link"
33018 case "(($ac_try" in
33019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33020 *) ac_try_echo=$ac_try;;
33021 esac
33022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33023 (eval "$ac_link") 2>conftest.er1
33024 ac_status=$?
33025 grep -v '^ *+' conftest.er1 >conftest.err
33026 rm -f conftest.er1
33027 cat conftest.err >&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); } && {
33030 test -z "$ac_c_werror_flag" ||
33031 test ! -s conftest.err
33032 } && test -s conftest$ac_exeext &&
33033 $as_test_x conftest$ac_exeext; then
33034 ac_cv_lib_nsl_gethostbyname=yes
33035 else
33036 echo "$as_me: failed program was:" >&5
33037 sed 's/^/| /' conftest.$ac_ext >&5
33038
33039 ac_cv_lib_nsl_gethostbyname=no
33040 fi
33041
33042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33043 conftest$ac_exeext conftest.$ac_ext
33044 LIBS=$ac_check_lib_save_LIBS
33045 fi
33046 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33047 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33048 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33049 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33050 fi
33051
33052 if test $ac_cv_lib_nsl_gethostbyname = no; then
33053 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33054 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33055 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33056 echo $ECHO_N "(cached) $ECHO_C" >&6
33057 else
33058 ac_check_lib_save_LIBS=$LIBS
33059 LIBS="-lbsd $LIBS"
33060 cat >conftest.$ac_ext <<_ACEOF
33061 /* confdefs.h. */
33062 _ACEOF
33063 cat confdefs.h >>conftest.$ac_ext
33064 cat >>conftest.$ac_ext <<_ACEOF
33065 /* end confdefs.h. */
33066
33067 /* Override any GCC internal prototype to avoid an error.
33068 Use char because int might match the return type of a GCC
33069 builtin and then its argument prototype would still apply. */
33070 #ifdef __cplusplus
33071 extern "C"
33072 #endif
33073 char gethostbyname ();
33074 int
33075 main ()
33076 {
33077 return gethostbyname ();
33078 ;
33079 return 0;
33080 }
33081 _ACEOF
33082 rm -f conftest.$ac_objext conftest$ac_exeext
33083 if { (ac_try="$ac_link"
33084 case "(($ac_try" in
33085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33086 *) ac_try_echo=$ac_try;;
33087 esac
33088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33089 (eval "$ac_link") 2>conftest.er1
33090 ac_status=$?
33091 grep -v '^ *+' conftest.er1 >conftest.err
33092 rm -f conftest.er1
33093 cat conftest.err >&5
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); } && {
33096 test -z "$ac_c_werror_flag" ||
33097 test ! -s conftest.err
33098 } && test -s conftest$ac_exeext &&
33099 $as_test_x conftest$ac_exeext; then
33100 ac_cv_lib_bsd_gethostbyname=yes
33101 else
33102 echo "$as_me: failed program was:" >&5
33103 sed 's/^/| /' conftest.$ac_ext >&5
33104
33105 ac_cv_lib_bsd_gethostbyname=no
33106 fi
33107
33108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33109 conftest$ac_exeext conftest.$ac_ext
33110 LIBS=$ac_check_lib_save_LIBS
33111 fi
33112 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33113 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33114 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33115 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33116 fi
33117
33118 fi
33119 fi
33120
33121 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33122 # socket/setsockopt and other routines are undefined under SCO ODT
33123 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33124 # on later versions), says Simon Leinen: it contains gethostby*
33125 # variants that don't use the name server (or something). -lsocket
33126 # must be given before -lnsl if both are needed. We assume that
33127 # if connect needs -lnsl, so does gethostbyname.
33128 { echo "$as_me:$LINENO: checking for connect" >&5
33129 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33130 if test "${ac_cv_func_connect+set}" = set; then
33131 echo $ECHO_N "(cached) $ECHO_C" >&6
33132 else
33133 cat >conftest.$ac_ext <<_ACEOF
33134 /* confdefs.h. */
33135 _ACEOF
33136 cat confdefs.h >>conftest.$ac_ext
33137 cat >>conftest.$ac_ext <<_ACEOF
33138 /* end confdefs.h. */
33139 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33141 #define connect innocuous_connect
33142
33143 /* System header to define __stub macros and hopefully few prototypes,
33144 which can conflict with char connect (); below.
33145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33146 <limits.h> exists even on freestanding compilers. */
33147
33148 #ifdef __STDC__
33149 # include <limits.h>
33150 #else
33151 # include <assert.h>
33152 #endif
33153
33154 #undef connect
33155
33156 /* Override any GCC internal prototype to avoid an error.
33157 Use char because int might match the return type of a GCC
33158 builtin and then its argument prototype would still apply. */
33159 #ifdef __cplusplus
33160 extern "C"
33161 #endif
33162 char connect ();
33163 /* The GNU C library defines this for functions which it implements
33164 to always fail with ENOSYS. Some functions are actually named
33165 something starting with __ and the normal name is an alias. */
33166 #if defined __stub_connect || defined __stub___connect
33167 choke me
33168 #endif
33169
33170 int
33171 main ()
33172 {
33173 return connect ();
33174 ;
33175 return 0;
33176 }
33177 _ACEOF
33178 rm -f conftest.$ac_objext conftest$ac_exeext
33179 if { (ac_try="$ac_link"
33180 case "(($ac_try" in
33181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33182 *) ac_try_echo=$ac_try;;
33183 esac
33184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33185 (eval "$ac_link") 2>conftest.er1
33186 ac_status=$?
33187 grep -v '^ *+' conftest.er1 >conftest.err
33188 rm -f conftest.er1
33189 cat conftest.err >&5
33190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191 (exit $ac_status); } && {
33192 test -z "$ac_c_werror_flag" ||
33193 test ! -s conftest.err
33194 } && test -s conftest$ac_exeext &&
33195 $as_test_x conftest$ac_exeext; then
33196 ac_cv_func_connect=yes
33197 else
33198 echo "$as_me: failed program was:" >&5
33199 sed 's/^/| /' conftest.$ac_ext >&5
33200
33201 ac_cv_func_connect=no
33202 fi
33203
33204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33205 conftest$ac_exeext conftest.$ac_ext
33206 fi
33207 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33208 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33209
33210 if test $ac_cv_func_connect = no; then
33211 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33212 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33213 if test "${ac_cv_lib_socket_connect+set}" = set; then
33214 echo $ECHO_N "(cached) $ECHO_C" >&6
33215 else
33216 ac_check_lib_save_LIBS=$LIBS
33217 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33218 cat >conftest.$ac_ext <<_ACEOF
33219 /* confdefs.h. */
33220 _ACEOF
33221 cat confdefs.h >>conftest.$ac_ext
33222 cat >>conftest.$ac_ext <<_ACEOF
33223 /* end confdefs.h. */
33224
33225 /* Override any GCC internal prototype to avoid an error.
33226 Use char because int might match the return type of a GCC
33227 builtin and then its argument prototype would still apply. */
33228 #ifdef __cplusplus
33229 extern "C"
33230 #endif
33231 char connect ();
33232 int
33233 main ()
33234 {
33235 return connect ();
33236 ;
33237 return 0;
33238 }
33239 _ACEOF
33240 rm -f conftest.$ac_objext conftest$ac_exeext
33241 if { (ac_try="$ac_link"
33242 case "(($ac_try" in
33243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33244 *) ac_try_echo=$ac_try;;
33245 esac
33246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33247 (eval "$ac_link") 2>conftest.er1
33248 ac_status=$?
33249 grep -v '^ *+' conftest.er1 >conftest.err
33250 rm -f conftest.er1
33251 cat conftest.err >&5
33252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33253 (exit $ac_status); } && {
33254 test -z "$ac_c_werror_flag" ||
33255 test ! -s conftest.err
33256 } && test -s conftest$ac_exeext &&
33257 $as_test_x conftest$ac_exeext; then
33258 ac_cv_lib_socket_connect=yes
33259 else
33260 echo "$as_me: failed program was:" >&5
33261 sed 's/^/| /' conftest.$ac_ext >&5
33262
33263 ac_cv_lib_socket_connect=no
33264 fi
33265
33266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33267 conftest$ac_exeext conftest.$ac_ext
33268 LIBS=$ac_check_lib_save_LIBS
33269 fi
33270 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33271 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33272 if test $ac_cv_lib_socket_connect = yes; then
33273 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33274 fi
33275
33276 fi
33277
33278 # Guillermo Gomez says -lposix is necessary on A/UX.
33279 { echo "$as_me:$LINENO: checking for remove" >&5
33280 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33281 if test "${ac_cv_func_remove+set}" = set; then
33282 echo $ECHO_N "(cached) $ECHO_C" >&6
33283 else
33284 cat >conftest.$ac_ext <<_ACEOF
33285 /* confdefs.h. */
33286 _ACEOF
33287 cat confdefs.h >>conftest.$ac_ext
33288 cat >>conftest.$ac_ext <<_ACEOF
33289 /* end confdefs.h. */
33290 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33292 #define remove innocuous_remove
33293
33294 /* System header to define __stub macros and hopefully few prototypes,
33295 which can conflict with char remove (); below.
33296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33297 <limits.h> exists even on freestanding compilers. */
33298
33299 #ifdef __STDC__
33300 # include <limits.h>
33301 #else
33302 # include <assert.h>
33303 #endif
33304
33305 #undef remove
33306
33307 /* Override any GCC internal prototype to avoid an error.
33308 Use char because int might match the return type of a GCC
33309 builtin and then its argument prototype would still apply. */
33310 #ifdef __cplusplus
33311 extern "C"
33312 #endif
33313 char remove ();
33314 /* The GNU C library defines this for functions which it implements
33315 to always fail with ENOSYS. Some functions are actually named
33316 something starting with __ and the normal name is an alias. */
33317 #if defined __stub_remove || defined __stub___remove
33318 choke me
33319 #endif
33320
33321 int
33322 main ()
33323 {
33324 return remove ();
33325 ;
33326 return 0;
33327 }
33328 _ACEOF
33329 rm -f conftest.$ac_objext conftest$ac_exeext
33330 if { (ac_try="$ac_link"
33331 case "(($ac_try" in
33332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33333 *) ac_try_echo=$ac_try;;
33334 esac
33335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33336 (eval "$ac_link") 2>conftest.er1
33337 ac_status=$?
33338 grep -v '^ *+' conftest.er1 >conftest.err
33339 rm -f conftest.er1
33340 cat conftest.err >&5
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); } && {
33343 test -z "$ac_c_werror_flag" ||
33344 test ! -s conftest.err
33345 } && test -s conftest$ac_exeext &&
33346 $as_test_x conftest$ac_exeext; then
33347 ac_cv_func_remove=yes
33348 else
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.$ac_ext >&5
33351
33352 ac_cv_func_remove=no
33353 fi
33354
33355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33356 conftest$ac_exeext conftest.$ac_ext
33357 fi
33358 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33359 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33360
33361 if test $ac_cv_func_remove = no; then
33362 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33363 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33364 if test "${ac_cv_lib_posix_remove+set}" = set; then
33365 echo $ECHO_N "(cached) $ECHO_C" >&6
33366 else
33367 ac_check_lib_save_LIBS=$LIBS
33368 LIBS="-lposix $LIBS"
33369 cat >conftest.$ac_ext <<_ACEOF
33370 /* confdefs.h. */
33371 _ACEOF
33372 cat confdefs.h >>conftest.$ac_ext
33373 cat >>conftest.$ac_ext <<_ACEOF
33374 /* end confdefs.h. */
33375
33376 /* Override any GCC internal prototype to avoid an error.
33377 Use char because int might match the return type of a GCC
33378 builtin and then its argument prototype would still apply. */
33379 #ifdef __cplusplus
33380 extern "C"
33381 #endif
33382 char remove ();
33383 int
33384 main ()
33385 {
33386 return remove ();
33387 ;
33388 return 0;
33389 }
33390 _ACEOF
33391 rm -f conftest.$ac_objext conftest$ac_exeext
33392 if { (ac_try="$ac_link"
33393 case "(($ac_try" in
33394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33395 *) ac_try_echo=$ac_try;;
33396 esac
33397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33398 (eval "$ac_link") 2>conftest.er1
33399 ac_status=$?
33400 grep -v '^ *+' conftest.er1 >conftest.err
33401 rm -f conftest.er1
33402 cat conftest.err >&5
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); } && {
33405 test -z "$ac_c_werror_flag" ||
33406 test ! -s conftest.err
33407 } && test -s conftest$ac_exeext &&
33408 $as_test_x conftest$ac_exeext; then
33409 ac_cv_lib_posix_remove=yes
33410 else
33411 echo "$as_me: failed program was:" >&5
33412 sed 's/^/| /' conftest.$ac_ext >&5
33413
33414 ac_cv_lib_posix_remove=no
33415 fi
33416
33417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33418 conftest$ac_exeext conftest.$ac_ext
33419 LIBS=$ac_check_lib_save_LIBS
33420 fi
33421 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33422 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33423 if test $ac_cv_lib_posix_remove = yes; then
33424 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33425 fi
33426
33427 fi
33428
33429 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33430 { echo "$as_me:$LINENO: checking for shmat" >&5
33431 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33432 if test "${ac_cv_func_shmat+set}" = set; then
33433 echo $ECHO_N "(cached) $ECHO_C" >&6
33434 else
33435 cat >conftest.$ac_ext <<_ACEOF
33436 /* confdefs.h. */
33437 _ACEOF
33438 cat confdefs.h >>conftest.$ac_ext
33439 cat >>conftest.$ac_ext <<_ACEOF
33440 /* end confdefs.h. */
33441 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33443 #define shmat innocuous_shmat
33444
33445 /* System header to define __stub macros and hopefully few prototypes,
33446 which can conflict with char shmat (); below.
33447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33448 <limits.h> exists even on freestanding compilers. */
33449
33450 #ifdef __STDC__
33451 # include <limits.h>
33452 #else
33453 # include <assert.h>
33454 #endif
33455
33456 #undef shmat
33457
33458 /* Override any GCC internal prototype to avoid an error.
33459 Use char because int might match the return type of a GCC
33460 builtin and then its argument prototype would still apply. */
33461 #ifdef __cplusplus
33462 extern "C"
33463 #endif
33464 char shmat ();
33465 /* The GNU C library defines this for functions which it implements
33466 to always fail with ENOSYS. Some functions are actually named
33467 something starting with __ and the normal name is an alias. */
33468 #if defined __stub_shmat || defined __stub___shmat
33469 choke me
33470 #endif
33471
33472 int
33473 main ()
33474 {
33475 return shmat ();
33476 ;
33477 return 0;
33478 }
33479 _ACEOF
33480 rm -f conftest.$ac_objext conftest$ac_exeext
33481 if { (ac_try="$ac_link"
33482 case "(($ac_try" in
33483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33484 *) ac_try_echo=$ac_try;;
33485 esac
33486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33487 (eval "$ac_link") 2>conftest.er1
33488 ac_status=$?
33489 grep -v '^ *+' conftest.er1 >conftest.err
33490 rm -f conftest.er1
33491 cat conftest.err >&5
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); } && {
33494 test -z "$ac_c_werror_flag" ||
33495 test ! -s conftest.err
33496 } && test -s conftest$ac_exeext &&
33497 $as_test_x conftest$ac_exeext; then
33498 ac_cv_func_shmat=yes
33499 else
33500 echo "$as_me: failed program was:" >&5
33501 sed 's/^/| /' conftest.$ac_ext >&5
33502
33503 ac_cv_func_shmat=no
33504 fi
33505
33506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33507 conftest$ac_exeext conftest.$ac_ext
33508 fi
33509 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33510 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33511
33512 if test $ac_cv_func_shmat = no; then
33513 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33514 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33515 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33516 echo $ECHO_N "(cached) $ECHO_C" >&6
33517 else
33518 ac_check_lib_save_LIBS=$LIBS
33519 LIBS="-lipc $LIBS"
33520 cat >conftest.$ac_ext <<_ACEOF
33521 /* confdefs.h. */
33522 _ACEOF
33523 cat confdefs.h >>conftest.$ac_ext
33524 cat >>conftest.$ac_ext <<_ACEOF
33525 /* end confdefs.h. */
33526
33527 /* Override any GCC internal prototype to avoid an error.
33528 Use char because int might match the return type of a GCC
33529 builtin and then its argument prototype would still apply. */
33530 #ifdef __cplusplus
33531 extern "C"
33532 #endif
33533 char shmat ();
33534 int
33535 main ()
33536 {
33537 return shmat ();
33538 ;
33539 return 0;
33540 }
33541 _ACEOF
33542 rm -f conftest.$ac_objext conftest$ac_exeext
33543 if { (ac_try="$ac_link"
33544 case "(($ac_try" in
33545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33546 *) ac_try_echo=$ac_try;;
33547 esac
33548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33549 (eval "$ac_link") 2>conftest.er1
33550 ac_status=$?
33551 grep -v '^ *+' conftest.er1 >conftest.err
33552 rm -f conftest.er1
33553 cat conftest.err >&5
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); } && {
33556 test -z "$ac_c_werror_flag" ||
33557 test ! -s conftest.err
33558 } && test -s conftest$ac_exeext &&
33559 $as_test_x conftest$ac_exeext; then
33560 ac_cv_lib_ipc_shmat=yes
33561 else
33562 echo "$as_me: failed program was:" >&5
33563 sed 's/^/| /' conftest.$ac_ext >&5
33564
33565 ac_cv_lib_ipc_shmat=no
33566 fi
33567
33568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33569 conftest$ac_exeext conftest.$ac_ext
33570 LIBS=$ac_check_lib_save_LIBS
33571 fi
33572 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33573 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33574 if test $ac_cv_lib_ipc_shmat = yes; then
33575 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33576 fi
33577
33578 fi
33579 fi
33580
33581 # Check for libraries that X11R6 Xt/Xaw programs need.
33582 ac_save_LDFLAGS=$LDFLAGS
33583 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33584 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33585 # check for ICE first), but we must link in the order -lSM -lICE or
33586 # we get undefined symbols. So assume we have SM if we have ICE.
33587 # These have to be linked with before -lX11, unlike the other
33588 # libraries we check for below, so use a different variable.
33589 # John Interrante, Karl Berry
33590 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33591 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33592 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33593 echo $ECHO_N "(cached) $ECHO_C" >&6
33594 else
33595 ac_check_lib_save_LIBS=$LIBS
33596 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33597 cat >conftest.$ac_ext <<_ACEOF
33598 /* confdefs.h. */
33599 _ACEOF
33600 cat confdefs.h >>conftest.$ac_ext
33601 cat >>conftest.$ac_ext <<_ACEOF
33602 /* end confdefs.h. */
33603
33604 /* Override any GCC internal prototype to avoid an error.
33605 Use char because int might match the return type of a GCC
33606 builtin and then its argument prototype would still apply. */
33607 #ifdef __cplusplus
33608 extern "C"
33609 #endif
33610 char IceConnectionNumber ();
33611 int
33612 main ()
33613 {
33614 return IceConnectionNumber ();
33615 ;
33616 return 0;
33617 }
33618 _ACEOF
33619 rm -f conftest.$ac_objext conftest$ac_exeext
33620 if { (ac_try="$ac_link"
33621 case "(($ac_try" in
33622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33623 *) ac_try_echo=$ac_try;;
33624 esac
33625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33626 (eval "$ac_link") 2>conftest.er1
33627 ac_status=$?
33628 grep -v '^ *+' conftest.er1 >conftest.err
33629 rm -f conftest.er1
33630 cat conftest.err >&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); } && {
33633 test -z "$ac_c_werror_flag" ||
33634 test ! -s conftest.err
33635 } && test -s conftest$ac_exeext &&
33636 $as_test_x conftest$ac_exeext; then
33637 ac_cv_lib_ICE_IceConnectionNumber=yes
33638 else
33639 echo "$as_me: failed program was:" >&5
33640 sed 's/^/| /' conftest.$ac_ext >&5
33641
33642 ac_cv_lib_ICE_IceConnectionNumber=no
33643 fi
33644
33645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33646 conftest$ac_exeext conftest.$ac_ext
33647 LIBS=$ac_check_lib_save_LIBS
33648 fi
33649 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33650 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33651 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33652 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33653 fi
33654
33655 LDFLAGS=$ac_save_LDFLAGS
33656
33657 fi
33658
33659
33660 if test "$no_x" = "yes"; then
33661 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33662 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33663 { (exit 1); exit 1; }; }
33664 fi
33665
33666 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33667 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33668 AFMINSTALL=afminstall
33669 COMPILED_X_PROGRAM=0
33670
33671 fi
33672
33673 if test "$wxUSE_X11" = 1; then
33674 if test "$wxUSE_NANOX" = "yes"; then
33675 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33676 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33677 if test "x$MICROWIN" = x ; then
33678 { echo "$as_me:$LINENO: result: not found" >&5
33679 echo "${ECHO_T}not found" >&6; }
33680 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33681 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33682 { (exit 1); exit 1; }; }
33683 else
33684 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33685 echo "${ECHO_T}$MICROWIN" >&6; }
33686 cat >>confdefs.h <<\_ACEOF
33687 #define wxUSE_NANOX 1
33688 _ACEOF
33689
33690 fi
33691 fi
33692
33693 if test "$wxUSE_UNICODE" = "yes"; then
33694
33695
33696 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33697 if test -n "$ac_tool_prefix"; then
33698 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33699 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33702 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33703 echo $ECHO_N "(cached) $ECHO_C" >&6
33704 else
33705 case $PKG_CONFIG in
33706 [\\/]* | ?:[\\/]*)
33707 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33708 ;;
33709 *)
33710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33711 for as_dir in $PATH
33712 do
33713 IFS=$as_save_IFS
33714 test -z "$as_dir" && as_dir=.
33715 for ac_exec_ext in '' $ac_executable_extensions; do
33716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33717 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33719 break 2
33720 fi
33721 done
33722 done
33723 IFS=$as_save_IFS
33724
33725 ;;
33726 esac
33727 fi
33728 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33729 if test -n "$PKG_CONFIG"; then
33730 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33731 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33732 else
33733 { echo "$as_me:$LINENO: result: no" >&5
33734 echo "${ECHO_T}no" >&6; }
33735 fi
33736
33737
33738 fi
33739 if test -z "$ac_cv_path_PKG_CONFIG"; then
33740 ac_pt_PKG_CONFIG=$PKG_CONFIG
33741 # Extract the first word of "pkg-config", so it can be a program name with args.
33742 set dummy pkg-config; ac_word=$2
33743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33745 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33746 echo $ECHO_N "(cached) $ECHO_C" >&6
33747 else
33748 case $ac_pt_PKG_CONFIG in
33749 [\\/]* | ?:[\\/]*)
33750 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33751 ;;
33752 *)
33753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33754 for as_dir in $PATH
33755 do
33756 IFS=$as_save_IFS
33757 test -z "$as_dir" && as_dir=.
33758 for ac_exec_ext in '' $ac_executable_extensions; do
33759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33760 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33762 break 2
33763 fi
33764 done
33765 done
33766 IFS=$as_save_IFS
33767
33768 ;;
33769 esac
33770 fi
33771 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33772 if test -n "$ac_pt_PKG_CONFIG"; then
33773 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33774 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33775 else
33776 { echo "$as_me:$LINENO: result: no" >&5
33777 echo "${ECHO_T}no" >&6; }
33778 fi
33779
33780 if test "x$ac_pt_PKG_CONFIG" = x; then
33781 PKG_CONFIG=""
33782 else
33783 case $cross_compiling:$ac_tool_warned in
33784 yes:)
33785 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33786 whose name does not start with the host triplet. If you think this
33787 configuration is useful to you, please write to autoconf@gnu.org." >&5
33788 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33789 whose name does not start with the host triplet. If you think this
33790 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33791 ac_tool_warned=yes ;;
33792 esac
33793 PKG_CONFIG=$ac_pt_PKG_CONFIG
33794 fi
33795 else
33796 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33797 fi
33798
33799 fi
33800 if test -n "$PKG_CONFIG"; then
33801 _pkg_min_version=0.9.0
33802 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33803 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33804 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33805 { echo "$as_me:$LINENO: result: yes" >&5
33806 echo "${ECHO_T}yes" >&6; }
33807 else
33808 { echo "$as_me:$LINENO: result: no" >&5
33809 echo "${ECHO_T}no" >&6; }
33810 PKG_CONFIG=""
33811 fi
33812
33813 fi
33814
33815
33816 pkg_failed=no
33817 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33818 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33819
33820 if test -n "$PKG_CONFIG"; then
33821 if test -n "$PANGOX_CFLAGS"; then
33822 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33823 else
33824 if test -n "$PKG_CONFIG" && \
33825 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33826 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33827 ac_status=$?
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); }; then
33830 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33831 else
33832 pkg_failed=yes
33833 fi
33834 fi
33835 else
33836 pkg_failed=untried
33837 fi
33838 if test -n "$PKG_CONFIG"; then
33839 if test -n "$PANGOX_LIBS"; then
33840 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33841 else
33842 if test -n "$PKG_CONFIG" && \
33843 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33844 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33845 ac_status=$?
33846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33847 (exit $ac_status); }; then
33848 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33849 else
33850 pkg_failed=yes
33851 fi
33852 fi
33853 else
33854 pkg_failed=untried
33855 fi
33856
33857
33858
33859 if test $pkg_failed = yes; then
33860
33861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33862 _pkg_short_errors_supported=yes
33863 else
33864 _pkg_short_errors_supported=no
33865 fi
33866 if test $_pkg_short_errors_supported = yes; then
33867 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33868 else
33869 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33870 fi
33871 # Put the nasty error message in config.log where it belongs
33872 echo "$PANGOX_PKG_ERRORS" >&5
33873
33874
33875 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33876 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33877 { (exit 1); exit 1; }; }
33878
33879
33880 elif test $pkg_failed = untried; then
33881
33882 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33883 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33884 { (exit 1); exit 1; }; }
33885
33886
33887 else
33888 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33889 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33890 { echo "$as_me:$LINENO: result: yes" >&5
33891 echo "${ECHO_T}yes" >&6; }
33892
33893 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33894 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33895 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33896
33897 fi
33898
33899 pkg_failed=no
33900 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33901 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33902
33903 if test -n "$PKG_CONFIG"; then
33904 if test -n "$PANGOFT2_CFLAGS"; then
33905 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33906 else
33907 if test -n "$PKG_CONFIG" && \
33908 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33909 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33910 ac_status=$?
33911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912 (exit $ac_status); }; then
33913 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33914 else
33915 pkg_failed=yes
33916 fi
33917 fi
33918 else
33919 pkg_failed=untried
33920 fi
33921 if test -n "$PKG_CONFIG"; then
33922 if test -n "$PANGOFT2_LIBS"; then
33923 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33924 else
33925 if test -n "$PKG_CONFIG" && \
33926 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33927 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33928 ac_status=$?
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); }; then
33931 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33932 else
33933 pkg_failed=yes
33934 fi
33935 fi
33936 else
33937 pkg_failed=untried
33938 fi
33939
33940
33941
33942 if test $pkg_failed = yes; then
33943
33944 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33945 _pkg_short_errors_supported=yes
33946 else
33947 _pkg_short_errors_supported=no
33948 fi
33949 if test $_pkg_short_errors_supported = yes; then
33950 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33951 else
33952 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33953 fi
33954 # Put the nasty error message in config.log where it belongs
33955 echo "$PANGOFT2_PKG_ERRORS" >&5
33956
33957
33958 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33959 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33960 wxUSE_PRINTING_ARCHITECTURE="no"
33961
33962
33963 elif test $pkg_failed = untried; then
33964
33965 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33966 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33967 wxUSE_PRINTING_ARCHITECTURE="no"
33968
33969
33970 else
33971 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33972 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33973 { echo "$as_me:$LINENO: result: yes" >&5
33974 echo "${ECHO_T}yes" >&6; }
33975
33976 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33977 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33978 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33979
33980 fi
33981
33982 pkg_failed=no
33983 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33984 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33985
33986 if test -n "$PKG_CONFIG"; then
33987 if test -n "$PANGOXFT_CFLAGS"; then
33988 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33989 else
33990 if test -n "$PKG_CONFIG" && \
33991 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33992 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33993 ac_status=$?
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); }; then
33996 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33997 else
33998 pkg_failed=yes
33999 fi
34000 fi
34001 else
34002 pkg_failed=untried
34003 fi
34004 if test -n "$PKG_CONFIG"; then
34005 if test -n "$PANGOXFT_LIBS"; then
34006 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34007 else
34008 if test -n "$PKG_CONFIG" && \
34009 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34010 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34011 ac_status=$?
34012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34013 (exit $ac_status); }; then
34014 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34015 else
34016 pkg_failed=yes
34017 fi
34018 fi
34019 else
34020 pkg_failed=untried
34021 fi
34022
34023
34024
34025 if test $pkg_failed = yes; then
34026
34027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34028 _pkg_short_errors_supported=yes
34029 else
34030 _pkg_short_errors_supported=no
34031 fi
34032 if test $_pkg_short_errors_supported = yes; then
34033 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34034 else
34035 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34036 fi
34037 # Put the nasty error message in config.log where it belongs
34038 echo "$PANGOXFT_PKG_ERRORS" >&5
34039
34040
34041 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34042 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34043
34044
34045 elif test $pkg_failed = untried; then
34046
34047 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34048 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34049
34050
34051 else
34052 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34053 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34054 { echo "$as_me:$LINENO: result: yes" >&5
34055 echo "${ECHO_T}yes" >&6; }
34056
34057 cat >>confdefs.h <<\_ACEOF
34058 #define HAVE_PANGO_XFT 1
34059 _ACEOF
34060
34061 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34062 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34063 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34064
34065 fi
34066 save_LIBS="$LIBS"
34067 LIBS="$LIBS $PANGOX_LIBS"
34068
34069 for ac_func in pango_font_family_is_monospace
34070 do
34071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34072 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34074 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34075 echo $ECHO_N "(cached) $ECHO_C" >&6
34076 else
34077 cat >conftest.$ac_ext <<_ACEOF
34078 /* confdefs.h. */
34079 _ACEOF
34080 cat confdefs.h >>conftest.$ac_ext
34081 cat >>conftest.$ac_ext <<_ACEOF
34082 /* end confdefs.h. */
34083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34085 #define $ac_func innocuous_$ac_func
34086
34087 /* System header to define __stub macros and hopefully few prototypes,
34088 which can conflict with char $ac_func (); below.
34089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34090 <limits.h> exists even on freestanding compilers. */
34091
34092 #ifdef __STDC__
34093 # include <limits.h>
34094 #else
34095 # include <assert.h>
34096 #endif
34097
34098 #undef $ac_func
34099
34100 /* Override any GCC internal prototype to avoid an error.
34101 Use char because int might match the return type of a GCC
34102 builtin and then its argument prototype would still apply. */
34103 #ifdef __cplusplus
34104 extern "C"
34105 #endif
34106 char $ac_func ();
34107 /* The GNU C library defines this for functions which it implements
34108 to always fail with ENOSYS. Some functions are actually named
34109 something starting with __ and the normal name is an alias. */
34110 #if defined __stub_$ac_func || defined __stub___$ac_func
34111 choke me
34112 #endif
34113
34114 int
34115 main ()
34116 {
34117 return $ac_func ();
34118 ;
34119 return 0;
34120 }
34121 _ACEOF
34122 rm -f conftest.$ac_objext conftest$ac_exeext
34123 if { (ac_try="$ac_link"
34124 case "(($ac_try" in
34125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34126 *) ac_try_echo=$ac_try;;
34127 esac
34128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34129 (eval "$ac_link") 2>conftest.er1
34130 ac_status=$?
34131 grep -v '^ *+' conftest.er1 >conftest.err
34132 rm -f conftest.er1
34133 cat conftest.err >&5
34134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34135 (exit $ac_status); } && {
34136 test -z "$ac_c_werror_flag" ||
34137 test ! -s conftest.err
34138 } && test -s conftest$ac_exeext &&
34139 $as_test_x conftest$ac_exeext; then
34140 eval "$as_ac_var=yes"
34141 else
34142 echo "$as_me: failed program was:" >&5
34143 sed 's/^/| /' conftest.$ac_ext >&5
34144
34145 eval "$as_ac_var=no"
34146 fi
34147
34148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34149 conftest$ac_exeext conftest.$ac_ext
34150 fi
34151 ac_res=`eval echo '${'$as_ac_var'}'`
34152 { echo "$as_me:$LINENO: result: $ac_res" >&5
34153 echo "${ECHO_T}$ac_res" >&6; }
34154 if test `eval echo '${'$as_ac_var'}'` = yes; then
34155 cat >>confdefs.h <<_ACEOF
34156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34157 _ACEOF
34158
34159 fi
34160 done
34161
34162 LIBS="$save_LIBS"
34163 fi
34164
34165 wxUSE_UNIVERSAL="yes"
34166
34167 if test "$wxUSE_NANOX" = "yes"; then
34168 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34169 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"
34170 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34171 else
34172 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34173 fi
34174
34175 TOOLKIT=X11
34176 GUIDIST=X11_DIST
34177 fi
34178
34179 if test "$wxUSE_MOTIF" = 1; then
34180 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34181 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34182
34183 ac_find_includes=
34184 for ac_dir in $SEARCH_INCLUDE /usr/include;
34185 do
34186 if test -f "$ac_dir/Xm/Xm.h"; then
34187 ac_find_includes=$ac_dir
34188 break
34189 fi
34190 done
34191
34192 if test "$ac_find_includes" != "" ; then
34193 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34194 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34195
34196 if test "x$ac_find_includes" = "x/usr/include"; then
34197 ac_path_to_include=""
34198 else
34199 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34200 result=$?
34201 if test $result = 0; then
34202 ac_path_to_include=""
34203 else
34204 ac_path_to_include=" -I$ac_find_includes"
34205 fi
34206 fi
34207
34208 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34209 else
34210 save_CFLAGS=$CFLAGS
34211 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34212
34213 cat >conftest.$ac_ext <<_ACEOF
34214 /* confdefs.h. */
34215 _ACEOF
34216 cat confdefs.h >>conftest.$ac_ext
34217 cat >>conftest.$ac_ext <<_ACEOF
34218 /* end confdefs.h. */
34219
34220 #include <Xm/Xm.h>
34221
34222 int
34223 main ()
34224 {
34225
34226 int version;
34227 version = xmUseVersion;
34228
34229 ;
34230 return 0;
34231 }
34232 _ACEOF
34233 rm -f conftest.$ac_objext
34234 if { (ac_try="$ac_compile"
34235 case "(($ac_try" in
34236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34237 *) ac_try_echo=$ac_try;;
34238 esac
34239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34240 (eval "$ac_compile") 2>conftest.er1
34241 ac_status=$?
34242 grep -v '^ *+' conftest.er1 >conftest.err
34243 rm -f conftest.er1
34244 cat conftest.err >&5
34245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246 (exit $ac_status); } && {
34247 test -z "$ac_c_werror_flag" ||
34248 test ! -s conftest.err
34249 } && test -s conftest.$ac_objext; then
34250
34251 { echo "$as_me:$LINENO: result: found in default search path" >&5
34252 echo "${ECHO_T}found in default search path" >&6; }
34253 COMPILED_X_PROGRAM=1
34254
34255 else
34256 echo "$as_me: failed program was:" >&5
34257 sed 's/^/| /' conftest.$ac_ext >&5
34258
34259
34260 { echo "$as_me:$LINENO: result: no" >&5
34261 echo "${ECHO_T}no" >&6; }
34262 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34263 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34264 { (exit 1); exit 1; }; }
34265
34266
34267 fi
34268
34269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34270
34271 CFLAGS=$save_CFLAGS
34272 fi
34273
34274
34275 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34276 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34277
34278 ac_find_libraries=
34279 for ac_dir in $SEARCH_LIB;
34280 do
34281 for ac_extension in a so sl dylib dll.a; do
34282 if test -f "$ac_dir/libXm.$ac_extension"; then
34283 ac_find_libraries=$ac_dir
34284 break 2
34285 fi
34286 done
34287 done
34288
34289
34290 if test "x$ac_find_libraries" != "x" ; then
34291 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34292 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34293
34294
34295 if test "$ac_find_libraries" = "default location"; then
34296 ac_path_to_link=""
34297 else
34298 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34299 result=$?
34300 if test $result = 0; then
34301 ac_path_to_link=""
34302 else
34303 ac_path_to_link=" -L$ac_find_libraries"
34304 fi
34305 fi
34306
34307 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34308 else
34309 save_CFLAGS=$CFLAGS
34310 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34311 save_LIBS="$LIBS"
34312 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34313
34314 cat >conftest.$ac_ext <<_ACEOF
34315 /* confdefs.h. */
34316 _ACEOF
34317 cat confdefs.h >>conftest.$ac_ext
34318 cat >>conftest.$ac_ext <<_ACEOF
34319 /* end confdefs.h. */
34320
34321 #include <Xm/Xm.h>
34322
34323 int
34324 main ()
34325 {
34326
34327 int version;
34328 version = xmUseVersion;
34329
34330 ;
34331 return 0;
34332 }
34333 _ACEOF
34334 rm -f conftest.$ac_objext conftest$ac_exeext
34335 if { (ac_try="$ac_link"
34336 case "(($ac_try" in
34337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34338 *) ac_try_echo=$ac_try;;
34339 esac
34340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34341 (eval "$ac_link") 2>conftest.er1
34342 ac_status=$?
34343 grep -v '^ *+' conftest.er1 >conftest.err
34344 rm -f conftest.er1
34345 cat conftest.err >&5
34346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34347 (exit $ac_status); } && {
34348 test -z "$ac_c_werror_flag" ||
34349 test ! -s conftest.err
34350 } && test -s conftest$ac_exeext &&
34351 $as_test_x conftest$ac_exeext; then
34352
34353 { echo "$as_me:$LINENO: result: found in default search path" >&5
34354 echo "${ECHO_T}found in default search path" >&6; }
34355 COMPILED_X_PROGRAM=1
34356
34357 else
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.$ac_ext >&5
34360
34361
34362 { echo "$as_me:$LINENO: result: no" >&5
34363 echo "${ECHO_T}no" >&6; }
34364 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34365 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34366 { (exit 1); exit 1; }; }
34367
34368
34369 fi
34370
34371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34372 conftest$ac_exeext conftest.$ac_ext
34373
34374 CFLAGS=$save_CFLAGS
34375 LIBS="$save_LIBS"
34376 fi
34377
34378 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34379 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34380 libp_link=""
34381 libsm_ice_link=""
34382 libs_found=0
34383 for libp in "" " -lXp"; do
34384 if test "$libs_found" = "0"; then
34385 for libsm_ice in "" " -lSM -lICE"; do
34386 if test "$libs_found" = "0"; then
34387 save_LIBS="$LIBS"
34388 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34389 save_CFLAGS=$CFLAGS
34390 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34391
34392 cat >conftest.$ac_ext <<_ACEOF
34393 /* confdefs.h. */
34394 _ACEOF
34395 cat confdefs.h >>conftest.$ac_ext
34396 cat >>conftest.$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34398
34399 #include <Xm/Xm.h>
34400 #include <Xm/List.h>
34401
34402 int
34403 main ()
34404 {
34405
34406 XmString string = NULL;
34407 Widget w = NULL;
34408 int position = 0;
34409 XmListAddItem(w, string, position);
34410
34411 ;
34412 return 0;
34413 }
34414 _ACEOF
34415 rm -f conftest.$ac_objext conftest$ac_exeext
34416 if { (ac_try="$ac_link"
34417 case "(($ac_try" in
34418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34419 *) ac_try_echo=$ac_try;;
34420 esac
34421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34422 (eval "$ac_link") 2>conftest.er1
34423 ac_status=$?
34424 grep -v '^ *+' conftest.er1 >conftest.err
34425 rm -f conftest.er1
34426 cat conftest.err >&5
34427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34428 (exit $ac_status); } && {
34429 test -z "$ac_c_werror_flag" ||
34430 test ! -s conftest.err
34431 } && test -s conftest$ac_exeext &&
34432 $as_test_x conftest$ac_exeext; then
34433
34434 libp_link="$libp"
34435 libsm_ice_link="$libsm_ice"
34436 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34437 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34438 libs_found=1
34439
34440 else
34441 echo "$as_me: failed program was:" >&5
34442 sed 's/^/| /' conftest.$ac_ext >&5
34443
34444
34445
34446 fi
34447
34448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34449 conftest$ac_exeext conftest.$ac_ext
34450
34451 LIBS="$save_LIBS"
34452 CFLAGS=$save_CFLAGS
34453 fi
34454 done
34455 fi
34456 done
34457
34458 if test "$libs_found" = "0"; then
34459 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34460 echo "${ECHO_T}can't find the right libraries" >&6; }
34461 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34462 echo "$as_me: error: can't link a simple motif program" >&2;}
34463 { (exit 1); exit 1; }; }
34464 fi
34465
34466 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34467 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34468 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34469 echo $ECHO_N "(cached) $ECHO_C" >&6
34470 else
34471 ac_check_lib_save_LIBS=$LIBS
34472 LIBS="-lSgm $LIBS"
34473 cat >conftest.$ac_ext <<_ACEOF
34474 /* confdefs.h. */
34475 _ACEOF
34476 cat confdefs.h >>conftest.$ac_ext
34477 cat >>conftest.$ac_ext <<_ACEOF
34478 /* end confdefs.h. */
34479
34480 /* Override any GCC internal prototype to avoid an error.
34481 Use char because int might match the return type of a GCC
34482 builtin and then its argument prototype would still apply. */
34483 #ifdef __cplusplus
34484 extern "C"
34485 #endif
34486 char SgCreateList ();
34487 int
34488 main ()
34489 {
34490 return SgCreateList ();
34491 ;
34492 return 0;
34493 }
34494 _ACEOF
34495 rm -f conftest.$ac_objext conftest$ac_exeext
34496 if { (ac_try="$ac_link"
34497 case "(($ac_try" in
34498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34499 *) ac_try_echo=$ac_try;;
34500 esac
34501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34502 (eval "$ac_link") 2>conftest.er1
34503 ac_status=$?
34504 grep -v '^ *+' conftest.er1 >conftest.err
34505 rm -f conftest.er1
34506 cat conftest.err >&5
34507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34508 (exit $ac_status); } && {
34509 test -z "$ac_c_werror_flag" ||
34510 test ! -s conftest.err
34511 } && test -s conftest$ac_exeext &&
34512 $as_test_x conftest$ac_exeext; then
34513 ac_cv_lib_Sgm_SgCreateList=yes
34514 else
34515 echo "$as_me: failed program was:" >&5
34516 sed 's/^/| /' conftest.$ac_ext >&5
34517
34518 ac_cv_lib_Sgm_SgCreateList=no
34519 fi
34520
34521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34522 conftest$ac_exeext conftest.$ac_ext
34523 LIBS=$ac_check_lib_save_LIBS
34524 fi
34525 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34526 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34527 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34528 libsgm_link=" -lSgm"
34529 fi
34530
34531
34532 save_CFLAGS=$CFLAGS
34533 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34534
34535 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34536 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34537 if test "${wx_cv_lib_motif2+set}" = set; then
34538 echo $ECHO_N "(cached) $ECHO_C" >&6
34539 else
34540 cat >conftest.$ac_ext <<_ACEOF
34541 /* confdefs.h. */
34542 _ACEOF
34543 cat confdefs.h >>conftest.$ac_ext
34544 cat >>conftest.$ac_ext <<_ACEOF
34545 /* end confdefs.h. */
34546
34547 #include <Xm/Xm.h>
34548
34549 int
34550 main ()
34551 {
34552
34553 #if XmVersion < 2000
34554 Not Motif 2
34555 #endif
34556
34557 ;
34558 return 0;
34559 }
34560 _ACEOF
34561 rm -f conftest.$ac_objext
34562 if { (ac_try="$ac_compile"
34563 case "(($ac_try" in
34564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34565 *) ac_try_echo=$ac_try;;
34566 esac
34567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34568 (eval "$ac_compile") 2>conftest.er1
34569 ac_status=$?
34570 grep -v '^ *+' conftest.er1 >conftest.err
34571 rm -f conftest.er1
34572 cat conftest.err >&5
34573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34574 (exit $ac_status); } && {
34575 test -z "$ac_c_werror_flag" ||
34576 test ! -s conftest.err
34577 } && test -s conftest.$ac_objext; then
34578 wx_cv_lib_motif2="yes"
34579 else
34580 echo "$as_me: failed program was:" >&5
34581 sed 's/^/| /' conftest.$ac_ext >&5
34582
34583 wx_cv_lib_motif2="no"
34584 fi
34585
34586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34587 fi
34588 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34589 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34590 if test "$wx_cv_lib_motif2" = "yes"; then
34591 cat >>confdefs.h <<\_ACEOF
34592 #define __WXMOTIF20__ 1
34593 _ACEOF
34594
34595 else
34596 cat >>confdefs.h <<\_ACEOF
34597 #define __WXMOTIF20__ 0
34598 _ACEOF
34599
34600 fi
34601
34602 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34603 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34604 if test "${wx_cv_lib_lesstif+set}" = set; then
34605 echo $ECHO_N "(cached) $ECHO_C" >&6
34606 else
34607 cat >conftest.$ac_ext <<_ACEOF
34608 /* confdefs.h. */
34609 _ACEOF
34610 cat confdefs.h >>conftest.$ac_ext
34611 cat >>conftest.$ac_ext <<_ACEOF
34612 /* end confdefs.h. */
34613
34614 #include <Xm/Xm.h>
34615
34616 int
34617 main ()
34618 {
34619
34620 #if !defined(LesstifVersion) || LesstifVersion <= 0
34621 Not Lesstif
34622 #endif
34623
34624 ;
34625 return 0;
34626 }
34627 _ACEOF
34628 rm -f conftest.$ac_objext
34629 if { (ac_try="$ac_compile"
34630 case "(($ac_try" in
34631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34632 *) ac_try_echo=$ac_try;;
34633 esac
34634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34635 (eval "$ac_compile") 2>conftest.er1
34636 ac_status=$?
34637 grep -v '^ *+' conftest.er1 >conftest.err
34638 rm -f conftest.er1
34639 cat conftest.err >&5
34640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641 (exit $ac_status); } && {
34642 test -z "$ac_c_werror_flag" ||
34643 test ! -s conftest.err
34644 } && test -s conftest.$ac_objext; then
34645 wx_cv_lib_lesstif="yes"
34646 else
34647 echo "$as_me: failed program was:" >&5
34648 sed 's/^/| /' conftest.$ac_ext >&5
34649
34650 wx_cv_lib_lesstif="no"
34651 fi
34652
34653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34654
34655 fi
34656 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34657 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34658 if test "$wx_cv_lib_lesstif" = "yes"; then
34659 cat >>confdefs.h <<\_ACEOF
34660 #define __WXLESSTIF__ 1
34661 _ACEOF
34662
34663 else
34664 cat >>confdefs.h <<\_ACEOF
34665 #define __WXLESSTIF__ 0
34666 _ACEOF
34667
34668 fi
34669
34670 CFLAGS=$save_CFLAGS
34671
34672 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34673 TOOLKIT=MOTIF
34674 GUIDIST=MOTIF_DIST
34675 fi
34676
34677 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34678 if test "$wxUSE_LIBXPM" = "sys"; then
34679 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34680 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34681
34682 ac_find_libraries=
34683 for ac_dir in $SEARCH_LIB;
34684 do
34685 for ac_extension in a so sl dylib dll.a; do
34686 if test -f "$ac_dir/libXpm.$ac_extension"; then
34687 ac_find_libraries=$ac_dir
34688 break 2
34689 fi
34690 done
34691 done
34692
34693 if test "$ac_find_libraries" != "" ; then
34694
34695 if test "$ac_find_libraries" = "default location"; then
34696 ac_path_to_link=""
34697 else
34698 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34699 result=$?
34700 if test $result = 0; then
34701 ac_path_to_link=""
34702 else
34703 ac_path_to_link=" -L$ac_find_libraries"
34704 fi
34705 fi
34706
34707 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34708 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34709 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34710
34711 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34712 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34713 if test "${wx_cv_x11_xpm_h+set}" = set; then
34714 echo $ECHO_N "(cached) $ECHO_C" >&6
34715 else
34716
34717 save_CFLAGS=$CFLAGS
34718 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34719
34720 cat >conftest.$ac_ext <<_ACEOF
34721 /* confdefs.h. */
34722 _ACEOF
34723 cat confdefs.h >>conftest.$ac_ext
34724 cat >>conftest.$ac_ext <<_ACEOF
34725 /* end confdefs.h. */
34726
34727 #include <X11/xpm.h>
34728
34729 int
34730 main ()
34731 {
34732
34733 int version;
34734 version = XpmLibraryVersion();
34735
34736 ;
34737 return 0;
34738 }
34739 _ACEOF
34740 rm -f conftest.$ac_objext
34741 if { (ac_try="$ac_compile"
34742 case "(($ac_try" in
34743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34744 *) ac_try_echo=$ac_try;;
34745 esac
34746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34747 (eval "$ac_compile") 2>conftest.er1
34748 ac_status=$?
34749 grep -v '^ *+' conftest.er1 >conftest.err
34750 rm -f conftest.er1
34751 cat conftest.err >&5
34752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34753 (exit $ac_status); } && {
34754 test -z "$ac_c_werror_flag" ||
34755 test ! -s conftest.err
34756 } && test -s conftest.$ac_objext; then
34757 wx_cv_x11_xpm_h=yes
34758 else
34759 echo "$as_me: failed program was:" >&5
34760 sed 's/^/| /' conftest.$ac_ext >&5
34761
34762 wx_cv_x11_xpm_h=no
34763
34764 fi
34765
34766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34767
34768 CFLAGS=$save_CFLAGS
34769
34770
34771 fi
34772 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34773 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34774
34775 if test $wx_cv_x11_xpm_h = "yes"; then
34776 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34777 cat >>confdefs.h <<\_ACEOF
34778 #define wxHAVE_LIB_XPM 1
34779 _ACEOF
34780
34781 else
34782 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34783 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34784 fi
34785 fi
34786
34787 fi
34788
34789 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34790 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34791 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34792 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 else
34794 ac_check_lib_save_LIBS=$LIBS
34795 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34796 cat >conftest.$ac_ext <<_ACEOF
34797 /* confdefs.h. */
34798 _ACEOF
34799 cat confdefs.h >>conftest.$ac_ext
34800 cat >>conftest.$ac_ext <<_ACEOF
34801 /* end confdefs.h. */
34802
34803 /* Override any GCC internal prototype to avoid an error.
34804 Use char because int might match the return type of a GCC
34805 builtin and then its argument prototype would still apply. */
34806 #ifdef __cplusplus
34807 extern "C"
34808 #endif
34809 char XShapeQueryExtension ();
34810 int
34811 main ()
34812 {
34813 return XShapeQueryExtension ();
34814 ;
34815 return 0;
34816 }
34817 _ACEOF
34818 rm -f conftest.$ac_objext conftest$ac_exeext
34819 if { (ac_try="$ac_link"
34820 case "(($ac_try" in
34821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34822 *) ac_try_echo=$ac_try;;
34823 esac
34824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34825 (eval "$ac_link") 2>conftest.er1
34826 ac_status=$?
34827 grep -v '^ *+' conftest.er1 >conftest.err
34828 rm -f conftest.er1
34829 cat conftest.err >&5
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); } && {
34832 test -z "$ac_c_werror_flag" ||
34833 test ! -s conftest.err
34834 } && test -s conftest$ac_exeext &&
34835 $as_test_x conftest$ac_exeext; then
34836 ac_cv_lib_Xext_XShapeQueryExtension=yes
34837 else
34838 echo "$as_me: failed program was:" >&5
34839 sed 's/^/| /' conftest.$ac_ext >&5
34840
34841 ac_cv_lib_Xext_XShapeQueryExtension=no
34842 fi
34843
34844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34845 conftest$ac_exeext conftest.$ac_ext
34846 LIBS=$ac_check_lib_save_LIBS
34847 fi
34848 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34849 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34850 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34851
34852 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34853 wxHAVE_XEXT_LIB=1
34854
34855 fi
34856
34857
34858 if test "$wxHAVE_XEXT_LIB" = 1; then
34859 save_CFLAGS="$CFLAGS"
34860 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34861
34862 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34863 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34864 cat >conftest.$ac_ext <<_ACEOF
34865 /* confdefs.h. */
34866 _ACEOF
34867 cat confdefs.h >>conftest.$ac_ext
34868 cat >>conftest.$ac_ext <<_ACEOF
34869 /* end confdefs.h. */
34870
34871 #include <X11/Xlib.h>
34872 #include <X11/extensions/shape.h>
34873
34874 int
34875 main ()
34876 {
34877
34878 int dummy1, dummy2;
34879 XShapeQueryExtension((Display*)NULL,
34880 (int*)NULL, (int*)NULL);
34881
34882 ;
34883 return 0;
34884 }
34885 _ACEOF
34886 rm -f conftest.$ac_objext
34887 if { (ac_try="$ac_compile"
34888 case "(($ac_try" in
34889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34890 *) ac_try_echo=$ac_try;;
34891 esac
34892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34893 (eval "$ac_compile") 2>conftest.er1
34894 ac_status=$?
34895 grep -v '^ *+' conftest.er1 >conftest.err
34896 rm -f conftest.er1
34897 cat conftest.err >&5
34898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34899 (exit $ac_status); } && {
34900 test -z "$ac_c_werror_flag" ||
34901 test ! -s conftest.err
34902 } && test -s conftest.$ac_objext; then
34903
34904 cat >>confdefs.h <<\_ACEOF
34905 #define HAVE_XSHAPE 1
34906 _ACEOF
34907
34908 { echo "$as_me:$LINENO: result: found" >&5
34909 echo "${ECHO_T}found" >&6; }
34910
34911 else
34912 echo "$as_me: failed program was:" >&5
34913 sed 's/^/| /' conftest.$ac_ext >&5
34914
34915
34916 { echo "$as_me:$LINENO: result: not found" >&5
34917 echo "${ECHO_T}not found" >&6; }
34918
34919 fi
34920
34921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34922 CFLAGS="$save_CFLAGS"
34923
34924 fi
34925 fi
34926
34927 if test "$wxUSE_MAC" = 1; then
34928 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34929 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34930 if test "$GCC" = yes; then
34931 { echo "$as_me:$LINENO: result: gcc" >&5
34932 echo "${ECHO_T}gcc" >&6; }
34933 CPPFLAGS_PASCAL="-fpascal-strings"
34934 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34935 { echo "$as_me:$LINENO: result: xlc" >&5
34936 echo "${ECHO_T}xlc" >&6; }
34937 CPPFLAGS_PASCAL="-qmacpstr"
34938 else
34939 { echo "$as_me:$LINENO: result: none" >&5
34940 echo "${ECHO_T}none" >&6; }
34941 fi
34942
34943 if test "x$wxUSE_UNIX" = "xyes"; then
34944 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34945 else
34946 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34947 fi
34948
34949 TOOLKIT=MAC
34950 GUIDIST=MACX_DIST
34951 WXBASEPORT="_carbon"
34952 fi
34953
34954 if test "$wxUSE_COCOA" = 1; then
34955 TOOLKIT=COCOA
34956 GUIDIST=COCOA_DIST
34957 fi
34958
34959 if test "$wxUSE_PM" = 1; then
34960 TOOLKIT=PM
34961 GUIDIST=PM_DIST
34962 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34963 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34964 if test "${wx_cv_spbcdata+set}" = set; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 else
34967
34968 cat >conftest.$ac_ext <<_ACEOF
34969 /* confdefs.h. */
34970 _ACEOF
34971 cat confdefs.h >>conftest.$ac_ext
34972 cat >>conftest.$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34974
34975 #define INCL_PM
34976 #include <os2.h>
34977
34978 int
34979 main ()
34980 {
34981
34982 SPBCDATA test;
34983
34984 ;
34985 return 0;
34986 }
34987 _ACEOF
34988 rm -f conftest.$ac_objext
34989 if { (ac_try="$ac_compile"
34990 case "(($ac_try" in
34991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34992 *) ac_try_echo=$ac_try;;
34993 esac
34994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34995 (eval "$ac_compile") 2>conftest.er1
34996 ac_status=$?
34997 grep -v '^ *+' conftest.er1 >conftest.err
34998 rm -f conftest.er1
34999 cat conftest.err >&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } && {
35002 test -z "$ac_c_werror_flag" ||
35003 test ! -s conftest.err
35004 } && test -s conftest.$ac_objext; then
35005 wx_cv_spbcdata=yes
35006 else
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.$ac_ext >&5
35009
35010 wx_cv_spbcdata=no
35011
35012 fi
35013
35014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35015
35016
35017 fi
35018 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35019 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35020
35021 if test $wx_cv_spbcdata = "yes"; then
35022 cat >>confdefs.h <<\_ACEOF
35023 #define HAVE_SPBCDATA 1
35024 _ACEOF
35025
35026 fi
35027 fi
35028
35029 if test "$TOOLKIT" = "PM" ; then
35030 TOOLKIT_DIR="os2"
35031 else
35032 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35033 fi
35034
35035 if test "$wxUSE_UNIVERSAL" = "yes"; then
35036 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35037 WIDGET_SET=univ
35038 fi
35039
35040 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35041 DISTDIR="wx\$(TOOLKIT)"
35042 else
35043 USE_GUI=0
35044
35045 TOOLKIT_DIR="base"
35046
35047 if test "$USE_WIN32" = 1 ; then
35048 TOOLKIT="MSW"
35049 fi
35050
35051 GUIDIST="BASE_DIST"
35052 DISTDIR="wxBase"
35053 fi
35054
35055
35056
35057 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35058 if test "$TOOLKIT" = "DFB" ; then
35059 wxUSE_UNICODE_UTF8=yes
35060 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
35061 wxUSE_UNICODE_UTF8=yes
35062 elif test "$USE_OS2" = "1" ; then
35063 wxUSE_UNICODE_UTF8=yes
35064 else
35065 wxUSE_UNICODE_UTF8=no
35066 fi
35067 fi
35068
35069
35070 if test "$wxUSE_GUI" = "yes"; then
35071 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35072
35073 for ac_header in X11/Xlib.h
35074 do
35075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35076 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35079 echo $ECHO_N "(cached) $ECHO_C" >&6
35080 else
35081 cat >conftest.$ac_ext <<_ACEOF
35082 /* confdefs.h. */
35083 _ACEOF
35084 cat confdefs.h >>conftest.$ac_ext
35085 cat >>conftest.$ac_ext <<_ACEOF
35086 /* end confdefs.h. */
35087
35088
35089 #include <$ac_header>
35090 _ACEOF
35091 rm -f conftest.$ac_objext
35092 if { (ac_try="$ac_compile"
35093 case "(($ac_try" in
35094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35095 *) ac_try_echo=$ac_try;;
35096 esac
35097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35098 (eval "$ac_compile") 2>conftest.er1
35099 ac_status=$?
35100 grep -v '^ *+' conftest.er1 >conftest.err
35101 rm -f conftest.er1
35102 cat conftest.err >&5
35103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35104 (exit $ac_status); } && {
35105 test -z "$ac_c_werror_flag" ||
35106 test ! -s conftest.err
35107 } && test -s conftest.$ac_objext; then
35108 eval "$as_ac_Header=yes"
35109 else
35110 echo "$as_me: failed program was:" >&5
35111 sed 's/^/| /' conftest.$ac_ext >&5
35112
35113 eval "$as_ac_Header=no"
35114 fi
35115
35116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35117 fi
35118 ac_res=`eval echo '${'$as_ac_Header'}'`
35119 { echo "$as_me:$LINENO: result: $ac_res" >&5
35120 echo "${ECHO_T}$ac_res" >&6; }
35121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35122 cat >>confdefs.h <<_ACEOF
35123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35124 _ACEOF
35125
35126 fi
35127
35128 done
35129
35130
35131 for ac_header in X11/XKBlib.h
35132 do
35133 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35134 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35137 echo $ECHO_N "(cached) $ECHO_C" >&6
35138 else
35139 cat >conftest.$ac_ext <<_ACEOF
35140 /* confdefs.h. */
35141 _ACEOF
35142 cat confdefs.h >>conftest.$ac_ext
35143 cat >>conftest.$ac_ext <<_ACEOF
35144 /* end confdefs.h. */
35145
35146 #if HAVE_X11_XLIB_H
35147 #include <X11/Xlib.h>
35148 #endif
35149
35150
35151 #include <$ac_header>
35152 _ACEOF
35153 rm -f conftest.$ac_objext
35154 if { (ac_try="$ac_compile"
35155 case "(($ac_try" in
35156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35157 *) ac_try_echo=$ac_try;;
35158 esac
35159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35160 (eval "$ac_compile") 2>conftest.er1
35161 ac_status=$?
35162 grep -v '^ *+' conftest.er1 >conftest.err
35163 rm -f conftest.er1
35164 cat conftest.err >&5
35165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35166 (exit $ac_status); } && {
35167 test -z "$ac_c_werror_flag" ||
35168 test ! -s conftest.err
35169 } && test -s conftest.$ac_objext; then
35170 eval "$as_ac_Header=yes"
35171 else
35172 echo "$as_me: failed program was:" >&5
35173 sed 's/^/| /' conftest.$ac_ext >&5
35174
35175 eval "$as_ac_Header=no"
35176 fi
35177
35178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35179 fi
35180 ac_res=`eval echo '${'$as_ac_Header'}'`
35181 { echo "$as_me:$LINENO: result: $ac_res" >&5
35182 echo "${ECHO_T}$ac_res" >&6; }
35183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35184 cat >>confdefs.h <<_ACEOF
35185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35186 _ACEOF
35187
35188 fi
35189
35190 done
35191
35192 fi
35193 fi
35194
35195
35196
35197 IODBC_C_SRC=""
35198
35199
35200 if test "$TOOLKIT" != "MSW" ; then
35201
35202 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35203
35204 { echo "$as_me:$LINENO: checking for sql.h" >&5
35205 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35206 if test "${ac_cv_header_sql_h+set}" = set; then
35207 echo $ECHO_N "(cached) $ECHO_C" >&6
35208 else
35209 cat >conftest.$ac_ext <<_ACEOF
35210 /* confdefs.h. */
35211 _ACEOF
35212 cat confdefs.h >>conftest.$ac_ext
35213 cat >>conftest.$ac_ext <<_ACEOF
35214 /* end confdefs.h. */
35215
35216
35217 #include <sql.h>
35218 _ACEOF
35219 rm -f conftest.$ac_objext
35220 if { (ac_try="$ac_compile"
35221 case "(($ac_try" in
35222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35223 *) ac_try_echo=$ac_try;;
35224 esac
35225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35226 (eval "$ac_compile") 2>conftest.er1
35227 ac_status=$?
35228 grep -v '^ *+' conftest.er1 >conftest.err
35229 rm -f conftest.er1
35230 cat conftest.err >&5
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); } && {
35233 test -z "$ac_c_werror_flag" ||
35234 test ! -s conftest.err
35235 } && test -s conftest.$ac_objext; then
35236 ac_cv_header_sql_h=yes
35237 else
35238 echo "$as_me: failed program was:" >&5
35239 sed 's/^/| /' conftest.$ac_ext >&5
35240
35241 ac_cv_header_sql_h=no
35242 fi
35243
35244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35245 fi
35246 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35247 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35248 if test $ac_cv_header_sql_h = yes; then
35249 found_sql_h=1
35250 fi
35251
35252
35253 if test "x$found_sql_h" = "x1" ; then
35254 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35255 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35256 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35257 echo $ECHO_N "(cached) $ECHO_C" >&6
35258 else
35259 ac_check_lib_save_LIBS=$LIBS
35260 LIBS="-liodbc $LIBS"
35261 cat >conftest.$ac_ext <<_ACEOF
35262 /* confdefs.h. */
35263 _ACEOF
35264 cat confdefs.h >>conftest.$ac_ext
35265 cat >>conftest.$ac_ext <<_ACEOF
35266 /* end confdefs.h. */
35267
35268 /* Override any GCC internal prototype to avoid an error.
35269 Use char because int might match the return type of a GCC
35270 builtin and then its argument prototype would still apply. */
35271 #ifdef __cplusplus
35272 extern "C"
35273 #endif
35274 char SQLAllocEnv ();
35275 int
35276 main ()
35277 {
35278 return SQLAllocEnv ();
35279 ;
35280 return 0;
35281 }
35282 _ACEOF
35283 rm -f conftest.$ac_objext conftest$ac_exeext
35284 if { (ac_try="$ac_link"
35285 case "(($ac_try" in
35286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35287 *) ac_try_echo=$ac_try;;
35288 esac
35289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35290 (eval "$ac_link") 2>conftest.er1
35291 ac_status=$?
35292 grep -v '^ *+' conftest.er1 >conftest.err
35293 rm -f conftest.er1
35294 cat conftest.err >&5
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); } && {
35297 test -z "$ac_c_werror_flag" ||
35298 test ! -s conftest.err
35299 } && test -s conftest$ac_exeext &&
35300 $as_test_x conftest$ac_exeext; then
35301 ac_cv_lib_iodbc_SQLAllocEnv=yes
35302 else
35303 echo "$as_me: failed program was:" >&5
35304 sed 's/^/| /' conftest.$ac_ext >&5
35305
35306 ac_cv_lib_iodbc_SQLAllocEnv=no
35307 fi
35308
35309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35310 conftest$ac_exeext conftest.$ac_ext
35311 LIBS=$ac_check_lib_save_LIBS
35312 fi
35313 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35314 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35315 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35316 ODBC_LINK=" -liodbc"
35317 else
35318
35319 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35320 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35321 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35323 else
35324 ac_check_lib_save_LIBS=$LIBS
35325 LIBS="-lunixodbc $LIBS"
35326 cat >conftest.$ac_ext <<_ACEOF
35327 /* confdefs.h. */
35328 _ACEOF
35329 cat confdefs.h >>conftest.$ac_ext
35330 cat >>conftest.$ac_ext <<_ACEOF
35331 /* end confdefs.h. */
35332
35333 /* Override any GCC internal prototype to avoid an error.
35334 Use char because int might match the return type of a GCC
35335 builtin and then its argument prototype would still apply. */
35336 #ifdef __cplusplus
35337 extern "C"
35338 #endif
35339 char SQLAllocEnv ();
35340 int
35341 main ()
35342 {
35343 return SQLAllocEnv ();
35344 ;
35345 return 0;
35346 }
35347 _ACEOF
35348 rm -f conftest.$ac_objext conftest$ac_exeext
35349 if { (ac_try="$ac_link"
35350 case "(($ac_try" in
35351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35352 *) ac_try_echo=$ac_try;;
35353 esac
35354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35355 (eval "$ac_link") 2>conftest.er1
35356 ac_status=$?
35357 grep -v '^ *+' conftest.er1 >conftest.err
35358 rm -f conftest.er1
35359 cat conftest.err >&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } && {
35362 test -z "$ac_c_werror_flag" ||
35363 test ! -s conftest.err
35364 } && test -s conftest$ac_exeext &&
35365 $as_test_x conftest$ac_exeext; then
35366 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35367 else
35368 echo "$as_me: failed program was:" >&5
35369 sed 's/^/| /' conftest.$ac_ext >&5
35370
35371 ac_cv_lib_unixodbc_SQLAllocEnv=no
35372 fi
35373
35374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35375 conftest$ac_exeext conftest.$ac_ext
35376 LIBS=$ac_check_lib_save_LIBS
35377 fi
35378 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35379 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35380 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35381 ODBC_LINK=" -lunixodbc"
35382 else
35383
35384 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35385 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35386 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35387 echo $ECHO_N "(cached) $ECHO_C" >&6
35388 else
35389 ac_check_lib_save_LIBS=$LIBS
35390 LIBS="-lodbc $LIBS"
35391 cat >conftest.$ac_ext <<_ACEOF
35392 /* confdefs.h. */
35393 _ACEOF
35394 cat confdefs.h >>conftest.$ac_ext
35395 cat >>conftest.$ac_ext <<_ACEOF
35396 /* end confdefs.h. */
35397
35398 /* Override any GCC internal prototype to avoid an error.
35399 Use char because int might match the return type of a GCC
35400 builtin and then its argument prototype would still apply. */
35401 #ifdef __cplusplus
35402 extern "C"
35403 #endif
35404 char SQLAllocEnv ();
35405 int
35406 main ()
35407 {
35408 return SQLAllocEnv ();
35409 ;
35410 return 0;
35411 }
35412 _ACEOF
35413 rm -f conftest.$ac_objext conftest$ac_exeext
35414 if { (ac_try="$ac_link"
35415 case "(($ac_try" in
35416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35417 *) ac_try_echo=$ac_try;;
35418 esac
35419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35420 (eval "$ac_link") 2>conftest.er1
35421 ac_status=$?
35422 grep -v '^ *+' conftest.er1 >conftest.err
35423 rm -f conftest.er1
35424 cat conftest.err >&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } && {
35427 test -z "$ac_c_werror_flag" ||
35428 test ! -s conftest.err
35429 } && test -s conftest$ac_exeext &&
35430 $as_test_x conftest$ac_exeext; then
35431 ac_cv_lib_odbc_SQLAllocEnv=yes
35432 else
35433 echo "$as_me: failed program was:" >&5
35434 sed 's/^/| /' conftest.$ac_ext >&5
35435
35436 ac_cv_lib_odbc_SQLAllocEnv=no
35437 fi
35438
35439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35440 conftest$ac_exeext conftest.$ac_ext
35441 LIBS=$ac_check_lib_save_LIBS
35442 fi
35443 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35444 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35445 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35446 ODBC_LINK=" -lodbc"
35447 fi
35448
35449
35450 fi
35451
35452
35453 fi
35454
35455 fi
35456 if test "x$ODBC_LINK" = "x" ; then
35457 if test "$wxUSE_ODBC" = "sys" ; then
35458 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35459 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35460 { (exit 1); exit 1; }; }
35461 else
35462 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35463 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35464 wxUSE_ODBC=builtin
35465 fi
35466 else
35467 wxUSE_ODBC=sys
35468 fi
35469 fi
35470
35471 if test "$wxUSE_ODBC" = "builtin" ; then
35472 cat >>confdefs.h <<\_ACEOF
35473 #define wxUSE_BUILTIN_IODBC 1
35474 _ACEOF
35475
35476 fi
35477 fi
35478
35479 if test "$wxUSE_ODBC" != "no" ; then
35480 cat >>confdefs.h <<\_ACEOF
35481 #define wxUSE_ODBC 1
35482 _ACEOF
35483
35484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35485
35486 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35487 fi
35488
35489
35490 if test "$wxUSE_DISPLAY" = "yes"; then
35491 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35492 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35493 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35494
35495 ac_find_libraries=
35496 for ac_dir in $SEARCH_LIB;
35497 do
35498 for ac_extension in a so sl dylib dll.a; do
35499 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35500 ac_find_libraries=$ac_dir
35501 break 2
35502 fi
35503 done
35504 done
35505
35506 if test "$ac_find_libraries" != "" ; then
35507
35508 if test "$ac_find_libraries" = "default location"; then
35509 ac_path_to_link=""
35510 else
35511 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35512 result=$?
35513 if test $result = 0; then
35514 ac_path_to_link=""
35515 else
35516 ac_path_to_link=" -L$ac_find_libraries"
35517 fi
35518 fi
35519
35520 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35521 LDFLAGS="$LDFLAGS $ac_path_to_link"
35522 fi
35523 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35524 { echo "$as_me:$LINENO: result: yes" >&5
35525 echo "${ECHO_T}yes" >&6; }
35526
35527 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35528 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35529
35530 ac_find_libraries=
35531 for ac_dir in $SEARCH_LIB;
35532 do
35533 for ac_extension in a so sl dylib dll.a; do
35534 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35535 ac_find_libraries=$ac_dir
35536 break 2
35537 fi
35538 done
35539 done
35540
35541 if test "$ac_find_libraries" != "" ; then
35542 { echo "$as_me:$LINENO: result: yes" >&5
35543 echo "${ECHO_T}yes" >&6; }
35544
35545 for ac_header in X11/extensions/xf86vmode.h
35546 do
35547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35551 echo $ECHO_N "(cached) $ECHO_C" >&6
35552 else
35553 cat >conftest.$ac_ext <<_ACEOF
35554 /* confdefs.h. */
35555 _ACEOF
35556 cat confdefs.h >>conftest.$ac_ext
35557 cat >>conftest.$ac_ext <<_ACEOF
35558 /* end confdefs.h. */
35559
35560 #if HAVE_X11_XLIB_H
35561 #include <X11/Xlib.h>
35562 #endif
35563
35564
35565 #include <$ac_header>
35566 _ACEOF
35567 rm -f conftest.$ac_objext
35568 if { (ac_try="$ac_compile"
35569 case "(($ac_try" in
35570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35571 *) ac_try_echo=$ac_try;;
35572 esac
35573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35574 (eval "$ac_compile") 2>conftest.er1
35575 ac_status=$?
35576 grep -v '^ *+' conftest.er1 >conftest.err
35577 rm -f conftest.er1
35578 cat conftest.err >&5
35579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35580 (exit $ac_status); } && {
35581 test -z "$ac_c_werror_flag" ||
35582 test ! -s conftest.err
35583 } && test -s conftest.$ac_objext; then
35584 eval "$as_ac_Header=yes"
35585 else
35586 echo "$as_me: failed program was:" >&5
35587 sed 's/^/| /' conftest.$ac_ext >&5
35588
35589 eval "$as_ac_Header=no"
35590 fi
35591
35592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35593 fi
35594 ac_res=`eval echo '${'$as_ac_Header'}'`
35595 { echo "$as_me:$LINENO: result: $ac_res" >&5
35596 echo "${ECHO_T}$ac_res" >&6; }
35597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35598 cat >>confdefs.h <<_ACEOF
35599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35600 _ACEOF
35601
35602 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35603
35604 fi
35605
35606 done
35607
35608 else
35609 { echo "$as_me:$LINENO: result: no" >&5
35610 echo "${ECHO_T}no" >&6; }
35611 fi
35612
35613 else
35614 { echo "$as_me:$LINENO: result: no" >&5
35615 echo "${ECHO_T}no" >&6; }
35616 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35617 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35618 wxUSE_DISPLAY="no"
35619 fi
35620 elif test "$wxUSE_MSW" = 1; then
35621 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35622 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35623 if test "${ac_cv_header_ddraw_h+set}" = set; then
35624 echo $ECHO_N "(cached) $ECHO_C" >&6
35625 else
35626 cat >conftest.$ac_ext <<_ACEOF
35627 /* confdefs.h. */
35628 _ACEOF
35629 cat confdefs.h >>conftest.$ac_ext
35630 cat >>conftest.$ac_ext <<_ACEOF
35631 /* end confdefs.h. */
35632 #include <windows.h>
35633
35634 #include <ddraw.h>
35635 _ACEOF
35636 rm -f conftest.$ac_objext
35637 if { (ac_try="$ac_compile"
35638 case "(($ac_try" in
35639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35640 *) ac_try_echo=$ac_try;;
35641 esac
35642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35643 (eval "$ac_compile") 2>conftest.er1
35644 ac_status=$?
35645 grep -v '^ *+' conftest.er1 >conftest.err
35646 rm -f conftest.er1
35647 cat conftest.err >&5
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); } && {
35650 test -z "$ac_c_werror_flag" ||
35651 test ! -s conftest.err
35652 } && test -s conftest.$ac_objext; then
35653 ac_cv_header_ddraw_h=yes
35654 else
35655 echo "$as_me: failed program was:" >&5
35656 sed 's/^/| /' conftest.$ac_ext >&5
35657
35658 ac_cv_header_ddraw_h=no
35659 fi
35660
35661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35662 fi
35663 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35664 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35665
35666
35667 fi
35668 fi
35669
35670 if test "$wxUSE_DETECT_SM" = "yes"; then
35671 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35672 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35673 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35674
35675 ac_find_libraries=
35676 for ac_dir in $SEARCH_LIB;
35677 do
35678 for ac_extension in a so sl dylib dll.a; do
35679 if test -f "$ac_dir/libSM.$ac_extension"; then
35680 ac_find_libraries=$ac_dir
35681 break 2
35682 fi
35683 done
35684 done
35685
35686 if test "$ac_find_libraries" != "" ; then
35687
35688 if test "$ac_find_libraries" = "default location"; then
35689 ac_path_to_link=""
35690 else
35691 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35692 result=$?
35693 if test $result = 0; then
35694 ac_path_to_link=""
35695 else
35696 ac_path_to_link=" -L$ac_find_libraries"
35697 fi
35698 fi
35699
35700 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35701 LDFLAGS="$LDFLAGS $ac_path_to_link"
35702 fi
35703 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35704 { echo "$as_me:$LINENO: result: yes" >&5
35705 echo "${ECHO_T}yes" >&6; }
35706 else
35707 { echo "$as_me:$LINENO: result: no" >&5
35708 echo "${ECHO_T}no" >&6; }
35709 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35710 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35711 wxUSE_DETECT_SM="no"
35712 fi
35713 else
35714 wxUSE_DETECT_SM="no"
35715 fi
35716 fi
35717
35718
35719
35720 USE_OPENGL=0
35721 if test "$wxUSE_OPENGL" = "yes"; then
35722 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35723 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35724 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35725 wxUSE_OPENGL="no"
35726 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35727 OPENGL_LIBS="-framework OpenGL -framework AGL"
35728 elif test "$wxUSE_MSW" = 1; then
35729 OPENGL_LIBS="-lopengl32 -lglu32"
35730 else
35731 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35732 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35733
35734 ac_find_includes=
35735 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35736 do
35737 if test -f "$ac_dir/GL/gl.h"; then
35738 ac_find_includes=$ac_dir
35739 break
35740 fi
35741 done
35742
35743 if test "$ac_find_includes" != "" ; then
35744 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35745 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35746
35747 if test "x$ac_find_includes" = "x/usr/include"; then
35748 ac_path_to_include=""
35749 else
35750 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35751 result=$?
35752 if test $result = 0; then
35753 ac_path_to_include=""
35754 else
35755 ac_path_to_include=" -I$ac_find_includes"
35756 fi
35757 fi
35758
35759 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35760 else
35761 { echo "$as_me:$LINENO: result: not found" >&5
35762 echo "${ECHO_T}not found" >&6; }
35763 fi
35764
35765 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35766 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35767 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35768 echo $ECHO_N "(cached) $ECHO_C" >&6
35769 else
35770 cat >conftest.$ac_ext <<_ACEOF
35771 /* confdefs.h. */
35772 _ACEOF
35773 cat confdefs.h >>conftest.$ac_ext
35774 cat >>conftest.$ac_ext <<_ACEOF
35775 /* end confdefs.h. */
35776
35777
35778 #include <GL/gl.h>
35779 _ACEOF
35780 rm -f conftest.$ac_objext
35781 if { (ac_try="$ac_compile"
35782 case "(($ac_try" in
35783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35784 *) ac_try_echo=$ac_try;;
35785 esac
35786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35787 (eval "$ac_compile") 2>conftest.er1
35788 ac_status=$?
35789 grep -v '^ *+' conftest.er1 >conftest.err
35790 rm -f conftest.er1
35791 cat conftest.err >&5
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); } && {
35794 test -z "$ac_c_werror_flag" ||
35795 test ! -s conftest.err
35796 } && test -s conftest.$ac_objext; then
35797 ac_cv_header_GL_gl_h=yes
35798 else
35799 echo "$as_me: failed program was:" >&5
35800 sed 's/^/| /' conftest.$ac_ext >&5
35801
35802 ac_cv_header_GL_gl_h=no
35803 fi
35804
35805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35806 fi
35807 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35808 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35809 if test $ac_cv_header_GL_gl_h = yes; then
35810
35811 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35812 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35813 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35814 echo $ECHO_N "(cached) $ECHO_C" >&6
35815 else
35816 cat >conftest.$ac_ext <<_ACEOF
35817 /* confdefs.h. */
35818 _ACEOF
35819 cat confdefs.h >>conftest.$ac_ext
35820 cat >>conftest.$ac_ext <<_ACEOF
35821 /* end confdefs.h. */
35822
35823
35824 #include <GL/glu.h>
35825 _ACEOF
35826 rm -f conftest.$ac_objext
35827 if { (ac_try="$ac_compile"
35828 case "(($ac_try" in
35829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35830 *) ac_try_echo=$ac_try;;
35831 esac
35832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35833 (eval "$ac_compile") 2>conftest.er1
35834 ac_status=$?
35835 grep -v '^ *+' conftest.er1 >conftest.err
35836 rm -f conftest.er1
35837 cat conftest.err >&5
35838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35839 (exit $ac_status); } && {
35840 test -z "$ac_c_werror_flag" ||
35841 test ! -s conftest.err
35842 } && test -s conftest.$ac_objext; then
35843 ac_cv_header_GL_glu_h=yes
35844 else
35845 echo "$as_me: failed program was:" >&5
35846 sed 's/^/| /' conftest.$ac_ext >&5
35847
35848 ac_cv_header_GL_glu_h=no
35849 fi
35850
35851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35852 fi
35853 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35854 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35855 if test $ac_cv_header_GL_glu_h = yes; then
35856
35857 found_gl=0
35858
35859 { echo "$as_me:$LINENO: checking for -lGL" >&5
35860 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35861
35862 ac_find_libraries=
35863 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35864 do
35865 for ac_extension in a so sl dylib dll.a; do
35866 if test -f "$ac_dir/libGL.$ac_extension"; then
35867 ac_find_libraries=$ac_dir
35868 break 2
35869 fi
35870 done
35871 done
35872
35873 if test "$ac_find_libraries" != "" ; then
35874 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35875 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35876
35877
35878 if test "$ac_find_libraries" = "default location"; then
35879 ac_path_to_link=""
35880 else
35881 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35882 result=$?
35883 if test $result = 0; then
35884 ac_path_to_link=""
35885 else
35886 ac_path_to_link=" -L$ac_find_libraries"
35887 fi
35888 fi
35889
35890 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35891 LDFLAGS_GL="$ac_path_to_link"
35892 fi
35893
35894 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35895 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35896
35897 ac_find_libraries=
35898 for ac_dir in $SEARCH_LIB;
35899 do
35900 for ac_extension in a so sl dylib dll.a; do
35901 if test -f "$ac_dir/libGLU.$ac_extension"; then
35902 ac_find_libraries=$ac_dir
35903 break 2
35904 fi
35905 done
35906 done
35907
35908 if test "$ac_find_libraries" != "" ; then
35909
35910 if test "$ac_find_libraries" = "default location"; then
35911 ac_path_to_link=""
35912 else
35913 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35914 result=$?
35915 if test $result = 0; then
35916 ac_path_to_link=""
35917 else
35918 ac_path_to_link=" -L$ac_find_libraries"
35919 fi
35920 fi
35921
35922 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35923 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35924 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35925 fi
35926
35927 found_gl=1
35928 OPENGL_LIBS="-lGL -lGLU"
35929 { echo "$as_me:$LINENO: result: yes" >&5
35930 echo "${ECHO_T}yes" >&6; }
35931 else
35932 { echo "$as_me:$LINENO: result: no" >&5
35933 echo "${ECHO_T}no" >&6; }
35934 fi
35935 else
35936 { echo "$as_me:$LINENO: result: no" >&5
35937 echo "${ECHO_T}no" >&6; }
35938 fi
35939
35940 if test "$found_gl" != 1; then
35941 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35942 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35943
35944 ac_find_libraries=
35945 for ac_dir in $SEARCH_LIB;
35946 do
35947 for ac_extension in a so sl dylib dll.a; do
35948 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35949 ac_find_libraries=$ac_dir
35950 break 2
35951 fi
35952 done
35953 done
35954
35955 if test "$ac_find_libraries" != "" ; then
35956
35957 if test "$ac_find_libraries" = "default location"; then
35958 ac_path_to_link=""
35959 else
35960 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35961 result=$?
35962 if test $result = 0; then
35963 ac_path_to_link=""
35964 else
35965 ac_path_to_link=" -L$ac_find_libraries"
35966 fi
35967 fi
35968
35969 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35970 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35971 { echo "$as_me:$LINENO: result: yes" >&5
35972 echo "${ECHO_T}yes" >&6; }
35973 else
35974 { echo "$as_me:$LINENO: result: no" >&5
35975 echo "${ECHO_T}no" >&6; }
35976 fi
35977 fi
35978
35979 fi
35980
35981
35982
35983 fi
35984
35985
35986
35987 if test "x$OPENGL_LIBS" = "x"; then
35988 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35989 echo "$as_me: error: OpenGL libraries not available" >&2;}
35990 { (exit 1); exit 1; }; }
35991 fi
35992 fi
35993
35994 if test "$wxUSE_OPENGL" = "yes"; then
35995 USE_OPENGL=1
35996 cat >>confdefs.h <<\_ACEOF
35997 #define wxUSE_OPENGL 1
35998 _ACEOF
35999
36000 cat >>confdefs.h <<\_ACEOF
36001 #define wxUSE_GLCANVAS 1
36002 _ACEOF
36003
36004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36005 fi
36006 fi
36007
36008
36009 if test -n "$TOOLKIT" ; then
36010 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36011 fi
36012
36013
36014
36015 if test "$wxUSE_SHARED" = "yes"; then
36016 case "${host}" in
36017 *-pc-msdosdjgpp )
36018 wxUSE_SHARED=no
36019 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36020 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36021 ;;
36022 esac
36023 fi
36024
36025 if test "$wxUSE_SHARED" = "yes"; then
36026
36027
36028 case "${host}" in
36029 *-*-cygwin* | *-*-mingw* )
36030 wx_cv_version_script=no
36031 ;;
36032
36033 *)
36034 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36035 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36036 if test "${wx_cv_version_script+set}" = set; then
36037 echo $ECHO_N "(cached) $ECHO_C" >&6
36038 else
36039
36040 echo "VER_1 { *; };" >conftest.sym
36041 echo "int main() { return 0; }" >conftest.cpp
36042
36043 if { ac_try='
36044 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36045 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36047 (eval $ac_try) 2>&5
36048 ac_status=$?
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); }; } ; then
36051 if test -s conftest.stderr ; then
36052 wx_cv_version_script=no
36053 else
36054 wx_cv_version_script=yes
36055 fi
36056 else
36057 wx_cv_version_script=no
36058 fi
36059
36060 if test $wx_cv_version_script = yes
36061 then
36062 echo "struct B { virtual ~B() { } }; \
36063 struct D : public B { }; \
36064 void F() { D d; }" > conftest.cpp
36065
36066 if { ac_try='
36067 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36068 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36070 (eval $ac_try) 2>&5
36071 ac_status=$?
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); }; } &&
36074 { ac_try='
36075 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36076 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36078 (eval $ac_try) 2>&5
36079 ac_status=$?
36080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081 (exit $ac_status); }; }
36082 then
36083 if { ac_try='
36084 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36085 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36087 (eval $ac_try) 2>&5
36088 ac_status=$?
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); }; }
36091 then
36092 wx_cv_version_script=yes
36093 else
36094 wx_cv_version_script=no
36095 fi
36096 fi
36097 fi
36098
36099 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36100 rm -f conftest1.output conftest2.output conftest3.output
36101
36102 fi
36103 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36104 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36105
36106 if test $wx_cv_version_script = yes ; then
36107 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36108 fi
36109 ;;
36110 esac
36111
36112
36113 if test "$wxUSE_VISIBILITY" != "no"; then
36114
36115
36116 if test -n "$GCC"; then
36117 CFLAGS_VISIBILITY="-fvisibility=hidden"
36118 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36119 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36120 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36121 if test "${wx_cv_cc_visibility+set}" = set; then
36122 echo $ECHO_N "(cached) $ECHO_C" >&6
36123 else
36124
36125 wx_save_CXXFLAGS="$CXXFLAGS"
36126 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36127 ac_ext=cpp
36128 ac_cpp='$CXXCPP $CPPFLAGS'
36129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36132
36133 cat >conftest.$ac_ext <<_ACEOF
36134 /* confdefs.h. */
36135 _ACEOF
36136 cat confdefs.h >>conftest.$ac_ext
36137 cat >>conftest.$ac_ext <<_ACEOF
36138 /* end confdefs.h. */
36139
36140 /* we need gcc >= 4.0, older versions with visibility support
36141 didn't have class visibility: */
36142 #if defined(__GNUC__) && __GNUC__ < 4
36143 error this gcc is too old;
36144 #endif
36145
36146 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36147 extern __attribute__((__visibility__("default"))) int exportedvar;
36148 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36149 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36150 class __attribute__((__visibility__("default"))) Foo {
36151 Foo() {}
36152 };
36153
36154 int
36155 main ()
36156 {
36157
36158 ;
36159 return 0;
36160 }
36161 _ACEOF
36162 rm -f conftest.$ac_objext
36163 if { (ac_try="$ac_compile"
36164 case "(($ac_try" in
36165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36166 *) ac_try_echo=$ac_try;;
36167 esac
36168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36169 (eval "$ac_compile") 2>conftest.er1
36170 ac_status=$?
36171 grep -v '^ *+' conftest.er1 >conftest.err
36172 rm -f conftest.er1
36173 cat conftest.err >&5
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); } && {
36176 test -z "$ac_cxx_werror_flag" ||
36177 test ! -s conftest.err
36178 } && test -s conftest.$ac_objext; then
36179 wx_cv_cc_visibility=yes
36180 else
36181 echo "$as_me: failed program was:" >&5
36182 sed 's/^/| /' conftest.$ac_ext >&5
36183
36184 wx_cv_cc_visibility=no
36185 fi
36186
36187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36188 ac_ext=c
36189 ac_cpp='$CPP $CPPFLAGS'
36190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36193
36194 CXXFLAGS="$wx_save_CXXFLAGS"
36195 fi
36196
36197 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36198 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36199 if test $wx_cv_cc_visibility = yes; then
36200 cat >>confdefs.h <<\_ACEOF
36201 #define HAVE_VISIBILITY 1
36202 _ACEOF
36203
36204
36205 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36206 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36207 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36208 echo $ECHO_N "(cached) $ECHO_C" >&6
36209 else
36210
36211 wx_save_CXXFLAGS="$CXXFLAGS"
36212 wx_save_LDFLAGS="$LDFLAGS"
36213 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36214 LDFLAGS="$LDFLAGS -shared -fPIC"
36215 ac_ext=cpp
36216 ac_cpp='$CXXCPP $CPPFLAGS'
36217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36220
36221 cat >conftest.$ac_ext <<_ACEOF
36222 /* confdefs.h. */
36223 _ACEOF
36224 cat confdefs.h >>conftest.$ac_ext
36225 cat >>conftest.$ac_ext <<_ACEOF
36226 /* end confdefs.h. */
36227
36228 #include <string>
36229
36230 int
36231 main ()
36232 {
36233
36234 std::string s("hello");
36235 return s.length();
36236
36237 ;
36238 return 0;
36239 }
36240 _ACEOF
36241 rm -f conftest.$ac_objext conftest$ac_exeext
36242 if { (ac_try="$ac_link"
36243 case "(($ac_try" in
36244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36245 *) ac_try_echo=$ac_try;;
36246 esac
36247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36248 (eval "$ac_link") 2>conftest.er1
36249 ac_status=$?
36250 grep -v '^ *+' conftest.er1 >conftest.err
36251 rm -f conftest.er1
36252 cat conftest.err >&5
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); } && {
36255 test -z "$ac_cxx_werror_flag" ||
36256 test ! -s conftest.err
36257 } && test -s conftest$ac_exeext &&
36258 $as_test_x conftest$ac_exeext; then
36259 wx_cv_cc_broken_libstdcxx_visibility=no
36260 else
36261 echo "$as_me: failed program was:" >&5
36262 sed 's/^/| /' conftest.$ac_ext >&5
36263
36264 wx_cv_cc_broken_libstdcxx_visibility=yes
36265 fi
36266
36267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36268 conftest$ac_exeext conftest.$ac_ext
36269 ac_ext=c
36270 ac_cpp='$CPP $CPPFLAGS'
36271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36274
36275 CXXFLAGS="$wx_save_CXXFLAGS"
36276 LDFLAGS="$wx_save_LDFLAGS"
36277 fi
36278
36279 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36280 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36281 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36282 cat >>confdefs.h <<\_ACEOF
36283 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36284 _ACEOF
36285
36286 fi
36287
36288 else
36289 CFLAGS_VISIBILITY=""
36290 CXXFLAGS_VISIBILITY=""
36291 fi
36292
36293
36294 fi
36295
36296 fi
36297
36298 if test "x$SUNCXX" = xyes; then
36299 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36300 WXCONFIG_RPATH="-R\$libdir"
36301 else
36302 case "${host}" in
36303 *-*-linux* | *-*-gnu* )
36304 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36305 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36306 ;;
36307
36308 *-*-solaris2* )
36309
36310 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36311
36312 saveLdflags="$LDFLAGS"
36313 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36314 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36315 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36316 cat >conftest.$ac_ext <<_ACEOF
36317 /* confdefs.h. */
36318 _ACEOF
36319 cat confdefs.h >>conftest.$ac_ext
36320 cat >>conftest.$ac_ext <<_ACEOF
36321 /* end confdefs.h. */
36322
36323 int
36324 main ()
36325 {
36326
36327 ;
36328 return 0;
36329 }
36330 _ACEOF
36331 rm -f conftest.$ac_objext conftest$ac_exeext
36332 if { (ac_try="$ac_link"
36333 case "(($ac_try" in
36334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36335 *) ac_try_echo=$ac_try;;
36336 esac
36337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36338 (eval "$ac_link") 2>conftest.er1
36339 ac_status=$?
36340 grep -v '^ *+' conftest.er1 >conftest.err
36341 rm -f conftest.er1
36342 cat conftest.err >&5
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); } && {
36345 test -z "$ac_c_werror_flag" ||
36346 test ! -s conftest.err
36347 } && test -s conftest$ac_exeext &&
36348 $as_test_x conftest$ac_exeext; then
36349
36350 { echo "$as_me:$LINENO: result: yes" >&5
36351 echo "${ECHO_T}yes" >&6; }
36352 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36353 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36354
36355 else
36356 echo "$as_me: failed program was:" >&5
36357 sed 's/^/| /' conftest.$ac_ext >&5
36358
36359
36360 { echo "$as_me:$LINENO: result: no" >&5
36361 echo "${ECHO_T}no" >&6; }
36362 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36363 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36364 LDFLAGS="$saveLdflags -Wl,-R,/"
36365 cat >conftest.$ac_ext <<_ACEOF
36366 /* confdefs.h. */
36367 _ACEOF
36368 cat confdefs.h >>conftest.$ac_ext
36369 cat >>conftest.$ac_ext <<_ACEOF
36370 /* end confdefs.h. */
36371
36372 int
36373 main ()
36374 {
36375
36376 ;
36377 return 0;
36378 }
36379 _ACEOF
36380 rm -f conftest.$ac_objext conftest$ac_exeext
36381 if { (ac_try="$ac_link"
36382 case "(($ac_try" in
36383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36384 *) ac_try_echo=$ac_try;;
36385 esac
36386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36387 (eval "$ac_link") 2>conftest.er1
36388 ac_status=$?
36389 grep -v '^ *+' conftest.er1 >conftest.err
36390 rm -f conftest.er1
36391 cat conftest.err >&5
36392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36393 (exit $ac_status); } && {
36394 test -z "$ac_c_werror_flag" ||
36395 test ! -s conftest.err
36396 } && test -s conftest$ac_exeext &&
36397 $as_test_x conftest$ac_exeext; then
36398
36399 { echo "$as_me:$LINENO: result: yes" >&5
36400 echo "${ECHO_T}yes" >&6; }
36401 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36402 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36403
36404 else
36405 echo "$as_me: failed program was:" >&5
36406 sed 's/^/| /' conftest.$ac_ext >&5
36407
36408
36409 { echo "$as_me:$LINENO: result: no" >&5
36410 echo "${ECHO_T}no" >&6; }
36411
36412 fi
36413
36414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36415 conftest$ac_exeext conftest.$ac_ext
36416
36417 fi
36418
36419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36420 conftest$ac_exeext conftest.$ac_ext
36421 LDFLAGS="$saveLdflags"
36422 ;;
36423
36424 *-*-darwin* )
36425 install_name_tool=`which install_name_tool`
36426 if test "$install_name_tool" -a -x "$install_name_tool"; then
36427 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36428 cat <<EOF >change-install-names
36429 #!/bin/sh
36430 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36431 inst_cmd="install_name_tool "
36432 for i in \${libnames} ; do
36433 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36434 done
36435 \${inst_cmd} \${3}
36436 EOF
36437 chmod +x change-install-names
36438 fi
36439 ;;
36440
36441 *-*-cygwin* | *-*-mingw32* )
36442 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36443 ;;
36444
36445 *-*-hpux* )
36446 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36447 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36448 ;;
36449
36450 esac
36451 fi
36452
36453 if test $wxUSE_RPATH = "no"; then
36454 SAMPLES_RPATH_FLAG=''
36455 SAMPLES_RPATH_POSTLINK=''
36456 WXCONFIG_RPATH=''
36457 fi
36458
36459 SHARED=1
36460
36461 else
36462
36463 config_linkage_component="-static"
36464 SHARED=0
36465
36466 fi
36467
36468
36469 UNICODE=0
36470 lib_unicode_suffix=
36471 WX_CHARTYPE="ansi"
36472 if test "$wxUSE_UNICODE" = "yes"; then
36473 lib_unicode_suffix=u
36474 WX_CHARTYPE="unicode"
36475 UNICODE=1
36476 fi
36477
36478 lib_debug_suffix=
36479 WX_DEBUGTYPE="release"
36480 DEBUG_FLAG=0
36481 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36482 lib_debug_suffix=d
36483 WX_DEBUGTYPE="debug"
36484 DEBUG_FLAG=1
36485 fi
36486
36487 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36488 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36489
36490 DEBUG_INFO=0
36491 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36492 DEBUG_INFO=1
36493 fi
36494
36495 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36496
36497 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36498
36499 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36500
36501 if test "$cross_compiling" = "yes"; then
36502 HOST_SUFFIX="-$host_alias"
36503 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36504 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36505 fi
36506
36507 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36508 if test "${TOOLKIT_DIR}" = "os2"; then
36509 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36510 else
36511 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36512 fi
36513
36514
36515
36516 if test "$wxUSE_COCOA" = 1; then
36517
36518 ac_ext=c
36519 ac_cpp='$CPP $CPPFLAGS'
36520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36523
36524 ac_ext=m
36525
36526 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36527 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36528 cat >conftest.$ac_ext <<_ACEOF
36529 /* confdefs.h. */
36530 _ACEOF
36531 cat confdefs.h >>conftest.$ac_ext
36532 cat >>conftest.$ac_ext <<_ACEOF
36533 /* end confdefs.h. */
36534 #include <AppKit/NSEvent.h>
36535 #include <CoreFoundation/CoreFoundation.h>
36536
36537 int
36538 main ()
36539 {
36540
36541 ;
36542 return 0;
36543 }
36544 _ACEOF
36545 rm -f conftest.$ac_objext
36546 if { (ac_try="$ac_compile"
36547 case "(($ac_try" in
36548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36549 *) ac_try_echo=$ac_try;;
36550 esac
36551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36552 (eval "$ac_compile") 2>conftest.er1
36553 ac_status=$?
36554 grep -v '^ *+' conftest.er1 >conftest.err
36555 rm -f conftest.er1
36556 cat conftest.err >&5
36557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36558 (exit $ac_status); } && {
36559 test -z "$ac_c_werror_flag" ||
36560 test ! -s conftest.err
36561 } && test -s conftest.$ac_objext; then
36562 { echo "$as_me:$LINENO: result: no" >&5
36563 echo "${ECHO_T}no" >&6; }
36564 else
36565 echo "$as_me: failed program was:" >&5
36566 sed 's/^/| /' conftest.$ac_ext >&5
36567
36568 { echo "$as_me:$LINENO: result: yes" >&5
36569 echo "${ECHO_T}yes" >&6; }
36570 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36571 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36572 cat >conftest.$ac_ext <<_ACEOF
36573 /* confdefs.h. */
36574 _ACEOF
36575 cat confdefs.h >>conftest.$ac_ext
36576 cat >>conftest.$ac_ext <<_ACEOF
36577 /* end confdefs.h. */
36578 #define __Point__ 1
36579 #include <AppKit/NSEvent.h>
36580 #include <CoreFoundation/CoreFoundation.h>
36581
36582 int
36583 main ()
36584 {
36585
36586 ;
36587 return 0;
36588 }
36589 _ACEOF
36590 rm -f conftest.$ac_objext
36591 if { (ac_try="$ac_compile"
36592 case "(($ac_try" in
36593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36594 *) ac_try_echo=$ac_try;;
36595 esac
36596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36597 (eval "$ac_compile") 2>conftest.er1
36598 ac_status=$?
36599 grep -v '^ *+' conftest.er1 >conftest.err
36600 rm -f conftest.er1
36601 cat conftest.err >&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); } && {
36604 test -z "$ac_c_werror_flag" ||
36605 test ! -s conftest.err
36606 } && test -s conftest.$ac_objext; then
36607 { echo "$as_me:$LINENO: result: yes" >&5
36608 echo "${ECHO_T}yes" >&6; }
36609 cat >>confdefs.h <<\_ACEOF
36610 #define __Point__ 1
36611 _ACEOF
36612
36613
36614 else
36615 echo "$as_me: failed program was:" >&5
36616 sed 's/^/| /' conftest.$ac_ext >&5
36617
36618 { { echo "$as_me:$LINENO: error: no
36619 See \`config.log' for more details." >&5
36620 echo "$as_me: error: no
36621 See \`config.log' for more details." >&2;}
36622 { (exit 1); exit 1; }; }
36623
36624 fi
36625
36626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36627
36628 fi
36629
36630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36631 ac_ext=c
36632 ac_cpp='$CPP $CPPFLAGS'
36633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36636
36637 fi
36638
36639
36640 { echo "$as_me:$LINENO: checking for mode_t" >&5
36641 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36642 if test "${ac_cv_type_mode_t+set}" = set; then
36643 echo $ECHO_N "(cached) $ECHO_C" >&6
36644 else
36645 cat >conftest.$ac_ext <<_ACEOF
36646 /* confdefs.h. */
36647 _ACEOF
36648 cat confdefs.h >>conftest.$ac_ext
36649 cat >>conftest.$ac_ext <<_ACEOF
36650 /* end confdefs.h. */
36651 $ac_includes_default
36652 typedef mode_t ac__type_new_;
36653 int
36654 main ()
36655 {
36656 if ((ac__type_new_ *) 0)
36657 return 0;
36658 if (sizeof (ac__type_new_))
36659 return 0;
36660 ;
36661 return 0;
36662 }
36663 _ACEOF
36664 rm -f conftest.$ac_objext
36665 if { (ac_try="$ac_compile"
36666 case "(($ac_try" in
36667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36668 *) ac_try_echo=$ac_try;;
36669 esac
36670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36671 (eval "$ac_compile") 2>conftest.er1
36672 ac_status=$?
36673 grep -v '^ *+' conftest.er1 >conftest.err
36674 rm -f conftest.er1
36675 cat conftest.err >&5
36676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677 (exit $ac_status); } && {
36678 test -z "$ac_c_werror_flag" ||
36679 test ! -s conftest.err
36680 } && test -s conftest.$ac_objext; then
36681 ac_cv_type_mode_t=yes
36682 else
36683 echo "$as_me: failed program was:" >&5
36684 sed 's/^/| /' conftest.$ac_ext >&5
36685
36686 ac_cv_type_mode_t=no
36687 fi
36688
36689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36690 fi
36691 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36692 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36693 if test $ac_cv_type_mode_t = yes; then
36694 :
36695 else
36696
36697 cat >>confdefs.h <<_ACEOF
36698 #define mode_t int
36699 _ACEOF
36700
36701 fi
36702
36703 { echo "$as_me:$LINENO: checking for off_t" >&5
36704 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36705 if test "${ac_cv_type_off_t+set}" = set; then
36706 echo $ECHO_N "(cached) $ECHO_C" >&6
36707 else
36708 cat >conftest.$ac_ext <<_ACEOF
36709 /* confdefs.h. */
36710 _ACEOF
36711 cat confdefs.h >>conftest.$ac_ext
36712 cat >>conftest.$ac_ext <<_ACEOF
36713 /* end confdefs.h. */
36714 $ac_includes_default
36715 typedef off_t ac__type_new_;
36716 int
36717 main ()
36718 {
36719 if ((ac__type_new_ *) 0)
36720 return 0;
36721 if (sizeof (ac__type_new_))
36722 return 0;
36723 ;
36724 return 0;
36725 }
36726 _ACEOF
36727 rm -f conftest.$ac_objext
36728 if { (ac_try="$ac_compile"
36729 case "(($ac_try" in
36730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36731 *) ac_try_echo=$ac_try;;
36732 esac
36733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36734 (eval "$ac_compile") 2>conftest.er1
36735 ac_status=$?
36736 grep -v '^ *+' conftest.er1 >conftest.err
36737 rm -f conftest.er1
36738 cat conftest.err >&5
36739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36740 (exit $ac_status); } && {
36741 test -z "$ac_c_werror_flag" ||
36742 test ! -s conftest.err
36743 } && test -s conftest.$ac_objext; then
36744 ac_cv_type_off_t=yes
36745 else
36746 echo "$as_me: failed program was:" >&5
36747 sed 's/^/| /' conftest.$ac_ext >&5
36748
36749 ac_cv_type_off_t=no
36750 fi
36751
36752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36753 fi
36754 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36755 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36756 if test $ac_cv_type_off_t = yes; then
36757 :
36758 else
36759
36760 cat >>confdefs.h <<_ACEOF
36761 #define off_t long int
36762 _ACEOF
36763
36764 fi
36765
36766 { echo "$as_me:$LINENO: checking for pid_t" >&5
36767 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36768 if test "${ac_cv_type_pid_t+set}" = set; then
36769 echo $ECHO_N "(cached) $ECHO_C" >&6
36770 else
36771 cat >conftest.$ac_ext <<_ACEOF
36772 /* confdefs.h. */
36773 _ACEOF
36774 cat confdefs.h >>conftest.$ac_ext
36775 cat >>conftest.$ac_ext <<_ACEOF
36776 /* end confdefs.h. */
36777 $ac_includes_default
36778 typedef pid_t ac__type_new_;
36779 int
36780 main ()
36781 {
36782 if ((ac__type_new_ *) 0)
36783 return 0;
36784 if (sizeof (ac__type_new_))
36785 return 0;
36786 ;
36787 return 0;
36788 }
36789 _ACEOF
36790 rm -f conftest.$ac_objext
36791 if { (ac_try="$ac_compile"
36792 case "(($ac_try" in
36793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36794 *) ac_try_echo=$ac_try;;
36795 esac
36796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36797 (eval "$ac_compile") 2>conftest.er1
36798 ac_status=$?
36799 grep -v '^ *+' conftest.er1 >conftest.err
36800 rm -f conftest.er1
36801 cat conftest.err >&5
36802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36803 (exit $ac_status); } && {
36804 test -z "$ac_c_werror_flag" ||
36805 test ! -s conftest.err
36806 } && test -s conftest.$ac_objext; then
36807 ac_cv_type_pid_t=yes
36808 else
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.$ac_ext >&5
36811
36812 ac_cv_type_pid_t=no
36813 fi
36814
36815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36816 fi
36817 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36818 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36819 if test $ac_cv_type_pid_t = yes; then
36820 :
36821 else
36822
36823 cat >>confdefs.h <<_ACEOF
36824 #define pid_t int
36825 _ACEOF
36826
36827 fi
36828
36829 { echo "$as_me:$LINENO: checking for size_t" >&5
36830 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36831 if test "${ac_cv_type_size_t+set}" = set; then
36832 echo $ECHO_N "(cached) $ECHO_C" >&6
36833 else
36834 cat >conftest.$ac_ext <<_ACEOF
36835 /* confdefs.h. */
36836 _ACEOF
36837 cat confdefs.h >>conftest.$ac_ext
36838 cat >>conftest.$ac_ext <<_ACEOF
36839 /* end confdefs.h. */
36840 $ac_includes_default
36841 typedef size_t ac__type_new_;
36842 int
36843 main ()
36844 {
36845 if ((ac__type_new_ *) 0)
36846 return 0;
36847 if (sizeof (ac__type_new_))
36848 return 0;
36849 ;
36850 return 0;
36851 }
36852 _ACEOF
36853 rm -f conftest.$ac_objext
36854 if { (ac_try="$ac_compile"
36855 case "(($ac_try" in
36856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36857 *) ac_try_echo=$ac_try;;
36858 esac
36859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36860 (eval "$ac_compile") 2>conftest.er1
36861 ac_status=$?
36862 grep -v '^ *+' conftest.er1 >conftest.err
36863 rm -f conftest.er1
36864 cat conftest.err >&5
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); } && {
36867 test -z "$ac_c_werror_flag" ||
36868 test ! -s conftest.err
36869 } && test -s conftest.$ac_objext; then
36870 ac_cv_type_size_t=yes
36871 else
36872 echo "$as_me: failed program was:" >&5
36873 sed 's/^/| /' conftest.$ac_ext >&5
36874
36875 ac_cv_type_size_t=no
36876 fi
36877
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36879 fi
36880 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36881 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36882 if test $ac_cv_type_size_t = yes; then
36883 :
36884 else
36885
36886 cat >>confdefs.h <<_ACEOF
36887 #define size_t unsigned int
36888 _ACEOF
36889
36890 fi
36891
36892 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36893 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36894 if test "${ac_cv_type_uid_t+set}" = set; then
36895 echo $ECHO_N "(cached) $ECHO_C" >&6
36896 else
36897 cat >conftest.$ac_ext <<_ACEOF
36898 /* confdefs.h. */
36899 _ACEOF
36900 cat confdefs.h >>conftest.$ac_ext
36901 cat >>conftest.$ac_ext <<_ACEOF
36902 /* end confdefs.h. */
36903 #include <sys/types.h>
36904
36905 _ACEOF
36906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36907 $EGREP "uid_t" >/dev/null 2>&1; then
36908 ac_cv_type_uid_t=yes
36909 else
36910 ac_cv_type_uid_t=no
36911 fi
36912 rm -f conftest*
36913
36914 fi
36915 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36916 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36917 if test $ac_cv_type_uid_t = no; then
36918
36919 cat >>confdefs.h <<\_ACEOF
36920 #define uid_t int
36921 _ACEOF
36922
36923
36924 cat >>confdefs.h <<\_ACEOF
36925 #define gid_t int
36926 _ACEOF
36927
36928 fi
36929
36930
36931 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36932 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36933 if test "${ac_cv_type_ssize_t+set}" = set; then
36934 echo $ECHO_N "(cached) $ECHO_C" >&6
36935 else
36936 cat >conftest.$ac_ext <<_ACEOF
36937 /* confdefs.h. */
36938 _ACEOF
36939 cat confdefs.h >>conftest.$ac_ext
36940 cat >>conftest.$ac_ext <<_ACEOF
36941 /* end confdefs.h. */
36942 $ac_includes_default
36943 typedef ssize_t ac__type_new_;
36944 int
36945 main ()
36946 {
36947 if ((ac__type_new_ *) 0)
36948 return 0;
36949 if (sizeof (ac__type_new_))
36950 return 0;
36951 ;
36952 return 0;
36953 }
36954 _ACEOF
36955 rm -f conftest.$ac_objext
36956 if { (ac_try="$ac_compile"
36957 case "(($ac_try" in
36958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36959 *) ac_try_echo=$ac_try;;
36960 esac
36961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36962 (eval "$ac_compile") 2>conftest.er1
36963 ac_status=$?
36964 grep -v '^ *+' conftest.er1 >conftest.err
36965 rm -f conftest.er1
36966 cat conftest.err >&5
36967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968 (exit $ac_status); } && {
36969 test -z "$ac_c_werror_flag" ||
36970 test ! -s conftest.err
36971 } && test -s conftest.$ac_objext; then
36972 ac_cv_type_ssize_t=yes
36973 else
36974 echo "$as_me: failed program was:" >&5
36975 sed 's/^/| /' conftest.$ac_ext >&5
36976
36977 ac_cv_type_ssize_t=no
36978 fi
36979
36980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36981 fi
36982 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36983 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36984 if test $ac_cv_type_ssize_t = yes; then
36985
36986 cat >>confdefs.h <<_ACEOF
36987 #define HAVE_SSIZE_T 1
36988 _ACEOF
36989
36990
36991 fi
36992
36993
36994 ac_ext=cpp
36995 ac_cpp='$CXXCPP $CPPFLAGS'
36996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36999 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37000 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37001 if test "${wx_cv_size_t_is_uint+set}" = set; then
37002 echo $ECHO_N "(cached) $ECHO_C" >&6
37003 else
37004
37005 cat >conftest.$ac_ext <<_ACEOF
37006 /* confdefs.h. */
37007 _ACEOF
37008 cat confdefs.h >>conftest.$ac_ext
37009 cat >>conftest.$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011 #include <stddef.h>
37012 int
37013 main ()
37014 {
37015
37016 return 0; }
37017
37018 struct Foo { void foo(size_t); void foo(unsigned int); };
37019
37020 int bar() {
37021
37022 ;
37023 return 0;
37024 }
37025 _ACEOF
37026 rm -f conftest.$ac_objext
37027 if { (ac_try="$ac_compile"
37028 case "(($ac_try" in
37029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37030 *) ac_try_echo=$ac_try;;
37031 esac
37032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37033 (eval "$ac_compile") 2>conftest.er1
37034 ac_status=$?
37035 grep -v '^ *+' conftest.er1 >conftest.err
37036 rm -f conftest.er1
37037 cat conftest.err >&5
37038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039 (exit $ac_status); } && {
37040 test -z "$ac_cxx_werror_flag" ||
37041 test ! -s conftest.err
37042 } && test -s conftest.$ac_objext; then
37043 wx_cv_size_t_is_uint=no
37044 else
37045 echo "$as_me: failed program was:" >&5
37046 sed 's/^/| /' conftest.$ac_ext >&5
37047
37048 wx_cv_size_t_is_uint=yes
37049
37050 fi
37051
37052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37053
37054
37055 fi
37056 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37057 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37058
37059 if test "$wx_cv_size_t_is_uint" = "yes"; then
37060 cat >>confdefs.h <<\_ACEOF
37061 #define wxSIZE_T_IS_UINT 1
37062 _ACEOF
37063
37064 else
37065 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37066 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37067 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37068 echo $ECHO_N "(cached) $ECHO_C" >&6
37069 else
37070 cat >conftest.$ac_ext <<_ACEOF
37071 /* confdefs.h. */
37072 _ACEOF
37073 cat confdefs.h >>conftest.$ac_ext
37074 cat >>conftest.$ac_ext <<_ACEOF
37075 /* end confdefs.h. */
37076 #include <stddef.h>
37077 int
37078 main ()
37079 {
37080
37081 return 0; }
37082
37083 struct Foo { void foo(size_t); void foo(unsigned long); };
37084
37085 int bar() {
37086
37087 ;
37088 return 0;
37089 }
37090 _ACEOF
37091 rm -f conftest.$ac_objext
37092 if { (ac_try="$ac_compile"
37093 case "(($ac_try" in
37094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37095 *) ac_try_echo=$ac_try;;
37096 esac
37097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37098 (eval "$ac_compile") 2>conftest.er1
37099 ac_status=$?
37100 grep -v '^ *+' conftest.er1 >conftest.err
37101 rm -f conftest.er1
37102 cat conftest.err >&5
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); } && {
37105 test -z "$ac_cxx_werror_flag" ||
37106 test ! -s conftest.err
37107 } && test -s conftest.$ac_objext; then
37108 wx_cv_size_t_is_ulong=no
37109 else
37110 echo "$as_me: failed program was:" >&5
37111 sed 's/^/| /' conftest.$ac_ext >&5
37112
37113 wx_cv_size_t_is_ulong=yes
37114
37115 fi
37116
37117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37118
37119 fi
37120 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37121 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37122
37123 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37124 cat >>confdefs.h <<\_ACEOF
37125 #define wxSIZE_T_IS_ULONG 1
37126 _ACEOF
37127
37128 fi
37129 fi
37130
37131 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37132 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37133 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37134 echo $ECHO_N "(cached) $ECHO_C" >&6
37135 else
37136 cat >conftest.$ac_ext <<_ACEOF
37137 /* confdefs.h. */
37138 _ACEOF
37139 cat confdefs.h >>conftest.$ac_ext
37140 cat >>conftest.$ac_ext <<_ACEOF
37141 /* end confdefs.h. */
37142 #include <wchar.h>
37143 int
37144 main ()
37145 {
37146
37147 return 0; }
37148
37149 struct Foo { void foo(wchar_t);
37150 void foo(unsigned short);
37151 void foo(unsigned int);
37152 void foo(unsigned long); };
37153
37154 int bar() {
37155
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_cxx_werror_flag" ||
37175 test ! -s conftest.err
37176 } && test -s conftest.$ac_objext; then
37177 wx_cv_wchar_t_is_separate_type=yes
37178 else
37179 echo "$as_me: failed program was:" >&5
37180 sed 's/^/| /' conftest.$ac_ext >&5
37181
37182 wx_cv_wchar_t_is_separate_type=no
37183
37184 fi
37185
37186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37187
37188 fi
37189 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37190 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37191
37192 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37193 cat >>confdefs.h <<\_ACEOF
37194 #define wxWCHAR_T_IS_REAL_TYPE 1
37195 _ACEOF
37196
37197 else
37198 cat >>confdefs.h <<\_ACEOF
37199 #define wxWCHAR_T_IS_REAL_TYPE 0
37200 _ACEOF
37201
37202 fi
37203
37204 ac_ext=c
37205 ac_cpp='$CPP $CPPFLAGS'
37206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37209
37210
37211 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37212 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37213 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37214 echo $ECHO_N "(cached) $ECHO_C" >&6
37215 else
37216
37217 cat >conftest.$ac_ext <<_ACEOF
37218 /* confdefs.h. */
37219 _ACEOF
37220 cat confdefs.h >>conftest.$ac_ext
37221 cat >>conftest.$ac_ext <<_ACEOF
37222 /* end confdefs.h. */
37223 #include <pwd.h>
37224 int
37225 main ()
37226 {
37227
37228 char *p;
37229 struct passwd *pw;
37230 p = pw->pw_gecos;
37231
37232 ;
37233 return 0;
37234 }
37235 _ACEOF
37236 rm -f conftest.$ac_objext
37237 if { (ac_try="$ac_compile"
37238 case "(($ac_try" in
37239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37240 *) ac_try_echo=$ac_try;;
37241 esac
37242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37243 (eval "$ac_compile") 2>conftest.er1
37244 ac_status=$?
37245 grep -v '^ *+' conftest.er1 >conftest.err
37246 rm -f conftest.er1
37247 cat conftest.err >&5
37248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 (exit $ac_status); } && {
37250 test -z "$ac_c_werror_flag" ||
37251 test ! -s conftest.err
37252 } && test -s conftest.$ac_objext; then
37253
37254 wx_cv_struct_pw_gecos=yes
37255
37256 else
37257 echo "$as_me: failed program was:" >&5
37258 sed 's/^/| /' conftest.$ac_ext >&5
37259
37260
37261 wx_cv_struct_pw_gecos=no
37262
37263
37264 fi
37265
37266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37267
37268
37269 fi
37270 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37271 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37272
37273 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37274 cat >>confdefs.h <<\_ACEOF
37275 #define HAVE_PW_GECOS 1
37276 _ACEOF
37277
37278 fi
37279
37280
37281 if test "$wxUSE_WCHAR_T" = "yes"; then
37282 cat >>confdefs.h <<\_ACEOF
37283 #define wxUSE_WCHAR_T 1
37284 _ACEOF
37285
37286
37287 WCSLEN_FOUND=0
37288 WCHAR_LINK=
37289
37290 for ac_func in wcslen
37291 do
37292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37295 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37296 echo $ECHO_N "(cached) $ECHO_C" >&6
37297 else
37298 cat >conftest.$ac_ext <<_ACEOF
37299 /* confdefs.h. */
37300 _ACEOF
37301 cat confdefs.h >>conftest.$ac_ext
37302 cat >>conftest.$ac_ext <<_ACEOF
37303 /* end confdefs.h. */
37304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37306 #define $ac_func innocuous_$ac_func
37307
37308 /* System header to define __stub macros and hopefully few prototypes,
37309 which can conflict with char $ac_func (); below.
37310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37311 <limits.h> exists even on freestanding compilers. */
37312
37313 #ifdef __STDC__
37314 # include <limits.h>
37315 #else
37316 # include <assert.h>
37317 #endif
37318
37319 #undef $ac_func
37320
37321 /* Override any GCC internal prototype to avoid an error.
37322 Use char because int might match the return type of a GCC
37323 builtin and then its argument prototype would still apply. */
37324 #ifdef __cplusplus
37325 extern "C"
37326 #endif
37327 char $ac_func ();
37328 /* The GNU C library defines this for functions which it implements
37329 to always fail with ENOSYS. Some functions are actually named
37330 something starting with __ and the normal name is an alias. */
37331 #if defined __stub_$ac_func || defined __stub___$ac_func
37332 choke me
37333 #endif
37334
37335 int
37336 main ()
37337 {
37338 return $ac_func ();
37339 ;
37340 return 0;
37341 }
37342 _ACEOF
37343 rm -f conftest.$ac_objext conftest$ac_exeext
37344 if { (ac_try="$ac_link"
37345 case "(($ac_try" in
37346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37347 *) ac_try_echo=$ac_try;;
37348 esac
37349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37350 (eval "$ac_link") 2>conftest.er1
37351 ac_status=$?
37352 grep -v '^ *+' conftest.er1 >conftest.err
37353 rm -f conftest.er1
37354 cat conftest.err >&5
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); } && {
37357 test -z "$ac_c_werror_flag" ||
37358 test ! -s conftest.err
37359 } && test -s conftest$ac_exeext &&
37360 $as_test_x conftest$ac_exeext; then
37361 eval "$as_ac_var=yes"
37362 else
37363 echo "$as_me: failed program was:" >&5
37364 sed 's/^/| /' conftest.$ac_ext >&5
37365
37366 eval "$as_ac_var=no"
37367 fi
37368
37369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37370 conftest$ac_exeext conftest.$ac_ext
37371 fi
37372 ac_res=`eval echo '${'$as_ac_var'}'`
37373 { echo "$as_me:$LINENO: result: $ac_res" >&5
37374 echo "${ECHO_T}$ac_res" >&6; }
37375 if test `eval echo '${'$as_ac_var'}'` = yes; then
37376 cat >>confdefs.h <<_ACEOF
37377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37378 _ACEOF
37379 WCSLEN_FOUND=1
37380 fi
37381 done
37382
37383
37384 if test "$WCSLEN_FOUND" = 0; then
37385 if test "$TOOLKIT" = "MSW"; then
37386 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37387 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37388 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37389 echo $ECHO_N "(cached) $ECHO_C" >&6
37390 else
37391 ac_check_lib_save_LIBS=$LIBS
37392 LIBS="-lmsvcrt $LIBS"
37393 cat >conftest.$ac_ext <<_ACEOF
37394 /* confdefs.h. */
37395 _ACEOF
37396 cat confdefs.h >>conftest.$ac_ext
37397 cat >>conftest.$ac_ext <<_ACEOF
37398 /* end confdefs.h. */
37399
37400 /* Override any GCC internal prototype to avoid an error.
37401 Use char because int might match the return type of a GCC
37402 builtin and then its argument prototype would still apply. */
37403 #ifdef __cplusplus
37404 extern "C"
37405 #endif
37406 char wcslen ();
37407 int
37408 main ()
37409 {
37410 return wcslen ();
37411 ;
37412 return 0;
37413 }
37414 _ACEOF
37415 rm -f conftest.$ac_objext conftest$ac_exeext
37416 if { (ac_try="$ac_link"
37417 case "(($ac_try" in
37418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37419 *) ac_try_echo=$ac_try;;
37420 esac
37421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37422 (eval "$ac_link") 2>conftest.er1
37423 ac_status=$?
37424 grep -v '^ *+' conftest.er1 >conftest.err
37425 rm -f conftest.er1
37426 cat conftest.err >&5
37427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428 (exit $ac_status); } && {
37429 test -z "$ac_c_werror_flag" ||
37430 test ! -s conftest.err
37431 } && test -s conftest$ac_exeext &&
37432 $as_test_x conftest$ac_exeext; then
37433 ac_cv_lib_msvcrt_wcslen=yes
37434 else
37435 echo "$as_me: failed program was:" >&5
37436 sed 's/^/| /' conftest.$ac_ext >&5
37437
37438 ac_cv_lib_msvcrt_wcslen=no
37439 fi
37440
37441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37442 conftest$ac_exeext conftest.$ac_ext
37443 LIBS=$ac_check_lib_save_LIBS
37444 fi
37445 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37446 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37447 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37448 WCHAR_OK=1
37449 fi
37450
37451 else
37452 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37453 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37454 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37455 echo $ECHO_N "(cached) $ECHO_C" >&6
37456 else
37457 ac_check_lib_save_LIBS=$LIBS
37458 LIBS="-lw $LIBS"
37459 cat >conftest.$ac_ext <<_ACEOF
37460 /* confdefs.h. */
37461 _ACEOF
37462 cat confdefs.h >>conftest.$ac_ext
37463 cat >>conftest.$ac_ext <<_ACEOF
37464 /* end confdefs.h. */
37465
37466 /* Override any GCC internal prototype to avoid an error.
37467 Use char because int might match the return type of a GCC
37468 builtin and then its argument prototype would still apply. */
37469 #ifdef __cplusplus
37470 extern "C"
37471 #endif
37472 char wcslen ();
37473 int
37474 main ()
37475 {
37476 return wcslen ();
37477 ;
37478 return 0;
37479 }
37480 _ACEOF
37481 rm -f conftest.$ac_objext conftest$ac_exeext
37482 if { (ac_try="$ac_link"
37483 case "(($ac_try" in
37484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37485 *) ac_try_echo=$ac_try;;
37486 esac
37487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37488 (eval "$ac_link") 2>conftest.er1
37489 ac_status=$?
37490 grep -v '^ *+' conftest.er1 >conftest.err
37491 rm -f conftest.er1
37492 cat conftest.err >&5
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); } && {
37495 test -z "$ac_c_werror_flag" ||
37496 test ! -s conftest.err
37497 } && test -s conftest$ac_exeext &&
37498 $as_test_x conftest$ac_exeext; then
37499 ac_cv_lib_w_wcslen=yes
37500 else
37501 echo "$as_me: failed program was:" >&5
37502 sed 's/^/| /' conftest.$ac_ext >&5
37503
37504 ac_cv_lib_w_wcslen=no
37505 fi
37506
37507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37508 conftest$ac_exeext conftest.$ac_ext
37509 LIBS=$ac_check_lib_save_LIBS
37510 fi
37511 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37512 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37513 if test $ac_cv_lib_w_wcslen = yes; then
37514
37515 WCHAR_LINK=" -lw"
37516 WCSLEN_FOUND=1
37517
37518 fi
37519
37520 fi
37521 fi
37522
37523 if test "$WCSLEN_FOUND" = 1; then
37524 cat >>confdefs.h <<\_ACEOF
37525 #define HAVE_WCSLEN 1
37526 _ACEOF
37527
37528 fi
37529
37530
37531 for ac_func in wcsdup
37532 do
37533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37534 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37536 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37537 echo $ECHO_N "(cached) $ECHO_C" >&6
37538 else
37539 cat >conftest.$ac_ext <<_ACEOF
37540 /* confdefs.h. */
37541 _ACEOF
37542 cat confdefs.h >>conftest.$ac_ext
37543 cat >>conftest.$ac_ext <<_ACEOF
37544 /* end confdefs.h. */
37545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37547 #define $ac_func innocuous_$ac_func
37548
37549 /* System header to define __stub macros and hopefully few prototypes,
37550 which can conflict with char $ac_func (); below.
37551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37552 <limits.h> exists even on freestanding compilers. */
37553
37554 #ifdef __STDC__
37555 # include <limits.h>
37556 #else
37557 # include <assert.h>
37558 #endif
37559
37560 #undef $ac_func
37561
37562 /* Override any GCC internal prototype to avoid an error.
37563 Use char because int might match the return type of a GCC
37564 builtin and then its argument prototype would still apply. */
37565 #ifdef __cplusplus
37566 extern "C"
37567 #endif
37568 char $ac_func ();
37569 /* The GNU C library defines this for functions which it implements
37570 to always fail with ENOSYS. Some functions are actually named
37571 something starting with __ and the normal name is an alias. */
37572 #if defined __stub_$ac_func || defined __stub___$ac_func
37573 choke me
37574 #endif
37575
37576 int
37577 main ()
37578 {
37579 return $ac_func ();
37580 ;
37581 return 0;
37582 }
37583 _ACEOF
37584 rm -f conftest.$ac_objext conftest$ac_exeext
37585 if { (ac_try="$ac_link"
37586 case "(($ac_try" in
37587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37588 *) ac_try_echo=$ac_try;;
37589 esac
37590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37591 (eval "$ac_link") 2>conftest.er1
37592 ac_status=$?
37593 grep -v '^ *+' conftest.er1 >conftest.err
37594 rm -f conftest.er1
37595 cat conftest.err >&5
37596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37597 (exit $ac_status); } && {
37598 test -z "$ac_c_werror_flag" ||
37599 test ! -s conftest.err
37600 } && test -s conftest$ac_exeext &&
37601 $as_test_x conftest$ac_exeext; then
37602 eval "$as_ac_var=yes"
37603 else
37604 echo "$as_me: failed program was:" >&5
37605 sed 's/^/| /' conftest.$ac_ext >&5
37606
37607 eval "$as_ac_var=no"
37608 fi
37609
37610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37611 conftest$ac_exeext conftest.$ac_ext
37612 fi
37613 ac_res=`eval echo '${'$as_ac_var'}'`
37614 { echo "$as_me:$LINENO: result: $ac_res" >&5
37615 echo "${ECHO_T}$ac_res" >&6; }
37616 if test `eval echo '${'$as_ac_var'}'` = yes; then
37617 cat >>confdefs.h <<_ACEOF
37618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37619 _ACEOF
37620
37621 fi
37622 done
37623
37624
37625 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37626 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37627 fi
37628
37629 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37630 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37631 if test "${ac_cv_type_mbstate_t+set}" = set; then
37632 echo $ECHO_N "(cached) $ECHO_C" >&6
37633 else
37634 cat >conftest.$ac_ext <<_ACEOF
37635 /* confdefs.h. */
37636 _ACEOF
37637 cat confdefs.h >>conftest.$ac_ext
37638 cat >>conftest.$ac_ext <<_ACEOF
37639 /* end confdefs.h. */
37640 #include <wchar.h>
37641
37642 typedef mbstate_t ac__type_new_;
37643 int
37644 main ()
37645 {
37646 if ((ac__type_new_ *) 0)
37647 return 0;
37648 if (sizeof (ac__type_new_))
37649 return 0;
37650 ;
37651 return 0;
37652 }
37653 _ACEOF
37654 rm -f conftest.$ac_objext
37655 if { (ac_try="$ac_compile"
37656 case "(($ac_try" in
37657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37658 *) ac_try_echo=$ac_try;;
37659 esac
37660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37661 (eval "$ac_compile") 2>conftest.er1
37662 ac_status=$?
37663 grep -v '^ *+' conftest.er1 >conftest.err
37664 rm -f conftest.er1
37665 cat conftest.err >&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); } && {
37668 test -z "$ac_c_werror_flag" ||
37669 test ! -s conftest.err
37670 } && test -s conftest.$ac_objext; then
37671 ac_cv_type_mbstate_t=yes
37672 else
37673 echo "$as_me: failed program was:" >&5
37674 sed 's/^/| /' conftest.$ac_ext >&5
37675
37676 ac_cv_type_mbstate_t=no
37677 fi
37678
37679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37680 fi
37681 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37682 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37683 if test $ac_cv_type_mbstate_t = yes; then
37684
37685 cat >>confdefs.h <<_ACEOF
37686 #define HAVE_MBSTATE_T 1
37687 _ACEOF
37688
37689
37690 for ac_func in wcsrtombs
37691 do
37692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37693 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37695 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37696 echo $ECHO_N "(cached) $ECHO_C" >&6
37697 else
37698 cat >conftest.$ac_ext <<_ACEOF
37699 /* confdefs.h. */
37700 _ACEOF
37701 cat confdefs.h >>conftest.$ac_ext
37702 cat >>conftest.$ac_ext <<_ACEOF
37703 /* end confdefs.h. */
37704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37706 #define $ac_func innocuous_$ac_func
37707
37708 /* System header to define __stub macros and hopefully few prototypes,
37709 which can conflict with char $ac_func (); below.
37710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37711 <limits.h> exists even on freestanding compilers. */
37712
37713 #ifdef __STDC__
37714 # include <limits.h>
37715 #else
37716 # include <assert.h>
37717 #endif
37718
37719 #undef $ac_func
37720
37721 /* Override any GCC internal prototype to avoid an error.
37722 Use char because int might match the return type of a GCC
37723 builtin and then its argument prototype would still apply. */
37724 #ifdef __cplusplus
37725 extern "C"
37726 #endif
37727 char $ac_func ();
37728 /* The GNU C library defines this for functions which it implements
37729 to always fail with ENOSYS. Some functions are actually named
37730 something starting with __ and the normal name is an alias. */
37731 #if defined __stub_$ac_func || defined __stub___$ac_func
37732 choke me
37733 #endif
37734
37735 int
37736 main ()
37737 {
37738 return $ac_func ();
37739 ;
37740 return 0;
37741 }
37742 _ACEOF
37743 rm -f conftest.$ac_objext conftest$ac_exeext
37744 if { (ac_try="$ac_link"
37745 case "(($ac_try" in
37746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37747 *) ac_try_echo=$ac_try;;
37748 esac
37749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37750 (eval "$ac_link") 2>conftest.er1
37751 ac_status=$?
37752 grep -v '^ *+' conftest.er1 >conftest.err
37753 rm -f conftest.er1
37754 cat conftest.err >&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } && {
37757 test -z "$ac_c_werror_flag" ||
37758 test ! -s conftest.err
37759 } && test -s conftest$ac_exeext &&
37760 $as_test_x conftest$ac_exeext; then
37761 eval "$as_ac_var=yes"
37762 else
37763 echo "$as_me: failed program was:" >&5
37764 sed 's/^/| /' conftest.$ac_ext >&5
37765
37766 eval "$as_ac_var=no"
37767 fi
37768
37769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37770 conftest$ac_exeext conftest.$ac_ext
37771 fi
37772 ac_res=`eval echo '${'$as_ac_var'}'`
37773 { echo "$as_me:$LINENO: result: $ac_res" >&5
37774 echo "${ECHO_T}$ac_res" >&6; }
37775 if test `eval echo '${'$as_ac_var'}'` = yes; then
37776 cat >>confdefs.h <<_ACEOF
37777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37778 _ACEOF
37779
37780 fi
37781 done
37782
37783 fi
37784
37785 else
37786 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37787 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37788 fi
37789
37790
37791
37792 for ac_func in snprintf vsnprintf
37793 do
37794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37795 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37797 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37798 echo $ECHO_N "(cached) $ECHO_C" >&6
37799 else
37800 cat >conftest.$ac_ext <<_ACEOF
37801 /* confdefs.h. */
37802 _ACEOF
37803 cat confdefs.h >>conftest.$ac_ext
37804 cat >>conftest.$ac_ext <<_ACEOF
37805 /* end confdefs.h. */
37806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37808 #define $ac_func innocuous_$ac_func
37809
37810 /* System header to define __stub macros and hopefully few prototypes,
37811 which can conflict with char $ac_func (); below.
37812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37813 <limits.h> exists even on freestanding compilers. */
37814
37815 #ifdef __STDC__
37816 # include <limits.h>
37817 #else
37818 # include <assert.h>
37819 #endif
37820
37821 #undef $ac_func
37822
37823 /* Override any GCC internal prototype to avoid an error.
37824 Use char because int might match the return type of a GCC
37825 builtin and then its argument prototype would still apply. */
37826 #ifdef __cplusplus
37827 extern "C"
37828 #endif
37829 char $ac_func ();
37830 /* The GNU C library defines this for functions which it implements
37831 to always fail with ENOSYS. Some functions are actually named
37832 something starting with __ and the normal name is an alias. */
37833 #if defined __stub_$ac_func || defined __stub___$ac_func
37834 choke me
37835 #endif
37836
37837 int
37838 main ()
37839 {
37840 return $ac_func ();
37841 ;
37842 return 0;
37843 }
37844 _ACEOF
37845 rm -f conftest.$ac_objext conftest$ac_exeext
37846 if { (ac_try="$ac_link"
37847 case "(($ac_try" in
37848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37849 *) ac_try_echo=$ac_try;;
37850 esac
37851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37852 (eval "$ac_link") 2>conftest.er1
37853 ac_status=$?
37854 grep -v '^ *+' conftest.er1 >conftest.err
37855 rm -f conftest.er1
37856 cat conftest.err >&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } && {
37859 test -z "$ac_c_werror_flag" ||
37860 test ! -s conftest.err
37861 } && test -s conftest$ac_exeext &&
37862 $as_test_x conftest$ac_exeext; then
37863 eval "$as_ac_var=yes"
37864 else
37865 echo "$as_me: failed program was:" >&5
37866 sed 's/^/| /' conftest.$ac_ext >&5
37867
37868 eval "$as_ac_var=no"
37869 fi
37870
37871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37872 conftest$ac_exeext conftest.$ac_ext
37873 fi
37874 ac_res=`eval echo '${'$as_ac_var'}'`
37875 { echo "$as_me:$LINENO: result: $ac_res" >&5
37876 echo "${ECHO_T}$ac_res" >&6; }
37877 if test `eval echo '${'$as_ac_var'}'` = yes; then
37878 cat >>confdefs.h <<_ACEOF
37879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37880 _ACEOF
37881
37882 fi
37883 done
37884
37885
37886 if test "$ac_cv_func_vsnprintf" = "yes"; then
37887 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37888 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37889 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37890 echo $ECHO_N "(cached) $ECHO_C" >&6
37891 else
37892
37893 cat >conftest.$ac_ext <<_ACEOF
37894 /* confdefs.h. */
37895 _ACEOF
37896 cat confdefs.h >>conftest.$ac_ext
37897 cat >>conftest.$ac_ext <<_ACEOF
37898 /* end confdefs.h. */
37899
37900 #include <stdio.h>
37901 #include <stdarg.h>
37902 #ifdef __MSL__
37903 #if __MSL__ >= 0x6000
37904 namespace std {}
37905 using namespace std;
37906 #endif
37907 #endif
37908
37909 int
37910 main ()
37911 {
37912
37913 char *buf;
37914 va_list ap;
37915 vsnprintf(buf, 10u, "%s", ap);
37916
37917 ;
37918 return 0;
37919 }
37920 _ACEOF
37921 rm -f conftest.$ac_objext
37922 if { (ac_try="$ac_compile"
37923 case "(($ac_try" in
37924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37925 *) ac_try_echo=$ac_try;;
37926 esac
37927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37928 (eval "$ac_compile") 2>conftest.er1
37929 ac_status=$?
37930 grep -v '^ *+' conftest.er1 >conftest.err
37931 rm -f conftest.er1
37932 cat conftest.err >&5
37933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37934 (exit $ac_status); } && {
37935 test -z "$ac_c_werror_flag" ||
37936 test ! -s conftest.err
37937 } && test -s conftest.$ac_objext; then
37938 wx_cv_func_vsnprintf_decl=yes
37939 else
37940 echo "$as_me: failed program was:" >&5
37941 sed 's/^/| /' conftest.$ac_ext >&5
37942
37943 wx_cv_func_vsnprintf_decl=no
37944
37945 fi
37946
37947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37948
37949
37950 fi
37951 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37952 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37953
37954 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37955 cat >>confdefs.h <<\_ACEOF
37956 #define HAVE_VSNPRINTF_DECL 1
37957 _ACEOF
37958
37959
37960 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37961 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37962 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37963 echo $ECHO_N "(cached) $ECHO_C" >&6
37964 else
37965
37966 cat >conftest.$ac_ext <<_ACEOF
37967 /* confdefs.h. */
37968 _ACEOF
37969 cat confdefs.h >>conftest.$ac_ext
37970 cat >>conftest.$ac_ext <<_ACEOF
37971 /* end confdefs.h. */
37972
37973 #include <stdio.h>
37974 #include <stdarg.h>
37975 #ifdef __MSL__
37976 #if __MSL__ >= 0x6000
37977 namespace std {}
37978 using namespace std;
37979 #endif
37980 #endif
37981
37982 int
37983 main ()
37984 {
37985
37986 char *buf;
37987 va_list ap;
37988 const char *fmt = "%s";
37989 vsnprintf(buf, 10u, fmt, ap);
37990
37991 ;
37992 return 0;
37993 }
37994 _ACEOF
37995 rm -f conftest.$ac_objext
37996 if { (ac_try="$ac_compile"
37997 case "(($ac_try" in
37998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37999 *) ac_try_echo=$ac_try;;
38000 esac
38001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38002 (eval "$ac_compile") 2>conftest.er1
38003 ac_status=$?
38004 grep -v '^ *+' conftest.er1 >conftest.err
38005 rm -f conftest.er1
38006 cat conftest.err >&5
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); } && {
38009 test -z "$ac_c_werror_flag" ||
38010 test ! -s conftest.err
38011 } && test -s conftest.$ac_objext; then
38012 wx_cv_func_broken_vsnprintf_decl=no
38013 else
38014 echo "$as_me: failed program was:" >&5
38015 sed 's/^/| /' conftest.$ac_ext >&5
38016
38017 wx_cv_func_broken_vsnprintf_decl=yes
38018
38019 fi
38020
38021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38022
38023
38024 fi
38025 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38026 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38027
38028 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38029 cat >>confdefs.h <<\_ACEOF
38030 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38031 _ACEOF
38032
38033 fi
38034 fi
38035 fi
38036
38037 if test "$ac_cv_func_snprintf" = "yes"; then
38038 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38039 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38040 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38041 echo $ECHO_N "(cached) $ECHO_C" >&6
38042 else
38043
38044 cat >conftest.$ac_ext <<_ACEOF
38045 /* confdefs.h. */
38046 _ACEOF
38047 cat confdefs.h >>conftest.$ac_ext
38048 cat >>conftest.$ac_ext <<_ACEOF
38049 /* end confdefs.h. */
38050
38051 #include <stdio.h>
38052 #include <stdarg.h>
38053 #ifdef __MSL__
38054 #if __MSL__ >= 0x6000
38055 namespace std {}
38056 using namespace std;
38057 #endif
38058 #endif
38059
38060 int
38061 main ()
38062 {
38063
38064 char *buf;
38065 snprintf(buf, 10u, "%s", "wx");
38066
38067 ;
38068 return 0;
38069 }
38070 _ACEOF
38071 rm -f conftest.$ac_objext
38072 if { (ac_try="$ac_compile"
38073 case "(($ac_try" in
38074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38075 *) ac_try_echo=$ac_try;;
38076 esac
38077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38078 (eval "$ac_compile") 2>conftest.er1
38079 ac_status=$?
38080 grep -v '^ *+' conftest.er1 >conftest.err
38081 rm -f conftest.er1
38082 cat conftest.err >&5
38083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38084 (exit $ac_status); } && {
38085 test -z "$ac_c_werror_flag" ||
38086 test ! -s conftest.err
38087 } && test -s conftest.$ac_objext; then
38088 wx_cv_func_snprintf_decl=yes
38089 else
38090 echo "$as_me: failed program was:" >&5
38091 sed 's/^/| /' conftest.$ac_ext >&5
38092
38093 wx_cv_func_snprintf_decl=no
38094
38095 fi
38096
38097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38098
38099
38100 fi
38101 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38102 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38103
38104 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38105 cat >>confdefs.h <<\_ACEOF
38106 #define HAVE_SNPRINTF_DECL 1
38107 _ACEOF
38108
38109
38110 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38111 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38112 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38113 echo $ECHO_N "(cached) $ECHO_C" >&6
38114 else
38115
38116 cat >conftest.$ac_ext <<_ACEOF
38117 /* confdefs.h. */
38118 _ACEOF
38119 cat confdefs.h >>conftest.$ac_ext
38120 cat >>conftest.$ac_ext <<_ACEOF
38121 /* end confdefs.h. */
38122
38123 #include <stdio.h>
38124 #include <stdarg.h>
38125 #ifdef __MSL__
38126 #if __MSL__ >= 0x6000
38127 namespace std {}
38128 using namespace std;
38129 #endif
38130 #endif
38131
38132 int
38133 main ()
38134 {
38135
38136 char *buf;
38137 const char *fmt = "%s";
38138 snprintf(buf, 10u, fmt, "wx");
38139
38140 ;
38141 return 0;
38142 }
38143 _ACEOF
38144 rm -f conftest.$ac_objext
38145 if { (ac_try="$ac_compile"
38146 case "(($ac_try" in
38147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38148 *) ac_try_echo=$ac_try;;
38149 esac
38150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38151 (eval "$ac_compile") 2>conftest.er1
38152 ac_status=$?
38153 grep -v '^ *+' conftest.er1 >conftest.err
38154 rm -f conftest.er1
38155 cat conftest.err >&5
38156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38157 (exit $ac_status); } && {
38158 test -z "$ac_c_werror_flag" ||
38159 test ! -s conftest.err
38160 } && test -s conftest.$ac_objext; then
38161 wx_cv_func_broken_snprintf_decl=no
38162 else
38163 echo "$as_me: failed program was:" >&5
38164 sed 's/^/| /' conftest.$ac_ext >&5
38165
38166 wx_cv_func_broken_snprintf_decl=yes
38167
38168 fi
38169
38170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38171
38172
38173 fi
38174 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38175 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38176
38177 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38178 cat >>confdefs.h <<\_ACEOF
38179 #define HAVE_BROKEN_SNPRINTF_DECL 1
38180 _ACEOF
38181
38182 fi
38183 fi
38184
38185 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38186
38187 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38188 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38189 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38190 echo $ECHO_N "(cached) $ECHO_C" >&6
38191 else
38192
38193 if test "$cross_compiling" = yes; then
38194
38195 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38196 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38197 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38198 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38199 wx_cv_func_snprintf_pos_params=no
38200
38201
38202 else
38203 cat >conftest.$ac_ext <<_ACEOF
38204 /* confdefs.h. */
38205 _ACEOF
38206 cat confdefs.h >>conftest.$ac_ext
38207 cat >>conftest.$ac_ext <<_ACEOF
38208 /* end confdefs.h. */
38209
38210 #include <stdio.h>
38211
38212 int main (void)
38213 {
38214 char buffer[128];
38215 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38216 if (strcmp ("2 3 1", buffer) == 0)
38217 exit (0);
38218 exit (1);
38219 }
38220
38221 _ACEOF
38222 rm -f conftest$ac_exeext
38223 if { (ac_try="$ac_link"
38224 case "(($ac_try" in
38225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38226 *) ac_try_echo=$ac_try;;
38227 esac
38228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38229 (eval "$ac_link") 2>&5
38230 ac_status=$?
38231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38232 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38233 { (case "(($ac_try" in
38234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38235 *) ac_try_echo=$ac_try;;
38236 esac
38237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38238 (eval "$ac_try") 2>&5
38239 ac_status=$?
38240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38241 (exit $ac_status); }; }; then
38242 wx_cv_func_snprintf_pos_params=no
38243 else
38244 echo "$as_me: program exited with status $ac_status" >&5
38245 echo "$as_me: failed program was:" >&5
38246 sed 's/^/| /' conftest.$ac_ext >&5
38247
38248 ( exit $ac_status )
38249 wx_cv_func_snprintf_pos_params=yes
38250 fi
38251 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38252 fi
38253
38254
38255
38256
38257 fi
38258 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38259 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38260
38261 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38262 cat >>confdefs.h <<\_ACEOF
38263 #define HAVE_UNIX98_PRINTF 1
38264 _ACEOF
38265
38266 fi
38267 fi
38268 fi
38269
38270 if test "$wxUSE_UNICODE" = yes; then
38271
38272
38273 for ac_func in swprintf
38274 do
38275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38276 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38278 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38279 echo $ECHO_N "(cached) $ECHO_C" >&6
38280 else
38281 cat >conftest.$ac_ext <<_ACEOF
38282 /* confdefs.h. */
38283 _ACEOF
38284 cat confdefs.h >>conftest.$ac_ext
38285 cat >>conftest.$ac_ext <<_ACEOF
38286 /* end confdefs.h. */
38287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38289 #define $ac_func innocuous_$ac_func
38290
38291 /* System header to define __stub macros and hopefully few prototypes,
38292 which can conflict with char $ac_func (); below.
38293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38294 <limits.h> exists even on freestanding compilers. */
38295
38296 #ifdef __STDC__
38297 # include <limits.h>
38298 #else
38299 # include <assert.h>
38300 #endif
38301
38302 #undef $ac_func
38303
38304 /* Override any GCC internal prototype to avoid an error.
38305 Use char because int might match the return type of a GCC
38306 builtin and then its argument prototype would still apply. */
38307 #ifdef __cplusplus
38308 extern "C"
38309 #endif
38310 char $ac_func ();
38311 /* The GNU C library defines this for functions which it implements
38312 to always fail with ENOSYS. Some functions are actually named
38313 something starting with __ and the normal name is an alias. */
38314 #if defined __stub_$ac_func || defined __stub___$ac_func
38315 choke me
38316 #endif
38317
38318 int
38319 main ()
38320 {
38321 return $ac_func ();
38322 ;
38323 return 0;
38324 }
38325 _ACEOF
38326 rm -f conftest.$ac_objext conftest$ac_exeext
38327 if { (ac_try="$ac_link"
38328 case "(($ac_try" in
38329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38330 *) ac_try_echo=$ac_try;;
38331 esac
38332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38333 (eval "$ac_link") 2>conftest.er1
38334 ac_status=$?
38335 grep -v '^ *+' conftest.er1 >conftest.err
38336 rm -f conftest.er1
38337 cat conftest.err >&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); } && {
38340 test -z "$ac_c_werror_flag" ||
38341 test ! -s conftest.err
38342 } && test -s conftest$ac_exeext &&
38343 $as_test_x conftest$ac_exeext; then
38344 eval "$as_ac_var=yes"
38345 else
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38348
38349 eval "$as_ac_var=no"
38350 fi
38351
38352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38353 conftest$ac_exeext conftest.$ac_ext
38354 fi
38355 ac_res=`eval echo '${'$as_ac_var'}'`
38356 { echo "$as_me:$LINENO: result: $ac_res" >&5
38357 echo "${ECHO_T}$ac_res" >&6; }
38358 if test `eval echo '${'$as_ac_var'}'` = yes; then
38359 cat >>confdefs.h <<_ACEOF
38360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38361 _ACEOF
38362
38363 fi
38364 done
38365
38366
38367 if test "$ac_cv_func_swprintf" = "yes"; then
38368 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38369 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38370 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38371 echo $ECHO_N "(cached) $ECHO_C" >&6
38372 else
38373
38374 cat >conftest.$ac_ext <<_ACEOF
38375 /* confdefs.h. */
38376 _ACEOF
38377 cat confdefs.h >>conftest.$ac_ext
38378 cat >>conftest.$ac_ext <<_ACEOF
38379 /* end confdefs.h. */
38380
38381 #include <stdio.h>
38382 #include <stdarg.h>
38383 #include <wchar.h>
38384
38385 int
38386 main ()
38387 {
38388
38389 wchar_t *buf;
38390 const wchar_t *fmt = L"test";
38391 swprintf(buf, 10u, fmt);
38392
38393 ;
38394 return 0;
38395 }
38396 _ACEOF
38397 rm -f conftest.$ac_objext
38398 if { (ac_try="$ac_compile"
38399 case "(($ac_try" in
38400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38401 *) ac_try_echo=$ac_try;;
38402 esac
38403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38404 (eval "$ac_compile") 2>conftest.er1
38405 ac_status=$?
38406 grep -v '^ *+' conftest.er1 >conftest.err
38407 rm -f conftest.er1
38408 cat conftest.err >&5
38409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38410 (exit $ac_status); } && {
38411 test -z "$ac_c_werror_flag" ||
38412 test ! -s conftest.err
38413 } && test -s conftest.$ac_objext; then
38414 wx_cv_func_broken_swprintf_decl=no
38415 else
38416 echo "$as_me: failed program was:" >&5
38417 sed 's/^/| /' conftest.$ac_ext >&5
38418
38419 wx_cv_func_broken_swprintf_decl=yes
38420
38421 fi
38422
38423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38424
38425
38426 fi
38427 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38428 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38429
38430 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38431 cat >>confdefs.h <<\_ACEOF
38432 #define HAVE_BROKEN_SWPRINTF_DECL 1
38433 _ACEOF
38434
38435 fi
38436 fi
38437
38438 wchar_headers="#include <stdio.h>
38439 #include <wchar.h>"
38440 case "${host}" in
38441 *-*-solaris2* )
38442
38443 for ac_header in widec.h
38444 do
38445 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38446 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38448 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38449 echo $ECHO_N "(cached) $ECHO_C" >&6
38450 else
38451 cat >conftest.$ac_ext <<_ACEOF
38452 /* confdefs.h. */
38453 _ACEOF
38454 cat confdefs.h >>conftest.$ac_ext
38455 cat >>conftest.$ac_ext <<_ACEOF
38456 /* end confdefs.h. */
38457 $ac_includes_default
38458
38459 #include <$ac_header>
38460 _ACEOF
38461 rm -f conftest.$ac_objext
38462 if { (ac_try="$ac_compile"
38463 case "(($ac_try" in
38464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38465 *) ac_try_echo=$ac_try;;
38466 esac
38467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38468 (eval "$ac_compile") 2>conftest.er1
38469 ac_status=$?
38470 grep -v '^ *+' conftest.er1 >conftest.err
38471 rm -f conftest.er1
38472 cat conftest.err >&5
38473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38474 (exit $ac_status); } && {
38475 test -z "$ac_c_werror_flag" ||
38476 test ! -s conftest.err
38477 } && test -s conftest.$ac_objext; then
38478 eval "$as_ac_Header=yes"
38479 else
38480 echo "$as_me: failed program was:" >&5
38481 sed 's/^/| /' conftest.$ac_ext >&5
38482
38483 eval "$as_ac_Header=no"
38484 fi
38485
38486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38487 fi
38488 ac_res=`eval echo '${'$as_ac_Header'}'`
38489 { echo "$as_me:$LINENO: result: $ac_res" >&5
38490 echo "${ECHO_T}$ac_res" >&6; }
38491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38492 cat >>confdefs.h <<_ACEOF
38493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38494 _ACEOF
38495
38496 fi
38497
38498 done
38499
38500 if test "$ac_cv_header_widec_h" = "yes"; then
38501 wchar_headers="$wchar_headers
38502 #include <widec.h>"
38503 fi
38504 esac
38505
38506
38507 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38508 do
38509 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38510 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38511 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38512 echo $ECHO_N "(cached) $ECHO_C" >&6
38513 else
38514
38515 cat >conftest.$ac_ext <<_ACEOF
38516
38517 /* confdefs.h. */
38518 _ACEOF
38519 cat confdefs.h >>conftest.$ac_ext
38520 cat >>conftest.$ac_ext <<_ACEOF
38521 /* end confdefs.h. */
38522
38523 $wchar_headers
38524 $ac_includes_default
38525
38526 int
38527 main ()
38528 {
38529
38530 #ifndef $wx_func
38531 &$wx_func;
38532 #endif
38533
38534
38535 ;
38536 return 0;
38537 }
38538
38539 _ACEOF
38540 rm -f conftest.$ac_objext conftest$ac_exeext
38541 if { (ac_try="$ac_link"
38542 case "(($ac_try" in
38543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38544 *) ac_try_echo=$ac_try;;
38545 esac
38546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38547 (eval "$ac_link") 2>conftest.er1
38548 ac_status=$?
38549 grep -v '^ *+' conftest.er1 >conftest.err
38550 rm -f conftest.er1
38551 cat conftest.err >&5
38552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553 (exit $ac_status); } && {
38554 test -z "$ac_c_werror_flag" ||
38555 test ! -s conftest.err
38556 } && test -s conftest$ac_exeext &&
38557 $as_test_x conftest$ac_exeext; then
38558 eval wx_cv_func_$wx_func=yes
38559 else
38560 echo "$as_me: failed program was:" >&5
38561 sed 's/^/| /' conftest.$ac_ext >&5
38562
38563 eval wx_cv_func_$wx_func=no
38564 fi
38565
38566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38567 conftest$ac_exeext conftest.$ac_ext
38568
38569 fi
38570 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38571 { echo "$as_me:$LINENO: result: $ac_res" >&5
38572 echo "${ECHO_T}$ac_res" >&6; }
38573
38574 if eval test \$wx_cv_func_$wx_func = yes
38575 then
38576 cat >>confdefs.h <<_ACEOF
38577 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38578 _ACEOF
38579
38580
38581 else
38582 :
38583
38584 fi
38585 done
38586
38587
38588 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38589 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38590 cat >conftest.$ac_ext <<_ACEOF
38591 /* confdefs.h. */
38592 _ACEOF
38593 cat confdefs.h >>conftest.$ac_ext
38594 cat >>conftest.$ac_ext <<_ACEOF
38595 /* end confdefs.h. */
38596 #include <wchar.h>
38597 int
38598 main ()
38599 {
38600 &_vsnwprintf;
38601 ;
38602 return 0;
38603 }
38604 _ACEOF
38605 rm -f conftest.$ac_objext
38606 if { (ac_try="$ac_compile"
38607 case "(($ac_try" in
38608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38609 *) ac_try_echo=$ac_try;;
38610 esac
38611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38612 (eval "$ac_compile") 2>conftest.er1
38613 ac_status=$?
38614 grep -v '^ *+' conftest.er1 >conftest.err
38615 rm -f conftest.er1
38616 cat conftest.err >&5
38617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618 (exit $ac_status); } && {
38619 test -z "$ac_c_werror_flag" ||
38620 test ! -s conftest.err
38621 } && test -s conftest.$ac_objext; then
38622 { echo "$as_me:$LINENO: result: yes" >&5
38623 echo "${ECHO_T}yes" >&6; }
38624 cat >>confdefs.h <<\_ACEOF
38625 #define HAVE__VSNWPRINTF 1
38626 _ACEOF
38627
38628 else
38629 echo "$as_me: failed program was:" >&5
38630 sed 's/^/| /' conftest.$ac_ext >&5
38631
38632 { echo "$as_me:$LINENO: result: no" >&5
38633 echo "${ECHO_T}no" >&6; }
38634 fi
38635
38636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38637 fi
38638
38639 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38640
38641 for wx_func in fnmatch
38642 do
38643 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38644 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38645 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38646 echo $ECHO_N "(cached) $ECHO_C" >&6
38647 else
38648
38649 cat >conftest.$ac_ext <<_ACEOF
38650
38651 /* confdefs.h. */
38652 _ACEOF
38653 cat confdefs.h >>conftest.$ac_ext
38654 cat >>conftest.$ac_ext <<_ACEOF
38655 /* end confdefs.h. */
38656
38657 #include <fnmatch.h>
38658 $ac_includes_default
38659
38660 int
38661 main ()
38662 {
38663
38664 #ifndef $wx_func
38665 &$wx_func;
38666 #endif
38667
38668
38669 ;
38670 return 0;
38671 }
38672
38673 _ACEOF
38674 rm -f conftest.$ac_objext conftest$ac_exeext
38675 if { (ac_try="$ac_link"
38676 case "(($ac_try" in
38677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38678 *) ac_try_echo=$ac_try;;
38679 esac
38680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38681 (eval "$ac_link") 2>conftest.er1
38682 ac_status=$?
38683 grep -v '^ *+' conftest.er1 >conftest.err
38684 rm -f conftest.er1
38685 cat conftest.err >&5
38686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38687 (exit $ac_status); } && {
38688 test -z "$ac_c_werror_flag" ||
38689 test ! -s conftest.err
38690 } && test -s conftest$ac_exeext &&
38691 $as_test_x conftest$ac_exeext; then
38692 eval wx_cv_func_$wx_func=yes
38693 else
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.$ac_ext >&5
38696
38697 eval wx_cv_func_$wx_func=no
38698 fi
38699
38700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38701 conftest$ac_exeext conftest.$ac_ext
38702
38703 fi
38704 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38705 { echo "$as_me:$LINENO: result: $ac_res" >&5
38706 echo "${ECHO_T}$ac_res" >&6; }
38707
38708 if eval test \$wx_cv_func_$wx_func = yes
38709 then
38710 cat >>confdefs.h <<_ACEOF
38711 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38712 _ACEOF
38713
38714
38715 else
38716 :
38717
38718 fi
38719 done
38720
38721 fi
38722
38723 if test "$wxUSE_FILE" = "yes"; then
38724
38725 for wx_func in fsync
38726 do
38727 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38728 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38729 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38730 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 else
38732
38733 cat >conftest.$ac_ext <<_ACEOF
38734
38735 /* confdefs.h. */
38736 _ACEOF
38737 cat confdefs.h >>conftest.$ac_ext
38738 cat >>conftest.$ac_ext <<_ACEOF
38739 /* end confdefs.h. */
38740
38741
38742 $ac_includes_default
38743
38744 int
38745 main ()
38746 {
38747
38748 #ifndef $wx_func
38749 &$wx_func;
38750 #endif
38751
38752
38753 ;
38754 return 0;
38755 }
38756
38757 _ACEOF
38758 rm -f conftest.$ac_objext conftest$ac_exeext
38759 if { (ac_try="$ac_link"
38760 case "(($ac_try" in
38761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38762 *) ac_try_echo=$ac_try;;
38763 esac
38764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38765 (eval "$ac_link") 2>conftest.er1
38766 ac_status=$?
38767 grep -v '^ *+' conftest.er1 >conftest.err
38768 rm -f conftest.er1
38769 cat conftest.err >&5
38770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38771 (exit $ac_status); } && {
38772 test -z "$ac_c_werror_flag" ||
38773 test ! -s conftest.err
38774 } && test -s conftest$ac_exeext &&
38775 $as_test_x conftest$ac_exeext; then
38776 eval wx_cv_func_$wx_func=yes
38777 else
38778 echo "$as_me: failed program was:" >&5
38779 sed 's/^/| /' conftest.$ac_ext >&5
38780
38781 eval wx_cv_func_$wx_func=no
38782 fi
38783
38784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38785 conftest$ac_exeext conftest.$ac_ext
38786
38787 fi
38788 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38789 { echo "$as_me:$LINENO: result: $ac_res" >&5
38790 echo "${ECHO_T}$ac_res" >&6; }
38791
38792 if eval test \$wx_cv_func_$wx_func = yes
38793 then
38794 cat >>confdefs.h <<_ACEOF
38795 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38796 _ACEOF
38797
38798
38799 else
38800 :
38801
38802 fi
38803 done
38804
38805 fi
38806
38807 ac_ext=cpp
38808 ac_cpp='$CXXCPP $CPPFLAGS'
38809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38812
38813
38814 for wx_func in round
38815 do
38816 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38817 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38818 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38819 echo $ECHO_N "(cached) $ECHO_C" >&6
38820 else
38821
38822 cat >conftest.$ac_ext <<_ACEOF
38823
38824 /* confdefs.h. */
38825 _ACEOF
38826 cat confdefs.h >>conftest.$ac_ext
38827 cat >>conftest.$ac_ext <<_ACEOF
38828 /* end confdefs.h. */
38829
38830 #include <math.h>
38831 $ac_includes_default
38832
38833 int
38834 main ()
38835 {
38836
38837 #ifndef $wx_func
38838 &$wx_func;
38839 #endif
38840
38841
38842 ;
38843 return 0;
38844 }
38845
38846 _ACEOF
38847 rm -f conftest.$ac_objext conftest$ac_exeext
38848 if { (ac_try="$ac_link"
38849 case "(($ac_try" in
38850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38851 *) ac_try_echo=$ac_try;;
38852 esac
38853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38854 (eval "$ac_link") 2>conftest.er1
38855 ac_status=$?
38856 grep -v '^ *+' conftest.er1 >conftest.err
38857 rm -f conftest.er1
38858 cat conftest.err >&5
38859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38860 (exit $ac_status); } && {
38861 test -z "$ac_cxx_werror_flag" ||
38862 test ! -s conftest.err
38863 } && test -s conftest$ac_exeext &&
38864 $as_test_x conftest$ac_exeext; then
38865 eval wx_cv_func_$wx_func=yes
38866 else
38867 echo "$as_me: failed program was:" >&5
38868 sed 's/^/| /' conftest.$ac_ext >&5
38869
38870 eval wx_cv_func_$wx_func=no
38871 fi
38872
38873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38874 conftest$ac_exeext conftest.$ac_ext
38875
38876 fi
38877 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38878 { echo "$as_me:$LINENO: result: $ac_res" >&5
38879 echo "${ECHO_T}$ac_res" >&6; }
38880
38881 if eval test \$wx_cv_func_$wx_func = yes
38882 then
38883 cat >>confdefs.h <<_ACEOF
38884 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38885 _ACEOF
38886
38887
38888 else
38889 :
38890
38891 fi
38892 done
38893
38894 ac_ext=c
38895 ac_cpp='$CPP $CPPFLAGS'
38896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38899
38900
38901 if test "$TOOLKIT" != "MSW"; then
38902
38903
38904
38905
38906
38907 # Check whether --with-libiconv-prefix was given.
38908 if test "${with_libiconv_prefix+set}" = set; then
38909 withval=$with_libiconv_prefix;
38910 for dir in `echo "$withval" | tr : ' '`; do
38911 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38912 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38913 done
38914
38915 fi
38916
38917
38918 { echo "$as_me:$LINENO: checking for iconv" >&5
38919 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38920 if test "${am_cv_func_iconv+set}" = set; then
38921 echo $ECHO_N "(cached) $ECHO_C" >&6
38922 else
38923
38924 am_cv_func_iconv="no, consider installing GNU libiconv"
38925 am_cv_lib_iconv=no
38926 cat >conftest.$ac_ext <<_ACEOF
38927 /* confdefs.h. */
38928 _ACEOF
38929 cat confdefs.h >>conftest.$ac_ext
38930 cat >>conftest.$ac_ext <<_ACEOF
38931 /* end confdefs.h. */
38932 #include <stdlib.h>
38933 #include <iconv.h>
38934 int
38935 main ()
38936 {
38937 iconv_t cd = iconv_open("","");
38938 iconv(cd,NULL,NULL,NULL,NULL);
38939 iconv_close(cd);
38940 ;
38941 return 0;
38942 }
38943 _ACEOF
38944 rm -f conftest.$ac_objext conftest$ac_exeext
38945 if { (ac_try="$ac_link"
38946 case "(($ac_try" in
38947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38948 *) ac_try_echo=$ac_try;;
38949 esac
38950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38951 (eval "$ac_link") 2>conftest.er1
38952 ac_status=$?
38953 grep -v '^ *+' conftest.er1 >conftest.err
38954 rm -f conftest.er1
38955 cat conftest.err >&5
38956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38957 (exit $ac_status); } && {
38958 test -z "$ac_c_werror_flag" ||
38959 test ! -s conftest.err
38960 } && test -s conftest$ac_exeext &&
38961 $as_test_x conftest$ac_exeext; then
38962 am_cv_func_iconv=yes
38963 else
38964 echo "$as_me: failed program was:" >&5
38965 sed 's/^/| /' conftest.$ac_ext >&5
38966
38967
38968 fi
38969
38970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38971 conftest$ac_exeext conftest.$ac_ext
38972 if test "$am_cv_func_iconv" != yes; then
38973 am_save_LIBS="$LIBS"
38974 LIBS="$LIBS -liconv"
38975 cat >conftest.$ac_ext <<_ACEOF
38976 /* confdefs.h. */
38977 _ACEOF
38978 cat confdefs.h >>conftest.$ac_ext
38979 cat >>conftest.$ac_ext <<_ACEOF
38980 /* end confdefs.h. */
38981 #include <stdlib.h>
38982 #include <iconv.h>
38983 int
38984 main ()
38985 {
38986 iconv_t cd = iconv_open("","");
38987 iconv(cd,NULL,NULL,NULL,NULL);
38988 iconv_close(cd);
38989 ;
38990 return 0;
38991 }
38992 _ACEOF
38993 rm -f conftest.$ac_objext conftest$ac_exeext
38994 if { (ac_try="$ac_link"
38995 case "(($ac_try" in
38996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38997 *) ac_try_echo=$ac_try;;
38998 esac
38999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39000 (eval "$ac_link") 2>conftest.er1
39001 ac_status=$?
39002 grep -v '^ *+' conftest.er1 >conftest.err
39003 rm -f conftest.er1
39004 cat conftest.err >&5
39005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39006 (exit $ac_status); } && {
39007 test -z "$ac_c_werror_flag" ||
39008 test ! -s conftest.err
39009 } && test -s conftest$ac_exeext &&
39010 $as_test_x conftest$ac_exeext; then
39011 am_cv_lib_iconv=yes
39012 am_cv_func_iconv=yes
39013 else
39014 echo "$as_me: failed program was:" >&5
39015 sed 's/^/| /' conftest.$ac_ext >&5
39016
39017
39018 fi
39019
39020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39021 conftest$ac_exeext conftest.$ac_ext
39022 LIBS="$am_save_LIBS"
39023 fi
39024
39025 fi
39026 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39027 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39028 if test "$am_cv_func_iconv" = yes; then
39029
39030 cat >>confdefs.h <<\_ACEOF
39031 #define HAVE_ICONV 1
39032 _ACEOF
39033
39034 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39035 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39036 if test "${wx_cv_func_iconv_const+set}" = set; then
39037 echo $ECHO_N "(cached) $ECHO_C" >&6
39038 else
39039 cat >conftest.$ac_ext <<_ACEOF
39040 /* confdefs.h. */
39041 _ACEOF
39042 cat confdefs.h >>conftest.$ac_ext
39043 cat >>conftest.$ac_ext <<_ACEOF
39044 /* end confdefs.h. */
39045
39046 #include <stdlib.h>
39047 #include <iconv.h>
39048 extern
39049 #ifdef __cplusplus
39050 "C"
39051 #endif
39052 #if defined(__STDC__) || defined(__cplusplus)
39053 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39054 #else
39055 size_t iconv();
39056 #endif
39057
39058 int
39059 main ()
39060 {
39061
39062 ;
39063 return 0;
39064 }
39065 _ACEOF
39066 rm -f conftest.$ac_objext
39067 if { (ac_try="$ac_compile"
39068 case "(($ac_try" in
39069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39070 *) ac_try_echo=$ac_try;;
39071 esac
39072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39073 (eval "$ac_compile") 2>conftest.er1
39074 ac_status=$?
39075 grep -v '^ *+' conftest.er1 >conftest.err
39076 rm -f conftest.er1
39077 cat conftest.err >&5
39078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39079 (exit $ac_status); } && {
39080 test -z "$ac_c_werror_flag" ||
39081 test ! -s conftest.err
39082 } && test -s conftest.$ac_objext; then
39083 wx_cv_func_iconv_const="no"
39084 else
39085 echo "$as_me: failed program was:" >&5
39086 sed 's/^/| /' conftest.$ac_ext >&5
39087
39088 wx_cv_func_iconv_const="yes"
39089
39090 fi
39091
39092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39093
39094 fi
39095 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39096 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39097
39098 iconv_const=
39099 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39100 iconv_const="const"
39101 fi
39102
39103
39104 cat >>confdefs.h <<_ACEOF
39105 #define ICONV_CONST $iconv_const
39106 _ACEOF
39107
39108 fi
39109 LIBICONV=
39110 if test "$am_cv_lib_iconv" = yes; then
39111 LIBICONV="-liconv"
39112 fi
39113
39114
39115 LIBS="$LIBICONV $LIBS"
39116
39117 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39118
39119 for ac_func in sigaction
39120 do
39121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39122 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39124 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39125 echo $ECHO_N "(cached) $ECHO_C" >&6
39126 else
39127 cat >conftest.$ac_ext <<_ACEOF
39128 /* confdefs.h. */
39129 _ACEOF
39130 cat confdefs.h >>conftest.$ac_ext
39131 cat >>conftest.$ac_ext <<_ACEOF
39132 /* end confdefs.h. */
39133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39135 #define $ac_func innocuous_$ac_func
39136
39137 /* System header to define __stub macros and hopefully few prototypes,
39138 which can conflict with char $ac_func (); below.
39139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39140 <limits.h> exists even on freestanding compilers. */
39141
39142 #ifdef __STDC__
39143 # include <limits.h>
39144 #else
39145 # include <assert.h>
39146 #endif
39147
39148 #undef $ac_func
39149
39150 /* Override any GCC internal prototype to avoid an error.
39151 Use char because int might match the return type of a GCC
39152 builtin and then its argument prototype would still apply. */
39153 #ifdef __cplusplus
39154 extern "C"
39155 #endif
39156 char $ac_func ();
39157 /* The GNU C library defines this for functions which it implements
39158 to always fail with ENOSYS. Some functions are actually named
39159 something starting with __ and the normal name is an alias. */
39160 #if defined __stub_$ac_func || defined __stub___$ac_func
39161 choke me
39162 #endif
39163
39164 int
39165 main ()
39166 {
39167 return $ac_func ();
39168 ;
39169 return 0;
39170 }
39171 _ACEOF
39172 rm -f conftest.$ac_objext conftest$ac_exeext
39173 if { (ac_try="$ac_link"
39174 case "(($ac_try" in
39175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39176 *) ac_try_echo=$ac_try;;
39177 esac
39178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39179 (eval "$ac_link") 2>conftest.er1
39180 ac_status=$?
39181 grep -v '^ *+' conftest.er1 >conftest.err
39182 rm -f conftest.er1
39183 cat conftest.err >&5
39184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39185 (exit $ac_status); } && {
39186 test -z "$ac_c_werror_flag" ||
39187 test ! -s conftest.err
39188 } && test -s conftest$ac_exeext &&
39189 $as_test_x conftest$ac_exeext; then
39190 eval "$as_ac_var=yes"
39191 else
39192 echo "$as_me: failed program was:" >&5
39193 sed 's/^/| /' conftest.$ac_ext >&5
39194
39195 eval "$as_ac_var=no"
39196 fi
39197
39198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39199 conftest$ac_exeext conftest.$ac_ext
39200 fi
39201 ac_res=`eval echo '${'$as_ac_var'}'`
39202 { echo "$as_me:$LINENO: result: $ac_res" >&5
39203 echo "${ECHO_T}$ac_res" >&6; }
39204 if test `eval echo '${'$as_ac_var'}'` = yes; then
39205 cat >>confdefs.h <<_ACEOF
39206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39207 _ACEOF
39208
39209 fi
39210 done
39211
39212
39213 if test "$ac_cv_func_sigaction" = "no"; then
39214 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39215 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39216 wxUSE_ON_FATAL_EXCEPTION=no
39217 fi
39218
39219 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39220 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39221 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39222 if test "${wx_cv_type_sa_handler+set}" = set; then
39223 echo $ECHO_N "(cached) $ECHO_C" >&6
39224 else
39225
39226 ac_ext=cpp
39227 ac_cpp='$CXXCPP $CPPFLAGS'
39228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39231
39232 cat >conftest.$ac_ext <<_ACEOF
39233 /* confdefs.h. */
39234 _ACEOF
39235 cat confdefs.h >>conftest.$ac_ext
39236 cat >>conftest.$ac_ext <<_ACEOF
39237 /* end confdefs.h. */
39238 #include <signal.h>
39239 int
39240 main ()
39241 {
39242
39243 extern void testSigHandler(int);
39244
39245 struct sigaction sa;
39246 sa.sa_handler = testSigHandler;
39247
39248 ;
39249 return 0;
39250 }
39251 _ACEOF
39252 rm -f conftest.$ac_objext
39253 if { (ac_try="$ac_compile"
39254 case "(($ac_try" in
39255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39256 *) ac_try_echo=$ac_try;;
39257 esac
39258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39259 (eval "$ac_compile") 2>conftest.er1
39260 ac_status=$?
39261 grep -v '^ *+' conftest.er1 >conftest.err
39262 rm -f conftest.er1
39263 cat conftest.err >&5
39264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39265 (exit $ac_status); } && {
39266 test -z "$ac_cxx_werror_flag" ||
39267 test ! -s conftest.err
39268 } && test -s conftest.$ac_objext; then
39269
39270 wx_cv_type_sa_handler=int
39271
39272 else
39273 echo "$as_me: failed program was:" >&5
39274 sed 's/^/| /' conftest.$ac_ext >&5
39275
39276
39277 wx_cv_type_sa_handler=void
39278
39279 fi
39280
39281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39282 ac_ext=c
39283 ac_cpp='$CPP $CPPFLAGS'
39284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39287
39288
39289 fi
39290 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39291 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39292
39293 cat >>confdefs.h <<_ACEOF
39294 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39295 _ACEOF
39296
39297 fi
39298 fi
39299
39300 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39301 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39302 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39303 if test "${wx_cv_func_backtrace+set}" = set; then
39304 echo $ECHO_N "(cached) $ECHO_C" >&6
39305 else
39306
39307 ac_ext=cpp
39308 ac_cpp='$CXXCPP $CPPFLAGS'
39309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39312
39313 cat >conftest.$ac_ext <<_ACEOF
39314 /* confdefs.h. */
39315 _ACEOF
39316 cat confdefs.h >>conftest.$ac_ext
39317 cat >>conftest.$ac_ext <<_ACEOF
39318 /* end confdefs.h. */
39319 #include <execinfo.h>
39320 int
39321 main ()
39322 {
39323
39324 void *trace[1];
39325 char **messages;
39326
39327 backtrace(trace, 1);
39328 messages = backtrace_symbols(trace, 1);
39329
39330 ;
39331 return 0;
39332 }
39333 _ACEOF
39334 rm -f conftest.$ac_objext
39335 if { (ac_try="$ac_compile"
39336 case "(($ac_try" in
39337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39338 *) ac_try_echo=$ac_try;;
39339 esac
39340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39341 (eval "$ac_compile") 2>conftest.er1
39342 ac_status=$?
39343 grep -v '^ *+' conftest.er1 >conftest.err
39344 rm -f conftest.er1
39345 cat conftest.err >&5
39346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39347 (exit $ac_status); } && {
39348 test -z "$ac_cxx_werror_flag" ||
39349 test ! -s conftest.err
39350 } && test -s conftest.$ac_objext; then
39351 wx_cv_func_backtrace=yes
39352 else
39353 echo "$as_me: failed program was:" >&5
39354 sed 's/^/| /' conftest.$ac_ext >&5
39355
39356 wx_cv_func_backtrace=no
39357
39358 fi
39359
39360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39361 ac_ext=c
39362 ac_cpp='$CPP $CPPFLAGS'
39363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39366
39367
39368
39369 fi
39370 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39371 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39372
39373
39374 if test "$wx_cv_func_backtrace" = "no"; then
39375 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39376 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39377 wxUSE_STACKWALKER=no
39378 else
39379 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39380 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39381 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39382 echo $ECHO_N "(cached) $ECHO_C" >&6
39383 else
39384
39385 ac_ext=cpp
39386 ac_cpp='$CXXCPP $CPPFLAGS'
39387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39390
39391 cat >conftest.$ac_ext <<_ACEOF
39392 /* confdefs.h. */
39393 _ACEOF
39394 cat confdefs.h >>conftest.$ac_ext
39395 cat >>conftest.$ac_ext <<_ACEOF
39396 /* end confdefs.h. */
39397 #include <cxxabi.h>
39398 int
39399 main ()
39400 {
39401
39402 int rc;
39403 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39404
39405 ;
39406 return 0;
39407 }
39408 _ACEOF
39409 rm -f conftest.$ac_objext conftest$ac_exeext
39410 if { (ac_try="$ac_link"
39411 case "(($ac_try" in
39412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39413 *) ac_try_echo=$ac_try;;
39414 esac
39415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39416 (eval "$ac_link") 2>conftest.er1
39417 ac_status=$?
39418 grep -v '^ *+' conftest.er1 >conftest.err
39419 rm -f conftest.er1
39420 cat conftest.err >&5
39421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39422 (exit $ac_status); } && {
39423 test -z "$ac_cxx_werror_flag" ||
39424 test ! -s conftest.err
39425 } && test -s conftest$ac_exeext &&
39426 $as_test_x conftest$ac_exeext; then
39427 wx_cv_func_cxa_demangle=yes
39428 else
39429 echo "$as_me: failed program was:" >&5
39430 sed 's/^/| /' conftest.$ac_ext >&5
39431
39432 wx_cv_func_cxa_demangle=no
39433
39434 fi
39435
39436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39437 conftest$ac_exeext conftest.$ac_ext
39438 ac_ext=c
39439 ac_cpp='$CPP $CPPFLAGS'
39440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39443
39444
39445
39446 fi
39447 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39448 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39449
39450 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39451 cat >>confdefs.h <<\_ACEOF
39452 #define HAVE_CXA_DEMANGLE 1
39453 _ACEOF
39454
39455 fi
39456 fi
39457 fi
39458
39459 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39460 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39461 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39462 wxUSE_STACKWALKER=no
39463 fi
39464
39465
39466
39467
39468 for ac_func in mkstemp mktemp
39469 do
39470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39471 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39473 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39474 echo $ECHO_N "(cached) $ECHO_C" >&6
39475 else
39476 cat >conftest.$ac_ext <<_ACEOF
39477 /* confdefs.h. */
39478 _ACEOF
39479 cat confdefs.h >>conftest.$ac_ext
39480 cat >>conftest.$ac_ext <<_ACEOF
39481 /* end confdefs.h. */
39482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39484 #define $ac_func innocuous_$ac_func
39485
39486 /* System header to define __stub macros and hopefully few prototypes,
39487 which can conflict with char $ac_func (); below.
39488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39489 <limits.h> exists even on freestanding compilers. */
39490
39491 #ifdef __STDC__
39492 # include <limits.h>
39493 #else
39494 # include <assert.h>
39495 #endif
39496
39497 #undef $ac_func
39498
39499 /* Override any GCC internal prototype to avoid an error.
39500 Use char because int might match the return type of a GCC
39501 builtin and then its argument prototype would still apply. */
39502 #ifdef __cplusplus
39503 extern "C"
39504 #endif
39505 char $ac_func ();
39506 /* The GNU C library defines this for functions which it implements
39507 to always fail with ENOSYS. Some functions are actually named
39508 something starting with __ and the normal name is an alias. */
39509 #if defined __stub_$ac_func || defined __stub___$ac_func
39510 choke me
39511 #endif
39512
39513 int
39514 main ()
39515 {
39516 return $ac_func ();
39517 ;
39518 return 0;
39519 }
39520 _ACEOF
39521 rm -f conftest.$ac_objext conftest$ac_exeext
39522 if { (ac_try="$ac_link"
39523 case "(($ac_try" in
39524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39525 *) ac_try_echo=$ac_try;;
39526 esac
39527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39528 (eval "$ac_link") 2>conftest.er1
39529 ac_status=$?
39530 grep -v '^ *+' conftest.er1 >conftest.err
39531 rm -f conftest.er1
39532 cat conftest.err >&5
39533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534 (exit $ac_status); } && {
39535 test -z "$ac_c_werror_flag" ||
39536 test ! -s conftest.err
39537 } && test -s conftest$ac_exeext &&
39538 $as_test_x conftest$ac_exeext; then
39539 eval "$as_ac_var=yes"
39540 else
39541 echo "$as_me: failed program was:" >&5
39542 sed 's/^/| /' conftest.$ac_ext >&5
39543
39544 eval "$as_ac_var=no"
39545 fi
39546
39547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39548 conftest$ac_exeext conftest.$ac_ext
39549 fi
39550 ac_res=`eval echo '${'$as_ac_var'}'`
39551 { echo "$as_me:$LINENO: result: $ac_res" >&5
39552 echo "${ECHO_T}$ac_res" >&6; }
39553 if test `eval echo '${'$as_ac_var'}'` = yes; then
39554 cat >>confdefs.h <<_ACEOF
39555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39556 _ACEOF
39557 break
39558 fi
39559 done
39560
39561
39562 { echo "$as_me:$LINENO: checking for statfs" >&5
39563 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39564 if test "${wx_cv_func_statfs+set}" = set; then
39565 echo $ECHO_N "(cached) $ECHO_C" >&6
39566 else
39567 cat >conftest.$ac_ext <<_ACEOF
39568 /* confdefs.h. */
39569 _ACEOF
39570 cat confdefs.h >>conftest.$ac_ext
39571 cat >>conftest.$ac_ext <<_ACEOF
39572 /* end confdefs.h. */
39573
39574 #if defined(__BSD__)
39575 #include <sys/param.h>
39576 #include <sys/mount.h>
39577 #else
39578 #include <sys/vfs.h>
39579 #endif
39580
39581 int
39582 main ()
39583 {
39584
39585 long l;
39586 struct statfs fs;
39587 statfs("/", &fs);
39588 l = fs.f_bsize;
39589 l += fs.f_blocks;
39590 l += fs.f_bavail;
39591
39592 ;
39593 return 0;
39594 }
39595 _ACEOF
39596 rm -f conftest.$ac_objext
39597 if { (ac_try="$ac_compile"
39598 case "(($ac_try" in
39599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39600 *) ac_try_echo=$ac_try;;
39601 esac
39602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39603 (eval "$ac_compile") 2>conftest.er1
39604 ac_status=$?
39605 grep -v '^ *+' conftest.er1 >conftest.err
39606 rm -f conftest.er1
39607 cat conftest.err >&5
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); } && {
39610 test -z "$ac_c_werror_flag" ||
39611 test ! -s conftest.err
39612 } && test -s conftest.$ac_objext; then
39613 wx_cv_func_statfs=yes
39614 else
39615 echo "$as_me: failed program was:" >&5
39616 sed 's/^/| /' conftest.$ac_ext >&5
39617
39618 wx_cv_func_statfs=no
39619
39620 fi
39621
39622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39623
39624 fi
39625 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39626 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39627
39628 if test "$wx_cv_func_statfs" = "yes"; then
39629 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39630 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39631 if test "${wx_cv_func_statfs_decl+set}" = set; then
39632 echo $ECHO_N "(cached) $ECHO_C" >&6
39633 else
39634 ac_ext=cpp
39635 ac_cpp='$CXXCPP $CPPFLAGS'
39636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39639
39640 cat >conftest.$ac_ext <<_ACEOF
39641 /* confdefs.h. */
39642 _ACEOF
39643 cat confdefs.h >>conftest.$ac_ext
39644 cat >>conftest.$ac_ext <<_ACEOF
39645 /* end confdefs.h. */
39646
39647 #if defined(__BSD__)
39648 #include <sys/param.h>
39649 #include <sys/mount.h>
39650 #else
39651 #include <sys/vfs.h>
39652 #endif
39653
39654 int
39655 main ()
39656 {
39657
39658 struct statfs fs;
39659 statfs("", &fs);
39660
39661 ;
39662 return 0;
39663 }
39664 _ACEOF
39665 rm -f conftest.$ac_objext
39666 if { (ac_try="$ac_compile"
39667 case "(($ac_try" in
39668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39669 *) ac_try_echo=$ac_try;;
39670 esac
39671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39672 (eval "$ac_compile") 2>conftest.er1
39673 ac_status=$?
39674 grep -v '^ *+' conftest.er1 >conftest.err
39675 rm -f conftest.er1
39676 cat conftest.err >&5
39677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678 (exit $ac_status); } && {
39679 test -z "$ac_cxx_werror_flag" ||
39680 test ! -s conftest.err
39681 } && test -s conftest.$ac_objext; then
39682 wx_cv_func_statfs_decl=yes
39683 else
39684 echo "$as_me: failed program was:" >&5
39685 sed 's/^/| /' conftest.$ac_ext >&5
39686
39687 wx_cv_func_statfs_decl=no
39688
39689 fi
39690
39691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39692 ac_ext=c
39693 ac_cpp='$CPP $CPPFLAGS'
39694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39697
39698
39699 fi
39700 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39701 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39702
39703 if test "$wx_cv_func_statfs_decl" = "yes"; then
39704 cat >>confdefs.h <<\_ACEOF
39705 #define HAVE_STATFS_DECL 1
39706 _ACEOF
39707
39708 fi
39709
39710 wx_cv_type_statvfs_t="struct statfs"
39711 cat >>confdefs.h <<\_ACEOF
39712 #define HAVE_STATFS 1
39713 _ACEOF
39714
39715 else
39716 { echo "$as_me:$LINENO: checking for statvfs" >&5
39717 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39718 if test "${wx_cv_func_statvfs+set}" = set; then
39719 echo $ECHO_N "(cached) $ECHO_C" >&6
39720 else
39721 cat >conftest.$ac_ext <<_ACEOF
39722 /* confdefs.h. */
39723 _ACEOF
39724 cat confdefs.h >>conftest.$ac_ext
39725 cat >>conftest.$ac_ext <<_ACEOF
39726 /* end confdefs.h. */
39727
39728 #include <stddef.h>
39729 #include <sys/statvfs.h>
39730
39731 int
39732 main ()
39733 {
39734
39735 statvfs("/", NULL);
39736
39737 ;
39738 return 0;
39739 }
39740 _ACEOF
39741 rm -f conftest.$ac_objext
39742 if { (ac_try="$ac_compile"
39743 case "(($ac_try" in
39744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39745 *) ac_try_echo=$ac_try;;
39746 esac
39747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39748 (eval "$ac_compile") 2>conftest.er1
39749 ac_status=$?
39750 grep -v '^ *+' conftest.er1 >conftest.err
39751 rm -f conftest.er1
39752 cat conftest.err >&5
39753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39754 (exit $ac_status); } && {
39755 test -z "$ac_c_werror_flag" ||
39756 test ! -s conftest.err
39757 } && test -s conftest.$ac_objext; then
39758 wx_cv_func_statvfs=yes
39759 else
39760 echo "$as_me: failed program was:" >&5
39761 sed 's/^/| /' conftest.$ac_ext >&5
39762
39763 wx_cv_func_statvfs=no
39764
39765 fi
39766
39767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39768
39769 fi
39770 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39771 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39772
39773 if test "$wx_cv_func_statvfs" = "yes"; then
39774 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39775 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39776 if test "${wx_cv_type_statvfs_t+set}" = set; then
39777 echo $ECHO_N "(cached) $ECHO_C" >&6
39778 else
39779 ac_ext=cpp
39780 ac_cpp='$CXXCPP $CPPFLAGS'
39781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39784
39785 cat >conftest.$ac_ext <<_ACEOF
39786 /* confdefs.h. */
39787 _ACEOF
39788 cat confdefs.h >>conftest.$ac_ext
39789 cat >>conftest.$ac_ext <<_ACEOF
39790 /* end confdefs.h. */
39791
39792 #include <sys/statvfs.h>
39793
39794 int
39795 main ()
39796 {
39797
39798 long l;
39799 statvfs_t fs;
39800 statvfs("/", &fs);
39801 l = fs.f_bsize;
39802 l += fs.f_blocks;
39803 l += fs.f_bavail;
39804
39805 ;
39806 return 0;
39807 }
39808 _ACEOF
39809 rm -f conftest.$ac_objext
39810 if { (ac_try="$ac_compile"
39811 case "(($ac_try" in
39812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39813 *) ac_try_echo=$ac_try;;
39814 esac
39815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39816 (eval "$ac_compile") 2>conftest.er1
39817 ac_status=$?
39818 grep -v '^ *+' conftest.er1 >conftest.err
39819 rm -f conftest.er1
39820 cat conftest.err >&5
39821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39822 (exit $ac_status); } && {
39823 test -z "$ac_cxx_werror_flag" ||
39824 test ! -s conftest.err
39825 } && test -s conftest.$ac_objext; then
39826 wx_cv_type_statvfs_t=statvfs_t
39827 else
39828 echo "$as_me: failed program was:" >&5
39829 sed 's/^/| /' conftest.$ac_ext >&5
39830
39831
39832 cat >conftest.$ac_ext <<_ACEOF
39833 /* confdefs.h. */
39834 _ACEOF
39835 cat confdefs.h >>conftest.$ac_ext
39836 cat >>conftest.$ac_ext <<_ACEOF
39837 /* end confdefs.h. */
39838
39839 #include <sys/statvfs.h>
39840
39841 int
39842 main ()
39843 {
39844
39845 long l;
39846 struct statvfs fs;
39847 statvfs("/", &fs);
39848 l = fs.f_bsize;
39849 l += fs.f_blocks;
39850 l += fs.f_bavail;
39851
39852 ;
39853 return 0;
39854 }
39855 _ACEOF
39856 rm -f conftest.$ac_objext
39857 if { (ac_try="$ac_compile"
39858 case "(($ac_try" in
39859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39860 *) ac_try_echo=$ac_try;;
39861 esac
39862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39863 (eval "$ac_compile") 2>conftest.er1
39864 ac_status=$?
39865 grep -v '^ *+' conftest.er1 >conftest.err
39866 rm -f conftest.er1
39867 cat conftest.err >&5
39868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39869 (exit $ac_status); } && {
39870 test -z "$ac_cxx_werror_flag" ||
39871 test ! -s conftest.err
39872 } && test -s conftest.$ac_objext; then
39873 wx_cv_type_statvfs_t="struct statvfs"
39874 else
39875 echo "$as_me: failed program was:" >&5
39876 sed 's/^/| /' conftest.$ac_ext >&5
39877
39878 wx_cv_type_statvfs_t="unknown"
39879
39880 fi
39881
39882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39883
39884
39885 fi
39886
39887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39888 ac_ext=c
39889 ac_cpp='$CPP $CPPFLAGS'
39890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39893
39894
39895 fi
39896 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39897 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39898
39899 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39900 cat >>confdefs.h <<\_ACEOF
39901 #define HAVE_STATVFS 1
39902 _ACEOF
39903
39904 fi
39905 else
39906 wx_cv_type_statvfs_t="unknown"
39907 fi
39908 fi
39909
39910 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39911 cat >>confdefs.h <<_ACEOF
39912 #define WX_STATFS_T $wx_cv_type_statvfs_t
39913 _ACEOF
39914
39915 else
39916 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39917 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39918 fi
39919
39920 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39921
39922
39923 for ac_func in fcntl flock
39924 do
39925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39926 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39928 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39929 echo $ECHO_N "(cached) $ECHO_C" >&6
39930 else
39931 cat >conftest.$ac_ext <<_ACEOF
39932 /* confdefs.h. */
39933 _ACEOF
39934 cat confdefs.h >>conftest.$ac_ext
39935 cat >>conftest.$ac_ext <<_ACEOF
39936 /* end confdefs.h. */
39937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39939 #define $ac_func innocuous_$ac_func
39940
39941 /* System header to define __stub macros and hopefully few prototypes,
39942 which can conflict with char $ac_func (); below.
39943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39944 <limits.h> exists even on freestanding compilers. */
39945
39946 #ifdef __STDC__
39947 # include <limits.h>
39948 #else
39949 # include <assert.h>
39950 #endif
39951
39952 #undef $ac_func
39953
39954 /* Override any GCC internal prototype to avoid an error.
39955 Use char because int might match the return type of a GCC
39956 builtin and then its argument prototype would still apply. */
39957 #ifdef __cplusplus
39958 extern "C"
39959 #endif
39960 char $ac_func ();
39961 /* The GNU C library defines this for functions which it implements
39962 to always fail with ENOSYS. Some functions are actually named
39963 something starting with __ and the normal name is an alias. */
39964 #if defined __stub_$ac_func || defined __stub___$ac_func
39965 choke me
39966 #endif
39967
39968 int
39969 main ()
39970 {
39971 return $ac_func ();
39972 ;
39973 return 0;
39974 }
39975 _ACEOF
39976 rm -f conftest.$ac_objext conftest$ac_exeext
39977 if { (ac_try="$ac_link"
39978 case "(($ac_try" in
39979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39980 *) ac_try_echo=$ac_try;;
39981 esac
39982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39983 (eval "$ac_link") 2>conftest.er1
39984 ac_status=$?
39985 grep -v '^ *+' conftest.er1 >conftest.err
39986 rm -f conftest.er1
39987 cat conftest.err >&5
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); } && {
39990 test -z "$ac_c_werror_flag" ||
39991 test ! -s conftest.err
39992 } && test -s conftest$ac_exeext &&
39993 $as_test_x conftest$ac_exeext; then
39994 eval "$as_ac_var=yes"
39995 else
39996 echo "$as_me: failed program was:" >&5
39997 sed 's/^/| /' conftest.$ac_ext >&5
39998
39999 eval "$as_ac_var=no"
40000 fi
40001
40002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40003 conftest$ac_exeext conftest.$ac_ext
40004 fi
40005 ac_res=`eval echo '${'$as_ac_var'}'`
40006 { echo "$as_me:$LINENO: result: $ac_res" >&5
40007 echo "${ECHO_T}$ac_res" >&6; }
40008 if test `eval echo '${'$as_ac_var'}'` = yes; then
40009 cat >>confdefs.h <<_ACEOF
40010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40011 _ACEOF
40012 break
40013 fi
40014 done
40015
40016
40017 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40018 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40019 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40020 wxUSE_SNGLINST_CHECKER=no
40021 fi
40022 fi
40023
40024
40025 for ac_func in timegm
40026 do
40027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40028 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40030 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40031 echo $ECHO_N "(cached) $ECHO_C" >&6
40032 else
40033 cat >conftest.$ac_ext <<_ACEOF
40034 /* confdefs.h. */
40035 _ACEOF
40036 cat confdefs.h >>conftest.$ac_ext
40037 cat >>conftest.$ac_ext <<_ACEOF
40038 /* end confdefs.h. */
40039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40041 #define $ac_func innocuous_$ac_func
40042
40043 /* System header to define __stub macros and hopefully few prototypes,
40044 which can conflict with char $ac_func (); below.
40045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40046 <limits.h> exists even on freestanding compilers. */
40047
40048 #ifdef __STDC__
40049 # include <limits.h>
40050 #else
40051 # include <assert.h>
40052 #endif
40053
40054 #undef $ac_func
40055
40056 /* Override any GCC internal prototype to avoid an error.
40057 Use char because int might match the return type of a GCC
40058 builtin and then its argument prototype would still apply. */
40059 #ifdef __cplusplus
40060 extern "C"
40061 #endif
40062 char $ac_func ();
40063 /* The GNU C library defines this for functions which it implements
40064 to always fail with ENOSYS. Some functions are actually named
40065 something starting with __ and the normal name is an alias. */
40066 #if defined __stub_$ac_func || defined __stub___$ac_func
40067 choke me
40068 #endif
40069
40070 int
40071 main ()
40072 {
40073 return $ac_func ();
40074 ;
40075 return 0;
40076 }
40077 _ACEOF
40078 rm -f conftest.$ac_objext conftest$ac_exeext
40079 if { (ac_try="$ac_link"
40080 case "(($ac_try" in
40081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40082 *) ac_try_echo=$ac_try;;
40083 esac
40084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40085 (eval "$ac_link") 2>conftest.er1
40086 ac_status=$?
40087 grep -v '^ *+' conftest.er1 >conftest.err
40088 rm -f conftest.er1
40089 cat conftest.err >&5
40090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40091 (exit $ac_status); } && {
40092 test -z "$ac_c_werror_flag" ||
40093 test ! -s conftest.err
40094 } && test -s conftest$ac_exeext &&
40095 $as_test_x conftest$ac_exeext; then
40096 eval "$as_ac_var=yes"
40097 else
40098 echo "$as_me: failed program was:" >&5
40099 sed 's/^/| /' conftest.$ac_ext >&5
40100
40101 eval "$as_ac_var=no"
40102 fi
40103
40104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40105 conftest$ac_exeext conftest.$ac_ext
40106 fi
40107 ac_res=`eval echo '${'$as_ac_var'}'`
40108 { echo "$as_me:$LINENO: result: $ac_res" >&5
40109 echo "${ECHO_T}$ac_res" >&6; }
40110 if test `eval echo '${'$as_ac_var'}'` = yes; then
40111 cat >>confdefs.h <<_ACEOF
40112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40113 _ACEOF
40114
40115 fi
40116 done
40117
40118
40119
40120
40121 for ac_func in setenv putenv
40122 do
40123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40127 echo $ECHO_N "(cached) $ECHO_C" >&6
40128 else
40129 cat >conftest.$ac_ext <<_ACEOF
40130 /* confdefs.h. */
40131 _ACEOF
40132 cat confdefs.h >>conftest.$ac_ext
40133 cat >>conftest.$ac_ext <<_ACEOF
40134 /* end confdefs.h. */
40135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40137 #define $ac_func innocuous_$ac_func
40138
40139 /* System header to define __stub macros and hopefully few prototypes,
40140 which can conflict with char $ac_func (); below.
40141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40142 <limits.h> exists even on freestanding compilers. */
40143
40144 #ifdef __STDC__
40145 # include <limits.h>
40146 #else
40147 # include <assert.h>
40148 #endif
40149
40150 #undef $ac_func
40151
40152 /* Override any GCC internal prototype to avoid an error.
40153 Use char because int might match the return type of a GCC
40154 builtin and then its argument prototype would still apply. */
40155 #ifdef __cplusplus
40156 extern "C"
40157 #endif
40158 char $ac_func ();
40159 /* The GNU C library defines this for functions which it implements
40160 to always fail with ENOSYS. Some functions are actually named
40161 something starting with __ and the normal name is an alias. */
40162 #if defined __stub_$ac_func || defined __stub___$ac_func
40163 choke me
40164 #endif
40165
40166 int
40167 main ()
40168 {
40169 return $ac_func ();
40170 ;
40171 return 0;
40172 }
40173 _ACEOF
40174 rm -f conftest.$ac_objext conftest$ac_exeext
40175 if { (ac_try="$ac_link"
40176 case "(($ac_try" in
40177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40178 *) ac_try_echo=$ac_try;;
40179 esac
40180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40181 (eval "$ac_link") 2>conftest.er1
40182 ac_status=$?
40183 grep -v '^ *+' conftest.er1 >conftest.err
40184 rm -f conftest.er1
40185 cat conftest.err >&5
40186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40187 (exit $ac_status); } && {
40188 test -z "$ac_c_werror_flag" ||
40189 test ! -s conftest.err
40190 } && test -s conftest$ac_exeext &&
40191 $as_test_x conftest$ac_exeext; then
40192 eval "$as_ac_var=yes"
40193 else
40194 echo "$as_me: failed program was:" >&5
40195 sed 's/^/| /' conftest.$ac_ext >&5
40196
40197 eval "$as_ac_var=no"
40198 fi
40199
40200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40201 conftest$ac_exeext conftest.$ac_ext
40202 fi
40203 ac_res=`eval echo '${'$as_ac_var'}'`
40204 { echo "$as_me:$LINENO: result: $ac_res" >&5
40205 echo "${ECHO_T}$ac_res" >&6; }
40206 if test `eval echo '${'$as_ac_var'}'` = yes; then
40207 cat >>confdefs.h <<_ACEOF
40208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40209 _ACEOF
40210 break
40211 fi
40212 done
40213
40214
40215 HAVE_SOME_SLEEP_FUNC=0
40216 if test "$USE_BEOS" = 1; then
40217 cat >>confdefs.h <<\_ACEOF
40218 #define HAVE_SLEEP 1
40219 _ACEOF
40220
40221 HAVE_SOME_SLEEP_FUNC=1
40222 fi
40223
40224 if test "$USE_DARWIN" = 1; then
40225 cat >>confdefs.h <<\_ACEOF
40226 #define HAVE_USLEEP 1
40227 _ACEOF
40228
40229 HAVE_SOME_SLEEP_FUNC=1
40230 fi
40231
40232 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40233 POSIX4_LINK=
40234
40235 for ac_func in nanosleep
40236 do
40237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40238 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40240 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40241 echo $ECHO_N "(cached) $ECHO_C" >&6
40242 else
40243 cat >conftest.$ac_ext <<_ACEOF
40244 /* confdefs.h. */
40245 _ACEOF
40246 cat confdefs.h >>conftest.$ac_ext
40247 cat >>conftest.$ac_ext <<_ACEOF
40248 /* end confdefs.h. */
40249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40251 #define $ac_func innocuous_$ac_func
40252
40253 /* System header to define __stub macros and hopefully few prototypes,
40254 which can conflict with char $ac_func (); below.
40255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40256 <limits.h> exists even on freestanding compilers. */
40257
40258 #ifdef __STDC__
40259 # include <limits.h>
40260 #else
40261 # include <assert.h>
40262 #endif
40263
40264 #undef $ac_func
40265
40266 /* Override any GCC internal prototype to avoid an error.
40267 Use char because int might match the return type of a GCC
40268 builtin and then its argument prototype would still apply. */
40269 #ifdef __cplusplus
40270 extern "C"
40271 #endif
40272 char $ac_func ();
40273 /* The GNU C library defines this for functions which it implements
40274 to always fail with ENOSYS. Some functions are actually named
40275 something starting with __ and the normal name is an alias. */
40276 #if defined __stub_$ac_func || defined __stub___$ac_func
40277 choke me
40278 #endif
40279
40280 int
40281 main ()
40282 {
40283 return $ac_func ();
40284 ;
40285 return 0;
40286 }
40287 _ACEOF
40288 rm -f conftest.$ac_objext conftest$ac_exeext
40289 if { (ac_try="$ac_link"
40290 case "(($ac_try" in
40291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40292 *) ac_try_echo=$ac_try;;
40293 esac
40294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40295 (eval "$ac_link") 2>conftest.er1
40296 ac_status=$?
40297 grep -v '^ *+' conftest.er1 >conftest.err
40298 rm -f conftest.er1
40299 cat conftest.err >&5
40300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40301 (exit $ac_status); } && {
40302 test -z "$ac_c_werror_flag" ||
40303 test ! -s conftest.err
40304 } && test -s conftest$ac_exeext &&
40305 $as_test_x conftest$ac_exeext; then
40306 eval "$as_ac_var=yes"
40307 else
40308 echo "$as_me: failed program was:" >&5
40309 sed 's/^/| /' conftest.$ac_ext >&5
40310
40311 eval "$as_ac_var=no"
40312 fi
40313
40314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40315 conftest$ac_exeext conftest.$ac_ext
40316 fi
40317 ac_res=`eval echo '${'$as_ac_var'}'`
40318 { echo "$as_me:$LINENO: result: $ac_res" >&5
40319 echo "${ECHO_T}$ac_res" >&6; }
40320 if test `eval echo '${'$as_ac_var'}'` = yes; then
40321 cat >>confdefs.h <<_ACEOF
40322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40323 _ACEOF
40324 cat >>confdefs.h <<\_ACEOF
40325 #define HAVE_NANOSLEEP 1
40326 _ACEOF
40327
40328 else
40329
40330 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40331 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40332 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40333 echo $ECHO_N "(cached) $ECHO_C" >&6
40334 else
40335 ac_check_lib_save_LIBS=$LIBS
40336 LIBS="-lposix4 $LIBS"
40337 cat >conftest.$ac_ext <<_ACEOF
40338 /* confdefs.h. */
40339 _ACEOF
40340 cat confdefs.h >>conftest.$ac_ext
40341 cat >>conftest.$ac_ext <<_ACEOF
40342 /* end confdefs.h. */
40343
40344 /* Override any GCC internal prototype to avoid an error.
40345 Use char because int might match the return type of a GCC
40346 builtin and then its argument prototype would still apply. */
40347 #ifdef __cplusplus
40348 extern "C"
40349 #endif
40350 char nanosleep ();
40351 int
40352 main ()
40353 {
40354 return nanosleep ();
40355 ;
40356 return 0;
40357 }
40358 _ACEOF
40359 rm -f conftest.$ac_objext conftest$ac_exeext
40360 if { (ac_try="$ac_link"
40361 case "(($ac_try" in
40362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40363 *) ac_try_echo=$ac_try;;
40364 esac
40365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40366 (eval "$ac_link") 2>conftest.er1
40367 ac_status=$?
40368 grep -v '^ *+' conftest.er1 >conftest.err
40369 rm -f conftest.er1
40370 cat conftest.err >&5
40371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372 (exit $ac_status); } && {
40373 test -z "$ac_c_werror_flag" ||
40374 test ! -s conftest.err
40375 } && test -s conftest$ac_exeext &&
40376 $as_test_x conftest$ac_exeext; then
40377 ac_cv_lib_posix4_nanosleep=yes
40378 else
40379 echo "$as_me: failed program was:" >&5
40380 sed 's/^/| /' conftest.$ac_ext >&5
40381
40382 ac_cv_lib_posix4_nanosleep=no
40383 fi
40384
40385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40386 conftest$ac_exeext conftest.$ac_ext
40387 LIBS=$ac_check_lib_save_LIBS
40388 fi
40389 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40390 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40391 if test $ac_cv_lib_posix4_nanosleep = yes; then
40392
40393 cat >>confdefs.h <<\_ACEOF
40394 #define HAVE_NANOSLEEP 1
40395 _ACEOF
40396
40397 POSIX4_LINK=" -lposix4"
40398
40399 else
40400
40401
40402 for wx_func in usleep
40403 do
40404 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40405 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40406 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40407 echo $ECHO_N "(cached) $ECHO_C" >&6
40408 else
40409
40410 cat >conftest.$ac_ext <<_ACEOF
40411
40412 /* confdefs.h. */
40413 _ACEOF
40414 cat confdefs.h >>conftest.$ac_ext
40415 cat >>conftest.$ac_ext <<_ACEOF
40416 /* end confdefs.h. */
40417
40418
40419 $ac_includes_default
40420
40421 int
40422 main ()
40423 {
40424
40425 #ifndef $wx_func
40426 &$wx_func;
40427 #endif
40428
40429
40430 ;
40431 return 0;
40432 }
40433
40434 _ACEOF
40435 rm -f conftest.$ac_objext conftest$ac_exeext
40436 if { (ac_try="$ac_link"
40437 case "(($ac_try" in
40438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40439 *) ac_try_echo=$ac_try;;
40440 esac
40441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40442 (eval "$ac_link") 2>conftest.er1
40443 ac_status=$?
40444 grep -v '^ *+' conftest.er1 >conftest.err
40445 rm -f conftest.er1
40446 cat conftest.err >&5
40447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40448 (exit $ac_status); } && {
40449 test -z "$ac_c_werror_flag" ||
40450 test ! -s conftest.err
40451 } && test -s conftest$ac_exeext &&
40452 $as_test_x conftest$ac_exeext; then
40453 eval wx_cv_func_$wx_func=yes
40454 else
40455 echo "$as_me: failed program was:" >&5
40456 sed 's/^/| /' conftest.$ac_ext >&5
40457
40458 eval wx_cv_func_$wx_func=no
40459 fi
40460
40461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40462 conftest$ac_exeext conftest.$ac_ext
40463
40464 fi
40465 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40466 { echo "$as_me:$LINENO: result: $ac_res" >&5
40467 echo "${ECHO_T}$ac_res" >&6; }
40468
40469 if eval test \$wx_cv_func_$wx_func = yes
40470 then
40471 cat >>confdefs.h <<_ACEOF
40472 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40473 _ACEOF
40474
40475
40476 else
40477 :
40478 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40479 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40480
40481 fi
40482 done
40483
40484
40485
40486 fi
40487
40488
40489
40490 fi
40491 done
40492
40493 fi
40494
40495
40496 for wx_func in uname
40497 do
40498 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40499 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40500 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40501 echo $ECHO_N "(cached) $ECHO_C" >&6
40502 else
40503
40504 cat >conftest.$ac_ext <<_ACEOF
40505
40506 /* confdefs.h. */
40507 _ACEOF
40508 cat confdefs.h >>conftest.$ac_ext
40509 cat >>conftest.$ac_ext <<_ACEOF
40510 /* end confdefs.h. */
40511
40512 #include <sys/utsname.h>
40513 $ac_includes_default
40514
40515 int
40516 main ()
40517 {
40518
40519 #ifndef $wx_func
40520 &$wx_func;
40521 #endif
40522
40523
40524 ;
40525 return 0;
40526 }
40527
40528 _ACEOF
40529 rm -f conftest.$ac_objext conftest$ac_exeext
40530 if { (ac_try="$ac_link"
40531 case "(($ac_try" in
40532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40533 *) ac_try_echo=$ac_try;;
40534 esac
40535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40536 (eval "$ac_link") 2>conftest.er1
40537 ac_status=$?
40538 grep -v '^ *+' conftest.er1 >conftest.err
40539 rm -f conftest.er1
40540 cat conftest.err >&5
40541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40542 (exit $ac_status); } && {
40543 test -z "$ac_c_werror_flag" ||
40544 test ! -s conftest.err
40545 } && test -s conftest$ac_exeext &&
40546 $as_test_x conftest$ac_exeext; then
40547 eval wx_cv_func_$wx_func=yes
40548 else
40549 echo "$as_me: failed program was:" >&5
40550 sed 's/^/| /' conftest.$ac_ext >&5
40551
40552 eval wx_cv_func_$wx_func=no
40553 fi
40554
40555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40556 conftest$ac_exeext conftest.$ac_ext
40557
40558 fi
40559 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40560 { echo "$as_me:$LINENO: result: $ac_res" >&5
40561 echo "${ECHO_T}$ac_res" >&6; }
40562
40563 if eval test \$wx_cv_func_$wx_func = yes
40564 then
40565 cat >>confdefs.h <<_ACEOF
40566 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40567 _ACEOF
40568
40569
40570 else
40571 :
40572
40573 fi
40574 done
40575
40576 if test "$wx_cv_func_uname" != yes; then
40577
40578 for wx_func in gethostname
40579 do
40580 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40581 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40582 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40583 echo $ECHO_N "(cached) $ECHO_C" >&6
40584 else
40585
40586 cat >conftest.$ac_ext <<_ACEOF
40587
40588 /* confdefs.h. */
40589 _ACEOF
40590 cat confdefs.h >>conftest.$ac_ext
40591 cat >>conftest.$ac_ext <<_ACEOF
40592 /* end confdefs.h. */
40593
40594
40595 $ac_includes_default
40596
40597 int
40598 main ()
40599 {
40600
40601 #ifndef $wx_func
40602 &$wx_func;
40603 #endif
40604
40605
40606 ;
40607 return 0;
40608 }
40609
40610 _ACEOF
40611 rm -f conftest.$ac_objext conftest$ac_exeext
40612 if { (ac_try="$ac_link"
40613 case "(($ac_try" in
40614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40615 *) ac_try_echo=$ac_try;;
40616 esac
40617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40618 (eval "$ac_link") 2>conftest.er1
40619 ac_status=$?
40620 grep -v '^ *+' conftest.er1 >conftest.err
40621 rm -f conftest.er1
40622 cat conftest.err >&5
40623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40624 (exit $ac_status); } && {
40625 test -z "$ac_c_werror_flag" ||
40626 test ! -s conftest.err
40627 } && test -s conftest$ac_exeext &&
40628 $as_test_x conftest$ac_exeext; then
40629 eval wx_cv_func_$wx_func=yes
40630 else
40631 echo "$as_me: failed program was:" >&5
40632 sed 's/^/| /' conftest.$ac_ext >&5
40633
40634 eval wx_cv_func_$wx_func=no
40635 fi
40636
40637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40638 conftest$ac_exeext conftest.$ac_ext
40639
40640 fi
40641 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40642 { echo "$as_me:$LINENO: result: $ac_res" >&5
40643 echo "${ECHO_T}$ac_res" >&6; }
40644
40645 if eval test \$wx_cv_func_$wx_func = yes
40646 then
40647 cat >>confdefs.h <<_ACEOF
40648 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40649 _ACEOF
40650
40651
40652 else
40653 :
40654
40655 fi
40656 done
40657
40658 fi
40659
40660
40661 for wx_func in strtok_r
40662 do
40663 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40664 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40665 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40666 echo $ECHO_N "(cached) $ECHO_C" >&6
40667 else
40668
40669 cat >conftest.$ac_ext <<_ACEOF
40670
40671 /* confdefs.h. */
40672 _ACEOF
40673 cat confdefs.h >>conftest.$ac_ext
40674 cat >>conftest.$ac_ext <<_ACEOF
40675 /* end confdefs.h. */
40676
40677 #define _REENTRANT
40678 $ac_includes_default
40679
40680 int
40681 main ()
40682 {
40683
40684 #ifndef $wx_func
40685 &$wx_func;
40686 #endif
40687
40688
40689 ;
40690 return 0;
40691 }
40692
40693 _ACEOF
40694 rm -f conftest.$ac_objext conftest$ac_exeext
40695 if { (ac_try="$ac_link"
40696 case "(($ac_try" in
40697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40698 *) ac_try_echo=$ac_try;;
40699 esac
40700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40701 (eval "$ac_link") 2>conftest.er1
40702 ac_status=$?
40703 grep -v '^ *+' conftest.er1 >conftest.err
40704 rm -f conftest.er1
40705 cat conftest.err >&5
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); } && {
40708 test -z "$ac_c_werror_flag" ||
40709 test ! -s conftest.err
40710 } && test -s conftest$ac_exeext &&
40711 $as_test_x conftest$ac_exeext; then
40712 eval wx_cv_func_$wx_func=yes
40713 else
40714 echo "$as_me: failed program was:" >&5
40715 sed 's/^/| /' conftest.$ac_ext >&5
40716
40717 eval wx_cv_func_$wx_func=no
40718 fi
40719
40720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40721 conftest$ac_exeext conftest.$ac_ext
40722
40723 fi
40724 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40725 { echo "$as_me:$LINENO: result: $ac_res" >&5
40726 echo "${ECHO_T}$ac_res" >&6; }
40727
40728 if eval test \$wx_cv_func_$wx_func = yes
40729 then
40730 cat >>confdefs.h <<_ACEOF
40731 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40732 _ACEOF
40733
40734
40735 else
40736 :
40737
40738 fi
40739 done
40740
40741
40742 INET_LINK=
40743
40744 for ac_func in inet_addr
40745 do
40746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40747 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40749 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40750 echo $ECHO_N "(cached) $ECHO_C" >&6
40751 else
40752 cat >conftest.$ac_ext <<_ACEOF
40753 /* confdefs.h. */
40754 _ACEOF
40755 cat confdefs.h >>conftest.$ac_ext
40756 cat >>conftest.$ac_ext <<_ACEOF
40757 /* end confdefs.h. */
40758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40760 #define $ac_func innocuous_$ac_func
40761
40762 /* System header to define __stub macros and hopefully few prototypes,
40763 which can conflict with char $ac_func (); below.
40764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40765 <limits.h> exists even on freestanding compilers. */
40766
40767 #ifdef __STDC__
40768 # include <limits.h>
40769 #else
40770 # include <assert.h>
40771 #endif
40772
40773 #undef $ac_func
40774
40775 /* Override any GCC internal prototype to avoid an error.
40776 Use char because int might match the return type of a GCC
40777 builtin and then its argument prototype would still apply. */
40778 #ifdef __cplusplus
40779 extern "C"
40780 #endif
40781 char $ac_func ();
40782 /* The GNU C library defines this for functions which it implements
40783 to always fail with ENOSYS. Some functions are actually named
40784 something starting with __ and the normal name is an alias. */
40785 #if defined __stub_$ac_func || defined __stub___$ac_func
40786 choke me
40787 #endif
40788
40789 int
40790 main ()
40791 {
40792 return $ac_func ();
40793 ;
40794 return 0;
40795 }
40796 _ACEOF
40797 rm -f conftest.$ac_objext conftest$ac_exeext
40798 if { (ac_try="$ac_link"
40799 case "(($ac_try" in
40800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40801 *) ac_try_echo=$ac_try;;
40802 esac
40803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40804 (eval "$ac_link") 2>conftest.er1
40805 ac_status=$?
40806 grep -v '^ *+' conftest.er1 >conftest.err
40807 rm -f conftest.er1
40808 cat conftest.err >&5
40809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810 (exit $ac_status); } && {
40811 test -z "$ac_c_werror_flag" ||
40812 test ! -s conftest.err
40813 } && test -s conftest$ac_exeext &&
40814 $as_test_x conftest$ac_exeext; then
40815 eval "$as_ac_var=yes"
40816 else
40817 echo "$as_me: failed program was:" >&5
40818 sed 's/^/| /' conftest.$ac_ext >&5
40819
40820 eval "$as_ac_var=no"
40821 fi
40822
40823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40824 conftest$ac_exeext conftest.$ac_ext
40825 fi
40826 ac_res=`eval echo '${'$as_ac_var'}'`
40827 { echo "$as_me:$LINENO: result: $ac_res" >&5
40828 echo "${ECHO_T}$ac_res" >&6; }
40829 if test `eval echo '${'$as_ac_var'}'` = yes; then
40830 cat >>confdefs.h <<_ACEOF
40831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40832 _ACEOF
40833 cat >>confdefs.h <<\_ACEOF
40834 #define HAVE_INET_ADDR 1
40835 _ACEOF
40836
40837 else
40838
40839 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40840 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40841 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40842 echo $ECHO_N "(cached) $ECHO_C" >&6
40843 else
40844 ac_check_lib_save_LIBS=$LIBS
40845 LIBS="-lnsl $LIBS"
40846 cat >conftest.$ac_ext <<_ACEOF
40847 /* confdefs.h. */
40848 _ACEOF
40849 cat confdefs.h >>conftest.$ac_ext
40850 cat >>conftest.$ac_ext <<_ACEOF
40851 /* end confdefs.h. */
40852
40853 /* Override any GCC internal prototype to avoid an error.
40854 Use char because int might match the return type of a GCC
40855 builtin and then its argument prototype would still apply. */
40856 #ifdef __cplusplus
40857 extern "C"
40858 #endif
40859 char inet_addr ();
40860 int
40861 main ()
40862 {
40863 return inet_addr ();
40864 ;
40865 return 0;
40866 }
40867 _ACEOF
40868 rm -f conftest.$ac_objext conftest$ac_exeext
40869 if { (ac_try="$ac_link"
40870 case "(($ac_try" in
40871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40872 *) ac_try_echo=$ac_try;;
40873 esac
40874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40875 (eval "$ac_link") 2>conftest.er1
40876 ac_status=$?
40877 grep -v '^ *+' conftest.er1 >conftest.err
40878 rm -f conftest.er1
40879 cat conftest.err >&5
40880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40881 (exit $ac_status); } && {
40882 test -z "$ac_c_werror_flag" ||
40883 test ! -s conftest.err
40884 } && test -s conftest$ac_exeext &&
40885 $as_test_x conftest$ac_exeext; then
40886 ac_cv_lib_nsl_inet_addr=yes
40887 else
40888 echo "$as_me: failed program was:" >&5
40889 sed 's/^/| /' conftest.$ac_ext >&5
40890
40891 ac_cv_lib_nsl_inet_addr=no
40892 fi
40893
40894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40895 conftest$ac_exeext conftest.$ac_ext
40896 LIBS=$ac_check_lib_save_LIBS
40897 fi
40898 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40899 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40900 if test $ac_cv_lib_nsl_inet_addr = yes; then
40901 INET_LINK="nsl"
40902 else
40903
40904 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40905 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40906 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40907 echo $ECHO_N "(cached) $ECHO_C" >&6
40908 else
40909 ac_check_lib_save_LIBS=$LIBS
40910 LIBS="-lresolv $LIBS"
40911 cat >conftest.$ac_ext <<_ACEOF
40912 /* confdefs.h. */
40913 _ACEOF
40914 cat confdefs.h >>conftest.$ac_ext
40915 cat >>conftest.$ac_ext <<_ACEOF
40916 /* end confdefs.h. */
40917
40918 /* Override any GCC internal prototype to avoid an error.
40919 Use char because int might match the return type of a GCC
40920 builtin and then its argument prototype would still apply. */
40921 #ifdef __cplusplus
40922 extern "C"
40923 #endif
40924 char inet_addr ();
40925 int
40926 main ()
40927 {
40928 return inet_addr ();
40929 ;
40930 return 0;
40931 }
40932 _ACEOF
40933 rm -f conftest.$ac_objext conftest$ac_exeext
40934 if { (ac_try="$ac_link"
40935 case "(($ac_try" in
40936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40937 *) ac_try_echo=$ac_try;;
40938 esac
40939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40940 (eval "$ac_link") 2>conftest.er1
40941 ac_status=$?
40942 grep -v '^ *+' conftest.er1 >conftest.err
40943 rm -f conftest.er1
40944 cat conftest.err >&5
40945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40946 (exit $ac_status); } && {
40947 test -z "$ac_c_werror_flag" ||
40948 test ! -s conftest.err
40949 } && test -s conftest$ac_exeext &&
40950 $as_test_x conftest$ac_exeext; then
40951 ac_cv_lib_resolv_inet_addr=yes
40952 else
40953 echo "$as_me: failed program was:" >&5
40954 sed 's/^/| /' conftest.$ac_ext >&5
40955
40956 ac_cv_lib_resolv_inet_addr=no
40957 fi
40958
40959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40960 conftest$ac_exeext conftest.$ac_ext
40961 LIBS=$ac_check_lib_save_LIBS
40962 fi
40963 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40964 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40965 if test $ac_cv_lib_resolv_inet_addr = yes; then
40966 INET_LINK="resolv"
40967 else
40968
40969 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40970 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40971 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40972 echo $ECHO_N "(cached) $ECHO_C" >&6
40973 else
40974 ac_check_lib_save_LIBS=$LIBS
40975 LIBS="-lsocket $LIBS"
40976 cat >conftest.$ac_ext <<_ACEOF
40977 /* confdefs.h. */
40978 _ACEOF
40979 cat confdefs.h >>conftest.$ac_ext
40980 cat >>conftest.$ac_ext <<_ACEOF
40981 /* end confdefs.h. */
40982
40983 /* Override any GCC internal prototype to avoid an error.
40984 Use char because int might match the return type of a GCC
40985 builtin and then its argument prototype would still apply. */
40986 #ifdef __cplusplus
40987 extern "C"
40988 #endif
40989 char inet_addr ();
40990 int
40991 main ()
40992 {
40993 return inet_addr ();
40994 ;
40995 return 0;
40996 }
40997 _ACEOF
40998 rm -f conftest.$ac_objext conftest$ac_exeext
40999 if { (ac_try="$ac_link"
41000 case "(($ac_try" in
41001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41002 *) ac_try_echo=$ac_try;;
41003 esac
41004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41005 (eval "$ac_link") 2>conftest.er1
41006 ac_status=$?
41007 grep -v '^ *+' conftest.er1 >conftest.err
41008 rm -f conftest.er1
41009 cat conftest.err >&5
41010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011 (exit $ac_status); } && {
41012 test -z "$ac_c_werror_flag" ||
41013 test ! -s conftest.err
41014 } && test -s conftest$ac_exeext &&
41015 $as_test_x conftest$ac_exeext; then
41016 ac_cv_lib_socket_inet_addr=yes
41017 else
41018 echo "$as_me: failed program was:" >&5
41019 sed 's/^/| /' conftest.$ac_ext >&5
41020
41021 ac_cv_lib_socket_inet_addr=no
41022 fi
41023
41024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41025 conftest$ac_exeext conftest.$ac_ext
41026 LIBS=$ac_check_lib_save_LIBS
41027 fi
41028 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41029 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41030 if test $ac_cv_lib_socket_inet_addr = yes; then
41031 INET_LINK="socket"
41032
41033 fi
41034
41035
41036
41037 fi
41038
41039
41040
41041 fi
41042
41043
41044
41045 fi
41046 done
41047
41048
41049
41050 for ac_func in inet_aton
41051 do
41052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41053 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41055 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41056 echo $ECHO_N "(cached) $ECHO_C" >&6
41057 else
41058 cat >conftest.$ac_ext <<_ACEOF
41059 /* confdefs.h. */
41060 _ACEOF
41061 cat confdefs.h >>conftest.$ac_ext
41062 cat >>conftest.$ac_ext <<_ACEOF
41063 /* end confdefs.h. */
41064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41066 #define $ac_func innocuous_$ac_func
41067
41068 /* System header to define __stub macros and hopefully few prototypes,
41069 which can conflict with char $ac_func (); below.
41070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41071 <limits.h> exists even on freestanding compilers. */
41072
41073 #ifdef __STDC__
41074 # include <limits.h>
41075 #else
41076 # include <assert.h>
41077 #endif
41078
41079 #undef $ac_func
41080
41081 /* Override any GCC internal prototype to avoid an error.
41082 Use char because int might match the return type of a GCC
41083 builtin and then its argument prototype would still apply. */
41084 #ifdef __cplusplus
41085 extern "C"
41086 #endif
41087 char $ac_func ();
41088 /* The GNU C library defines this for functions which it implements
41089 to always fail with ENOSYS. Some functions are actually named
41090 something starting with __ and the normal name is an alias. */
41091 #if defined __stub_$ac_func || defined __stub___$ac_func
41092 choke me
41093 #endif
41094
41095 int
41096 main ()
41097 {
41098 return $ac_func ();
41099 ;
41100 return 0;
41101 }
41102 _ACEOF
41103 rm -f conftest.$ac_objext conftest$ac_exeext
41104 if { (ac_try="$ac_link"
41105 case "(($ac_try" in
41106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41107 *) ac_try_echo=$ac_try;;
41108 esac
41109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41110 (eval "$ac_link") 2>conftest.er1
41111 ac_status=$?
41112 grep -v '^ *+' conftest.er1 >conftest.err
41113 rm -f conftest.er1
41114 cat conftest.err >&5
41115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41116 (exit $ac_status); } && {
41117 test -z "$ac_c_werror_flag" ||
41118 test ! -s conftest.err
41119 } && test -s conftest$ac_exeext &&
41120 $as_test_x conftest$ac_exeext; then
41121 eval "$as_ac_var=yes"
41122 else
41123 echo "$as_me: failed program was:" >&5
41124 sed 's/^/| /' conftest.$ac_ext >&5
41125
41126 eval "$as_ac_var=no"
41127 fi
41128
41129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41130 conftest$ac_exeext conftest.$ac_ext
41131 fi
41132 ac_res=`eval echo '${'$as_ac_var'}'`
41133 { echo "$as_me:$LINENO: result: $ac_res" >&5
41134 echo "${ECHO_T}$ac_res" >&6; }
41135 if test `eval echo '${'$as_ac_var'}'` = yes; then
41136 cat >>confdefs.h <<_ACEOF
41137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41138 _ACEOF
41139 cat >>confdefs.h <<\_ACEOF
41140 #define HAVE_INET_ATON 1
41141 _ACEOF
41142
41143 else
41144
41145 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41146 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41147 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41148 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41149 echo $ECHO_N "(cached) $ECHO_C" >&6
41150 else
41151 ac_check_lib_save_LIBS=$LIBS
41152 LIBS="-l$INET_LINK $LIBS"
41153 cat >conftest.$ac_ext <<_ACEOF
41154 /* confdefs.h. */
41155 _ACEOF
41156 cat confdefs.h >>conftest.$ac_ext
41157 cat >>conftest.$ac_ext <<_ACEOF
41158 /* end confdefs.h. */
41159
41160 /* Override any GCC internal prototype to avoid an error.
41161 Use char because int might match the return type of a GCC
41162 builtin and then its argument prototype would still apply. */
41163 #ifdef __cplusplus
41164 extern "C"
41165 #endif
41166 char inet_aton ();
41167 int
41168 main ()
41169 {
41170 return inet_aton ();
41171 ;
41172 return 0;
41173 }
41174 _ACEOF
41175 rm -f conftest.$ac_objext conftest$ac_exeext
41176 if { (ac_try="$ac_link"
41177 case "(($ac_try" in
41178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41179 *) ac_try_echo=$ac_try;;
41180 esac
41181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41182 (eval "$ac_link") 2>conftest.er1
41183 ac_status=$?
41184 grep -v '^ *+' conftest.er1 >conftest.err
41185 rm -f conftest.er1
41186 cat conftest.err >&5
41187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41188 (exit $ac_status); } && {
41189 test -z "$ac_c_werror_flag" ||
41190 test ! -s conftest.err
41191 } && test -s conftest$ac_exeext &&
41192 $as_test_x conftest$ac_exeext; then
41193 eval "$as_ac_Lib=yes"
41194 else
41195 echo "$as_me: failed program was:" >&5
41196 sed 's/^/| /' conftest.$ac_ext >&5
41197
41198 eval "$as_ac_Lib=no"
41199 fi
41200
41201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41202 conftest$ac_exeext conftest.$ac_ext
41203 LIBS=$ac_check_lib_save_LIBS
41204 fi
41205 ac_res=`eval echo '${'$as_ac_Lib'}'`
41206 { echo "$as_me:$LINENO: result: $ac_res" >&5
41207 echo "${ECHO_T}$ac_res" >&6; }
41208 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41209 cat >>confdefs.h <<\_ACEOF
41210 #define HAVE_INET_ATON 1
41211 _ACEOF
41212
41213 fi
41214
41215
41216 fi
41217 done
41218
41219
41220 if test "x$INET_LINK" != "x"; then
41221 cat >>confdefs.h <<\_ACEOF
41222 #define HAVE_INET_ADDR 1
41223 _ACEOF
41224
41225 INET_LINK=" -l$INET_LINK"
41226 fi
41227
41228
41229 for wx_func in fdopen
41230 do
41231 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41232 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41233 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41234 echo $ECHO_N "(cached) $ECHO_C" >&6
41235 else
41236
41237 cat >conftest.$ac_ext <<_ACEOF
41238
41239 /* confdefs.h. */
41240 _ACEOF
41241 cat confdefs.h >>conftest.$ac_ext
41242 cat >>conftest.$ac_ext <<_ACEOF
41243 /* end confdefs.h. */
41244
41245
41246 $ac_includes_default
41247
41248 int
41249 main ()
41250 {
41251
41252 #ifndef $wx_func
41253 &$wx_func;
41254 #endif
41255
41256
41257 ;
41258 return 0;
41259 }
41260
41261 _ACEOF
41262 rm -f conftest.$ac_objext conftest$ac_exeext
41263 if { (ac_try="$ac_link"
41264 case "(($ac_try" in
41265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41266 *) ac_try_echo=$ac_try;;
41267 esac
41268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41269 (eval "$ac_link") 2>conftest.er1
41270 ac_status=$?
41271 grep -v '^ *+' conftest.er1 >conftest.err
41272 rm -f conftest.er1
41273 cat conftest.err >&5
41274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41275 (exit $ac_status); } && {
41276 test -z "$ac_c_werror_flag" ||
41277 test ! -s conftest.err
41278 } && test -s conftest$ac_exeext &&
41279 $as_test_x conftest$ac_exeext; then
41280 eval wx_cv_func_$wx_func=yes
41281 else
41282 echo "$as_me: failed program was:" >&5
41283 sed 's/^/| /' conftest.$ac_ext >&5
41284
41285 eval wx_cv_func_$wx_func=no
41286 fi
41287
41288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41289 conftest$ac_exeext conftest.$ac_ext
41290
41291 fi
41292 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41293 { echo "$as_me:$LINENO: result: $ac_res" >&5
41294 echo "${ECHO_T}$ac_res" >&6; }
41295
41296 if eval test \$wx_cv_func_$wx_func = yes
41297 then
41298 cat >>confdefs.h <<_ACEOF
41299 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41300 _ACEOF
41301
41302
41303 else
41304 :
41305
41306 fi
41307 done
41308
41309
41310 fi
41311
41312
41313
41314 cat >confcache <<\_ACEOF
41315 # This file is a shell script that caches the results of configure
41316 # tests run on this system so they can be shared between configure
41317 # scripts and configure runs, see configure's option --config-cache.
41318 # It is not useful on other systems. If it contains results you don't
41319 # want to keep, you may remove or edit it.
41320 #
41321 # config.status only pays attention to the cache file if you give it
41322 # the --recheck option to rerun configure.
41323 #
41324 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41325 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41326 # following values.
41327
41328 _ACEOF
41329
41330 # The following way of writing the cache mishandles newlines in values,
41331 # but we know of no workaround that is simple, portable, and efficient.
41332 # So, we kill variables containing newlines.
41333 # Ultrix sh set writes to stderr and can't be redirected directly,
41334 # and sets the high bit in the cache file unless we assign to the vars.
41335 (
41336 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41337 eval ac_val=\$$ac_var
41338 case $ac_val in #(
41339 *${as_nl}*)
41340 case $ac_var in #(
41341 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41342 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41343 esac
41344 case $ac_var in #(
41345 _ | IFS | as_nl) ;; #(
41346 *) $as_unset $ac_var ;;
41347 esac ;;
41348 esac
41349 done
41350
41351 (set) 2>&1 |
41352 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41353 *${as_nl}ac_space=\ *)
41354 # `set' does not quote correctly, so add quotes (double-quote
41355 # substitution turns \\\\ into \\, and sed turns \\ into \).
41356 sed -n \
41357 "s/'/'\\\\''/g;
41358 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41359 ;; #(
41360 *)
41361 # `set' quotes correctly as required by POSIX, so do not add quotes.
41362 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41363 ;;
41364 esac |
41365 sort
41366 ) |
41367 sed '
41368 /^ac_cv_env_/b end
41369 t clear
41370 :clear
41371 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41372 t end
41373 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41374 :end' >>confcache
41375 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41376 if test -w "$cache_file"; then
41377 test "x$cache_file" != "x/dev/null" &&
41378 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41379 echo "$as_me: updating cache $cache_file" >&6;}
41380 cat confcache >$cache_file
41381 else
41382 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41383 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41384 fi
41385 fi
41386 rm -f confcache
41387
41388
41389 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41390
41391
41392 THREADS_LINK=
41393 THREADS_CFLAGS=
41394
41395 if test "$wxUSE_THREADS" = "yes" ; then
41396 if test "$USE_BEOS" = 1; then
41397 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41398 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41399 wxUSE_THREADS="no"
41400 fi
41401 fi
41402
41403 if test "$wxUSE_THREADS" = "yes" ; then
41404
41405
41406 THREAD_OPTS="-pthread"
41407 if test "x$SUNCXX" = xyes; then
41408 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41409 fi
41410
41411 case "${host}" in
41412 *-*-solaris2* | *-*-sunos4* )
41413 if test "x$GCC" = "xyes"; then
41414 THREAD_OPTS="-pthreads $THREAD_OPTS"
41415 fi
41416 ;;
41417 *-*-freebsd*)
41418 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41419 ;;
41420 *-*-darwin* | *-*-cygwin* )
41421 THREAD_OPTS=""
41422 ;;
41423 *-*-aix*)
41424 THREAD_OPTS="pthreads"
41425 ;;
41426 *-hp-hpux* )
41427 if test "x$GCC" = "xyes"; then
41428 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41429 THREAD_OPTS=""
41430 else
41431 THREAD_OPTS="-mt"
41432 fi
41433 ;;
41434
41435 *-*-irix* )
41436 if test "x$GCC" = "xyes"; then
41437 THREAD_OPTS=""
41438 fi
41439 ;;
41440
41441 *-*-*UnixWare*)
41442 if test "x$GCC" != "xyes"; then
41443 THREAD_OPTS="-Ethread"
41444 fi
41445 ;;
41446 esac
41447
41448 THREAD_OPTS="$THREAD_OPTS pthread none"
41449
41450 THREADS_OK=no
41451 for flag in $THREAD_OPTS; do
41452 case $flag in
41453 none)
41454 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41455 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41456 ;;
41457
41458 -*)
41459 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41460 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41461 THREADS_CFLAGS="$flag"
41462 ;;
41463
41464 *)
41465 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41466 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41467 THREADS_LINK="-l$flag"
41468 ;;
41469 esac
41470
41471 save_LIBS="$LIBS"
41472 save_CFLAGS="$CFLAGS"
41473 LIBS="$THREADS_LINK $LIBS"
41474 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41475
41476 cat >conftest.$ac_ext <<_ACEOF
41477 /* confdefs.h. */
41478 _ACEOF
41479 cat confdefs.h >>conftest.$ac_ext
41480 cat >>conftest.$ac_ext <<_ACEOF
41481 /* end confdefs.h. */
41482 #include <pthread.h>
41483 int
41484 main ()
41485 {
41486 pthread_create(0,0,0,0);
41487 ;
41488 return 0;
41489 }
41490 _ACEOF
41491 rm -f conftest.$ac_objext conftest$ac_exeext
41492 if { (ac_try="$ac_link"
41493 case "(($ac_try" in
41494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41495 *) ac_try_echo=$ac_try;;
41496 esac
41497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41498 (eval "$ac_link") 2>conftest.er1
41499 ac_status=$?
41500 grep -v '^ *+' conftest.er1 >conftest.err
41501 rm -f conftest.er1
41502 cat conftest.err >&5
41503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504 (exit $ac_status); } && {
41505 test -z "$ac_c_werror_flag" ||
41506 test ! -s conftest.err
41507 } && test -s conftest$ac_exeext &&
41508 $as_test_x conftest$ac_exeext; then
41509 THREADS_OK=yes
41510 else
41511 echo "$as_me: failed program was:" >&5
41512 sed 's/^/| /' conftest.$ac_ext >&5
41513
41514
41515 fi
41516
41517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41518 conftest$ac_exeext conftest.$ac_ext
41519
41520 LIBS="$save_LIBS"
41521 CFLAGS="$save_CFLAGS"
41522
41523 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41524 echo "${ECHO_T}$THREADS_OK" >&6; }
41525 if test "x$THREADS_OK" = "xyes"; then
41526 break;
41527 fi
41528
41529 THREADS_LINK=""
41530 THREADS_CFLAGS=""
41531 done
41532
41533 if test "x$THREADS_OK" != "xyes"; then
41534 wxUSE_THREADS=no
41535 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41536 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41537 else
41538 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41539 LIBS="$THREADS_LINK $LIBS"
41540
41541 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41542 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41543 flag=no
41544 case "${host}" in
41545 *-aix*)
41546 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41547 flag="-D_THREAD_SAFE"
41548 ;;
41549 *-freebsd*)
41550 flag="-D_THREAD_SAFE"
41551 ;;
41552 *-hp-hpux* )
41553 flag="-D_REENTRANT"
41554 if test "x$GCC" != "xyes"; then
41555 flag="$flag -D_RWSTD_MULTI_THREAD"
41556 fi
41557 ;;
41558 *solaris* | alpha*-osf*)
41559 flag="-D_REENTRANT"
41560 ;;
41561 esac
41562 { echo "$as_me:$LINENO: result: ${flag}" >&5
41563 echo "${ECHO_T}${flag}" >&6; }
41564 if test "x$flag" != xno; then
41565 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41566 fi
41567
41568 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41569 fi
41570 fi
41571
41572 if test "$wxUSE_THREADS" = "yes" ; then
41573
41574 for ac_func in thr_setconcurrency
41575 do
41576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41577 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41579 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41580 echo $ECHO_N "(cached) $ECHO_C" >&6
41581 else
41582 cat >conftest.$ac_ext <<_ACEOF
41583 /* confdefs.h. */
41584 _ACEOF
41585 cat confdefs.h >>conftest.$ac_ext
41586 cat >>conftest.$ac_ext <<_ACEOF
41587 /* end confdefs.h. */
41588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41590 #define $ac_func innocuous_$ac_func
41591
41592 /* System header to define __stub macros and hopefully few prototypes,
41593 which can conflict with char $ac_func (); below.
41594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41595 <limits.h> exists even on freestanding compilers. */
41596
41597 #ifdef __STDC__
41598 # include <limits.h>
41599 #else
41600 # include <assert.h>
41601 #endif
41602
41603 #undef $ac_func
41604
41605 /* Override any GCC internal prototype to avoid an error.
41606 Use char because int might match the return type of a GCC
41607 builtin and then its argument prototype would still apply. */
41608 #ifdef __cplusplus
41609 extern "C"
41610 #endif
41611 char $ac_func ();
41612 /* The GNU C library defines this for functions which it implements
41613 to always fail with ENOSYS. Some functions are actually named
41614 something starting with __ and the normal name is an alias. */
41615 #if defined __stub_$ac_func || defined __stub___$ac_func
41616 choke me
41617 #endif
41618
41619 int
41620 main ()
41621 {
41622 return $ac_func ();
41623 ;
41624 return 0;
41625 }
41626 _ACEOF
41627 rm -f conftest.$ac_objext conftest$ac_exeext
41628 if { (ac_try="$ac_link"
41629 case "(($ac_try" in
41630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41631 *) ac_try_echo=$ac_try;;
41632 esac
41633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41634 (eval "$ac_link") 2>conftest.er1
41635 ac_status=$?
41636 grep -v '^ *+' conftest.er1 >conftest.err
41637 rm -f conftest.er1
41638 cat conftest.err >&5
41639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41640 (exit $ac_status); } && {
41641 test -z "$ac_c_werror_flag" ||
41642 test ! -s conftest.err
41643 } && test -s conftest$ac_exeext &&
41644 $as_test_x conftest$ac_exeext; then
41645 eval "$as_ac_var=yes"
41646 else
41647 echo "$as_me: failed program was:" >&5
41648 sed 's/^/| /' conftest.$ac_ext >&5
41649
41650 eval "$as_ac_var=no"
41651 fi
41652
41653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41654 conftest$ac_exeext conftest.$ac_ext
41655 fi
41656 ac_res=`eval echo '${'$as_ac_var'}'`
41657 { echo "$as_me:$LINENO: result: $ac_res" >&5
41658 echo "${ECHO_T}$ac_res" >&6; }
41659 if test `eval echo '${'$as_ac_var'}'` = yes; then
41660 cat >>confdefs.h <<_ACEOF
41661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41662 _ACEOF
41663
41664 fi
41665 done
41666
41667
41668 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41669 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41670 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41671 echo $ECHO_N "(cached) $ECHO_C" >&6
41672 else
41673
41674 ac_ext=cpp
41675 ac_cpp='$CXXCPP $CPPFLAGS'
41676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41679
41680 cat >conftest.$ac_ext <<_ACEOF
41681 /* confdefs.h. */
41682 _ACEOF
41683 cat confdefs.h >>conftest.$ac_ext
41684 cat >>conftest.$ac_ext <<_ACEOF
41685 /* end confdefs.h. */
41686 #include <pthread.h>
41687 void ThreadCleanupFunc(void *p);
41688
41689 int
41690 main ()
41691 {
41692
41693 void *p;
41694 pthread_cleanup_push(ThreadCleanupFunc, p);
41695 pthread_cleanup_pop(0);
41696
41697 ;
41698 return 0;
41699 }
41700 _ACEOF
41701 rm -f conftest.$ac_objext
41702 if { (ac_try="$ac_compile"
41703 case "(($ac_try" in
41704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41705 *) ac_try_echo=$ac_try;;
41706 esac
41707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41708 (eval "$ac_compile") 2>conftest.er1
41709 ac_status=$?
41710 grep -v '^ *+' conftest.er1 >conftest.err
41711 rm -f conftest.er1
41712 cat conftest.err >&5
41713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714 (exit $ac_status); } && {
41715 test -z "$ac_cxx_werror_flag" ||
41716 test ! -s conftest.err
41717 } && test -s conftest.$ac_objext; then
41718
41719 wx_cv_func_pthread_cleanup=yes
41720
41721 else
41722 echo "$as_me: failed program was:" >&5
41723 sed 's/^/| /' conftest.$ac_ext >&5
41724
41725
41726 wx_cv_func_pthread_cleanup=no
41727
41728
41729 fi
41730
41731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41732 ac_ext=c
41733 ac_cpp='$CPP $CPPFLAGS'
41734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41737
41738
41739 fi
41740 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41741 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41742 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41743 cat >>confdefs.h <<\_ACEOF
41744 #define wxHAVE_PTHREAD_CLEANUP 1
41745 _ACEOF
41746
41747 fi
41748
41749
41750 for ac_header in sched.h
41751 do
41752 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41756 echo $ECHO_N "(cached) $ECHO_C" >&6
41757 else
41758 cat >conftest.$ac_ext <<_ACEOF
41759 /* confdefs.h. */
41760 _ACEOF
41761 cat confdefs.h >>conftest.$ac_ext
41762 cat >>conftest.$ac_ext <<_ACEOF
41763 /* end confdefs.h. */
41764 $ac_includes_default
41765
41766 #include <$ac_header>
41767 _ACEOF
41768 rm -f conftest.$ac_objext
41769 if { (ac_try="$ac_compile"
41770 case "(($ac_try" in
41771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41772 *) ac_try_echo=$ac_try;;
41773 esac
41774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41775 (eval "$ac_compile") 2>conftest.er1
41776 ac_status=$?
41777 grep -v '^ *+' conftest.er1 >conftest.err
41778 rm -f conftest.er1
41779 cat conftest.err >&5
41780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41781 (exit $ac_status); } && {
41782 test -z "$ac_c_werror_flag" ||
41783 test ! -s conftest.err
41784 } && test -s conftest.$ac_objext; then
41785 eval "$as_ac_Header=yes"
41786 else
41787 echo "$as_me: failed program was:" >&5
41788 sed 's/^/| /' conftest.$ac_ext >&5
41789
41790 eval "$as_ac_Header=no"
41791 fi
41792
41793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41794 fi
41795 ac_res=`eval echo '${'$as_ac_Header'}'`
41796 { echo "$as_me:$LINENO: result: $ac_res" >&5
41797 echo "${ECHO_T}$ac_res" >&6; }
41798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41799 cat >>confdefs.h <<_ACEOF
41800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41801 _ACEOF
41802
41803 fi
41804
41805 done
41806
41807 if test "$ac_cv_header_sched_h" = "yes"; then
41808 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41809 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41810 if test "${ac_cv_func_sched_yield+set}" = set; then
41811 echo $ECHO_N "(cached) $ECHO_C" >&6
41812 else
41813 cat >conftest.$ac_ext <<_ACEOF
41814 /* confdefs.h. */
41815 _ACEOF
41816 cat confdefs.h >>conftest.$ac_ext
41817 cat >>conftest.$ac_ext <<_ACEOF
41818 /* end confdefs.h. */
41819 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41821 #define sched_yield innocuous_sched_yield
41822
41823 /* System header to define __stub macros and hopefully few prototypes,
41824 which can conflict with char sched_yield (); below.
41825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41826 <limits.h> exists even on freestanding compilers. */
41827
41828 #ifdef __STDC__
41829 # include <limits.h>
41830 #else
41831 # include <assert.h>
41832 #endif
41833
41834 #undef sched_yield
41835
41836 /* Override any GCC internal prototype to avoid an error.
41837 Use char because int might match the return type of a GCC
41838 builtin and then its argument prototype would still apply. */
41839 #ifdef __cplusplus
41840 extern "C"
41841 #endif
41842 char sched_yield ();
41843 /* The GNU C library defines this for functions which it implements
41844 to always fail with ENOSYS. Some functions are actually named
41845 something starting with __ and the normal name is an alias. */
41846 #if defined __stub_sched_yield || defined __stub___sched_yield
41847 choke me
41848 #endif
41849
41850 int
41851 main ()
41852 {
41853 return sched_yield ();
41854 ;
41855 return 0;
41856 }
41857 _ACEOF
41858 rm -f conftest.$ac_objext conftest$ac_exeext
41859 if { (ac_try="$ac_link"
41860 case "(($ac_try" in
41861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41862 *) ac_try_echo=$ac_try;;
41863 esac
41864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41865 (eval "$ac_link") 2>conftest.er1
41866 ac_status=$?
41867 grep -v '^ *+' conftest.er1 >conftest.err
41868 rm -f conftest.er1
41869 cat conftest.err >&5
41870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41871 (exit $ac_status); } && {
41872 test -z "$ac_c_werror_flag" ||
41873 test ! -s conftest.err
41874 } && test -s conftest$ac_exeext &&
41875 $as_test_x conftest$ac_exeext; then
41876 ac_cv_func_sched_yield=yes
41877 else
41878 echo "$as_me: failed program was:" >&5
41879 sed 's/^/| /' conftest.$ac_ext >&5
41880
41881 ac_cv_func_sched_yield=no
41882 fi
41883
41884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41885 conftest$ac_exeext conftest.$ac_ext
41886 fi
41887 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41888 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41889 if test $ac_cv_func_sched_yield = yes; then
41890 cat >>confdefs.h <<\_ACEOF
41891 #define HAVE_SCHED_YIELD 1
41892 _ACEOF
41893
41894 else
41895
41896 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41897 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41898 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41899 echo $ECHO_N "(cached) $ECHO_C" >&6
41900 else
41901 ac_check_lib_save_LIBS=$LIBS
41902 LIBS="-lposix4 $LIBS"
41903 cat >conftest.$ac_ext <<_ACEOF
41904 /* confdefs.h. */
41905 _ACEOF
41906 cat confdefs.h >>conftest.$ac_ext
41907 cat >>conftest.$ac_ext <<_ACEOF
41908 /* end confdefs.h. */
41909
41910 /* Override any GCC internal prototype to avoid an error.
41911 Use char because int might match the return type of a GCC
41912 builtin and then its argument prototype would still apply. */
41913 #ifdef __cplusplus
41914 extern "C"
41915 #endif
41916 char sched_yield ();
41917 int
41918 main ()
41919 {
41920 return sched_yield ();
41921 ;
41922 return 0;
41923 }
41924 _ACEOF
41925 rm -f conftest.$ac_objext conftest$ac_exeext
41926 if { (ac_try="$ac_link"
41927 case "(($ac_try" in
41928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41929 *) ac_try_echo=$ac_try;;
41930 esac
41931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41932 (eval "$ac_link") 2>conftest.er1
41933 ac_status=$?
41934 grep -v '^ *+' conftest.er1 >conftest.err
41935 rm -f conftest.er1
41936 cat conftest.err >&5
41937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41938 (exit $ac_status); } && {
41939 test -z "$ac_c_werror_flag" ||
41940 test ! -s conftest.err
41941 } && test -s conftest$ac_exeext &&
41942 $as_test_x conftest$ac_exeext; then
41943 ac_cv_lib_posix4_sched_yield=yes
41944 else
41945 echo "$as_me: failed program was:" >&5
41946 sed 's/^/| /' conftest.$ac_ext >&5
41947
41948 ac_cv_lib_posix4_sched_yield=no
41949 fi
41950
41951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41952 conftest$ac_exeext conftest.$ac_ext
41953 LIBS=$ac_check_lib_save_LIBS
41954 fi
41955 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41956 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41957 if test $ac_cv_lib_posix4_sched_yield = yes; then
41958 cat >>confdefs.h <<\_ACEOF
41959 #define HAVE_SCHED_YIELD 1
41960 _ACEOF
41961 POSIX4_LINK=" -lposix4"
41962 else
41963 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41964 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41965
41966 fi
41967
41968
41969
41970 fi
41971
41972 fi
41973
41974 HAVE_PRIOR_FUNCS=0
41975 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41976 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41977 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41978 echo $ECHO_N "(cached) $ECHO_C" >&6
41979 else
41980 cat >conftest.$ac_ext <<_ACEOF
41981 /* confdefs.h. */
41982 _ACEOF
41983 cat confdefs.h >>conftest.$ac_ext
41984 cat >>conftest.$ac_ext <<_ACEOF
41985 /* end confdefs.h. */
41986 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41988 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41989
41990 /* System header to define __stub macros and hopefully few prototypes,
41991 which can conflict with char pthread_attr_getschedpolicy (); below.
41992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41993 <limits.h> exists even on freestanding compilers. */
41994
41995 #ifdef __STDC__
41996 # include <limits.h>
41997 #else
41998 # include <assert.h>
41999 #endif
42000
42001 #undef pthread_attr_getschedpolicy
42002
42003 /* Override any GCC internal prototype to avoid an error.
42004 Use char because int might match the return type of a GCC
42005 builtin and then its argument prototype would still apply. */
42006 #ifdef __cplusplus
42007 extern "C"
42008 #endif
42009 char pthread_attr_getschedpolicy ();
42010 /* The GNU C library defines this for functions which it implements
42011 to always fail with ENOSYS. Some functions are actually named
42012 something starting with __ and the normal name is an alias. */
42013 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42014 choke me
42015 #endif
42016
42017 int
42018 main ()
42019 {
42020 return pthread_attr_getschedpolicy ();
42021 ;
42022 return 0;
42023 }
42024 _ACEOF
42025 rm -f conftest.$ac_objext conftest$ac_exeext
42026 if { (ac_try="$ac_link"
42027 case "(($ac_try" in
42028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42029 *) ac_try_echo=$ac_try;;
42030 esac
42031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42032 (eval "$ac_link") 2>conftest.er1
42033 ac_status=$?
42034 grep -v '^ *+' conftest.er1 >conftest.err
42035 rm -f conftest.er1
42036 cat conftest.err >&5
42037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42038 (exit $ac_status); } && {
42039 test -z "$ac_c_werror_flag" ||
42040 test ! -s conftest.err
42041 } && test -s conftest$ac_exeext &&
42042 $as_test_x conftest$ac_exeext; then
42043 ac_cv_func_pthread_attr_getschedpolicy=yes
42044 else
42045 echo "$as_me: failed program was:" >&5
42046 sed 's/^/| /' conftest.$ac_ext >&5
42047
42048 ac_cv_func_pthread_attr_getschedpolicy=no
42049 fi
42050
42051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42052 conftest$ac_exeext conftest.$ac_ext
42053 fi
42054 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42055 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42056 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42057 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42058 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42059 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42060 echo $ECHO_N "(cached) $ECHO_C" >&6
42061 else
42062 cat >conftest.$ac_ext <<_ACEOF
42063 /* confdefs.h. */
42064 _ACEOF
42065 cat confdefs.h >>conftest.$ac_ext
42066 cat >>conftest.$ac_ext <<_ACEOF
42067 /* end confdefs.h. */
42068 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42070 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42071
42072 /* System header to define __stub macros and hopefully few prototypes,
42073 which can conflict with char pthread_attr_setschedparam (); below.
42074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42075 <limits.h> exists even on freestanding compilers. */
42076
42077 #ifdef __STDC__
42078 # include <limits.h>
42079 #else
42080 # include <assert.h>
42081 #endif
42082
42083 #undef pthread_attr_setschedparam
42084
42085 /* Override any GCC internal prototype to avoid an error.
42086 Use char because int might match the return type of a GCC
42087 builtin and then its argument prototype would still apply. */
42088 #ifdef __cplusplus
42089 extern "C"
42090 #endif
42091 char pthread_attr_setschedparam ();
42092 /* The GNU C library defines this for functions which it implements
42093 to always fail with ENOSYS. Some functions are actually named
42094 something starting with __ and the normal name is an alias. */
42095 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42096 choke me
42097 #endif
42098
42099 int
42100 main ()
42101 {
42102 return pthread_attr_setschedparam ();
42103 ;
42104 return 0;
42105 }
42106 _ACEOF
42107 rm -f conftest.$ac_objext conftest$ac_exeext
42108 if { (ac_try="$ac_link"
42109 case "(($ac_try" in
42110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42111 *) ac_try_echo=$ac_try;;
42112 esac
42113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42114 (eval "$ac_link") 2>conftest.er1
42115 ac_status=$?
42116 grep -v '^ *+' conftest.er1 >conftest.err
42117 rm -f conftest.er1
42118 cat conftest.err >&5
42119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42120 (exit $ac_status); } && {
42121 test -z "$ac_c_werror_flag" ||
42122 test ! -s conftest.err
42123 } && test -s conftest$ac_exeext &&
42124 $as_test_x conftest$ac_exeext; then
42125 ac_cv_func_pthread_attr_setschedparam=yes
42126 else
42127 echo "$as_me: failed program was:" >&5
42128 sed 's/^/| /' conftest.$ac_ext >&5
42129
42130 ac_cv_func_pthread_attr_setschedparam=no
42131 fi
42132
42133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42134 conftest$ac_exeext conftest.$ac_ext
42135 fi
42136 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42137 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42138 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42139 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42140 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42141 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42142 echo $ECHO_N "(cached) $ECHO_C" >&6
42143 else
42144 cat >conftest.$ac_ext <<_ACEOF
42145 /* confdefs.h. */
42146 _ACEOF
42147 cat confdefs.h >>conftest.$ac_ext
42148 cat >>conftest.$ac_ext <<_ACEOF
42149 /* end confdefs.h. */
42150 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42152 #define sched_get_priority_max innocuous_sched_get_priority_max
42153
42154 /* System header to define __stub macros and hopefully few prototypes,
42155 which can conflict with char sched_get_priority_max (); below.
42156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42157 <limits.h> exists even on freestanding compilers. */
42158
42159 #ifdef __STDC__
42160 # include <limits.h>
42161 #else
42162 # include <assert.h>
42163 #endif
42164
42165 #undef sched_get_priority_max
42166
42167 /* Override any GCC internal prototype to avoid an error.
42168 Use char because int might match the return type of a GCC
42169 builtin and then its argument prototype would still apply. */
42170 #ifdef __cplusplus
42171 extern "C"
42172 #endif
42173 char sched_get_priority_max ();
42174 /* The GNU C library defines this for functions which it implements
42175 to always fail with ENOSYS. Some functions are actually named
42176 something starting with __ and the normal name is an alias. */
42177 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42178 choke me
42179 #endif
42180
42181 int
42182 main ()
42183 {
42184 return sched_get_priority_max ();
42185 ;
42186 return 0;
42187 }
42188 _ACEOF
42189 rm -f conftest.$ac_objext conftest$ac_exeext
42190 if { (ac_try="$ac_link"
42191 case "(($ac_try" in
42192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42193 *) ac_try_echo=$ac_try;;
42194 esac
42195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42196 (eval "$ac_link") 2>conftest.er1
42197 ac_status=$?
42198 grep -v '^ *+' conftest.er1 >conftest.err
42199 rm -f conftest.er1
42200 cat conftest.err >&5
42201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42202 (exit $ac_status); } && {
42203 test -z "$ac_c_werror_flag" ||
42204 test ! -s conftest.err
42205 } && test -s conftest$ac_exeext &&
42206 $as_test_x conftest$ac_exeext; then
42207 ac_cv_func_sched_get_priority_max=yes
42208 else
42209 echo "$as_me: failed program was:" >&5
42210 sed 's/^/| /' conftest.$ac_ext >&5
42211
42212 ac_cv_func_sched_get_priority_max=no
42213 fi
42214
42215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42216 conftest$ac_exeext conftest.$ac_ext
42217 fi
42218 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42219 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42220 if test $ac_cv_func_sched_get_priority_max = yes; then
42221 HAVE_PRIOR_FUNCS=1
42222 else
42223 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42224 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42225 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42226 echo $ECHO_N "(cached) $ECHO_C" >&6
42227 else
42228 ac_check_lib_save_LIBS=$LIBS
42229 LIBS="-lposix4 $LIBS"
42230 cat >conftest.$ac_ext <<_ACEOF
42231 /* confdefs.h. */
42232 _ACEOF
42233 cat confdefs.h >>conftest.$ac_ext
42234 cat >>conftest.$ac_ext <<_ACEOF
42235 /* end confdefs.h. */
42236
42237 /* Override any GCC internal prototype to avoid an error.
42238 Use char because int might match the return type of a GCC
42239 builtin and then its argument prototype would still apply. */
42240 #ifdef __cplusplus
42241 extern "C"
42242 #endif
42243 char sched_get_priority_max ();
42244 int
42245 main ()
42246 {
42247 return sched_get_priority_max ();
42248 ;
42249 return 0;
42250 }
42251 _ACEOF
42252 rm -f conftest.$ac_objext conftest$ac_exeext
42253 if { (ac_try="$ac_link"
42254 case "(($ac_try" in
42255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42256 *) ac_try_echo=$ac_try;;
42257 esac
42258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42259 (eval "$ac_link") 2>conftest.er1
42260 ac_status=$?
42261 grep -v '^ *+' conftest.er1 >conftest.err
42262 rm -f conftest.er1
42263 cat conftest.err >&5
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); } && {
42266 test -z "$ac_c_werror_flag" ||
42267 test ! -s conftest.err
42268 } && test -s conftest$ac_exeext &&
42269 $as_test_x conftest$ac_exeext; then
42270 ac_cv_lib_posix4_sched_get_priority_max=yes
42271 else
42272 echo "$as_me: failed program was:" >&5
42273 sed 's/^/| /' conftest.$ac_ext >&5
42274
42275 ac_cv_lib_posix4_sched_get_priority_max=no
42276 fi
42277
42278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42279 conftest$ac_exeext conftest.$ac_ext
42280 LIBS=$ac_check_lib_save_LIBS
42281 fi
42282 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42283 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42284 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42285
42286 HAVE_PRIOR_FUNCS=1
42287 POSIX4_LINK=" -lposix4"
42288
42289 fi
42290
42291
42292 fi
42293
42294
42295 fi
42296
42297
42298 fi
42299
42300
42301 if test "$HAVE_PRIOR_FUNCS" = 1; then
42302 cat >>confdefs.h <<\_ACEOF
42303 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42304 _ACEOF
42305
42306 else
42307 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42308 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42309 fi
42310
42311 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42312 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42313 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42314 echo $ECHO_N "(cached) $ECHO_C" >&6
42315 else
42316 cat >conftest.$ac_ext <<_ACEOF
42317 /* confdefs.h. */
42318 _ACEOF
42319 cat confdefs.h >>conftest.$ac_ext
42320 cat >>conftest.$ac_ext <<_ACEOF
42321 /* end confdefs.h. */
42322 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42324 #define pthread_cancel innocuous_pthread_cancel
42325
42326 /* System header to define __stub macros and hopefully few prototypes,
42327 which can conflict with char pthread_cancel (); below.
42328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42329 <limits.h> exists even on freestanding compilers. */
42330
42331 #ifdef __STDC__
42332 # include <limits.h>
42333 #else
42334 # include <assert.h>
42335 #endif
42336
42337 #undef pthread_cancel
42338
42339 /* Override any GCC internal prototype to avoid an error.
42340 Use char because int might match the return type of a GCC
42341 builtin and then its argument prototype would still apply. */
42342 #ifdef __cplusplus
42343 extern "C"
42344 #endif
42345 char pthread_cancel ();
42346 /* The GNU C library defines this for functions which it implements
42347 to always fail with ENOSYS. Some functions are actually named
42348 something starting with __ and the normal name is an alias. */
42349 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42350 choke me
42351 #endif
42352
42353 int
42354 main ()
42355 {
42356 return pthread_cancel ();
42357 ;
42358 return 0;
42359 }
42360 _ACEOF
42361 rm -f conftest.$ac_objext conftest$ac_exeext
42362 if { (ac_try="$ac_link"
42363 case "(($ac_try" in
42364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42365 *) ac_try_echo=$ac_try;;
42366 esac
42367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42368 (eval "$ac_link") 2>conftest.er1
42369 ac_status=$?
42370 grep -v '^ *+' conftest.er1 >conftest.err
42371 rm -f conftest.er1
42372 cat conftest.err >&5
42373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374 (exit $ac_status); } && {
42375 test -z "$ac_c_werror_flag" ||
42376 test ! -s conftest.err
42377 } && test -s conftest$ac_exeext &&
42378 $as_test_x conftest$ac_exeext; then
42379 ac_cv_func_pthread_cancel=yes
42380 else
42381 echo "$as_me: failed program was:" >&5
42382 sed 's/^/| /' conftest.$ac_ext >&5
42383
42384 ac_cv_func_pthread_cancel=no
42385 fi
42386
42387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42388 conftest$ac_exeext conftest.$ac_ext
42389 fi
42390 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42391 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42392 if test $ac_cv_func_pthread_cancel = yes; then
42393 cat >>confdefs.h <<\_ACEOF
42394 #define HAVE_PTHREAD_CANCEL 1
42395 _ACEOF
42396
42397 else
42398 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42399 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42400 fi
42401
42402
42403 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42404 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42405 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42406 echo $ECHO_N "(cached) $ECHO_C" >&6
42407 else
42408 cat >conftest.$ac_ext <<_ACEOF
42409 /* confdefs.h. */
42410 _ACEOF
42411 cat confdefs.h >>conftest.$ac_ext
42412 cat >>conftest.$ac_ext <<_ACEOF
42413 /* end confdefs.h. */
42414 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42416 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42417
42418 /* System header to define __stub macros and hopefully few prototypes,
42419 which can conflict with char pthread_mutex_timedlock (); below.
42420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42421 <limits.h> exists even on freestanding compilers. */
42422
42423 #ifdef __STDC__
42424 # include <limits.h>
42425 #else
42426 # include <assert.h>
42427 #endif
42428
42429 #undef pthread_mutex_timedlock
42430
42431 /* Override any GCC internal prototype to avoid an error.
42432 Use char because int might match the return type of a GCC
42433 builtin and then its argument prototype would still apply. */
42434 #ifdef __cplusplus
42435 extern "C"
42436 #endif
42437 char pthread_mutex_timedlock ();
42438 /* The GNU C library defines this for functions which it implements
42439 to always fail with ENOSYS. Some functions are actually named
42440 something starting with __ and the normal name is an alias. */
42441 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42442 choke me
42443 #endif
42444
42445 int
42446 main ()
42447 {
42448 return pthread_mutex_timedlock ();
42449 ;
42450 return 0;
42451 }
42452 _ACEOF
42453 rm -f conftest.$ac_objext conftest$ac_exeext
42454 if { (ac_try="$ac_link"
42455 case "(($ac_try" in
42456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42457 *) ac_try_echo=$ac_try;;
42458 esac
42459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42460 (eval "$ac_link") 2>conftest.er1
42461 ac_status=$?
42462 grep -v '^ *+' conftest.er1 >conftest.err
42463 rm -f conftest.er1
42464 cat conftest.err >&5
42465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42466 (exit $ac_status); } && {
42467 test -z "$ac_c_werror_flag" ||
42468 test ! -s conftest.err
42469 } && test -s conftest$ac_exeext &&
42470 $as_test_x conftest$ac_exeext; then
42471 ac_cv_func_pthread_mutex_timedlock=yes
42472 else
42473 echo "$as_me: failed program was:" >&5
42474 sed 's/^/| /' conftest.$ac_ext >&5
42475
42476 ac_cv_func_pthread_mutex_timedlock=no
42477 fi
42478
42479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42480 conftest$ac_exeext conftest.$ac_ext
42481 fi
42482 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42483 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42484 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42485 cat >>confdefs.h <<\_ACEOF
42486 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42487 _ACEOF
42488
42489 else
42490 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42491 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42492 fi
42493
42494
42495 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42496 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42497 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42498 echo $ECHO_N "(cached) $ECHO_C" >&6
42499 else
42500 cat >conftest.$ac_ext <<_ACEOF
42501 /* confdefs.h. */
42502 _ACEOF
42503 cat confdefs.h >>conftest.$ac_ext
42504 cat >>conftest.$ac_ext <<_ACEOF
42505 /* end confdefs.h. */
42506 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42508 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42509
42510 /* System header to define __stub macros and hopefully few prototypes,
42511 which can conflict with char pthread_attr_setstacksize (); below.
42512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42513 <limits.h> exists even on freestanding compilers. */
42514
42515 #ifdef __STDC__
42516 # include <limits.h>
42517 #else
42518 # include <assert.h>
42519 #endif
42520
42521 #undef pthread_attr_setstacksize
42522
42523 /* Override any GCC internal prototype to avoid an error.
42524 Use char because int might match the return type of a GCC
42525 builtin and then its argument prototype would still apply. */
42526 #ifdef __cplusplus
42527 extern "C"
42528 #endif
42529 char pthread_attr_setstacksize ();
42530 /* The GNU C library defines this for functions which it implements
42531 to always fail with ENOSYS. Some functions are actually named
42532 something starting with __ and the normal name is an alias. */
42533 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42534 choke me
42535 #endif
42536
42537 int
42538 main ()
42539 {
42540 return pthread_attr_setstacksize ();
42541 ;
42542 return 0;
42543 }
42544 _ACEOF
42545 rm -f conftest.$ac_objext conftest$ac_exeext
42546 if { (ac_try="$ac_link"
42547 case "(($ac_try" in
42548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42549 *) ac_try_echo=$ac_try;;
42550 esac
42551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42552 (eval "$ac_link") 2>conftest.er1
42553 ac_status=$?
42554 grep -v '^ *+' conftest.er1 >conftest.err
42555 rm -f conftest.er1
42556 cat conftest.err >&5
42557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42558 (exit $ac_status); } && {
42559 test -z "$ac_c_werror_flag" ||
42560 test ! -s conftest.err
42561 } && test -s conftest$ac_exeext &&
42562 $as_test_x conftest$ac_exeext; then
42563 ac_cv_func_pthread_attr_setstacksize=yes
42564 else
42565 echo "$as_me: failed program was:" >&5
42566 sed 's/^/| /' conftest.$ac_ext >&5
42567
42568 ac_cv_func_pthread_attr_setstacksize=no
42569 fi
42570
42571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42572 conftest$ac_exeext conftest.$ac_ext
42573 fi
42574 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42575 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42576 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42577 cat >>confdefs.h <<\_ACEOF
42578 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42579 _ACEOF
42580
42581 fi
42582
42583
42584
42585 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42586 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42587 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42588 echo $ECHO_N "(cached) $ECHO_C" >&6
42589 else
42590
42591 cat >conftest.$ac_ext <<_ACEOF
42592 /* confdefs.h. */
42593 _ACEOF
42594 cat confdefs.h >>conftest.$ac_ext
42595 cat >>conftest.$ac_ext <<_ACEOF
42596 /* end confdefs.h. */
42597 #include <pthread.h>
42598 int
42599 main ()
42600 {
42601
42602 pthread_mutexattr_t attr;
42603 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42604
42605 ;
42606 return 0;
42607 }
42608 _ACEOF
42609 rm -f conftest.$ac_objext
42610 if { (ac_try="$ac_compile"
42611 case "(($ac_try" in
42612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42613 *) ac_try_echo=$ac_try;;
42614 esac
42615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42616 (eval "$ac_compile") 2>conftest.er1
42617 ac_status=$?
42618 grep -v '^ *+' conftest.er1 >conftest.err
42619 rm -f conftest.er1
42620 cat conftest.err >&5
42621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42622 (exit $ac_status); } && {
42623 test -z "$ac_c_werror_flag" ||
42624 test ! -s conftest.err
42625 } && test -s conftest.$ac_objext; then
42626 wx_cv_type_pthread_mutexattr_t=yes
42627 else
42628 echo "$as_me: failed program was:" >&5
42629 sed 's/^/| /' conftest.$ac_ext >&5
42630
42631 wx_cv_type_pthread_mutexattr_t=no
42632
42633 fi
42634
42635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42636
42637 fi
42638 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42639 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42640
42641 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42642 cat >>confdefs.h <<\_ACEOF
42643 #define HAVE_PTHREAD_MUTEXATTR_T 1
42644 _ACEOF
42645
42646
42647 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42648 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42649 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42650 echo $ECHO_N "(cached) $ECHO_C" >&6
42651 else
42652
42653 cat >conftest.$ac_ext <<_ACEOF
42654 /* confdefs.h. */
42655 _ACEOF
42656 cat confdefs.h >>conftest.$ac_ext
42657 cat >>conftest.$ac_ext <<_ACEOF
42658 /* end confdefs.h. */
42659 #include <pthread.h>
42660 int
42661 main ()
42662 {
42663
42664 pthread_mutexattr_t attr;
42665 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42666
42667 ;
42668 return 0;
42669 }
42670 _ACEOF
42671 rm -f conftest.$ac_objext
42672 if { (ac_try="$ac_compile"
42673 case "(($ac_try" in
42674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42675 *) ac_try_echo=$ac_try;;
42676 esac
42677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42678 (eval "$ac_compile") 2>conftest.er1
42679 ac_status=$?
42680 grep -v '^ *+' conftest.er1 >conftest.err
42681 rm -f conftest.er1
42682 cat conftest.err >&5
42683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42684 (exit $ac_status); } && {
42685 test -z "$ac_c_werror_flag" ||
42686 test ! -s conftest.err
42687 } && test -s conftest.$ac_objext; then
42688 wx_cv_func_pthread_mutexattr_settype_decl=yes
42689 else
42690 echo "$as_me: failed program was:" >&5
42691 sed 's/^/| /' conftest.$ac_ext >&5
42692
42693 wx_cv_func_pthread_mutexattr_settype_decl=no
42694
42695 fi
42696
42697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42698
42699 fi
42700 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42701 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42702 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42703 cat >>confdefs.h <<\_ACEOF
42704 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42705 _ACEOF
42706
42707 fi
42708 else
42709 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42710 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42711 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42712 echo $ECHO_N "(cached) $ECHO_C" >&6
42713 else
42714
42715 cat >conftest.$ac_ext <<_ACEOF
42716 /* confdefs.h. */
42717 _ACEOF
42718 cat confdefs.h >>conftest.$ac_ext
42719 cat >>conftest.$ac_ext <<_ACEOF
42720 /* end confdefs.h. */
42721 #include <pthread.h>
42722 int
42723 main ()
42724 {
42725
42726 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42727
42728 ;
42729 return 0;
42730 }
42731 _ACEOF
42732 rm -f conftest.$ac_objext
42733 if { (ac_try="$ac_compile"
42734 case "(($ac_try" in
42735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42736 *) ac_try_echo=$ac_try;;
42737 esac
42738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42739 (eval "$ac_compile") 2>conftest.er1
42740 ac_status=$?
42741 grep -v '^ *+' conftest.er1 >conftest.err
42742 rm -f conftest.er1
42743 cat conftest.err >&5
42744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42745 (exit $ac_status); } && {
42746 test -z "$ac_c_werror_flag" ||
42747 test ! -s conftest.err
42748 } && test -s conftest.$ac_objext; then
42749
42750 wx_cv_type_pthread_rec_mutex_init=yes
42751
42752 else
42753 echo "$as_me: failed program was:" >&5
42754 sed 's/^/| /' conftest.$ac_ext >&5
42755
42756
42757 wx_cv_type_pthread_rec_mutex_init=no
42758
42759
42760 fi
42761
42762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42763
42764 fi
42765 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42766 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42767 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42768 cat >>confdefs.h <<\_ACEOF
42769 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42770 _ACEOF
42771
42772 else
42773 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42774 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42775 fi
42776 fi
42777 fi
42778
42779 else
42780 if test "$wxUSE_THREADS" = "yes" ; then
42781 case "${host}" in
42782 *-*-mingw32* )
42783 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42784 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42785 if test "${wx_cv_cflags_mthread+set}" = set; then
42786 echo $ECHO_N "(cached) $ECHO_C" >&6
42787 else
42788
42789 CFLAGS_OLD="$CFLAGS"
42790 CFLAGS="-mthreads $CFLAGS"
42791 cat >conftest.$ac_ext <<_ACEOF
42792 /* confdefs.h. */
42793 _ACEOF
42794 cat confdefs.h >>conftest.$ac_ext
42795 cat >>conftest.$ac_ext <<_ACEOF
42796 /* end confdefs.h. */
42797
42798 int
42799 main ()
42800 {
42801
42802 ;
42803 return 0;
42804 }
42805 _ACEOF
42806 rm -f conftest.$ac_objext
42807 if { (ac_try="$ac_compile"
42808 case "(($ac_try" in
42809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42810 *) ac_try_echo=$ac_try;;
42811 esac
42812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42813 (eval "$ac_compile") 2>conftest.er1
42814 ac_status=$?
42815 grep -v '^ *+' conftest.er1 >conftest.err
42816 rm -f conftest.er1
42817 cat conftest.err >&5
42818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42819 (exit $ac_status); } && {
42820 test -z "$ac_c_werror_flag" ||
42821 test ! -s conftest.err
42822 } && test -s conftest.$ac_objext; then
42823 wx_cv_cflags_mthread=yes
42824 else
42825 echo "$as_me: failed program was:" >&5
42826 sed 's/^/| /' conftest.$ac_ext >&5
42827
42828 wx_cv_cflags_mthread=no
42829
42830 fi
42831
42832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42833
42834
42835 fi
42836 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42837 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42838
42839 if test "$wx_cv_cflags_mthread" = "yes"; then
42840 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42841 LDFLAGS="$LDFLAGS -mthreads"
42842 else
42843 CFLAGS="$CFLAGS_OLD"
42844 fi
42845 ;;
42846 *-pc-os2*emx )
42847 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42848 LDFLAGS="$LDFLAGS -Zmt"
42849 ;;
42850 esac
42851 fi
42852 fi
42853
42854 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42855 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42856 if test "${ac_cv_func_localtime_r+set}" = set; then
42857 echo $ECHO_N "(cached) $ECHO_C" >&6
42858 else
42859 cat >conftest.$ac_ext <<_ACEOF
42860 /* confdefs.h. */
42861 _ACEOF
42862 cat confdefs.h >>conftest.$ac_ext
42863 cat >>conftest.$ac_ext <<_ACEOF
42864 /* end confdefs.h. */
42865 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42867 #define localtime_r innocuous_localtime_r
42868
42869 /* System header to define __stub macros and hopefully few prototypes,
42870 which can conflict with char localtime_r (); below.
42871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42872 <limits.h> exists even on freestanding compilers. */
42873
42874 #ifdef __STDC__
42875 # include <limits.h>
42876 #else
42877 # include <assert.h>
42878 #endif
42879
42880 #undef localtime_r
42881
42882 /* Override any GCC internal prototype to avoid an error.
42883 Use char because int might match the return type of a GCC
42884 builtin and then its argument prototype would still apply. */
42885 #ifdef __cplusplus
42886 extern "C"
42887 #endif
42888 char localtime_r ();
42889 /* The GNU C library defines this for functions which it implements
42890 to always fail with ENOSYS. Some functions are actually named
42891 something starting with __ and the normal name is an alias. */
42892 #if defined __stub_localtime_r || defined __stub___localtime_r
42893 choke me
42894 #endif
42895
42896 int
42897 main ()
42898 {
42899 return localtime_r ();
42900 ;
42901 return 0;
42902 }
42903 _ACEOF
42904 rm -f conftest.$ac_objext conftest$ac_exeext
42905 if { (ac_try="$ac_link"
42906 case "(($ac_try" in
42907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42908 *) ac_try_echo=$ac_try;;
42909 esac
42910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42911 (eval "$ac_link") 2>conftest.er1
42912 ac_status=$?
42913 grep -v '^ *+' conftest.er1 >conftest.err
42914 rm -f conftest.er1
42915 cat conftest.err >&5
42916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42917 (exit $ac_status); } && {
42918 test -z "$ac_c_werror_flag" ||
42919 test ! -s conftest.err
42920 } && test -s conftest$ac_exeext &&
42921 $as_test_x conftest$ac_exeext; then
42922 ac_cv_func_localtime_r=yes
42923 else
42924 echo "$as_me: failed program was:" >&5
42925 sed 's/^/| /' conftest.$ac_ext >&5
42926
42927 ac_cv_func_localtime_r=no
42928 fi
42929
42930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42931 conftest$ac_exeext conftest.$ac_ext
42932 fi
42933 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42934 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42935 if test $ac_cv_func_localtime_r = yes; then
42936 cat >>confdefs.h <<\_ACEOF
42937 #define HAVE_LOCALTIME_R 1
42938 _ACEOF
42939
42940 fi
42941
42942 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42943 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42944 if test "${ac_cv_func_gmtime_r+set}" = set; then
42945 echo $ECHO_N "(cached) $ECHO_C" >&6
42946 else
42947 cat >conftest.$ac_ext <<_ACEOF
42948 /* confdefs.h. */
42949 _ACEOF
42950 cat confdefs.h >>conftest.$ac_ext
42951 cat >>conftest.$ac_ext <<_ACEOF
42952 /* end confdefs.h. */
42953 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42955 #define gmtime_r innocuous_gmtime_r
42956
42957 /* System header to define __stub macros and hopefully few prototypes,
42958 which can conflict with char gmtime_r (); below.
42959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42960 <limits.h> exists even on freestanding compilers. */
42961
42962 #ifdef __STDC__
42963 # include <limits.h>
42964 #else
42965 # include <assert.h>
42966 #endif
42967
42968 #undef gmtime_r
42969
42970 /* Override any GCC internal prototype to avoid an error.
42971 Use char because int might match the return type of a GCC
42972 builtin and then its argument prototype would still apply. */
42973 #ifdef __cplusplus
42974 extern "C"
42975 #endif
42976 char gmtime_r ();
42977 /* The GNU C library defines this for functions which it implements
42978 to always fail with ENOSYS. Some functions are actually named
42979 something starting with __ and the normal name is an alias. */
42980 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42981 choke me
42982 #endif
42983
42984 int
42985 main ()
42986 {
42987 return gmtime_r ();
42988 ;
42989 return 0;
42990 }
42991 _ACEOF
42992 rm -f conftest.$ac_objext conftest$ac_exeext
42993 if { (ac_try="$ac_link"
42994 case "(($ac_try" in
42995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42996 *) ac_try_echo=$ac_try;;
42997 esac
42998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42999 (eval "$ac_link") 2>conftest.er1
43000 ac_status=$?
43001 grep -v '^ *+' conftest.er1 >conftest.err
43002 rm -f conftest.er1
43003 cat conftest.err >&5
43004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43005 (exit $ac_status); } && {
43006 test -z "$ac_c_werror_flag" ||
43007 test ! -s conftest.err
43008 } && test -s conftest$ac_exeext &&
43009 $as_test_x conftest$ac_exeext; then
43010 ac_cv_func_gmtime_r=yes
43011 else
43012 echo "$as_me: failed program was:" >&5
43013 sed 's/^/| /' conftest.$ac_ext >&5
43014
43015 ac_cv_func_gmtime_r=no
43016 fi
43017
43018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43019 conftest$ac_exeext conftest.$ac_ext
43020 fi
43021 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43022 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43023 if test $ac_cv_func_gmtime_r = yes; then
43024 cat >>confdefs.h <<\_ACEOF
43025 #define HAVE_GMTIME_R 1
43026 _ACEOF
43027
43028 fi
43029
43030 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43031 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43032 if test "${ac_cv_func_readdir_r+set}" = set; then
43033 echo $ECHO_N "(cached) $ECHO_C" >&6
43034 else
43035 cat >conftest.$ac_ext <<_ACEOF
43036 /* confdefs.h. */
43037 _ACEOF
43038 cat confdefs.h >>conftest.$ac_ext
43039 cat >>conftest.$ac_ext <<_ACEOF
43040 /* end confdefs.h. */
43041 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43043 #define readdir_r innocuous_readdir_r
43044
43045 /* System header to define __stub macros and hopefully few prototypes,
43046 which can conflict with char readdir_r (); below.
43047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43048 <limits.h> exists even on freestanding compilers. */
43049
43050 #ifdef __STDC__
43051 # include <limits.h>
43052 #else
43053 # include <assert.h>
43054 #endif
43055
43056 #undef readdir_r
43057
43058 /* Override any GCC internal prototype to avoid an error.
43059 Use char because int might match the return type of a GCC
43060 builtin and then its argument prototype would still apply. */
43061 #ifdef __cplusplus
43062 extern "C"
43063 #endif
43064 char readdir_r ();
43065 /* The GNU C library defines this for functions which it implements
43066 to always fail with ENOSYS. Some functions are actually named
43067 something starting with __ and the normal name is an alias. */
43068 #if defined __stub_readdir_r || defined __stub___readdir_r
43069 choke me
43070 #endif
43071
43072 int
43073 main ()
43074 {
43075 return readdir_r ();
43076 ;
43077 return 0;
43078 }
43079 _ACEOF
43080 rm -f conftest.$ac_objext conftest$ac_exeext
43081 if { (ac_try="$ac_link"
43082 case "(($ac_try" in
43083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43084 *) ac_try_echo=$ac_try;;
43085 esac
43086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43087 (eval "$ac_link") 2>conftest.er1
43088 ac_status=$?
43089 grep -v '^ *+' conftest.er1 >conftest.err
43090 rm -f conftest.er1
43091 cat conftest.err >&5
43092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43093 (exit $ac_status); } && {
43094 test -z "$ac_c_werror_flag" ||
43095 test ! -s conftest.err
43096 } && test -s conftest$ac_exeext &&
43097 $as_test_x conftest$ac_exeext; then
43098 ac_cv_func_readdir_r=yes
43099 else
43100 echo "$as_me: failed program was:" >&5
43101 sed 's/^/| /' conftest.$ac_ext >&5
43102
43103 ac_cv_func_readdir_r=no
43104 fi
43105
43106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43107 conftest$ac_exeext conftest.$ac_ext
43108 fi
43109 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43110 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43111 if test $ac_cv_func_readdir_r = yes; then
43112 cat >>confdefs.h <<\_ACEOF
43113 #define HAVE_READDIR_R 1
43114 _ACEOF
43115
43116 fi
43117
43118
43119
43120
43121 ac_ext=c
43122 ac_cpp='$CPP $CPPFLAGS'
43123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43126
43127 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43128 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43129
43130 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43131 echo $ECHO_N "(cached) $ECHO_C" >&6
43132 else
43133
43134
43135 ################################################################
43136
43137 ac_cv_func_which_gethostbyname_r=unknown
43138
43139 #
43140 # ONE ARGUMENT (sanity check)
43141 #
43142
43143 # This should fail, as there is no variant of gethostbyname_r() that takes
43144 # a single argument. If it actually compiles, then we can assume that
43145 # netdb.h is not declaring the function, and the compiler is thereby
43146 # assuming an implicit prototype. In which case, we're out of luck.
43147 #
43148 cat >conftest.$ac_ext <<_ACEOF
43149 /* confdefs.h. */
43150 _ACEOF
43151 cat confdefs.h >>conftest.$ac_ext
43152 cat >>conftest.$ac_ext <<_ACEOF
43153 /* end confdefs.h. */
43154 #include <netdb.h>
43155 int
43156 main ()
43157 {
43158
43159 char *name = "www.gnu.org";
43160 (void)gethostbyname_r(name) /* ; */
43161
43162 ;
43163 return 0;
43164 }
43165 _ACEOF
43166 rm -f conftest.$ac_objext
43167 if { (ac_try="$ac_compile"
43168 case "(($ac_try" in
43169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43170 *) ac_try_echo=$ac_try;;
43171 esac
43172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43173 (eval "$ac_compile") 2>conftest.er1
43174 ac_status=$?
43175 grep -v '^ *+' conftest.er1 >conftest.err
43176 rm -f conftest.er1
43177 cat conftest.err >&5
43178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43179 (exit $ac_status); } && {
43180 test -z "$ac_c_werror_flag" ||
43181 test ! -s conftest.err
43182 } && test -s conftest.$ac_objext; then
43183 ac_cv_func_which_gethostbyname_r=no
43184 else
43185 echo "$as_me: failed program was:" >&5
43186 sed 's/^/| /' conftest.$ac_ext >&5
43187
43188
43189 fi
43190
43191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43192
43193 #
43194 # SIX ARGUMENTS
43195 # (e.g. Linux)
43196 #
43197
43198 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43199
43200 cat >conftest.$ac_ext <<_ACEOF
43201 /* confdefs.h. */
43202 _ACEOF
43203 cat confdefs.h >>conftest.$ac_ext
43204 cat >>conftest.$ac_ext <<_ACEOF
43205 /* end confdefs.h. */
43206 #include <netdb.h>
43207 int
43208 main ()
43209 {
43210
43211 char *name = "www.gnu.org";
43212 struct hostent ret, *retp;
43213 char buf[1024];
43214 int buflen = 1024;
43215 int my_h_errno;
43216 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43217
43218 ;
43219 return 0;
43220 }
43221 _ACEOF
43222 rm -f conftest.$ac_objext
43223 if { (ac_try="$ac_compile"
43224 case "(($ac_try" in
43225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43226 *) ac_try_echo=$ac_try;;
43227 esac
43228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43229 (eval "$ac_compile") 2>conftest.er1
43230 ac_status=$?
43231 grep -v '^ *+' conftest.er1 >conftest.err
43232 rm -f conftest.er1
43233 cat conftest.err >&5
43234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43235 (exit $ac_status); } && {
43236 test -z "$ac_c_werror_flag" ||
43237 test ! -s conftest.err
43238 } && test -s conftest.$ac_objext; then
43239 ac_cv_func_which_gethostbyname_r=six
43240 else
43241 echo "$as_me: failed program was:" >&5
43242 sed 's/^/| /' conftest.$ac_ext >&5
43243
43244
43245 fi
43246
43247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43248
43249 fi
43250
43251 #
43252 # FIVE ARGUMENTS
43253 # (e.g. Solaris)
43254 #
43255
43256 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43257
43258 cat >conftest.$ac_ext <<_ACEOF
43259 /* confdefs.h. */
43260 _ACEOF
43261 cat confdefs.h >>conftest.$ac_ext
43262 cat >>conftest.$ac_ext <<_ACEOF
43263 /* end confdefs.h. */
43264 #include <netdb.h>
43265 int
43266 main ()
43267 {
43268
43269 char *name = "www.gnu.org";
43270 struct hostent ret;
43271 char buf[1024];
43272 int buflen = 1024;
43273 int my_h_errno;
43274 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43275
43276 ;
43277 return 0;
43278 }
43279 _ACEOF
43280 rm -f conftest.$ac_objext
43281 if { (ac_try="$ac_compile"
43282 case "(($ac_try" in
43283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43284 *) ac_try_echo=$ac_try;;
43285 esac
43286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43287 (eval "$ac_compile") 2>conftest.er1
43288 ac_status=$?
43289 grep -v '^ *+' conftest.er1 >conftest.err
43290 rm -f conftest.er1
43291 cat conftest.err >&5
43292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43293 (exit $ac_status); } && {
43294 test -z "$ac_c_werror_flag" ||
43295 test ! -s conftest.err
43296 } && test -s conftest.$ac_objext; then
43297 ac_cv_func_which_gethostbyname_r=five
43298 else
43299 echo "$as_me: failed program was:" >&5
43300 sed 's/^/| /' conftest.$ac_ext >&5
43301
43302
43303 fi
43304
43305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43306
43307 fi
43308
43309 #
43310 # THREE ARGUMENTS
43311 # (e.g. AIX, HP-UX, Tru64)
43312 #
43313
43314 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43315
43316 cat >conftest.$ac_ext <<_ACEOF
43317 /* confdefs.h. */
43318 _ACEOF
43319 cat confdefs.h >>conftest.$ac_ext
43320 cat >>conftest.$ac_ext <<_ACEOF
43321 /* end confdefs.h. */
43322 #include <netdb.h>
43323 int
43324 main ()
43325 {
43326
43327 char *name = "www.gnu.org";
43328 struct hostent ret;
43329 struct hostent_data data;
43330 (void)gethostbyname_r(name, &ret, &data) /* ; */
43331
43332 ;
43333 return 0;
43334 }
43335 _ACEOF
43336 rm -f conftest.$ac_objext
43337 if { (ac_try="$ac_compile"
43338 case "(($ac_try" in
43339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43340 *) ac_try_echo=$ac_try;;
43341 esac
43342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43343 (eval "$ac_compile") 2>conftest.er1
43344 ac_status=$?
43345 grep -v '^ *+' conftest.er1 >conftest.err
43346 rm -f conftest.er1
43347 cat conftest.err >&5
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); } && {
43350 test -z "$ac_c_werror_flag" ||
43351 test ! -s conftest.err
43352 } && test -s conftest.$ac_objext; then
43353 ac_cv_func_which_gethostbyname_r=three
43354 else
43355 echo "$as_me: failed program was:" >&5
43356 sed 's/^/| /' conftest.$ac_ext >&5
43357
43358
43359 fi
43360
43361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43362
43363 fi
43364
43365 ################################################################
43366
43367
43368 fi
43369
43370 case "$ac_cv_func_which_gethostbyname_r" in
43371 three)
43372 { echo "$as_me:$LINENO: result: three" >&5
43373 echo "${ECHO_T}three" >&6; }
43374 cat >>confdefs.h <<\_ACEOF
43375 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43376 _ACEOF
43377
43378 ;;
43379
43380 five)
43381 { echo "$as_me:$LINENO: result: five" >&5
43382 echo "${ECHO_T}five" >&6; }
43383 cat >>confdefs.h <<\_ACEOF
43384 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43385 _ACEOF
43386
43387 ;;
43388
43389 six)
43390 { echo "$as_me:$LINENO: result: six" >&5
43391 echo "${ECHO_T}six" >&6; }
43392 cat >>confdefs.h <<\_ACEOF
43393 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43394 _ACEOF
43395
43396 ;;
43397
43398 no)
43399 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43400 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43401 ;;
43402
43403 unknown)
43404 { echo "$as_me:$LINENO: result: can't tell" >&5
43405 echo "${ECHO_T}can't tell" >&6; }
43406 ;;
43407
43408 *)
43409 { { echo "$as_me:$LINENO: error: internal error" >&5
43410 echo "$as_me: error: internal error" >&2;}
43411 { (exit 1); exit 1; }; }
43412 ;;
43413 esac
43414
43415 ac_ext=c
43416 ac_cpp='$CPP $CPPFLAGS'
43417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43420
43421
43422
43423 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43424 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43425 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43426 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43427 if test "${ac_cv_func_gethostbyname+set}" = set; then
43428 echo $ECHO_N "(cached) $ECHO_C" >&6
43429 else
43430 cat >conftest.$ac_ext <<_ACEOF
43431 /* confdefs.h. */
43432 _ACEOF
43433 cat confdefs.h >>conftest.$ac_ext
43434 cat >>conftest.$ac_ext <<_ACEOF
43435 /* end confdefs.h. */
43436 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43438 #define gethostbyname innocuous_gethostbyname
43439
43440 /* System header to define __stub macros and hopefully few prototypes,
43441 which can conflict with char gethostbyname (); below.
43442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43443 <limits.h> exists even on freestanding compilers. */
43444
43445 #ifdef __STDC__
43446 # include <limits.h>
43447 #else
43448 # include <assert.h>
43449 #endif
43450
43451 #undef gethostbyname
43452
43453 /* Override any GCC internal prototype to avoid an error.
43454 Use char because int might match the return type of a GCC
43455 builtin and then its argument prototype would still apply. */
43456 #ifdef __cplusplus
43457 extern "C"
43458 #endif
43459 char gethostbyname ();
43460 /* The GNU C library defines this for functions which it implements
43461 to always fail with ENOSYS. Some functions are actually named
43462 something starting with __ and the normal name is an alias. */
43463 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43464 choke me
43465 #endif
43466
43467 int
43468 main ()
43469 {
43470 return gethostbyname ();
43471 ;
43472 return 0;
43473 }
43474 _ACEOF
43475 rm -f conftest.$ac_objext conftest$ac_exeext
43476 if { (ac_try="$ac_link"
43477 case "(($ac_try" in
43478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43479 *) ac_try_echo=$ac_try;;
43480 esac
43481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43482 (eval "$ac_link") 2>conftest.er1
43483 ac_status=$?
43484 grep -v '^ *+' conftest.er1 >conftest.err
43485 rm -f conftest.er1
43486 cat conftest.err >&5
43487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43488 (exit $ac_status); } && {
43489 test -z "$ac_c_werror_flag" ||
43490 test ! -s conftest.err
43491 } && test -s conftest$ac_exeext &&
43492 $as_test_x conftest$ac_exeext; then
43493 ac_cv_func_gethostbyname=yes
43494 else
43495 echo "$as_me: failed program was:" >&5
43496 sed 's/^/| /' conftest.$ac_ext >&5
43497
43498 ac_cv_func_gethostbyname=no
43499 fi
43500
43501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43502 conftest$ac_exeext conftest.$ac_ext
43503 fi
43504 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43505 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43506 if test $ac_cv_func_gethostbyname = yes; then
43507 cat >>confdefs.h <<\_ACEOF
43508 #define HAVE_GETHOSTBYNAME 1
43509 _ACEOF
43510
43511 fi
43512
43513 fi
43514
43515 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43516 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43517 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43518 echo $ECHO_N "(cached) $ECHO_C" >&6
43519 else
43520
43521 ac_ext=cpp
43522 ac_cpp='$CXXCPP $CPPFLAGS'
43523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43526
43527
43528 cat >conftest.$ac_ext <<_ACEOF
43529 /* confdefs.h. */
43530 _ACEOF
43531 cat confdefs.h >>conftest.$ac_ext
43532 cat >>conftest.$ac_ext <<_ACEOF
43533 /* end confdefs.h. */
43534 #include <netdb.h>
43535 int
43536 main ()
43537 {
43538
43539 char *name;
43540 char *proto;
43541 struct servent *se, *res;
43542 char buffer[2048];
43543 int buflen = 2048;
43544 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43545
43546 ;
43547 return 0;
43548 }
43549 _ACEOF
43550 rm -f conftest.$ac_objext
43551 if { (ac_try="$ac_compile"
43552 case "(($ac_try" in
43553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43554 *) ac_try_echo=$ac_try;;
43555 esac
43556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43557 (eval "$ac_compile") 2>conftest.er1
43558 ac_status=$?
43559 grep -v '^ *+' conftest.er1 >conftest.err
43560 rm -f conftest.er1
43561 cat conftest.err >&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); } && {
43564 test -z "$ac_cxx_werror_flag" ||
43565 test ! -s conftest.err
43566 } && test -s conftest.$ac_objext; then
43567 ac_cv_func_which_getservbyname_r=six
43568 else
43569 echo "$as_me: failed program was:" >&5
43570 sed 's/^/| /' conftest.$ac_ext >&5
43571
43572
43573 cat >conftest.$ac_ext <<_ACEOF
43574 /* confdefs.h. */
43575 _ACEOF
43576 cat confdefs.h >>conftest.$ac_ext
43577 cat >>conftest.$ac_ext <<_ACEOF
43578 /* end confdefs.h. */
43579 #include <netdb.h>
43580 int
43581 main ()
43582 {
43583
43584 char *name;
43585 char *proto;
43586 struct servent *se;
43587 char buffer[2048];
43588 int buflen = 2048;
43589 (void) getservbyname_r(name, proto, se, buffer, buflen)
43590
43591 ;
43592 return 0;
43593 }
43594 _ACEOF
43595 rm -f conftest.$ac_objext
43596 if { (ac_try="$ac_compile"
43597 case "(($ac_try" in
43598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43599 *) ac_try_echo=$ac_try;;
43600 esac
43601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43602 (eval "$ac_compile") 2>conftest.er1
43603 ac_status=$?
43604 grep -v '^ *+' conftest.er1 >conftest.err
43605 rm -f conftest.er1
43606 cat conftest.err >&5
43607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43608 (exit $ac_status); } && {
43609 test -z "$ac_cxx_werror_flag" ||
43610 test ! -s conftest.err
43611 } && test -s conftest.$ac_objext; then
43612 ac_cv_func_which_getservbyname_r=five
43613 else
43614 echo "$as_me: failed program was:" >&5
43615 sed 's/^/| /' conftest.$ac_ext >&5
43616
43617
43618 cat >conftest.$ac_ext <<_ACEOF
43619 /* confdefs.h. */
43620 _ACEOF
43621 cat confdefs.h >>conftest.$ac_ext
43622 cat >>conftest.$ac_ext <<_ACEOF
43623 /* end confdefs.h. */
43624 #include <netdb.h>
43625 int
43626 main ()
43627 {
43628
43629 char *name;
43630 char *proto;
43631 struct servent *se;
43632 struct servent_data data;
43633 (void) getservbyname_r(name, proto, se, &data);
43634
43635 ;
43636 return 0;
43637 }
43638 _ACEOF
43639 rm -f conftest.$ac_objext
43640 if { (ac_try="$ac_compile"
43641 case "(($ac_try" in
43642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43643 *) ac_try_echo=$ac_try;;
43644 esac
43645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43646 (eval "$ac_compile") 2>conftest.er1
43647 ac_status=$?
43648 grep -v '^ *+' conftest.er1 >conftest.err
43649 rm -f conftest.er1
43650 cat conftest.err >&5
43651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43652 (exit $ac_status); } && {
43653 test -z "$ac_cxx_werror_flag" ||
43654 test ! -s conftest.err
43655 } && test -s conftest.$ac_objext; then
43656 ac_cv_func_which_getservbyname_r=four
43657 else
43658 echo "$as_me: failed program was:" >&5
43659 sed 's/^/| /' conftest.$ac_ext >&5
43660
43661 ac_cv_func_which_getservbyname_r=no
43662
43663 fi
43664
43665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43666
43667
43668 fi
43669
43670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43671
43672
43673 fi
43674
43675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43676 ac_ext=c
43677 ac_cpp='$CPP $CPPFLAGS'
43678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43681
43682
43683
43684 fi
43685 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43686 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43687
43688 if test $ac_cv_func_which_getservbyname_r = six; then
43689 cat >>confdefs.h <<\_ACEOF
43690 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43691 _ACEOF
43692
43693 elif test $ac_cv_func_which_getservbyname_r = five; then
43694 cat >>confdefs.h <<\_ACEOF
43695 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43696 _ACEOF
43697
43698 elif test $ac_cv_func_which_getservbyname_r = four; then
43699 cat >>confdefs.h <<\_ACEOF
43700 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43701 _ACEOF
43702
43703 fi
43704
43705
43706 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43707 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43708
43709 for ac_func in getservbyname
43710 do
43711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43712 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43714 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43715 echo $ECHO_N "(cached) $ECHO_C" >&6
43716 else
43717 cat >conftest.$ac_ext <<_ACEOF
43718 /* confdefs.h. */
43719 _ACEOF
43720 cat confdefs.h >>conftest.$ac_ext
43721 cat >>conftest.$ac_ext <<_ACEOF
43722 /* end confdefs.h. */
43723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43725 #define $ac_func innocuous_$ac_func
43726
43727 /* System header to define __stub macros and hopefully few prototypes,
43728 which can conflict with char $ac_func (); below.
43729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43730 <limits.h> exists even on freestanding compilers. */
43731
43732 #ifdef __STDC__
43733 # include <limits.h>
43734 #else
43735 # include <assert.h>
43736 #endif
43737
43738 #undef $ac_func
43739
43740 /* Override any GCC internal prototype to avoid an error.
43741 Use char because int might match the return type of a GCC
43742 builtin and then its argument prototype would still apply. */
43743 #ifdef __cplusplus
43744 extern "C"
43745 #endif
43746 char $ac_func ();
43747 /* The GNU C library defines this for functions which it implements
43748 to always fail with ENOSYS. Some functions are actually named
43749 something starting with __ and the normal name is an alias. */
43750 #if defined __stub_$ac_func || defined __stub___$ac_func
43751 choke me
43752 #endif
43753
43754 int
43755 main ()
43756 {
43757 return $ac_func ();
43758 ;
43759 return 0;
43760 }
43761 _ACEOF
43762 rm -f conftest.$ac_objext conftest$ac_exeext
43763 if { (ac_try="$ac_link"
43764 case "(($ac_try" in
43765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43766 *) ac_try_echo=$ac_try;;
43767 esac
43768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43769 (eval "$ac_link") 2>conftest.er1
43770 ac_status=$?
43771 grep -v '^ *+' conftest.er1 >conftest.err
43772 rm -f conftest.er1
43773 cat conftest.err >&5
43774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43775 (exit $ac_status); } && {
43776 test -z "$ac_c_werror_flag" ||
43777 test ! -s conftest.err
43778 } && test -s conftest$ac_exeext &&
43779 $as_test_x conftest$ac_exeext; then
43780 eval "$as_ac_var=yes"
43781 else
43782 echo "$as_me: failed program was:" >&5
43783 sed 's/^/| /' conftest.$ac_ext >&5
43784
43785 eval "$as_ac_var=no"
43786 fi
43787
43788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43789 conftest$ac_exeext conftest.$ac_ext
43790 fi
43791 ac_res=`eval echo '${'$as_ac_var'}'`
43792 { echo "$as_me:$LINENO: result: $ac_res" >&5
43793 echo "${ECHO_T}$ac_res" >&6; }
43794 if test `eval echo '${'$as_ac_var'}'` = yes; then
43795 cat >>confdefs.h <<_ACEOF
43796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43797 _ACEOF
43798 cat >>confdefs.h <<\_ACEOF
43799 #define HAVE_GETSERVBYNAME 1
43800 _ACEOF
43801
43802 fi
43803 done
43804
43805 fi
43806
43807 if test "$wxUSE_THREADS" = "yes"; then
43808 cat >>confdefs.h <<\_ACEOF
43809 #define wxUSE_THREADS 1
43810 _ACEOF
43811
43812
43813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43814 else
43815 if test "$wx_cv_func_strtok_r" = "yes"; then
43816 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43817 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43818 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43819 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43820 { echo "$as_me:$LINENO: result: yes" >&5
43821 echo "${ECHO_T}yes" >&6; }
43822 else
43823 { echo "$as_me:$LINENO: result: no" >&5
43824 echo "${ECHO_T}no" >&6; }
43825 fi
43826 fi
43827 fi
43828
43829 if test "$WXGTK20" = 1 ; then
43830 cat >>confdefs.h <<_ACEOF
43831 #define __WXGTK20__ $WXGTK20
43832 _ACEOF
43833
43834 WXGTK12=1
43835 fi
43836
43837 if test "$WXGTK12" = 1 ; then
43838 cat >>confdefs.h <<_ACEOF
43839 #define __WXGTK12__ $WXGTK12
43840 _ACEOF
43841
43842 fi
43843
43844 if test "$WXGTK127" = 1 ; then
43845 cat >>confdefs.h <<_ACEOF
43846 #define __WXGTK127__ $WXGTK127
43847 _ACEOF
43848
43849 fi
43850
43851 if test "$WXGPE" = 1 ; then
43852 cat >>confdefs.h <<_ACEOF
43853 #define __WXGPE__ $WXGPE
43854 _ACEOF
43855
43856 fi
43857
43858 DEBUG_CFLAGS=
43859 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43860 DEBUG_CFLAGS="-g"
43861 wxUSE_OPTIMISE=no
43862 fi
43863
43864 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43865 wxUSE_DEBUG_INFO=yes
43866 if test "$GCC" = yes; then
43867 DEBUG_CFLAGS="-ggdb"
43868 fi
43869 fi
43870
43871 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43872 cat >>confdefs.h <<\_ACEOF
43873 #define WXDEBUG 1
43874 _ACEOF
43875
43876 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43877 else
43878 if test "$wxUSE_GTK" = 1 ; then
43879 if test "x$wxGTK_VERSION" = "x1" ; then
43880 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43881 fi
43882 fi
43883 fi
43884
43885 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43886 cat >>confdefs.h <<\_ACEOF
43887 #define wxUSE_MEMORY_TRACING 1
43888 _ACEOF
43889
43890 cat >>confdefs.h <<\_ACEOF
43891 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43892 _ACEOF
43893
43894 cat >>confdefs.h <<\_ACEOF
43895 #define wxUSE_DEBUG_NEW_ALWAYS 1
43896 _ACEOF
43897
43898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43899 fi
43900
43901 if test "$wxUSE_DMALLOC" = "yes" ; then
43902 DMALLOC_LIBS="-ldmallocthcxx"
43903 fi
43904
43905 PROFILE_FLAGS=
43906 if test "$wxUSE_PROFILE" = "yes" ; then
43907 PROFILE_FLAGS=" -pg"
43908 fi
43909
43910 if test "$GCC" = "yes" ; then
43911 if test "$wxUSE_NO_RTTI" = "yes" ; then
43912 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43913 fi
43914 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43915 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43916 fi
43917 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43918 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43919 fi
43920
43921 case "${host}" in
43922 powerpc*-*-aix* )
43923 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43924 ;;
43925 *-hppa* )
43926 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43927 ;;
43928 esac
43929 fi
43930
43931 OPTIMISE_CFLAGS=
43932 if test "$wxUSE_OPTIMISE" = "no" ; then
43933 if test "$GCC" = yes ; then
43934 OPTIMISE_CFLAGS="-O0"
43935 fi
43936 else
43937 if test "$GCC" = yes ; then
43938 case "${host}" in
43939 *-pc-os2_emx | *-pc-os2-emx )
43940 OPTIMISE_CFLAGS="-O2"
43941 ;;
43942 *)
43943 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43944 ;;
43945 esac
43946 else
43947 OPTIMISE_CFLAGS="-O"
43948 fi
43949 fi
43950
43951
43952 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43953 cat >>confdefs.h <<\_ACEOF
43954 #define WXWIN_COMPATIBILITY_2_6 1
43955 _ACEOF
43956
43957
43958 WXWIN_COMPATIBILITY_2_8="yes"
43959 fi
43960
43961 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43962 cat >>confdefs.h <<\_ACEOF
43963 #define WXWIN_COMPATIBILITY_2_8 1
43964 _ACEOF
43965
43966 fi
43967
43968
43969 if test "$wxUSE_GUI" = "yes"; then
43970 cat >>confdefs.h <<\_ACEOF
43971 #define wxUSE_GUI 1
43972 _ACEOF
43973
43974
43975 fi
43976
43977
43978 if test "$wxUSE_UNIX" = "yes"; then
43979 cat >>confdefs.h <<\_ACEOF
43980 #define wxUSE_UNIX 1
43981 _ACEOF
43982
43983 fi
43984
43985
43986 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43987
43988 HAVE_DL_FUNCS=0
43989 HAVE_SHL_FUNCS=0
43990 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43991 if test "$USE_DARWIN" = 1; then
43992 HAVE_DL_FUNCS=1
43993 elif test "$USE_DOS" = 1; then
43994 HAVE_DL_FUNCS=0
43995 else
43996
43997 for ac_func in dlopen
43998 do
43999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44000 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44002 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44003 echo $ECHO_N "(cached) $ECHO_C" >&6
44004 else
44005 cat >conftest.$ac_ext <<_ACEOF
44006 /* confdefs.h. */
44007 _ACEOF
44008 cat confdefs.h >>conftest.$ac_ext
44009 cat >>conftest.$ac_ext <<_ACEOF
44010 /* end confdefs.h. */
44011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44013 #define $ac_func innocuous_$ac_func
44014
44015 /* System header to define __stub macros and hopefully few prototypes,
44016 which can conflict with char $ac_func (); below.
44017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44018 <limits.h> exists even on freestanding compilers. */
44019
44020 #ifdef __STDC__
44021 # include <limits.h>
44022 #else
44023 # include <assert.h>
44024 #endif
44025
44026 #undef $ac_func
44027
44028 /* Override any GCC internal prototype to avoid an error.
44029 Use char because int might match the return type of a GCC
44030 builtin and then its argument prototype would still apply. */
44031 #ifdef __cplusplus
44032 extern "C"
44033 #endif
44034 char $ac_func ();
44035 /* The GNU C library defines this for functions which it implements
44036 to always fail with ENOSYS. Some functions are actually named
44037 something starting with __ and the normal name is an alias. */
44038 #if defined __stub_$ac_func || defined __stub___$ac_func
44039 choke me
44040 #endif
44041
44042 int
44043 main ()
44044 {
44045 return $ac_func ();
44046 ;
44047 return 0;
44048 }
44049 _ACEOF
44050 rm -f conftest.$ac_objext conftest$ac_exeext
44051 if { (ac_try="$ac_link"
44052 case "(($ac_try" in
44053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44054 *) ac_try_echo=$ac_try;;
44055 esac
44056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44057 (eval "$ac_link") 2>conftest.er1
44058 ac_status=$?
44059 grep -v '^ *+' conftest.er1 >conftest.err
44060 rm -f conftest.er1
44061 cat conftest.err >&5
44062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44063 (exit $ac_status); } && {
44064 test -z "$ac_c_werror_flag" ||
44065 test ! -s conftest.err
44066 } && test -s conftest$ac_exeext &&
44067 $as_test_x conftest$ac_exeext; then
44068 eval "$as_ac_var=yes"
44069 else
44070 echo "$as_me: failed program was:" >&5
44071 sed 's/^/| /' conftest.$ac_ext >&5
44072
44073 eval "$as_ac_var=no"
44074 fi
44075
44076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44077 conftest$ac_exeext conftest.$ac_ext
44078 fi
44079 ac_res=`eval echo '${'$as_ac_var'}'`
44080 { echo "$as_me:$LINENO: result: $ac_res" >&5
44081 echo "${ECHO_T}$ac_res" >&6; }
44082 if test `eval echo '${'$as_ac_var'}'` = yes; then
44083 cat >>confdefs.h <<_ACEOF
44084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44085 _ACEOF
44086
44087 cat >>confdefs.h <<\_ACEOF
44088 #define HAVE_DLOPEN 1
44089 _ACEOF
44090
44091 HAVE_DL_FUNCS=1
44092
44093 else
44094
44095 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44096 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44097 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44098 echo $ECHO_N "(cached) $ECHO_C" >&6
44099 else
44100 ac_check_lib_save_LIBS=$LIBS
44101 LIBS="-ldl $LIBS"
44102 cat >conftest.$ac_ext <<_ACEOF
44103 /* confdefs.h. */
44104 _ACEOF
44105 cat confdefs.h >>conftest.$ac_ext
44106 cat >>conftest.$ac_ext <<_ACEOF
44107 /* end confdefs.h. */
44108
44109 /* Override any GCC internal prototype to avoid an error.
44110 Use char because int might match the return type of a GCC
44111 builtin and then its argument prototype would still apply. */
44112 #ifdef __cplusplus
44113 extern "C"
44114 #endif
44115 char dlopen ();
44116 int
44117 main ()
44118 {
44119 return dlopen ();
44120 ;
44121 return 0;
44122 }
44123 _ACEOF
44124 rm -f conftest.$ac_objext conftest$ac_exeext
44125 if { (ac_try="$ac_link"
44126 case "(($ac_try" in
44127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44128 *) ac_try_echo=$ac_try;;
44129 esac
44130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44131 (eval "$ac_link") 2>conftest.er1
44132 ac_status=$?
44133 grep -v '^ *+' conftest.er1 >conftest.err
44134 rm -f conftest.er1
44135 cat conftest.err >&5
44136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44137 (exit $ac_status); } && {
44138 test -z "$ac_c_werror_flag" ||
44139 test ! -s conftest.err
44140 } && test -s conftest$ac_exeext &&
44141 $as_test_x conftest$ac_exeext; then
44142 ac_cv_lib_dl_dlopen=yes
44143 else
44144 echo "$as_me: failed program was:" >&5
44145 sed 's/^/| /' conftest.$ac_ext >&5
44146
44147 ac_cv_lib_dl_dlopen=no
44148 fi
44149
44150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44151 conftest$ac_exeext conftest.$ac_ext
44152 LIBS=$ac_check_lib_save_LIBS
44153 fi
44154 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44155 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44156 if test $ac_cv_lib_dl_dlopen = yes; then
44157
44158 cat >>confdefs.h <<\_ACEOF
44159 #define HAVE_DLOPEN 1
44160 _ACEOF
44161
44162 HAVE_DL_FUNCS=1
44163 DL_LINK=" -ldl$DL_LINK"
44164
44165 else
44166
44167
44168 for ac_func in shl_load
44169 do
44170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44171 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44173 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44174 echo $ECHO_N "(cached) $ECHO_C" >&6
44175 else
44176 cat >conftest.$ac_ext <<_ACEOF
44177 /* confdefs.h. */
44178 _ACEOF
44179 cat confdefs.h >>conftest.$ac_ext
44180 cat >>conftest.$ac_ext <<_ACEOF
44181 /* end confdefs.h. */
44182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44184 #define $ac_func innocuous_$ac_func
44185
44186 /* System header to define __stub macros and hopefully few prototypes,
44187 which can conflict with char $ac_func (); below.
44188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44189 <limits.h> exists even on freestanding compilers. */
44190
44191 #ifdef __STDC__
44192 # include <limits.h>
44193 #else
44194 # include <assert.h>
44195 #endif
44196
44197 #undef $ac_func
44198
44199 /* Override any GCC internal prototype to avoid an error.
44200 Use char because int might match the return type of a GCC
44201 builtin and then its argument prototype would still apply. */
44202 #ifdef __cplusplus
44203 extern "C"
44204 #endif
44205 char $ac_func ();
44206 /* The GNU C library defines this for functions which it implements
44207 to always fail with ENOSYS. Some functions are actually named
44208 something starting with __ and the normal name is an alias. */
44209 #if defined __stub_$ac_func || defined __stub___$ac_func
44210 choke me
44211 #endif
44212
44213 int
44214 main ()
44215 {
44216 return $ac_func ();
44217 ;
44218 return 0;
44219 }
44220 _ACEOF
44221 rm -f conftest.$ac_objext conftest$ac_exeext
44222 if { (ac_try="$ac_link"
44223 case "(($ac_try" in
44224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44225 *) ac_try_echo=$ac_try;;
44226 esac
44227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44228 (eval "$ac_link") 2>conftest.er1
44229 ac_status=$?
44230 grep -v '^ *+' conftest.er1 >conftest.err
44231 rm -f conftest.er1
44232 cat conftest.err >&5
44233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44234 (exit $ac_status); } && {
44235 test -z "$ac_c_werror_flag" ||
44236 test ! -s conftest.err
44237 } && test -s conftest$ac_exeext &&
44238 $as_test_x conftest$ac_exeext; then
44239 eval "$as_ac_var=yes"
44240 else
44241 echo "$as_me: failed program was:" >&5
44242 sed 's/^/| /' conftest.$ac_ext >&5
44243
44244 eval "$as_ac_var=no"
44245 fi
44246
44247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44248 conftest$ac_exeext conftest.$ac_ext
44249 fi
44250 ac_res=`eval echo '${'$as_ac_var'}'`
44251 { echo "$as_me:$LINENO: result: $ac_res" >&5
44252 echo "${ECHO_T}$ac_res" >&6; }
44253 if test `eval echo '${'$as_ac_var'}'` = yes; then
44254 cat >>confdefs.h <<_ACEOF
44255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44256 _ACEOF
44257
44258 cat >>confdefs.h <<\_ACEOF
44259 #define HAVE_SHL_LOAD 1
44260 _ACEOF
44261
44262 HAVE_SHL_FUNCS=1
44263
44264 else
44265
44266 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44267 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44268 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44269 echo $ECHO_N "(cached) $ECHO_C" >&6
44270 else
44271 ac_check_lib_save_LIBS=$LIBS
44272 LIBS="-lshl_load $LIBS"
44273 cat >conftest.$ac_ext <<_ACEOF
44274 /* confdefs.h. */
44275 _ACEOF
44276 cat confdefs.h >>conftest.$ac_ext
44277 cat >>conftest.$ac_ext <<_ACEOF
44278 /* end confdefs.h. */
44279
44280 /* Override any GCC internal prototype to avoid an error.
44281 Use char because int might match the return type of a GCC
44282 builtin and then its argument prototype would still apply. */
44283 #ifdef __cplusplus
44284 extern "C"
44285 #endif
44286 char dld ();
44287 int
44288 main ()
44289 {
44290 return dld ();
44291 ;
44292 return 0;
44293 }
44294 _ACEOF
44295 rm -f conftest.$ac_objext conftest$ac_exeext
44296 if { (ac_try="$ac_link"
44297 case "(($ac_try" in
44298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44299 *) ac_try_echo=$ac_try;;
44300 esac
44301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44302 (eval "$ac_link") 2>conftest.er1
44303 ac_status=$?
44304 grep -v '^ *+' conftest.er1 >conftest.err
44305 rm -f conftest.er1
44306 cat conftest.err >&5
44307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44308 (exit $ac_status); } && {
44309 test -z "$ac_c_werror_flag" ||
44310 test ! -s conftest.err
44311 } && test -s conftest$ac_exeext &&
44312 $as_test_x conftest$ac_exeext; then
44313 ac_cv_lib_shl_load_dld=yes
44314 else
44315 echo "$as_me: failed program was:" >&5
44316 sed 's/^/| /' conftest.$ac_ext >&5
44317
44318 ac_cv_lib_shl_load_dld=no
44319 fi
44320
44321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44322 conftest$ac_exeext conftest.$ac_ext
44323 LIBS=$ac_check_lib_save_LIBS
44324 fi
44325 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44326 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44327 if test $ac_cv_lib_shl_load_dld = yes; then
44328
44329 HAVE_SHL_FUNCS=1
44330 DL_LINK=" -ldld$DL_LINK"
44331
44332 fi
44333
44334
44335 fi
44336 done
44337
44338
44339 fi
44340
44341
44342 fi
44343 done
44344
44345
44346 if test "$HAVE_DL_FUNCS" = 1; then
44347
44348 for ac_func in dlerror
44349 do
44350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44351 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44353 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44354 echo $ECHO_N "(cached) $ECHO_C" >&6
44355 else
44356 cat >conftest.$ac_ext <<_ACEOF
44357 /* confdefs.h. */
44358 _ACEOF
44359 cat confdefs.h >>conftest.$ac_ext
44360 cat >>conftest.$ac_ext <<_ACEOF
44361 /* end confdefs.h. */
44362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44364 #define $ac_func innocuous_$ac_func
44365
44366 /* System header to define __stub macros and hopefully few prototypes,
44367 which can conflict with char $ac_func (); below.
44368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44369 <limits.h> exists even on freestanding compilers. */
44370
44371 #ifdef __STDC__
44372 # include <limits.h>
44373 #else
44374 # include <assert.h>
44375 #endif
44376
44377 #undef $ac_func
44378
44379 /* Override any GCC internal prototype to avoid an error.
44380 Use char because int might match the return type of a GCC
44381 builtin and then its argument prototype would still apply. */
44382 #ifdef __cplusplus
44383 extern "C"
44384 #endif
44385 char $ac_func ();
44386 /* The GNU C library defines this for functions which it implements
44387 to always fail with ENOSYS. Some functions are actually named
44388 something starting with __ and the normal name is an alias. */
44389 #if defined __stub_$ac_func || defined __stub___$ac_func
44390 choke me
44391 #endif
44392
44393 int
44394 main ()
44395 {
44396 return $ac_func ();
44397 ;
44398 return 0;
44399 }
44400 _ACEOF
44401 rm -f conftest.$ac_objext conftest$ac_exeext
44402 if { (ac_try="$ac_link"
44403 case "(($ac_try" in
44404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44405 *) ac_try_echo=$ac_try;;
44406 esac
44407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44408 (eval "$ac_link") 2>conftest.er1
44409 ac_status=$?
44410 grep -v '^ *+' conftest.er1 >conftest.err
44411 rm -f conftest.er1
44412 cat conftest.err >&5
44413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44414 (exit $ac_status); } && {
44415 test -z "$ac_c_werror_flag" ||
44416 test ! -s conftest.err
44417 } && test -s conftest$ac_exeext &&
44418 $as_test_x conftest$ac_exeext; then
44419 eval "$as_ac_var=yes"
44420 else
44421 echo "$as_me: failed program was:" >&5
44422 sed 's/^/| /' conftest.$ac_ext >&5
44423
44424 eval "$as_ac_var=no"
44425 fi
44426
44427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44428 conftest$ac_exeext conftest.$ac_ext
44429 fi
44430 ac_res=`eval echo '${'$as_ac_var'}'`
44431 { echo "$as_me:$LINENO: result: $ac_res" >&5
44432 echo "${ECHO_T}$ac_res" >&6; }
44433 if test `eval echo '${'$as_ac_var'}'` = yes; then
44434 cat >>confdefs.h <<_ACEOF
44435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44436 _ACEOF
44437 cat >>confdefs.h <<\_ACEOF
44438 #define HAVE_DLERROR 1
44439 _ACEOF
44440
44441 else
44442
44443 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44444 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44445 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44446 echo $ECHO_N "(cached) $ECHO_C" >&6
44447 else
44448 ac_check_lib_save_LIBS=$LIBS
44449 LIBS="-ldl $LIBS"
44450 cat >conftest.$ac_ext <<_ACEOF
44451 /* confdefs.h. */
44452 _ACEOF
44453 cat confdefs.h >>conftest.$ac_ext
44454 cat >>conftest.$ac_ext <<_ACEOF
44455 /* end confdefs.h. */
44456
44457 /* Override any GCC internal prototype to avoid an error.
44458 Use char because int might match the return type of a GCC
44459 builtin and then its argument prototype would still apply. */
44460 #ifdef __cplusplus
44461 extern "C"
44462 #endif
44463 char dlerror ();
44464 int
44465 main ()
44466 {
44467 return dlerror ();
44468 ;
44469 return 0;
44470 }
44471 _ACEOF
44472 rm -f conftest.$ac_objext conftest$ac_exeext
44473 if { (ac_try="$ac_link"
44474 case "(($ac_try" in
44475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44476 *) ac_try_echo=$ac_try;;
44477 esac
44478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44479 (eval "$ac_link") 2>conftest.er1
44480 ac_status=$?
44481 grep -v '^ *+' conftest.er1 >conftest.err
44482 rm -f conftest.er1
44483 cat conftest.err >&5
44484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44485 (exit $ac_status); } && {
44486 test -z "$ac_c_werror_flag" ||
44487 test ! -s conftest.err
44488 } && test -s conftest$ac_exeext &&
44489 $as_test_x conftest$ac_exeext; then
44490 ac_cv_lib_dl_dlerror=yes
44491 else
44492 echo "$as_me: failed program was:" >&5
44493 sed 's/^/| /' conftest.$ac_ext >&5
44494
44495 ac_cv_lib_dl_dlerror=no
44496 fi
44497
44498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44499 conftest$ac_exeext conftest.$ac_ext
44500 LIBS=$ac_check_lib_save_LIBS
44501 fi
44502 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44503 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44504 if test $ac_cv_lib_dl_dlerror = yes; then
44505 cat >>confdefs.h <<\_ACEOF
44506 #define HAVE_DLERROR 1
44507 _ACEOF
44508
44509 fi
44510
44511
44512
44513 fi
44514 done
44515
44516 fi
44517 fi
44518
44519 if test "$HAVE_DL_FUNCS" = 0; then
44520 if test "$HAVE_SHL_FUNCS" = 0; then
44521 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44522 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44523 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44524 wxUSE_DYNAMIC_LOADER=no
44525 wxUSE_DYNLIB_CLASS=no
44526 else
44527 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44528 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44529 fi
44530 fi
44531 fi
44532 fi
44533 fi
44534
44535 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44536 cat >>confdefs.h <<\_ACEOF
44537 #define wxUSE_DYNAMIC_LOADER 1
44538 _ACEOF
44539
44540 fi
44541 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44542 cat >>confdefs.h <<\_ACEOF
44543 #define wxUSE_DYNLIB_CLASS 1
44544 _ACEOF
44545
44546 fi
44547
44548
44549
44550 if test "$wxUSE_PLUGINS" = "yes" ; then
44551 if test "$wxUSE_SHARED" = "no" ; then
44552 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44553 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44554 wxUSE_PLUGINS=no
44555 fi
44556 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44557 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44558 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44559 wxUSE_PLUGINS=no
44560 fi
44561 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44562 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44563 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44564 wxUSE_PLUGINS=no
44565 fi
44566 if test "$wxUSE_PLUGINS" = "yes" ; then
44567 cat >>confdefs.h <<\_ACEOF
44568 #define wxUSE_PLUGINS 1
44569 _ACEOF
44570
44571 fi
44572 fi
44573
44574
44575 if test "$wxUSE_STL" = "yes"; then
44576 cat >>confdefs.h <<\_ACEOF
44577 #define wxUSE_STL 1
44578 _ACEOF
44579
44580 fi
44581
44582 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_EXTENDED_RTTI 1
44585 _ACEOF
44586
44587 fi
44588
44589 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44590 cat >>confdefs.h <<\_ACEOF
44591 #define wxUSE_APPLE_IEEE 1
44592 _ACEOF
44593
44594 fi
44595
44596 if test "$wxUSE_TIMER" = "yes"; then
44597 cat >>confdefs.h <<\_ACEOF
44598 #define wxUSE_TIMER 1
44599 _ACEOF
44600
44601 fi
44602
44603 if test "$USE_UNIX" = "1" ; then
44604 if test "$wxUSE_MGL" != 1; then
44605 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44606 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44607 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44608 echo $ECHO_N "(cached) $ECHO_C" >&6
44609 else
44610
44611 cat >conftest.$ac_ext <<_ACEOF
44612 /* confdefs.h. */
44613 _ACEOF
44614 cat confdefs.h >>conftest.$ac_ext
44615 cat >>conftest.$ac_ext <<_ACEOF
44616 /* end confdefs.h. */
44617
44618 #include <sys/ioctl.h>
44619 #include <sys/soundcard.h>
44620
44621 int
44622 main ()
44623 {
44624
44625 ioctl(0, SNDCTL_DSP_SPEED, 0);
44626
44627 ;
44628 return 0;
44629 }
44630 _ACEOF
44631 rm -f conftest.$ac_objext conftest$ac_exeext
44632 if { (ac_try="$ac_link"
44633 case "(($ac_try" in
44634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44635 *) ac_try_echo=$ac_try;;
44636 esac
44637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44638 (eval "$ac_link") 2>conftest.er1
44639 ac_status=$?
44640 grep -v '^ *+' conftest.er1 >conftest.err
44641 rm -f conftest.er1
44642 cat conftest.err >&5
44643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44644 (exit $ac_status); } && {
44645 test -z "$ac_c_werror_flag" ||
44646 test ! -s conftest.err
44647 } && test -s conftest$ac_exeext &&
44648 $as_test_x conftest$ac_exeext; then
44649 ac_cv_header_sys_soundcard=yes
44650 else
44651 echo "$as_me: failed program was:" >&5
44652 sed 's/^/| /' conftest.$ac_ext >&5
44653
44654
44655 saveLibs="$LIBS"
44656 LIBS="$saveLibs -lossaudio"
44657 cat >conftest.$ac_ext <<_ACEOF
44658 /* confdefs.h. */
44659 _ACEOF
44660 cat confdefs.h >>conftest.$ac_ext
44661 cat >>conftest.$ac_ext <<_ACEOF
44662 /* end confdefs.h. */
44663
44664 #include <sys/ioctl.h>
44665 #include <sys/soundcard.h>
44666
44667 int
44668 main ()
44669 {
44670
44671 ioctl(0, SNDCTL_DSP_SPEED, 0);
44672
44673 ;
44674 return 0;
44675 }
44676 _ACEOF
44677 rm -f conftest.$ac_objext conftest$ac_exeext
44678 if { (ac_try="$ac_link"
44679 case "(($ac_try" in
44680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44681 *) ac_try_echo=$ac_try;;
44682 esac
44683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44684 (eval "$ac_link") 2>conftest.er1
44685 ac_status=$?
44686 grep -v '^ *+' conftest.er1 >conftest.err
44687 rm -f conftest.er1
44688 cat conftest.err >&5
44689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44690 (exit $ac_status); } && {
44691 test -z "$ac_c_werror_flag" ||
44692 test ! -s conftest.err
44693 } && test -s conftest$ac_exeext &&
44694 $as_test_x conftest$ac_exeext; then
44695 ac_cv_header_sys_soundcard=yes
44696 else
44697 echo "$as_me: failed program was:" >&5
44698 sed 's/^/| /' conftest.$ac_ext >&5
44699
44700
44701 LIBS="$saveLibs"
44702 ac_cv_header_sys_soundcard=no
44703
44704
44705 fi
44706
44707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44708 conftest$ac_exeext conftest.$ac_ext
44709
44710
44711 fi
44712
44713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44714 conftest$ac_exeext conftest.$ac_ext
44715
44716 fi
44717 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44718 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44719 fi
44720
44721 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44722 cat >>confdefs.h <<\_ACEOF
44723 #define HAVE_SYS_SOUNDCARD_H 1
44724 _ACEOF
44725
44726 fi
44727 fi
44728
44729 WITH_PLUGIN_SDL=0
44730 if test "$wxUSE_SOUND" = "yes"; then
44731 if test "$USE_UNIX" = "1" ; then
44732 if test "$wxUSE_LIBSDL" != "no"; then
44733
44734 # Check whether --with-sdl-prefix was given.
44735 if test "${with_sdl_prefix+set}" = set; then
44736 withval=$with_sdl_prefix; sdl_prefix="$withval"
44737 else
44738 sdl_prefix=""
44739 fi
44740
44741
44742 # Check whether --with-sdl-exec-prefix was given.
44743 if test "${with_sdl_exec_prefix+set}" = set; then
44744 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44745 else
44746 sdl_exec_prefix=""
44747 fi
44748
44749 # Check whether --enable-sdltest was given.
44750 if test "${enable_sdltest+set}" = set; then
44751 enableval=$enable_sdltest;
44752 else
44753 enable_sdltest=yes
44754 fi
44755
44756
44757 if test x$sdl_exec_prefix != x ; then
44758 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44759 if test x${SDL_CONFIG+set} != xset ; then
44760 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44761 fi
44762 fi
44763 if test x$sdl_prefix != x ; then
44764 sdl_args="$sdl_args --prefix=$sdl_prefix"
44765 if test x${SDL_CONFIG+set} != xset ; then
44766 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44767 fi
44768 fi
44769
44770 if test "x$prefix" != xNONE; then
44771 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44772 fi
44773 # Extract the first word of "sdl-config", so it can be a program name with args.
44774 set dummy sdl-config; ac_word=$2
44775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44777 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44778 echo $ECHO_N "(cached) $ECHO_C" >&6
44779 else
44780 case $SDL_CONFIG in
44781 [\\/]* | ?:[\\/]*)
44782 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44783 ;;
44784 *)
44785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44786 for as_dir in $PATH
44787 do
44788 IFS=$as_save_IFS
44789 test -z "$as_dir" && as_dir=.
44790 for ac_exec_ext in '' $ac_executable_extensions; do
44791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44792 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44794 break 2
44795 fi
44796 done
44797 done
44798 IFS=$as_save_IFS
44799
44800 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44801 ;;
44802 esac
44803 fi
44804 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44805 if test -n "$SDL_CONFIG"; then
44806 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44807 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44808 else
44809 { echo "$as_me:$LINENO: result: no" >&5
44810 echo "${ECHO_T}no" >&6; }
44811 fi
44812
44813
44814 min_sdl_version=1.2.0
44815 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44816 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44817 no_sdl=""
44818 if test "$SDL_CONFIG" = "no" ; then
44819 no_sdl=yes
44820 else
44821 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44822 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44823
44824 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44825 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44826 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44827 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44828 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44830 if test "x$enable_sdltest" = "xyes" ; then
44831 ac_save_CFLAGS="$CFLAGS"
44832 ac_save_CXXFLAGS="$CXXFLAGS"
44833 ac_save_LIBS="$LIBS"
44834 CFLAGS="$CFLAGS $SDL_CFLAGS"
44835 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44836 LIBS="$LIBS $SDL_LIBS"
44837 rm -f conf.sdltest
44838 if test "$cross_compiling" = yes; then
44839 echo $ac_n "cross compiling; assumed OK... $ac_c"
44840 else
44841 cat >conftest.$ac_ext <<_ACEOF
44842 /* confdefs.h. */
44843 _ACEOF
44844 cat confdefs.h >>conftest.$ac_ext
44845 cat >>conftest.$ac_ext <<_ACEOF
44846 /* end confdefs.h. */
44847
44848 #include <stdio.h>
44849 #include <stdlib.h>
44850 #include <string.h>
44851 #include "SDL.h"
44852
44853 char*
44854 my_strdup (char *str)
44855 {
44856 char *new_str;
44857
44858 if (str)
44859 {
44860 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44861 strcpy (new_str, str);
44862 }
44863 else
44864 new_str = NULL;
44865
44866 return new_str;
44867 }
44868
44869 int main (int argc, char *argv[])
44870 {
44871 int major, minor, micro;
44872 char *tmp_version;
44873
44874 /* This hangs on some systems (?)
44875 system ("touch conf.sdltest");
44876 */
44877 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44878
44879 /* HP/UX 9 (%@#!) writes to sscanf strings */
44880 tmp_version = my_strdup("$min_sdl_version");
44881 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44882 printf("%s, bad version string\n", "$min_sdl_version");
44883 exit(1);
44884 }
44885
44886 if (($sdl_major_version > major) ||
44887 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44888 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44889 {
44890 return 0;
44891 }
44892 else
44893 {
44894 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44895 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44896 printf("*** best to upgrade to the required version.\n");
44897 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44898 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44899 printf("*** config.cache before re-running configure\n");
44900 return 1;
44901 }
44902 }
44903
44904
44905 _ACEOF
44906 rm -f conftest$ac_exeext
44907 if { (ac_try="$ac_link"
44908 case "(($ac_try" in
44909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44910 *) ac_try_echo=$ac_try;;
44911 esac
44912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44913 (eval "$ac_link") 2>&5
44914 ac_status=$?
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44917 { (case "(($ac_try" in
44918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44919 *) ac_try_echo=$ac_try;;
44920 esac
44921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44922 (eval "$ac_try") 2>&5
44923 ac_status=$?
44924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44925 (exit $ac_status); }; }; then
44926 :
44927 else
44928 echo "$as_me: program exited with status $ac_status" >&5
44929 echo "$as_me: failed program was:" >&5
44930 sed 's/^/| /' conftest.$ac_ext >&5
44931
44932 ( exit $ac_status )
44933 no_sdl=yes
44934 fi
44935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44936 fi
44937
44938
44939 CFLAGS="$ac_save_CFLAGS"
44940 CXXFLAGS="$ac_save_CXXFLAGS"
44941 LIBS="$ac_save_LIBS"
44942 fi
44943 fi
44944 if test "x$no_sdl" = x ; then
44945 { echo "$as_me:$LINENO: result: yes" >&5
44946 echo "${ECHO_T}yes" >&6; }
44947
44948 EXTRALIBS_SDL="$SDL_LIBS"
44949 CFLAGS="$SDL_CFLAGS $CFLAGS"
44950 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_LIBSDL 1
44953 _ACEOF
44954
44955
44956 else
44957 { echo "$as_me:$LINENO: result: no" >&5
44958 echo "${ECHO_T}no" >&6; }
44959 if test "$SDL_CONFIG" = "no" ; then
44960 echo "*** The sdl-config script installed by SDL could not be found"
44961 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44962 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44963 echo "*** full path to sdl-config."
44964 else
44965 if test -f conf.sdltest ; then
44966 :
44967 else
44968 echo "*** Could not run SDL test program, checking why..."
44969 CFLAGS="$CFLAGS $SDL_CFLAGS"
44970 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44971 LIBS="$LIBS $SDL_LIBS"
44972 cat >conftest.$ac_ext <<_ACEOF
44973 /* confdefs.h. */
44974 _ACEOF
44975 cat confdefs.h >>conftest.$ac_ext
44976 cat >>conftest.$ac_ext <<_ACEOF
44977 /* end confdefs.h. */
44978
44979 #include <stdio.h>
44980 #include "SDL.h"
44981
44982 int main(int argc, char *argv[])
44983 { return 0; }
44984 #undef main
44985 #define main K_and_R_C_main
44986
44987 int
44988 main ()
44989 {
44990 return 0;
44991 ;
44992 return 0;
44993 }
44994 _ACEOF
44995 rm -f conftest.$ac_objext conftest$ac_exeext
44996 if { (ac_try="$ac_link"
44997 case "(($ac_try" in
44998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44999 *) ac_try_echo=$ac_try;;
45000 esac
45001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45002 (eval "$ac_link") 2>conftest.er1
45003 ac_status=$?
45004 grep -v '^ *+' conftest.er1 >conftest.err
45005 rm -f conftest.er1
45006 cat conftest.err >&5
45007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45008 (exit $ac_status); } && {
45009 test -z "$ac_c_werror_flag" ||
45010 test ! -s conftest.err
45011 } && test -s conftest$ac_exeext &&
45012 $as_test_x conftest$ac_exeext; then
45013 echo "*** The test program compiled, but did not run. This usually means"
45014 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45015 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45016 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45017 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45018 echo "*** is required on your system"
45019 echo "***"
45020 echo "*** If you have an old version installed, it is best to remove it, although"
45021 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45022 else
45023 echo "$as_me: failed program was:" >&5
45024 sed 's/^/| /' conftest.$ac_ext >&5
45025
45026 echo "*** The test program failed to compile or link. See the file config.log for the"
45027 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45028 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45029 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45030 fi
45031
45032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45033 conftest$ac_exeext conftest.$ac_ext
45034 CFLAGS="$ac_save_CFLAGS"
45035 CXXFLAGS="$ac_save_CXXFLAGS"
45036 LIBS="$ac_save_LIBS"
45037 fi
45038 fi
45039 SDL_CFLAGS=""
45040 SDL_LIBS=""
45041 wxUSE_LIBSDL="no"
45042 fi
45043
45044
45045 rm -f conf.sdltest
45046
45047 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45048 WITH_PLUGIN_SDL=1
45049 fi
45050 fi
45051 else
45052 if test "$wxUSE_MGL" = 1; then
45053 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45054 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45055 wxUSE_SOUND="no"
45056 fi
45057 fi
45058 fi
45059
45060 if test "$wxUSE_SOUND" = "yes"; then
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_SOUND 1
45063 _ACEOF
45064
45065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45066 fi
45067
45068 if test "$WXGTK20" = 1; then
45069
45070
45071 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45072 if test -n "$ac_tool_prefix"; then
45073 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45074 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45077 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45078 echo $ECHO_N "(cached) $ECHO_C" >&6
45079 else
45080 case $PKG_CONFIG in
45081 [\\/]* | ?:[\\/]*)
45082 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45083 ;;
45084 *)
45085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45086 for as_dir in $PATH
45087 do
45088 IFS=$as_save_IFS
45089 test -z "$as_dir" && as_dir=.
45090 for ac_exec_ext in '' $ac_executable_extensions; do
45091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45092 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45094 break 2
45095 fi
45096 done
45097 done
45098 IFS=$as_save_IFS
45099
45100 ;;
45101 esac
45102 fi
45103 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45104 if test -n "$PKG_CONFIG"; then
45105 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45106 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45107 else
45108 { echo "$as_me:$LINENO: result: no" >&5
45109 echo "${ECHO_T}no" >&6; }
45110 fi
45111
45112
45113 fi
45114 if test -z "$ac_cv_path_PKG_CONFIG"; then
45115 ac_pt_PKG_CONFIG=$PKG_CONFIG
45116 # Extract the first word of "pkg-config", so it can be a program name with args.
45117 set dummy pkg-config; ac_word=$2
45118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45120 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45121 echo $ECHO_N "(cached) $ECHO_C" >&6
45122 else
45123 case $ac_pt_PKG_CONFIG in
45124 [\\/]* | ?:[\\/]*)
45125 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45126 ;;
45127 *)
45128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45129 for as_dir in $PATH
45130 do
45131 IFS=$as_save_IFS
45132 test -z "$as_dir" && as_dir=.
45133 for ac_exec_ext in '' $ac_executable_extensions; do
45134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45135 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45137 break 2
45138 fi
45139 done
45140 done
45141 IFS=$as_save_IFS
45142
45143 ;;
45144 esac
45145 fi
45146 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45147 if test -n "$ac_pt_PKG_CONFIG"; then
45148 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45149 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45150 else
45151 { echo "$as_me:$LINENO: result: no" >&5
45152 echo "${ECHO_T}no" >&6; }
45153 fi
45154
45155 if test "x$ac_pt_PKG_CONFIG" = x; then
45156 PKG_CONFIG=""
45157 else
45158 case $cross_compiling:$ac_tool_warned in
45159 yes:)
45160 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45161 whose name does not start with the host triplet. If you think this
45162 configuration is useful to you, please write to autoconf@gnu.org." >&5
45163 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45164 whose name does not start with the host triplet. If you think this
45165 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45166 ac_tool_warned=yes ;;
45167 esac
45168 PKG_CONFIG=$ac_pt_PKG_CONFIG
45169 fi
45170 else
45171 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45172 fi
45173
45174 fi
45175 if test -n "$PKG_CONFIG"; then
45176 _pkg_min_version=0.9.0
45177 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45178 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45179 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45180 { echo "$as_me:$LINENO: result: yes" >&5
45181 echo "${ECHO_T}yes" >&6; }
45182 else
45183 { echo "$as_me:$LINENO: result: no" >&5
45184 echo "${ECHO_T}no" >&6; }
45185 PKG_CONFIG=""
45186 fi
45187
45188 fi
45189
45190 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45191 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45192
45193
45194 pkg_failed=no
45195 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45196 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45197
45198 if test -n "$PKG_CONFIG"; then
45199 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45200 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45201 else
45202 if test -n "$PKG_CONFIG" && \
45203 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45204 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45205 ac_status=$?
45206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45207 (exit $ac_status); }; then
45208 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45209 else
45210 pkg_failed=yes
45211 fi
45212 fi
45213 else
45214 pkg_failed=untried
45215 fi
45216 if test -n "$PKG_CONFIG"; then
45217 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45218 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45219 else
45220 if test -n "$PKG_CONFIG" && \
45221 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45222 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45223 ac_status=$?
45224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45225 (exit $ac_status); }; then
45226 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45227 else
45228 pkg_failed=yes
45229 fi
45230 fi
45231 else
45232 pkg_failed=untried
45233 fi
45234
45235
45236
45237 if test $pkg_failed = yes; then
45238
45239 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45240 _pkg_short_errors_supported=yes
45241 else
45242 _pkg_short_errors_supported=no
45243 fi
45244 if test $_pkg_short_errors_supported = yes; then
45245 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45246 else
45247 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45248 fi
45249 # Put the nasty error message in config.log where it belongs
45250 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45251
45252
45253 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45254 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45255 wxUSE_LIBGNOMEPRINT="no"
45256
45257
45258 elif test $pkg_failed = untried; then
45259
45260 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45261 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45262 wxUSE_LIBGNOMEPRINT="no"
45263
45264
45265 else
45266 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45267 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45268 { echo "$as_me:$LINENO: result: yes" >&5
45269 echo "${ECHO_T}yes" >&6; }
45270
45271 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45272 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45273 cat >>confdefs.h <<\_ACEOF
45274 #define wxUSE_LIBGNOMEPRINT 1
45275 _ACEOF
45276
45277
45278 fi
45279 fi
45280 fi
45281
45282 if test "$wxUSE_MIMETYPE" = "yes" ; then
45283 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45284
45285
45286 pkg_failed=no
45287 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45288 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45289
45290 if test -n "$PKG_CONFIG"; then
45291 if test -n "$GNOMEVFS_CFLAGS"; then
45292 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45293 else
45294 if test -n "$PKG_CONFIG" && \
45295 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45296 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45297 ac_status=$?
45298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45299 (exit $ac_status); }; then
45300 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45301 else
45302 pkg_failed=yes
45303 fi
45304 fi
45305 else
45306 pkg_failed=untried
45307 fi
45308 if test -n "$PKG_CONFIG"; then
45309 if test -n "$GNOMEVFS_LIBS"; then
45310 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45311 else
45312 if test -n "$PKG_CONFIG" && \
45313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45314 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45315 ac_status=$?
45316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45317 (exit $ac_status); }; then
45318 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45319 else
45320 pkg_failed=yes
45321 fi
45322 fi
45323 else
45324 pkg_failed=untried
45325 fi
45326
45327
45328
45329 if test $pkg_failed = yes; then
45330
45331 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45332 _pkg_short_errors_supported=yes
45333 else
45334 _pkg_short_errors_supported=no
45335 fi
45336 if test $_pkg_short_errors_supported = yes; then
45337 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45338 else
45339 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45340 fi
45341 # Put the nasty error message in config.log where it belongs
45342 echo "$GNOMEVFS_PKG_ERRORS" >&5
45343
45344
45345 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45346 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45347 wxUSE_LIBGNOMEVFS="no"
45348
45349
45350 elif test $pkg_failed = untried; then
45351
45352 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45353 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45354 wxUSE_LIBGNOMEVFS="no"
45355
45356
45357 else
45358 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45359 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45360 { echo "$as_me:$LINENO: result: yes" >&5
45361 echo "${ECHO_T}yes" >&6; }
45362
45363 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45364 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_LIBGNOMEVFS 1
45367 _ACEOF
45368
45369
45370 fi
45371 fi
45372 fi
45373
45374 if test "$wxUSE_LIBHILDON" = "yes" ; then
45375
45376 pkg_failed=no
45377 { echo "$as_me:$LINENO: checking for HILDON" >&5
45378 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45379
45380 if test -n "$PKG_CONFIG"; then
45381 if test -n "$HILDON_CFLAGS"; then
45382 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45383 else
45384 if test -n "$PKG_CONFIG" && \
45385 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45386 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45387 ac_status=$?
45388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45389 (exit $ac_status); }; then
45390 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45391 else
45392 pkg_failed=yes
45393 fi
45394 fi
45395 else
45396 pkg_failed=untried
45397 fi
45398 if test -n "$PKG_CONFIG"; then
45399 if test -n "$HILDON_LIBS"; then
45400 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45401 else
45402 if test -n "$PKG_CONFIG" && \
45403 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45404 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45405 ac_status=$?
45406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45407 (exit $ac_status); }; then
45408 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45409 else
45410 pkg_failed=yes
45411 fi
45412 fi
45413 else
45414 pkg_failed=untried
45415 fi
45416
45417
45418
45419 if test $pkg_failed = yes; then
45420
45421 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45422 _pkg_short_errors_supported=yes
45423 else
45424 _pkg_short_errors_supported=no
45425 fi
45426 if test $_pkg_short_errors_supported = yes; then
45427 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45428 else
45429 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45430 fi
45431 # Put the nasty error message in config.log where it belongs
45432 echo "$HILDON_PKG_ERRORS" >&5
45433
45434
45435 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45436 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45437 wxUSE_LIBHILDON="no"
45438
45439
45440 elif test $pkg_failed = untried; then
45441
45442 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45443 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45444 wxUSE_LIBHILDON="no"
45445
45446
45447 else
45448 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45449 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45450 { echo "$as_me:$LINENO: result: yes" >&5
45451 echo "${ECHO_T}yes" >&6; }
45452
45453 EXTRALIBS_HILDON="$HILDON_LIBS"
45454 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45455 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45456 cat >>confdefs.h <<\_ACEOF
45457 #define wxUSE_LIBHILDON 1
45458 _ACEOF
45459
45460
45461 fi
45462 fi
45463 fi
45464
45465 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45466 cat >>confdefs.h <<\_ACEOF
45467 #define wxUSE_CMDLINE_PARSER 1
45468 _ACEOF
45469
45470 fi
45471
45472 if test "$wxUSE_STOPWATCH" = "yes"; then
45473 cat >>confdefs.h <<\_ACEOF
45474 #define wxUSE_STOPWATCH 1
45475 _ACEOF
45476
45477 fi
45478
45479 if test "$wxUSE_DATETIME" = "yes"; then
45480 cat >>confdefs.h <<\_ACEOF
45481 #define wxUSE_DATETIME 1
45482 _ACEOF
45483
45484 fi
45485
45486 if test "$wxUSE_FILE" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_FILE 1
45489 _ACEOF
45490
45491 fi
45492
45493 if test "$wxUSE_FFILE" = "yes"; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define wxUSE_FFILE 1
45496 _ACEOF
45497
45498 fi
45499
45500 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45501 if test "$wxUSE_STREAMS" != yes; then
45502 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45503 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45504 wxUSE_ARCHIVE_STREAMS=no
45505 else
45506 cat >>confdefs.h <<\_ACEOF
45507 #define wxUSE_ARCHIVE_STREAMS 1
45508 _ACEOF
45509
45510 fi
45511 fi
45512
45513 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45514 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45515 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45516 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45517 elif test "$wxUSE_ZLIB" = "no"; then
45518 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45519 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45520 else
45521 cat >>confdefs.h <<\_ACEOF
45522 #define wxUSE_ZIPSTREAM 1
45523 _ACEOF
45524
45525 fi
45526 fi
45527
45528 if test "$wxUSE_TARSTREAM" = "yes"; then
45529 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45530 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45531 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45532 else
45533 cat >>confdefs.h <<\_ACEOF
45534 #define wxUSE_TARSTREAM 1
45535 _ACEOF
45536
45537 fi
45538 fi
45539
45540 if test "$wxUSE_FILESYSTEM" = "yes"; then
45541 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45542 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45543 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45544 wxUSE_FILESYSTEM=no
45545 else
45546 cat >>confdefs.h <<\_ACEOF
45547 #define wxUSE_FILESYSTEM 1
45548 _ACEOF
45549
45550 fi
45551 fi
45552
45553 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45554 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45555 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45556 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45557 else
45558 cat >>confdefs.h <<\_ACEOF
45559 #define wxUSE_FS_ARCHIVE 1
45560 _ACEOF
45561
45562 fi
45563 fi
45564
45565 if test "$wxUSE_FS_ZIP" = "yes"; then
45566 if test "$wxUSE_FS_ARCHIVE" != yes; then
45567 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45568 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45569 else
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_FS_ZIP 1
45572 _ACEOF
45573
45574 fi
45575 fi
45576
45577 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45578 if test "$USE_UNIX" != 1; then
45579 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45580 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45581 wxUSE_ON_FATAL_EXCEPTION=no
45582 else
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_ON_FATAL_EXCEPTION 1
45585 _ACEOF
45586
45587 fi
45588 fi
45589
45590 if test "$wxUSE_STACKWALKER" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_STACKWALKER 1
45593 _ACEOF
45594
45595 fi
45596
45597 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45598 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45599 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45600 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45601 wxUSE_DEBUGREPORT=no
45602 else
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_DEBUGREPORT 1
45605 _ACEOF
45606
45607 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45609 fi
45610 fi
45611 fi
45612
45613 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45614 cat >>confdefs.h <<\_ACEOF
45615 #define wxUSE_SNGLINST_CHECKER 1
45616 _ACEOF
45617
45618 fi
45619
45620 if test "$wxUSE_BUSYINFO" = "yes"; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_BUSYINFO 1
45623 _ACEOF
45624
45625 fi
45626
45627 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_STD_IOSTREAM 1
45630 _ACEOF
45631
45632 fi
45633
45634 if test "$wxUSE_STD_STRING" = "yes"; then
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_STD_STRING 1
45637 _ACEOF
45638
45639 fi
45640
45641 if test "$wxUSE_STDPATHS" = "yes"; then
45642 cat >>confdefs.h <<\_ACEOF
45643 #define wxUSE_STDPATHS 1
45644 _ACEOF
45645
45646 fi
45647
45648 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_TEXTBUFFER 1
45651 _ACEOF
45652
45653 fi
45654
45655 if test "$wxUSE_TEXTFILE" = "yes"; then
45656 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45657 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45658 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45659 else
45660 cat >>confdefs.h <<\_ACEOF
45661 #define wxUSE_TEXTFILE 1
45662 _ACEOF
45663
45664 fi
45665 fi
45666
45667 if test "$wxUSE_CONFIG" = "yes" ; then
45668 if test "$wxUSE_TEXTFILE" != "yes"; then
45669 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45670 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45671 else
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_CONFIG 1
45674 _ACEOF
45675
45676 cat >>confdefs.h <<\_ACEOF
45677 #define wxUSE_CONFIG_NATIVE 1
45678 _ACEOF
45679
45680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45681 fi
45682 fi
45683
45684 if test "$wxUSE_INTL" = "yes" ; then
45685 if test "$wxUSE_FILE" != "yes"; then
45686 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45687 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45688 else
45689 cat >>confdefs.h <<\_ACEOF
45690 #define wxUSE_INTL 1
45691 _ACEOF
45692
45693 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45694 GUIDIST="$GUIDIST INTL_DIST"
45695 fi
45696 fi
45697
45698 if test "$wxUSE_LOG" = "yes"; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_LOG 1
45701 _ACEOF
45702
45703
45704 if test "$wxUSE_LOGGUI" = "yes"; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_LOGGUI 1
45707 _ACEOF
45708
45709 fi
45710
45711 if test "$wxUSE_LOGWINDOW" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_LOGWINDOW 1
45714 _ACEOF
45715
45716 fi
45717
45718 if test "$wxUSE_LOGDIALOG" = "yes"; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_LOG_DIALOG 1
45721 _ACEOF
45722
45723 fi
45724
45725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45726 fi
45727
45728 if test "$wxUSE_LONGLONG" = "yes"; then
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_LONGLONG 1
45731 _ACEOF
45732
45733 fi
45734
45735 if test "$wxUSE_GEOMETRY" = "yes"; then
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_GEOMETRY 1
45738 _ACEOF
45739
45740 fi
45741
45742 if test "$wxUSE_BASE64" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_BASE64 1
45745 _ACEOF
45746
45747 fi
45748
45749 if test "$wxUSE_STREAMS" = "yes" ; then
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_STREAMS 1
45752 _ACEOF
45753
45754 fi
45755
45756 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_PRINTF_POS_PARAMS 1
45759 _ACEOF
45760
45761 fi
45762
45763 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45764 cat >>confdefs.h <<\_ACEOF
45765 #define wxUSE_OBJC_UNIQUIFYING 1
45766 _ACEOF
45767
45768 fi
45769
45770
45771 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_CONSOLE_EVENTLOOP 1
45774 _ACEOF
45775
45776
45777 if test "$wxUSE_UNIX" = "yes"; then
45778 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45779 cat >>confdefs.h <<\_ACEOF
45780 #define wxUSE_SELECT_DISPATCHER 1
45781 _ACEOF
45782
45783 fi
45784
45785 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45786
45787 for ac_header in sys/epoll.h
45788 do
45789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45793 echo $ECHO_N "(cached) $ECHO_C" >&6
45794 else
45795 cat >conftest.$ac_ext <<_ACEOF
45796 /* confdefs.h. */
45797 _ACEOF
45798 cat confdefs.h >>conftest.$ac_ext
45799 cat >>conftest.$ac_ext <<_ACEOF
45800 /* end confdefs.h. */
45801 $ac_includes_default
45802
45803 #include <$ac_header>
45804 _ACEOF
45805 rm -f conftest.$ac_objext
45806 if { (ac_try="$ac_compile"
45807 case "(($ac_try" in
45808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45809 *) ac_try_echo=$ac_try;;
45810 esac
45811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45812 (eval "$ac_compile") 2>conftest.er1
45813 ac_status=$?
45814 grep -v '^ *+' conftest.er1 >conftest.err
45815 rm -f conftest.er1
45816 cat conftest.err >&5
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); } && {
45819 test -z "$ac_c_werror_flag" ||
45820 test ! -s conftest.err
45821 } && test -s conftest.$ac_objext; then
45822 eval "$as_ac_Header=yes"
45823 else
45824 echo "$as_me: failed program was:" >&5
45825 sed 's/^/| /' conftest.$ac_ext >&5
45826
45827 eval "$as_ac_Header=no"
45828 fi
45829
45830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45831 fi
45832 ac_res=`eval echo '${'$as_ac_Header'}'`
45833 { echo "$as_me:$LINENO: result: $ac_res" >&5
45834 echo "${ECHO_T}$ac_res" >&6; }
45835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45836 cat >>confdefs.h <<_ACEOF
45837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45838 _ACEOF
45839
45840 fi
45841
45842 done
45843
45844 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45845 cat >>confdefs.h <<\_ACEOF
45846 #define wxUSE_EPOLL_DISPATCHER 1
45847 _ACEOF
45848
45849 else
45850 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45851 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45852 fi
45853 fi
45854 fi
45855 fi
45856
45857
45858
45859
45860 for ac_func in gettimeofday ftime
45861 do
45862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45863 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45865 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45866 echo $ECHO_N "(cached) $ECHO_C" >&6
45867 else
45868 cat >conftest.$ac_ext <<_ACEOF
45869 /* confdefs.h. */
45870 _ACEOF
45871 cat confdefs.h >>conftest.$ac_ext
45872 cat >>conftest.$ac_ext <<_ACEOF
45873 /* end confdefs.h. */
45874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45876 #define $ac_func innocuous_$ac_func
45877
45878 /* System header to define __stub macros and hopefully few prototypes,
45879 which can conflict with char $ac_func (); below.
45880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45881 <limits.h> exists even on freestanding compilers. */
45882
45883 #ifdef __STDC__
45884 # include <limits.h>
45885 #else
45886 # include <assert.h>
45887 #endif
45888
45889 #undef $ac_func
45890
45891 /* Override any GCC internal prototype to avoid an error.
45892 Use char because int might match the return type of a GCC
45893 builtin and then its argument prototype would still apply. */
45894 #ifdef __cplusplus
45895 extern "C"
45896 #endif
45897 char $ac_func ();
45898 /* The GNU C library defines this for functions which it implements
45899 to always fail with ENOSYS. Some functions are actually named
45900 something starting with __ and the normal name is an alias. */
45901 #if defined __stub_$ac_func || defined __stub___$ac_func
45902 choke me
45903 #endif
45904
45905 int
45906 main ()
45907 {
45908 return $ac_func ();
45909 ;
45910 return 0;
45911 }
45912 _ACEOF
45913 rm -f conftest.$ac_objext conftest$ac_exeext
45914 if { (ac_try="$ac_link"
45915 case "(($ac_try" in
45916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45917 *) ac_try_echo=$ac_try;;
45918 esac
45919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45920 (eval "$ac_link") 2>conftest.er1
45921 ac_status=$?
45922 grep -v '^ *+' conftest.er1 >conftest.err
45923 rm -f conftest.er1
45924 cat conftest.err >&5
45925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45926 (exit $ac_status); } && {
45927 test -z "$ac_c_werror_flag" ||
45928 test ! -s conftest.err
45929 } && test -s conftest$ac_exeext &&
45930 $as_test_x conftest$ac_exeext; then
45931 eval "$as_ac_var=yes"
45932 else
45933 echo "$as_me: failed program was:" >&5
45934 sed 's/^/| /' conftest.$ac_ext >&5
45935
45936 eval "$as_ac_var=no"
45937 fi
45938
45939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45940 conftest$ac_exeext conftest.$ac_ext
45941 fi
45942 ac_res=`eval echo '${'$as_ac_var'}'`
45943 { echo "$as_me:$LINENO: result: $ac_res" >&5
45944 echo "${ECHO_T}$ac_res" >&6; }
45945 if test `eval echo '${'$as_ac_var'}'` = yes; then
45946 cat >>confdefs.h <<_ACEOF
45947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45948 _ACEOF
45949 break
45950 fi
45951 done
45952
45953
45954 if test "$ac_cv_func_gettimeofday" = "yes"; then
45955 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45956 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45957 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45958 echo $ECHO_N "(cached) $ECHO_C" >&6
45959 else
45960
45961 cat >conftest.$ac_ext <<_ACEOF
45962 /* confdefs.h. */
45963 _ACEOF
45964 cat confdefs.h >>conftest.$ac_ext
45965 cat >>conftest.$ac_ext <<_ACEOF
45966 /* end confdefs.h. */
45967
45968 #include <sys/time.h>
45969 #include <unistd.h>
45970
45971 int
45972 main ()
45973 {
45974
45975 struct timeval tv;
45976 gettimeofday(&tv, NULL);
45977
45978 ;
45979 return 0;
45980 }
45981 _ACEOF
45982 rm -f conftest.$ac_objext
45983 if { (ac_try="$ac_compile"
45984 case "(($ac_try" in
45985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45986 *) ac_try_echo=$ac_try;;
45987 esac
45988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45989 (eval "$ac_compile") 2>conftest.er1
45990 ac_status=$?
45991 grep -v '^ *+' conftest.er1 >conftest.err
45992 rm -f conftest.er1
45993 cat conftest.err >&5
45994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45995 (exit $ac_status); } && {
45996 test -z "$ac_c_werror_flag" ||
45997 test ! -s conftest.err
45998 } && test -s conftest.$ac_objext; then
45999 wx_cv_func_gettimeofday_has_2_args=yes
46000 else
46001 echo "$as_me: failed program was:" >&5
46002 sed 's/^/| /' conftest.$ac_ext >&5
46003
46004 cat >conftest.$ac_ext <<_ACEOF
46005 /* confdefs.h. */
46006 _ACEOF
46007 cat confdefs.h >>conftest.$ac_ext
46008 cat >>conftest.$ac_ext <<_ACEOF
46009 /* end confdefs.h. */
46010
46011 #include <sys/time.h>
46012 #include <unistd.h>
46013
46014 int
46015 main ()
46016 {
46017
46018 struct timeval tv;
46019 gettimeofday(&tv);
46020
46021 ;
46022 return 0;
46023 }
46024 _ACEOF
46025 rm -f conftest.$ac_objext
46026 if { (ac_try="$ac_compile"
46027 case "(($ac_try" in
46028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46029 *) ac_try_echo=$ac_try;;
46030 esac
46031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46032 (eval "$ac_compile") 2>conftest.er1
46033 ac_status=$?
46034 grep -v '^ *+' conftest.er1 >conftest.err
46035 rm -f conftest.er1
46036 cat conftest.err >&5
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); } && {
46039 test -z "$ac_c_werror_flag" ||
46040 test ! -s conftest.err
46041 } && test -s conftest.$ac_objext; then
46042 wx_cv_func_gettimeofday_has_2_args=no
46043 else
46044 echo "$as_me: failed program was:" >&5
46045 sed 's/^/| /' conftest.$ac_ext >&5
46046
46047
46048 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46049 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46050 wx_cv_func_gettimeofday_has_2_args=unknown
46051
46052
46053 fi
46054
46055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46056
46057 fi
46058
46059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46060
46061 fi
46062 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46063 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46064
46065 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46066 cat >>confdefs.h <<\_ACEOF
46067 #define WX_GETTIMEOFDAY_NO_TZ 1
46068 _ACEOF
46069
46070 fi
46071 fi
46072
46073 if test "$wxUSE_DATETIME" = "yes"; then
46074 { echo "$as_me:$LINENO: checking for strptime" >&5
46075 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46076 if test "${ac_cv_func_strptime+set}" = set; then
46077 echo $ECHO_N "(cached) $ECHO_C" >&6
46078 else
46079 cat >conftest.$ac_ext <<_ACEOF
46080 /* confdefs.h. */
46081 _ACEOF
46082 cat confdefs.h >>conftest.$ac_ext
46083 cat >>conftest.$ac_ext <<_ACEOF
46084 /* end confdefs.h. */
46085 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46087 #define strptime innocuous_strptime
46088
46089 /* System header to define __stub macros and hopefully few prototypes,
46090 which can conflict with char strptime (); below.
46091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46092 <limits.h> exists even on freestanding compilers. */
46093
46094 #ifdef __STDC__
46095 # include <limits.h>
46096 #else
46097 # include <assert.h>
46098 #endif
46099
46100 #undef strptime
46101
46102 /* Override any GCC internal prototype to avoid an error.
46103 Use char because int might match the return type of a GCC
46104 builtin and then its argument prototype would still apply. */
46105 #ifdef __cplusplus
46106 extern "C"
46107 #endif
46108 char strptime ();
46109 /* The GNU C library defines this for functions which it implements
46110 to always fail with ENOSYS. Some functions are actually named
46111 something starting with __ and the normal name is an alias. */
46112 #if defined __stub_strptime || defined __stub___strptime
46113 choke me
46114 #endif
46115
46116 int
46117 main ()
46118 {
46119 return strptime ();
46120 ;
46121 return 0;
46122 }
46123 _ACEOF
46124 rm -f conftest.$ac_objext conftest$ac_exeext
46125 if { (ac_try="$ac_link"
46126 case "(($ac_try" in
46127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46128 *) ac_try_echo=$ac_try;;
46129 esac
46130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46131 (eval "$ac_link") 2>conftest.er1
46132 ac_status=$?
46133 grep -v '^ *+' conftest.er1 >conftest.err
46134 rm -f conftest.er1
46135 cat conftest.err >&5
46136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46137 (exit $ac_status); } && {
46138 test -z "$ac_c_werror_flag" ||
46139 test ! -s conftest.err
46140 } && test -s conftest$ac_exeext &&
46141 $as_test_x conftest$ac_exeext; then
46142 ac_cv_func_strptime=yes
46143 else
46144 echo "$as_me: failed program was:" >&5
46145 sed 's/^/| /' conftest.$ac_ext >&5
46146
46147 ac_cv_func_strptime=no
46148 fi
46149
46150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46151 conftest$ac_exeext conftest.$ac_ext
46152 fi
46153 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46154 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46155
46156 if test "$ac_cv_func_strptime" = "yes"; then
46157 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46158 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46159 if test "${wx_cv_func_strptime_decl+set}" = set; then
46160 echo $ECHO_N "(cached) $ECHO_C" >&6
46161 else
46162
46163 ac_ext=cpp
46164 ac_cpp='$CXXCPP $CPPFLAGS'
46165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46168
46169 cat >conftest.$ac_ext <<_ACEOF
46170 /* confdefs.h. */
46171 _ACEOF
46172 cat confdefs.h >>conftest.$ac_ext
46173 cat >>conftest.$ac_ext <<_ACEOF
46174 /* end confdefs.h. */
46175
46176 #include <time.h>
46177
46178 int
46179 main ()
46180 {
46181
46182 struct tm t;
46183 strptime("foo", "bar", &t);
46184
46185 ;
46186 return 0;
46187 }
46188 _ACEOF
46189 rm -f conftest.$ac_objext
46190 if { (ac_try="$ac_compile"
46191 case "(($ac_try" in
46192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46193 *) ac_try_echo=$ac_try;;
46194 esac
46195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46196 (eval "$ac_compile") 2>conftest.er1
46197 ac_status=$?
46198 grep -v '^ *+' conftest.er1 >conftest.err
46199 rm -f conftest.er1
46200 cat conftest.err >&5
46201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46202 (exit $ac_status); } && {
46203 test -z "$ac_cxx_werror_flag" ||
46204 test ! -s conftest.err
46205 } && test -s conftest.$ac_objext; then
46206 wx_cv_func_strptime_decl=yes
46207 else
46208 echo "$as_me: failed program was:" >&5
46209 sed 's/^/| /' conftest.$ac_ext >&5
46210
46211 wx_cv_func_strptime_decl=no
46212
46213 fi
46214
46215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46216 ac_ext=c
46217 ac_cpp='$CPP $CPPFLAGS'
46218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46221
46222
46223
46224 fi
46225 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46226 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46227 fi
46228 if test "$wx_cv_func_strptime_decl" = "yes"; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define HAVE_STRPTIME_DECL 1
46231 _ACEOF
46232
46233 else
46234 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46235 fi
46236 if test "$ac_cv_func_strptime" = "yes"; then
46237 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46238 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46239 if test "${wx_cv_func_strptime_ok+set}" = set; then
46240 echo $ECHO_N "(cached) $ECHO_C" >&6
46241 else
46242 if test "$cross_compiling" = yes; then
46243 wx_cv_func_strptime_ok=no
46244
46245 else
46246 cat >conftest.$ac_ext <<_ACEOF
46247
46248 #include <stdlib.h>
46249 #include <time.h>
46250 #include "confdefs.h"
46251
46252 $wx_strptime_decl
46253
46254 int main()
46255 {
46256 struct tm t;
46257 return !!strptime("", "%x", &t);
46258 }
46259
46260 _ACEOF
46261 rm -f conftest$ac_exeext
46262 if { (ac_try="$ac_link"
46263 case "(($ac_try" in
46264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46265 *) ac_try_echo=$ac_try;;
46266 esac
46267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46268 (eval "$ac_link") 2>&5
46269 ac_status=$?
46270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46272 { (case "(($ac_try" in
46273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46274 *) ac_try_echo=$ac_try;;
46275 esac
46276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46277 (eval "$ac_try") 2>&5
46278 ac_status=$?
46279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46280 (exit $ac_status); }; }; then
46281 wx_cv_func_strptime_ok=yes
46282 else
46283 echo "$as_me: program exited with status $ac_status" >&5
46284 echo "$as_me: failed program was:" >&5
46285 sed 's/^/| /' conftest.$ac_ext >&5
46286
46287 ( exit $ac_status )
46288 wx_cv_func_strptime_ok=no
46289 fi
46290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46291 fi
46292
46293
46294
46295 fi
46296 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46297 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46298
46299 if test "$wx_cv_func_strptime_ok" = "yes"; then
46300 cat >>confdefs.h <<\_ACEOF
46301 #define HAVE_STRPTIME 1
46302 _ACEOF
46303
46304 fi
46305 fi
46306
46307 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46308 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46309 if test "${wx_cv_var_timezone+set}" = set; then
46310 echo $ECHO_N "(cached) $ECHO_C" >&6
46311 else
46312
46313 ac_ext=cpp
46314 ac_cpp='$CXXCPP $CPPFLAGS'
46315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46318
46319 cat >conftest.$ac_ext <<_ACEOF
46320 /* confdefs.h. */
46321 _ACEOF
46322 cat confdefs.h >>conftest.$ac_ext
46323 cat >>conftest.$ac_ext <<_ACEOF
46324 /* end confdefs.h. */
46325
46326 #include <time.h>
46327
46328 int
46329 main ()
46330 {
46331
46332 int tz;
46333 tz = timezone;
46334
46335 ;
46336 return 0;
46337 }
46338 _ACEOF
46339 rm -f conftest.$ac_objext
46340 if { (ac_try="$ac_compile"
46341 case "(($ac_try" in
46342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46343 *) ac_try_echo=$ac_try;;
46344 esac
46345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46346 (eval "$ac_compile") 2>conftest.er1
46347 ac_status=$?
46348 grep -v '^ *+' conftest.er1 >conftest.err
46349 rm -f conftest.er1
46350 cat conftest.err >&5
46351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46352 (exit $ac_status); } && {
46353 test -z "$ac_cxx_werror_flag" ||
46354 test ! -s conftest.err
46355 } && test -s conftest.$ac_objext; then
46356
46357 wx_cv_var_timezone=timezone
46358
46359 else
46360 echo "$as_me: failed program was:" >&5
46361 sed 's/^/| /' conftest.$ac_ext >&5
46362
46363
46364 cat >conftest.$ac_ext <<_ACEOF
46365 /* confdefs.h. */
46366 _ACEOF
46367 cat confdefs.h >>conftest.$ac_ext
46368 cat >>conftest.$ac_ext <<_ACEOF
46369 /* end confdefs.h. */
46370
46371 #include <time.h>
46372
46373 int
46374 main ()
46375 {
46376
46377 int tz;
46378 tz = _timezone;
46379
46380 ;
46381 return 0;
46382 }
46383 _ACEOF
46384 rm -f conftest.$ac_objext
46385 if { (ac_try="$ac_compile"
46386 case "(($ac_try" in
46387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46388 *) ac_try_echo=$ac_try;;
46389 esac
46390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46391 (eval "$ac_compile") 2>conftest.er1
46392 ac_status=$?
46393 grep -v '^ *+' conftest.er1 >conftest.err
46394 rm -f conftest.er1
46395 cat conftest.err >&5
46396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46397 (exit $ac_status); } && {
46398 test -z "$ac_cxx_werror_flag" ||
46399 test ! -s conftest.err
46400 } && test -s conftest.$ac_objext; then
46401
46402 wx_cv_var_timezone=_timezone
46403
46404 else
46405 echo "$as_me: failed program was:" >&5
46406 sed 's/^/| /' conftest.$ac_ext >&5
46407
46408
46409 cat >conftest.$ac_ext <<_ACEOF
46410 /* confdefs.h. */
46411 _ACEOF
46412 cat confdefs.h >>conftest.$ac_ext
46413 cat >>conftest.$ac_ext <<_ACEOF
46414 /* end confdefs.h. */
46415
46416 #include <time.h>
46417
46418 int
46419 main ()
46420 {
46421
46422 int tz;
46423 tz = __timezone;
46424
46425 ;
46426 return 0;
46427 }
46428 _ACEOF
46429 rm -f conftest.$ac_objext
46430 if { (ac_try="$ac_compile"
46431 case "(($ac_try" in
46432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46433 *) ac_try_echo=$ac_try;;
46434 esac
46435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46436 (eval "$ac_compile") 2>conftest.er1
46437 ac_status=$?
46438 grep -v '^ *+' conftest.er1 >conftest.err
46439 rm -f conftest.er1
46440 cat conftest.err >&5
46441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46442 (exit $ac_status); } && {
46443 test -z "$ac_cxx_werror_flag" ||
46444 test ! -s conftest.err
46445 } && test -s conftest.$ac_objext; then
46446
46447 wx_cv_var_timezone=__timezone
46448
46449 else
46450 echo "$as_me: failed program was:" >&5
46451 sed 's/^/| /' conftest.$ac_ext >&5
46452
46453
46454 if test "$USE_DOS" = 0 ; then
46455 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46456 echo "$as_me: WARNING: no timezone variable" >&2;}
46457 fi
46458
46459
46460 fi
46461
46462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46463
46464
46465 fi
46466
46467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46468
46469
46470 fi
46471
46472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46473 ac_ext=c
46474 ac_cpp='$CPP $CPPFLAGS'
46475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46478
46479
46480
46481 fi
46482 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46483 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46484
46485 if test "x$wx_cv_var_timezone" != x ; then
46486 cat >>confdefs.h <<_ACEOF
46487 #define WX_TIMEZONE $wx_cv_var_timezone
46488 _ACEOF
46489
46490 fi
46491
46492
46493 for ac_func in localtime
46494 do
46495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46496 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46498 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46499 echo $ECHO_N "(cached) $ECHO_C" >&6
46500 else
46501 cat >conftest.$ac_ext <<_ACEOF
46502 /* confdefs.h. */
46503 _ACEOF
46504 cat confdefs.h >>conftest.$ac_ext
46505 cat >>conftest.$ac_ext <<_ACEOF
46506 /* end confdefs.h. */
46507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46509 #define $ac_func innocuous_$ac_func
46510
46511 /* System header to define __stub macros and hopefully few prototypes,
46512 which can conflict with char $ac_func (); below.
46513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46514 <limits.h> exists even on freestanding compilers. */
46515
46516 #ifdef __STDC__
46517 # include <limits.h>
46518 #else
46519 # include <assert.h>
46520 #endif
46521
46522 #undef $ac_func
46523
46524 /* Override any GCC internal prototype to avoid an error.
46525 Use char because int might match the return type of a GCC
46526 builtin and then its argument prototype would still apply. */
46527 #ifdef __cplusplus
46528 extern "C"
46529 #endif
46530 char $ac_func ();
46531 /* The GNU C library defines this for functions which it implements
46532 to always fail with ENOSYS. Some functions are actually named
46533 something starting with __ and the normal name is an alias. */
46534 #if defined __stub_$ac_func || defined __stub___$ac_func
46535 choke me
46536 #endif
46537
46538 int
46539 main ()
46540 {
46541 return $ac_func ();
46542 ;
46543 return 0;
46544 }
46545 _ACEOF
46546 rm -f conftest.$ac_objext conftest$ac_exeext
46547 if { (ac_try="$ac_link"
46548 case "(($ac_try" in
46549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46550 *) ac_try_echo=$ac_try;;
46551 esac
46552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46553 (eval "$ac_link") 2>conftest.er1
46554 ac_status=$?
46555 grep -v '^ *+' conftest.er1 >conftest.err
46556 rm -f conftest.er1
46557 cat conftest.err >&5
46558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46559 (exit $ac_status); } && {
46560 test -z "$ac_c_werror_flag" ||
46561 test ! -s conftest.err
46562 } && test -s conftest$ac_exeext &&
46563 $as_test_x conftest$ac_exeext; then
46564 eval "$as_ac_var=yes"
46565 else
46566 echo "$as_me: failed program was:" >&5
46567 sed 's/^/| /' conftest.$ac_ext >&5
46568
46569 eval "$as_ac_var=no"
46570 fi
46571
46572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46573 conftest$ac_exeext conftest.$ac_ext
46574 fi
46575 ac_res=`eval echo '${'$as_ac_var'}'`
46576 { echo "$as_me:$LINENO: result: $ac_res" >&5
46577 echo "${ECHO_T}$ac_res" >&6; }
46578 if test `eval echo '${'$as_ac_var'}'` = yes; then
46579 cat >>confdefs.h <<_ACEOF
46580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46581 _ACEOF
46582
46583 fi
46584 done
46585
46586
46587 if test "$ac_cv_func_localtime" = "yes"; then
46588 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46589 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46590 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46591 echo $ECHO_N "(cached) $ECHO_C" >&6
46592 else
46593
46594 cat >conftest.$ac_ext <<_ACEOF
46595 /* confdefs.h. */
46596 _ACEOF
46597 cat confdefs.h >>conftest.$ac_ext
46598 cat >>conftest.$ac_ext <<_ACEOF
46599 /* end confdefs.h. */
46600
46601 #include <time.h>
46602
46603 int
46604 main ()
46605 {
46606
46607 struct tm tm;
46608 tm.tm_gmtoff++;
46609
46610 ;
46611 return 0;
46612 }
46613 _ACEOF
46614 rm -f conftest.$ac_objext
46615 if { (ac_try="$ac_compile"
46616 case "(($ac_try" in
46617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46618 *) ac_try_echo=$ac_try;;
46619 esac
46620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46621 (eval "$ac_compile") 2>conftest.er1
46622 ac_status=$?
46623 grep -v '^ *+' conftest.er1 >conftest.err
46624 rm -f conftest.er1
46625 cat conftest.err >&5
46626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46627 (exit $ac_status); } && {
46628 test -z "$ac_c_werror_flag" ||
46629 test ! -s conftest.err
46630 } && test -s conftest.$ac_objext; then
46631
46632 wx_cv_struct_tm_has_gmtoff=yes
46633
46634 else
46635 echo "$as_me: failed program was:" >&5
46636 sed 's/^/| /' conftest.$ac_ext >&5
46637
46638 wx_cv_struct_tm_has_gmtoff=no
46639
46640 fi
46641
46642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46643
46644 fi
46645 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46646 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46647 fi
46648
46649 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46650 cat >>confdefs.h <<\_ACEOF
46651 #define WX_GMTOFF_IN_TM 1
46652 _ACEOF
46653
46654 fi
46655
46656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46657 fi
46658
46659
46660 if test "$wxUSE_SOCKETS" = "yes"; then
46661 if test "$wxUSE_MGL" = "1"; then
46662 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46663 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46664 wxUSE_SOCKETS="no"
46665 fi
46666 fi
46667
46668 if test "$wxUSE_SOCKETS" = "yes"; then
46669 if test "$TOOLKIT" != "MSW"; then
46670 { echo "$as_me:$LINENO: checking for socket" >&5
46671 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46672 if test "${ac_cv_func_socket+set}" = set; then
46673 echo $ECHO_N "(cached) $ECHO_C" >&6
46674 else
46675 cat >conftest.$ac_ext <<_ACEOF
46676 /* confdefs.h. */
46677 _ACEOF
46678 cat confdefs.h >>conftest.$ac_ext
46679 cat >>conftest.$ac_ext <<_ACEOF
46680 /* end confdefs.h. */
46681 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46683 #define socket innocuous_socket
46684
46685 /* System header to define __stub macros and hopefully few prototypes,
46686 which can conflict with char socket (); below.
46687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46688 <limits.h> exists even on freestanding compilers. */
46689
46690 #ifdef __STDC__
46691 # include <limits.h>
46692 #else
46693 # include <assert.h>
46694 #endif
46695
46696 #undef socket
46697
46698 /* Override any GCC internal prototype to avoid an error.
46699 Use char because int might match the return type of a GCC
46700 builtin and then its argument prototype would still apply. */
46701 #ifdef __cplusplus
46702 extern "C"
46703 #endif
46704 char socket ();
46705 /* The GNU C library defines this for functions which it implements
46706 to always fail with ENOSYS. Some functions are actually named
46707 something starting with __ and the normal name is an alias. */
46708 #if defined __stub_socket || defined __stub___socket
46709 choke me
46710 #endif
46711
46712 int
46713 main ()
46714 {
46715 return socket ();
46716 ;
46717 return 0;
46718 }
46719 _ACEOF
46720 rm -f conftest.$ac_objext conftest$ac_exeext
46721 if { (ac_try="$ac_link"
46722 case "(($ac_try" in
46723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46724 *) ac_try_echo=$ac_try;;
46725 esac
46726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46727 (eval "$ac_link") 2>conftest.er1
46728 ac_status=$?
46729 grep -v '^ *+' conftest.er1 >conftest.err
46730 rm -f conftest.er1
46731 cat conftest.err >&5
46732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46733 (exit $ac_status); } && {
46734 test -z "$ac_c_werror_flag" ||
46735 test ! -s conftest.err
46736 } && test -s conftest$ac_exeext &&
46737 $as_test_x conftest$ac_exeext; then
46738 ac_cv_func_socket=yes
46739 else
46740 echo "$as_me: failed program was:" >&5
46741 sed 's/^/| /' conftest.$ac_ext >&5
46742
46743 ac_cv_func_socket=no
46744 fi
46745
46746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46747 conftest$ac_exeext conftest.$ac_ext
46748 fi
46749 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46750 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46751 if test $ac_cv_func_socket = yes; then
46752 :
46753 else
46754
46755 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46756 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46757 if test "${ac_cv_lib_socket_socket+set}" = set; then
46758 echo $ECHO_N "(cached) $ECHO_C" >&6
46759 else
46760 ac_check_lib_save_LIBS=$LIBS
46761 LIBS="-lsocket $LIBS"
46762 cat >conftest.$ac_ext <<_ACEOF
46763 /* confdefs.h. */
46764 _ACEOF
46765 cat confdefs.h >>conftest.$ac_ext
46766 cat >>conftest.$ac_ext <<_ACEOF
46767 /* end confdefs.h. */
46768
46769 /* Override any GCC internal prototype to avoid an error.
46770 Use char because int might match the return type of a GCC
46771 builtin and then its argument prototype would still apply. */
46772 #ifdef __cplusplus
46773 extern "C"
46774 #endif
46775 char socket ();
46776 int
46777 main ()
46778 {
46779 return socket ();
46780 ;
46781 return 0;
46782 }
46783 _ACEOF
46784 rm -f conftest.$ac_objext conftest$ac_exeext
46785 if { (ac_try="$ac_link"
46786 case "(($ac_try" in
46787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46788 *) ac_try_echo=$ac_try;;
46789 esac
46790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46791 (eval "$ac_link") 2>conftest.er1
46792 ac_status=$?
46793 grep -v '^ *+' conftest.er1 >conftest.err
46794 rm -f conftest.er1
46795 cat conftest.err >&5
46796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46797 (exit $ac_status); } && {
46798 test -z "$ac_c_werror_flag" ||
46799 test ! -s conftest.err
46800 } && test -s conftest$ac_exeext &&
46801 $as_test_x conftest$ac_exeext; then
46802 ac_cv_lib_socket_socket=yes
46803 else
46804 echo "$as_me: failed program was:" >&5
46805 sed 's/^/| /' conftest.$ac_ext >&5
46806
46807 ac_cv_lib_socket_socket=no
46808 fi
46809
46810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46811 conftest$ac_exeext conftest.$ac_ext
46812 LIBS=$ac_check_lib_save_LIBS
46813 fi
46814 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46815 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46816 if test $ac_cv_lib_socket_socket = yes; then
46817 if test "$INET_LINK" != " -lsocket"; then
46818 INET_LINK="$INET_LINK -lsocket"
46819 fi
46820 else
46821
46822 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46823 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46824 wxUSE_SOCKETS=no
46825
46826
46827 fi
46828
46829
46830
46831 fi
46832
46833 fi
46834 fi
46835
46836 if test "$wxUSE_SOCKETS" = "yes" ; then
46837 if test "$TOOLKIT" != "MSW"; then
46838 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46839 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46840 if test "${wx_cv_type_getsockname3+set}" = set; then
46841 echo $ECHO_N "(cached) $ECHO_C" >&6
46842 else
46843
46844 ac_ext=cpp
46845 ac_cpp='$CXXCPP $CPPFLAGS'
46846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46849
46850 cat >conftest.$ac_ext <<_ACEOF
46851 /* confdefs.h. */
46852 _ACEOF
46853 cat confdefs.h >>conftest.$ac_ext
46854 cat >>conftest.$ac_ext <<_ACEOF
46855 /* end confdefs.h. */
46856
46857 #include <sys/types.h>
46858 #include <sys/socket.h>
46859
46860 int
46861 main ()
46862 {
46863
46864 socklen_t len;
46865 getsockname(0, 0, &len);
46866
46867 ;
46868 return 0;
46869 }
46870 _ACEOF
46871 rm -f conftest.$ac_objext
46872 if { (ac_try="$ac_compile"
46873 case "(($ac_try" in
46874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46875 *) ac_try_echo=$ac_try;;
46876 esac
46877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46878 (eval "$ac_compile") 2>conftest.er1
46879 ac_status=$?
46880 grep -v '^ *+' conftest.er1 >conftest.err
46881 rm -f conftest.er1
46882 cat conftest.err >&5
46883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46884 (exit $ac_status); } && {
46885 test -z "$ac_cxx_werror_flag" ||
46886 test ! -s conftest.err
46887 } && test -s conftest.$ac_objext; then
46888 wx_cv_type_getsockname3=socklen_t
46889 else
46890 echo "$as_me: failed program was:" >&5
46891 sed 's/^/| /' conftest.$ac_ext >&5
46892
46893
46894 CFLAGS_OLD="$CFLAGS"
46895 if test "$GCC" = yes ; then
46896 CFLAGS="-Werror $CFLAGS"
46897 fi
46898
46899 cat >conftest.$ac_ext <<_ACEOF
46900 /* confdefs.h. */
46901 _ACEOF
46902 cat confdefs.h >>conftest.$ac_ext
46903 cat >>conftest.$ac_ext <<_ACEOF
46904 /* end confdefs.h. */
46905
46906 #include <sys/types.h>
46907 #include <sys/socket.h>
46908
46909 int
46910 main ()
46911 {
46912
46913 size_t len;
46914 getsockname(0, 0, &len);
46915
46916 ;
46917 return 0;
46918 }
46919 _ACEOF
46920 rm -f conftest.$ac_objext
46921 if { (ac_try="$ac_compile"
46922 case "(($ac_try" in
46923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46924 *) ac_try_echo=$ac_try;;
46925 esac
46926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46927 (eval "$ac_compile") 2>conftest.er1
46928 ac_status=$?
46929 grep -v '^ *+' conftest.er1 >conftest.err
46930 rm -f conftest.er1
46931 cat conftest.err >&5
46932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46933 (exit $ac_status); } && {
46934 test -z "$ac_cxx_werror_flag" ||
46935 test ! -s conftest.err
46936 } && test -s conftest.$ac_objext; then
46937 wx_cv_type_getsockname3=size_t
46938 else
46939 echo "$as_me: failed program was:" >&5
46940 sed 's/^/| /' conftest.$ac_ext >&5
46941
46942 cat >conftest.$ac_ext <<_ACEOF
46943 /* confdefs.h. */
46944 _ACEOF
46945 cat confdefs.h >>conftest.$ac_ext
46946 cat >>conftest.$ac_ext <<_ACEOF
46947 /* end confdefs.h. */
46948
46949 #include <sys/types.h>
46950 #include <sys/socket.h>
46951
46952 int
46953 main ()
46954 {
46955
46956 int len;
46957 getsockname(0, 0, &len);
46958
46959 ;
46960 return 0;
46961 }
46962 _ACEOF
46963 rm -f conftest.$ac_objext
46964 if { (ac_try="$ac_compile"
46965 case "(($ac_try" in
46966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46967 *) ac_try_echo=$ac_try;;
46968 esac
46969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46970 (eval "$ac_compile") 2>conftest.er1
46971 ac_status=$?
46972 grep -v '^ *+' conftest.er1 >conftest.err
46973 rm -f conftest.er1
46974 cat conftest.err >&5
46975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46976 (exit $ac_status); } && {
46977 test -z "$ac_cxx_werror_flag" ||
46978 test ! -s conftest.err
46979 } && test -s conftest.$ac_objext; then
46980 wx_cv_type_getsockname3=int
46981 else
46982 echo "$as_me: failed program was:" >&5
46983 sed 's/^/| /' conftest.$ac_ext >&5
46984
46985 wx_cv_type_getsockname3=unknown
46986
46987 fi
46988
46989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46990
46991 fi
46992
46993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46994
46995 CFLAGS="$CFLAGS_OLD"
46996
46997
46998 fi
46999
47000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47001 ac_ext=c
47002 ac_cpp='$CPP $CPPFLAGS'
47003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47006
47007
47008 fi
47009 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47010 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47011
47012 if test "$wx_cv_type_getsockname3" = "unknown"; then
47013 wxUSE_SOCKETS=no
47014 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47015 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47016 else
47017 cat >>confdefs.h <<_ACEOF
47018 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47019 _ACEOF
47020
47021 fi
47022 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47023 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47024 if test "${wx_cv_type_getsockopt5+set}" = set; then
47025 echo $ECHO_N "(cached) $ECHO_C" >&6
47026 else
47027
47028 ac_ext=cpp
47029 ac_cpp='$CXXCPP $CPPFLAGS'
47030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47033
47034 cat >conftest.$ac_ext <<_ACEOF
47035 /* confdefs.h. */
47036 _ACEOF
47037 cat confdefs.h >>conftest.$ac_ext
47038 cat >>conftest.$ac_ext <<_ACEOF
47039 /* end confdefs.h. */
47040
47041 #include <sys/types.h>
47042 #include <sys/socket.h>
47043
47044 int
47045 main ()
47046 {
47047
47048 socklen_t len;
47049 getsockopt(0, 0, 0, 0, &len);
47050
47051 ;
47052 return 0;
47053 }
47054 _ACEOF
47055 rm -f conftest.$ac_objext
47056 if { (ac_try="$ac_compile"
47057 case "(($ac_try" in
47058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47059 *) ac_try_echo=$ac_try;;
47060 esac
47061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47062 (eval "$ac_compile") 2>conftest.er1
47063 ac_status=$?
47064 grep -v '^ *+' conftest.er1 >conftest.err
47065 rm -f conftest.er1
47066 cat conftest.err >&5
47067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47068 (exit $ac_status); } && {
47069 test -z "$ac_cxx_werror_flag" ||
47070 test ! -s conftest.err
47071 } && test -s conftest.$ac_objext; then
47072 wx_cv_type_getsockopt5=socklen_t
47073 else
47074 echo "$as_me: failed program was:" >&5
47075 sed 's/^/| /' conftest.$ac_ext >&5
47076
47077
47078 cat >conftest.$ac_ext <<_ACEOF
47079 /* confdefs.h. */
47080 _ACEOF
47081 cat confdefs.h >>conftest.$ac_ext
47082 cat >>conftest.$ac_ext <<_ACEOF
47083 /* end confdefs.h. */
47084
47085 #include <sys/types.h>
47086 #include <sys/socket.h>
47087
47088 int
47089 main ()
47090 {
47091
47092 size_t len;
47093 getsockopt(0, 0, 0, 0, &len);
47094
47095 ;
47096 return 0;
47097 }
47098 _ACEOF
47099 rm -f conftest.$ac_objext
47100 if { (ac_try="$ac_compile"
47101 case "(($ac_try" in
47102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47103 *) ac_try_echo=$ac_try;;
47104 esac
47105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47106 (eval "$ac_compile") 2>conftest.er1
47107 ac_status=$?
47108 grep -v '^ *+' conftest.er1 >conftest.err
47109 rm -f conftest.er1
47110 cat conftest.err >&5
47111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47112 (exit $ac_status); } && {
47113 test -z "$ac_cxx_werror_flag" ||
47114 test ! -s conftest.err
47115 } && test -s conftest.$ac_objext; then
47116 wx_cv_type_getsockopt5=size_t
47117 else
47118 echo "$as_me: failed program was:" >&5
47119 sed 's/^/| /' conftest.$ac_ext >&5
47120
47121 cat >conftest.$ac_ext <<_ACEOF
47122 /* confdefs.h. */
47123 _ACEOF
47124 cat confdefs.h >>conftest.$ac_ext
47125 cat >>conftest.$ac_ext <<_ACEOF
47126 /* end confdefs.h. */
47127
47128 #include <sys/types.h>
47129 #include <sys/socket.h>
47130
47131 int
47132 main ()
47133 {
47134
47135 int len;
47136 getsockopt(0, 0, 0, 0, &len);
47137
47138 ;
47139 return 0;
47140 }
47141 _ACEOF
47142 rm -f conftest.$ac_objext
47143 if { (ac_try="$ac_compile"
47144 case "(($ac_try" in
47145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47146 *) ac_try_echo=$ac_try;;
47147 esac
47148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47149 (eval "$ac_compile") 2>conftest.er1
47150 ac_status=$?
47151 grep -v '^ *+' conftest.er1 >conftest.err
47152 rm -f conftest.er1
47153 cat conftest.err >&5
47154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47155 (exit $ac_status); } && {
47156 test -z "$ac_cxx_werror_flag" ||
47157 test ! -s conftest.err
47158 } && test -s conftest.$ac_objext; then
47159 wx_cv_type_getsockopt5=int
47160 else
47161 echo "$as_me: failed program was:" >&5
47162 sed 's/^/| /' conftest.$ac_ext >&5
47163
47164 wx_cv_type_getsockopt5=unknown
47165
47166 fi
47167
47168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47169
47170 fi
47171
47172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47173
47174
47175 fi
47176
47177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47178 ac_ext=c
47179 ac_cpp='$CPP $CPPFLAGS'
47180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47183
47184
47185 fi
47186 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47187 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47188
47189 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47190 wxUSE_SOCKETS=no
47191 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47192 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47193 else
47194 cat >>confdefs.h <<_ACEOF
47195 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47196 _ACEOF
47197
47198 fi
47199 fi
47200 fi
47201
47202 if test "$wxUSE_SOCKETS" = "yes" ; then
47203 cat >>confdefs.h <<\_ACEOF
47204 #define wxUSE_SOCKETS 1
47205 _ACEOF
47206
47207 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47208 fi
47209
47210 if test "$wxUSE_PROTOCOL" = "yes"; then
47211 if test "$wxUSE_SOCKETS" != "yes"; then
47212 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47213 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47214 wxUSE_PROTOCOL=no
47215 fi
47216 fi
47217
47218 if test "$wxUSE_PROTOCOL" = "yes"; then
47219 cat >>confdefs.h <<\_ACEOF
47220 #define wxUSE_PROTOCOL 1
47221 _ACEOF
47222
47223
47224 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47225 cat >>confdefs.h <<\_ACEOF
47226 #define wxUSE_PROTOCOL_HTTP 1
47227 _ACEOF
47228
47229 fi
47230 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47231 cat >>confdefs.h <<\_ACEOF
47232 #define wxUSE_PROTOCOL_FTP 1
47233 _ACEOF
47234
47235 fi
47236 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47237 cat >>confdefs.h <<\_ACEOF
47238 #define wxUSE_PROTOCOL_FILE 1
47239 _ACEOF
47240
47241 fi
47242 else
47243 if test "$wxUSE_FS_INET" = "yes"; then
47244 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47245 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47246 wxUSE_FS_INET="no"
47247 fi
47248 fi
47249
47250 if test "$wxUSE_URL" = "yes"; then
47251 if test "$wxUSE_PROTOCOL" != "yes"; then
47252 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47253 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47254 wxUSE_URL=no
47255 fi
47256 if test "$wxUSE_URL" = "yes"; then
47257 cat >>confdefs.h <<\_ACEOF
47258 #define wxUSE_URL 1
47259 _ACEOF
47260
47261 fi
47262 fi
47263
47264 if test "$wxUSE_VARIANT" = "yes"; then
47265 cat >>confdefs.h <<\_ACEOF
47266 #define wxUSE_VARIANT 1
47267 _ACEOF
47268
47269 fi
47270
47271 if test "$wxUSE_FS_INET" = "yes"; then
47272 cat >>confdefs.h <<\_ACEOF
47273 #define wxUSE_FS_INET 1
47274 _ACEOF
47275
47276 fi
47277
47278
47279 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47280 wxUSE_JOYSTICK=no
47281
47282 if test "$TOOLKIT" = "MSW"; then
47283 wxUSE_JOYSTICK=yes
47284
47285 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47286 if test "$USE_DARWIN" = 1; then
47287 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47288 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47289 ac_ext=cpp
47290 ac_cpp='$CXXCPP $CPPFLAGS'
47291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47294
47295 cat >conftest.$ac_ext <<_ACEOF
47296 /* confdefs.h. */
47297 _ACEOF
47298 cat confdefs.h >>conftest.$ac_ext
47299 cat >>conftest.$ac_ext <<_ACEOF
47300 /* end confdefs.h. */
47301 #include <IOKit/hid/IOHIDLib.h>
47302 int
47303 main ()
47304 {
47305 IOHIDQueueInterface *qi = NULL;
47306 IOHIDCallbackFunction cb = NULL;
47307 qi->setEventCallout(NULL, cb, NULL, NULL);
47308 ;
47309 return 0;
47310 }
47311 _ACEOF
47312 rm -f conftest.$ac_objext
47313 if { (ac_try="$ac_compile"
47314 case "(($ac_try" in
47315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47316 *) ac_try_echo=$ac_try;;
47317 esac
47318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47319 (eval "$ac_compile") 2>conftest.er1
47320 ac_status=$?
47321 grep -v '^ *+' conftest.er1 >conftest.err
47322 rm -f conftest.er1
47323 cat conftest.err >&5
47324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47325 (exit $ac_status); } && {
47326 test -z "$ac_cxx_werror_flag" ||
47327 test ! -s conftest.err
47328 } && test -s conftest.$ac_objext; then
47329 wxUSE_JOYSTICK=yes
47330
47331 else
47332 echo "$as_me: failed program was:" >&5
47333 sed 's/^/| /' conftest.$ac_ext >&5
47334
47335
47336 fi
47337
47338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47339 ac_ext=c
47340 ac_cpp='$CPP $CPPFLAGS'
47341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47344
47345 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47346 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47347 fi
47348
47349 else
47350 if test "$wxUSE_MGL" != "1"; then
47351
47352 for ac_header in linux/joystick.h
47353 do
47354 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47355 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47357 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47358 echo $ECHO_N "(cached) $ECHO_C" >&6
47359 else
47360 cat >conftest.$ac_ext <<_ACEOF
47361 /* confdefs.h. */
47362 _ACEOF
47363 cat confdefs.h >>conftest.$ac_ext
47364 cat >>conftest.$ac_ext <<_ACEOF
47365 /* end confdefs.h. */
47366 $ac_includes_default
47367
47368 #include <$ac_header>
47369 _ACEOF
47370 rm -f conftest.$ac_objext
47371 if { (ac_try="$ac_compile"
47372 case "(($ac_try" in
47373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47374 *) ac_try_echo=$ac_try;;
47375 esac
47376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47377 (eval "$ac_compile") 2>conftest.er1
47378 ac_status=$?
47379 grep -v '^ *+' conftest.er1 >conftest.err
47380 rm -f conftest.er1
47381 cat conftest.err >&5
47382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47383 (exit $ac_status); } && {
47384 test -z "$ac_c_werror_flag" ||
47385 test ! -s conftest.err
47386 } && test -s conftest.$ac_objext; then
47387 eval "$as_ac_Header=yes"
47388 else
47389 echo "$as_me: failed program was:" >&5
47390 sed 's/^/| /' conftest.$ac_ext >&5
47391
47392 eval "$as_ac_Header=no"
47393 fi
47394
47395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47396 fi
47397 ac_res=`eval echo '${'$as_ac_Header'}'`
47398 { echo "$as_me:$LINENO: result: $ac_res" >&5
47399 echo "${ECHO_T}$ac_res" >&6; }
47400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47401 cat >>confdefs.h <<_ACEOF
47402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47403 _ACEOF
47404 wxUSE_JOYSTICK=yes
47405 fi
47406
47407 done
47408
47409 fi
47410 fi
47411
47412 if test "$wxUSE_JOYSTICK" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_JOYSTICK 1
47415 _ACEOF
47416
47417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47418 else
47419 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47420 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47421 fi
47422 fi
47423
47424
47425
47426 if test "$wxUSE_FONTENUM" = "yes" ; then
47427 cat >>confdefs.h <<\_ACEOF
47428 #define wxUSE_FONTENUM 1
47429 _ACEOF
47430
47431 fi
47432
47433 if test "$wxUSE_FONTMAP" = "yes" ; then
47434 cat >>confdefs.h <<\_ACEOF
47435 #define wxUSE_FONTMAP 1
47436 _ACEOF
47437
47438 fi
47439
47440 if test "$wxUSE_UNICODE" = "yes" ; then
47441 cat >>confdefs.h <<\_ACEOF
47442 #define wxUSE_UNICODE 1
47443 _ACEOF
47444
47445
47446 if test "$USE_WIN32" != 1; then
47447 wxUSE_UNICODE_MSLU=no
47448 fi
47449
47450 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47451 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47452 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47453 if test "${ac_cv_lib_unicows_main+set}" = set; then
47454 echo $ECHO_N "(cached) $ECHO_C" >&6
47455 else
47456 ac_check_lib_save_LIBS=$LIBS
47457 LIBS="-lunicows $LIBS"
47458 cat >conftest.$ac_ext <<_ACEOF
47459 /* confdefs.h. */
47460 _ACEOF
47461 cat confdefs.h >>conftest.$ac_ext
47462 cat >>conftest.$ac_ext <<_ACEOF
47463 /* end confdefs.h. */
47464
47465
47466 int
47467 main ()
47468 {
47469 return main ();
47470 ;
47471 return 0;
47472 }
47473 _ACEOF
47474 rm -f conftest.$ac_objext conftest$ac_exeext
47475 if { (ac_try="$ac_link"
47476 case "(($ac_try" in
47477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47478 *) ac_try_echo=$ac_try;;
47479 esac
47480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47481 (eval "$ac_link") 2>conftest.er1
47482 ac_status=$?
47483 grep -v '^ *+' conftest.er1 >conftest.err
47484 rm -f conftest.er1
47485 cat conftest.err >&5
47486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47487 (exit $ac_status); } && {
47488 test -z "$ac_c_werror_flag" ||
47489 test ! -s conftest.err
47490 } && test -s conftest$ac_exeext &&
47491 $as_test_x conftest$ac_exeext; then
47492 ac_cv_lib_unicows_main=yes
47493 else
47494 echo "$as_me: failed program was:" >&5
47495 sed 's/^/| /' conftest.$ac_ext >&5
47496
47497 ac_cv_lib_unicows_main=no
47498 fi
47499
47500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47501 conftest$ac_exeext conftest.$ac_ext
47502 LIBS=$ac_check_lib_save_LIBS
47503 fi
47504 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47505 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47506 if test $ac_cv_lib_unicows_main = yes; then
47507
47508 cat >>confdefs.h <<\_ACEOF
47509 #define wxUSE_UNICODE_MSLU 1
47510 _ACEOF
47511
47512
47513 else
47514
47515 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47516 Applications will only run on Windows NT/2000/XP!" >&5
47517 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47518 Applications will only run on Windows NT/2000/XP!" >&2;}
47519 wxUSE_UNICODE_MSLU=no
47520
47521 fi
47522
47523 fi
47524 fi
47525
47526 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47527 cat >>confdefs.h <<\_ACEOF
47528 #define wxUSE_UNICODE_UTF8 1
47529 _ACEOF
47530
47531
47532 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47533 cat >>confdefs.h <<\_ACEOF
47534 #define wxUSE_UTF8_LOCALE_ONLY 1
47535 _ACEOF
47536
47537 fi
47538 fi
47539
47540
47541 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47542 cat >>confdefs.h <<\_ACEOF
47543 #define wxUSE_CONSTRAINTS 1
47544 _ACEOF
47545
47546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47547 fi
47548
47549 if test "$wxUSE_MDI" = "yes"; then
47550 cat >>confdefs.h <<\_ACEOF
47551 #define wxUSE_MDI 1
47552 _ACEOF
47553
47554
47555 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47556 cat >>confdefs.h <<\_ACEOF
47557 #define wxUSE_MDI_ARCHITECTURE 1
47558 _ACEOF
47559
47560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47561 fi
47562 fi
47563
47564 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47565 cat >>confdefs.h <<\_ACEOF
47566 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47567 _ACEOF
47568
47569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47570 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47572 fi
47573 fi
47574
47575 if test "$wxUSE_HELP" = "yes"; then
47576 cat >>confdefs.h <<\_ACEOF
47577 #define wxUSE_HELP 1
47578 _ACEOF
47579
47580 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47581
47582 if test "$wxUSE_MSW" = 1; then
47583 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47584 cat >>confdefs.h <<\_ACEOF
47585 #define wxUSE_MS_HTML_HELP 1
47586 _ACEOF
47587
47588 fi
47589 fi
47590
47591 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47592 if test "$wxUSE_HTML" = "yes"; then
47593 cat >>confdefs.h <<\_ACEOF
47594 #define wxUSE_WXHTML_HELP 1
47595 _ACEOF
47596
47597 else
47598 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47599 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47600 wxUSE_WXHTML_HELP=no
47601 fi
47602 fi
47603 fi
47604
47605 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47606 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47607 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47608 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47609 else
47610 cat >>confdefs.h <<\_ACEOF
47611 #define wxUSE_PRINTING_ARCHITECTURE 1
47612 _ACEOF
47613
47614 fi
47615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47616 fi
47617
47618 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47619 cat >>confdefs.h <<\_ACEOF
47620 #define wxUSE_POSTSCRIPT 1
47621 _ACEOF
47622
47623 fi
47624
47625 cat >>confdefs.h <<\_ACEOF
47626 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47627 _ACEOF
47628
47629
47630 if test "$wxUSE_SVG" = "yes"; then
47631 cat >>confdefs.h <<\_ACEOF
47632 #define wxUSE_SVG 1
47633 _ACEOF
47634
47635 fi
47636
47637
47638 if test "$wxUSE_METAFILE" = "yes"; then
47639 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47640 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47641 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47642 wxUSE_METAFILE=no
47643 fi
47644 fi
47645
47646
47647 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47648 -o "$wxUSE_CLIPBOARD" = "yes" \
47649 -o "$wxUSE_OLE" = "yes" \
47650 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47651 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47652 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47653 if test "${ac_cv_header_ole2_h+set}" = set; then
47654 echo $ECHO_N "(cached) $ECHO_C" >&6
47655 else
47656 cat >conftest.$ac_ext <<_ACEOF
47657 /* confdefs.h. */
47658 _ACEOF
47659 cat confdefs.h >>conftest.$ac_ext
47660 cat >>conftest.$ac_ext <<_ACEOF
47661 /* end confdefs.h. */
47662
47663
47664 #include <ole2.h>
47665 _ACEOF
47666 rm -f conftest.$ac_objext
47667 if { (ac_try="$ac_compile"
47668 case "(($ac_try" in
47669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47670 *) ac_try_echo=$ac_try;;
47671 esac
47672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47673 (eval "$ac_compile") 2>conftest.er1
47674 ac_status=$?
47675 grep -v '^ *+' conftest.er1 >conftest.err
47676 rm -f conftest.er1
47677 cat conftest.err >&5
47678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47679 (exit $ac_status); } && {
47680 test -z "$ac_c_werror_flag" ||
47681 test ! -s conftest.err
47682 } && test -s conftest.$ac_objext; then
47683 ac_cv_header_ole2_h=yes
47684 else
47685 echo "$as_me: failed program was:" >&5
47686 sed 's/^/| /' conftest.$ac_ext >&5
47687
47688 ac_cv_header_ole2_h=no
47689 fi
47690
47691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47692 fi
47693 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47694 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47695
47696
47697
47698 if test "$ac_cv_header_ole2_h" = "yes" ; then
47699 if test "$GCC" = yes ; then
47700 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47701 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47702 cat >conftest.$ac_ext <<_ACEOF
47703 /* confdefs.h. */
47704 _ACEOF
47705 cat confdefs.h >>conftest.$ac_ext
47706 cat >>conftest.$ac_ext <<_ACEOF
47707 /* end confdefs.h. */
47708 #include <windows.h>
47709 #include <ole2.h>
47710 int
47711 main ()
47712 {
47713
47714 ;
47715 return 0;
47716 }
47717 _ACEOF
47718 rm -f conftest.$ac_objext
47719 if { (ac_try="$ac_compile"
47720 case "(($ac_try" in
47721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47722 *) ac_try_echo=$ac_try;;
47723 esac
47724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47725 (eval "$ac_compile") 2>conftest.er1
47726 ac_status=$?
47727 grep -v '^ *+' conftest.er1 >conftest.err
47728 rm -f conftest.er1
47729 cat conftest.err >&5
47730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47731 (exit $ac_status); } && {
47732 test -z "$ac_c_werror_flag" ||
47733 test ! -s conftest.err
47734 } && test -s conftest.$ac_objext; then
47735 { echo "$as_me:$LINENO: result: no" >&5
47736 echo "${ECHO_T}no" >&6; }
47737 else
47738 echo "$as_me: failed program was:" >&5
47739 sed 's/^/| /' conftest.$ac_ext >&5
47740
47741 { echo "$as_me:$LINENO: result: yes" >&5
47742 echo "${ECHO_T}yes" >&6; }
47743 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47744 fi
47745
47746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47747 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47748 if test "$wxUSE_OLE" = "yes" ; then
47749 cat >>confdefs.h <<\_ACEOF
47750 #define wxUSE_OLE 1
47751 _ACEOF
47752
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_OLE_AUTOMATION 1
47755 _ACEOF
47756
47757 cat >>confdefs.h <<\_ACEOF
47758 #define wxUSE_ACTIVEX 1
47759 _ACEOF
47760
47761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47762 fi
47763 fi
47764
47765 if test "$wxUSE_DATAOBJ" = "yes" ; then
47766 cat >>confdefs.h <<\_ACEOF
47767 #define wxUSE_DATAOBJ 1
47768 _ACEOF
47769
47770 fi
47771 else
47772 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47773 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47774
47775 wxUSE_CLIPBOARD=no
47776 wxUSE_DRAG_AND_DROP=no
47777 wxUSE_DATAOBJ=no
47778 wxUSE_OLE=no
47779 fi
47780
47781 if test "$wxUSE_METAFILE" = "yes"; then
47782 cat >>confdefs.h <<\_ACEOF
47783 #define wxUSE_METAFILE 1
47784 _ACEOF
47785
47786
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_ENH_METAFILE 1
47789 _ACEOF
47790
47791 fi
47792 fi
47793
47794 if test "$wxUSE_IPC" = "yes"; then
47795 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47796 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47797 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47798 wxUSE_IPC=no
47799 fi
47800
47801 if test "$wxUSE_IPC" = "yes"; then
47802 cat >>confdefs.h <<\_ACEOF
47803 #define wxUSE_IPC 1
47804 _ACEOF
47805
47806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47807 fi
47808 fi
47809
47810 if test "$wxUSE_DATAOBJ" = "yes"; then
47811 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47812 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47813 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47814 wxUSE_DATAOBJ=no
47815 else
47816 cat >>confdefs.h <<\_ACEOF
47817 #define wxUSE_DATAOBJ 1
47818 _ACEOF
47819
47820 fi
47821 else
47822 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47823 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47824 wxUSE_CLIPBOARD=no
47825 wxUSE_DRAG_AND_DROP=no
47826 fi
47827
47828 if test "$wxUSE_CLIPBOARD" = "yes"; then
47829 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47830 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47831 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47832 wxUSE_CLIPBOARD=no
47833 fi
47834
47835 if test "$wxUSE_CLIPBOARD" = "yes"; then
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_CLIPBOARD 1
47838 _ACEOF
47839
47840 fi
47841 fi
47842
47843 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47844 if test "$wxUSE_GTK" = 1; then
47845 if test "$WXGTK12" != 1; then
47846 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47847 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47848 wxUSE_DRAG_AND_DROP=no
47849 fi
47850 fi
47851
47852 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47853 "$wxUSE_DFB" = 1; then
47854 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47855 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47856 wxUSE_DRAG_AND_DROP=no
47857 fi
47858
47859 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47860 cat >>confdefs.h <<\_ACEOF
47861 #define wxUSE_DRAG_AND_DROP 1
47862 _ACEOF
47863
47864 fi
47865
47866 fi
47867
47868 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47870 fi
47871
47872 if test "$wxUSE_SPLINES" = "yes" ; then
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_SPLINES 1
47875 _ACEOF
47876
47877 fi
47878
47879 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47880 cat >>confdefs.h <<\_ACEOF
47881 #define wxUSE_MOUSEWHEEL 1
47882 _ACEOF
47883
47884 fi
47885
47886
47887 USES_CONTROLS=0
47888 if test "$wxUSE_CONTROLS" = "yes"; then
47889 USES_CONTROLS=1
47890 fi
47891
47892 if test "$wxUSE_ACCEL" = "yes"; then
47893 cat >>confdefs.h <<\_ACEOF
47894 #define wxUSE_ACCEL 1
47895 _ACEOF
47896
47897 USES_CONTROLS=1
47898 fi
47899
47900 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_ANIMATIONCTRL 1
47903 _ACEOF
47904
47905 USES_CONTROLS=1
47906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47907 fi
47908
47909 if test "$wxUSE_BUTTON" = "yes"; then
47910 cat >>confdefs.h <<\_ACEOF
47911 #define wxUSE_BUTTON 1
47912 _ACEOF
47913
47914 USES_CONTROLS=1
47915 fi
47916
47917 if test "$wxUSE_BMPBUTTON" = "yes"; then
47918 cat >>confdefs.h <<\_ACEOF
47919 #define wxUSE_BMPBUTTON 1
47920 _ACEOF
47921
47922 USES_CONTROLS=1
47923 fi
47924
47925 if test "$wxUSE_CALCTRL" = "yes"; then
47926 cat >>confdefs.h <<\_ACEOF
47927 #define wxUSE_CALENDARCTRL 1
47928 _ACEOF
47929
47930 USES_CONTROLS=1
47931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47932 fi
47933
47934 if test "$wxUSE_CARET" = "yes"; then
47935 cat >>confdefs.h <<\_ACEOF
47936 #define wxUSE_CARET 1
47937 _ACEOF
47938
47939 USES_CONTROLS=1
47940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47941 fi
47942
47943 if test "$wxUSE_COLLPANE" = "yes"; then
47944 cat >>confdefs.h <<\_ACEOF
47945 #define wxUSE_COLLPANE 1
47946 _ACEOF
47947
47948 USES_CONTROLS=1
47949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47950 fi
47951
47952 if test "$wxUSE_COMBOBOX" = "yes"; then
47953 cat >>confdefs.h <<\_ACEOF
47954 #define wxUSE_COMBOBOX 1
47955 _ACEOF
47956
47957 USES_CONTROLS=1
47958 fi
47959
47960 if test "$wxUSE_COMBOCTRL" = "yes"; then
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_COMBOCTRL 1
47963 _ACEOF
47964
47965 USES_CONTROLS=1
47966 fi
47967
47968 if test "$wxUSE_CHOICE" = "yes"; then
47969 cat >>confdefs.h <<\_ACEOF
47970 #define wxUSE_CHOICE 1
47971 _ACEOF
47972
47973 USES_CONTROLS=1
47974 fi
47975
47976 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47977 cat >>confdefs.h <<\_ACEOF
47978 #define wxUSE_CHOICEBOOK 1
47979 _ACEOF
47980
47981 USES_CONTROLS=1
47982 fi
47983
47984 if test "$wxUSE_CHECKBOX" = "yes"; then
47985 cat >>confdefs.h <<\_ACEOF
47986 #define wxUSE_CHECKBOX 1
47987 _ACEOF
47988
47989 USES_CONTROLS=1
47990 fi
47991
47992 if test "$wxUSE_CHECKLST" = "yes"; then
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_CHECKLISTBOX 1
47995 _ACEOF
47996
47997 USES_CONTROLS=1
47998 fi
47999
48000 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48001 cat >>confdefs.h <<\_ACEOF
48002 #define wxUSE_COLOURPICKERCTRL 1
48003 _ACEOF
48004
48005 USES_CONTROLS=1
48006 fi
48007
48008 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48009 cat >>confdefs.h <<\_ACEOF
48010 #define wxUSE_DATEPICKCTRL 1
48011 _ACEOF
48012
48013 USES_CONTROLS=1
48014 fi
48015
48016 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48017 cat >>confdefs.h <<\_ACEOF
48018 #define wxUSE_DIRPICKERCTRL 1
48019 _ACEOF
48020
48021 USES_CONTROLS=1
48022 fi
48023
48024 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48025 cat >>confdefs.h <<\_ACEOF
48026 #define wxUSE_FILEPICKERCTRL 1
48027 _ACEOF
48028
48029 USES_CONTROLS=1
48030 fi
48031
48032 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48033 cat >>confdefs.h <<\_ACEOF
48034 #define wxUSE_FONTPICKERCTRL 1
48035 _ACEOF
48036
48037 USES_CONTROLS=1
48038 fi
48039
48040 if test "$wxUSE_DISPLAY" = "yes"; then
48041 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48042 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48043 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48044 wxUSE_DISPLAY=no
48045 else
48046 cat >>confdefs.h <<\_ACEOF
48047 #define wxUSE_DISPLAY 1
48048 _ACEOF
48049
48050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
48051 fi
48052 fi
48053
48054 if test "$wxUSE_DETECT_SM" = "yes"; then
48055 cat >>confdefs.h <<\_ACEOF
48056 #define wxUSE_DETECT_SM 1
48057 _ACEOF
48058
48059 fi
48060
48061 if test "$wxUSE_GAUGE" = "yes"; then
48062 cat >>confdefs.h <<\_ACEOF
48063 #define wxUSE_GAUGE 1
48064 _ACEOF
48065
48066 USES_CONTROLS=1
48067 fi
48068
48069 if test "$wxUSE_GRID" = "yes"; then
48070 cat >>confdefs.h <<\_ACEOF
48071 #define wxUSE_GRID 1
48072 _ACEOF
48073
48074 USES_CONTROLS=1
48075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48076 fi
48077
48078 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48079 cat >>confdefs.h <<\_ACEOF
48080 #define wxUSE_HYPERLINKCTRL 1
48081 _ACEOF
48082
48083 USES_CONTROLS=1
48084 fi
48085
48086 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48087 cat >>confdefs.h <<\_ACEOF
48088 #define wxUSE_BITMAPCOMBOBOX 1
48089 _ACEOF
48090
48091 USES_CONTROLS=1
48092 fi
48093
48094 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48095 cat >>confdefs.h <<\_ACEOF
48096 #define wxUSE_DATAVIEWCTRL 1
48097 _ACEOF
48098
48099 USES_CONTROLS=1
48100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48101 fi
48102
48103 if test "$wxUSE_IMAGLIST" = "yes"; then
48104 cat >>confdefs.h <<\_ACEOF
48105 #define wxUSE_IMAGLIST 1
48106 _ACEOF
48107
48108 fi
48109
48110 if test "$wxUSE_LISTBOOK" = "yes"; then
48111 cat >>confdefs.h <<\_ACEOF
48112 #define wxUSE_LISTBOOK 1
48113 _ACEOF
48114
48115 USES_CONTROLS=1
48116 fi
48117
48118 if test "$wxUSE_LISTBOX" = "yes"; then
48119 cat >>confdefs.h <<\_ACEOF
48120 #define wxUSE_LISTBOX 1
48121 _ACEOF
48122
48123 USES_CONTROLS=1
48124 fi
48125
48126 if test "$wxUSE_LISTCTRL" = "yes"; then
48127 if test "$wxUSE_IMAGLIST" = "yes"; then
48128 cat >>confdefs.h <<\_ACEOF
48129 #define wxUSE_LISTCTRL 1
48130 _ACEOF
48131
48132 USES_CONTROLS=1
48133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48134 else
48135 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48136 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48137 fi
48138 fi
48139
48140 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48141 cat >>confdefs.h <<\_ACEOF
48142 #define wxUSE_EDITABLELISTBOX 1
48143 _ACEOF
48144
48145 USES_CONTROLS=1
48146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48147 fi
48148
48149 if test "$wxUSE_NOTEBOOK" = "yes"; then
48150 cat >>confdefs.h <<\_ACEOF
48151 #define wxUSE_NOTEBOOK 1
48152 _ACEOF
48153
48154 USES_CONTROLS=1
48155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48156 fi
48157
48158 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48159 cat >>confdefs.h <<\_ACEOF
48160 #define wxUSE_ODCOMBOBOX 1
48161 _ACEOF
48162
48163 USES_CONTROLS=1
48164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48165 fi
48166
48167 if test "$wxUSE_RADIOBOX" = "yes"; then
48168 cat >>confdefs.h <<\_ACEOF
48169 #define wxUSE_RADIOBOX 1
48170 _ACEOF
48171
48172 USES_CONTROLS=1
48173 fi
48174
48175 if test "$wxUSE_RADIOBTN" = "yes"; then
48176 cat >>confdefs.h <<\_ACEOF
48177 #define wxUSE_RADIOBTN 1
48178 _ACEOF
48179
48180 USES_CONTROLS=1
48181 fi
48182
48183 if test "$wxUSE_SASH" = "yes"; then
48184 cat >>confdefs.h <<\_ACEOF
48185 #define wxUSE_SASH 1
48186 _ACEOF
48187
48188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48189 fi
48190
48191 if test "$wxUSE_SCROLLBAR" = "yes"; then
48192 cat >>confdefs.h <<\_ACEOF
48193 #define wxUSE_SCROLLBAR 1
48194 _ACEOF
48195
48196 USES_CONTROLS=1
48197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48198 fi
48199
48200 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48201 cat >>confdefs.h <<\_ACEOF
48202 #define wxUSE_SEARCHCTRL 1
48203 _ACEOF
48204
48205 USES_CONTROLS=1
48206 fi
48207
48208 if test "$wxUSE_SLIDER" = "yes"; then
48209 cat >>confdefs.h <<\_ACEOF
48210 #define wxUSE_SLIDER 1
48211 _ACEOF
48212
48213 USES_CONTROLS=1
48214 fi
48215
48216 if test "$wxUSE_SPINBTN" = "yes"; then
48217 cat >>confdefs.h <<\_ACEOF
48218 #define wxUSE_SPINBTN 1
48219 _ACEOF
48220
48221 USES_CONTROLS=1
48222 fi
48223
48224 if test "$wxUSE_SPINCTRL" = "yes"; then
48225 cat >>confdefs.h <<\_ACEOF
48226 #define wxUSE_SPINCTRL 1
48227 _ACEOF
48228
48229 USES_CONTROLS=1
48230 fi
48231
48232 if test "$wxUSE_SPLITTER" = "yes"; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_SPLITTER 1
48235 _ACEOF
48236
48237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48238 fi
48239
48240 if test "$wxUSE_STATBMP" = "yes"; then
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_STATBMP 1
48243 _ACEOF
48244
48245 USES_CONTROLS=1
48246 fi
48247
48248 if test "$wxUSE_STATBOX" = "yes"; then
48249 cat >>confdefs.h <<\_ACEOF
48250 #define wxUSE_STATBOX 1
48251 _ACEOF
48252
48253 USES_CONTROLS=1
48254 fi
48255
48256 if test "$wxUSE_STATTEXT" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_STATTEXT 1
48259 _ACEOF
48260
48261 USES_CONTROLS=1
48262 fi
48263
48264 if test "$wxUSE_STATLINE" = "yes"; then
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_STATLINE 1
48267 _ACEOF
48268
48269 USES_CONTROLS=1
48270 fi
48271
48272 if test "$wxUSE_STATUSBAR" = "yes"; then
48273 cat >>confdefs.h <<\_ACEOF
48274 #define wxUSE_NATIVE_STATUSBAR 1
48275 _ACEOF
48276
48277 cat >>confdefs.h <<\_ACEOF
48278 #define wxUSE_STATUSBAR 1
48279 _ACEOF
48280
48281 USES_CONTROLS=1
48282
48283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48284 fi
48285
48286 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48287 cat >>confdefs.h <<\_ACEOF
48288 #define wxUSE_TAB_DIALOG 1
48289 _ACEOF
48290
48291 fi
48292
48293 if test "$wxUSE_TEXTCTRL" = "yes"; then
48294 cat >>confdefs.h <<\_ACEOF
48295 #define wxUSE_TEXTCTRL 1
48296 _ACEOF
48297
48298 USES_CONTROLS=1
48299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48300 fi
48301
48302 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48303 if test "$wxUSE_COCOA" = 1 ; then
48304 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48305 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48306 wxUSE_TOGGLEBTN=no
48307 fi
48308
48309 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48310 cat >>confdefs.h <<\_ACEOF
48311 #define wxUSE_TOGGLEBTN 1
48312 _ACEOF
48313
48314 USES_CONTROLS=1
48315 fi
48316 fi
48317
48318 if test "$wxUSE_TOOLBAR" = "yes"; then
48319 cat >>confdefs.h <<\_ACEOF
48320 #define wxUSE_TOOLBAR 1
48321 _ACEOF
48322
48323 USES_CONTROLS=1
48324
48325 if test "$wxUSE_UNIVERSAL" = "yes"; then
48326 wxUSE_TOOLBAR_NATIVE="no"
48327 else
48328 wxUSE_TOOLBAR_NATIVE="yes"
48329 cat >>confdefs.h <<\_ACEOF
48330 #define wxUSE_TOOLBAR_NATIVE 1
48331 _ACEOF
48332
48333 fi
48334
48335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48336 fi
48337
48338 if test "$wxUSE_TOOLTIPS" = "yes"; then
48339 if test "$wxUSE_MOTIF" = 1; then
48340 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48341 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48342 else
48343 if test "$wxUSE_UNIVERSAL" = "yes"; then
48344 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48345 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48346 else
48347 cat >>confdefs.h <<\_ACEOF
48348 #define wxUSE_TOOLTIPS 1
48349 _ACEOF
48350
48351 fi
48352 fi
48353 fi
48354
48355 if test "$wxUSE_TREEBOOK" = "yes"; then
48356 cat >>confdefs.h <<\_ACEOF
48357 #define wxUSE_TREEBOOK 1
48358 _ACEOF
48359
48360 USES_CONTROLS=1
48361 fi
48362
48363 if test "$wxUSE_TOOLBOOK" = "yes"; then
48364 cat >>confdefs.h <<\_ACEOF
48365 #define wxUSE_TOOLBOOK 1
48366 _ACEOF
48367
48368 USES_CONTROLS=1
48369 fi
48370
48371 if test "$wxUSE_TREECTRL" = "yes"; then
48372 if test "$wxUSE_IMAGLIST" = "yes"; then
48373 cat >>confdefs.h <<\_ACEOF
48374 #define wxUSE_TREECTRL 1
48375 _ACEOF
48376
48377 USES_CONTROLS=1
48378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48379 else
48380 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48381 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48382 fi
48383 fi
48384
48385 if test "$wxUSE_POPUPWIN" = "yes"; then
48386 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48387 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48388 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48389 else
48390 if test "$wxUSE_PM" = 1; then
48391 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48392 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48393 else
48394 cat >>confdefs.h <<\_ACEOF
48395 #define wxUSE_POPUPWIN 1
48396 _ACEOF
48397
48398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48399
48400 USES_CONTROLS=1
48401 fi
48402 fi
48403 fi
48404
48405 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48406 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48407 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48408 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48409 else
48410 cat >>confdefs.h <<\_ACEOF
48411 #define wxUSE_DIALUP_MANAGER 1
48412 _ACEOF
48413
48414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48415 fi
48416 fi
48417
48418 if test "$wxUSE_TIPWINDOW" = "yes"; then
48419 if test "$wxUSE_PM" = 1; then
48420 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48421 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48422 else
48423 cat >>confdefs.h <<\_ACEOF
48424 #define wxUSE_TIPWINDOW 1
48425 _ACEOF
48426
48427 fi
48428 fi
48429
48430 if test "$USES_CONTROLS" = 1; then
48431 cat >>confdefs.h <<\_ACEOF
48432 #define wxUSE_CONTROLS 1
48433 _ACEOF
48434
48435 fi
48436
48437
48438 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48439 cat >>confdefs.h <<\_ACEOF
48440 #define wxUSE_ACCESSIBILITY 1
48441 _ACEOF
48442
48443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48444 fi
48445
48446 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48447 cat >>confdefs.h <<\_ACEOF
48448 #define wxUSE_DRAGIMAGE 1
48449 _ACEOF
48450
48451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48452 fi
48453
48454 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48455 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48456 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48457 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48458 else
48459 cat >>confdefs.h <<\_ACEOF
48460 #define wxUSE_EXCEPTIONS 1
48461 _ACEOF
48462
48463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48464 fi
48465 fi
48466
48467 USE_HTML=0
48468 if test "$wxUSE_HTML" = "yes"; then
48469 cat >>confdefs.h <<\_ACEOF
48470 #define wxUSE_HTML 1
48471 _ACEOF
48472
48473 USE_HTML=1
48474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48475 if test "$wxUSE_MAC" = 1; then
48476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48477 fi
48478 fi
48479 if test "$wxUSE_WEBKIT" = "yes"; then
48480 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48481 old_CPPFLAGS="$CPPFLAGS"
48482 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48483 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48484 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48485 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48486 echo $ECHO_N "(cached) $ECHO_C" >&6
48487 else
48488 cat >conftest.$ac_ext <<_ACEOF
48489 /* confdefs.h. */
48490 _ACEOF
48491 cat confdefs.h >>conftest.$ac_ext
48492 cat >>conftest.$ac_ext <<_ACEOF
48493 /* end confdefs.h. */
48494
48495 #include <Carbon/Carbon.h>
48496 #include <WebKit/WebKit.h>
48497
48498
48499 #include <WebKit/HIWebView.h>
48500 _ACEOF
48501 rm -f conftest.$ac_objext
48502 if { (ac_try="$ac_compile"
48503 case "(($ac_try" in
48504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48505 *) ac_try_echo=$ac_try;;
48506 esac
48507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48508 (eval "$ac_compile") 2>conftest.er1
48509 ac_status=$?
48510 grep -v '^ *+' conftest.er1 >conftest.err
48511 rm -f conftest.er1
48512 cat conftest.err >&5
48513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48514 (exit $ac_status); } && {
48515 test -z "$ac_c_werror_flag" ||
48516 test ! -s conftest.err
48517 } && test -s conftest.$ac_objext; then
48518 ac_cv_header_WebKit_HIWebView_h=yes
48519 else
48520 echo "$as_me: failed program was:" >&5
48521 sed 's/^/| /' conftest.$ac_ext >&5
48522
48523 ac_cv_header_WebKit_HIWebView_h=no
48524 fi
48525
48526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48527 fi
48528 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48529 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48530 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48531
48532 cat >>confdefs.h <<\_ACEOF
48533 #define wxUSE_WEBKIT 1
48534 _ACEOF
48535
48536 WEBKIT_LINK="-framework WebKit"
48537
48538 else
48539
48540 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48541 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48542 wxUSE_WEBKIT=no
48543
48544 fi
48545
48546
48547 CPPFLAGS="$old_CPPFLAGS"
48548 elif test "$wxUSE_COCOA" = 1; then
48549 cat >>confdefs.h <<\_ACEOF
48550 #define wxUSE_WEBKIT 1
48551 _ACEOF
48552
48553 else
48554 wxUSE_WEBKIT=no
48555 fi
48556 fi
48557
48558 USE_XRC=0
48559 if test "$wxUSE_XRC" = "yes"; then
48560 if test "$wxUSE_XML" != "yes"; then
48561 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48562 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48563 wxUSE_XRC=no
48564 else
48565 cat >>confdefs.h <<\_ACEOF
48566 #define wxUSE_XRC 1
48567 _ACEOF
48568
48569 USE_XRC=1
48570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48571 fi
48572 fi
48573
48574 USE_AUI=0
48575 if test "$wxUSE_AUI" = "yes"; then
48576 cat >>confdefs.h <<\_ACEOF
48577 #define wxUSE_AUI 1
48578 _ACEOF
48579
48580 USE_AUI=1
48581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48582 fi
48583
48584 USE_STC=0
48585 if test "$wxUSE_STC" = "yes"; then
48586 cat >>confdefs.h <<\_ACEOF
48587 #define wxUSE_STC 1
48588 _ACEOF
48589
48590 USE_STC=1
48591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48592 fi
48593
48594 if test "$wxUSE_MENUS" = "yes"; then
48595 cat >>confdefs.h <<\_ACEOF
48596 #define wxUSE_MENUS 1
48597 _ACEOF
48598
48599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48600 fi
48601
48602 if test "$wxUSE_METAFILE" = "yes"; then
48603 cat >>confdefs.h <<\_ACEOF
48604 #define wxUSE_METAFILE 1
48605 _ACEOF
48606
48607 fi
48608
48609 if test "$wxUSE_MIMETYPE" = "yes"; then
48610 cat >>confdefs.h <<\_ACEOF
48611 #define wxUSE_MIMETYPE 1
48612 _ACEOF
48613
48614 fi
48615
48616 if test "$wxUSE_MINIFRAME" = "yes"; then
48617 cat >>confdefs.h <<\_ACEOF
48618 #define wxUSE_MINIFRAME 1
48619 _ACEOF
48620
48621 fi
48622
48623 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48624 cat >>confdefs.h <<\_ACEOF
48625 #define wxUSE_SYSTEM_OPTIONS 1
48626 _ACEOF
48627
48628 fi
48629
48630 if test "$wxUSE_TASKBARICON" = "yes"; then
48631 cat >>confdefs.h <<\_ACEOF
48632 #define wxUSE_TASKBARICON 1
48633 _ACEOF
48634
48635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48636 fi
48637
48638
48639 if test "$wxUSE_VALIDATORS" = "yes"; then
48640 cat >>confdefs.h <<\_ACEOF
48641 #define wxUSE_VALIDATORS 1
48642 _ACEOF
48643
48644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48645 fi
48646
48647 if test "$wxUSE_PALETTE" = "yes" ; then
48648 if test "$wxUSE_DFB" = 1; then
48649 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48650 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48651 wxUSE_PALETTE=no
48652 else
48653 cat >>confdefs.h <<\_ACEOF
48654 #define wxUSE_PALETTE 1
48655 _ACEOF
48656
48657 fi
48658 fi
48659
48660 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48661 LIBS=" -lunicows $LIBS"
48662 fi
48663
48664 USE_RICHTEXT=0
48665 if test "$wxUSE_RICHTEXT" = "yes"; then
48666 cat >>confdefs.h <<\_ACEOF
48667 #define wxUSE_RICHTEXT 1
48668 _ACEOF
48669
48670 USE_RICHTEXT=1
48671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48672 fi
48673
48674
48675 if test "$wxUSE_IMAGE" = "yes" ; then
48676 cat >>confdefs.h <<\_ACEOF
48677 #define wxUSE_IMAGE 1
48678 _ACEOF
48679
48680
48681 if test "$wxUSE_GIF" = "yes" ; then
48682 cat >>confdefs.h <<\_ACEOF
48683 #define wxUSE_GIF 1
48684 _ACEOF
48685
48686 fi
48687
48688 if test "$wxUSE_PCX" = "yes" ; then
48689 cat >>confdefs.h <<\_ACEOF
48690 #define wxUSE_PCX 1
48691 _ACEOF
48692
48693 fi
48694
48695 if test "$wxUSE_TGA" = "yes" ; then
48696 cat >>confdefs.h <<\_ACEOF
48697 #define wxUSE_TGA 1
48698 _ACEOF
48699
48700 fi
48701
48702 if test "$wxUSE_IFF" = "yes" ; then
48703 cat >>confdefs.h <<\_ACEOF
48704 #define wxUSE_IFF 1
48705 _ACEOF
48706
48707 fi
48708
48709 if test "$wxUSE_PNM" = "yes" ; then
48710 cat >>confdefs.h <<\_ACEOF
48711 #define wxUSE_PNM 1
48712 _ACEOF
48713
48714 fi
48715
48716 if test "$wxUSE_XPM" = "yes" ; then
48717 cat >>confdefs.h <<\_ACEOF
48718 #define wxUSE_XPM 1
48719 _ACEOF
48720
48721 fi
48722
48723 if test "$wxUSE_ICO_CUR" = "yes" ; then
48724 cat >>confdefs.h <<\_ACEOF
48725 #define wxUSE_ICO_CUR 1
48726 _ACEOF
48727
48728 fi
48729 fi
48730
48731
48732 if test "$wxUSE_ABOUTDLG" = "yes"; then
48733 cat >>confdefs.h <<\_ACEOF
48734 #define wxUSE_ABOUTDLG 1
48735 _ACEOF
48736
48737 fi
48738
48739 if test "$wxUSE_CHOICEDLG" = "yes"; then
48740 cat >>confdefs.h <<\_ACEOF
48741 #define wxUSE_CHOICEDLG 1
48742 _ACEOF
48743
48744 fi
48745
48746 if test "$wxUSE_COLOURDLG" = "yes"; then
48747 cat >>confdefs.h <<\_ACEOF
48748 #define wxUSE_COLOURDLG 1
48749 _ACEOF
48750
48751 fi
48752
48753 if test "$wxUSE_FILEDLG" = "yes"; then
48754 cat >>confdefs.h <<\_ACEOF
48755 #define wxUSE_FILEDLG 1
48756 _ACEOF
48757
48758 fi
48759
48760 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48761 cat >>confdefs.h <<\_ACEOF
48762 #define wxUSE_FINDREPLDLG 1
48763 _ACEOF
48764
48765 fi
48766
48767 if test "$wxUSE_FONTDLG" = "yes"; then
48768 cat >>confdefs.h <<\_ACEOF
48769 #define wxUSE_FONTDLG 1
48770 _ACEOF
48771
48772 fi
48773
48774 if test "$wxUSE_DIRDLG" = "yes"; then
48775 if test "$wxUSE_TREECTRL" != "yes"; then
48776 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48777 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48778 else
48779 cat >>confdefs.h <<\_ACEOF
48780 #define wxUSE_DIRDLG 1
48781 _ACEOF
48782
48783 fi
48784 fi
48785
48786 if test "$wxUSE_MSGDLG" = "yes"; then
48787 cat >>confdefs.h <<\_ACEOF
48788 #define wxUSE_MSGDLG 1
48789 _ACEOF
48790
48791 fi
48792
48793 if test "$wxUSE_NUMBERDLG" = "yes"; then
48794 cat >>confdefs.h <<\_ACEOF
48795 #define wxUSE_NUMBERDLG 1
48796 _ACEOF
48797
48798 fi
48799
48800 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48801 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48802 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48803 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48804 else
48805 cat >>confdefs.h <<\_ACEOF
48806 #define wxUSE_PROGRESSDLG 1
48807 _ACEOF
48808
48809 fi
48810 fi
48811
48812 if test "$wxUSE_SPLASH" = "yes"; then
48813 cat >>confdefs.h <<\_ACEOF
48814 #define wxUSE_SPLASH 1
48815 _ACEOF
48816
48817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48818 fi
48819
48820 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48821 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48822 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48823 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48824 else
48825 cat >>confdefs.h <<\_ACEOF
48826 #define wxUSE_STARTUP_TIPS 1
48827 _ACEOF
48828
48829 fi
48830 fi
48831
48832 if test "$wxUSE_TEXTDLG" = "yes"; then
48833 cat >>confdefs.h <<\_ACEOF
48834 #define wxUSE_TEXTDLG 1
48835 _ACEOF
48836
48837 fi
48838
48839 if test "$wxUSE_WIZARDDLG" = "yes"; then
48840 cat >>confdefs.h <<\_ACEOF
48841 #define wxUSE_WIZARDDLG 1
48842 _ACEOF
48843
48844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48845 fi
48846
48847
48848 if test "$wxUSE_MSW" = 1 ; then
48849
48850 if test "$wxUSE_DC_CACHEING" = "yes"; then
48851 cat >>confdefs.h <<\_ACEOF
48852 #define wxUSE_DC_CACHEING 1
48853 _ACEOF
48854
48855 fi
48856
48857 if test "$wxUSE_INICONF" = "yes"; then
48858 cat >>confdefs.h <<\_ACEOF
48859 #define wxUSE_INICONF 1
48860 _ACEOF
48861
48862 fi
48863
48864 if test "$wxUSE_DIB" = "yes"; then
48865 cat >>confdefs.h <<\_ACEOF
48866 #define wxUSE_WXDIB 1
48867 _ACEOF
48868
48869 fi
48870
48871 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48872 cat >>confdefs.h <<\_ACEOF
48873 #define wxUSE_OWNER_DRAWN 1
48874 _ACEOF
48875
48876 fi
48877
48878 if test "$wxUSE_REGKEY" = "yes"; then
48879 cat >>confdefs.h <<\_ACEOF
48880 #define wxUSE_REGKEY 1
48881 _ACEOF
48882
48883 fi
48884
48885 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48886 cat >>confdefs.h <<\_ACEOF
48887 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48888 _ACEOF
48889
48890 fi
48891
48892 if test "$wxUSE_UXTHEME" = "yes"; then
48893 cat >>confdefs.h <<\_ACEOF
48894 #define wxUSE_UXTHEME 1
48895 _ACEOF
48896
48897 fi
48898
48899 fi
48900
48901
48902 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48903 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48904 cat >>confdefs.h <<\_ACEOF
48905 #define wxUSE_GRAPHICS_CONTEXT 1
48906 _ACEOF
48907
48908 elif test "$wxUSE_GTK" != 1; then
48909 cat >>confdefs.h <<\_ACEOF
48910 #define wxUSE_GRAPHICS_CONTEXT 1
48911 _ACEOF
48912
48913 else
48914
48915 pkg_failed=no
48916 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48917 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48918
48919 if test -n "$PKG_CONFIG"; then
48920 if test -n "$CAIRO_CFLAGS"; then
48921 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48922 else
48923 if test -n "$PKG_CONFIG" && \
48924 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48925 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48926 ac_status=$?
48927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48928 (exit $ac_status); }; then
48929 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48930 else
48931 pkg_failed=yes
48932 fi
48933 fi
48934 else
48935 pkg_failed=untried
48936 fi
48937 if test -n "$PKG_CONFIG"; then
48938 if test -n "$CAIRO_LIBS"; then
48939 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48940 else
48941 if test -n "$PKG_CONFIG" && \
48942 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48943 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48944 ac_status=$?
48945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48946 (exit $ac_status); }; then
48947 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48948 else
48949 pkg_failed=yes
48950 fi
48951 fi
48952 else
48953 pkg_failed=untried
48954 fi
48955
48956
48957
48958 if test $pkg_failed = yes; then
48959
48960 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48961 _pkg_short_errors_supported=yes
48962 else
48963 _pkg_short_errors_supported=no
48964 fi
48965 if test $_pkg_short_errors_supported = yes; then
48966 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48967 else
48968 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48969 fi
48970 # Put the nasty error message in config.log where it belongs
48971 echo "$CAIRO_PKG_ERRORS" >&5
48972
48973 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48974 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48975
48976 elif test $pkg_failed = untried; then
48977 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48978 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48979
48980 else
48981 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48982 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48983 { echo "$as_me:$LINENO: result: yes" >&5
48984 echo "${ECHO_T}yes" >&6; }
48985 cat >>confdefs.h <<\_ACEOF
48986 #define wxUSE_GRAPHICS_CONTEXT 1
48987 _ACEOF
48988
48989 fi
48990 fi
48991 fi
48992
48993
48994 USE_MEDIA=0
48995
48996 if test "$wxUSE_MEDIACTRL" = "yes"; then
48997 USE_MEDIA=1
48998
48999 if test "$wxUSE_GTK" = 1; then
49000 wxUSE_GSTREAMER="no"
49001
49002 GST_VERSION_MAJOR=0
49003 GST_VERSION_MINOR=10
49004 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49005
49006 if test "$wxUSE_GSTREAMER8" = "no"; then
49007
49008 pkg_failed=no
49009 { echo "$as_me:$LINENO: checking for GST" >&5
49010 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49011
49012 if test -n "$PKG_CONFIG"; then
49013 if test -n "$GST_CFLAGS"; then
49014 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49015 else
49016 if test -n "$PKG_CONFIG" && \
49017 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49018 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49019 ac_status=$?
49020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49021 (exit $ac_status); }; then
49022 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49023 else
49024 pkg_failed=yes
49025 fi
49026 fi
49027 else
49028 pkg_failed=untried
49029 fi
49030 if test -n "$PKG_CONFIG"; then
49031 if test -n "$GST_LIBS"; then
49032 pkg_cv_GST_LIBS="$GST_LIBS"
49033 else
49034 if test -n "$PKG_CONFIG" && \
49035 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49036 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49037 ac_status=$?
49038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49039 (exit $ac_status); }; then
49040 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49041 else
49042 pkg_failed=yes
49043 fi
49044 fi
49045 else
49046 pkg_failed=untried
49047 fi
49048
49049
49050
49051 if test $pkg_failed = yes; then
49052
49053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49054 _pkg_short_errors_supported=yes
49055 else
49056 _pkg_short_errors_supported=no
49057 fi
49058 if test $_pkg_short_errors_supported = yes; then
49059 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49060 else
49061 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49062 fi
49063 # Put the nasty error message in config.log where it belongs
49064 echo "$GST_PKG_ERRORS" >&5
49065
49066
49067 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49068 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49069 GST_VERSION_MINOR=8
49070
49071
49072 elif test $pkg_failed = untried; then
49073
49074 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49075 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49076 GST_VERSION_MINOR=8
49077
49078
49079 else
49080 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49081 GST_LIBS=$pkg_cv_GST_LIBS
49082 { echo "$as_me:$LINENO: result: yes" >&5
49083 echo "${ECHO_T}yes" >&6; }
49084
49085 wxUSE_GSTREAMER="yes"
49086 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49087
49088 fi
49089 else
49090 GST_VERSION_MINOR=8
49091 fi
49092
49093 if test $GST_VERSION_MINOR = "8"; then
49094 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49095
49096 pkg_failed=no
49097 { echo "$as_me:$LINENO: checking for GST" >&5
49098 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49099
49100 if test -n "$PKG_CONFIG"; then
49101 if test -n "$GST_CFLAGS"; then
49102 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49103 else
49104 if test -n "$PKG_CONFIG" && \
49105 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49106 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49107 ac_status=$?
49108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49109 (exit $ac_status); }; then
49110 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49111 else
49112 pkg_failed=yes
49113 fi
49114 fi
49115 else
49116 pkg_failed=untried
49117 fi
49118 if test -n "$PKG_CONFIG"; then
49119 if test -n "$GST_LIBS"; then
49120 pkg_cv_GST_LIBS="$GST_LIBS"
49121 else
49122 if test -n "$PKG_CONFIG" && \
49123 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49124 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49125 ac_status=$?
49126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49127 (exit $ac_status); }; then
49128 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49129 else
49130 pkg_failed=yes
49131 fi
49132 fi
49133 else
49134 pkg_failed=untried
49135 fi
49136
49137
49138
49139 if test $pkg_failed = yes; then
49140
49141 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49142 _pkg_short_errors_supported=yes
49143 else
49144 _pkg_short_errors_supported=no
49145 fi
49146 if test $_pkg_short_errors_supported = yes; then
49147 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49148 else
49149 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49150 fi
49151 # Put the nasty error message in config.log where it belongs
49152 echo "$GST_PKG_ERRORS" >&5
49153
49154
49155 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49156 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49157
49158 elif test $pkg_failed = untried; then
49159
49160 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49161 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49162
49163 else
49164 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49165 GST_LIBS=$pkg_cv_GST_LIBS
49166 { echo "$as_me:$LINENO: result: yes" >&5
49167 echo "${ECHO_T}yes" >&6; }
49168 wxUSE_GSTREAMER="yes"
49169 fi
49170 fi
49171
49172
49173 if test "$wxUSE_GSTREAMER" = "yes"; then
49174 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49175 LIBS="$GST_LIBS $LIBS"
49176
49177 cat >>confdefs.h <<\_ACEOF
49178 #define wxUSE_GSTREAMER 1
49179 _ACEOF
49180
49181 else
49182 USE_MEDIA=0
49183 fi
49184 fi
49185
49186 if test $USE_MEDIA = 1; then
49187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49188 cat >>confdefs.h <<\_ACEOF
49189 #define wxUSE_MEDIACTRL 1
49190 _ACEOF
49191
49192 fi
49193 fi
49194
49195
49196 if test "$cross_compiling" = "yes"; then
49197 OSINFO="\"$host\""
49198 else
49199 OSINFO=`uname -s -r -m`
49200 OSINFO="\"$OSINFO\""
49201 fi
49202
49203 cat >>confdefs.h <<_ACEOF
49204 #define WXWIN_OS_DESCRIPTION $OSINFO
49205 _ACEOF
49206
49207
49208
49209 if test "x$prefix" != "xNONE"; then
49210 wxPREFIX=$prefix
49211 else
49212 wxPREFIX=$ac_default_prefix
49213 fi
49214
49215 cat >>confdefs.h <<_ACEOF
49216 #define wxINSTALL_PREFIX "$wxPREFIX"
49217 _ACEOF
49218
49219
49220
49221
49222 STD_BASE_LIBS="base"
49223 STD_GUI_LIBS=""
49224 BUILT_WX_LIBS="base"
49225 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49226
49227 if test "$wxUSE_SOCKETS" = "yes" ; then
49228 STD_BASE_LIBS="net $STD_BASE_LIBS"
49229 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49230 fi
49231 if test "$wxUSE_ODBC" != "no" ; then
49232 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49233 fi
49234 if test "$wxUSE_XML" = "yes" ; then
49235 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49236 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49237 fi
49238
49239 if test "$wxUSE_GUI" = "yes"; then
49240 STD_GUI_LIBS="adv core"
49241 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49242
49243 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49244 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49245 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49246 fi
49247 if test "$wxUSE_ODBC" != "no" ; then
49248 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49249 fi
49250 if test "$wxUSE_HTML" = "yes" ; then
49251 STD_GUI_LIBS="html $STD_GUI_LIBS"
49252 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49253 fi
49254 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49255 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49256 fi
49257 if test "$wxUSE_OPENGL" = "yes" ; then
49258 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49259 fi
49260 if test "$wxUSE_AUI" = "yes" ; then
49261 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49262 fi
49263 if test "$wxUSE_STC" = "yes" ; then
49264 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49265 fi
49266 if test "$wxUSE_XRC" = "yes" ; then
49267 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49268 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49269 fi
49270 fi
49271
49272
49273
49274
49275
49276
49277
49278
49279 if test "$wxUSE_MAC" = 1 ; then
49280 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49281 if test "$USE_DARWIN" = 1; then
49282 LDFLAGS="$LDFLAGS -framework QuickTime"
49283 else
49284 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49285 fi
49286 fi
49287 if test "$USE_DARWIN" = 1; then
49288 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49289 else
49290 LDFLAGS="$LDFLAGS -lCarbonLib"
49291 fi
49292 fi
49293 if test "$wxUSE_COCOA" = 1 ; then
49294 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49295 if test "$wxUSE_MEDIACTRL" = "yes"; then
49296 LDFLAGS="$LDFLAGS -framework QuickTime"
49297 fi
49298 fi
49299 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49300 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49301 fi
49302
49303 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49304
49305 if test "$wxUSE_GUI" = "yes"; then
49306
49307
49308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49309 erase event exec font image minimal mobile \
49310 mobile/wxedit mobile/styles render \
49311 shaped svg taborder vscroll widgets"
49312
49313 if test "$wxUSE_MONOLITHIC" != "yes"; then
49314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49315 fi
49316 if test "$TOOLKIT" = "MSW"; then
49317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49318 if test "$wxUSE_UNIVERSAL" != "yes"; then
49319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49320 fi
49321 fi
49322 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49324 fi
49325 else
49326 SAMPLES_SUBDIRS="console"
49327 fi
49328
49329
49330 if test "x$INTELCC" = "xyes" ; then
49331 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49332 elif test "$GCC" = yes ; then
49333 CWARNINGS="-Wall -Wundef"
49334 fi
49335
49336 if test "x$INTELCXX" = "xyes" ; then
49337 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49338 elif test "$GXX" = yes ; then
49339 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49340 fi
49341
49342
49343 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49344 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49345
49346
49347 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49348 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49349 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49350 $CPPFLAGS `
49351
49352 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49353 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49354 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49355
49356 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49357
49358
49359 if test "x$MWCC" = "xyes"; then
49360
49361 CC="$CC -cwd source -I-"
49362 CXX="$CXX -cwd source -I-"
49363 fi
49364
49365
49366 LIBS=`echo $LIBS`
49367 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49368 EXTRALIBS_XML="$EXPAT_LINK"
49369 EXTRALIBS_HTML="$MSPACK_LINK"
49370 EXTRALIBS_ODBC="$ODBC_LINK"
49371 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49372 if test "$wxUSE_GUI" = "yes"; then
49373 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49374 fi
49375 if test "$wxUSE_OPENGL" = "yes"; then
49376 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49377 fi
49378
49379 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49380
49381 WXCONFIG_LIBS="$LIBS"
49382
49383 if test "$wxUSE_REGEX" = "builtin" ; then
49384 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49385 fi
49386 if test "$wxUSE_EXPAT" = "builtin" ; then
49387 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49388 fi
49389 if test "$wxUSE_ODBC" = "builtin" ; then
49390 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49391 fi
49392 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49393 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49394 fi
49395 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49396 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49397 fi
49398 if test "$wxUSE_LIBPNG" = "builtin" ; then
49399 wxconfig_3rdparty="png $wxconfig_3rdparty"
49400 fi
49401 if test "$wxUSE_ZLIB" = "builtin" ; then
49402 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49403 fi
49404
49405 for i in $wxconfig_3rdparty ; do
49406 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49407 done
49408
49409
49410 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49411 WXUNIV=1
49412
49413 case "$wxUNIV_THEMES" in
49414 ''|all)
49415 cat >>confdefs.h <<\_ACEOF
49416 #define wxUSE_ALL_THEMES 1
49417 _ACEOF
49418
49419 ;;
49420
49421 *)
49422 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49423 cat >>confdefs.h <<_ACEOF
49424 #define wxUSE_THEME_$t 1
49425 _ACEOF
49426
49427 done
49428 esac
49429 else
49430 WXUNIV=0
49431 fi
49432
49433
49434
49435
49436
49437
49438
49439
49440
49441 if test $wxUSE_MONOLITHIC = "yes" ; then
49442 MONOLITHIC=1
49443 else
49444 MONOLITHIC=0
49445 fi
49446
49447 if test $wxUSE_PLUGINS = "yes" ; then
49448 USE_PLUGINS=1
49449 else
49450 USE_PLUGINS=0
49451 fi
49452
49453 if test $wxUSE_ODBC != "no" ; then
49454 USE_ODBC=1
49455 else
49456 USE_ODBC=0
49457 fi
49458
49459 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49460 USE_QA=1
49461 else
49462 USE_QA=0
49463 fi
49464
49465 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49466 OFFICIAL_BUILD=1
49467 else
49468 OFFICIAL_BUILD=0
49469 fi
49470
49471
49472
49473
49474
49475
49476
49477
49478
49479
49480
49481
49482
49483
49484
49485
49486
49487
49488
49489
49490
49491
49492
49493
49494
49495
49496 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49497
49498
49499
49500
49501
49502
49503
49504
49505 case "$TOOLKIT" in
49506 GTK)
49507 TOOLKIT_DESC="GTK+"
49508 if test "$WXGTK20" = 1; then
49509 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49510 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49511 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49512 fi
49513 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49514 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49515 fi
49516 if test "$wxUSE_LIBHILDON" = "yes"; then
49517 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49518 fi
49519
49520 if test "$TOOLKIT_EXTRA" != ""; then
49521 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49522 fi
49523 fi
49524 ;;
49525
49526 ?*)
49527 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49528 ;;
49529
49530 *)
49531 TOOLKIT_DESC="base only"
49532 ;;
49533 esac
49534
49535 if test "$wxUSE_WINE" = "yes"; then
49536 BAKEFILE_FORCE_PLATFORM=win32
49537 fi
49538
49539 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49540 then
49541 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49542 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49543 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49544 echo $ECHO_N "(cached) $ECHO_C" >&6
49545 else
49546
49547 echo '#include <stdio.h>
49548 const wchar_t test_var[] = L"awidetest";' > conftest.h
49549
49550 echo '#include "conftest.h"
49551 int main()
49552 {
49553 printf("%ls", test_var);
49554 return 0;
49555 }' > conftest.cpp
49556
49557 wx_cv_gcc_pch_bug="pch not supported"
49558
49559 if $CXX conftest.h >/dev/null 2>&1
49560 then
49561 wx_cv_gcc_pch_bug=
49562
49563 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49564 then
49565 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49566 grep awidetest >/dev/null
49567 then
49568 wx_cv_gcc_pch_bug=no
49569 else
49570 wx_cv_gcc_pch_bug=yes
49571 fi
49572 fi
49573 fi
49574
49575 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49576
49577 fi
49578 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49579 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49580
49581 if test "$wx_cv_gcc_pch_bug" = yes; then
49582 bk_use_pch=no
49583 fi
49584 fi
49585
49586
49587
49588
49589 if test "x$BAKEFILE_HOST" = "x"; then
49590 if test "x${host}" = "x" ; then
49591 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49592 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49593 { (exit 1); exit 1; }; }
49594 fi
49595
49596 BAKEFILE_HOST="${host}"
49597 fi
49598
49599 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49600
49601 if test -n "$ac_tool_prefix"; then
49602 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49603 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49606 if test "${ac_cv_prog_RANLIB+set}" = set; then
49607 echo $ECHO_N "(cached) $ECHO_C" >&6
49608 else
49609 if test -n "$RANLIB"; then
49610 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49611 else
49612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49613 for as_dir in $PATH
49614 do
49615 IFS=$as_save_IFS
49616 test -z "$as_dir" && as_dir=.
49617 for ac_exec_ext in '' $ac_executable_extensions; do
49618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49619 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49621 break 2
49622 fi
49623 done
49624 done
49625 IFS=$as_save_IFS
49626
49627 fi
49628 fi
49629 RANLIB=$ac_cv_prog_RANLIB
49630 if test -n "$RANLIB"; then
49631 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49632 echo "${ECHO_T}$RANLIB" >&6; }
49633 else
49634 { echo "$as_me:$LINENO: result: no" >&5
49635 echo "${ECHO_T}no" >&6; }
49636 fi
49637
49638
49639 fi
49640 if test -z "$ac_cv_prog_RANLIB"; then
49641 ac_ct_RANLIB=$RANLIB
49642 # Extract the first word of "ranlib", so it can be a program name with args.
49643 set dummy ranlib; ac_word=$2
49644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49646 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49647 echo $ECHO_N "(cached) $ECHO_C" >&6
49648 else
49649 if test -n "$ac_ct_RANLIB"; then
49650 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49651 else
49652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49653 for as_dir in $PATH
49654 do
49655 IFS=$as_save_IFS
49656 test -z "$as_dir" && as_dir=.
49657 for ac_exec_ext in '' $ac_executable_extensions; do
49658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49659 ac_cv_prog_ac_ct_RANLIB="ranlib"
49660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49661 break 2
49662 fi
49663 done
49664 done
49665 IFS=$as_save_IFS
49666
49667 fi
49668 fi
49669 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49670 if test -n "$ac_ct_RANLIB"; then
49671 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49672 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49673 else
49674 { echo "$as_me:$LINENO: result: no" >&5
49675 echo "${ECHO_T}no" >&6; }
49676 fi
49677
49678 if test "x$ac_ct_RANLIB" = x; then
49679 RANLIB=":"
49680 else
49681 case $cross_compiling:$ac_tool_warned in
49682 yes:)
49683 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49684 whose name does not start with the host triplet. If you think this
49685 configuration is useful to you, please write to autoconf@gnu.org." >&5
49686 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49687 whose name does not start with the host triplet. If you think this
49688 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49689 ac_tool_warned=yes ;;
49690 esac
49691 RANLIB=$ac_ct_RANLIB
49692 fi
49693 else
49694 RANLIB="$ac_cv_prog_RANLIB"
49695 fi
49696
49697 # Find a good install program. We prefer a C program (faster),
49698 # so one script is as good as another. But avoid the broken or
49699 # incompatible versions:
49700 # SysV /etc/install, /usr/sbin/install
49701 # SunOS /usr/etc/install
49702 # IRIX /sbin/install
49703 # AIX /bin/install
49704 # AmigaOS /C/install, which installs bootblocks on floppy discs
49705 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49706 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49707 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49708 # OS/2's system install, which has a completely different semantic
49709 # ./install, which can be erroneously created by make from ./install.sh.
49710 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49711 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49712 if test -z "$INSTALL"; then
49713 if test "${ac_cv_path_install+set}" = set; then
49714 echo $ECHO_N "(cached) $ECHO_C" >&6
49715 else
49716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49717 for as_dir in $PATH
49718 do
49719 IFS=$as_save_IFS
49720 test -z "$as_dir" && as_dir=.
49721 # Account for people who put trailing slashes in PATH elements.
49722 case $as_dir/ in
49723 ./ | .// | /cC/* | \
49724 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49725 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49726 /usr/ucb/* ) ;;
49727 *)
49728 # OSF1 and SCO ODT 3.0 have their own names for install.
49729 # Don't use installbsd from OSF since it installs stuff as root
49730 # by default.
49731 for ac_prog in ginstall scoinst install; do
49732 for ac_exec_ext in '' $ac_executable_extensions; do
49733 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49734 if test $ac_prog = install &&
49735 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49736 # AIX install. It has an incompatible calling convention.
49737 :
49738 elif test $ac_prog = install &&
49739 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49740 # program-specific install script used by HP pwplus--don't use.
49741 :
49742 else
49743 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49744 break 3
49745 fi
49746 fi
49747 done
49748 done
49749 ;;
49750 esac
49751 done
49752 IFS=$as_save_IFS
49753
49754
49755 fi
49756 if test "${ac_cv_path_install+set}" = set; then
49757 INSTALL=$ac_cv_path_install
49758 else
49759 # As a last resort, use the slow shell script. Don't cache a
49760 # value for INSTALL within a source directory, because that will
49761 # break other packages using the cache if that directory is
49762 # removed, or if the value is a relative name.
49763 INSTALL=$ac_install_sh
49764 fi
49765 fi
49766 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49767 echo "${ECHO_T}$INSTALL" >&6; }
49768
49769 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49770 # It thinks the first close brace ends the variable substitution.
49771 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49772
49773 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49774
49775 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49776
49777 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49778 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49779 LN_S=$as_ln_s
49780 if test "$LN_S" = "ln -s"; then
49781 { echo "$as_me:$LINENO: result: yes" >&5
49782 echo "${ECHO_T}yes" >&6; }
49783 else
49784 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49785 echo "${ECHO_T}no, using $LN_S" >&6; }
49786 fi
49787
49788
49789 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49790 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49791 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49792 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49793 echo $ECHO_N "(cached) $ECHO_C" >&6
49794 else
49795 cat >conftest.make <<\_ACEOF
49796 SHELL = /bin/sh
49797 all:
49798 @echo '@@@%%%=$(MAKE)=@@@%%%'
49799 _ACEOF
49800 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49801 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49802 *@@@%%%=?*=@@@%%%*)
49803 eval ac_cv_prog_make_${ac_make}_set=yes;;
49804 *)
49805 eval ac_cv_prog_make_${ac_make}_set=no;;
49806 esac
49807 rm -f conftest.make
49808 fi
49809 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49810 { echo "$as_me:$LINENO: result: yes" >&5
49811 echo "${ECHO_T}yes" >&6; }
49812 SET_MAKE=
49813 else
49814 { echo "$as_me:$LINENO: result: no" >&5
49815 echo "${ECHO_T}no" >&6; }
49816 SET_MAKE="MAKE=${MAKE-make}"
49817 fi
49818
49819
49820
49821 if test "x$SUNCXX" = "xyes"; then
49822 AR=$CXX
49823 AROPTIONS="-xar -o"
49824
49825 elif test "x$SGICC" = "xyes"; then
49826 AR=$CXX
49827 AROPTIONS="-ar -o"
49828
49829 else
49830 if test -n "$ac_tool_prefix"; then
49831 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49832 set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then
49836 echo $ECHO_N "(cached) $ECHO_C" >&6
49837 else
49838 if test -n "$AR"; then
49839 ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar"
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 AR=$ac_cv_prog_AR
49859 if test -n "$AR"; then
49860 { echo "$as_me:$LINENO: result: $AR" >&5
49861 echo "${ECHO_T}$AR" >&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_AR"; then
49870 ac_ct_AR=$AR
49871 # Extract the first word of "ar", so it can be a program name with args.
49872 set dummy ar; 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_AR+set}" = set; then
49876 echo $ECHO_N "(cached) $ECHO_C" >&6
49877 else
49878 if test -n "$ac_ct_AR"; then
49879 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar"
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_AR=$ac_cv_prog_ac_ct_AR
49899 if test -n "$ac_ct_AR"; then
49900 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49901 echo "${ECHO_T}$ac_ct_AR" >&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_AR" = x; then
49908 AR="ar"
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 AR=$ac_ct_AR
49921 fi
49922 else
49923 AR="$ac_cv_prog_AR"
49924 fi
49925
49926 AROPTIONS=rcu
49927 fi
49928
49929
49930 if test -n "$ac_tool_prefix"; then
49931 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49932 set dummy ${ac_tool_prefix}strip; ac_word=$2
49933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49935 if test "${ac_cv_prog_STRIP+set}" = set; then
49936 echo $ECHO_N "(cached) $ECHO_C" >&6
49937 else
49938 if test -n "$STRIP"; then
49939 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49940 else
49941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49942 for as_dir in $PATH
49943 do
49944 IFS=$as_save_IFS
49945 test -z "$as_dir" && as_dir=.
49946 for ac_exec_ext in '' $ac_executable_extensions; do
49947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49948 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49950 break 2
49951 fi
49952 done
49953 done
49954 IFS=$as_save_IFS
49955
49956 fi
49957 fi
49958 STRIP=$ac_cv_prog_STRIP
49959 if test -n "$STRIP"; then
49960 { echo "$as_me:$LINENO: result: $STRIP" >&5
49961 echo "${ECHO_T}$STRIP" >&6; }
49962 else
49963 { echo "$as_me:$LINENO: result: no" >&5
49964 echo "${ECHO_T}no" >&6; }
49965 fi
49966
49967
49968 fi
49969 if test -z "$ac_cv_prog_STRIP"; then
49970 ac_ct_STRIP=$STRIP
49971 # Extract the first word of "strip", so it can be a program name with args.
49972 set dummy strip; ac_word=$2
49973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49975 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49976 echo $ECHO_N "(cached) $ECHO_C" >&6
49977 else
49978 if test -n "$ac_ct_STRIP"; then
49979 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49980 else
49981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49982 for as_dir in $PATH
49983 do
49984 IFS=$as_save_IFS
49985 test -z "$as_dir" && as_dir=.
49986 for ac_exec_ext in '' $ac_executable_extensions; do
49987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49988 ac_cv_prog_ac_ct_STRIP="strip"
49989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49990 break 2
49991 fi
49992 done
49993 done
49994 IFS=$as_save_IFS
49995
49996 fi
49997 fi
49998 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49999 if test -n "$ac_ct_STRIP"; then
50000 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50001 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50002 else
50003 { echo "$as_me:$LINENO: result: no" >&5
50004 echo "${ECHO_T}no" >&6; }
50005 fi
50006
50007 if test "x$ac_ct_STRIP" = x; then
50008 STRIP=":"
50009 else
50010 case $cross_compiling:$ac_tool_warned in
50011 yes:)
50012 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50013 whose name does not start with the host triplet. If you think this
50014 configuration is useful to you, please write to autoconf@gnu.org." >&5
50015 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50016 whose name does not start with the host triplet. If you think this
50017 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50018 ac_tool_warned=yes ;;
50019 esac
50020 STRIP=$ac_ct_STRIP
50021 fi
50022 else
50023 STRIP="$ac_cv_prog_STRIP"
50024 fi
50025
50026 if test -n "$ac_tool_prefix"; then
50027 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50028 set dummy ${ac_tool_prefix}nm; ac_word=$2
50029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50031 if test "${ac_cv_prog_NM+set}" = set; then
50032 echo $ECHO_N "(cached) $ECHO_C" >&6
50033 else
50034 if test -n "$NM"; then
50035 ac_cv_prog_NM="$NM" # Let the user override the test.
50036 else
50037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50038 for as_dir in $PATH
50039 do
50040 IFS=$as_save_IFS
50041 test -z "$as_dir" && as_dir=.
50042 for ac_exec_ext in '' $ac_executable_extensions; do
50043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50044 ac_cv_prog_NM="${ac_tool_prefix}nm"
50045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50046 break 2
50047 fi
50048 done
50049 done
50050 IFS=$as_save_IFS
50051
50052 fi
50053 fi
50054 NM=$ac_cv_prog_NM
50055 if test -n "$NM"; then
50056 { echo "$as_me:$LINENO: result: $NM" >&5
50057 echo "${ECHO_T}$NM" >&6; }
50058 else
50059 { echo "$as_me:$LINENO: result: no" >&5
50060 echo "${ECHO_T}no" >&6; }
50061 fi
50062
50063
50064 fi
50065 if test -z "$ac_cv_prog_NM"; then
50066 ac_ct_NM=$NM
50067 # Extract the first word of "nm", so it can be a program name with args.
50068 set dummy nm; ac_word=$2
50069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50071 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50072 echo $ECHO_N "(cached) $ECHO_C" >&6
50073 else
50074 if test -n "$ac_ct_NM"; then
50075 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50076 else
50077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50078 for as_dir in $PATH
50079 do
50080 IFS=$as_save_IFS
50081 test -z "$as_dir" && as_dir=.
50082 for ac_exec_ext in '' $ac_executable_extensions; do
50083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50084 ac_cv_prog_ac_ct_NM="nm"
50085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50086 break 2
50087 fi
50088 done
50089 done
50090 IFS=$as_save_IFS
50091
50092 fi
50093 fi
50094 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50095 if test -n "$ac_ct_NM"; then
50096 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50097 echo "${ECHO_T}$ac_ct_NM" >&6; }
50098 else
50099 { echo "$as_me:$LINENO: result: no" >&5
50100 echo "${ECHO_T}no" >&6; }
50101 fi
50102
50103 if test "x$ac_ct_NM" = x; then
50104 NM=":"
50105 else
50106 case $cross_compiling:$ac_tool_warned in
50107 yes:)
50108 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50109 whose name does not start with the host triplet. If you think this
50110 configuration is useful to you, please write to autoconf@gnu.org." >&5
50111 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50112 whose name does not start with the host triplet. If you think this
50113 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50114 ac_tool_warned=yes ;;
50115 esac
50116 NM=$ac_ct_NM
50117 fi
50118 else
50119 NM="$ac_cv_prog_NM"
50120 fi
50121
50122
50123 case ${BAKEFILE_HOST} in
50124 *-hp-hpux* )
50125 INSTALL_DIR="mkdir -p"
50126 ;;
50127 * )
50128 INSTALL_DIR='$(INSTALL) -d'
50129 ;;
50130 esac
50131
50132
50133 LDFLAGS_GUI=
50134 case ${BAKEFILE_HOST} in
50135 *-*-cygwin* | *-*-mingw32* )
50136 LDFLAGS_GUI="-mwindows"
50137 esac
50138
50139
50140 fi
50141
50142 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50143 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50144 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50145 echo $ECHO_N "(cached) $ECHO_C" >&6
50146 else
50147
50148 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50149 egrep -s GNU > /dev/null); then
50150 bakefile_cv_prog_makeisgnu="yes"
50151 else
50152 bakefile_cv_prog_makeisgnu="no"
50153 fi
50154
50155 fi
50156 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50157 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50158
50159 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50160 IF_GNU_MAKE=""
50161 else
50162 IF_GNU_MAKE="#"
50163 fi
50164
50165
50166
50167 PLATFORM_UNIX=0
50168 PLATFORM_WIN32=0
50169 PLATFORM_MSDOS=0
50170 PLATFORM_MAC=0
50171 PLATFORM_MACOS=0
50172 PLATFORM_MACOSX=0
50173 PLATFORM_OS2=0
50174 PLATFORM_BEOS=0
50175
50176 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50177 case "${BAKEFILE_HOST}" in
50178 *-*-mingw32* )
50179 PLATFORM_WIN32=1
50180 ;;
50181 *-pc-msdosdjgpp )
50182 PLATFORM_MSDOS=1
50183 ;;
50184 *-pc-os2_emx | *-pc-os2-emx )
50185 PLATFORM_OS2=1
50186 ;;
50187 *-*-darwin* )
50188 PLATFORM_MAC=1
50189 PLATFORM_MACOSX=1
50190 ;;
50191 *-*-beos* )
50192 PLATFORM_BEOS=1
50193 ;;
50194 powerpc-apple-macos* )
50195 PLATFORM_MAC=1
50196 PLATFORM_MACOS=1
50197 ;;
50198 * )
50199 PLATFORM_UNIX=1
50200 ;;
50201 esac
50202 else
50203 case "$BAKEFILE_FORCE_PLATFORM" in
50204 win32 )
50205 PLATFORM_WIN32=1
50206 ;;
50207 msdos )
50208 PLATFORM_MSDOS=1
50209 ;;
50210 os2 )
50211 PLATFORM_OS2=1
50212 ;;
50213 darwin )
50214 PLATFORM_MAC=1
50215 PLATFORM_MACOSX=1
50216 ;;
50217 unix )
50218 PLATFORM_UNIX=1
50219 ;;
50220 beos )
50221 PLATFORM_BEOS=1
50222 ;;
50223 * )
50224 ;;
50225 esac
50226 fi
50227
50228
50229
50230
50231
50232
50233
50234
50235
50236
50237
50238 # Check whether --enable-omf was given.
50239 if test "${enable_omf+set}" = set; then
50240 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50241 fi
50242
50243
50244 case "${BAKEFILE_HOST}" in
50245 *-*-darwin* )
50246 if test "x$GCC" = "xyes"; then
50247 CFLAGS="$CFLAGS -fno-common"
50248 CXXFLAGS="$CXXFLAGS -fno-common"
50249 fi
50250 if test "x$XLCC" = "xyes"; then
50251 CFLAGS="$CFLAGS -qnocommon"
50252 CXXFLAGS="$CXXFLAGS -qnocommon"
50253 fi
50254 ;;
50255
50256 *-pc-os2_emx | *-pc-os2-emx )
50257 if test "x$bk_os2_use_omf" = "xyes" ; then
50258 AR=emxomfar
50259 RANLIB=:
50260 LDFLAGS="-Zomf $LDFLAGS"
50261 CFLAGS="-Zomf $CFLAGS"
50262 CXXFLAGS="-Zomf $CXXFLAGS"
50263 OS2_LIBEXT="lib"
50264 else
50265 OS2_LIBEXT="a"
50266 fi
50267 ;;
50268
50269 i*86-*-beos* )
50270 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50271 ;;
50272 esac
50273
50274
50275 SO_SUFFIX="so"
50276 SO_SUFFIX_MODULE="so"
50277 EXEEXT=""
50278 LIBPREFIX="lib"
50279 LIBEXT=".a"
50280 DLLPREFIX="lib"
50281 DLLPREFIX_MODULE=""
50282 DLLIMP_SUFFIX=""
50283 dlldir="$libdir"
50284
50285 case "${BAKEFILE_HOST}" in
50286 *-hp-hpux* )
50287 SO_SUFFIX="sl"
50288 SO_SUFFIX_MODULE="sl"
50289 ;;
50290 *-*-aix* )
50291 SO_SUFFIX="a"
50292 SO_SUFFIX_MODULE="a"
50293 ;;
50294 *-*-cygwin* )
50295 SO_SUFFIX="dll"
50296 SO_SUFFIX_MODULE="dll"
50297 DLLIMP_SUFFIX="dll.a"
50298 EXEEXT=".exe"
50299 DLLPREFIX="cyg"
50300 dlldir="$bindir"
50301 ;;
50302 *-*-mingw32* )
50303 SO_SUFFIX="dll"
50304 SO_SUFFIX_MODULE="dll"
50305 DLLIMP_SUFFIX="dll.a"
50306 EXEEXT=".exe"
50307 DLLPREFIX=""
50308 dlldir="$bindir"
50309 ;;
50310 *-pc-msdosdjgpp )
50311 EXEEXT=".exe"
50312 DLLPREFIX=""
50313 dlldir="$bindir"
50314 ;;
50315 *-pc-os2_emx | *-pc-os2-emx )
50316 SO_SUFFIX="dll"
50317 SO_SUFFIX_MODULE="dll"
50318 DLLIMP_SUFFIX=$OS2_LIBEXT
50319 EXEEXT=".exe"
50320 DLLPREFIX=""
50321 LIBPREFIX=""
50322 LIBEXT=".$OS2_LIBEXT"
50323 dlldir="$bindir"
50324 ;;
50325 *-*-darwin* )
50326 SO_SUFFIX="dylib"
50327 SO_SUFFIX_MODULE="bundle"
50328 ;;
50329 esac
50330
50331 if test "x$DLLIMP_SUFFIX" = "x" ; then
50332 DLLIMP_SUFFIX="$SO_SUFFIX"
50333 fi
50334
50335
50336
50337
50338
50339
50340
50341
50342
50343
50344
50345
50346 PIC_FLAG=""
50347 if test "x$GCC" = "xyes"; then
50348 PIC_FLAG="-fPIC"
50349 fi
50350
50351 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50352 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50353 WINDOWS_IMPLIB=0
50354
50355 case "${BAKEFILE_HOST}" in
50356 *-hp-hpux* )
50357 if test "x$GCC" != "xyes"; then
50358 LDFLAGS="$LDFLAGS -L/usr/lib"
50359
50360 SHARED_LD_CC="${CC} -b -o"
50361 SHARED_LD_CXX="${CXX} -b -o"
50362 PIC_FLAG="+Z"
50363 fi
50364 ;;
50365
50366 *-*-linux* )
50367 if test "$INTELCC" = "yes"; then
50368 PIC_FLAG="-KPIC"
50369 elif test "x$SUNCXX" = "xyes"; then
50370 SHARED_LD_CC="${CC} -G -o"
50371 SHARED_LD_CXX="${CXX} -G -o"
50372 PIC_FLAG="-KPIC"
50373 fi
50374 ;;
50375
50376 *-*-solaris2* )
50377 if test "x$SUNCXX" = xyes ; then
50378 SHARED_LD_CC="${CC} -G -o"
50379 SHARED_LD_CXX="${CXX} -G -o"
50380 PIC_FLAG="-KPIC"
50381 fi
50382 ;;
50383
50384 *-*-darwin* )
50385
50386 D='$'
50387 cat <<EOF >shared-ld-sh
50388 #!/bin/sh
50389 #-----------------------------------------------------------------------------
50390 #-- Name: distrib/mac/shared-ld-sh
50391 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50392 #-- Author: Gilles Depeyrot
50393 #-- Copyright: (c) 2002 Gilles Depeyrot
50394 #-- Licence: any use permitted
50395 #-----------------------------------------------------------------------------
50396
50397 verbose=0
50398 args=""
50399 objects=""
50400 linking_flag="-dynamiclib"
50401 ldargs="-r -keep_private_externs -nostdlib"
50402
50403 while test ${D}# -gt 0; do
50404 case ${D}1 in
50405
50406 -v)
50407 verbose=1
50408 ;;
50409
50410 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50411 # collect these options and values
50412 args="${D}{args} ${D}1 ${D}2"
50413 shift
50414 ;;
50415
50416 -s|-Wl,*)
50417 # collect these load args
50418 ldargs="${D}{ldargs} ${D}1"
50419 ;;
50420
50421 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50422 # collect these options
50423 args="${D}{args} ${D}1"
50424 ;;
50425
50426 -dynamiclib|-bundle)
50427 linking_flag="${D}1"
50428 ;;
50429
50430 -*)
50431 echo "shared-ld: unhandled option '${D}1'"
50432 exit 1
50433 ;;
50434
50435 *.o | *.a | *.dylib)
50436 # collect object files
50437 objects="${D}{objects} ${D}1"
50438 ;;
50439
50440 *)
50441 echo "shared-ld: unhandled argument '${D}1'"
50442 exit 1
50443 ;;
50444
50445 esac
50446 shift
50447 done
50448
50449 status=0
50450
50451 #
50452 # Link one module containing all the others
50453 #
50454 if test ${D}{verbose} = 1; then
50455 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50456 fi
50457 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50458 status=${D}?
50459
50460 #
50461 # Link the shared library from the single module created, but only if the
50462 # previous command didn't fail:
50463 #
50464 if test ${D}{status} = 0; then
50465 if test ${D}{verbose} = 1; then
50466 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50467 fi
50468 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50469 status=${D}?
50470 fi
50471
50472 #
50473 # Remove intermediate module
50474 #
50475 rm -f master.${D}${D}.o
50476
50477 exit ${D}status
50478 EOF
50479
50480 chmod +x shared-ld-sh
50481
50482 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50483 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50484
50485
50486 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50487 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50488 if test "${bakefile_cv_gcc31+set}" = set; then
50489 echo $ECHO_N "(cached) $ECHO_C" >&6
50490 else
50491
50492 cat >conftest.$ac_ext <<_ACEOF
50493 /* confdefs.h. */
50494 _ACEOF
50495 cat confdefs.h >>conftest.$ac_ext
50496 cat >>conftest.$ac_ext <<_ACEOF
50497 /* end confdefs.h. */
50498
50499 int
50500 main ()
50501 {
50502
50503 #if (__GNUC__ < 3) || \
50504 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50505 This is old gcc
50506 #endif
50507
50508 ;
50509 return 0;
50510 }
50511 _ACEOF
50512 rm -f conftest.$ac_objext
50513 if { (ac_try="$ac_compile"
50514 case "(($ac_try" in
50515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50516 *) ac_try_echo=$ac_try;;
50517 esac
50518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50519 (eval "$ac_compile") 2>conftest.er1
50520 ac_status=$?
50521 grep -v '^ *+' conftest.er1 >conftest.err
50522 rm -f conftest.er1
50523 cat conftest.err >&5
50524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50525 (exit $ac_status); } && {
50526 test -z "$ac_c_werror_flag" ||
50527 test ! -s conftest.err
50528 } && test -s conftest.$ac_objext; then
50529
50530 bakefile_cv_gcc31=yes
50531
50532 else
50533 echo "$as_me: failed program was:" >&5
50534 sed 's/^/| /' conftest.$ac_ext >&5
50535
50536
50537 bakefile_cv_gcc31=no
50538
50539
50540 fi
50541
50542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50543
50544 fi
50545 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50546 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50547 if test "$bakefile_cv_gcc31" = "no"; then
50548 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50549 SHARED_LD_CXX="$SHARED_LD_CC"
50550 else
50551 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50552 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50553 fi
50554
50555 if test "x$GCC" == "xyes"; then
50556 PIC_FLAG="-dynamic -fPIC"
50557 fi
50558 if test "x$XLCC" = "xyes"; then
50559 PIC_FLAG="-dynamic -DPIC"
50560 fi
50561 ;;
50562
50563 *-*-aix* )
50564 if test "x$GCC" = "xyes"; then
50565 PIC_FLAG=""
50566
50567 case "${BAKEFILE_HOST}" in
50568 *-*-aix5* )
50569 LD_EXPFULL="-Wl,-bexpfull"
50570 ;;
50571 esac
50572
50573 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50574 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50575 else
50576 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50577 set dummy makeC++SharedLib; ac_word=$2
50578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50580 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50581 echo $ECHO_N "(cached) $ECHO_C" >&6
50582 else
50583 if test -n "$AIX_CXX_LD"; then
50584 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50585 else
50586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50587 for as_dir in $PATH
50588 do
50589 IFS=$as_save_IFS
50590 test -z "$as_dir" && as_dir=.
50591 for ac_exec_ext in '' $ac_executable_extensions; do
50592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50593 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50595 break 2
50596 fi
50597 done
50598 done
50599 IFS=$as_save_IFS
50600
50601 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50602 fi
50603 fi
50604 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50605 if test -n "$AIX_CXX_LD"; then
50606 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50607 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50608 else
50609 { echo "$as_me:$LINENO: result: no" >&5
50610 echo "${ECHO_T}no" >&6; }
50611 fi
50612
50613
50614 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50615 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50616 fi
50617 ;;
50618
50619 *-*-beos* )
50620 SHARED_LD_CC="${LD} -nostart -o"
50621 SHARED_LD_CXX="${LD} -nostart -o"
50622 ;;
50623
50624 *-*-irix* )
50625 if test "x$GCC" != "xyes"; then
50626 PIC_FLAG="-KPIC"
50627 fi
50628 ;;
50629
50630 *-*-cygwin* | *-*-mingw32* )
50631 PIC_FLAG=""
50632 SHARED_LD_CC="\$(CC) -shared -o"
50633 SHARED_LD_CXX="\$(CXX) -shared -o"
50634 WINDOWS_IMPLIB=1
50635 ;;
50636
50637 *-pc-os2_emx | *-pc-os2-emx )
50638 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50639 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50640 PIC_FLAG=""
50641
50642 D='$'
50643 cat <<EOF >dllar.sh
50644 #!/bin/sh
50645 #
50646 # dllar - a tool to build both a .dll and an .a file
50647 # from a set of object (.o) files for EMX/OS2.
50648 #
50649 # Written by Andrew Zabolotny, bit@freya.etu.ru
50650 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50651 #
50652 # This script will accept a set of files on the command line.
50653 # All the public symbols from the .o files will be exported into
50654 # a .DEF file, then linker will be run (through gcc) against them to
50655 # build a shared library consisting of all given .o files. All libraries
50656 # (.a) will be first decompressed into component .o files then act as
50657 # described above. You can optionally give a description (-d "description")
50658 # which will be put into .DLL. To see the list of accepted options (as well
50659 # as command-line format) simply run this program without options. The .DLL
50660 # is built to be imported by name (there is no guarantee that new versions
50661 # of the library you build will have same ordinals for same symbols).
50662 #
50663 # dllar is free software; you can redistribute it and/or modify
50664 # it under the terms of the GNU General Public License as published by
50665 # the Free Software Foundation; either version 2, or (at your option)
50666 # any later version.
50667 #
50668 # dllar is distributed in the hope that it will be useful,
50669 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50670 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50671 # GNU General Public License for more details.
50672 #
50673 # You should have received a copy of the GNU General Public License
50674 # along with dllar; see the file COPYING. If not, write to the Free
50675 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50676 # 02111-1307, USA.
50677
50678 # To successfuly run this program you will need:
50679 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50680 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50681 # - gcc
50682 # (used to build the .dll)
50683 # - emxexp
50684 # (used to create .def file from .o files)
50685 # - emximp
50686 # (used to create .a file from .def file)
50687 # - GNU text utilites (cat, sort, uniq)
50688 # used to process emxexp output
50689 # - GNU file utilities (mv, rm)
50690 # - GNU sed
50691 # - lxlite (optional, see flag below)
50692 # (used for general .dll cleanup)
50693 #
50694
50695 flag_USE_LXLITE=1;
50696
50697 #
50698 # helper functions
50699 # basnam, variant of basename, which does _not_ remove the path, _iff_
50700 # second argument (suffix to remove) is given
50701 basnam(){
50702 case ${D}# in
50703 1)
50704 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50705 ;;
50706 2)
50707 echo ${D}1 | sed 's/'${D}2'${D}//'
50708 ;;
50709 *)
50710 echo "error in basnam ${D}*"
50711 exit 8
50712 ;;
50713 esac
50714 }
50715
50716 # Cleanup temporary files and output
50717 CleanUp() {
50718 cd ${D}curDir
50719 for i in ${D}inputFiles ; do
50720 case ${D}i in
50721 *!)
50722 rm -rf \`basnam ${D}i !\`
50723 ;;
50724 *)
50725 ;;
50726 esac
50727 done
50728
50729 # Kill result in case of failure as there is just to many stupid make/nmake
50730 # things out there which doesn't do this.
50731 if [ ${D}# -eq 0 ]; then
50732 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50733 fi
50734 }
50735
50736 # Print usage and exit script with rc=1.
50737 PrintHelp() {
50738 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50739 echo ' [-name-mangler-script script.sh]'
50740 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50741 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50742 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50743 echo ' [*.o] [*.a]'
50744 echo '*> "output_file" should have no extension.'
50745 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50746 echo ' The import library name is derived from this and is set to "name".a,'
50747 echo ' unless overridden by -import'
50748 echo '*> "importlib_name" should have no extension.'
50749 echo ' If it has the .o, or .a extension, it is automatically removed.'
50750 echo ' This name is used as the import library name and may be longer and'
50751 echo ' more descriptive than the DLL name which has to follow the old '
50752 echo ' 8.3 convention of FAT.'
50753 echo '*> "script.sh may be given to override the output_file name by a'
50754 echo ' different name. It is mainly useful if the regular make process'
50755 echo ' of some package does not take into account OS/2 restriction of'
50756 echo ' DLL name lengths. It takes the importlib name as input and is'
50757 echo ' supposed to procude a shorter name as output. The script should'
50758 echo ' expect to get importlib_name without extension and should produce'
50759 echo ' a (max.) 8 letter name without extension.'
50760 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50761 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50762 echo ' These flags will be put at the start of GCC command line.'
50763 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50764 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50765 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50766 echo ' If the last character of a symbol is "*", all symbols beginning'
50767 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50768 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50769 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50770 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50771 echo ' C runtime DLLs.'
50772 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50773 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50774 echo ' unchanged to GCC at the end of command line.'
50775 echo '*> If you create a DLL from a library and you do not specify -o,'
50776 echo ' the basename for DLL and import library will be set to library name,'
50777 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50778 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50779 echo ' library will be renamed into gcc_s.a.'
50780 echo '--------'
50781 echo 'Example:'
50782 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50783 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50784 CleanUp
50785 exit 1
50786 }
50787
50788 # Execute a command.
50789 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50790 # @Uses Whatever CleanUp() uses.
50791 doCommand() {
50792 echo "${D}*"
50793 eval ${D}*
50794 rcCmd=${D}?
50795
50796 if [ ${D}rcCmd -ne 0 ]; then
50797 echo "command failed, exit code="${D}rcCmd
50798 CleanUp
50799 exit ${D}rcCmd
50800 fi
50801 }
50802
50803 # main routine
50804 # setup globals
50805 cmdLine=${D}*
50806 outFile=""
50807 outimpFile=""
50808 inputFiles=""
50809 renameScript=""
50810 description=""
50811 CC=gcc.exe
50812 CFLAGS="-s -Zcrtdll"
50813 EXTRA_CFLAGS=""
50814 EXPORT_BY_ORDINALS=0
50815 exclude_symbols=""
50816 library_flags=""
50817 curDir=\`pwd\`
50818 curDirS=curDir
50819 case ${D}curDirS in
50820 */)
50821 ;;
50822 *)
50823 curDirS=${D}{curDirS}"/"
50824 ;;
50825 esac
50826 # Parse commandline
50827 libsToLink=0
50828 omfLinking=0
50829 while [ ${D}1 ]; do
50830 case ${D}1 in
50831 -ord*)
50832 EXPORT_BY_ORDINALS=1;
50833 ;;
50834 -o*)
50835 shift
50836 outFile=${D}1
50837 ;;
50838 -i*)
50839 shift
50840 outimpFile=${D}1
50841 ;;
50842 -name-mangler-script)
50843 shift
50844 renameScript=${D}1
50845 ;;
50846 -d*)
50847 shift
50848 description=${D}1
50849 ;;
50850 -f*)
50851 shift
50852 CFLAGS=${D}1
50853 ;;
50854 -c*)
50855 shift
50856 CC=${D}1
50857 ;;
50858 -h*)
50859 PrintHelp
50860 ;;
50861 -ex*)
50862 shift
50863 exclude_symbols=${D}{exclude_symbols}${D}1" "
50864 ;;
50865 -libf*)
50866 shift
50867 library_flags=${D}{library_flags}${D}1" "
50868 ;;
50869 -nocrt*)
50870 CFLAGS="-s"
50871 ;;
50872 -nolxl*)
50873 flag_USE_LXLITE=0
50874 ;;
50875 -* | /*)
50876 case ${D}1 in
50877 -L* | -l*)
50878 libsToLink=1
50879 ;;
50880 -Zomf)
50881 omfLinking=1
50882 ;;
50883 *)
50884 ;;
50885 esac
50886 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50887 ;;
50888 *.dll)
50889 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50890 if [ ${D}omfLinking -eq 1 ]; then
50891 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50892 else
50893 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50894 fi
50895 ;;
50896 *)
50897 found=0;
50898 if [ ${D}libsToLink -ne 0 ]; then
50899 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50900 else
50901 for file in ${D}1 ; do
50902 if [ -f ${D}file ]; then
50903 inputFiles="${D}{inputFiles} ${D}file"
50904 found=1
50905 fi
50906 done
50907 if [ ${D}found -eq 0 ]; then
50908 echo "ERROR: No file(s) found: "${D}1
50909 exit 8
50910 fi
50911 fi
50912 ;;
50913 esac
50914 shift
50915 done # iterate cmdline words
50916
50917 #
50918 if [ -z "${D}inputFiles" ]; then
50919 echo "dllar: no input files"
50920 PrintHelp
50921 fi
50922
50923 # Now extract all .o files from .a files
50924 newInputFiles=""
50925 for file in ${D}inputFiles ; do
50926 case ${D}file in
50927 *.a | *.lib)
50928 case ${D}file in
50929 *.a)
50930 suffix=".a"
50931 AR="ar"
50932 ;;
50933 *.lib)
50934 suffix=".lib"
50935 AR="emxomfar"
50936 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50937 ;;
50938 *)
50939 ;;
50940 esac
50941 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50942 mkdir ${D}dirname
50943 if [ ${D}? -ne 0 ]; then
50944 echo "Failed to create subdirectory ./${D}dirname"
50945 CleanUp
50946 exit 8;
50947 fi
50948 # Append '!' to indicate archive
50949 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50950 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50951 cd ${D}curDir
50952 found=0;
50953 for subfile in ${D}dirname/*.o* ; do
50954 if [ -f ${D}subfile ]; then
50955 found=1
50956 if [ -s ${D}subfile ]; then
50957 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50958 newInputFiles="${D}newInputFiles ${D}subfile"
50959 fi
50960 fi
50961 done
50962 if [ ${D}found -eq 0 ]; then
50963 echo "WARNING: there are no files in archive \\'${D}file\\'"
50964 fi
50965 ;;
50966 *)
50967 newInputFiles="${D}{newInputFiles} ${D}file"
50968 ;;
50969 esac
50970 done
50971 inputFiles="${D}newInputFiles"
50972
50973 # Output filename(s).
50974 do_backup=0;
50975 if [ -z ${D}outFile ]; then
50976 do_backup=1;
50977 set outFile ${D}inputFiles; outFile=${D}2
50978 fi
50979
50980 # If it is an archive, remove the '!' and the '_%' suffixes
50981 case ${D}outFile in
50982 *_%!)
50983 outFile=\`basnam ${D}outFile _%!\`
50984 ;;
50985 *)
50986 ;;
50987 esac
50988 case ${D}outFile in
50989 *.dll)
50990 outFile=\`basnam ${D}outFile .dll\`
50991 ;;
50992 *.DLL)
50993 outFile=\`basnam ${D}outFile .DLL\`
50994 ;;
50995 *.o)
50996 outFile=\`basnam ${D}outFile .o\`
50997 ;;
50998 *.obj)
50999 outFile=\`basnam ${D}outFile .obj\`
51000 ;;
51001 *.a)
51002 outFile=\`basnam ${D}outFile .a\`
51003 ;;
51004 *.lib)
51005 outFile=\`basnam ${D}outFile .lib\`
51006 ;;
51007 *)
51008 ;;
51009 esac
51010 case ${D}outimpFile in
51011 *.a)
51012 outimpFile=\`basnam ${D}outimpFile .a\`
51013 ;;
51014 *.lib)
51015 outimpFile=\`basnam ${D}outimpFile .lib\`
51016 ;;
51017 *)
51018 ;;
51019 esac
51020 if [ -z ${D}outimpFile ]; then
51021 outimpFile=${D}outFile
51022 fi
51023 defFile="${D}{outFile}.def"
51024 arcFile="${D}{outimpFile}.a"
51025 arcFile2="${D}{outimpFile}.lib"
51026
51027 #create ${D}dllFile as something matching 8.3 restrictions,
51028 if [ -z ${D}renameScript ] ; then
51029 dllFile="${D}outFile"
51030 else
51031 dllFile=\`${D}renameScript ${D}outimpFile\`
51032 fi
51033
51034 if [ ${D}do_backup -ne 0 ] ; then
51035 if [ -f ${D}arcFile ] ; then
51036 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51037 fi
51038 if [ -f ${D}arcFile2 ] ; then
51039 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51040 fi
51041 fi
51042
51043 # Extract public symbols from all the object files.
51044 tmpdefFile=${D}{defFile}_%
51045 rm -f ${D}tmpdefFile
51046 for file in ${D}inputFiles ; do
51047 case ${D}file in
51048 *!)
51049 ;;
51050 *)
51051 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51052 ;;
51053 esac
51054 done
51055
51056 # Create the def file.
51057 rm -f ${D}defFile
51058 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51059 dllFile="${D}{dllFile}.dll"
51060 if [ ! -z ${D}description ]; then
51061 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51062 fi
51063 echo "EXPORTS" >> ${D}defFile
51064
51065 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51066 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51067
51068 # Checks if the export is ok or not.
51069 for word in ${D}exclude_symbols; do
51070 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51071 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51072 done
51073
51074
51075 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51076 sed "=" < ${D}tmpdefFile | \\
51077 sed '
51078 N
51079 : loop
51080 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51081 t loop
51082 ' > ${D}{tmpdefFile}%
51083 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51084 else
51085 rm -f ${D}{tmpdefFile}%
51086 fi
51087 cat ${D}tmpdefFile >> ${D}defFile
51088 rm -f ${D}tmpdefFile
51089
51090 # Do linking, create implib, and apply lxlite.
51091 gccCmdl="";
51092 for file in ${D}inputFiles ; do
51093 case ${D}file in
51094 *!)
51095 ;;
51096 *)
51097 gccCmdl="${D}gccCmdl ${D}file"
51098 ;;
51099 esac
51100 done
51101 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51102 touch "${D}{outFile}.dll"
51103
51104 doCommand "emximp -o ${D}arcFile ${D}defFile"
51105 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51106 add_flags="";
51107 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51108 add_flags="-ynd"
51109 fi
51110 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51111 fi
51112 doCommand "emxomf -s -l ${D}arcFile"
51113
51114 # Successful exit.
51115 CleanUp 1
51116 exit 0
51117 EOF
51118
51119 chmod +x dllar.sh
51120 ;;
51121
51122 powerpc-apple-macos* | \
51123 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51124 *-*-mirbsd* | \
51125 *-*-sunos4* | \
51126 *-*-osf* | \
51127 *-*-dgux5* | \
51128 *-*-sysv5* | \
51129 *-pc-msdosdjgpp )
51130 ;;
51131
51132 *)
51133 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51134 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51135 { (exit 1); exit 1; }; }
51136 esac
51137
51138 if test "x$PIC_FLAG" != "x" ; then
51139 PIC_FLAG="$PIC_FLAG -DPIC"
51140 fi
51141
51142 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51143 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51144 fi
51145 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51146 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51147 fi
51148
51149
51150
51151
51152
51153
51154
51155
51156
51157 USE_SOVERSION=0
51158 USE_SOVERLINUX=0
51159 USE_SOVERSOLARIS=0
51160 USE_SOVERCYGWIN=0
51161 USE_SOSYMLINKS=0
51162 USE_MACVERSION=0
51163 SONAME_FLAG=
51164
51165 case "${BAKEFILE_HOST}" in
51166 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51167 if test "x$SUNCXX" = "xyes"; then
51168 SONAME_FLAG="-h "
51169 else
51170 SONAME_FLAG="-Wl,-soname,"
51171 fi
51172 USE_SOVERSION=1
51173 USE_SOVERLINUX=1
51174 USE_SOSYMLINKS=1
51175 ;;
51176
51177 *-*-solaris2* )
51178 SONAME_FLAG="-h "
51179 USE_SOVERSION=1
51180 USE_SOVERSOLARIS=1
51181 USE_SOSYMLINKS=1
51182 ;;
51183
51184 *-*-darwin* )
51185 USE_MACVERSION=1
51186 USE_SOVERSION=1
51187 USE_SOSYMLINKS=1
51188 ;;
51189
51190 *-*-cygwin* )
51191 USE_SOVERSION=1
51192 USE_SOVERCYGWIN=1
51193 ;;
51194 esac
51195
51196
51197
51198
51199
51200
51201
51202
51203
51204
51205 # Check whether --enable-dependency-tracking was given.
51206 if test "${enable_dependency_tracking+set}" = set; then
51207 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51208 fi
51209
51210
51211 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51212 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51213
51214 BK_DEPS=""
51215 if test "x$bk_use_trackdeps" = "xno" ; then
51216 DEPS_TRACKING=0
51217 { echo "$as_me:$LINENO: result: disabled" >&5
51218 echo "${ECHO_T}disabled" >&6; }
51219 else
51220 DEPS_TRACKING=1
51221
51222 if test "x$GCC" = "xyes"; then
51223 DEPSMODE=gcc
51224 case "${BAKEFILE_HOST}" in
51225 *-*-darwin* )
51226 DEPSFLAG="-no-cpp-precomp -MMD"
51227 ;;
51228 * )
51229 DEPSFLAG="-MMD"
51230 ;;
51231 esac
51232 { echo "$as_me:$LINENO: result: gcc" >&5
51233 echo "${ECHO_T}gcc" >&6; }
51234 elif test "x$MWCC" = "xyes"; then
51235 DEPSMODE=mwcc
51236 DEPSFLAG="-MM"
51237 { echo "$as_me:$LINENO: result: mwcc" >&5
51238 echo "${ECHO_T}mwcc" >&6; }
51239 elif test "x$SUNCC" = "xyes"; then
51240 DEPSMODE=unixcc
51241 DEPSFLAG="-xM1"
51242 { echo "$as_me:$LINENO: result: Sun cc" >&5
51243 echo "${ECHO_T}Sun cc" >&6; }
51244 elif test "x$SGICC" = "xyes"; then
51245 DEPSMODE=unixcc
51246 DEPSFLAG="-M"
51247 { echo "$as_me:$LINENO: result: SGI cc" >&5
51248 echo "${ECHO_T}SGI cc" >&6; }
51249 elif test "x$HPCC" = "xyes"; then
51250 DEPSMODE=unixcc
51251 DEPSFLAG="+make"
51252 { echo "$as_me:$LINENO: result: HP cc" >&5
51253 echo "${ECHO_T}HP cc" >&6; }
51254 elif test "x$COMPAQCC" = "xyes"; then
51255 DEPSMODE=gcc
51256 DEPSFLAG="-MD"
51257 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51258 echo "${ECHO_T}Compaq cc" >&6; }
51259 else
51260 DEPS_TRACKING=0
51261 { echo "$as_me:$LINENO: result: none" >&5
51262 echo "${ECHO_T}none" >&6; }
51263 fi
51264
51265 if test $DEPS_TRACKING = 1 ; then
51266
51267 D='$'
51268 cat <<EOF >bk-deps
51269 #!/bin/sh
51270
51271 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51272 # script. It is used to track C/C++ files dependencies in portable way.
51273 #
51274 # Permission is given to use this file in any way.
51275
51276 DEPSMODE=${DEPSMODE}
51277 DEPSDIR=.deps
51278 DEPSFLAG="${DEPSFLAG}"
51279
51280 mkdir -p ${D}DEPSDIR
51281
51282 if test ${D}DEPSMODE = gcc ; then
51283 ${D}* ${D}{DEPSFLAG}
51284 status=${D}?
51285 if test ${D}{status} != 0 ; then
51286 exit ${D}{status}
51287 fi
51288 # move created file to the location we want it in:
51289 while test ${D}# -gt 0; do
51290 case "${D}1" in
51291 -o )
51292 shift
51293 objfile=${D}1
51294 ;;
51295 -* )
51296 ;;
51297 * )
51298 srcfile=${D}1
51299 ;;
51300 esac
51301 shift
51302 done
51303 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51304 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51305 if test -f ${D}depfile ; then
51306 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51307 rm -f ${D}depfile
51308 else
51309 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51310 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51311 if test ! -f ${D}depfile ; then
51312 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51313 depfile="${D}objfile.d"
51314 fi
51315 if test -f ${D}depfile ; then
51316 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51317 rm -f ${D}depfile
51318 fi
51319 fi
51320 exit 0
51321 elif test ${D}DEPSMODE = mwcc ; then
51322 ${D}* || exit ${D}?
51323 # Run mwcc again with -MM and redirect into the dep file we want
51324 # NOTE: We can't use shift here because we need ${D}* to be valid
51325 prevarg=
51326 for arg in ${D}* ; do
51327 if test "${D}prevarg" = "-o"; then
51328 objfile=${D}arg
51329 else
51330 case "${D}arg" in
51331 -* )
51332 ;;
51333 * )
51334 srcfile=${D}arg
51335 ;;
51336 esac
51337 fi
51338 prevarg="${D}arg"
51339 done
51340 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51341 exit 0
51342 elif test ${D}DEPSMODE = unixcc; then
51343 ${D}* || exit ${D}?
51344 # Run compiler again with deps flag and redirect into the dep file.
51345 # It doesn't work if the '-o FILE' option is used, but without it the
51346 # dependency file will contain the wrong name for the object. So it is
51347 # removed from the command line, and the dep file is fixed with sed.
51348 cmd=""
51349 while test ${D}# -gt 0; do
51350 case "${D}1" in
51351 -o )
51352 shift
51353 objfile=${D}1
51354 ;;
51355 * )
51356 eval arg${D}#=\\${D}1
51357 cmd="${D}cmd \\${D}arg${D}#"
51358 ;;
51359 esac
51360 shift
51361 done
51362 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51363 exit 0
51364 else
51365 ${D}*
51366 exit ${D}?
51367 fi
51368 EOF
51369
51370 chmod +x bk-deps
51371 BK_DEPS="`pwd`/bk-deps"
51372 fi
51373 fi
51374
51375
51376
51377
51378
51379 case ${BAKEFILE_HOST} in
51380 *-*-cygwin* | *-*-mingw32* )
51381 if test -n "$ac_tool_prefix"; then
51382 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51383 set dummy ${ac_tool_prefix}windres; ac_word=$2
51384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51386 if test "${ac_cv_prog_WINDRES+set}" = set; then
51387 echo $ECHO_N "(cached) $ECHO_C" >&6
51388 else
51389 if test -n "$WINDRES"; then
51390 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51391 else
51392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51393 for as_dir in $PATH
51394 do
51395 IFS=$as_save_IFS
51396 test -z "$as_dir" && as_dir=.
51397 for ac_exec_ext in '' $ac_executable_extensions; do
51398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51399 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51401 break 2
51402 fi
51403 done
51404 done
51405 IFS=$as_save_IFS
51406
51407 fi
51408 fi
51409 WINDRES=$ac_cv_prog_WINDRES
51410 if test -n "$WINDRES"; then
51411 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51412 echo "${ECHO_T}$WINDRES" >&6; }
51413 else
51414 { echo "$as_me:$LINENO: result: no" >&5
51415 echo "${ECHO_T}no" >&6; }
51416 fi
51417
51418
51419 fi
51420 if test -z "$ac_cv_prog_WINDRES"; then
51421 ac_ct_WINDRES=$WINDRES
51422 # Extract the first word of "windres", so it can be a program name with args.
51423 set dummy windres; ac_word=$2
51424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51426 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51427 echo $ECHO_N "(cached) $ECHO_C" >&6
51428 else
51429 if test -n "$ac_ct_WINDRES"; then
51430 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51431 else
51432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51433 for as_dir in $PATH
51434 do
51435 IFS=$as_save_IFS
51436 test -z "$as_dir" && as_dir=.
51437 for ac_exec_ext in '' $ac_executable_extensions; do
51438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51439 ac_cv_prog_ac_ct_WINDRES="windres"
51440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51441 break 2
51442 fi
51443 done
51444 done
51445 IFS=$as_save_IFS
51446
51447 fi
51448 fi
51449 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51450 if test -n "$ac_ct_WINDRES"; then
51451 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51452 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51453 else
51454 { echo "$as_me:$LINENO: result: no" >&5
51455 echo "${ECHO_T}no" >&6; }
51456 fi
51457
51458 if test "x$ac_ct_WINDRES" = x; then
51459 WINDRES=""
51460 else
51461 case $cross_compiling:$ac_tool_warned in
51462 yes:)
51463 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51464 whose name does not start with the host triplet. If you think this
51465 configuration is useful to you, please write to autoconf@gnu.org." >&5
51466 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51467 whose name does not start with the host triplet. If you think this
51468 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51469 ac_tool_warned=yes ;;
51470 esac
51471 WINDRES=$ac_ct_WINDRES
51472 fi
51473 else
51474 WINDRES="$ac_cv_prog_WINDRES"
51475 fi
51476
51477 ;;
51478
51479 *-*-darwin* | powerpc-apple-macos* )
51480 # Extract the first word of "Rez", so it can be a program name with args.
51481 set dummy Rez; ac_word=$2
51482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51484 if test "${ac_cv_prog_REZ+set}" = set; then
51485 echo $ECHO_N "(cached) $ECHO_C" >&6
51486 else
51487 if test -n "$REZ"; then
51488 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51489 else
51490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51491 for as_dir in $PATH
51492 do
51493 IFS=$as_save_IFS
51494 test -z "$as_dir" && as_dir=.
51495 for ac_exec_ext in '' $ac_executable_extensions; do
51496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51497 ac_cv_prog_REZ="Rez"
51498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51499 break 2
51500 fi
51501 done
51502 done
51503 IFS=$as_save_IFS
51504
51505 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51506 fi
51507 fi
51508 REZ=$ac_cv_prog_REZ
51509 if test -n "$REZ"; then
51510 { echo "$as_me:$LINENO: result: $REZ" >&5
51511 echo "${ECHO_T}$REZ" >&6; }
51512 else
51513 { echo "$as_me:$LINENO: result: no" >&5
51514 echo "${ECHO_T}no" >&6; }
51515 fi
51516
51517
51518 # Extract the first word of "SetFile", so it can be a program name with args.
51519 set dummy SetFile; ac_word=$2
51520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51522 if test "${ac_cv_prog_SETFILE+set}" = set; then
51523 echo $ECHO_N "(cached) $ECHO_C" >&6
51524 else
51525 if test -n "$SETFILE"; then
51526 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51527 else
51528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51529 for as_dir in $PATH
51530 do
51531 IFS=$as_save_IFS
51532 test -z "$as_dir" && as_dir=.
51533 for ac_exec_ext in '' $ac_executable_extensions; do
51534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51535 ac_cv_prog_SETFILE="SetFile"
51536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51537 break 2
51538 fi
51539 done
51540 done
51541 IFS=$as_save_IFS
51542
51543 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51544 fi
51545 fi
51546 SETFILE=$ac_cv_prog_SETFILE
51547 if test -n "$SETFILE"; then
51548 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51549 echo "${ECHO_T}$SETFILE" >&6; }
51550 else
51551 { echo "$as_me:$LINENO: result: no" >&5
51552 echo "${ECHO_T}no" >&6; }
51553 fi
51554
51555
51556 ;;
51557 esac
51558
51559
51560
51561
51562
51563
51564 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51565
51566
51567 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51568
51569
51570
51571 # Check whether --enable-precomp-headers was given.
51572 if test "${enable_precomp_headers+set}" = set; then
51573 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51574 fi
51575
51576
51577 GCC_PCH=0
51578 ICC_PCH=0
51579 USE_PCH=0
51580 BK_MAKE_PCH=""
51581
51582 case ${BAKEFILE_HOST} in
51583 *-*-cygwin* )
51584 bk_use_pch="no"
51585 ;;
51586 esac
51587
51588 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51589 if test "x$GCC" = "xyes"; then
51590 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51591 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51592 cat >conftest.$ac_ext <<_ACEOF
51593 /* confdefs.h. */
51594 _ACEOF
51595 cat confdefs.h >>conftest.$ac_ext
51596 cat >>conftest.$ac_ext <<_ACEOF
51597 /* end confdefs.h. */
51598
51599 int
51600 main ()
51601 {
51602
51603 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51604 There is no PCH support
51605 #endif
51606 #if (__GNUC__ < 3)
51607 There is no PCH support
51608 #endif
51609 #if (__GNUC__ == 3) && \
51610 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51611 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51612 ( defined(__INTEL_COMPILER) )
51613 There is no PCH support
51614 #endif
51615
51616 ;
51617 return 0;
51618 }
51619 _ACEOF
51620 rm -f conftest.$ac_objext
51621 if { (ac_try="$ac_compile"
51622 case "(($ac_try" in
51623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51624 *) ac_try_echo=$ac_try;;
51625 esac
51626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51627 (eval "$ac_compile") 2>conftest.er1
51628 ac_status=$?
51629 grep -v '^ *+' conftest.er1 >conftest.err
51630 rm -f conftest.er1
51631 cat conftest.err >&5
51632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51633 (exit $ac_status); } && {
51634 test -z "$ac_c_werror_flag" ||
51635 test ! -s conftest.err
51636 } && test -s conftest.$ac_objext; then
51637
51638 { echo "$as_me:$LINENO: result: yes" >&5
51639 echo "${ECHO_T}yes" >&6; }
51640 GCC_PCH=1
51641
51642 else
51643 echo "$as_me: failed program was:" >&5
51644 sed 's/^/| /' conftest.$ac_ext >&5
51645
51646
51647 cat >conftest.$ac_ext <<_ACEOF
51648 /* confdefs.h. */
51649 _ACEOF
51650 cat confdefs.h >>conftest.$ac_ext
51651 cat >>conftest.$ac_ext <<_ACEOF
51652 /* end confdefs.h. */
51653
51654 int
51655 main ()
51656 {
51657
51658 #if !defined(__INTEL_COMPILER) || \
51659 (__INTEL_COMPILER < 800)
51660 There is no PCH support
51661 #endif
51662
51663 ;
51664 return 0;
51665 }
51666 _ACEOF
51667 rm -f conftest.$ac_objext
51668 if { (ac_try="$ac_compile"
51669 case "(($ac_try" in
51670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51671 *) ac_try_echo=$ac_try;;
51672 esac
51673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51674 (eval "$ac_compile") 2>conftest.er1
51675 ac_status=$?
51676 grep -v '^ *+' conftest.er1 >conftest.err
51677 rm -f conftest.er1
51678 cat conftest.err >&5
51679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51680 (exit $ac_status); } && {
51681 test -z "$ac_c_werror_flag" ||
51682 test ! -s conftest.err
51683 } && test -s conftest.$ac_objext; then
51684
51685 { echo "$as_me:$LINENO: result: yes" >&5
51686 echo "${ECHO_T}yes" >&6; }
51687 ICC_PCH=1
51688
51689 else
51690 echo "$as_me: failed program was:" >&5
51691 sed 's/^/| /' conftest.$ac_ext >&5
51692
51693
51694 { echo "$as_me:$LINENO: result: no" >&5
51695 echo "${ECHO_T}no" >&6; }
51696
51697 fi
51698
51699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51700
51701 fi
51702
51703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51704 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51705 USE_PCH=1
51706
51707 D='$'
51708 cat <<EOF >bk-make-pch
51709 #!/bin/sh
51710
51711 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51712 # script. It is used to generated precompiled headers.
51713 #
51714 # Permission is given to use this file in any way.
51715
51716 outfile="${D}{1}"
51717 header="${D}{2}"
51718 shift
51719 shift
51720
51721 compiler=""
51722 headerfile=""
51723
51724 while test ${D}{#} -gt 0; do
51725 add_to_cmdline=1
51726 case "${D}{1}" in
51727 -I* )
51728 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51729 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51730 headerfile="${D}{incdir}/${D}{header}"
51731 fi
51732 ;;
51733 -use-pch|-use_pch )
51734 shift
51735 add_to_cmdline=0
51736 ;;
51737 esac
51738 if test ${D}add_to_cmdline = 1 ; then
51739 compiler="${D}{compiler} ${D}{1}"
51740 fi
51741 shift
51742 done
51743
51744 if test "x${D}{headerfile}" = "x" ; then
51745 echo "error: can't find header ${D}{header} in include paths" >&2
51746 else
51747 if test -f ${D}{outfile} ; then
51748 rm -f ${D}{outfile}
51749 else
51750 mkdir -p \`dirname ${D}{outfile}\`
51751 fi
51752 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51753 mkdir -p .deps
51754 if test "x${GCC_PCH}" = "x1" ; then
51755 # can do this because gcc is >= 3.4:
51756 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51757 elif test "x${ICC_PCH}" = "x1" ; then
51758 filename=pch_gen-${D}${D}
51759 file=${D}{filename}.c
51760 dfile=${D}{filename}.d
51761 cat > ${D}file <<EOT
51762 #include "${D}header"
51763 EOT
51764 # using -MF icc complains about differing command lines in creation/use
51765 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51766 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51767 rm -f ${D}file ${D}dfile ${D}{filename}.o
51768 fi
51769 exit ${D}{?}
51770 fi
51771 EOF
51772
51773 chmod +x bk-make-pch
51774 BK_MAKE_PCH="`pwd`/bk-make-pch"
51775 fi
51776 fi
51777 fi
51778
51779
51780
51781
51782
51783 COND_BUILD_DEBUG="#"
51784 if test "x$BUILD" = "xdebug" ; then
51785 COND_BUILD_DEBUG=""
51786 fi
51787
51788 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51789 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51790 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51791 fi
51792
51793 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51794 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51795 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51796 fi
51797
51798 COND_BUILD_DEBUG_UNICODE_0="#"
51799 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51800 COND_BUILD_DEBUG_UNICODE_0=""
51801 fi
51802
51803 COND_BUILD_DEBUG_UNICODE_1="#"
51804 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51805 COND_BUILD_DEBUG_UNICODE_1=""
51806 fi
51807
51808 COND_BUILD_RELEASE="#"
51809 if test "x$BUILD" = "xrelease" ; then
51810 COND_BUILD_RELEASE=""
51811 fi
51812
51813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51814 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51815 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51816 fi
51817
51818 COND_BUILD_RELEASE_UNICODE_0="#"
51819 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51820 COND_BUILD_RELEASE_UNICODE_0=""
51821 fi
51822
51823 COND_BUILD_RELEASE_UNICODE_1="#"
51824 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51825 COND_BUILD_RELEASE_UNICODE_1=""
51826 fi
51827
51828 COND_DEBUG_FLAG_1="#"
51829 if test "x$DEBUG_FLAG" = "x1" ; then
51830 COND_DEBUG_FLAG_1=""
51831 fi
51832
51833 COND_DEBUG_INFO_0="#"
51834 if test "x$DEBUG_INFO" = "x0" ; then
51835 COND_DEBUG_INFO_0=""
51836 fi
51837
51838 COND_DEBUG_INFO_1="#"
51839 if test "x$DEBUG_INFO" = "x1" ; then
51840 COND_DEBUG_INFO_1=""
51841 fi
51842
51843 COND_DEPS_TRACKING_0="#"
51844 if test "x$DEPS_TRACKING" = "x0" ; then
51845 COND_DEPS_TRACKING_0=""
51846 fi
51847
51848 COND_DEPS_TRACKING_1="#"
51849 if test "x$DEPS_TRACKING" = "x1" ; then
51850 COND_DEPS_TRACKING_1=""
51851 fi
51852
51853 COND_GCC_PCH_1="#"
51854 if test "x$GCC_PCH" = "x1" ; then
51855 COND_GCC_PCH_1=""
51856 fi
51857
51858 COND_ICC_PCH_1="#"
51859 if test "x$ICC_PCH" = "x1" ; then
51860 COND_ICC_PCH_1=""
51861 fi
51862
51863 COND_MONOLITHIC_0="#"
51864 if test "x$MONOLITHIC" = "x0" ; then
51865 COND_MONOLITHIC_0=""
51866 fi
51867
51868 COND_MONOLITHIC_0_SHARED_0="#"
51869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51870 COND_MONOLITHIC_0_SHARED_0=""
51871 fi
51872
51873 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51875 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51876 fi
51877
51878 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51880 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51881 fi
51882
51883 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51885 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51886 fi
51887
51888 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51891 fi
51892
51893 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51895 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51896 fi
51897
51898 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51900 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51901 fi
51902
51903 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51905 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51906 fi
51907
51908 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51910 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51911 fi
51912
51913 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51915 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51916 fi
51917
51918 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51920 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51921 fi
51922
51923 COND_MONOLITHIC_0_SHARED_1="#"
51924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51925 COND_MONOLITHIC_0_SHARED_1=""
51926 fi
51927
51928 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51930 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51931 fi
51932
51933 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51935 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51936 fi
51937
51938 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51941 fi
51942
51943 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51946 fi
51947
51948 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51951 fi
51952
51953 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51955 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51956 fi
51957
51958 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51960 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51961 fi
51962
51963 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51965 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51966 fi
51967
51968 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51969 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51970 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51971 fi
51972
51973 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51975 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51976 fi
51977
51978 COND_MONOLITHIC_0_USE_AUI_1="#"
51979 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51980 COND_MONOLITHIC_0_USE_AUI_1=""
51981 fi
51982
51983 COND_MONOLITHIC_0_USE_GUI_1="#"
51984 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51985 COND_MONOLITHIC_0_USE_GUI_1=""
51986 fi
51987
51988 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51989 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51990 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51991 fi
51992
51993 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51994 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51995 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51996 fi
51997
51998 COND_MONOLITHIC_0_USE_HTML_1="#"
51999 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52000 COND_MONOLITHIC_0_USE_HTML_1=""
52001 fi
52002
52003 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52004 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52005 COND_MONOLITHIC_0_USE_MEDIA_1=""
52006 fi
52007
52008 COND_MONOLITHIC_0_USE_ODBC_1="#"
52009 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52010 COND_MONOLITHIC_0_USE_ODBC_1=""
52011 fi
52012
52013 COND_MONOLITHIC_0_USE_QA_1="#"
52014 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52015 COND_MONOLITHIC_0_USE_QA_1=""
52016 fi
52017
52018 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52019 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52020 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52021 fi
52022
52023 COND_MONOLITHIC_0_USE_STC_1="#"
52024 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52025 COND_MONOLITHIC_0_USE_STC_1=""
52026 fi
52027
52028 COND_MONOLITHIC_0_USE_XRC_1="#"
52029 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52030 COND_MONOLITHIC_0_USE_XRC_1=""
52031 fi
52032
52033 COND_MONOLITHIC_1="#"
52034 if test "x$MONOLITHIC" = "x1" ; then
52035 COND_MONOLITHIC_1=""
52036 fi
52037
52038 COND_MONOLITHIC_1_SHARED_0="#"
52039 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52040 COND_MONOLITHIC_1_SHARED_0=""
52041 fi
52042
52043 COND_MONOLITHIC_1_SHARED_1="#"
52044 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52045 COND_MONOLITHIC_1_SHARED_1=""
52046 fi
52047
52048 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52049 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52050 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52051 fi
52052
52053 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52054 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52055 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52056 fi
52057
52058 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52059 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52060 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52061 fi
52062
52063 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52064 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52065 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52066 fi
52067
52068 COND_PLATFORM_MACOSX_1="#"
52069 if test "x$PLATFORM_MACOSX" = "x1" ; then
52070 COND_PLATFORM_MACOSX_1=""
52071 fi
52072
52073 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52074 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52075 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52076 fi
52077
52078 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52079 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52080 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52081 fi
52082
52083 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52084 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52085 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52086 fi
52087
52088 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52089 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52090 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52091 fi
52092
52093 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52094 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52095 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52096 fi
52097
52098 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52099 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52100 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52101 fi
52102
52103 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52104 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52105 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52106 fi
52107
52108 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52109 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52110 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52111 fi
52112
52113 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52114 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52115 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52116 fi
52117
52118 COND_PLATFORM_MACOS_1="#"
52119 if test "x$PLATFORM_MACOS" = "x1" ; then
52120 COND_PLATFORM_MACOS_1=""
52121 fi
52122
52123 COND_PLATFORM_MAC_1="#"
52124 if test "x$PLATFORM_MAC" = "x1" ; then
52125 COND_PLATFORM_MAC_1=""
52126 fi
52127
52128 COND_PLATFORM_MSDOS_0="#"
52129 if test "x$PLATFORM_MSDOS" = "x0" ; then
52130 COND_PLATFORM_MSDOS_0=""
52131 fi
52132
52133 COND_PLATFORM_MSDOS_1="#"
52134 if test "x$PLATFORM_MSDOS" = "x1" ; then
52135 COND_PLATFORM_MSDOS_1=""
52136 fi
52137
52138 COND_PLATFORM_OS2_1="#"
52139 if test "x$PLATFORM_OS2" = "x1" ; then
52140 COND_PLATFORM_OS2_1=""
52141 fi
52142
52143 COND_PLATFORM_UNIX_0="#"
52144 if test "x$PLATFORM_UNIX" = "x0" ; then
52145 COND_PLATFORM_UNIX_0=""
52146 fi
52147
52148 COND_PLATFORM_UNIX_1="#"
52149 if test "x$PLATFORM_UNIX" = "x1" ; then
52150 COND_PLATFORM_UNIX_1=""
52151 fi
52152
52153 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52154 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52155 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52156 fi
52157
52158 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52159 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52160 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52161 fi
52162
52163 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52164 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52165 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52166 fi
52167
52168 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52169 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52170 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52171 fi
52172
52173 COND_PLATFORM_WIN32_0="#"
52174 if test "x$PLATFORM_WIN32" = "x0" ; then
52175 COND_PLATFORM_WIN32_0=""
52176 fi
52177
52178 COND_PLATFORM_WIN32_1="#"
52179 if test "x$PLATFORM_WIN32" = "x1" ; then
52180 COND_PLATFORM_WIN32_1=""
52181 fi
52182
52183 COND_SHARED_0="#"
52184 if test "x$SHARED" = "x0" ; then
52185 COND_SHARED_0=""
52186 fi
52187
52188 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52189 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52190 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52191 fi
52192
52193 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52194 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52195 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52196 fi
52197
52198 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52199 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52200 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52201 fi
52202
52203 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52204 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52205 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52206 fi
52207
52208 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52209 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52210 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52211 fi
52212
52213 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52214 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52215 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52216 fi
52217
52218 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52219 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52220 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52221 fi
52222
52223 COND_SHARED_0_USE_STC_1="#"
52224 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52225 COND_SHARED_0_USE_STC_1=""
52226 fi
52227
52228 COND_SHARED_0_USE_XRC_1="#"
52229 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52230 COND_SHARED_0_USE_XRC_1=""
52231 fi
52232
52233 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52234 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52235 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52236 fi
52237
52238 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52239 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52240 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52241 fi
52242
52243 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52244 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52245 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52246 fi
52247
52248 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52249 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52250 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52251 fi
52252
52253 COND_SHARED_1="#"
52254 if test "x$SHARED" = "x1" ; then
52255 COND_SHARED_1=""
52256 fi
52257
52258 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52259 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52260 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52261 fi
52262
52263 COND_SHARED_1_USE_XRC_1="#"
52264 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52265 COND_SHARED_1_USE_XRC_1=""
52266 fi
52267
52268 COND_TOOLKIT_="#"
52269 if test "x$TOOLKIT" = "x" ; then
52270 COND_TOOLKIT_=""
52271 fi
52272
52273 COND_TOOLKIT_COCOA="#"
52274 if test "x$TOOLKIT" = "xCOCOA" ; then
52275 COND_TOOLKIT_COCOA=""
52276 fi
52277
52278 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52279 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52280 COND_TOOLKIT_COCOA_USE_GUI_1=""
52281 fi
52282
52283 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52284 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52285 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52286 fi
52287
52288 COND_TOOLKIT_DFB="#"
52289 if test "x$TOOLKIT" = "xDFB" ; then
52290 COND_TOOLKIT_DFB=""
52291 fi
52292
52293 COND_TOOLKIT_DFB_USE_GUI_1="#"
52294 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52295 COND_TOOLKIT_DFB_USE_GUI_1=""
52296 fi
52297
52298 COND_TOOLKIT_GTK="#"
52299 if test "x$TOOLKIT" = "xGTK" ; then
52300 COND_TOOLKIT_GTK=""
52301 fi
52302
52303 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52304 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52305 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52306 fi
52307
52308 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52309 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52310 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52311 fi
52312
52313 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52314 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52315 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52316 fi
52317
52318 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52319 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52320 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52321 fi
52322
52323 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52324 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52325 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52326 fi
52327
52328 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52329 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52330 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52331 fi
52332
52333 COND_TOOLKIT_GTK_USE_GUI_1="#"
52334 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52335 COND_TOOLKIT_GTK_USE_GUI_1=""
52336 fi
52337
52338 COND_TOOLKIT_MAC="#"
52339 if test "x$TOOLKIT" = "xMAC" ; then
52340 COND_TOOLKIT_MAC=""
52341 fi
52342
52343 COND_TOOLKIT_MAC_USE_GUI_1="#"
52344 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52345 COND_TOOLKIT_MAC_USE_GUI_1=""
52346 fi
52347
52348 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52349 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52350 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52351 fi
52352
52353 COND_TOOLKIT_MGL="#"
52354 if test "x$TOOLKIT" = "xMGL" ; then
52355 COND_TOOLKIT_MGL=""
52356 fi
52357
52358 COND_TOOLKIT_MGL_USE_GUI_1="#"
52359 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52360 COND_TOOLKIT_MGL_USE_GUI_1=""
52361 fi
52362
52363 COND_TOOLKIT_MOTIF="#"
52364 if test "x$TOOLKIT" = "xMOTIF" ; then
52365 COND_TOOLKIT_MOTIF=""
52366 fi
52367
52368 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52369 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52370 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52371 fi
52372
52373 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52374 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52375 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52376 fi
52377
52378 COND_TOOLKIT_MSW="#"
52379 if test "x$TOOLKIT" = "xMSW" ; then
52380 COND_TOOLKIT_MSW=""
52381 fi
52382
52383 COND_TOOLKIT_MSW_USE_GUI_1="#"
52384 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52385 COND_TOOLKIT_MSW_USE_GUI_1=""
52386 fi
52387
52388 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52389 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52390 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52391 fi
52392
52393 COND_TOOLKIT_MSW_WXUNIV_0="#"
52394 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52395 COND_TOOLKIT_MSW_WXUNIV_0=""
52396 fi
52397
52398 COND_TOOLKIT_PM="#"
52399 if test "x$TOOLKIT" = "xPM" ; then
52400 COND_TOOLKIT_PM=""
52401 fi
52402
52403 COND_TOOLKIT_PM_USE_GUI_1="#"
52404 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52405 COND_TOOLKIT_PM_USE_GUI_1=""
52406 fi
52407
52408 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52409 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52410 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52411 fi
52412
52413 COND_TOOLKIT_WINCE="#"
52414 if test "x$TOOLKIT" = "xWINCE" ; then
52415 COND_TOOLKIT_WINCE=""
52416 fi
52417
52418 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52419 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52420 COND_TOOLKIT_WINCE_USE_GUI_1=""
52421 fi
52422
52423 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52424 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52425 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52426 fi
52427
52428 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52429 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52430 COND_TOOLKIT_WINCE_WXUNIV_0=""
52431 fi
52432
52433 COND_TOOLKIT_X11="#"
52434 if test "x$TOOLKIT" = "xX11" ; then
52435 COND_TOOLKIT_X11=""
52436 fi
52437
52438 COND_TOOLKIT_X11_USE_GUI_1="#"
52439 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52440 COND_TOOLKIT_X11_USE_GUI_1=""
52441 fi
52442
52443 COND_UNICODE_1="#"
52444 if test "x$UNICODE" = "x1" ; then
52445 COND_UNICODE_1=""
52446 fi
52447
52448 COND_USE_EXCEPTIONS_0="#"
52449 if test "x$USE_EXCEPTIONS" = "x0" ; then
52450 COND_USE_EXCEPTIONS_0=""
52451 fi
52452
52453 COND_USE_EXCEPTIONS_1="#"
52454 if test "x$USE_EXCEPTIONS" = "x1" ; then
52455 COND_USE_EXCEPTIONS_1=""
52456 fi
52457
52458 COND_USE_GUI_0="#"
52459 if test "x$USE_GUI" = "x0" ; then
52460 COND_USE_GUI_0=""
52461 fi
52462
52463 COND_USE_GUI_1="#"
52464 if test "x$USE_GUI" = "x1" ; then
52465 COND_USE_GUI_1=""
52466 fi
52467
52468 COND_USE_GUI_1_USE_OPENGL_1="#"
52469 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52470 COND_USE_GUI_1_USE_OPENGL_1=""
52471 fi
52472
52473 COND_USE_GUI_1_WXUNIV_0="#"
52474 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52475 COND_USE_GUI_1_WXUNIV_0=""
52476 fi
52477
52478 COND_USE_GUI_1_WXUNIV_1="#"
52479 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52480 COND_USE_GUI_1_WXUNIV_1=""
52481 fi
52482
52483 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52484 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52485 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52486 fi
52487
52488 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52489 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52490 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52491 fi
52492
52493 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52494 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52495 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52496 fi
52497
52498 COND_USE_ODBC_1="#"
52499 if test "x$USE_ODBC" = "x1" ; then
52500 COND_USE_ODBC_1=""
52501 fi
52502
52503 COND_USE_OPENGL_1="#"
52504 if test "x$USE_OPENGL" = "x1" ; then
52505 COND_USE_OPENGL_1=""
52506 fi
52507
52508 COND_USE_PCH_1="#"
52509 if test "x$USE_PCH" = "x1" ; then
52510 COND_USE_PCH_1=""
52511 fi
52512
52513 COND_USE_PLUGINS_0="#"
52514 if test "x$USE_PLUGINS" = "x0" ; then
52515 COND_USE_PLUGINS_0=""
52516 fi
52517
52518 COND_USE_RTTI_0="#"
52519 if test "x$USE_RTTI" = "x0" ; then
52520 COND_USE_RTTI_0=""
52521 fi
52522
52523 COND_USE_RTTI_1="#"
52524 if test "x$USE_RTTI" = "x1" ; then
52525 COND_USE_RTTI_1=""
52526 fi
52527
52528 COND_USE_SOSYMLINKS_1="#"
52529 if test "x$USE_SOSYMLINKS" = "x1" ; then
52530 COND_USE_SOSYMLINKS_1=""
52531 fi
52532
52533 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52534 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52535 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52536 fi
52537
52538 COND_USE_SOVERLINUX_1="#"
52539 if test "x$USE_SOVERLINUX" = "x1" ; then
52540 COND_USE_SOVERLINUX_1=""
52541 fi
52542
52543 COND_USE_SOVERSION_0="#"
52544 if test "x$USE_SOVERSION" = "x0" ; then
52545 COND_USE_SOVERSION_0=""
52546 fi
52547
52548 COND_USE_SOVERSOLARIS_1="#"
52549 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52550 COND_USE_SOVERSOLARIS_1=""
52551 fi
52552
52553 COND_USE_STC_1="#"
52554 if test "x$USE_STC" = "x1" ; then
52555 COND_USE_STC_1=""
52556 fi
52557
52558 COND_USE_THREADS_0="#"
52559 if test "x$USE_THREADS" = "x0" ; then
52560 COND_USE_THREADS_0=""
52561 fi
52562
52563 COND_USE_THREADS_1="#"
52564 if test "x$USE_THREADS" = "x1" ; then
52565 COND_USE_THREADS_1=""
52566 fi
52567
52568 COND_USE_XRC_1="#"
52569 if test "x$USE_XRC" = "x1" ; then
52570 COND_USE_XRC_1=""
52571 fi
52572
52573 COND_WINDOWS_IMPLIB_1="#"
52574 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52575 COND_WINDOWS_IMPLIB_1=""
52576 fi
52577
52578 COND_WITH_PLUGIN_SDL_1="#"
52579 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52580 COND_WITH_PLUGIN_SDL_1=""
52581 fi
52582
52583 COND_WXUNIV_0="#"
52584 if test "x$WXUNIV" = "x0" ; then
52585 COND_WXUNIV_0=""
52586 fi
52587
52588 COND_WXUNIV_1="#"
52589 if test "x$WXUNIV" = "x1" ; then
52590 COND_WXUNIV_1=""
52591 fi
52592
52593 COND_WXUSE_EXPAT_BUILTIN="#"
52594 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52595 COND_WXUSE_EXPAT_BUILTIN=""
52596 fi
52597
52598 COND_WXUSE_LIBJPEG_BUILTIN="#"
52599 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52600 COND_WXUSE_LIBJPEG_BUILTIN=""
52601 fi
52602
52603 COND_WXUSE_LIBPNG_BUILTIN="#"
52604 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52605 COND_WXUSE_LIBPNG_BUILTIN=""
52606 fi
52607
52608 COND_WXUSE_LIBTIFF_BUILTIN="#"
52609 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52610 COND_WXUSE_LIBTIFF_BUILTIN=""
52611 fi
52612
52613 COND_WXUSE_ODBC_BUILTIN="#"
52614 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52615 COND_WXUSE_ODBC_BUILTIN=""
52616 fi
52617
52618 COND_WXUSE_REGEX_BUILTIN="#"
52619 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52620 COND_WXUSE_REGEX_BUILTIN=""
52621 fi
52622
52623 COND_WXUSE_ZLIB_BUILTIN="#"
52624 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52625 COND_WXUSE_ZLIB_BUILTIN=""
52626 fi
52627
52628
52629
52630 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52631 { { 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
52632 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;}
52633 { (exit 1); exit 1; }; }
52634 fi
52635
52636 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52637 { { 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
52638 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;}
52639 { (exit 1); exit 1; }; }
52640 fi
52641
52642
52643 case ${INSTALL} in
52644 /* ) # Absolute
52645 ;;
52646 ?:* ) # Drive letter, considered as absolute.
52647 ;;
52648 *)
52649 INSTALL=`pwd`/${INSTALL} ;;
52650 esac
52651
52652 if test "$wxUSE_GUI" = "yes"; then
52653
52654 if test "$wxUSE_MSW" = 1 ; then
52655 if test "x$WINDRES" = "x"; then
52656 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52657 echo "$as_me: error: Required windres program not found" >&2;}
52658 { (exit 1); exit 1; }; }
52659 fi
52660
52661 RESCOMP="$WINDRES"
52662 fi
52663
52664 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52665 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52666 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52667
52668 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52669
52670 # Extract the first word of "DeRez", so it can be a program name with args.
52671 set dummy DeRez; ac_word=$2
52672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52674 if test "${ac_cv_prog_DEREZ+set}" = set; then
52675 echo $ECHO_N "(cached) $ECHO_C" >&6
52676 else
52677 if test -n "$DEREZ"; then
52678 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52679 else
52680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52681 for as_dir in $PATH
52682 do
52683 IFS=$as_save_IFS
52684 test -z "$as_dir" && as_dir=.
52685 for ac_exec_ext in '' $ac_executable_extensions; do
52686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52687 ac_cv_prog_DEREZ="DeRez"
52688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52689 break 2
52690 fi
52691 done
52692 done
52693 IFS=$as_save_IFS
52694
52695 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52696 fi
52697 fi
52698 DEREZ=$ac_cv_prog_DEREZ
52699 if test -n "$DEREZ"; then
52700 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52701 echo "${ECHO_T}$DEREZ" >&6; }
52702 else
52703 { echo "$as_me:$LINENO: result: no" >&5
52704 echo "${ECHO_T}no" >&6; }
52705 fi
52706
52707
52708
52709 MACSETFILE="\$(SETFILE)"
52710
52711 if test "$wxUSE_MAC" = 1; then
52712 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52713 RESCOMP="$REZ"
52714 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52715 else
52716 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52717 RESCOMP="cat /dev/null \| $REZ"
52718 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52719 fi
52720
52721 else
52722 MACSETFILE="@true"
52723
52724 if test "$wxUSE_PM" = 1; then
52725 RESCOMP="emxbind"
52726 WXCONFIG_RESFLAGS="-ep"
52727
52728 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52729 else
52730 POSTLINK_COMMAND="@true"
52731 fi
52732 fi
52733
52734 fi
52735
52736
52737 if test $GCC_PCH = 1
52738 then
52739 if test "$wx_cv_gcc_pch_bug" = yes; then
52740 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52741 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52742 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52743 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52744 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52745 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52746 fi
52747
52748 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52749 fi
52750
52751
52752 if test "$wxUSE_MAC" = 1 ; then
52753 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52754 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52755 mv temp bk-deps
52756 chmod +x bk-deps
52757 fi
52758 fi
52759
52760 if test "$wxUSE_SHARED" = "yes"; then
52761
52762 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52763 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52764
52765 case "${host}" in
52766 *-pc-os2_emx | *-pc-os2-emx )
52767 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52768 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52769 cp -p ${srcdir}/src/os2/dllnames.sh .
52770 cp -p ${srcdir}/src/os2/dllar.sh .
52771 ;;
52772 esac
52773 else
52774
52775 EXE_LINKER="$CXX -o"
52776
52777 fi
52778 if test "$wxUSE_OMF" = "yes"; then
52779 case "${host}" in
52780 *-pc-os2_emx | *-pc-os2-emx )
52781 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52782 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52783 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52784 ;;
52785 esac
52786 fi
52787
52788 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52789
52790
52791 case "${host}" in
52792 *-*-solaris2* )
52793 if "$GCC" = yes; then
52794 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52795 LIBS=`echo $LIBS | sed 's/-mt//'`
52796 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52797 fi
52798 ;;
52799
52800 *-*-linux* )
52801 if test "x$SUNCXX" = xyes; then
52802 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52803 LIBS=`echo $LIBS | sed 's/-pthread//'`
52804 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52805 fi
52806 ;;
52807 esac
52808
52809 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52810 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52811
52812 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52813
52814
52815
52816
52817
52818
52819
52820
52821
52822
52823
52824
52825
52826
52827
52828
52829
52830
52831
52832
52833
52834
52835
52836
52837
52838
52839
52840
52841
52842
52843
52844
52845
52846
52847
52848
52849
52850
52851
52852
52853
52854
52855
52856
52857
52858
52859
52860
52861
52862
52863
52864
52865
52866
52867
52868
52869
52870
52871
52872
52873
52874 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52875 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52876 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52877 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52878 echo $ECHO_N "(cached) $ECHO_C" >&6
52879 else
52880 cat >conftest.make <<\_ACEOF
52881 SHELL = /bin/sh
52882 all:
52883 @echo '@@@%%%=$(MAKE)=@@@%%%'
52884 _ACEOF
52885 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52886 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52887 *@@@%%%=?*=@@@%%%*)
52888 eval ac_cv_prog_make_${ac_make}_set=yes;;
52889 *)
52890 eval ac_cv_prog_make_${ac_make}_set=no;;
52891 esac
52892 rm -f conftest.make
52893 fi
52894 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52895 { echo "$as_me:$LINENO: result: yes" >&5
52896 echo "${ECHO_T}yes" >&6; }
52897 SET_MAKE=
52898 else
52899 { echo "$as_me:$LINENO: result: no" >&5
52900 echo "${ECHO_T}no" >&6; }
52901 SET_MAKE="MAKE=${MAKE-make}"
52902 fi
52903
52904
52905
52906 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52907
52908
52909 if test "$USE_WIN32" = 1; then
52910 ac_config_commands="$ac_config_commands
52911 rcdefs.h
52912 "
52913
52914 fi
52915
52916 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52917
52918
52919 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52920
52921
52922 if test "$wx_cv_version_script" = "yes"; then
52923 ac_config_files="$ac_config_files version-script"
52924
52925 fi
52926 ac_config_files="$ac_config_files Makefile"
52927
52928
52929 ac_config_commands="$ac_config_commands wx-config"
52930
52931
52932
52933 if test "$wxWITH_SUBDIRS" != "no"; then
52934 if test "$wxUSE_GUI" = "yes"; then
52935 SUBDIRS="samples demos utils"
52936 else SUBDIRS="samples utils"
52937 fi
52938
52939
52940
52941 # Check whether --with-cppunit-prefix was given.
52942 if test "${with_cppunit_prefix+set}" = set; then
52943 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52944 else
52945 cppunit_config_prefix=""
52946 fi
52947
52948
52949 # Check whether --with-cppunit-exec-prefix was given.
52950 if test "${with_cppunit_exec_prefix+set}" = set; then
52951 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52952 else
52953 cppunit_config_exec_prefix=""
52954 fi
52955
52956
52957 if test x$cppunit_config_exec_prefix != x ; then
52958 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52959 if test x${CPPUNIT_CONFIG+set} != xset ; then
52960 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52961 fi
52962 fi
52963 if test x$cppunit_config_prefix != x ; then
52964 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52965 if test x${CPPUNIT_CONFIG+set} != xset ; then
52966 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52967 fi
52968 fi
52969
52970 # Extract the first word of "cppunit-config", so it can be a program name with args.
52971 set dummy cppunit-config; ac_word=$2
52972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52974 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52975 echo $ECHO_N "(cached) $ECHO_C" >&6
52976 else
52977 case $CPPUNIT_CONFIG in
52978 [\\/]* | ?:[\\/]*)
52979 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52980 ;;
52981 *)
52982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52983 for as_dir in $PATH
52984 do
52985 IFS=$as_save_IFS
52986 test -z "$as_dir" && as_dir=.
52987 for ac_exec_ext in '' $ac_executable_extensions; do
52988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52989 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52991 break 2
52992 fi
52993 done
52994 done
52995 IFS=$as_save_IFS
52996
52997 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52998 ;;
52999 esac
53000 fi
53001 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53002 if test -n "$CPPUNIT_CONFIG"; then
53003 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53004 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53005 else
53006 { echo "$as_me:$LINENO: result: no" >&5
53007 echo "${ECHO_T}no" >&6; }
53008 fi
53009
53010
53011 cppunit_version_min=1.8.0
53012
53013 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53014 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53015 no_cppunit=""
53016 if test "$CPPUNIT_CONFIG" = "no" ; then
53017 { echo "$as_me:$LINENO: result: no" >&5
53018 echo "${ECHO_T}no" >&6; }
53019 no_cppunit=yes
53020 else
53021 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53022 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53023 cppunit_version=`$CPPUNIT_CONFIG --version`
53024
53025 cppunit_major_version=`echo $cppunit_version | \
53026 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53027 cppunit_minor_version=`echo $cppunit_version | \
53028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53029 cppunit_micro_version=`echo $cppunit_version | \
53030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53031
53032 cppunit_major_min=`echo $cppunit_version_min | \
53033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53034 cppunit_minor_min=`echo $cppunit_version_min | \
53035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53036 cppunit_micro_min=`echo $cppunit_version_min | \
53037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53038
53039 cppunit_version_proper=`expr \
53040 $cppunit_major_version \> $cppunit_major_min \| \
53041 $cppunit_major_version \= $cppunit_major_min \& \
53042 $cppunit_minor_version \> $cppunit_minor_min \| \
53043 $cppunit_major_version \= $cppunit_major_min \& \
53044 $cppunit_minor_version \= $cppunit_minor_min \& \
53045 $cppunit_micro_version \>= $cppunit_micro_min `
53046
53047 if test "$cppunit_version_proper" = "1" ; then
53048 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53049 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53050 else
53051 { echo "$as_me:$LINENO: result: no" >&5
53052 echo "${ECHO_T}no" >&6; }
53053 no_cppunit=yes
53054 fi
53055 fi
53056
53057 if test "x$no_cppunit" = x ; then
53058 SUBDIRS="$SUBDIRS tests"
53059 else
53060 CPPUNIT_CFLAGS=""
53061 CPPUNIT_LIBS=""
53062 :
53063 fi
53064
53065
53066
53067
53068
53069 for subdir in `echo $SUBDIRS`; do
53070 if test -d ${srcdir}/${subdir} ; then
53071 if test "$wxUSE_GUI" = "yes"; then
53072 if test ${subdir} = "samples"; then
53073 makefiles="samples/Makefile.in $makefiles"
53074 for sample in `echo $SAMPLES_SUBDIRS`; do
53075 if test -d $srcdir/samples/$sample; then
53076 makefiles="samples/$sample/Makefile.in $makefiles"
53077 fi
53078 done
53079 else
53080 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53081 eval "disabled=\$$disabled_var"
53082 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53083 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53084 fi
53085 else if test ${subdir} = "samples"; then
53086 makefiles="samples/Makefile.in samples/console/Makefile.in"
53087 elif test ${subdir} = "utils"; then
53088 makefiles=""
53089 for util in HelpGen tex2rtf ; do
53090 if test -d $srcdir/utils/$util ; then
53091 makefiles="utils/$util/Makefile.in \
53092 utils/$util/src/Makefile.in \
53093 $makefiles"
53094 fi
53095 done
53096 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53097 fi
53098 fi
53099
53100 for mkin in $makefiles ; do
53101 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53102 ac_config_files="$ac_config_files $mk"
53103
53104 done
53105 fi
53106 done
53107 fi
53108 cat >confcache <<\_ACEOF
53109 # This file is a shell script that caches the results of configure
53110 # tests run on this system so they can be shared between configure
53111 # scripts and configure runs, see configure's option --config-cache.
53112 # It is not useful on other systems. If it contains results you don't
53113 # want to keep, you may remove or edit it.
53114 #
53115 # config.status only pays attention to the cache file if you give it
53116 # the --recheck option to rerun configure.
53117 #
53118 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53119 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53120 # following values.
53121
53122 _ACEOF
53123
53124 # The following way of writing the cache mishandles newlines in values,
53125 # but we know of no workaround that is simple, portable, and efficient.
53126 # So, we kill variables containing newlines.
53127 # Ultrix sh set writes to stderr and can't be redirected directly,
53128 # and sets the high bit in the cache file unless we assign to the vars.
53129 (
53130 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53131 eval ac_val=\$$ac_var
53132 case $ac_val in #(
53133 *${as_nl}*)
53134 case $ac_var in #(
53135 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53136 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53137 esac
53138 case $ac_var in #(
53139 _ | IFS | as_nl) ;; #(
53140 *) $as_unset $ac_var ;;
53141 esac ;;
53142 esac
53143 done
53144
53145 (set) 2>&1 |
53146 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53147 *${as_nl}ac_space=\ *)
53148 # `set' does not quote correctly, so add quotes (double-quote
53149 # substitution turns \\\\ into \\, and sed turns \\ into \).
53150 sed -n \
53151 "s/'/'\\\\''/g;
53152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53153 ;; #(
53154 *)
53155 # `set' quotes correctly as required by POSIX, so do not add quotes.
53156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53157 ;;
53158 esac |
53159 sort
53160 ) |
53161 sed '
53162 /^ac_cv_env_/b end
53163 t clear
53164 :clear
53165 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53166 t end
53167 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53168 :end' >>confcache
53169 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53170 if test -w "$cache_file"; then
53171 test "x$cache_file" != "x/dev/null" &&
53172 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53173 echo "$as_me: updating cache $cache_file" >&6;}
53174 cat confcache >$cache_file
53175 else
53176 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53177 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53178 fi
53179 fi
53180 rm -f confcache
53181
53182 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53183 # Let make expand exec_prefix.
53184 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53185
53186 DEFS=-DHAVE_CONFIG_H
53187
53188 ac_libobjs=
53189 ac_ltlibobjs=
53190 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53191 # 1. Remove the extension, and $U if already installed.
53192 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53193 ac_i=`echo "$ac_i" | sed "$ac_script"`
53194 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53195 # will be set to the directory where LIBOBJS objects are built.
53196 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53197 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53198 done
53199 LIBOBJS=$ac_libobjs
53200
53201 LTLIBOBJS=$ac_ltlibobjs
53202
53203
53204
53205 : ${CONFIG_STATUS=./config.status}
53206 ac_clean_files_save=$ac_clean_files
53207 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53208 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53209 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53210 cat >$CONFIG_STATUS <<_ACEOF
53211 #! $SHELL
53212 # Generated by $as_me.
53213 # Run this file to recreate the current configuration.
53214 # Compiler output produced by configure, useful for debugging
53215 # configure, is in config.log if it exists.
53216
53217 debug=false
53218 ac_cs_recheck=false
53219 ac_cs_silent=false
53220 SHELL=\${CONFIG_SHELL-$SHELL}
53221 _ACEOF
53222
53223 cat >>$CONFIG_STATUS <<\_ACEOF
53224 ## --------------------- ##
53225 ## M4sh Initialization. ##
53226 ## --------------------- ##
53227
53228 # Be more Bourne compatible
53229 DUALCASE=1; export DUALCASE # for MKS sh
53230 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53231 emulate sh
53232 NULLCMD=:
53233 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53234 # is contrary to our usage. Disable this feature.
53235 alias -g '${1+"$@"}'='"$@"'
53236 setopt NO_GLOB_SUBST
53237 else
53238 case `(set -o) 2>/dev/null` in
53239 *posix*) set -o posix ;;
53240 esac
53241
53242 fi
53243
53244
53245
53246
53247 # PATH needs CR
53248 # Avoid depending upon Character Ranges.
53249 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53250 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53251 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53252 as_cr_digits='0123456789'
53253 as_cr_alnum=$as_cr_Letters$as_cr_digits
53254
53255 # The user is always right.
53256 if test "${PATH_SEPARATOR+set}" != set; then
53257 echo "#! /bin/sh" >conf$$.sh
53258 echo "exit 0" >>conf$$.sh
53259 chmod +x conf$$.sh
53260 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53261 PATH_SEPARATOR=';'
53262 else
53263 PATH_SEPARATOR=:
53264 fi
53265 rm -f conf$$.sh
53266 fi
53267
53268 # Support unset when possible.
53269 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53270 as_unset=unset
53271 else
53272 as_unset=false
53273 fi
53274
53275
53276 # IFS
53277 # We need space, tab and new line, in precisely that order. Quoting is
53278 # there to prevent editors from complaining about space-tab.
53279 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53280 # splitting by setting IFS to empty value.)
53281 as_nl='
53282 '
53283 IFS=" "" $as_nl"
53284
53285 # Find who we are. Look in the path if we contain no directory separator.
53286 case $0 in
53287 *[\\/]* ) as_myself=$0 ;;
53288 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53289 for as_dir in $PATH
53290 do
53291 IFS=$as_save_IFS
53292 test -z "$as_dir" && as_dir=.
53293 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53294 done
53295 IFS=$as_save_IFS
53296
53297 ;;
53298 esac
53299 # We did not find ourselves, most probably we were run as `sh COMMAND'
53300 # in which case we are not to be found in the path.
53301 if test "x$as_myself" = x; then
53302 as_myself=$0
53303 fi
53304 if test ! -f "$as_myself"; then
53305 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53306 { (exit 1); exit 1; }
53307 fi
53308
53309 # Work around bugs in pre-3.0 UWIN ksh.
53310 for as_var in ENV MAIL MAILPATH
53311 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53312 done
53313 PS1='$ '
53314 PS2='> '
53315 PS4='+ '
53316
53317 # NLS nuisances.
53318 for as_var in \
53319 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53320 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53321 LC_TELEPHONE LC_TIME
53322 do
53323 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53324 eval $as_var=C; export $as_var
53325 else
53326 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53327 fi
53328 done
53329
53330 # Required to use basename.
53331 if expr a : '\(a\)' >/dev/null 2>&1 &&
53332 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53333 as_expr=expr
53334 else
53335 as_expr=false
53336 fi
53337
53338 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53339 as_basename=basename
53340 else
53341 as_basename=false
53342 fi
53343
53344
53345 # Name of the executable.
53346 as_me=`$as_basename -- "$0" ||
53347 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53348 X"$0" : 'X\(//\)$' \| \
53349 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53350 echo X/"$0" |
53351 sed '/^.*\/\([^/][^/]*\)\/*$/{
53352 s//\1/
53353 q
53354 }
53355 /^X\/\(\/\/\)$/{
53356 s//\1/
53357 q
53358 }
53359 /^X\/\(\/\).*/{
53360 s//\1/
53361 q
53362 }
53363 s/.*/./; q'`
53364
53365 # CDPATH.
53366 $as_unset CDPATH
53367
53368
53369
53370 as_lineno_1=$LINENO
53371 as_lineno_2=$LINENO
53372 test "x$as_lineno_1" != "x$as_lineno_2" &&
53373 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53374
53375 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53376 # uniformly replaced by the line number. The first 'sed' inserts a
53377 # line-number line after each line using $LINENO; the second 'sed'
53378 # does the real work. The second script uses 'N' to pair each
53379 # line-number line with the line containing $LINENO, and appends
53380 # trailing '-' during substitution so that $LINENO is not a special
53381 # case at line end.
53382 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53383 # scripts with optimization help from Paolo Bonzini. Blame Lee
53384 # E. McMahon (1931-1989) for sed's syntax. :-)
53385 sed -n '
53386 p
53387 /[$]LINENO/=
53388 ' <$as_myself |
53389 sed '
53390 s/[$]LINENO.*/&-/
53391 t lineno
53392 b
53393 :lineno
53394 N
53395 :loop
53396 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53397 t loop
53398 s/-\n.*//
53399 ' >$as_me.lineno &&
53400 chmod +x "$as_me.lineno" ||
53401 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53402 { (exit 1); exit 1; }; }
53403
53404 # Don't try to exec as it changes $[0], causing all sort of problems
53405 # (the dirname of $[0] is not the place where we might find the
53406 # original and so on. Autoconf is especially sensitive to this).
53407 . "./$as_me.lineno"
53408 # Exit status is that of the last command.
53409 exit
53410 }
53411
53412
53413 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53414 as_dirname=dirname
53415 else
53416 as_dirname=false
53417 fi
53418
53419 ECHO_C= ECHO_N= ECHO_T=
53420 case `echo -n x` in
53421 -n*)
53422 case `echo 'x\c'` in
53423 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53424 *) ECHO_C='\c';;
53425 esac;;
53426 *)
53427 ECHO_N='-n';;
53428 esac
53429
53430 if expr a : '\(a\)' >/dev/null 2>&1 &&
53431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53432 as_expr=expr
53433 else
53434 as_expr=false
53435 fi
53436
53437 rm -f conf$$ conf$$.exe conf$$.file
53438 if test -d conf$$.dir; then
53439 rm -f conf$$.dir/conf$$.file
53440 else
53441 rm -f conf$$.dir
53442 mkdir conf$$.dir
53443 fi
53444 echo >conf$$.file
53445 if ln -s conf$$.file conf$$ 2>/dev/null; then
53446 as_ln_s='ln -s'
53447 # ... but there are two gotchas:
53448 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53449 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53450 # In both cases, we have to default to `cp -p'.
53451 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53452 as_ln_s='cp -p'
53453 elif ln conf$$.file conf$$ 2>/dev/null; then
53454 as_ln_s=ln
53455 else
53456 as_ln_s='cp -p'
53457 fi
53458 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53459 rmdir conf$$.dir 2>/dev/null
53460
53461 if mkdir -p . 2>/dev/null; then
53462 as_mkdir_p=:
53463 else
53464 test -d ./-p && rmdir ./-p
53465 as_mkdir_p=false
53466 fi
53467
53468 if test -x / >/dev/null 2>&1; then
53469 as_test_x='test -x'
53470 else
53471 if ls -dL / >/dev/null 2>&1; then
53472 as_ls_L_option=L
53473 else
53474 as_ls_L_option=
53475 fi
53476 as_test_x='
53477 eval sh -c '\''
53478 if test -d "$1"; then
53479 test -d "$1/.";
53480 else
53481 case $1 in
53482 -*)set "./$1";;
53483 esac;
53484 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53485 ???[sx]*):;;*)false;;esac;fi
53486 '\'' sh
53487 '
53488 fi
53489 as_executable_p=$as_test_x
53490
53491 # Sed expression to map a string onto a valid CPP name.
53492 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53493
53494 # Sed expression to map a string onto a valid variable name.
53495 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53496
53497
53498 exec 6>&1
53499
53500 # Save the log message, to keep $[0] and so on meaningful, and to
53501 # report actual input values of CONFIG_FILES etc. instead of their
53502 # values after options handling.
53503 ac_log="
53504 This file was extended by wxWidgets $as_me 2.9.0, which was
53505 generated by GNU Autoconf 2.61. Invocation command line was
53506
53507 CONFIG_FILES = $CONFIG_FILES
53508 CONFIG_HEADERS = $CONFIG_HEADERS
53509 CONFIG_LINKS = $CONFIG_LINKS
53510 CONFIG_COMMANDS = $CONFIG_COMMANDS
53511 $ $0 $@
53512
53513 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53514 "
53515
53516 _ACEOF
53517
53518 cat >>$CONFIG_STATUS <<_ACEOF
53519 # Files that config.status was made for.
53520 config_files="$ac_config_files"
53521 config_headers="$ac_config_headers"
53522 config_commands="$ac_config_commands"
53523
53524 _ACEOF
53525
53526 cat >>$CONFIG_STATUS <<\_ACEOF
53527 ac_cs_usage="\
53528 \`$as_me' instantiates files from templates according to the
53529 current configuration.
53530
53531 Usage: $0 [OPTIONS] [FILE]...
53532
53533 -h, --help print this help, then exit
53534 -V, --version print version number and configuration settings, then exit
53535 -q, --quiet do not print progress messages
53536 -d, --debug don't remove temporary files
53537 --recheck update $as_me by reconfiguring in the same conditions
53538 --file=FILE[:TEMPLATE]
53539 instantiate the configuration file FILE
53540 --header=FILE[:TEMPLATE]
53541 instantiate the configuration header FILE
53542
53543 Configuration files:
53544 $config_files
53545
53546 Configuration headers:
53547 $config_headers
53548
53549 Configuration commands:
53550 $config_commands
53551
53552 Report bugs to <bug-autoconf@gnu.org>."
53553
53554 _ACEOF
53555 cat >>$CONFIG_STATUS <<_ACEOF
53556 ac_cs_version="\\
53557 wxWidgets config.status 2.9.0
53558 configured by $0, generated by GNU Autoconf 2.61,
53559 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53560
53561 Copyright (C) 2006 Free Software Foundation, Inc.
53562 This config.status script is free software; the Free Software Foundation
53563 gives unlimited permission to copy, distribute and modify it."
53564
53565 ac_pwd='$ac_pwd'
53566 srcdir='$srcdir'
53567 INSTALL='$INSTALL'
53568 _ACEOF
53569
53570 cat >>$CONFIG_STATUS <<\_ACEOF
53571 # If no file are specified by the user, then we need to provide default
53572 # value. By we need to know if files were specified by the user.
53573 ac_need_defaults=:
53574 while test $# != 0
53575 do
53576 case $1 in
53577 --*=*)
53578 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53579 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53580 ac_shift=:
53581 ;;
53582 *)
53583 ac_option=$1
53584 ac_optarg=$2
53585 ac_shift=shift
53586 ;;
53587 esac
53588
53589 case $ac_option in
53590 # Handling of the options.
53591 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53592 ac_cs_recheck=: ;;
53593 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53594 echo "$ac_cs_version"; exit ;;
53595 --debug | --debu | --deb | --de | --d | -d )
53596 debug=: ;;
53597 --file | --fil | --fi | --f )
53598 $ac_shift
53599 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53600 ac_need_defaults=false;;
53601 --header | --heade | --head | --hea )
53602 $ac_shift
53603 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53604 ac_need_defaults=false;;
53605 --he | --h)
53606 # Conflict between --help and --header
53607 { echo "$as_me: error: ambiguous option: $1
53608 Try \`$0 --help' for more information." >&2
53609 { (exit 1); exit 1; }; };;
53610 --help | --hel | -h )
53611 echo "$ac_cs_usage"; exit ;;
53612 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53613 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53614 ac_cs_silent=: ;;
53615
53616 # This is an error.
53617 -*) { echo "$as_me: error: unrecognized option: $1
53618 Try \`$0 --help' for more information." >&2
53619 { (exit 1); exit 1; }; } ;;
53620
53621 *) ac_config_targets="$ac_config_targets $1"
53622 ac_need_defaults=false ;;
53623
53624 esac
53625 shift
53626 done
53627
53628 ac_configure_extra_args=
53629
53630 if $ac_cs_silent; then
53631 exec 6>/dev/null
53632 ac_configure_extra_args="$ac_configure_extra_args --silent"
53633 fi
53634
53635 _ACEOF
53636 cat >>$CONFIG_STATUS <<_ACEOF
53637 if \$ac_cs_recheck; then
53638 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53639 CONFIG_SHELL=$SHELL
53640 export CONFIG_SHELL
53641 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53642 fi
53643
53644 _ACEOF
53645 cat >>$CONFIG_STATUS <<\_ACEOF
53646 exec 5>>config.log
53647 {
53648 echo
53649 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53650 ## Running $as_me. ##
53651 _ASBOX
53652 echo "$ac_log"
53653 } >&5
53654
53655 _ACEOF
53656 cat >>$CONFIG_STATUS <<_ACEOF
53657 #
53658 # INIT-COMMANDS
53659 #
53660
53661 CPP="$CPP"
53662 infile="$srcdir/include/wx/msw/genrcdefs.h"
53663 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53664
53665
53666 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53667 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53668 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53669 LN_S="${LN_S}"
53670
53671
53672 _ACEOF
53673
53674 cat >>$CONFIG_STATUS <<\_ACEOF
53675
53676 # Handling of arguments.
53677 for ac_config_target in $ac_config_targets
53678 do
53679 case $ac_config_target in
53680 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53681 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53682 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53683 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53684 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53685 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53686 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53687 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53688
53689 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53690 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53691 { (exit 1); exit 1; }; };;
53692 esac
53693 done
53694
53695
53696 # If the user did not use the arguments to specify the items to instantiate,
53697 # then the envvar interface is used. Set only those that are not.
53698 # We use the long form for the default assignment because of an extremely
53699 # bizarre bug on SunOS 4.1.3.
53700 if $ac_need_defaults; then
53701 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53702 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53703 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53704 fi
53705
53706 # Have a temporary directory for convenience. Make it in the build tree
53707 # simply because there is no reason against having it here, and in addition,
53708 # creating and moving files from /tmp can sometimes cause problems.
53709 # Hook for its removal unless debugging.
53710 # Note that there is a small window in which the directory will not be cleaned:
53711 # after its creation but before its name has been assigned to `$tmp'.
53712 $debug ||
53713 {
53714 tmp=
53715 trap 'exit_status=$?
53716 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53717 ' 0
53718 trap '{ (exit 1); exit 1; }' 1 2 13 15
53719 }
53720 # Create a (secure) tmp directory for tmp files.
53721
53722 {
53723 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53724 test -n "$tmp" && test -d "$tmp"
53725 } ||
53726 {
53727 tmp=./conf$$-$RANDOM
53728 (umask 077 && mkdir "$tmp")
53729 } ||
53730 {
53731 echo "$me: cannot create a temporary directory in ." >&2
53732 { (exit 1); exit 1; }
53733 }
53734
53735 #
53736 # Set up the sed scripts for CONFIG_FILES section.
53737 #
53738
53739 # No need to generate the scripts if there are no CONFIG_FILES.
53740 # This happens for instance when ./config.status config.h
53741 if test -n "$CONFIG_FILES"; then
53742
53743 _ACEOF
53744
53745
53746
53747 ac_delim='%!_!# '
53748 for ac_last_try in false false false false false :; do
53749 cat >conf$$subs.sed <<_ACEOF
53750 SHELL!$SHELL$ac_delim
53751 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53752 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53753 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53754 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53755 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53756 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53757 exec_prefix!$exec_prefix$ac_delim
53758 prefix!$prefix$ac_delim
53759 program_transform_name!$program_transform_name$ac_delim
53760 bindir!$bindir$ac_delim
53761 sbindir!$sbindir$ac_delim
53762 libexecdir!$libexecdir$ac_delim
53763 datarootdir!$datarootdir$ac_delim
53764 datadir!$datadir$ac_delim
53765 sysconfdir!$sysconfdir$ac_delim
53766 sharedstatedir!$sharedstatedir$ac_delim
53767 localstatedir!$localstatedir$ac_delim
53768 includedir!$includedir$ac_delim
53769 oldincludedir!$oldincludedir$ac_delim
53770 docdir!$docdir$ac_delim
53771 infodir!$infodir$ac_delim
53772 htmldir!$htmldir$ac_delim
53773 dvidir!$dvidir$ac_delim
53774 pdfdir!$pdfdir$ac_delim
53775 psdir!$psdir$ac_delim
53776 libdir!$libdir$ac_delim
53777 localedir!$localedir$ac_delim
53778 mandir!$mandir$ac_delim
53779 DEFS!$DEFS$ac_delim
53780 ECHO_C!$ECHO_C$ac_delim
53781 ECHO_N!$ECHO_N$ac_delim
53782 ECHO_T!$ECHO_T$ac_delim
53783 LIBS!$LIBS$ac_delim
53784 build_alias!$build_alias$ac_delim
53785 host_alias!$host_alias$ac_delim
53786 target_alias!$target_alias$ac_delim
53787 build!$build$ac_delim
53788 build_cpu!$build_cpu$ac_delim
53789 build_vendor!$build_vendor$ac_delim
53790 build_os!$build_os$ac_delim
53791 host!$host$ac_delim
53792 host_cpu!$host_cpu$ac_delim
53793 host_vendor!$host_vendor$ac_delim
53794 host_os!$host_os$ac_delim
53795 target!$target$ac_delim
53796 target_cpu!$target_cpu$ac_delim
53797 target_vendor!$target_vendor$ac_delim
53798 target_os!$target_os$ac_delim
53799 wx_top_builddir!$wx_top_builddir$ac_delim
53800 CC!$CC$ac_delim
53801 CFLAGS!$CFLAGS$ac_delim
53802 LDFLAGS!$LDFLAGS$ac_delim
53803 CPPFLAGS!$CPPFLAGS$ac_delim
53804 ac_ct_CC!$ac_ct_CC$ac_delim
53805 EXEEXT!$EXEEXT$ac_delim
53806 OBJEXT!$OBJEXT$ac_delim
53807 CPP!$CPP$ac_delim
53808 GREP!$GREP$ac_delim
53809 EGREP!$EGREP$ac_delim
53810 CXX!$CXX$ac_delim
53811 CXXFLAGS!$CXXFLAGS$ac_delim
53812 ac_ct_CXX!$ac_ct_CXX$ac_delim
53813 AR!$AR$ac_delim
53814 subdirs!$subdirs$ac_delim
53815 PKG_CONFIG!$PKG_CONFIG$ac_delim
53816 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53817 GTK_LIBS!$GTK_LIBS$ac_delim
53818 GTK_CONFIG!$GTK_CONFIG$ac_delim
53819 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53820 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53821 XMKMF!$XMKMF$ac_delim
53822 X_CFLAGS!$X_CFLAGS$ac_delim
53823 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53824 X_LIBS!$X_LIBS$ac_delim
53825 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53826 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53827 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53828 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53829 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53830 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53831 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53832 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53833 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53834 LIBICONV!$LIBICONV$ac_delim
53835 SDL_CONFIG!$SDL_CONFIG$ac_delim
53836 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53837 SDL_LIBS!$SDL_LIBS$ac_delim
53838 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53839 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53840 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53841 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53842 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53843 HILDON_LIBS!$HILDON_LIBS$ac_delim
53844 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53845 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53846 GST_CFLAGS!$GST_CFLAGS$ac_delim
53847 _ACEOF
53848
53849 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53850 break
53851 elif $ac_last_try; then
53852 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53853 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53854 { (exit 1); exit 1; }; }
53855 else
53856 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53857 fi
53858 done
53859
53860 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53861 if test -n "$ac_eof"; then
53862 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53863 ac_eof=`expr $ac_eof + 1`
53864 fi
53865
53866 cat >>$CONFIG_STATUS <<_ACEOF
53867 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53868 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53869 _ACEOF
53870 sed '
53871 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53872 s/^/s,@/; s/!/@,|#_!!_#|/
53873 :n
53874 t n
53875 s/'"$ac_delim"'$/,g/; t
53876 s/$/\\/; p
53877 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53878 ' >>$CONFIG_STATUS <conf$$subs.sed
53879 rm -f conf$$subs.sed
53880 cat >>$CONFIG_STATUS <<_ACEOF
53881 CEOF$ac_eof
53882 _ACEOF
53883
53884
53885 ac_delim='%!_!# '
53886 for ac_last_try in false false false false false :; do
53887 cat >conf$$subs.sed <<_ACEOF
53888 GST_LIBS!$GST_LIBS$ac_delim
53889 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53890 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53891 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53892 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53893 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53894 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53895 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53896 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53897 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53898 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53899 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53900 VENDOR!$VENDOR$ac_delim
53901 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53902 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53903 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53904 WXUNIV!$WXUNIV$ac_delim
53905 MONOLITHIC!$MONOLITHIC$ac_delim
53906 USE_PLUGINS!$USE_PLUGINS$ac_delim
53907 CXXWARNINGS!$CXXWARNINGS$ac_delim
53908 EXTRALIBS!$EXTRALIBS$ac_delim
53909 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53910 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53911 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53912 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53913 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53914 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53915 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53916 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53917 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53918 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53919 UNICODE!$UNICODE$ac_delim
53920 BUILD!$BUILD$ac_delim
53921 DEBUG_INFO!$DEBUG_INFO$ac_delim
53922 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53923 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53924 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53925 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53926 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53927 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53928 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53929 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53930 RANLIB!$RANLIB$ac_delim
53931 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53932 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53933 INSTALL_DATA!$INSTALL_DATA$ac_delim
53934 LN_S!$LN_S$ac_delim
53935 SET_MAKE!$SET_MAKE$ac_delim
53936 MAKE_SET!$MAKE_SET$ac_delim
53937 AROPTIONS!$AROPTIONS$ac_delim
53938 STRIP!$STRIP$ac_delim
53939 NM!$NM$ac_delim
53940 INSTALL_DIR!$INSTALL_DIR$ac_delim
53941 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53942 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53943 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53944 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53945 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53946 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53947 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53948 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53949 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53950 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53951 SO_SUFFIX!$SO_SUFFIX$ac_delim
53952 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53953 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53954 LIBPREFIX!$LIBPREFIX$ac_delim
53955 LIBEXT!$LIBEXT$ac_delim
53956 DLLPREFIX!$DLLPREFIX$ac_delim
53957 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53958 dlldir!$dlldir$ac_delim
53959 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53960 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53961 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53962 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53963 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53964 PIC_FLAG!$PIC_FLAG$ac_delim
53965 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53966 USE_SOVERSION!$USE_SOVERSION$ac_delim
53967 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53968 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53969 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53970 USE_MACVERSION!$USE_MACVERSION$ac_delim
53971 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53972 SONAME_FLAG!$SONAME_FLAG$ac_delim
53973 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53974 BK_DEPS!$BK_DEPS$ac_delim
53975 WINDRES!$WINDRES$ac_delim
53976 REZ!$REZ$ac_delim
53977 SETFILE!$SETFILE$ac_delim
53978 GCC_PCH!$GCC_PCH$ac_delim
53979 ICC_PCH!$ICC_PCH$ac_delim
53980 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53981 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53982 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53983 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53984 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53985 _ACEOF
53986
53987 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53988 break
53989 elif $ac_last_try; then
53990 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53991 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53992 { (exit 1); exit 1; }; }
53993 else
53994 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53995 fi
53996 done
53997
53998 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53999 if test -n "$ac_eof"; then
54000 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54001 ac_eof=`expr $ac_eof + 1`
54002 fi
54003
54004 cat >>$CONFIG_STATUS <<_ACEOF
54005 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54006 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54007 _ACEOF
54008 sed '
54009 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54010 s/^/s,@/; s/!/@,|#_!!_#|/
54011 :n
54012 t n
54013 s/'"$ac_delim"'$/,g/; t
54014 s/$/\\/; p
54015 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54016 ' >>$CONFIG_STATUS <conf$$subs.sed
54017 rm -f conf$$subs.sed
54018 cat >>$CONFIG_STATUS <<_ACEOF
54019 CEOF$ac_eof
54020 _ACEOF
54021
54022
54023 ac_delim='%!_!# '
54024 for ac_last_try in false false false false false :; do
54025 cat >conf$$subs.sed <<_ACEOF
54026 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54027 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54028 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54029 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54030 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54031 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54032 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54033 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54034 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54035 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54036 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54037 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54038 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54039 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54040 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54041 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54042 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54043 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54044 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54045 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54046 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54047 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54048 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54049 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54050 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54051 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54052 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54053 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54054 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54055 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54056 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54057 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54058 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54059 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54060 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54061 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54062 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54063 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54064 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54065 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54066 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54067 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54068 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54069 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54070 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54071 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54072 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54073 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54074 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54075 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54076 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54077 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54078 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54079 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54080 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54081 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54082 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54083 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54084 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54085 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54086 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54087 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54088 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54089 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54090 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54091 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54092 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54093 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54094 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54095 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54096 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54097 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54098 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54099 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54100 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54101 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54102 COND_SHARED_0!$COND_SHARED_0$ac_delim
54103 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54104 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54105 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54106 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54107 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54108 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54109 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54110 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54111 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54112 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54113 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54114 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54115 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54116 COND_SHARED_1!$COND_SHARED_1$ac_delim
54117 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54118 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54119 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54120 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54121 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54122 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54123 _ACEOF
54124
54125 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54126 break
54127 elif $ac_last_try; then
54128 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54129 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54130 { (exit 1); exit 1; }; }
54131 else
54132 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54133 fi
54134 done
54135
54136 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54137 if test -n "$ac_eof"; then
54138 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54139 ac_eof=`expr $ac_eof + 1`
54140 fi
54141
54142 cat >>$CONFIG_STATUS <<_ACEOF
54143 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54144 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54145 _ACEOF
54146 sed '
54147 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54148 s/^/s,@/; s/!/@,|#_!!_#|/
54149 :n
54150 t n
54151 s/'"$ac_delim"'$/,g/; t
54152 s/$/\\/; p
54153 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54154 ' >>$CONFIG_STATUS <conf$$subs.sed
54155 rm -f conf$$subs.sed
54156 cat >>$CONFIG_STATUS <<_ACEOF
54157 CEOF$ac_eof
54158 _ACEOF
54159
54160
54161 ac_delim='%!_!# '
54162 for ac_last_try in false false false false false :; do
54163 cat >conf$$subs.sed <<_ACEOF
54164 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54165 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54166 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54167 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54168 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54169 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54170 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54171 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54172 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54173 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54174 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54175 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54176 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54177 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54178 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54179 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54180 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54181 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54182 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54183 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54184 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54185 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54186 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54187 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54188 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54189 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54190 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54191 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54192 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54193 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54194 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54195 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54196 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54197 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54198 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54199 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54200 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54201 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54202 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54203 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54204 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54205 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54206 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54207 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54208 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54209 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54210 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54211 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54212 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54213 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54214 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54215 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54216 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54217 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54218 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54219 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54220 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54221 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54222 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54223 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54224 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54225 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54226 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54227 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54228 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54229 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54230 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54231 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54232 DEREZ!$DEREZ$ac_delim
54233 SHARED!$SHARED$ac_delim
54234 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54235 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54236 USE_GUI!$USE_GUI$ac_delim
54237 AFMINSTALL!$AFMINSTALL$ac_delim
54238 WIN32INSTALL!$WIN32INSTALL$ac_delim
54239 TOOLKIT!$TOOLKIT$ac_delim
54240 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54241 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54242 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54243 cross_compiling!$cross_compiling$ac_delim
54244 WIDGET_SET!$WIDGET_SET$ac_delim
54245 WX_RELEASE!$WX_RELEASE$ac_delim
54246 WX_VERSION!$WX_VERSION$ac_delim
54247 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54248 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54249 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54250 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54251 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54252 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54253 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54254 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54255 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54256 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54257 EXE_LINKER!$EXE_LINKER$ac_delim
54258 GUIDIST!$GUIDIST$ac_delim
54259 DISTDIR!$DISTDIR$ac_delim
54260 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54261 _ACEOF
54262
54263 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54264 break
54265 elif $ac_last_try; then
54266 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54267 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54268 { (exit 1); exit 1; }; }
54269 else
54270 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54271 fi
54272 done
54273
54274 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54275 if test -n "$ac_eof"; then
54276 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54277 ac_eof=`expr $ac_eof + 1`
54278 fi
54279
54280 cat >>$CONFIG_STATUS <<_ACEOF
54281 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54282 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54283 _ACEOF
54284 sed '
54285 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54286 s/^/s,@/; s/!/@,|#_!!_#|/
54287 :n
54288 t n
54289 s/'"$ac_delim"'$/,g/; t
54290 s/$/\\/; p
54291 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54292 ' >>$CONFIG_STATUS <conf$$subs.sed
54293 rm -f conf$$subs.sed
54294 cat >>$CONFIG_STATUS <<_ACEOF
54295 CEOF$ac_eof
54296 _ACEOF
54297
54298
54299 ac_delim='%!_!# '
54300 for ac_last_try in false false false false false :; do
54301 cat >conf$$subs.sed <<_ACEOF
54302 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54303 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54304 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54305 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54306 RESCOMP!$RESCOMP$ac_delim
54307 RESFLAGS!$RESFLAGS$ac_delim
54308 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54309 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54310 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54311 LIBWXMACRES!$LIBWXMACRES$ac_delim
54312 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54313 MACSETFILE!$MACSETFILE$ac_delim
54314 GCC!$GCC$ac_delim
54315 DLLTOOL!$DLLTOOL$ac_delim
54316 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54317 LIBOBJS!$LIBOBJS$ac_delim
54318 LTLIBOBJS!$LTLIBOBJS$ac_delim
54319 _ACEOF
54320
54321 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54322 break
54323 elif $ac_last_try; then
54324 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54325 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54326 { (exit 1); exit 1; }; }
54327 else
54328 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54329 fi
54330 done
54331
54332 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54333 if test -n "$ac_eof"; then
54334 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54335 ac_eof=`expr $ac_eof + 1`
54336 fi
54337
54338 cat >>$CONFIG_STATUS <<_ACEOF
54339 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54340 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54341 _ACEOF
54342 sed '
54343 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54344 s/^/s,@/; s/!/@,|#_!!_#|/
54345 :n
54346 t n
54347 s/'"$ac_delim"'$/,g/; t
54348 s/$/\\/; p
54349 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54350 ' >>$CONFIG_STATUS <conf$$subs.sed
54351 rm -f conf$$subs.sed
54352 cat >>$CONFIG_STATUS <<_ACEOF
54353 :end
54354 s/|#_!!_#|//g
54355 CEOF$ac_eof
54356 _ACEOF
54357
54358
54359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54361 # trailing colons and then remove the whole line if VPATH becomes empty
54362 # (actually we leave an empty line to preserve line numbers).
54363 if test "x$srcdir" = x.; then
54364 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54365 s/:*\$(srcdir):*/:/
54366 s/:*\${srcdir}:*/:/
54367 s/:*@srcdir@:*/:/
54368 s/^\([^=]*=[ ]*\):*/\1/
54369 s/:*$//
54370 s/^[^=]*=[ ]*$//
54371 }'
54372 fi
54373
54374 cat >>$CONFIG_STATUS <<\_ACEOF
54375 fi # test -n "$CONFIG_FILES"
54376
54377
54378 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54379 do
54380 case $ac_tag in
54381 :[FHLC]) ac_mode=$ac_tag; continue;;
54382 esac
54383 case $ac_mode$ac_tag in
54384 :[FHL]*:*);;
54385 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54386 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54387 { (exit 1); exit 1; }; };;
54388 :[FH]-) ac_tag=-:-;;
54389 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54390 esac
54391 ac_save_IFS=$IFS
54392 IFS=:
54393 set x $ac_tag
54394 IFS=$ac_save_IFS
54395 shift
54396 ac_file=$1
54397 shift
54398
54399 case $ac_mode in
54400 :L) ac_source=$1;;
54401 :[FH])
54402 ac_file_inputs=
54403 for ac_f
54404 do
54405 case $ac_f in
54406 -) ac_f="$tmp/stdin";;
54407 *) # Look for the file first in the build tree, then in the source tree
54408 # (if the path is not absolute). The absolute path cannot be DOS-style,
54409 # because $ac_f cannot contain `:'.
54410 test -f "$ac_f" ||
54411 case $ac_f in
54412 [\\/$]*) false;;
54413 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54414 esac ||
54415 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54416 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54417 { (exit 1); exit 1; }; };;
54418 esac
54419 ac_file_inputs="$ac_file_inputs $ac_f"
54420 done
54421
54422 # Let's still pretend it is `configure' which instantiates (i.e., don't
54423 # use $as_me), people would be surprised to read:
54424 # /* config.h. Generated by config.status. */
54425 configure_input="Generated from "`IFS=:
54426 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54427 if test x"$ac_file" != x-; then
54428 configure_input="$ac_file. $configure_input"
54429 { echo "$as_me:$LINENO: creating $ac_file" >&5
54430 echo "$as_me: creating $ac_file" >&6;}
54431 fi
54432
54433 case $ac_tag in
54434 *:-:* | *:-) cat >"$tmp/stdin";;
54435 esac
54436 ;;
54437 esac
54438
54439 ac_dir=`$as_dirname -- "$ac_file" ||
54440 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54441 X"$ac_file" : 'X\(//\)[^/]' \| \
54442 X"$ac_file" : 'X\(//\)$' \| \
54443 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54444 echo X"$ac_file" |
54445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54446 s//\1/
54447 q
54448 }
54449 /^X\(\/\/\)[^/].*/{
54450 s//\1/
54451 q
54452 }
54453 /^X\(\/\/\)$/{
54454 s//\1/
54455 q
54456 }
54457 /^X\(\/\).*/{
54458 s//\1/
54459 q
54460 }
54461 s/.*/./; q'`
54462 { as_dir="$ac_dir"
54463 case $as_dir in #(
54464 -*) as_dir=./$as_dir;;
54465 esac
54466 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54467 as_dirs=
54468 while :; do
54469 case $as_dir in #(
54470 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54471 *) as_qdir=$as_dir;;
54472 esac
54473 as_dirs="'$as_qdir' $as_dirs"
54474 as_dir=`$as_dirname -- "$as_dir" ||
54475 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54476 X"$as_dir" : 'X\(//\)[^/]' \| \
54477 X"$as_dir" : 'X\(//\)$' \| \
54478 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54479 echo X"$as_dir" |
54480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54481 s//\1/
54482 q
54483 }
54484 /^X\(\/\/\)[^/].*/{
54485 s//\1/
54486 q
54487 }
54488 /^X\(\/\/\)$/{
54489 s//\1/
54490 q
54491 }
54492 /^X\(\/\).*/{
54493 s//\1/
54494 q
54495 }
54496 s/.*/./; q'`
54497 test -d "$as_dir" && break
54498 done
54499 test -z "$as_dirs" || eval "mkdir $as_dirs"
54500 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54501 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54502 { (exit 1); exit 1; }; }; }
54503 ac_builddir=.
54504
54505 case "$ac_dir" in
54506 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54507 *)
54508 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54509 # A ".." for each directory in $ac_dir_suffix.
54510 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54511 case $ac_top_builddir_sub in
54512 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54513 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54514 esac ;;
54515 esac
54516 ac_abs_top_builddir=$ac_pwd
54517 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54518 # for backward compatibility:
54519 ac_top_builddir=$ac_top_build_prefix
54520
54521 case $srcdir in
54522 .) # We are building in place.
54523 ac_srcdir=.
54524 ac_top_srcdir=$ac_top_builddir_sub
54525 ac_abs_top_srcdir=$ac_pwd ;;
54526 [\\/]* | ?:[\\/]* ) # Absolute name.
54527 ac_srcdir=$srcdir$ac_dir_suffix;
54528 ac_top_srcdir=$srcdir
54529 ac_abs_top_srcdir=$srcdir ;;
54530 *) # Relative name.
54531 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54532 ac_top_srcdir=$ac_top_build_prefix$srcdir
54533 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54534 esac
54535 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54536
54537
54538 case $ac_mode in
54539 :F)
54540 #
54541 # CONFIG_FILE
54542 #
54543
54544 case $INSTALL in
54545 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54546 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54547 esac
54548 _ACEOF
54549
54550 cat >>$CONFIG_STATUS <<\_ACEOF
54551 # If the template does not know about datarootdir, expand it.
54552 # FIXME: This hack should be removed a few years after 2.60.
54553 ac_datarootdir_hack=; ac_datarootdir_seen=
54554
54555 case `sed -n '/datarootdir/ {
54556 p
54557 q
54558 }
54559 /@datadir@/p
54560 /@docdir@/p
54561 /@infodir@/p
54562 /@localedir@/p
54563 /@mandir@/p
54564 ' $ac_file_inputs` in
54565 *datarootdir*) ac_datarootdir_seen=yes;;
54566 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54567 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54568 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54569 _ACEOF
54570 cat >>$CONFIG_STATUS <<_ACEOF
54571 ac_datarootdir_hack='
54572 s&@datadir@&$datadir&g
54573 s&@docdir@&$docdir&g
54574 s&@infodir@&$infodir&g
54575 s&@localedir@&$localedir&g
54576 s&@mandir@&$mandir&g
54577 s&\\\${datarootdir}&$datarootdir&g' ;;
54578 esac
54579 _ACEOF
54580
54581 # Neutralize VPATH when `$srcdir' = `.'.
54582 # Shell code in configure.ac might set extrasub.
54583 # FIXME: do we really want to maintain this feature?
54584 cat >>$CONFIG_STATUS <<_ACEOF
54585 sed "$ac_vpsub
54586 $extrasub
54587 _ACEOF
54588 cat >>$CONFIG_STATUS <<\_ACEOF
54589 :t
54590 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54591 s&@configure_input@&$configure_input&;t t
54592 s&@top_builddir@&$ac_top_builddir_sub&;t t
54593 s&@srcdir@&$ac_srcdir&;t t
54594 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54595 s&@top_srcdir@&$ac_top_srcdir&;t t
54596 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54597 s&@builddir@&$ac_builddir&;t t
54598 s&@abs_builddir@&$ac_abs_builddir&;t t
54599 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54600 s&@INSTALL@&$ac_INSTALL&;t t
54601 $ac_datarootdir_hack
54602 " $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
54603
54604 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54605 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54606 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54607 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54608 which seems to be undefined. Please make sure it is defined." >&5
54609 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54610 which seems to be undefined. Please make sure it is defined." >&2;}
54611
54612 rm -f "$tmp/stdin"
54613 case $ac_file in
54614 -) cat "$tmp/out"; rm -f "$tmp/out";;
54615 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54616 esac
54617 ;;
54618 :H)
54619 #
54620 # CONFIG_HEADER
54621 #
54622 _ACEOF
54623
54624 # Transform confdefs.h into a sed script `conftest.defines', that
54625 # substitutes the proper values into config.h.in to produce config.h.
54626 rm -f conftest.defines conftest.tail
54627 # First, append a space to every undef/define line, to ease matching.
54628 echo 's/$/ /' >conftest.defines
54629 # Then, protect against being on the right side of a sed subst, or in
54630 # an unquoted here document, in config.status. If some macros were
54631 # called several times there might be several #defines for the same
54632 # symbol, which is useless. But do not sort them, since the last
54633 # AC_DEFINE must be honored.
54634 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54635 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54636 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54637 # PARAMS is the parameter list in the macro definition--in most cases, it's
54638 # just an empty string.
54639 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54640 ac_dB='\\)[ (].*,\\1define\\2'
54641 ac_dC=' '
54642 ac_dD=' ,'
54643
54644 uniq confdefs.h |
54645 sed -n '
54646 t rset
54647 :rset
54648 s/^[ ]*#[ ]*define[ ][ ]*//
54649 t ok
54650 d
54651 :ok
54652 s/[\\&,]/\\&/g
54653 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54654 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54655 ' >>conftest.defines
54656
54657 # Remove the space that was appended to ease matching.
54658 # Then replace #undef with comments. This is necessary, for
54659 # example, in the case of _POSIX_SOURCE, which is predefined and required
54660 # on some systems where configure will not decide to define it.
54661 # (The regexp can be short, since the line contains either #define or #undef.)
54662 echo 's/ $//
54663 s,^[ #]*u.*,/* & */,' >>conftest.defines
54664
54665 # Break up conftest.defines:
54666 ac_max_sed_lines=50
54667
54668 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54669 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54670 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54671 # et cetera.
54672 ac_in='$ac_file_inputs'
54673 ac_out='"$tmp/out1"'
54674 ac_nxt='"$tmp/out2"'
54675
54676 while :
54677 do
54678 # Write a here document:
54679 cat >>$CONFIG_STATUS <<_ACEOF
54680 # First, check the format of the line:
54681 cat >"\$tmp/defines.sed" <<\\CEOF
54682 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54683 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54684 b
54685 :def
54686 _ACEOF
54687 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54688 echo 'CEOF
54689 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54690 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54691 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54692 grep . conftest.tail >/dev/null || break
54693 rm -f conftest.defines
54694 mv conftest.tail conftest.defines
54695 done
54696 rm -f conftest.defines conftest.tail
54697
54698 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54699 cat >>$CONFIG_STATUS <<\_ACEOF
54700 if test x"$ac_file" != x-; then
54701 echo "/* $configure_input */" >"$tmp/config.h"
54702 cat "$ac_result" >>"$tmp/config.h"
54703 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54704 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54705 echo "$as_me: $ac_file is unchanged" >&6;}
54706 else
54707 rm -f $ac_file
54708 mv "$tmp/config.h" $ac_file
54709 fi
54710 else
54711 echo "/* $configure_input */"
54712 cat "$ac_result"
54713 fi
54714 rm -f "$tmp/out12"
54715 ;;
54716
54717 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54718 echo "$as_me: executing $ac_file commands" >&6;}
54719 ;;
54720 esac
54721
54722
54723 case $ac_file$ac_mode in
54724 "rcdefs.h":C)
54725 mkdir -p $outdir &&
54726 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54727 ;;
54728 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54729 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54730 "wx-config":C) rm -f wx-config
54731 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54732 ;;
54733
54734 esac
54735 done # for ac_tag
54736
54737
54738 { (exit 0); exit 0; }
54739 _ACEOF
54740 chmod +x $CONFIG_STATUS
54741 ac_clean_files=$ac_clean_files_save
54742
54743
54744 # configure is writing to config.log, and then calls config.status.
54745 # config.status does its own redirection, appending to config.log.
54746 # Unfortunately, on DOS this fails, as config.log is still kept open
54747 # by configure, so config.status won't be able to write to it; its
54748 # output is simply discarded. So we exec the FD to /dev/null,
54749 # effectively closing config.log, so it can be properly (re)opened and
54750 # appended to by config.status. When coming back to configure, we
54751 # need to make the FD available again.
54752 if test "$no_create" != yes; then
54753 ac_cs_success=:
54754 ac_config_status_args=
54755 test "$silent" = yes &&
54756 ac_config_status_args="$ac_config_status_args --quiet"
54757 exec 5>/dev/null
54758 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54759 exec 5>>config.log
54760 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54761 # would make configure fail if this is the last instruction.
54762 $ac_cs_success || { (exit 1); exit 1; }
54763 fi
54764
54765 #
54766 # CONFIG_SUBDIRS section.
54767 #
54768 if test "$no_recursion" != yes; then
54769
54770 # Remove --cache-file and --srcdir arguments so they do not pile up.
54771 ac_sub_configure_args=
54772 ac_prev=
54773 eval "set x $ac_configure_args"
54774 shift
54775 for ac_arg
54776 do
54777 if test -n "$ac_prev"; then
54778 ac_prev=
54779 continue
54780 fi
54781 case $ac_arg in
54782 -cache-file | --cache-file | --cache-fil | --cache-fi \
54783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54784 ac_prev=cache_file ;;
54785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54787 | --c=*)
54788 ;;
54789 --config-cache | -C)
54790 ;;
54791 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54792 ac_prev=srcdir ;;
54793 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54794 ;;
54795 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54796 ac_prev=prefix ;;
54797 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54798 ;;
54799 *)
54800 case $ac_arg in
54801 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54802 esac
54803 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54804 esac
54805 done
54806
54807 # Always prepend --prefix to ensure using the same prefix
54808 # in subdir configurations.
54809 ac_arg="--prefix=$prefix"
54810 case $ac_arg in
54811 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54812 esac
54813 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54814
54815 # Pass --silent
54816 if test "$silent" = yes; then
54817 ac_sub_configure_args="--silent $ac_sub_configure_args"
54818 fi
54819
54820 ac_popdir=`pwd`
54821 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54822
54823 # Do not complain, so a configure script can configure whichever
54824 # parts of a large source tree are present.
54825 test -d "$srcdir/$ac_dir" || continue
54826
54827 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54828 echo "$as_me:$LINENO: $ac_msg" >&5
54829 echo "$ac_msg" >&6
54830 { as_dir="$ac_dir"
54831 case $as_dir in #(
54832 -*) as_dir=./$as_dir;;
54833 esac
54834 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54835 as_dirs=
54836 while :; do
54837 case $as_dir in #(
54838 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54839 *) as_qdir=$as_dir;;
54840 esac
54841 as_dirs="'$as_qdir' $as_dirs"
54842 as_dir=`$as_dirname -- "$as_dir" ||
54843 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54844 X"$as_dir" : 'X\(//\)[^/]' \| \
54845 X"$as_dir" : 'X\(//\)$' \| \
54846 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54847 echo X"$as_dir" |
54848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54849 s//\1/
54850 q
54851 }
54852 /^X\(\/\/\)[^/].*/{
54853 s//\1/
54854 q
54855 }
54856 /^X\(\/\/\)$/{
54857 s//\1/
54858 q
54859 }
54860 /^X\(\/\).*/{
54861 s//\1/
54862 q
54863 }
54864 s/.*/./; q'`
54865 test -d "$as_dir" && break
54866 done
54867 test -z "$as_dirs" || eval "mkdir $as_dirs"
54868 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54869 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54870 { (exit 1); exit 1; }; }; }
54871 ac_builddir=.
54872
54873 case "$ac_dir" in
54874 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54875 *)
54876 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54877 # A ".." for each directory in $ac_dir_suffix.
54878 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54879 case $ac_top_builddir_sub in
54880 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54881 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54882 esac ;;
54883 esac
54884 ac_abs_top_builddir=$ac_pwd
54885 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54886 # for backward compatibility:
54887 ac_top_builddir=$ac_top_build_prefix
54888
54889 case $srcdir in
54890 .) # We are building in place.
54891 ac_srcdir=.
54892 ac_top_srcdir=$ac_top_builddir_sub
54893 ac_abs_top_srcdir=$ac_pwd ;;
54894 [\\/]* | ?:[\\/]* ) # Absolute name.
54895 ac_srcdir=$srcdir$ac_dir_suffix;
54896 ac_top_srcdir=$srcdir
54897 ac_abs_top_srcdir=$srcdir ;;
54898 *) # Relative name.
54899 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54900 ac_top_srcdir=$ac_top_build_prefix$srcdir
54901 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54902 esac
54903 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54904
54905
54906 cd "$ac_dir"
54907
54908 # Check for guested configure; otherwise get Cygnus style configure.
54909 if test -f "$ac_srcdir/configure.gnu"; then
54910 ac_sub_configure=$ac_srcdir/configure.gnu
54911 elif test -f "$ac_srcdir/configure"; then
54912 ac_sub_configure=$ac_srcdir/configure
54913 elif test -f "$ac_srcdir/configure.in"; then
54914 # This should be Cygnus configure.
54915 ac_sub_configure=$ac_aux_dir/configure
54916 else
54917 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54918 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54919 ac_sub_configure=
54920 fi
54921
54922 # The recursion is here.
54923 if test -n "$ac_sub_configure"; then
54924 # Make the cache file name correct relative to the subdirectory.
54925 case $cache_file in
54926 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54927 *) # Relative name.
54928 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54929 esac
54930
54931 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54932 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54933 # The eval makes quoting arguments work.
54934 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54935 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54936 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54937 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54938 { (exit 1); exit 1; }; }
54939 fi
54940
54941 cd "$ac_popdir"
54942 done
54943 fi
54944
54945
54946 echo
54947 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54948 echo ""
54949 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54950 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54951
54952 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54953 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54954 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54955 if test "$wxUSE_UNICODE" = "yes"; then
54956 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54957 echo " (using UTF-8)"
54958 else
54959 echo " (using wchar_t)"
54960 fi
54961 else
54962 echo
54963 fi
54964
54965 echo " What level of wxWidgets compatibility should be enabled?"
54966 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54967 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54968
54969 echo " Which libraries should wxWidgets use?"
54970 echo " STL ${wxUSE_STL}"
54971 echo " jpeg ${wxUSE_LIBJPEG-none}"
54972 echo " png ${wxUSE_LIBPNG-none}"
54973 echo " regex ${wxUSE_REGEX}"
54974 echo " tiff ${wxUSE_LIBTIFF-none}"
54975 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54976 echo " xpm ${wxUSE_LIBXPM-none}"
54977 fi
54978 echo " zlib ${wxUSE_ZLIB}"
54979 echo " odbc ${wxUSE_ODBC}"
54980 echo " expat ${wxUSE_EXPAT}"
54981 echo " libmspack ${wxUSE_LIBMSPACK}"
54982 echo " sdl ${wxUSE_LIBSDL}"
54983
54984 echo ""
54985